Home »
Public Forums »
archive »
reading images stored compressed in FITS files binary extensions
reading images stored compressed in FITS files binary extensions [message #70400] |
Thu, 08 April 2010 11:33 |
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.
|
|
|
Current Time: Sat Oct 11 10:56:40 PDT 2025
Total time taken to generate the page: 1.68534 seconds