Exemple #1
0
 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
Exemple #2
0
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)
Exemple #3
0
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)
Exemple #4
0
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)
Exemple #5
0
 def __init__(self):
     BaseExtractor.__init__(self)
     self._memmapped = False
Exemple #6
0
 def __init__(self):
     BaseExtractor.__init__(self)
     assert self.installed, self.installation_mesg
     self._memmapped = False