IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 28, 2015, 7:16:10 AM (11 years ago)
Author:
eugene
Message:

replace assert with psAssert in cases where the value is otherwise unused; do not raise an error when looking for classID in detloc which is not found; add galaxy shape error propagation failure flags to pmModelStatus; read EXT_WIDTH_MAJ_ERR et al back into dPAR[SXX,etc] (careful: this only works if not real errors); read SKY_EXT in PAR[SKY]; use header for FWHM_MAJ if not found on readout->analysis

Location:
trunk/psModules/src/objects
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/objects

  • trunk/psModules/src/objects/pmSourceIO_CMF.c.in

    r37964 r38038  
    12521252        }
    12531253
    1254         // XXX : make this depend on what is in the cmf
    1255         if (0) {
     1254        // NOTE: we no longer write out the covariance matrix
     1255        if (false) {
    12561256            // read the covariance matrix
    12571257            int nparams = model->params->n;
     
    12661266            model->covar = covar;
    12671267        }
     1268
     1269        // we are only saving the values stored in dPAR[SXX,etc]
     1270        dPAR[PM_PAR_SXX] = psMetadataLookupF32(&status, row, "EXT_WIDTH_MAJ_ERR");
     1271        dPAR[PM_PAR_SYY] = psMetadataLookupF32(&status, row, "EXT_WIDTH_MIN_ERR");
     1272        dPAR[PM_PAR_SXY] = psMetadataLookupF32(&status, row, "EXT_THETA_ERR");
     1273
     1274        // other parameters that we need to read
     1275        PAR[PM_PAR_SKY] = psMetadataLookupF32(&status, row, "SKY_EXT");
    12681276
    12691277        if (modelType == extModelType) {
Note: See TracChangeset for help on using the changeset viewer.