read_data
- dustpy.utils.read_data(data, filename='data', extension='hdf5', Na=50)[source]
Function returns a SimpleNamespace with the most useful data that can be used for plotting or other purposes. This avoids reading the entirety of data files.
- Parameters:
- datastr | dustpy.Simulation
Either a path to the data directory or a TriPoD simulation frame
- filenamestr, optional, default: “data”
Stem of the data files in the data directory
- extensionstr, optional, default: “hdf5”
File extension of the data file in the data directory
- Returns:
- dataSimpleNamespace
SimpleNamespace with the extracted data fields