def write_frame(data, header, path):
"""
This function ...
:param data:
:param header:
:return:
"""
# Create the HDU
hdu = fits.PrimaryHDU(data, header)
# Write the HDU to a FITS file
hdu.writeto(path, clobber=True)
# -----------------------------------------------------------------
评论列表
文章目录