Simplify and speedup gaps detection for NSC.
Simplify and speedup gaps detection for NSC.

samuelgarcia/python-neo,rgerkin/python-neo,INM-6/python-neo,NeuralEnsemble/python-neo,apdavison/python-neo,JuliaSprenger/python-neo