contact_map.RollingContactFrequency

class contact_map.RollingContactFrequency(contact_trajectory, width=1, step=1)[source]

Iterator for “rolling-average” contact frequencies over a trajectory

Parameters:
  • contact_trajectory (ContactTrajectory) – input trajectory
  • width (int) – the number of frames in the window
  • step (int) – the number of frames between successive starting points of the window (like the step parameter in a Python slice object)
__init__(contact_trajectory, width=1, step=1)[source]

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__(contact_trajectory[, width, step]) Initialize self.