Commit 43edcc8a authored by Thomas Bruns's avatar Thomas Bruns
Browse files

corrected typos

parent 590e01f7
...@@ -215,7 +215,7 @@ def phase_delay(A1, A2, deg=False): ...@@ -215,7 +215,7 @@ def phase_delay(A1, A2, deg=False):
# periodical sinefit at known frequency # periodical sinefit at known frequency
def seq_threeparsinefit(y, t, f0, periods=1,multiTasiking=True): def seq_threeparsinefit(y, t, f0, periods=1, multiTasking=True):
""" """
period-wise sine-fit at a known frequency\n period-wise sine-fit at a known frequency\n
y vector of sample values \n y vector of sample values \n
...@@ -239,7 +239,7 @@ def seq_threeparsinefit(y, t, f0, periods=1,multiTasiking=True): ...@@ -239,7 +239,7 @@ def seq_threeparsinefit(y, t, f0, periods=1,multiTasiking=True):
M = int(t.size // N) ## number of sections or periods M = int(t.size // N) ## number of sections or periods
abc = np.zeros((M, 3)) abc = np.zeros((M, 3))
if multiTasiking==False: if multiTasking==False:
for i in range(int(M)): for i in range(int(M)):
ti = t[i * N : (i + 1) * N] ti = t[i * N : (i + 1) * N]
yi = y[i * N : (i + 1) * N] yi = y[i * N : (i + 1) * N]
...@@ -372,7 +372,7 @@ endfunction ...@@ -372,7 +372,7 @@ endfunction
""" """
# periodical sinefit at known frequency # periodical sinefit at known frequency
def seq_fourparsinefit(y, t, f0, tol=1.0e-7, nmax=1000, periods=1, debug_plot=False,multiTasiking=True): def seq_fourparsinefit(y, t, f0, tol=1.0e-7, nmax=1000, periods=1, debug_plot=False, multiTasking=True):
""" """
sliced or period-wise sine-fit at a known frequency\n sliced or period-wise sine-fit at a known frequency\n
y vector of sample values \n y vector of sample values \n
...@@ -398,7 +398,7 @@ def seq_fourparsinefit(y, t, f0, tol=1.0e-7, nmax=1000, periods=1, debug_plot=Fa ...@@ -398,7 +398,7 @@ def seq_fourparsinefit(y, t, f0, tol=1.0e-7, nmax=1000, periods=1, debug_plot=Fa
M = int(t.size // N) ## number of sections or periods M = int(t.size // N) ## number of sections or periods
abcd = np.zeros((M, 4)) abcd = np.zeros((M, 4))
if multiTasiking == False: if multiTasking == False:
for i in range(M): for i in range(M):
ti = t[i * N : (i + 1) * N] ti = t[i * N : (i + 1) * N]
yi = y[i * N : (i + 1) * N] yi = y[i * N : (i + 1) * N]
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment