diff options
author | Valerio Mariani <valerio.mariani@desy.de> | 2014-03-31 10:26:40 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2014-09-05 18:03:30 +0200 |
commit | 6b889daf0d737c7c921ba80818b0b008e4de86af (patch) | |
tree | b58fbda31bb11000a60b03617d3d0bb7cc8f7044 /libcrystfel/src/detector.c | |
parent | 22dcf392e23945d31cab713a752afbd3d9da76ca (diff) |
orig_minxx and orig_maxss are initialized when geometry is loaded as opposed to when the image is loaded
Diffstat (limited to 'libcrystfel/src/detector.c')
-rw-r--r-- | libcrystfel/src/detector.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libcrystfel/src/detector.c b/libcrystfel/src/detector.c index 7ceaddbd..2ccf6a75 100644 --- a/libcrystfel/src/detector.c +++ b/libcrystfel/src/detector.c @@ -1060,6 +1060,11 @@ struct detector *get_detector_geometry(const char *filename) max_ss = det->panels[i].max_ss; } + det->panels[i].orig_max_fs = det->panels[i].max_fs; + det->panels[i].orig_min_fs = det->panels[i].min_fs; + det->panels[i].orig_max_ss = det->panels[i].max_ss; + det->panels[i].orig_min_ss = det->panels[i].min_ss; + } for ( i=0; i<det->n_bad; i++ ) { |