IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 4, 2005, 5:22:13 PM (21 years ago)
Author:
eugene
Message:

running sources in brightness order, using a mask

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psphot/src/choose_psf_model.c

    r4114 r4115  
    6868    for (int i = 0; i < test->sources->n; i++) {
    6969        psSource *source = test->sources->data[i];
    70         source->modelPSF = test->modelPSF->data[i];
     70        // drop masked sources from PSFSTAR list
     71        if (test->mask->data.U8[i]) {
     72          source->type = PS_SOURCE_OTHER;
     73          // XXX is this the right type to go to?
     74        } else {
     75          source->modelPSF = test->modelPSF->data[i];
     76        }
    7177    }
    7278    return (test->psf);
Note: See TracChangeset for help on using the changeset viewer.