pulse2percept.topography.cortex

CorticalMap, Polimeni2006Map

Classes

CorticalMap(**params)

Template class for V1/V2/V3 visuotopic maps

Polimeni2006Map(**params)

Polimeni visual mapping

class pulse2percept.topography.cortex.CorticalMap(**params)[source]

Template class for V1/V2/V3 visuotopic maps

from_dva()[source]

Returns a dict containing the region(s) that this visuotopy maps to, and the corresponding mapping function(s).

to_dva()[source]

Returns a dict containing the region(s) that this visuotopy maps from, and the corresponding inverse mapping function(s). This transform is optional for most models.

get_default_params()[source]

Required to inherit from Parametrized

get_param_units()[source]

Return a dict of the units that parameters are stored in

abstract dva_to_v1(x, y)[source]

Convert degrees visual angle (dva) to V1 coordinates (um)

dva_to_v2(x, y)[source]

Abstract Method: Convert degrees visual angle (dva) to V2 coordinates (um)

dva_to_v3(x, y)[source]

Abstract Method: Convert degrees visual angle (dva) to V3 coordinates (um)

v1_to_dva(x, y)[source]

Convert V1 coordinates (um) to degrees visual angle (dva)

v2_to_dva(x, y)[source]

Convert V2 coordinates (um) to degrees visual angle (dva)

v3_to_dva(x, y)[source]

Convert V3 coordinates (um) to degrees visual angle (dva)

set_params(**params)[source]

Set the parameters of this object

tissue_unit = um[source]

The unit of the tissue side of the map

visual_unit = dva[source]

The unit of the visual field side of the map

class pulse2percept.topography.cortex.Polimeni2006Map(**params)[source]

Polimeni visual mapping

get_default_params()[source]

Required to inherit from Parametrized

get_param_units()[source]

Return a dict of the units that parameters are stored in

dva_to_v1(x, y)[source]

Convert degrees visual angle (dva) to V1 coordinates (um)

dva_to_v2(x, y)[source]

Abstract Method: Convert degrees visual angle (dva) to V2 coordinates (um)

dva_to_v3(x, y)[source]

Abstract Method: Convert degrees visual angle (dva) to V3 coordinates (um)

v1_to_dva(x, y)[source]

Convert V1 coordinates (um) to degrees visual angle (dva)

v2_to_dva(x, y)[source]

Convert V2 coordinates (um) to degrees visual angle (dva)

v3_to_dva(x, y)[source]

Convert V3 coordinates (um) to degrees visual angle (dva)

from_dva()[source]

Returns a dict containing the region(s) that this visuotopy maps to, and the corresponding mapping function(s).

set_params(**params)[source]

Set the parameters of this object

tissue_unit = um[source]

The unit of the tissue side of the map

to_dva()[source]

Returns a dict containing the region(s) that this visuotopy maps from, and the corresponding inverse mapping function(s). This transform is optional for most models.

visual_unit = dva[source]

The unit of the visual field side of the map