From e7cf3911104fb525159b937660a3c3b9f6d31ba7 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Mon, 7 Dec 2020 16:11:45 +0100 Subject: 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. --- libcrystfel/src/image.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'libcrystfel/src/image.h') 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" */ }; -- cgit v1.2.3