IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 5, 2008, 5:16:44 PM (18 years ago)
Author:
eugene
Message:

split fake and force photometry into separate functions and separate mosaicked images

File:
1 edited

Legend:

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

    r17935 r17958  
    2525    psAssert(srcFile, "missing PPSIM.REAL.SOURCES");
    2626
     27    // select the fpa and chip from PPSIM.REAL.SOURCES, which carries the astrometry in the headers
    2728    pmFPA     *fpa     = srcFile->fpa;
    2829    pmChip    *chip    = pmFPAviewThisChip (view, fpa);
    29     // pmCell    *cell    = pmFPAviewThisCell (view, fpa);
    30     pmReadout *readout = pmFPAviewThisReadout (view, fpa);
     30
     31    // we use the readout for the PPSIM.FORCE.CHIP, which contains the chip-mosaicked image(s)
     32    pmReadout  *readout = pmFPAfileThisReadout (config->files, view, "PPSIM.FORCE.CHIP");
    3133
    3234    // XXX we should have only one cell and readout per chip, right?
    3335
    3436    // read WCS from existing output from psphot & psastro
    35     // XXX can we be more flexible?  ie, use the header of PPSIM.CHIP?
     37    // XXX can we be more flexible?  ie, use the header of PPSIM.FORCE.CHIP?
    3638    bool bilevelAstrometry = false;
    3739    status = psastroAstromGuessSetFPA (fpa, &bilevelAstrometry);
Note: See TracChangeset for help on using the changeset viewer.