update#

MaxwellMatrix.update(old_source, source_type, new_source=None, new_excitations=None)#

Update the reduced matrix.

Parameters:
old_sourcestr

Original name of the source to update.

source_typestr

Source type, which can be Series or Parallel.

new_sourcestr, optional

New name of the source to update. The default value is the old source name.

new_excitationsstr, optional

List of excitations to include in the matrix reduction. The default values are excitations included in the source to update.

Returns:
bool

True when successful, False when failed.