<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.pymol.org/index.php?action=history&amp;feed=atom&amp;title=Get_raw_distances</id>
	<title>Get raw distances - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.pymol.org/index.php?action=history&amp;feed=atom&amp;title=Get_raw_distances"/>
	<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Get_raw_distances&amp;action=history"/>
	<updated>2026-06-19T17:24:33Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Get_raw_distances&amp;diff=7997&amp;oldid=prev</id>
		<title>Pyadmin: 1 revision</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Get_raw_distances&amp;diff=7997&amp;oldid=prev"/>
		<updated>2014-03-28T02:16:26Z</updated>

		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 02:16, 28 March 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Pyadmin</name></author>
	</entry>
	<entry>
		<id>https://wiki.pymol.org/index.php?title=Get_raw_distances&amp;diff=7996&amp;oldid=prev</id>
		<title>Speleo3: Infobox psico</title>
		<link rel="alternate" type="text/html" href="https://wiki.pymol.org/index.php?title=Get_raw_distances&amp;diff=7996&amp;oldid=prev"/>
		<updated>2012-07-31T07:48:35Z</updated>

		<summary type="html">&lt;p&gt;Infobox psico&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Infobox script-repo&lt;br /&gt;
|type      = module&lt;br /&gt;
|filename  = get_raw_distances.py&lt;br /&gt;
|author    = [[User:TakanoriNakane|Takanori Nakane]] and [[User:Speleo3|Thomas Holder]]&lt;br /&gt;
|license   = BSD-2-Clause&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{Infobox psico&lt;br /&gt;
|module    = psico.querying&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
[[get_raw_distances]] can dump distance objects, created with [[distance]].&lt;br /&gt;
&lt;br /&gt;
This script also provides the command '''select_distances''', which selects atoms from distance objects.&lt;br /&gt;
&lt;br /&gt;
''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).''&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&lt;br /&gt;
 get_raw_distances [ names [, state [, selection ]]]&lt;br /&gt;
&lt;br /&gt;
 select_distances [ names [, name [, state [, selection [, cutoff ]]]]]&lt;br /&gt;
&lt;br /&gt;
== Arguments ==&lt;br /&gt;
&lt;br /&gt;
* '''names''' = string: names of distance objects (no wildcards!) {default: all measurement objects}&lt;br /&gt;
* '''state''' = integer: object state {default: 1}&lt;br /&gt;
* '''selection''' = string: atom selection {default: all}&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
fetch 2xwu, async=0&lt;br /&gt;
&lt;br /&gt;
# interface polar contacts&lt;br /&gt;
distance iface_hbonds, chain A, chain B, mode=2&lt;br /&gt;
&lt;br /&gt;
# dump (model,index) information&lt;br /&gt;
get_raw_distances iface_hbonds&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Example Atom Selection ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;python&amp;quot;&amp;gt;&lt;br /&gt;
# select atoms&lt;br /&gt;
select_distances iface_hbonds, hbsele&lt;br /&gt;
&lt;br /&gt;
# nice representation&lt;br /&gt;
set cartoon_side_chain_helper&lt;br /&gt;
set sphere_scale, 0.5&lt;br /&gt;
as cartoon, 2xwu&lt;br /&gt;
show sticks, byres hbsele&lt;br /&gt;
show spheres, hbsele&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
&lt;br /&gt;
* [[distance]]&lt;br /&gt;
* [[dynamic_measures]]&lt;br /&gt;
* [[find_pairs]]&lt;br /&gt;
* [[get_raw_alignment]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Script Library]]&lt;br /&gt;
[[Category:ObjSel_Scripts]]&lt;br /&gt;
[[Category:Pymol-script-repo]]&lt;/div&gt;</summary>
		<author><name>Speleo3</name></author>
	</entry>
</feed>