Tools for visualizing fits files.
Project description
Fits Utilities
Some tiny tools for handling FITS files
Install
pip install fits-utilities
hselect
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
imhead
Displays full headers
imhead file_001.fits
showfits
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
Future plans
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for fits_utilities-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c19d11c274245d7e4ef884da97e5da221e213027805409c0d5d8cf62565e739 |
|
MD5 | 9a3e178cd09e3ce5bd1bfb0f1c96e270 |
|
BLAKE2b-256 | efe54f77187c8ec7abff6ad46c491f2abbdcdf970b01e1389ce5bcd82c0fa6ce |