IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 22, 2007, 2:55:49 PM (19 years ago)
Author:
magnier
Message:

adjusted pmModel.h to allow pmModel to use functions which use pmModel
as an argument.

adjusted the order of the pmPSF.h entries to allow that as an argument
as well

changed pmPSF I/O functions to load/save the psf on the
chip->analysis, not the readout->analysis

fixed the modelRadius function for PGAUSS

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branch_20070817/psModules/src/objects/pmPSF.h

    r13898 r14612  
    66 * @author EAM, IfA
    77 *
    8  * @version $Revision: 1.14 $ $Name: not supported by cvs2svn $
    9  * @date $Date: 2007-06-20 02:22:26 $
     8 * @version $Revision: 1.14.6.1 $ $Name: not supported by cvs2svn $
     9 * @date $Date: 2007-08-23 00:55:49 $
    1010 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii
    1111 */
     
    1616/// @addtogroup Objects Object Detection / Analysis Functions
    1717/// @{
     18
     19// type of model carried by the pmModel structure
     20typedef int pmModelType;
    1821
    1922typedef enum {
     
    4447typedef struct
    4548{
    46     pmModelType type;   ///< PSF Model in use
    47     psArray *params_NEW;   ///< Model parameters (psPolynomial2D)
    48     // XXXXX I am changing params: we will allocate elements for the
    49     // unfitted elements (So, Io, Xo, Yo) and leave them as NULL
    50     // I am using a new name to catch all refs to params with gcc
     49    pmModelType type;                   ///< PSF Model in use
     50    psArray *params;                    ///< Model parameters (psPolynomial2D)
    5151    psPolynomial1D *ChiTrend;         ///< Chisq vs flux fit (correction for systematic errors)
    5252    psPolynomial4D *ApTrend;            ///< ApResid vs (x,y,rflux) (rflux = ten(0.4*mInst))
     
    7979);
    8080
    81 /**
    82  *
    83  * This function constructs a pmModel instance based on the pmPSF description
    84  * of the PSF. The input is a pmModel with at least the values of the centroid
    85  * coordinates (possibly normalization if this is needed) defined. The values of
    86  * the PSF-dependent parameters are specified for the specific realization based
    87  * on the coordinates of the object.
    88  *
    89  */
    90 pmModel *pmModelFromPSF(
    91     pmModel *model,                     ///< Add comment
    92     pmPSF *psf                          ///< Add comment
    93 );
    94 
    9581bool pmPSFMaskApTrend (psPolynomial4D *trend, pmPSFApTrendOptions option);
    9682
Note: See TracChangeset for help on using the changeset viewer.