neuro_morpho.reports.generator

Generate reports for the NeuroMorpho dataset.

Functions

_aggregate_results(→ pandas.DataFrame)

Aggregate the results of the analysis.

_parse_single_file(→ None)

generate_statistics(→ None)

generate_report(→ None)

Module Contents

neuro_morpho.reports.generator._aggregate_results(stats_dir: str | pathlib.Path) pandas.DataFrame[source]

Aggregate the results of the analysis.

The results of the ananlysis is returned as a pandas DataFrame. It is also saved in the stats_dir directory as a csv file named aggregated_results.csv.

Parameters:

stats_dir (str|Path) – The directory containing the statistics files.

Returns:

The aggregated results.

Return type:

pd.DataFrame

neuro_morpho.reports.generator._parse_single_file(input_file: str | pathlib.Path, output_file: str | pathlib.Path) None[source]
neuro_morpho.reports.generator.generate_statistics(in_dir: str | pathlib.Path, out_dir: str | pathlib.Path) None[source]
neuro_morpho.reports.generator.generate_report(model_out_dir: str | pathlib.Path, labeled_out_dir: str | pathlib.Path, report_out_path: str | pathlib.Path, reports: list[neuro_morpho.reports.report.report_fn]) None[source]