aboutsummaryrefslogtreecommitdiffstats
path: root/dpd/src/Model_PM.py
diff options
context:
space:
mode:
Diffstat (limited to 'dpd/src/Model_PM.py')
-rw-r--r--dpd/src/Model_PM.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/dpd/src/Model_PM.py b/dpd/src/Model_PM.py
index 3aafea0..7b80bf3 100644
--- a/dpd/src/Model_PM.py
+++ b/dpd/src/Model_PM.py
@@ -81,7 +81,7 @@ class Model_PM:
return np.array([sig ** i for i in range(0, 5)]).T
def fit_poly(self, tx_abs, phase_diff):
- return np.linalg.lstsq(self.poly(tx_abs), phase_diff)[0]
+ return np.linalg.lstsq(self.poly(tx_abs), phase_diff, rcond=None)[0]
def calc_line(self, coefs, min_amp, max_amp):
tx_range = np.linspace(min_amp, max_amp)