Skip to content

Commit

Permalink
API docs (#337)
Browse files Browse the repository at this point in the history
* initial setup of api docs

* reformat

* added testing

* added testing

* added imaging and segmentation extractors setup and numpy

* added nwb extractors

* added memmap extractors

* added caiman

* added hdf5

* added inscopix

* added miniscope

* added sbx

* added cnmfe

* added extract

* added sima

* added suite2p

* added bruker

* added micromanager

* added scanimage

* removed old api and renamed new api

* fixed underlines

* fixed caiman docstrings

* updated changelog

* removed redundant module docstrings

* Revert "removed redundant module docstrings"

This reverts commit 9b33075.

* removed class section of module docstrings

* Revert "removed class section of module docstrings"

This reverts commit 4c96f57.

* switched inscopix to full path

* switched inscopix to automodule

* private members = False

* remove napoleon private check

* pinned roiextractors dependency on api_docs branch

* removed roiextractors from requirements-rtd

* added local pip install to .readthedocs.yml
  • Loading branch information
pauladkisson authored May 24, 2024
1 parent df649c0 commit 3b670d7
Show file tree
Hide file tree
Showing 45 changed files with 154 additions and 336 deletions.
2 changes: 2 additions & 0 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ build:
python:
install:
- requirements: requirements-rtd.txt
- method: pip
path: .

sphinx:
configuration: docs/source/conf.py
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

* Add InscopixImagingExtractor: [#276](https://github.com/catalystneuro/roiextractors/pull/276)
* Updated testing workflows to include python 3.12, m1/intel macos, and dev tests to check neuroconv: [PR #317](https://github.com/catalystneuro/roiextractors/pull/317)
* Added API documentation: [#337](https://github.com/catalystneuro/roiextractors/pull/337)

### Fixes

Expand Down
8 changes: 0 additions & 8 deletions docs/source/api.rst

This file was deleted.

14 changes: 14 additions & 0 deletions docs/source/api/base_imagingextractors.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Base ImagingExtractors
======================

ImagingExtractor
----------------
.. automodule:: roiextractors.imagingextractor

MultiImagingExtractor
---------------------
.. automodule:: roiextractors.multiimagingextractor

VolumetricImagingExtractor
--------------------------
.. automodule:: roiextractors.volumetricimagingextractor
10 changes: 10 additions & 0 deletions docs/source/api/base_segmentationextractors.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Base SegmentationExtractors
===========================

SegmentationExtractor
---------------------
.. automodule:: roiextractors.segmentationextractor

MultiSegmentationExtractor
--------------------------
.. automodule:: roiextractors.multisegmentationextractor
3 changes: 3 additions & 0 deletions docs/source/api/extraction_tools.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Extraction Tools
----------------
.. automodule:: roiextractors.extraction_tools
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
BrukerTiffImagingExtractors
---------------------------
.. automodule:: roiextractors.extractors.tiffimagingextractors.brukertiffimagingextractor
3 changes: 3 additions & 0 deletions docs/source/api/imaging_extractors/hdf5imagingextractor.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Hdf5ImagingExtractor
--------------------
.. autoclass:: roiextractors.Hdf5ImagingExtractor
17 changes: 17 additions & 0 deletions docs/source/api/imaging_extractors/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
ImagingExtractors
=================

.. toctree::
:maxdepth: 1

numpyimagingextractor
nwbimagingextractor
memmapimagingextractors
hdf5imagingextractor
inscopiximagingextractor
miniscopeimagingextractor
sbximagingextractor
brukertiffimagingextractors
micromanagertiffimagingextractor
tiffimagingextractor
scanimagetiffimagingextractors
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
InscopixImagingExtractor
------------------------
.. automodule:: roiextractors.extractors.inscopixextractors.inscopiximagingextractor
10 changes: 10 additions & 0 deletions docs/source/api/imaging_extractors/memmapimagingextractors.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
MemmapImagingExtractors
=======================

MemmapImagingExtractor
----------------------
.. autoclass:: roiextractors.MemmapImagingExtractor

NumpyMemmapImagingExtractor
---------------------------
.. autoclass:: roiextractors.NumpyMemmapImagingExtractor
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
MicroManagerTiffImagingExtractor
--------------------------------
.. autoclass:: roiextractors.MicroManagerTiffImagingExtractor
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
MiniscopeImagingExtractor
-------------------------
.. autoclass:: roiextractors.MiniscopeImagingExtractor
3 changes: 3 additions & 0 deletions docs/source/api/imaging_extractors/numpyimagingextractor.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
NumpyImagingExtractor
---------------------
.. autoclass:: roiextractors.NumpyImagingExtractor
3 changes: 3 additions & 0 deletions docs/source/api/imaging_extractors/nwbimagingextractor.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
NwbImagingExtractor
-------------------
.. autoclass:: roiextractors.NwbImagingExtractor
3 changes: 3 additions & 0 deletions docs/source/api/imaging_extractors/sbximagingextractor.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SbxImagingExtractor
--------------------
.. autoclass:: roiextractors.SbxImagingExtractor
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
ScanImageTiff
=============

ScanImageTiffImagingExtractors
-------------------------------
.. automodule:: roiextractors.extractors.tiffimagingextractors.scanimagetiffimagingextractor

ScanImageTiffUtils
------------------
.. automodule:: roiextractors.extractors.tiffimagingextractors.scanimagetiff_utils
3 changes: 3 additions & 0 deletions docs/source/api/imaging_extractors/tiffimagingextractor.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
TiffImagingExtractor
--------------------
.. autoclass:: roiextractors.TiffImagingExtractor
12 changes: 12 additions & 0 deletions docs/source/api/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
API documentation
=================

.. toctree::
:maxdepth: 1

base_imagingextractors
base_segmentationextractors
extraction_tools
testing
imaging_extractors/index
segmentation_extractors/index
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
CaimanSegmentationExtractor
---------------------------
.. autoclass:: roiextractors.CaimanSegmentationExtractor
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
CnmfeSegmentationExtractor
--------------------------
.. autoclass:: roiextractors.CnmfeSegmentationExtractor
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
ExtractSegmentationExtractors
=============================
.. automodule:: roiextractors.extractors.schnitzerextractor.extractsegmentationextractor
13 changes: 13 additions & 0 deletions docs/source/api/segmentation_extractors/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
SegmentationExtractors
======================

.. toctree::
:maxdepth: 1

numpysegmentationextractor
nwbsegmentationextractor
caimansegmentationextractor
cnmfesegmentationextractor
extractsegmentationextractors
simasegmentationextractor
suite2psegmentationextractor
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
NumpySegmentationExtractor
--------------------------
.. autoclass:: roiextractors.NumpySegmentationExtractor
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
NwbSegmentationExtractor
------------------------
.. autoclass:: roiextractors.NwbSegmentationExtractor
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
SimaSegmentationExtractor
-------------------------
.. autoclass:: roiextractors.SimaSegmentationExtractor
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Suite2pSegmentationExtractor
----------------------------
.. autoclass:: roiextractors.Suite2pSegmentationExtractor
10 changes: 10 additions & 0 deletions docs/source/api/testing.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Testing
=======

Testing
-------
.. automodule:: roiextractors.testing

Toy Examples
------------
.. automodule:: roiextractors.example_datasets.toy_example
8 changes: 0 additions & 8 deletions docs/source/build_api/modules.rst

This file was deleted.

21 changes: 0 additions & 21 deletions docs/source/build_api/roiextractors.example_datasets.rst

This file was deleted.

21 changes: 0 additions & 21 deletions docs/source/build_api/roiextractors.extractors.caiman.rst

This file was deleted.

This file was deleted.

21 changes: 0 additions & 21 deletions docs/source/build_api/roiextractors.extractors.numpyextractors.rst

This file was deleted.

21 changes: 0 additions & 21 deletions docs/source/build_api/roiextractors.extractors.nwbextractors.rst

This file was deleted.

25 changes: 0 additions & 25 deletions docs/source/build_api/roiextractors.extractors.rst

This file was deleted.

This file was deleted.

21 changes: 0 additions & 21 deletions docs/source/build_api/roiextractors.extractors.simaextractor.rst

This file was deleted.

Loading

0 comments on commit 3b670d7

Please sign in to comment.