odynn.models.leakint module¶
-
class
odynn.models.leakint.LeakyIntegrate(init_p, tensors=False, dt=0.1)[source]¶ Bases:
odynn.models.model.BioNeuronAttributes: init_statendarray, Initial state vector
numint, Number of neurons being modeled in this object
- parameter_names
Methods
calculate(i_inj)Simulate the neuron with input current i_inj and return the state vectors get_random()Return a dictionnary with the same keys as default_params and random values parallelize(n)Add a dimension of size n in the initial parameters and initial state plot_output(ts, i_inj, states[, y_states, …])Plot voltage and ion concentrations, potentially compared to a target model plot_results(ts, i_inj_values, X[, ca_true, …])Function for plotting detailed results of some experiment step(X, i_inj)Integrate and update state variable (voltage and possibly others) after one time step -
default_init_state= array([-60.])¶
-
default_params= {'C_m': 1.0, 'E_L': -60.0, 'g_L': 0.1}¶
-
static
get_random()[source]¶ Return a dictionnary with the same keys as default_params and random values