aboutsummaryrefslogtreecommitdiff
path: root/src/stream.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-03-14 17:24:22 +0100
committerThomas White <taw@physics.org>2012-02-22 15:27:19 +0100
commita3d2349966315c7e22db8272ebd87d3673413d07 (patch)
treee61fab14c1cd9ecefdcf66c3763106af77faf4d6 /src/stream.c
parent920281923fe09573b4c797dbcc524d8c902da2da (diff)
More x->fs etc
Diffstat (limited to 'src/stream.c')
-rw-r--r--src/stream.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/stream.c b/src/stream.c
index dacc7d9a..7b4169a9 100644
--- a/src/stream.c
+++ b/src/stream.c
@@ -170,7 +170,7 @@ static void write_peaks(struct image *image, FILE *ofh)
int i;
fprintf(ofh, "Peaks from peak search\n");
- fprintf(ofh, " x/px y/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++ ) {
@@ -181,11 +181,11 @@ static void write_peaks(struct image *image, FILE *ofh)
f = image_get_feature(image->features, i);
if ( f == NULL ) continue;
- r = get_q(image, f->x, f->y, NULL, 1.0/image->lambda);
+ r = get_q(image, f->fs, f->ss, NULL, 1.0/image->lambda);
q = modulus(r.u, r.v, r.w);
fprintf(ofh, "%8.3f %8.3f %8.3f %12.3f\n",
- f->x, f->y, q/1.0e9, f->intensity);
+ f->fs, f->ss, q/1.0e9, f->intensity);
}
}