Author image Graham Bell
and 3 contributors


Astro::Catalog::Query::2MASS - A query request to the 2MASS Catalog


  $gsc = new Astro::Catalog::Query::2MASS( RA        => $ra,
                                         Dec       => $dec,
                                         Radius    => $radius,
                                         Nout      => $number_out );

  my $catalog = $gsc->querydb();


This code should be superceeded by the generic Vizier query class.


The module is an object orientated interface to the online 2MASS.

Stores information about an prospective query and allows the query to be made, returning an Astro::Catalog::Query::2MASS object.

The object will by default pick up the proxy information from the HTTP_PROXY and NO_PROXY environment variables, see the LWP::UserAgent documentation for details.

See Astro::Catalog::BaseQuery for the catalog-independent methods.


Copyright (C) 2001 University of Exeter. All Rights Reserved. Some modifications copyright (C) 2003 Particle Physics and Astronomy Research Council. 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 <>, Tim Jenness <>