Get raw distances: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
m (typo in example)
(dynamic_measures hints)
Line 7: Line 7:


[[get_raw_distances]] can dump distance objects, created with [[distance]].
[[get_raw_distances]] can dump distance objects, created with [[distance]].
''Warning: the atoms are hashed by coordinates; this could cause issues if coordinates are altered after distance objects have been created (see also [[dynamic_measures]] setting).''


== Arguments ==
== Arguments ==
Line 29: Line 31:


* [[distance]]
* [[distance]]
* [[dynamic_measures]]
* [[find_pairs]]
* [[find_pairs]]
* [[get_raw_alignment]]
* [[get_raw_alignment]]


[[Category:Script Library]]
[[Category:Script Library]]
[[Category:ObjSel_Scripts]]

Revision as of 11:55, 1 February 2012

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.

Warning: the atoms are hashed by coordinates; this could cause issues if coordinates are altered after distance objects have been created (see also dynamic_measures setting).

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