pulse2percept.models.watson2014

This module implements several equation from [Watson2014].

Functions

dva2ret(r_deg) Converts visual angles (deg) into retinal distances (um)
ret2dva(r_um) Converts retinal distances (um) to visual angles (deg)

Classes

Watson2014ConversionMixin Converts dva to retinal coords using [Watson2014]
Watson2014DisplacementMixin Converts dva to ret coords with RGC displacement
class pulse2percept.models.watson2014.Watson2014ConversionMixin[source]

Converts dva to retinal coords using [Watson2014]

Converts from eccentricity (defined as distance from a visual center) in degrees of visual angle (dva) to microns on the retina using Eqs. A5, A6 in [Watson2014].

get_tissue_coords(xdva, ydva)[source]

Converts dva to retinal coords

Parameters:ydva (xdva,) – x,y coordinates in dva
Returns:xret, yret (double or array-like) – Corresponding x,y coordinates in microns
class pulse2percept.models.watson2014.Watson2014DisplacementMixin[source]

Converts dva to ret coords with RGC displacement

Converts from eccentricity (defined as distance from a visual center) in degrees of visual angle (dva) to microns on the retina using Eqs. 5, A5, and A6 in [Watson2014].

In a central retinal zone, the retinal ganglion cell (RGC) bodies are displaced centrifugally some distance from the inner segments of the cones to which they are connected through the bipolar cells, and thus from their receptive field. The displacement function is described in Eq. 5 of [Watson2014].

get_tissue_coords(xdva, ydva)[source]

Converts dva to retinal coords

Parameters:ydva (xdva,) – x,y coordinates in dva
Returns:xret, yret (double or array-like) – Corresponding x,y coordinates in microns
pulse2percept.models.watson2014.dva2ret(r_deg)[source]

Converts visual angles (deg) into retinal distances (um)

This function converts degrees of visual angle into a retinal distance from the optic axis (um) using Eq. A5 in [Watson2014].

Parameters:r_dva (double or array-like) – Eccentricity in degrees of visual angle (dva)
Returns:r_um (double or array-like) – Eccentricity in microns
pulse2percept.models.watson2014.ret2dva(r_um)[source]

Converts retinal distances (um) to visual angles (deg)

This function converts an eccentricity measurement on the retinal surface(in micrometers), measured from the optic axis, into degrees of visual angle using Eq. A6 in [Watson2014].

Parameters:r_um (double or array-like) – Eccentricity in microns
Returns:r_dva (double or array-like) – Eccentricity in degrees of visual angle (dva)