swiftest.SwiftestDataset.el2xv#
- SwiftestDataset.el2xv(GMcb=None)[source]#
Converts a Dataset’s orbital elements to Cartesian state vectors. The DataArray must have the appropriate dimensions for orbital elements.
- Parameters:
GMcb (xr.DataArray or float) – Gravitational parameter of the central body
- Returns:
SwiftestDataset – Dataset containing the computed state vectors (position ‘rh’ and velocity ‘vh’).