Fits

class astropy.units.format.Fits(*args, **kwargs)[source]

Bases: Generic

The FITS standard unit format.

This supports the format defined in the Units section of the FITS Standard.

Attributes Summary

name

Methods Summary

parse(s[, debug])

Convert a string to a unit object.

to_string(unit)

Convert a unit object to a string.

Attributes Documentation

name = 'fits'

Methods Documentation

classmethod parse(s, debug=False)[source]

Convert a string to a unit object.

classmethod to_string(unit)[source]

Convert a unit object to a string.