Parameter Forms
Classes
- class keysight.ads.de.db.CompoundForm
Bases:
FormCompoundForm is a type of Form for a parameter that contains one or more sub-parameters.
The CompoundForm describes how the parameter is netlisted and displayed. The Form for each sub-parameter describes how that portion of the parameter is netlisted and displayed. The number of sub-parameters is fixed by the parameter definition.
- __init__(name: str, label: str = '', params: Sequence[ModelParam] = [], net_format: str = '', display_format: str = '', dialog_data: str = '') None
- add_parameter(parameter: ModelParam) None
- property parameters: NamedListRefAbc[ModelParam]
- class keysight.ads.de.db.ConstForm
Bases:
FormA Form representing a fixed value, such as “Yes” or 1.
- __init__(name: str, label: str | None = None, net_format: str | None = None, display_format: str | None = None, dialog_data: str = '') None
- class keysight.ads.de.db.Form
All parameter values are described by a Form that defines how the parameter is netlisted and displayed.
A Form must appear in the Formset of a parameter definition in order to be usable by that parameter. See
Formsetand class de.db.ModelParam.- property dialog_data: str
A string used by edit dialogs for this form.
If this string is empty, the name of the form will be used by default.
- property discrete: bool
- property display_format: str
The display format string for values using this form.
- static is_compound_form(form: Form) TypeGuard[CompoundForm]
- static is_string_form(form: Form) TypeGuard[StringForm]
- property label: str
Short descriptive label of the Form.
- property name: str
Unique name of the Form.
- property net_format: str
The netlist format string for values using this form.
- class keysight.ads.de.db.Formset
A Formset holds one or more Forms that define how a parameter is netlisted and displayed.
- contains(name: str) bool
contains is deprecated, and will be removed in the 2025 Update 2 release. Use Formset.forms.find(name) is not None.
- property name: str
- class keysight.ads.de.db.RepeatedForm
Bases:
FormRepeatedForm is the form used for a parameter that is repeatable.
All repeatable parameters share the same RepeatedForm.
- class keysight.ads.de.db.StringForm
Bases:
FormA Form representing a value stored in a string.
- __init__(name: str, label: str | None = None, net_format: str = '%v', display_format: str = '%v', dialog_data: str = '') None
- class keysight.ads.de.db.StringFormWithAELCallbacks
Bases:
StringForm
- class keysight.ads.de.db.StringFormWithCallbacks
Bases:
StringForm
Functions
- keysight.ads.de.db.global_model_lib() ModelLib
- db.model_lib A collection of global forms and formsets.