suave_requirements.fulfillment

Fuzzy memberships and fulfillment functions for SUAVE requirements.

Functions

exponential_decay(x, *, exponent)

Return e^(-exponent * x) clamped to [0, 1].

left_shoulder(x, *, foot, shoulder)

Return 1 at or below shoulder, 0 at or above foot.

reaction_time_fulfillment(reaction_time, *, ...)

Return AS EARLY AS POSSIBLE fulfillment of a reaction time (s).

right_shoulder(x, *, foot, shoulder)

Return 0 at or below foot, 1 at or above shoulder.

search_footprint_fulfillment(coverage_area, ...)

Return AS MANY AS POSSIBLE fulfillment of the camera footprint.

thruster_availability_fulfillment(required, ...)

Return AS CLOSE AS POSSIBLE TO 0 fulfillment of missing thrusters.

Classes

MovingAverage(window_size)

Mean over the last window_size samples, None if empty.