IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 5, 2005, 8:41:28 PM (21 years ago)
Author:
eugene
Message:

using source masks to select PSF stars

File:
1 edited

Legend:

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

    r4115 r4116  
    2222    if (source->modelPSF == NULL) return (false);
    2323
    24     if (source->type == PS_SOURCE_PSFSTAR) return (true);
     24    // SATSTAR objects are fitted with PSF regardless
    2525    if (source->type == PS_SOURCE_SATSTAR) return (true);
    2626
     
    3636    // assign PS_SOURCE_BRIGHTSTAR to bright objects within PSF region of dparams[]
    3737    if ((fabs(nSx) < shapeNsigma) && (fabs(nSy) < shapeNsigma)) {
     38      if (source->type == PS_SOURCE_PSFSTAR) return (true);
    3839      source->type = PS_SOURCE_BRIGHTSTAR;
    3940      return (true);
    4041    }
    4142   
     43    if (source->type == PS_SOURCE_PSFSTAR) {
     44      psLogMsg ("psphot", 3, "PSFSTAR demoted based on dSx, dSy\n");
     45    }
     46
    4247    if ((nSx >= shapeNsigma) || (nSy >= shapeNsigma)) {
    4348      source->type = PS_SOURCE_GALAXY;
Note: See TracChangeset for help on using the changeset viewer.