IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 23, 2006, 6:16:11 PM (20 years ago)
Author:
eugene
Message:

fixed some errors with double sources, added second-pass linear PSF fit, multiple-depths

File:
1 edited

Legend:

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

    r6427 r6481  
    1111
    1212    psTimerStart ("psphot");
     13
     14    // check if a PSF model is supplied by the user
     15    char *psfFile = psMetadataLookupStr (&status, config, "PSF_INPUT_FILE");
     16    if (status) {
     17        int Nfail;
     18        psMetadata *psfData = psMetadataConfigParse (NULL, &Nfail, psfFile, FALSE);
     19        pmPSF *psf = pmPSFfromMD (psfData);
     20        return psf;
     21    }
    1322
    1423    // examine PSF sources in S/N order (brightest first)
Note: See TracChangeset for help on using the changeset viewer.