Quadrant Class

class flowkit.gates.Quadrant(quadrant_id, divider_refs, divider_ranges)

Represents a single quadrant of a QuadrantGate.

A quadrant is a rectangular section where the boundaries are specified by QuadrantDivider references.

Create a Quadrant instance.

Parameters:
  • quadrant_id – text string to identify the quadrant

  • divider_refs – list of text strings referencing QuadrantDivider instances

  • divider_ranges – list of min/max pairs corresponding to boundaries of the given QuadrantDivider references.

get_divider_range(div_ref)

Returns the divider range values for the given QuadrantDivider ID reference.

Parameters:

div_ref – QuadrantDivider ID string

Returns:

min/max range values for the requested divider