{'fraction_non_alphanumeric': 0.022324865280985373, 'fraction_numerical': 0.0, 'mean_word_length': 4.990783410138249, '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}}
Sub-Cycle Dynamic Phasors With Adjustable Transient Response

We extend in several directions the study of our fast sparse alternative to the standard (FFT-based) evaluation of dynamic phasors. We present analysis for an arbitrary shift between the waveform samples used to construct sub-cycle dynamic phasors. Next, we show that the transient response of sub-cycle dynamic power metrics can be improved by using a small number of waveform samples and adjusting the uniform inter-sample shift. Our real-life examples demonstrate that reduction of the inter-sample shift can be quite effective in the presence of fast transients (wide-band in frequency). We use a synthetic example to demonstrate that a metric obtained from a sub-cycle scheme provides surprisingly accurate information about the duration and onset-time of a transient. We also identify a range of shift values for which the steady-state error remains near-optimal, and we derive conditions for a superior performance for slow transients. Finally, our results suggest that in practical real-time implementations it may be advantageous to calculate at least two sets of phasors to cover both slow and fast transients: the computational cost of such a scheme is still significantly lower than that of a standard full-cycle calculation.