Skip to main content

Tools for visualizing fits files.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fits_utilities-0.1.2.tar.gz (9.0 kB view details)

Uploaded Source

Built Distribution

fits_utilities-0.1.2-py3-none-any.whl (22.0 kB view details)

Uploaded Python 3

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

Hashes for fits_utilities-0.1.2.tar.gz
Algorithm Hash digest
SHA256 dfa575ab0eb3a80f8a105b2290a2a340c7162b0305ebb67523c6d55b5a01fba6
MD5 73f2262aeeb08acbf05ce7833f774946
BLAKE2b-256 9897d7d155ea07be0a1eaf06c3d4c76857294c9595f1ffe0e2d5237b50eee9ff

See more details on using hashes here.

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

Hashes for fits_utilities-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6c19d11c274245d7e4ef884da97e5da221e213027805409c0d5d8cf62565e739
MD5 9a3e178cd09e3ce5bd1bfb0f1c96e270
BLAKE2b-256 efe54f77187c8ec7abff6ad46c491f2abbdcdf970b01e1389ce5bcd82c0fa6ce

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page