ANSI-C program: trigo.c
NAME
trigo - Calculation of trigonometric function for real-valued
data files
SYNOPSIS
trigo <data1> <func> <data2>
<width>
<data1> | (input) angle data in radians (FLOAT) |
<func> | (input) 1: sin, 2: cos, 3: tan, 4: asin, 5: acos, 6: atan |
<data2> | (output) data calculated as func(data1) (FLOAT) |
<width> | number of samples/line |
EXAMPLE
trigo 20070423.inc 2 20070423.cos_inc 2500
In this example the cosine of an image containing local incidence angles, as those obtained with the programs such as gc_map in the DIFF/GEO
DESCRIPTION
trigo computes one of
the six trigonometric functions available in the list of
supported functions. The input data set must express the angle in
radians.
The input and the output data are binary files of type FLOAT.
SEE ALSO
typedef_ISP.h .
© Copyrights for Documentation, Users Guide and Reference Manual by Gamma Remote Sensing, 2013.
UW, CW,MS last change 3-Sep-2013