aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/datatemplate_priv.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2021-03-11 17:06:59 +0100
committerThomas White <taw@physics.org>2021-03-11 17:06:59 +0100
commite21cc1f84a8cb2b0627e99383c882e59efda4920 (patch)
tree7d8c56a259b8b4b9e030f22e26871e3cbe1942b5 /libcrystfel/src/datatemplate_priv.h
parent0722b797e25ba3bf95d5eec56198460be0eb6aa8 (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.h2
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 */