diff options
Diffstat (limited to 'libcrystfel')
-rw-r--r-- | libcrystfel/src/detector.c | 6 | ||||
-rw-r--r-- | libcrystfel/src/detector.h | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/libcrystfel/src/detector.c b/libcrystfel/src/detector.c index b44f2d43..75d5bdb9 100644 --- a/libcrystfel/src/detector.c +++ b/libcrystfel/src/detector.c @@ -2301,3 +2301,9 @@ int single_panel_data_source(struct detector *det, const char *element) return 1; } + + +int multi_event_geometry(struct detector *det) +{ + return (det->path_dim != 0) || (det->dim_dim != 0); +} diff --git a/libcrystfel/src/detector.h b/libcrystfel/src/detector.h index cb0fc0c4..a7a4a01f 100644 --- a/libcrystfel/src/detector.h +++ b/libcrystfel/src/detector.h @@ -305,6 +305,8 @@ struct rg_collection *find_rigid_group_collection_by_name(struct detector *det, extern int detector_has_clen_references(struct detector *det); +extern int multi_event_geometry(struct detector *det); + #ifdef __cplusplus } #endif |