Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

NOTE: A table showing which corrections are applied to which detectors is shown on this page: Method det.calib algorithms

NOTE: There are two conventions for mapping pixels to an image, called "Cartesian" (row/column are x/y) and "matrix" (row/column are y/x) as discussed here:  https://eli.thegreenplace.net/2014/meshgrids-and-disambiguating-rows-and-columns-from-cartesian-coordinates/.  psana uses the Cartesian convention.  This is shown by the following example:

Code Block
(ana-4.0.43) psanagpu101:~$ cat junk.py
from psana import *
runnum = 610
ds = DataSource('exp=xpptut15:run='+str(runnum))
det = Detector('jungfrau4M')
im_x = det.image_xaxis(runnum)
im_y = det.image_yaxis(runnum)
for evt in ds.events():
    img = det.image(evt)
    break
print('Image shape:',img.shape,'X shape:',im_x.shape,'Y shape:',im_y.shape)
(ana-4.0.43) psanagpu101:~$ python junk.py
('Image shape:', (2203, 2299), 'X shape:', (2203,), 'Y shape:', (2299,))
(ana-4.0.43) psanagpu101:~$ 


References

...