aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/detector.c
diff options
context:
space:
mode:
authorValerio Mariani <valerio.mariani@desy.de>2014-11-28 14:37:33 +0100
committerThomas White <taw@physics.org>2014-11-28 17:54:01 +0100
commit396c424b561966259467c8ab7fd31d133f209562 (patch)
tree50fb33336610b20ea72a381a809f136be833bccb /libcrystfel/src/detector.c
parent5127171b1711c363fe5521ccd4103e211dba45ae (diff)
Remove twod_mapping function
Diffstat (limited to 'libcrystfel/src/detector.c')
-rw-r--r--libcrystfel/src/detector.c13
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)
{