Table of Contents
Get the number of bins.
Determine the number of bins to use to divide the z dimension of the simulation box stored in the provided .gro file in bins of the given bin width.
fname (str or bytes or os.PathLike) – Name of the .gro file that holds the box dimensions.
str
bytes
os.PathLike
binwidth (float) – The desired bin width.
float
num_bins (int) – The number of bins required to divide the simulation box in bins of the given width.
int