ChurchlandShenoyNeural2012#

class torch_brain.datasets.ChurchlandShenoyNeural2012(root=None, recording_ids=None, transform=None, split_type='cursor_velocity', dirname='churchland_shenoy_neural_2012', **kwargs)[source]#

Bases: torch_brain.datasets.mixins.SpikingDatasetMixin, torch_brain.datasets.dataset.Dataset

Motor cortex (M1 and PMd) spiking activity and reaching kinematics from 2 monkeys performing center-out reaching tasks with right hand.

Preprocessing

To download and prepare this dataset, run

brainsets prepare churchland_shenoy_neural_2012

Tasks: Center-Out

Brain Regions: M1, PMd

Dataset Statistics

  • Subjects: 2

  • Total Sessions: 10

  • Total Units: 1,911

  • Events: ~739M spikes, ~85M behavioral timestamps

Links

Reference

Churchland, M., Cunningham, J. P., Kaufman, M. T., Foster, J. D., Nuyujukian, P., Ryu, S. I., & Shenoy, K. V. Neural population dynamics during reaching. DANDI Archive Dataset, Version 0.251218.1714.

Parameters:
  • root (Optional[str]) – Root directory for the dataset. Defaults to processed_dir from 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 “churchland_shenoy_neural_2012”.

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.