|
Astro::SIMBAD::Result::Object - A individual astronomical object |
Astro::SIMBAD::Result::Object - A individual astronomical object
$object = new Astro::SIMBAD::Result::Object( Name => $object_name,
Type => $object_type,
Long => $long_type,
Frame => \@coord_frame,
RA => $ra,
Dec => $declination,
Spec => $spectral_type,
URL => $url );
Stores meta-data about an individual astronomical object in the Astro::SIMBAD::Result object returned by an Astro::SIMBAD::Query object.
$Id: Object.pm,v 1.3 2005/06/08 01:38:17 aa Exp $
$paper = new Astro::SIMBAD::Result::Object( );
returns a reference to an SIMBAD astronomical object.
$name = $object->name(); $object->name( $name );
Query types: list, object
name() may return a different designation than the
target that is supplied as a query parameter.
$target = $object->target(); $object->target( $target );
Query types: list, object
$type = $object->type(); $object->type( $type );
Query types: list
$long_type = $object->long(); $object->long( $long_type );
Query types: list, object
@system = $object->frame(); $object->frame( \@system );
where @system would be [ ``FK5'', 1950.0, 2000.0 ]. If called in a scalar context will return a string of the form ``FK5 1950/2000'' to
Query types: list, object
$ra = $object->ra(); $object->ra( $ra );
Query types: list, object
$dec = $object->dec(); $object->dec( $dec );
Query types: list, object
$spec_type = $object->spec(); $object->spec( $spec_type );
Query types: list, object
$url = $object->url(); $object->url( $url );
$bmag = $object->bmag(); $object->bmag( $bmag );
Query types: list, object
$vmag = $object->vmag(); $object->vmag( $vmag );
Query types: list, object
@ident = $object->ident(); $object->ident( @ident );
Query types: object
@pm = $object->pm(); $object->pm( @pm );
Query types: object
$plx = $object->plx(); $object->plx( $plx );
Query types: object
$radial = $object->radial(); $object->radial( $radial );
Query types: object
$redshift = $object->redshift(); $object->redshift( $redshift );
Query types: object
$object->configure( %options );
Takes a hash as argument with the following keywords:
Copyright (C) 2001 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::SIMBAD::Result::Object - A individual astronomical object |