diff options
author | Thomas White <taw@physics.org> | 2021-03-11 17:06:59 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2021-03-11 17:06:59 +0100 |
commit | e21cc1f84a8cb2b0627e99383c882e59efda4920 (patch) | |
tree | 7d8c56a259b8b4b9e030f22e26871e3cbe1942b5 /libcrystfel/src/datatemplate_priv.h | |
parent | 0722b797e25ba3bf95d5eec56198460be0eb6aa8 (diff) |
indexamajig: Use static wavelength from DataTemplate as estimate
If the geometry file contains a literal wavelength, then let's use it.
That's better than nagging the user for a --wavelength-estimate.
Diffstat (limited to 'libcrystfel/src/datatemplate_priv.h')
-rw-r--r-- | libcrystfel/src/datatemplate_priv.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libcrystfel/src/datatemplate_priv.h b/libcrystfel/src/datatemplate_priv.h index 62911748..71569273 100644 --- a/libcrystfel/src/datatemplate_priv.h +++ b/libcrystfel/src/datatemplate_priv.h @@ -234,4 +234,6 @@ struct _datatemplate char *shift_y_from; }; +extern double convert_to_m(double val, int units); + #endif /* DATATEMPLATE_PRIV_H */ |