Est archiu és de Wikimedia Commons i pot usar-se en atres proyectes.
La descripció en la seua pàgina de descripció de l'archiu es mostra més avall.
Summary
DescriptionPeriodogram.svg
English: A power spectrum of two sinusoidal basis functions, calculated by the periodogram method. The significance of basis functions is that there is no spectral leakage into the neighboring frequency bins.
The source code of this SVG is invalid due to an error.
This W3C-invalidvector image was created with an unknown SVG tool.
Source code
importnumpyasnpfromscipyimportsignalimportmatplotlib.pyplotaspltw_1=30# frequency of the 1st component of the signal (Hz)w_2=50# frequency of the 2nd component of the signal (Hz)a=1.1# magnitude of the 1st component of the signalb=0.6# magnitude of the 2nd component of the signalt=np.array([iforiinrange(1,301)])/1000# time samples (s)fs=1/(t[1]-t[0])# sampling frequency (Hz)x=a*np.cos(2*np.pi*w_1*t)+b*np.sin(2*np.pi*w_2*t)# considered signalf,Pxx_den=signal.periodogram(x,fs=fs,scaling='spectrum')plt.subplots(1,1,figsize=(6,4),dpi=250)plt.stem(f[:50],Pxx_den[:50],'-')plt.ylabel('Spectrum')plt.xlabel('Frequencies (Hz)')plt.title('Periodogram')plt.grid(True)plt.savefig("Periodogram.svg")
Licensing
I, the copyright holder of this work, hereby publish it under the following license:
to share – to copy, distribute and transmit the work
to remix – to adapt the work
Under the following conditions:
attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
Est archiu conté informació adicional, provablement afegida per la càmara digital o l'escàner usat per a crear-lo o digitalisar-lo. Si l'archiu ha segut modificat posteriorment, alguns detalls poden no correspondre en l'informació real de l'archiu.