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 OEM from a file.

get_interpolated_state(epoch: str) ndarray[source]

Placeholder for orbital interpolation logic. In Phase 2, this would use Lagrange/Hermite interpolation.

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

Set ephemeris data.

Parameters:
  • epochs (List[str]) – List of ISO-8601 strings.

  • states (np.ndarray) – Nx6 array of states [x, y, z, vx, vy, vz] in km and km/s.

write(filepath: str) None[source]

Write 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 OEM from a file.

get_interpolated_state(epoch: str) ndarray[source]

Placeholder for orbital interpolation logic. In Phase 2, this would use Lagrange/Hermite interpolation.

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

Set ephemeris data.

Parameters:
  • epochs (List[str]) – List of ISO-8601 strings.

  • states (np.ndarray) – Nx6 array of states [x, y, z, vx, vy, vz] in km and km/s.

write(filepath: str) None[source]

Write 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.