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.

formatpython:str or python: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 python:None

The output of the registered reader.