ReadSnapshot¶
-
class
sf3dmodels.arepo.ReadSnapshot(path, flags={'mc_tracer': True, 'sgchem': True, 'time_steps': True, 'variable_metallicity': False})[source] [edit on github]¶ Bases:
sf3dmodels.arepo.UniqueCellsReads a binary snapshot from AREPO and stores its data and header information into python dictionaries.
Parameters: - snap_path : str
Path to the snapshot file to read in.
Returns: - data : dict
Dictionary containing the physical data of the snapshot.
- header : dict
Dictionary containing the header information of the snapshot.
Notes
This tool uses the main features of the AREPO’s standard python library arepy.