aboutsummaryrefslogtreecommitdiff
path: root/src/diffraction.h
diff options
context:
space:
mode:
authorAlexandra Tolstikova <alexandra.tolstikova@desy.de>2017-11-16 13:46:23 +0100
committerThomas White <taw@physics.org>2018-09-10 15:01:10 +0200
commit17aec9c77e9b75510e43b0fb073df75f66849761 (patch)
tree0a9e0252b5c81ad6ad451f513a9a3834b582e10a /src/diffraction.h
parentec9f2c41c1f21968412eb4b7f57fda69ed6e37b1 (diff)
pattern_sim: read spectrum from file
Diffstat (limited to 'src/diffraction.h')
-rw-r--r--src/diffraction.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/diffraction.h b/src/diffraction.h
index ca4e3bde..0f95f83c 100644
--- a/src/diffraction.h
+++ b/src/diffraction.h
@@ -60,4 +60,7 @@ extern struct sample *generate_SASE(struct image *image, gsl_rng *rng);
extern struct sample *generate_twocolour(struct image *image);
+extern struct sample *generate_spectrum_fromfile(struct image *image,
+ char *spectrum_fn);
+
#endif /* DIFFRACTION_H */