Skip to content

Commit

Permalink
fixed examples
Browse files Browse the repository at this point in the history
  • Loading branch information
BalzaniEdoardo committed Sep 22, 2023
1 parent 1cf9d07 commit b0a9618
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions docs/examples/plot_glm_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@


# %%
# We can now simulate spikes by calling the `simulate` method.
# We can now simulate spikes by calling the `simulate_recurrent` method.

model = nsl.glm.GLMRecurrent()
model.basis_coeff_ = jax.numpy.asarray(basis_coeff)
Expand All @@ -268,7 +268,7 @@

# call simulate, with both the recurrent coupling
# and the input
spikes, rates = model.simulate(
spikes, rates = model.simulate_recurrent(
random_key,
feedforward_input=feedforward_input,
coupling_basis_matrix=coupling_basis,
Expand Down

0 comments on commit b0a9618

Please sign in to comment.