Page History
...
Forward converter recognizes detectors epix10ka, jungfrau, cspad, pnccd
from their segment names EPIX10KA:V1, EPIX10KA:V2, JUNGFRAU:V1, JUNGFRAU:V2, SENS2X1:V1, PNCCD:V1, MTRX:V2:512:512:75:75 loaded from the input geometry file.
Use dataset for z position correction
Since ana-4.0.47-py3 three optional parameters added to apply z-position correction from PV variables.
Code Block | ||||
---|---|---|---|---|
| ||||
--dsname DSNAME FOR Z CORRECTION FROM DATA - dataset (str) like
exp=<experiment>:run=<run-number>:smd:..., def=None
--zpvname ZPVNAME FOR Z CORRECTION FROM DATA - z-correction variable
name ex: CXI:DS1:MMS:06.RBV or alias ex: DscCsPad_z,
def=None
--f_um F_UM FOR Z CORRECTION FROM DATA - factor for conversion PV
value to um, def=1000.000000 |
To apply z position correction at least --dsname parameter should be specified. In this case PV names CXI:DS1:MMS:06.RBV, CXI:DS2:MMS:06.RBV, MFX:DET:MMS:04.RBV, XPP:ROB:POS:Z, AMO:LMP:MMS:10.RBV are tested for availability.
- if nothing found, the list of all available PV names is printed, correction is not applied,
- if more than one found, specification of one of them is requested in parameter --zpvname,
- if one is found - its value is used with factor --f_um to apply correction.
- if --zpvname is specified incorrectly and not found, the list of all available PV names is printed, correction is not applied.
 Conversion Conversion from CrystFEL to psana
Command for "backward" conversion of the detector geometry constants from CrystFEL to psana needs in a couple of parameters for detector type (-d) and input CrystFEL geometry file name (-f). Optional output file name (-o) for psana geometry is also useful, for example
...