dlsmicro.plot_replicates

dlsmicro.plot_replicates.plot_replicates(df_path, replicates, replic_color=None, plot_ci=True, plot_G_replicates=True, plot_alpha_replicates=True, plot_scattering=False, add_scaling=False, scaling_frac=None)[source]

Plot DLS microrheology output data for multiple replicates after analysis and saving as dataframe.

Parameters:
  • df_path (str) – Path to saved dataframe to plot
  • replicates (list of ints) – List of ints corresponding to the replicate number
  • replic_color (dictionary, optional) – Dictionary of replicates and respective color If None, colors are default colors. This applies to the scattering plot. Otherwise, color plotted for G and alpha is first color in dictionary
  • plot_ci (boolean, optional) – If True, plot error bars around G and alpha
  • plot_G_replicates (boolean, optional) – If True, plot G for all conditions averaged over all replicates
  • plot_alpha_replicates (boolean, optional) – If True, plot alpha for all conditions averaged over all replicates
  • plot_scattering (boolean, optional) – If True, plot scattering for all conditions
  • add_scaling (boolean, optional) – If True, add scaling defined by scaling_frac to plot
  • scaling_frac (list of float, optional) – List of 2 floats, where the first number is numerator of fraction and second is denominator of fraction