Linspace.to (function) def to(self, unit) Convert between units. Returns a new nparray object with the new units. Arguments unit (astropy unit or string): new units Returns nparray object of the same class as the original