CUBA

Contents

CUBA#

class brainpy.state.CUBA(scale=Unit('V'))#

Current-based (CUBA) synaptic output.

Converts synaptic conductance directly into post-synaptic current by applying a fixed scaling factor, independent of the membrane potential:

\[I_{\mathrm{syn}}(t) = g_{\mathrm{syn}}(t) \cdot \text{scale}\]

where \(g_{\mathrm{syn}}\) is the instantaneous synaptic conductance and scale is a constant conversion factor.

Parameters:

scale (ArrayLike, default u.volt) – Scaling factor applied to the conductance to obtain the current. The default value of u.volt converts conductance in siemens to current in amperes.

See also

COBA

Conductance-based synaptic output (potential-dependent).

Notes

  • The CUBA model ignores the post-synaptic membrane potential entirely, making the synaptic current a fixed function of the presynaptic activity alone.

  • This simplification is computationally cheaper than COBA and can be appropriate when the membrane potential remains close to rest or when modeling abstract spiking networks [1].

  • In practice, scale should be chosen so that conductance * scale has units compatible with the target neuron’s current input (e.g., millivolts for dimensionless models, or amperes for biophysical models).

References

Examples

>>> import brainpy
>>> import saiunit as u
>>> # Default CUBA synapse
>>> cuba = brainpy.state.CUBA()
>>> # CUBA with custom scaling
>>> cuba_scaled = brainpy.state.CUBA(scale=0.5 * u.volt)