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_TAUSS.c

    r5718 r8882  
    1 
    21/******************************************************************************
    32    params->data.F32[0] = So;
     
    150149
    151150    dP = 0;
    152     dP += PS_SQR(dPAR[4] / PAR[4]);
    153     dP += PS_SQR(dPAR[5] / PAR[5]);
     151    dP += PS_SQR(dPAR[PM_PAR_SXX] / PAR[PM_PAR_SXX]);
     152    dP += PS_SQR(dPAR[PM_PAR_SYY] / PAR[PM_PAR_SYY]);
    154153    dP = sqrt (dP);
    155154
    156155    status = true;
    157156    status &= (dP < 0.5);
    158     status &= (PAR[1] > 0);
    159     status &= ((dPAR[1]/PAR[1]) < 0.5);
     157    status &= (PAR[PM_PAR_FLUX] > 0);
     158    status &= ((dPAR[PM_PAR_FLUX]/PAR[PM_PAR_FLUX]) < 0.5);
    160159
    161160    if (status)
Note: See TracChangeset for help on using the changeset viewer.