achael / eht-imaging
- пятница, 12 апреля 2019 г. в 00:17:41
Python
Imaging, analysis, and simulation software for radio interferometry
Python modules for simulating and manipulating VLBI data and producing images with regularized maximum likelihood methods. This version is an early release so please submit a pull request or email achael@cfa.harvard.edu if you have trouble or need help for your application.
The package contains several primary classes for loading, simulating, and manipulating VLBI data. The main classes are the Image, Array, Obsdata, Imager, and Caltable classes, which provide tools for loading images and data, producing simulated data from realistic u-v tracks, calibrating, inspecting, and plotting data, and producing images from data sets in various polariazations using various data terms and regularizers.
Download the latest version from the GitHub repository, change to the main directory and run:
pip install .It should install most of the required libraries automatically (astropy, ephem, future, h5py , html , networkx, numpy, pandas , matplotlib, requests, scipy, skimage).
If you want to use fast fourier transforms, you will also need to separately install NFFT and its pynnft wrapper. The simplest way is to use conda to to install both:
conda install -c conda-forge pynfftAlternatively, first install NFFT manually following the instructions on the readme, making sure to use the --enable-openmp flag in compilation. Then install pynfft, with pip, following the readme instructions to link the installation to where you installed NFFT. Finally, reinstall ehtim.
Documentation is here .
Here are some ways to learn to use the code:
If you use ehtim in your publication, please cite both Chael et al. 2016 and Chael et al. 2018
Let us know if you use ehtim in your publication and we'll list it here!
The oifits_new code used for reading/writing .oifits files is a slightly modified version of Paul Boley's package at http://astro.ins.urfu.ru/pages/~pboley/oifits. The oifits read/write functionality is still being developed and may not work with all versions of python or astropy.
The documentation is styled after dfm's projects
ehtim is licensed under GPLv3. See LICENSE.txt for more details.