Giter VIP home page Giter VIP logo

fourier-series-decomposer's Introduction

Fourier-series-decomposer

This project is aimed at creating an interactive program for visualizing the Fourier series decomposition of a given function with a GUI developed using PyQt. Fourier series decomposition allows representing periodic functions as a sum of sinusoidal components, making it valuable in signal processing, image compression, and various scientific applications.

Fourier_series

Project Structure

  • main.py: Main entry point for the application. Launches the QApplication and runs the FourierSeriesApp.

  • safe_dict.py: Contains the function to create a dictionary with safe math functions for expression evaluation.

  • mpl_widget.py: Custom QWidget for embedding Matplotlib figures in PyQt5 applications.

  • fourier_series.py: Handles Fourier series visualization, including the evaluation of Fourier series components.

  • visualize.py: Implements the FourierSeriesApp class, responsible for handling the GUI and launching the application.

  • window.py: Defines the Window class, which sets up the main GUI layout using PyQt5.

Usage

  1. Run main.py to launch the Fourier Series Visualization application.

  2. Input the required parameters in the GUI, such as expressions for a0, an, and bn, modulation, time interval, etc.

  3. Click the "Plot" button to visualize the Fourier series based on the provided parameters.

  4. Exit the application using the "Exit" button.

Dependencies

The project relies on the following libraries:

  • PyQt5: A set of Python bindings for Qt libraries, used for creating the graphical user interface.

  • Matplotlib: A plotting library for the Python programming language, used to visualize the Fourier series.

  • NumPy: A powerful library for numerical operations, providing support for array manipulations in this project.

Additional Comments

  • The code is modularized for better organization and readability.

  • Docstrings and comments have been added to explain the purpose of classes, methods, and code blocks.

Author

👤 Aras Güngöre

fourier-series-decomposer's People

Contributors

arasgungore avatar

Stargazers

 avatar  avatar

Watchers

 avatar  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.