contact_map.AtomContactConcurrence

class contact_map.AtomContactConcurrence(trajectory, atom_contacts, cutoff=0.45)[source]

Contact concurrences for atom contacts.

Parameters
  • trajectory (mdtraj.Trajectory) – the trajectory to analyze

  • atom_contacts (list) – output from contact_map.atom_contacts.most_common()

  • cutoff (float) – cutoff, in nm. Should be the same as used in the contact map.

__init__(trajectory, atom_contacts, cutoff=0.45)[source]

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

Methods

__init__(trajectory, atom_contacts[, cutoff])

Initialize self.

set_labels(labels)

Set the contact labels