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

Home » Public Forums » archive » Re: reading images stored compressed in FITS files binary extensions
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: reading images stored compressed in FITS files binary extensions [message #70396 is a reply to message #70389] Thu, 08 April 2010 12:44 Go to previous message
wlandsman is currently offline  wlandsman
Messages: 743
Registered: June 2000
Senior Member
On Apr 8, 2:33 pm, Jeremy Bailin <astroco...@gmail.com> wrote:
> Does anyone know what routine in the astronomy user's library (or any
> other routine) can read in an image that's stored compressed in the
> binary extension of a FITS file?

This looks like a "pixel list" (PLIO) compressed file, which can be
uncompressed with FPACK software
( http://heasarc.gsfc.nasa.gov/fitsio/fpack/ ).

Once you have FPACK installed, you can read the file directly with
readfits.pro http://idlastro.gsfc.nasa.gov/ftp/pro/fits/readfits.pro )
or mrdfits.pro. These procedures use a SPAWN with a bidirectional
pipe to FPACK to stream the images into IDL variables.

Cheers, --Wayne
[Message index]
 
Read Message
Read Message
Previous Topic: Re: FILE_DELETE on Mac OS ignores write permissions
Next Topic: Extracting variables from ascii files that are not in columnar format

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

Current Time: Sat Oct 11 13:18:52 PDT 2025

Total time taken to generate the page: 0.63948 seconds