LorenFrankLab / spyglass

Neuroscience data analysis framework for reproducible research built by Loren Frank Lab at UCSF
https://lorenfranklab.github.io/spyglass/
MIT License
94 stars 43 forks source link
datajoint electrophysiology kachery neuroscience nwb python sortingview spikeinterface

spyglass

Tests PyPI version

Spyglass Figure

Demo | Installation | Docs | Tutorials | Citation

spyglass is a data analysis framework that facilitates the storage, analysis, visualization, and sharing of neuroscience data to support reproducible research. It is designed to be interoperable with the NWB format and integrates open-source tools into a coherent framework.

Try out a demo here!

Features of Spyglass include:

Documentation can be found at - https://lorenfranklab.github.io/spyglass/

Installation

For installation instructions see - https://lorenfranklab.github.io/spyglass/latest/notebooks/00_Setup/

Typical installation time is: 5-10 minutes

Tutorials

The tutorials for spyglass are currently in the form of Jupyter Notebooks and can be found in the notebooks directory. We strongly recommend running the notebooks yourself.

Contributing

See the Developer's Note for contributing instructions found at - https://lorenfranklab.github.io/spyglass/latest/contribute/

License/Copyright

License and Copyright notice can be found at https://lorenfranklab.github.io/spyglass/latest/LICENSE/

System requirements

Spyglass has been tested on Linux Ubuntu 20.04 and MacOS 10.15. It has not been tested on Windows and likely will not work.

No specific hardware requirements are needed to run spyglass. However, the amount of data that can be stored and analyzed is limited by the available disk space and memory. GPUs are required for some of the analysis tools, such as DeepLabCut.

See pyproject.toml, environment.yml, or environment_dlc.yml for software dependencies.

See spec-file.txt for the conda environment used in the demo.

Citation

Lee, K.H.*, Denovellis, E.L.*, Ly, R., Magland, J., Soules, J., Comrie, A.E., Gramling, D.P., Guidera, J.A., Nevers, R., Adenekan, P., Brozdowski, C., Bray, S., Monroe, E., Bak, J.H., Coulter, M.E., Sun, X., Broyles, E., Shin, D., Chiang, S., Holobetz, C., Tritt, A., Rübel, O., Nguyen, T., Yatsenko, D., Chu, J., Kemere, C., Garcia, S., Buccino, A., Frank, L.M., 2024. Spyglass: a data analysis framework for reproducible and shareable neuroscience research. bioRxiv. 10.1101/2024.01.25.577295.

* Equal contribution

See paper related code here.