Data Analysis, Chemometrics, Spectroscopy, Raman Spectroscopy, Cosmic Rays.
peak. However, the z-score pretty much resembles the original spectrum and the threshold still cut off the main Raman peak. Let’s plot what was detected as spikes using a 3.5 threshold: threshold = 3.5 # 1 is assigned to spikes, 0 to non-spikes: spikes = abs(np.array(z_score(intensity))) >