Drizzlib

IDL version

Authors

  • Jean-Philippe Bernard (IRAP)
  • Nathalie Baby (IRAP)
  • Caroline Bot (CDS)
  • Laurent Cambrésy (CDS)
  • Ludovic Montier (IRAP)
  • Déborah Paradis (IRAP)
  • Alexandre Sauvé (IRAP)

Download : drizzlib_v08_15_beta.zip

Python version

Authors

  • Antoine Goutenoir (IRAP)
  • Déborah Paradis (IRAP)
  • Jean-Michel Glorian (IRAP)
  • Jean-Philippe Bernard (IRAP)

Source

The source tree is available on gitlab.

The python package itself can be downloaded via pip :

pip install drizzlib

Or you can directly grab a tarball here :

:!: There are detailed instructions and troubleshooting tips in the README, which you should read.

Installation

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 about numpy. 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

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'
)

Feedback

There is an issue tracker on gitlab, which is the recommended way of reporting issues, and you can also write to deborah.paradis@irap.omp.eu.