new TLE(text)
Initializes a TLE object containing parsed TLE
Parameters:
Name | Type | Description |
---|---|---|
text |
string | A TLE string of 3 lines |
Members
-
<readonly> argument_of_perigee :float
-
Argument of Perigee [Degrees]
Type:
- float
-
<readonly> bstar :float
-
BSTAR drag term
Type:
- float
-
<readonly> classification :string
-
Classification (U=Unclassified)
Type:
- string
-
<readonly> eccentricity :float
-
Eccentricity
Type:
- float
-
<readonly> ehemeris_type :int
-
The number 0 (Originally this should have been "Ephemeris type")
Type:
- int
-
<readonly> element_number :int
-
Element set number. incremented when a new TLE is generated for this object.
Type:
- int
-
<readonly> epoch_day :float
-
Epoch (Day of the year and fractional portion of the day)
Type:
- float
-
<readonly> epoch_rev_number :int
-
Revolution number at epoch [Revs]
Type:
- int
-
<readonly> epoch_year :int
-
Epoch Year (Full year)
Type:
- int
-
<readonly> ftd :float
-
First Time Derivative of the Mean Motion divided by two
Type:
- float
-
<readonly> inclination :float
-
Inclination [Degrees]
Type:
- float
-
<readonly> intd :string
-
International Designator (eg. 98067A)
Type:
- string
-
<readonly> intd_ln :string
-
International Designator (Launch number of the year, eg. '067')
Type:
- string
-
<readonly> intd_place :string
-
International Designator (Piece of the launch, eg. 'A')
Type:
- string
-
<readonly> intd_year :string
-
International Designator (Last two digits of launch year, eg. '98')
Type:
- string
-
<readonly> mean_anomaly :float
-
Mean Anomaly [Degrees]
Type:
- float
-
<readonly> mean_motion :float
-
Mean Motion [Revs per day]
Type:
- float
-
<readonly> right_ascension :float
-
Right Ascension of the Ascending Node [Degrees]
Type:
- float
-
<readonly> satelite_number :int
-
Satellite Number
Type:
- int
-
<readonly> std :float
-
Second Time Derivative of Mean Motion divided by six
Type:
- float
Methods
-
dtime(date) → {int}
-
Takes a date instance and returns the different between it and TLE's epoch
Parameters:
Name Type Description date
Date A instance of Date Returns:
delta time in millis- Type
- int
-
parse(text)
-
Parses TLE string and sets the proporties
Parameters:
Name Type Description text
string A TLE string of 3 lines -
toString() → {string}
-
Returns the TLE string
Returns:
TLE string in 3 lines- Type
- string