Changeset 2423 for trunk


Ignore:
Timestamp:
03/05/12 00:35:25 (13 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: Yes CAS-2816

Ready for Test: Yes

Interface Changes: No

What Interface Changed: Please list interface changes

Test Programs: List test programs

Put in Release Notes: Yes/No

Module(s): Module Names change impacts.

Description: Describe your changes here...

Flipped horizontal axis (R.A.) for result plot.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/asapgrid.py

    r2421 r2423  
    298298        else:
    299299            opt += ', channel %s'%(chan)
    300         data = self.getData( chan, pol )
     300        data = self.getData( chan, pol )
     301        data = numpy.fliplr( data )
    301302        title = 'Gridded Image (%s)'%(opt)
    302303        pl.figure(10)
     
    326327                    #print irow
    327328        # show image
    328         extent=[self.blc[0]-0.5*self.cellx,
    329                 self.trc[0]+0.5*self.cellx,
     329        extent=[self.trc[0]+0.5*self.cellx,
     330                self.blc[0]-0.5*self.cellx,
    330331                self.blc[1]-0.5*self.celly,
    331332                self.trc[1]+0.5*self.celly]
Note: See TracChangeset for help on using the changeset viewer.