Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
A CASA Python scriptmodule to generate synthetic spectral cubes.
Originally created for a study of interferometric imaging with CASA by L. Cortese, R. Galv ́anGalvan-Madrid, P. Klaassen, S. Longmore, and D. Petry in 2012.
Updated for use with CASA 6 by D. Petry in 2021.

The module gensynthcube enables you to combine various geometric spatial shapes with different spectral shapes and place them into a synthetic image cube as it is needed to created simulated ALMA datasets.

The design of the cube properties is done by filling in a number of Python dictionaries as demonstrated in the script gensynthcube-test.py .


View file
namegensynthcube.py
height250
- the gensynthcube module

View file
namegensynthcube-test.py
height250
- demo script

Demo script usage (run in CASA 6):

sys.path.append(<directory where you placed gensynthcube.py>)
execfile('gensynthcube-test.py')

Will create the images "zoocube.im" and "zoocube.fits".

View file
namezoocube.fits
height250

Image Added