https://github.com/lpsinger/healpixviewer
Simple HEALPix viewer in modern OpenGL
https://github.com/lpsinger/healpixviewer
Last synced: about 2 months ago
JSON representation
Simple HEALPix viewer in modern OpenGL
- Host: GitHub
- URL: https://github.com/lpsinger/healpixviewer
- Owner: lpsinger
- Created: 2014-04-29T18:00:33.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2017-01-11T01:55:38.000Z (over 8 years ago)
- Last Synced: 2025-03-25T05:53:15.593Z (3 months ago)
- Language: C++
- Size: 15.6 KB
- Stars: 7
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
HEALPix Viewer
==============Render a HEALPix data set in false color using modern OpenGL techniques. The
purpose of this project is mostly to bring myself up to speed with modern
OpenGL (and un-learn archaisms like `glBegin(GL_TRIANGLE_STRIP)`).This is inspired by Damien George's excellent CMB visualization at
. However, it suffers from less distortion because it
implements the HEALPix projection itself (instead of a geodesic approximation
of it).Requirements
------------Building requires:
* GLFW
* GLM
* CHealpix
* CFitsio
* a C++ compiler, `make`, and `pkgconfig`If, like me, you are on a Mac with MacPorts (https://trac.macports.org), you
can get all of the dependencies with:sudo port install glfw glm healpix-c
To build
--------Just run `make`.
Usage
-----Just pass the name of a (possibly gzip-compressed) FITS file, like this:
$ healpixviewer INPUT.fits[.gz]
Here's an example sky map from a paper I am working on:
$ wget http://ligo.org/science/first2years/2015/compare/18951/bayestar.fits.gz
$ ./healpixviewer bayestar.fits.gz