dlsmicro.plot_conditions¶
-
dlsmicro.plot_conditions.plot_conditions(df_path, condition_dir, replicate_dict, cond_color=None, cond_label=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 conditions after analysis and saving as dataframe.
Parameters: - df_path (str) – Path to saved dataframe to plot
- condition_dir (dictionary) – Dictionary of conditions and respective folders
- cond_color (dictionary, optional) – Dictionary of conditions and respective color If None, colors are default colors
- cond_label (dictionary, optional) – Dictionary of conditions and respective labels If None, labels are taken to be folder name
- 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