欢迎来到天天文库
浏览记录
ID:7286061
大小:1.42 MB
页数:26页
时间:2018-02-10
《python data analysis signal processing》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、SignalProcessingandTimeSeriesSignalprocessingisafieldofengineeringandappliedmathematicsthatanalyzesanaloganddigitalsignals,correspondingtovariablesthatvarywithtime.Oneofthecategoriesofsignalprocessingtechniquesistimeseriesanalysis.Atimeseriesisanorderedlistofdatapoint
2、sstartingwiththeoldestmeasurementsfirst.Thedatapointsareusuallyequidistant,forinstance,consistentwithdailyorannualsampling.Intimeseriesanalysis,theorderofthevaluesisimportant.It'scommontotrytoderivearelationbetweenavalueandanotherdatapointorcombinationofdatapointsafix
3、ednumberofperiodsinthepast,inthesametimeseries.Thetimeseriesexamplesinthischapteruseannualsunspotcyclesdata.Thisdataisprovidedbythestatsmodelspackage(anopensourcePythonproject).TheexamplesuseNumPy/SciPy,pandas,andalsostatsmodels.Wewillcoverthefollowingtopicsinthischap
4、ter:•Movingaverages•Windowfunctions•Cointegration•Autocorrelation•Autoregressivemodels•ARMAmodels•Generatingperiodicsignals•Fourieranalysis•Spectralanalysis•FilteringSignalProcessingandTimeSeriesstatsmodelssubpackagesToinstallstatsmodels,executethefollowingcommand:$pi
5、pinstallstatsmodels$pipfreeze
6、grepstatstatsmodels==0.6.0Openthepkg_check.pyfileprovidedinthecodebundle,andchangethecodetolistthestatsmodelssubpackagestogetthefollowingresult:statmodelsversion0.6.0.dev-3303360statsmodels.basestatsmodels.compatnpstatsmodels.datasetsstat
7、smodels.discretestatsmodels.distributionsstatsmodels.emplikestatsmodels.formulastatsmodels.genmodstatsmodels.graphicsstatsmodels.interfacestatsmodels.iolibstatsmodels.miscmodelsstatsmodels.nonparametricDESCRIPTIONForanoverviewofthismodule,seedocs/source/nonparametric.
8、rstPACKAGECONTENTS_kernel_base_smoothers_lowessapibandwidthsstatsmodels.regressionstatsmodels.resamplingstatsmodels.robuststatsmodels.sandboxstatsmodels.statsstatsmodels.testsstatsmodels.toolsstatsmodels.tsa[166]Chapter7MovingaveragesMovingaveragesarefrequentlyusedtoa
9、nalyzetimeseries.Amovingaveragespecifiesawindowofdatathatispreviouslyseen,whichisaveragedeachtimethewindowslidesforwardbyone
此文档下载收益归作者所有