Skip to content

Starlink/perl-Starlink-AST

Repository files navigation

Starlink::AST - Perl interface to Starlink's AST library
========================================================

This module provides a Perl interface to Starlink's AST library
and 3 pluggable graphics backends that can be used in conjunction
with the AST library.

The AST library provides:

  - generic approach to attaching coordinate frames to data sets

     + if you have an array representing a spectrum in wavelength
       and another array that represents frequency, AST can resample
       one array to the other coordinate frame and allow you to add them
       together. This will work for any coordinate system so long as
       AST understands how to form the mapping. (many mappings
       are provided by default).

  - A generic plotting interface whereby you can

     + Have pluggable backends for the plotting system (currently
       PGPLOT, PLplot and Tk (or Tk::Zinc) canvas)

     + The ability to draw annotations, great circles and marks
       in a coordinate frame most useful to you (eg sky coordinate,
       a wavelength) and have AST map that directly to the underlying
       graphics coordinate system.

REQUIREMENTS
------------

The module comes with the source code so no external libraries are
required. For more information on AST see:

  http://www.starlink.ac.uk/ast

INSTALLATION
------------

  % perl Build.PL
  % ./Build
  % ./Build test
  % ./Build install

NOTES
-----

The Tk canvas interface does work with limitations.
This is an early proof of concept release (although 95% of AST
is supported and the PGPLOT and PLplot interfaces do work).

AUTHOR
------

Tim Jenness <[email protected]> with some help from Alasdair Allan
(especially the PGPLOT and Tk plotting backends) and Brad Cavanagh.

Copyright (C) 2004-2012,2014 Tim Jenness. All Rights Reserved.

This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any later
version.

This program is distributed in the hope that it will be useful,but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
Place,Suite 330, Boston, MA  02111-1307, USA