diff options
author | Thomas White <taw@physics.org> | 2020-03-20 16:20:26 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2020-07-29 18:42:57 +0200 |
commit | 00495061efdad11a047549b2628089d61f77ab85 (patch) | |
tree | f361be110db9e1b1e0e55e44dda521b99ca8a34c /libcrystfel/src/datatemplate.h | |
parent | 4bbec7864eaa1a3752717f69202d1a622aff5217 (diff) |
Add data_template_find_panel() and data_template_file_to_panel_coords()
Diffstat (limited to 'libcrystfel/src/datatemplate.h')
-rw-r--r-- | libcrystfel/src/datatemplate.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libcrystfel/src/datatemplate.h b/libcrystfel/src/datatemplate.h index 01292836..0adcdb0b 100644 --- a/libcrystfel/src/datatemplate.h +++ b/libcrystfel/src/datatemplate.h @@ -53,6 +53,12 @@ extern "C" { extern DataTemplate *data_template_new_from_file(const char *filename); extern void data_template_free(DataTemplate *dt); +extern signed int data_template_find_panel(const DataTemplate *dt, + int fs, int ss); + +extern void data_template_file_to_panel_coords(const DataTemplate *dt, + float *pfs, float *pss); + #ifdef __cplusplus } #endif |