aboutsummaryrefslogtreecommitdiff
path: root/src/detector.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-08-11 13:46:22 +0200
committerThomas White <taw@physics.org>2012-02-22 15:26:55 +0100
commit08eb56662c980d570e8a0f88aff25d3a3f4a288f (patch)
treeb12b001ab2f452909166db3cea732fd7b12bee2a /src/detector.h
parente1be058cc4bd3a78e384c6960fe2b38fcba06bbd (diff)
Add no_index option to detector geometry
Diffstat (limited to 'src/detector.h')
-rw-r--r--src/detector.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/detector.h b/src/detector.h
index 92e10458..128332fd 100644
--- a/src/detector.h
+++ b/src/detector.h
@@ -22,15 +22,16 @@ struct image;
struct panel
{
- int min_x; /* Smallest x value considered to be in this panel */
- int max_x; /* Largest x value considered to be in this panel */
- int min_y; /* ... and so on */
+ int min_x; /* Smallest x value considered to be in this panel */
+ int max_x; /* Largest x value considered to be in this panel */
+ int min_y; /* ... and so on */
int max_y;
- float cx; /* Location of centre */
+ float cx; /* Location of centre */
float cy;
- float clen; /* Camera length */
- float res; /* Resolution */
- char badrow; /* 'x' or 'y' */
+ float clen; /* Camera length */
+ float res; /* Resolution */
+ char badrow; /* 'x' or 'y' */
+ int no_index; /* Don't index peaks in this panel if non-zero */
};
struct detector