aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRick Kirian <rkirian@asu.edu>2011-03-29 18:01:33 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:23 +0100
commit1d7c4d838224b4ac7e61453454b5164d9878211a (patch)
tree9d550b26f50dbc5e64e0a572fe094c896eb77a64
parent2c09002652b107e4e5cc85cd75df298c09ce9a4e (diff)
stream.c: precision of peaks -> %7.2f
-rw-r--r--src/stream.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stream.c b/src/stream.c
index 4c7a18c6..0d315dcb 100644
--- a/src/stream.c
+++ b/src/stream.c
@@ -182,7 +182,7 @@ static void write_peaks(struct image *image, FILE *ofh)
int i;
fprintf(ofh, PEAK_LIST_START_MARKER"\n");
- fprintf(ofh, " fs/px ss/px (1/d)/nm^-1 Intensity\n");
+ fprintf(ofh, " fs/px ss/px (1/d)/nm^-1 Intensity\n");
for ( i=0; i<image_feature_count(image->features); i++ ) {
@@ -196,7 +196,7 @@ static void write_peaks(struct image *image, FILE *ofh)
r = get_q(image, f->fs, f->ss, NULL, 1.0/image->lambda);
q = modulus(r.u, r.v, r.w);
- fprintf(ofh, "%6.1f %6.1f %10.2f %10.2f\n",
+ fprintf(ofh, "%7.2f %7.2f %10.2f %10.2f\n",
f->fs, f->ss, q/1.0e9, f->intensity);
}