xrheed.plugins

Plugin system for RHEED data loading.

Functions

register_plugin(name)

Decorator to register a new plugin.

Classes

LoadRheedBase()

Base class for RHEED plugins.

class LoadRheedBase[source]

Bases: ABC

Base class for RHEED plugins.

ATTRS = {}
TOLERATED_EXTENSIONS = {}
add_file_metadata(da, file_path)[source]

Attach common metadata (file name, creation time) to attrs.

dataarray_from_image(image_np, attrs_override=None, flip=True)[source]

Helper to create DataArray from a numpy image, using ATTRS scaling and centers. Plugins may use or override this.

is_file_accepted(file_path)[source]
abstractmethod load_single_image(file_path, **kwargs)[source]
register_plugin(name)[source]

Decorator to register a new plugin.

Modules

dsnp_arpes_bmp

dsnp_arpes_raw