module myna.application.exaca.meltpool
function aggregate_melt_times
aggregate_melt_times(
exaca_input,
export_name='melt_time.vtu',
verbose=False,
decimal_precision=8
)
Reads an ExaCA input file to load the associated temperature files and generate a VTK file with the melt times of each point ("ts") and the gradient of the melt times ("dts_x", "dts_y", "dts_z")
Args:
exaca_input: (str) path to ExaCA input fileexport_name: (str) name of exported .vtu fileverbose: (bool) controls output written to stdoutdecimal_precision: (int) controls the precision for merging XYZ coordinates between different temperature files
function merge_melt_times_with_rgb
merge_melt_times_with_rgb(
file_rgb,
file_melt,
export_file,
decimal_precision=8,
verbose=False,
num_ref_ids=10000
)
Merges an ExaCA VTK file with RGB values with the melt time .vtu file generated by aggregate_melt_times().
Args:
file_rgb: (str) path to ExaCA VTK with RGB valuesfile_melt: (str) path to the .vtu file with melt timesexport_file: (str) name of exported .vtk filedecimal_precision: (int) controls the precision for merging XYZ coordinates between different temperature filesverbose: (bool) controls output written to stdoutnum_ref_ids: (int) number of reference ids used for ExaCA grain ids, allows for adding a "Reference ID" as a data field
This file was automatically generated via lazydocs.