Skip to content
Snippets Groups Projects
Commit d2eadc6a authored by didihou's avatar didihou Committed by Administrator
Browse files

/

parent 34b49a62
No related branches found
No related tags found
1 merge request!35Pre-release MAM v1.1.0
......@@ -8,9 +8,11 @@ def plot_instan_mean_firing_rate(M):
rate = spikecount / M.simulation.params['dt'] * 1e3 / np.sum(M.N_vec)
# 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)
......
......@@ -63,7 +63,8 @@ def plot_time_averaged_population_rates(M):
y_index = [a + 0.5 for a in y_index]
# print(M.network.structure['V1'])
ax.set_xticks(x_index)
ax.set_xticklabels(x_ticks)
# ax.set_xticklabels(x_ticks)
ax.set_xticklabels(x_ticks) = area_list
ax.set_yticks(y_index)
# ax.set_yticklabels(M.network.structure_reversed['V1'])
ax.set_yticklabels(M.network.structure['V1'])
......
......@@ -8,9 +8,11 @@ def plot_instan_mean_firing_rate(M):
rate = spikecount / M.simulation.params['dt'] * 1e3 / np.sum(M.N_vec)
# 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)
......
......@@ -63,7 +63,8 @@ def plot_time_averaged_population_rates(M):
y_index = [a + 0.5 for a in y_index]
# print(M.network.structure['V1'])
ax.set_xticks(x_index)
ax.set_xticklabels(x_ticks)
# ax.set_xticklabels(x_ticks)
ax.set_xticklabels(x_ticks) = area_list
ax.set_yticks(y_index)
# ax.set_yticklabels(M.network.structure_reversed['V1'])
ax.set_yticklabels(M.network.structure['V1'])
......
source diff could not be displayed: it is too large. Options to address this: view the blob.
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