{'fraction_non_alphanumeric': 0.017045454545454544, 'fraction_numerical': 0.0, 'mean_word_length': 4.796052631578948, '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}}
Cancellation of a deviation in pulses of THz-TDS

The key point to measure a sample and to carry out its absorption spectrum is that the whole test process is completed in very stable situations. Although the distributed setup of THz-TDS is flexible to implement kinds of experiments, slightly displacements of mirrors may occur in the system. A typical kind of disturbance exists in the system due to shifts of mirrors and accumulation of static charges in THz switch or detector, particularly in a long term test. The resulting of the disturbance is that a deviation is involved in the THz pulse. Furthermore, due to the sample and reference can't be tested simultaneously, the sample's absorption spectrum maybe goes down to negative values at some frequencies. A recovery algorithm is presented to overcome the disturbance. Some examples validate the effects of the algorithm.