def __init__(self): BaseExtractor.__init__(self) self._sampling_frequency = None self._channel_names = ['OpticalChannel'] self._num_planes = 1 self._roi_response_raw = None self._roi_response_dff = None self._roi_response_neuropil = None self._roi_response_deconvolved = None self._image_correlation = None self._image_mean = None
def load_extractor_from_dict(d): ''' Instantiates extractor from dictionary Parameters ---------- d: dictionary Python dictionary Returns ------- extractor: RecordingExtractor or SortingExtractor The loaded extractor object ''' return BaseExtractor.load_extractor_from_dict(d)
def load_extractor_from_json(json_file): ''' Instantiates extractor from json file Parameters ---------- json_file: str or Path Path to json file Returns ------- extractor: RecordingExtractor or SortingExtractor The loaded extractor object ''' return BaseExtractor.load_extractor_from_json(json_file)
def load_extractor_from_pickle(pkl_file): ''' Instantiates extractor from pickle file Parameters ---------- pkl_file: str or Path Path to pickle file Returns ------- extractor: RecordingExtractor or SortingExtractor The loaded extractor object ''' return BaseExtractor.load_extractor_from_pickle(pkl_file)
def __init__(self): BaseExtractor.__init__(self) self._memmapped = False
def __init__(self): BaseExtractor.__init__(self) assert self.installed, self.installation_mesg self._memmapped = False