IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Nov 7, 2008, 3:52:34 PM (18 years ago)
Author:
eugene
Message:

adding pmSourceVisual

File:
1 edited

Legend:

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

    r20453 r20582  
    55 *  @author EAM, IfA
    66 *
    7  *  @version $Revision: 1.65 $ $Name: not supported by cvs2svn $
    8  *  @date $Date: 2008-10-29 01:04:27 $
     7 *  @version $Revision: 1.66 $ $Name: not supported by cvs2svn $
     8 *  @date $Date: 2008-11-08 01:52:34 $
    99 *
    1010 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    3434#include "pmSourceFitModel.h"
    3535#include "pmSourcePhotometry.h"
     36#include "pmSourceVisual.h"
    3637
    3738bool printTrendMap (pmTrend2D *trend) {
     
    683684            stdev = psStatsGetValue (trend->stats, stdevOption);
    684685            psTrace ("psModules.objects", 4, "clipped E0 : %f +/- %f keeping %ld of %ld\n", mean, stdev, psf->psfTrendStats->clippedNvalues, e0->n);
     686            pmSourceVisualPSFModelResid (trend, x, y, e0, srcMask);
    685687
    686688            trend = psf->params->data[PM_PAR_E1];
     
    689691            stdev = psStatsGetValue (trend->stats, stdevOption);
    690692            psTrace ("psModules.objects", 4, "clipped E1 : %f +/- %f keeping %ld of %ld\n", mean, stdev, psf->psfTrendStats->clippedNvalues, e1->n);
     693            pmSourceVisualPSFModelResid (trend, x, y, e1, srcMask);
    691694
    692695            trend = psf->params->data[PM_PAR_E2];
     
    695698            stdev = psStatsGetValue (trend->stats, stdevOption);
    696699            psTrace ("psModules.objects", 4, "clipped E2 : %f +/- %f keeping %ld of %ld\n", mean, stdev, psf->psfTrendStats->clippedNvalues, e2->n);
     700            pmSourceVisualPSFModelResid (trend, x, y, e2, srcMask);
    697701
    698702            if (!status) {
     
    853857        psImageMapCleanup (trend->map);
    854858        // printTrendMap (trend);
     859        pmSourceVisualPSFModelResid (trend, x, y, e0obs, mask);
    855860
    856861        trend = psf->params->data[PM_PAR_E1];
     
    862867        psImageMapCleanup (trend->map);
    863868        // printTrendMap (trend);
     869        pmSourceVisualPSFModelResid (trend, x, y, e1obs, mask);
    864870
    865871        trend = psf->params->data[PM_PAR_E2];
     
    871877        psImageMapCleanup (trend->map);
    872878        // printTrendMap (trend);
     879        pmSourceVisualPSFModelResid (trend, x, y, e2obs, mask);
    873880    }
    874881    psf->psfTrendStats->clipIter = nIter; // restore default setting
Note: See TracChangeset for help on using the changeset viewer.