FitsViewer

class reducer.image_browser.FitsViewer[source]

Bases: object

Display the image and header from a single FITS file.

Attributes Summary

top

Methods Summary

display() Display and format this widget.
format() Format widget.
set_fits_file_callback([demo, image_dir]) Returns a callback function that sets the name of FITS file to display and updates the widget.

Attributes Documentation

top

Methods Documentation

display()[source]

Display and format this widget.

format()[source]

Format widget.

Must be called after the widget is displayed, and is automatically called by the display method.

set_fits_file_callback(demo=True, image_dir=None)[source]

Returns a callback function that sets the name of FITS file to display and updates the widget.

The callback takes one argument, the name of the fits file, or ‘demo’ to enable the display of a couple of sample images.