edges_io.io.S11Dir#

class edges_io.io.S11Dir(path, log_level=40, repeat_num: int | Sequence[int] | dict[str, int | Sequence[int]] = _Nothing.NOTHING, run_num: int | Sequence[int] | dict[str, int | Sequence[int]] = _Nothing.NOTHING, *, check=True, fix=False)[source]#

Class representing the entire S11 subdirectory of an observation.

Parameters:
  • path (str or Path) – Top-level directory of the S11 measurements.

  • repeat_num (int or dict, optional) – If int, the repeat num of all the standards to use (typically one or two). Otherwise, specified as a dict per-load. By default, use the highest repeat number available.

  • run_num (int or dict, optional) – If int, the run num to use for all loads. If dict, specify which run num to use for each load. By default, use the highest run for each available load. Note: if using this for calibration, the run number must match the run number of the spectra and resistance.

Methods

__init__(path[, log_level, repeat_num, ...])

Method generated by attrs for class S11Dir.

check_contents(path[, fix])

Check whether contents of this container are in the correct format.

check_self(path, fix)

get_available_load_names(path)

get_highest_run_num(kind)

Get the highest run number for this kind.

get_simulator_names(path)

typestr(name)

Generate a string uniquely defining the 'kind of thing' the object is.

Attributes