diff options
author | Thomas White <taw@physics.org> | 2012-05-21 16:03:56 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-05-21 16:03:56 +0200 |
commit | 146e47c3180cca8f574a861d760e944261ad81ac (patch) | |
tree | 482dd663334c5ce5dacb4e9fc60f28c00a316dd8 | |
parent | 934e9aeee2232692f289ef0faef2280017617d80 (diff) |
Write max_adu out to saved geometry file
-rw-r--r-- | libcrystfel/src/detector.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libcrystfel/src/detector.c b/libcrystfel/src/detector.c index 06ef3a36..b7d809df 100644 --- a/libcrystfel/src/detector.c +++ b/libcrystfel/src/detector.c @@ -1257,6 +1257,7 @@ int write_detector_geometry(const char *filename, struct detector *det) fprintf(fh, "%s/corner_x = %g\n", p->name, p->cnx); fprintf(fh, "%s/corner_y = %g\n", p->name, p->cny); fprintf(fh, "%s/adu_per_eV = %g\n", p->name, p->adu_per_eV); + fprintf(fh, "%s/max_adu = %g\n", p->name, p->max_adu); if ( p->no_index ) { fprintf(fh, "%s/no_index = 1\n", p->name); |