Visualization for Astronomical Data

The new FITS viewer for the Macintosh.

The answer to the question, “What’s in this FITS file?” should not be “Let me open Python.”

Nightlight is a new desktop application whose aim is to bring a modern interface to FITS files with the polish and design people expect from applications they use every day. By making it a native Macintosh application, one is able to leverage cutting edge frameworks that enable GPU acceleration, multithreading, interactive touch interfaces, real-time image processing, desktop metadata indexing, and more. These kinds of features and user experience are simply not possible when using cross-platform environments.

When first launched, Nightlight uses Spotlight to find all of the FITS files on your computer (and automatically keeps the list up to date). No need to be concerned about which directory a file is in. Nightlight uses the header to identify the source of the file (e.g. the SDSS survey), and uses the appropriate logo for the file when possible.

Nightlight’s file browser graphically presents FITS files as a list of HDUs. At a glance, you can quickly see the HDU type and its dimensions. Viewing the data is only a click away.


Selecting a filename shows a thumbnail view of all of the HDUs in the file. The thumbnails displayed here are of three images and a table. A 1D image isn’t useful to display with the height of a single pixel across the screen; instead it’s displayed as a plot.

Even in this thumbnail view, the table is interactive: hover the mouse over a column name (on the left), and the column on the right displays its values.

A yellow badge tells you that the file failed a fitsverify scan. It even contains the report.

Nightlight. Fall in love with FITS files all over again for the first time.

Nightlight is a new platform for astronomical visualization. Rather multiple surveys or projects spending the (limited) resources reinventing the wheel, surveys can instead concentrate on the complex visualization that is specific to their data by funding a plug-in for their data.

For more information about Nightlight or to enquire about funding further development, please contact Demitri Muna (demitri -at- or on Twitter at @demitrimuna.