OdohertySabesNonhuman2017#
- class torch_brain.datasets.OdohertySabesNonhuman2017(root=None, recording_ids=None, transform=None, split_type='cursor_velocity', dirname='odoherty_sabes_nonhuman_2017', **kwargs)[source]#
Bases:
torch_brain.datasets.mixins.SpikingDatasetMixin,torch_brain.datasets.dataset.DatasetMotor cortex (M1 and S1) spiking activity and reaching kinematics from 2 monkeys performing random target reaching tasks with right hand.
Preprocessing
To download and prepare this dataset, run
brainsets prepare odoherty_sabes_nonhuman_2017
Tasks: Random Target
Brain Regions: M1, S1
Dataset Statistics
Subjects: 2
Total Sessions: 47
Total Units: 16,566
Events: ~105.2M spikes, ~12.4M behavioral timestamps
Links
Reference
O’Doherty, J. E., Cardoso, M. M. B., Makin, J. G., & Sabes, P. N. (2020). Nonhuman Primate Reaching with Multichannel Sensorimotor Cortex Electrophysiology. Zenodo Dataset.
- Parameters:
root (
Optional[str]) – Root directory for the dataset. Defaults toprocessed_dirfrom brainsets config.recording_ids (
Optional[list[str]]) – List of recording IDs to load.transform (
Optional[Callable]) – Data transformation to apply.split_type (
Optional[Literal['cursor_velocity']]) – Which split type to use. Defaults to “cursor_velocity”.dirname (
str) – Subdirectory for the dataset. Defaults to “odoherty_sabes_nonhuman_2017”.
- get_sampling_intervals(split=None)[source]#
Returns a dictionary of sampling intervals for each recording. This represents the intervals that can be sampled from each session.
This dictionary will be used by
torch_brain’s Samplers to know where to sample from.The default method returns intervals containing the entire domain of each recording. This behavior can be overridden by subclasses to give out custom sampling intervals.
- Returns:
Dictionary mapping recording IDs to their time domain intervals.