IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 31653


Ignore:
Timestamp:
Jun 21, 2011, 5:46:29 PM (15 years ago)
Author:
eugene
Message:

some fields were not being read from the input CMF file, so they were dropped between chip and camera: PSF_INST_FLUX, PSF_INST_FLUX_SIG, AP_MAG_RAW

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20110505/psModules/src/objects/pmSourceIO_CMF_PS1_V3.c

    r31451 r31653  
    270270        source->skyErr    = dPAR[PM_PAR_SKY];
    271271
    272         // XXX use these to determine PAR[PM_PAR_I0]?
    273272        source->psfMag    = psMetadataLookupF32 (&status, row, "PSF_INST_MAG");
    274         source->psfMagErr    = psMetadataLookupF32 (&status, row, "PSF_INST_MAG_SIG");
     273        source->psfMagErr = psMetadataLookupF32 (&status, row, "PSF_INST_MAG_SIG");
    275274        source->apMag     = psMetadataLookupF32 (&status, row, "AP_MAG");
     275        source->apMagRaw  = psMetadataLookupF32 (&status, row, "AP_MAG_RAW");
     276
     277        // XXX use these to determine PAR[PM_PAR_I0] if they exist?
     278        source->psfFlux   = psMetadataLookupF32 (&status, row, "PSF_INST_FLUX");
     279        source->psFluxErr = psMetadataLookupF32 (&status, row, "PSF_INST_FLUX_SIG");
    276280
    277281        // XXX this scaling is incorrect: does not include the 2 \pi AREA factor
Note: See TracChangeset for help on using the changeset viewer.