cortex.dataset.Volume.random¶
- classmethod Volume.random(subject, xfmname, **kwargs)¶
Create a random-valued VolumeData for the given subject and xfmname. Random values are from gaussian distribution with mean 0, s.d. 1. Often useful for testing purposes.
- Parameters:
- subjectstr
Subject identifier. Must exist in the pycortex database.
- xfmnamestr
Transform name. Must exist in the pycortex database.
- **kwargs
Other keyword arguments are passed to the init function for this class.
- Returns:
- VolumeData subclass
A VolumeData subclass object whose data is random.