diff options
author | Thomas White <taw@physics.org> | 2013-02-22 11:57:26 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2013-02-22 11:57:26 +0100 |
commit | 8a1898f66575495b9dbb75a7ce1bc6ea26c05cb3 (patch) | |
tree | 1f3113a22df42f55f362bd70e446d2d9d743e85b /src/im-sandbox.h | |
parent | 9dd569008c6190b697d64c77a96e50a59e65fbf0 (diff) |
Move processing pipeline to separate file
Diffstat (limited to 'src/im-sandbox.h')
-rw-r--r-- | src/im-sandbox.h | 44 |
1 files changed, 3 insertions, 41 deletions
diff --git a/src/im-sandbox.h b/src/im-sandbox.h index dfddabe6..7df41738 100644 --- a/src/im-sandbox.h +++ b/src/im-sandbox.h @@ -31,48 +31,10 @@ * */ +#include "index.h" #include "stream.h" - -enum { - PEAK_ZAEF, - PEAK_HDF5, -}; - - -/* Information about the indexing process which is common to all patterns */ -struct index_args -{ - UnitCell *cell; - int cmfilter; - int noisefilter; - int satcorr; - int closer; - int bgsub; - float threshold; - float min_gradient; - float min_snr; - double min_int_snr; - struct detector *det; - IndexingMethod *indm; - IndexingPrivate **ipriv; - int peaks; /* Peak detection method */ - float tols[4]; - struct beam_params *beam; - char *element; - char *hdf5_peak_path; - float ir_inn; - float ir_mid; - float ir_out; - struct copy_hdf5_field *copyme; - int integrate_saturated; - int use_saturated; - int no_revalidate; - int integrate_found; - int stream_peaks; - int stream_refls; - int res_cutoff; -}; - +#include "cell.h" +#include "process_image.h" extern void create_sandbox(struct index_args *iargs, int n_proc, char *prefix, int config_basename, FILE *fh, |