dsgp4.omm.load_from_data#
- dsgp4.omm.load_from_data(data, opsmode='i')#
This function takes a set of elements as a dictionary (i.e. the same dictionary used by dsgp4.tle.TLE), and returns both its representation as a dictionary of OMM fields and the dictionary itself.
Parameters:#
data (
dict): elements in the form of a dictionary opsmode (str): operation mode, either ‘i’ or ‘a’Returns:#
dict: OMM data in the form of a dictionary of OMM fieldsdict: elements in the form of a dictionary