From da51525409db6ac1ac41460d2ce5a4eea26775de Mon Sep 17 00:00:00 2001 From: Thomas White Date: Wed, 9 Feb 2011 16:08:27 +0100 Subject: The per-shot wavelength is needed for scaling and post refinement --- src/peaks.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/peaks.c') diff --git a/src/peaks.c b/src/peaks.c index 4ae0a70b..fa0d2843 100644 --- a/src/peaks.c +++ b/src/peaks.c @@ -657,6 +657,9 @@ static void output_header(FILE *ofh, UnitCell *cell, struct image *image) fprintf(ofh, "f0 = invalid\n"); } + fprintf(ofh, "photon_energy_eV = %f\n", + J_to_eV(ph_lambda_to_en(image->lambda))); + } -- cgit v1.2.3