aboutsummaryrefslogtreecommitdiff
path: root/src/stream.c
diff options
context:
space:
mode:
authorRick Kirian <rkirian@asu.edu>2011-03-25 14:42:44 +0100
committerThomas White <taw@physics.org>2012-02-22 15:27:23 +0100
commit36e8507fe373a466b2e5245fd2e523378f28d254 (patch)
treeba79fd75381e630de2ef573de5881ecf0fe51207 /src/stream.c
parent29136c31705b8012f7d2f393da6f6bb3d036498c (diff)
stream.c: write camera length
Diffstat (limited to 'src/stream.c')
-rw-r--r--src/stream.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/stream.c b/src/stream.c
index 289d274e..4c7a18c6 100644
--- a/src/stream.c
+++ b/src/stream.c
@@ -249,6 +249,7 @@ void write_chunk(FILE *ofh, struct image *i, int f)
fprintf(ofh, "photon_energy_eV = %f\n",
J_to_eV(ph_lambda_to_en(i->lambda)));
+ fprintf(ofh, "camera_length = %f\n",i->det->panels[0].clen);
if ( (f & STREAM_PEAKS)
|| ((f & STREAM_PEAKS_IF_INDEXED) && (i->indexed_cell != NULL))