pycortex icon indicating copy to clipboard operation
pycortex copied to clipboard

doc (gallery): datasets

Open fatmai opened this issue 7 years ago • 1 comments

  • [x] volume.py (include plot, vmin, vmax, nans)
  • [x] volume2D.py (include plot, vmins, vmaxs, colormaps)
  • [x] volumeRGB.py (include plot, alpha)
  • [x] vertex.py
  • [x] vertex2D.py
  • [x] vertexRGB.py
  • [ ] volume_from_masked_data.py
  • [ ] volume_from_custom_mask.py
  • [ ] volume_movie.py
  • [x] volume_to_vertex.py (include mapping @ different depths?)
  • [x] dataset_arithmetic.py
  • [ ] remask_volume.py

fatmai avatar Mar 06 '17 22:03 fatmai

To demonstrate how a random array can be converted to a Volume: Option 1:

data = np.random.rand(*cortex.db.get_xfm('S1', 'fullhead').shape)
volume = cortex.Volume(data=data, subject='S1', xfmname='fullhead')

Option 2: volume = cortex.Volume.random(subject=‘S1’, xfmname=‘fullhead’)

fatmai avatar Mar 08 '17 00:03 fatmai