cortex.dataset.Vertex.volume

Vertex.volume(xfmname, projection='nearest', **kwargs)

Map this VertexData back to volume space, creating a VolumeData object. This uses the mapper.backwards function, which is not particularly accurate.

Parameters:
xfmnamestr

Transform name for the volume space that this vertex data will be projected into. Must exist in the pycortex database.

projectionstr, optional

The type of projection method to use. See the docs for mapper for possibilities. Default: nearest.

**kwargs

Other keyword args are passed to the mapper.backwards function.

Returns:
VolumeData

Volume containing the back-projected vertex data.