Пример #1
0
 def maps2uvfits(self):
     if self.vis_out is None:
         raise _InputError('visibility from visgen is not present',
                           self.maps2uvfits.__name__, self.name)
     else:
         print '# maps2uvfits: ' + self.name
         maps.maps2uvfits(self.vis_out, site=self.site, verbose=False)
         self.uvfits = self.name + '.uvfits'
         self.update_spec()
         self.append_log('# $> maps2uvfits({0})\n'
                         '# >>>> uvfits: {1}\n'
                         .format(self.vis_out, self.uvfits))