create_lna_schematic_from_snp#

Circuit.create_lna_schematic_from_snp(input_file, start_frequency=0, stop_frequency=30, auto_assign_diff_pairs=False, separation='.', pattern=None, analyze=True, design_name='LNA')#

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_filestr

Full path to the sNp file.

start_frequencyint, float, optional

Start frequency in GHz of the LNA setup. The default is 0.

stop_frequencyint, 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.

separationstr, optional

Character to use to separate port names. The default is ".".

patternlist, optional

Port name pattern. The default is ["component", "pin", "net"].

analyzebool

Whether to automatically assign differential pairs. The default is False.

design_namestr, optional

New schematic name. The default is "LNA".

Returns:
(bool, list, list)

First argument is True if succeeded. Second and third argument are respectively names of the differential and common mode pairs.