add_frames_from_file#

ModelPlotter.add_frames_from_file(field_files, log_scale=True, coordinate_units='meter', opacity=1, color_map='jet', label_name='Field', surface_mapping_tolerance=0.001, header_lines=2)#

Add a field file to the scenario. It can be aedtplt, fld or csv file.

Parameters:
field_fileslist

List of full path to frame file.

log_scalebool

Either if the field has to be plotted log or not.

coordinate_unitsstr

Fields coordinates units.

opacityfloat

Value between 0 to 1 of opacity.

color_mapstr

Color map of field plot. Default rainbow.

label_namestr, optional

Name of the field.

surface_mapping_tolerancefloat, optional

Delauny tolerance value used for interpolating points.

header_linesint

Number of lines to of the file containing header info that has to be removed.

Returns:
bool