cortex.dataset.Vertex2D

class cortex.dataset.Vertex2D(dim1, dim2, subject=None, description='', cmap=None, vmin=None, vmax=None, vmin2=None, vmax2=None, **kwargs)[source]

Contains two vertex maps for simultaneous visualization. Includes information on how the maps should be jointly colormapped.

Parameters
dim1ndarray or Vertex

The first vertex map. Can be a 1D array (see Vertex for details), or a Vertex.

dim2ndarray or Vertex

The second vertex map. Can be a 1D array (see Vertex for details), or a Vertex.

subjectstr, optional

Subject identifier. Must exist in the pycortex database. If not given, dim1 must be a Vertex from which the subject can be extracted.

descriptionstr, optional

String describing this dataset. Displayed in webgl viewer.

cmapstr, optional

Colormap (or colormap name) to use. If not given defaults to the default_cmap2d in your pycortex options.cfg file.

vminfloat, optional

Minimum value in colormap for dim1. If not given defaults to TODO:WHAT

vmaxfloat, optional

Maximum value in colormap for dim1. If not given defaults to TODO:WHAT

vmin2float, optional

Minimum value in colormap for dim2. If not given defaults to TODO:WHAT

vmax2float, optional

Maximum value in colormap for dim2. If not given defaults to TODO:WHAT

**kwargs

All additional arguments in kwargs are passed to the VolumeData and Dataview

Methods

__init__(self, dim1, dim2[, subject, …])

Initialize self.

copy(self, \*args, \*\*kwargs)

from_hdf(node)

to_json(self[, simple])

uniques(self[, collapse])

Attributes

priority

raw

VertexRGB object containing the colormapped data from this object.

subject

vertices