class documentation
class Satellite(PositioningBeacon): (source)
Constructor: Satellite(identifier, azimuth, elevation, signalToNoiseRatio)
A satellite.
Method | __init__ |
Initializes a satellite object. |
Method | __repr__ |
Returns a string representation of this Satellite. |
Instance Variable | azimuth |
The azimuth of the satellite. This is the heading (positive angle relative to true north) where the satellite appears to be to the device. |
Instance Variable | elevation |
The (positive) angle above the horizon where this satellite appears to be to the device. |
Instance Variable | signal |
The signal to noise ratio of the signal coming from this satellite. |
Inherited from PositioningBeacon
:
Method | __hash__ |
Returns the hash of the identifier for this beacon. |
Instance Variable | identifier |
The unique identifier for this beacon. This is usually an integer. For GPS, this is also known as the PRN. |
Initializes a satellite object.
Parameters | |
identifier:int | The PRN (unique identifier) of this satellite. |
azimuth:float | The azimuth of the satellite (see instance variable documentation). |
elevation:float | The elevation of the satellite (see instance variable documentation). |
signal | The signal to noise ratio of the connection to this satellite (see instance variable documentation). |
The azimuth of the satellite. This is the heading (positive angle relative to true north) where the satellite appears to be to the device.