- class astropy.units.SpecificTypeQuantity(value, unit=None, dtype=<class 'numpy.inexact'>, copy=True, order=None, subok=False, ndmin=0)[source]¶
Superclass for Quantities of specific physical type.
Subclasses of these work just like
Quantity, except that they are for specific physical types (and may have methods that are only appropriate for that type). Astropy examples are
At a minimum, subclasses should set
_equivalent_unitto the unit associated with the physical type.