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
Next revision Both sides next revision
drizzlib [2019/12/30 08:25]
ahughes
drizzlib [2021/01/02 08:02]
ahughes
Line 1: Line 1:
 ====== Drizzlib ====== ====== 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.+From this page you can download the drizzling software library, **drizzlib**,​ which reprojects data from HEALPix to local WCS FITS format. The current ​library is available in Python3. Older versions in Python2 ​and IDL are available, but no longer actively maintained.
  
 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. 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 here http://​drizzweb.irap.omp.eu/​ +CADE also 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 here http://​drizzweb.irap.omp.eu/​
- +
----- +
-===== 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 ====  +
- +
-[[http://​cade.irap.omp.eu/​documents/​Ancillary/​Software/​drizzlib_v08_15_beta.zip|drizzlib_v08_15_beta.zip]]+
  
 ---- ----
Line 35: Line 17:
   * //Nathanael Jourdane (IRAP)//   * //Nathanael Jourdane (IRAP)//
   * //Anaïs Amato (IRAP)//   * //Anaïs Amato (IRAP)//
 +  * //Annie Hughes (IRAP)//
  
 ==== Where to download the drizzlib python code ==== ==== Where to download the drizzlib python code ====
   ​   ​
  CADE supports several options for getting access to drizzlib-python:​ ''​git'',​ ''​pip''​ and direct download of the source tarball.  CADE supports several options for getting access to drizzlib-python:​ ''​git'',​ ''​pip''​ and direct download of the source tarball.
 +  ​
 + The python package can be downloaded and installed via ''​pip'' ​ (recommended):​
 +
 +<​code>​
 +pip install drizzlib
 +</​code> ​
   ​   ​
 The source tree is available on [[https://​gitlab.irap.omp.eu/​cade/​drizzlib-python|gitlab]] . The source tree is available on [[https://​gitlab.irap.omp.eu/​cade/​drizzlib-python|gitlab]] .
Line 47: Line 35:
 https://​gitlab.irap.omp.eu/​OV-GSO-DC/​drizzlib-python|gitlab]]. https://​gitlab.irap.omp.eu/​OV-GSO-DC/​drizzlib-python|gitlab]].
  end comment */  end comment */
- 
-The python package itself can be downloaded and installed via ''​pip''​ : 
- 
-<​code>​ 
-pip install drizzlib 
-</​code>​ 
  
 Or you can directly grab a tarball here : Or you can directly grab a tarball here :
Line 68: Line 50:
 apt-get install python-dev pkg-config libfreetype* gfortran libopenblas-dev liblapack-dev apt-get install python-dev pkg-config libfreetype* gfortran libopenblas-dev liblapack-dev
 </​code>​ </​code>​
- 
  
 === Using pip === === Using pip ===
Line 82: Line 63:
 Uncompress the tarball, move into the newly created directory (e.g. ''​drizzlib-2.0''​) Uncompress the tarball, move into the newly created directory (e.g. ''​drizzlib-2.0''​)
  
 +Then, install drizzlib using ''​pip'':​
 +
 +<​code>​
 +pip install --editable .
 +</​code>​
 +
 +/* start comment
 Then, install the python dependencies using ''​pip''​ : Then, install the python dependencies using ''​pip''​ :
  
Line 94: Line 82:
 python setup.py install python setup.py install
 </​code>​ </​code>​
 +end comment */
  
 ==== Using the drizzlib python code : simple example ==== ==== Using the drizzlib python code : simple example ====
Line 100: Line 89:
  
 <code python> <code python>
-from drizzlib import healpix2wcs+from drizzlib.healpix2wcs ​import healpix2wcs
  
 healpix2wcs( healpix2wcs(
Line 117: Line 106:
   * [[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.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)   * [[http://​cade.irap.omp.eu/​downloads/​drizzlib/​python/​drizzlib-1.0.1.tar.gz|drizzlib-1.0.1.tar.gz]] (2015-12-18)
 +
 +===== 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]]
 +
 +----