IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 10827


Ignore:
Timestamp:
Dec 22, 2006, 6:00:30 PM (19 years ago)
Author:
magnier
Message:

further work on plotting functions

Location:
trunk/psModules/src
Files:
4 added
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/camera/pmFPAfileIO.c

    r10726 r10827  
    2828#include "pmFPA_JPEG.h"
    2929#include "pmFPA_MANAPLOT.h"
     30#include "pmSourcePlots.h"
    3031#include "pmDetrendDB.h"
    3132
     
    527528
    528529    case PM_FPA_FILE_KAPA:
    529         psTrace ("pmFPAfile", 5, "skipping KAPA (output in specific functions) %s (fpa: %p)\n", file->filename, file->fpa);
     530        pmFPAviewWriteSourcePlot (view, file, config);
     531        psTrace ("pmFPAfile", 5, "wrote KAPA %s (fpa: %p)\n", file->filename, file->fpa);
    530532        break;
    531533
  • trunk/psModules/src/extras/pmKapaPlots.c

    r10648 r10827  
    77 *  @author EAM, IfA
    88 *
    9  *  @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2006-12-12 08:25:43 $
     9 *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2006-12-23 04:00:30 $
    1111 *
    1212 *  Copyright 2006 Institute for Astronomy, University of Hawaii
     
    3030    // to make this thread safe, we could check the thread ID and tie to it
    3131    static int kapa_fd = -1;
    32 int pmKapaOpen ()
     32int pmKapaOpen (bool showWindow)
    3333{
     34    char kapa[64];
     35
     36    if (showWindow) {
     37        strcpy (kapa, "kapa");
     38    } else {
     39        strcpy (kapa, "kapa -noX");
     40    }
    3441
    3542    if (kapa_fd == -1) {
    36         // XXX make -noX an option
    37         // XXX -noX is crashing kapa on point plotting
    38         kapa_fd = KapaOpen ("kapa", "psphot");
     43        kapa_fd = KapaOpen (kapa, "psphot");
    3944    }
    4045    return kapa_fd;
  • trunk/psModules/src/extras/pmKapaPlots.h

    r10610 r10827  
    1 /** @file  pmAstrometryDistortion.h
     1/** @file  pmKapaPlots.h
    22*
    3 *  @brief functions to convert FITS WCS keywords to / from pmFPA structures
     3*  @brief functions to make plots with the external program 'kapa'
    44*
    5 *  @ingroup Astrometry
     5*  @ingroup extras
    66*
    77*  @author EAM, IfA
    88*
    9 *  @version $Revision: 1.1 $ $Name: not supported by cvs2svn $
    10 *  @date $Date: 2006-12-10 18:27:26 $
     9*  @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
     10*  @date $Date: 2006-12-23 04:00:30 $
    1111*
    1212*  Copyright 2006 Institute for Astronomy, University of Hawaii
     
    1717
    1818// move to psLib or psModules
    19 int pmKapaOpen ();
     19int pmKapaOpen (bool showWindow);
    2020bool pmKapaClose ();
    2121
  • trunk/psModules/src/objects/Makefile.am

    r10610 r10827  
    1919     pmSourceIO_SX.c \
    2020     pmSourceIO_RAW.c \
     21     pmSourcePlots.c \
     22     pmSourcePlotPSFModel.c \
     23     pmSourcePlotMoments.c \
    2124     pmPSF.c \
    2225     pmPSF_IO.c \
     
    4144     pmSourcePhotometry.h \
    4245     pmSourceIO.h \
     46     pmSourcePlots.h \
    4347     pmPSF.h \
    4448     pmPSF_IO.h \
  • trunk/psModules/src/psmodules.h

    r10610 r10827  
    7474#include <pmSourceFitModel.h>
    7575#include <pmSourceContour.h>
     76#include <pmSourcePlots.h>
    7677#include <pmGrowthCurve.h>
    7778#include <pmPSF.h>
Note: See TracChangeset for help on using the changeset viewer.