Module Import alias identifier ImportFrom alias Import alias identifier ImportFrom alias identifier Assign NameStore Dict Str Str Num Num Assign NameStore Dict Str Str SubscriptLoad NameLoad Index Str BinOpSub SubscriptLoad NameLoad Index Str BinOpDiv BinOpPow SubscriptLoad NameLoad Index Str Num Num Assign NameStore Str Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Str Num Dict Str Str Str Str Str Num NameLoad NameLoad keyword ListLoad Str keyword ListLoad Str keyword Str Assign NameStore Call NameLoad keyword Str Assign AttributeStore NameLoad attr ListLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad Num Num Assign AttributeStore NameLoad attr Dict Str Str Str Num Num NameLoad Assign AttributeStore NameLoad attr Dict Str Str NameLoad NameLoad Assign AttributeStore NameLoad attr Dict Str Str ListLoad Num Num ListLoad Num Num Assign AttributeStore NameLoad attr Dict Str TupleLoad ListLoad Str Str Str Str Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Str keyword Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Str keyword Num Expr Call AttributeLoad NameLoad attr Num ImportFrom alias identifier Expr Call AttributeLoad NameLoad attr NameLoad Str Str keyword Num Assign NameStore SubscriptLoad Call AttributeLoad NameLoad attr NameLoad keyword Num keyword Num Index Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad keyword Num Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Str Str keyword Num keyword Num keyword Num keyword ListLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad ExtSlice Slice Index Num SubscriptLoad NameLoad ExtSlice Slice Index Num Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad ExtSlice Slice Index Num SubscriptLoad NameLoad ExtSlice Slice Index Num Str Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Str keyword Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr keyword ListLoad Num Num keyword Dict Str ListLoad Num Num keyword Dict Str Num For NameStore Call AttributeLoad NameLoad attr Num Call AttributeLoad NameLoad attr Num Num Num body Expr Call AttributeLoad NameLoad attr keyword Dict Str NameLoad keyword ListLoad Num BinOpAdd SubscriptLoad AttributeLoad NameLoad attr Index Num Num Assign NameStore Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Assign TupleStore NameStore NameStore NameStore SubscriptLoad NameLoad Slice Num Expr Call AttributeLoad NameLoad attr SubscriptLoad SubscriptLoad NameLoad Index Str Slice NameLoad BinOpAdd NameLoad Num SubscriptLoad SubscriptLoad NameLoad Index Str Slice NameLoad BinOpAdd NameLoad Num keyword BinOpMod Str NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad Str Str keyword Num keyword Num keyword Num keyword ListLoad NameLoad Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad ExtSlice Slice Index Num SubscriptLoad NameLoad ExtSlice Slice Index Num Str keyword Num Expr Call AttributeLoad NameLoad attr SubscriptLoad NameLoad ExtSlice Slice Index Num SubscriptLoad NameLoad ExtSlice Slice Index Num Str keyword Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr keyword Num Expr Call AttributeLoad NameLoad attr
N/A N/A PyDSTool dst PyDSTool args N/A numpy np matplotlib pyplot plt N/A pars N/A eps a 0.01 0.5 N/A icdict N/A x y N/A pars N/A a N/A N/A pars N/A a N/A N/A N/A pars N/A a 3 3 N/A xstr (y - (x*x*x/3 - x))/eps N/A ystr a - x N/A event_x_a N/A N/A dst makeZeroCrossEvent x-a 0 N/A name eventtol term active event_x_a 1e-06 False True varnames N/A x parnames N/A a targetlang python N/A DSargs N/A args name vanderpol N/A N/A DSargs events N/A event_x_a N/A N/A DSargs pars pars N/A N/A DSargs tdata N/A 0 3 N/A N/A DSargs algparams N/A max_pts init_step stiff 3000 0.02 True N/A N/A DSargs varspecs N/A x y xstr ystr N/A N/A DSargs xdomain N/A x y N/A -2.2 2.5 N/A -2 2 N/A N/A DSargs fnspecs N/A Jacobian N/A N/A t x y [[(1-x*x)/eps, 1/eps ],
                                    [ -1,  0 ]] N/A N/A DSargs ics icdict N/A vdp N/A N/A dst Vode_ODEsystem DSargs N/A traj N/A N/A vdp compute test_traj N/A pts N/A N/A traj sample N/A evs N/A N/A traj getEvents event_x_a N/A N/A N/A plt figure 1 N/A N/A N/A plt plot N/A pts N/A t N/A pts N/A x b linewidth 2 N/A N/A N/A plt plot N/A pts N/A t N/A pts N/A y r linewidth 2 N/A N/A N/A plt figure 2 PyDSTool.Toolbox phaseplane pp N/A N/A N/A pp plot_PP_vf vdp x y scale_exp -1 N/A fp_coord N/A N/A N/A pp find_fixedpoints vdp n 4 eps 1e-08 N/A 0 N/A fp N/A N/A pp fixedpoint_2D vdp N/A N/A dst Point fp_coord eps 1e-08 N/A N/A nulls_x nulls_y N/A N/A pp find_nullclines vdp x y n 3 eps 1e-08 max_step 0.1 fps N/A fp_coord N/A N/A N/A pp plot_PP_fps fp N/A N/A N/A plt plot N/A nulls_x N/A N/A N/A 0 N/A nulls_x N/A N/A N/A 1 b N/A N/A N/A plt plot N/A nulls_y N/A N/A N/A 0 N/A nulls_y N/A N/A N/A 1 g N/A N/A N/A plt plot N/A pts N/A x N/A pts N/A y k-o linewidth 2 N/A N/A N/A plt plot N/A evs N/A x N/A evs N/A y rs N/A N/A N/A plt axis tight N/A N/A N/A plt title Phase plane N/A N/A N/A plt xlabel x N/A N/A N/A plt ylabel y N/A N/A N/A plt figure 3 N/A N/A N/A vdp set tdata N/A 0 30 xdomain N/A y N/A -8 8 algparams N/A init_step 0.05 N/A eps N/A N/A np power 10 N/A N/A np linspace -2 1.25 6 N/A N/A N/A N/A vdp set pars N/A eps eps tdata N/A 0 N/A N/A N/A vdp tdata N/A 1 40 N/A traj N/A N/A vdp compute N/A eps_%.4f eps N/A pts N/A N/A traj sample N/A event_dict N/A N/A N/A pts labels by_label N/A Event:event_x_a N/A indices N/A N/A np sort N/A N/A event_dict keys N/A N/A ix1 ix2 ix3 N/A indices N/A -3 N/A N/A N/A plt plot N/A N/A pts N/A x N/A ix1 N/A ix3 1 N/A N/A pts N/A y N/A ix1 N/A ix3 1 label N/A %.3f eps N/A N/A nulls_x nulls_y N/A N/A pp find_nullclines vdp x y n 3 eps 1e-08 max_step 0.2 fps N/A fp_coord N/A N/A N/A plt plot N/A nulls_x N/A N/A N/A 0 N/A nulls_x N/A N/A N/A 1 k lw 2 N/A N/A N/A plt plot N/A nulls_y N/A N/A N/A 0 N/A nulls_y N/A N/A N/A 1 k lw 2 N/A N/A N/A pp plot_PP_fps fp N/A N/A N/A plt axis tight N/A N/A N/A plt title Phase portrait as $\epsilon$ varies N/A N/A N/A plt xlabel x N/A N/A N/A plt ylabel y N/A N/A N/A plt legend loc 3 N/A N/A N/A plt show