ResultGatherer#

class zeroheliumkit.fem.freefemer.ResultGatherer(savedir: str | Path, result_files: dict, extract_opt: list[dict], remove_files: bool = False)[source]#

Bases: object

Methods

gather_cm_results([remove])

Gathers the capacitance matrix results from the saved text files into a 2D list.

gather_results([remove])

Gathers results for all electrodes into one polars DataFrame for each extract config.

gather_results(remove: bool = False)[source]#

Gathers results for all electrodes into one polars DataFrame for each extract config. Redirected to .parquet files for easy parsing.

Parameters:

remove (bool) – Whether or not to remove the .npy files in the user’s file system. Defaults to True.

gather_cm_results(remove: bool = True) list[source]#

Gathers the capacitance matrix results from the saved text files into a 2D list.

Returns:

2D list containing the capacitance matrix values.

Return type:

capacitance_matrix (list)