Skip to content

Latest commit

 

History

History
21 lines (11 loc) · 286 Bytes

Linspace.to.md

File metadata and controls

21 lines (11 loc) · 286 Bytes

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