bl2fits writes the input coefficients into a FITS file containing an ascii table extension. Optional headers conforming to the FITS convention can also be written to the output file. All required FITS header keywords (like SIMPLE, BITPIX, ...) are automatically generated by the routine and should NOT be duplicated in the optional header inputs (they would be ignored anyway). The one/two/three column(s) are automatically named TEMPERATURE, GRAD, CURL respectively. If the window function is provided in a double precision array, the output format will automatically feature more decimal places.
beam1 = gaussbeam(10., 2000, 1) |
beam2 = gaussbeam(15., 2000, 1) |
beam = (beam1 + beam2) / 2. |
bl2fits, beam, 'beam.fits' |
bl2fits writes the beam window function stored in the variable beam (=Legendre transform of a circular beam) into the output FITS file beam.fits.
Version 3.82, 2022-07-28