Changeset 24343 for trunk/ippScripts/scripts/ds9_cmf_regions.pl
- Timestamp:
- Jun 5, 2009, 12:54:04 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/ippScripts/scripts/ds9_cmf_regions.pl (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippScripts/scripts/ds9_cmf_regions.pl
r24342 r24343 97 97 my $numBad = 0; # Number of bad sources 98 98 my $radius_scale = $radius / ($mag_min - $mag_max + 1.0); # Scaling for radius 99 print "Scaling: $mag_min --> $mag_max ==> $radius_scale\n";100 99 for (my $i = 0; $i < $numRows; $i++) { 101 100 my $col; # Colour to use … … 111 110 $r -= ($$mag[$i] - $mag_min) * $radius_scale if defined $mag_radius; 112 111 print $coordFile "image; circle(" . ($$x[$i] + 1) . ',' . ($$y[$i] + 1) . ",$r) \# color = $col\n"; 113 print "image; circle(" . ($$x[$i] + 1) . ',' . ($$y[$i] + 1) . ",$r) \# color = $col\n";114 112 } 115 113 close $coordFile;
Note:
See TracChangeset
for help on using the changeset viewer.
