pofff.visualization.error_table module#

Compare simulation and experimental FluidFlower benchmark metrics.

The module loads sparse quantities and segmented Wasserstein distances, computes relative errors for participating groups, ranks the reported metrics, and writes a formatted comparison table for the selected segmentation thresholds.

pofff.visualization.error_table._load_sparse_csv(filename)[source]#

Load a sparse CSV file, automatically handling optional headers.

Parameters:
filenameobject

Path to the input file.

pofff.visualization.error_table._parse_arguments(argv)[source]#

Parse command-line arguments controlling paths and thresholds.

Parameters:
argvobject

Arguments to parse instead of the process command line.

pofff.visualization.error_table.run_error_table(argv=None)[source]#

Compute and write the benchmark error comparison table.

Parameters:
argvobject, optional

Arguments to parse instead of the process command line.