.. _sec-examples:

.. automodule:: cpforager
   :members:
   :undoc-members:
   :show-inheritance:
   :no-index:

Examples
--------------------------

Examples showing how to simply benefit from **cpforager** package with your biologging data.

GPS
^^^^^^^^^^^^^^^^^^^^^^^^^^
.. literalinclude::  _static/examples/demo_gps.py

.. only:: html

   .. image:: _static/examples/BRA_FDN_MEI_2016-09-15_SSUL_01_T32840_NA_GPS_IGU120_BR023_LOC_diag.png
      :align: center
   .. image:: _static/examples/BRA_FDN_MEI_2016-09-15_SSUL_01_T32840_NA_GPS_IGU120_BR023_LOC_map.png
      :align: center

TDR
^^^^^^^^^^^^^^^^^^^^^^^^^^
.. literalinclude::  _static/examples/demo_tdr.py

.. only:: html

.. image:: _static/examples/BRA_FDN_MEI_2022-04-26_SDAC_01_U61556_F_TDR_AXY_RT10_UTC_diag.png
   :align: center

AXY
^^^^^^^^^^^^^^^^^^^^^^^^^^
.. literalinclude::  _static/examples/demo_axy.py

.. only:: html

.. image:: _static/examples/BRA_FDN_MEI_2022-04-26_SDAC_01_U61556_F_GPS_AXY_RT10_UTC_diag.png
   :align: center

GPS_TDR
^^^^^^^^^^^^^^^^^^^^^^^^^^
.. literalinclude::  _static/examples/demo_gps_tdr.py

.. only:: html

.. image:: _static/examples/PER_PSC_PSC_2008-11-25_SVAR_06_5006_F_GPSxTDR_diag.png
   :align: center
.. image:: _static/examples/PER_PSC_PSC_2008-11-25_SVAR_06_5006_F_GPSxTDR_map.png
   :align: center

GPS_Collection
^^^^^^^^^^^^^^^^^^^^^^^^^^
.. literalinclude::  _static/examples/demo_gps_collection.py

.. only:: html

.. image:: _static/examples/maps_PER_PSC_2012_11.png
   :align: center
.. image:: _static/examples/trip_statistics_PER_PSC_2012_11.png
   :align: center
.. image:: _static/examples/indiv_map_all.png
   :align: center

TDR_Collection
^^^^^^^^^^^^^^^^^^^^^^^^^^
.. literalinclude::  _static/examples/demo_tdr_collection.py

.. only:: html

.. image:: _static/examples/indiv_depth_all.png
   :align: center
.. image:: _static/examples/dive_statistics_PER_PSC_2008_11.png
   :align: center

AXY_Collection
^^^^^^^^^^^^^^^^^^^^^^^^^^
.. literalinclude::  _static/examples/demo_axy_collection.py

GPS_TDR_Collection
^^^^^^^^^^^^^^^^^^^^^^^^^^
.. literalinclude::  _static/examples/demo_gps_tdr_collection.py