diff options
author | Thomas White <taw@physics.org> | 2016-04-01 15:30:57 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2016-04-01 15:30:57 +0200 |
commit | b62b7f7356f529ab904dabefb4618afc8f2211ec (patch) | |
tree | 9ee95d5a86c0379c8d611789fea47c717510b803 /libcrystfel/src/detector.h | |
parent | 5ecd23cddcbb1b4eda422bf8351ea18c6997b7ce (diff) |
Add adu_per_photon (distinct from adu_per_eV)
Diffstat (limited to 'libcrystfel/src/detector.h')
-rw-r--r-- | libcrystfel/src/detector.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libcrystfel/src/detector.h b/libcrystfel/src/detector.h index 540db4b6..a52d56b7 100644 --- a/libcrystfel/src/detector.h +++ b/libcrystfel/src/detector.h @@ -102,10 +102,12 @@ struct panel double res; /* Resolution in pixels per metre */ char badrow; /* 'x' or 'y' */ int no_index; /* Don't index peaks in this panel if non-zero */ - double adu_per_eV; /* Number of ADU per eV */ + double adu_per_photon; /* Number of ADU per photon */ double max_adu; /* Treat pixel as unreliable if higher than this */ char *data; + double adu_per_eV; /* Number of ADU per eV */ + struct dim_structure *dim_structure; double fsx; @@ -223,6 +225,7 @@ extern void get_pixel_extents(struct detector *det, extern void fill_in_values(struct detector *det, struct hdfile *f, struct event* ev); +extern void fill_in_adu(struct image *image); extern int panel_is_in_rigid_group(const struct rigid_group *rg, struct panel *p); |