Simphony-Mayavi¶
A plugin-library for the Simphony framework (http://www.simphony-project.eu/) to provide visualization support of the CUDS highlevel components.
Repository¶
Simphony-mayavi is hosted on github: https://github.com/simphony/simphony-mayavi
Requirements¶
- mayavi >= 4.4.0
- simphony >= 0.1.1
Optional requirements¶
To support the documentation built you need the following packages:
- sphinx >= 1.2.3
- sectiondoc commit 8a0c2be, https://github.com/enthought/sectiondoc
- trait-documenter, https://github.com/enthought/trait-documenter
- mock
Alternative running pip install -r doc_requirements should install the minimum necessary components for the documentation built.
Installation¶
The package requires python 2.7.x, installation is based on setuptools:
# build and install
python setup.py install
or:
# build for in-place development
python setup.py develop
Documentation¶
To build the documentation in the doc/build directory run:
python setup.py build_sphinx
Note
- One can use the –help option with a setup.py command to see all available options.
- The documentation will be saved in the
./build
directory.
Usage¶
After installation the user should be able to import the mayavi
visualization plugin module by:
from simphony.visualization import mayavi_tools
mayavi_tools.show(cuds)
Directory structure¶
There are four subpackages:
- simphony-mayavi – Main package code.
- examples – Holds examples of visualizing simphony objects with simphony-mayavi.
- doc – Documentation related files:
- source – Sphinx rst source files
- build – Documentation build directory, if documentation has been generated
using the
make
script in thedoc
directory.
API Reference¶
Simphony-Mayavi¶
A plugin-library for the Simphony framework (http://www.simphony-project.eu/) to provide visualization support of the CUDS highlevel components.
Repository¶
Simphony-mayavi is hosted on github: https://github.com/simphony/simphony-mayavi
Requirements¶
- mayavi >= 4.4.0
- simphony >= 0.1.1
Optional requirements¶
To support the documentation built you need the following packages:
- sphinx >= 1.2.3
- sectiondoc commit 8a0c2be, https://github.com/enthought/sectiondoc
- trait-documenter, https://github.com/enthought/trait-documenter
- mock
Alternative running pip install -r doc_requirements should install the minimum necessary components for the documentation built.
Installation¶
The package requires python 2.7.x, installation is based on setuptools:
# build and install
python setup.py install
or:
# build for in-place development
python setup.py develop
Documentation¶
To build the documentation in the doc/build directory run:
python setup.py build_sphinx
Note
- One can use the –help option with a setup.py command to see all available options.
- The documentation will be saved in the
./build
directory.
Usage¶
After installation the user should be able to import the mayavi
visualization plugin module by:
from simphony.visualization import mayavi_tools
mayavi_tools.show(cuds)
Directory structure¶
There are four subpackages:
- simphony-mayavi – Main package code.
- examples – Holds examples of visualizing simphony objects with simphony-mayavi.
- doc – Documentation related files:
- source – Sphinx rst source files
- build – Documentation build directory, if documentation has been generated
using the
make
script in thedoc
directory.