Giter Site home page Giter Site logo

healpix's Introduction

healpix

A Go-lang implementation of the HEALPix projection and pixelization of a sphere. This package is early stage and not yet recommended for integration. However, features incorporated into the master branch generally have good test coverage.

The HEALPix pixelization is 'equal-area' for each pixel: a pixel at the equator of the sphere contains the same resolution of data as a pixel at the poles (unlike many pixelizations based on more common projections). The resolution increments as a scaled, squared power of 2, and this package supports spheres divided into up to 12*((2^29)^2) pixels, i.e. 29 different levels of resolution.

HEALPix supports two basic pixel numbering schemes:

  1. Nested - useful for efficient querying of nearest neighbors for individual pixels
  2. Ring - useful for efficient spherical harmonic computations

A third numbering scheme, Nested Unique, allows for the selection of pixels at different scales of resolution, allowing for 'sparse' HEALPix queries and data set representations in addition to the default 'dense' representation.

Roadmap

  • - Querying nearest neighbors
  • - Support 'Nested Unique' pixel numbering (for multiresolution)
  • - Support Cartesian 3-vector 'positions'
  • - Querying discs
  • - Querying polygons
  • - Multiresolution pixel range sets

References

The following prior works were studied carefully to aid the implementation of this package.

Gorski, et al. "HEALPix: A Framework for High-Resolution Discretization and Fast Analysis of Data Distributed on the Sphere" The Astrophysical Journal, 622:759โ€“771, 2005 April 1. Link

I. Martinez-Castellanos, et al. "Multiresolution HEALPix Maps for Multiwavelength and Multimessenger Astronomy" The Astronomical Journal, vol. 63, no. 6, 2022 May 11. Link

Reinecke & Hivon. "Efficient data structures for masks on 2D grids" Astronomy and Astrophysics, vol. 580, 2015 August 19. Link

healpix's People

Contributors

robertkleffner avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.