~kdsch/ode2dsp

Experimental tool to convert differential equations to DSP code
Update README.md; add notes.md
Change license to GPL3
Implement stability report; fix some bugs

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~kdsch/ode2dsp
read/write
git@git.sr.ht:~kdsch/ode2dsp

You can also use your local clone with git send-email.

#ode2dsp

ode2dsp is a Python library for generating ordinary differential equation (ODE) solvers in digital signal processing (DSP) languages. It automates the tedious and error-prone symbolic calculations involved in creating a DSP model of an ODE.

#Status

The project is unmaintained. However, we welcome comments and patches. Please send them to Karl Schultheisz's public inbox.

#Features

  • Support linear and nonlinear systems of ODEs
  • Support trapezoidal and backward Euler discrete-time integral approximations
  • Approximate solutions of implicit equations using Newton's method
  • Render finite difference equations (FDEs) to Faust code
  • Calculate stability of ODEs and FDEs at an operating point

#How it works

Specify your system of ODEs with a SymPy expression and select an integral approximation method. ode2dsp applies this integral approximation to the ODEs, creating FDEs. The solution variables of the FDEs are solved for. If no explicit solution can be calculated, the solution is approximated in terms of a finite number of iterations of Newton's method.

#Dependencies

#Blog posts