IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 22, 2006, 2:29:31 AM (20 years ago)
Author:
rhl
Message:

[Start to] provide symbolic names for parameters

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/models/pmModel_GAUSS.c

    r5593 r8882  
    139139
    140140    dP = 0;
    141     dP += PS_SQR(dPAR[4] / PAR[4]);
    142     dP += PS_SQR(dPAR[5] / PAR[5]);
     141    dP += PS_SQR(dPAR[PM_PAR_SXX] / PAR[PM_PAR_SXX]);
     142    dP += PS_SQR(dPAR[PM_PAR_SYY] / PAR[PM_PAR_SYY]);
    143143    dP = sqrt (dP);
    144144
    145145    status = true;
    146146    status &= (dP < 0.5);
    147     status &= (PAR[1] > 0);
    148     status &= ((dPAR[1]/PAR[1]) < 0.5);
     147    status &= (PAR[PM_PAR_FLUX] > 0);
     148    status &= ((dPAR[PM_PAR_FLUX]/PAR[PM_PAR_FLUX]) < 0.5);
    149149
    150150    if (status) return true;
Note: See TracChangeset for help on using the changeset viewer.