Tests.CompareAngle.Max

From RadiWiki
Revision as of 06:59, 20 August 2010 by Joro (talk | contribs) (Created page with 'Comparing turntable angles to each other requires more checks than just comparing the two different angle values to eachother. Because one round of the turntable is indicated by …')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Comparing turntable angles to each other requires more checks than just comparing the two different angle values to eachother. Because one round of the turntable is indicated by 360 degrees, every angle value is the same as the same value 360 degrees higher, or 360 degrees lower. For example -10 degrees is the same angle as 350 degrees. An emission that is measured at an angle of -10 degrees should thus be interpreted the same as an emission that is measured at a 350 degrees angle.

To correctly compare two different angle values, it is best to place both to be compared angles in the same range. The simplest range is from 0 degrees to 360 degrees. The -10 degrees of the example is thus temporarily changed to 350 degrees, and then it is compared with the other angle that is also converted to fall in the correct range. A comparison of two different angle values to determine their equality can be done using the above method.

However comparing angles becomes more difficult if two angles should be compared to determine the largest of the two angles. Assume a situation where two angles of -45 degrees and 90 degrees should be compared to determine the largest angle.

This advanced option specifies the end angle of the angle range, to which all the angles should be normalized before the angles are compared. Tests.CompareAngle.Min should be at least 360 degrees lower. There is NO requirement that the difference between Tests.CompareAngle.Min and Tests.CompareAngle.Max should be exactly 360 degrees.

There are other advanced options available that are related to this advanced option:

Warning-48px.png
Warning: Any change and/or modification to the advanced options, can result in unexpected results and/or incorrect measurement results. Changes in any advanced option should be verified and checked very carefully!