IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 26660


Ignore:
Timestamp:
Jan 21, 2010, 6:42:39 PM (16 years ago)
Author:
Paul Price
Message:

Mark bad sources.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/20091201/ippScripts/scripts/ds9_cmf_regions.pl

    r26659 r26660  
    9999for (my $i = 0; $i < $numRows; $i++) {
    100100    my $col;                    # Colour to use
    101     if ($$flags[$i] & $flag) {
     101    if ($$flags[$i] & $flag or not defined $$mag[$i] or $$mag[$i] eq "nan" or $$mag[$i] == "inf" or $$mag[$i] == "-inf") {
    102102        $numBad++;
    103103        $col = $flag_colour;
     
    107107    }
    108108    my $r = $radius;            # Radius of circle
    109     next if defined $mag_radius and (not defined $$mag[$i] or $$mag[$i] eq "nan" or $$mag[$i] == "inf" or $$mag[$i] == "-inf");
     109    next if $mag_radius and (not defined $$mag[$i] or $$mag[$i] eq "nan" or $$mag[$i] == "inf" or $$mag[$i] == "-inf");
    110110    $r -= ($$mag[$i] - $mag_min) * $radius_scale if defined $mag_radius;
    111111    print $coordFile "image; circle(" . ($$x[$i] + 1) . ',' . ($$y[$i] + 1) . ",$r) \# color = $col\n";
Note: See TracChangeset for help on using the changeset viewer.