cytoflowgui.workflow.operations.bead_calibration¶
- class cytoflowgui.workflow.operations.bead_calibration.Unit[source]¶
Bases:
traits.has_traits.HasTraits
- class cytoflowgui.workflow.operations.bead_calibration.BeadCalibrationWorkflowOp[source]¶
Bases:
cytoflowgui.workflow.operations.operation_base.WorkflowOperation
,cytoflow.operations.bead_calibration.BeadCalibrationOp
- default_view(**kwargs)[source]¶
Returns a diagnostic plot to see if the peak finding is working.
- Returns
An diagnostic view, call
BeadCalibrationDiagnostic.plot
to see the diagnostic plots- Return type
- apply(experiment)[source]¶
Applies the bleedthrough correction to an experiment.
- Parameters
experiment (
Experiment
) – the experiment to which this operation is applied- Returns
A new experiment with the specified channels calibrated in physical units. The calibrated channels also have new metadata:
- bead_calibration_fnCallable (
pandas.Series
–>pandas.Series
) The function to calibrate raw data to bead units
- bead_calibration_fnCallable (
- bead_unitsStr
The units this channel was calibrated to
- Return type
- estimate(experiment)[source]¶
Estimate the calibration coefficients from the beads file.
- Parameters
experiment (
Experiment
) – The experiment used to compute the calibration.
- class cytoflowgui.workflow.operations.bead_calibration.BeadCalibrationWorkflowView[source]¶
Bases:
cytoflowgui.workflow.views.view_base.WorkflowView
,cytoflow.operations.bead_calibration.BeadCalibrationDiagnostic
- 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.