powered by
Convert azimuth-elevation coordinates to spherical coordinates
azel.to.sphere.colatitude(r, r0)
Coordinates of points in azimuth-elevation coordinates represented as 2 column matrix with column names alpha (elevation) and theta (azimuth).
alpha
theta
Direction of the axis of the sphere on which to project represented as a 2 column matrix of with column names alpha (elevation) and theta (azimuth).
2-column matrix of spherical coordinates of points with column names psi (colatitude) and lambda (longitude).
psi
lambda
# NOT RUN { r0 <- cbind(alpha=0, theta=0) r <- rbind(r0, r0+c(1,0), r0-c(1,0), r0+c(0,1), r0-c(0,1)) azel.to.sphere.colatitude(r, r0) # }
Run the code above in your browser using DataLab