Module ImportFrom alias ImportFrom alias Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Num Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad TupleLoad Num Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Num Str Assign SubscriptStore NameLoad Slice Num Num Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad TupleLoad Num Num Num Num Return TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr TupleLoad Num Num Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr keyword Num keyword TupleLoad Num Num Num keyword Num keyword Num Assign NameStore Call NameLoad keyword Str Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword TupleLoad Num Num Num keyword TupleLoad Num Num Num Assign AttributeStore AttributeLoad NameLoad attr attr Num Assign NameStore Call NameLoad keyword Str Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr keyword TupleLoad Num Num Num Assign AttributeStore AttributeLoad NameLoad attr attr Num Assign NameStore Call NameLoad keyword Str Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr TupleLoad Num Num Num Assign AttributeStore AttributeLoad NameLoad attr attr Num Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Return decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Return decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Num Assign NameStore SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Index Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr TupleLoad Num Num Num NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr TupleLoad Num Num Num NameLoad Assign NameStore SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Index Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr TupleLoad Num Num Num NameLoad Assign NameStore SubscriptLoad AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index Num attr Index Num Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr TupleLoad Num Num Num NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr Call NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Slice NameLoad Expr Call AttributeLoad NameLoad attr decorator_list decorator_list If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr
N/A os.path abspath io BytesIO N/A copy N/A numpy N/A unittest mayavi.core.null_engine NullEngine mayavi.sources.array_source ArraySource mayavi.modules.outline Outline mayavi.modules.streamline Streamline TestStreamline N/A N/A unittest TestCase N/A make_data N/A N/A self N/A N/A N/A Trivial data -- creates an elementatry scalar field and a
        constant vector field along the 'x' axis. N/A s N/A N/A numpy arange 0.0 10.0 0.01 N/A s N/A N/A numpy reshape s N/A 10 10 10 N/A s N/A N/A numpy transpose s N/A v N/A N/A numpy zeros 3000 d N/A N/A v N/A 1 3 1.0 N/A v N/A N/A numpy reshape v N/A 10 10 10 3 N/A N/A s v N/A setUp N/A N/A self N/A N/A N/A Initial setting up of test fixture, automatically called by TestCase before any other test method is invoked N/A e N/A NullEngine N/A N/A N/A e start N/A s N/A N/A e new_scene N/A N/A self e e N/A N/A self s s N/A d N/A ArraySource N/A N/A sc vec N/A N/A self make_data N/A N/A d origin N/A -5 -5 -5 N/A N/A d scalar_data sc N/A N/A d vector_data vec N/A N/A N/A e add_source d N/A o N/A Outline N/A N/A N/A e add_module o N/A st N/A Streamline N/A N/A N/A e add_module st N/A widget N/A N/A st seed widget N/A N/A N/A widget set radius 1.0 center N/A -4.0 -4.0 -4.0 theta_resolution 4 phi_resolution 4 N/A st N/A Streamline streamline_type ribbon N/A seed N/A st seed N/A N/A seed widget N/A N/A seed widget_list N/A 1 N/A N/A N/A e add_module st N/A N/A N/A N/A seed widget set point1 N/A -5.0 -4.5 -4.0 point2 N/A -5.0 -4.5 4.0 N/A N/A N/A st ribbon_filter width 0.25 N/A st N/A Streamline streamline_type tube N/A seed N/A st seed N/A N/A seed widget N/A N/A seed widget_list N/A 2 N/A N/A N/A e add_module st N/A N/A N/A N/A seed widget set center N/A -5.0 1.5 -2.5 N/A N/A N/A st tube_filter radius 0.15 N/A st N/A Streamline streamline_type tube N/A seed N/A st seed N/A N/A seed widget N/A N/A seed widget_list N/A 3 N/A N/A N/A e add_module st N/A N/A N/A seed widget position N/A -5.0 3.75 3.75 N/A N/A N/A st tube_filter radius 0.2 N/A N/A self st st N/A N/A self scene N/A e current_scene N/A N/A tearDown N/A N/A self N/A N/A N/A For necessary clean up, automatically called by TestCase after the test methods have been invoked N/A N/A N/A N/A self e stop N/A N/A check N/A N/A self N/A N/A N/A Do the actual testing. N/A s N/A self scene N/A src N/A N/A s children N/A 0 N/A st N/A N/A N/A N/A src children N/A 0 children N/A 2 N/A N/A N/A self assertEqual N/A st streamline_type ribbon N/A N/A N/A self assertEqual N/A N/A st ribbon_filter width 0.25 N/A N/A N/A self assertEqual N/A N/A st seed widget N/A N/A N/A st seed widget_list N/A 1 N/A N/A N/A self assertEqual N/A N/A numpy allclose N/A N/A N/A st seed widget point1 N/A -5.0 -4.5 -4.0 True N/A N/A N/A self assertEqual N/A N/A numpy allclose N/A N/A N/A st seed widget point2 N/A -5.0 -4.5 4.0 True N/A st N/A N/A N/A N/A src children N/A 0 children N/A 3 N/A N/A N/A self assertEqual N/A st streamline_type tube N/A N/A N/A self assertEqual N/A N/A st tube_filter radius 0.15 N/A N/A N/A self assertEqual N/A N/A st seed widget N/A N/A N/A st seed widget_list N/A 2 N/A N/A N/A self assertEqual N/A N/A numpy allclose N/A N/A N/A st seed widget center N/A -5.0 1.5 -2.5 True N/A st N/A N/A N/A N/A src children N/A 0 children N/A 4 N/A N/A N/A self assertEqual N/A st streamline_type tube N/A N/A N/A self assertEqual N/A N/A st tube_filter radius 0.2 N/A N/A N/A self assertEqual N/A N/A st seed widget N/A N/A N/A st seed widget_list N/A 3 N/A N/A N/A self assertEqual N/A N/A numpy allclose N/A N/A N/A st seed widget position N/A -5.0 3.75 3.75 True N/A test_streamline N/A N/A self N/A N/A N/A Test if the test fixture works N/A N/A N/A self check N/A test_components_changed N/A N/A self N/A N/A N/A Test if the modules respond correctly when the components
           are changed. N/A st N/A self st N/A tf N/A st tube_filter N/A N/A st tube_filter N/A N/A tf __class__ N/A N/A st tube_filter tf N/A N/A st ribbon_filter N/A N/A N/A st ribbon_filter __class__ N/A seed N/A st seed N/A N/A st seed N/A N/A seed __class__ N/A N/A st seed seed N/A N/A st actor N/A N/A N/A st actor __class__ N/A tracer N/A st stream_tracer N/A N/A st stream_tracer N/A N/A tracer __class__ N/A N/A st stream_tracer tracer N/A N/A N/A self check N/A test_save_and_restore N/A N/A self N/A N/A N/A Test if saving a visualization and restoring it works. N/A engine N/A self e N/A scene N/A self scene N/A f N/A BytesIO N/A N/A f name N/A abspath test.mv2 N/A N/A N/A engine save_visualization f N/A N/A N/A f seek 0 N/A N/A N/A engine close_scene scene N/A N/A N/A engine load_visualization f N/A N/A self scene N/A engine current_scene N/A N/A N/A self check N/A test_deepcopied N/A N/A self N/A N/A N/A Test if the MayaVi2 visualization can be deep-copied. N/A s N/A self scene N/A sources N/A s children N/A N/A s children N/A N/A N/A N/A N/A s children extend sources N/A N/A N/A self check N/A sources1 N/A N/A copy deepcopy sources N/A N/A N/A s children N/A sources1 N/A N/A N/A self check N/A N/A N/A N/A __name__ __main__ N/A N/A N/A N/A unittest main