gro_exp.utils.msd_fit

gro_exp.utils.msd_fit(data_msd, area=[], is_plot=False, is_print=False, kwargs_line={})

Function to fit the msd calculated with gromacs by hand.

Parameters
data_msddictonary

data dictonary from the function gro_exp.utils.msd()

arealist

area in which the msd will be calculated

kwargs_line: dict, optional

Dictionary with plotting parameters for the line plot

Returns
timefloat

self fitted msd value (m^2/s)