-
Notifications
You must be signed in to change notification settings - Fork 0
/
__init__.py
68 lines (53 loc) · 2.08 KB
/
__init__.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# -*- coding: utf-8 -*-
# Copyright (C) 2012, Almar Klein
#
# Visvis is distributed under the terms of the (new) BSD License.
# The full license can be found in 'license.txt'.
""" Package visvis
Visvis is a pure Python library for visualization of 1D to 4D data in an
object oriented way. Essentially, visvis is an object oriented layer of
Python on top of OpenGl, thereby combining the power of OpenGl with the
usability of Python. A Matlab-like interface in the form of a set of
functions allows easy creation of objects (e.g. plot(), imshow(), volshow(),
surf()).
With visvis a range of different data can be visualized by simply adding
world objects to a scene (or axes). These world objects can be anything
from plots (lines with markers), to images, 3D rendered volumes,
shaded meshes, or you can program your own world object class. If required,
these data can also be moved in time.
Visvis can be used in Python scripts, interactive Python sessions (as
with IPython or IEP) and can be embedded in applications.
Requirements:
* Numpy
* PyOpengl
* A backend GUI toolkit (PyQt4, wxPython, GTK, fltk)
* (optionally, to enable reading and writing of images) PIL
usage:
import visvis as vv
All wobjects, wibjects and functions are present in the visvis
namespace. For clean lists, see vv.wibjects, vv.wobjects, or vv.functions,
respectively.
For more help, see ...
* the docstrings
* the examples in the examples dir
* the examples at the bottom of the function modules (in the functions dir)
* the online docs: http://code.google.com/p/visvis/
"""
__version__ = '1.6'
# Loose sub-modules and sub-packages
from visvis import guisupport
from visvis.pypoints import Point, Pointset, Aarray, Quaternion
from visvis import ssdf
from visvis import vvmovie
from visvis import io
# The core
from visvis.core import *
# The wibjects and wobjects
from visvis.wibjects import *
from visvis.wobjects import *
# Expose some more classes
from visvis.wobjects.polygonalModeling import BaseMesh
from visvis.processing.statistics import StatData
# Do this last
import backends
from functions import *