From 8e2f2f44f46c18f7bd621a2ef9a3d0aa813d76d9 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Mon, 20 Jan 2014 17:20:10 +0100 Subject: pattern_sim: Overhaul and add SASE spectrum simulation --- src/diffraction.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'src/diffraction.h') diff --git a/src/diffraction.h b/src/diffraction.h index b7e34a0e..a903346e 100644 --- a/src/diffraction.h +++ b/src/diffraction.h @@ -3,11 +3,13 @@ * * Calculate diffraction patterns by Fourier methods * - * Copyright © 2012 Deutsches Elektronen-Synchrotron DESY, - * a research centre of the Helmholtz Association. + * Copyright © 2012-2014 Deutsches Elektronen-Synchrotron DESY, + * a research centre of the Helmholtz Association. * * Authors: - * 2009-2012 Thomas White + * 2009-2014 Thomas White + * 2013-2014 Chun Hong Yoon + * 2013 Alexandra Tolstikova * * This file is part of CrystFEL. * @@ -48,4 +50,8 @@ extern void get_diffraction(struct image *image, int na, int nb, int nc, const unsigned char *flags, UnitCell *cell, GradientMethod m, const SymOpList *sym); +extern struct sample *generate_tophat(struct image *image); + +extern struct sample *generate_SASE(struct image *image); + #endif /* DIFFRACTION_H */ -- cgit v1.2.3