xrheed.plugins.dsnp_arpes_bmp

Classes

DsnpArpesBmpPlugin()

Plugin to load UMCS DSNP ARPES BMP RHEED images.

class DsnpArpesBmpPlugin[source]

Bases: LoadRheedBase

Plugin to load UMCS DSNP ARPES BMP RHEED images.

ATTRS = {'beam_energy': 19400, 'plugin': 'UMCS DSNP ARPES bmp', 'screen_center_sx_px': 749, 'screen_center_sy_px': 70, 'screen_sample_distance': 309.2, 'screen_scale': 9.3112}
TOLERATED_EXTENSIONS = {'.bmp'}
dataarray_from_image(image_np, *, file_path=None, attrs_override=None, flip=True)

Construct a canonical RHEED DataArray from an image.

Responsibilities: - merge default attrs with overrides - resolve geometry (including screen center) - construct sx / sy coordinates - attach file provenance automatically

is_file_accepted(file_path)
load_single_image(file_path, **kwargs)[source]

Load a single image and return a canonical RHEED DataArray.

Implementations MUST call self.dataarray_from_image(…) exactly once and return its result.