frb.surveys.twomass
Slurp data from 2MASS catalog.
-
class frb.surveys.twomass.TwoMASS_Survey(coord, radius, **kwargs)[source]
Bases: SurveyCoord
A class to access all the catalogs hosted on the
IRSA database. Inherits from SurveyCoord. This
is a super class not meant for use by itself and
instead meant to instantiate specific children
classes like TwoMASS_Survey
-
__init__(coord, radius, **kwargs)[source]
-
get_catalog(query_fields=None)[source]
Query a catalog in the IRSA 2MASS survey for
photometry.
- Args:
query_fields – list, optional
A list of query fields to
get in addition to the
default fields.
- Returns:
- astropy.table.Table
Contains all query results
- Return type:
catalog
-
convert_to_AB()[source]
Convert from 2MASS internal to AB magnitudes in the catalog.