pysp2.io.read_arm_dat#
- pysp2.io.read_arm_dat(file_name, num_bins=199)[source]#
This reads mass and number distribution data that has been stored in the format used in the ARM Archive.
- Parameters:
file_name (str) – File name or directory with .dat files. All .dat files must have same time indices.
num_bins (int or None) – Number of size distribution bins in the file. Set to None to have PySP2 attempt to automatically detect this.
- Returns:
ds (pandas.DataFrame) – The pandas dataframe containing the data.