yt.data_objects.image_array.ImageArray.unit_array

ImageArray.unit_array

Get a YTArray filled with ones with the same unit and shape as this array