HeaderViewer

class sofia_redux.pipeline.gui.qad.qad_headview.HeaderViewer(parent=None)[source]

Bases: TextView

View, find, and filter text from FITS headers.

Initialize the header viewer widget.

Parameters:
parentQWidget

Parent widget.

Methods Summary

format()

Format header text into HTML for display.

load(header)

Load FITS headers into TextEdit widget.

table()

Format selected parameters into a table.

Methods Documentation

format()[source]

Format header text into HTML for display.

load(header)[source]

Load FITS headers into TextEdit widget.

Parameters:
headerdict

Keys are file paths; values are lists of FITS header objects (astropy.io.fits.Header) from each relevant FITS extension.

table()[source]

Format selected parameters into a table.

Uses comma-separated filter values as keys to display from each header.

Requires pandas to display.