aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/pinkindexer.h
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2019-04-30 14:43:06 +0200
committerThomas White <taw@physics.org>2019-09-12 16:35:52 +0200
commit117779c5fd9321b4a262f144798f081321a65a38 (patch)
treeade953b50ab0ed84527040d7af49a228cb7d6549 /libcrystfel/src/pinkindexer.h
parent10f9432595f5425ff2f8605ea181f7c643ab81ab (diff)
Avoid duplication of beam and detector parameters for pinkIndexer
Diffstat (limited to 'libcrystfel/src/pinkindexer.h')
-rw-r--r--libcrystfel/src/pinkindexer.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/libcrystfel/src/pinkindexer.h b/libcrystfel/src/pinkindexer.h
index 5be2c1e7..1fcb3711 100644
--- a/libcrystfel/src/pinkindexer.h
+++ b/libcrystfel/src/pinkindexer.h
@@ -42,14 +42,8 @@ struct pinkIndexer_options {
int multi;
int thread_count;
int min_peaks;
-
int no_check_indexed;
-
- float beamEnergy; //in eV
- float beamBandwidth; //(delta lambda)/lambda
- float detectorDistance; //in m
-
- float reflectionRadius; //in 1/A
+ float reflectionRadius; /* In m^-1 */
};
#include <stddef.h>
@@ -58,7 +52,8 @@ struct pinkIndexer_options {
extern int run_pinkIndexer(struct image *image, void *ipriv);
extern void *pinkIndexer_prepare(IndexingMethod *indm, UnitCell *cell,
- struct pinkIndexer_options *pinkIndexer_opts);
+ struct pinkIndexer_options *pinkIndexer_opts,
+ struct detector *det, struct beam_params *beam);
extern void pinkIndexer_cleanup(void *pp);