CSpad alignment

Alignment

CxiDs1

Metrology    Experiments
2011-06-20   cxi35711 
             cxi37411 
             cxi80410 
             cxi43312 
             cxi39112 
             cxi49812 
             cxi49012 
             cxii0212
             cxi64813

CxiDsd

Metrology    Experiments
2011-08-??   cxi37411
2012-01-12   cxi80410
             cxi43312
             cxi39912
2012-11-08   (-)

XppGon.0

Metrology    Experiments
2011-08-10   xpp36211
2012-02-26   xppcom10
2013-01-24   xppcom13 - had problems with electronics. Is fixed on 2013-01-29:
2013-01-29   xppcom13 (when tested, should be copied for xppi0113, xppi0213, xppi0313, xpp66213, xpp66613, xpp67713) 

Alignment parameters

The official place for CSPad alignment parameters is
/reg/d/psdm/<INSTRUMENT>/<experiment>/calib/CsPad::Calib<VERSION>/<CSPad-name>/<type>/<run-range>.data
The file name consists of the run range followed by the .data, for example, 0-end.data, 11-end.data, 47-52.data, etc.

All alignment parameters are splitted for 9 types:

All coordinates are defined in size of pixel, which is 109.92 x 109.92um (and 274.80 x 109.92um for two rows between two of 2x1 ASICs.) The quadrant size is pre-defined as 850x850. The margines, shifts and gaps are defined for these quads. The offset and offset_corr are defined for low-left angle of the rotated by n*90 degree quad. Size of entire CSPad image does not matter for this alignment.

offset_corr

For individual quad position alignment use file: offset_corr/<run-range>.data

dXq0 dXq1 dXq2 dXq3
dYq0 dYq1 dYq2 dYq3
dZq0 dZq1 dZq2 dZq3

marg_gap_shift

For common gap and shift between quads correction use file marg_gap_shift/<run-range>.data

         offset of 2x1s in quad (for tilt)
        /  offset of quads in image (for tilt)
       /  /  gaps
      /  /  /  shifts
     /  /  /  /
X: 15 40  0 32
Y: 15 40  0 32
Z:  0  0  0  0

References

CSPad metrology and calibration files, links
CSPad detector
Psana CSPad Geometry - explains how the alignment parameters are used for reconstruction of the CSPad image in PSANA.
CSPad image producer in Python