Alignment procedure for CSPAD2x2 is very similar to CSPAD alignment for quads described in
CSPAD Geometry and Alignment - Old.
The only difference is that CSPAD2x2 has only two 2x1 sensors, that makes everything much simpler.
Photos and charts with numeration of corners in otical measurements:
Metrology table in xlsx
format:
Metrology-140ks-Feb13-2013.xlsx
The xlsx
file is converted to tables in text format for 6 CSPad2x2 detectors:
pair: S1 S2 dS1 dS2 L1 L2 dL1 dL2 <dS/L> angle(deg) D1 D2 dD d(dS) d(dL) pair: 0 20909 20902 2 -5 43538 43539 0 1 -0.00006 -0.00329 48297 48297 0 7 -1 pair: 1 20906 20902 2 -2 43538 43538 0 0 0.00000 0.00000 48296 48296 0 4 0 |
center/0-end.data
(in pixels)
198.05 198.42 95.10 307.54 0.09 0.03 |
tilt/0-end.data
(in degree)
-0.00329 0.00000 |
pair: S1 S2 dS1 dS2 L1 L2 dL1 dL2 <dS/L> angle(deg) D1 D2 dD d(dS) d(dL) pair: 0 20905 20896 5 -4 43536 43536 -2 -2 0.00001 0.00066 48291 48294 -3 9 0 pair: 1 20905 20905 -22 -22 43540 43536 10 6 -0.00051 -0.02895 48294 48299 -5 0 4 |
center/0-end.data
(in pixels)
198.03 198.94 95.09 306.84 0.18 0.21 |
tilt/0-end.data
(in degree)
0.00066 -0.02895 |
pair: S1 S2 dS1 dS2 L1 L2 dL1 dL2 <dS/L> angle(deg) D1 D2 dD d(dS) d(dL) pair: 0 20907 20908 -5 -4 43540 43545 0 5 -0.00005 -0.00263 48302 48301 1 -1 -5 pair: 1 20904 20907 421 424 43538 43538 -203 -203 0.00970 0.55601 48299 48299 0 -3 0 |
center/0-end.data
(in pixels)
198.06 196.67 95.08 308.15 0.17 0.23 |
tilt/0-end.data
(in degree)
-0.00263 0.55601 |
pair: S1 S2 dS1 dS2 L1 L2 dL1 dL2 <dS/L> angle(deg) D1 D2 dD d(dS) d(dL) pair: 0 20906 20905 -8 -9 43540 43540 3 3 -0.00020 -0.01119 48297 48299 -2 1 0 pair: 1 20908 20898 -12 -22 43541 43538 12 9 -0.00039 -0.02237 48299 48295 4 10 3 |
center/0-end.data
(in pixels)
198.07 198.70 95.06 307.79 0.24 0.30 |
tilt/0-end.data
(in degree)
-0.01119 -0.02237 |
pair: S1 S2 dS1 dS2 L1 L2 dL1 dL2 <dS/L> angle(deg) D1 D2 dD d(dS) d(dL) pair: 0 20904 20904 2 2 43536 43536 -1 -1 0.00005 0.00263 48294 48294 0 0 0 pair: 1 20908 20909 122 123 43540 43545 -61 -56 0.00281 0.16119 48302 48302 0 -1 -5 |
center/0-end.data
(in pixels)
198.03 197.12 95.10 307.60 0.03 -0.11 |
tilt/0-end.data
(in degree)
0.00263 0.16119 |
pair: S1 S2 dS1 dS2 L1 L2 dL1 dL2 <dS/L> angle(deg) D1 D2 dD d(dS) d(dL) pair: 0 20903 20900 59 56 43541 43539 -27 -29 0.00132 0.07567 48296 48297 -1 3 2 pair: 1 20979 20977 49 47 43707 43705 -20 -22 0.00110 0.06292 48481 48477 4 2 2 |
center/0-end.data
(in pixels)
197.93 196.92 95.34 307.53 -1.60 -3.63 |
tilt/0-end.data
(in degree)
0.07567 0.06292 |
Produced for optical measurement on 2013-02-13
2013-03-08
/reg/d/psdm/mec/mec73313/calib/CsPad2x2::CalibV1/
2013-06-21
/reg/d/psdm/xpp/xpptut13/calib/CsPad2x2::CalibV1/
on 2013-12-17:
CxiSc1.0:Cspad2x2.0 CxiSc2.0:Cspad2x2.0 CxiSc2.0:Cspad2x2.1 CxiSc2.0:Cspad2x2.2 CxiSc2.0:Cspad2x2.3 CxiSc2.0:Cspad2x2.4 CxiSc2.0:Cspad2x2.5 CxiSc2.0:Cspad2x2.6 CxiSc2.0:Cspad2x2.7 MecEndstation.0:Cspad2x2.6 MecTargetChamber.0:Cspad2x2.0 MecTargetChamber.0:Cspad2x2.1 MecTargetChamber.0:Cspad2x2.2 MecTargetChamber.0:Cspad2x2.3 MecTargetChamber.0:Cspad2x2.4 MecTargetChamber.0:Cspad2x2.5 XcsEndstation.0:Cspad2x2.0 XcsEndstation.0:Cspad2x2.1 XppGon.0:Cspad2x2.0 XppGon.0:Cspad2x2.1 XppGon.0:Cspad2x2.2 XppGon.0:Cspad2x2.3 |
In contrast to CSPAD which data array shape is (N, 185, 388), the CSPAD2x2 data array has a shape (185, 388, 2); the memory pointer increment by 1 swaps the 2x1 sensor. The (raw,column)=(0,0) is located in corners 4 and 8 of optical measurement scheme for two 2x1 sensors, respectively.
data types are implemented in the package pdscalibdata
as CsPad2x2*
modules:
CsPad2x2CenterV1
CsPad2x2TiltV1
CsPad2x2PedestalsV1
CsPad2x2PixelGainV1
CsPad2x2PixelStatusV1
Access methods are implemented in the package PSCalib
in CSPad2x2CalibPars
module.
Example of acess is in PSCalib/test/ex_cspad2x2_calib_pars.cpp
.
Automated access to the cspad2x2 geometry parameters is implemented in packages:
CSPadPixCoords
generates and returns the CSPad2x2 pixel coordinates, taking into account geometry alignment parameters, if available in the expected place under /reg/d/psdm/<instrument>/<experiment>/calib
directory.CSPadPixCoords::CSPad2x2ImageProducer
produces CSPad2x2 image, accounting for correct geometry, if available.Description of the psana module and example can be found in Psana Module Catalog Module CSPadPixCoords::CSPad2x2ImageProducer
Python modules for CSPad2x2 geometry are available in the package PyCSPadImage. They provides an interface for getting
Calibration parameters from DB and local directory,
Pixel coordinates,
Image producer