Skip to content
Snippets Groups Projects
Commit bc10b556 authored by Didi Hou's avatar Didi Hou Committed by Administrator
Browse files

/

parent 81a7e08e
No related branches found
No related tags found
1 merge request!35Pre-release MAM v1.1.0
source diff could not be displayed: it is too large. Options to address this: view the blob.
...@@ -8,14 +8,6 @@ def plot_instan_mean_firing_rate(M): ...@@ -8,14 +8,6 @@ def plot_instan_mean_firing_rate(M):
rate = spikecount / M.simulation.params['dt'] * 1e3 / np.sum(M.N_vec) rate = spikecount / M.simulation.params['dt'] * 1e3 / np.sum(M.N_vec)
# visualize calculate instantaneous and mean firing rates # visualize calculate instantaneous and mean firing rates
nrows = 1
ncols = 1
width = 10
panel_wh_ratio = 0.7 * (1. + np.sqrt(5)) / 2. # golden ratio
height = width / panel_wh_ratio * float(nrows) / ncols
pl.rcParams['figure.figsize'] = (width, height)
fig = pl.figure() fig = pl.figure()
fig, ax = pl.subplots() fig, ax = pl.subplots()
ax.plot(tsteps, rate) ax.plot(tsteps, rate)
......
...@@ -8,6 +8,7 @@ sys.path.append('./figures/Schmidt2018_dyn') ...@@ -8,6 +8,7 @@ sys.path.append('./figures/Schmidt2018_dyn')
# from helpers import original_data_path, population_labels # from helpers import original_data_path, population_labels
from helpers import population_labels from helpers import population_labels
from multiarea_model import MultiAreaModel from multiarea_model import MultiAreaModel
from multiarea_model import Analysis
from plotcolors import myred, myblue from plotcolors import myred, myblue
import matplotlib.pyplot as pl import matplotlib.pyplot as pl
......
...@@ -8,14 +8,6 @@ def plot_instan_mean_firing_rate(M): ...@@ -8,14 +8,6 @@ def plot_instan_mean_firing_rate(M):
rate = spikecount / M.simulation.params['dt'] * 1e3 / np.sum(M.N_vec) rate = spikecount / M.simulation.params['dt'] * 1e3 / np.sum(M.N_vec)
# visualize calculate instantaneous and mean firing rates # visualize calculate instantaneous and mean firing rates
nrows = 1
ncols = 1
width = 10
panel_wh_ratio = 0.7 * (1. + np.sqrt(5)) / 2. # golden ratio
height = width / panel_wh_ratio * float(nrows) / ncols
pl.rcParams['figure.figsize'] = (width, height)
fig = pl.figure() fig = pl.figure()
fig, ax = pl.subplots() fig, ax = pl.subplots()
ax.plot(tsteps, rate) ax.plot(tsteps, rate)
......
...@@ -8,6 +8,7 @@ sys.path.append('./figures/Schmidt2018_dyn') ...@@ -8,6 +8,7 @@ sys.path.append('./figures/Schmidt2018_dyn')
# from helpers import original_data_path, population_labels # from helpers import original_data_path, population_labels
from helpers import population_labels from helpers import population_labels
from multiarea_model import MultiAreaModel from multiarea_model import MultiAreaModel
from multiarea_model import Analysis
from plotcolors import myred, myblue from plotcolors import myred, myblue
import matplotlib.pyplot as pl import matplotlib.pyplot as pl
......
This diff is collapsed.
source diff could not be displayed: it is too large. Options to address this: view the blob.
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment