Suite2P as supported input
Hi, This is an amazing tool, thank you for creating it! Unfortunately though I use Suite2P to extract calcium traces, could you implement it in Pynapple as a supported input?
Thanks!
Hi sure. It will be part of the next version of pynapple. I will leave the issue open until it's ready
Hello I just pushed a Suite2P loader but I would like to know if what is attached to the loader is sufficient for further analysis.. Would you be ok to test it? The steps to install it are here :
$ conda create --name pynapple pip python=3.8
$ conda activate pynapple
$ git clone https://github.com/PeyracheLab/pynapple.git
$ cd pynapple
$ pip install -e .
You can load a session like this :
data = nap.load_session("yourpath", "suite2p")
The doc : https://peyrachelab.github.io/pynapple/io.suite2p/
Following up on this thread with a related, but different question.
suite2p has a built-in mechanism to save out NWB files which preserves all of the information used for suite2p processing. If I use their native loading mechanism, I can load all kinds of settings that are valuable.
I want to use suite2p's native loading mechanism combined with Pynapple to perform some visualizations and analysis.
When using Pynapple to load in the data, I get a tsdFrame named 'plane0' (see screenshot - ignore the other variables). This is not surprising because I only have one imaging plane.
The issue arising is that rather than extracting the various kinds of information (Deconvolved signals, Fluorescence, neuropil), pynapple only seems to extract Deconvolved signals and terms them plane0.
I can work around this by simply saving out separate processing modules for 'Deconvolved', 'Fluorescence' and 'neuropil' for one plane, but I'll have redundancies in the NWB file.
Do you all have plans to incorporate suite2p's NWB saving mechanism into Pynapples loading mechanism? Or do you have any other recommendations? Happy to share any files as needed.
Hi John, it might be a problem of nested time series. I guess the easier is to share a small NWB and I can take a look.
Sorry about the delay. I think you are correct about the nested time series. Do you have a preferred email? Github doesn't support .nwb
You can send it to gviejo[at]flatironinstitute[dot]org