Skip to content

Commit

Permalink
Add a defrag step (#138)
Browse files Browse the repository at this point in the history
  • Loading branch information
akoumjian authored Nov 30, 2023
1 parent 96c16a6 commit 8094a24
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions thor/orbits/attribution.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 8094a24

Please sign in to comment.