Astro::SkyCat - Interface to the ESO SkyCat library


Astro-SkyCat documentation Contained in the Astro-SkyCat distribution.

Index


Code Index:

NAME

Top

Astro::SkyCat - Interface to the ESO SkyCat library

SYNOPSIS

Top



  use Astro::SkyCat;

  $cat = Astro::SkyCat->Open("gsc\@eso");

  $q = new Astro::SkyCat::Query();
  $q->width(2.0);
  $q->height(3.5);

  $pos = new Astro::SkyCat::WorldCoords(3,19,48,41,30,39);
  $q->pos( $pos );

  $qr = new Astro::SkyCat::QueryResult();
  $nrows = $cat->query($q, "/tmp/file", $qr);

  foreach ($cat->colNames() ) {
    print "Column: $_  Value: ", $qr->get(1,$_), "\n";
  }







DESCRIPTION

Top

This module provides a perl interface to the ESO SkyCat library. The library can be used to retrieve catalogues and astronomical images.

ROUTINES

Top

AUTHORS

Top

Tim Jenness <t.jenness@jach.hawaii.edu>

COPYRIGHT

Top


Astro-SkyCat documentation Contained in the Astro-SkyCat distribution.
package Astro::SkyCat;


require Exporter;
require DynaLoader;

use strict;
use Carp;
use vars qw(@ISA $VERSION );

@ISA = qw/ DynaLoader /;
$VERSION = "0.01";

bootstrap Astro::SkyCat;

package Astro::SkyCat::WorldOrImageCoords;

sub __x {}

package Astro::SkyCat::WorldCoords;

use base qw/ Astro::SkyCat::WorldOrImageCoords /;


1;