aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-08-07 15:59:43 +0200
committerThomas White <taw@physics.org>2020-08-07 15:59:43 +0200
commit42b93966a41dbd69cb66f6e432a6b2030d521b2d (patch)
treec733e37e3a36c536af5461353f8014756a67df24
parentf4bc400661860fb7a70ad7638a3177017b88fd98 (diff)
Remove image->avg_clen
Horrible API hack.
-rw-r--r--libcrystfel/src/image.c1
-rw-r--r--libcrystfel/src/image.h3
2 files changed, 0 insertions, 4 deletions
diff --git a/libcrystfel/src/image.c b/libcrystfel/src/image.c
index c8d0f329..a5973e4f 100644
--- a/libcrystfel/src/image.c
+++ b/libcrystfel/src/image.c
@@ -832,7 +832,6 @@ struct image *image_new()
image->filename = NULL;
image->ev = NULL;
image->copied_headers = NULL;
- image->avg_clen = -1.0;
image->id = 0;
image->serial = 0;
image->spectrum = NULL;
diff --git a/libcrystfel/src/image.h b/libcrystfel/src/image.h
index 3d42322a..0d53d289 100644
--- a/libcrystfel/src/image.h
+++ b/libcrystfel/src/image.h
@@ -121,9 +121,6 @@ struct image
/** A list of metadata read from the stream */
char *copied_headers;
- /** Mean of the camera length values for all panels */
- double avg_clen;
-
/** ID number of the worker processing handling this image */
int id;