diff options
author | Thomas White <taw@physics.org> | 2011-11-28 17:23:28 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:42 +0100 |
commit | 83d7ce243a4443083fb614f5019b9b9ca2c74539 (patch) | |
tree | 1dfff92d1d5efdb45e5428d306e27e10e43bd6f2 | |
parent | eca7577d9cf8b1fc13005c75e01fa5fa0e3efb48 (diff) |
Fussiness (extreme)
-rw-r--r-- | libcrystfel/src/peaks.c | 2 | ||||
-rw-r--r-- | src/indexamajig.c | 2 | ||||
-rw-r--r-- | src/process_hkl.c | 1 |
3 files changed, 2 insertions, 3 deletions
diff --git a/libcrystfel/src/peaks.c b/libcrystfel/src/peaks.c index 854db1d1..8e0acce7 100644 --- a/libcrystfel/src/peaks.c +++ b/libcrystfel/src/peaks.c @@ -417,7 +417,7 @@ static void search_peaks_in_panel(struct image *image, float threshold, continue; } - if (intensity/sigma < min_snr) { + if ( intensity/sigma < min_snr ) { nrej_snr++; continue; } diff --git a/src/indexamajig.c b/src/indexamajig.c index c770e53a..a742eb65 100644 --- a/src/indexamajig.c +++ b/src/indexamajig.c @@ -532,7 +532,7 @@ int main(int argc, char *argv[]) int config_basename = 0; float threshold = 800.0; float min_gradient = 100000.0; - float min_snr = 5; + float min_snr = 5.0; struct detector *det; char *geometry = NULL; IndexingMethod *indm; diff --git a/src/process_hkl.c b/src/process_hkl.c index 0d33cf02..f94ad4b8 100644 --- a/src/process_hkl.c +++ b/src/process_hkl.c @@ -163,7 +163,6 @@ static void merge_pattern(RefList *model, RefList *new, int max_only, } } - /* Increase redundancy */ int cur_redundancy = get_redundancy(model_version); set_redundancy(model_version, cur_redundancy+1); |