run_simbad_query#

skysim.query.run_simbad_query(query_type, extra_columns=(), **kwargs)[source]#

Query SIMBAD with either a region or TAP request.

Parameters:
query_typestr

“region” or “tap” - the type of request to send.

extra_columnscollections.abc.Collection[str], default ()

Extra columns to add to SIMBAD outputs. Only valid for “region” query type.

**kwargscollections.abc.Mapping

Unpacked and passed to the query function.

Returns:
astropy.table.QTable

Simbad result.

Raises:
ValueError

Raised if query_type is not “region” or “tap”.