cytoflowgui.workflow.operations.density¶
- class cytoflowgui.workflow.operations.density.DensityGateWorkflowOp[source]¶
Bases:
cytoflowgui.workflow.operations.operation_base.WorkflowOperation
,cytoflow.operations.density.DensityGateOp
- default_view(**kwargs)[source]¶
Returns a diagnostic plot of the Gaussian mixture model.
- Returns
a diagnostic view, call
DensityGateView.plot
to see the diagnostic plot.- Return type
- apply(experiment)[source]¶
Creates a new condition based on membership in the gate that was parameterized with
estimate
.- Parameters
experiment (
Experiment
) – theExperiment
to apply the gate to.- Returns
a new
Experiment
with the new gate applied.- Return type
- class cytoflowgui.workflow.operations.density.DensityGateWorkflowView[source]¶
Bases:
cytoflowgui.workflow.views.view_base.WorkflowByView
,cytoflow.operations.density.DensityGateView
- should_plot(changed, payload)[source]¶
Should the owning WorkflowItem refresh the plot when certain things change?
changed
can 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_plot
is called from a notification handler, the payload is the handlerevent
parameter.