class twisted.positioning.base.Satellite(PositioningBeacon): (source)
A 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 | signalToNoiseRatio | The signal to noise ratio of the signal coming from this satellite. |
| Method | __init__ | Initializes a satellite object. |
| Method | __repr__ | Returns a string representation of this Satellite. |
Inherited from PositioningBeacon:
| Instance Variable | identifier | A unique identifier for this beacon. The type is dependent on the implementation, but must be immutable. |
| Method | __hash__ | Returns the hash of the identifier for this beacon. |
Initializes a satellite object.
| Parameters | identifier | The PRN (unique identifier) of this satellite. (type: int) |
| azimuth | The azimuth of the satellite (see instance variable documentation). (type: float) | |
| elevation | The elevation of the satellite (see instance variable documentation). (type: float) | |
| signalToNoiseRatio | The signal to noise ratio of the connection to this satellite (see instance variable documentation). (type: float) |
Returns a string representation of this Satellite.
| Returns | The string representation. (type: str) | |