Some tiny tools for handling FITS files
pip install fits-utilities
Utility to read headers from FITS files. It works as Iraf's hselect and imhead longheader=no
This tool is intended to be used from a terminal in order to have easy access to them
Mode of Use:
hselect image.fits keyword1 keyword2 ... keywordN
It is also possible to use wildcards:
hselect *.fits keyword1 keyword2 ... keywordN
To have a quick look of what images are:
hselect *.fits
Displays full headers
imhead file_001.fits
Displays images using matplotlib. For 1D files the x-axis will always show Wavelength
even if it is pixels.
This is inteded as a quick look tool only
showfits file_001.fits
Or for showing several (one after another)
showfits *fits
I plan to include some other tools (as needed) that should work as in IRAF, such as:
hedit
imstat
If you are interested in one of those let me know.