set_all_diag_constant#

MatrixConvergenceData.set_all_diag_constant(mag_limit, phase_limit, port_names, clear_entries)#

Set all diagonal entries in the matrix to have the given magnitude and phase values.

Parameters:
mag_limitfloat

Magnitude limit.

phase_limitfloat

Phase limit.

port_nameslist[str]

List of port names.

clear_entriesbool

Whether to clear entries.