Page History
...
The 2x1 sensor geometry was tested with microscopemicroscopic measurement. Two slides from Chris Kenney's presentation shows the pixel sizes:
The same presentation in PDF format: Pixels size
...
Corner coordinates are measured in micrometers (um) and are saved in the xlsx format table, also containing numeration of quads and points. Then, xlsx format table is converted to the text file format in order to feed the python script for quality check and getting calibration parameters for 2x1 center coordinates and tilt anglesuse it in python script.
Example of tables for CXI:
Example of tables for XPP:
- Metrology in XLSX
- Metrology in TXT
Python script converts this table to the table with standard numeration for of points in quads: - Metrology in standard TXT
Then, text table with "standard" numeration of points for in quads is feed to another the python script which provides the quality check of optical measurement and evaluates the alignment parameters for quads.
At first step In the beginning, this script changes the numeration of points adopted in optical measurement to numeration of 2x1 used in DAQ. Further, all calibration parameters are associated with numeration of 2x1 sensors and quads in DAQ.
Quality Check Procedure
For quality check of optical measurement we calculate
S1 - 1st short side length of 2x1
S2 - 2nd short side length of 2x1
L1 - 1st long side length of 2x1
L2 - 2nd long side length of 2x1
D1 - 1st diagonal of 2x1 between corners 1 and 3
D2 - 2nd diagonal of 2x1 between corners 2 and 4
dS and dL are the deviations of the 1st and 2nd corner along the short and long sides, respectively. The sign of all dS are chosen in order to provide correct sign for the tilt angle (the same direction for all 2x1 sensors).
<dS/L> - the tilt angle of 2x1 averaged over two sides in radians.
angle(deg) - the same angle in degrees.
dD = D1 - D2
d(dS) = dS1 - dS2
d(dL) = dL1 - dL2
...
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 margins, 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.
center
The tail Tail of the path: center/<run-range>.data
Parameters: x,y,z coordinates of 8 2x1 centers in 4 quads in pixels:
Code Block |
---|
x0q0 x1q0 x2q0 x3q0 x4q0 x5q0 x6q0 x7q0 x0q1 x1q1 x2q1 x3q1 x4q1 x5q1 x6q1 x7q1 x0q2 x1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z4q3 dz5q3 dz6q3 dz7q3 |
offset
The tail Tail of the path: offset/<run-range>.data
Parameters: x,y,z coordinates of 4 quad "origins" in CSPad pixel matrix:
Code Block |
---|
xq0 xq1 xq2 xq3 yq0 yq1 yq2 yq3 zq0 zq1 zq2 zq3 |
offset_corr
The tail Tail of the path: offset_corr/<run-range>.data
Parameters: x,y,z coordinate corrections of 4 quad "origins" in CSPad pixel matrix:
Code Block |
---|
dxq0 dxq1 dxq2 dxq3 dyq0 dyq1 dyq2 dyq3 dzq0 dzq1 dzq2 dzq3 |
marg_gap_shift
The tail Tail of the path: marg_gap_shift/<run-range>.data
Parameters:
Code Block |
---|
offset of 2x1s in quad (for tilt) / offset of quads in image (for tilt) / / gaps / / / shifts / / / / 15 40 0 32 <--- for X 15 40 0 32 <--- for Y 0 0 0 0 <--- for Z |
quad_rotation
The tail Tail of the path: quad_rotation/<run-range>.data
Parameters: rotation angle of 4 quads in CSPad in n*90 degree:
...
Code Block |
---|
180 90 0 270 |
quad_tilt
The tail Tail of the path: quad_tilt/<run-range>.data
Parameters: rotation angle correction (tilt) of 4 quads in CSPad in degree:
Code Block |
---|
dAq0 dAq1 dAq2 dAq3 |
rotation
The tail Tail of the path: rotation/<run-range>.data
Parameters: rotation angle of 8 2x1 in 4 quads in n*90 degree:
...
Code Block |
---|
0 0 270 270 180 180 270 270 0 0 270 270 180 180 270 270 0 0 270 270 180 180 270 270 0 0 270 270 180 180 270 270 |
tilt
The tail Tail of the path: tilt/<run-range>.data
Parameters: rotation angle correction (tilt) of 8 2x1 in 4 quads in degree:
Code Block |
---|
dA0q0 dA1q0 dA2q0 dA3q0 dA4q0 dA5q0 dA6q0 dA7q0 dA0q1 dA1q1 dA2q1 dA3q1 dA4q1 dA5q1 dA6q1 dA7q1 dA0q2 dA1q2 dA2q2 dA3q2 dA4q2 dA5q2 dA6q2 dA7q2 dA0q3 dA1q3 dA2q3 dA3q3 dA4q3 dA5q3 dA6q3 dA7q3 |
Pixel coordinate reconstruction
The list of CSPad geometry alignment parameters is over-defined; different parameters can be used to get the same final effect on pixel coordinate. It is done intentionally in order to keep flexibility in the alignment stage.
Algorithm description will be added soon.
References
Description of CSPAD layout from DAQ
CSPAD quad metrology
CSPad pixel layout in quads