adam.propagator_config module

propagator_config.py

class adam.propagator_config.PropagatorConfig(config_json)

Bases: object

__init__(config_json)

Initializes a propagator config from the given JSON, pulling out a few important fields.

Values for sun, planets, and moon must be “POINT_MASS”, “OMIT”, or “SPHERICAL_HARMONICS. Value for asteroids should be list of asteroid names. Value for asteroidsString should be concatenated list of asteroid names.

get_config_json()
get_description()
get_project()
get_uuid()
class adam.propagator_config.PropagatorConfigs(rest)

Bases: object

Module for managing propagator configurations.

PUBLIC_CONFIG_ALL_PLANETS_AND_MOON = '00000000-0000-0000-0000-000000000001'
PUBLIC_CONFIG_ALL_PLANETS_AND_MOON_AND_ASTEROIDS = '00000000-0000-0000-0000-000000000003'
PUBLIC_CONFIG_SUN_ONLY = '00000000-0000-0000-0000-000000000002'
REST_ENDPOINT_PREFIX = '/config/propagator'
__init__(rest)

Initialize self. See help(type(self)) for accurate signature.

delete_config(uuid)
get_config(uuid)adam.propagator_config.PropagatorConfig
get_configs() → List[adam.propagator_config.PropagatorConfig]
new_config(config_json)adam.propagator_config.PropagatorConfig

Method to create a config directly from a JSON object rather than specifying every parameter. Useful if you’d like to slighly modify an existing config (e.g. ignore Jupiter’s gravity), or if you are fine with default values for most objects (“POINT_MASS” for objects, [] for asteroids).