opengnc.interfaces.gmat package

Submodules

opengnc.interfaces.gmat.gmat_interface module

GMAT Python API Integration for high-fidelity truth propagation.

class opengnc.interfaces.gmat.gmat_interface.GMATInterface[source]

Bases: ExternalPropagator

Standardized interface for the NASA GMAT Python API. Used for truth propagation and mission analysis.

connect(**kwargs: Any) bool[source]

Initialize GMAT engine.

disconnect() None[source]

Release GMAT resources.

propagate(initial_state: ndarray, start_jd: float, duration_sec: float, step_sec: float) Dict[str, ndarray][source]

Run high-fidelity propagation using GMAT.

Returns:

‘times’ and ‘states’ arrays.

Return type:

Dict[str, np.ndarray]

setup_force_model(gravity_deg: int = 20, drag: bool = True) None[source]

Configure GMAT force model.

Module contents

GMAT integration.

class opengnc.interfaces.gmat.GMATInterface[source]

Bases: ExternalPropagator

Standardized interface for the NASA GMAT Python API. Used for truth propagation and mission analysis.

connect(**kwargs: Any) bool[source]

Initialize GMAT engine.

disconnect() None[source]

Release GMAT resources.

propagate(initial_state: ndarray, start_jd: float, duration_sec: float, step_sec: float) Dict[str, ndarray][source]

Run high-fidelity propagation using GMAT.

Returns:

‘times’ and ‘states’ arrays.

Return type:

Dict[str, np.ndarray]

setup_force_model(gravity_deg: int = 20, drag: bool = True) None[source]

Configure GMAT force model.