docs: def writeto(self, filename, **kwargs):
          """
          Write the header to a fits file.
          :param filename:
          :return:
          """
          fits.PrimaryHDU(header=self).writeto(filename, output_verify='ignore', **kwargs)