diff options
author | Thomas White <taw@physics.org> | 2011-02-08 14:24:03 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:13 +0100 |
commit | 2f5b44635ac37f988b3b281c5aa0aada5a9d9d03 (patch) | |
tree | 4c0e8e26fbc08fef259d46d1d1fe50afa60366bc /src/post-refinement.h | |
parent | f20d9a294624b55b9e2b696ac9cc3b061d3043f6 (diff) |
Don't constantly re-integrate peaks
Diffstat (limited to 'src/post-refinement.h')
-rw-r--r-- | src/post-refinement.h | 33 |
1 files changed, 4 insertions, 29 deletions
diff --git a/src/post-refinement.h b/src/post-refinement.h index b3c6c074..a10fafe4 100644 --- a/src/post-refinement.h +++ b/src/post-refinement.h @@ -3,7 +3,7 @@ * * Post refinement * - * (c) 2006-2010 Thomas White <taw@physics.org> + * (c) 2006-2011 Thomas White <taw@physics.org> * * Part of CrystFEL - crystallography with a FEL * @@ -21,36 +21,11 @@ #include <stdio.h> #include "image.h" -#include "reflist.h" +#include "utils.h" -/* Refineable parameters */ -enum { - REF_SCALE, - REF_DIV, - REF_R, - REF_ASX, - REF_BSX, - REF_CSX, - REF_ASY, - REF_BSY, - REF_CSY, - REF_ASZ, - REF_BSZ, - REF_CSZ, - NUM_PARAMS -}; - -/* Apply the given shift to the 'k'th parameter of 'image'. */ -void apply_shift(struct image *image, int k, double shift); - - -double mean_partial_dev(struct image *image, RefList *reflections, - const char *sym, double *i_full, FILE *graph); - - -double pr_iterate(struct image *image, double *i_full, const char *sym, - RefList *reflections); +extern void pr_refine(struct image *image, const double *i_full, + const char *sym); #endif /* POST_REFINEMENT_H */ |