Skip to content

Welcome to the TTK Examples!

This website hosts a list of data analysis pipelines exemplifying the usage of TTK with ParaView and its Python API pvpython.

This website is targeting novice users who are not power users of ParaView but who would like to get started with topological data analysis with TTK in Python.

Each example includes:

  • a screenshot (or a tutorial video)
  • a short description
  • the command line to reproduce the example with ParaView
  • the corresponding Python code, to:
    • load the input data
    • execute the analysis pipeline
    • store the output to disk (for later analysis or visualization, e.g. with ParaView)
  • a description of the inputs and outputs
  • pointers to the corresponding C++/Python documentation

This documentation assumes a default TTK installation (with the pvpython API support enabled) and that the repository ttk-data has been downloaded locally.

If you have any questions regarding these examples, please let us know by sending an email to the TTK user mailing list!

Scalar data

Name Screenshot
Dragon ExampleImage
Morse persistence ExampleImage
Built-in example 1 ExampleImage
Interaction site ExampleImage
Viscous fingering ExampleImage
Morse molecule ExampleImage
Tectonic puzzle ExampleImage
Ocean vortices !ExampleImage
Contour around point ExampleImage
CT bones ExampleImage
Tribute ExampleImage
Image processing ExampleImage
Persistence driven compression ExampleImage
Morse-Smale quadrangulation ExampleImage
Persistent Generators Molecule ExampleImage
Persistent Generators Cosmic Web ExampleImage

Bivariate scalar data

Name Screenshot
Built-in example 2 ExampleImage
Bivariate toy ExampleImage
Bivariate toy CSP peeling ExampleImage
Mechanical ExampleImage

Uncertain scalar data

Name Screenshot
Built-in example 3 ExampleImage
Uncertain starting vortex ExampleImage

Time-varying scalar data

Name Screenshot
Time tracking ExampleImage
Merge tree feature tracking ExampleImage
Merge tree temporal reduction ExampleImage
Nested tracking graph ExampleImage

Ensemble scalar data

Name Screenshot
Persistence diagram distance ExampleImage
Persistence diagram clustering ExampleImage
Merge tree clustering ExampleImage
Contour tree alignment ExampleImage
Persistent Generators Periodic Picture ExampleImage

High-dimensional / point cloud data

Name Screenshot
Karhunen-Love Digits 64-Dimensions ExampleImage
Persistence clustering0 ExampleImage
Persistence clustering1 ExampleImage
Persistence clustering2 ExampleImage
Persistence clustering3 ExampleImage
Persistence clustering4 ExampleImage
Persistence clustering gallery ExampleImage
1-manifold learning ExampleImage
1-manifold learning circles ExampleImage
2-manifold learning ExampleImage
Persistent Generators Household Analysis ExampleImage

In-situ features

Name Screenshot
Geometry approximation ExampleImage
Cinema darkroom ExampleImage

Misc features

Name Screenshot
Persistent Generators Casting ExampleImage
Persistent Generators Fertility ExampleImage
Persistent Generators Skull ExampleImage
Manifold checks ExampleImage
Cinema IO