Sign inSign up

jandot/tda

By jandot

Updated over 10 years ago

Docker image for running TDA

Image
0

194

jandot/tda repository overview

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=192.168.99.1:0 jandot/tda

Note: The IP number used here should not be the one reported with docker-machine ip default (often 192.168.99.100), 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)

Tag summary

Content type

Image

Digest

Size

344.4 MB

Last updated

over 10 years ago

docker pull jandot/tda