aboutsummaryrefslogtreecommitdiff
path: root/doc/examples/cspad-cxiformat.geom
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2015-07-06 15:13:50 +0200
committerThomas White <taw@physics.org>2015-07-07 11:16:58 +0200
commit0fe3d70479d6e0a8d50ac6f833b37b336233e9db (patch)
tree6315ae5e2d25e01913165d033dfcaa1bc0270cb1 /doc/examples/cspad-cxiformat.geom
parent39e2415341e44de1f5d6401f6fe5180a7a8c8d89 (diff)
Make the two geometry examples more similar
Diffstat (limited to 'doc/examples/cspad-cxiformat.geom')
-rw-r--r--doc/examples/cspad-cxiformat.geom20
1 files changed, 14 insertions, 6 deletions
diff --git a/doc/examples/cspad-cxiformat.geom b/doc/examples/cspad-cxiformat.geom
index 7c1baf14..6ca27e69 100644
--- a/doc/examples/cspad-cxiformat.geom
+++ b/doc/examples/cspad-cxiformat.geom
@@ -1,10 +1,18 @@
; Example of a geometry file for CSPAD data output by Cheetah in CXI format
-
-photon_energy = /LCLS/photon_energy_eV
-clen = /LCLS/detector_1/EncoderValue
-coffset = 0.573224
-adu_per_eV = 0.00338
-res = 9097.53
+;
+
+; The following lines define some basic parameters of the detector and beamline
+
+adu_per_eV = 0.00338 ; correct value for CSPAD 1.2 (i.e. new versions only)
+ ; for older versions (earlier than about 2013), use 0.00105 instead
+res = 9090.91 ; detector resolution in pixels per metre
+clen = /LCLS/detector_1/EncoderValue ; location of camera length (in mm) in file
+coffset = 0.573224 ; adjustment to camera length, in m, from HDF5 file
+ ; (position given above is actually "encoder position",
+ ; a value from -500 (fully forward) to 0 (fully back
+ ; from sample. Therefore we add 0.5 m plus a calibration
+ ; offset)
+photon_energy = /LCLS/photon_energy_eV ; photon energy (in eV) from HDF5 file
; The following lines define how to interpret the three-dimensional data array