FlowCytometryTools.QuadGate

class FlowCytometryTools.QuadGate(vert, channels, region, name=None)[source]
__init__(vert, channels, region, name=None)[source]

Passes events in a given quadrant of a 2d-plot.

vert : tuple
A tuple of length 2: (x_center, y_center) Specifies the center of the quad gate.
channels : [‘channel 1 name’, ‘channel 2 name’]
Defines the names of the channels
region : [‘top left’, ‘top right’, ‘bottom left’, ‘bottom right’]
For example, if ‘top left’, the gate only passes through data that lies in the top left region.
name : str
The gate’s name.

Methods

__init__(vert, channels, region[, name]) Passes events in a given quadrant of a 2d-plot.
plot([flip, ax_channels, ax]) Plots the gate.
validate_input() Optional method to be defined by derived class to check whether user input was valid.

Attributes

region The region of the gate that passes events.
unnamed_gate_num