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

Uploaded Python 3

File details

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

File metadata

  • Download URL: ialdev_maths-0.2.1.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.1.tar.gz
Algorithm Hash digest
SHA256 77f31fdff9c40e2cdde38d937d61875df9319224a23d734343f4d5470f441df2
MD5 51c84ea36111b0da79d18440be6b8876
BLAKE2b-256 d8544cac27a05469ebd8cd282c252a62c33cde296b46f8b401ac714ef0c8a460

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ialdev_maths-0.2.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7be2cce7082140d4c67163ea3f0902eff439fb11bb01a18bb5e7c74418aeec61
MD5 8f23547cb8a4073d60e2ea6cde58a272
BLAKE2b-256 ab892989bdff4be14d41d8282eb53c742c05b1b191eb72a417235284e635f8ae

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