aboutsummaryrefslogtreecommitdiff
path: root/src/peaks.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/peaks.c')
-rw-r--r--src/peaks.c3
1 files changed, 3 insertions, 0 deletions
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)));
+
}