IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 17, 2007, 4:19:23 PM (19 years ago)
Author:
Paul Price
Message:

We need a new PSF model for the warped frame. It would be good to generate this analytically, but that's going to be tricky. We have a list of sources, so we could use those to redetermine the PSF model. Until Gene makes the necessary adaptations to psphot, we will simply redetermine the PSF model from scratch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pswarp/src/pswarpParseCamera.c

    r14768 r14874  
    44
    55    bool status;
     6    bool mdok;                          // Status of MD lookup
    67    pmFPAfile *skycell = NULL;
    78    pmConfig *skyConfig = NULL;
     
    8990    }
    9091
     92    if (psMetadataLookupBool(&mdok, config->arguments, "PSF")) {
     93        // This file, PSPHOT.INPUT, is just used as a carrier; output files (eg, PSPHOT.RESID) are defined by
     94        // psphotDefineFiles
     95        pmFPAfile *psphotInput = pmFPAfileDefineFromFPA(config, output->fpa, 1, 1, "PSPHOT.INPUT");
     96        if (!psphotInput) {
     97            psError(PS_ERR_IO, false, _("Unable to generate output file from PSPHOT.INPUT"));
     98            return false;
     99        }
     100
     101        // Define associated psphot input/output files
     102        if (!psphotDefineFiles(config, psphotInput)) {
     103            psError(PSPHOT_ERR_CONFIG, false,
     104                    "Unable to define the additional input/output files for psphot");
     105            return false;
     106        }
     107    }
    91108
    92109    // Chip selection: turn on only the chips specified
    93     bool mdok;                          // Status of MD lookup
    94110    char *chipLine = psMetadataLookupStr(&mdok, config->arguments, "CHIP_SELECTIONS");
    95111    if (mdok) {
Note: See TracChangeset for help on using the changeset viewer.