I'm working on a system involving a stepper motor that is used for moving a carriage back and forth in a linear motion. I have recorded the response (i.e. carriage position vs. time) corresponding to a single motor step. This, I believe, is what one would call the impulse response of the system:
In order to simulate the response to several consecutive steps, and to develop speed control strategies, I'm looking for a way to convert this time-domain impulse response into a frequency-domain (Laplace) transfer function of the form num(s) / den(s), if possible using open-source tools like Scilab or Python. What's a pragmatic way to do that?