NAME

elaz2raygen - convert from OSAC el/az to raygen polar coordinates


SYNOPSIS

elaz2raygen [options] el az

Note: to specify negative el values, precede it with the -- option


OPTIONS

--

This (empty) option indicates that are no more options on the remainder of the command line. If the el value is negative, this option must be specified or elaz2raygen will try to parse it as an option.

For example,

        elaz2raygen -- -5 0
--output file

Ordinarily, the results are written to the standard output stream. This redirects them to the specified file.

--help

Print this message and exit.

--version

Print the version and exit.


DESCRIPTION

elaz2raygen converts from OSAC elevation and azimuth coordinates to raygen polar coordinates. The elevation and azimuth are specified on the command line; the resultant theta and phi coordinates are written to the standard output stream (unless the --output option is specified).

The output consists of a single line, containing, in order, the theta and phi values, separated by white space.


Examples

        % elaz2raygen -- -5 -5 
        7.07106656523036 45.0000303008657


AUTHOR

Diab Jerius ( djerius@cfa.harvard.edu )