Welcome!#

This is documentation for PyOPIA: Python Ocean Particle Image Analysis, hosted by SINTEF Ocean, in collaboration with University of Plymouth, NTNU, The MBA, George Washington University, and National Oceanography Center (Southampton). We hope to encourage wider collaboration on analysis tools for ocean particles and welcome new contributors!

PyOPIA started in Feb. 2022 as a ‘spin-off’ from elements of PySilCam that could be relevant for other hardware and image types, including holography.

The code repository for PyOPIA can be found here.

Pipelines#

PyOPIA aims to provide a pipeline-based workflow as a standard for analysis of particle images in the ocean.

This pipeline should be consistent across different instruments (hardware), and therefore has flexibility to adapt analysis steps to meet instrument-specific processing needs (i.e. holographic reconstruction), while maintaining a traceable workflow that is attached as metadata to a standard output file (HDF5) that helps users follow FAIR data principles.

See pyopia.pipeline.Pipeline for more details and examples of how to process images with PyOPIA.

A function-based toolbox#

PyOPIA tools are organised into the following modules:

You can combine these tools for exploring different analysis approaches (i.e. in notebooks). We hope this can help more exploratory development and contributions to the PyOPIA code.

If you are analysing data for publication, we recommend using the pyopia.pipeline.Pipeline standard so that your analysis steps are documented and the output format is more easily shareable.

Full documentation for the code is here

Installing#

Users are expected to be familiar with Python, and have Python, pip. You can then install PyOPIA like this:

pip install pyopia

We would usually recommend installing within a virtual python environment, which you can read more about here.

If you want to use PyOPIA’s Classificaiton module, you need to also install the extra classification dependencies, like this:

pip install pyopia[classification]

or (for Apple silicon)

pip install pyopia[classification-arm64]