orbitx.Orbit.from_netcdf

orbitx.Orbit.from_netcdf#

classmethod Orbit.from_netcdf(input_path: str)[source]#

Loads an Orbit object from a netcdf file. This file should have the appropriate structure, as exported by the to_netcdf method.

Parameters:

input_path (str) – The path of the file to load

Returns:

An orbit object with data corresponding to the content of the file.

Return type:

Orbit