inferno.neural.functional

Encodings

homogeneous_poisson_exp_interval

Generates a tensor of spikes using a Poisson distribution.

homogeneous_poisson_exp_interval_online

Yields a generator for tensor slices of a Poisson spike train.

inhomogeneous_poisson_bernoulli_approx

Generates a tensor of spikes approximating an inhomogeneous Poisson distribution.

poisson_interval

Generates a tensor of spikes with Poisson determined intervals.

poisson_interval_online

Yields a generator for tensor slices of a spike train with Poisson-sampled intervals.

Neuronal Dynamics

adaptive_currents_linear

Update adaptive currents based on membrane potential and postsynaptic spikes.

adaptive_thresholds_linear_spike

Update adaptive thresholds based on postsynaptic spikes.

adaptive_thresholds_linear_voltage

Update adaptive thresholds based on membrane potential.

apply_adaptive_currents

Applies simple adaptation to presynaptic currents.

apply_adaptive_thresholds

Applies simple adaptation to voltage firing thresholds.

voltage_integration_linear

Integrates input currents into membrane voltages using linear dynamics.

voltage_integration_quadratic

Integrates input currents into membrane voltages using quadratic dynamics.

voltage_thresholding_constant

Manage refractory periods, spiking, and voltage based on voltage thresholding.

voltage_thresholding_linear

Manage refractory periods, spiking, and voltage based on voltage thresholding.