1.4. cpforager.GPS_TDR
- class cpforager.GPS_TDR(df, group, id, params)
A class to represent the GPS and TDR data of a central-place foraging seabird.
- __init__(df, group, id, params)
Constructor of a GPS_TDR object.
- Parameters:
df (pandas.DataFrame) – the dataframe containing
datetime
,longitude
,latitude
,pressure
andtemperature
columns. Type ofdatetime
column must be datetime64.group (str) – the string representing the group to which the GPS data belongs (e.g. species, year, fieldwork, etc.) useful for statistics and filtering.
id (str) – the string representing the unique identifier of the central-place foraging seabird.
params (dict) – the parameters dictionary.
- Variables:
df (pandas.DataFrame) – the dataframe containing the merged GPS and TDR data.
group (str) – The string representing the group to which the AXY data belongs (e.g. species, year, fieldwork, etc.) useful for statistics and filtering.
id (str) – The string representing the unique identifier of the central-place foraging seabird.
params (dict) – The dictionary containing the parameters used for the AXY data processing.
n_df (int) – the number of measures in the merged GPS and TDR recording.
gps (cpforager.GPS) – the GPS data of GPS_TDR at GPS resolution.
df_gps (pandas.DataFrame) – the dataframe containing the GPS data.
tdr (cpforager.TDR) – the TDR data of GPS_TDR at TDR resolution.
df_tdr (pandas.DataFrame) – the dataframe containing the TDR data.
start_datetime (datetime.datetime) – the starting datetime of the merged GPS and TDR recording.
end_datetime (datetime.datetime) – the ending datetime of the merged GPS and TDR recording.
resolution (float) – the time resolution of the GPS_TDR data in seconds estimated as the median value of the step times.
total_duration (float) – the total duration of the merged GPS and TDR recording in days.
Methods
__init__
(df, group, id, params)Constructor of a GPS_TDR object.
display_data_summary
([standalone])Print in terminal the GPS_TDR data summary.