DATAMANIP commands


PROGRAM NAME

krect2pol - Convert (real, imaginary) to (r, theta) Coordinates

DESCRIPTION

The Rect. to Polar operator converts data from the rectangular to the polar coordinate system for each complex data point in the input data object, Input. The conversion from rectangular to polar will result in angles measured in radians. The data type of the output data object, Output, will be the same as the data type of Input.

Executing Rect. to Polar runs the program kcmplx with the -r2p flag.

Map Data If the input object contains a map, then the operation is performed on the map data. If the input object does not have a map but has value data, then the operation is performed on the value data.

Validity Mask If there is a validity mask associated with the input object, the mask is transferred to the output object. To decrease processing time, the operation will still be performed on those data that have corresponding mask values equal to zero. If the data under the mask is genuinely fInotfP processable, such as NaN or infinity, the user can specify that a value be substituted in place of the original value when it is accessed. The masked data substitution attributes for a data object can be explicitly set and stored using the fISet AttributefP operator, DATAMANIP::ksetdattr.

Location and Time Data If the input object has time data or location data, it is transferred to the output object.

REQUIRED ARGUMENTS

-i
type: infile
desc: Input data object
-o
type: outfile
desc: Resulting output data object

OPTIONAL ARGUMENTS

none

EXAMPLES

SEE ALSO

DATAMANIP::kcmplx, DATAMANIP::kpol2rect

RESTRICTIONS

REFERENCES

COPYRIGHT

Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.