aboutsummaryrefslogtreecommitdiff
path: root/tests/gpu_sim_check.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2012-03-09 15:58:15 +0100
committerThomas White <taw@physics.org>2012-03-09 15:58:15 +0100
commite38375cb0af448c3a7f3667594cf06d1117132c7 (patch)
treef23e49509f032a84d3f774846106755beea64160 /tests/gpu_sim_check.c
parentbe33bf078a8ed1ec4c5439095285add97b823fd1 (diff)
Use ADU per eV in geometry file, rather than ADU per photon in beam file
Conflicts: src/get_hkl.c tests/morphology_check.c
Diffstat (limited to 'tests/gpu_sim_check.c')
-rw-r--r--tests/gpu_sim_check.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/gpu_sim_check.c b/tests/gpu_sim_check.c
index 4557b551..5b6f6da7 100644
--- a/tests/gpu_sim_check.c
+++ b/tests/gpu_sim_check.c
@@ -115,6 +115,7 @@ int main(int argc, char *argv[])
det->panels[0].cny = -512.0-sep;
det->panels[0].clen = 100.0e-3;
det->panels[0].res = 9090.91;
+ det->panels[0].adu_per_eV = 1.0;
det->panels[1].min_fs = 0;
det->panels[1].max_fs = 1023;
@@ -132,6 +133,7 @@ int main(int argc, char *argv[])
det->panels[1].cny = sep;
det->panels[1].clen = 100.0e-3;
det->panels[1].res = 9090.91;
+ det->panels[0].adu_per_eV = 1.0;
cpu_image.det = det;
gpu_image.det = det;
@@ -142,8 +144,6 @@ int main(int argc, char *argv[])
beam->photon_energy = 9000.0;
beam->bandwidth = 0.1 / 100.0;
beam->divergence = 0.0;
- beam->dqe = 1.0;
- beam->adu_per_photon = 1.0;
cpu_image.beam = beam;
gpu_image.beam = beam;