Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This algorithm is intended to subtract background from images with quasi-symmetric radial distribution of intensities. For example, water ring background:

 

To evaluate background in data, n-d array of data is split for 2-d bins in polar coordinate frame, total intensity and number of involved pixels are counted for each bin and converted to the average bin intensity.

Then this averaged intensity is per-pixel subtracted form data n-d array.

Description

...

Input per-pixel coordinates passed in numpy arrays xarr, yarr are used to evaluate per-pixel radius and polar angle:

...

Averaged background intensity for default and non-default binning cases (nradbins is changed to 100nphibins=8, nradbins=500):

Results

Background subtracted data for default and non-default binning cases:

 

 

 

 

 

References

...