QuantityInfo#
- class astropy.units.QuantityInfo(bound=False)[source]#
Bases:
QuantityInfoBase
Container for meta information like name, description, format. This is required when the object is used as a mixin column within a table, but can be used as a general way to store meta information.
Methods Summary
Return a list of arrays which can be lexically sorted to represent the order of the parent column.
new_like
(cols, length[, metadata_conflicts, ...])Return a new Quantity instance which is consistent with the input
cols
and haslength
rows.Methods Documentation
- get_sortable_arrays()[source]#
Return a list of arrays which can be lexically sorted to represent the order of the parent column.
For Quantity this is just the quantity itself.