IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 30, 2013, 5:41:48 AM (13 years ago)
Author:
eugene
Message:

getting psphotFullForce to run (not quite there)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20130904/psphot/src/psphotFullForceReadout.c

    r36148 r36161  
    5656    psphotMergeSources (config, view, filerule);
    5757
     58    // construct sources and measure moments and other basic stats (saved on detections->newSources)
     59    // all sources use the auto-scaled window appropriate to a PSF, except for the saturated
     60    // stars : these use a larger window (3x the basic window)
     61    if (!psphotSourceStats (config, view, filerule, true)) { // pass 1
     62        psError(PSPHOT_ERR_UNKNOWN, false, "failure to generate sources");
     63        return psphotReadoutCleanup (config, view, filerule);
     64    }
     65
    5866    // generate a psf model for any readouts which need one
    5967    // psphotFullForcePSF (config, view, filerule);
     
    6169    // sources; we should mark with a flag bit the ones we actually want to use as PSF
    6270    // stars (this means we need to supply this info in the load).
    63     psphotChoosePSF (config, view, filerule, true);
     71    psphotChoosePSF (config, view, filerule, false);
    6472
    6573    // Construct an initial model for each object, set the radius to fitRadius, set circular
Note: See TracChangeset for help on using the changeset viewer.