Giter Site home page Giter Site logo

dstndstn / eht-docker-2019-d01-02 Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 1.72 MB

A Docker container that includes all three imaging methods in the Event Horizon Telescope's 2019-D01-02 data product. Docker image: *dstndstn/eht-demo* . DockerHub: https://hub.docker.com/r/dstndstn/eht-demo

License: MIT License

Dockerfile 43.15% Pascal 8.22% Shell 48.63%

eht-docker-2019-d01-02's Introduction

eht-docker-2019-D01-02

A Docker container that includes all three imaging methods in the Event Horizon Telescope's 2019-D01-02 data product

example output plot

animated output plots

Or if you prefer,

tweet with jet colormap EHT image

How to use this

If you want to run the codes for yourself, install Docker Desktop and run:

mkdir -p /tmp/out
docker run -it --volume /tmp/out:/tmp/out dstndstn/eht-demo
# Look in /tmp/out for results, specifically /tmp/out/*/*.png

This will run for several minutes (on my 'puter: 4 minutes for difmap, 2.5 minutes for eht-imaging, and 1 minute for smili).

Note that one of the methods (difmap) does not handle quitting with control-C, so if you want to stop it, you may have to hold down ctrl-C, or kill the process.

Once it finishes running, it just exits back to the command line. So how do you get the results? The outputs are copied to /tmp/out, so have a look there! You should see a directory for each of the three methods (difmap, eht-imaging, and smili), each with a log file and a bunch of FITS image files.

Alternatively, you can run the docker container interactively, eg,

docker run -it dstndstn/eht-demo bash

and you'll find the code in /src; the command to run all the methods is /src/2019-D01-02/runx.sh

If you ran it non-interactively, as above, then after it finishes you can get back into the container by doing:

# Get the container ID of the most recently run container:
CON=$(docker ps -alq)
# Commit that to a new image
OUT=$(docker commit $CON eht-out)
# Run the new image
docker run -it $OUT bash

eht-docker-2019-d01-02's People

Contributors

dstndstn avatar

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.