diff options
author | Thomas White <taw@physics.org> | 2017-03-31 16:27:13 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2017-03-31 16:30:13 +0200 |
commit | 3746b4dbed15569764ec6de473806468951748b8 (patch) | |
tree | 6539282693783345105809166fa58fc9b25cb943 /src/scaling.c | |
parent | 10fd97e6f88bd4d28ffc2bff56aa5ff19ca436ae (diff) |
Offset peak locations from HDF5 or CXI files by 0.5,0.5
CrystFEL considers all peak locations to be distances from the corner of
the detector panel, in pixel units, consistent with its description of
detector geometry. In contrast, Cheetah considers the peak locations
to be pixel indices in the data array. Therefore, a half-pixel offset
is needed when importing the peak lists.
For users who need the old behaviour, this commit adds a new option
indexamajig --no-half-pixel-shift to deactivate this offset.
Diffstat (limited to 'src/scaling.c')
0 files changed, 0 insertions, 0 deletions