We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
See the doc at:
https://archive.stsci.edu/fits/fits_standard/node39.html#SECTION00941220000000000000 => 5.4.1.2 Conforming Extensions
A compressed image is stored in an extension such as: https://fits.gsfc.nasa.gov/registry/tilecompression/tilecompression2.3.pdf
XTENSION = BINTABLE TFIELDS = 1 TTYPE1 = 'COMPRESSED_DATA' EXTNAME = 'COMPRESSED_IMAGE' ZIMAGE = T
Zfields:
Zxxx fields give the original header fields pour the uncompressed image
datalen (in bits) : |BITPIX| x GCOUNT x (PCOUNT + NAXIS x NAXIS1 x ... x NAXISm )
More understanding...
Reading a FITS ZIMAGE:
The algo to uncompress data can be found in the "fits_uncompress_table" function in the "imcompress.c" source file of the cfitsio package.
(to be cont'd)
CA
The text was updated successfully, but these errors were encountered:
No branches or pull requests
See the doc at:
https://archive.stsci.edu/fits/fits_standard/node39.html#SECTION00941220000000000000
=> 5.4.1.2 Conforming Extensions
A compressed image is stored in an extension such as:
https://fits.gsfc.nasa.gov/registry/tilecompression/tilecompression2.3.pdf
XTENSION = BINTABLE
TFIELDS = 1
TTYPE1 = 'COMPRESSED_DATA'
EXTNAME = 'COMPRESSED_IMAGE'
ZIMAGE = T
Zfields:
Zxxx fields give the original header fields pour the uncompressed image
datalen (in bits) : |BITPIX| x GCOUNT x (PCOUNT + NAXIS x NAXIS1 x ... x NAXISm )
More understanding...
Reading a FITS ZIMAGE:
The algo to uncompress data can be found in the "fits_uncompress_table" function in the "imcompress.c" source file of the cfitsio package.
(to be cont'd)
CA
The text was updated successfully, but these errors were encountered: