export_matrix_data#

Q3d.export_matrix_data(file_name, problem_type=None, variations=None, setup=None, sweep=None, reduce_matrix=None, r_unit='ohm', l_unit='nH', c_unit='pF', g_unit='mho', freq=None, freq_unit=None, matrix_type=None, export_ac_dc_res=False, precision=None, field_width=None, use_sci_notation=True, length_setting='Distributed', length='1meter')#

Export matrix data.

Parameters:
file_namestr

Full path to save the matrix data to. Options for file extensions are: *.m, *.lvl, *.csv, and *.txt.

problem_typestr, optional

Problem type. The default value is None, in which case "C" is used. Options are "C", "AC RL", and "DC RL".

variationsstr, optional

Design variation. The default is None, in which case the current nominal variation is used.

setupstr, optional

Setup name. The default value is None, in which case the first analysis setup is used.

sweepstr, optional

Solution frequency. The default is None, in which case the default adaptive is used.

reduce_matrixstr, optional

Name of the matrix to display. Default value is "Original".

r_unitstr, optional

Resistance unit value. The default value is "ohm".

l_unitstr, optional

Inductance unit value. The default value is "nH".

c_unitstr, optional

Capacitance unit value. Default value is "pF".

g_unitstr, optional

Conductance unit value. The default value is "mho".

freqstr, optional

Selected frequency. The default value is "0Hz".

freq_unitstr, optional

Frequency unit. The default value is None, in which case the default unit is used.

matrix_typestr, optional

Matrix type. The default is None. Options are "Couple", "Maxwell", and "Spice".

export_ac_dc_resbool, optional

Whether to add the AC and DC resistance. The default is False.

precisionint, optional

Precision format. The default value is 15.

field_widthint, optional

Field Width. The default value is 20.

use_sci_notationbool, optional

Use sci notation. Whether to use scientific notation. The default value is True. When False, the display format is used.

length_settingstr, optional

Length setting if the design si 2D. The default value is "Distributed".

lengthstr, optional

Length. The default value is "1meter".

Returns:
bool

True when successful, False when failed.