Commits
Ville Suoranta authored e31ecc968d2 Merge
440 440 | nchan=-1, start=0, step=1, |
441 441 | baseline=selection_ids['baseline'], |
442 442 | scan=selection_ids['scan'], |
443 443 | intent=selection_ids['intent']) |
444 444 | # need to do this |
445 445 | self.is_imager_opened = True |
446 446 | |
447 447 | # it should be called after infiles are registered to imager |
448 448 | self._configure_map_property() |
449 449 | |
450 - | print '-----------------------------------------------------------' |
451 - | print 'imager_param = ' |
452 - | print self.imager_param |
453 - | print '-----------------------------------------------------------' |
454 450 | casalog.post("Using phasecenter \"%s\""%(self.imager_param['phasecenter']), "INFO") |
455 451 | |
456 452 | self.imager.defineimage(**self.imager_param)#self.__get_param()) |
457 453 | self.imager.setoptions(ftmachine='sd', gridfunction=self.gridfunction) |
458 454 | self.imager.setsdoptions(pointingcolumntouse=self.pointingcolumn, convsupport=self.convsupport, truncate=self.truncate, gwidth=self.gwidth, jwidth=self.jwidth, minweight = 0., clipminmax=self.clipminmax) |
459 455 | self.imager.makeimage(type='singledish', image=self.outfile) |
460 456 | weightfile = self.outfile+".weight" |
461 457 | self.imager.makeimage(type='coverage', image=weightfile) |
462 458 | self.close_imager() |
463 459 | |