IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
May 27, 2008, 7:12:46 PM (18 years ago)
Author:
eugene
Message:

working on the photometry of fake sources

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branch_20080511/ppSim/src/ppSimPhotom.c

    r17708 r17818  
    1818    ppSimMosaicChip(config, blankMask, view, "PPSIM.CHIP", "PPSIM.OUTPUT");
    1919
    20     // find or define a pmFPAfile PSPHOT.INPUT
    21     pmFPAfile *input = psMetadataLookupPtr (&status, config->files, "PSPHOT.INPUT");
     20    // XXX have ppSimMosaicChip return the pointer?
     21    pmFPAfile *input = psMetadataLookupPtr (&status, config->files, "PPSIM.CHIP");
    2222    if (!status) {
    23         psError(PSPHOT_ERR_CONFIG, false, "PSPHOT.INPUT I/O file is not defined");
     23        psError(PSPHOT_ERR_CONFIG, false, "PPSIM.CHIP I/O file is not defined");
    2424        return false;
    2525    }
    2626
    2727    // we make a new copy of the output chip to keep psphot from modifying the output image
    28     // XXX is this needed for ppSim? (yes, unless we do not do photometry and make a simulated image)
     28    // XXX is this needed for ppSim? only if we want to write out the image with and without subtracted sources
    2929    pmChip *oldChip = pmFPAviewThisChip (view, input->src);
    3030    pmChip *newChip = pmFPAviewThisChip (view, input->fpa);
     
    4545                return false;
    4646            }
    47 
    4847            ppSimDetectionLimits (config, view);
    4948        }
Note: See TracChangeset for help on using the changeset viewer.