Version 1 smart fitter in IIRrational library. Uses SVD method with high order over fitting, then switches to nonlinear fits with heuristics to remove poles and zeros down to a reasonable system order.
...
...
@@ -34,18 +34,18 @@ Performs the SVD for a rough initial guess

### `1.4` choose poles
### `1.4` choose direct
> `if`
Chose the Poles SVD fitter as it had the smaller residual of 1.84e+02 vs. 2.06e+04 for the zeros
Chose the direct (non-SVD) fitter as it had the smallest residual of 4.22e+02
### `1.5` seq_iter_1
> `IIRrational.fit_poles, IIRrational.fit_zeros`
First iterations, enforcing mindelay and stabilized poles residual of 8.41e+03
First iterations, enforcing mindelay and stabilized poles residual of 4.05e+02

...
...
@@ -54,7 +54,7 @@ First iterations, enforcing mindelay and stabilized poles residual of 8.41e+03
> `IIRrational.fit_poles, IIRrational.fit_zeros`
First iterations, enforcing stabilized poles residual of 9.17e+02
First iterations, enforcing stabilized poles residual of 3.93e+02

...
...
@@ -63,7 +63,7 @@ First iterations, enforcing stabilized poles residual of 9.17e+02
> `IIRrational.fit_poles, IIRrational.fit_zeros`
First iterations, enforcing stabilized poles residual of 2.46e+02
First iterations, enforcing stabilized poles residual of 3.87e+02

...
...
@@ -72,7 +72,7 @@ First iterations, enforcing stabilized poles residual of 2.46e+02
> `IIRrational.fit_poles, IIRrational.fit_zeros`
First iterations, enforcing stabilized poles residual of 1.68e+02
First iterations, enforcing stabilized poles residual of 3.82e+02

...
...
@@ -112,16 +112,16 @@ ID Pairs for order reduction