#!/usr/bin/env python
"""
Simulates noisy sinusoids
"""
from tincanradar import simtone
from tincanradar.plots import plots

Nobs = 100
fs = 16000
tm = 0.1
Ftone = 1000.0  # [Hz]
SNR = 20  # [dB]
Np = 200  # points to plot
#
Ns = int(tm * fs)


if __name__ == "__main__":
    t, y = simtone(tm, fs, SNR, Ftone, Nobs)
    plots(t, y, fs, Np)

7ac27751f21b142c0a2e3a2369ef2866fd290977
<mask token>

<mask token>
if __name__ == '__main__':
    t, y = simtone(tm, fs, SNR, Ftone, Nobs)
    plots(t, y, fs, Np)

<mask token>
Nobs = 100
fs = 16000
tm = 0.1
Ftone = 1000.0
SNR = 20
Np = 200
Ns = int(tm * fs)
if __name__ == '__main__':
    t, y = simtone(tm, fs, SNR, Ftone, Nobs)
    plots(t, y, fs, Np)

<mask token>
from tincanradar import simtone
from tincanradar.plots import plots
Nobs = 100
fs = 16000
tm = 0.1
Ftone = 1000.0
SNR = 20
Np = 200
Ns = int(tm * fs)
if __name__ == '__main__':
    t, y = simtone(tm, fs, SNR, Ftone, Nobs)
    plots(t, y, fs, Np)

#!/usr/bin/env python
"""
Simulates noisy sinusoids
"""
from tincanradar import simtone
from tincanradar.plots import plots

Nobs = 100
fs = 16000
tm = 0.1
Ftone = 1000.0  # [Hz]
SNR = 20  # [dB]
Np = 200  # points to plot
#
Ns = int(tm * fs)


if __name__ == "__main__":
    t, y = simtone(tm, fs, SNR, Ftone, Nobs)
    plots(t, y, fs, Np)
