erlab.io.plugins.da30

Loader for Scienta Omicron DA30L analyzer with SES.

Provides a base class for implementing loaders that can load data acquired with Scienta Omicron’s DA30L analyzer using SES.exe. Must be subclassed to implement the actual loading.

Functions

load_zip(filename)

parse_ini(filename)

Classes

class erlab.io.plugins.da30.CasePreservingConfigParser(defaults=None, dict_type=_default_dict, allow_no_value=False, *, delimiters=('=', ':'), comment_prefixes=('#', ';'), inline_comment_prefixes=None, strict=True, empty_lines_in_values=True, default_section=DEFAULTSECT, interpolation=_UNSET, converters=_UNSET)[source]

Bases: ConfigParser

optionxform(optionstr)[source]
class erlab.io.plugins.da30.DA30Loader[source]

Bases: LoaderBase

load_single(file_path)[source]
post_process(data)[source]
additional_attrs: ClassVar[dict] = {}

Additional attributes to be added to the data after loading.

aliases: Iterable[str] | None = ('DA30',)

List of alternative names for the loader.

always_single: bool = True

If True, this indicates that all individual scans always lead to a single data file. No concatenation of data from multiple files will be performed.

name: str = 'da30'

Name of the loader. Using a unique and descriptive name is recommended. For easy access, it is recommended to use a name that passes str.isidentifier().

name_map: ClassVar[dict] = {'alpha': ['Y-Scale [deg]', 'Thetax [deg]'], 'beta': ['Thetay [deg]'], 'eV': ['Kinetic Energy [eV]', 'Energy [eV]'], 'hv': ['BL Energy', 'Excitation Energy']}

Dictionary that maps new coordinate or attribute names to original coordinate or attribute names. If there are multiple possible names for a single attribute, the value can be passed as an iterable.

skip_validate: bool = True

If True, validation checks will be skipped.

erlab.io.plugins.da30.load_zip(filename)[source]
erlab.io.plugins.da30.parse_ini(filename)[source]