IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 18354


Ignore:
Timestamp:
Jun 27, 2008, 5:18:10 PM (18 years ago)
Author:
Paul Price
Message:

Additional filters on sources of interest.

File:
1 edited

Legend:

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

    r18353 r18354  
    6868    for (long i = 0; i < numSources; i++) {
    6969        pmSource *source = sources->data[i]; // Source of interest
    70         if (!source || source->mode & SOURCE_MASK) {
     70        if (!source || (source->mode & SOURCE_MASK) || !isfinite(source->psfMag) || source->psfMag == 99.0) {
    7171            continue;
    7272        }
     
    412412            float x, y;
    413413            coordsFromSource(&x, &y, source);
    414             fprintf(srcFile, "%f\t%f\n", x, y);
     414            fprintf(srcFile, "%f\t%f\t%f\n", x, y, source->psfMag);
    415415        }
    416416        fclose(srcFile);
Note: See TracChangeset for help on using the changeset viewer.