pylipid.api.LipidInteraction.show_stats_per_traj

LipidInteraction.show_stats_per_traj(write_log=True, print_log=True, fn_log=None)[source]

Show stats of lipid interaction per trajectory.

This assisting function show some quick stats for each trajectory. These stats include the 10 residues that showed longest durations, the highest occupancies and the largest lipid count. This stats provide a quick way to check interactions from each trajectory. The stats info can be printed in sys.stdout or written in a file.

Parameters
  • write_log (bool, default=True) – Whether to write the interaction stats in a log file.

  • print_log (bool, default=True) – Whether to print the interaction stats in sys.stdout.

  • fn_log (str, default=None) – The filename of stats log file. By default, the log file is saved with the name calculation_log_{lipid}.txt. This log file is saved in the root directory defined when the class LipidInteraction was initiated.