diff options
author | Thomas White <taw@physics.org> | 2010-06-03 17:10:47 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2010-06-03 17:10:47 +0200 |
commit | 8adfcda38ac78cd4eb081389af06ff3fc3ce0db8 (patch) | |
tree | f73807c30e668559dec512fa55296a900891cf35 | |
parent | 3d9b5eaae4e4d5308c78f257297fc869ea634b4f (diff) |
Add simple geometry file
-rw-r--r-- | src/geometry-simple.tmp | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/geometry-simple.tmp b/src/geometry-simple.tmp new file mode 100644 index 00000000..af465b38 --- /dev/null +++ b/src/geometry-simple.tmp @@ -0,0 +1,23 @@ +/* Set up detector configuration */ +image.det.n_panels = 2; +image.det.panels = malloc(image.det.n_panels*sizeof(struct panel)); + +/* Upper panel */ +image.det.panels[0].min_x = 0; +image.det.panels[0].max_x = 1023; +image.det.panels[0].min_y = 512; +image.det.panels[0].max_y = 1023; +image.det.panels[0].cx = 512.0; +image.det.panels[0].cy = 512.0; +image.det.panels[0].clen = 50.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; +image.det.panels[1].min_y = 0; +image.det.panels[1].max_y = 511; +image.det.panels[1].cx = 512.0; +image.det.panels[1].cy = 512.7; +image.det.panels[1].clen = 50.0e-3; +image.det.panels[1].res = 13333.3; /* 75 micron pixel size */ |