read#

astropy.io.registry.read(cls, *args, format=None, cache=False, **kwargs)#

Read in data.

Parameters:
clsclass
*args

The arguments passed to this method depend on the format.

formatstr or None
cachebool

Whether to cache the results of reading in the data.

**kwargs

The arguments passed to this method depend on the format.

Returns:
object or None

The output of the registered reader.