IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 7, 2014, 6:19:12 AM (12 years ago)
Author:
eugene
Message:

add note on petrosian errors

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20140717/psModules/src/objects/pmSourceIO_CMF.c.in

    r36892 r37197  
    620620                // XXX note that this mag is either calibrated or instrumental depending on existence of zero point
    621621                float mag = (extpars->petrosianFlux > 0.0) ? -2.5*log10(extpars->petrosianFlux) + magOffset : NAN; // XXX zero point
     622                XXX NOTE EAM 20140806 : PETRO_MAG_ERR is inverted!! oops!!
    622623                float magErr = (extpars->petrosianFlux > 0.0) ? extpars->petrosianFlux / extpars->petrosianFluxErr : NAN; // XXX zero point
    623624                psMetadataAdd (row, PS_LIST_TAIL, "PETRO_MAG",        PS_DATA_F32, "Petrosian Magnitude", mag);
Note: See TracChangeset for help on using the changeset viewer.