API Reference for Enthought Tool Suite 3.0.1
Utility functions for testing experiments
SAMPLE_CODE_1 = """
def foo(x,y):
return x+y
d = foo(a,b)
"""
SAMPLE_CODE_2 = """
def bar(p, q, r):
return p + q - r / 2.0
d = bar(a,b,c)
"""
Returns a project with two contexts and two experiments.
Returns a simple experiment with a basic context in it
Returns a simple project with a single experiment and a single context
| Local name | Refers to |
|---|---|
| DataContext | enthought.contexts.data_context.DataContext |
| Experiment | enthought.block_canvas.app.experiment.Experiment |
| Project | enthought.block_canvas.app.project.Project |
© Copyright 2002-2008 Enthought, Inc.