IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 12, 2006, 8:59:15 PM (20 years ago)
Author:
eugene
Message:

tests on non-poisson errors, updates to image background, tests of systematic biases, updates to use pmFPAfile paradigm

File:
1 edited

Legend:

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

    r6753 r6851  
    99    bool         status;
    1010
     11    // select the current recipe
     12    psMetadata *recipe  = psMetadataLookupPtr (&status, config->recipes, "PSPHOT");
     13
    1114    // find the currently selected readout
    12     psMetadata *recipe  = psMetadataLookupPtr (&status, config->recipes, "PSPHOT");
    13     pmFPAfile  *input   = psMetadataLookupPtr (&status, config->files, "PSPHOT.INPUT");
    14     pmReadout  *readout = pmFPAviewThisReadout (view, input->fpa);
     15    pmReadout  *readout = pmFPAfileThisReadout (config->files, view, "PSPHOT.INPUT");
    1516
    1617    // XXX does this need to invoke I/O?
     18    // XXX move this input the psphotImageLoop level?
    1719    pmReadoutSetWeights (readout);
     20    psphotSaveImage (NULL, readout->weight, "weight.fits");
    1821
    1922    // I have a valid mask, now mask in the analysis region of interest
     
    4952    psphotBlendFit (readout, sources, recipe, psf);
    5053
     54    // psphotWeightBias (readout, sources, recipe, psf);
     55
    5156    // replace fitted sources
    5257    psphotReplaceUnfit (sources);
     
    7580    status = psMetadataAdd (readout->analysis, PS_LIST_TAIL, "PSPHOT.PSF",     PS_DATA_UNKNOWN,  "psphot psf", psf);
    7681
     82    // remove internal pmFPAfiles, if created
     83    pmFPAfileDropInternal (config->files, "PSPHOT.BACKMDL");
     84    pmFPAfileDropInternal (config->files, "PSPHOT.BACKGND");
     85
    7786    // free up the local copies of the data
    7887    psFree (psf);
Note: See TracChangeset for help on using the changeset viewer.