{'fraction_non_alphanumeric': 0.01095290251916758, 'fraction_numerical': 0.004381161007667032, 'mean_word_length': 5.977099236641221, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
The reconstruction of discontinuous piecewise polynomial signals

The Gibbs phenomenon was recognized as early as 1898 by Michelson and Stratton. Gibbs oscillations occur during the reconstruction of discontinuous functions from a truncated periodic series expansion, such as a truncated Fourier series expansion or a truncated discrete Fourier transform expansion. Recent theoretical results have shown that Gibbs oscillations can be removed from the truncated Fourier series representation of a function that has discontinuities. This is accomplished by a change of basis to the set of orthogonal polynomials called the Gegenbauer polynomials. In this correspondence, a straightforward numerical procedure for the denoising of piecewise polynomial signals is developed. Examples using truncated Fourier series and discrete Fourier transform (DFT) series demonstrate the effectiveness of the numerical procedure.