yt.data_objects.image_array.ImageArray.in_units

ImageArray.in_units(units)

Creates a copy of this array with the data in the supplied units, and returns it.

Parameters:

units : Unit object or string

The units you want to get a new quantity in.

Returns:

YTArray :