https://pyclip.ru/en/tapes/nIFArdqcAhU/how-to-remove-noise-from-data-in-python