write_oem¶
write_oem
-
sorts.io.ccsds.
write_oem
(t, state, meta, fname=None, xml=True)[source]¶ Uses a series of astropy times and state vectors to create a CCSDS OEM file (plain-text of xml) or return a string.
- Parameters
t (astropy.Time) – Vector of unix-times
state (numpy.ndarray) – 6-D states given in SI units in the ITRF2000 frame. Rows correspond to different states and columns to dimensions.
meta (dict) – Dict containing all the standard CCSDS 2.0 meta data.
xml (bool) – If False, use the plain-text format
fname (str) – Output file-path for OEM.