Function Name: fits_write_image Description: Writes an image and a header to a FITS file. Usage: fits_write_image(FILENAME, IMAGE); fits_write_image(FILENAME, IMAGE, HEADER); Arguments: FILENAME: A character array representing the filename. IMAGE: An image array representing the filename. HEADER: Optional. A structure array containing keywords to be modified. Returns: Nothing. Type 'mfitsio_license' to display the MFITSIO licensing agreement.
0001 % Function Name: 0002 % fits_write_image 0003 % 0004 % Description: Writes an image and a header to a FITS file. 0005 % 0006 % Usage: 0007 % fits_write_image(FILENAME, IMAGE); 0008 % fits_write_image(FILENAME, IMAGE, HEADER); 0009 % 0010 % Arguments: 0011 % FILENAME: A character array representing the filename. 0012 % IMAGE: An image array representing the filename. 0013 % HEADER: Optional. A structure array containing keywords to be modified. 0014 % 0015 % Returns: 0016 % Nothing. 0017 % 0018 % Type 'mfitsio_license' to display the MFITSIO licensing agreement. 0019 0020 function fits_write_image(FILENAME, IMAGE, HEADER); 0021 0022 % Author: Damian Eads <eads@lanl.gov> 0023 % 0024 % This software and ancillary information (herein called ``Software'') 0025 % called MFITSIO is made available under the terms described here. The 0026 % SOFTWARE has been approved for release with associated LA-CC number: 0027 % LA-CC-02-085. 0028 % 0029 % This SOFTWARE has been authored by an employee or employees of the 0030 % University of California, operator of the Los Alamos National Laboratory 0031 % under Contract No. W-7405-ENG-36 with the U.S. Department of Energy. 0032 % The U.S. Government has rights to use, reproduce, and distribute this 0033 % SOFTWARE. The public may copy, distribute, prepare derivative works and 0034 % publicly display this SOFTWARE without charge, provided that this Notice 0035 % and any statement of authorship are reproduced on all copies. Neither 0036 % the Government nor the University makes any warranty, express or 0037 % implied, or assumes any liability or responsibility for the use of this 0038 % SOFTWARE. If SOFTWARE is modified to produce derivative works, such 0039 % modified SOFTWARE should be clearly marked, so as not to confuse it with 0040 % the version available from LANL. 0041