sweep#

Module to class to calculate sweep config based on experimental setup.

class artof.sweep.SweepConfig(sweep_start_energy, sweep_end_energy, adjusted_channel_width)#

Configuration class for sweep parameters.

Parameters:
  • sweep_start_energy (float)

  • sweep_end_energy (float)

  • adjusted_channel_width (float)

adjusted_channel_width: float#
sweep_end_energy: float#
sweep_start_energy: float#
artof.sweep.get_scienta_sweep_config(spectrum_begin_energy, spectrum_end_energy, step_size, lens_k)#

Extract sweep parameters (sweep start and end energy, channel width, steps number) based on implementation of VG Scienta.

Parameters:
  • spectrum_begin_energy (float) – Begin energy of the spectrum.

  • spectrum_end_energy (float) – End energy of the spectrum.

  • step_size (float) – Width of the channel.

  • lens_k (float) – Lens configuration indicating the energy window width per measurement.

Returns:

Lens steps and SweepConfig object containing sweep start energy, sweep end energy, and adjusted channel width.

Return type:

tuple[int, SweepConfig]