Skip to content

Commit

Permalink
assume same LO phase noise for all modes
Browse files Browse the repository at this point in the history
  • Loading branch information
edsonportosilva committed Jan 14, 2023
1 parent f68cf25 commit 4c77e49
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions optic/tx.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,9 @@ def simpleWDMTx(param):
sigTx = firFilter(pulse, symbolsUp)

# optical modulation
ϕ_pn_lo = phaseNoise(param.lw, len(sigTx), 1/Fs)
sigLO = Ai*np.exp(1j*ϕ_pn_lo)
if indMode == 0: # generate LO field with phase noise
ϕ_pn_lo = phaseNoise(param.lw, len(sigTx), 1/Fs)
sigLO = Ai*np.exp(1j*ϕ_pn_lo)

sigTxCh = iqm(sigLO, 0.5 * sigTx, , Vb, Vb)
sigTxCh = (
Expand Down

0 comments on commit 4c77e49

Please sign in to comment.