chaco.examples.demo.advanced.data_cube module

Allows isometric viewing of a 3D data cube.

Click or click-drag in any data window to set the slice to view.

class chaco.examples.demo.advanced.data_cube.BrainModel(*args, **kwargs)

Bases: chaco.examples.demo.advanced.data_cube.Model

compute_model()
class chaco.examples.demo.advanced.data_cube.Demo

Bases: enable.examples._example_support.DemoFrame

slice_x = 10
slice_y = 10
slice_z = 10
class chaco.examples.demo.advanced.data_cube.ImageIndexTool(component=None, **traits)

Bases: enable.base_tool.BaseTool

A tool to set the slice of a cube based on the user’s mouse movements or clicks.

normal_left_down(event)
normal_mouse_move(event)
normal_mouse_wheel(event)
normal_right_down(event)
class chaco.examples.demo.advanced.data_cube.Model(*args, **kwargs)

Bases: traits.has_traits.HasTraits

compute_model(event=None)
chaco.examples.demo.advanced.data_cube.cleanup_data()
chaco.examples.demo.advanced.data_cube.download_data()