Logical

Classes:

Condition([minimum, maximum, elementwise])

Compare the input against some condition

Transform(rhythm, *args, **kwargs)

Metaclass for data transformations

class Condition(minimum=None, maximum=None, elementwise=False, *args, **kwargs)[source]

Bases: autopilot.transform.transforms.Transform

Compare the input against some condition

Parameters
  • minimum

  • maximum

  • elementwise (bool) – if False, return True only if all values are within range. otherwise return bool for each tested value

  • *args

  • **kwargs

Attributes:

format_in

format_out

maximum

minimum

Methods:

process(input)

process(input)[source]
property minimum
property maximum
property format_in
property format_out