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/psphot.c

    r4114 r4115  
    2424    peaks = find_peaks (image, config, sky);
    2525
     26    // construct sources and measure basic stats
    2627    sources = source_moments (image, config, peaks);
     28
     29    // source analysis is done in S/N order (brightest first)
     30    sources = psArraySort (sources, by_SN);
    2731
    2832    // use stellar objects SN > PSF_SN_LIM
     
    3539    // XXX it has some problems
    3640    // test_psf_scatter (sources);
    37 
    38     // identify PSF-like objects (< PSF_SHAPE_NSIGMA from dSx,dSy model)
    39     // SN <= FAINT_SN_LIM : FAINTSTAR
    40     // SN >  FAINT_SN_LIM : BRIGHTSTAR
    41     mark_psf_sources (sources, config);
    42 
    43     // subtract BRIGHTSTAR, PSFSTAR, SATSTAR
    44     subtract_psf_sources (sources);
    4541
    4642    // fit_galaxies (image, config, sources);
Note: See TracChangeset for help on using the changeset viewer.