Function Name: fits_read_header Description: Reads a FITS file and stores all header information in a structure array. Usage: HEADER = fits_read_header(FILENAME); Arguments: FILENAME: A character array representing the filename. Returns: HEADER: The fits header as a structure array. Type 'mfitsio_license' to display the MFITSIO licensing agreement.
0001 % Function Name: 0002 % fits_read_header 0003 % 0004 % Description: Reads a FITS file and stores all header information in 0005 % a structure array. 0006 % 0007 % Usage: 0008 % HEADER = fits_read_header(FILENAME); 0009 % 0010 % Arguments: 0011 % FILENAME: A character array representing the filename. 0012 % 0013 % Returns: 0014 % HEADER: The fits header as a structure array. 0015 % 0016 % Type 'mfitsio_license' to display the MFITSIO licensing agreement. 0017 0018 function HEADER = cbass_read(FILENAME); 0019 HEADER = cbass_read_header(filename); 0020 IMAGE = cbass_read_image(filename); 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 % 0042 % Consult the COPYING file for more details on licensing. 0043