Healpix for Science Tools - PowerPoint PPT Presentation

1 / 7
About This Presentation
Title:

Healpix for Science Tools

Description:

begin() and end() methods: return iterator that evaluate to pixels. ... MapParameters par(argc, argv);// defines image parameters ... – PowerPoint PPT presentation

Number of Views:234
Avg rating:3.0/5.0
Slides: 8
Provided by: burn56
Category:
Tags: argv | healpix | science | tools

less

Transcript and Presenter's Notes

Title: Healpix for Science Tools


1
Healpix for Science Tools
  • Toby Burnett, Bruce Lesnick
  • University of Washington

2
The Healpix class an STL containers of Pixels
  • Constructor set up nside (number of
    pixels)mode (nested or ring) and coord system
  • begin() and end() methods return iterator that
    evaluate to pixels.
  • Following code uses STL methods to create an image

MapParameters par(argc, argv)// defines image
parameters SkyImage piximage(par) // manage a
FITS image Healpix hpix(8) // create a Healpix
object, nside8 stdfor_each( h.begin(),
h.end(), DrawPixel(hix,piximage))
3
HTM pixel directions
Level3512 pixels
4
HEALPix pixel directions
nside8, 778 pixels
5
The Pixel class nested in Healpix
  • The constructor HealpixPixel(const
    astroSkyDir dir, const Healpix hp)creates a
    pixel containing the SkyDir direction dir, for
    the Healpix object hp.
  • The methodHealpixPixeloperator astroSkyDir
    ()constreturns the pixel central direction as a
    SkyDir a Pixel behaves like a SkyDir.
  • A pixel knows its
  • direction
  • Area (solid angle)
  • Neighboring pixels (7 or 8)

Behave like
construct
6
Image based on Healpix class HealpixData
  • Simple wrapper of an array of pixel values and a
    Healpix object.
  • Inherit from SkyImage, and that is it!

Display data from WMAP
7
Status
  • HTM and Healpix created to do integrals over the
    sphere.
  • Also a good way to pixelate exposure functions,
    and bin the data for sky survey
  • Class Healpix
  • Using C code from WMAP
  • Code to obtain neighbors converted from Fortran.
  • Class HealpixData
Write a Comment
User Comments (0)
About PowerShow.com