IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 18280


Ignore:
Timestamp:
Jun 23, 2008, 5:47:08 AM (18 years ago)
Author:
rhl
Message:

Set PSFTRY_MASK_BAD_MODEL when we can't build a model

Location:
branches/RHL_v1_4b/psModules/src/objects
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/RHL_v1_4b/psModules/src/objects/pmPSFtry.c

    r13514 r18280  
    55 *  @author EAM, IfA
    66 *
    7  *  @version $Revision: 1.41 $ $Name: not supported by cvs2svn $
    8  *  @date $Date: 2007-05-25 00:16:03 $
     7 *  @version $Revision: 1.41.2.1 $ $Name: not supported by cvs2svn $
     8 *  @date $Date: 2008-06-23 15:47:08 $
    99 *
    1010 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    155155        source->modelPSF = pmModelFromPSF (source->modelEXT, psfTry->psf);
    156156        if (source->modelPSF == NULL) {
     157            psfTry->mask->data.U8[i] = PSFTRY_MASK_BAD_MODEL;
    157158            continue;
    158159        }
  • branches/RHL_v1_4b/psModules/src/objects/pmPSFtry.h

    r11253 r18280  
    66 * @author EAM, IfA
    77 *
    8  * @version $Revision: 1.11 $ $Name: not supported by cvs2svn $
    9  * @date $Date: 2007-01-24 02:54:15 $
     8 * @version $Revision: 1.11.10.1 $ $Name: not supported by cvs2svn $
     9 * @date $Date: 2008-06-23 15:47:08 $
    1010 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii
    1111 */
     
    6868    PSFTRY_MASK_PSF_FAIL = 0x04,        ///< 3: psf model failed to converge
    6969    PSFTRY_MASK_BAD_PHOT = 0x08,        ///< 4: invalid source photometry
    70     PSFTRY_MASK_ALL      = 0x0f,        ///< Add comment.
     70    PSFTRY_MASK_BAD_MODEL= 0x10,        ///< 5: could not build PSF from EXT (!??)
     71    PSFTRY_MASK_ALL      = 0x1f,        ///< Add comment.
    7172} pmPSFtryMaskValues;
    7273
Note: See TracChangeset for help on using the changeset viewer.