Commit 7b5775d
committed
Allow fast poles through in state-space fitting
Remove early termination from the Hankel-SVD order selection loop. Previously, the fitter stopped at the first order exceeding the R² threshold, preventing higher-order fast-decaying poles from being included. Now all orders up to max_order are evaluated and the best R² is kept, reducing the characteristic post-first-lobe lag in time-domain responses.1 parent ce07b95 commit 7b5775d
1 file changed
Lines changed: 8 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
116 | | - | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
117 | 123 | | |
118 | 124 | | |
119 | 125 | | |
120 | 126 | | |
121 | | - | |
| 127 | + | |
122 | 128 | | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | 129 | | |
128 | 130 | | |
129 | 131 | | |
| |||
0 commit comments