Skip to main content

A Python package for fundamental signal processing operations

Project description

This Package demonstrates the fundamental concepts of Signals and Systems by implementing various unitary signals, trigonometric signals, and signal operations in a modular way. The project also includes a main.py script that showcases how to use these modules with the help of tasks.


Folder Structure: signal_ICT_KaavyaRao_92510133009/ │ ├── init.py ├── unitary_signals.py ├── trigonometric_signals.py ├── operations.py │ ├── main.py


Modules and Functions

  1. unitary_signals.py Implements basic discrete signals:
  • unit_step(n) - Generates a unit step signal.
  • unit_impulse(n) - Generates a unit impulse signal.
  • ramp_signal(n) - Generates a ramp signal.

Each function:

  • Returns a NumPy array
  • Plots the signal using Matplotlib

  1. trigonometric_signals.py Implements continuous-time signals:
  • sine_wave(A, f, phi, t) - Generates a sine wave
  • cosine_wave(A, f, phi, t) - Generates a cosine wave
  • exponential_signal(A, a, t) - Generates an exponential signal

  1. operations.py Implements signal operations:
  • time_shift(signal, k) - Shifts signal by k units
  • time_scale(signal, k) - Scales time axis by factor k
  • signal_addition(signal1, signal2) - Adds two signals
  • signal_multiplication(signal1, signal2) - Multiplies two signals point-wise

Main Script (main.py) Demonstrates:

  1. Generate and plot unit step and unit impulse signals (length = 20).
  2. Generate and plot a sine wave (A=2, f=5 Hz, phase=0, t=0–1 sec).
  3. Perform time shifting on sine wave (+5 units).
  4. Perform addition of unit step and ramp signal.
  5. Multiply a sine and cosine wave of same frequency.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

signal_ict_kaavyarao_92510133009-1.0.0.tar.gz (14.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file signal_ict_kaavyarao_92510133009-1.0.0.tar.gz.

File metadata

File hashes

Hashes for signal_ict_kaavyarao_92510133009-1.0.0.tar.gz
Algorithm Hash digest
SHA256 b391c46a61cf15f6d262e1016912d3a2b9dd3b68dd07f6c232e63963bec0398a
MD5 49eb6929745e84dba217552acae9ba36
BLAKE2b-256 46207663b5a92d0b6f3a3d0bb2a90da42d783ac109099585c4fb74dde0bcfbe7

See more details on using hashes here.

File details

Details for the file signal_ict_kaavyarao_92510133009-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for signal_ict_kaavyarao_92510133009-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cf4e8e4da668926ae3022a6d73314f596062383a98939f34f1aeca9009d9a3db
MD5 c0f0422a41de55dbc813cda56ccabadf
BLAKE2b-256 f73b9b4eff1fb47a91c18c24910e51e49a91e8b68b5a4d3819336d8b4d5984de

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page