IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 16, 2007, 8:52:31 AM (19 years ago)
Author:
eugene
Message:

adding input psf

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppSim/src/ppSimCreate.c

    r14463 r14531  
    2424    }
    2525    file->save = true;
     26
     27    // have we supplied a psf model?
     28    if (psMetadataLookupPtr(NULL, config->arguments, "PSPHOT.PSF")) {
     29        bool status = false;
     30        pmFPAfileBindFromArgs(&status, file, config, "PSPHOT.PSF.LOAD", "PSPHOT.PSF");
     31        if (!status) {
     32            psError(PS_ERR_UNKNOWN, false, "Failed to find/build PSPHOT.PSF.LOAD");
     33            return status;
     34        }
     35    }
    2636
    2737    pmFPALevel phuLevel = pmFPAPHULevel(file->format); // Level at which PHU goes
Note: See TracChangeset for help on using the changeset viewer.