GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  ASTRO::SIMBAD::RESULT::OBJECT (3)

.ds Aq ’

NAME

Astro::SIMBAD::Result::Object - A individual astronomical object

CONTENTS

SYNOPSIS



  $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 );



DESCRIPTION

Stores meta-data about an individual astronomical object in the Astro::SIMBAD::Result object returned by an Astro::SIMBAD::Query object.

REVISION

$Id: Object.pm,v 1.3 2005/06/08 01:38:17 aa Exp $

METHODS

    Constructor

<B>newB> Create a new instance from a hash of options



  $paper = new Astro::SIMBAD::Result::Object(  );



returns a reference to an SIMBAD astronomical object.

    Accessor Methods

<B>nameB> Return (or set) the name of the object



   $name = $object->name();
   $object->name( $name );



Query types: list, object

<B>targetB> Return (or set) the target name of the object. Available whenever a target is specified in the query. The returned value is identical to the query parameter, except that it is normalized (spaces replaced with ’+’ characters). This is useful because 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

<B>typeB> Return (or set) the (short) type of the object



   $type = $object->type();
   $object->type( $type );



Query types: list

<B>longB> Return (or set) the (long) type of the object



   $long_type = $object->long();
   $object->long( $long_type );



Query types: list, object

<B>frameB> Return (or set) the system the R.A. and DEC stored in the object are defined in, e.g. Co-ordinate Frame FK5, Epoch 1950 and Equinox 2000



   @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

<B>raB> Return (or set) the R.A. of the object



   $ra = $object->ra();
   $object->ra( $ra );



Query types: list, object

<B>decB> Return (or set) the Declination of the object



   $dec = $object->dec();
   $object->dec( $dec );



Query types: list, object

<B>specB> Return (or set) the Spectral Type of the object



   $spec_type = $object->spec();
   $object->spec( $spec_type );



Query types: list, object

<B>urlB> Return (or set) the followup URL for the object where more information can be found via SIMBAD, including pointers to reduced data.



   $url = $object->url();
   $object->url( $url );



<B>bmagB> Return (or set) the B-magnitude of the object



   $bmag = $object->bmag();
   $object->bmag( $bmag );



Query types: list, object

<B>vmagB> Return (or set) the V-magnitude of the object



   $vmag = $object->vmag();
   $object->vmag( $vmag );



Query types: list, object

<B>identB> Return (or append) the array of object identifiers



   @ident = $object->ident();
   $object->ident( @ident );



Query types: object

<B>pmB> Return (or set) the proper motion of the object in mas/year



   @pm = $object->pm();
   $object->pm( @pm );



Query types: object

<B>plxB> Return (or set) the parallax of the object



   $plx = $object->plx();
   $object->plx( $plx );



Query types: object

<B>radialB> Return (or set) the radial velocity (km/s) of the object



   $radial = $object->radial();
   $object->radial( $radial );



Query types: object

<B>redshiftB> Return (or set) the redshift of the object



   $redshift = $object->redshift();
   $object->redshift( $redshift );



Query types: object

    General Methods

<B>configureB> Configures the object from multiple pieces of information.



  $object->configure( %options );



Takes a hash as argument with the following keywords:

COPYRIGHT

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.

AUTHORS

Alasdair Allan <aa@astro.ex.ac.uk>,
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 OBJECT (3) 2005-06-08

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.