View source: R/calc_relative_radius.R
calc_relative_radius | R Documentation |
Convert zenith angles (degrees) to normalized radial distance using the lens projection model.
calc_relative_radius(angle, lens_coef)
angle |
numeric vector. Zenith angles in degrees. |
lens_coef |
numeric vector. Polynomial coefficients of the lens
projection function. See |
This helper maps zenith angle(s) to a relative radius in [0, 1] given the lens projection coefficients.
Numeric vector of the same length as angle
, constrained to [0, 1].
calc_relative_radius(45, lens())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.