Creates a new “channel” that is the ratio of the measurements in two other
ratio has one class:
RatioOp – applies the operation.
- class cytoflow.operations.ratio.RatioOp¶
Create a new “channel” from the ratio of two other channels.
The operation name. Also becomes the name of the new channel.
The channel that is the numerator of the ratio.
The channel that is the denominator of the ratio.
>>> ratio_op = flow.RatioOp() >>> ratio_op.numerator = "FITC-A" >>> ex5 = ratio_op.apply(ex4)
Applies the ratio operation to an experiment
a new experiment with the new ratio channel
The new channel also has the following new metadata:
What was the numerator channel for the new one?
What was the denominator channel for the new one?
- Return type