diff options
Diffstat (limited to 'libcrystfel/src/detector.c')
-rw-r--r-- | libcrystfel/src/detector.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/libcrystfel/src/detector.c b/libcrystfel/src/detector.c index 09eb964d..e148cb59 100644 --- a/libcrystfel/src/detector.c +++ b/libcrystfel/src/detector.c @@ -1480,19 +1480,6 @@ struct detector *simple_geometry(const struct image *image) } -void twod_mapping(double fs, double ss, double *px, double *py, - struct panel *p) -{ - double xs, ys; - - xs = fs*p->fsx + ss*p->ssx; - ys = fs*p->fsy + ss*p->ssy; - - *px = xs + p->cnx; - *py = ys + p->cny; -} - - int reverse_2d_mapping(double x, double y, double *pfs, double *pss, struct detector *det) { |