surface_poly_fit.results_to_mesh

Command line interface for converting polynomial-fitting results ".npz" (surface_poly_fit.cli) to a VTK ".vtu" file for visualization.

Functions

get_argument_parser()

Returns a argparse.ArgumentParser to handle command line option processing.

read_results(file_name)

Read polynomial fitting results and corresponding polyhedral surface from ".npz" file.

results_to_mesh_cli(args)

Command line interface for reading polynomial fitting results file and generating a mesh file containing the original mesh along with the fitting-results point data.

results_to_mesh_main_cli()

Entry-point function for command line interface.

write_result_mesh(output_file_name, ...)

Writes mesh file with fit results point-data.