util.elements_u
Utility functions for dealing with propagation element set strings.
split3LELineIntoFields
split3LELineIntoFields(line: str) → ElementsLineDict
Create an ElementsLineDict from an element set line.
Args:
line
: stringReturns: ElementsLineDict
stringify3LEDict
stringify3LEDict(tle_dict: dict[int, ElementsLineDict]) → str
Turn an element set dict 3LE dict back into a \n delimited string.
dictify3LEs
dictify3LEs(lines: list[str]) → list[dict[int, ElementsLineDict]]
Turn list of strings into list of dicts storing TLE info.
ElementsLineDict
TypedDict container for lines of an element set.
Attributes:
fields
: list of each field of an element set line as stringsline_str
: original whole line string of element set (no newline)This file was automatically generated via lazydocs.