For an intro to supervised learning with SuperSpike in temporally coding spiking neural networks please refer to the example code here https://github.com/fzenke/pub2018superspike