opengnc.interfaces.ccsds package

Submodules

opengnc.interfaces.ccsds.oem module

CCSDS Orbit Ephemeris Message (OEM) implementation.

class opengnc.interfaces.ccsds.oem.OEM[source]

Bases: object

Orbit Ephemeris Message (OEM) handler.

Supports reading and writing CCSDS OEM files.

classmethod from_file(filepath: str) OEM[source]

Load an OEM from a file.

get_interpolated_state(epoch: str) ndarray[source]

Placeholder for orbital interpolation logic.

Returns the exact stored state for now.

set_data(epochs: list[str], states: ndarray) None[source]

Set ephemeris data.

write(filepath: str) None[source]

Write the OEM to a file.

opengnc.interfaces.ccsds.opm module

CCSDS Orbit Parameter Message (OPM) implementation.

class opengnc.interfaces.ccsds.opm.OPM(data: dict | None = None)[source]

Bases: object

Orbit Parameter Message (OPM) handler.

Supports reading and writing CCSDS OPM files (KVN format).

classmethod from_file(filepath: str) OPM[source]

Load OPM from a KVN file.

get_state_vector() ndarray[source]

Return state vector in SI units (m, m/s).

write(filepath: str) None[source]

Write OPM to a KVN file.

Module contents

CCSDS standards implementation (OEM, OPM).

class opengnc.interfaces.ccsds.OEM[source]

Bases: object

Orbit Ephemeris Message (OEM) handler.

Supports reading and writing CCSDS OEM files.

classmethod from_file(filepath: str) OEM[source]

Load an OEM from a file.

get_interpolated_state(epoch: str) ndarray[source]

Placeholder for orbital interpolation logic.

Returns the exact stored state for now.

set_data(epochs: list[str], states: ndarray) None[source]

Set ephemeris data.

write(filepath: str) None[source]

Write the OEM to a file.

class opengnc.interfaces.ccsds.OPM(data: dict | None = None)[source]

Bases: object

Orbit Parameter Message (OPM) handler.

Supports reading and writing CCSDS OPM files (KVN format).

classmethod from_file(filepath: str) OPM[source]

Load OPM from a KVN file.

get_state_vector() ndarray[source]

Return state vector in SI units (m, m/s).

write(filepath: str) None[source]

Write OPM to a KVN file.