Fluctuation electron microscopy analysisΒΆ

fem_analysis()

Fluctuation electron microscopy (FEM) analysis.

>>> import pixstem.api as ps
>>> s = ps.dummy_data.get_fem_signal()
>>> fem_results = s.fem_analysis(centre_x=50, centre_y=50, show_progressbar=False)
>>> fem_results['V-Omegak'].plot()
_images/fem_v_omegak.png

Plotting function: pixstem.fem_tools.plot_fem().

>>> import pixstem.fem_tools as ft
>>> fig = ft.plot_fem(s, fem_results)
_images/fem_full_results.png

Saving results: pixstem.fem_tools.save_fem(). This creates a folder with several HyperSpy signals.

>>> ft.save_fem(fem_results, 'fem_results')

Loading results: pixstem.fem_tools.load_fem().

>>> fem_results_loaded = ft.load_fem('fem_results')