CASA Tips

A bash function for compiling simple programs that use casacore

Rob Reid

2009-07-15

# This is for compiling a simple program which depends on casacore but is not
# part of it: make_casacore_app your_program.cc
make_casacore_app() {
    declare -a includes
    declare -a libs
    for i in images casa fits components coordinates lattices measures ms \
        msfits scimath tables; do
        includes+="-I$CASAROOT/casacore/$i"
        libs+="-lcasa_$i"
    done
    g++ ${includes[@]} -I. -I/usr/include/cfitsio -o ${1:r} $1 \
        -L$CASAARCH/lib ${libs[@]} -lcasa_measures_f -lcasa_scimath_f \
        -lcfitsio -lcasa_mirlib -lwcs -llapack -lblas -lcfitsio -ldl
}

A better white-on-dark color scheme

Rob Reid

2009-01-09

CASA Version 2.3.1 (build #6820)

colors Linux

It's a bit garish, but it displays ?'s output better than the default casapy color scheme if you like white text on a dark background.

A sample ipython customization file

Rob Reid

2009-01-09

CASA Version 2.3.1 (build #6820)

Edit, and then save as ipy_user_conf.py in ~/.ipython/ and/or ~/.ipython_casa/. Notes:

Get CASA's version number

Wes Young, via Shannon Jaeger

2009-01-07

CASA Version 2.4.0 (build #6871)

casalog.version()

SimulatorCookbook

Various

Ongoing

The almasimmos wiki.

Running 3rd party python stuff in CASA

Rob Reid

2008-10-22

A wiki page that needs to be split up, but it discusses import, reload, sys.path, and pychecker.

Simulating Observations

Rob Reid

2007-12-07

An old almasimmos page.


Rob Reid, rreid shift-2 nrao period education without the positive ion

Last modified: Wed Jul 15 15:52:14 EDT 2009