Skip to content

Commit

Permalink
update sphinx documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Henley13 committed Jan 25, 2022
1 parent 8a075d2 commit ede24a7
Show file tree
Hide file tree
Showing 8 changed files with 24 additions and 21 deletions.
4 changes: 2 additions & 2 deletions docs/source/classification/features.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ Features engineering

.. currentmodule:: bigfish.classification

Input coordinates preparation
=============================
Prepare input coordinates
=========================

Format input coordinates and compute intermediary results to prepare features
computation:
Expand Down
2 changes: 2 additions & 0 deletions docs/source/detection/spots.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,11 @@ that limits the possibility to scale a spot detection. Our method includes a
heuristic function to to automatically set this threshold:

* :func:`bigfish.detection.automated_threshold_setting`
* :func:`bigfish.detection.get_breaking_point`
* :func:`bigfish.detection.get_elbow_values`

.. autofunction:: automated_threshold_setting
.. autofunction:: get_breaking_point
.. autofunction:: get_elbow_values

------------
Expand Down
3 changes: 0 additions & 3 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,6 @@ API reference

utils/utils

* :ref:`Utility functions<utils overview>`: Sanity checks, get constant values,
compute hash, save plots, etc...

------------

Support
Expand Down
4 changes: 2 additions & 2 deletions docs/source/plot/plot_detection.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.. _plot_detection overview:

Detection plots
***************
Detection plot
**************

.. currentmodule:: bigfish.plot

Expand Down
4 changes: 2 additions & 2 deletions docs/source/plot/plot_image.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.. _plot_image overview:

Field of view plots
*******************
Field of view plot
******************

.. currentmodule:: bigfish.plot

Expand Down
4 changes: 2 additions & 2 deletions docs/source/plot/plot_segmentation.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.. _plot_segmentation overview:

Segmentation plots
******************
Segmentation plot
*****************

.. currentmodule:: bigfish.plot

Expand Down
18 changes: 12 additions & 6 deletions docs/source/segmentation/postprocessing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,13 @@ Clean segmentation results:
* :func:`bigfish.segmentation.clean_segmentation`
* :func:`bigfish.segmentation.remove_disjoint`

Match nuclei and cells:

* :func:`bigfish.segmentation.match_nuc_cell`

See an example of application `here <https://github.com/fish-quant/big-fish-
examples/blob/master/notebooks/4%20-%20Segment%20nuclei%20and%20cells.ipynb>`_.

.. autofunction:: label_instances
.. autofunction:: merge_labels
.. autofunction:: clean_segmentation
.. autofunction:: remove_disjoint
.. autofunction:: match_nuc_cell

------------

Expand All @@ -48,4 +43,15 @@ Compute statistics for each segmented instance:
.. autofunction:: compute_mean_diameter
.. autofunction:: compute_mean_convexity_ratio
.. autofunction:: compute_surface_ratio
.. autofunction:: count_instances
.. autofunction:: count_instances

------------

Match cells and nuclei
======================

.. currentmodule:: bigfish.multistack

Match nuclei and cells:

.. autofunction:: match_nuc_cell
6 changes: 2 additions & 4 deletions docs/source/utils/utils.rst
Original file line number Diff line number Diff line change
Expand Up @@ -57,20 +57,18 @@ Compute moving average

------------

Spot detection utilities
========================
Convert pixels and nanometers
=============================

.. currentmodule:: bigfish.detection

* :func:`bigfish.detection.convert_spot_coordinates`
* :func:`bigfish.detection.get_object_radius_pixel`
* :func:`bigfish.detection.get_object_radius_nm`
* :func:`bigfish.detection.get_breaking_point`

.. autofunction:: convert_spot_coordinates
.. autofunction:: get_object_radius_pixel
.. autofunction:: get_object_radius_nm
.. autofunction:: get_breaking_point

------------

Expand Down

0 comments on commit ede24a7

Please sign in to comment.