craftutils.wrap.dragons.Table.Column.to(unit, equivalencies=[], **kwargs)

Converts this table column to a ~astropy.units.Quantity object with the requested units.

Parameters

unitunit-like

The unit to convert to (i.e., a valid argument to the astropy.units.Quantity.to() method).

equivalencieslist of tuple

Equivalencies to use for this conversion. See astropy.units.Quantity.to() for more details.

Returns

quantity~astropy.units.Quantity

A quantity object with the contents of this column in the units unit.