TOPCAT

Tool for OPerations on Catalogues And Tables

Does what you want with tables


Latest (see Version History)

Version 3.5-1 released 21 December 2009
New: PDF output
Plots can now output to PDF format as well as EPS, GIF, JPEG etc.
New: Further performance enhancements
Better memory management, faster multi-table loads, faster registry searches
Version 3.5 released 6 November 2009
new buttons at v3.5
New: Multi-table load
Multi-extension FITS files and multi-TABLE VOTable files now have all their tables loaded, not just the first one.
New: Cone, SIA, SSA improvements
The Cone Search, and Simple Image and Spectral Access load windows have many improvements.
New: Multi-Cone, -SIA and -SSA windows
New windows let you do multiple (per-row) Cone, SIA and SSA queries.
New: VizieR load dialogue
New window to load catalogue data direct from remote VizieR service.
New: Memory management improvements
-disk flag less often required for large tables.


* What is TOPCAT?

TOPCAT is an interactive graphical viewer and editor for tabular data. Its aim is to provide most of the facilities that astronomers need for analysis and manipulation of source catalogues and other tables, though it can be used for non-astronomical data as well. It understands a number of different astronomically important formats (including FITS and VOTable) and more formats can be added.

It offers a variety of ways to view and analyse tables, including a browser for the cell data themselves, viewers for information about table and column metadata, and facilities for 1-, 2-, 3- and higher-dimensional visualisation, calculating statistics and joining tables using flexible matching algorithms. Using a powerful and extensible Java-based expression language new columns can be defined and row subsets selected for separate analysis. Table data and metadata can be edited and the resulting modified table can be written out in a wide range of output formats.

It is a stand-alone application which works quite happily with no network connection. However, because it uses Virtual Observatory (VO) standards, it can cooperate smoothly with other tools in the VO world and beyond, such as VODesktop, Aladin and ds9. Between 2006 and 2009 TOPCAT was developed within the AstroGrid project, and is offered as part of a standard suite of applications on the AstroGrid web site, where you can find information on several other VO tools.

The program is written in pure Java and available under the GNU General Public Licence. It was initially developed within the now-terminated Starlink project in the UK, and was more recently developed and supported by its author as part of the AstroGrid project. Its underlying table processing facilities are provided by STIL.


* Features

The following is a list of the program's main capabilities. The hyperlinks are to the relevant parts of the user document.

Supported table input formats include:

and supported output formats include:


* Documentation

Full tutorial and reference documentation for TOPCAT is provided by SUN/253, the user document. This is available within the program at runtime via the context-sensitive help system, or in the following forms within the distribution or on the web:


* Frequently Asked Questions

A list of frequently asked questions is available. If you want to suggest additional questions and/or answers, please get in touch.


* Screenshots

You can see screenshots of TOPCAT in action in the following places:


* Obtaining TOPCAT

TOPCAT is written in the Java language using the Java 2 Standard Edition version 1.4 and should run on any J2SE 1.4, 1.5 or 1.6 system. This means it can be run on a wide range of platforms, without requiring any recompilation - you just need to ensure that you have a suitable Java Runtime Environment (JRE). If you don't have Java installed, or have an unsuitable version, you can obtain it for Linux, Solaris and MS Windows from Sun's web site (you only need the "JRE" rather than the "SDK" download, unless you will be doing development work). J2SE Runtime Enviroments (sometimes called JVM or Java Virtual Machines) for other platforms may be available from operating system vendors; in particular TOPCAT is known to run (though not currently exhaustively tested) on MacOS X (see here).

Note Various open-source java implementations (GNU's gij, OpenJDK-based implementations) tend not to work well at time of writing - these are sometimes bundled with Linux distributions. If you have one of these (try java -version to find out), you are advised to get the Sun implementation instead.

Having got Java, There are several ways to download TOPCAT, described in rough order of advisability in the following subsections. More information on how to run the program having obtained it can be found in SUN/253's section on Invoking TOPCAT.

Standalone Jar File

The most convenient form for downloading is to pick up a single Jar file containing the required classes:

(Note: if you try to download these directly your browser may say something about a failed security check. Make sure that you save it to a file, for instance by using shift-click in Netscape).

On Unix-like operating systems, download one or other of these jar files and the startup script topcat into the same directory chmod +x topcat, and you can just run the command:

   topcat
On non-Unix systems the script won't work, and you can use a command like:
   java -jar topcat-*.jar
or invoke it in some other system-dependent way such as by clicking on it.

For many users, topcat-lite will provide all the features they need. The optional extras provided by topcat-full include:

Even topcat-full lacks a few of the niche features (proper coordinate handling in SoG, NDF viewing in hierachy view), since these require native libraries; for these you will need the Full Starjava installation described below.

WebStart

WebStart is a Java technology which enables one-click download, installation, updating and invocation of Java applications over the web. If you have Java's WebStart installed, you can install and invoke TOPCAT in one click from one of the following links:

The first of these can be used for your own data, but will prompt for confirmation with a dire warning that you are running untrusted code (it's OK - trust me!). The second is just a demo with some example tables to play with that will run in a restricted environment, so it can't load or save tables. It also does not permit use of user-defined algebraic expressions to create synthetic columns or subsets; there may be other restrictions too. See the comments in the previous item for the difference between topcat-lite and topcat-full.

Full Starjava Installation

If you want the most comprehensive installation then download and unpack the full starjava tree in one of the following forms:

These archives include related applications such as SPLAT, SoG and Treeview. You can run TOPCAT using the starjava/bin/topcat script (Unix) or by running java -jar starjava/lib/topcat/topcat.jar.

MacOS X

If you have a Macintosh, you can pick up the following for easy installation:

topcat-full.dmg (20.4M)


* Version History

The most recent public release of TOPCAT is version 3.5-1, released 21 December 2009.

For a detailed history of the changes in this and previous releases, see the

Full Version History
section of SUN/253.


Further Information

STILTS
TOPCAT's sister package is STILTS, the STIL Tool Set. STILTS offers many of the same facilities as TOPCAT (and some additional ones) in the form of command-line tools.
Other Resources relating to the code
External items

TOPCAT is currently (2010) under active, though intermittent, development, and I'm very open to user feedback. Any comments, questions, requests, bugs, job offers etc, please contact me: