Spiking neural network architecture for brain data analysis