casacore
Loading...
Searching...
No Matches
casacore

The casacore package contains the core libraries of the old AIPS++/CASA package. This split was made to get a better separation of core libraries and applications. CASA is now built on top of Casacore.

The system consists of a set of layered libraries (packages) which can be seen best on the Modules page.
Included is a library (using Boost-Python) to convert the basic Casacore types (e.g., Array, Record) to and from python. Build of this library is optional.
This library is used in the package python-casacore (previously pyrap) that offers a high level Python binding to the Casacore functionality. The documentation of the python-casacore packages can be found here.

The main features of Casacore are:

Casacore notes describe some parts of the system in more detail.

Casacore consists of the following subpackages:

casaCore modules: N-dim arrays, quanta, OS, IO, HDF5, JSON, logging, and various other useful classes.
scimathMathematical modules N-dim functionals, linear/non-linear fitting, and miscellaneous.
tablesDatabase-like tables with advanced query language (TaQL).
measuresQuantities with references frames and their persistency.
latticesMemory- or disk-based N-dim arrays (lattices) with masking, regions, expressions, and math.
fitsA C++ interface on top of cfitsio.
msThe data format for visibility data as described in the MeasurementSet definition.
derivedmscalDerived MeasurementSet quantities (like hourangle) that can be used as virtual table columns or as TaQL user defined functions.
measTaQL user defined functions to handle measures. It supports all conversions for epochs, positions, and directions.
msfitsMapping of MeasurementSets to/from FITS.
coordinatesCoordinates for astronomical images.
imagesN-dim images with masks, coordinates, and history.
pythonN-dim python converters for basic Casacore data types.

Detailed build instructions are given on the casacore pages. It makes it possible to build selective parts of casacore.
When using a specific casacore package, it is useful to know the package dependencies when linking a program. They are as follows:

casa
scimathcasa
tablescasa
measurestables scimath casa
latticestables scimath casa
fitsmeasures tables scimath casa cfitsio
msmeasures tables scimath casa
derivedmscalmeasures tables scimath casa
measmeasures tables scimath casa
msfitsms fits measures tables scimath casa cfitsio
coordinatesfits measures tables scimath casa wcslib cfitsio
imageslattices coordinates fits measures tables scimath casa mirlib wcslib cfitsio
pythoncasa boost-python python numpy

mirlib is distributed and built as part of Casacore. wcslib and cfitsio are external packages that have to be installed before building all of Casacore. Boost-Python is required when building libcasa_python.