Changeset 2685 for trunk/python


Ignore:
Timestamp:
11/15/12 17:03:28 (12 years ago)
Author:
Kana Sugimoto
Message:

New Development: No

JIRA Issue: Yes

Ready for Test: Yes

Interface Changes: No

What Interface Changed:

Test Programs:

Put in Release Notes: No

Module(s):

Description: a bug fix and an update.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/sbseparator.py

    r2649 r2685  
    348348        nx = max(1, numpy.ceil(mapx/self.dirtol[0]))
    349349        ny = max(1, numpy.ceil(mapy/self.dirtol[0]))
    350        
     350
    351351        asaplog.push("Regrid output scantable with cell = [%s, %s]" % \
    352352                     (cellx, celly))
    353353        gridder.defineImage(nx=nx, ny=ny, cellx=cellx, celly=celly)
    354         gridder.setFunc(func='box', width=1)
     354        gridder.setFunc(func='box', convsupport=1)
    355355        gridder.setWeight(weightType='uniform')
    356356        gridder.grid()
    357357        return gridder.getResult()
    358        
    359358
    360359    @asaplog_post_dec
     
    495494                if byname:
    496495                    stab = scantable(self.intables[itab],average=False)
    497                     self.intables.append(stab)
    498496                else:
    499497                    stab = self.intables[itab]
     
    514512                asaplog.push("table contains multiple beams. It may not be handled properly.")
    515513                asaplog.push("WARN")
    516            
     514
    517515            for ifno in stab.getifnos():
    518516                stab.set_selection(ifs=[ifno])
Note: See TracChangeset for help on using the changeset viewer.