IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 26, 2012, 11:31:38 AM (14 years ago)
Author:
eugene
Message:

re-enable MODEL_VAR option for linear photometry fit

Location:
trunk/psModules
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules

  • trunk/psModules/src/objects/pmSourceIO_CMP.c

    r32347 r34085  
    6565    int i, type;
    6666    // psMetadataItem *mdi;
    67     psF32 *PAR, *dPAR;
     67    psF32 *PAR;
    6868    float lsky = 0;
    6969    bool status;
     
    130130
    131131        PAR = model->params->data.F32;
    132         dPAR = model->dparams->data.F32;
    133132
    134133        type = pmSourceGetDophotType (source);
     
    174173    bool status;
    175174    int Ninstar;
    176     psF32 *PAR, *dPAR;
     175    psF32 *PAR;
    177176    psEllipseAxes axes;
    178177
     
    185184    }
    186185
    187     // find config information for output header
    188     float ZERO_POINT = psMetadataLookupF32 (&status, header, "ZERO_PT");
    189     if (!status)
    190         ZERO_POINT = 25.0;
     186    // XXX unused // find config information for output header
     187    // XXX unused float ZERO_POINT = psMetadataLookupF32 (&status, header, "ZERO_PT");
     188    // XXX unused if (!status)
     189    // XXX unused     ZERO_POINT = 25.0;
    191190
    192191    // how many lines in the header?
     
    273272
    274273            PAR = source->modelPSF->params->data.F32;
    275             dPAR = source->modelPSF->dparams->data.F32;
    276274
    277275            PAR[PM_PAR_SKY] = pow (atof (array->data[5]), 10.0);
Note: See TracChangeset for help on using the changeset viewer.