SParamToolsSubsetAndChangePortAssignmentT(SParamDataT, Int32, Boolean) Method

Subsets and Changes Port Assignment of a N-Port

Definition

Namespace: Metas.Vna.Data
Assembly: Metas.Vna.Data (in Metas.Vna.Data.dll) Version: 2.8.9053.20259
C#
public static SParamData<T> SubsetAndChangePortAssignment<T>(
	SParamData<T> a,
	int[] ports,
	bool sort = true
)
where T : new(), Object, IRealNumber<T>

Parameters

a  SParamDataT
N-Port S-Parameter Data
ports  Int32
New Port Assignment (-1: exclude)
sort  Boolean  (Optional)
Sort the new ports in the following order: port number, port mode (s, d, c)

Type Parameters

T
Real Number Type

Return Value

SParamDataT
Subset S-Parameter Data

See Also