Component.evaluate

rfnetwork.component.Component.evaluate

Component.evaluate(frequency=None, noise=False)

Computes the component s-matrix and (optionally) the noise correlation matrix.

Return type:

dict

Parameters

frequencynp.ndarray, optional

Frequency vector to compute data over. If not provided, attempts to find a default frequency vector that minimizes extrapolation of component data.

noisebool, default: False

If True, computes the noise correlation matrix of the component.

Returns

dict

dictionary with the s-matrix data in the “s” key, and the noise correlation matrix in “n”. Matrices are labeled numpy arrays with dimensions (frequency, b, a).