A Model for Single Neuron Activity With Refractory Effects and Spike Rate Estimation Techniques