aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/image.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2019-05-08 14:37:27 +0200
committerThomas White <taw@physics.org>2019-05-14 10:02:50 +0200
commit636eb6116961296791bae35c40fd9438aa946827 (patch)
treeb195c2c1e897d7d4c778a60bd81bd231819f70a7 /libcrystfel/src/image.h
parent59770f9bffbd47de5b518244a6dfcfbdfc8dad09 (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/image.h')
-rw-r--r--libcrystfel/src/image.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/libcrystfel/src/image.h b/libcrystfel/src/image.h
index 98cac12c..56f07132 100644
--- a/libcrystfel/src/image.h
+++ b/libcrystfel/src/image.h
@@ -203,12 +203,8 @@ struct image
/** Full-width half-maximum bandwidth as a fraction, applied to wavelength */
double bw;
- /** \name Numbers of peaks. To be deleted.
- * @{ */
- long long num_peaks;
- long long num_saturated_peaks;
+ /** Resolution estimate based on peaks */
double peak_resolution;
- /** @} */
/** List of peaks found in the image */
ImageFeatureList *features;