yt.frontends.fits.data_structures.FITSGrid.apply_units

FITSGrid.apply_units(arr, units)