Skip to main content

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.2.tar.gz (33.9 kB view details)

Uploaded Source

Built Distribution

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

ialdev_maths-0.2.2-py3-none-any.whl (33.8 kB view details)

Uploaded Python 3

File details

Details for the file ialdev_maths-0.2.2.tar.gz.

File metadata

  • Download URL: ialdev_maths-0.2.2.tar.gz
  • Upload date:
  • Size: 33.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.34.2

File hashes

Hashes for ialdev_maths-0.2.2.tar.gz
Algorithm Hash digest
SHA256 e99910ea9db917b74bd14ec734230dab8b66a63e5e0c1687150ca371471d095c
MD5 bb6f407bc3c9c3a90a88425d9d5cee4e
BLAKE2b-256 e25c67429e6bd3490712a92b0f246878c55b22578a00100d8f86c05cf119f705

See more details on using hashes here.

File details

Details for the file ialdev_maths-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: ialdev_maths-0.2.2-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

Hashes for ialdev_maths-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 8fb4b4dace654389228ae944bc6bd55b0d191d86d7250212a782f54703740f49
MD5 78f05459d3a5970ab248c3253b46935c
BLAKE2b-256 eed88395008e22fa4a8fa77cd6a0568094a200a4492f2a6e26f5f6299a43ad7f

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