Skip to content

Commit

Permalink
Files to generate API doc
Browse files Browse the repository at this point in the history
  • Loading branch information
jeipollack committed Oct 16, 2023
1 parent 9815241 commit 8d2d56b
Show file tree
Hide file tree
Showing 32 changed files with 327 additions and 10 deletions.
32 changes: 23 additions & 9 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,41 @@
#
# For the full list of built-in configuration values, see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html
import sys
import os

sys.path.insert(0, os.path.abspath("src/wf_psf"))

# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information

project = 'wf-psf'
copyright = '2023, Tobias Liaudat, Jennifer Pollack, Sam Farrens'
author = 'Tobias Liaudat, Jennifer Pollack, Sam Farrens'
release = '1.0.0'
project = "wf-psf"
copyright = "2023, Tobias Liaudat, Jennifer Pollack, Sam Farrens"
author = "Tobias Liaudat, Jennifer Pollack, Sam Farrens"
release = "1.0.0"

# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration

extensions = []
extensions = [
"sphinx.ext.autodoc",
"sphinx.ext.doctest",
"sphinx.ext.intersphinx",
"sphinx.ext.napoleon",
"sphinx.ext.viewcode",
"numpydoc",
]

templates_path = ['_templates']
templates_path = ["_templates"]
exclude_patterns = []

intersphinx_mapping = {
"python": ("http://docs.python.org/3", None),
"numpy": ("https://numpy.org/doc/stable/", None),
}


# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output

html_theme = 'alabaster'
html_static_path = ['_static']
html_theme = "sphinx_rtd_theme"
html_static_path = ["_static"]
3 changes: 2 additions & 1 deletion docs/source/modules.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
wf-psf
wf_psf
======

.. toctree::
:maxdepth: 4

wf_psf
15 changes: 15 additions & 0 deletions docs/source/wf_psf.data.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
wf\_psf.data package
====================

.. automodule:: wf_psf.data
:members:
:undoc-members:
:show-inheritance:

Submodules
----------

.. toctree::
:maxdepth: 4

wf_psf.data.training_preprocessing
7 changes: 7 additions & 0 deletions docs/source/wf_psf.data.training_preprocessing.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
wf\_psf.data.training\_preprocessing module
===========================================

.. automodule:: wf_psf.data.training_preprocessing
:members:
:undoc-members:
:show-inheritance:
7 changes: 7 additions & 0 deletions docs/source/wf_psf.info.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
wf\_psf.info module
===================

.. automodule:: wf_psf.info
:members:
:undoc-members:
:show-inheritance:
7 changes: 7 additions & 0 deletions docs/source/wf_psf.metrics.metrics.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
wf\_psf.metrics.metrics module
==============================

.. automodule:: wf_psf.metrics.metrics
:members:
:undoc-members:
:show-inheritance:
7 changes: 7 additions & 0 deletions docs/source/wf_psf.metrics.metrics_interface.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
wf\_psf.metrics.metrics\_interface module
=========================================

.. automodule:: wf_psf.metrics.metrics_interface
:members:
:undoc-members:
:show-inheritance:
16 changes: 16 additions & 0 deletions docs/source/wf_psf.metrics.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
wf\_psf.metrics package
=======================

.. automodule:: wf_psf.metrics
:members:
:undoc-members:
:show-inheritance:

Submodules
----------

.. toctree::
:maxdepth: 4

wf_psf.metrics.metrics
wf_psf.metrics.metrics_interface
7 changes: 7 additions & 0 deletions docs/source/wf_psf.plotting.plot_optimisation_metrics.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
wf\_psf.plotting.plot\_optimisation\_metrics module
===================================================

.. automodule:: wf_psf.plotting.plot_optimisation_metrics
:members:
:undoc-members:
:show-inheritance:
7 changes: 7 additions & 0 deletions docs/source/wf_psf.plotting.plots_interface.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
wf\_psf.plotting.plots\_interface module
========================================

.. automodule:: wf_psf.plotting.plots_interface
:members:
:undoc-members:
:show-inheritance:
16 changes: 16 additions & 0 deletions docs/source/wf_psf.plotting.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
wf\_psf.plotting package
========================

.. automodule:: wf_psf.plotting
:members:
:undoc-members:
:show-inheritance:

Submodules
----------

.. toctree::
:maxdepth: 4

wf_psf.plotting.plot_optimisation_metrics
wf_psf.plotting.plots_interface
7 changes: 7 additions & 0 deletions docs/source/wf_psf.psf_models.psf_model_parametric.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
wf\_psf.psf\_models.psf\_model\_parametric module
=================================================

.. automodule:: wf_psf.psf_models.psf_model_parametric
:members:
:undoc-members:
:show-inheritance:
7 changes: 7 additions & 0 deletions docs/source/wf_psf.psf_models.psf_model_semiparametric.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
wf\_psf.psf\_models.psf\_model\_semiparametric module
=====================================================

.. automodule:: wf_psf.psf_models.psf_model_semiparametric
:members:
:undoc-members:
:show-inheritance:
7 changes: 7 additions & 0 deletions docs/source/wf_psf.psf_models.psf_models.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
wf\_psf.psf\_models.psf\_models module
======================================

.. automodule:: wf_psf.psf_models.psf_models
:members:
:undoc-members:
:show-inheritance:
21 changes: 21 additions & 0 deletions docs/source/wf_psf.psf_models.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
wf\_psf.psf\_models package
===========================

.. automodule:: wf_psf.psf_models
:members:
:undoc-members:
:show-inheritance:

Submodules
----------

.. toctree::
:maxdepth: 4

wf_psf.psf_models.psf_model_parametric
wf_psf.psf_models.psf_model_semiparametric
wf_psf.psf_models.psf_models
wf_psf.psf_models.tf_layers
wf_psf.psf_models.tf_modules
wf_psf.psf_models.tf_psf_field
wf_psf.psf_models.zernikes
7 changes: 7 additions & 0 deletions docs/source/wf_psf.psf_models.tf_layers.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
wf\_psf.psf\_models.tf\_layers module
=====================================

.. automodule:: wf_psf.psf_models.tf_layers
:members:
:undoc-members:
:show-inheritance:
7 changes: 7 additions & 0 deletions docs/source/wf_psf.psf_models.tf_modules.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
wf\_psf.psf\_models.tf\_modules module
======================================

.. automodule:: wf_psf.psf_models.tf_modules
:members:
:undoc-members:
:show-inheritance:
7 changes: 7 additions & 0 deletions docs/source/wf_psf.psf_models.tf_psf_field.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
wf\_psf.psf\_models.tf\_psf\_field module
=========================================

.. automodule:: wf_psf.psf_models.tf_psf_field
:members:
:undoc-members:
:show-inheritance:
7 changes: 7 additions & 0 deletions docs/source/wf_psf.psf_models.zernikes.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
wf\_psf.psf\_models.zernikes module
===================================

.. automodule:: wf_psf.psf_models.zernikes
:members:
:undoc-members:
:show-inheritance:
30 changes: 30 additions & 0 deletions docs/source/wf_psf.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
wf\_psf package
===============

.. automodule:: wf_psf
:members:
:undoc-members:
:show-inheritance:

Subpackages
-----------

.. toctree::
:maxdepth: 4

wf_psf.data
wf_psf.metrics
wf_psf.plotting
wf_psf.psf_models
wf_psf.sims
wf_psf.training
wf_psf.utils

Submodules
----------

.. toctree::
:maxdepth: 4

wf_psf.info
wf_psf.run
7 changes: 7 additions & 0 deletions docs/source/wf_psf.run.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
wf\_psf.run module
==================

.. automodule:: wf_psf.run
:members:
:undoc-members:
:show-inheritance:
7 changes: 7 additions & 0 deletions docs/source/wf_psf.sims.SimPSFToolkit.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
wf\_psf.sims.SimPSFToolkit module
=================================

.. automodule:: wf_psf.sims.SimPSFToolkit
:members:
:undoc-members:
:show-inheritance:
15 changes: 15 additions & 0 deletions docs/source/wf_psf.sims.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
wf\_psf.sims package
====================

.. automodule:: wf_psf.sims
:members:
:undoc-members:
:show-inheritance:

Submodules
----------

.. toctree::
:maxdepth: 4

wf_psf.sims.SimPSFToolkit
16 changes: 16 additions & 0 deletions docs/source/wf_psf.training.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
wf\_psf.training package
========================

.. automodule:: wf_psf.training
:members:
:undoc-members:
:show-inheritance:

Submodules
----------

.. toctree::
:maxdepth: 4

wf_psf.training.train
wf_psf.training.train_utils
7 changes: 7 additions & 0 deletions docs/source/wf_psf.training.train.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
wf\_psf.training.train module
=============================

.. automodule:: wf_psf.training.train
:members:
:undoc-members:
:show-inheritance:
7 changes: 7 additions & 0 deletions docs/source/wf_psf.training.train_utils.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
wf\_psf.training.train\_utils module
====================================

.. automodule:: wf_psf.training.train_utils
:members:
:undoc-members:
:show-inheritance:
7 changes: 7 additions & 0 deletions docs/source/wf_psf.utils.configs_handler.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
wf\_psf.utils.configs\_handler module
=====================================

.. automodule:: wf_psf.utils.configs_handler
:members:
:undoc-members:
:show-inheritance:
7 changes: 7 additions & 0 deletions docs/source/wf_psf.utils.graph_utils.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
wf\_psf.utils.graph\_utils module
=================================

.. automodule:: wf_psf.utils.graph_utils
:members:
:undoc-members:
:show-inheritance:
7 changes: 7 additions & 0 deletions docs/source/wf_psf.utils.io.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
wf\_psf.utils.io module
=======================

.. automodule:: wf_psf.utils.io
:members:
:undoc-members:
:show-inheritance:
7 changes: 7 additions & 0 deletions docs/source/wf_psf.utils.read_config.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
wf\_psf.utils.read\_config module
=================================

.. automodule:: wf_psf.utils.read_config
:members:
:undoc-members:
:show-inheritance:
19 changes: 19 additions & 0 deletions docs/source/wf_psf.utils.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
wf\_psf.utils package
=====================

.. automodule:: wf_psf.utils
:members:
:undoc-members:
:show-inheritance:

Submodules
----------

.. toctree::
:maxdepth: 4

wf_psf.utils.configs_handler
wf_psf.utils.graph_utils
wf_psf.utils.io
wf_psf.utils.read_config
wf_psf.utils.utils
7 changes: 7 additions & 0 deletions docs/source/wf_psf.utils.utils.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
wf\_psf.utils.utils module
==========================

.. automodule:: wf_psf.utils.utils
:members:
:undoc-members:
:show-inheritance:

0 comments on commit 8d2d56b

Please sign in to comment.