Neurons generate diverse firing patterns to perform a range of specialized tasks. Experiments show that many features of these firing patterns arise from distinctive membrane properties, but theoretical work predicts that differences in neuronal morphology are also important.
Connors, B. W., & Regehr, W. G. (1996). Neuronal firing: Does function follow form? Current Biology. Cell Press. https://doi.org/10.1016/S0960-9822(02)70771-9