Perturbing oscillatory spiking neural networks with structured connectivity old code Built with Python 2 and networkx