Skip to content

Commit

Permalink
Merge pull request #368 from pynapple-org/metadata
Browse files Browse the repository at this point in the history
Update metadata docstrings
  • Loading branch information
gviejo authored Nov 22, 2024
2 parents bb1e05c + 86ca812 commit 4e4613b
Show file tree
Hide file tree
Showing 10 changed files with 1,289 additions and 338 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
/docs/generated/gallery/*.py
/docs/generated/gallery/*.zip

/doc/generated
/doc/examples/nwb-cache
/doc/_build

/tests/npzfilestest

# Byte-compiled / optimized / DLL files
Expand Down
12 changes: 6 additions & 6 deletions doc/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Core objects

.. rubric:: Time Series

.. currentmodule:: pynapple.core.time_series
.. currentmodule:: pynapple

.. autosummary::
:toctree: generated/
Expand All @@ -22,7 +22,7 @@ Core objects

.. rubric:: Intervals

.. currentmodule:: pynapple.core.interval_set
.. currentmodule:: pynapple

.. autosummary::
:toctree: generated/
Expand All @@ -34,7 +34,7 @@ Core objects

.. rubric:: Timestamps

.. currentmodule:: pynapple.core.time_series
.. currentmodule:: pynapple

.. autosummary::
:toctree: generated/
Expand All @@ -45,7 +45,7 @@ Core objects

.. rubric:: Group of timestamps

.. currentmodule:: pynapple.core.ts_group
.. currentmodule:: pynapple

.. autosummary::
:toctree: generated/
Expand All @@ -58,7 +58,7 @@ Core objects
Input-Ouput
-----------

.. currentmodule:: pynapple.io.interface_nwb
.. currentmodule:: pynapple.io

.. rubric:: Neurodata Without Borders (NWB)

Expand All @@ -70,7 +70,7 @@ Input-Ouput
NWBFile


.. currentmodule:: pynapple.io.interface_npz
.. currentmodule:: pynapple.io

.. rubric:: Numpy files

Expand Down
4 changes: 2 additions & 2 deletions doc/examples/tutorial_HD_dataset.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ tuning_curves = nap.compute_1d_tuning_curves(
group=spikes_adn,
feature=angle,
nb_bins=61,
ep = epochs['wake'],
ep=epochs[epochs.tags == "wake"],
minmax=(0, 2 * np.pi)
)
```
Expand Down Expand Up @@ -199,7 +199,7 @@ To decode the population activity, we will be using a Bayesian Decoder as implem
decoded, proba_feature = nap.decode_1d(
tuning_curves=tuning_curves,
group=spikes_adn,
ep=epochs["wake"],
ep=epochs[epochs.tags == "wake"],
bin_size=0.1, # second
feature=angle,
)
Expand Down
Loading

0 comments on commit 4e4613b

Please sign in to comment.