Page tree

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

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 .


gensynthcube.py - the gensynthcube module

gensynthcube-test.py - 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".

zoocube.fits



  • No labels