IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 29, 2015, 2:15:11 PM (11 years ago)
Author:
bills
Message:

drop models with major axis > 100 pixels.

File:
1 edited

Legend:

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

    r37624 r37881  
    534534              Nconvolve ++;
    535535              if (!(modelFit->flags & badModel)) {
     536                  float *PAR = modelFit->params->data.F32;
     537                  psEllipseAxes axes = pmPSF_ModelToAxes (PAR, modelFit->class->useReff);
     538                  if (axes.major >= 100) {
     539                      Nfail ++;
     540                      source->mode2 |= PM_SOURCE_MODE2_EXT_FITS_FAIL;
     541                      psFree(modelFit);
     542                      continue;
     543                  }
    536544                  NconvolvePass ++;
    537545                  source->mode |= PM_SOURCE_MODE_EXTENDED_FIT;
Note: See TracChangeset for help on using the changeset viewer.