diff options
author | Thomas White <taw@physics.org> | 2019-05-08 14:37:27 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2019-05-14 10:02:50 +0200 |
commit | 636eb6116961296791bae35c40fd9438aa946827 (patch) | |
tree | b195c2c1e897d7d4c778a60bd81bd231819f70a7 /libcrystfel/src/integration.c | |
parent | 59770f9bffbd47de5b518244a6dfcfbdfc8dad09 (diff) |
Remove image.num_peaks and num_saturated_peaks
These values were inconsistently set by different parts of the code,
e.g. different peak search methods. num_saturated_peaks was even set
during final integration. Now, the peak count is taken from the
ImageFeatureList, so it's authoritative.
Diffstat (limited to 'libcrystfel/src/integration.c')
-rw-r--r-- | libcrystfel/src/integration.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libcrystfel/src/integration.c b/libcrystfel/src/integration.c index d9636d9f..5270816b 100644 --- a/libcrystfel/src/integration.c +++ b/libcrystfel/src/integration.c @@ -1355,7 +1355,6 @@ static void integrate_prof2d(IntegrationMethod meth, UnitCell *cell; struct intcontext ic; int i; - int n_saturated = 0; list = crystal_get_reflections(cr); cell = crystal_get_cell(cr); @@ -1397,8 +1396,6 @@ static void integrate_prof2d(IntegrationMethod meth, } free_intcontext(&ic); - - image->num_saturated_peaks = n_saturated; } |