aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/beam-parameters.h
diff options
context:
space:
mode:
authorChun Hong Yoon <chun.hong.yoon@desy.de>2012-12-13 23:01:54 +0100
committerChun Hong Yoon <chun.hong.yoon@desy.de>2012-12-13 23:01:54 +0100
commit27da7fc3b8c4ae479305d5de996bf8c729fabac3 (patch)
treed93549fe17ffa318f65d6fd7be1487f7b3778f5c /libcrystfel/src/beam-parameters.h
parent7e7044535bf08943771c611785e4e16f3be0257b (diff)
more user options for beam photon energy
Diffstat (limited to 'libcrystfel/src/beam-parameters.h')
-rw-r--r--libcrystfel/src/beam-parameters.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libcrystfel/src/beam-parameters.h b/libcrystfel/src/beam-parameters.h
index 133e041b..36cfaa55 100644
--- a/libcrystfel/src/beam-parameters.h
+++ b/libcrystfel/src/beam-parameters.h
@@ -8,6 +8,7 @@
*
* Authors:
* 2010,2012 Thomas White <taw@physics.org>
+ * 2012 Chunhong Yoon
*
* This file is part of CrystFEL.
*
@@ -33,6 +34,7 @@
#include <config.h>
#endif
+#include "hdf5-file.h"
struct beam_params
{
@@ -46,10 +48,13 @@ struct beam_params
double divergence; /* divergence (radians) */
double profile_radius; /* Reciprocal space size of a reflection */
+
+ char *photon_energy_from; /* hdf5 group name */
};
extern struct beam_params *get_beam_parameters(const char *filename);
+extern void fill_in_beamParam(struct beam_params *beam, struct hdfile *f);
#endif /* BEAM_PARAMETERS_H */