IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 28043 for trunk/ppSub/src


Ignore:
Timestamp:
May 19, 2010, 5:13:52 PM (16 years ago)
Author:
watersc1
Message:

Merging czw_branch (maskstats and software versions) back into the trunk

Location:
trunk
Files:
5 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/ppSub/src/Makefile.am

    r27365 r28043  
    4141        ppSubMakePSF.c                  \
    4242        ppSubMatchPSFs.c                \
     43        ppSubMaskStats.c                \
    4344        ppSubReadoutInverse.c           \
    4445        ppSubReadoutJpeg.c              \
  • trunk/ppSub/src/ppSub.h

    r27596 r28043  
    7474bool ppSubSetMasks(pmConfig *config     ///< Configuration
    7575    );
     76
     77// Calculate mask statistics
     78bool ppSubMaskStats(pmConfig *config, pmFPAview *view, psMetadata *stats);
    7679
    7780/// Generate the PSF-matching kernel and convolve the images as needed.  Most of this function involves
  • trunk/ppSub/src/ppSubLoop.c

    r27691 r28043  
    144144        return false;
    145145    }
    146 
     146    // Do Mask Stats
     147    {
     148      pmFPAview *view = ppSubViewReadout(); // View to readout
     149      if (!ppSubMaskStats(config, view,data->stats)) {
     150        psError(psErrorCodeLast(), false, "Unable to generate mask statistics");
     151        return(false);
     152      }
     153    }
     154   
    147155    // generate the binned image used to write the jpeg
    148156    if (!ppSubReadoutJpeg(config)) {
  • trunk/ppSub/src/ppSubVersion.c

    r23803 r28043  
    8686    psString source  = ppSubSource();  // Software source
    8787
     88    psMetadataAddStr(header, PS_LIST_TAIL, "PPSUB_V", PS_META_REPLACE, NULL, PPSUB_VERSION);
     89   
    8890    psStringPrepend(&version, "ppSub version: ");
    8991    psStringPrepend(&source, "ppSub source: ");
Note: See TracChangeset for help on using the changeset viewer.