f4enix.output.cuv_sampling_error.add_sampling_error_to_vtk#

f4enix.output.cuv_sampling_error.add_sampling_error_to_vtk(grid: StructuredGrid | UnstructuredGrid | PolyData | RectilinearGrid, cuv_file_path: str | Path, voxel_sampling_points: int) StructuredGrid | UnstructuredGrid | PolyData | RectilinearGrid#

Add a new array to the grid with the volume sampling error. In the case of a voxel with more than one cell, the error is the biggest one.