Terminated
- class pmrf.models.composite.interconnected.Terminated(terminated_from: Model, terminated_into: Model, *, z0: complex = 50 + 0j, name: str | None = None, metadata: Any = None, domain_from: str = 's', domain_to: str = 's', method: str | None = None)
Bases:
ModelRepresents one network terminated in another.
- Parameters:
- primary_matrix(freq)
The primary matrix (e.g.
s,aetc.) as a function of frequency.The primary matrix represents the matrix returned by
pmrf.Model.primary_property, which is either overridden by sub-classes, or is the first proprerty directly overriden out ofpmrf.Model.s(),pmrf.Model.a(),pmrf.Model.y(),pmrf.Model.z()(in that order), unless :meth:pmrf.Model.buildis overridden, in which case the primary matrix of the built model is returned.This method can also be overriden itself in order to to dynamically implement one of the matrices as opposed to overriding it explicitly.
- Return type:
jnp.ndarray
- Raises:
NotImplementedError – If no primary property is overridden.
- domain_from: str = 's'
The domain to use for the “from” model. Only ‘s’ is supported.
- domain_to: str = 's'
The domain to use for the “to” model. Only ‘s’ is supported.
- method: str | None = None
The algorithm to use for the call to terminate_<domain_from>_in_<domain_to>. If None, uses the default algorithm for the domain combination. Algorithms are available in
pmrf.rf.
- property primary_property
The primary property (e.g.
"s","a") as a string.The primary property is the first overridden among
PRIMARY_PROPERTIES, unlessbuildis overridden, in which case the primary property of the built model is returned.- Return type:
str
- Raises:
NotImplementedError – If no primary property is overridden.