import sys
from mozaik.meta_workflow.visualization import single_value_visualization
from mozaik.storage.queries import *
from parameters import ParameterSet

assert len(sys.argv) == 2
directory = sys.argv[1]


single_value_visualization(
    "VogeslAbbott2005Big",
    directory,
    ParamFilterQuery(
        ParameterSet({"ads_unique": False, "rec_unique": False, "params": ParameterSet({"sheet_name": "V1_Exc_L4"})})
    ),
    value_names=None,
    filename="Exc.png",
    resolution=30,
    treat_nan_as_zero=True,
    ranges={"Mean(Firing rate)": (0, 20), "Mean(Correlation coefficient(psth (bin=5.0)))": (0, 0.2)},
)

single_value_visualization(
    "VogeslAbbott2005Big",
    directory,
    ParamFilterQuery(
        ParameterSet({"ads_unique": False, "rec_unique": False, "params": ParameterSet({"sheet_name": "V1_Inh_L4"})})
    ),
    value_names=None,
    filename="Inh.png",
    resolution=30,
示例#2
0
from mozaik.meta_workflow.visualization import single_value_visualization
from mozaik.storage.queries import *
from parameters import ParameterSet

assert len(sys.argv) == 2
directory = sys.argv[1]

#single_value_visualization("MorganTaylorModel",directory,
#                           ParamFilterQuery(ParameterSet({'ads_unique' : False, 'rec_unique' : False, 'params' : ParameterSet({'sheet_name' : 'V1_Exc_L4'})})),value_names=['Median(corrcoef(inh. conductance trial-to-trial mean,exc. conductance trial-to-trial mean))','Mean HWHH difference','Median HWHH difference', 'Mean(corrcoef(inh. conductance trial-to-trial mean,exc. conductance trial-to-trial mean))', 'Mean HWHH of responsive neurons', 'Median HWHH of responsive neurons','Mean(Correlation coefficient(psth (bin=10.0)))'],filename='Exc.png',resolution=None,treat_nan_as_zero=True,ranges={'Mean HWHH of responsive neurons' : (15,30), 'Mean HWHH difference' : (0,15), 'Faild fits percantage' : (0,0.2)})

single_value_visualization("MorganTaylorModel",
                           directory,
                           ParamFilterQuery(
                               ParameterSet({
                                   'ads_unique':
                                   False,
                                   'rec_unique':
                                   False,
                                   'params':
                                   ParameterSet({'sheet_name': 'V1_Exc_L4'})
                               })),
                           filename='Exc.png',
                           resolution=None,
                           treat_nan_as_zero=True,
                           ranges={
                               'Mean HWHH of responsive neurons': (15, 30),
                               'Mean HWHH difference': (0, 15),
                               'Faild fits percantage': (0, 0.2)
                           })

#export_SingleValues_as_matricies("MorganTaylorModel",directory,ParamFilterQuery(ParameterSet({'ads_unique' : False, 'rec_unique' : False, 'params' : ParameterSet({'sheet_name' : 'V1_Exc_L4'})})))
示例#3
0
setup_logging()

single_value_visualization("VogeslAbbott2005",
                           directory,
                           ParamFilterQuery(
                               ParameterSet({
                                   'ads_unique':
                                   False,
                                   'rec_unique':
                                   False,
                                   'params':
                                   ParameterSet({'sheet_name': 'Exc1'})
                               })),
                           value_names=None,
                           filename='Exc.png',
                           resolution=None,
                           treat_nan_as_zero=True,
                           ranges={
                               'Mean(Firing rate)': (0, 20),
                               'Mean(CV of ISI squared)': (0, 1.0),
                               'Mean(Correlation coefficient(psth (bin=5.0)))':
                               (0, 0.2),
                               'Mean(Var(ECond)/Var(ICond))': (0, 1.0),
                               'Mean(Var(ECond))': (0, 0.002),
                               'Mean(Mean(ECond))': (0, 0.03),
                               'Mean(Mean(ICond))': (0, 0.05),
                               'Mean(Mean(ECond)/Mean(ICond))': (0, 0.8)
                           })

#single_value_visualization("VogeslAbbott2005",directory,
#                           ParamFilterQuery(ParameterSet({'ads_unique' : False, 'rec_unique' : False, 'params' : ParameterSet({'sheet_name' : 'V1_Inh_L4'})})),
示例#4
0
from mozaik.storage.queries import *
from parameters import ParameterSet

assert len(sys.argv) == 2
directory = sys.argv[1]

single_value_visualization("VogeslAbbott2005Big",
                           directory,
                           ParamFilterQuery(
                               ParameterSet({
                                   'ads_unique':
                                   False,
                                   'rec_unique':
                                   False,
                                   'params':
                                   ParameterSet({'sheet_name': 'V1_Exc_L4'})
                               })),
                           value_names=None,
                           filename='Exc.png',
                           resolution=30,
                           treat_nan_as_zero=True,
                           ranges={
                               'Mean(Firing rate)': (0, 20),
                               'Mean(Correlation coefficient(psth (bin=5.0)))':
                               (0, 0.2)
                           })

single_value_visualization("VogeslAbbott2005Big",
                           directory,
                           ParamFilterQuery(
                               ParameterSet({
                                   'ads_unique':
示例#5
0
from parameters import ParameterSet

assert len(sys.argv) == 2
directory = sys.argv[1]

single_value_visualization("SelfSustainedPushPull",
                           directory,
                           ParamFilterQuery(
                               ParameterSet({
                                   'ads_unique':
                                   False,
                                   'rec_unique':
                                   False,
                                   'params':
                                   ParameterSet({'sheet_name': 'V1_Exc_L4'})
                               })),
                           value_names=None,
                           filename='Exc.png',
                           resolution=60,
                           treat_nan_as_zero=True,
                           ranges={
                               'Mean(Firing rate)': (0, 20),
                               'Mean(CV of ISI squared)': (0, 3.0),
                               'Mean(Correlation coefficient(psth (bin=5.0)))':
                               (0, 0.2)
                           })

#single_value_visualization("VogeslAbbottPushPull",directory,
#                           ParamFilterQuery(ParameterSet({'ads_unique' : False, 'rec_unique' : False, 'params' : ParameterSet({'sheet_name' : 'V1_Inh_L4'})})),
#                           value_names=None,filename='Inh.png',resolution=60,treat_nan_as_zero=True,ranges={'Mean(Firing rate)' : (0,20),'Mean(CV of ISI squared)' : (0,3.0), 'Mean(Correlation coefficient(psth (bin=5.0)))' : (0,0.2)})
import matplotlib
matplotlib.use('Agg')

import sys
from mozaik.meta_workflow.analysis import export_SingleValues_as_matricies
from mozaik.meta_workflow.visualization import single_value_visualization
from mozaik.storage.queries import *
from parameters import ParameterSet

assert len(sys.argv) == 2
directory = sys.argv[1]

#single_value_visualization("MorganTaylorModel",directory,
#                           ParamFilterQuery(ParameterSet({'ads_unique' : False, 'rec_unique' : False, 'params' : ParameterSet({'sheet_name' : 'V1_Exc_L4'})})),value_names=['Median(corrcoef(inh. conductance trial-to-trial mean,exc. conductance trial-to-trial mean))','Mean HWHH difference','Median HWHH difference', 'Mean(corrcoef(inh. conductance trial-to-trial mean,exc. conductance trial-to-trial mean))', 'Mean HWHH of responsive neurons', 'Median HWHH of responsive neurons','Mean(Correlation coefficient(psth (bin=10.0)))'],filename='Exc.png',resolution=None,treat_nan_as_zero=True,ranges={'Mean HWHH of responsive neurons' : (15,30), 'Mean HWHH difference' : (0,15), 'Faild fits percantage' : (0,0.2)})   


single_value_visualization("MorganTaylorModel",directory,
                           ParamFilterQuery(ParameterSet({'ads_unique' : False, 'rec_unique' : False, 'params' : ParameterSet({'sheet_name' : 'V1_Exc_L4'})})),filename='Exc.png',resolution=None,treat_nan_as_zero=True,ranges={'Mean HWHH of responsive neurons' : (15,30), 'Mean HWHH difference' : (0,15), 'Faild fits percantage' : (0,0.2)})   

#export_SingleValues_as_matricies("MorganTaylorModel",directory,ParamFilterQuery(ParameterSet({'ads_unique' : False, 'rec_unique' : False, 'params' : ParameterSet({'sheet_name' : 'V1_Exc_L4'})})))   
import sys
from mozaik.meta_workflow.visualization import single_value_visualization
from mozaik.meta_workflow.analysis import collect_results_from_parameter_search
from mozaik.storage.queries import *
from parameters import ParameterSet

assert len(sys.argv) == 2
directory = sys.argv[1]


single_value_visualization("SelfSustainedPushPull",directory,
                           ParamFilterQuery(ParameterSet({'ads_unique' : False, 'rec_unique' : False, 'params' : ParameterSet({'sheet_name' : 'V1_Exc_L4','st_name' : 'InternalStimulus', 'st_direct_stimulation_name' : 'None'})})),
                           value_names=None,filename='Exc.png',resolution=20,treat_nan_as_zero=True,ranges={'Mean(Firing rate)' : (0,60),'Mean(CV of ISI squared)' : (0,1.0)})   

#single_value_visualization("SelfSustainedPushPull",directory,
#                           ParamFilterQuery(ParameterSet({'ads_unique' : False, 'rec_unique' : False, 'params' : ParameterSet({'sheet_name' : 'V1_Inh_L4','st_name' : 'InternalStimulus', 'st_direct_stimulation_name' : 'None'})})),
#                           value_names=None,filename='Inh.png',resolution=20,treat_nan_as_zero=True,ranges={'Mean(Firing rate)' : (0,60),'Mean(CV of ISI squared)' : (0,1.0)})   


import sys
from mozaik.meta_workflow.visualization import single_value_visualization
from mozaik.storage.queries import *
from parameters import ParameterSet

assert len(sys.argv) == 2
directory = sys.argv[1]


single_value_visualization("Boustani2007",directory,
                           ParamFilterQuery(ParameterSet({'ads_unique' : False, 'rec_unique' : False, 'params' : ParameterSet({'sheet_name' : 'V1_Exc_L4'})})),
                           value_names=None,filename='Exc.png',resolution=30,treat_nan_as_zero=True,ranges={'Mean(Firing rate)' : (0,20), 'Mean(Correlation coefficient(psth (bin=5.0)))' : (0,0.2), 'Mean(CV of ISI squared)' : (0,2.0)})   

#single_value_visualization("Boustani2007",directory,
#                           ParamFilterQuery(ParameterSet({'ads_unique' : False, 'rec_unique' : False, 'params' : ParameterSet({'sheet_name' : 'V1_Inh_L4'})})),
#                           value_names=None,filename='Inh.png',resolution=30,treat_nan_as_zero=True,ranges={'Mean(Firing rate)' : (0,20), 'Mean(Correlation coefficient(psth (bin=5.0)))' : (0,0.2), 'Mean(CV of ISI squared)' : (0,2.0)})   
#'Mean(CV of ISI squared)' : (0,0.1)
from mozaik.storage.queries import *
from parameters import ParameterSet

assert len(sys.argv) == 2
directory = sys.argv[1]

single_value_visualization(
    "VogeslAbbott2005",
    directory,
    ParamFilterQuery(
        ParameterSet({
            "ads_unique": False,
            "rec_unique": False,
            "params": ParameterSet({"sheet_name": "Exc_Layer"}),
        })),
    value_names=None,
    filename="Exc.png",
    resolution=20,
    treat_nan_as_zero=True,
    ranges={
        "Mean(Firing rate)": (0, 60),
        "Mean(CV of ISI squared)": (0, 1.0),
        "Mean(Correlation coefficient(psth (bin=5.0)))": (0, 0.2),
    },
)

single_value_visualization(
    "VogeslAbbott2005",
    directory,
    ParamFilterQuery(
        ParameterSet({
import mozaik
import sys
from mozaik.meta_workflow.visualization import single_value_visualization
from mozaik.controller import setup_logging
from mozaik.storage.queries import *
from parameters import ParameterSet

print len(sys.argv)

assert len(sys.argv) == 2
directory = sys.argv[1]

setup_logging()

single_value_visualization("VogeslAbbott2005",directory,
                           ParamFilterQuery(ParameterSet({'ads_unique' : False, 'rec_unique' : False, 'params' : ParameterSet({'sheet_name' : 'Exc1'})})),
                           value_names=None,filename='Exc.png',resolution=None,treat_nan_as_zero=True,ranges={'Mean(Firing rate)' : (0,20),'Mean(CV of ISI squared)' : (0,1.0), 'Mean(Correlation coefficient(psth (bin=5.0)))' : (0,0.2), 'Mean(Var(ECond)/Var(ICond))' : (0,1.0),'Mean(Var(ECond))' : (0,0.002),'Mean(Mean(ECond))' : (0,0.03),'Mean(Mean(ICond))' : (0,0.05),'Mean(Mean(ECond)/Mean(ICond))' : (0,0.8)})   

#single_value_visualization("VogeslAbbott2005",directory,
#                           ParamFilterQuery(ParameterSet({'ads_unique' : False, 'rec_unique' : False, 'params' : ParameterSet({'sheet_name' : 'V1_Inh_L4'})})),
#                           value_names=None,filename='Inh.png',resolution=None,treat_nan_as_zero=True,ranges={'Mean(Firing rate)' : (0,60),'Mean(CV of ISI squared)' : (0,2.0), 'Mean(Correlation coefficient(psth (bin=5.0)))' : (0,0.2), 'Mean(Var(ECond)/Var(ICond))' : (0,1.0),'Mean(Var(Econd))' : (0,0.002)})   
import sys
from mozaik.meta_workflow.visualization import single_value_visualization
from mozaik.storage.queries import *
from parameters import ParameterSet

assert len(sys.argv) == 2
directory = sys.argv[1]


single_value_visualization("VogeslAbbott2005",directory,
                           ParamFilterQuery(ParameterSet({'ads_unique' : False, 'rec_unique' : False, 'params' : ParameterSet({'sheet_name' : 'Exc_Layer'})})),
                           value_names=None,filename='Exc.png',resolution=20,treat_nan_as_zero=True,ranges={'Mean(Firing rate)' : (0,60),'Mean(CV of ISI squared)' : (0,1.0), 'Mean(Correlation coefficient(psth (bin=5.0)))' : (0,0.2)})   

single_value_visualization("VogeslAbbott2005",directory,
                           ParamFilterQuery(ParameterSet({'ads_unique' : False, 'rec_unique' : False, 'params' : ParameterSet({'sheet_name' : 'Inh_Layer'})})),
                           value_names=None,filename='Inh.png',resolution=20,treat_nan_as_zero=True,ranges={'Mean(Firing rate)' : (0,60),'Mean(CV of ISI squared)' : (0,1.0), 'Mean(Correlation coefficient(psth (bin=5.0)))' : (0,0.2)})   
assert len(sys.argv) == 2
directory = sys.argv[1]

single_value_visualization("SelfSustainedPushPull",
                           directory,
                           ParamFilterQuery(
                               ParameterSet({
                                   'ads_unique':
                                   False,
                                   'rec_unique':
                                   False,
                                   'params':
                                   ParameterSet({
                                       'sheet_name':
                                       'V1_Exc_L4',
                                       'st_name':
                                       'InternalStimulus',
                                       'st_direct_stimulation_name':
                                       'None'
                                   })
                               })),
                           value_names=None,
                           filename='Exc.png',
                           resolution=20,
                           treat_nan_as_zero=True,
                           ranges={
                               'Mean(Firing rate)': (0, 60),
                               'Mean(CV of ISI squared)': (0, 1.0)
                           })

#single_value_visualization("SelfSustainedPushPull",directory,
#                           ParamFilterQuery(ParameterSet({'ads_unique' : False, 'rec_unique' : False, 'params' : ParameterSet({'sheet_name' : 'V1_Inh_L4','st_name' : 'InternalStimulus', 'st_direct_stimulation_name' : 'None'})})),
import sys
from mozaik.meta_workflow.visualization import single_value_visualization
from mozaik.storage.queries import *
from parameters import ParameterSet

assert len(sys.argv) == 2
directory = sys.argv[1]


single_value_visualization(
    "SelfSustainedPushPull",
    directory,
    ParamFilterQuery(
        ParameterSet({"ads_unique": False, "rec_unique": False, "params": ParameterSet({"sheet_name": "V1_Exc_L4"})})
    ),
    value_names=None,
    filename="Exc.png",
    resolution=60,
    treat_nan_as_zero=True,
    ranges={
        "Mean(Firing rate)": (0, 20),
        "Mean(CV of ISI squared)": (0, 3.0),
        "Mean(Correlation coefficient(psth (bin=5.0)))": (0, 0.2),
    },
)

# single_value_visualization("VogeslAbbottPushPull",directory,
#                           ParamFilterQuery(ParameterSet({'ads_unique' : False, 'rec_unique' : False, 'params' : ParameterSet({'sheet_name' : 'V1_Inh_L4'})})),
#                           value_names=None,filename='Inh.png',resolution=60,treat_nan_as_zero=True,ranges={'Mean(Firing rate)' : (0,20),'Mean(CV of ISI squared)' : (0,3.0), 'Mean(Correlation coefficient(psth (bin=5.0)))' : (0,0.2)})
import sys
from mozaik.meta_workflow.visualization import single_value_visualization
from mozaik.storage.queries import *
from parameters import ParameterSet

assert len(sys.argv) == 2
directory = sys.argv[1]


single_value_visualization("VogeslAbbott2005PushPullFixedKBackgroundCurrent",directory,
                           ParamFilterQuery(ParameterSet({'ads_unique' : False, 'rec_unique' : False, 'params' : ParameterSet({'sheet_name' : 'V1_Exc_L4'})})),
                           value_names=None,filename='Exc.png',resolution=60,treat_nan_as_zero=True,ranges={'Mean(Firing rate)' : (0,20),'Mean(CV of ISI squared)' : (0,3.0), 'Mean(Correlation coefficient(psth (bin=5.0)))' : (0,0.2)})