IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 9, 2013, 3:30:23 PM (13 years ago)
Author:
eugene
Message:

add threading for pmPSFtryFitEXT and pmPSFtryFitPSF; pass chisq conv options to pmSourceFitModel

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20130509/psModules/src/objects/models/pmModel_TRAIL.c

    r35594 r35639  
    369369    if (!isfinite(axes.theta)) return false;
    370370
    371     float size = (axes.major > sqrt(source->moments->Mrf)) ? axes.major : sqrt(source->moments->Mrf);
    372     //    if (size > psfAxes.major) { size -= psfAxes.major; }
    373     //else { size = psfAxes.major; }
     371    float size = NAN;
     372    if (!isfinite(source->moments->Mrf)) {
     373      size = axes.major;
     374    } else {
     375      size = (axes.major > sqrt(source->moments->Mrf)) ? axes.major : sqrt(source->moments->Mrf);
     376    }
    374377
    375378    float theta, peak;
Note: See TracChangeset for help on using the changeset viewer.