1.5. cpforager.GPS_Collection
- class cpforager.GPS_Collection(gps_collection)
A class to represent a list of GPS data of a central-place foraging seabird.
- __init__(gps_collection)
Constructor of a GPS_Collection object.
- Parameters:
gps_collection (list[cpforager.GPS]) – the list of GPS.
- Variables:
gps_collection (list[cpforager.GPS]) – the list of GPS.
n_gps (int) – the total number of GPS included in the list.
n_trips (int) – the number of trips summed over every GPS included in the list.
trip_statistics_all (pandas.DataFrame) – the trip statistics dataframe merged over every GPS included in the list.
df_all (pandas.DataFrame) – the enhanced GPS dataframe merged over every GPS included in the list.
Methods
__init__
(gps_collection)Constructor of a GPS_Collection object.
display_data_summary
([standalone])Print in terminal the GPS_Collection data summary.
folium_map
(fig_dir, file_id, plot_params[, rand])Produce the html map with every GPS data colored randomly.
indiv_map_all
(fig_dir, file_id, plot_params)Produce the individual map of every GPS in collection.
maps_diag
(fig_dir, file_id, plot_params[, rand])Produce the maps with every GPS data.
plot_stats_summary
(fig_dir, file_id, plot_params)Produce the trip statistics summary of every GPS data.
to_SeabirdTracking
(metadata)Produce the dataframe formatted for Seabird Tracking Database from GPS_collection.