caltheta: Calculates the angle of convergence

Description Usage Arguments Value Warning Examples

View source: R/caltheta.R

Description

caltheta calculates the angle of convergence (radians) for left or right eye to fixate at a designated fixation distance.

Usage

1
caltheta(fixdist, pd = NULL, gender = NULL, eye = c("left", "right"))

Arguments

fixdist

A two element vector of fixation distance in mm in Cartesian coordinates.

pd

A number of pupil distance in mm.

gender

A string of either "male" or "female"

eye

A string specifying either "left" or "right" eye.

Value

The angle of convergence in radians that respective eye with a pupil distance of pd rolls to fixate at fixation distance of fixdist.

Warning

the value of either pd or gender has to be provided the unit of pd and fixdist must be the same and is default to mm.

Examples

1
2
caltheta(c(600, 0), pd=65, eye="left")
caltheta(c(600, 0), gender="male", eye="left")

binovisualfields documentation built on March 13, 2020, 1:35 a.m.