export_matrix#
- SetupMaxwell.export_matrix(matrix_type, matrix_name, output_file, is_format_default: bool = True, width: int = 8, precision: int = 2, is_exponential: bool = False, setup: str | None = None, default_adaptive: str = 'LastAdaptive', is_post_processed: bool = False) bool#
Export R/L or Capacitance matrix after solving.
- Parameters:
- matrix_type
str Matrix type to be exported. The options are
"RL"or"C".- matrix_name
str Matrix name to be exported.
- output_file
str Output file path to export R/L matrix file to. Extension must be
.txt.- is_format_defaultbool,
optional Whether the exported format is default or not. If False the custom format is set (no exponential).
- width
int,optional Column width in exported .txt file.
- precision
int,optional Decimal precision number in exported *.txt file.
- is_exponentialbool,
optional Whether the format number is exponential or not.
- setup
str,optional Name of the setup. If not provided, the active setup is used.
- default_adaptive
str,optional Adaptive type. The default is
"LastAdaptive".- is_post_processedbool,
optional Boolean to check if it is post processed. Default value is
False.
- matrix_type
- Returns:
- bool
Truewhen successful,Falsewhen failed.