diff options
Diffstat (limited to 'host/examples/ascii_art_dft.hpp')
-rw-r--r-- | host/examples/ascii_art_dft.hpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/host/examples/ascii_art_dft.hpp b/host/examples/ascii_art_dft.hpp index ee2267c2d..0754279be 100644 --- a/host/examples/ascii_art_dft.hpp +++ b/host/examples/ascii_art_dft.hpp @@ -11,7 +11,7 @@ #include <complex> #include <stdexcept> -namespace acsii_art_dft{ +namespace ascii_art_dft{ //! Type produced by the log power DFT function typedef std::vector<float> log_pwr_dft_type; @@ -148,7 +148,7 @@ namespace {/*anon*/ /*********************************************************************** * Implementation code **********************************************************************/ -namespace acsii_art_dft{ +namespace ascii_art_dft{ //! skip constants for amplitude and frequency labels static const size_t albl_skip = 5, flbl_skip = 20; @@ -298,10 +298,10 @@ int main(void){ samples[i] += 0.5*std::sin(i*3.14/2) + 0.7; } - acsii_art_dft::log_pwr_dft_type dft; - dft = acsii_art_dft::log_pwr_dft(&samples.front(), samples.size()); + ascii_art_dft::log_pwr_dft_type dft; + dft = ascii_art_dft::log_pwr_dft(&samples.front(), samples.size()); - printw("%s", acsii_art_dft::dft_to_plot( + printw("%s", ascii_art_dft::dft_to_plot( dft, COLS, LINES, 12.5e4, 2.45e9, 60, 0 |