Channel

class pylluminator.annotations.Channel(*values)

Bases: Enum

Probes measure either a red or green fluorescence. This class defines their names and values.

Possible values are: RED, GREEN

Attributes

is_green

Check if the current channel is green.

is_red

Check if the current channel is red.

RED

red channel

GREEN

green channel

Methods and attributes detail

__init__(*args, **kwds)
GREEN = 'Grn'

green channel

RED = 'Red'

red channel

property is_green: bool

Check if the current channel is green.

Returns:

True if channel is green, False otherwise

Return type:

bool

property is_red: bool

Check if the current channel is red.

Returns:

True if channel is red, False otherwise

Return type:

bool