dsgp4.tle#

Functions

compute_checksum(line)

This function takes a TLE line in the form of a string and computes the checksum.

load(file_name)

This function takes a file name that contains TLE (either with names or without), and returns a list of TLE objects.

load_from_data(data[, opsmode])

This function takes a TLE as a dictionary and returns both itself and its representation as a list of strings.

load_from_lines(lines[, opsmode])

This function takes a TLE as a list of strings and returns both itself and its dictionary representation.

read_satellite_catalog_number(string)

This function takes a string corresponding to part of a TLE line, and returns the corresponding satellite catalog number.

Classes

TLE(data)

This class constructs a TLE object from either a list of strings (that make up the TLE) or from a dictionary.