GithubHelp home page GithubHelp logo

runngezhang / amplitude-modulation-analysis-module Goto Github PK

View Code? Open in Web Editor NEW

This project forked from musaelab/amplitude-modulation-analysis-module

0.0 0.0 0.0 623 KB

Amplitude Modulation Analysis Module for Python

License: MIT License

Python 100.00%

amplitude-modulation-analysis-module's Introduction

Amplitude Modulation Analysis Module

The amplitude modulation analysis module for Python 3, provides functions to compute and visualize the frequency-frequency-domain representation of real-valued signals. The MATLAB-Octave version of this module can be found here: https://github.com/MuSAELab/amplitude-modulation-analysis-toolbox

The module includes a GUI implementation, which facilitates the amplitude modulation analysis by allowing changing parameters on line.

In summary, the frequency-frequency representation of a signal is computed by performing two transformations.

diagram Signal processing steps involved in the calculation of the modulation spectrogram from the amplitude spectrogram of signal. The block |abs| indicates the absolute value, and the FT indicates the use of the Fourier transform.

This module provides two implementations for the time to time-frequency transformation (First Transformation), one based on the STFFT, and the other on the continuous wavelet transform (CWT) using the Complex Morlet wavelet. The time-frequency to frequency-frequency transformation (Second Transformation) is carried out with the FFT.

Installation

Dowload or clone the respository, then: $ pip install .

Examples

Besides the functions to compute and visualize the frequency-frequency representation of real signals, example data and scripts are provided.

Example 1: example_01.py

This example shows the usage and the commands accepted by GUI to explore amplitude modulation for a example ECG and EEG data. The GUI can be called with the functions: explore_strfft_am_gui() which uses STFFT, and explore_wavelet_am_gui() based on wavelet transformation. Further details in their use refer to the comments in example_01.py.

stfft STFFT-based Amplitude Modulation analysis GUI

wavelet CWT-based Amplitude Modulation analysis GUI

Example 2: example_02.py

This script shows presents the details in the usage of the functions in the module to carry on the signal transformations, as well as plotting functions. Refer to the comments in example_02.py

Acknowledgement

The research is based upon work supported by the Office of the Director of National Intelligence (ODNI), Intelligence Advanced Research Projects Activity (IARPA), via IARPA Contract NĀ°2017 - 17042800005 . The views and conclusions con - tained herein are thos e of the authors and should not be interpreted as necessarily representing the official policies or endorsements, either expressed or implied, of the ODNI, IARPA, or the U.S. Government. The U.S. Government is authorized to reproduce and distribute reprint s for Governmental purposes notwithstanding any copyright annotation thereon.

amplitude-modulation-analysis-module's People

Contributors

rcassani avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.