A Python model of a single neuron