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.plotto 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) – theExperimentto apply the gate to.- Returns
a new
Experimentwith 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?
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.