This function estimates the rate Matrix R for the current free energy and log diffusion profiles over the bins for periodic boundary conditions. The dimension of the matrix is \(n \times n\) with \(n\) as number of the bins. The calculation of the secondary diagonal elements in the rate matrix \(R\) happen with the following equations
with \(\Delta z\) as the bin width, \(D_{i+\frac{1}{2}}\) as the diffusion between to bins and \(F_i\) as free energy in the bin center. The diagonal elements can be calculated with the secondary elements determine with the equations above.
The corner of the rate matrix is set with:
The periodic boundary conditions are implemeted with
Number of bins
Ln diffusion profile over the bins
Free energy profile over the bins
Rate matrix for the current free energy and ln diffusion profile