diff options
Diffstat (limited to 'src/scaling.h')
-rw-r--r-- | src/scaling.h | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/src/scaling.h b/src/scaling.h index 534043d9..8c2e7ef2 100644 --- a/src/scaling.h +++ b/src/scaling.h @@ -3,11 +3,11 @@ * * Scaling * - * Copyright © 2012-2015 Deutsches Elektronen-Synchrotron DESY, + * Copyright © 2012-2018 Deutsches Elektronen-Synchrotron DESY, * a research centre of the Helmholtz Association. * * Authors: - * 2010-2015 Thomas White <taw@physics.org> + * 2010-2018 Thomas White <taw@physics.org> * * This file is part of CrystFEL. * @@ -38,10 +38,16 @@ #include "crystal.h" #include "geometry.h" -extern double log_residual(Crystal *cr, const RefList *full, int free, - int *pn_used, const char *filename); +enum ScaleFlags +{ + SCALE_NONE = 0, + SCALE_NO_B = 1<<0, /* Don't use Debye-Waller part */ + SCALE_VERBOSE_ERRORS = 1<<1, +}; + +extern int scale_one_crystal(Crystal *cr, const RefList *reference, int flags); extern void scale_all(Crystal **crystals, int n_crystals, int nthreads, - PartialityModel pmodel); + int flags); #endif /* SCALING_H */ |