[AstroPy] question about fpack and astropy.io.fits

Octavi Fors octavi at live.unc.edu
Wed Oct 8 23:06:50 EDT 2014


Hello everyone,

this might sounds like a newbie question, but do you know if fpack
compression package is supported by astropy.io.fits version 0.4.2?

In
http://docs.astropy.org/en/stable/io/fits/usage/unfamiliar.html#compressed-image-data
the module "astropy.io.fits.compression" is mentioned to access compressed
HDUs, but it doesn't say if fpack is supported and how should this package
be specified in fits.open method.

My images images are 16 and -32bit. and I would like to make use of tiling
pattern (FZTILE='(n,m)', see fpack manual
<http://heasarc.gsfc.nasa.gov/FTP/software/fitsio/c/docs/fpackguide.pdf>).
For the -32bit images, any advise about noise-sensitive scaling
(SCALE_FACTOR?) and subtractive dithering to achieve high compression
ratios while preserving the scientific content of data, would be most than
welcome.

Thanks in advance,

Octavi.

-- 
Octavi Fors
Postdoctoral Research Associate
Department of Physics and Astronomy
The University of North Carolina at Chapel Hill
CB #3255, #157 Phillips Hall
Chapel Hill, NC 27599
Office: (919) 962-3606
Fax:    (919) 962-0480
http://octavi.web.unc.edu/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/astropy/attachments/20141008/79b20424/attachment.html>


More information about the AstroPy mailing list