diff options
author | Thomas White <taw@physics.org> | 2010-11-18 16:59:37 +0100 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2012-02-22 15:27:06 +0100 |
commit | 387de365a9ce243f5e1afd0b6ed529ddce41e16b (patch) | |
tree | 3ab7c9aba3188e38bce1211c473e9501de52215f | |
parent | 345ee980a092a50470e5cf1f5ea7a916c3c9e487 (diff) |
Update correlation file
-rw-r--r-- | scripts/facetron.gp | 2 | ||||
-rw-r--r-- | src/facetron.c | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/scripts/facetron.gp b/scripts/facetron.gp index 42e38520..d1d95ac4 100644 --- a/scripts/facetron.gp +++ b/scripts/facetron.gp @@ -4,4 +4,4 @@ set xrange [0:1] set yrange [0:1] unset key set size square -plot "iteration-1.dat" using 4:5 w p ps 1 pt 7 lc -1 +plot "iteration-1.dat" using 7:8 w p ps 1 pt 7 lc -1 diff --git a/src/facetron.c b/src/facetron.c index 73629eed..d04facf4 100644 --- a/src/facetron.c +++ b/src/facetron.c @@ -151,8 +151,9 @@ static double mean_partial_dev(struct image *image, struct cpeak *spots, int n, delta_I += I_partial - spots[h].p * I_full; if ( graph != NULL ) { - fprintf(graph, "%3i %3i %3i %5.2f %5.2f\n", - hind, kind, lind, + fprintf(graph, "%3i %3i %3i %5.2f (at %5.2f,%5.2f)" + " %5.2f %5.2f\n", + hind, kind, lind, I_partial/spots[h].p, xc, yc, spots[h].p, I_partial / I_full); } |