aboutsummaryrefslogtreecommitdiff
path: root/tests/prediction_gradient_check.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2016-05-03 17:09:09 +0200
committerThomas White <taw@physics.org>2016-07-01 10:19:27 +0200
commit541c05ac1979404e10e514653836cc29adfe7d02 (patch)
treed039ec1b85423540eb46896990cbfa1bf31788d9 /tests/prediction_gradient_check.c
parent92bf4069d916bd7bd6345d4b2b4ff585c7d28744 (diff)
Remove slab-relative coordinates from tests
Diffstat (limited to 'tests/prediction_gradient_check.c')
-rw-r--r--tests/prediction_gradient_check.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/tests/prediction_gradient_check.c b/tests/prediction_gradient_check.c
index 0ab8a2ec..b9f23217 100644
--- a/tests/prediction_gradient_check.c
+++ b/tests/prediction_gradient_check.c
@@ -3,11 +3,11 @@
*
* Check partiality gradients for prediction refinement
*
- * Copyright © 2012-2015 Deutsches Elektronen-Synchrotron DESY,
+ * Copyright © 2012-2016 Deutsches Elektronen-Synchrotron DESY,
* a research centre of the Helmholtz Association.
*
* Authors:
- * 2012-2015 Thomas White <taw@physics.org>
+ * 2012-2016 Thomas White <taw@physics.org>
*
* This file is part of CrystFEL.
*
@@ -418,9 +418,7 @@ int main(int argc, char *argv[])
}
- image.width = 1024;
- image.height = 1024;
- image.det = simple_geometry(&image);
+ image.det = simple_geometry(&image, 1024, 1024);
image.det->panels[0].res = 13333.3;
image.det->panels[0].clen = 80e-3;
image.det->panels[0].coffset = 0.0;