Skip to content

Commit

Permalink
Update test_plotSpectrum.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuki Fukuda authored Mar 6, 2022
1 parent 32db1dc commit 9b1b21e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deltasigma/tests/test_plotSpectrum.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def test_plotSpectrum(self):
label='$\\mathrm{plotSpectrum}(S)$')
Snn = np.abs(ds.evalTF(ntf, np.exp(2j*np.pi*freq)))**2 * 2/12*(delta)**2
plt.plot(freq, ds.dbp(Snn*NBW), 'm', linewidth=1.5,
label='$\mathrm{from\\ NTF}$')
label='$\\mathrm{from\\ NTF}$')
plt.text(0.5, -3, 'NBW = %.1e ' % NBW, horizontalalignment='right',
verticalalignment='top')
ds.figureMagic((0, 0.5), None, None, (-140, 0), 20, None)
Expand All @@ -79,7 +79,7 @@ def test_plotSpectrum(self):
plt.plot(freq, ds.dbp(spec_smoothed[:N//2 + 1]), 'b', linewidth=2,
label='$\\mathrm{circ\\_smooth}(S)$')
plt.plot(freq, ds.dbp(Snn*NBW), 'm', linewidth=1.5,
label='$\mathrm{from\\ NTF}$')
label='$\\mathrm{from\\ NTF}$')
plt.text(0.5, -3, 'NBW = %.1e ' % NBW, horizontalalignment='right',
verticalalignment='top')
ds.figureMagic((0, 0.5), None, None, (-140, 0), 20, None)
Expand Down

0 comments on commit 9b1b21e

Please sign in to comment.