IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 25, 2007, 3:20:29 PM (19 years ago)
Author:
magnier
Message:

incorporating updates from eam_02_branch (cached models, pmPSF FITS IO)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/objects/pmModel.h

    r12949 r13034  
    55 * @author EAM, IfA
    66 *
    7  * @version $Revision: 1.7 $ $Name: not supported by cvs2svn $
    8  * @date $Date: 2007-04-21 19:47:14 $
     7 * @version $Revision: 1.8 $ $Name: not supported by cvs2svn $
     8 * @date $Date: 2007-04-26 01:20:29 $
     9 *
    910 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii
    1011 */
     
    2627    PM_MODEL_BADARGS   ///< model fit called with invalid args
    2728} pmModelStatus;
     29
     30typedef enum {
     31    PM_MODEL_OP_NONE    = 0x00,
     32    PM_MODEL_OP_FUNC    = 0x01,
     33    PM_MODEL_OP_RES0    = 0x02,
     34    PM_MODEL_OP_RES1    = 0x04,
     35    PM_MODEL_OP_FULL   = 0x07,
     36    PM_MODEL_OP_SKY     = 0x08,
     37    PM_MODEL_OP_CENTER = 0x10,
     38    PM_MODEL_OP_NORM    = 0x20,
     39} pmModelOpMode;
    2840
    2941/** pmModel data structure
     
    91103 */
    92104bool pmModelAdd(
    93     psImage *image,   ///< The output image (float)
    94     psImage *mask,   ///< The image pixel mask (valid == 0)
    95     pmModel *model,   ///< The input pmModel
    96     bool center,   ///< A boolean flag that determines whether pixels are centered
    97     bool sky    ///< A boolean flag that determines if the sky is subtracted
     105    psImage *image,                     ///< The output image (float)
     106    psImage *mask,                      ///< The image pixel mask (valid == 0)
     107    pmModel *model,                     ///< The input pmModel
     108    pmModelOpMode mode               ///< mode to control how the model is added into the image
    98109);
    99 
    100110
    101111/** pmModelSub()
     
    110120 */
    111121bool pmModelSub(
    112     psImage *image,   ///< The output image (float)
    113     psImage *mask,   ///< The image pixel mask (valid == 0)
    114     pmModel *model,   ///< The input pmModel
    115     bool center,   ///< A boolean flag that determines whether pixels are centered
    116     bool sky    ///< A boolean flag that determines if the sky is subtracted
     122    psImage *image,                     ///< The output image (float)
     123    psImage *mask,                      ///< The image pixel mask (valid == 0)
     124    pmModel *model,                     ///< The input pmModel
     125    pmModelOpMode mode               ///< mode to control how the model is added into the image
    117126);
    118127
Note: See TracChangeset for help on using the changeset viewer.