Skip to content

Commit

Permalink
fix HD tutorial
Browse files Browse the repository at this point in the history
  • Loading branch information
sjvenditto committed Nov 20, 2024
1 parent 5bde477 commit 39b4d05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
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
3 changes: 0 additions & 3 deletions doc/user_guide/04_core_methods.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@ epochs = nap.IntervalSet([10, 65], [25, 80])
tsd = nap.Tsd(t=np.arange(0, 100, 1), d=np.sin(np.arange(0, 10, 0.1)))
```




### `restrict`

`restrict` is used to get time points within an `IntervalSet`. This method is available
Expand Down

0 comments on commit 39b4d05

Please sign in to comment.