Use Background analyzer

The background analyzer allows to screen parameter settings for background estimation.

It is accessed by pressing Opt. in the Background correction panel of module Trace processing.

Background analyzer is used to evaluate the performances of background estimation methods on simulated data, i.e., in the frame of algorithm testing.

Background analyzer window is divided into two panels (1-2) and one visualization area (3).

Window components

  1. Method settings
  2. Parameter screening
  3. Visualization area

Method settings

Use this panel to set the background estimation method.

Background estimation methods are configured for individual intensity-time traces.

Select the molecule by using < and >, or by setting the molecule index in (a), and the intensity time trace in list (b).

MASH includes seven background estimation methods that can be selected in list (b). After selecting a method, set parameters (d - j) according to the detailed description given in the table below.

Each of these methods (except Manual) can be used to calculate a single background value or a background trajectory. The second yields a more accurate correction, especially when the background is varying in time (e. g. in the case of a bleaching fluorescent background or a loss of focus). The type of correction is selected by deactivating or activating the option (i), respectively.

filter description default parameters
Mean value The background intensity is estimated as Ihigh + (d) × HWHMhigh, with Ihigh and HWHMhigh the respective mean and half-width at half-maximum of the high intensity distribution, high intensities being higher than Imean + (d) × σI, with Imean and σI the respective mean and standard deviation of the intensity distribution in the sub-image of dimensions (e)-by-(e) pixels. (d) = 0, (e) = 20
Most frequent The background intensity is estimated as the most frequent value in the sub-image of dimensions (e)-by-(e) pixels and considering a binning interval of (Imax-Imin) / (d). (d) = 100, (e) = 20
Median value The background intensity is estimated in the sub image of dimension (e)-by-(e), either as the median of median pixels in the row dimension if (d) = 1, or as an average between the medians of median pixels in the row dimension and in the column dimension if (d) = 2 (d) = 2, (e) = 20
Histothresh The background intensity is estimated as the intensity corresponding to a probability (d) in the cumulative distribution of intensities in the sub-image of dimensions (e)-by-(e) pixels. (d) = 0.5, (e) = 20
<N median values> The background intensity is estimated as the average of median pixels in each columns of the sub-image of dimensions (e)-by-(e) pixels (e) = 20
Dark coordinates The background intensity is calculated from a dark pixel located at position x=(f) and y=(g) that can be automatically found in a (e)-by-(e) sub-image if (h) is activated. When used to calculate a background trajectory, the background trace is smoothed with an average window size of (d) frames prior being subtracted. (d) = 10, (e) = 20, (f) = 0, (g) = 0, (h) activated
Manual The background intensity is estimated by the user and set in (j) (j) = 0

After method configuration, the same settings can be applied to all intensity-time traces of the current molecule by pressing Set for all channels, and to all molecules by pressing Set for all molecules.

Background intensity-time trace are shown after pressing View. In this case, an additional window appears and shows the dark trace plot in intensity units defined by menu Units of the menu bar.

Dark trace

The calculated background intensity is given in (j) in image counts or counts per second according to intensity units defined in menu Units of the menu bar.

Note: When background trajectories are calculated, the mean value of the dark trace is taken for point estimate of the background intensity


Parameter screening

Use this panel to define the parameter ranges to be screened.

Parameter screening can be applied to the current molecule only or to all molecules by respectively deactivating or activating the option in (a).

If allowed by the background estimation method used in Method settings, one or both of the parameters dim and param can be varied up to ten different values.

To screen parameter dim and/or param, deactivate the respective option in (d) and or (e), and set the screening values in (b) and/or (c) respectively.

Start background estimation with parameter screening by pressing Start; after completion, the Visualization area is automatically updated with screening results for the current molecule.

Results of uni- or multidimensional background estimations can be exported to .bga files by pressing Save.


Visualization area

Use this area to visualize screening results.

Any graphics in MASH-FRET can be exported to an image file by left-clicking on the axes and selecting Export graph.

no screening

When both parameters dim and param are fixed, the background estimate is written in the axes together with the parameter values.

1-parameter screening

When one of the two parameters dim or param is screened, the variation of background estimates is plotted as a 2D scatter plot titled with the fixed parameter value.

2-parameters screening

When both parameters dim or param are screened, the variation of background estimates is plotted as a 3D surface.