deesse_loader module
Define a loader adapted to DEESSE (ONERA, Toulouse) file format.
- class DeesseLoader
Bases:
LoaderDefine the loader.
- __init__() None
Raise an error for now.
Ideally, this loader should detect correct input and columns. But it is not for now.
- load_emission_yield(*filepath: str | Path) DataFrame
Load and format the given emission yield files.
- Parameters:
filepath – Path(s) to file holding data under study.
- Returns:
Structure holding the data. Has a
Energy [eV]column holding PEs energy. And one or several columnstheta [deg], wherethetais the value of the incidence angle and content is corresponding emission yield.- Return type:
- load_emission_angle_distribution(*args) Any
Load the given electron emission angle distribution file.
- load_emission_energy_distribution(filepath: str | Path, e_pe: float | None = None) tuple[DataFrame, float | None]
Load and format an emission energy file from DEESSE.
- Parameters:
filepath – Path to file holding data under study.
e_pe – Energy of PEs in \(\mathrm{eV}\). Should be manually provided, as not present in DEESSE files.
- Returns:
pandas.DataFrame – Structure holding the data. Has a
Energy [eV]column holding emitted electrons energy. And one or several columnstheta [deg], wherethetais the value of the incidence angle and content is corresponding emission energy distribution.float – Energy of Primary Electrons in \(\mathrm{eV}\). If not found in the file comments, it will be inferred from the position of the EBEs peak.
- _abc_impl = <_abc._abc_data object>