cart2jpolar: convert from Cartesian coordinate to polar coordinates for use with the Jansonius map
Description
converts from (x,y) in degrees to polar coordinates. This is a necessary step to compute average fiber paths as a function of their angle of incidence in the optic nerve head with the Jansonius map
Usage
cart2jpolar( xy )
Arguments
xy
Visual field location in Cartesian coordinates
Value
Data frame with the radial and angular coordinates
Details
Input xy needs to be a data frame. It returns a data frame with the radial and angular coordinates