Skip to main content

Fits Utilities Build Status Documentation Status DOI

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:

  1. hedit
  2. imstat

If you are interested in one of those let me know.

Metadata

Release files for fits-utilities 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fits-utilities 0.1.2
File Size Uploaded
fits_utilities-0.1.2.tar.gz 9.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fits-utilities 0.1.2
File Interpreter ABI Platform
fits_utilities-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 31.0 kB

Release files / fits_utilities-0.1.2.tar.gz

Download URL fits_utilities-0.1.2.tar.gz
Size 9.0 kB
Tags Source
SHA-256 checksum
How to use checksums
dfa575ab0eb3a80f8a105b2290a2a340c7162b0305ebb67523c6d55b5a01fba6
BLAKE2b-256 checksum
How to use checksums
9897d7d155ea07be0a1eaf06c3d4c76857294c9595f1ffe0e2d5237b50eee9ff
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / fits_utilities-0.1.2-py3-none-any.whl

Download URL fits_utilities-0.1.2-py3-none-any.whl
Size 22.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6c19d11c274245d7e4ef884da97e5da221e213027805409c0d5d8cf62565e739
BLAKE2b-256 checksum
How to use checksums
efe54f77187c8ec7abff6ad46c491f2abbdcdf970b01e1389ce5bcd82c0fa6ce
Upload date
Uploaded using Trusted Publishing?
What is 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
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page