#: Frequency analysis functionalities
//TODO: finish unit tests