elaz2raygen - convert from OSAC el/az to raygen polar coordinates
elaz2raygen [options] el az
Note: to specify negative el values, precede it with the -- option
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
Ordinarily, the results are written to the standard output stream. This redirects them to the specified file.
Print this message and exit.
Print the version and exit.
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.
% elaz2raygen -- -5 -5
7.07106656523036 45.0000303008657
Diab Jerius ( djerius@cfa.harvard.edu )