xrheed.plugins.dsnp_arpes_bmp
Classes
Plugin to load UMCS DSNP ARPES BMP RHEED images. |
- class DsnpArpesBmpPlugin[source]
Bases:
LoadRheedBasePlugin to load UMCS DSNP ARPES BMP RHEED images.
- ATTRS = {'azimuthal_angle': 0.0, 'beam_energy': 19400, 'incident_angle': 2.0, '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'}
- add_file_metadata(da, file_path)
Attach common metadata (file name, creation time) to attrs.
- dataarray_from_image(image_np, attrs_override=None, flip=True)
Helper to create DataArray from a numpy image, using ATTRS scaling and centers. Plugins may use or override this.
- is_file_accepted(file_path)