combine¶
-
gala.dynamics.orbit.
combine
(args, along_time_axis=False)[source]¶ Combine the input
Orbit
objects into a single object.The
Orbits
must all have the same potential and time array.Parameters: args : iterable
Multiple instances of
Orbit
objects.along_time_axis : bool (optional)
If True, will combine single orbits along the time axis.
Returns: obj : orbit_like
A single objct with positions and velocities stacked along the last axis.