FieldClass#
- class ansys.aedt.core.visualization.plot.pyvista.FieldClass(path, log_scale=True, coordinate_units='meter', opacity=1, color_map='jet', label='Field', tolerance=0.001, headers=2, show_edge=True)#
Class to manage Field data to be plotted in pyvista.
- Parameters:
- path
str
Full path to the file.
- log_scalebool,
optional
Either if the field has to be plotted log or not. The default value is
True
.- coordinate_units
str
,optional
Fields coordinates units. The default value is
"meter"
.- opacity
float
,optional
Value between 0 to 1 of opacity. The default value is
1
.- color_map
str
,optional
Color map of field plot. The default value is
"rainbow"
.- label
str
,optional
Name of the field. The default value is
"Field"
.- tolerance
float
,optional
Delauny tolerance value used for interpolating points. The default value is
1e-3
.- headers
int
,optional
Number of lines to of the file containing header info that has to be removed. The default value is
2
.
- path