aboutsummaryrefslogtreecommitdiff
path: root/src/beam-parameters.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2010-10-25 16:25:57 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:03 +0100
commit0309dfadf55b72023bb9d9131b80a701c211f684 (patch)
tree161cd1d45ba67aaeebacb15de88cac0344b293ad /src/beam-parameters.h
parent380ec553c04576fc3dc4c816127078d3c2cf9e32 (diff)
Add "bandwidth" to beam parameters file
Also, fix previous commit.
Diffstat (limited to 'src/beam-parameters.h')
-rw-r--r--src/beam-parameters.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/beam-parameters.h b/src/beam-parameters.h
index 84d95b49..aec2c6aa 100644
--- a/src/beam-parameters.h
+++ b/src/beam-parameters.h
@@ -23,6 +23,10 @@ struct beam_params
double fluence; /* photons per pulse */
double beam_radius; /* metres */
double photon_energy; /* eV per photon */
+ double bandwidth; /* FWHM(wavelength) over wavelength.
+ * Note: current simulation code just uses
+ * a rectangular distribution with this as
+ * its (full) width. */
double dqe; /* Detector DQE (fraction) */
double adu_per_photon; /* Detector "gain" */