create_lna_schematic_from_snp#
- Circuit.create_lna_schematic_from_snp(input_file: str, start_frequency: int | float | None = 0, stop_frequency: int | float | None = 30, auto_assign_diff_pairs: bool = False, separation: str | None = '.', pattern: list | None = None, analyze: bool | None = False, design_name: str | None = 'LNA') tuple[bool, list, list]#
Create a schematic from a Touchstone file and automatically set up an LNA analysis.
This method optionally assigns differential pairs automatically based on name pattern.
- Parameters:
- input_file
str Full path to the sNp file.
- start_frequency
int,float,optional Start frequency in GHz of the LNA setup. The default is
0.- stop_frequency
int,float,optional Stop frequency in GHz of the LNA setup. The default is
30.- auto_assign_diff_pairsbool
Whether to automatically assign differential pairs. The default is
False.- separation
str,optional Character to use to separate port names. The default is
".".- pattern
list,optional Port name pattern. The default is
["component", "pin", "net"].- analyzebool
Whether to automatically assign differential pairs. The default is
False.- design_name
str,optional New schematic name. The default is
"LNA".
- input_file
- Returns: