|
EchoMap 2026-07-25 6d3977c
An experimental cross-platform digital signal processing application for sound-source localisation.
|
A Signal sampled in the frequency domain. More...
#include <FrequencySpectrum.hpp>
Classes | |
| struct | Bin |
| A bin within the spectrum, denoting the magnitude (and optionally, complex phase) of a Signal at a given frequency. More... | |
Public Member Functions | |
| decltype(bins) ::const_iterator | begin () const |
| decltype(bins) ::const_iterator | end () const |
| decltype(bins) ::const_iterator | cbegin () const noexcept |
| decltype(bins) ::const_iterator | cend () const noexcept |
| std::size_t | get_bin_count () const noexcept |
| float | get_minimum_frequency () const noexcept |
| float | get_maximum_frequency () const noexcept |
| float | get_minimum_magnitude () const noexcept |
| float | get_maximum_magnitude () const noexcept |
| const WindowFunctions::AllFunctions & | observe_preprocessor () const noexcept |
| Public Member Functions inherited from echomap::Object< FrequencySpectrum > | |
| ~Object ()=default | |
| Non-virtual base destructor. | |
| id_type | get_id () const noexcept |
| bool | is_valid () const noexcept |
| void | set_name (const std::string_view new_name) |
| std::string_view | get_name () const noexcept |
| const char * | get_imgui_name () const noexcept |
| Object (const Object &)=delete | |
| Object & | operator= (const Object &)=delete |
| bool | operator== (const Object &other) const noexcept |
| Determine shallow equality between two Object instances. | |
Private Member Functions | |
| FrequencySpectrum (WindowFunctions::AllFunctions preprocessor, std::string_view name) | |
| void | reserve_bins (std::size_t bin_count) |
| void | emplace_bin (float frequency, float magnitude, float phase) |
Private Attributes | |
| std::vector< Bin > | bins |
| friend | FrequencySpectrumFactory |
| WindowFunctions::AllFunctions | preprocessor |
| float | minimum_frequency = std::numeric_limits<float>::max() |
| float | maximum_frequency = std::numeric_limits<float>::min() |
| float | minimum_magnitude = std::numeric_limits<float>::max() |
| float | maximum_magnitude = std::numeric_limits<float>::min() |
Additional Inherited Members | |
| Static Public Member Functions inherited from echomap::Object< FrequencySpectrum > | |
| static std::string_view | get_class_name () noexcept |
| Protected Member Functions inherited from echomap::Object< FrequencySpectrum > | |
| void | move_identity_from (Object &&other) noexcept |
| Helper for derived classes to provide move-assignment operations. | |
A Signal sampled in the frequency domain.
Definition at line 26 of file FrequencySpectrum.hpp.
|
explicitprivate |
Definition at line 67 of file FrequencySpectrum.cpp.
|
nodiscard |
Definition at line 17 of file FrequencySpectrum.cpp.
|
nodiscardnoexcept |
Definition at line 27 of file FrequencySpectrum.cpp.
|
nodiscardnoexcept |
Definition at line 32 of file FrequencySpectrum.cpp.
|
private |
Definition at line 83 of file FrequencySpectrum.cpp.
|
nodiscard |
Definition at line 22 of file FrequencySpectrum.cpp.
|
nodiscardnoexcept |
Definition at line 37 of file FrequencySpectrum.cpp.
|
nodiscardnoexcept |
Definition at line 47 of file FrequencySpectrum.cpp.
|
nodiscardnoexcept |
Definition at line 57 of file FrequencySpectrum.cpp.
|
nodiscardnoexcept |
Definition at line 42 of file FrequencySpectrum.cpp.
|
nodiscardnoexcept |
Definition at line 52 of file FrequencySpectrum.cpp.
|
noexcept |
Definition at line 62 of file FrequencySpectrum.cpp.
|
private |
Definition at line 76 of file FrequencySpectrum.cpp.
|
private |
Definition at line 41 of file FrequencySpectrum.hpp.
|
private |
Definition at line 59 of file FrequencySpectrum.hpp.
|
private |
Definition at line 77 of file FrequencySpectrum.hpp.
|
private |
Definition at line 79 of file FrequencySpectrum.hpp.
|
private |
Definition at line 76 of file FrequencySpectrum.hpp.
|
private |
Definition at line 78 of file FrequencySpectrum.hpp.
|
private |
Definition at line 74 of file FrequencySpectrum.hpp.