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
File details
Details for the file fits_utilities-0.1.2.tar.gz
.
File metadata
- Download URL: fits_utilities-0.1.2.tar.gz
- Upload date:
- Size: 9.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dfa575ab0eb3a80f8a105b2290a2a340c7162b0305ebb67523c6d55b5a01fba6 |
|
MD5 | 73f2262aeeb08acbf05ce7833f774946 |
|
BLAKE2b-256 | 9897d7d155ea07be0a1eaf06c3d4c76857294c9595f1ffe0e2d5237b50eee9ff |
File details
Details for the file fits_utilities-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: fits_utilities-0.1.2-py3-none-any.whl
- Upload date:
- Size: 22.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c19d11c274245d7e4ef884da97e5da221e213027805409c0d5d8cf62565e739 |
|
MD5 | 9a3e178cd09e3ce5bd1bfb0f1c96e270 |
|
BLAKE2b-256 | efe54f77187c8ec7abff6ad46c491f2abbdcdf970b01e1389ce5bcd82c0fa6ce |