Gravar-mail: Synthesis of neural networks for spatio-temporal spike pattern recognition and processing