yt.units.yt_array.YTQuantity.to_astropy

YTQuantity.to_astropy(**kwargs)

Creates a new AstroPy quantity with the same unit information.