Examples

Average the spectra over all the beams:

nrobeamaverage(infile='sd_data.ms', outfile='sd_data_bave.ms')

Average the spectra over the selected beam IDs:

nrobeamaverage(infile='sd_data.ms', outfile='sd_data_bave.ms', beam='1,3')

You can apply time-averaging at the same time:

nrobeamaverage(infile='sd_data.ms', outfile='sd_data_bave.ms', timebin='3600s')