- COPYRIGHT AND LICENSE
- SEE ALSO
Astro::NED::Response::CoordExtinct - query results for a coordinates and extinction
use Astro::NED::Response::CoordExtinct; # create and initialize object $obj = Astro::NED::Response::CoordExtinct->new( Field => $value, ... ); print $obj->Field; # initialize existing object from an HTML response $obj->parseHTML( $html );
An instance of Astro::NED::Response::CoordExtinct contains information returned by queries generated by Astro::NED::Query::CoordExtinct.
For complete information on the available fields, see http://nedwww.ipac.caltech.edu/help/calc_help.html.
The constructor, new, takes a list of field, value pairs with which to initialize the object. See Fields for more information.
$obj->dump( $fh );
Print a representation of the object to the passed filehandle. If no filehandle is specified, it is printed to the standard output stream.
@fields = $obj->fields; @fields = Astro::NED::Response::CoordExtinct->fields;
This is either a class or an object method. As an object method, it returns a list of fields which had values in the object. As a class method, it returns a list of all possible fields.
%data = $obj->data;
This returns the object's data as a hash, keyed off of the field names. Use the accessor methods if possible.
$obj->parseHTML( $html );
Initializes the object from the passed HTML content. This is typically invoked only by Astro::NED::Query::CoordExtinct.
Acesss to the data is via accessor methods named after the fields returned by NED (e.g.
$obj->RA). They take no arguments and return the field values. Data can also be extracted into a hash via the data method.
The following fields are defined.
The latitude of the object in degrees, if the output coordinate system is in latitude/longitude.
The longitude of the object in degrees, if the output coordinate system is in latitude/longitude.
The Right Ascension of the object in degrees, if the output coordinate system is equatorial.
The Declination of the object in degrees, if the output coordinate system is equatorial.
The position angle of the object in degrees, in the output coordinate system,
- U, B, V, R, I, J, H, K, L'
The extinction in the given bandpass.
The E(B-V) color excess.
None by default.
Diab Jerius, <email@example.com>
This software is Copyright (C) 2004 Smithsonian Astrophysical Observatory. All rights are of course reserved.
It is released under the GNU General Public License. You may find a copy at