|
|
CASA uses IPython with some pysh add-ons for its command line interface.
Use the links at the left for more information on Python or IPython.
Some basic features are:
An example session with CASA is as follows:
CASA [33]: im.setvp(True)
Thu Oct 27 17:00:10 2005 NORMAL Imager::setvp() (file /export/home/corsair-vml/jmcmulli/framework/code/synthesis/implement/MeasurementEquations/Imager.cc, line 1846):
Setting voltage pattern parameters
Thu Oct 27 17:00:10 2005 NORMAL Imager::setvp() (file /export/home/corsair-vml/jmcmulli/framework/code/synthesis/implement/MeasurementEquations/Imager.cc, line 1846):
Using system default voltage patterns for each telescope
Out[33]: True
CASA [34]: im.feather 'output.im','n4826_mom0.im','n4826_12mmom0.im'
Thu Oct 27 17:00:19 2005 NORMAL imager::feather():
Feathering together high and low resolution images.
Thu Oct 27 17:00:19 2005 WARN ImageRegrid::regrid(...) (file /export/home/corsair-vml/jmcmulli/framework/code/include/images/Images/ImageRegrid.cc, line 1959):
Cannot regrid axis 4 because it is of unit length - removing from list
Thu Oct 27 17:00:20 2005 NORMAL imager::feather():
Using primary beam to determine weighting.
Thu Oct 27 17:00:20 2005 NORMAL imager::feather():
Determining scaling from SD restoring beam.
Thu Oct 27 17:00:20 2005 NORMAL imager::feather():
Applying additional scaling for ratio of the volumes of the high to the low resolution images : 0.0153742.
---------> im.feather('output.im','n4826_mom0.im','n4826_12mmom0.im')
Out[34]: True
Example Error (the last line typically gives the needed user information):
CASA [27]: im.open('wrongname')
Thu Oct 27 16:55:23 2005 SEVERE :
Exception Reported: Table wrongname does not exist
Out[27]: False
|