Where ρ spherical bin is the spherical density of a particular bin, n beads is the number of beads in the same bin, R out is the outer bin radius (the upper bound of the bin) and R in is the inner bin radius (the lower bound of the bin). Therefore, the output of the spherical_density tool is a Numpy array with the average spherical density values across time for each bin.