IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 23, 2010, 2:03:31 PM (16 years ago)
Author:
eugene
Message:

add visual facility management a la psTrace

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20100621/psModules/src/objects/pmSourceVisual.c

    r26260 r28435  
    1313#include <kapa.h>
    1414#include "pmVisual.h"
     15#include "pmVisualUtils.h"
    1516
    1617// functions used to visualize the analysis as it goes
     
    3435    Graphdata graphdata;
    3536
    36     if (!pmVisualIsVisual()) return true;
     37    if (!pmVisualTestLevel("psphot.psf.metric", 2)) return true;
    3738
    3839    if (kapa1 == -1) {
     
    118119    Graphdata graphdata;
    119120
    120     if (!pmVisualIsVisual()) return true;
     121    if (!pmVisualTestLevel("psphot.psf.subpix", 3)) return true;
    121122
    122123    if (kapa1 == -1) {
     
    280281bool pmSourceVisualShowModelFits (pmPSF *psf, psArray *sources, psImageMaskType maskVal) {
    281282
    282     if (!pmVisualIsVisual()) return true;
     283    if (!pmVisualTestLevel("psphot.psf.fits", 2)) return true;
    283284
    284285    if (kapa2 == -1) {
     
    360361bool pmSourceVisualShowModelFit (pmSource *source) {
    361362
    362     if (!pmVisualIsVisual()) return true;
     363    if (!pmVisualTestLevel("psphot.psf.fitresid", 2)) return true;
     364
    363365    if (!source->pixels) return false;
    364366    if (!source->modelFlux) return false;
     
    404406    Graphdata graphdata;
    405407
    406     if (!pmVisualIsVisual() || !plotPSF) return true;
     408    if (!plotPSF) return true;
     409    if (!pmVisualTestLevel("psphot.psf.resid", 2)) return true;
    407410
    408411    if (kapa1 == -1) {
Note: See TracChangeset for help on using the changeset viewer.