Користувальницькькі налаштування

Налаштування сайту



Maximum entropy spectral estimation is a method of spectral density estimation. The goal is to improve the spectral quality based on the principle of maximum entropy. The method is based on choosing the spectrum which corresponds to the most random or the most unpredictable time series whose autocorrelation function agrees with the known values. This assumption, which corresponds to the concept of maximum entropy as used in both statistical mechanics and information theory, is maximally non-committal with regard to the unknown values of the autocorrelation function of the time series. It is simply the application of maximum entropy modeling to any type of spectrum and is used in all fields where data is presented in spectral form. The usefulness of the technique varies based on the source of the spectral data since it is dependent on the amount of assumed knowledge about the spectrum that can be applied to the model.1)

Пакет 'spectrum'

Установка в Debian

sudo apt-get install python-pip python-matplotlib python-tk python-numpy python-scipy python-sphinx
sudo pip install spectrum  

Установка в Sage

wget -cS 'https://pypi.python.org/packages/source/s/spectrum/spectrum-.5.6.tar.gz#md5=dee181b34c41f2990b4281ba4998a639'
tar xvf spectrum-0.5.6.tar.gz
cd spectrum-0.5.6
sage -python setup.py install


from spectrum import pburg
import matplotlib.pyplot as plt
import random
# Создаём тестовый сигнал
                    10*random.random()-0.5,4) for i in range(10000)]
# Создаём объект спектра
p = pburg(sine_series, 10, NFFT=8192)
# Запускаем расчёт спектра
# Строим полученный спектр в виде графика


maxent.txt · В останнє змінено: 2014/03/11 20:07 by wombat