Description of problem
I’m working on a analog circuit implementation of lif neuruons. Meanwhile, I’m considering using brian to simulate it. The analog neuron, which is essentially a leaky integrator, can be modeled simply by an ode. However, the spike cannot be an ideal impulse, it’s more like a rectangle waveform. in brian2, the spike is more like a event, which triggers other state variables. Is there any way to implement spike with shapes?