NAME

Astro::NED::Query::CoordExtinct - query NED for coordinate transforms and Galactic extinction

SYNOPSIS

  use Astro::NED::Query::CoordExtinct;

  $req = Astro::NED::Query::CoordExtinct->new( Field => value, ... );

  $req->Field( $value );

  # for fields which take multiple values
  $req->Field( $value1 => $state );
  $req->Field( $value2 => $state );

  # perform the query and get an Astro::NED::Response::CoordExtinct object
  $obj = $req->query;

DESCRIPTION

This class queries NED using the "Coordinate Transformation & Galactic Extinction Calculator" interface. It is a subclass of Astro::NED::Query, and thus shares all of its methods.

Class specific details are provided here. See Astro::NED::Query for general information on the class methods (including those not documented here) and how to set or get the search parameters.

Methods

new
  $req = Astro::NED::Query::CoordExtinct->new( keyword1 => $value1,
                                   keyword2 => $value2, ... );

Queries are constructed using the new method, which is passed a list of keyword and value pairs. The keywords may be the names of single valued query parameters.

Search parameters may also be set or queried using the accessor methods; see Astro::NED::Query.

query
  $res = $req->query;

The query method returns an instance of the Astro::NED::Response::CoordExtract class. See Astro::NED::Response::CoordExtract for more info.

If an error ocurred an exception is thrown via croak.

Search Parameters

Please note that for fields which take specific enumerated values, the values are often not those which are displayed by a web browser. It's best to initially use the possible_values method to determine acceptable values. Usually it's pretty obvious what they correspond to.

The class accessor methods have the same names as the search parameters. See Astro::NED::Query on how to use them.

InCoordSys

The input coordinate system. Use the possible_values method to determine which ones are available.

OutCoordSys

The output coordinate system. Use the possible_values method to determine which ones are available.

InEquinox

The input coordinate system equinox.

OutEquinox

The output coordinate system equinox.

Longitude

The input longitude, if appropriate to the input coordinate system.

Latitude

The input latitude, if appropriate to the input coordinate system.

RA

The input right ascension, if appropriate to the input coordinate system.

Dec

The input declination, if appropriate to the input coordinate system.

PA

The input position angle.

EXPORT

None by default.

AUTHOR

Diab Jerius, <djerius@cpan.org>

COPYRIGHT AND LICENSE

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

   http://www.fsf.org/copyleft/gpl.html

SEE ALSO

Astro::NED::Query, Astro::NED::Response::Objects, Astro::NED::Response::Object, perl.