get_format

astropy.units.format.get_format(format=None) [edit on github][source]

Get a formatter by name.

Parameters :

format : str or astropy.units.format.Base instance or subclass

The name of the format, or the format instance or subclass itself.

Returns :

format : astropy.units.format.Base instance

The requested formatter.

Page Contents