diff options
Diffstat (limited to 'dpd/src/Model_AM.py')
-rw-r--r-- | dpd/src/Model_AM.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dpd/src/Model_AM.py b/dpd/src/Model_AM.py index 9800d83..75b226f 100644 --- a/dpd/src/Model_AM.py +++ b/dpd/src/Model_AM.py @@ -29,7 +29,7 @@ def poly(sig): def fit_poly(tx_abs, rx_abs): - return np.linalg.lstsq(poly(rx_abs), tx_abs)[0] + return np.linalg.lstsq(poly(rx_abs), tx_abs, rcond=None)[0] def calc_line(coefs, min_amp, max_amp): |