neurotic.datasets.data¶
The neurotic.datasets.data module implements a function for loading a
dataset from selected metadata.
-
neurotic.datasets.data.load_dataset(metadata, lazy=False, signal_group_mode='split-all', filter_events_from_epochs=False)[source]¶ Load a dataset.
metadatamay be aMetadataSelectoror a simple dictionary containing the appropriate data.The
data_fileinmetadatais read into a NeoBlockusing an automatically detectedneo.ioclass iflazy=Falseor aneo.rawioclass iflazy=True.Epochs and events loaded from
annotations_fileandepoch_encoder_fileand spike trains loaded fromtridesclous_fileare added to the Neo Block.If
lazy=False, filters given inmetadataare applied to the signals and amplitude discriminators are run to detect spikes.