analysis.fullfield#

class pyleem.analysis.fullfield.FullFieldBase(readers, roi=None, onset=0)[source]#

Bases: Analyzer

Analyzer for full-field image stacks.

A typical step of the full-field analysis is to correct image drift (transform) and extract the area intensity over the image stack.

For LEEM, the analysis can be applied to LEEM-IV. For XAS, the analysis can be applied to XAS absorption spectra over beam energy.

get_processed_image(index)[source]#

Return the drift-corrected image.

get_intensities()[source]#

Return ROI mean intensity for the stack.

correct_drift(**kwargs)[source]#

Correct the drift of the image stack.

calculate_drift(sigma=3, crop_size=None, upsample_factor=10, max_workers=None, chunk_size=32, max_distance=None, reference_index=0)[source]#

Calculate the correction shifts.