class Predict::Satellite

Overview

Struct containing an initialised SGP4 model of a satellite.

Defined in:

predict/satellite.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(tle : TLE, grav_type = GravityConstants::WGS72) #

Initialises the Satellite with tle, using grav_type


[View source]

Instance Method Detail

def constants : GravityConstants #

[View source]
def next_pass(*, at : LatLongAlt, after : Time, find_occuring_pass = false) : Tuple(Time, Time) #

Finds the next pass at location occuring after the given time. When find_occuring_pass is true, a satellite pass currently in progress at the supplied time may be returned. The returned value is a tuple of pass start time followed by pass end time.


[View source]
def pass_possible?(location : LatLongAlt) #

Returns true if it's possible for the satellite to be visible from location.


[View source]
def predict(time) #

Returns true equator mean equinox (TEME) vectors for position and velocity from SGP4. Vectors are returned in the order position, velocity. Units are km and km/s.


[View source]
def satrec : Predict::SGP4::Elset #

[View source]
def tle : TLE #

[View source]