Source code for neuroconv.datainterfaces.ophys.cnmfe.cnmfedatainterface

from pydantic import FilePath

from ..basesegmentationextractorinterface import BaseSegmentationExtractorInterface


[docs] class CnmfeSegmentationInterface(BaseSegmentationExtractorInterface): """Data interface for constrained non-negative matrix factorization (CNMFE) segmentation extractor.""" display_name = "CNMFE Segmentation" associated_suffixes = (".mat",) info = "Interface for constrained non-negative matrix factorization (CNMFE) segmentation."
[docs] @classmethod def get_extractor_class(cls): from roiextractors import CnmfeSegmentationExtractor return CnmfeSegmentationExtractor
def __init__(self, file_path: FilePath, verbose: bool = False): super().__init__(file_path=file_path) self.verbose = verbose