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 |
---|
name | gensynthcube.py |
---|
height | 250 |
---|
|
- the gensynthcube module View file |
---|
name | gensynthcube-test.py |
---|
height | 250 |
---|
|
- demo scriptDemo 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 |
---|
name | zoocube.fits |
---|
height | 250 |
---|
|
Image Added