Skip to content

Commit

Permalink
Merge branch 'main' into ak/parameterize-simulator
Browse files Browse the repository at this point in the history
  • Loading branch information
akoumjian authored Dec 17, 2024
2 parents 9ddc2c3 + 96de5a7 commit 0368f52
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/adam_assist/propagator.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ def __init__(
self.initial_dt = initial_dt
self.adaptive_mode = adaptive_mode
self.epsilon = epsilon

def _propagate_orbits(self, orbits: OrbitType, times: TimestampType) -> OrbitType:
"""
Propagate the orbits to the specified times.
Expand Down Expand Up @@ -129,6 +130,7 @@ def _propagate_orbits_inner(
)
sim = None
sim = rebound.Simulation()

# Set the simulation time, relative to the jd_ref
start_tdb_time = orbits.coordinates.time.jd().to_numpy()[0]
start_tdb_time = start_tdb_time - ephem.jd_ref
Expand Down

0 comments on commit 0368f52

Please sign in to comment.