From d2015e147044765de4a6ba4ae96c3e2699124a72 Mon Sep 17 00:00:00 2001 From: Thomas White Date: Tue, 18 Aug 2020 17:30:44 +0200 Subject: Formatting/comments --- libcrystfel/src/predict-refine.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'libcrystfel') diff --git a/libcrystfel/src/predict-refine.c b/libcrystfel/src/predict-refine.c index a9ba6966..43a52cae 100644 --- a/libcrystfel/src/predict-refine.c +++ b/libcrystfel/src/predict-refine.c @@ -83,11 +83,11 @@ static void twod_mapping(double fs, double ss, double *px, double *py, { double xs, ys; - xs = fs*p->fsx + ss*p->ssx; - ys = fs*p->fsy + ss*p->ssy; + xs = fs*p->fsx + ss*p->ssx; /* pixels */ + ys = fs*p->fsy + ss*p->ssy; /* pixels */ - *px = (xs + p->cnx) * p->pixel_pitch; - *py = (ys + p->cny) * p->pixel_pitch; + *px = (xs + p->cnx) * p->pixel_pitch; /* metres */ + *py = (ys + p->cny) * p->pixel_pitch; /* metres */ } @@ -314,8 +314,8 @@ int refine_radius(Crystal *cr, struct image *image) } -static void update_detector(struct detgeom *det, double xoffs, double yoffs, - double coffs) +static void update_detector(struct detgeom *det, + double xoffs, double yoffs, double coffs) { int i; -- cgit v1.2.3