cytoflowgui.workflow.operations.bead_calibration#
- class cytoflowgui.workflow.operations.bead_calibration.BeadCalibrationWorkflowOp[source]#
Bases:
WorkflowOperation,BeadCalibrationOp- default_view(**kwargs)[source]#
Returns a diagnostic plot to see if the peak finding is working.
- Returns:
An diagnostic view, call
BeadCalibrationDiagnostic.plotto 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:
WorkflowView,BeadCalibrationDiagnostic- 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.