aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2023-07-26 11:40:54 +0200
committerThomas White <taw@physics.org>2023-07-28 13:22:05 +0200
commitedaa707a35c1418c7943fea9b071a878d275a955 (patch)
treed1ea1a4e76ad5c18e37e41d513e38beab837aee1 /libcrystfel
parent7b00456b25fbc30ed5b706d6c46ca73f51762ec3 (diff)
Adjust refinement weights and restraints
Diffstat (limited to 'libcrystfel')
-rw-r--r--libcrystfel/src/predict-refine.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcrystfel/src/predict-refine.c b/libcrystfel/src/predict-refine.c
index 447c2cd0..205cbb75 100644
--- a/libcrystfel/src/predict-refine.c
+++ b/libcrystfel/src/predict-refine.c
@@ -47,7 +47,7 @@
/* Weighting of excitation error term (m^-1) compared to position term (pixels) */
-#define EXC_WEIGHT (0.5e-6)
+#define EXC_WEIGHT (0.5e-7)
double r_dev(struct reflpeak *rp)
@@ -713,7 +713,7 @@ static int iterate(struct reflpeak *rps, int n, UnitCell *cell,
int k;
for ( k=0; k<num_params; k++ ) {
double M_curr = gsl_matrix_get(M, k, k);
- gsl_matrix_set(M, k, k, M_curr+1e-18);
+ gsl_matrix_set(M, k, k, M_curr+1e-7);
}
//show_matrix_eqn(M, v);