Skip to content

Savers

init_vol_csv(output_prefix)

write_vol_csv(results_vol, output_prefix)

Append frame indices and volumes to a CSV file.

PARAMETER DESCRIPTION

results_vol

A list of tuples, each containing (frame_idx, volume).

TYPE: list[tuple[int, float]]

output_prefix

Path to the directory where the CSV file will be saved.

TYPE: str