Changeset 26659
- Timestamp:
- Jan 21, 2010, 6:14:24 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/20091201/ippScripts/scripts/ds9_cmf_regions.pl
r24343 r26659 81 81 if ($mag_radius) { 82 82 foreach my $m (@$mag) { 83 next unless defined $m and $m < "inf" and $m > "-inf";83 next unless defined $m and $m != "nan" and $m < "inf" and $m > "-inf"; 84 84 unless (defined $mag_min and defined $mag_max) { 85 85 $mag_min = $m; … … 107 107 } 108 108 my $r = $radius; # Radius of circle 109 next if defined $mag_radius and (not defined $$mag[$i] or $$mag[$i] == "inf" or $$mag[$i] == "-inf");109 next if defined $mag_radius and (not defined $$mag[$i] or $$mag[$i] eq "nan" or $$mag[$i] == "inf" or $$mag[$i] == "-inf"); 110 110 $r -= ($$mag[$i] - $mag_min) * $radius_scale if defined $mag_radius; 111 111 print $coordFile "image; circle(" . ($$x[$i] + 1) . ',' . ($$y[$i] + 1) . ",$r) \# color = $col\n";
Note:
See TracChangeset
for help on using the changeset viewer.
