Information
We are currently investigating an issue with the editor of some pages. Please save your work and avoid to create new pages until this banner is gone.
A CASA Python module to generate synthetic spectral cubes.
Originally created for a study of interferometric imaging with CASA by L. Cortese, R. Galvan-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 .
- the gensynthcube module
- 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".