code: def to(self, unit):
          
          from astropy.units import rad
          return (self.radians * rad).to(unit)
  
          # Or should this do:
          from astropy.coordinates import Angle
          from astropy.units import rad
          return Angle(self.radians, rad).to(unit)
docs: Convert this angle to the given AstroPy unit.