Inconsistency in the purposes of MultiImagingExtractor
and MultiSegmentationExtractor
#178
Labels
MultiImagingExtractor
and MultiSegmentationExtractor
#178
TLDR;
MultiImagingExtractor
handles the concatenation of recordings of different imaging extractors from the same imaging plane.MultiSegmentationExtractor
handles a collection of segmentation extractors that correspond to different imaging planes (without concatenation).The issue
So, I was reading this issue to understand the purpose of
MultiSegmentationExtractor
as it seems to be handled in a very different way in nwb conversion tools to anything else I have seen:#11
Right now, the purpose of the
MultiImagingExtractor
that was added in #127 is to concatenate recordings in time. We have some images and theMultiImagingExtractor
handles them as if they came from the same device and appends them over time.However, the
MultiSegmentationExtractor
does something different, it is mean to handle segmentation in different planes in a common extractor object. For example, it does not concatenate the signals (raw traces , df/f, etc) in time it just adds more of them to the commonget_traces_dict
as further signals:Output:
It seems that the original intention on issue #11 was to implement
MultiImagingExtractor
in such way (to handle different imaging extractors corresponding to different planes in a single object).What to do?
Maybe we can change the name of
MultiSegmentationExtractor
toMutliPlaneSegmentationExtractor
and keep it as it is? As things stand, it seems confusing and inconsistent to keep analogous names for objects that have a different purpose. Another option would be to renameMultiImagingExtractor
to something likeConcatenatedImagingExtractor
.spikeinterface
has the concepts of segments to do what our currentMultiImagingExtractor
does if that should be used as guidance.The text was updated successfully, but these errors were encountered: