Table of Contents

Namespace Pamoja.Kit

Classes

Anomaly

Flags a reading that stands out from the ones around it.

Calibration

Turns a raw sensor count into the units the reading is actually in.

Debounce

Stops a flickering input from acting until it has settled.

Depletion

Warns before a falling level runs out, by projecting its rate of fall.

Geofence

Keeps a tracked point inside an area, and notices when it leaves.

Kalman

Estimates a true value from noisy readings.

Kit

The stateless helpers from the pamoja kit.

Median

Rejects a single wild reading, where an average would let it pull the answer.

Pid

Holds a value at a setpoint by trading off present, past, and predicted error.

Ramp

Limits how fast a value may change, so a load is never slammed.

Smoother

Smooths a noisy reading by weighting each new sample against the running value.

Surge

Notices a step change between successive readings.

Thermostat

Switches a load on and off around a setpoint, with hysteresis to stop chatter.

Trend

Fits a line through recent readings, so a slow drift shows before it matters.

Window

A rolling window of the most recent readings, with the stats over them.

Structs

Coordinate

A latitude and longitude in degrees.

Enums

Boundary

Where a fix sits relative to a Geofence, including the moment it crosses.