aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-03-20 16:24:12 +0100
committerThomas White <taw@physics.org>2020-07-29 18:42:57 +0200
commitdf55c395f05e6836db4718ddd880fa0e634df9cb (patch)
tree4bbf711c00d7ad45e9e163bef9a2a5fe121214d9
parentb40cf018160d33675053b6f9e019745b1169871f (diff)
Remove "parent" from struct imagefeature
It's not used anywhere, and removing it means that the image structure is no longer needed to search peaks
-rw-r--r--libcrystfel/src/image.c1
-rw-r--r--libcrystfel/src/image.h2
2 files changed, 0 insertions, 3 deletions
diff --git a/libcrystfel/src/image.c b/libcrystfel/src/image.c
index c84b3a05..af073ec6 100644
--- a/libcrystfel/src/image.c
+++ b/libcrystfel/src/image.c
@@ -81,7 +81,6 @@ void image_add_feature(ImageFeatureList *flist, double fs, double ss,
flist->features[flist->n_features].ss = ss;
flist->features[flist->n_features].pn = pn;
flist->features[flist->n_features].intensity = intensity;
- flist->features[flist->n_features].parent = parent;
flist->features[flist->n_features].name = name;
flist->n_features++;
diff --git a/libcrystfel/src/image.h b/libcrystfel/src/image.h
index fd85337c..a2ca758c 100644
--- a/libcrystfel/src/image.h
+++ b/libcrystfel/src/image.h
@@ -66,8 +66,6 @@ struct imagefile_field_list;
/** Represents a peak in an image. */
struct imagefeature {
- struct image *parent; /**< Pointer to image */
-
/** \name Coordinates on panel (fast scan, slow scan)
* Note carefully that these are the distances, measured in pixels,
* from the corner of the panel. They are NOT pixel indices.