IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 19, 2007, 4:22:26 PM (19 years ago)
Author:
Paul Price
Message:

Extensive changes to APIs to allow use of a nominated value to mask
against (the maskVal). Previously, the mask values were either
hard-coded (e.g., PM_MASK_SAT) or taken as anything non-zero. The
code is tested under psphot (which has similar changes) and does not
crash, but neither is it successful in marking all bad pixels (EAM
will investigate). For this reason, I have left the "gutter" pixels
(cell gaps) set to 0 instead of NAN in pmFPAMosaic.

File:
1 edited

Legend:

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

    r13803 r13898  
    66 * @author EAM, IfA
    77 *
    8  * @version $Revision: 1.12 $ $Name: not supported by cvs2svn $
    9  * @date $Date: 2007-06-13 23:41:51 $
     8 * @version $Revision: 1.13 $ $Name: not supported by cvs2svn $
     9 * @date $Date: 2007-06-20 02:22:26 $
    1010 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii
    1111 */
     
    1818
    1919/**
    20  * 
     20 *
    2121 * This structure contains a pointer to the collection of sources which will
    2222 * be used to test the PSF model form. It lists the pmModelType type of model
     
    3838 * ultimate metric to intercompare multiple types of PSF models is the value of
    3939 * the aperture correction scatter.
    40  * 
     40 *
    4141 * XXX: There are many more members in the SDRS then in the prototype code.
    4242 * I stuck with the prototype code.
    43  * 
    44  * 
     43 *
     44 *
    4545 */
    4646typedef struct
     
    5757
    5858/** pmPSFtryMaskValues
    59  * 
     59 *
    6060 * The following datatype defines the masks used by the pmPSFtry analysis to
    6161 * identify sources which should or should not be included in the analysis.
    62  * 
     62 *
    6363 */
    6464typedef enum {
     
    7474
    7575/** pmPSFtryAlloc()
    76  * 
     76 *
    7777 * Allocate a pmPSFtry data structure.
    78  * 
     78 *
    7979 */
    8080pmPSFtry *pmPSFtryAlloc (psArray *sources, char *modelName, bool poissonErrors, psPolynomial2D *psfTrendMask);
    8181
    8282/** pmPSFtryModel()
    83  * 
     83 *
    8484 * This function takes the input collection of sources and performs a complete
    8585 * analysis to determine a PSF model of the given type (specified by model name).
    8686 * The result is a pmPSFtry with the results of the analysis.
    87  * 
     87 *
    8888 */
    89 pmPSFtry *pmPSFtryModel (psArray *sources, char *modelName, float RADIUS, bool poissonErrors, psPolynomial2D *psfTrendMask, bool applyWeights);
     89pmPSFtry *pmPSFtryModel (psArray *sources, char *modelName, float RADIUS, bool poissonErrors, psPolynomial2D *psfTrendMask, bool applyWeights, psMaskType maskVal, psMaskType mark);
    9090
    9191/** pmPSFtryMetric()
    92  * 
     92 *
    9393 * This function is used to measure the PSF model metric for the set of
    9494 * results contained in the pmPSFtry structure.
    95  * 
     95 *
    9696 */
    9797bool pmPSFtryMetric(
     
    113113
    114114/**
    115  * 
     115 *
    116116 * This function takes a collection of pmModel fitted models from across a
    117117 * single image and builds a pmPSF representation of the PSF. The input array of
     
    122122 * outliers and excluded from the fit. These elements will be marked with a
    123123 * specific mask value (1 == PSFTRY_MASK_OUTLIER).
    124  * 
     124 *
    125125 */
    126126bool pmPSFFromPSFtry (pmPSFtry *psfTry, bool applyWeights);
Note: See TracChangeset for help on using the changeset viewer.