IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 1, 2009, 7:13:00 PM (17 years ago)
Author:
eugene
Message:

convert mask references to abstract psImageMaskType and psVectorMaskType as needed

File:
1 edited

Legend:

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

    r21075 r21079  
    55 *  @author EAM, IfA
    66 *
    7  *  @version $Revision: 1.67.4.1 $ $Name: not supported by cvs2svn $
    8  *  @date $Date: 2008-12-31 20:31:29 $
     7 *  @version $Revision: 1.67.4.2 $ $Name: not supported by cvs2svn $
     8 *  @date $Date: 2009-01-02 05:13:00 $
    99 *
    1010 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    193193        // exclude the poor fits
    194194        if (!status) {
    195             psfTry->mask->data.PS_TYPE_IMAGE_MASK_DATA[i] = PSFTRY_MASK_EXT_FAIL;
     195            psfTry->mask->data.PS_TYPE_VECTOR_MASK_DATA[i] = PSFTRY_MASK_EXT_FAIL;
    196196            psTrace ("psModules.objects", 4, "masking %d (%d,%d) : status is poor\n", i, source->peak->x, source->peak->y);
    197197            continue;
     
    283283    psVector *flux  = psVectorAlloc (psfTry->sources->n, PS_TYPE_F32);
    284284    psVector *chisq = psVectorAlloc (psfTry->sources->n, PS_TYPE_F32);
    285     psVector *mask  = psVectorAlloc (psfTry->sources->n, PS_TYPE_MASK);
     285    psVector *mask  = psVectorAlloc (psfTry->sources->n, PS_TYPE_VECTOR_MASK);
    286286
    287287    // generate the x and y vectors, and mask missing models
     
    303303
    304304    // linear clipped fit of chisq trend vs flux
    305     bool result = psVectorClipFitPolynomial1D(psfTry->psf->ChiTrend, options->stats, mask,
    306                                               0xff, chisq, NULL, flux);
     305    bool result = psVectorClipFitPolynomial1D(psfTry->psf->ChiTrend, options->stats, mask, 0xff, chisq, NULL, flux);
    307306    psStatsOptions meanStat = psStatsMeanOption(options->stats->options); // Statistic for mean
    308307    psStatsOptions stdevStat = psStatsStdevOption(options->stats->options); // Statistic for stdev
Note: See TracChangeset for help on using the changeset viewer.