comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: IDL structure to HDF-5
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: IDL structure to HDF-5 [message #56650 is a reply to message #56649] Thu, 08 November 2007 06:36 Go to previous messageGo to previous message
Loren Anderson is currently offline  Loren Anderson
Messages: 22
Registered: August 2007
Junior Member
> Here is my situation. I process an image, which results
> in 24-separate spectra. Each spectra needs to be fit with
> three separate Gaussians. (I'm waving my hands a bit here,
> because I haven't figured out how to do this part yet.) I need
> to save the original image, the processed image, the spectra,
> and the fitting parameters and other equations.
>
> Would you recommend FITS or HDF for such a project?

Until someone more qualified than me answers this, here is a link to
the FITS standards: http://fits.gsfc.nasa.gov/.

You centainly could put all this data in to a FITS binary table using
the routines in Wayne's library: http://idlastro.gsfc.nasa.gov/. The
process is relatively straghtforward. If you are working with
astronomers (I'm guessing here), we do like our FITS files, and have a
number of astronomy-specific tools for viewing them already.


Back to the OP's question, can't you just use writefits? I work with
FITS cubes almost exclusively, and that's what I use for such mapped
spectra. writefits adjusts the header appropriately for 3D data.


-Loren
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: !p.multi[0] = ? What's the first element of !p.multi ?
Next Topic: Re: for loop is killing me

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 04:20:45 PDT 2025

Total time taken to generate the page: 0.47938 seconds