diff options
author | Thomas White <taw@physics.org> | 2015-04-23 12:05:10 +0200 |
---|---|---|
committer | Thomas White <taw@physics.org> | 2015-04-28 14:47:19 +0200 |
commit | db9b3f49323dcac5c1b762da9feb25ff532e03e7 (patch) | |
tree | d128f70cd9a05e2799c73540f4877bdab9e27526 | |
parent | 7113ae5438f9d27adddf1276557b66eda258ad21 (diff) |
write_pairs(): More info
-rw-r--r-- | src/predict-refine.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/predict-refine.c b/src/predict-refine.c index a1f65691..c11ef315 100644 --- a/src/predict-refine.c +++ b/src/predict-refine.c @@ -145,7 +145,12 @@ static void write_pairs(const char *filename, struct reflpeak *rps, int n, p = find_panel(det, fs, ss); write_fs = fs - p->min_fs + p->orig_min_fs; write_ss = ss - p->min_ss + p->orig_min_ss; - fprintf(fh, "%f %f\n", write_fs, write_ss); + + fprintf(fh, "%7.2f %7.2f dev r,x,y: %9f %9f %9f %9f\n", + write_fs, write_ss, + r_dev(&rps[i])/1e9, fabs(r_dev(&rps[i])/1e9), + x_dev(&rps[i], det), + y_dev(&rps[i], det)); } |