iad.maths — histograms, geometry, regression
Project description
ialdev-maths
Numerical helpers for the iad toolbox, published as ialdev-maths and imported as iad.maths.
Use this package for histogram statistics, sampling, geometry primitives, plane fitting, and regression helpers used by image/data workflows.
Install
pip install ialdev-maths
Requires Python >=3.10.
Highlights
- Histogram tools:
Sampler,StatGather,StatGather2D,Hist2D, and equal-bin statistics. - Geometry primitives:
Vec2d,Rect,Pose, ranges, and region checks. - Plane utilities: plane fitting, axis IDs, and 3D plane representation.
- Regression helpers, including robust linear regression and an SVD plane estimator.
Examples
from iad.maths.geom.shapes import Rect, Vec2d
roi = Rect(Vec2d(10, 20), dim=Vec2d(100, 80))
inside = (25, 30) in roi
from iad.maths.hist import Sampler, equal_bins_stats
sampler = Sampler(low=0, high=1, bins=16)
stats = equal_bins_stats(values, sampler, stats=True)
from iad.maths.regress import robust_linear_regression
coef, intercept = robust_linear_regression(x, y)
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
ialdev_maths-0.2.3.tar.gz
(33.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 ialdev_maths-0.2.3.tar.gz.
File metadata
- Download URL: ialdev_maths-0.2.3.tar.gz
- Upload date:
- Size: 33.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.34.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
039d751e29793dcf245bdbb45b411b4463517043357b06d8c1a64132c8ed5cb6
|
|
| MD5 |
63383311a22f3bc7f0508782fdf9742f
|
|
| BLAKE2b-256 |
6ce4ae4995b981ee74e8f256c68bf092fade2bfff2a04b74841e5fc23e93e55b
|
File details
Details for the file ialdev_maths-0.2.3-py3-none-any.whl.
File metadata
- Download URL: ialdev_maths-0.2.3-py3-none-any.whl
- Upload date:
- Size: 33.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.34.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
813956ab9f8f8a51a9af9467eb2012e59bc17af74569ef79bada079d8a9edf5b
|
|
| MD5 |
5d38427b5a7eaa46722dadbb4f8e032b
|
|
| BLAKE2b-256 |
79f7578dbdcc710195a5136139a772c87a78e45d21d5460b26808393b1bb2172
|