Changeset 26183
- Timestamp:
- Nov 18, 2009, 11:01:03 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/magic_tree.pl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/magic_tree.pl
r24174 r26183 169 169 # Coordinates on rotated celestial sphere 170 170 my $phi = atan2($eta,$xi) + pi/2; 171 my $theta = atan(180 / pi / sqrt($xi**2 + $eta**2)); 171 my $denominator = sqrt($xi**2 + $eta**2); 172 &my_die("denominator is zero!!", $magic_id, $PS_EXIT_PROG_ERROR) if $denominator == 0; 173 174 my $theta = atan(180 / pi / $denominator); 172 175 173 176 # Coordinates on celestial sphere
Note:
See TracChangeset
for help on using the changeset viewer.
