artemis_gnss.data package
Submodules
artemis_gnss.data.clean_output module
Fields returned by the clean process Created on 20/09/24
- class artemis_gnss.data.clean_output.CleanOutput
Bases:
objectClass containing the fields returned by the clean process
- Parameters:
attrs – place for scalar values
points – initial trace recordings
match – map-matched points
route – list of links representing the full trajectory
- debug: dict
- displacements: List[DataFrame]
- get_displacement_table() DataFrame
- init_last_trip_edit: DataFrame = None
- init_last_trip_has_changed: bool = None
artemis_gnss.data.matched_trace module
Object returned by the clean process for one trip Contains fields for the trace, the map-matched points and the full map-matched route Created on 20/09/24
- class artemis_gnss.data.matched_trace.MatchedTrace
Bases:
objectClass representing a trace with additional representations
- Parameters:
attrs – place for scalar values
points – initial trace recordings
match – map-matched points
route – list of links representing the full trajectory
- attrs: dict
- match: DataFrame = None
- points: DataFrame
- route: DataFrame = None
artemis_gnss.data.trace module
Standard data fields to represent a GPS trace The code uses pandas.DataFrame for internal usage Created on 20/09/24
- class artemis_gnss.data.trace.Trace
Bases:
objectClass with standard field names to represent a trace
- Parameters:
attrs – attributes
time – time in seconds, relative to attrs[“timestamp”]
timestamp – timestamp as np.datetime64
speed – speed in m/s
longitude – longitude coordinate in °WGS
latitude – latitude coordinate in °WGS
hdop – horizontal GPS dilution in meters
elevation – elevation in meters
heading – heading in radians
- attrs: TraceAttrs
- elevation: ndarray[tuple[Any, ...], dtype[float64]] = None
- hdop: ndarray[tuple[Any, ...], dtype[float64]] = None
- heading: ndarray[tuple[Any, ...], dtype[float64]] = None
- latitude: ndarray[tuple[Any, ...], dtype[float64]] = None
- longitude: ndarray[tuple[Any, ...], dtype[float64]] = None
- speed: ndarray[tuple[Any, ...], dtype[float64]] = None
- time: ndarray[tuple[Any, ...], dtype[float64]] = None
- timestamp: ndarray[tuple[Any, ...], dtype[datetime64]] = None
- to_dataframe() DataFrame
- to_dict() dict
- class artemis_gnss.data.trace.TraceAttrs(timestamp: datetime64 = None, first_timeval: float = None, id: str = None)
Bases:
objectClass to represent standard trace attributes
- id: str = None
- timestamp: datetime64 = None
value of time for the first sample
- Type:
- to_dict() dict
Module contents
Package for data structures Created on 20/09/24