User Activity

  • Posted a comment on discussion Help on PyDSTool

    Five years later, I am using PyDSTool again. And I spend some time trying to figure out what I should do about this error Did you compile the RHS C code? Traceback (most recent call last): File "pydstool/examples/Dopri_backwards_test.py", line 23, in <module> trajf = ode.compute('testf') File "/root/projects/pydstool-ex/lib/python3.7/site-packages/PyDSTool-0.90.2-py3.7.egg/PyDSTool/Generator/Dopri_ODEsystem.py", line 465, in compute extraSpace=self.algparams['extraspace'], File "/root/projects/pydstool-ex/lib/python3.7/site-packages/PyDSTool-0.90.2-py3.7.egg/PyDSTool/Generator/Dopri_ODEsystem.py",...

  • Modified a comment on discussion Help on PyDSTool

    Dear all, I want to do an integration with external data, much like here So for x_ddot + d*x_dot + k*x = a*sin(omega*t), instead of the sine excitation, I want to supply my own array. I have a time array and corresponding forces. From examples/interp_vode_test.py I made the posted example. According to Rob's reply max_step is set. The interpolated force is returning sane values, but when used in the ode, there seems to be a constant phase lage for the interpolated force. This is only the case for...

  • Modified a comment on discussion Help on PyDSTool

    Dear all, I want to do an integration with external data, much like here So for x_ddot + d*x_dot + k*x = a*sin(omega*t), instead of the sine excitation, I want to supply my own array. I have a time array and corresponding forces. From examples/interp_vode_test.py I made the posted example. According to Rob's reply max_step is set. The interpolated force is returning sane values, but when used in the ode, there seems to be a constant phase lage for the interpolated force. This is only the case for...

  • Modified a comment on discussion Help on PyDSTool

    Dear all, I want to do an integration with external data, much like here So for x_ddot + d*x_dot + k*x = a*sin(omega*t), instead of the sine excitation, I want to supply my own array. I have a time array and corresponding forces. From examples/interp_vode_test.py I made the posted example. According to Rob's reply max_step is set. The interpolated force is returning sane values, but when used in the ode, there seems to be a constant phase lage for the interpolated force. This is only the case for...

  • Modified a comment on discussion Help on PyDSTool

    Dear all, I want to do an integration with external data, much like here So for x_ddot + d*x_dot + k*x = a*sin(omega*t), instead of the sine excitation, I want to supply my own array. I have a time array and corresponding forces. From examples/interp_vode_test.py I made the posted example. According to your reply max_step is set. The interpolated force is returning sane values, but when used in the ode, there seems to be a constant phase lage for the interpolated force. This is only the case for...

  • Posted a comment on discussion Help on PyDSTool

    Dear all, I want to do an integration with external data, much like here So for x_ddot + d*x_dot + k*x = a*sin(omega*t), instead of the sine excitation, I want to supply my own array. I have a time array and corresponding forces. From examples/interp_vode_test.py I made the posted example. According to your reply max_step is set. The interpolated force is returning sane values, but when used in the ode, there seems to be a constant phase lage for the interpolated force. This is only the case for...

  • Modified a comment on discussion Help on PyDSTool

    Dear all, I cannot get c-integrators to work with recent versions of swig. I have tried with swig3.0.10 (debian strech included) and the latest swig3.0.12. When I run examples/Dopri_backwards_test.py I get the error Error in importing compiled vector field and integrator. Did you compile the RHS C code? Traceback (most recent call last): File "Dopri_backwards_test.py", line 23, in <module> trajf = ode.compute('testf') File "/home/paw/.local/lib/python2.7/site-packages/PyDSTool/Generator/Dopri_ODEsystem.py",...

  • Modified a comment on discussion Help on PyDSTool

    Dear all, I cannot get c-integrators to work with recent versions of swig. I have tried with swig3.0.10 (debian strech included) and the latest swig3.0.12. When I run examples/Dopri_backwards_test.py I get the error Error in importing compiled vector field and integrator. Did you compile the RHS C code? Traceback (most recent call last): File "Dopri_backwards_test.py", line 23, in <module> trajf = ode.compute('testf') File "/home/paw/.local/lib/python2.7/site-packages/PyDSTool/Generator/Dopri_ODEsystem.py",...

View All

Personal Data

Username:
pawsen
Joined:
2016-09-20 08:44:56

Projects

  • No projects to display.

Personal Tools