Changeset 2669 for trunk/python
- Timestamp:
- 10/17/12 17:20:35 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/asapgrid.py
r2594 r2669 448 448 #print 'nrow=',nrow 449 449 450 idx = 0 451 d0 = s.get_direction( 0 ).split()[-1] 452 while ( s.get_direction(self.npol*idx) is not None \ 453 and s.get_direction(self.npol*idx).split()[-1] == d0 ): 450 idx = 1 451 d0 = s.get_direction( 0 ).split()[-2] 452 d = s.get_direction(self.npol*idx) 453 while( d is not None \ 454 and d.split()[-2] != d0): 454 455 idx += 1 456 d = s.get_direction(self.npol*idx) 455 457 456 458 self.nx = idx … … 484 486 opt += ', channel %s'%(chan) 485 487 data = self.getData( chan, pol ) 486 data = numpy.fliplr( data )488 #data = numpy.fliplr( data ) 487 489 title = 'Gridded Image (%s)'%(opt) 488 490 pl.figure(10) … … 530 532 if self.ifno < 0: 531 533 ifno = self.tablein.getif(0) 532 print 'ifno=',ifno534 #print 'ifno=',ifno 533 535 else: 534 536 ifno = self.ifno
Note:
See TracChangeset
for help on using the changeset viewer.