IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 30, 2013, 6:10:41 PM (13 years ago)
Author:
watersc1
Message:

Changes to stacking code:

  • New input FWHM clipping algorithm using mixture models
  • New recipes/reductions that further reduce FWHM clipping
  • pmSubtractionRejectStamps now fits flux/chi2 values in log-log space to prevent outliers biasing the fit (and causing images to be rejected due to a small number of bad stamps)
  • pmPSF now correctly chooses between useReff forms as appropriate
  • pmPSF change fixes circularization issues in pmReadoutFakeFromSources
  • pmPSFEnvelope somewhat more clear about circularization
  • Changed debugging in pmSubtractionEquation to add information.

I do not see any conflicts with the ppSub code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/objects/pmPSF.c

    r34403 r35455  
    342342    PS_ASSERT_PTR_NON_NULL(modelPar, axes);
    343343
    344     bool useReff = true;
     344    bool useReff = false;
    345345    useReff |= (type == pmModelClassGetType ("PS_MODEL_SERSIC"));
    346346    useReff |= (type == pmModelClassGetType ("PS_MODEL_DEV"));
     
    350350        shape.sx  = modelPar[PM_PAR_SXX];
    351351        shape.sy  = modelPar[PM_PAR_SYY];
    352         shape.sxy = modelPar[PM_PAR_SXY];
     352        shape.sxy = modelPar[PM_PAR_SXY]; // This is potentially wrong?
    353353    } else {
    354354        shape.sx  = modelPar[PM_PAR_SXX] / M_SQRT2;
     
    384384    psEllipseShape shape = psEllipseAxesToShape (axes);
    385385
    386     bool useReff = true;
    387     useReff |= pmModelClassGetType ("PS_MODEL_SERSIC");
    388     useReff |= pmModelClassGetType ("PS_MODEL_DEV");
    389     useReff |= pmModelClassGetType ("PS_MODEL_EXP");
     386    bool useReff = false;
     387    useReff |= ( type == pmModelClassGetType ("PS_MODEL_SERSIC"));
     388    useReff |= ( type == pmModelClassGetType ("PS_MODEL_DEV"));
     389    useReff |= ( type == pmModelClassGetType ("PS_MODEL_EXP"));
    390390
    391391    if (useReff) {
    392392        modelPar[PM_PAR_SXX] = shape.sx;
    393393        modelPar[PM_PAR_SYY] = shape.sy;
    394         modelPar[PM_PAR_SXY] = shape.sxy;
     394        modelPar[PM_PAR_SXY] = shape.sxy; // This is potentially wrong?
    395395    } else {
    396396        modelPar[PM_PAR_SXX] = shape.sx * M_SQRT2;
Note: See TracChangeset for help on using the changeset viewer.