Skip to content

Commit

Permalink
Update simple.py
Browse files Browse the repository at this point in the history
added a condition for when t is not None, ensuring correct start time.
  • Loading branch information
SuperdoerTrav authored Oct 28, 2024
1 parent 607aa83 commit 4451c5a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ssapy/simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,8 @@ def ssapy_orbit(orbit=None, a=None, e=0, i=0, pa=0, raan=0, ta=0, r=None, v=None
"""
if t is None:
t = get_times(duration=duration, freq=freq, t=t0)
else:
t0 = t[0]

if orbit is not None:
pass
Expand Down

0 comments on commit 4451c5a

Please sign in to comment.