Data Analysis, Chemometrics, Spectroscopy, Raman Spectroscopy, Cosmic Rays.
spikes = abs(np.array(modified_z_score(intensity))) > threshold plt.plot(wavelength, spikes, color = ‘red’) plt.title(‘Spikes: ‘ + str(np.sum(spikes)), fontsize = 20) plt.grid() plt.xticks(fontsize = 15) plt.yticks(fontsize = 15) plt.xlabel( ‘Wavelength’ ,fontsize = 20) #plt.ylabel( ‘Spike(1) or