IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 27, 2006, 4:31:17 PM (20 years ago)
Author:
eugene
Message:

substantial work on the pmFPAfile,view concepts

File:
1 edited

Legend:

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

    r6571 r6715  
    22
    33// in order to  successfully replace the sky, we must define a corresponding file...
    4 bool psphotSkyReplace (psMetadata *config, pmFPAview *view) {
     4bool psphotSkyReplace (pmConfig *config, pmFPAview *view) {
     5
     6    bool status;
    57
    68    // find the currently selected readout
    7     psMetadata *recipe  = psMetadataLookupPtr (&status, config->recipes, "PSPHOT");
    8     pmFPA *input = psMetadataLookupPtr (&status, config->files, "PSPHOT.INPUT");
    9     pmReadout  *readout = pmFPAviewThisReadout (view, input);
     9    //  psMetadata *recipe  = psMetadataLookupPtr (&status, config->recipes, "PSPHOT");
     10    pmFPAfile *input  = psMetadataLookupPtr (&status, config->files, "PSPHOT.INPUT");
     11    pmReadout *readout = pmFPAviewThisReadout (view, input->fpa);
    1012
    1113    // select the corresponding images
     
    1416
    1517    // select background pixels, from output background file, or create
    16     background = pmFPAfileReadoutImage (config->files, view, "PSPHOT.BACKGND", 0, 0, PS_TYPE_F32);
     18    psImage *background = pmFPAfileReadoutImage (config->files, view, "PSPHOT.BACKGND", 0, 0, PS_TYPE_F32);
    1719    if (background == NULL) {
    1820        return false;
Note: See TracChangeset for help on using the changeset viewer.