Changeset 2690


Ignore:
Timestamp:
12/10/12 15:00:46 (12 years ago)
Author:
Kana Sugimoto
Message:

New Development: No

JIRA Issue: No

Ready for Test: Yes

Interface Changes: No

What Interface Changed:

Test Programs: sdplot unit tests

Put in Release Notes: Yes

Module(s): asapplotter and sdplot

Description:

Proper WCS projection in plottype = "grid" in sdplot.
Removed debug flag.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/PlotHelper.cpp

    r2689 r2690  
    2020#include "PlotHelper.h"
    2121
    22 #define KS_DEBUG
     22//#define KS_DEBUG
    2323
    2424using namespace std ;
     
    174174                                      centX, centY, incX, incY,
    175175                                      xform,
    176                                       0.5*Double(nx-1),
    177                                       0.5*Double(ny-1)) ; // pixel at grid
    178 //                                    0.5*Double(nx),
    179 //                                    0.5*Double(ny)) ; // pixel at center
     176                                      0.5*Double(nx),
     177                                      0.5*Double(ny)) ; // pixel at center
     178//                                    0.5*Double(nx-1),
     179//                                    0.5*Double(ny-1)) ; // pixel at grid
    180180#ifdef KS_DEBUG
    181181  {//Debug outputs
     
    214214  // convert pixel to std vector
    215215  pixel.tovector(outvec);
    216 #ifdef KS_DEBUG
    217   cout << "returning vector = [" << outvec[0] << ", " << outvec[1] << "]" << endl;
    218 #endif
    219216  return outvec;
    220217};
Note: See TracChangeset for help on using the changeset viewer.