Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
software [2019/05/28 10:34]
Déborah Paradis
software [2023/04/24 14:52] (current)
Déborah Paradis
Line 1: Line 1:
-====== ​Drizzlib ​====== +====== ​Software ​======
-In this page you can download the drizzling software library, which reprojects data from HEALPix to local WCS, 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.+
  
-====== DrizzWeb ====== +   * Python package [[Drizzlib]] 
-**NEW** You can now access a web interface to reproject data from HEALPix to local WCS http://​drizzweb.irap.omp.eu/ ​+   ​Web application [[DrizzWeb]]
  
  
- 
-===== 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 :__**  
-[[http://​cade.irap.omp.eu/​documents/​Ancillary/​Software/​drizzlib_v08_15_beta.zip|drizzlib_v08_15_beta.zip]] 
- 
-===== Python version ===== 
- 
-==== Authors ====  
- 
-  * //Antoine Goutenoir (IRAP)// 
-  * //Déborah Paradis (IRAP)// 
-  * //​Jean-Michel Glorian (IRAP)// 
-  * //Gabriel Foënard (IRAP)// 
-  * //Anaïs Amato (IRAP)// 
- 
- 
-==== Source ==== 
-  ​ 
-The source tree is available on [[https://​gitlab.irap.omp.eu/​OV-GSO-DC/​drizzlib-python|gitlab]]. 
- 
-The python package itself can be downloaded via ''​pip''​ : 
- 
-<​code>​ 
-pip install drizzlib 
-</​code>​ 
- 
-Or you can directly grab a tarball here : 
- 
-  * [[http://​cade.irap.omp.eu/​downloads/​drizzlib/​python/​drizzlib-1.2.6.3.tar.gz|drizzlib-1.2.6.3.tar.gz]] (2018-12-07) 
-  * [[http://​cade.irap.omp.eu/​downloads/​drizzlib/​python/​drizzlib-1.2.6.2.tar.gz|drizzlib-1.2.6.2.tar.gz]] (2018-11-16) 
-  * [[http://​cade.irap.omp.eu/​downloads/​drizzlib/​python/​drizzlib-1.2.6.1.tar.gz|drizzlib-1.2.6.1.tar.gz]] (2018-10-16) 
-  * [[http://​cade.irap.omp.eu/​downloads/​drizzlib/​python/​drizzlib-1.2.5.tar.gz|drizzlib-1.2.5.tar.gz]] (2018-05-25) 
-  * [[http://​cade.irap.omp.eu/​downloads/​drizzlib/​python/​drizzlib-1.2.2.tar.gz|drizzlib-1.2.2.tar.gz]] (2017-05-17) 
-  * [[http://​cade.irap.omp.eu/​downloads/​drizzlib/​python/​drizzlib-1.0.1.tar.gz|drizzlib-1.0.1.tar.gz]] (2015-12-18) 
- 
-> :!: There are detailed instructions and troubleshooting tips in the ''​README'',​ which you should read. 
- 
- 
-==== Installation ==== 
- 
-First, install the system dependencies : 
- 
-<code | Debian / Ubuntu> 
-apt-get install python-dev pkg-config libfreetype* gfortran libopenblas-dev liblapack-dev 
-</​code>​ 
- 
- 
-=== The easy way === 
- 
-<​code>​ 
-pip install drizzlib 
-</​code>​ 
- 
-> :?: 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 : 
- 
-<​code>​ 
-pip install --upgrade setuptools 
-pip install -r requirements.txt 
-</​code>​ 
- 
-Finally, install ''​drizzlib''​ itself : 
- 
-<​code>​ 
-python setup.py install 
-</​code>​ 
- 
- 
-==== 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''​ : 
- 
-<code python> 
-from drizzlib import healpix2wcs 
- 
-healpix2wcs( 
-    '​my_healpix.fits',​ 
-    header='​wcs_config.fits',​ 
-    output='​my_wcs.fits'​ 
-) 
-</​code>​ 
- 
- 
-==== Feedback ==== 
- 
-You can write to [[cade@irap.omp.eu|cade@irap.omp.eu]].