Represents the orbital elements contained in a two-line element set in a
normalised form.
Constructors
new(name :
String, catalog_number :
Int32, international_designator :
Predict::InternationalDesignator, epoch :
Time, element_set_number :
Int32, revolution_number :
Int32, mean_motion :
Float64, mean_motion_1st_deriv :
Float64, mean_motion_2nd_deriv :
Float64, radiation_pressure_coefficient :
Float64, inclination :
Float64, raan :
Float64, eccentricity :
Float64, argument_of_perigee :
Float64, mean_anomaly :
Float64)
Sourceparse_three_line(string : String, *, detect_zero_index = true) : TLE
Parses a three line TLE (name, line1, line2). TLEs are sometimes supplied
with a leading zero on the name line, which this library will strip unless
detect_zero_index is set to false.
SourceClass methods
checksum(string)
Runs the checksum algorithm used by TLEs on the given string.
Sourceparse_three_line(io : IO, *, detect_zero_index = true) : TLE | Nil
Reads a single three line TLE from IO. Returns nil if there's no TLE to
read. TLEs are sometimes supplied with a leading zero on the name line,
which this library will strip unless detect_zero_index is set to false.
Sourceparse_two_line(tle : String, name : String)
Parses a two-line TLE given a tle string and a human-readable name.
Sourceparse_two_line(lines : Indexable(String), name : String)
Parses a two-line TLE given an array of two lines and a human-readable
name.
SourceInstance methods
argument_of_perigee
The angle between the ascending node and the orbit's perigee in degrees.
Sourcecatalog_number
The NORAD catalogue number of this satellite.
Sourceeccentricity
A value defining the shape of the orbit.
Sourceelement_set_number
Element set number of this TLE.
Sourceepoch
The epoch time for this TLE in UTC.
Sourceinclination
Inclination between the equator and orbit in degrees.
Sourceinternational_designator
The InternationalDesignator of this satellite.
Sourcemean_motion
Mean number of orbits per day the satellite completes.
Sourcemean_motion_1st_deriv
First derivative of mean motion with respect to time (in days).
Sourcemean_motion_2nd_deriv
Second derivative of mean motion with nrespect to time (in days).
Sourcename
The human-readable name of the satellite.
Sourceraan
The angle between the vernal equinox and the point where the orbit crosses
the equatorial plane going north in degrees.
Sourceradiation_pressure_coefficient
BSTAR coefficient, a term in the SGP4 predictor.
Sourcerevolution_number
The orbit number of the satellite at the epoch.
Source