Obs
This module contains the class to manage observation in a GPS track
Points are referenced in geodetic coordinates
-
class tracklib.core.Obs.Obs(position, timestamp=None)[source]
Class to define an observation
-
__init__(position, timestamp=None)[source]
Constructor of Obs
class
- Parameters
-
-
__str__()[source]
String of observation
- Return type
str
-
copy()[source]
Copy the current object
- Return type
Obs
-
__check_call_geom1(obs1, obs2)
TODO
- Parameters
fname – TODO
obs1 (Obs
) – TODO
obs2 (Obs
) – TODO
-
__check_call_geom2(obs1, obs2)
TODO
- Parameters
fname – TODO
obs1 (Obs
) – TODO
obs2 (Obs
) – TODO
-
distanceTo(obs)[source]
Compute the distance between two observations
- Parameters
obs (Obs
) – Observation
- Return type
float
- Returns
A 3d distance
-
distance2DTo(obs)[source]
Compute the 2d distance between two observations
- Parameters
obs (Obs
) – Observation
- Return type
float
- Returns
A 2d distance
-
azimuthTo(obs)[source]
Compute the azimuth between two observations
- Parameters
obs (Obs
) – Observation
- Return type
float
- Returns
An azimuth
-
elevationTo(obs)[source]
Compute the elevation between two observations
- Parameters
obs (Obs
) – Observation
- Return type
float
- Returns
An Elevation