Data Physics Framework for Physical Systems
Project description
QSignature
Data Physics Framework.
📖 Overview
QSignature is a Data Physics framework that extracts physical signatures from causal response data (R(t)). It transforms raw response data into diagnostic fingerprints that reveal the underlying physical regime, memory structure, dynamical properties and more.
Key Capabilities:
- Assumption free — No assumptions about system order, linearity, or excitation
- Data-Driven — Extracts Physics directly from response data R(t)
- Domain agnostic — Works for any causal response signal
- Interpretable — Every output has a physical meaning
🚀 Quick Start
import numpy as np
from QSignature import compute_all, QPDF, QSpace, QSynthetic
# Generate synthetic data
t = np.linspace(0, 10, 1000)
R = QSynthetic.physical.exponential_step(t, tau=2.0, R_inf=1.0)
# Core analysis — timescales and ratios
results = compute_all(t, R)
print(f"τ_s = {results['tau_s']:.4f}")
print(f"τ_u = {results['tau_u']:.4f}")
print(f"Δ_su = {results['Delta_su']:.4f}")
print(f"ρ₂₃ = {results['rho_23']:.4f}")
# Full signature with PDF analysis
results = compute_all(t, R, return_pdf=True)
print(f"PDF Shape: {results['pdf_shape']}")
print(f"Entropy: {results['entropy']:.4f}")
print(f"Time Signature: {results['time_signature']['signature']}")
📦 Installation
pip install QSignature
For development installation:
git clone https://github.com/1030ahmad1030/QSignature.git
cd QSignature
pip install -e .
🧩 Modules
| Module | Description |
|---|---|
| QSignature Core | 8 timescale estimators, 3 higher moments, 18 diagnostic ratios |
| QPDF | Probability Density Function analysis (entropy, peaks, confidence) |
| QSpace | Universal landscape mapping and system classification |
| QSynthetic | Synthetic data generation from canonical systems |
📊 Core Estimators
Timescales (8)
| Estimator | Definition | Meaning |
|---|---|---|
τ_s |
Signed centroid (fallback) | Step-response specific |
τ_s2 |
Signed centroid (pure) | Response-agnostic |
τ_s3 |
Signed centroid (hybrid) | Best for oscillatory systems |
τ_u |
Unsigned centroid | Always positive, robust |
τ_2 |
Step-response | Lag area |
τ_3 |
Autocorrelation | Memory horizon |
τ_pole |
Spectral pole | Frequency domain |
τ_g |
Generalized persistence | State-based persistence |
Higher Moments (3)
| Moment | Meaning |
|---|---|
τ_u2 |
Variance (spread) |
τ_u3 |
Skewness (asymmetry) |
τ_u4 |
Kurtosis (tailedness) |
Diagnostic Ratios (18)
| Category | Ratios |
|---|---|
| Oscillation & Direction | Δ_su, Δ_su2, Δ_su3, R_su, R_su2, R_su3 |
| Memory Type | ρ₁₃, ρ₁₃_s2, ρ₁₃_s3, ρᵤ₃, ρ₂₃ |
| Step Consistency | ρ₁₂, ρ₁₂_s2, ρ₁₂_s3 |
| Shape Diagnostics | κ_u, γ_u, β_u |
| Shape vs Memory | ρᵤ₂,₃, ρᵤ₃,₃, ρᵤ₄,₃ |
📈 Full Signature (64 Features)
# Get everything — QSignature + QPDF + Time Signature
results = compute_all(t, R, return_pdf=True)
# Access all features
print(f"τ_s = {results['tau_s']:.4f}")
print(f"Δ_su = {results['Delta_su']:.4f}")
print(f"PDF Shape: {results['pdf_shape']}")
print(f"Entropy: {results['entropy']:.4f}")
print(f"Peaks: {results['n_peaks']}")
print(f"Time Signature: {results['time_signature']['signature']}")
📚 Documentation
- Official Docs: https://qsignature.readthedocs.io/
- GitHub: https://github.com/1030ahmad1030/QSignature
- PyPI: https://pypi.org/project/QSignature/
Papers
- QSignature 1.0 Framework: IEEE ISDFS 2026
- Theorems for Environmental Signature: Research Square
🛠️ Requirements
- Python >= 3.9
- numpy >= 1.21.0
- scipy >= 1.7.0
- pandas >= 1.3.0
- matplotlib >= 3.4.0
- scikit-learn >= 1.0.0
👥 Contributors
The QSignature framework was developed by:
| Name | Role | Affiliation |
|---|---|---|
| Ahmad Muhammad | Lead Developer | Data Physics Research Group |
| Salim Jibrin Danbatta | Software Engineering | Uskudar University |
| Muhammad Abubakar Isah | Mathematics | Istanbul Ticaret Universitesi |
| Ibrahim Yahaya Muhammad | Theoretical & Computational Physics | KMUTT |
| Sulaiman Sulaiman Ahmad | Electrical Engineering | KFUPM |
| Abdelrahman Ghozlan | Physics and Materials Sciences | Qatar University |
| Ahmet Sait ALALI | Department of Physics | Istanbul Technical University, Istanbul, Turkiye |
| Faiz Ahmed Mohammed Elfaki | Mathematics and Statistics | Qatar University |
| Asmau Abdullahi | Physics and Materials Sciences | Qatar University |
| Aisha Farida Ahmed | Computer Science | Kano State Polytechnic, Nigeria |
| Abdulsalam Ahmed Kawu | Department of Physics | Federal University Kashere, Gombe, Nigeria |
| DeepSeek AI | Technical Guidance, Code Review & Documentation | DeepSeek AI |
📄 License
MIT License — see LICENSE.txt for details.
📝 Citation
If you use QSignature in your research, please cite:
@inproceedings{qsignature2026_isdfs,
title={QSignature 1.0: A Dynamical Regime Classification Framework for Causal Time Series Data},
author={Muhammad, Ahmad and Danbatta, Salim Jibrin and Isah, Muhammad Abubakar and others},
booktitle={IEEE ISDFS 2026},
year={2026}
}
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
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 qsignature-1.0.6.tar.gz.
File metadata
- Download URL: qsignature-1.0.6.tar.gz
- Upload date:
- Size: 648.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba81d55fafb02d177244d92a17fdcf4d524ac46dffc188b4e3fd6d5e4a3225cb
|
|
| MD5 |
70713a4145d4a401756097429ecc2ca2
|
|
| BLAKE2b-256 |
2328dd166004c8490dae4c120488ca21077f3b339bbc375cc45c79c67c747ea2
|
File details
Details for the file qsignature-1.0.6-py3-none-any.whl.
File metadata
- Download URL: qsignature-1.0.6-py3-none-any.whl
- Upload date:
- Size: 648.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eaec596189c3b9dbc1bd3e5eca706007ac4fb35e1703f32ba7554353787afe5b
|
|
| MD5 |
b881aeed9f47fe6dcf4f6415616c32b7
|
|
| BLAKE2b-256 |
b4d01ae76b4326c6a55d4aa4ff9951f4abc9ca71dc2bc7396ca6149e660dd4d3
|