IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 21, 2006, 11:33:00 AM (20 years ago)
Author:
magnier
Message:

faster calculation of radius, simpsons rule for flux integration, rational range for Sx,Sy guess

File:
1 edited

Legend:

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

    r6907 r6947  
    8484    params[2] = moments->x;
    8585    params[3] = moments->y;
    86     params[4] = 1.2 / moments->Sx;
    87     params[5] = 1.2 / moments->Sy;
     86    params[4] = (moments->Sx < (1.2 / 2.0)) ? 2.0 : (1.2 / moments->Sx);
     87    params[5] = (moments->Sy < (1.2 / 2.0)) ? 2.0 : (1.2 / moments->Sy);
    8888    params[6] = 0.0;
    8989    return(true);
Note: See TracChangeset for help on using the changeset viewer.