Welcome to the Kapteyn Package!
The Kapteyn Package is a collection of Python modules and applications
developed by the computer group of the
Institute, University of Groningen, The Netherlands.
The purpose of the package is to provide tools
for the development of astronomical applications with Python.
The package is suitable for both inexperienced and experienced users
and developers and documentation is provided for both groups.
The documentation also provides in-depth chapters about
and non-linear least squares
The package's most important features:
- The handling of spatial and spectral coordinates,
WCS projections and transformations between different sky systems.
Spectral translations (e.g., between frequencies and velocities) are
supported and also mixed coordinates. (Modules
Module wcs uses Mark Calabretta's WCSLIB.)
- Versatile tools for writing small and dedicated applications for the
inspection of FITS headers, the extraction and display of (FITS) data,
interactive inspection of this data (color editing) and for the creation
of plots with world coordinate information. See the examples in the
and the plots in the
of all-sky plots.
- A class for the efficient reading, writing and
manipulating simple table-like structures in text files.
- Utilities for use with matplotlib such as
obtaining coordinate information from plots, interactively modifiable
colormaps and timer events
(module mplutil); tools for parsing and
interpreting coordinate information entered by the user (module
- A function to search for gaussian components in a profile
(module profiles) and
a class for non-linear least squares fitting
for a complete overview
all functions, classes, terms
search the documentation
this documentation in PDF format
example plots with source code
all-sky plots with source code
all examples in one file
Tutorial wcs module
Tutorial maputils module
Least squares fitting with kmpfit
Tutorial tabarray module
Background module celestial
Background spectral translations
Get the Kapteyn Package
Kapteyn Package is available for download as a
(tar.gz file. Also available as
For installation instructions see the
Introduction chapter or the
file INSTALL.txt in the distribution.
There is also an archive of older versions
of the package.
An experimental installer for Microsoft Windows (together with other
packages that the Kapteyn Package depends on) can be found in
this directory. Only for Python 2.6
on 32-bit systems.