Get raw distances

From PyMOLWiki
Revision as of 10:44, 1 February 2012 by Speleo3 (talk | contribs) (typo in example)
Jump to navigation Jump to search
Type Python Module
Download get_raw_distances.py
Author(s) Takanori Nakane and Thomas Holder
License BSD-2-Clause
This code has been put under version control in the project Pymol-script-repo

get_raw_distances can dump distance objects, created with distance.

Arguments

  • names = string: names of distance objects (no wildcards!) {default: all measurement objects}
  • state = integer: object state {default: 1}
  • selection = string: atom selection {default: all}

Example

fetch 2xwu, async=0

# interface polar contacts
distance iface_hbonds, chain A, chain B, mode=2

# dump (model,index) information
get_raw_distances iface_hbonds

See Also