next up previous 222
Next: Running catgrid
Up: CURSA Catalogue and Table Manipulation Applications
Previous: Calculating the air mass


Binning columns in a catalogue into a grid

CURSA includes application catgrid for binning columns in a catalogue into a grid. One, two or three columns in a catalogue may be binned into, respectively, a histogram, two-dimensional `image' or data cube. The grid generated might be useful as an aid to visualising the data. It is saved as a file which can be displayed and manipulated with other Starlink software.

You specify the dimensionality required for the grid (one to three) and the names of the columns corresponding to each axis. A regularly-spaced grid is constructed spanning the entire range of the values occurring in the specified columns. The value of each element of the grid is set to the number of points which lie within it. Optionally the grid may be normalised by dividing by the total number of points in the catalogue.

The output file is written in the standard Starlink NDF data format (see SUN/33[33]). It can be displayed and manipulated using packages such as GAIA (see SUN/214[12]), KAPPA (see SUN/95[5]) and Figaro (see SUN/86[26]). Alternatively, the file can be imported into a visualisation package such DX (see SUN/203[3] and SC/2[8]). The latter option is likely to be particularly appropriate for data cubes. The CONVERT package (see SUN/55[6]) is available for converting an NDF format file into a number of other common formats, including FITS images and simple ASCII text files.


Subsections

next up previous 222
Next: Running catgrid
Up: CURSA Catalogue and Table Manipulation Applications
Previous: Calculating the air mass

CURSA Catalogue and Table Manipulation Applications
Starlink User Note 190
A.C. Davenhall
4th November 2001
E-mail:starlink@jiscmail.ac.uk

Copyright © 2001 Council for the Central Laboratory of the Research Councils