IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 22, 2007, 4:47:19 PM (19 years ago)
Author:
Paul Price
Message:

Changes to stacking to allow it to work on convolved images.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppStack/src/ppStackCamera.c

    r14520 r14626  
    4040        psString weight = psMetadataLookupStr(&mdok, input, "WEIGHT"); // Name of weight map
    4141
    42         float seeing = psMetadataLookupF32(&mdok, input, "SEEING"); // Seeing FWHM
    43         if (!mdok || isnan(seeing) || seeing == 0.0) {
    44             psError(PS_ERR_BAD_PARAMETER_VALUE, true, "Component %s lacks SEEING of type F32", item->name);
    45             psFree(iter);
    46             return false;
    47         }
    48 
    4942        float weighting = psMetadataLookupF32(&mdok, input, "WEIGHTING"); // Relative weighting
    5043        if (!mdok || isnan(weighting) || weighting == 0.0) {
     
    122115        }
    123116
    124         psMetadataAddF32(imageFile->fpa->analysis, PS_LIST_TAIL, "PPSTACK.SEEING", 0,
    125                          "Seeing for image", seeing);
    126117        psMetadataAddF32(imageFile->fpa->analysis, PS_LIST_TAIL, "PPSTACK.WEIGHTING", 0,
    127118                         "Relative weighting for image", weighting);
Note: See TracChangeset for help on using the changeset viewer.