flatironinstitute / CaImAn

Computational toolbox for large scale Calcium Imaging Analysis, including movie handling, motion correction, source extraction, spike deconvolution and result visualization.
https://caiman.readthedocs.io
GNU General Public License v2.0
640 stars 370 forks source link

do you guys want plotting code? #1113

Closed loftusa closed 10 months ago

loftusa commented 1 year ago

I have code that makes the following from what is essentially an HDF file:

Movie with contours and nice-ish legend

Screenshot 2023-06-13 at 11 56 05 AM

Spike plot using estimates.S (separated, for us, by different recording periods)

Screenshot 2023-06-13 at 11 56 55 AM

Plot for separate neurons with estimates.S as lines in the background, estimates.C in green, and the background residuals in blue

Screenshot 2023-06-13 at 11 57 58 AM

Raster plot for neurons

Screenshot 2023-06-13 at 11 59 07 AM

I can post the code here if you guys want, although it might need a bit of refactoring to get into caiman.

EricThomson commented 1 year ago

Definitely we'd love useful things that users might like, depending on the dependencies and some other factors (e.g., how hard will it be to maintain once you ride away into the sunset :) ). It seems this would potentially be multiple useful visualization methods, and we'd probably want to discuss each one.

zhouyi0812 commented 1 year ago

Could you please share your plotting code? Thank you!

wmsheer commented 1 year ago

I'd also be super interested in this plotting code for the time being if you're still willing to share. Thanks!