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
- 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
- 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
- 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:
- Generate and plot unit step and unit impulse signals (length = 20).
- Generate and plot a sine wave (A=2, f=5 Hz, phase=0, t=0–1 sec).
- Perform time shifting on sine wave (+5 units).
- Perform addition of unit step and ramp signal.
- Multiply a sine and cosine wave of same frequency.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file signal_ict_kaavyarao_92510133009-1.0.0.tar.gz.
File metadata
- Download URL: signal_ict_kaavyarao_92510133009-1.0.0.tar.gz
- Upload date:
- Size: 14.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b391c46a61cf15f6d262e1016912d3a2b9dd3b68dd07f6c232e63963bec0398a
|
|
| MD5 |
49eb6929745e84dba217552acae9ba36
|
|
| BLAKE2b-256 |
46207663b5a92d0b6f3a3d0bb2a90da42d783ac109099585c4fb74dde0bcfbe7
|
File details
Details for the file signal_ict_kaavyarao_92510133009-1.0.0-py3-none-any.whl.
File metadata
- Download URL: signal_ict_kaavyarao_92510133009-1.0.0-py3-none-any.whl
- Upload date:
- Size: 14.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cf4e8e4da668926ae3022a6d73314f596062383a98939f34f1aeca9009d9a3db
|
|
| MD5 |
c0f0422a41de55dbc813cda56ccabadf
|
|
| BLAKE2b-256 |
f73b9b4eff1fb47a91c18c24910e51e49a91e8b68b5a4d3819336d8b4d5984de
|