aboutsummaryrefslogtreecommitdiff
path: root/src/reflist.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-03-23 15:23:36 +0100
committerThomas White <taw@physics.org>2012-02-22 15:27:21 +0100
commitf56ce1b9c6d6b5c9b365354585d32c5ead4869d6 (patch)
tree3a6c4a765238462ce26ef75b065ae61cd02ad036 /src/reflist.c
parent683220d0f8038018d7e63ebff56611a645b346af (diff)
More s/x/fs/, s/y/ss/
Diffstat (limited to 'src/reflist.c')
-rw-r--r--src/reflist.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/reflist.c b/src/reflist.c
index 30d9f696..05caa96d 100644
--- a/src/reflist.c
+++ b/src/reflist.c
@@ -32,8 +32,8 @@ struct _refldata {
int clamp2; /* Clamp status for r2 */
/* Location in image */
- double x;
- double y;
+ double fs;
+ double ss;
/* The distance from the exact Bragg position to the coordinates
* given above. */
@@ -191,10 +191,10 @@ double get_excitation_error(const Reflection *refl)
}
-void get_detector_pos(const Reflection *refl, double *x, double *y)
+void get_detector_pos(const Reflection *refl, double *fs, double *ss)
{
- *x = refl->data.x;
- *y = refl->data.y;
+ *fs = refl->data.fs;
+ *ss = refl->data.ss;
}
@@ -268,11 +268,11 @@ void copy_data(Reflection *to, const Reflection *from)
}
-void set_detector_pos(Reflection *refl, double exerr, double x, double y)
+void set_detector_pos(Reflection *refl, double exerr, double fs, double ss)
{
refl->data.excitation_error = exerr;
- refl->data.x = x;
- refl->data.y = y;
+ refl->data.fs = fs;
+ refl->data.ss = ss;
}