This is an old revision of the document!
Table of Contents
Drizzlib
From this page you can download the drizzling software library ,``drizzlib``, which reprojects data from HEALPix to local WCS FITS format. The library is available in IDL and Python languages.
The drizzling library uses a strategy where the surface of pixel intersection is computed as presented in Appendix A of Paradis et al., 2012, A&A, 543, 103. This method allows fast ingestion and guarantees the photometric accuracy of the transformation with minimal data loss during the transformation from HEALPix to local WCS FITS.
NEW CADE now offers a web interface to the drizzling software library called “drizzweb”. This allows the user to reproject data from HEALPix to local WCS FITS format using CADE's computing resources. The ``drizzweb`` page is http://drizzweb.irap.omp.eu/
IDL version
Authors
- Jean-Philippe Bernard (IRAP)
- Nathalie Baby (IRAP)
- Caroline Bot (CDS)
- Laurent Cambrésy (CDS)
- Déborah Paradis (IRAP)
- Alexandre Sauvé (IRAP)
Download
Python version
Authors
- Antoine Goutenoir (IRAP)
- Déborah Paradis (IRAP)
- Jean-Michel Glorian (IRAP)
- Gabriel Foënard (IRAP)
- Nathanael Jourdane (IRAP)
- Anaïs Amato (IRAP)
Source and Download
The source tree is available on gitlab.
The python package itself can be downloaded an installed via pip
:
pip install drizzlib
Or you can directly grab a tarball here :
- NEW drizzlib-2.0.tar.gz (2019-07-04) for Python >= 3.6
- drizzlib-1.2.6.3.tar.gz (2018-12-07) for Python >= 2.7
There are detailed instructions and troubleshooting tips in theREADME
, which you should read.
Usage
Here's a simple usage example, that reads my_healpix.fits
and extracts a subset of its data as described by the header in wcs_config.fits
, and writes the result into my_wcs.fits
:
from drizzlib import healpix2wcs healpix2wcs( 'my_healpix.fits', header='wcs_config.fits', output='my_wcs.fits' )
Installation Details
First, install the system dependencies :
- Debian / Ubuntu
apt-get install python-dev pkg-config libfreetype* gfortran libopenblas-dev liblapack-dev
The easy way
pip install drizzlib
It may complain aboutnumpy
. Install it, and try again.
The other way
Uncompress the tarball, move into it.
Then, install the python dependencies using pip :
pip install --upgrade setuptools pip install -r requirements.txt
Finally, install drizzlib
itself :
python setup.py install
Old version
Only for python 2.7
- drizzlib-1.2.6.2.tar.gz (2018-11-16)
- drizzlib-1.2.6.1.tar.gz (2018-10-16)
- drizzlib-1.2.5.tar.gz (2018-05-25)
- drizzlib-1.2.2.tar.gz (2017-05-17)
- drizzlib-1.0.1.tar.gz (2015-12-18)