{'fraction_non_alphanumeric': 0.012779552715654952, 'fraction_numerical': 0.0, 'mean_word_length': 5.207920792079208, '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}}
Characterizing square and triangular waveforms

A method has been developed for determining the parameters and errors of square and triangular waveforms relative to idealized waveforms, even when the waveforms are highly distorted. The method is based on measurements obtained by sampling the waveform. Then, an idealized waveform is fitted to this sampled data using a least squared error algorithm. The errors in the waveform are defined as the deviations between the data samples and the ideal waveform. Also, the parameters of the measured waveform are defined as the corresponding parameters of the fitted ideal waveform.