IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 25934


Ignore:
Timestamp:
Oct 23, 2009, 9:19:33 AM (17 years ago)
Author:
Paul Price
Message:

Paul Sydney writes: "I just checked and '-t 2.3' and '-b 3' arguments
are the default. '-S' is being used as a flag to enable the local
maximum difference filtering which is use to reduce detections around
stars due to seeing variations. I just updated the code to enable
this difference filter by default and the -S flag is now used to
define just the local area size. I have added a new flag '-D' to
disable the difference filter if needed. I have uploaded new
magic.tgz to IPP. Using the new code, you should now be able to
eliminate all command line flags."

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippScripts/scripts/magic_process.pl

    r25933 r25934  
    103103    $command .= " --verbose" if $verbose;
    104104
    105     # added per Paul Sydney's request Jan 6, 2009
    106     # removed per Paul Sydney March 30, 2009
    107     # $command .= " -D 3";
    108 
    109 
    110     # added per Paul Sydney's Jan 8, 2009 to help solve the STS problem
    111     # removed because it didn't help the STS problem and it quadrupled the number of false streaks for m31
    112     # Paul asked me to remove this parameter Jan 20,2009
    113 #    $command .= " -C 0";
    114 
    115 
    116 #    $command .= " -u 6";
     105### To enable debugging output:
    117106#    $command .= " --test";
    118107
     
    141130
    142131        $command .= " --detect --image $image --mask $mask --weight $weight -k $template";
    143 
    144         # XXX: get all of these parameters from a recipe
    145 
    146         # set threshold to 2.3 sigma (Default specified by Paul Sydney)
    147         $command .= ' -t 2.3';
    148 
    149         # set threshold to 2.75 sigma (Test by EAM : uncorrelated noise is typically ~20% higher than expected)
    150         # XXX we have fixed the output variance to address this
    151         # $command .= ' -t 2.75';
    152 
    153         # set threshold to 4 sigma (for testing)
    154         # $command .= ' -t 4';
    155 
    156         # set Minimum percent visible required between pixels clusters in a valid streak [0.0 - 1.0]
    157         # default is 0.2
    158         # $command .= ' -P 0.2';
    159 
    160         #$command .= ' -t 4' . ' -P 0.25';
    161 
    162         # add -S "Number of pixels to shift for determining maximum differences in mean images default:8"
    163         $command .= ' -S';
    164 
    165         # add 3 x 3 binning
    166         $command .= ' -b 3';
    167132
    168133        # create the list of inputs used at this stage. At higher levels the
Note: See TracChangeset for help on using the changeset viewer.