ChangaLoader Class

Class to load Changa N-body simulation snapshots.

class changaLoader.ChangaLoader(path_to_sim)

A class to load data from Changa simulations.

path_to_sim

Path to the simulation files.

Type:

str

read_dDelta()

Read the dDelta value

Reads the dDelta value from the parameter file.

Returns:

The dDelta value extracted from the parameter file.

Return type:

float

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