Commit 6cb2bdab authored by Alexei Ciobanu's avatar Alexei Ciobanu

implement the phase property in the symbolic modulator submatrix

parent 0956a443
......@@ -127,7 +127,7 @@ class Modulator(Connector, FrequencyGenerator):
row.append(element.Constant(0))
elif len(coupled_freqs) == 1:
coupled_freq, order = coupled_freqs[0]
row.append(1j**order * Symbol.jn(order,self.midx.ref))
row.append(Symbol.jn(order,self.midx.ref) * np.exp(-1j * (self.phase.ref - element.Pi / 2) * order))
else:
raise Exception('undefined')
freq_mat.append(row)
......
Markdown is supported
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