diff options
Diffstat (limited to 'tests/integration_check.c')
-rw-r--r-- | tests/integration_check.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/integration_check.c b/tests/integration_check.c index 1e439611..80a214d1 100644 --- a/tests/integration_check.c +++ b/tests/integration_check.c @@ -291,6 +291,8 @@ int main(int argc, char *argv[]) image.data = malloc(128*128*sizeof(float)); image.flags = NULL; + image.beam = NULL; + image.lambda = ph_eV_to_lambda(1000.0); image.det = calloc(1, sizeof(struct detector)); image.det->n_panels = 1; @@ -313,6 +315,7 @@ int main(int argc, char *argv[]) image.det->panels[0].clen = 1.0; image.det->panels[0].res = 1.0; image.det->panels[0].integr_radius = 10.0; + image.det->panels[0].adu_per_eV = 1.0; image.width = 128; image.height = 128; |