def setup(mitralArg, granArg, run = False): import sys import custom_params custom_params.filename = 'fig7' custom_params.customMitralCount = mitralArg custom_params.customGranulesPerMitralCount = granArg import params import runsim runsim.build_complete_model('c10.dic') if run: runsim.run()
def setup(mitralArg, granArg, run=False): import sys import custom_params custom_params.filename = 'fig7' custom_params.customMitralCount = mitralArg custom_params.customGranulesPerMitralCount = granArg import params import runsim runsim.build_complete_model('c10.dic') if run: runsim.run()
import params import runsim import odors from math import sqrt import argparse parser = argparse.ArgumentParser() parser.add_argument("-tstop", metavar='float', help="stop time (ms) (default 1050)", type=float, default=1050) args, unknown = parser.parse_known_args() params.filename = 'bulb3dtest' params.tstop = args.tstop params.sniff_invl_min = params.sniff_invl_max = 500 params.training_exc = params.training_inh = True from neuron import h h('sigslope_AmpaNmda=5') h('sigslope_FastInhib=5') h('sigexp_AmpaNmda=4') params.odor_sequence = [('Onion', 50, 1000, 1e+9)] runsim.build_part_model([5, 37, 32, 78], []) runsim.run()
import custom_params custom_params.filename = 'fig7' import params import common common.nmitral=1 import runsim params.tstop = 50 runsim.build_complete_model('c10.dic') runsim.run()