xrheed.plugins.dsnp_arpes_raw

Classes

DsnpArpesRawPlugin()

Plugin to load UMCS DSNP ARPES RAW RHEED images.

class DsnpArpesRawPlugin[source]

Bases: LoadRheedBase

Plugin to load UMCS DSNP ARPES RAW RHEED images.

ATTRS = {'beam_energy': 19400, 'plugin': 'UMCS DSNP ARPES raw', 'screen_center_sx_px': 740, 'screen_center_sy_px': 155, 'screen_sample_distance': 309.2, 'screen_scale': 9.3112}
TOLERATED_EXTENSIONS = {'.raw'}
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.