Welcome to iraf.net Friday, May 03 2024 @ 11:34 AM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 iraf fits images in matlab
   
duvall
 04/10/2007 10:23PM (Read 4934 times)  
+++--
Chatty

Status: offline


Registered: 03/08/2006
Posts: 59
I have been having trouble reading fits files written from iraf in matlab.
I have been able to read fits files from two other sources (one is idl)
in matlab's general fitsread function. There is something in the header which
causes a problem. I guessed it might have to do with putting the 'end' card
at the end of the 2880-character block, but I padded out the header with dummy
variables and that did not help. I tried several images with no luck. The
error messages are not particularly enlightening. Have others had this
problem? Is there a solution?
Tom

 
Profile Email
 Quote
fitz
 04/10/2007 10:23PM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
Tom,If you posted the error message it might provide a clue, otherwise it sounds like a MATLAB forum question. You could see whether it makes a difference that the image was created with the FITS kernel (e.g. by appending a .fits to an output filename) or with the WFITS task. Either way the image should be compliant with the standard so the error may be in the FITS reader side of things.-Mike

 
Profile Email
 Quote
duvall
 04/10/2007 10:23PM  
+++--
Chatty

Status: offline


Registered: 03/08/2006
Posts: 59
An experienced user told me that a newer version of matlab should
have the problem fixed. I tried that and it worked.
The version that worked: Version 7.1.0.183 (R14) Service Pack 3
The one that did not: Version 6.5.1.199709 Release 13 (Service Pack 1)
Thanks for the suggestions.
Tom

 
Profile Email
 Quote
   
Content generated in: 0.08 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login