IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 1, 2009, 3:52:39 PM (17 years ago)
Author:
eugene
Message:

add ability to read a text list of sources (for forced photometry); fix destination for nRegions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/objects/pmSourceIO_SMPDATA.c

    r20937 r25979  
    184184        pmPSF_AxesToModel (PAR, axes);
    185185
    186 
    187186        source->psfMag = psMetadataLookupF32 (&status, row, "MAG_RAW") - ZERO_POINT;
    188187        source->extMag = psMetadataLookupF32 (&status, row, "MAG_GAL") - ZERO_POINT;
     
    198197
    199198        source->peak = pmPeakAlloc(PAR[PM_PAR_XPOS], PAR[PM_PAR_YPOS], peakFlux, PM_PEAK_LONE);
     199        source->peak->flux = peakFlux;
     200
    200201        sources->data[i] = source;
    201202    }
Note: See TracChangeset for help on using the changeset viewer.