IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 23, 2011, 9:57:37 AM (15 years ago)
Author:
eugene
Message:

updates to pmVisual especially astrometry visualization

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20110213/psModules/src/extras/pmVisual.c

    r30623 r31019  
    1 /** The following are a collection of core procedures to aid the creation of visaual diagnostics
     1/** The following are a collection of core procedures to aid the creation of visual diagnostics
    22 *  @author Chris Beaumont, IfA
    33 *  @date January 23, 2008
     
    8080
    8181bool pmVisualInitWindow (int *kapid, char *name) {
     82
    8283    if (*kapid == -1) {
    8384        *kapid = KapaOpenNamedSocket("kapa", name);
    8485        if (*kapid == -1) {
    85             fprintf (stderr, "Failure to open kapa.\n");
    86             isVisual = false;
     86            fprintf (stderr, "Failure to open kapa; visual mode disabled.\n");
     87            pmVisualSetVisual(false);
    8788            return false;
    8889        }
     
    255256    }
    256257
     258    if (increasing) {
     259        fprintf (stderr, "plotting points scaled from %f to %f\n", zmin, zmax);
     260    } else {
     261        fprintf (stderr, "plotting points scaled from %f to %f\n", zmax, zmin);
     262    }
     263
    257264    float range = zmax - zmin;
    258265    if (range == 0.0) {
Note: See TracChangeset for help on using the changeset viewer.