IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 3, 2007, 4:51:40 PM (19 years ago)
Author:
eugene
Message:

load PSF from external file, load sources file external file, move default values to master recipe

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/psphotReadout.c

    r13133 r13225  
    104104    }
    105105
    106     // use bright stellar objects to measure PSF
    107     pmPSF *psf = psphotChoosePSF (readout, sources, recipe);
    108     if (psf == NULL) {
    109         psLogMsg ("psphot", 3, "failure to construct a psf model");
    110         return psphotReadoutCleanup (config, readout, recipe, psf, sources);
     106    // load the psf model, if suppled
     107    pmPSF *psf = psphotLoadPSF (config, view, recipe);
     108    if (!psf) {
     109        // use bright stellar objects to measure PSF
     110        psf = psphotChoosePSF (readout, sources, recipe);
     111        if (psf == NULL) {
     112            psLogMsg ("psphot", 3, "failure to construct a psf model");
     113            return psphotReadoutCleanup (config, readout, recipe, psf, sources);
     114        }
    111115    }
    112116    if (!strcasecmp (breakPt, "PSFMODEL")) {
Note: See TracChangeset for help on using the changeset viewer.