1.4.1 normalise angle
Description
norm normalise angles in interval of 2π radians. The default interval is from
-0.5 to +0.5 of a full interval (i.e. from -180 to +180 degrees). The lower end of
the interval can be set as a fraction of 2π
Arguments
| Inputs |
| ||
| v |
| angle quantity
| |
| allowed: | variant |
|
| Default: |
|
|
| a |
| lower interval boundary
| |
| allowed: | double |
|
| Default: | -0.5 |
|
Example
"""
# print "\t----\t norm Ex 1 \t----" print qa.norm(’713deg’) #default normalisation #{’value’: -6.9999999999999716, ’unit’: ’deg’} print qa.norm(’713deg’, -2.5) # normalise to interval -900 - -540 deg #{’value’: -727.0, ’unit’: ’deg’} # """ |
Please send any comments or questions about CASA or AIPS++ to aips2-requests@nrao.edu
Copyright © 2008 Associated Universities Inc., Washington, D.C.
This code is available under the terms of the GNU General Public Lincense
Home |
Contact Us |
Directories |
Site Map |
Help |
Privacy Policy |
Search
Updated daily during alpha development.