pulse2percept.topography.retina.base

RetinalMap

Classes

RetinalMap(**params)

Template class for retinal visual field maps, which only have 1 region.

class pulse2percept.topography.retina.base.RetinalMap(**params)[source]

Template class for retinal visual field maps, which only have 1 region.

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.

abstractmethod dva_to_ret(x, y)[source]

Convert degrees of visual angle (dva) to retinal coords (um)

ret_to_dva(x, y)[source]

Convert retinal coords (um) to degrees of visual angle (dva)

get_default_params()[source]

Required to inherit from Parametrized

get_param_units()[source]

Return storage units for physical parameters.

Subclasses should extend this mapping. Parameters not listed here take plain dimensionless values.

Added in version 0.10.0.

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