aboutsummaryrefslogtreecommitdiff
path: root/src/estimate_background.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-02-09 16:08:27 +0100
committerThomas White <taw@physics.org>2012-02-22 15:27:14 +0100
commitda51525409db6ac1ac41460d2ce5a4eea26775de (patch)
treec0dd4bbe931f614e395c28b07e18ce1273683eef /src/estimate_background.c
parent467009dbfad7d41231067baa5961e02f8e31d8d0 (diff)
The per-shot wavelength is needed for scaling and post refinement
Diffstat (limited to 'src/estimate_background.c')
-rw-r--r--src/estimate_background.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/estimate_background.c b/src/estimate_background.c
index 6dd1b3c6..1f956377 100644
--- a/src/estimate_background.c
+++ b/src/estimate_background.c
@@ -154,8 +154,9 @@ int main(int argc, char *argv[])
char *filename;
char line[1024];
int done = 0;
+ double ph_ev;
- rval = find_chunk(fh, &cell, &filename);
+ rval = find_chunk(fh, &cell, &filename, &ph_ev);
if ( rval != 0 ) break;
do {