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.4.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.4-py3-none-any.whl (33.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ialdev_maths-0.2.4.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.4.tar.gz
Algorithm Hash digest
SHA256 270c244d74feebb640154f0956ac5df55458d1e176bfdde2eccc88ed41f11133
MD5 226d4adb7172667d705f39c9ab17e45a
BLAKE2b-256 921c09920e5aadafacbc6a664cb8bcb7344803d7c7736f3488218eea1ef97dc6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ialdev_maths-0.2.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ea520d61f3df9d9344716b8a6aca18819758fc4a19afec47da0c30ec57839211
MD5 20965439f66c1a5469974a887a582844
BLAKE2b-256 c7f6fdbc0966749d7a26c2e9bff966fb8e5c7cc8a8a241ef0c1a8f7a947f2901

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