yt.frontends.fits.data_structures.FITSGrid.clear_data

FITSGrid.clear_data()

Clear out the following things: child_mask, child_indices, all fields, all field parameters.