GithubHelp home page GithubHelp logo

raunakdune / eht-imaging Goto Github PK

View Code? Open in Web Editor NEW

This project forked from achael/eht-imaging

0.0 2.0 0.0 20.26 MB

Observing and Imaging software for the Event Horizon Telescope

Python 100.00%

eht-imaging's Introduction

ehtim (eht-imaging)

Python modules for simulating and manipulating VLBI data and producing images with Maximum Entropy methods. This version is an early release so please submit a pull request or email [email protected] 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. Movie and Vex provide tools for producing time-variable simulated data and observing with real VLBI tracks from .vex files. imager is a generic Stokes I imaging module that can produce images from data sets using various data terms and regularizers.

Note that this is a pre-release of ehtim. If you have a problem please submit a pull request on the git repository.

Installation

Download the latest version from the GitHub repository, change to the main directory and run:

pip install .

It should install the depended libraries astropy, ephem, future, matplotlib, numpy, scipy automatically.

Documentation

The documentation is in progress, but here are some ways to learn to use the code:

  • The file example.py has a series of sample commands to load an image and array, generate data, and produce an image.
  • Slides from the EHT2016 data generation and imaging workshop contain a tutorial on generating data with the vlbi imaging website, loading into the library, and producing an image. Note that this presentation used a previous version of the code -- function names and prefixes will need to be updated.

PolMEM

Produces polarimetric VLBI images using robust polarimetric ratio data products and entropy+total variation priors. (Andrew A. Chael et al 2016 ApJ 829 11)

ArXiv: https://arxiv.org/abs/1605.06156

CHIRP

Python code to produce intensity images using patch-prior regularizers. These methods are described in detail in the following paper:

CVPR Paper

Detailed derivations and additional results can be found in the accompanying supplemental material

Please email [email protected] if you have trouble or need help for your application.

Acknowledgements

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 tested and may not work with all versions of python or astropy.io.fits.

The jdcal.py module is from Prasanth Nair at http://github.com/phn/jdcal.

The documentation is styled after dfm's projects and the documentation for scatterbrane

eht-imaging's People

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.