Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Update readme basis name
  • Loading branch information
BalzaniEdoardo authored Feb 1, 2025
1 parent 413ebf0 commit df910f8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ In this example, we'll construct a time-series of features using the basis objec
import nemos as nmo

# Instantiate the basis
basis_1 = nmo.basis.MSplineBasis(n_basis_funcs=5)
basis_2 = nmo.basis.CyclicBSplineBasis(n_basis_funcs=6)
basis_3 = nmo.basis.MSplineBasis(n_basis_funcs=7)
basis_1 = nmo.basis.MSplineEval(n_basis_funcs=5)
basis_2 = nmo.basis.CyclicBSplineEval(n_basis_funcs=6)
basis_3 = nmo.basis.MSplineEval(n_basis_funcs=7)

basis = basis_1 * basis_2 + basis_3

Expand Down Expand Up @@ -111,7 +111,7 @@ import nemos as nmo

# generate 5 basis functions of 100 time-bins,
# and convolve the counts with the basis.
X = nmo.basis.RaisedCosineBasisLog(5, mode="conv", window_size=100
X = nmo.basis.RaisedCosineLogConv(5, mode="conv", window_size=100
).compute_features(spike_counts)
```
#### Population GLM
Expand Down

0 comments on commit df910f8

Please sign in to comment.