pyaedt.modules.solutions.SolutionData#

class pyaedt.modules.solutions.SolutionData(aedtdata)[source]#

Contains information from the GetSolutionDataPerVariation() method.

Methods

SolutionData.data_db([expression, convert_to_SI])

Retrieve the data in the database for an expression and convert in db10.

SolutionData.data_db10([expression, ...])

Retrieve the data in the database for an expression and convert in db10.

SolutionData.data_db20([expression, ...])

Retrieve the data in the database for an expression and convert in db20.

SolutionData.data_imag([expression, ...])

Retrieve the imaginary part of the data for an expression.

SolutionData.data_magnitude([expression, ...])

Retrieve the data magnitude of an expression.

SolutionData.data_phase([expression, radians])

Retrieve the phase part of the data for an expression.

SolutionData.data_real([expression, ...])

Retrieve the real part of the data for an expression.

SolutionData.export_data_to_csv(output[, ...])

Save to output csv file the Solution Data.

SolutionData.ifft([curve_header, u_axis, ...])

Create IFFT of given complex data.

SolutionData.ifft_to_file([u_axis, v_axis, ...])

Save IFFT Matrix to a list of csv files (one per time step).

SolutionData.init_solutions_data()

Initialize the database and store info in variables.

SolutionData.is_real_only([expression])

Check if the expression has only real values or not.

SolutionData.plot([curves, math_formula, ...])

Create a matplotlib plot based on a list of data.

SolutionData.plot_3d([curve, x_axis, ...])

Create a matplotlib 3d plot based on a list of data.

SolutionData.set_active_variation([var_id])

Set the active variations to one of available variations in self.variations.

SolutionData.to_degrees(input_list)

Convert an input list from radians to degrees.

SolutionData.to_radians(input_list)

Convert an input list from degrees to radians.

SolutionData.update_sweeps()

Update sweeps.

SolutionData.variation_values(variation_name)

Get the list of the specific variation available values.

Attributes

SolutionData.enable_pandas_output

Set/Get a flag to use Pandas to export dict and lists.

SolutionData.expressions

Expressions.

SolutionData.full_matrix_mag_phase

Get the full available solution data magnitude and phase in radians.

SolutionData.full_matrix_real_imag

Get the full available solution data in Real and Imaginary parts.

SolutionData.intrinsics

Get intrinsics dictionary on active variation.

SolutionData.nominal_variation

Nominal variation.

SolutionData.primary_sweep

Primary sweep.

SolutionData.primary_sweep_values

Retrieve the primary sweep for a given data and primary variable.

SolutionData.primary_sweep_variations

Retrieve the variations lists for a given primary variable.