Abstract
P-wave first-motion polarity is a critical parameter for determining earthquake focal mechanisms. Extracting relative P-wave arrival times and polarity information using waveform cross-correlation techniques can enhance the accuracy of earthquake location and focal mechanism inversion. However, seismic noise severely hampers the reliable detection of P-wave onsets and their first-motion polarities. To address this issue, we propose a noise-resistant polarity detection method based on the normal time-frequency transform (NTFT), termed the time-frequency similarity coefficient (TFSC). The TFSC method computes relative delays and similarity coefficients by calculating the real part of the NTFT coefficients between two seismic signals. We validated the proposed approach using both synthetic and real earthquake data. Without any filtering or preprocessing, the TFSC method demonstrated significantly greater robustness and reliability compared to the conventional time-domain normalized cross-correlation (NCC) method. These results indicate that the TFSC method has strong potential for practical application and provides a novel perspective for accurate detection of P-wave first-motion polarity in noisy seismic environments.