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