aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/image.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-12-07 16:11:45 +0100
committerThomas White <taw@physics.org>2020-12-07 16:11:45 +0100
commite7cf3911104fb525159b937660a3c3b9f6d31ba7 (patch)
tree95a7c1387d4f62750c54f98765169e73bbc788c8 /libcrystfel/src/image.h
parent72f857fbd0c29ba4954f5602ecc43574e581776a (diff)
Get rid of ImageFeature->rx,ry,rz
These needed to be kept up to date with a call to map_all_peaks every time anything changed - wavelength, detector position etc. Not doing so has already led to bugs in another branch, and probably already causes problems on this branch. This patch eliminates the rx,ry,rz completely. Anyone who needs reciprocal space coordinates for a peak is now responsible for calling detgeom_transform_coords themselves.
Diffstat (limited to 'libcrystfel/src/image.h')
-rw-r--r--libcrystfel/src/image.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/libcrystfel/src/image.h b/libcrystfel/src/image.h
index 91a0afc4..fb33f2d9 100644
--- a/libcrystfel/src/image.h
+++ b/libcrystfel/src/image.h
@@ -68,13 +68,6 @@ struct imagefeature {
int pn; /**< Panel number */
double intensity; /**< Intensity */
- /** \name Reciprocal space coordinates (m^-1) of this feature */
- /** @{ */
- double rx;
- double ry;
- double rz;
- /** @} */
-
const char *name; /**< Text name, e.g. "5,3,-1" */
};