aboutsummaryrefslogtreecommitdiff
path: root/libcrystfel/src/image.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2020-07-30 14:16:25 +0200
committerThomas White <taw@physics.org>2020-07-30 14:16:25 +0200
commit3d85005cacbc800e4cac89d01534da3d943b1874 (patch)
tree61dfa8192f6c5e9c98f9eaa177992fef34649022 /libcrystfel/src/image.c
parent2b6e28bb24b76cb355d431b1453fce60977f6050 (diff)
Add show_panel() to API
Diffstat (limited to 'libcrystfel/src/image.c')
-rw-r--r--libcrystfel/src/image.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/libcrystfel/src/image.c b/libcrystfel/src/image.c
index 64a46018..cf7f1331 100644
--- a/libcrystfel/src/image.c
+++ b/libcrystfel/src/image.c
@@ -397,27 +397,6 @@ static double convert_to_m(double val, int units)
}
-static UNUSED void show_panel(struct detgeom_panel *p)
-{
- STATUS("Panel '%s':\n", p->name);
- STATUS(" Size %i x %i px\n", p->w, p->h);
- STATUS(" Transformation [cnx] + [%6.2f %6.2f] [fs] = [x]\n",
- p->fsx, p->ssx);
- STATUS(" [cny] + [%6.2f %6.2f] [ss] = [y]\n",
- p->fsy, p->ssy);
- STATUS(" [cnz] + [%6.2f %6.2f] = [z]\n",
- p->fsz, p->ssz);
- STATUS(" corner x,y,z = %f, %f, %f px\n",
- p->cnx, p->cny, p->cnz);
- STATUS(" = %f, %f, %f mm\n",
- p->cnx*p->pixel_pitch*1e3,
- p->cny*p->pixel_pitch*1e3,
- p->cnz*p->pixel_pitch*1e3);
- STATUS(" %f adu/photon, max %f adu\n",
- p->adu_per_photon, p->max_adu);
-}
-
-
void create_detgeom(struct image *image, const DataTemplate *dtempl)
{
struct detgeom *detgeom;