-
Notifications
You must be signed in to change notification settings - Fork 0
Visualization Tutorial
Akseli Palén edited this page Apr 18, 2016
·
1 revision
Gazelib provides visualization tools in the subpackage gazelib.visualization
. With it, basic visualization of CommonV1 formatted data is pretty easy:
import gazelib
import gazelib.visualization as gvis
c = gazelib.containers.CommonV1('experiment.common.json')
gvis.common.render_overview(c, 'index.html')
Note that gazelib.visualization
needs to be imported separately because it is a subpackage (instead of submodule).
The render_overview
method creates visualization as an HTML page you can open with your web browser. The method does not understand the semantics of the data, it just draws streams as line graphs and events as Gantt chart to provide a complete view on the contents of the container.