Public Repository

Last pushed: 2 years ago
Short Description
Docker image for running TDA
Full Description

Docker image for running Topological Data Analysis, using Daniel Muellner's python mapper.

To use: docker run -d -v $(pwd):/work jandot/tda

As this image opens a GUI, you'll need to connect the display from the docker container to your Mac or Windows. To get this running on Mac:

  • socat TCP-LISTEN:6000,reuseaddr,fork UNIX-CLIENT:\"$DISPLAY\"
  • Start XQuartz
  • docker run -d -v $(pwd):/work -e DISPLAY= jandot/tda

Note: The IP number used here should not be the one reported with docker-machine ip default (often, but the one that is reported under vboxnet0 when running ifconfig.

To visualize with D3, generate the standalone script from the mapper GUI (from the File menu), and add the following at the end:

G = mapper_output.to_d3js_graph()
import json
with open('mapper.json', 'wb') as f:
    json.dump(G, f)
Docker Pull Command