Spike response function analysis for neuron calcium imaging data