signal-scope
A tiny (<200 lines) Python tool for analyzing time-series data:
- Trend strength
- Volatility
- Drift detection
- Regime shifts
- Anomaly scoring
- Optional matplotlib visualizations
Perfect for finance, forecasting, sensor data, and fast exploratory analysis.
Install
pip install signal-scope
Usage
from signal_scope.core import analyze_ts
result = analyze_ts("my_data.csv", col="price", plot=True)
print(result)
Expected output:
{
"trend": 0.87,
"volatility": 0.032,
"drift": -0.12,
"turning_points": 5,
"anomaly_score": 0.014
}
Input format
CSV must contain a numeric column, e.g.:
timestamp,price
2024-01-01,120.3
2024-01-02,121.0
...
Programmatic usage
import pandas as pd
from signal_scope.metrics import volatility
df = pd.read_csv("my_data.csv")
print(volatility(df["price"]))
Plotting
Enable visual output:
analyze_ts("my_data.csv", col="price", plot=True)
MIT License.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
signal_scope-0.1.0.tar.gz
(3.9 kB
view details)
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_scope-0.1.0.tar.gz.
File metadata
- Download URL: signal_scope-0.1.0.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ff816ed82176523b066b3958ab2ca8fe7ff1fb13c9a0df67eea71c51db29c42
|
|
| MD5 |
ab994ca3258611f210929e71d08c993d
|
|
| BLAKE2b-256 |
24e67f09f4e7988013935d60f593afc9a84ef57a5d9f1b11e4e152a395e4837f
|
File details
Details for the file signal_scope-0.1.0-py3-none-any.whl.
File metadata
- Download URL: signal_scope-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.7 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 |
c1848f5ae25906d10183fab21adf49d315f55fd9d26b9d8493a05825646224df
|
|
| MD5 |
10960bbad06a29a3485243aab1f0175e
|
|
| BLAKE2b-256 |
4412a956eabc68c213bba22fe5d8e1b772a33fd7bd38128311c93b2149e433ef
|