swiftsimio.statistics module

Reader for the statistics file.

class swiftsimio.statistics.SWIFTStatisticsFile(filename: str)[source]

Bases: object

SWIFT statistics files (e.g. SFR.txt, energy.txt) reader.

Parameters:

filename (str) – File name for the statistics file.

header_names: list[str]
header_units: dict[str, unyt_quantity]
header_snake_case_names: list[str]
raw_lines: list[str]