write

astropy.io.registry.write(data, *args, format=None, **kwargs)

Write out data.

Parameters
dataobject

The data to write.

*args

The arguments passed to this method depend on the format.

formatstr or None
**kwargs

The arguments passed to this method depend on the format.

Returns
object or None

The output of the registered writer. Most often None.

New in version 4.3.