edges_analysis.calibration.s11.AntennaS11

class edges_analysis.calibration.s11.AntennaS11(internal_switch: InternalSwitch, load_name: str | None = None, model_delay: tp.Time = <Quantity 170. ns>, *, raw_s11: np.ndarray, freq: FrequencyRange, n_terms=_Nothing.NOTHING, model_type: Modelable = _Nothing.NOTHING, complex_model_type: type[ComplexMagPhaseModel] | type[ComplexRealImagModel] = _Nothing.NOTHING, model_transform: ModelTransform = UnitTransform(range=(0.0, 1.0)), set_transform_range=True, model_kwargs: dict[str, Any] = _Nothing.NOTHING, use_spline: bool = False, metadata: dict = _Nothing.NOTHING)[source]

Methods

__init__(internal_switch[, load_name, ...])

Method generated by attrs for class AntennaS11.

clone(**kwargs)

Clone with new parameters.

from_io(s11_io, load_name[, ...])

Instantiate from an edges_io.io.S11Dir object.

from_load_and_internal_switch(load_s11, ...)

Generate the LoadS11 from an uncalibrated load and internal switch.

from_s1p_files(files, internal_switch[, ...])

Generate from a list of four S1P files.

from_single_file(path, internal_switch[, ...])

Generate from a single pre-calibrated file.

get_k_matrix(receiver[, freq])

Compute the K matrix for this source.

get_s11_model(raw_s11, *[, freq, n_terms, ...])

Generate a callable model for the S11.

plot_residuals([fig, ax, color_abs, ...])

Plot the residuals of the S11 model compared to un-smoothed corrected data.

s11_model(freq)

Compute the S11 at a specific set of frequencies.

Attributes

raw_s11

The raw S11 measurements at different frequencies.

model_delay

internal_switch

load_name

freq

n_terms

model_type

complex_model_type

model_transform

set_transform_range

model_kwargs

use_spline

metadata