class documentation

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 signalToNoiseRatio 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.
def __init__(self, identifier, azimuth=None, elevation=None, signalToNoiseRatio=None): (source)

Initializes a satellite object.

Parameters
identifier:intThe PRN (unique identifier) of this satellite.
azimuth:floatThe azimuth of the satellite (see instance variable documentation).
elevation:floatThe elevation of the satellite (see instance variable documentation).
signalToNoiseRatio:floatThe signal to noise ratio of the connection to this satellite (see instance variable documentation).
def __repr__(self) -> str: (source)

Returns a string representation of this Satellite.

Returns
strThe string representation.

The azimuth of the satellite. This is the heading (positive angle relative to true north) where the satellite appears to be to the device.

elevation = (source)

The (positive) angle above the horizon where this satellite appears to be to the device.

signalToNoiseRatio = (source)

The signal to noise ratio of the signal coming from this satellite.