.. _api_reference: .. toctree:: :maxdepth: 2 :hidden: releases/index ### API ### The `miblab` python package provides an API to *miblab* functionality that is relevant across applications such as retrieving data or models, generating pdf reports, or deploying pipelines. This page provides an API reference guide for the package. .. raw:: html

Version history

For a version history see the :ref:`releases page `. .. currentmodule:: miblab .. raw:: html

Reporting

To access these functions, miblab must be installed with the `report` option: .. code-block:: console pip install miblab[report] All reporting functionality is wrapped up in a single class: .. autosummary:: :toctree: ./api/ :template: custom-class-template.rst Report .. raw:: html

Data

To access these functions, miblab must be installed with the `data` option: .. code-block:: console pip install miblab[data] APIs for upload and download to `Zenodo `_ and `OSF `_: .. autosummary:: :toctree: ./api/ :template: autosummary.rst zenodo_fetch osf_fetch osf_upload .. raw:: html

Deep-learning API

To access these functions, miblab must be installed with the `dlseg` option: .. code-block:: console pip install miblab[dlseg] Interfaces for deploying deep learning models. .. autosummary:: :toctree: ./api/ :template: autosummary.rst totseg kidney_pc_dixon kidney_dixon_fat_water