Content

Metrology data

copy files
scp -r dubrovin@s3dflogin.slac.stanford.edu:/sdf/home/d/dubrovin/LCLS/con-py3/ref-detector/alignment/epix10ka2m/calib-mfx-epix10ka2m.1-2024-11-04/<file> .

Quality check

Commands

commands for metrology check
> s3dflogin
> psana

cd LCLS/ref-detector/alignment/epix10ka2m/calib-mfx-epix10ka2m.1-2024-11-04/
source /sdf/group/lcls/ds/ana/sw/conda1/manage/bin/psconda.sh
optical_metrology_check 2024-11-04-epix10ks2m.1-metrology.txt

optical_metrology_check 2024-11-04-epix10ks2m.1-metrology.txt

quality check results
Quality check
-------------
optical_metrology_check 2024-11-04-epix10ks2m.1-metrology.txt
...

X-Y quality check for optical metrology measurements
----------------------------------------------------------------------------------------------------------------------------
segm:        S1      S2     dS1     dS2        L1      L2     dL1     dL2    angle(deg)   D1      D2      dD   d(dS)   d(dL)
----------------------------------------------------------------------------------------------------------------------------
segm: 0   36675   36667     834     826     39681   39682    -758    -757   -1.19826   54050   54036      14       8      -1
segm: 1   36672   36682     805     815     39661   39674    -766    -753   -1.16980   54029   54044     -15     -10     -13
segm: 2   36672   36677     774     779     39677   39699    -718    -696   -1.12086   54056   54041      15      -5     -22
segm: 3   36728   36682     634     588     39691   39704    -611    -598   -0.88179   54043   54102     -58      46     -13
segm: 4   36687   36692    -566    -561     39711   39696     540     525   -0.81313   54074   54057      16      -5      15
segm: 5   36690   36676    -651    -665     39681   39700     595     614   -0.94978   54050   54056      -5      14     -19
segm: 6   36680   36696    -665    -649     39684   39675     622     613   -0.94860   54056   54041      14     -16       9
segm: 7   36678   36674    -621    -625     39687   39687     573     573   -0.89935   54043   54047      -4       4       0
segm: 8   36697   36696     643     642     39694   39674    -593    -613   -0.92756   54051   54064     -13       1      20
segm: 9   36682   36735     609     662     39748   39716    -629    -661   -0.91635   54059   54143     -84     -53      32
segm:10   36689   36682     824     817     39679   39679    -739    -739   -1.18462   54064   54036      28       7       0
segm:11   36684   36670     764     750     39695   39680    -691    -706   -1.09273   54050   54048       1      14      15
segm:12   36703   36689    -617    -631     39680   39693     569     582   -0.90080   54057   54059      -2      14     -13
segm:13   36679   36685    -763    -757     39691   39683     706     698   -1.09707   54052   54053       0      -6       8
segm:14   36700   36692    -455    -463     39694   39679     442     427   -0.66263   54063   54048      14       8      15
segm:15   36696   36685    -854    -865     39692   39677     807     792   -1.24074   54063   54055       7      11      15
----------------------------------------------------------------------------------------------------------------------------
X-Y quality check for optical metrology measurements
----------------------------------------------------------------------------------------------------------------------------
segm:        S1      S2     dS1     dS2        L1      L2     dL1     dL2    angle(deg)   D1      D2      dD   d(dS)   d(dL)
----------------------------------------------------------------------------------------------------------------------------
segm: 0   36675   36667     834     826     39681   39682    -758    -757   -1.19826   54050   54036      14       8      -1
segm: 1   36672   36682     805     815     39661   39674    -766    -753   -1.16980   54029   54044     -15     -10     -13
segm: 2   36672   36677     774     779     39677   39699    -718    -696   -1.12086   54056   54041      15      -5     -22
segm: 3   36728   36682     634     588     39691   39704    -611    -598   -0.88179   54043   54102     -58      46     -13
segm: 4   36687   36692    -566    -561     39711   39696     540     525   -0.81313   54074   54057      16      -5      15
segm: 5   36690   36676    -651    -665     39681   39700     595     614   -0.94978   54050   54056      -5      14     -19
segm: 6   36680   36696    -665    -649     39684   39675     622     613   -0.94860   54056   54041      14     -16       9
segm: 7   36678   36674    -621    -625     39687   39687     573     573   -0.89935   54043   54047      -4       4       0
segm: 8   36697   36696     643     642     39694   39674    -593    -613   -0.92756   54051   54064     -13       1      20
segm: 9   36682   36735     609     662     39748   39716    -629    -661   -0.91635   54059   54143     -84     -53      32
segm:10   36689   36682     824     817     39679   39679    -739    -739   -1.18462   54064   54036      28       7       0
segm:11   36684   36670     764     750     39695   39680    -691    -706   -1.09273   54050   54048       1      14      15
segm:12   36703   36689    -617    -631     39680   39693     569     582   -0.90080   54057   54059      -2      14     -13
segm:13   36679   36685    -763    -757     39691   39683     706     698   -1.09707   54052   54053       0      -6       8
segm:14   36700   36692    -455    -463     39694   39679     442     427   -0.66263   54063   54048      14       8      15
segm:15   36696   36685    -854    -865     39692   39677     807     792   -1.24074   54063   54055       7      11      15
----------------------------------------------------------------------------------------------------------------------------

  WARNING segm  9:  |-84| > 60.0

Z quality check for optical metrology measurements
-----------------------------------------------------------------------------------------------------------------------------------------
segm:        SA      LA   XSize   YSize    dZS1  dZS2  dZL1  dZL2    dZSA  dZLA  ddZS  ddZL     dZX   dZY   angXZ(deg) angYZ(deg) dz3(um)
-----------------------------------------------------------------------------------------------------------------------------------------
segm: 0   36671   39681   36671   39681     -45   -28   -66   -49     -36   -57   -17   -17     -36   -57  -0.05703   -0.08302    -16.992
segm: 1   36677   39667   36677   39667     -66   140    77   283      37   180  -206  -206      37   180   0.05780    0.25999   -205.991
segm: 2   36674   39688   36674   39688     -14  -143   151    22     -78    86   129   129     -78    86  -0.12264    0.12488    129.081
segm: 3   36705   39697   36705   39697     -10   -99   103    14     -54    58    89    89     -54    58  -0.08507    0.08443     89.044
segm: 4   36689   39703   39703   36689      73   251  -174     4     162   -85  -178  -178     -85   162  -0.12266    0.25298    177.922
segm: 5   36683   39690   39690   36683      -9   247  -132   124     119    -4  -256  -256      -4   119  -0.00577    0.18587    256.059
segm: 6   36688   39679   39679   36688     135    97    24   -14     116     5    38    38       5   116   0.00722    0.18116    -38.052
segm: 7   36676   39687   39687   36676     -87  -107    94    74     -97    84    20    20      84   -97   0.12127   -0.15153    -20.010
segm: 8   36696   39684   36696   39684     -93   134  -189    38      20   -75  -227  -227      20   -75   0.03201   -0.10901   -226.900
segm: 9   36708   39732   36708   39732     -39   -36   -82   -79     -37   -80    -3    -3     -37   -80  -0.05853   -0.11609     -2.993
segm:10   36685   39679   36685   39679     -41    32   -51    22      -4   -14   -73   -73      -4   -14  -0.00703   -0.02094    -72.992
segm:11   36677   39687   36677   39687     115   110    73    68     112    70     5     5     112    70   0.17574    0.10178      4.929
segm:12   36696   39686   39686   36696     345     0   182  -163     172     9   345   345       9   172   0.01372    0.26933   -344.912
segm:13   36682   39687   39687   36682     132  -108   124  -116      12     4   240   240       4    12   0.00577    0.01874   -239.993
segm:14   36696   39686   39686   36696      10   -22  -188  -220      -6  -204    32    32    -204    -6  -0.29451   -0.00937    -32.068
segm:15   36690   39684   39684   36690      65   -72    56   -81      -3   -12   137   137     -12    -3  -0.01805   -0.00547   -136.959
-----------------------------------------------------------------------------------------------------------------------------------------

  WARNING segm  1:  |-206.0| > 100.0
  WARNING segm  2:  |129.1| > 100.0
  WARNING segm  4:  |177.9| > 100.0
  WARNING segm  5:  |256.1| > 100.0
  WARNING segm  8:  |-226.9| > 100.0
  WARNING segm 12:  |-344.9| > 100.0
  WARNING segm 13:  |-240.0| > 100.0
  WARNING segm 15:  |-137.0| > 100.0

Metrology map

Geometry file

Production

command to produce geometry from optical metrology
optical_metrology_epix10ka2m -i 2024-11-04-epix10ks2m.1-metrology.txt -o 2024-11-04-epix10ks2m.1-geometry.txt #  -v1 -r2

Expert operations for new metrology measurements

THIS SHOULD BE DONE ONCE for the new metrolody data

Copy to repository and create reference

copy to repository
cp 2024-11-04-epix10ka2m.1-geometry.txt /sdf/group/lcls/ds/ana/detector/calib/geometry/epix10ka2m/2024-11-04-geometry-epix10ka2m.1.txt

Make reference in repository

geometry_deploy_constants -e detdaq23 -r 3 -d DetLab.0:Epix10ka2M.0 -a 2024-11-04-geometry-epix10ka2m.1.txt -c calib -D

making reference in repository
ana-4.0.63-py3 [dubrovin@sdfiana003:~/LCLS/con-py3/ref-detector/alignment/epix10ka2m/calib-mfx-epix10ka2m.1-2024-11-04]$ geometry_deploy_constants -e detdaq23 -r 3 -d DetLab.0:Epix10ka2M.0 -a 2024-11-04-geometry-epix10ka2m.1.txt -c calib -D
Arguments: Namespace(exp='detdaq23', det='DetLab.0:Epix10ka2M.0', run='3', tstamp=None, dsnamex=None, dirrepo='/sdf/group/lcls/ds/ana/detector/calib/geometry/', dircalib='calib', loglev='INFO', dirmode=1533, filemode=436, group='ps-users', deploy=True, backwrd=False, runrange='0-end', parent='IP', posx=0, posy=0, posz=-100000, rotx=0, roty=0, rotz=0, addgeof='2024-11-04-geometry-epix10ka2m.1.txt')

[I] geometry_deploy_constants L0142 log file: /sdf/group/lcls/ds/ana/detector/calib/geometry/logs/2024/2024-11-05T100520_log_geometry_deploy_constants_dubrovin.txt
[I] UtilsCalib.py L0328 record at start: 
2024-11-05T10:05:20 user:dubrovin@sdfiana003 cwd:/sdf/group/lcls/ds/ana/detector/alignment/epix10ka2m/calib-mfx-epix10ka2m.1-2024-11-04 rel:ana-4.0.63-py3 dirrepo:/sdf/group/lcls/ds/ana/detector/calib/geometry logfile:/sdf/group/lcls/ds/ana/detector/calib/geometry/logs/2024/2024-11-05T100520_log_geometry_deploy_constants_dubrovin.txt command:/sdf/group/lcls/ds/ana/sw/conda1/inst/envs/ana-4.0.63-py3/bin/geometry_deploy_constants -e detdaq23 -r 3 -d DetLab.0:Epix10ka2M.0 -a 2024-11-04-geometry-epix10ka2m.1.txt -c calib -D
saved in: /sdf/group/lcls/ds/ana/detector/logs/atstart/2024/2024_lcls1_geometry_deploy_constants.txt
[I] UtilsGeometryDeploy.py L0080 input parameters
           exp : detdaq23
           det : DetLab.0:Epix10ka2M.0
           run : 3
        tstamp : None
       dsnamex : None
       dirrepo : /sdf/group/lcls/ds/ana/detector/calib/geometry/
      dircalib : calib
        loglev : INFO
       dirmode : 1533
      filemode : 436
         group : ps-users
        deploy : True
       backwrd : False
      runrange : 0-end
        parent : IP
          posx : 0
          posy : 0
          posz : -100000
          rotx : 0
          roty : 0
          rotz : 0
       addgeof : 2024-11-04-geometry-epix10ka2m.1.txt
       repoman : <Detector.UtilsCalib.RepoManager object at 0x7f5b2e3e79d0>
[I] UtilsGeometryDeploy.py L0101 open dataset exp=detdaq23:run=3
[I] UtilsGeometryDeploy.py L0118 
  dettype: epix10ka2m
  repository: /sdf/group/lcls/ds/ana/detector/calib/geometry/epix10ka2m
  file with aliases: /sdf/group/lcls/ds/ana/detector/calib/geometry/epix10ka2m/.aliases-epix10ka2m.txt
  id_det: 
    0000000002-0175618817-2113929238-1079066689-0015362304-0000000000-0000000000
    0000000002-0175301633-2785017878-1079066689-0015362304-0000000000-0000000000
    0000000002-0176711425-0234881046-1079066689-0015362304-0000000000-0000000000
    0000000002-4294967295-4294967295-1079066689-0015362304-0000000000-0000000000
    0000000002-0175220737-3758096406-1010951301-0019435010-0000000000-0000000000
    0000000002-0176706305-1056964630-1010951301-0019435010-0000000000-0000000000
    0000000002-0176959233-3305111574-1010951301-0019435010-0000000000-0000000000
    0000000002-0176775937-0520093718-1010951301-0019435010-0000000000-0000000000
    0000000002-0175630337-0150994966-0743498629-0017156647-0000000000-0000000000
    0000000002-0175850753-1040187414-0743498629-0017156647-0000000000-0000000000
    0000000002-0176759297-1560281110-0743498629-0017156647-0000000000-0000000000
    0000000002-0176365825-3103784982-0743498629-0017156647-0000000000-0000000000
    0000000002-0175784961-3288334358-0342926405-2165845828-0000000000-0000000000
    0000000002-0175926529-2013265942-0342926405-2165845828-0000000000-0000000000
    0000000002-0176523777-2164260886-0342926405-2165845828-0000000000-0000000000
    0000000002-0175707905-4244635670-0342926405-2165845828-0000000000-0000000000
  alias for id_det: 0003
  detector type and alias: epix10ka2m_0003
[I] UtilsGeometryDeploy.py L0143 cmd: ln -s 2024-11-04-geometry-epix10ka2m.1.txt /sdf/group/lcls/ds/ana/detector/calib/geometry/epix10ka2m/epix10ka2m_0003_20241104125730.data
[I] UtilsGeometryDeploy.py L0149 deployed reference: /sdf/group/lcls/ds/ana/detector/calib/geometry/epix10ka2m/epix10ka2m_0003_20241104125730.data
ana-4.0.63-py3 

Deployment to calib

geometry_deploy_constants -e detdaq23 -r 3 -d DetLab.0:Epix10ka2M.0 -D

deploying in the calib
ana-4.0.63-py3 [dubrovin@sdfiana003:~/LCLS/con-py3/ref-detector/alignment/epix10ka2m/calib-mfx-epix10ka2m.1-2024-11-04]$ geometry_deploy_constants -e detdaq23 -r 3 -d DetLab.0:Epix10ka2M.0  -D
Arguments: Namespace(exp='detdaq23', det='DetLab.0:Epix10ka2M.0', run='3', tstamp=None, dsnamex=None, dirrepo='/sdf/group/lcls/ds/ana/detector/calib/geometry/', dircalib=None, loglev='INFO', dirmode=1533, filemode=436, group='ps-users', deploy=True, backwrd=False, runrange='0-end', parent='IP', posx=0, posy=0, posz=-100000, rotx=0, roty=0, rotz=0, addgeof=None)

[I] geometry_deploy_constants L0142 log file: /sdf/group/lcls/ds/ana/detector/calib/geometry/logs/2024/2024-11-05T100937_log_geometry_deploy_constants_dubrovin.txt
[I] UtilsCalib.py L0328 record at start: 
2024-11-05T10:09:37 user:dubrovin@sdfiana003 cwd:/sdf/group/lcls/ds/ana/detector/alignment/epix10ka2m/calib-mfx-epix10ka2m.1-2024-11-04 rel:ana-4.0.63-py3 dirrepo:/sdf/group/lcls/ds/ana/detector/calib/geometry logfile:/sdf/group/lcls/ds/ana/detector/calib/geometry/logs/2024/2024-11-05T100937_log_geometry_deploy_constants_dubrovin.txt command:/sdf/group/lcls/ds/ana/sw/conda1/inst/envs/ana-4.0.63-py3/bin/geometry_deploy_constants -e detdaq23 -r 3 -d DetLab.0:Epix10ka2M.0 -D
saved in: /sdf/group/lcls/ds/ana/detector/logs/atstart/2024/2024_lcls1_geometry_deploy_constants.txt
[I] UtilsGeometryDeploy.py L0080 input parameters
           exp : detdaq23
           det : DetLab.0:Epix10ka2M.0
           run : 3
        tstamp : None
       dsnamex : None
       dirrepo : /sdf/group/lcls/ds/ana/detector/calib/geometry/
      dircalib : None
        loglev : INFO
       dirmode : 1533
      filemode : 436
         group : ps-users
        deploy : True
       backwrd : False
      runrange : 0-end
        parent : IP
          posx : 0
          posy : 0
          posz : -100000
          rotx : 0
          roty : 0
          rotz : 0
       addgeof : None
       repoman : <Detector.UtilsCalib.RepoManager object at 0x7f81194fb9d0>
[I] UtilsGeometryDeploy.py L0101 open dataset exp=detdaq23:run=3
[I] UtilsGeometryDeploy.py L0118 
  dettype: epix10ka2m
  repository: /sdf/group/lcls/ds/ana/detector/calib/geometry/epix10ka2m
  file with aliases: /sdf/group/lcls/ds/ana/detector/calib/geometry/epix10ka2m/.aliases-epix10ka2m.txt
  id_det: 
    0000000002-0175618817-2113929238-1079066689-0015362304-0000000000-0000000000
    0000000002-0175301633-2785017878-1079066689-0015362304-0000000000-0000000000
    0000000002-0176711425-0234881046-1079066689-0015362304-0000000000-0000000000
    0000000002-4294967295-4294967295-1079066689-0015362304-0000000000-0000000000
    0000000002-0175220737-3758096406-1010951301-0019435010-0000000000-0000000000
    0000000002-0176706305-1056964630-1010951301-0019435010-0000000000-0000000000
    0000000002-0176959233-3305111574-1010951301-0019435010-0000000000-0000000000
    0000000002-0176775937-0520093718-1010951301-0019435010-0000000000-0000000000
    0000000002-0175630337-0150994966-0743498629-0017156647-0000000000-0000000000
    0000000002-0175850753-1040187414-0743498629-0017156647-0000000000-0000000000
    0000000002-0176759297-1560281110-0743498629-0017156647-0000000000-0000000000
    0000000002-0176365825-3103784982-0743498629-0017156647-0000000000-0000000000
    0000000002-0175784961-3288334358-0342926405-2165845828-0000000000-0000000000
    0000000002-0175926529-2013265942-0342926405-2165845828-0000000000-0000000000
    0000000002-0176523777-2164260886-0342926405-2165845828-0000000000-0000000000
    0000000002-0175707905-4244635670-0342926405-2165845828-0000000000-0000000000
  alias for id_det: 0003
  detector type and alias: epix10ka2m_0003
[I] UtilsGeometryDeploy.py L0161 list of found in repository geometry files for dettype_detname: epix10ka2m_0003
  epix10ka2m_0003_20241104125730.data
[I] UtilsGeometryDeploy.py L0166 file_for_timestamp(tsrun=20241104125730): /sdf/group/lcls/ds/ana/detector/calib/geometry/epix10ka2m/epix10ka2m_0003_20241104125730.data
[I] UtilsGeometryDeploy.py L0209 standard calib dir: /sdf/data/lcls/ds/det/detdaq23/calib
[I] UtilsGeometryDeploy.py L0210 non-default calib dir: None
[I] UtilsGeometryDeploy.py L0219 deploy calib file /sdf/group/lcls/ds/ana/detector/calib/geometry/epix10ka2m/epix10ka2m_0003_20241104125730.data under /sdf/data/lcls/ds/det/detdaq23/calib/Epix10ka2M::CalibV1/DetLab.0:Epix10ka2M.0/geometry
[I] GlobalUtils.py L0923 cmd: cat /sdf/group/lcls/ds/ana/detector/calib/geometry/epix10ka2m/epix10ka2m_0003_20241104125730.data > /sdf/data/lcls/ds/det/detdaq23/calib/Epix10ka2M::CalibV1/DetLab.0:Epix10ka2M.0/geometry/0-end.data
[I] GlobalUtils.py L0933 cmd: echo "file:0-end.data     copy_of:/sdf/group/lcls/ds/ana/detector/calib/geometry/epix10ka2m/epix10ka2m_0003_20241104125730.data ctype:geometry user:dubrovin host:sdfiana003 cptime:2024-11-05T10:09:37 cwd:/sdf/group/lcls/ds/ana/detector/alignment/epix10ka2m/calib-mfx-epix10ka2m.1-2024-11-04 cmt:" >> /sdf/data/lcls/ds/det/detdaq23/calib/Epix10ka2M::CalibV1/DetLab.0:Epix10ka2M.0/geometry/HISTORY
ana-4.0.63-py3 

References

  • No labels