Closed pauladkisson closed 8 months ago
Hi Caiman maintainer here. I've started working on Caiman -> NWB integration, and improving our save_nwb()
functionality as initially discussed here: https://github.com/flatironinstitute/CaImAn/issues/1146
I think this problem happens only if you use our current old and wonky save nwb function, which we will deprecate soon.
The next iteration I am planning to just lean on neuronconv
. I've been playing around with neuroconv today with the CNMF bits, and the conversion works fine as it just pulls in the denoised calcium traces in estimates.C
, the deltaf/F in estimates.F_dff
, and the the deconvolved traces (spike count estimates) in estimates.S
. The numbers all line up fine.
So, I think you can safely close this issue as it isn't a problem on your end but a problem we were introducing into the world with our poorly designed nwb save function.
Good to hear from you @EricThomson! I just want to double check -- are you using the CnmfeSegmentationInterface or the CaimanSegmentationInterface? Bc I believe this issue is only for the caiman one.
Hi I'm using the CaimanSegmentationInterface, basically following the example here:
https://neuroconv.readthedocs.io/en/main/conversion_examples_gallery/segmentation/caiman.html
Expected Behavior
According to the CaImAn docs,
estimates.C
refers to the 'temporal components', which should be stored as_roi_response_raw
in theSegmentationExtractor
andestimates.f
refers to the 'temporal background components', which should be stored as_roi_response_neuropil
in theSegmentationExtractor
.Current Behavior
Instead, in the
CaimanSegmentationExtractor
,and
estimates.f
is ignored.Code of Conduct