data.sav [message #91868] |
Tue, 08 September 2015 04:18  |
Ali Gamal
Messages: 98 Registered: June 2013
|
Member |
|
|
hi
I have data.sav, I want to extract it to fits files, how can I do it?
thanks
|
|
|
Re: data.sav [message #91869 is a reply to message #91868] |
Tue, 08 September 2015 05:20  |
Yngvar Larsen
Messages: 134 Registered: January 2010
|
Senior Member |
|
|
On Tuesday, 8 September 2015 13:18:42 UTC+2, Ali Gamal wrote:
> hi
> I have data.sav, I want to extract it to fits files, how can I do it?
> thanks
Depends on what you data.sav contains... Assuming it is an IDL savefile containing your data in a suitable form, you can just use RESTORE to read the data into IDL memory, and and then use the FITS functionality in the IDL Astronomy Library to save in FITS format:
http://idlastro.gsfc.nasa.gov/fitsio.html
--
Yngvar
|
|
|