Skip to content

Commit

Permalink
start updating make files to new naming
Browse files Browse the repository at this point in the history
  • Loading branch information
jkosciessa committed Jun 21, 2024
1 parent b1bf0ff commit cb90618
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 31 deletions.
4 changes: 2 additions & 2 deletions doc/API/datatypes.rst
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
Data Types
===================================

.. autoclass:: whobpyt.datatypes.Recording
.. autoclass:: whobpyt.datatypes.Timeseries
:members:
:undoc-members:
:special-members: __init__

.. autoclass:: whobpyt.datatypes.par
.. autoclass:: whobpyt.datatypes.Parameter
:members:
:undoc-members:
:special-members: __init__
Expand Down
23 changes: 4 additions & 19 deletions doc/API/models.rst
Original file line number Diff line number Diff line change
@@ -1,27 +1,12 @@
Models
===================================

.. autoclass:: whobpyt.models.JansenRit.RNNJANSEN
:members: info, createIC, createDelayIC, setModelParameters, forward
.. autoclass:: whobpyt.models.jansen_rit.JansenRitParams
:members: info, createIC, createDelayIC, setModelSCParameters, forward
:undoc-members:
:special-members: __init__

.. autoclass:: whobpyt.models.RWW.RNNRWW
:members: info, createIC, setModelParameters, forward
:undoc-members:
:special-members: __init__

.. autoclass:: whobpyt.models.RWWEI2.RWWEI2
:members: info, createIC, setModelParameters, forward
:undoc-members:
:special-members: __init__

.. autoclass:: whobpyt.models.BOLD.BOLD_Layer
:members: info, createIC, setModelParameters, forward
:undoc-members:
:special-members: __init__

.. autoclass:: whobpyt.models.EEG.EEG_Layer
:members: info, createIC, setModelParameters, forward
.. autoclass:: whobpyt.models.wong_wang.ReducedWongWangModel
:members: info, createIC, createDelayIC, setModelSCParameters, forward
:undoc-members:
:special-members: __init__
2 changes: 0 additions & 2 deletions doc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
# You can set these variables from the command line.
SPHINXOPTS =
SPHINXBUILD = sphinx-build
#SPHINXPROJ = fooof
SPHINXPROJ = whobpyt
SOURCEDIR = .
BUILDDIR = _build
Expand Down Expand Up @@ -50,7 +49,6 @@ install:
# --no-checkout just fetches the root folder without content
# --depth 1 is a speed optimization since we don't need the history prior to the last commit
# -b gh-pages fetches only the branch for the gh-pages
#git clone -b gh-pages --single-branch --no-checkout --depth 1 https://github.com/fooof-tools/fooof _build/gh_pages
git clone -b gh-pages --single-branch --no-checkout --depth 1 [email protected]:griffithslab/whobpyt _build/gh_pages
# A .nojekyll file tells Github pages to bypass Jekyll processing
touch _build/gh_pages/.nojekyll
Expand Down
6 changes: 0 additions & 6 deletions doc/usage.rst

This file was deleted.

2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ mne
# Docs requirements
sphinx
#sphinx==3.1.1
sphinx-gallery==0.8.1
sphinx_gallery==0.8.1
sphinx_rtd_theme #==0.5.0
sphinx-tabs==1.3.0
sphinx-copybutton==0.3.1
Expand Down
2 changes: 1 addition & 1 deletion whobpyt/models/wong_wang/wong_wang.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class ReducedWongWangModel(AbstractNeuralModel):
A function that returns a dictionary with model information.
createIC(self, ver)
A function to return an initial state tensor for the model.
setModelParameters(self)
setModelSCParameters(self)
A function that assigns model parameters as model attributes and also to assign parameters and hyperparameters for fitting,
so that the inherited Torch functionality can be used.
This practice may be replaced soon.
Expand Down

0 comments on commit cb90618

Please sign in to comment.