Astroquery utils (astroquery.utils)

Reference/API

astroquery.utils Package

Common non-package specific utility functions that will ultimately be merged into astropy.utils.

Functions

async_to_sync(cls)

Convert all query_x_async methods to query_x methods

chunk_read(response[, chunk_size, report_hook])

chunk_report(bytes_so_far, chunk_size, ...)

download_list_of_fitsfiles(linklist[, ...])

Deprecated since version 0.4.5.

parse_coordinates(coordinates)

Takes a string or astropy.coordinates object.

prepend_docstr_nosections(doc[, sections])

Decorator to prepend to the function's docstr after stripping out the list of sections provided (by default "Returns" only).

send_request(url, data, timeout[, ...])

Deprecated since version 0.4.4.

suppress_vo_warnings()

Suppresses all warnings of the class astropy.io.votable.exceptions.VOWarning.

validate_email(email)

E-mail address validation.

Classes

TableList(inp)

A class that inherits from list but included some pretty printing methods for an OrderedDict of astropy.table.Table objects.

class_or_instance(fn)

astroquery.utils.timer Module

General purpose timer related functions.

Functions

timefunc([num_tries, verbose])

Decorator to time a function or method.

Classes

RunTimePredictor(func, *args, **kwargs)

Class to predict run time.

TAP/TAP+

Table Access Protocol implementation. See TAP/TAP+ (astroquery.utils.tap)