|
Astro::Aladin::LowLevel - Perl class designed to drive CDS Aladin Application |
Astro::Aladin::LowLevel - Perl class designed to drive CDS Aladin Application
my $aladin = new Astro::Aladin::LowLevel( );
Drives the CDS Aladin Application through a anonymous pipe, expects the a copy of the standalone Aladin application to be installed locally and pointed to by the ALADIN_JAR environment variable.
$Id: LowLevel.pm,v 1.2 2003/02/24 22:45:56 aa Exp $
$aladin = new Astro::Aladin::LowLevel( );
returns a reference to an Aladin object.
$aladin->close();
it should be noted that if you DON'T do this after finishing with the object you're going to have zombie Java VM hanging around eating up all your CPU. This is amougst the many reasons why you should use Astro::Aladin rather than Astro::Aladin::LowLevel to drive the Aladin Application.
my $status = $aladin->reopen()
returns undef if the pipe if defined and (presumably) already active.
$aladin->status()
$aladin->sync()
$aladin->sync( $plane_number, $filename )
$aladin->get( $server, \@args, $object, $radius ); $aladin->get( $server, $object );
For example
$aladin->get( "aladin", ["DSS1"], $object_name, $radius ); $aladin->get( "aladin", ["DSS1", "LOW"], $object_name, $radius ); $aladin->get( "aladin", [""], $object_name, $radius );
the radius arguement can be omitted
$aladin->get( "aladin", ["DSS1"], $object_name );
or even more simply
$aladin->get( "simbad", $object_name );
always remember to sync after a series of request, or you might end up closing Aladin before its actually finished download the layers.
$aladin->configure( );
Copyright (C) 2003 University of Exeter. All Rights Reserved.
This program was written as part of the eSTAR project and is free software; you can redistribute it and/or modify it under the terms of the GNU Public License.
Alasdair Allan <aa@astro.ex.ac.uk>,
|
Astro::Aladin::LowLevel - Perl class designed to drive CDS Aladin Application |