diff options
author | Thomas White <taw@physics.org> | 2020-03-05 11:47:41 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2020-07-29 18:42:24 +0200 |
commit | 94df5f31d5a91b22991e26cd02bc37763005f2d1 (patch) | |
tree | 569de419937b1b17747e396837ee222e736ea568 /tests/ring_check.c | |
parent | 026af04547c22c67886c66d3b1808c4dd3ade997 (diff) |
ImageFeatureList: Store panel number, not pointer
This makes the conversion to DataTemplate/detgeom MUCH easier.
Diffstat (limited to 'tests/ring_check.c')
-rw-r--r-- | tests/ring_check.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/ring_check.c b/tests/ring_check.c index e0667e37..f286d5e7 100644 --- a/tests/ring_check.c +++ b/tests/ring_check.c @@ -67,7 +67,7 @@ static void third_integration_check(struct image *image, int n_trials, } } - r = integrate_peak(image, 64, 64, &image->det->panels[0], + r = integrate_peak(image, 64, 64, 0, &fsp, &ssp, &intensity, &sigma, 10.0, 15.0, 17.0, NULL); @@ -129,7 +129,7 @@ static void fourth_integration_check(struct image *image, int n_trials, } } - r = integrate_peak(image, 64, 64, &image->det->panels[0], + r = integrate_peak(image, 64, 64, 0, &fsp, &ssp, &intensity, &sigma, 10.0, 15.0, 17.0, NULL); @@ -219,7 +219,7 @@ int main(int argc, char *argv[]) image.crystals = NULL; /* First check: no intensity -> no peak, or very low intensity */ - r = integrate_peak(&image, 64, 64, &image.det->panels[0], + r = integrate_peak(&image, 64, 64, 0, &fsp, &ssp, &intensity, &sigma, 10.0, 15.0, 17.0, NULL); STATUS(" First check: integrate_peak() returned %i", r); @@ -246,7 +246,7 @@ int main(int argc, char *argv[]) } } - r = integrate_peak(&image, 64, 64, &image.det->panels[0], + r = integrate_peak(&image, 64, 64, 0, &fsp, &ssp, &intensity, &sigma, 10.0, 15.0, 17.0, NULL); if ( r ) { @@ -289,7 +289,7 @@ int main(int argc, char *argv[]) } } - r = integrate_peak(&image, 64, 64, &image.det->panels[0], + r = integrate_peak(&image, 64, 64, 0, &fsp, &ssp, &intensity, &sigma, 10.0, 15.0, 17.0, NULL); if ( r ) { |