aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2011-01-30 23:12:28 +0100
committerThomas White <taw@physics.org>2012-02-22 15:27:12 +0100
commitefa9f928fc937c53941881069da4f78356112fe7 (patch)
tree46635b1f90b79402674258c4a1a513cdcea00760 /src
parent727c813bb039c6afaab45bc3fd7002a59ffd4bc2 (diff)
Show shifts
Diffstat (limited to 'src')
-rw-r--r--src/hrs-scaling.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/hrs-scaling.c b/src/hrs-scaling.c
index 35eedbdc..13c945e9 100644
--- a/src/hrs-scaling.c
+++ b/src/hrs-scaling.c
@@ -267,6 +267,7 @@ static double iterate_scale(struct image *images, int n,
gsl_linalg_HH_solve(M, v, shifts);
max_shift = 0.0;
+ STATUS("Shifts:\n");
for ( a=0; a<n-1; a++ ) {
double shift = gsl_vector_get(shifts, a);
@@ -275,6 +276,7 @@ static double iterate_scale(struct image *images, int n,
aimg = a;
if ( aimg >= crossed ) aimg++;
+ STATUS("%3i: %5.2f\n", aimg, shift);
images[aimg].osf += shift;
if ( fabs(shift) > fabs(max_shift) ) {