loader module

Define the ABC for the Loader.

class Loader

Bases: ABC

Define the base class for loading various electron emission files.

__init__() None

Instantiate the object.

abstractmethod load_emission_yield(filepath: str | Path | Collection[str] | Collection[Path], *args, **kwargs) DataFrame

Load the given electron emission yield file.

abstractmethod load_emission_energy_distribution(filepath: str | Path | Collection[str] | Collection[Path], *args, **kwargs) tuple[DataFrame, float | None]

Load the given electron emission energy distribution file.

Should also try to load the energy of primary electrons from file metadata. If not possible, EmissionEnergyDistribution will try to infer it from the position of the EBEs peak.

abstractmethod load_emission_angle_distribution(filepath: str | Path | Collection[str] | Collection[Path], *args, **kwargs) DataFrame

Load the given electron emission angle distribution file.

_abc_impl = <_abc._abc_data object>