get_similar_orbits
- ssapy.simple.get_similar_orbits(r0, v0, rad=100000.0, num_orbits=4, duration=(90, 'days'), freq=(1, 'hour'), start_date='2025-1-1', mass=250)[source][source]
Generate similar orbits by varying the initial position.
Parameters:
- r0array_like
Initial position vector of shape (3,).
- v0array_like
Initial velocity vector of shape (3,).
- radfloat
Radius of the circle around the initial position to generate similar orbits.
- num_orbitsint
Number of similar orbits to generate.
- durationtuple
Duration of the orbit simulation.
- freqtuple
Frequency of output data.
- start_datestr
Start date for the simulation.
- massfloat
Mass of the satellite.
Returns:
- trajectoriesndarray
Stacked array of shape (3, n_times, num_orbits) containing the trajectories.