swiftest.SwiftestDataset.xv2el

swiftest.SwiftestDataset.xv2el#

SwiftestDataset.xv2el(GMcb=None)[source]#

Converts A Dataset’s Cartesian state vectors to orbital elements. The DataArray must have the “space” dimension.

Parameters:

GMcb (xr.DataArray or float) – Gravitational parameter of the central body

Returns:

SwiftestDataset – Dataset containing the computed orbital elements.