Energy management
-
doc for EnergyWavelength -
LUT to use xcalibu ? -
wene
|wegy
|wnrj
?
What do BL need ?
-
Escan
-
moveE()
-
getE()
-
moveU()
-
calibration / energy calculation ?
-
energy scans step/continuous
-
monochromator
-
ene2angle
angle2ene
with formula or LUT - Xtal change ?
- offset (automatic selection)
-
see also:
- https://bliss.gitlab-pages.esrf.fr/bliss/master/config_enwl.html
- #676 (closed)
- #655
- https://bliss.gitlab-pages.esrf.fr/bliss/master/dev_energy.html
Metadata
list of variables to use as "official" meta-data ???
ex (found in spec macros):
InstrumentMonochromator_wavelength
InstrumentMonochromatorCrystal_usage
InstrumentMonochromatorCrystal_d_spacing
InstrumentMonochromatorCrystal_type
InstrumentMonochromatorCrystal_reflection
InstrumentMonochromator_energy
SPEC macros
-
calcM
: Calculates monochromator motor positions from -
calcE
: Calculates LAMBDA from motor positions. -
getE
: Displays current energy. -
moveE
: Moves monochromator to correspond to some energy. -
setE
: Set monochromator angles for current energy. -
Escan
: Scans energy (now defined in newenergy.mac). -
setmono [d] [s]
: -
_chk_mlim
: Checks limits on monochromator motors -
pa_mono
: Displays monochromator parameters -
sav_mono
: Saves monochromator parameters -
miller
: Used by setmono to calculate d-spacing from miller indices -
_assign_mono
: Figures out which kind of monochromator from config mnemonics. -
mono_settings()
: returns the string name of the file to be used to store monochromator parameters.
spec params:
# mono_type - Set to 0, 1, 2, 3, 4 or 5 to indicate type of
# monochromator. If 0, there is no monochromator.
# mono_flag - A flag that may distinguish special features.
# g_mo_d - Monochromator d-spacing in Angstroms. Can be
# calculated or set using setmono macro.
# g_mo_s - Fixed offset between crystals for three-motor monochromator.
# Can be set using setmono.
# xtal_ind
# - An array holding the miller indices of the crystal.
# Not necessary to use if entering d-spacing directly.
# xtal_lat
# - Holds the lattice spacing of the crystal. Not necessary
# to use if entering d-spacing directly. Lattices for Si
# and Ge are built-in.
# xtal_type
# - Is "G" for Ge, "S" for Si, or anything else for others.
# Not necessary to use if entering d-spacing directly.