2.5. cpforager.GPS_Collection

class cpforager.GPS_Collection(gps_collection)

Bases: object

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.

2.5.1. Methods

cpforager.GPS_Collection.display_data_summary([...])

Print in terminal the GPS_Collection data summary.

cpforager.GPS_Collection.folium_map(fig_dir, ...)

Produce the html map with every GPS data colored by seabird id.

cpforager.GPS_Collection.indiv_map_all(...)

Produce the individual map of every GPS in collection.

cpforager.GPS_Collection.maps_diag(fig_dir, ...)

Produce the maps with every GPS data.

cpforager.GPS_Collection.plot_stats_summary(...)

Produce the trip statistics summary of every GPS data.

cpforager.GPS_Collection.to_SeabirdTracking(...)

Produce the dataframe formatted for Seabird Tracking Database from GPS_collection.