imfits
imfits is a python module to read, handle, analyze and draw maps from fits files for astronomy easily. The python class Imfits contains header and image information in variables, making it easy to call. The module has been developed for fits images/cubes at (sub)millimeter wavelengths (and particularly for ALMA data). Not guaranteed but could be applied to other fits data at other wavelengths (optical, infrared, and so on).
Imfits can also read fits files of position-velocity (PV) diagrams. The script is well tested for fits files exported from CASA.
Installation
The pip install is now available! For an easy installation, just type on your terminal
pip install imfits
To update it, type
pip install -U imfits
You can also get it using git clone.
git clone https://github.com/jinshisai/imfits
Run git pull in the imfits directory to make it up-to-date. Adding path in .bashrc (or .zshrc) is useful to call the module.