is_votable

astropy.io.votable.table.is_votable(source) [edit on github][source]

Reads the header of a file to determine if it is a VOTable file.

Parameters :

source : str or readable file-like object

Path or file object containing a VOTABLE xml file.

Returns :

is_votable : bool

Returns True if the given file is a VOTable file.

Page Contents