write

sunpy.io.fits.write(fname, data, header, hdu_type=None, **kwargs)[source] [edit on github]

Take a data header pair and write a FITS file.

Parameters