2.3. cpforager.AXY
- class cpforager.AXY(df, group, id, params)
Bases:
objectA class to represent the AXY data of a central-place foraging seabird.
- __init__(df, group, id, params)
Constructor of an AXY object.
- Parameters:
df (pandas.DataFrame) – the dataframe containing
datetime,ax,ay,az,longitude,latitude,pressureandtemperaturecolumns. Type ofdatetimecolumn must be datetime64.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 parameters dictionary.
- Variables:
df (pandas.DataFrame) – the dataframe containing the raw and processed AXY 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 AXY recording.
gps (cpforager.GPS) – the GPS data of AXY at GPS resolution.
df_gps (pandas.DataFrame) – the dataframe containing AXY data at GPS resolution.
tdr (cpforager.TDR) – the TDR data of AXY at TDR resolution.
df_tdr (pandas.DataFrame) – the dataframe containing AXY data at TDR resolution.
start_datetime (datetime.datetime) – the starting datetime of the AXY recording.
end_datetime (datetime.datetime) – the ending datetime of the AXY recording.
frequency (float) – the frequency of the AXY data in Hz.
total_duration (float) – the total duration of the AXY recording in days.
max_odba (float) – the maximum overall dynamical body acceleration.
median_odba (float) – the median overall dynamical body acceleration.
max_vedba (float) – the maximum vectorial dynamical body acceleration.
median_vedba (float) – the median vectorial dynamical body acceleration.
circ_mean_pitch (float) – the circular mean of pitch.
circ_mean_roll (float) – the circular mean of roll.
2.3.1. Methods
|
Print in terminal the AXY data summary. |
|
Produce the html map of the GPS data with the possibility to choose a color gradient. |
|
Produce the full diagnostic of the AXY data. |
|
Interpolate longitude and latitude at a given datetime. |
|
Produce the maps of the GPS data. |