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

/

parent 6d2e608f
No related branches found
No related tags found
1 merge request!35Pre-release MAM v1.1.0
This diff is collapsed.
......@@ -7,7 +7,6 @@ sys.path.append('./figures/Schmidt2018_dyn')
from helpers import original_data_path, population_labels
from multiarea_model import MultiAreaModel
from multiarea_model import Analysis
from plotcolors import myred, myblue
import matplotlib.pyplot as pl
......@@ -35,7 +34,7 @@ def set_boxplot_props(d):
pl.setp(d['means'], marker='x', color='k',
markerfacecolor='k', markeredgecolor='k', markersize=3.)
def plot_resting_state(M, data_path):
def plot_resting_state(M, A, data_path):
"""
Analysis class.
An instance of the analysis class for the given network and simulation.
......@@ -56,11 +55,6 @@ def plot_resting_state(M, data_path):
Default value is None and leads to loading of data for all
simulated areas.
"""
# Instantiate an analysis class and load spike data
A = Analysis(network=M,
simulation=M.simulation,
data_list=['spikes'],
load_areas=None)
# load data
load_and_create_data(M, A)
......
......@@ -7,7 +7,6 @@ sys.path.append('./figures/Schmidt2018_dyn')
from helpers import original_data_path, population_labels
from multiarea_model import MultiAreaModel
from multiarea_model import Analysis
from plotcolors import myred, myblue
import matplotlib.pyplot as pl
......@@ -35,7 +34,7 @@ def set_boxplot_props(d):
pl.setp(d['means'], marker='x', color='k',
markerfacecolor='k', markeredgecolor='k', markersize=3.)
def plot_resting_state(M, data_path):
def plot_resting_state(M, A, data_path):
"""
Analysis class.
An instance of the analysis class for the given network and simulation.
......@@ -56,11 +55,6 @@ def plot_resting_state(M, data_path):
Default value is None and leads to loading of data for all
simulated areas.
"""
# Instantiate an analysis class and load spike data
A = Analysis(network=M,
simulation=M.simulation,
data_list=['spikes'],
load_areas=None)
# load data
load_and_create_data(M, A)
......
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