dlsmicro.analyze_replicates¶
-
dlsmicro.analyze_replicates.analyze_replicates(csv_name, root_folder, replicates, T, r, ergodic, Laplace=False, df_save_path=None, df_file_name=None, save_as_text=True, save_as_df=True, plot_corr=False, plot_msd=False, plot_G=False, save_plots=False)[source]¶ Analyze files exported from Zetasizer software for multiple conditions and plot data per replicate of a condition.
Parameters: - csv_name (str) – Name of every csv file (all the same name)
- root_folder (str) – Name of folder in which all files to be probed are
- replicates (list of ints) – List of ints corresponding to the replicate number
- T (float) – Temperature of the experiment in Kelvin
- r (float) – Radius of particle in experiment in nanometers
- ergodic (boolean) – Ergodicity in experiment
- Laplace (boolean, optional) – If True, use direct Laplace transform to find shear modulus. This is useful because it can smooth the data to noise.
- df_save_path (str, optional) – Path to Dataframe to be saved containing results from DLS microrheology analysis. If None, path will be set to root_folder.
- df_file_name (str, optional) – Name of Dataframe to be saved containing results from DLS microrheology analysis. If None, condition_data.pkl is default name
- save_as_text (boolean, optional) – If True, save each element of Dataframe separately as a text file
- save_as_df (boolean, optional) – If True, save the Dataframe
- plot_corr (boolean, optional) – If True, show plot of the correlation function of each replicate
- plot_msd (boolean, optional) – If True, show plot of the mean-squared displacement of each replicate
- plot_G (boolean, optional) – If True, show plot of the shear modulus of each replicate
- save_plots (boolean, optional) – If True, saves plots of correlation function, MSD, G