Commit 280751fa authored by Thomas Bruns's avatar Thomas Bruns
Browse files

corrected (changed) order of sine/cosine component in...

corrected (changed) order of sine/cosine component in seq_multi_threeparam_Dmatrix() to correct phase-delay sign-error
parent 43edcc8a
......@@ -861,12 +861,12 @@ def seq_multi_threeparam_Dmatrix(f,t,periods=1):
sin = np.sin(omi * ti)
cos = np.cos(omi * ti)
data = np.hstack((data,sin)) # data vector
data = np.hstack((data,cos)) # data vector
ci = ci+[col]*len(ti) # column index vector
col = col+1
ri = ri+ [Nri+i for i in range(len(ti))] # row index vector
data = np.hstack((data,cos)) # data vector
data = np.hstack((data,sin)) # data vector
ci = ci+[col]*len(ti) # column index vector
col = col+1
ri = ri+ [Nri+i for i in range(len(ti))] # row index vector
......
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