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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ialdev_maths-0.2.0.tar.gz
Algorithm Hash digest
SHA256 55243aeab0e760da2c81332ddc0872441e9e64f53cb0c3487c0c00863ad6390c
MD5 1b1c74322610d7968c09f8d05b3fee70
BLAKE2b-256 c453e7d9e09a93cf081561ebdaeda2c10275579bc475673c216b270484e64100

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ialdev_maths-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 33.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.33.1

File hashes

Hashes for ialdev_maths-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8cf4d3b039be8b6b18fbeba5ef59b96e803c84f37f2560d629419b819af6f52e
MD5 d710df6f99a895b7399dcbbe3f65e144
BLAKE2b-256 23b97696aa7b76d575325d6c9999b189e2e63321db34a5badb6a6cde2afaa81b

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