azel.to.sphere.colattitude: Convert azimuth-elevation coordinates to spherical...

Description Usage Arguments Value Author(s) Examples

Description

Convert azimuth-elevation coordinates to spherical coordinates

Usage

1

Arguments

r

Coordinates of points in azimuth-elevation coordinates represented as 2 column matrix with column names alpha (elevation) and theta (azimuth).

r0

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).

Value

2-column matrix of spherical coordinates of points with column names psi (colattidude) and lambda (longitude).

Author(s)

David Sterratt

Examples

1
2
3
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.colattitude(r, r0)


Search within the retistruct package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.