IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 27, 2009, 11:34:07 AM (17 years ago)
Author:
eugene
Message:

merge changes from trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/20090715/ppStack/src/ppStackPSF.c

    r23192 r25624  
    99#include "ppStack.h"
    1010
     11//#define TESTING
     12
    1113pmPSF *ppStackPSF(const pmConfig *config, int numCols, int numRows,
    1214                  const psArray *psfs, const psVector *inputMask)
    1315{
     16#ifndef TESTING
    1417    // Get the recipe values
    1518    psMetadata *recipe = psMetadataLookupMetadata(NULL, config->recipes, PPSTACK_RECIPE); // ppStack recipe
     
    3538        return NULL;
    3639    }
     40#else
     41    // Dummy PSF
     42    pmPSF *psf = pmPSFBuildSimple("PS_MODEL_PS1_V1", 4.0, 4.0, 0.0, 1.0);
     43    if (!psf) {
     44        psError(PS_ERR_UNKNOWN, false, "Unable to build dummy PSF.");
     45        return NULL;
     46    }
     47#endif
    3748
    3849    return psf;
Note: See TracChangeset for help on using the changeset viewer.