formak.runtime

Python Runtime.

A collection of classes and tools for running filters and providing additional functionality around the filter

Module Contents

Classes

StampedReading

ManagedFilter

Data

StateAndVariance

API

class formak.runtime.StampedReading(timestamp, sensor_key, *, _data=None, **kwargs)

Initialization

classmethod from_data(timestamp, sensor_key, data)
formak.runtime.StateAndVariance = 'namedtuple(...)'
class formak.runtime.ManagedFilter(ekf, start_time: float, state, covariance, calibration_map=None)

Initialization

tick(output_time: float, *, control=None, readings: Optional[List[formak.runtime.StampedReading]] = None)

Update to a given output time, optionally updating with sensor readings.

Note: name-only arguments required to prevent ambiguity in the case of calling the function with readings but no control

_process_model(output_time, control)