From 151d7eac6f8364d36fe2bad188257eea2d6355f2 Mon Sep 17 00:00:00 2001 From: Alec Koumjian Date: Thu, 30 Nov 2023 10:53:12 -0500 Subject: [PATCH] Add a defrag step --- thor/orbits/attribution.py | 1 + 1 file changed, 1 insertion(+) diff --git a/thor/orbits/attribution.py b/thor/orbits/attribution.py index 15289d78..78fc8112 100644 --- a/thor/orbits/attribution.py +++ b/thor/orbits/attribution.py @@ -459,6 +459,7 @@ def merge_and_extend_orbits( # the same time, keep only observation with smallest distance attributions = attributions.drop_coincident_attributions(observations) + attributions = qv.defragment(attributions) # Create a new orbit members table with the newly attributed observations and # filter the orbits to only include those that still have observations orbit_members_iter = FittedOrbitMembers.from_kwargs(