yt.data_objects.image_array.ImageArray.to_astropy

ImageArray.to_astropy(**kwargs)

Creates a new AstroPy quantity with the same unit information.