IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 8, 2009, 5:32:55 PM (17 years ago)
Author:
watersc1
Message:

Merge my branch back into the trunk. This includes:

ipp_cleanup.pl : and associated edits to allow cleanup to work
burntool : updated to newest version, ipp_apply_burntool.pl modified to use persist=t options
ppImageBurntoolMask.c : masks region burntool identifies
psastro : allow selection of wcs header format
addtool : splits addstar step off from the camera stage

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/ppImage/src/ppImageOptions.c

    r24903 r25299  
    2121    options->doMaskSat       = false;   // mask saturated pixels
    2222    options->doMaskLow       = false;   // mask low pixels
     23    options->doMaskBurntool  = false;   // mask potential burntool trails
    2324    options->doVarianceBuild = false;   // Build internal variance
    2425    options->doMask          = false;   // Mask bad pixels
     
    6465    options->blankMask       = 0x00;    // Blank (no data, cell gap) pixels (supplied to pmChipMosaic, pmFPAMosaic)
    6566    options->markValue       = 0x00;    // A safe bit for internal marking
    66 
     67    options->burntoolMask    = 0x00;    // Suspect pixels that fall where a burntool trail is expected.
     68    options->burntoolTrails  = 0x00;    // Which types of burntool areas to mask.
    6769    // crosstalk options
    6870    options->doCrosstalkMeasure = false;   // measure crosstalk
     
    219221    options->doMaskSat   = psMetadataLookupBool(NULL, recipe, "MASK.SATURATED");
    220222    options->doMaskLow   = psMetadataLookupBool(NULL, recipe, "MASK.LOW");
     223    options->doMaskBurntool = psMetadataLookupBool(NULL, recipe, "MASK.BURNTOOL");
    221224    options->doVarianceBuild = psMetadataLookupBool(NULL, recipe, "VARIANCE.BUILD");
    222225
     
    245248    options->applyParity = psMetadataLookupBool(NULL, recipe, "APPLY.CELL.PARITY");
    246249
     250    options->burntoolTrails = psMetadataLookupU16(&status, recipe, "BURNTOOL.TRAILS");
     251    if (!status) {
     252      psWarning("BURNTOOL.TRAILS not found in recipe: setting to default value.\n");
     253    }
     254   
    247255    // binned image options
    248256    options->xBin1 = psMetadataLookupS32(&status, recipe, "BIN1.XBIN");
    249257    if (!status) {
    250258        psWarning("BIN1.XBIN not found in recipe: setting to default value.\n");
     259        options->xBin1 = 4;
    251260    }
    252261    options->yBin1 = psMetadataLookupS32(&status, recipe, "BIN1.YBIN");
    253262    if (!status) {
    254263        psWarning("BIN1.YBIN not found in recipe: setting to default value.\n");
    255         options->yBin1 = 16;
     264        options->yBin1 = 4;
    256265    }
    257266
Note: See TracChangeset for help on using the changeset viewer.