aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2015-03-17 16:33:36 +0100
committerThomas White <taw@physics.org>2015-04-20 15:50:39 +0200
commit63a971d9caed029234e91e4a561a1608a608d63f (patch)
tree6ab553610f4e3b7f400c6e941a73841bd176bd03
parentf34e7e9ee45fedbd7d5a65c0732e91d69f92929e (diff)
Tweak weightings and cutoffs
-rw-r--r--src/predict-refine.c4
-rw-r--r--src/process_image.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/predict-refine.c b/src/predict-refine.c
index 8de3885f..2c8875d4 100644
--- a/src/predict-refine.c
+++ b/src/predict-refine.c
@@ -45,7 +45,7 @@
#define MAX_CYCLES (10)
/* Weighting of excitation error term (m^-1) compared to position term (m) */
-#define EXC_WEIGHT (2e-11)
+#define EXC_WEIGHT (4e-20)
struct reflpeak {
Reflection *refl;
@@ -59,7 +59,7 @@ static int pair_peaks(ImageFeatureList *flist, UnitCell *cell, RefList *reflist,
struct reflpeak *rps, struct detector *det)
{
int i;
- const double min_dist = 0.25;
+ const double min_dist = 0.05;
int n_acc = 0;
int n_notintegrated = 0;
diff --git a/src/process_image.c b/src/process_image.c
index 7473aab8..6ad5c00e 100644
--- a/src/process_image.c
+++ b/src/process_image.c
@@ -69,7 +69,7 @@ static double *excitation_errors(UnitCell *cell, ImageFeatureList *flist,
RefList *reflist, int *pnacc)
{
int i;
- const double min_dist = 0.25;
+ const double min_dist = 0.05;
double *acc;
int n_acc = 0;
int n_notintegrated = 0;