Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save daniestevez/2096640d251d4dd59a75774a061367d4 to your computer and use it in GitHub Desktop.
Save daniestevez/2096640d251d4dd59a75774a061367d4 to your computer and use it in GitHub Desktop.
Join all observations in CASA
tb.open('observation.ms', nomodify=False)
a = tb.getcol('OBSERVATION_ID')
a[:] = 0
tb.putcol('OBSERVATION_ID', a)
tb.close()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment