generated from ME-ICA/template-package
-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #121 from eurunuela/docs_example
Improvements to the docs
- Loading branch information
Showing
10 changed files
with
151 additions
and
141 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,28 @@ | ||
/* override table width restrictions */ | ||
@media screen and (min-width: 767px) { | ||
|
||
.wy-table-responsive table td { | ||
/* !important prevents the common CSS stylesheets from overriding | ||
.wy-table-responsive table td { | ||
/* !important prevents the common CSS stylesheets from overriding | ||
this as on RTD they are loaded after this stylesheet */ | ||
white-space: normal !important; | ||
} | ||
white-space: normal !important; | ||
} | ||
|
||
.wy-table-responsive { | ||
overflow: visible !important; | ||
} | ||
.wy-table-responsive { | ||
overflow: visible !important; | ||
} | ||
} | ||
|
||
div.admonition.caution { | ||
background: #FFC3C3 | ||
background: #ffc3c3; | ||
} | ||
.rst-content .caution .admonition-title { | ||
background: #FF6F6F | ||
background: #ff6f6f; | ||
} | ||
|
||
:root { | ||
--pst-color-primary: #b672da !important; | ||
--pst-color-link: #b672da !important; | ||
--pst-color-link-hover: #8c41af !important; | ||
--bs-link-color: #b672da !important; | ||
--bs-link-hover-color: #8c41af !important; | ||
--pst-color-inline-code-links: #46594f !important; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,108 +1,14 @@ | ||
(api-ref)= | ||
|
||
```{eval-rst} | ||
.. currentmodule:: pySPFM | ||
``` | ||
|
||
# API | ||
|
||
(api-pyspfm-ref)= | ||
|
||
## {mod}`pySPFM.workflows`: The main pySPFM workflow | ||
|
||
```{eval-rst} | ||
.. automodule:: pySPFM.workflows | ||
:no-members: | ||
:no-inherited-members: | ||
``` | ||
|
||
```{eval-rst} | ||
.. currentmodule:: pySPFM.workflows | ||
``` | ||
|
||
```{eval-rst} | ||
.. autosummary:: | ||
:toctree: generated/ | ||
:template: module.rst | ||
pySPFM.workflows.pySPFM | ||
pySPFM.workflows.auc_to_estimates | ||
``` | ||
|
||
(api-deconvolution-ref)= | ||
|
||
## {mod}`pySPFM.deconvolution`: Deconvolution methods | ||
|
||
```{eval-rst} | ||
.. automodule:: pySPFM.deconvolution | ||
:no-members: | ||
:no-inherited-members: | ||
``` | ||
|
||
```{eval-rst} | ||
.. currentmodule:: pySPFM.deconvolution | ||
``` | ||
|
||
```{eval-rst} | ||
.. autosummary:: | ||
:toctree: generated/ | ||
:template: function.rst | ||
pySPFM.deconvolution.debiasing | ||
pySPFM.deconvolution.fista | ||
pySPFM.deconvolution.hrf_generator | ||
pySPFM.deconvolution.lars | ||
pySPFM.deconvolution.select_lambda | ||
pySPFM.deconvolution.spatial_regularization | ||
pySPFM.deconvolution.stability_selection | ||
``` | ||
|
||
(api-io-ref)= | ||
|
||
## {mod}`pySPFM.io`: Input/Output methods | ||
|
||
```{eval-rst} | ||
.. automodule:: pySPFM.io | ||
:no-members: | ||
:no-inherited-members: | ||
``` | ||
|
||
```{eval-rst} | ||
.. currentmodule:: pySPFM.io | ||
``` | ||
|
||
```{eval-rst} | ||
.. autosummary:: | ||
:toctree: generated/ | ||
:template: function.rst | ||
pySPFM.io.read_data | ||
pySPFM.io.update_header | ||
pySPFM.io.write_data | ||
pySPFM.io.write_json | ||
``` | ||
|
||
(api-utils-ref)= | ||
|
||
## {mod}`pySPFM.utils`: Miscellaneous utility methods | ||
|
||
```{eval-rst} | ||
.. automodule:: pySPFM.utils | ||
:no-members: | ||
:no-inherited-members: | ||
``` | ||
|
||
```{eval-rst} | ||
.. currentmodule:: pySPFM.utils | ||
``` | ||
|
||
```{eval-rst} | ||
.. autosummary:: | ||
:toctree: generated/ | ||
:template: module.rst | ||
pySPFM.utils.setup_loggers | ||
pySPFM.utils.teardown_loggers | ||
# API Reference | ||
|
||
```{toctree} | ||
--- | ||
maxdepth: 2 | ||
caption: API Documentation | ||
--- | ||
api/workflows | ||
api/deconvolution | ||
api/io | ||
api/utils | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
|
||
# Deconvolution | ||
|
||
```{eval-rst} | ||
.. currentmodule:: pySPFM.deconvolution | ||
.. autosummary:: | ||
:toctree: ../generated/ | ||
:template: module.rst | ||
debiasing | ||
fista | ||
hrf_generator | ||
lars | ||
select_lambda | ||
spatial_regularization | ||
stability_selection | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Input/Output | ||
|
||
```{eval-rst} | ||
.. currentmodule:: pySPFM.io | ||
.. autosummary:: | ||
:toctree: ../generated/ | ||
:template: module.rst | ||
read_data | ||
update_header | ||
write_data | ||
write_json | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Utilities | ||
|
||
```{eval-rst} | ||
.. currentmodule:: pySPFM.utils | ||
.. autosummary:: | ||
:toctree: ../generated/ | ||
:template: module.rst | ||
setup_loggers | ||
teardown_loggers | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Workflows | ||
|
||
```{eval-rst} | ||
.. currentmodule:: pySPFM.workflows | ||
.. autosummary:: | ||
:toctree: ../generated/ | ||
:template: module.rst | ||
pySPFM | ||
auc_to_estimates | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
# Examples | ||
|
||
```{nbgallery} | ||
notebooks/examples.ipynb | ||
This is an example. | ||
|
||
``` | ||
<!-- ```{glue:} regularization_figure | ||
:doc: notebooks/examples.ipynb | ||
``` --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters