SweepMatrix#

class ansys.aedt.core.modules.solve_sweeps.SweepMatrix(setup, name, sweep_type='Interpolating', props=None)#

Initializes, creates, and updates sweeps in Q3D.

Parameters:
setup:class ‘from ansys.aedt.core.modules.solve_setup.Setup’

Setup used for the analysis.

namestr

Name of the sweep.

sweep_typestr, optional

Type of the sweep. Options are "Fast", "Interpolating", and "Discrete". The default is "Interpolating".

propsdict

Dictionary of the properties. The default is None, in which case the default properties are retrieved.

Methods

SweepMatrix.add_subrange(range_type, start)

Add a subrange to the sweep.

SweepMatrix.create()

Create a sweep.

SweepMatrix.update()

Update the sweep.

Attributes

SweepMatrix.basis_frequencies

Get the list of all frequencies that have fields available.

SweepMatrix.frequencies

List of all frequencies of the active sweep.

SweepMatrix.is_solved

Verify if solutions are available for given sweep.