API
This page contains the main API reference.
Core Primitives
|
Base class for RF models. |
|
Base class for parameter-aware objects in ParamRF. |
|
A frequency axis used to evaluate models over. |
|
The canonical parameter container for ParamRF. |
|
Create an unconstrained free parameter. |
|
Create a fixed parameter. |
|
Create a free parameter constrained within a specific interval. |
|
Create a free parameter constrained to a specific domain. |
|
Create a free parameter with an associated probability distribution. |
Working with Parameters
|
Returns the parameters of a model, or any collection of models, by name. |
|
Returns the values of a model's parameters by name, in one space. |
|
Returns the log prior density of a model's parameters, in one space. |
|
Returns a copy of a model with the parts a selector picks replaced. |
|
Returns a copy of a model in which one part is derived from another. |
|
Returns a copy of a tree with its ties applied and its parameters left intact. |
|
Turns a function of a base model and new parameters into a derived model constructor. |
Main Modules
RF models, components, surrogates, and adapters, and their solvers. |
|
Parameter-aware wrappers for ParamRF modules. |
|
Frequency-dependent materials. |
|
Parameter factories, converters, and field specifiers. |
|
Public stats modules and their common entry points. |
|
Public objectives modules and their common entry points. |
|
Non-linear optimization of RF models. |
|
Bayesian inference of RF models. |
|
Higher-level fitting utilities. |
Other Modules
Core maths functions. |
|
Core RF conversions and system representations. |
|
Model loading and saving. |
|
Plotting and vizualization. |
Utilities
|
A container for a collection of scikit-rf Networks. |
|
(experimental) Like functools.partial, but JAX-compatible. |
|
(experimental) Like operator.attrgetter, but registered as a PyTree. |
|
(experimental) Retrieves values from a PyTree given JAX tree paths. |
|
|
Returns if x is an instance of |
|
|
Coerces a value into a parameter. |
|
A field specifier for registering parameters within a model. |
|
Splits a PyTree into two halves based on a filtering rule. |
|
Recombines previously partitioned PyTrees into a single, functional PyTree. |
|
Generates an in_axes PyTree by comparing a batched model to a template. |
|
Generates a boolean PyTree mask identifying which leaves have a batch dimension. |
|
Equinox supports extra functionality on top of the default dataclasses. |
|
(experimental) Load a ParamRF Model (or any Parax PyTree) from a file. |
|
(experimental) Save a ParamRF Model (or any Parax PyTree) to a file. |
|
Computes the exact derivative of a function. |
|
Vectorizes a function over the given input arguments. |
|
Freezes/fixes a parameter or entire model and returns the frozen model. |
|
Unfreezes/unfixes a potentially frozen parameter or model and returns the unfrozen model. |
|
Returns a copy of a dataclass, such as a model or parameter, with fields replaced. |
|
Recursively resolves AbstractUnwrappable nodes within a PyTree. |
|
Decorator for Equinox module methods. |