@@ -431,7 +431,8 @@ def get_ibis_model_from_file(self, input_file, is_ami=False):
431
431
input_file : str
432
432
Path of the IBIS file.
433
433
is_ami : bool, optional
434
- Whether if import an IBIS or an IBIS AMI.
434
+ Whether the file to import is an IBIS AMI file. The
435
+ default is ``False``, in which case it is an IBIS file.
435
436
436
437
Returns
437
438
-------
@@ -956,11 +957,11 @@ def create_touchstone_report(
956
957
curves : list
957
958
List of names for the curves to plot.
958
959
solution : str, optional
959
- Name of the solution. The default value is ``None``.
960
+ Name of the solution. The default is ``None``.
960
961
variations : dict, optional
961
- Dictionary of variation names. The default value is ``None``.
962
+ Dictionary of variation names. The default is ``None``.
962
963
differential_pairs : bool, optional
963
- Specify if the plot is on differential pairs traces. The default value is ``False``.
964
+ Whether the plot is on differential pairs traces. The default is ``False``.
964
965
subdesign_id : int, optional
965
966
Specify a subdesign ID to export a Touchstone file of this subdesign. The default value is ``None``.
966
967
Returns
@@ -1047,7 +1048,7 @@ def push_time_excitations(
1047
1048
kaiser : float, optional
1048
1049
Kaiser value. The default is ``0.0``.
1049
1050
correct_coherent_gain : bool, optional
1050
- Enable coherent gain correction. The default is ``True``.
1051
+ Whether to enable the coherent gain correction. The default is ``True``.
1051
1052
setup : str, optional
1052
1053
Name of the solution setup to push. The default is ``"LinearFrequency"``.
1053
1054
@@ -1222,7 +1223,7 @@ def assign_power_sinusoidal_excitation_to_ports(self, ports):
1222
1223
1223
1224
@pyaedt_function_handler (filepath = "input_file" )
1224
1225
def assign_voltage_frequency_dependent_excitation_to_ports (self , ports , input_file ):
1225
- """Assign a frequency dependent excitation to circuit ports from a frequency dependent source (.fds format).
1226
+ """Assign a frequency dependent excitation to circuit ports from a frequency dependent source (FDS format).
1226
1227
1227
1228
Parameters
1228
1229
----------
@@ -1283,15 +1284,15 @@ def set_differential_pair(
1283
1284
reference : str
1284
1285
Name of the terminal to use as the negative terminal.
1285
1286
common_mode : str, optional
1286
- Name for the common mode. Default is ``None`` in which case a unique name is chosen .
1287
+ Name for the common mode. The default is ``None``, in which case a unique name is assigned .
1287
1288
differential_mode : str, optional
1288
- Name for the differential mode. Default is ``None`` in which case a unique name is chosen .
1289
+ Name for the differential mode. The default is ``None``, in which case a unique name is assigned .
1289
1290
common_reference : float, optional
1290
- Reference impedance for the common mode. Units are Ohm. Default is ``25``.
1291
+ Reference impedance for the common mode. The units are Ohm. The default is ``25``.
1291
1292
differential_reference : float, optional
1292
1293
Reference impedance for the differential mode. Units are Ohm. Default is ``100``.
1293
1294
active : bool, optional
1294
- Set the differential pair as active. Default is ``True``.
1295
+ Whether to set the differential pair as active. The default is ``True``.
1295
1296
1296
1297
Returns
1297
1298
-------
@@ -1377,7 +1378,7 @@ def set_differential_pair(
1377
1378
def load_diff_pairs_from_file (self , input_file ):
1378
1379
"""Load differtential pairs definition from a file.
1379
1380
1380
- You can use the ``save_diff_pairs_to_file`` method to obtain the file format.
1381
+ You can use the ``save_diff_pairs_to_file() `` method to obtain the file format.
1381
1382
New definitions are added only if they are compatible with the existing definitions in the project.
1382
1383
1383
1384
Parameters
@@ -1413,14 +1414,14 @@ def load_diff_pairs_from_file(self, input_file):
1413
1414
1414
1415
@pyaedt_function_handler (filename = "output_file" )
1415
1416
def save_diff_pairs_to_file (self , output_file ):
1416
- """Save differtential pairs definition to file.
1417
+ """Save differential pairs definition to a file.
1417
1418
1418
1419
If the file that is specified already exists, it is overwritten.
1419
1420
1420
1421
Parameters
1421
1422
----------
1422
1423
output_file : str
1423
- Full qualified name of the file containing the differential pairs definition.
1424
+ Full qualified name of the file to save the differential pairs definition to .
1424
1425
1425
1426
Returns
1426
1427
-------
@@ -1449,7 +1450,7 @@ def add_netlist_datablock(self, input_file, name=None):
1449
1450
Returns
1450
1451
-------
1451
1452
bool
1452
- ``True`` if successfully created , ``False`` otherwise .
1453
+ ``True`` when successful , ``False`` when failed .
1453
1454
"""
1454
1455
if not os .path .exists (input_file ):
1455
1456
self .logger .error ("Netlist File doesn't exists" )
@@ -1465,12 +1466,12 @@ def add_netlist_datablock(self, input_file, name=None):
1465
1466
1466
1467
@pyaedt_function_handler (filepath = "input_file" )
1467
1468
def browse_log_file (self , input_file = None ):
1468
- """Save most recent log file into a new directory.
1469
+ """Save the most recent log file in a new directory.
1469
1470
1470
1471
Parameters
1471
1472
----------
1472
1473
input_file : str, optional
1473
- New log file path . The default is the pyaedt folder.
1474
+ File path to save the new log file to . The default is the `` pyaedt`` folder.
1474
1475
1475
1476
Returns
1476
1477
-------
@@ -1644,7 +1645,7 @@ def create_tdr_schematic_from_snp(
1644
1645
input_file : str
1645
1646
Full path to the sNp file.
1646
1647
probe_pins : list
1647
- Pins to attach to the probe components.
1648
+ List of pins to attach to the probe components.
1648
1649
probe_ref_pins : list, optional
1649
1650
Reference pins to attach to probe components. The default is ``None``.
1650
1651
This parameter is valid only in differential TDR probes.
@@ -1936,7 +1937,7 @@ def create_ami_schematic_from_snp(
1936
1937
Second and third arguments are respectively the names of the tx and rx mode probes.
1937
1938
"""
1938
1939
if design_name in self .design_list :
1939
- self .logger .warning ("Design already exists. renaming ." )
1940
+ self .logger .warning ("Design already exists. Renaming ." )
1940
1941
design_name = generate_unique_name (design_name )
1941
1942
self .insert_design (design_name )
1942
1943
if isinstance (input_file , type (Hfss3dLayout )):
0 commit comments