Post on 09-Feb-2022
transcript
Integrated visualization tools
Stand alone visualization tools
Python shell& matplotlib
Python interface
UALlibrary
C++ interface
Python actor
VisIt actorVisIt plug-in(database reader)
VisItengine
Keplersoftware
Fusiondata
Visualization toolsVisualization toolsfor the ITM infrastructurefor the ITM infrastructure
Python stand alone visualization● The UAL Python interface imports the UAL C data structures as
numpy data structures into the Python environment. It comes as a package where each CPO type corresponds to a Python class, and enables easy creation and manipulation of CPO data.
● The Matplotlib library is used for visualization. It can trace simple
curves in one command, render text and equations with LaTeX, has many image processing tools (contouring, blending, interpolation).
VisIt stand alone visualization● VisIt uses a plug-in mechanism to import new types of databases,
plots or operators. The UAL reader plug-in is based on the C++ UAL interface in order to get data from the UAL, store it in the right VTK data structure, and display it with the VisIt rendering engine. As plug-ins are load dynamically at runtime, using different data sources (UAL, Silo files, NetCDF, XDMF, …) is straightforward.
● Each viewable field requires some topological informations used for choosing the right VTK data structure. This information is given by a new <representation> added to the CPOs XML description.
Python Kepler Actor● Existing Python actor in Kepler is based on Jython (Python in Java)
and does not allow Matplotlib calls. We have implemented a Kepler actor which embed the Python interpretor. It handles calls to both the UAL Python interface and the Matplotlib library.
● This actor takes any kind of CPO as input and a set of Python commands can be written directly into its parameters. It can also take a Python script as input.
● This Python actor comes with ITM version of Kepler since 4.07c.
VisIt Kepler Actor● The VisIt Kepler Actor is based on jvisit (Java interface for VisIt). It
works as a generic actor which can take a database file and a VisIt session as input. A composite actor dedicated to the UAL is built above this generic actor, taken a CPO as input.
http
://w
ww
.euf
oria
-pro
ject
.eu/
JRA4
wor
kpac
kage