Jérôme Lecoq's code for SLAP2 pilot analysis, adapted for Google Colab by Alex Maier

https://github.com/maierav/openscope2o/blob/main/SLAP2.ipynb