yt.frontends.fits.data_structures.FITSGrid.write_out

FITSGrid.write_out(filename, fields=None, format='%0.16e')