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

Home » Public Forums » archive » reading images stored compressed in FITS files binary extensions
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
reading images stored compressed in FITS files binary extensions [message #70400] Thu, 08 April 2010 11:33
Jeremy Bailin is currently offline  Jeremy Bailin
Messages: 618
Registered: April 2008
Senior Member
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? (it looks like it's equivalent to an
iraf .pl file in format) This is what the header of the extension
looks like:

XTENSION= 'BINTABLE' / binary table
extension
BITPIX = 8 / 8-bit
bytes
NAXIS = 2 / 2-dimensional binary
table
NAXIS1 = 8 / width of table in
bytes
NAXIS2 = 4096 / number of rows in
table
PCOUNT = 70790 / size of special data
area
GCOUNT = 1 / one data group (required
keyword)
TFIELDS = 1 / number of fields in each
row
TTYPE1 = 'COMPRESSED_DATA' / label for field
1
TFORM1 = '1PI(9) ' / data format of field: variable length
array
ZIMAGE = T / extension contains compressed
image
ZBITPIX = 16 / data type of original
image
ZNAXIS = 2 / dimension of original
image
ZNAXIS1 = 2048 / length of original image
axis
ZNAXIS2 = 4096 / length of original image
axis
ZTILE1 = 2048 / size of tiles to be
compressed
ZTILE2 = 1 / size of tiles to be
compressed
ZCMPTYPE= 'PLIO_1 ' / compression algorithm

Thanks,
-Jeremy.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Vectorized versions of MAP_2POINTS and LL_ARC_DISTANCE
Next Topic: FILE_DELETE on Mac OS ignores write permissions

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

Current Time: Fri Oct 10 17:26:09 PDT 2025

Total time taken to generate the page: 7.68128 seconds