Versions Compared

Key

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

Go back to CSPAD Alignment

Content

Table of Contents

Optical measurement

We use before-run4 optical measuremens from Chris K.:

...

 

History of DS1 quads alignment

  • 2011-10-18 CxiDs1.0:Cspad.0 cxi37411 alignment - copy of cxi35711, test runs 39, 80.
  • Deployed: /reg/d/psdm/CXI/cxi37411/calib/CsPad::CalibV1/CxiDs1.0:Cspad.0/
  • 2012-01-18 CSPad CxiDs1 alignment for cxi80410-r1150, cxi43312, cxi39912, etc.
    Local: ~dubrovin/LCLS/CSPadAlignment-v01/calib-cxi80410-r1150-Ds1/
    Deployed: /reg/d/psdm/CXI/cxi80410/calib/CsPad::CalibV1/CxiDs1.0:Cspad.0/ Files added as 1142-end.data
    /reg/d/psdm/CXI/cxi43312/calib/CsPad::CalibV1/CxiDs1.0:Cspad.0/ 0-end.data
  • 2012-02-17 CSPad CxiDs1 alignment for cxi39112-r0009, cxi39112
    Local: ~dubrovin/LCLS/CSPadAlignment-v01/calib-cxi39112-r0009-Ds1/
    Deployed: /reg/d/psdm/CXI/cxi39112/calib/CsPad::CalibV1/CxiDs1.0:Cspad.0/
  • 2012-03-08 CSPad CxiDs1 alignment for cxi49812-r0073 - copy of cxi37411, test runs 72(dark) 73(water ring) from 2011-12-03.
    Local: ~dubrovin/LCLS/CSPadAlignment-v01/calib-cxi49812-r0073-Ds1/
    Deployed: /reg/d/psdm/CXI/cxi49812/calib/CsPad::CalibV1/CxiDs1.0:Cspad.0/
  • 2012-03-14 CSPad CxiDs1 alignment for cxi49012-r0020
    Local: ~dubrovin/LCLS/CSPadAlignment-v01/calib-cxi49012-r0020-Ds1/*/0-end.data
    Deployed: /reg/d/psdm/CXI/cxi49012/calib/CsPad::CalibV1/CxiDs1.0:Cspad.0/*/0-end.data
  • 2013-01-31 CSPad CxiDs1 alignment
    Local: ~dubrovin/LCLS/CSPadAlignment-v01/calib-cxi64813-r0058-Ds1/*/0-end.data
    Deployed: /reg/d/psdm/cxi/cxi64813/calib/CsPad::CalibV1/CxiDs1.0:Cspad.0/*/0-end.data

 

2016-03-16 Geometry re-alignment

  • Chuck requested geometry file for old experiment cxi40112, run 23 - dark, run 32-35 - images.

Quality check

Raw metrology

Original metrology file has problems in 3 points.

CalibManager.GUIMetrology: Quality check in X-Y plane:

Code Block
segm:        S1      S2     dS1     dS2        L1      L2     dL1     dL2    angle(deg)   D1      D2      dD   d(dS)   d(dL)
Quad  2
segm: 6  -20901  -20905    -123    -127    -43278  -43388      54     -56   -0.16528   48166   48056     110       4     110
segm: 7  -20893  -20902      75      66    -43465  -44415     984      34    0.09193   48166   49146    -980       9     950

Quad  3
segm: 5   20768   20906     -68      70    -43404  -43542     166      28   -0.00132   48121   48295    -174    -138     138
  • Problematic measurements are
    • Quad 2, segm 6. Correction for point 32 Y=130->20
    • Quad 2, segm 7. Correction for point 26 Y=44485->43535
    • Quad 3, segm 5. Correction for point 23 X=90854->90716 and Y=90729->90867

Corrected metrology

2016-03-16 17:09:06 (info) CalibManager.GUIMetrology: Quality check in X-Y plane:
Code Block
collapsetrue
segm:        S1      S2     dS1     dS2        L1      L2     dL1     dL2    angle(deg)   D1      D2      dD   d(dS)   d(dL)
Quad  0
segm: 0  -20911  -20907    -259    -255     43539   43543    -130    -126   -0.33818   48297   48306      -9      -4      -4
segm: 1  -20907  -20905       0       2     43535   43536      -4      -3    0.00132   48291   48298      -7      -2      -1
segm: 2  -20909  -20905     237     241    -43539  -43537    -114    -112    0.31452   48296   48299      -3      -4      -2
segm: 3  -20903  -20894     -31     -22    -43542  -43540       8      10   -0.03487   48300   48293       7      -9      -2
segm: 4   20908   20906    -111    -113    -43539  -43543     -51     -55    0.14738   48299   48301      -2       2       4
segm: 5   20911   20899     -54     -66    -43545  -43533     -35     -23    0.07896   48297   48297       0      12     -12
segm: 6  -20911  -20908    -167    -164    -43538  -43544      80      74   -0.21778   48303   48299       4      -3       6
segm: 7  -20897  -20905     -75     -83    -43539  -43541      40      38   -0.10396   48295   48297      -2       8       2
Quad  1
segm: 0  -20907  -20911    -205    -209     43544   43542    -100    -102   -0.27238   48302   48305      -3       4       2
segm: 1  -20904  -20892      -8       4     43544   43550       0       6   -0.00263   48305   48298       7     -12      -6
segm: 2  -21379  -21372      16      23    -43909  -43903      -7      -1    0.02545   48827   48837     -10      -7      -6
segm: 3  -21382  -21379      22      25    -43909  -43908     -12     -11    0.03066   48837   48837       0      -3      -1
segm: 4   20906   20915      23      32    -43535  -43543      15       7   -0.03619   48302   48298       4      -9       8
segm: 5   20911   20908     -17     -20    -43540  -43541     -11     -12    0.02434   48303   48298       5       3       1
segm: 6  -20900  -20904      63      59    -43540  -43538     -30     -28    0.08027   48296   48296       0       4      -2
segm: 7  -20900  -20901     115     114    -43537  -43543     -47     -53    0.15067   48292   48301      -9       1       6
Quad  2
segm: 0  -20910  -20905     -39     -34     43548   43540     -12     -20   -0.04803   48304   48301       3      -5       8
segm: 1  -20908  -20896      -9       3     43537   43539       0       2   -0.00395   48297   48293       4     -12      -2
segm: 2  -20900  -20912      92      80    -43536  -43536     -43     -43    0.11318   48297   48293       4      12       0
segm: 3  -20908  -20906     -61     -59    -43542  -43539      28      31   -0.07896   48299   48300      -1      -2      -3
segm: 4   20903   20900     276     273    -43538  -43536     137     139   -0.36124   48289   48300     -11       3      -2
segm: 5   20899   20895     244     240    -43538  -43540     116     114   -0.31846   48295   48293       2       4       2
segm: 6  -20901  -20905    -123    -127    -43388  -43388      54      54   -0.16507   48166   48155      11       4       0
segm: 7  -20893  -20902      75

Procedure and table of results

We calculate
S1 - 1st short side of 2x1
S2 - 2nd short side of 2x1
L1 - 1st long side of 2x1
L2 - 2nd long side of 2x1

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).

Everything, excluding <dS/L> and angle(deg), are in micrometers.

Code Block

             S1      S2     dS1     dS2        L1      L2     dL1     dL2    <dS/L>  angle(deg)
Quad  0
pair: 0   20911   20907    -255    -259     43543   43539     130     126   -0.00590   -0.33819
pair: 1   20907   20905       2       0     43536   43535       4       3    0.00002    0.00132
pair: 2   20905   20909     241     237     43537   43539     112     114    0.00549    0.31452
pair: 3   20894   20903     -22     -31     43540   43542     -10      -8   -0.00061   -0.03487
pair: 4   20906   20908     111     113     43539   43543     -55     -51    0.00257    0.14738
pair: 5   20899   20911      54      66    -43465 43545 -43465  43533    34 -23     -3534    0.0013809293   48166   48288    0.07896
pair: 6-122    20908   209119    -164   0
Quad -167 3
segm: 0  -20904 43544 -20897  43538    91 -74     -8098   -0.00380  43536 -0.21778
pair: 7 43538  20905   20897 42    -83  44   -75 0.12436   48291 43541  48296 43539     -385      -407   -0.00181   -0.10396

Quad  1
pair: 0   20907   20911  2
segm: 1  -20920909    -20520904     43542 -1  43544     1004     10243529   -0.0047543534   -0.27238
pair: 1  -5 20904   20892   0    40.00197   48288   -848294     43550 -6  43544    -5   0   -5
segm: 2  -620907  -20902 -0.00009   -0.00526
pair: 2 338   21372  343 21379   -43537  -43540 23   -159   16 -162    439030.44808   4390948295   48301    1  -6     7 -5   0.00044    0.025453
pairsegm: 3  -20896 21379 -20904   21382  200    25 192    -43537 22 -43539    43908 -95  43909   -97   11 0.25793   48296  12 48293   0.00054    0.03066
pair: 43    20915   209068     -23  2
segm: 4  -32 20908   20906 43535   43543 138     136 7   -43533  -43542 15   -0.00063  70 -0.03619
pair: 5   20908 61  20911 -0.18029    48297 17  48297    20   0  43540   43541  2   -12     -119
segm: 5   20906 0.00042  20906  0.02434
pair: 6  -68 20904   20900 -68    -43404 59 -43404     63 28    43538  28 43540   0.08976   2848121   48231   30 -110   0.00140    0.08027
pair: 7   20901   209000
segm: 6  -20900  114-20905     115251     43543246   43537 -43540  -43541   53 -118     47-119    0.0026332700   48297   0.15067

Quad48299  2
pair: 0   20910-2   20905    5 -34     -39 1
segm: 7  -20905 43540 -20908  43548   248   12  245    20-43536  -43540 -0.00084   -0.04803
pair: 1117    -121 20908   208960.32439   48298   48297 3      -91     43539  3 43537       0      -2   -0.00010   -0.00592
pair: 2   20912   209004
  • Corrected metrology have consistent size of 2x1 sides, but still in 2 of corrected points the difference in diagonal is about 1 pixel size (122, 110um)... 
  • All other measurements are consistent with each other within about 10um.
  • Angles of 2x1 are in the range from -0.36 to +0.44 degree.


2016-03-16 17:09:06 (info) CalibManager.GUIMetrology: Quality check in Z:
Code Block
collapsetrue
segm:        SA 80     LA 92  XSize   43536 YSize  43536  dZS1  dZS2  43 dZL1  dZL2   43 dZSA  dZLA 0.00198 ddZS  ddZL 0.11318
pair: 3   20906dZX   20908dZY   angXZ(deg)  -59   angYZ(deg) dz3(um)
Quad  0
segm: 0  -6120909   43541   4353943541   4354220909     -31  3   -2813   -0.0013841   -0.07896
pair: 4   2090057    20903    -2765    -273  -49   43538 16  43536  16   139  -49   137 -5  -0.0063006448   -0.36125
pair: 5   20895   2089901370    -244 15.994
segm: 1   -24020906   43535  43538 43535  43540 20906    114 -19    11622   -0.0055614    -0.31846
pair: 627    20905   209011    -127 6   -12341   -41  43388   43278  6    56 1   0.00790 -54   -0.0028800274     -040.16527998
pairsegm: 72  -20907  20902-43538   2089320907   43538   66   -8   75 -7    44415 2  43465   3  -34    -9847    0.00161 2   0.09200

Quad  3
pair: 0   20904 -1    -1    20897  -7    98 2  -0.01918   91     43538 0.00263   43536  -0.999
segm: 3  -4220898  -43541   -4420898   43541 0.00217    0.12436
pair: 1 22   20909  0 20904    9   4-13      -111    -2 43534   4352922     22  5    11   0 -2   0.0000503016    -0.00263
pair: 2   20902 22.001
segm: 4 20907  20907  -43541 343  43541   33820907     43540-23   43537  0   162-31    -8 159    0.00782-11    0.44809
pair: 3   20904   20896-19   -23   -23     -19  192 -11  -0.02500  200 -0.03015    43539 23.003
segm: 5 43537  20905  -43539  97 43539   20905  95    0.0045010    0.25794
pair: 419   -34 20906  -25 20908    -138 14   -13629    -9 43533   43542-9     -29 61   14  -0.03816 70   -0.0031503837      -09.18029002
pairsegm: 56  -20909 20906 -43541  20768 20909   43541  68     -7024   -25  43404  16 43542   15   28  -24   166 15  -0.00002   -0.00117
pair: 61    20905 1  20900   -24  246  15  -0.06577 251   0.01974  43541   43540 1.006
segm: 7  -20901 119 -43540   20901 118  43540  0.00571    0.32701
pair: 7 4   20908 -5  20905  14   245  5   248    0 43540   43536 9    121 9    117 9   0.00566    0.32439
  • The only problematic measurement is for Quad 3, pair 5.
  • All other are consistent with each other within +/-10um.
  • Angles of 2x1 are in the range from -0.46 to +0.44 degree.

Configuration parameters

Configuration parameters are shown in number of pixels.

For 2x1 pairs in each quad

Coordinates of the 2x1 centers (the same orientation as in optical measurement, center is calculated as an average of 4 corner coordinates)

Code Block

self.pairXInQaud = [[199.14,  198.05,  310.67,   98.22,  629.71,  629.68,  711.87,  499.32],
             9   0.00000    0.01184      8.998
Quad  1
segm: 0  -20909   43543   43543   20909     -24    -6    56    74     -15    65   -18   -18      65   -15   [198.52,0.08553   198-0.08,04110  311.50,   98.69,  627.27,  627.27,  712.35,  499.77],
   18.008
segm: 1  -20898   43547   43547   20898     -16    31    39    [198.32,86  198.04,  310.53,   97.43,7  626.68,  628.45,62  710.86,  498.01],
-47   -47      62     7   0.08157    [198.26,0.01919   198.04,  308.70,   96.42,  627.66,  628.04,  711.12,  498.25]]

self.pairYInQaud = [[308.25,   95.11,  625.60,  625.70,  515.02,  727.37,  198.53,  199.30],
    46.979
segm: 2  -21375  -43906   21375   43906     -46   -50     9     5     -48     7     4     4 [307.18,   95.08, -48 622.98,  623.51,  514.99,7  727-0.35,12866  199.27,  198.94],
0.00913      4.016
segm: 3  -21380  -43908   21380    43908  [307.68,   95.09,-26  623.95, -10 625.29,  512.32,-16  724.63,  198.04, 0 200.35],
    -18    -8   -16   -16     -18 [307.39,   95.12,-8  627.57,  626.65,  518.03,  730.95,  200.02,  199.70]]

self.pairZInQaud = [[  0.31,    0.12,    0.05,    0.12,    0.28,    0.24,    0.40,    0.27],
                    [  0.45,    0.36,    0.62,    0.33,    1.02,    0.92,    1.30,    1.07],
-0.04824   -0.01044    -15.999
segm: 4   20910  -43539   43539   20910      -7   -18   -53   -64     -12   -58    11    11     -58   -12  -0.07633   -0.03288    -10.983
segm: 5   20909  -43540   43540   20909       4    10   -73   -67       7   -70    -6    -6  [  0.23, -70   0.22,  7  -0.11,09212    0.15,01918    0.24,    0.20,    0.60,    0.42],
    6.003
segm: 6  -20902  -43539   20902   43539     -30   -27    21    [24  0.25,   -28 0.21,   22 0.12,   -3 0.10,   -3 0.35,    0.-28,    22  -0.66,07675    0.40]]

Hand-maid coordinate correction for 2x1 in quads

Code Block

02895     -3.006
segm: 7  -20900 self.dXInQaud -43540   =20900 [[  43540 0,   0, -36  0, -14  1,  13 1,   0,35   1,  -25 0],
   24   -22   -22     -25    24  -0.06854    0.03158    [-21.996
Quad  2
segm: 0,  -20907 0,  43544 0,  43544 0,  20907 0,   0,  -1,9     1    0],
 6    16      -4    11   -10   -10      11 [   0,-4   0,.01447   -0,.01096   0,   0,10.001
segm: 1  -20902 0,  43538 0,  43538 0],
  20902     -15    22    14    51       3  [  32 0,  -37 0,  -37 0,  -1,   0,32   0,  3 0,   1]]

0.04211    0.00822     self.dYInQaud 36.989
segm: 2  -20906 = [[-43536   0,20906   0,43536   0,   0, 5 -1,  -19 0,  -1, 15  0],
  -9      -7     3    24    24      -7 [   0, 3  -0,.01918    0,.00395   0,   0,   1,   0,   0],
  23.989
segm: 3  -20907  -43540   20907   43540      17    14     4     1      [15   0,  2 0,   0, 3  0,   0,3   0,  -1, 15 -2],
    2   0.04111    0.00263      2.999
segm: 4   20901  -43537   43537  [ 20901  0,   0,-23   0,-25   0,-27   0,-29   0,  -24 0,   0]]

2x1-pair orientation in quads

Code Block

-28     2    self.pairInQaudOrient =2 [ [ 270, 270, 180,-28 180,  90,-24  90, 180, 180],
 -0.03685   -0.06579     -2.005
segm: 5   20897  -43539   43539   20897      -2     6   -37  [ 270,-29 270, 180, 180,  90,  90,2 180, 180],
 -33    -8    -8     -33     2  -0.04343    0.00548      8.003
segm: 6  [-20903 270, 270,-43388 180, 180, 20903 90,  90,43388 180, 180],
   -31   -10    51    72     -20    61   -21   -21     [-20 270, 270, 180, 180,61  90,-0.05482  90, 180, 180] ]

Sensor tilt angle (dergee) from optical measurement

Code Block

self.dPhi = [ [-0.33819,  0.00132,  0.31452, -0.03487,  0.14738,  0.07896, -0.21778, -0.10396],
              [-0.27238, -0.00526,  0.02545,  0.03066, -0.03619,  0.02434,  0.08027,  0.15067],
              [-0.04803, -0.00592,  0.11318, -0.07896, -0.36125, -0.31846, -0.16527,  0.09200],
              [ 0.12436,  0.00263,  0.44809,  0.25794, -0.18029, -0.00117,  0.32701,  0.32439] ]

Quad coordinates in the detector

Code Block

        off    = 40
        gapX   = 0
        gapY   = 0
        shiftX = 38
        shiftY = 38

self.quadXOffset = [ off+0-gapX+shiftX,  off+  0+0-gapX-shiftX,  off+834-2+gapX-shiftX,  off+834+0+gapX+shiftX]
self.quadYOffset = [ off+3-gapY-shiftY,  off+834-1+gapY-shiftY,  off+834-5+gapY+shiftY,  off+  0+2-gapY+shiftY]

Hand-made coordinate correction

Code Block

        self.dXInQaud    = [[   0,   0,   0,   1,   1,   0,   1,   0], #DONE
                            [   0,   0,   0,   0,   0,   0,  -1,   0], #DONE
                            [   0,   0,   0,   0,   0,   0,   0,   0], #DONE
                            [   0,   0,   0,  -1,   0,   0,   0,   1]] #DONE
                                                                   
        self.dYInQaud    = [[   0,   0,   0,   0,  -1,   0,  -1,   0], #DONE
                            [   0,   0,   0,   0,   0,   1,   0,   0], #DONE
                            [   0,   0,   0,   0,   0,   0,  -1,  -2], #DONE
                            [   0,   0,   0,   0,   0,   0,   0,   0]] #DONE

...

 0.08055    -21.002
segm: 7  -20897  -43465   20897   43465     -10   -12    52    50     -11    51     2     2     -11    51  -0.03016    0.06723      1.995
Quad  3
segm: 0  -20900   43537   43537   20900       2   -13    17     2      -5     9    15    15       9    -5   0.01184   -0.01371    -14.999
segm: 1  -20906   43531   43531   20906      -7    32    20    59      12    39   -39   -39      39    12   0.05133    0.03289     38.992
segm: 2  -20904  -43538   20904   43538      -6   -22    14    -2     -14     6    16    16     -14     6  -0.03837    0.00790     16.005
segm: 3  -20900  -43538   20900   43538       2     4    16    18       3    17    -2    -2       3    17   0.00822    0.02237     -1.998
segm: 4   20907  -43537   43537   20907     -28   -24   -36   -32     -26   -34    -4    -4     -34   -26  -0.04474   -0.07125      4.005
segm: 5   20906  -43404   43404   20906      13     3   -26   -36       8   -31    10    10     -31     8  -0.04092    0.02193    -10.000
segm: 6  -20902  -43540   20902   43540     -44   -17    27    54     -30    40   -27   -27     -30    40  -0.08223    0.05264    -27.003
segm: 7  -20906  -43538   20906   43538       2   -11    30    17      -4    23    13    13      -4    23  -0.01096    0.03027     13.000

Alignment of quads

cxi40112, run 23 - dark, run 32,35,53 - images of rings with wires

Image AddedImage AddedImage AddedImage AddedImage AddedImage Added

Deployment

in archive:

/reg/g/psdm/detector/alignment/cspad/calib-cxi-ds1-2011-06-20/calib/CsPad::CalibV1/CxiDs1.0:Cspad.0/geometry/0-end.data

and in experimental calib directory:

/reg/d/psdm/cxi/cxi40112/calib/CsPad::CalibV1/CxiDs1.0:Cspad.0/geometry/0-end.data

 

References