code: def genms(self, scans=[]):
          
  
          if len(scans):
              scanstr = string.join([str(ss) for ss in sorted(scans)], ',')
          else:
              scanstr = self.allstr
  
          print 'Splitting out all cal scans (%s) with 1s int time' % scanstr
          newname = ps.sdm2ms(self.sdmfile, self.sdmfile.rstrip('/')+'.ms', scanstr, inttime='1')   # integrate down to 1s during split
  
          return newname
docs: Generate an MS that contains all calibrator scans with 1 s integration time.