Changeset 2685 for trunk/python
- Timestamp:
- 11/15/12 17:03:28 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/sbseparator.py
r2649 r2685 348 348 nx = max(1, numpy.ceil(mapx/self.dirtol[0])) 349 349 ny = max(1, numpy.ceil(mapy/self.dirtol[0])) 350 350 351 351 asaplog.push("Regrid output scantable with cell = [%s, %s]" % \ 352 352 (cellx, celly)) 353 353 gridder.defineImage(nx=nx, ny=ny, cellx=cellx, celly=celly) 354 gridder.setFunc(func='box', width=1)354 gridder.setFunc(func='box', convsupport=1) 355 355 gridder.setWeight(weightType='uniform') 356 356 gridder.grid() 357 357 return gridder.getResult() 358 359 358 360 359 @asaplog_post_dec … … 495 494 if byname: 496 495 stab = scantable(self.intables[itab],average=False) 497 self.intables.append(stab)498 496 else: 499 497 stab = self.intables[itab] … … 514 512 asaplog.push("table contains multiple beams. It may not be handled properly.") 515 513 asaplog.push("WARN") 516 514 517 515 for ifno in stab.getifnos(): 518 516 stab.set_selection(ifs=[ifno])
Note:
See TracChangeset
for help on using the changeset viewer.