For faster navigation, this Iframe is preloading the Wikiwand page for Файл:Periodogram windows.png.

Файл:Periodogram windows.png

Материал из Википедии — свободной энциклопедии

Исходный файл(1500 × 1000 пкс, размер файла: 154 КБ, MIME-тип: image/png)

Краткое описание

Описание
English: Developed using scipy.signal.periodogram.
Дата
Источник Собственная работа
Автор Kirlf
Другие версии
Этот файл был замещён другим файлом File:Periodogram windows.svg. Рекомендуется использовать другую версию. Пожалуйста, обратите внимание, что удаление замещённых изображений требует консенсуса.
new file
PNG‑разработка
InfoField
 
Это plot было создано с помощью Matplotlib
Исходный код
InfoField

Python code

import numpy as np
from scipy import signal
import matplotlib.pyplot as plt

w_1 = 40 # frequency of the 1st component of the signal (Hz)
w_2 = 60 # frequency of the 2nd component of the signal (Hz)

a = 0.5 # magnitude of the 1st component of the signal
b = 1.0 # magnitude of the 2nd component of the signal

t = np.array([i for i in range(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 signal
n = .2*np.random.randn(len(t)) # white Gaussian noise
y = x + n

windows = [None,'hamming']
plt.subplots(1, 1, figsize=(6, 4), dpi=250)

for window in windows:
    if window == None:
        label = 'rect'
    else:
        label = window
    f, Pxx_den = signal.periodogram(y, fs=fs, scaling='spectrum', nfft=2048, window=window)
    plt.semilogy(f[1:200], Pxx_den[1:200], label=label)

plt.subplots(1, 1, figsize=(6, 4), dpi=250)
plt.ylabel('Spectrum')
plt.xlabel('Frequencies (Hz)')
plt.title('Periodogram')
plt.grid(True)
plt.show()

Лицензирование

Я, владелец авторских прав на это произведение, добровольно публикую его на условиях следующей лицензии:
w:ru:Creative Commons
атрибуция распространение на тех же условиях
Этот файл доступен по лицензии Creative Commons Attribution-Share Alike 4.0 International
Вы можете свободно:
  • делиться произведением – копировать, распространять и передавать данное произведение
  • создавать производные – переделывать данное произведение
При соблюдении следующих условий:
  • атрибуция – Вы должны указать авторство, предоставить ссылку на лицензию и указать, внёс ли автор какие-либо изменения. Это можно сделать любым разумным способом, но не создавая впечатление, что лицензиат поддерживает вас или использование вами данного произведения.
  • распространение на тех же условиях – Если вы изменяете, преобразуете или создаёте иное произведение на основе данного, то обязаны использовать лицензию исходного произведения или лицензию, совместимую с исходной.

Краткие подписи

Добавьте однострочное описание того, что собой представляет этот файл
The linear spectrum calculated by the periodogram method (rectangular and Hamming window functions).

Элементы, изображённые на этом файле

изображённый объект

У этого свойства есть некоторое значение без элемента в

image/png

История файла

Нажмите на дату/время, чтобы посмотреть файл, который был загружен в тот момент.

Дата/времяМиниатюраРазмерыУчастникПримечание
текущий06:22, 20 февраля 2019Миниатюра для версии от 06:22, 20 февраля 20191500 × 1000 (154 КБ)KirlfUser created page with UploadWizard

Использование файла

Следующая страница использует этот файл:

Метаданные

{{bottomLinkPreText}} {{bottomLinkText}}
Файл:Periodogram windows.png
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?