diff options
author | Thomas White <taw@physics.org> | 2012-03-09 16:15:26 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-03-09 16:15:26 +0100 |
commit | b832e3564f7e019dfb3c275621ea4cfdae925375 (patch) | |
tree | c498d5dd39fdeb8271dec572c4dd1b38432c0a50 /tests/integration_check.c | |
parent | f523fa66c4e316f396a3c793a4f9e3d1fd37bd2b (diff) |
Updates for ADU per eV
Diffstat (limited to 'tests/integration_check.c')
-rw-r--r-- | tests/integration_check.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/integration_check.c b/tests/integration_check.c index 80a214d1..57bb3589 100644 --- a/tests/integration_check.c +++ b/tests/integration_check.c @@ -321,8 +321,7 @@ int main(int argc, char *argv[]) image.height = 128; memset(image.data, 0, 128*128*sizeof(float)); - image.beam = calloc(1, sizeof(struct beam_params)); - image.beam->adu_per_photon = 100.0; + image.beam = NULL; /* First check: no intensity -> zero intensity and bg */ integrate_peak(&image, 64, 64, &fsp, &ssp, &intensity, &sigma); |