IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 26508


Ignore:
Timestamp:
Jan 4, 2010, 10:34:06 AM (16 years ago)
Author:
eugene
Message:

error in usage of psVectorAppend

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/20091201/psphot/src/psphotSourceSize.c

    r25852 r26508  
    232232        float dMag = source->psfMag - apMag;
    233233
    234         psVectorAppend (Ap, 100, dMag);
    235         psVectorAppend (ApErr, 100, source->errMag);
     234        psVectorAppend (Ap, dMag);
     235        psVectorAppend (ApErr, source->errMag);
    236236    }
    237237
     
    247247    options->ApResid = stats->robustMedian;
    248248    options->ApSysErr = psVectorSystematicError(dAp, ApErr, 0.05);
     249    // XXX this is quite arbitrary...
     250    if (!isfinite(options->ApSysErr)) options->ApSysErr = 0.01;
    249251    psLogMsg ("psphot", PS_LOG_DETAIL, "psf - Sum: %f +/- %f\n", options->ApResid, options->ApSysErr);
    250252
Note: See TracChangeset for help on using the changeset viewer.