Skip to content

Commit

Permalink
Merge pull request #45 from quant-aq/dhhagan-feature-sc-2957
Browse files Browse the repository at this point in the history
Re-write docs to use notebooks for guides [sc-2957]
  • Loading branch information
dhhagan authored Feb 19, 2022
2 parents a222e28 + e37d21b commit 972d6ac
Show file tree
Hide file tree
Showing 55 changed files with 4,335 additions and 340 deletions.
1 change: 1 addition & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
source .venv/bin/activate
cd docs
make clean
make guides
make html
cd ..
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
*.sav

examples/ignore_this.ipynb
examples/development_private.ipynb

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ Documentation is available [here](https://quant-aq.github.io/py-smps/). Docs are
```sh
$ cd docs/
$ make clean
$ make guides
$ make html
$ cd ..
```
Expand Down
4 changes: 4 additions & 0 deletions docs/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,7 @@ help:
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

.PHONY: guides
guides:
make -C guides/
45 changes: 45 additions & 0 deletions docs/api/generated/smps.GenericParticleSizer.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
smps.GenericParticleSizer
=========================

.. currentmodule:: smps

.. autoclass:: GenericParticleSizer


.. automethod:: __init__


.. rubric:: Methods

.. autosummary::

~GenericParticleSizer.__init__
~GenericParticleSizer.copy
~GenericParticleSizer.dump
~GenericParticleSizer.integrate
~GenericParticleSizer.resample
~GenericParticleSizer.slice
~GenericParticleSizer.stats





.. rubric:: Attributes

.. autosummary::

~GenericParticleSizer.dddlogdp
~GenericParticleSizer.dlogdp
~GenericParticleSizer.dn
~GenericParticleSizer.dndlogdp
~GenericParticleSizer.ds
~GenericParticleSizer.dsdlogdp
~GenericParticleSizer.dv
~GenericParticleSizer.dvdlogdp
~GenericParticleSizer.midpoints
~GenericParticleSizer.s_multiplier
~GenericParticleSizer.scan_stats
~GenericParticleSizer.v_multiplier


23 changes: 23 additions & 0 deletions docs/api/generated/smps.fit.LogNormal.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
smps.fit.LogNormal
==================

.. currentmodule:: smps.fit

.. autoclass:: LogNormal


.. automethod:: __init__


.. rubric:: Methods

.. autosummary::

~LogNormal.__init__
~LogNormal.fit






24 changes: 24 additions & 0 deletions docs/api/generated/smps.fit.LogNormalFitResults.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
smps.fit.LogNormalFitResults
============================

.. currentmodule:: smps.fit

.. autoclass:: LogNormalFitResults


.. automethod:: __init__


.. rubric:: Methods

.. autosummary::

~LogNormalFitResults.__init__
~LogNormalFitResults.predict
~LogNormalFitResults.summary






6 changes: 6 additions & 0 deletions docs/api/generated/smps.io.load_sample.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
smps.io.load\_sample
====================

.. currentmodule:: smps.io

.. autofunction:: load_sample
6 changes: 6 additions & 0 deletions docs/api/generated/smps.io.smps_from_txt.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
smps.io.smps\_from\_txt
=======================

.. currentmodule:: smps.io

.. autofunction:: smps_from_txt
45 changes: 45 additions & 0 deletions docs/api/generated/smps.models.AlphasenseOPCN2.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
smps.models.AlphasenseOPCN2
===========================

.. currentmodule:: smps.models

.. autoclass:: AlphasenseOPCN2


.. automethod:: __init__


.. rubric:: Methods

.. autosummary::

~AlphasenseOPCN2.__init__
~AlphasenseOPCN2.copy
~AlphasenseOPCN2.dump
~AlphasenseOPCN2.integrate
~AlphasenseOPCN2.resample
~AlphasenseOPCN2.slice
~AlphasenseOPCN2.stats





.. rubric:: Attributes

.. autosummary::

~AlphasenseOPCN2.dddlogdp
~AlphasenseOPCN2.dlogdp
~AlphasenseOPCN2.dn
~AlphasenseOPCN2.dndlogdp
~AlphasenseOPCN2.ds
~AlphasenseOPCN2.dsdlogdp
~AlphasenseOPCN2.dv
~AlphasenseOPCN2.dvdlogdp
~AlphasenseOPCN2.midpoints
~AlphasenseOPCN2.s_multiplier
~AlphasenseOPCN2.scan_stats
~AlphasenseOPCN2.v_multiplier


45 changes: 45 additions & 0 deletions docs/api/generated/smps.models.AlphasenseOPCN3.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
smps.models.AlphasenseOPCN3
===========================

.. currentmodule:: smps.models

.. autoclass:: AlphasenseOPCN3


.. automethod:: __init__


.. rubric:: Methods

.. autosummary::

~AlphasenseOPCN3.__init__
~AlphasenseOPCN3.copy
~AlphasenseOPCN3.dump
~AlphasenseOPCN3.integrate
~AlphasenseOPCN3.resample
~AlphasenseOPCN3.slice
~AlphasenseOPCN3.stats





.. rubric:: Attributes

.. autosummary::

~AlphasenseOPCN3.dddlogdp
~AlphasenseOPCN3.dlogdp
~AlphasenseOPCN3.dn
~AlphasenseOPCN3.dndlogdp
~AlphasenseOPCN3.ds
~AlphasenseOPCN3.dsdlogdp
~AlphasenseOPCN3.dv
~AlphasenseOPCN3.dvdlogdp
~AlphasenseOPCN3.midpoints
~AlphasenseOPCN3.s_multiplier
~AlphasenseOPCN3.scan_stats
~AlphasenseOPCN3.v_multiplier


45 changes: 45 additions & 0 deletions docs/api/generated/smps.models.GenericParticleSizer.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
smps.models.GenericParticleSizer
================================

.. currentmodule:: smps.models

.. autoclass:: GenericParticleSizer


.. automethod:: __init__


.. rubric:: Methods

.. autosummary::

~GenericParticleSizer.__init__
~GenericParticleSizer.copy
~GenericParticleSizer.dump
~GenericParticleSizer.integrate
~GenericParticleSizer.resample
~GenericParticleSizer.slice
~GenericParticleSizer.stats





.. rubric:: Attributes

.. autosummary::

~GenericParticleSizer.dddlogdp
~GenericParticleSizer.dlogdp
~GenericParticleSizer.dn
~GenericParticleSizer.dndlogdp
~GenericParticleSizer.ds
~GenericParticleSizer.dsdlogdp
~GenericParticleSizer.dv
~GenericParticleSizer.dvdlogdp
~GenericParticleSizer.midpoints
~GenericParticleSizer.s_multiplier
~GenericParticleSizer.scan_stats
~GenericParticleSizer.v_multiplier


45 changes: 45 additions & 0 deletions docs/api/generated/smps.models.Grimm11D.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
smps.models.Grimm11D
====================

.. currentmodule:: smps.models

.. autoclass:: Grimm11D


.. automethod:: __init__


.. rubric:: Methods

.. autosummary::

~Grimm11D.__init__
~Grimm11D.copy
~Grimm11D.dump
~Grimm11D.integrate
~Grimm11D.resample
~Grimm11D.slice
~Grimm11D.stats





.. rubric:: Attributes

.. autosummary::

~Grimm11D.dddlogdp
~Grimm11D.dlogdp
~Grimm11D.dn
~Grimm11D.dndlogdp
~Grimm11D.ds
~Grimm11D.dsdlogdp
~Grimm11D.dv
~Grimm11D.dvdlogdp
~Grimm11D.midpoints
~Grimm11D.s_multiplier
~Grimm11D.scan_stats
~Grimm11D.v_multiplier


45 changes: 45 additions & 0 deletions docs/api/generated/smps.models.Modulair.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
smps.models.Modulair
====================

.. currentmodule:: smps.models

.. autoclass:: Modulair


.. automethod:: __init__


.. rubric:: Methods

.. autosummary::

~Modulair.__init__
~Modulair.copy
~Modulair.dump
~Modulair.integrate
~Modulair.resample
~Modulair.slice
~Modulair.stats





.. rubric:: Attributes

.. autosummary::

~Modulair.dddlogdp
~Modulair.dlogdp
~Modulair.dn
~Modulair.dndlogdp
~Modulair.ds
~Modulair.dsdlogdp
~Modulair.dv
~Modulair.dvdlogdp
~Modulair.midpoints
~Modulair.s_multiplier
~Modulair.scan_stats
~Modulair.v_multiplier


Loading

0 comments on commit 972d6ac

Please sign in to comment.