You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the CaImAn docs, estimates.C refers to the 'temporal components', which should be stored as _roi_response_raw in the SegmentationExtractor and estimates.f refers to the 'temporal background components', which should be stored as _roi_response_neuropil in the SegmentationExtractor.
Hi Caiman maintainer here. I've started working on Caiman -> NWB integration, and improving our save_nwb() functionality as initially discussed here: flatironinstitute/CaImAn#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.
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
The text was updated successfully, but these errors were encountered: