GengaLoader Class

Class to load Genga N-body simulation snapshots.

class gengaLoader.GengaLoader(path_to_sim)

Initializes the GengaLoader with the given path to simulation.

path_to_sim

Path to the simulation files.

Type:

str

read_snaps()

Read Snapshots

Reads the snapshot files and concatenates their data into a DataFrame.

Returns:

DataFrame containing the concatenated data from all snapshot files.

Return type:

pd.DataFrame