om_code.corrections.processref2#

processref2(self, f, refstrain, figs, experiment, condition)[source]#

Processes reference strain data for spectral unmixing (for experiments with two fluorescence measurements). Uses lowess to smooth the ratio of emitted fluorescence measurements so that the reference strain’s data is corrected to zero as best as possible.

Parameters
f: list of strings

The fluorescence measurements. For example, [‘GFP’, ‘AutoFL’].

refstrain: string

The reference strain. For example, ‘WT’.

figs: boolean

If True, display fits of the fluorescence ratios.

experiment: string

The experiment to be corrected.

condition: string

The condition to be corrected.

Returns
qrfn: function

The ratio of the two fluorescences for the reference strain as a function of OD.