aboutsummaryrefslogtreecommitdiff
path: root/src/geometry.c
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2011-06-01 17:14:58 +0200
committerThomas White <taw@physics.org>2012-02-22 15:27:27 +0100
commitd36950988414b24180ffaa271fd943632ce26a79 (patch)
tree4e3cf614afbad1d1e6c57ff639473270abbc40c2 /src/geometry.c
parent1a5c83e23da5411aeb396e54acd9fd42a0900398 (diff)
Tidy up dead code and formatting
Diffstat (limited to 'src/geometry.c')
-rw-r--r--src/geometry.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/geometry.c b/src/geometry.c
index ed24e9a7..440f7698 100644
--- a/src/geometry.c
+++ b/src/geometry.c
@@ -270,30 +270,6 @@ RefList *find_intersections(struct image *image, UnitCell *cell,
}
-double integrate_all(struct image *image, RefList *reflections)
-{
- double itot = 0.0;
- Reflection *refl;
- RefListIterator *iter;
-
- for ( refl = first_refl(reflections, &iter);
- refl != NULL;
- refl = next_refl(refl, iter) ) {
-
- double x, y, intensity;
- double xp, yp;
- get_detector_pos(refl, &xp, &yp);
-
- if ( integrate_peak(image, xp, yp, &x, &y, &intensity, NULL,
- NULL, NULL, 0, 0) ) continue;
-
- itot += intensity;
- }
-
- return itot;
-}
-
-
/* Decide which reflections can be scaled */
static void select_scalable_reflections(RefList *list, ReflItemList *sc_l)
{