ssh -Y pslogin
ssh -Y psana
source /cds/sw/ds/ana/conda1/manage/bin/psconda.sh
Copy current version of the geometry file 1-end.data:
cp /cds/data/psdm//mec/meclx6420/calib/Epix10kaQuad\:\:CalibV1/MecTargetChamber.0\:Epix10kaQuad.3/geometry/1-end.data .
Process xtc data and generate averaged and max-intensity data arrays including det-calib-max.npy:
det_calib_ave_and_max exp=meclx6420:run=387 MecTargetChamber.0:Epix10kaQuad.3
geometry_image -h
geometry_image -a det-calib-max.npy -g 1-end.data -H 8
geometry_image -a det-calib-max.npy -g 1-end.data -H 8 -Z -110000
By default it uses psana coordinale frame. See for detail parameter --cframe CFRAME
# HDR PARENT IND OBJECT IND X0[um] Y0[um] Z0[um] ROT-Z ROT-Y ROT-X TILT-Z TILT-Y TILT-X CAMERA 0 EPIX10KA:V2 0 20791 -20806 3 0 0 0 0.23214 0.25731 0.20971 CAMERA 0 EPIX10KA:V2 1 -20692 -20880 -3 0 0 0 0.04054 -0.13699 -0.00753 CAMERA 0 EPIX10KA:V2 2 20697 20601 -3 0 0 0 0.25870 0.04055 0.01810 CAMERA 0 EPIX10KA:V2 3 -20796 21086 2 0 0 0 0.14601 -0.35560 0.02638 IP 0 CAMERA 0 -87000 13700 -112000 0 0 0 -1.80000 0.00000 0.00000 |
# HDR PARENT IND OBJECT IND X0[um] Y0[um] Z0[um] ROT-Z ROT-Y ROT-X TILT-Z TILT-Y TILT-X CAMERA 0 EPIX10KA:V2 0 20791 -20806 3 0 0 0 0.23214 0.25731 0.20971 CAMERA 0 EPIX10KA:V2 1 -20692 -20880 -3 0 0 0 0.04054 -0.13699 -0.00753 CAMERA 0 EPIX10KA:V2 2 20697 20601 -3 0 0 0 0.25870 0.04055 0.01810 CAMERA 0 EPIX10KA:V2 3 -20796 21086 2 0 0 0 0.14601 -0.35560 0.02638 IP 0 CAMERA 0 -84000 14400 -112000 0 25.5 0 -1.80000 0.00000 0.00000 |
Switch to run 385 for smooth rings
On 2022-10-11 Khachiwan Buakor shared slides pointing to the real issue as shown on figure
Let us zoom in image for panel 0 and present it in two cases:
This demo shows that reported effect is relevant to visualization - for 2-d plot float pixel coordinates need to be converted to bin indexes. At some places pixel index is incremented by 1 due to rounding of float to int.