HHTpywrapper-master

所属分类:波变换
开发工具:C/C++
文件大小:1803KB
下载次数:0
上传日期:2018-08-14 09:25:22
上 传 者Damon94
说明:  使用hht变换,将时域信号转变成时频信号,跟好的判断
(Using HHT transform)

文件列表:
LICENSE (1088, 2018-05-05)
hhtpywrapper (0, 2018-05-05)
hhtpywrapper\__init__.py (0, 2018-05-05)
hhtpywrapper\eemd.py (3970, 2018-05-05)
hhtpywrapper\hsa.py (2132, 2018-05-05)
hhtpywrapper\matlab.py (391, 2018-05-05)
notebooks (0, 2018-05-05)
notebooks\XTE_J1550_564_30191011500A_2_13kev_001s_0_2505s.txt (9268500, 2018-05-05)
notebooks\example_Su_etal2015.ipynb (574714, 2018-05-05)
notebooks\example_Su_etal2017.ipynb (865, 2018-05-05)
requirements.txt (62, 2018-05-05)
setup.py (4050, 2018-05-05)

Python Wrapper for Hilbert–Huang Transform MATLAB Package ========================================================= [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/HHTpy/HHTpywrapper/blob/master/LICENSE) [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.584082.svg)](https://doi.org/10.5281/zenodo.584082) HHTpywrapper instantaneously tracks frequency and amplitude variations of a signal generated by non-stationary and nonlinear processes (e.g., quasi-periodic oscillations of astronomical objects). It uses Python as an interface to call the [Hilbert–Huang Transform (HHT) MATLAB package](http://rcada.ncu.edu.tw/research1.htm). HHT is a time-frequency analysis method to adaptively decompose a signal into basis components at different timescales (i.e., the empirical mode decomposition), and then Hilbert transform these components into instantaneous phases, frequencies and amplitudes as functions of time (i.e., Hilbert spectral analysis). HHT has been successfully applied to analyzing X-ray quasi-periodic oscillations from the active galactic nucleus RE J1034+396 ([Hu et al. 2014](http://adsabs.harvard.edu/abs/2014ApJ...788...31H)) and two black hole X-ray binaries, XTE J1550–5*** ([Su et al. 2015](http://adsabs.harvard.edu/abs/2015ApJ...815...74S)) and GX 339-4 (Su et al. 2017). HHTpywrapper provides examples of reproducing HHT analysis results in [Su et al. (2015)](http://adsabs.harvard.edu/abs/2015ApJ...815...74S) and Su et al. (2017). This project is originated from the [Astro Hack Week 2015](https://github.com/AstroHackWeek/AstroHackWeek2015/). Requirements ------------ - Linux or Windows operating system (The fast EEMD code in the HHT MATLAB package has not supported Mac yet) - Python 3.x+ - MATLAB - Numpy - Scipy - Astropy - Matplotlib - [pymatbridge](https://github.com/arokem/python-matlab-bridge) (A simple Python => MATLAB(R) interface and a matlab magic for ipython) - [pyunpack](https://pypi.python.org/pypi/pyunpack) and [patool](http://wummel.github.io/patool/) (For extracting the .zip/.rar HHT MATLAB package files) - UNZIP and UNRAR (sudo apt-get install unzip unrar) Installation ------------ 1. Clone this project from GitHub: $ git clone https://github.com/HHTpy/HHTpywrapper.git 2. In the project directory, install required packages: $ pip install -r requirements.txt 3. In the project directory, execute: $ python setup.py install Examples of Package Usage ----- - [Example of reproducing HHT analysis results in Su et al. 2015](https://github.com/HHTpy/HHTpywrapper/blob/master/notebooks/example_Su_etal2015.ipynb) - [Example of reproducing HHT analysis results in Su et al. 2017](https://github.com/HHTpy/HHTpywrapper/blob/master/notebooks/example_Su_etal2017.ipynb) - Example of characterizing intermittency of an intermittent, frequency varying oscillation (To be added) Directory Structure ------------------- After finishing the installation, you can see the below directory structure: - /Your Python site-packages path/hhtpywrapper/ : This is the root directory of the package, including the directory of HHT MATLAB package and the Python API for calling the MATLAB package (eemd.py and hsa.py). - /Your Python site-packages path/hhtpywrapper/HHT_MATLAB_package/ : This is the base directory of HHT MATLAB package. There are three subdirectories: EEMD, checkIMFs and HSA. - /Your Python site-packages path/hhtpywrapper/HHT_MATLAB_package/EEMD/ : This directory collects MATLAB M-files for decomposing a signal into basis components (intrinsic mode functions, IMFs) defined by the signal itself. This adaptive decomposition method is called empirical mode decomposition (EMD). The M-files accomplished the most recently developed modified version of EMD, fast complementary ensemble empirical mode decomposition (CEEMD). Reference: * [The empirical mode decomposition and the Hilbert spectrum for nonlinear and non-stationary time series analysis](http://rcada.ncu.edu.tw/ref/reference002.pdf) * [Ensemble Empirical Mode Decomposition: a noise-assisted data analysis method](http://rcada.ncu.edu.tw/ref/reference007.pdf) * [On the computational complexity of the empirical mode decomposition algorithm](http://www.sciencedirect.com/science/article/pii/S0378437114000247) - /Your Python site-packages path/hhtpywrapper/HHT_MATLAB_package/checkIMFs/ : This directory collects MATLAB M-files for checking IMF properties, including significance, index of orthogonality, and excessive extrema value. Reference: * [The empirical mode decomposition and the Hilbert spectrum for nonlinear and non-stationary time series analysis](http://rcada.ncu.edu.tw/ref/reference002.pdf) * [A confidence limit for the Empirical Mode Decomposition and Hilbert Spectral Analysis](http://rcada.ncu.edu.tw/ref/reference004.pdf) * [A study of the characteristics of white noise using the empirical mode decomposition method](http://rcada.ncu.edu.tw/ref/reference006.pdf) * [Ensemble Empirical Mode Decomposition: a noise-assisted data analysis method](http://rcada.ncu.edu.tw/ref/reference007.pdf) * [On Intrinsic Mode Function](http://rcada.ncu.edu.tw/ref/reference013.pdf) - /Your Python site-packages path/hhtpywrapper/HHT_MATLAB_package/HSA/ : This directory collects MATLAB M-files for calculating instantaneous amplitudes, phases and frequencies of IMFs (that is, the Hilbert Spectral Analysis, HSA). Reference: * [The empirical mode decomposition and the Hilbert spectrum for nonlinear and non-stationary time series analysis](http://rcada.ncu.edu.tw/ref/reference002.pdf) * [On instantaneous frequency](http://rcada.ncu.edu.tw/ref/reference005.pdf) Important Links --------------- - [HHT MATLAB package](http://rcada.ncu.edu.tw/research1.htm) - [References of HHT](http://rcada.ncu.edu.tw/research1_clip_reference.htm) Other HHT-related Python Codes ------------------------------ - [PyHHT](https://github.com/jaidevd/pyhht) ; [PyHHT’s documentation](http://pyhht.readthedocs.io/en/latest/index.html) (by Jaidev Deshpande) - [pyeemd](http://pyeemd.readthedocs.io/en/latest/) (by Perttu Luukko) - [Python implementation of EMD/EEMD](https://laszukdawid.com/codes/) (by Dawid Laszuk) Authors ------- - [Yi-Hao Su](https://github.com/YihaoSu) (yhsu@astro.ncu.edu.tw)
HHTpywrapper is my project during the [Astro Hack Week 2015](https://github.com/AstroHackWeek/AstroHackWeek2015/). It is currently in development phase. Welcome any contributions and feedbacks!

近期下载者

相关文件


收藏者