Module Expr Str Import alias Import alias identifier ImportFrom alias alias Assign NameStore Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args NameParam NameParam NameParam NameParam defaults TupleLoad Num Num Num body Assign NameStore BinOpSub NameLoad SubscriptLoad NameLoad Index Num Assign NameStore BinOpSub NameLoad SubscriptLoad NameLoad Index Num Assign NameStore BinOpSub NameLoad SubscriptLoad NameLoad Index Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad BinOpPow BinOpAdd BinOpPow NameLoad Num BinOpPow NameLoad Num Num Assign NameStore BinOpPow BinOpAdd BinOpAdd BinOpPow NameLoad Num BinOpPow NameLoad Num BinOpPow NameLoad Num Num Assign NameStore Num Assign NameStore BinOpMult BinOpMult BinOpMult BinOpMult BinOpDiv BinOpMult BinOpDiv Num Num Num BinOpPow BinOpMult Num AttributeLoad NameLoad attr Num BinOpPow BinOpDiv Num NameLoad BinOpDiv Num Num BinOpPow BinOpDiv NameLoad NameLoad Num Call AttributeLoad NameLoad attr BinOpDiv UnaryOpUSub NameLoad BinOpMult Num NameLoad BinOpSub BinOpMult Num BinOpPow Call AttributeLoad NameLoad attr NameLoad Num Num Return NameLoad decorator_list Print Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad TupleLoad Num Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad keyword BinOpDiv Call AttributeLoad NameLoad attr Num keyword TupleLoad Num Num Num Num keyword Str keyword AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword TupleLoad Num Num Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr keyword AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword Num keyword Num Expr Call AttributeLoad NameLoad attr TupleLoad Num Num TupleLoad Num Num TupleLoad Num Num Assign AttributeStore NameLoad attr NameLoad If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr If CompareEq AttributeLoad AttributeLoad NameLoad attr attr Num body Expr Call AttributeLoad NameLoad attr
N/A N/A 
This example demonstrates the use of the Isosurface visual.
 N/A sys N/A numpy np vispy app scene N/A canvas N/A N/A scene SceneCanvas keys interactive N/A view N/A N/A N/A canvas central_widget add_view psi N/A N/A i j k offset N/A N/A 25 25 50 N/A N/A x N/A i N/A offset N/A 0 N/A y N/A j N/A offset N/A 1 N/A z N/A k N/A offset N/A 2 N/A th N/A N/A np arctan2 z N/A N/A N/A x 2 N/A y 2 0.5 N/A r N/A N/A N/A N/A x 2 N/A y 2 N/A z 2 0.5 N/A a0 1 N/A ps N/A N/A N/A N/A N/A N/A N/A 1.0 81.0 1.0 N/A N/A 6.0 N/A np pi 0.5 N/A N/A 1.0 a0 N/A 3 2 N/A N/A r a0 2 N/A N/A np exp N/A N/A r N/A 3 a0 N/A N/A 3 N/A N/A N/A np cos th 2 1 N/A ps N/A N/A Generating scalar field.. N/A data N/A N/A np abs N/A N/A np fromfunction psi N/A 50 50 100 N/A surface N/A N/A N/A scene visuals Isosurface data level N/A N/A N/A data max 4.0 color N/A 0.5 0.6 1 1 shading smooth parent N/A view scene N/A N/A surface transform N/A N/A N/A scene transforms STTransform translate N/A -25 -25 -50 N/A axis N/A N/A N/A scene visuals XYZAxis parent N/A view scene N/A cam N/A N/A scene TurntableCamera elevation 30 azimuth 30 N/A N/A N/A cam set_range N/A -10 10 N/A -10 10 N/A -10 10 N/A N/A view camera cam N/A N/A __name__ __main__ N/A N/A N/A N/A canvas show N/A N/A N/A N/A sys flags interactive 0 N/A N/A N/A N/A app run