SParamToolsChangePortAssignmentT(SParamDataT, VnaPortDescription, Boolean) Method
Changes Port Assignment of a N-Port
Namespace: Metas.Vna.DataAssembly: Metas.Vna.Data (in Metas.Vna.Data.dll) Version: 2.8.9053.20259
public static SParamData<T> ChangePortAssignment<T>(
SParamData<T> a,
VnaPortDescription[] ports,
bool sort = true
)
where T : new(), Object, IRealNumber<T>
Public Shared Function ChangePortAssignment(Of T As {New, Object, IRealNumber(Of T)}) (
a As SParamData(Of T),
ports As VnaPortDescription(),
Optional sort As Boolean = true
) As SParamData(Of T)
public:
generic<typename T>
where T : gcnew(), Object, IRealNumber<T>
static SParamData<T>^ ChangePortAssignment(
SParamData<T>^ a,
array<VnaPortDescription>^ ports,
bool sort = true
)
static member ChangePortAssignment :
a : SParamData<'T> *
ports : VnaPortDescription[] *
?sort : bool
(* Defaults:
let _sort = defaultArg sort true
*)
-> SParamData<'T> when 'T : new() and Object and IRealNumber<'T>
- a SParamDataT
- N-Port S-Parameter Data
- ports VnaPortDescription
- New Port Assignment
- sort Boolean (Optional)
- Sort the new ports in the following order: port number, port mode (s, d, c)
- T
- Real Number Type
SParamDataTS-Parameter Data