No BSD License  

Highlights from
fits

4.0

4.0 | 4 ratings Rate this file 28 Downloads (last 30 days) File Size: 8.24 KB File ID: #122

fits

by Roberto Abraham

 

12 Aug 1999

These files read, write, and scan the headers of FITS files.

| Watch this File

File Information
Description

These files read, write, and scan the headers of FITS files. FITS is a standard format for astonomical images. All of the files
should be self-documenting with the MATLAB 'help' command. The on-line help also includes examples of usage.

The files have been tested on Matlab v. 5.2, and 5.3.

MATLAB release MATLAB 5.2 (R10)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (9)
10 Feb 2005 ado ado

Perfect for FITS manipulation

11 Jan 2006 Olivier Berné

Good for handling simple fits files, but does not handle cubes (ie 3d arrays).

14 Jul 2008 zhirong zeng  
07 Jul 2010 yvette Perrott

Thanks for the great fitswrite.m file, Roberto. I added

elseif strmatch(friend,'GLNX86')

   bswap = 'b';

to get it to work on my computer :)

29 Sep 2010 Gustavo Cancelo

I only need 2D arrays so it works for me, thanks!

15 Jul 2011 Jiaxin Han

so you need to ALWAYS set bswap='b'

15 Jul 2011 Jiaxin Han

CRUCIAL BUG:
FITS file is always in BIG-ENDIAN format, so one DO NOT need to determine the endianness from computer; instead you need to ALWAYS set bswap='b' when write and read.

24 Sep 2011 zarrouki

good

11 Nov 2011 Eric

if you have fitsheader search for a specific keyword, it doesn't properly close the file. adding 'fclose(file)' to line 73 in 'fitsheader.m' seems to solve the problem. otherwise, works great.

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
data import Roberto Abraham 22 Oct 2008 06:32:30
data export Roberto Abraham 22 Oct 2008 06:32:30
fits files Roberto Abraham 22 Oct 2008 06:32:30
astronomical images Roberto Abraham 22 Oct 2008 06:32:30
utilities Roberto Abraham 22 Oct 2008 06:32:30
image processing Roberto Abraham 22 Oct 2008 06:32:30
astronomical images steppenwolf Nayak 30 Aug 2009 04:54:19
utilities Pascal 10 Sep 2010 11:27:05

Contact us at files@mathworks.com