IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 28, 2013, 3:44:36 PM (13 years ago)
Author:
watersc1
Message:

Correct guess value of size to use the sqrt of the first moment to get the units correct.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/objects/models/pmModel_TRAIL.c

    r34403 r35215  
    256256    if (!isfinite(axes.theta)) return false;
    257257
    258     float size = (axes.major > source->moments->Mrf) ? axes.major : source->moments->Mrf;
     258    float size = (axes.major > sqrt(source->moments->Mrf)) ? axes.major : sqrt(source->moments->Mrf);
     259    //    if (size > psfAxes.major) { size -= psfAxes.major; }
     260    //else { size = psfAxes.major; }
    259261
    260262    // axes.major is a sigma in the major direction; scale to
Note: See TracChangeset for help on using the changeset viewer.