Skip to content

Commit

Permalink
undid plot_simulate chnages
Browse files Browse the repository at this point in the history
  • Loading branch information
kohl-carmen committed Sep 24, 2020
1 parent a9634b9 commit b2704be
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions examples/plot_simulate_evoked.py
Expand Up @@ -27,19 +27,18 @@
# Then we read the parameters file
params_fname = op.join(hnn_core_root, 'param', 'default.json')
params = read_params(params_fname)
params['tstop']=10
#print(params)
print(params)

###############################################################################
# This is a lot of parameters! We can also filter the
# parameters using unix-style wildcard characters
#print(params['L2Pyr_soma*'])
print(params['L2Pyr_soma*'])

###############################################################################
# Let us first create our network from the params file and visualize the cells
# inside it.
net = Network(params)
#net.plot_cells()
net.plot_cells()

###############################################################################
# Now let's simulate the dipole, running 2 trials with the Joblib backend.
Expand All @@ -48,7 +47,7 @@

with JoblibBackend(n_jobs=1):
dpls = simulate_dipole(net, n_trials=1,postproc=True)
sdfd

###############################################################################
# and then plot it
import matplotlib.pyplot as plt
Expand Down

0 comments on commit b2704be

Please sign in to comment.