Module Import alias Import alias identifier ImportFrom alias Import alias identifier Import alias identifier ImportFrom alias Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str ImportFrom alias ImportFrom alias alias ImportFrom alias alias Assign NameStore AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str NameLoad ClassDef bases body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad Num keyword NameLoad keyword NameLoad Assign AttributeStore NameLoad attr Call NameLoad Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr Str ListLoad Num Num Num Num Assign AttributeStore AttributeLoad NameLoad attr attr Dict AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr AttributeLoad Call NameLoad Num keyword NameLoad keyword NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr Set AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Assert CompareIs AttributeLoad NameLoad attr NameLoad Assert CompareIs AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assert CompareIs AttributeLoad NameLoad attr NameLoad Assert CompareEq AttributeLoad NameLoad attr Call NameLoad Assert CompareEq AttributeLoad NameLoad attr Call NameLoad Assert CompareEq AttributeLoad NameLoad attr Call NameLoad Assert CompareEq AttributeLoad NameLoad attr Call NameLoad Assign NameStore Dict Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Num Num Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword NameLoad keyword Dict AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num keyword NameLoad keyword AttributeLoad NameLoad attr Assert CompareIs AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assert CompareEq Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Call AttributeLoad NameLoad attr Num Assert CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Call AttributeLoad NameLoad attr Assert CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword NameLoad keyword Dict Str Str ListLoad AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Num keyword NameLoad keyword AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body If Call NameLoad Str body Assert CompareEq AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Slice orelse Assert CompareEq AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body If Call NameLoad Str body Assert CompareEq AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Slice orelse Assert CompareEq AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body If Call NameLoad Str body Assert CompareEq AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Slice SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Slice orelse Assert CompareEq AttributeLoad AttributeLoad NameLoad attr attr BinOpAdd AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Num Num Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword NameLoad Assert CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr NameLoad Assert CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index Call AttributeLoad NameLoad attr Str Num Assert CompareEq Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Num Assign SubscriptStore AttributeLoad NameLoad attr Index Call AttributeLoad NameLoad attr Str Num Assign AttributeStore NameLoad attr ListLoad Num Num With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Dict Call AttributeLoad NameLoad attr Str Num With Call AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Dict Call AttributeLoad NameLoad attr Str Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assert CompareEq AttributeLoad NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Dict Call AttributeLoad NameLoad attr Str Num Assert CompareEq Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Num Assign SubscriptStore AttributeLoad NameLoad attr Index Call AttributeLoad NameLoad attr Str Num Assert CompareEq Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Num Assign SubscriptStore AttributeLoad NameLoad attr Index Call AttributeLoad NameLoad attr Str Num Assign AttributeStore NameLoad attr ListLoad Num Num With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index Call AttributeLoad NameLoad attr Str BinOpMult Num Call AttributeLoad NameLoad attr Num Assign NameStore Call NameLoad AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Dict Call AttributeLoad NameLoad attr Str Num With Call AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Dict Call AttributeLoad NameLoad attr Str Num Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Num Num Num Assign AttributeStore NameLoad attr Dict SubscriptLoad NameLoad Index Num TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Lambda arguments args NameParam NameParam defaults Call AttributeLoad NameLoad attr NameLoad Lambda arguments args NameParam NameParam defaults Call AttributeLoad NameLoad attr ListLoad Num Num BinOpMult Num Call AttributeLoad NameLoad attr Num Assign SubscriptStore AttributeLoad NameLoad attr Index SubscriptLoad NameLoad Index Num Num Assign AttributeStore NameLoad attr NameLoad With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad NameLoad attr Index SubscriptLoad NameLoad Index Num Num Assign SubscriptStore AttributeLoad NameLoad attr Index TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Num Assign AttributeStore NameLoad attr NameLoad With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad Call NameLoad NameLoad ListLoad Num Num Num Num Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Dict Str Str NameLoad ListLoad Num Num Num Num Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad With Call AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Dict Str Str ListLoad Call AttributeLoad NameLoad attr Str ListLoad Num With Call AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Dict Str Str ListLoad Call AttributeLoad NameLoad attr Str ListLoad Num Num With Call AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr Dict Str Str ListLoad Call AttributeLoad NameLoad attr Str ListLoad Num Assign AttributeStore NameLoad attr Dict Str Str ListLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num ListLoad Num Num Num Num Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad Num keyword NameLoad Assign AttributeStore NameLoad attr Dict Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str Num Num Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore ListLoad Num Num Num Num Num Num Num Num Num Num Assign NameStore ListLoad Num Num Num Num Num Assign NameStore ListLoad Num Num Num Num Num Assign NameStore Num Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad With Call AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr NameLoad With Call AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr NameLoad With Call AttributeLoad NameLoad attr NameLoad body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assert CompareEq AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr NameLoad Assert CompareIs AttributeLoad AttributeLoad NameLoad attr attr NameLoad With Call AttributeLoad NameLoad attr NameLoad body Assign AttributeStore AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Dict Call AttributeLoad NameLoad attr Str Num Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword NameLoad Assert CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assert CompareEq Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword ListLoad Num Num Assign SubscriptStore AttributeLoad NameLoad attr Index Call AttributeLoad NameLoad attr Str Num Assert CompareEq Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Num Assign SubscriptStore AttributeLoad NameLoad attr Index Call AttributeLoad NameLoad attr Str Num With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr With Call AttributeLoad NameLoad attr NameLoad body Assign AttributeStore AttributeLoad NameLoad attr attr Dict Call AttributeLoad NameLoad attr Str Num With Call AttributeLoad NameLoad attr NameLoad body Assign AttributeStore AttributeLoad NameLoad attr attr Dict Call AttributeLoad NameLoad attr Str Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Assert CompareIs NameLoad AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore TupleLoad AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr Num Num NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr ListLoad Num Num Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad AttributeLoad NameLoad attr Assign NameStore TupleLoad AttributeLoad AttributeLoad NameLoad attr attr DictComp NameLoad Num comprehension NameStore AttributeLoad NameLoad attr Assign NameStore TupleLoad Call NameLoad Call NameLoad NameLoad ListLoad Num Num Num Num DictComp NameLoad Num comprehension NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Num NameLoad Assign NameStore TupleLoad Dict SubscriptLoad NameLoad Index Num TupleLoad SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Lambda arguments args NameParam NameParam defaults Call AttributeLoad NameLoad attr Num Lambda arguments args NameParam NameParam defaults Call AttributeLoad NameLoad attr ListLoad Num Num BinOpMult Num Call AttributeLoad NameLoad attr Num DictComp NameLoad Num comprehension NameStore AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Num NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Num Num Num Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad NameLoad attr keyword Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr Str ListLoad Num Num Num Num Assign NameStore Dict Call AttributeLoad NameLoad attr Str Num Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr ListLoad Num Num AttributeLoad NameLoad attr keyword TupleLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword NameLoad Assign NameStore ListLoad Num Num Assign NameStore Dict Call AttributeLoad NameLoad attr Str Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Num SubscriptLoad NameLoad Index Num Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr keyword TupleLoad Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr keyword Str Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr Str NameLoad Assign NameStore Call NameLoad AttributeLoad NameLoad attr keyword NameLoad With Call AttributeLoad NameLoad attr NameLoad body Expr Call AttributeLoad NameLoad attr keyword Str decorator_list decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign TupleStore NameStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Str Assign TupleStore NameStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Str TupleLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Str TupleLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str BinOpAdd BinOpAdd BinOpMult NameLoad AttributeLoad NameLoad attr BinOpMult NameLoad AttributeLoad NameLoad attr BinOpMult NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str BinOpAdd BinOpAdd BinOpMult Num AttributeLoad NameLoad attr BinOpMult Num AttributeLoad NameLoad attr BinOpMult Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad BinOpMult NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Num Expr Call AttributeLoad NameLoad attr NameLoad BinOpAdd BinOpAdd BinOpMult NameLoad AttributeLoad NameLoad attr BinOpMult NameLoad AttributeLoad NameLoad attr BinOpMult NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad NameLoad Num TupleLoad Call AttributeLoad NameLoad attr NameLoad Num Num Num NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad NameLoad Num TupleLoad Call AttributeLoad NameLoad attr NameLoad Num Num Num NameLoad Assign NameStore ListLoad NameLoad NameLoad Assign NameStore ListLoad TupleLoad NameLoad BinOpMult Num AttributeLoad NameLoad attr Assign NameStore ListLoad BinOpSub NameLoad Call AttributeLoad NameLoad attr BinOpSub NameLoad Call AttributeLoad NameLoad attr BinOpSub NameLoad Call AttributeLoad NameLoad attr BinOpSub NameLoad Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword ListLoad NameLoad NameLoad NameLoad NameLoad keyword ListLoad NameLoad NameLoad NameLoad NameLoad keyword NameLoad Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Assign AttributeStore NameLoad attr Dict TupleLoad NameLoad Call AttributeLoad NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr attr Lambda arguments args NameParam NameParam defaults Call AttributeLoad NameLoad attr ListLoad Num Num Num Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Num Num Num Expr Call AttributeLoad NameLoad attr decorator_list
N/A N/A warnings N/A numpy np numpy testing N/A sympy sm N/A sympy.physics.mechanics me scipy.integrate odeint N/A theano N/A N/A N/A sm external import_module theano system System models multi_mass_spring_damper n_link_pendulum_on_cart utils sympy_equal_to_or_newer_than PyDyImportWarning N/A SYMPY_VERSION N/A sm __version__ N/A N/A N/A warnings simplefilter once PyDyImportWarning TestSystem N/A N/A setup N/A N/A self N/A N/A N/A N/A self sys N/A multi_mass_spring_damper 1 apply_gravity True apply_external_forces True N/A N/A self specified_symbol N/A next N/A iter N/A N/A self sys specifieds_symbols N/A N/A self constant_map N/A dict N/A zip N/A N/A sm symbols m0, k0, c0, g N/A 2.0 1.5 0.5 9.8 N/A N/A N/A self sys specifieds N/A N/A self specified_symbol N/A N/A np ones 1 N/A N/A N/A self sys constants N/A self constant_map N/A N/A self kane N/A N/A self sys eom_method N/A N/A self kane_nlink N/A N/A n_link_pendulum_on_cart 3 cart_force True joint_torques True eom_method N/A test_init N/A N/A self N/A N/A N/A sys N/A System N/A self kane N/A N/A N/A sys constants_symbols N/A set N/A N/A sm symbols k0, m0, g, c0 N/A N/A N/A sys specifieds_symbols N/A N/A self specified_symbol N/A N/A N/A sys states N/A N/A me dynamicsymbols x0, v0 N/A N/A N/A sys evaluate_ode_function None N/A N/A N/A sys eom_method N/A self kane N/A N/A N/A sys ode_solver odeint N/A N/A N/A sys specifieds N/A dict N/A N/A N/A sys initial_conditions N/A dict N/A N/A N/A sys constants N/A dict N/A N/A N/A sys times N/A list N/A ic N/A N/A N/A me dynamicsymbols x0 N/A N/A me dynamicsymbols v0 3.6 4.3 N/A sys N/A System N/A self kane ode_solver odeint specifieds N/A N/A self specified_symbol N/A N/A np ones 1 initial_conditions ic constants N/A self constant_map N/A N/A N/A sys eom_method N/A self kane N/A N/A N/A list N/A N/A N/A sys specifieds keys N/A N/A N/A me dynamicsymbols f0 N/A N/A N/A testing assert_allclose N/A list N/A N/A N/A sys specifieds values N/A N/A N/A np ones 1 N/A N/A N/A N/A N/A sys initial_conditions keys N/A N/A ic keys N/A N/A N/A testing assert_allclose N/A list N/A N/A N/A sys initial_conditions values N/A list N/A N/A ic values N/A N/A N/A N/A N/A sys constants keys N/A N/A N/A self constant_map keys N/A N/A N/A testing assert_allclose N/A list N/A N/A N/A sys constants values N/A list N/A N/A N/A self constant_map values N/A sys N/A System N/A self kane ode_solver odeint specifieds N/A symbols values N/A N/A self specified_symbol N/A N/A np ones 1 initial_conditions ic constants N/A self constant_map N/A test_coordinates N/A N/A self N/A N/A N/A N/A sympy_equal_to_or_newer_than 0.7.6 N/A N/A N/A N/A N/A self sys coordinates N/A N/A N/A self kane q N/A N/A N/A N/A N/A N/A self sys coordinates N/A N/A self kane _q N/A test_speeds N/A N/A self N/A N/A N/A N/A sympy_equal_to_or_newer_than 0.7.6 N/A N/A N/A N/A N/A self sys speeds N/A N/A N/A self kane u N/A N/A N/A N/A N/A N/A self sys speeds N/A N/A self kane _u N/A test_states N/A N/A self N/A N/A N/A N/A sympy_equal_to_or_newer_than 0.7.6 N/A N/A N/A N/A N/A self sys states N/A N/A N/A N/A self kane q N/A N/A N/A N/A self kane u N/A N/A N/A N/A N/A N/A self sys states N/A N/A N/A self kane _q N/A N/A self kane _u N/A test_constants N/A N/A self N/A N/A N/A constants N/A N/A N/A sm symbols m0 N/A N/A sm symbols c0 3.0 4.5 N/A sys N/A System N/A self kane constants constants N/A N/A N/A N/A N/A sys constants keys N/A N/A constants keys N/A N/A N/A testing assert_allclose N/A list N/A N/A N/A sys constants values N/A list N/A N/A constants values N/A sys N/A System N/A self kane N/A N/A N/A sys constants N/A dict N/A N/A sys constants constants N/A N/A N/A N/A N/A sys constants keys N/A N/A constants keys N/A N/A N/A testing assert_allclose N/A list N/A N/A N/A sys constants values N/A list N/A N/A constants values N/A sys N/A System N/A self kane N/A N/A N/A sys constants N/A N/A N/A sm symbols m0 9.3 N/A N/A N/A list N/A N/A N/A sys constants keys N/A N/A N/A sm symbols m0 N/A N/A N/A testing assert_allclose N/A list N/A N/A N/A sys constants values N/A 9.3 N/A N/A N/A sys constants N/A N/A N/A me dynamicsymbols v0 9.8 N/A N/A sys times N/A 0.0 1.0 N/A N/A N/A testing assert_raises ValueError N/A N/A N/A N/A sys integrate N/A N/A N/A testing assert_raises ValueError N/A N/A N/A sys constants N/A N/A N/A me dynamicsymbols x0 1.3 N/A N/A N/A testing assert_raises ValueError N/A N/A N/A sys constants N/A N/A N/A me dynamicsymbols f0 1.8 N/A test_specifieds N/A N/A self N/A N/A N/A sys N/A System N/A self kane N/A N/A N/A sys specifieds N/A dict N/A N/A sys specifieds N/A N/A N/A me dynamicsymbols f0 5.9 N/A N/A N/A list N/A N/A N/A sys specifieds keys N/A N/A N/A me dynamicsymbols f0 N/A N/A N/A testing assert_allclose N/A list N/A N/A N/A sys specifieds values N/A 5.9 N/A N/A N/A sys specifieds N/A N/A N/A me dynamicsymbols f0 5.1 N/A N/A N/A list N/A N/A N/A sys specifieds keys N/A N/A N/A me dynamicsymbols f0 N/A N/A N/A testing assert_allclose N/A list N/A N/A N/A sys specifieds values N/A 5.1 N/A N/A N/A sys specifieds N/A N/A N/A me dynamicsymbols v0 3.5 N/A N/A sys times N/A 0.0 1.0 N/A N/A N/A testing assert_raises ValueError N/A N/A N/A N/A sys integrate N/A sys N/A System N/A self kane N/A N/A N/A sys specifieds N/A N/A N/A me dynamicsymbols f0 N/A 3.1 N/A N/A np ones 2 N/A sys N/A System N/A self kane N/A N/A N/A testing assert_raises ValueError N/A N/A N/A sys specifieds N/A N/A N/A sm symbols m0 5.4 N/A N/A N/A testing assert_raises ValueError N/A N/A N/A sys specifieds N/A N/A N/A me dynamicsymbols x0 5.1 N/A sys N/A System N/A self kane_nlink N/A spec_syms N/A list N/A sys specifieds_symbols N/A times N/A N/A np linspace 0 0.5 10 N/A N/A sys specifieds N/A N/A spec_syms N/A 0 N/A N/A spec_syms N/A 3 N/A spec_syms N/A 1 N/A spec_syms N/A 2 N/A N/A N/A x t N/A N/A N/A np ones t N/A N/A N/A x t N/A N/A N/A np array N/A 4 2 N/A 3.0 N/A N/A np ones 1 N/A N/A N/A sys specifieds N/A N/A spec_syms N/A 1 7.1 N/A N/A sys times times N/A N/A N/A testing assert_raises ValueError N/A N/A N/A N/A sys integrate N/A sys N/A System N/A self kane_nlink N/A N/A N/A sys specifieds N/A N/A spec_syms N/A 0 3.7 N/A N/A N/A sys specifieds N/A N/A N/A spec_syms N/A 0 N/A spec_syms N/A 3 5.8 N/A N/A sys times times N/A N/A N/A testing assert_raises ValueError N/A N/A N/A N/A sys integrate N/A N/A N/A N/A sys specifieds pop N/A spec_syms N/A 0 N/A N/A N/A sys integrate N/A sys N/A System N/A self kane_nlink N/A spec_syms N/A list N/A sys specifieds_symbols N/A N/A sys specifieds N/A dict N/A zip spec_syms N/A 1.0 2.0 3.0 4.0 N/A N/A sys times times N/A x_01 N/A N/A sys integrate N/A N/A sys specifieds N/A symbols values spec_syms N/A 1.0 2.0 3.0 4.0 N/A x_02 N/A N/A sys integrate N/A N/A N/A testing assert_allclose x_01 x_02 N/A N/A N/A testing assert_raises ValueError N/A N/A N/A sys specifieds N/A symbols values N/A N/A N/A sm symbols m1 N/A 1.0 N/A N/A N/A testing assert_raises ValueError N/A N/A N/A sys specifieds N/A symbols values N/A N/A N/A sm symbols T2, T2 N/A 1 2 N/A N/A N/A testing assert_raises ValueError N/A N/A N/A sys specifieds N/A symbols values N/A N/A N/A me dynamicsymbols T2 N/A 1.0 N/A N/A sys specifieds N/A symbols values N/A N/A spec_syms N/A 1 N/A spec_syms N/A 0 N/A spec_syms N/A 2 N/A spec_syms N/A 3 N/A 2.0 1.0 3.0 4.0 N/A N/A N/A sys generate_ode_function N/A x_04 N/A N/A sys integrate N/A N/A N/A testing assert_allclose x_01 x_04 N/A sys N/A multi_mass_spring_damper 1 apply_gravity True N/A N/A sys initial_conditions N/A N/A N/A me dynamicsymbols x0 N/A N/A me dynamicsymbols v0 0.1 -1.0 N/A N/A sys times times N/A N/A N/A sys integrate N/A test_times N/A N/A self N/A N/A N/A times1 N/A 0 1 2 3 4 5 6 7 8 9 N/A times2 N/A 0 -2 7 3 -5 N/A times3 N/A 1 2 7 4 5 N/A times4 4 N/A sys N/A System N/A self kane times times1 N/A N/A N/A testing assert_allclose N/A sys times times1 N/A N/A N/A testing assert_raises ValueError N/A N/A N/A sys times times2 N/A N/A N/A testing assert_raises ValueError N/A N/A N/A sys times times3 N/A N/A N/A testing assert_raises TypeError N/A N/A N/A sys times times4 N/A test_ode_solver N/A N/A self N/A N/A N/A N/A N/A N/A self sys ode_solver odeint N/A N/A N/A self sys ode_solver max N/A N/A N/A N/A self sys ode_solver max N/A N/A N/A testing assert_raises ValueError N/A N/A N/A N/A self sys ode_solver 5 N/A test_initial_conditions N/A N/A self N/A N/A N/A ic N/A N/A N/A me dynamicsymbols v0 6.1 N/A sys N/A System N/A self kane initial_conditions ic N/A N/A N/A N/A N/A sys initial_conditions keys N/A N/A ic keys N/A N/A N/A testing assert_allclose N/A list N/A N/A N/A sys initial_conditions values N/A list N/A N/A ic values N/A sys N/A System N/A self kane N/A N/A sys initial_conditions ic N/A N/A N/A N/A N/A sys initial_conditions keys N/A N/A ic keys N/A N/A N/A testing assert_allclose N/A list N/A N/A N/A sys initial_conditions values N/A list N/A N/A ic values N/A sys N/A System N/A self kane times N/A 0.0 1.0 N/A N/A N/A sys initial_conditions N/A N/A N/A me dynamicsymbols x0 5.8 N/A N/A N/A list N/A N/A N/A sys initial_conditions keys N/A N/A N/A me dynamicsymbols x0 N/A N/A N/A testing assert_allclose N/A list N/A N/A N/A sys initial_conditions values N/A 5.8 N/A N/A N/A sys initial_conditions N/A N/A N/A sm symbols m0 7.9 N/A N/A N/A testing assert_raises ValueError N/A N/A N/A N/A sys integrate N/A N/A N/A testing assert_raises ValueError N/A N/A N/A N/A self sys initial_conditions N/A N/A N/A sm symbols k0 0.4 N/A N/A N/A testing assert_raises ValueError N/A N/A N/A N/A self sys initial_conditions N/A N/A N/A sm symbols f0 7.3 N/A test_generate_ode_function N/A N/A self N/A N/A N/A rhs N/A N/A N/A self sys generate_ode_function N/A N/A rhs N/A N/A self sys evaluate_ode_function N/A args N/A N/A N/A self sys specifieds N/A N/A self sys constants N/A actual N/A rhs N/A N/A np ones 2 0.0 args N/A N/A N/A testing assert_allclose actual N/A N/A np array N/A 1 9.3 N/A sys N/A System N/A self kane_nlink N/A spec_syms N/A list N/A sys specifieds_symbols N/A rhs N/A N/A sys generate_ode_function N/A x N/A N/A np array N/A N/A N/A np random random N/A len N/A sys states N/A args N/A N/A N/A self sys specifieds N/A k 1.0 N/A k N/A sys constants_symbols N/A args N/A N/A dict N/A zip spec_syms N/A 1.0 2.0 3.0 4.0 N/A k 1.0 N/A k N/A sys constants_symbols N/A xd_01 N/A rhs x 0.0 args N/A args N/A N/A N/A spec_syms N/A 0 N/A N/A spec_syms N/A 3 N/A spec_syms N/A 1 N/A spec_syms N/A 2 N/A N/A N/A x t N/A N/A N/A np ones 1 N/A N/A N/A x t N/A N/A N/A np array N/A 4 2 N/A 3.0 N/A N/A np ones 1 N/A k 1.0 N/A k N/A sys constants_symbols N/A xd_02 N/A rhs x 0.0 args N/A N/A N/A testing assert_allclose xd_01 xd_02 N/A test_integrate N/A N/A self N/A N/A N/A times N/A N/A np linspace 0 1 100 N/A sys N/A System N/A self kane times times N/A x_01 N/A N/A sys integrate N/A sys N/A System N/A self kane times times N/A N/A N/A sys generate_ode_function generator lambdify N/A x_02 N/A N/A sys integrate N/A N/A N/A testing assert_allclose x_01 x_02 N/A constants_dict N/A dict N/A zip N/A N/A sm symbols m0, k0, c0, g N/A 1.0 1.0 1.0 1.0 N/A specified_dict N/A N/A N/A me dynamicsymbols f0 0.0 N/A x_03 N/A N/A sys ode_solver N/A sys evaluate_ode_function N/A 0 0 N/A sys times args N/A specified_dict constants_dict N/A N/A N/A testing assert_allclose x_02 x_03 N/A sys N/A System N/A self kane times times N/A x0 N/A 5.1 3.7 N/A ic N/A N/A N/A me dynamicsymbols x0 N/A N/A me dynamicsymbols v0 N/A x0 N/A 0 N/A x0 N/A 1 N/A N/A sys initial_conditions ic N/A x_04 N/A N/A sys integrate N/A x_05 N/A N/A sys ode_solver N/A sys evaluate_ode_function x0 N/A sys times args N/A N/A N/A sys _specifieds_padded_with_defaults N/A N/A sys _constants_padded_with_defaults N/A N/A N/A testing assert_allclose x_04 x_05 N/A theano N/A N/A N/A N/A sys generate_ode_function generator theano N/A N/A sys times times N/A x_06 N/A N/A sys integrate N/A N/A N/A testing assert_allclose x_04 x_06 N/A N/A N/A N/A warnings warn Theano was not found so the related tests are being skipped. PyDyImportWarning N/A sys N/A System N/A self kane times times N/A N/A N/A testing assert_raises NotImplementedError N/A N/A N/A N/A sys generate_ode_function generator made-up N/A N/A test_specifying_coordinate_issue_339 N/A N/A N/A N/A N/A This test ensures that you can use derivatives as specified values. N/A beta N/A N/A me dynamicsymbols beta N/A N/A q1 q2 q3 q4 N/A N/A me dynamicsymbols q1, q2, q3, q4 N/A N/A u1 u2 u3 u4 N/A N/A me dynamicsymbols u1, u2, u3, u4 N/A N N/A N/A me ReferenceFrame N N/A A N/A N/A N orientnew A Axis N/A q1 N/A N x N/A B N/A N/A A orientnew B Axis N/A beta N/A A y N/A No N/A N/A me Point No N/A Ao N/A N/A No locatenew Ao N/A N/A N/A q2 N/A N x N/A q3 N/A N y N/A q4 N/A N z N/A Bo N/A N/A Ao locatenew Bo N/A N/A N/A 10 N/A A x N/A 10 N/A A y N/A 10 N/A A z N/A N/A N/A A set_ang_vel N N/A u1 N/A N x N/A N/A N/A B ang_vel_in N N/A N/A N/A No set_vel N 0 N/A N/A N/A Ao set_vel N N/A N/A N/A u2 N/A N x N/A u3 N/A N y N/A u4 N/A N z N/A N/A N/A Bo v2pt_theory Ao N B N/A body_A N/A N/A me RigidBody A Ao A 1.0 N/A N/A N/A me inertia A 1 2 3 Ao N/A body_B N/A N/A me RigidBody B Bo B 1.0 N/A N/A N/A me inertia A 3 2 1 Bo N/A bodies N/A body_A body_B N/A loads N/A N/A No N/A 0 N/A N x N/A kdes N/A N/A u1 N/A N/A q1 diff N/A u2 N/A N/A q2 diff N/A u3 N/A N/A q3 diff N/A u4 N/A N/A q4 diff N/A kane N/A N/A me KanesMethod N q_ind N/A q1 q2 q3 q4 u_ind N/A u1 u2 u3 u4 kd_eqs kdes N/A N/A fr frstar N/A N/A kane kanes_equations loads bodies N/A sys N/A System kane N/A N/A sys specifieds N/A N/A beta N/A N/A beta diff N/A N/A N/A N/A beta diff diff N/A N/A N/A x t N/A N/A N/A np array N/A 1.0 1.0 1.0 N/A N/A sys times N/A N/A np linspace 0 10 20 N/A N/A N/A sys integrate N/A