IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 5, 2008, 12:30:58 PM (18 years ago)
Author:
Paul Price
Message:

Ignore magnitudes of 99 --- they're not real!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ppStack/src/ppStackMatch.c

    r16605 r16834  
    1010
    1111#define ARRAY_BUFFER 16                 // Number to add to array at a time
    12 
     12#define MAG_IGNORE 99.0                 // Ignore these magnitudes --- they're not real!
    1313
    1414//#define TESTING
     
    7171    for (int i = 0; i < sources->n; i++) {
    7272        pmSource *source = sources->data[i]; // Source of interest
    73         if (source->psfMag > maxMag) {
     73        if (source->psfMag > maxMag && source->psfMag != MAG_IGNORE) {
    7474            maxMag = source->psfMag;
    7575        }
Note: See TracChangeset for help on using the changeset viewer.