diff options
author | Thomas White <taw@physics.org> | 2010-02-17 15:04:14 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2010-02-17 15:04:14 +0100 |
commit | c7c73d91c8eb909ecd2e8911ee2dd051d398412b (patch) | |
tree | 5cab7031505bcc95806930e110e45bf1057d94fc /src/pattern_sim.c | |
parent | ae76664c17533d29555aeef41b7534c78407825f (diff) |
Fix obvious mapping bugs
Diffstat (limited to 'src/pattern_sim.c')
-rw-r--r-- | src/pattern_sim.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pattern_sim.c b/src/pattern_sim.c index 340acd8b..a64c754b 100644 --- a/src/pattern_sim.c +++ b/src/pattern_sim.c @@ -236,6 +236,8 @@ int main(int argc, char *argv[]) image.det.panels[0].max_y = 1023; image.det.panels[0].cx = 491.9; image.det.panels[0].cy = 440.7; + image.det.panels[0].clen = 67.0e-3; + image.det.panels[0].res = 13333.3; /* 75 micron pixel size */ /* Lower panel */ image.det.panels[1].min_x = 0; image.det.panels[1].max_x = 1023; @@ -243,6 +245,8 @@ int main(int argc, char *argv[]) image.det.panels[1].max_y = 511; image.det.panels[1].cx = 492.0; image.det.panels[1].cy = 779.7; + image.det.panels[1].clen = 75.0e-3; + image.det.panels[1].res = 13333.3; /* 75 micron pixel size */ powder = calloc(image.width*image.height, sizeof(*powder)); |