cytoflowgui.workflow.operations.autofluorescence#
- class cytoflowgui.workflow.operations.autofluorescence.AutofluorescenceWorkflowOp[source]#
Bases:
WorkflowOperation,AutofluorescenceOp- default_view(**kwargs)[source]#
Returns a diagnostic plot to see if the autofluorescence estimation is working.
- Returns:
An diagnostic view, call
AutofluorescenceDiagnosticView.plotto see the diagnostic plots- Return type:
- estimate(experiment)[source]#
Estimate the autofluorescence from
blank_filein channels specified inchannels.- Parameters:
experiment (
Experiment) – The experiment to which this operation is appliedsubset (Str (default = “”)) – An expression that specifies the events used to compute the autofluorescence
- apply(experiment)[source]#
Applies the autofluorescence correction to channels in an experiment.
- Parameters:
experiment (
Experiment) – the experiment to which this op is applied- Returns:
a new experiment with the autofluorescence median subtracted. The corrected channels have the following metadata added to them:
af_median : Float The median of the non-fluorescent distribution
af_stdev : Float The standard deviation of the non-fluorescent distribution
- Return type:
- class cytoflowgui.workflow.operations.autofluorescence.AutofluorescenceWorkflowView[source]#
Bases:
WorkflowView,AutofluorescenceDiagnosticView- should_plot(changed, payload)[source]#
Should the owning WorkflowItem refresh the plot when certain things change?
changedcan be: - Changed.VIEW – the view’s parameters changed - Changed.RESULT – this WorkflowItem’s result changed - Changed.PREV_RESULT – the previous WorkflowItem’s result changed - Changed.ESTIMATE_RESULT – the results of calling “estimate” changedIf
should_plotis called from a notification handler, the payload is the handlereventparameter.