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/psphotDefineFiles.c

    r13216 r13225  
    8787    }
    8888
     89    if (psMetadataLookupPtr(NULL, config->arguments, "SRC")) {
     90        pmFPAfileDefineFromArgs (&status, config, "PSPHOT.INPUT.CMF", "SRC");
     91        if (!status) {
     92            psError(PSPHOT_ERR_CONFIG, false, "Failed to find/build PSPHOT.INPUT.CMF");
     93            return status;
     94        }
     95    }
     96
     97    if (psMetadataLookupPtr(NULL, config->arguments, "PSF")) {
     98        pmFPAfileDefineFromArgs (&status, config, "PSPHOT.PSF.LOAD", "PSF");
     99        if (!status) {
     100            psError(PSPHOT_ERR_CONFIG, false, "Failed to find/build PSPHOT.SRC");
     101            return status;
     102        }
     103    }
     104
    89105    // XXX add in example PSF image thumbnails
    90106    // pmFPAfileConstruct (config->files, format, config->camera, "PSPHOT.PSF_SAMPLE");
     
    98114    // before it is added back into the code.
    99115# if (0)   
    100     if (psMetadataLookupPtr(NULL, config->arguments, "SRC")) {
    101         pmFPAfileDefineFromArgs (&status, config, "PSPHOT.SRC", "SRC");
    102         if (!status) {
    103             psError(PSPHOT_ERR_CONFIG, false, "Failed to find/build PSPHOT.SRC");
    104             return status;
    105         }
    106     }
    107116    // optionally load the PSF Model and/or fixed stars
    108117    // XXX add this back in later
Note: See TracChangeset for help on using the changeset viewer.