Hips2fits - Apps 2 2 First Implementations
Total Page:16
File Type:pdf, Size:1020Kb
hips2fits Fast generation of FITS cutouts from HiPS datasets
Thomas Boch, P. Fernique, F. Bonnarel, Chaitra, C. Bot, F.-X. Pineau, M. Baumann, L. Michel
IVOA Interop, Groningen, Apps 2 HiPS datasets collections
700+ image HiPS 60+ planetary HiPS
IVOA Groningen - Oct 2019 - hips2fits - Apps 2 2 First implementations
• Aladin Desktop code behind Tomcat server —> bilinear resampling
• Other tests using standard reprojection tools • Montage • reproject • SWarp IVOA Groningen - Oct 2019 - hips2fits - Apps 2 3 Global architecture
IVOA Groningen - Oct 2019 - hips2fits - Apps 2 4 Algorithm
WCS, hips
1. For each (x, y) pixel: compute α, δ (using Astropy WCS) x, y α, δ
2. Retrieve les covered by the cutout —> quite fast as most HiPS are available or mirrored at CDS
3. For each (α, δ): retrieve respec ve contribu on 0.3 0.5 from 4 nearest HEALPix cells (using cdshealpix (Rust-based) Python library) 0.1 0.1
4. Actual bilinear interpola on computa on, value = w1*val1 + w2*val2 + w3*val3 + w4*val4 accelerated by Numba decorators 5. Return FITS image cutout
FITS cutout
IVOA Groningen - Oct 2019 - hips2fits - Apps 2 5 Performances
500k pixels per second
IVOA Groningen - Oct 2019 - hips2fits - Apps 2 6 Service up and running
• http://alasky.u-strasbg.fr/hips-image-services/hips2fits • test it • use it • send your feedback
• Python notebook example • generate cutouts for M galaxies in N HiPS datasets
• Examples of generated cutouts … … on the dome!
IVOA Groningen - Oct 2019 - hips2fits - Apps 2 7 Usage for outreach needs
• Generation of photospheres • All-sky CARtesian projection with XMP metadata
—> Used by Giuseppe Greco (VIRGO) for Gravitational Waves outreach
IVOA Groningen - Oct 2019 - hips2fits - Apps 2 8 Future plans
• Access from astroquery.cds • Achieve convergence with SODA interface • Extension to cube cutouts • Assess photometry conservation quality
• A message to HiPS producers: • « please, keep your FITS tiles, they are precious! »
IVOA Groningen - Oct 2019 - hips2fits - Apps 2 9