cortex.dataset.Vertex.empty

classmethod Vertex.empty(subject, value=0, **kwargs)

Create a constant-valued VertexData for the given subject. Often useful for testing purposes.

Parameters
subjectstr

Subject identifier. Must exist in the pycortex database.

valuefloat, optional

Value that the VertexData will be filled with.

**kwargs

Other keyword arguments are passed to the init function for this class.

Returns
VertexData subclass

A VertexData subclass object whose data is constant, equal to value.