Files in directory e:\Projects/Hera/MatLab/opticsserver:
- addsollpos
- Input-Parameter: ring
- Output-Parameter: out
- beta_mean
- Input-Parameter: i, ring
- Output-Parameter: bmean
- Description:
BETA_MEAN calculates the averaged beta function over the length of
the quadrupole from the optics data at the center of a quadrupole
Example: beta_mean(1, herae)
drift
- Input-Parameter: L
- Output-Parameter: dmat
getresponse
- Input-Parameter: ring
- Output-Parameter: smatx, smaty]
gettunemat
- Input-Parameter: ring
- Output-Parameter: dqdk]
get_5mat
- Input-Parameter: j,k,ring
- Output-Parameter: fmat
get_bumpcoeff
- Input-Parameter: ring,magnet_name,target_name,amplitude,angle
- Output-Parameter: k,error]
get_optic_info
- Input-Parameter: machine, magnet_name, optics
- Output-Parameter: optic_info]
- Description:
GET_OPTIC_INFO gets the optical and lattice parameters for HERA magnets
Machine can be HERAE or HERAP. Function returns ?
Example : ?
get_optic_server
- Input-Parameter: machine,optic
- Output-Parameter: ring
kick
- Input-Parameter: hkick,vkick
- Output-Parameter: kmat
madread
- Input-Parameter: infile
- Output-Parameter: out
- Description:
monncors
- Input-Parameter: ring
- Output-Parameter: imon, ihcm, ivcm]
nameparser
- Input-Parameter: property, value, ring
- Output-Parameter: a
- Description:
NAMEPARSER returns index of element VALUE with PROPERTY
in structure RING.
Examples: nameparser('NAME', 'QE02', herae)
nameparser('KEYWORD', 'SEXTUPOLE', herae)
nameparser
- Input-Parameter: property, value, ring
- Output-Parameter: a
- Description:
NAMEPARSER returns index of element VALUE with PROPERTY
in structure RING.
Examples: nameparser('NAME', 'QE02', herae)
nameparser('KEYWORD', 'SEXTUPOLE', herae)
quad
- Input-Parameter: L,k1,k0,tilt
- Output-Parameter: bmat