ism3d.xyhelper.maskmoment.momfuncs.writemom

ism3d.xyhelper.maskmoment.momfuncs.writemom(imarray, filename='outfile', type='mom1', hdr=None)[source]

Write out a moment map as a FITS file.

Parameters
  • imarray (SpectralCube or ~numpy.ndarray) – The 2D array with the moment map values

  • filename (string) – The root of the file name

  • type (string) – A label for the filename extension

  • hdr (astropy.io.fits.Header) – The FITS header to write out