Page History
...
Code Block | ||||
---|---|---|---|---|
| ||||
ssh -Y pslogin.slac.stanford.edu
ssh -Y psana
source /cds/sw/ds/ana/conda1/manage/bin/psconda.sh |
Code Block | ||
---|---|---|
| ||
ssh -Y s3dflogin.slac.stanford.edu ssh -Y psana source /sdf/group/lcls/ds/ana/sw/conda2conda1/manage/bin/psconda.sh |
Code examples
...
Code Block |
---|
kwa = <dict-of-mask-parameters>
a = o.calib(evt, cmpars=(7,2,100,10), **kwa)
a = o.image(evt, nda=None, **kwa) # reduced shape for available segment only
a = o.image(evt, nda=None, value_for_missing_segments=800, **kwa) # full image including missing segments |
Calibration constants
All detector calibration constants (np.array) and associated metadata (dict) are available through the dictionary det.calibconst with calibration type as a key. For example:
...
Overview
Content Tools