def __init__(self, path): super(EpileptorH5, self).__init__(path) self.a = DataSet(ModelsEnum.EPILEPTOR.get_class().a, self) self.b = DataSet(ModelsEnum.EPILEPTOR.get_class().b, self) self.c = DataSet(ModelsEnum.EPILEPTOR.get_class().c, self) self.d = DataSet(ModelsEnum.EPILEPTOR.get_class().d, self) self.r = DataSet(ModelsEnum.EPILEPTOR.get_class().r, self) self.s = DataSet(ModelsEnum.EPILEPTOR.get_class().s, self) self.x0 = DataSet(ModelsEnum.EPILEPTOR.get_class().x0, self) self.Iext = DataSet(ModelsEnum.EPILEPTOR.get_class().Iext, self) self.slope = DataSet(ModelsEnum.EPILEPTOR.get_class().slope, self) self.Iext2 = DataSet(ModelsEnum.EPILEPTOR.get_class().Iext2, self) self.tau = DataSet(ModelsEnum.EPILEPTOR.get_class().tau, self) self.aa = DataSet(ModelsEnum.EPILEPTOR.get_class().aa, self) self.bb = DataSet(ModelsEnum.EPILEPTOR.get_class().bb, self) self.Kvf = DataSet(ModelsEnum.EPILEPTOR.get_class().Kvf, self) self.Kf = DataSet(ModelsEnum.EPILEPTOR.get_class().Kf, self) self.Ks = DataSet(ModelsEnum.EPILEPTOR.get_class().Ks, self) self.tt = DataSet(ModelsEnum.EPILEPTOR.get_class().tt, self) self.modification = DataSet( ModelsEnum.EPILEPTOR.get_class().modification, self) self.state_variable_range = JsonFinal( ModelsEnum.EPILEPTOR.get_class().state_variable_range, self, json_encoder=StateVariablesEncoder, json_decoder=StateVariablesDecoder) self.variables_of_interest = Json( ModelsEnum.EPILEPTOR.get_class().variables_of_interest, self)
def __init__(self, path): super(ReducedSetHindmarshRoseH5, self).__init__(path) self.r = DataSet(ModelsEnum.REDUCED_SET_HINDMARSH_ROSE.get_class().r, self) self.a = DataSet(ModelsEnum.REDUCED_SET_HINDMARSH_ROSE.get_class().a, self) self.b = DataSet(ModelsEnum.REDUCED_SET_HINDMARSH_ROSE.get_class().b, self) self.c = DataSet(ModelsEnum.REDUCED_SET_HINDMARSH_ROSE.get_class().c, self) self.d = DataSet(ModelsEnum.REDUCED_SET_HINDMARSH_ROSE.get_class().d, self) self.s = DataSet(ModelsEnum.REDUCED_SET_HINDMARSH_ROSE.get_class().s, self) self.xo = DataSet(ModelsEnum.REDUCED_SET_HINDMARSH_ROSE.get_class().xo, self) self.K11 = DataSet( ModelsEnum.REDUCED_SET_HINDMARSH_ROSE.get_class().K11, self) self.K12 = DataSet( ModelsEnum.REDUCED_SET_HINDMARSH_ROSE.get_class().K12, self) self.K21 = DataSet( ModelsEnum.REDUCED_SET_HINDMARSH_ROSE.get_class().K21, self) self.sigma = DataSet( ModelsEnum.REDUCED_SET_HINDMARSH_ROSE.get_class().sigma, self) self.mu = DataSet(ModelsEnum.REDUCED_SET_HINDMARSH_ROSE.get_class().mu, self) self.state_variable_range = JsonFinal( ModelsEnum.REDUCED_SET_HINDMARSH_ROSE.get_class( ).state_variable_range, self, json_encoder=StateVariablesEncoder, json_decoder=StateVariablesDecoder) self.variables_of_interest = Json( ModelsEnum.REDUCED_SET_HINDMARSH_ROSE.get_class(). variables_of_interest, self)
def __init__(self, path): super(WilsonCowanH5, self).__init__(path) self.c_ee = DataSet(ModelsEnum.WILSON_COWAN.get_class().c_ee, self) self.c_ie = DataSet(ModelsEnum.WILSON_COWAN.get_class().c_ie, self) self.c_ei = DataSet(ModelsEnum.WILSON_COWAN.get_class().c_ei, self) self.c_ii = DataSet(ModelsEnum.WILSON_COWAN.get_class().c_ii, self) self.tau_e = DataSet(ModelsEnum.WILSON_COWAN.get_class().tau_e, self) self.tau_i = DataSet(ModelsEnum.WILSON_COWAN.get_class().tau_i, self) self.a_e = DataSet(ModelsEnum.WILSON_COWAN.get_class().a_e, self) self.b_e = DataSet(ModelsEnum.WILSON_COWAN.get_class().b_e, self) self.c_e = DataSet(ModelsEnum.WILSON_COWAN.get_class().c_e, self) self.theta_e = DataSet(ModelsEnum.WILSON_COWAN.get_class().theta_e, self) self.a_i = DataSet(ModelsEnum.WILSON_COWAN.get_class().a_i, self) self.b_i = DataSet(ModelsEnum.WILSON_COWAN.get_class().b_i, self) self.theta_i = DataSet(ModelsEnum.WILSON_COWAN.get_class().theta_i, self) self.c_i = DataSet(ModelsEnum.WILSON_COWAN.get_class().c_i, self) self.r_e = DataSet(ModelsEnum.WILSON_COWAN.get_class().r_e, self) self.r_i = DataSet(ModelsEnum.WILSON_COWAN.get_class().r_i, self) self.k_e = DataSet(ModelsEnum.WILSON_COWAN.get_class().k_e, self) self.k_i = DataSet(ModelsEnum.WILSON_COWAN.get_class().k_i, self) self.P = DataSet(ModelsEnum.WILSON_COWAN.get_class().P, self) self.Q = DataSet(ModelsEnum.WILSON_COWAN.get_class().Q, self) self.alpha_e = DataSet(ModelsEnum.WILSON_COWAN.get_class().alpha_e, self) self.alpha_i = DataSet(ModelsEnum.WILSON_COWAN.get_class().alpha_i, self) self.state_variable_range = JsonFinal( ModelsEnum.WILSON_COWAN.get_class().state_variable_range, self, json_encoder=StateVariablesEncoder, json_decoder=StateVariablesDecoder) self.variables_of_interest = Json( ModelsEnum.WILSON_COWAN.get_class().variables_of_interest, self)
def __init__(self, path): super(Generic2dOscillatorH5, self).__init__(path) self.tau = DataSet(ModelsEnum.GENERIC_2D_OSCILLATOR.get_class().tau, self) self.I = DataSet(ModelsEnum.GENERIC_2D_OSCILLATOR.get_class().I, self) self.a = DataSet(ModelsEnum.GENERIC_2D_OSCILLATOR.get_class().a, self) self.b = DataSet(ModelsEnum.GENERIC_2D_OSCILLATOR.get_class().b, self) self.c = DataSet(ModelsEnum.GENERIC_2D_OSCILLATOR.get_class().c, self) self.d = DataSet(ModelsEnum.GENERIC_2D_OSCILLATOR.get_class().d, self) self.e = DataSet(ModelsEnum.GENERIC_2D_OSCILLATOR.get_class().e, self) self.f = DataSet(ModelsEnum.GENERIC_2D_OSCILLATOR.get_class().f, self) self.g = DataSet(ModelsEnum.GENERIC_2D_OSCILLATOR.get_class().g, self) self.alpha = DataSet( ModelsEnum.GENERIC_2D_OSCILLATOR.get_class().alpha, self) self.beta = DataSet(ModelsEnum.GENERIC_2D_OSCILLATOR.get_class().beta, self) self.gamma = DataSet( ModelsEnum.GENERIC_2D_OSCILLATOR.get_class().gamma, self) self.state_variable_range = JsonFinal( ModelsEnum.GENERIC_2D_OSCILLATOR.get_class().state_variable_range, self, json_encoder=StateVariablesEncoder, json_decoder=StateVariablesDecoder) self.variables_of_interest = Json( ModelsEnum.GENERIC_2D_OSCILLATOR.get_class().variables_of_interest, self)
def __init__(self, path): super(ReducedSetFitzHughNagumoH5, self).__init__(path) self.tau = DataSet( ModelsEnum.REDUCED_SET_FITZ_HUGH_NAGUMO.get_class().tau, self) self.a = DataSet(ModelsEnum.REDUCED_SET_FITZ_HUGH_NAGUMO.get_class().a, self) self.b = DataSet(ModelsEnum.REDUCED_SET_FITZ_HUGH_NAGUMO.get_class().b, self) self.K11 = DataSet( ModelsEnum.REDUCED_SET_FITZ_HUGH_NAGUMO.get_class().K11, self) self.K12 = DataSet( ModelsEnum.REDUCED_SET_FITZ_HUGH_NAGUMO.get_class().K12, self) self.K21 = DataSet( ModelsEnum.REDUCED_SET_FITZ_HUGH_NAGUMO.get_class().K21, self) self.sigma = DataSet( ModelsEnum.REDUCED_SET_FITZ_HUGH_NAGUMO.get_class().sigma, self) self.mu = DataSet( ModelsEnum.REDUCED_SET_FITZ_HUGH_NAGUMO.get_class().mu, self) self.state_variable_range = JsonFinal( ModelsEnum.REDUCED_SET_FITZ_HUGH_NAGUMO.get_class( ).state_variable_range, self, json_encoder=StateVariablesEncoder, json_decoder=StateVariablesDecoder) self.variables_of_interest = Json( ModelsEnum.REDUCED_SET_FITZ_HUGH_NAGUMO.get_class(). variables_of_interest, self)
def __init__(self, path): super(ZetterbergJansenH5, self).__init__(path) self.He = DataSet(ZetterbergJansen.He, self) self.Hi = DataSet(ZetterbergJansen.Hi, self) self.ke = DataSet(ZetterbergJansen.ke, self) self.ki = DataSet(ZetterbergJansen.ki, self) self.e0 = DataSet(ZetterbergJansen.e0, self) self.rho_2 = DataSet(ZetterbergJansen.rho_2, self) self.rho_1 = DataSet(ZetterbergJansen.rho_1, self) self.gamma_1 = DataSet(ZetterbergJansen.gamma_1, self) self.gamma_2 = DataSet(ZetterbergJansen.gamma_2, self) self.gamma_3 = DataSet(ZetterbergJansen.gamma_3, self) self.gamma_4 = DataSet(ZetterbergJansen.gamma_4, self) self.gamma_5 = DataSet(ZetterbergJansen.gamma_5, self) self.gamma_1T = DataSet(ZetterbergJansen.gamma_1T, self) self.gamma_2T = DataSet(ZetterbergJansen.gamma_2T, self) self.gamma_3T = DataSet(ZetterbergJansen.gamma_3T, self) self.P = DataSet(ZetterbergJansen.P, self) self.U = DataSet(ZetterbergJansen.U, self) self.Q = DataSet(ZetterbergJansen.Q, self) self.state_variable_range = JsonFinal( ZetterbergJansen.state_variable_range, self, json_encoder=StateVariablesEncoder, json_decoder=StateVariablesDecoder) self.variables_of_interest = Json( ZetterbergJansen.variables_of_interest, self)
def __init__(self, path): super(WilsonCowanH5, self).__init__(path) self.c_ee = DataSet(WilsonCowan.c_ee, self) self.c_ie = DataSet(WilsonCowan.c_ie, self) self.c_ei = DataSet(WilsonCowan.c_ei, self) self.c_ii = DataSet(WilsonCowan.c_ii, self) self.tau_e = DataSet(WilsonCowan.tau_e, self) self.tau_i = DataSet(WilsonCowan.tau_i, self) self.a_e = DataSet(WilsonCowan.a_e, self) self.b_e = DataSet(WilsonCowan.b_e, self) self.c_e = DataSet(WilsonCowan.c_e, self) self.theta_e = DataSet(WilsonCowan.theta_e, self) self.a_i = DataSet(WilsonCowan.a_i, self) self.b_i = DataSet(WilsonCowan.b_i, self) self.theta_i = DataSet(WilsonCowan.theta_i, self) self.c_i = DataSet(WilsonCowan.c_i, self) self.r_e = DataSet(WilsonCowan.r_e, self) self.r_i = DataSet(WilsonCowan.r_i, self) self.k_e = DataSet(WilsonCowan.k_e, self) self.k_i = DataSet(WilsonCowan.k_i, self) self.P = DataSet(WilsonCowan.P, self) self.Q = DataSet(WilsonCowan.Q, self) self.alpha_e = DataSet(WilsonCowan.alpha_e, self) self.alpha_i = DataSet(WilsonCowan.alpha_i, self) self.state_variable_range = JsonFinal( WilsonCowan.state_variable_range, self, json_encoder=StateVariablesEncoder, json_decoder=StateVariablesDecoder) self.variables_of_interest = Json(WilsonCowan.variables_of_interest, self)
def __init__(self, path): super(EpileptorCodim3H5, self).__init__(path) self.mu1_start = DataSet( ModelsEnum.EPILEPTOR_CODIM_3.get_class().mu1_start, self) self.mu2_start = DataSet( ModelsEnum.EPILEPTOR_CODIM_3.get_class().mu2_start, self) self.nu_start = DataSet( ModelsEnum.EPILEPTOR_CODIM_3.get_class().nu_start, self) self.mu1_stop = DataSet( ModelsEnum.EPILEPTOR_CODIM_3.get_class().mu1_stop, self) self.mu2_stop = DataSet( ModelsEnum.EPILEPTOR_CODIM_3.get_class().mu2_stop, self) self.nu_stop = DataSet( ModelsEnum.EPILEPTOR_CODIM_3.get_class().nu_stop, self) self.b = DataSet(ModelsEnum.EPILEPTOR_CODIM_3.get_class().b, self) self.R = DataSet(ModelsEnum.EPILEPTOR_CODIM_3.get_class().R, self) self.c = DataSet(ModelsEnum.EPILEPTOR_CODIM_3.get_class().c, self) self.dstar = DataSet(ModelsEnum.EPILEPTOR_CODIM_3.get_class().dstar, self) self.Ks = DataSet(ModelsEnum.EPILEPTOR_CODIM_3.get_class().Ks, self) self.N = DataSet(ModelsEnum.EPILEPTOR_CODIM_3.get_class().N, self) self.modification = DataSet( ModelsEnum.EPILEPTOR_CODIM_3.get_class().modification, self) self.state_variable_range = JsonFinal( ModelsEnum.EPILEPTOR_CODIM_3.get_class().state_variable_range, self, json_encoder=StateVariablesEncoder, json_decoder=StateVariablesDecoder) self.variables_of_interest = Json( ModelsEnum.EPILEPTOR_CODIM_3.get_class().variables_of_interest, self)
def __init__(self, path): super(ReducedWongWangExcInhH5, self).__init__(path) self.a_e = DataSet(ReducedWongWangExcInh.a_e, self) self.b_e = DataSet(ReducedWongWangExcInh.b_e, self) self.d_e = DataSet(ReducedWongWangExcInh.d_e, self) self.gamma_e = DataSet(ReducedWongWangExcInh.gamma_e, self) self.tau_e = DataSet(ReducedWongWangExcInh.tau_e, self) self.w_p = DataSet(ReducedWongWangExcInh.w_p, self) self.J_N = DataSet(ReducedWongWangExcInh.J_N, self) self.W_e = DataSet(ReducedWongWangExcInh.W_e, self) self.a_i = DataSet(ReducedWongWangExcInh.a_i, self) self.b_i = DataSet(ReducedWongWangExcInh.b_i, self) self.d_i = DataSet(ReducedWongWangExcInh.d_i, self) self.gamma_i = DataSet(ReducedWongWangExcInh.gamma_i, self) self.tau_i = DataSet(ReducedWongWangExcInh.tau_i, self) self.J_i = DataSet(ReducedWongWangExcInh.J_i, self) self.W_i = DataSet(ReducedWongWangExcInh.W_i, self) self.I_o = DataSet(ReducedWongWangExcInh.I_o, self) self.G = DataSet(ReducedWongWangExcInh.G, self) self.lamda = DataSet(ReducedWongWangExcInh.lamda, self) self.state_variable_range = JsonFinal( ReducedWongWangExcInh.state_variable_range, self, json_encoder=StateVariablesEncoder, json_decoder=StateVariablesDecoder) self.variables_of_interest = Json( ReducedWongWangExcInh.variables_of_interest, self)
def __init__(self, path): super(ZerlautFirstOrderH5, self).__init__(path) self.g_L = DataSet(ZerlautFirstOrder.g_L, self) self.E_L_e = DataSet(ZerlautFirstOrder.E_L_e, self) self.E_L_i = DataSet(ZerlautFirstOrder.E_L_i, self) self.C_m = DataSet(ZerlautFirstOrder.C_m, self) self.b = DataSet(ZerlautFirstOrder.b, self) self.tau_w = DataSet(ZerlautFirstOrder.tau_w, self) self.E_e = DataSet(ZerlautFirstOrder.E_e, self) self.E_i = DataSet(ZerlautFirstOrder.E_i, self) self.Q_e = DataSet(ZerlautFirstOrder.Q_e, self) self.Q_i = DataSet(ZerlautFirstOrder.Q_i, self) self.tau_e = DataSet(ZerlautFirstOrder.tau_e, self) self.tau_i = DataSet(ZerlautFirstOrder.tau_i, self) self.N_tot = DataSet(ZerlautFirstOrder.N_tot, self) self.p_connect = DataSet(ZerlautFirstOrder.p_connect, self) self.g = DataSet(ZerlautFirstOrder.g, self) self.T = DataSet(ZerlautFirstOrder.T, self) self.P_e = DataSet(ZerlautFirstOrder.P_e, self) self.P_i = DataSet(ZerlautFirstOrder.P_i, self) self.external_input = DataSet(ZerlautFirstOrder.external_input, self) self.state_variable_range = JsonFinal( ZerlautFirstOrder.state_variable_range, self, json_encoder=StateVariablesEncoder, json_decoder=StateVariablesDecoder) self.variables_of_interest = Json( ZerlautFirstOrder.variables_of_interest, self)
def __init__(self, path): super(EpileptorH5, self).__init__(path) self.a = DataSet(Epileptor.a, self) self.b = DataSet(Epileptor.b, self) self.c = DataSet(Epileptor.c, self) self.d = DataSet(Epileptor.d, self) self.r = DataSet(Epileptor.r, self) self.s = DataSet(Epileptor.s, self) self.x0 = DataSet(Epileptor.x0, self) self.Iext = DataSet(Epileptor.Iext, self) self.slope = DataSet(Epileptor.slope, self) self.Iext2 = DataSet(Epileptor.Iext2, self) self.tau = DataSet(Epileptor.tau, self) self.aa = DataSet(Epileptor.aa, self) self.bb = DataSet(Epileptor.bb, self) self.Kvf = DataSet(Epileptor.Kvf, self) self.Kf = DataSet(Epileptor.Kf, self) self.Ks = DataSet(Epileptor.Ks, self) self.tt = DataSet(Epileptor.tt, self) self.modification = DataSet(Epileptor.modification, self) self.state_variable_range = JsonFinal( Epileptor.state_variable_range, self, json_encoder=StateVariablesEncoder, json_decoder=StateVariablesDecoder) self.variables_of_interest = Json(Epileptor.variables_of_interest, self)
def __init__(self, path): super(EpileptorCodim3SlowModH5, self).__init__(path) self.mu1_Ain = DataSet(EpileptorCodim3SlowMod.mu1_Ain, self) self.mu2_Ain = DataSet(EpileptorCodim3SlowMod.mu2_Ain, self) self.nu_Ain = DataSet(EpileptorCodim3SlowMod.nu_Ain, self) self.mu1_Bin = DataSet(EpileptorCodim3SlowMod.mu1_Bin, self) self.mu2_Bin = DataSet(EpileptorCodim3SlowMod.mu2_Bin, self) self.nu_Bin = DataSet(EpileptorCodim3SlowMod.nu_Bin, self) self.mu1_Aend = DataSet(EpileptorCodim3SlowMod.mu1_Aend, self) self.mu2_Aend = DataSet(EpileptorCodim3SlowMod.mu2_Aend, self) self.nu_Aend = DataSet(EpileptorCodim3SlowMod.nu_Aend, self) self.mu1_Bend = DataSet(EpileptorCodim3SlowMod.mu1_Bend, self) self.mu2_Bend = DataSet(EpileptorCodim3SlowMod.mu2_Bend, self) self.nu_Bend = DataSet(EpileptorCodim3SlowMod.nu_Bend, self) self.b = DataSet(EpileptorCodim3SlowMod.b, self) self.R = DataSet(EpileptorCodim3SlowMod.R, self) self.c = DataSet(EpileptorCodim3SlowMod.c, self) self.cA = DataSet(EpileptorCodim3SlowMod.cA, self) self.cB = DataSet(EpileptorCodim3SlowMod.cB, self) self.dstar = DataSet(EpileptorCodim3SlowMod.dstar, self) self.Ks = DataSet(EpileptorCodim3SlowMod.Ks, self) self.N = DataSet(EpileptorCodim3SlowMod.N, self) self.modification = DataSet(EpileptorCodim3SlowMod.modification, self) self.state_variable_range = JsonFinal( EpileptorCodim3SlowMod.state_variable_range, self, json_encoder=StateVariablesEncoder, json_decoder=StateVariablesDecoder) self.variables_of_interest = Json( EpileptorCodim3SlowMod.variables_of_interest, self)
def __init__(self, path): super(LinearH5, self).__init__(path) self.gamma = DataSet(Linear.gamma, self) self.state_variable_range = JsonFinal( Linear.state_variable_range, self, json_encoder=StateVariablesEncoder, json_decoder=StateVariablesDecoder) self.variables_of_interest = Json(Linear.variables_of_interest, self)
def __init__(self, path): super(KuramotoH5, self).__init__(path) self.omega = DataSet(Kuramoto.omega, self) self.state_variable_range = JsonFinal( Kuramoto.state_variable_range, self, json_encoder=StateVariablesEncoder, json_decoder=StateVariablesDecoder) self.variables_of_interest = Json(Kuramoto.variables_of_interest, self)
def __init__(self, path): super(ZerlautSecondOrderH5, self).__init__(path) self.state_variable_range = JsonFinal( ZerlautSecondOrder.state_variable_range, self, json_encoder=StateVariablesEncoder, json_decoder=StateVariablesDecoder) self.variables_of_interest = Json( ZerlautSecondOrder.variables_of_interest, self)
def __init__(self, path): super(KuramotoH5, self).__init__(path) self.omega = DataSet(ModelsEnum.KURAMOTO.get_class().omega, self) self.state_variable_range = JsonFinal( ModelsEnum.KURAMOTO.get_class().state_variable_range, self, json_encoder=StateVariablesEncoder, json_decoder=StateVariablesDecoder) self.variables_of_interest = Json( ModelsEnum.KURAMOTO.get_class().variables_of_interest, self)
def __init__(self, path): super(LinearH5, self).__init__(path) self.gamma = DataSet(ModelsEnum.LINEAR.get_class().gamma, self) self.state_variable_range = JsonFinal( ModelsEnum.LINEAR.get_class().state_variable_range, self, json_encoder=StateVariablesEncoder, json_decoder=StateVariablesDecoder) self.variables_of_interest = Json( ModelsEnum.LINEAR.get_class().variables_of_interest, self)
def __init__(self, path): super(ZerlautAdaptationSecondOrderH5, self).__init__(path) self.state_variable_range = JsonFinal( ModelsEnum.ZERLAUT_SECOND_ORDER.get_class().state_variable_range, self, json_encoder=StateVariablesEncoder, json_decoder=StateVariablesDecoder) self.variables_of_interest = Json( ModelsEnum.ZERLAUT_SECOND_ORDER.get_class().variables_of_interest, self)
def __init__(self, path): super(SupHopfH5, self).__init__(path) self.a = DataSet(ModelsEnum.SUP_HOPF.get_class().a, self) self.omega = DataSet(ModelsEnum.SUP_HOPF.get_class().omega, self) self.state_variable_range = JsonFinal( ModelsEnum.SUP_HOPF.get_class().state_variable_range, self, json_encoder=StateVariablesEncoder, json_decoder=StateVariablesDecoder) self.variables_of_interest = Json( ModelsEnum.SUP_HOPF.get_class().variables_of_interest, self)
def __init__(self, path): super(HopfieldH5, self).__init__(path) self.taux = DataSet(Hopfield.taux, self) self.tauT = DataSet(Hopfield.tauT, self) self.dynamic = DataSet(Hopfield.dynamic, self) self.state_variable_range = JsonFinal( Hopfield.state_variable_range, self, json_encoder=StateVariablesEncoder, json_decoder=StateVariablesDecoder) self.variables_of_interest = Json(Hopfield.variables_of_interest, self)
def __init__(self, path): super(HopfieldH5, self).__init__(path) self.taux = DataSet(ModelsEnum.HOPFIELD.get_class().taux, self) self.tauT = DataSet(ModelsEnum.HOPFIELD.get_class().tauT, self) self.dynamic = DataSet(ModelsEnum.HOPFIELD.get_class().dynamic, self) self.state_variable_range = JsonFinal( ModelsEnum.HOPFIELD.get_class().state_variable_range, self, json_encoder=StateVariablesEncoder, json_decoder=StateVariablesDecoder) self.variables_of_interest = Json( ModelsEnum.HOPFIELD.get_class().variables_of_interest, self)
def __init__(self, path): super(LarterBreakspearH5, self).__init__(path) self.gCa = DataSet(ModelsEnum.LARTER_BREAKSPEAR.get_class().gCa, self) self.gK = DataSet(ModelsEnum.LARTER_BREAKSPEAR.get_class().gK, self) self.gL = DataSet(ModelsEnum.LARTER_BREAKSPEAR.get_class().gL, self) self.phi = DataSet(ModelsEnum.LARTER_BREAKSPEAR.get_class().phi, self) self.gNa = DataSet(ModelsEnum.LARTER_BREAKSPEAR.get_class().gNa, self) self.TK = DataSet(ModelsEnum.LARTER_BREAKSPEAR.get_class().TK, self) self.TCa = DataSet(ModelsEnum.LARTER_BREAKSPEAR.get_class().TCa, self) self.TNa = DataSet(ModelsEnum.LARTER_BREAKSPEAR.get_class().TNa, self) self.VCa = DataSet(ModelsEnum.LARTER_BREAKSPEAR.get_class().VCa, self) self.VK = DataSet(ModelsEnum.LARTER_BREAKSPEAR.get_class().VK, self) self.VL = DataSet(ModelsEnum.LARTER_BREAKSPEAR.get_class().VL, self) self.VNa = DataSet(ModelsEnum.LARTER_BREAKSPEAR.get_class().VNa, self) self.d_K = DataSet(ModelsEnum.LARTER_BREAKSPEAR.get_class().d_K, self) self.tau_K = DataSet(ModelsEnum.LARTER_BREAKSPEAR.get_class().tau_K, self) self.d_Na = DataSet(ModelsEnum.LARTER_BREAKSPEAR.get_class().d_Na, self) self.d_Ca = DataSet(ModelsEnum.LARTER_BREAKSPEAR.get_class().d_Ca, self) self.aei = DataSet(ModelsEnum.LARTER_BREAKSPEAR.get_class().aei, self) self.aie = DataSet(ModelsEnum.LARTER_BREAKSPEAR.get_class().aie, self) self.b = DataSet(ModelsEnum.LARTER_BREAKSPEAR.get_class().b, self) self.C = DataSet(ModelsEnum.LARTER_BREAKSPEAR.get_class().C, self) self.ane = DataSet(ModelsEnum.LARTER_BREAKSPEAR.get_class().ane, self) self.ani = DataSet(ModelsEnum.LARTER_BREAKSPEAR.get_class().ani, self) self.aee = DataSet(ModelsEnum.LARTER_BREAKSPEAR.get_class().aee, self) self.Iext = DataSet(ModelsEnum.LARTER_BREAKSPEAR.get_class().Iext, self) self.rNMDA = DataSet(ModelsEnum.LARTER_BREAKSPEAR.get_class().rNMDA, self) self.VT = DataSet(ModelsEnum.LARTER_BREAKSPEAR.get_class().VT, self) self.d_V = DataSet(ModelsEnum.LARTER_BREAKSPEAR.get_class().d_V, self) self.ZT = DataSet(ModelsEnum.LARTER_BREAKSPEAR.get_class().ZT, self) self.d_Z = DataSet(ModelsEnum.LARTER_BREAKSPEAR.get_class().d_Z, self) self.QV_max = DataSet(ModelsEnum.LARTER_BREAKSPEAR.get_class().QV_max, self) self.QZ_max = DataSet(ModelsEnum.LARTER_BREAKSPEAR.get_class().QZ_max, self) self.t_scale = DataSet( ModelsEnum.LARTER_BREAKSPEAR.get_class().t_scale, self) self.variables_of_interest = Json( ModelsEnum.LARTER_BREAKSPEAR.get_class().variables_of_interest, self) self.state_variable_range = JsonFinal( ModelsEnum.LARTER_BREAKSPEAR.get_class().state_variable_range, self, json_encoder=StateVariablesEncoder, json_decoder=StateVariablesDecoder)
def __init__(self, path): super(EpileptorCodim3SlowModH5, self).__init__(path) self.mu1_Ain = DataSet( ModelsEnum.EPILEPTOR_CODIM_3_SLOW.get_class().mu1_Ain, self) self.mu2_Ain = DataSet( ModelsEnum.EPILEPTOR_CODIM_3_SLOW.get_class().mu2_Ain, self) self.nu_Ain = DataSet( ModelsEnum.EPILEPTOR_CODIM_3_SLOW.get_class().nu_Ain, self) self.mu1_Bin = DataSet( ModelsEnum.EPILEPTOR_CODIM_3_SLOW.get_class().mu1_Bin, self) self.mu2_Bin = DataSet( ModelsEnum.EPILEPTOR_CODIM_3_SLOW.get_class().mu2_Bin, self) self.nu_Bin = DataSet( ModelsEnum.EPILEPTOR_CODIM_3_SLOW.get_class().nu_Bin, self) self.mu1_Aend = DataSet( ModelsEnum.EPILEPTOR_CODIM_3_SLOW.get_class().mu1_Aend, self) self.mu2_Aend = DataSet( ModelsEnum.EPILEPTOR_CODIM_3_SLOW.get_class().mu2_Aend, self) self.nu_Aend = DataSet( ModelsEnum.EPILEPTOR_CODIM_3_SLOW.get_class().nu_Aend, self) self.mu1_Bend = DataSet( ModelsEnum.EPILEPTOR_CODIM_3_SLOW.get_class().mu1_Bend, self) self.mu2_Bend = DataSet( ModelsEnum.EPILEPTOR_CODIM_3_SLOW.get_class().mu2_Bend, self) self.nu_Bend = DataSet( ModelsEnum.EPILEPTOR_CODIM_3_SLOW.get_class().nu_Bend, self) self.b = DataSet(ModelsEnum.EPILEPTOR_CODIM_3_SLOW.get_class().b, self) self.R = DataSet(ModelsEnum.EPILEPTOR_CODIM_3_SLOW.get_class().R, self) self.c = DataSet(ModelsEnum.EPILEPTOR_CODIM_3_SLOW.get_class().c, self) self.cA = DataSet(ModelsEnum.EPILEPTOR_CODIM_3_SLOW.get_class().cA, self) self.cB = DataSet(ModelsEnum.EPILEPTOR_CODIM_3_SLOW.get_class().cB, self) self.dstar = DataSet( ModelsEnum.EPILEPTOR_CODIM_3_SLOW.get_class().dstar, self) self.Ks = DataSet(ModelsEnum.EPILEPTOR_CODIM_3_SLOW.get_class().Ks, self) self.N = DataSet(ModelsEnum.EPILEPTOR_CODIM_3_SLOW.get_class().N, self) self.modification = DataSet( ModelsEnum.EPILEPTOR_CODIM_3_SLOW.get_class().modification, self) self.state_variable_range = JsonFinal( ModelsEnum.EPILEPTOR_CODIM_3_SLOW.get_class().state_variable_range, self, json_encoder=StateVariablesEncoder, json_decoder=StateVariablesDecoder) self.variables_of_interest = Json( ModelsEnum.EPILEPTOR_CODIM_3_SLOW.get_class(). variables_of_interest, self)
def __init__(self, path): super(ReducedWongWangExcInhH5, self).__init__(path) self.a_e = DataSet( ModelsEnum.REDUCED_WONG_WANG_EXCH_INH.get_class().a_e, self) self.b_e = DataSet( ModelsEnum.REDUCED_WONG_WANG_EXCH_INH.get_class().b_e, self) self.d_e = DataSet( ModelsEnum.REDUCED_WONG_WANG_EXCH_INH.get_class().d_e, self) self.gamma_e = DataSet( ModelsEnum.REDUCED_WONG_WANG_EXCH_INH.get_class().gamma_e, self) self.tau_e = DataSet( ModelsEnum.REDUCED_WONG_WANG_EXCH_INH.get_class().tau_e, self) self.w_p = DataSet( ModelsEnum.REDUCED_WONG_WANG_EXCH_INH.get_class().w_p, self) self.J_N = DataSet( ModelsEnum.REDUCED_WONG_WANG_EXCH_INH.get_class().J_N, self) self.W_e = DataSet( ModelsEnum.REDUCED_WONG_WANG_EXCH_INH.get_class().W_e, self) self.a_i = DataSet( ModelsEnum.REDUCED_WONG_WANG_EXCH_INH.get_class().a_i, self) self.b_i = DataSet( ModelsEnum.REDUCED_WONG_WANG_EXCH_INH.get_class().b_i, self) self.d_i = DataSet( ModelsEnum.REDUCED_WONG_WANG_EXCH_INH.get_class().d_i, self) self.gamma_i = DataSet( ModelsEnum.REDUCED_WONG_WANG_EXCH_INH.get_class().gamma_i, self) self.tau_i = DataSet( ModelsEnum.REDUCED_WONG_WANG_EXCH_INH.get_class().tau_i, self) self.J_i = DataSet( ModelsEnum.REDUCED_WONG_WANG_EXCH_INH.get_class().J_i, self) self.W_i = DataSet( ModelsEnum.REDUCED_WONG_WANG_EXCH_INH.get_class().W_i, self) self.I_o = DataSet( ModelsEnum.REDUCED_WONG_WANG_EXCH_INH.get_class().I_o, self) self.G = DataSet(ModelsEnum.REDUCED_WONG_WANG_EXCH_INH.get_class().G, self) self.lamda = DataSet( ModelsEnum.REDUCED_WONG_WANG_EXCH_INH.get_class().lamda, self) self.state_variable_range = JsonFinal( ModelsEnum.REDUCED_WONG_WANG_EXCH_INH.get_class( ).state_variable_range, self, json_encoder=StateVariablesEncoder, json_decoder=StateVariablesDecoder) self.variables_of_interest = Json( ModelsEnum.REDUCED_WONG_WANG_EXCH_INH.get_class(). variables_of_interest, self)
def __init__(self, path): super(ReducedSetFitzHughNagumoH5, self).__init__(path) self.tau = DataSet(ReducedSetFitzHughNagumo.tau, self) self.a = DataSet(ReducedSetFitzHughNagumo.a, self) self.b = DataSet(ReducedSetFitzHughNagumo.b, self) self.K11 = DataSet(ReducedSetFitzHughNagumo.K11, self) self.K12 = DataSet(ReducedSetFitzHughNagumo.K12, self) self.K21 = DataSet(ReducedSetFitzHughNagumo.K21, self) self.sigma = DataSet(ReducedSetFitzHughNagumo.sigma, self) self.mu = DataSet(ReducedSetFitzHughNagumo.mu, self) self.state_variable_range = JsonFinal( ReducedSetFitzHughNagumo.state_variable_range, self, json_encoder=StateVariablesEncoder, json_decoder=StateVariablesDecoder) self.variables_of_interest = Json( ReducedSetFitzHughNagumo.variables_of_interest, self)
def __init__(self, path): super(ReducedWongWangH5, self).__init__(path) self.a = DataSet(ReducedWongWang.a, self) self.b = DataSet(ReducedWongWang.b, self) self.d = DataSet(ReducedWongWang.d, self) self.gamma = DataSet(ReducedWongWang.gamma, self) self.tau_s = DataSet(ReducedWongWang.tau_s, self) self.w = DataSet(ReducedWongWang.w, self) self.J_N = DataSet(ReducedWongWang.J_N, self) self.I_o = DataSet(ReducedWongWang.I_o, self) self.sigma_noise = DataSet(ReducedWongWang.sigma_noise, self) self.state_variable_range = JsonFinal( ReducedWongWang.state_variable_range, self, json_encoder=StateVariablesEncoder, json_decoder=StateVariablesDecoder) self.variables_of_interest = Json( ReducedWongWang.variables_of_interest, self)
def _generate_accessors(self, view_model_fields): for attr_name in view_model_fields: attr = getattr(self.view_model, attr_name) if not issubclass(type(attr), Attr): raise ValueError('expected a Attr, got a {}'.format( type(attr))) if isinstance(attr, DataTypeGidAttr): ref = Uuid(attr, self) elif isinstance(attr, NArray): ref = DataSet(attr, self) elif isinstance(attr, List): if issubclass(attr.element_type, HasTraits): ref = ReferenceList(attr, self) else: ref = Json(attr, self) elif issubclass(type(attr), Attr): if attr.field_type is scipy.sparse.spmatrix: ref = SparseMatrix(attr, self) elif attr.field_type is numpy.random.RandomState: continue elif attr.field_type is uuid.UUID: ref = Uuid(attr, self) elif issubclass(attr.field_type, (Equation, EquationsEnum)): ref = EquationScalar(attr, self) elif attr.field_type is Range: ref = JsonRange(attr, self) elif isinstance(attr, Final): if attr.field_type == dict: ref = JsonFinal(attr, self) elif attr.field_type == list: ref = Json(attr, self) else: ref = Scalar(attr, self) elif issubclass(attr.field_type, (HasTraits, TupleEnum)): ref = Reference(attr, self) elif issubclass(attr.field_type, TVBEnum): ref = Enum(attr, self) else: ref = Scalar(attr, self) else: ref = Accessor(attr, self) setattr(self, attr.field_name, ref)
def __init__(self, path): super(EpileptorRestingStateH5, self).__init__(path) self.a = DataSet(ModelsEnum.EPILEPTOR_RS.get_class().a, self) self.b = DataSet(ModelsEnum.EPILEPTOR_RS.get_class().b, self) self.c = DataSet(ModelsEnum.EPILEPTOR_RS.get_class().c, self) self.d = DataSet(ModelsEnum.EPILEPTOR_RS.get_class().d, self) self.r = DataSet(ModelsEnum.EPILEPTOR_RS.get_class().r, self) self.s = DataSet(ModelsEnum.EPILEPTOR_RS.get_class().s, self) self.x0 = DataSet(ModelsEnum.EPILEPTOR_RS.get_class().x0, self) self.Iext = DataSet(ModelsEnum.EPILEPTOR_RS.get_class().Iext, self) self.slope = DataSet(ModelsEnum.EPILEPTOR_RS.get_class().slope, self) self.Iext2 = DataSet(ModelsEnum.EPILEPTOR_RS.get_class().Iext2, self) self.tau = DataSet(ModelsEnum.EPILEPTOR_RS.get_class().tau, self) self.aa = DataSet(ModelsEnum.EPILEPTOR_RS.get_class().aa, self) self.bb = DataSet(ModelsEnum.EPILEPTOR_RS.get_class().bb, self) self.Kvf = DataSet(ModelsEnum.EPILEPTOR_RS.get_class().Kvf, self) self.Kf = DataSet(ModelsEnum.EPILEPTOR_RS.get_class().Kf, self) self.Ks = DataSet(ModelsEnum.EPILEPTOR_RS.get_class().Ks, self) self.tt = DataSet(ModelsEnum.EPILEPTOR_RS.get_class().tt, self) self.tau_rs = DataSet(ModelsEnum.EPILEPTOR_RS.get_class().tau_rs, self) self.I_rs = DataSet(ModelsEnum.EPILEPTOR_RS.get_class().I_rs, self) self.a_rs = DataSet(ModelsEnum.EPILEPTOR_RS.get_class().a_rs, self) self.b_rs = DataSet(ModelsEnum.EPILEPTOR_RS.get_class().b_rs, self) self.d_rs = DataSet(ModelsEnum.EPILEPTOR_RS.get_class().d_rs, self) self.e_rs = DataSet(ModelsEnum.EPILEPTOR_RS.get_class().e_rs, self) self.f_rs = DataSet(ModelsEnum.EPILEPTOR_RS.get_class().f_rs, self) self.alpha_rs = DataSet(ModelsEnum.EPILEPTOR_RS.get_class().alpha_rs, self) self.beta_rs = DataSet(ModelsEnum.EPILEPTOR_RS.get_class().beta_rs, self) self.gamma_rs = DataSet(ModelsEnum.EPILEPTOR_RS.get_class().gamma_rs, self) self.K_rs = DataSet(ModelsEnum.EPILEPTOR_RS.get_class().K_rs, self) self.p = DataSet(ModelsEnum.EPILEPTOR_RS.get_class().p, self) self.state_variable_range = JsonFinal( ModelsEnum.EPILEPTOR_RS.get_class().state_variable_range, self, json_encoder=StateVariablesEncoder, json_decoder=StateVariablesDecoder) self.variables_of_interest = Json( ModelsEnum.EPILEPTOR_RS.get_class().variables_of_interest, self)
def __init__(self, path): super(LarterBreakspearH5, self).__init__(path) self.gCa = DataSet(LarterBreakspear.gCa, self) self.gK = DataSet(LarterBreakspear.gK, self) self.gL = DataSet(LarterBreakspear.gL, self) self.phi = DataSet(LarterBreakspear.phi, self) self.gNa = DataSet(LarterBreakspear.gNa, self) self.TK = DataSet(LarterBreakspear.TK, self) self.TCa = DataSet(LarterBreakspear.TCa, self) self.TNa = DataSet(LarterBreakspear.TNa, self) self.VCa = DataSet(LarterBreakspear.VCa, self) self.VK = DataSet(LarterBreakspear.VK, self) self.VL = DataSet(LarterBreakspear.VL, self) self.VNa = DataSet(LarterBreakspear.VNa, self) self.d_K = DataSet(LarterBreakspear.d_K, self) self.tau_K = DataSet(LarterBreakspear.tau_K, self) self.d_Na = DataSet(LarterBreakspear.d_Na, self) self.d_Ca = DataSet(LarterBreakspear.d_Ca, self) self.aei = DataSet(LarterBreakspear.aei, self) self.aie = DataSet(LarterBreakspear.aie, self) self.b = DataSet(LarterBreakspear.b, self) self.C = DataSet(LarterBreakspear.C, self) self.ane = DataSet(LarterBreakspear.ane, self) self.ani = DataSet(LarterBreakspear.ani, self) self.aee = DataSet(LarterBreakspear.aee, self) self.Iext = DataSet(LarterBreakspear.Iext, self) self.rNMDA = DataSet(LarterBreakspear.rNMDA, self) self.VT = DataSet(LarterBreakspear.VT, self) self.d_V = DataSet(LarterBreakspear.d_V, self) self.ZT = DataSet(LarterBreakspear.ZT, self) self.d_Z = DataSet(LarterBreakspear.d_Z, self) self.QV_max = DataSet(LarterBreakspear.QV_max, self) self.QZ_max = DataSet(LarterBreakspear.QZ_max, self) self.t_scale = DataSet(LarterBreakspear.t_scale, self) self.variables_of_interest = Json( LarterBreakspear.variables_of_interest, self) self.state_variable_range = JsonFinal( LarterBreakspear.state_variable_range, self, json_encoder=StateVariablesEncoder, json_decoder=StateVariablesDecoder)
def __init__(self, path): super(ReducedSetHindmarshRoseH5, self).__init__(path) self.r = DataSet(ReducedSetHindmarshRose.r, self) self.a = DataSet(ReducedSetHindmarshRose.a, self) self.b = DataSet(ReducedSetHindmarshRose.b, self) self.c = DataSet(ReducedSetHindmarshRose.c, self) self.d = DataSet(ReducedSetHindmarshRose.d, self) self.s = DataSet(ReducedSetHindmarshRose.s, self) self.xo = DataSet(ReducedSetHindmarshRose.xo, self) self.K11 = DataSet(ReducedSetHindmarshRose.K11, self) self.K12 = DataSet(ReducedSetHindmarshRose.K12, self) self.K21 = DataSet(ReducedSetHindmarshRose.K21, self) self.sigma = DataSet(ReducedSetHindmarshRose.sigma, self) self.mu = DataSet(ReducedSetHindmarshRose.mu, self) self.state_variable_range = JsonFinal( ReducedSetHindmarshRose.state_variable_range, self, json_encoder=StateVariablesEncoder, json_decoder=StateVariablesDecoder) self.variables_of_interest = Json( ReducedSetHindmarshRose.variables_of_interest, self)