IMP logo
IMP Reference Guide  2.11.1
The Integrative Modeling Platform
atom/__init__.py
1 # This file was automatically generated by SWIG (http://www.swig.org).
2 # Version 3.0.10
3 #
4 # Do not make changes to this file unless you know what you are doing--modify
5 # the SWIG interface file instead.
6 
7 # This wrapper is part of IMP,
8 # Copyright 2007-2019 IMP Inventors. All rights reserved.
9 
10 from __future__ import print_function, division, absolute_import
11 
12 
13 
14 
15 from sys import version_info as _swig_python_version_info
16 if _swig_python_version_info >= (2, 7, 0):
17  def swig_import_helper():
18  import importlib
19  pkg = __name__.rpartition('.')[0]
20  mname = '.'.join((pkg, '_IMP_atom')).lstrip('.')
21  try:
22  return importlib.import_module(mname)
23  except ImportError:
24  return importlib.import_module('_IMP_atom')
25  _IMP_atom = swig_import_helper()
26  del swig_import_helper
27 elif _swig_python_version_info >= (2, 6, 0):
28  def swig_import_helper():
29  from os.path import dirname
30  import imp
31  fp = None
32  try:
33  fp, pathname, description = imp.find_module('_IMP_atom', [dirname(__file__)])
34  except ImportError:
35  import _IMP_atom
36  return _IMP_atom
37  if fp is not None:
38  try:
39  _mod = imp.load_module('_IMP_atom', fp, pathname, description)
40  finally:
41  fp.close()
42  return _mod
43  _IMP_atom = swig_import_helper()
44  del swig_import_helper
45 else:
46  import _IMP_atom
47 del _swig_python_version_info
48 try:
49  _swig_property = property
50 except NameError:
51  pass # Python < 2.2 doesn't have 'property'.
52 
53 try:
54  import builtins as __builtin__
55 except ImportError:
56  import __builtin__
57 
58 def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
59  if (name == "thisown"):
60  return self.this.own(value)
61  if (name == "this"):
62  if type(value).__name__ == 'SwigPyObject':
63  self.__dict__[name] = value
64  return
65  method = class_type.__swig_setmethods__.get(name, None)
66  if method:
67  return method(self, value)
68  if (not static):
69  object.__setattr__(self, name, value)
70  else:
71  raise AttributeError("You cannot add attributes to %s" % self)
72 
73 
74 def _swig_setattr(self, class_type, name, value):
75  return _swig_setattr_nondynamic(self, class_type, name, value, 0)
76 
77 
78 def _swig_getattr(self, class_type, name):
79  if (name == "thisown"):
80  return self.this.own()
81  method = class_type.__swig_getmethods__.get(name, None)
82  if method:
83  return method(self)
84  raise AttributeError("'%s' object has no attribute '%s'" % (class_type.__name__, name))
85 
86 
87 def _swig_repr(self):
88  try:
89  strthis = "proxy of " + self.this.__repr__()
90  except __builtin__.Exception:
91  strthis = ""
92  return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
93 
94 
95 def _swig_setattr_nondynamic_method(set):
96  def set_attr(self, name, value):
97  if (name == "thisown"):
98  return self.this.own(value)
99  if hasattr(self, name) or (name == "this"):
100  set(self, name, value)
101  else:
102  raise AttributeError("You cannot add attributes to %s" % self)
103  return set_attr
104 
105 
106 try:
107  import weakref
108  weakref_proxy = weakref.proxy
109 except __builtin__.Exception:
110  weakref_proxy = lambda x: x
111 
112 
113 class IMP_ATOM_SwigPyIterator(object):
114  """Proxy of C++ swig::IMP_ATOM_SwigPyIterator class."""
115 
116  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
117 
118  def __init__(self, *args, **kwargs):
119  raise AttributeError("No constructor defined - class is abstract")
120  __repr__ = _swig_repr
121  __swig_destroy__ = _IMP_atom.delete_IMP_ATOM_SwigPyIterator
122  __del__ = lambda self: None
123 
124  def value(self):
125  """value(IMP_ATOM_SwigPyIterator self) -> PyObject *"""
126  return _IMP_atom.IMP_ATOM_SwigPyIterator_value(self)
127 
128 
129  def incr(self, n=1):
130  """
131  incr(IMP_ATOM_SwigPyIterator self, size_t n=1) -> IMP_ATOM_SwigPyIterator
132  incr(IMP_ATOM_SwigPyIterator self) -> IMP_ATOM_SwigPyIterator
133  """
134  return _IMP_atom.IMP_ATOM_SwigPyIterator_incr(self, n)
135 
136 
137  def decr(self, n=1):
138  """
139  decr(IMP_ATOM_SwigPyIterator self, size_t n=1) -> IMP_ATOM_SwigPyIterator
140  decr(IMP_ATOM_SwigPyIterator self) -> IMP_ATOM_SwigPyIterator
141  """
142  return _IMP_atom.IMP_ATOM_SwigPyIterator_decr(self, n)
143 
144 
145  def distance(self, x):
146  """distance(IMP_ATOM_SwigPyIterator self, IMP_ATOM_SwigPyIterator x) -> ptrdiff_t"""
147  return _IMP_atom.IMP_ATOM_SwigPyIterator_distance(self, x)
148 
149 
150  def equal(self, x):
151  """equal(IMP_ATOM_SwigPyIterator self, IMP_ATOM_SwigPyIterator x) -> bool"""
152  return _IMP_atom.IMP_ATOM_SwigPyIterator_equal(self, x)
153 
154 
155  def copy(self):
156  """copy(IMP_ATOM_SwigPyIterator self) -> IMP_ATOM_SwigPyIterator"""
157  return _IMP_atom.IMP_ATOM_SwigPyIterator_copy(self)
158 
159 
160  def next(self):
161  """next(IMP_ATOM_SwigPyIterator self) -> PyObject *"""
162  return _IMP_atom.IMP_ATOM_SwigPyIterator_next(self)
163 
164 
165  def __next__(self):
166  """__next__(IMP_ATOM_SwigPyIterator self) -> PyObject *"""
167  return _IMP_atom.IMP_ATOM_SwigPyIterator___next__(self)
168 
169 
170  def previous(self):
171  """previous(IMP_ATOM_SwigPyIterator self) -> PyObject *"""
172  return _IMP_atom.IMP_ATOM_SwigPyIterator_previous(self)
173 
174 
175  def advance(self, n):
176  """advance(IMP_ATOM_SwigPyIterator self, ptrdiff_t n) -> IMP_ATOM_SwigPyIterator"""
177  return _IMP_atom.IMP_ATOM_SwigPyIterator_advance(self, n)
178 
179 
180  def __eq__(self, x):
181  """__eq__(IMP_ATOM_SwigPyIterator self, IMP_ATOM_SwigPyIterator x) -> bool"""
182  return _IMP_atom.IMP_ATOM_SwigPyIterator___eq__(self, x)
183 
184 
185  def __ne__(self, x):
186  """__ne__(IMP_ATOM_SwigPyIterator self, IMP_ATOM_SwigPyIterator x) -> bool"""
187  return _IMP_atom.IMP_ATOM_SwigPyIterator___ne__(self, x)
188 
189 
190  def __iadd__(self, n):
191  """__iadd__(IMP_ATOM_SwigPyIterator self, ptrdiff_t n) -> IMP_ATOM_SwigPyIterator"""
192  return _IMP_atom.IMP_ATOM_SwigPyIterator___iadd__(self, n)
193 
194 
195  def __isub__(self, n):
196  """__isub__(IMP_ATOM_SwigPyIterator self, ptrdiff_t n) -> IMP_ATOM_SwigPyIterator"""
197  return _IMP_atom.IMP_ATOM_SwigPyIterator___isub__(self, n)
198 
199 
200  def __add__(self, n):
201  """__add__(IMP_ATOM_SwigPyIterator self, ptrdiff_t n) -> IMP_ATOM_SwigPyIterator"""
202  return _IMP_atom.IMP_ATOM_SwigPyIterator___add__(self, n)
203 
204 
205  def __sub__(self, *args):
206  """
207  __sub__(IMP_ATOM_SwigPyIterator self, ptrdiff_t n) -> IMP_ATOM_SwigPyIterator
208  __sub__(IMP_ATOM_SwigPyIterator self, IMP_ATOM_SwigPyIterator x) -> ptrdiff_t
209  """
210  return _IMP_atom.IMP_ATOM_SwigPyIterator___sub__(self, *args)
211 
212  def __iter__(self):
213  return self
214 IMP_ATOM_SwigPyIterator_swigregister = _IMP_atom.IMP_ATOM_SwigPyIterator_swigregister
215 IMP_ATOM_SwigPyIterator_swigregister(IMP_ATOM_SwigPyIterator)
216 
217 
218 _value_types=[]
219 _object_types=[]
220 _raii_types=[]
221 _plural_types=[]
222 
223 IMP_DEBUG = _IMP_atom.IMP_DEBUG
224 IMP_RELEASE = _IMP_atom.IMP_RELEASE
225 IMP_SILENT = _IMP_atom.IMP_SILENT
226 IMP_PROGRESS = _IMP_atom.IMP_PROGRESS
227 IMP_TERSE = _IMP_atom.IMP_TERSE
228 IMP_VERBOSE = _IMP_atom.IMP_VERBOSE
229 IMP_MEMORY = _IMP_atom.IMP_MEMORY
230 IMP_NONE = _IMP_atom.IMP_NONE
231 IMP_USAGE = _IMP_atom.IMP_USAGE
232 IMP_INTERNAL = _IMP_atom.IMP_INTERNAL
233 IMP_KERNEL_HAS_LOG4CXX = _IMP_atom.IMP_KERNEL_HAS_LOG4CXX
234 IMP_COMPILER_HAS_AUTO = _IMP_atom.IMP_COMPILER_HAS_AUTO
235 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_atom.IMP_COMPILER_HAS_DEBUG_VECTOR
236 IMP_COMPILER_HAS_UNIQUE_PTR = _IMP_atom.IMP_COMPILER_HAS_UNIQUE_PTR
237 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_atom.IMP_KERNEL_HAS_BOOST_RANDOM
238 IMP_KERNEL_HAS_NUMPY = _IMP_atom.IMP_KERNEL_HAS_NUMPY
239 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_atom.IMP_KERNEL_HAS_GPERFTOOLS
240 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_atom.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
241 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_atom.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
242 IMPKERNEL_SHOW_WARNINGS = _IMP_atom.IMPKERNEL_SHOW_WARNINGS
243 
244 import sys
245 class _DirectorObjects(object):
246  """@internal Simple class to keep references to director objects
247  to prevent premature deletion."""
248  def __init__(self):
249  self._objects = []
250  def register(self, obj):
251  """Take a reference to a director object; will only work for
252  refcounted C++ classes"""
253  if hasattr(obj, 'get_ref_count'):
254  self._objects.append(obj)
255  def cleanup(self):
256  """Only drop our reference and allow cleanup by Python if no other
257  Python references exist (we hold 3 references: one in self._objects,
258  one in x, and one in the argument list for getrefcount) *and* no
259  other C++ references exist (the Python object always holds one)"""
260  objs = [x for x in self._objects if sys.getrefcount(x) > 3 \
261  or x.get_ref_count() > 1]
262 # Do in two steps so the references are kept until the end of the
263 # function (deleting references may trigger a fresh call to this method)
264  self._objects = objs
265  def get_object_count(self):
266  """Get number of director objects (useful for testing only)"""
267  return len(self._objects)
268 _director_objects = _DirectorObjects()
269 
270 class _ostream(object):
271  """Proxy of C++ std::ostream class."""
272 
273  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
274 
275  def __init__(self, *args, **kwargs):
276  raise AttributeError("No constructor defined")
277  __repr__ = _swig_repr
278 
279  def write(self, osa_buf):
280  """write(_ostream self, char const * osa_buf)"""
281  return _IMP_atom._ostream_write(self, osa_buf)
282 
283 _ostream_swigregister = _IMP_atom._ostream_swigregister
284 _ostream_swigregister(_ostream)
285 
286 IMP_COMPILER_HAS_OVERRIDE = _IMP_atom.IMP_COMPILER_HAS_OVERRIDE
287 IMP_COMPILER_HAS_FINAL = _IMP_atom.IMP_COMPILER_HAS_FINAL
288 IMP_HAS_NOEXCEPT = _IMP_atom.IMP_HAS_NOEXCEPT
289 IMP_C_OPEN_BINARY = _IMP_atom.IMP_C_OPEN_BINARY
290 import IMP
291 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_atom.IMP_CGAL_HAS_BOOST_FILESYSTEM
292 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_atom.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
293 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_atom.IMP_CGAL_HAS_BOOST_RANDOM
294 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_atom.IMP_CGAL_HAS_BOOST_SYSTEM
295 IMP_CGAL_HAS_NUMPY = _IMP_atom.IMP_CGAL_HAS_NUMPY
296 IMPCGAL_SHOW_WARNINGS = _IMP_atom.IMPCGAL_SHOW_WARNINGS
297 import IMP.cgal
298 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_atom.IMP_ALGEBRA_HAS_IMP_CGAL
299 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_atom.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
300 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_atom.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
301 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_atom.IMP_ALGEBRA_HAS_BOOST_RANDOM
302 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_atom.IMP_ALGEBRA_HAS_BOOST_SYSTEM
303 IMP_ALGEBRA_HAS_CGAL = _IMP_atom.IMP_ALGEBRA_HAS_CGAL
304 IMP_ALGEBRA_HAS_NUMPY = _IMP_atom.IMP_ALGEBRA_HAS_NUMPY
305 IMP_ALGEBRA_HAS_ANN = _IMP_atom.IMP_ALGEBRA_HAS_ANN
306 IMPALGEBRA_SHOW_WARNINGS = _IMP_atom.IMPALGEBRA_SHOW_WARNINGS
307 import IMP.algebra
308 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_atom.IMP_DISPLAY_HAS_IMP_CGAL
309 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_atom.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
310 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_atom.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
311 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_atom.IMP_DISPLAY_HAS_BOOST_RANDOM
312 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_atom.IMP_DISPLAY_HAS_BOOST_SYSTEM
313 IMP_DISPLAY_HAS_CGAL = _IMP_atom.IMP_DISPLAY_HAS_CGAL
314 IMP_DISPLAY_HAS_NUMPY = _IMP_atom.IMP_DISPLAY_HAS_NUMPY
315 IMPDISPLAY_SHOW_WARNINGS = _IMP_atom.IMPDISPLAY_SHOW_WARNINGS
316 import IMP.display
317 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_atom.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
318 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_atom.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
319 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_atom.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
320 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_atom.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
321 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_atom.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
322 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_atom.IMP_SCORE_FUNCTOR_HAS_CGAL
323 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_atom.IMP_SCORE_FUNCTOR_HAS_HDF5
324 IMP_SCORE_FUNCTOR_HAS_NUMPY = _IMP_atom.IMP_SCORE_FUNCTOR_HAS_NUMPY
325 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_atom.IMPSCOREFUNCTOR_SHOW_WARNINGS
326 import IMP.score_functor
327 IMP_CORE_HAS_IMP_CGAL = _IMP_atom.IMP_CORE_HAS_IMP_CGAL
328 IMP_CORE_HAS_IMP_KERNEL = _IMP_atom.IMP_CORE_HAS_IMP_KERNEL
329 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_atom.IMP_CORE_HAS_BOOST_FILESYSTEM
330 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_atom.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
331 IMP_CORE_HAS_BOOST_RANDOM = _IMP_atom.IMP_CORE_HAS_BOOST_RANDOM
332 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_atom.IMP_CORE_HAS_BOOST_SYSTEM
333 IMP_CORE_HAS_CGAL = _IMP_atom.IMP_CORE_HAS_CGAL
334 IMP_CORE_HAS_HDF5 = _IMP_atom.IMP_CORE_HAS_HDF5
335 IMP_CORE_HAS_NUMPY = _IMP_atom.IMP_CORE_HAS_NUMPY
336 IMPCORE_SHOW_WARNINGS = _IMP_atom.IMPCORE_SHOW_WARNINGS
337 import IMP.core
338 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_atom.IMP_CONTAINER_HAS_IMP_ALGEBRA
339 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_atom.IMP_CONTAINER_HAS_IMP_CGAL
340 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_atom.IMP_CONTAINER_HAS_IMP_DISPLAY
341 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_atom.IMP_CONTAINER_HAS_IMP_KERNEL
342 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_atom.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
343 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_atom.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
344 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_atom.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
345 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_atom.IMP_CONTAINER_HAS_BOOST_RANDOM
346 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_atom.IMP_CONTAINER_HAS_BOOST_SYSTEM
347 IMP_CONTAINER_HAS_CGAL = _IMP_atom.IMP_CONTAINER_HAS_CGAL
348 IMP_CONTAINER_HAS_HDF5 = _IMP_atom.IMP_CONTAINER_HAS_HDF5
349 IMP_CONTAINER_HAS_NUMPY = _IMP_atom.IMP_CONTAINER_HAS_NUMPY
350 IMP_CONTAINER_HAS_PYTHON_IHM = _IMP_atom.IMP_CONTAINER_HAS_PYTHON_IHM
351 IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP = _IMP_atom.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP
352 IMP_CONTAINER_HAS_ROBIN_MAP = _IMP_atom.IMP_CONTAINER_HAS_ROBIN_MAP
353 IMPCONTAINER_SHOW_WARNINGS = _IMP_atom.IMPCONTAINER_SHOW_WARNINGS
354 import IMP.container
355 IMP_ATOM_HAS_IMP_CGAL = _IMP_atom.IMP_ATOM_HAS_IMP_CGAL
356 IMP_ATOM_HAS_IMP_KERNEL = _IMP_atom.IMP_ATOM_HAS_IMP_KERNEL
357 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_atom.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
358 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_atom.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
359 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_atom.IMP_ATOM_HAS_BOOST_RANDOM
360 IMP_ATOM_HAS_BOOST_REGEX = _IMP_atom.IMP_ATOM_HAS_BOOST_REGEX
361 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_atom.IMP_ATOM_HAS_BOOST_SYSTEM
362 IMP_ATOM_HAS_CGAL = _IMP_atom.IMP_ATOM_HAS_CGAL
363 IMP_ATOM_HAS_HDF5 = _IMP_atom.IMP_ATOM_HAS_HDF5
364 IMP_ATOM_HAS_NUMPY = _IMP_atom.IMP_ATOM_HAS_NUMPY
365 IMP_ATOM_HAS_PYTHON_IHM = _IMP_atom.IMP_ATOM_HAS_PYTHON_IHM
366 IMPATOM_SHOW_WARNINGS = _IMP_atom.IMPATOM_SHOW_WARNINGS
367 IMP_ATOM_TYPE_INDEX = _IMP_atom.IMP_ATOM_TYPE_INDEX
368 IMP_RESIDUE_TYPE_INDEX = _IMP_atom.IMP_RESIDUE_TYPE_INDEX
369 IMP_HIERARCHY_TYPE_INDEX = _IMP_atom.IMP_HIERARCHY_TYPE_INDEX
370 IMP_CHAIN_TYPE_INDEX = _IMP_atom.IMP_CHAIN_TYPE_INDEX
372  """Proxy of C++ IMP::internal::BoostDigraph<(IMP::atom::HierarchyTree,IMP::atom::Hierarchy,IMP::atom::ShowHierarchyTreeVertex)> class."""
373 
374  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
375  __repr__ = _swig_repr
376 
377  def __init__(self):
378  """__init__(IMP::internal::BoostDigraph<(IMP::atom::HierarchyTree,IMP::atom::Hierarchy,IMP::atom::ShowHierarchyTreeVertex)> self) -> HierarchyTree"""
379  this = _IMP_atom.new_HierarchyTree()
380  try:
381  self.this.append(this)
382  except __builtin__.Exception:
383  self.this = this
384 
385  def get_graph(self):
386  """get_graph(HierarchyTree self) -> IMP::atom::HierarchyTree const &"""
387  return _IMP_atom.HierarchyTree_get_graph(self)
388 
389 
390  def get_vertices(self):
391  """get_vertices(HierarchyTree self) -> IMP::internal::BoostDigraph< IMP::atom::HierarchyTree,IMP::atom::Hierarchy,IMP::atom::ShowHierarchyTreeVertex >::VertexDescriptors"""
392  return _IMP_atom.HierarchyTree_get_vertices(self)
393 
394 
395  def get_vertex_name(self, i):
396  """get_vertex_name(HierarchyTree self, IMP::internal::BoostDigraph< IMP::atom::HierarchyTree,IMP::atom::Hierarchy,IMP::atom::ShowHierarchyTreeVertex >::VertexDescriptor i) -> Hierarchy"""
397  return _IMP_atom.HierarchyTree_get_vertex_name(self, i)
398 
399 
400  def get_in_neighbors(self, v):
401  """get_in_neighbors(HierarchyTree self, IMP::internal::BoostDigraph< IMP::atom::HierarchyTree,IMP::atom::Hierarchy,IMP::atom::ShowHierarchyTreeVertex >::VertexDescriptor v) -> IMP::internal::BoostDigraph< IMP::atom::HierarchyTree,IMP::atom::Hierarchy,IMP::atom::ShowHierarchyTreeVertex >::VertexDescriptors"""
402  return _IMP_atom.HierarchyTree_get_in_neighbors(self, v)
403 
404 
405  def get_out_neighbors(self, v):
406  """get_out_neighbors(HierarchyTree self, IMP::internal::BoostDigraph< IMP::atom::HierarchyTree,IMP::atom::Hierarchy,IMP::atom::ShowHierarchyTreeVertex >::VertexDescriptor v) -> IMP::internal::BoostDigraph< IMP::atom::HierarchyTree,IMP::atom::Hierarchy,IMP::atom::ShowHierarchyTreeVertex >::VertexDescriptors"""
407  return _IMP_atom.HierarchyTree_get_out_neighbors(self, v)
408 
409 
410  def show_graphviz(self, *args):
411  """
412  show_graphviz(HierarchyTree self, _ostream out)
413  show_graphviz(HierarchyTree self)
414  """
415  return _IMP_atom.HierarchyTree_show_graphviz(self, *args)
416 
417 
418  def get_graphviz_string(self):
419  """get_graphviz_string(HierarchyTree self) -> std::string"""
420  return _IMP_atom.HierarchyTree_get_graphviz_string(self)
421 
422 
423  def add_edge(self, v0, v1):
424  """add_edge(HierarchyTree self, IMP::internal::BoostDigraph< IMP::atom::HierarchyTree,IMP::atom::Hierarchy,IMP::atom::ShowHierarchyTreeVertex >::VertexDescriptor v0, IMP::internal::BoostDigraph< IMP::atom::HierarchyTree,IMP::atom::Hierarchy,IMP::atom::ShowHierarchyTreeVertex >::VertexDescriptor v1)"""
425  return _IMP_atom.HierarchyTree_add_edge(self, v0, v1)
426 
427 
428  def add_vertex(self, l):
429  """add_vertex(HierarchyTree self, Hierarchy l) -> IMP::internal::BoostDigraph< IMP::atom::HierarchyTree,IMP::atom::Hierarchy,IMP::atom::ShowHierarchyTreeVertex >::VertexDescriptor"""
430  return _IMP_atom.HierarchyTree_add_vertex(self, l)
431 
432 
433  def remove_vertex(self, l):
434  """remove_vertex(HierarchyTree self, IMP::internal::BoostDigraph< IMP::atom::HierarchyTree,IMP::atom::Hierarchy,IMP::atom::ShowHierarchyTreeVertex >::VertexDescriptor l)"""
435  return _IMP_atom.HierarchyTree_remove_vertex(self, l)
436 
437  __swig_destroy__ = _IMP_atom.delete_HierarchyTree
438  __del__ = lambda self: None
439 HierarchyTree_swigregister = _IMP_atom.HierarchyTree_swigregister
440 HierarchyTree_swigregister(HierarchyTree)
441 
442 
443 _value_types.append("HierarchyTree")
444 
445 
446 _object_types.append("PDBSelector")
447 
448 
449 def _object_cast_to_PDBSelector(o):
450  """_object_cast_to_PDBSelector(Object o) -> PDBSelector"""
451  return _IMP_atom._object_cast_to_PDBSelector(o)
452 
453 def Angles(l=[]):
454  return [Angle(x) for x in l]
455 _plural_types.append("Angles")
456 
457 
458 _value_types.append("Angle")
459 
460 
461 def Atoms(l=[]):
462  return [Atom(x) for x in l]
463 _plural_types.append("Atoms")
464 
465 
466 _value_types.append("Atom")
467 
468 
469 def Bonds(l=[]):
470  return [Bond(x) for x in l]
471 _plural_types.append("Bonds")
472 
473 
474 _value_types.append("Bond")
475 
476 
477 def Bondeds(l=[]):
478  return [Bonded(x) for x in l]
479 _plural_types.append("Bondeds")
480 
481 
482 _value_types.append("Bonded")
483 
484 
485 def CHARMMAtomList(l=[]):
486  return [CHARMMAtom(x) for x in l]
487 _plural_types.append("CHARMMAtomList")
488 
489 
490 _value_types.append("CHARMMAtom")
491 
492 
493 def Chains(l=[]):
494  return [Chain(x) for x in l]
495 _plural_types.append("Chains")
496 
497 
498 _value_types.append("Chain")
499 
500 
501 def CenterOfMasses(l=[]):
502  return [CenterOfMass(x) for x in l]
503 _plural_types.append("CenterOfMasses")
504 
505 
506 _value_types.append("CenterOfMass")
507 
508 
509 def Chargeds(l=[]):
510  return [Charged(x) for x in l]
511 _plural_types.append("Chargeds")
512 
513 
514 _value_types.append("Charged")
515 
516 
517 def Diffusions(l=[]):
518  return [Diffusion(x) for x in l]
519 _plural_types.append("Diffusions")
520 
521 
522 _value_types.append("Diffusion")
523 
524 
525 def RigidBodyDiffusions(l=[]):
526  return [RigidBodyDiffusion(x) for x in l]
527 _plural_types.append("RigidBodyDiffusions")
528 
529 
530 _value_types.append("RigidBodyDiffusion")
531 
532 
533 def TAMDParticles(l=[]):
534  return [TAMDParticle(x) for x in l]
535 _plural_types.append("TAMDParticles")
536 
537 
538 _value_types.append("TAMDParticle")
539 
540 
541 def TAMDCentroids(l=[]):
542  return [TAMDCentroid(x) for x in l]
543 _plural_types.append("TAMDCentroids")
544 
545 
546 _value_types.append("TAMDCentroid")
547 
548 
549 def Dihedrals(l=[]):
550  return [Dihedral(x) for x in l]
551 _plural_types.append("Dihedrals")
552 
553 
554 _value_types.append("Dihedral")
555 
556 
557 def Domains(l=[]):
558  return [Domain(x) for x in l]
559 _plural_types.append("Domains")
560 
561 
562 _value_types.append("Domain")
563 
564 
565 def Fragments(l=[]):
566  return [Fragment(x) for x in l]
567 _plural_types.append("Fragments")
568 
569 
570 _value_types.append("Fragment")
571 
572 
573 def Hierarchies(l=[]):
574  return [Hierarchy(x) for x in l]
575 _plural_types.append("Hierarchies")
576 
577 
578 _value_types.append("Hierarchy")
579 
580 
581 def LennardJonesList(l=[]):
582  return [LennardJones(x) for x in l]
583 _plural_types.append("LennardJonesList")
584 
585 
586 _value_types.append("LennardJones")
587 
588 
589 def Masses(l=[]):
590  return [Mass(x) for x in l]
591 _plural_types.append("Masses")
592 
593 
594 _value_types.append("Mass")
595 
596 
597 def LinearVelocities(l=[]):
598  return [LinearVelocity(x) for x in l]
599 _plural_types.append("LinearVelocities")
600 
601 
602 _value_types.append("LinearVelocity")
603 
604 
605 def AngularVelocities(l=[]):
606  return [AngularVelocity(x) for x in l]
607 _plural_types.append("AngularVelocities")
608 
609 
610 _value_types.append("AngularVelocity")
611 
612 
613 def Molecules(l=[]):
614  return [Molecule(x) for x in l]
615 _plural_types.append("Molecules")
616 
617 
618 _value_types.append("Molecule")
619 
620 
621 def Residues(l=[]):
622  return [Residue(x) for x in l]
623 _plural_types.append("Residues")
624 
625 
626 _value_types.append("Residue")
627 
628 
629 def Representations(l=[]):
630  return [Representation(x) for x in l]
631 _plural_types.append("Representations")
632 
633 
634 _value_types.append("Representation")
635 
636 
637 def States(l=[]):
638  return [State(x) for x in l]
639 _plural_types.append("States")
640 
641 
642 _value_types.append("State")
643 
644 
645 def Copies(l=[]):
646  return [Copy(x) for x in l]
647 _plural_types.append("Copies")
648 
649 
650 _value_types.append("Copy")
651 
652 
653 def SecondaryStructureResidues(l=[]):
654  return [SecondaryStructureResidue(x) for x in l]
655 _plural_types.append("SecondaryStructureResidues")
656 
657 
658 _value_types.append("SecondaryStructureResidue")
659 
660 
661 def StructureSources(l=[]):
662  return [StructureSource(x) for x in l]
663 _plural_types.append("StructureSources")
664 
665 
666 _value_types.append("StructureSource")
667 
668 
669 _object_types.append("Simulator")
670 
671 
672 def _object_cast_to_Simulator(o):
673  """_object_cast_to_Simulator(Object o) -> Simulator"""
674  return _IMP_atom._object_cast_to_Simulator(o)
675 
676 _object_types.append("ATOMPDBSelector")
677 
678 
679 def _object_cast_to_ATOMPDBSelector(o):
680  """_object_cast_to_ATOMPDBSelector(Object o) -> ATOMPDBSelector"""
681  return _IMP_atom._object_cast_to_ATOMPDBSelector(o)
682 
683 _object_types.append("AllMol2Selector")
684 
685 
686 def _object_cast_to_AllMol2Selector(o):
687  """_object_cast_to_AllMol2Selector(Object o) -> AllMol2Selector"""
688  return _IMP_atom._object_cast_to_AllMol2Selector(o)
689 
690 _object_types.append("AllPDBSelector")
691 
692 
693 def _object_cast_to_AllPDBSelector(o):
694  """_object_cast_to_AllPDBSelector(Object o) -> AllPDBSelector"""
695  return _IMP_atom._object_cast_to_AllPDBSelector(o)
696 
697 _object_types.append("AndPDBSelector")
698 
699 
700 def _object_cast_to_AndPDBSelector(o):
701  """_object_cast_to_AndPDBSelector(Object o) -> AndPDBSelector"""
702  return _IMP_atom._object_cast_to_AndPDBSelector(o)
703 
704 _object_types.append("XorPDBSelector")
705 
706 
707 def _object_cast_to_XorPDBSelector(o):
708  """_object_cast_to_XorPDBSelector(Object o) -> XorPDBSelector"""
709  return _IMP_atom._object_cast_to_XorPDBSelector(o)
710 
711 _object_types.append("ResidueTypePDBSelector")
712 
713 
714 def _object_cast_to_ResidueTypePDBSelector(o):
715  """_object_cast_to_ResidueTypePDBSelector(Object o) -> ResidueTypePDBSelector"""
716  return _IMP_atom._object_cast_to_ResidueTypePDBSelector(o)
717 
718 _object_types.append("AtomTypePDBSelector")
719 
720 
721 def _object_cast_to_AtomTypePDBSelector(o):
722  """_object_cast_to_AtomTypePDBSelector(Object o) -> AtomTypePDBSelector"""
723  return _IMP_atom._object_cast_to_AtomTypePDBSelector(o)
724 
725 _object_types.append("AngleSingletonScore")
726 
727 
728 def _object_cast_to_AngleSingletonScore(o):
729  """_object_cast_to_AngleSingletonScore(Object o) -> AngleSingletonScore"""
730  return _IMP_atom._object_cast_to_AngleSingletonScore(o)
731 
732 _object_types.append("BondEndpointsRefiner")
733 
734 
735 def _object_cast_to_BondEndpointsRefiner(o):
736  """_object_cast_to_BondEndpointsRefiner(Object o) -> BondEndpointsRefiner"""
737  return _IMP_atom._object_cast_to_BondEndpointsRefiner(o)
738 
739 _object_types.append("BondPairContainer")
740 
741 
742 def _object_cast_to_BondPairContainer(o):
743  """_object_cast_to_BondPairContainer(Object o) -> BondPairContainer"""
744  return _IMP_atom._object_cast_to_BondPairContainer(o)
745 
746 _object_types.append("BondSingletonScore")
747 
748 
749 def _object_cast_to_BondSingletonScore(o):
750  """_object_cast_to_BondSingletonScore(Object o) -> BondSingletonScore"""
751  return _IMP_atom._object_cast_to_BondSingletonScore(o)
752 
753 _object_types.append("BondedPairFilter")
754 
755 
756 def _object_cast_to_BondedPairFilter(o):
757  """_object_cast_to_BondedPairFilter(Object o) -> BondedPairFilter"""
758  return _IMP_atom._object_cast_to_BondedPairFilter(o)
759 
760 _object_types.append("BrownianDynamics")
761 
762 
763 def _object_cast_to_BrownianDynamics(o):
764  """_object_cast_to_BrownianDynamics(Object o) -> BrownianDynamics"""
765  return _IMP_atom._object_cast_to_BrownianDynamics(o)
766 
767 _object_types.append("BrownianDynamicsTAMD")
768 
769 
770 def _object_cast_to_BrownianDynamicsTAMD(o):
771  """_object_cast_to_BrownianDynamicsTAMD(Object o) -> BrownianDynamicsTAMD"""
772  return _IMP_atom._object_cast_to_BrownianDynamicsTAMD(o)
773 
774 _object_types.append("CAlphaPDBSelector")
775 
776 
777 def _object_cast_to_CAlphaPDBSelector(o):
778  """_object_cast_to_CAlphaPDBSelector(Object o) -> CAlphaPDBSelector"""
779  return _IMP_atom._object_cast_to_CAlphaPDBSelector(o)
780 
781 _object_types.append("CBetaPDBSelector")
782 
783 
784 def _object_cast_to_CBetaPDBSelector(o):
785  """_object_cast_to_CBetaPDBSelector(Object o) -> CBetaPDBSelector"""
786  return _IMP_atom._object_cast_to_CBetaPDBSelector(o)
787 
788 _object_types.append("BackbonePDBSelector")
789 
790 
791 def _object_cast_to_BackbonePDBSelector(o):
792  """_object_cast_to_BackbonePDBSelector(Object o) -> BackbonePDBSelector"""
793  return _IMP_atom._object_cast_to_BackbonePDBSelector(o)
794 
795 _object_types.append("CHARMMParameters")
796 
797 
798 def _object_cast_to_CHARMMParameters(o):
799  """_object_cast_to_CHARMMParameters(Object o) -> CHARMMParameters"""
800  return _IMP_atom._object_cast_to_CHARMMParameters(o)
801 
802 _object_types.append("CHARMMResidueTopology")
803 
804 
805 def _object_cast_to_CHARMMResidueTopology(o):
806  """_object_cast_to_CHARMMResidueTopology(Object o) -> CHARMMResidueTopology"""
807  return _IMP_atom._object_cast_to_CHARMMResidueTopology(o)
808 
809 _object_types.append("CHARMMSegmentTopology")
810 
811 
812 def _object_cast_to_CHARMMSegmentTopology(o):
813  """_object_cast_to_CHARMMSegmentTopology(Object o) -> CHARMMSegmentTopology"""
814  return _IMP_atom._object_cast_to_CHARMMSegmentTopology(o)
815 
816 _object_types.append("CHARMMStereochemistryRestraint")
817 
818 
819 def _object_cast_to_CHARMMStereochemistryRestraint(o):
820  """_object_cast_to_CHARMMStereochemistryRestraint(Object o) -> CHARMMStereochemistryRestraint"""
821  return _IMP_atom._object_cast_to_CHARMMStereochemistryRestraint(o)
822 
823 _object_types.append("CHARMMTopology")
824 
825 
826 def _object_cast_to_CHARMMTopology(o):
827  """_object_cast_to_CHARMMTopology(Object o) -> CHARMMTopology"""
828  return _IMP_atom._object_cast_to_CHARMMTopology(o)
829 
830 _object_types.append("CPDBSelector")
831 
832 
833 def _object_cast_to_CPDBSelector(o):
834  """_object_cast_to_CPDBSelector(Object o) -> CPDBSelector"""
835  return _IMP_atom._object_cast_to_CPDBSelector(o)
836 
837 _object_types.append("ChainPDBSelector")
838 
839 
840 def _object_cast_to_ChainPDBSelector(o):
841  """_object_cast_to_ChainPDBSelector(Object o) -> ChainPDBSelector"""
842  return _IMP_atom._object_cast_to_ChainPDBSelector(o)
843 
844 _object_types.append("CoulombPairScore")
845 
846 
847 def _object_cast_to_CoulombPairScore(o):
848  """_object_cast_to_CoulombPairScore(Object o) -> CoulombPairScore"""
849  return _IMP_atom._object_cast_to_CoulombPairScore(o)
850 
851 _object_types.append("CoverBond")
852 
853 
854 def _object_cast_to_CoverBond(o):
855  """_object_cast_to_CoverBond(Object o) -> CoverBond"""
856  return _IMP_atom._object_cast_to_CoverBond(o)
857 
858 _object_types.append("DihedralSingletonScore")
859 
860 
861 def _object_cast_to_DihedralSingletonScore(o):
862  """_object_cast_to_DihedralSingletonScore(Object o) -> DihedralSingletonScore"""
863  return _IMP_atom._object_cast_to_DihedralSingletonScore(o)
864 
865 _object_types.append("DopePairScore")
866 
867 
868 def _object_cast_to_DopePairScore(o):
869  """_object_cast_to_DopePairScore(Object o) -> DopePairScore"""
870  return _IMP_atom._object_cast_to_DopePairScore(o)
871 
872 _object_types.append("OrientedSoapPairScore")
873 
874 
875 def _object_cast_to_OrientedSoapPairScore(o):
876  """_object_cast_to_OrientedSoapPairScore(Object o) -> OrientedSoapPairScore"""
877  return _IMP_atom._object_cast_to_OrientedSoapPairScore(o)
878 
879 _object_types.append("EzRestraint")
880 
881 
882 def _object_cast_to_EzRestraint(o):
883  """_object_cast_to_EzRestraint(Object o) -> EzRestraint"""
884  return _IMP_atom._object_cast_to_EzRestraint(o)
885 
886 _object_types.append("ForceFieldParameters")
887 
888 
889 def _object_cast_to_ForceFieldParameters(o):
890  """_object_cast_to_ForceFieldParameters(Object o) -> ForceFieldParameters"""
891  return _IMP_atom._object_cast_to_ForceFieldParameters(o)
892 
893 _object_types.append("ForceSwitch")
894 
895 
896 def _object_cast_to_ForceSwitch(o):
897  """_object_cast_to_ForceSwitch(Object o) -> ForceSwitch"""
898  return _IMP_atom._object_cast_to_ForceSwitch(o)
899 
900 _object_types.append("HydrogenPDBSelector")
901 
902 
903 def _object_cast_to_HydrogenPDBSelector(o):
904  """_object_cast_to_HydrogenPDBSelector(Object o) -> HydrogenPDBSelector"""
905  return _IMP_atom._object_cast_to_HydrogenPDBSelector(o)
906 
907 _object_types.append("ImproperSingletonScore")
908 
909 
910 def _object_cast_to_ImproperSingletonScore(o):
911  """_object_cast_to_ImproperSingletonScore(Object o) -> ImproperSingletonScore"""
912  return _IMP_atom._object_cast_to_ImproperSingletonScore(o)
913 
914 _object_types.append("LennardJonesPairScore")
915 
916 
917 def _object_cast_to_LennardJonesPairScore(o):
918  """_object_cast_to_LennardJonesPairScore(Object o) -> LennardJonesPairScore"""
919  return _IMP_atom._object_cast_to_LennardJonesPairScore(o)
920 
921 _object_types.append("Mol2Selector")
922 
923 
924 def _object_cast_to_Mol2Selector(o):
925  """_object_cast_to_Mol2Selector(Object o) -> Mol2Selector"""
926  return _IMP_atom._object_cast_to_Mol2Selector(o)
927 
928 _object_types.append("MolecularDynamics")
929 
930 
931 def _object_cast_to_MolecularDynamics(o):
932  """_object_cast_to_MolecularDynamics(Object o) -> MolecularDynamics"""
933  return _IMP_atom._object_cast_to_MolecularDynamics(o)
934 
935 _object_types.append("NPDBSelector")
936 
937 
938 def _object_cast_to_NPDBSelector(o):
939  """_object_cast_to_NPDBSelector(Object o) -> NPDBSelector"""
940  return _IMP_atom._object_cast_to_NPDBSelector(o)
941 
942 _object_types.append("NonAlternativePDBSelector")
943 
944 
945 def _object_cast_to_NonAlternativePDBSelector(o):
946  """_object_cast_to_NonAlternativePDBSelector(Object o) -> NonAlternativePDBSelector"""
947  return _IMP_atom._object_cast_to_NonAlternativePDBSelector(o)
948 
949 _object_types.append("NonHydrogenMol2Selector")
950 
951 
952 def _object_cast_to_NonHydrogenMol2Selector(o):
953  """_object_cast_to_NonHydrogenMol2Selector(Object o) -> NonHydrogenMol2Selector"""
954  return _IMP_atom._object_cast_to_NonHydrogenMol2Selector(o)
955 
956 _object_types.append("NonHydrogenPDBSelector")
957 
958 
959 def _object_cast_to_NonHydrogenPDBSelector(o):
960  """_object_cast_to_NonHydrogenPDBSelector(Object o) -> NonHydrogenPDBSelector"""
961  return _IMP_atom._object_cast_to_NonHydrogenPDBSelector(o)
962 
963 _object_types.append("NonWaterNonHydrogenPDBSelector")
964 
965 
966 def _object_cast_to_NonWaterNonHydrogenPDBSelector(o):
967  """_object_cast_to_NonWaterNonHydrogenPDBSelector(Object o) -> NonWaterNonHydrogenPDBSelector"""
968  return _IMP_atom._object_cast_to_NonWaterNonHydrogenPDBSelector(o)
969 
970 _object_types.append("NonWaterPDBSelector")
971 
972 
973 def _object_cast_to_NonWaterPDBSelector(o):
974  """_object_cast_to_NonWaterPDBSelector(Object o) -> NonWaterPDBSelector"""
975  return _IMP_atom._object_cast_to_NonWaterPDBSelector(o)
976 
977 _object_types.append("NotPDBSelector")
978 
979 
980 def _object_cast_to_NotPDBSelector(o):
981  """_object_cast_to_NotPDBSelector(Object o) -> NotPDBSelector"""
982  return _IMP_atom._object_cast_to_NotPDBSelector(o)
983 
984 _object_types.append("OrPDBSelector")
985 
986 
987 def _object_cast_to_OrPDBSelector(o):
988  """_object_cast_to_OrPDBSelector(Object o) -> OrPDBSelector"""
989  return _IMP_atom._object_cast_to_OrPDBSelector(o)
990 
991 _object_types.append("PPDBSelector")
992 
993 
994 def _object_cast_to_PPDBSelector(o):
995  """_object_cast_to_PPDBSelector(Object o) -> PPDBSelector"""
996  return _IMP_atom._object_cast_to_PPDBSelector(o)
997 
998 _object_types.append("ProteinLigandAtomPairScore")
999 
1000 
1001 def _object_cast_to_ProteinLigandAtomPairScore(o):
1002  """_object_cast_to_ProteinLigandAtomPairScore(Object o) -> ProteinLigandAtomPairScore"""
1003  return _IMP_atom._object_cast_to_ProteinLigandAtomPairScore(o)
1004 
1005 _object_types.append("ProteinLigandRestraint")
1006 
1007 
1008 def _object_cast_to_ProteinLigandRestraint(o):
1009  """_object_cast_to_ProteinLigandRestraint(Object o) -> ProteinLigandRestraint"""
1010  return _IMP_atom._object_cast_to_ProteinLigandRestraint(o)
1011 
1012 _object_types.append("SameResiduePairFilter")
1013 
1014 
1015 def _object_cast_to_SameResiduePairFilter(o):
1016  """_object_cast_to_SameResiduePairFilter(Object o) -> SameResiduePairFilter"""
1017  return _IMP_atom._object_cast_to_SameResiduePairFilter(o)
1018 
1019 _object_types.append("SoapPairFilter")
1020 
1021 
1022 def _object_cast_to_SoapPairFilter(o):
1023  """_object_cast_to_SoapPairFilter(Object o) -> SoapPairFilter"""
1024  return _IMP_atom._object_cast_to_SoapPairFilter(o)
1025 
1026 _object_types.append("SmoothingFunction")
1027 
1028 
1029 def _object_cast_to_SmoothingFunction(o):
1030  """_object_cast_to_SmoothingFunction(Object o) -> SmoothingFunction"""
1031  return _IMP_atom._object_cast_to_SmoothingFunction(o)
1032 
1033 _object_types.append("StereochemistryPairFilter")
1034 
1035 
1036 def _object_cast_to_StereochemistryPairFilter(o):
1037  """_object_cast_to_StereochemistryPairFilter(Object o) -> StereochemistryPairFilter"""
1038  return _IMP_atom._object_cast_to_StereochemistryPairFilter(o)
1039 
1040 _object_types.append("VelocityScalingOptimizerState")
1041 
1042 
1043 def _object_cast_to_VelocityScalingOptimizerState(o):
1044  """_object_cast_to_VelocityScalingOptimizerState(Object o) -> VelocityScalingOptimizerState"""
1045  return _IMP_atom._object_cast_to_VelocityScalingOptimizerState(o)
1046 
1047 _object_types.append("WaterPDBSelector")
1048 
1049 
1050 def _object_cast_to_WaterPDBSelector(o):
1051  """_object_cast_to_WaterPDBSelector(Object o) -> WaterPDBSelector"""
1052  return _IMP_atom._object_cast_to_WaterPDBSelector(o)
1053 
1054 _object_types.append("WritePDBOptimizerState")
1055 
1056 
1057 def _object_cast_to_WritePDBOptimizerState(o):
1058  """_object_cast_to_WritePDBOptimizerState(Object o) -> WritePDBOptimizerState"""
1059  return _IMP_atom._object_cast_to_WritePDBOptimizerState(o)
1060 
1061 AtomTypes=list
1062 _plural_types.append("AtomTypes")
1063 _value_types.append("AtomType")
1064 
1065 
1066 CHARMMAtomTopologies=list
1067 _plural_types.append("CHARMMAtomTopologies")
1068 _value_types.append("CHARMMAtomTopology")
1069 
1070 
1071 CHARMMBondEndpoints=list
1072 _plural_types.append("CHARMMBondEndpoints")
1073 _value_types.append("CHARMMBondEndpoint")
1074 
1075 
1076 CHARMMBondParametersList=list
1077 _plural_types.append("CHARMMBondParametersList")
1078 _value_types.append("CHARMMBondParameters")
1079 
1080 
1081 CHARMMDihedralParametersList=list
1082 _plural_types.append("CHARMMDihedralParametersList")
1083 _value_types.append("CHARMMDihedralParameters")
1084 
1085 
1086 _object_types.append("CHARMMIdealResidueTopology")
1087 
1088 
1089 def _object_cast_to_CHARMMIdealResidueTopology(o):
1090  """_object_cast_to_CHARMMIdealResidueTopology(Object o) -> CHARMMIdealResidueTopology"""
1091  return _IMP_atom._object_cast_to_CHARMMIdealResidueTopology(o)
1092 
1093 CHARMMInternalCoordinates=list
1094 _plural_types.append("CHARMMInternalCoordinates")
1095 _value_types.append("CHARMMInternalCoordinate")
1096 
1097 
1098 _object_types.append("CHARMMPatch")
1099 
1100 
1101 def _object_cast_to_CHARMMPatch(o):
1102  """_object_cast_to_CHARMMPatch(Object o) -> CHARMMPatch"""
1103  return _IMP_atom._object_cast_to_CHARMMPatch(o)
1104 
1105 _object_types.append("CHARMMResidueTopologyBase")
1106 
1107 
1108 def _object_cast_to_CHARMMResidueTopologyBase(o):
1109  """_object_cast_to_CHARMMResidueTopologyBase(Object o) -> CHARMMResidueTopologyBase"""
1110  return _IMP_atom._object_cast_to_CHARMMResidueTopologyBase(o)
1111 
1112 ResidueTypes=list
1113 _plural_types.append("ResidueTypes")
1114 _value_types.append("ResidueType")
1115 
1116 
1117 ChainTypes=list
1118 _plural_types.append("ChainTypes")
1119 _value_types.append("ChainType")
1120 
1121 
1122 Selections=list
1123 _plural_types.append("Selections")
1124 _value_types.append("Selection")
1125 
1126 
1127 _object_types.append("RemoveRigidMotionOptimizerState")
1128 
1129 
1130 def _object_cast_to_RemoveRigidMotionOptimizerState(o):
1131  """_object_cast_to_RemoveRigidMotionOptimizerState(Object o) -> RemoveRigidMotionOptimizerState"""
1132  return _IMP_atom._object_cast_to_RemoveRigidMotionOptimizerState(o)
1133 
1134 _object_types.append("BerendsenThermostatOptimizerState")
1135 
1136 
1137 def _object_cast_to_BerendsenThermostatOptimizerState(o):
1138  """_object_cast_to_BerendsenThermostatOptimizerState(Object o) -> BerendsenThermostatOptimizerState"""
1139  return _IMP_atom._object_cast_to_BerendsenThermostatOptimizerState(o)
1140 
1141 _object_types.append("LangevinThermostatOptimizerState")
1142 
1143 
1144 def _object_cast_to_LangevinThermostatOptimizerState(o):
1145  """_object_cast_to_LangevinThermostatOptimizerState(Object o) -> LangevinThermostatOptimizerState"""
1146  return _IMP_atom._object_cast_to_LangevinThermostatOptimizerState(o)
1147 
1148 _object_types.append("SelectionGeometry")
1149 
1150 
1151 def _object_cast_to_SelectionGeometry(o):
1152  """_object_cast_to_SelectionGeometry(Object o) -> SelectionGeometry"""
1153  return _IMP_atom._object_cast_to_SelectionGeometry(o)
1154 
1155 _object_types.append("HierarchyGeometry")
1156 
1157 
1158 def _object_cast_to_HierarchyGeometry(o):
1159  """_object_cast_to_HierarchyGeometry(Object o) -> HierarchyGeometry"""
1160  return _IMP_atom._object_cast_to_HierarchyGeometry(o)
1161 
1162 _object_types.append("HierarchiesGeometry")
1163 
1164 
1165 def _object_cast_to_HierarchiesGeometry(o):
1166  """_object_cast_to_HierarchiesGeometry(Object o) -> HierarchiesGeometry"""
1167  return _IMP_atom._object_cast_to_HierarchiesGeometry(o)
1168 
1169 _object_types.append("BondGeometry")
1170 
1171 
1172 def _object_cast_to_BondGeometry(o):
1173  """_object_cast_to_BondGeometry(Object o) -> BondGeometry"""
1174  return _IMP_atom._object_cast_to_BondGeometry(o)
1175 
1176 _object_types.append("BondsGeometry")
1177 
1178 
1179 def _object_cast_to_BondsGeometry(o):
1180  """_object_cast_to_BondsGeometry(Object o) -> BondsGeometry"""
1181  return _IMP_atom._object_cast_to_BondsGeometry(o)
1182 
1183 _object_types.append("CAAngleRestraint")
1184 
1185 
1186 def _object_cast_to_CAAngleRestraint(o):
1187  """_object_cast_to_CAAngleRestraint(Object o) -> CAAngleRestraint"""
1188  return _IMP_atom._object_cast_to_CAAngleRestraint(o)
1189 
1190 _object_types.append("CADihedralRestraint")
1191 
1192 
1193 def _object_cast_to_CADihedralRestraint(o):
1194  """_object_cast_to_CADihedralRestraint(Object o) -> CADihedralRestraint"""
1195  return _IMP_atom._object_cast_to_CADihedralRestraint(o)
1196 
1197 _object_types.append("HelixRestraint")
1198 
1199 
1200 def _object_cast_to_HelixRestraint(o):
1201  """_object_cast_to_HelixRestraint(Object o) -> HelixRestraint"""
1202  return _IMP_atom._object_cast_to_HelixRestraint(o)
1203 
1204 CHARMMDihedrals=list
1205 _plural_types.append("CHARMMDihedrals")
1206 _value_types.append("CHARMMDihedral")
1207 
1208 
1209 CHARMMBonds=list
1210 _plural_types.append("CHARMMBonds")
1211 _value_types.append("CHARMMBond")
1212 
1213 
1214 CHARMMAngles=list
1215 _plural_types.append("CHARMMAngles")
1216 _value_types.append("CHARMMAngle")
1217 
1218 class Bond(IMP.Decorator):
1219  """Proxy of C++ IMP::atom::Bond class."""
1220 
1221  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1222 
1223  def __init__(self, *args):
1224  """
1225  __init__(IMP::atom::Bond self) -> Bond
1226  __init__(IMP::atom::Bond self, Model m, ParticleIndex id) -> Bond
1227  __init__(IMP::atom::Bond self, _ParticleAdaptor d) -> Bond
1228  """
1229  this = _IMP_atom.new_Bond(*args)
1230  try:
1231  self.this.append(this)
1232  except __builtin__.Exception:
1233  self.this = this
1234 
1235  def show(self, *args):
1236  """
1237  show(Bond self, _ostream out)
1238  show(Bond self)
1239  """
1240  return _IMP_atom.Bond_show(self, *args)
1241 
1242 
1243  def get_is_setup(*args):
1244  """
1245  get_is_setup(_ParticleAdaptor p) -> bool
1246  get_is_setup(Model m, ParticleIndex pi) -> bool
1247  """
1248  return _IMP_atom.Bond_get_is_setup(*args)
1249 
1250  get_is_setup = staticmethod(get_is_setup)
1251  UNKNOWN = _IMP_atom.Bond_UNKNOWN
1252  NONBIOLOGICAL = _IMP_atom.Bond_NONBIOLOGICAL
1253  SINGLE = _IMP_atom.Bond_SINGLE
1254  DOUBLE = _IMP_atom.Bond_DOUBLE
1255  TRIPLE = _IMP_atom.Bond_TRIPLE
1256  HYDROGEN = _IMP_atom.Bond_HYDROGEN
1257  SALT = _IMP_atom.Bond_SALT
1258  PEPTIDE = _IMP_atom.Bond_PEPTIDE
1259  AMIDE = _IMP_atom.Bond_AMIDE
1260  AROMATIC = _IMP_atom.Bond_AROMATIC
1261 
1262  def get_bonded(self, i):
1263  """get_bonded(Bond self, unsigned int i) -> Bonded"""
1264  return _IMP_atom.Bond_get_bonded(self, i)
1265 
1266 
1267  def get_type(self):
1268  """get_type(Bond self) -> IMP::Int"""
1269  return _IMP_atom.Bond_get_type(self)
1270 
1271 
1272  def set_type(self, t):
1273  """set_type(Bond self, IMP::Int t)"""
1274  return _IMP_atom.Bond_set_type(self, t)
1275 
1276 
1277  def get_order(self):
1278  """get_order(Bond self) -> IMP::Int"""
1279  return _IMP_atom.Bond_get_order(self)
1280 
1281 
1282  def set_order(self, t):
1283  """set_order(Bond self, IMP::Int t)"""
1284  return _IMP_atom.Bond_set_order(self, t)
1285 
1286 
1287  def get_length(self):
1288  """get_length(Bond self) -> IMP::Float"""
1289  return _IMP_atom.Bond_get_length(self)
1290 
1291 
1292  def set_length(self, t):
1293  """set_length(Bond self, IMP::Float t)"""
1294  return _IMP_atom.Bond_set_length(self, t)
1295 
1296 
1297  def get_stiffness(self):
1298  """get_stiffness(Bond self) -> IMP::Float"""
1299  return _IMP_atom.Bond_get_stiffness(self)
1300 
1301 
1302  def set_stiffness(self, t):
1303  """set_stiffness(Bond self, IMP::Float t)"""
1304  return _IMP_atom.Bond_set_stiffness(self, t)
1305 
1306 
1307  def get_length_key():
1308  """get_length_key() -> FloatKey"""
1309  return _IMP_atom.Bond_get_length_key()
1310 
1311  get_length_key = staticmethod(get_length_key)
1312 
1313  def add_attribute(self, *args):
1314  """
1315  add_attribute(Bond self, FloatKey k, IMP::Float v, bool opt)
1316  add_attribute(Bond self, FloatKey a0, IMP::Float a1)
1317  add_attribute(Bond self, IntKey a0, IMP::Int a1)
1318  add_attribute(Bond self, StringKey a0, IMP::String a1)
1319  add_attribute(Bond self, ParticleIndexKey a0, Particle a1)
1320  add_attribute(Bond self, ObjectKey a0, Object a1)
1321  """
1322  return _IMP_atom.Bond_add_attribute(self, *args)
1323 
1324 
1325  def get_value(self, *args):
1326  """
1327  get_value(Bond self, FloatKey a0) -> IMP::Float
1328  get_value(Bond self, IntKey a0) -> IMP::Int
1329  get_value(Bond self, StringKey a0) -> IMP::String
1330  get_value(Bond self, ParticleIndexKey a0) -> Particle
1331  get_value(Bond self, ObjectKey a0) -> Object
1332  """
1333  return _IMP_atom.Bond_get_value(self, *args)
1334 
1335 
1336  def set_value(self, *args):
1337  """
1338  set_value(Bond self, FloatKey a0, IMP::Float a1)
1339  set_value(Bond self, IntKey a0, IMP::Int a1)
1340  set_value(Bond self, StringKey a0, IMP::String a1)
1341  set_value(Bond self, ParticleIndexKey a0, Particle a1)
1342  set_value(Bond self, ObjectKey a0, Object a1)
1343  """
1344  return _IMP_atom.Bond_set_value(self, *args)
1345 
1346 
1347  def remove_attribute(self, *args):
1348  """
1349  remove_attribute(Bond self, FloatKey a0)
1350  remove_attribute(Bond self, IntKey a0)
1351  remove_attribute(Bond self, StringKey a0)
1352  remove_attribute(Bond self, ParticleIndexKey a0)
1353  remove_attribute(Bond self, ObjectKey a0)
1354  """
1355  return _IMP_atom.Bond_remove_attribute(self, *args)
1356 
1357 
1358  def has_attribute(self, *args):
1359  """
1360  has_attribute(Bond self, FloatKey a0) -> bool
1361  has_attribute(Bond self, IntKey a0) -> bool
1362  has_attribute(Bond self, StringKey a0) -> bool
1363  has_attribute(Bond self, ParticleIndexKey a0) -> bool
1364  has_attribute(Bond self, ObjectKey a0) -> bool
1365  """
1366  return _IMP_atom.Bond_has_attribute(self, *args)
1367 
1368 
1369  def get_derivative(self, a0):
1370  """get_derivative(Bond self, FloatKey a0) -> double"""
1371  return _IMP_atom.Bond_get_derivative(self, a0)
1372 
1373 
1374  def get_name(self):
1375  """get_name(Bond self) -> std::string"""
1376  return _IMP_atom.Bond_get_name(self)
1377 
1378 
1379  def clear_caches(self):
1380  """clear_caches(Bond self)"""
1381  return _IMP_atom.Bond_clear_caches(self)
1382 
1383 
1384  def set_name(self, a0):
1385  """set_name(Bond self, std::string a0)"""
1386  return _IMP_atom.Bond_set_name(self, a0)
1387 
1388 
1389  def set_check_level(self, a0):
1390  """set_check_level(Bond self, IMP::CheckLevel a0)"""
1391  return _IMP_atom.Bond_set_check_level(self, a0)
1392 
1393 
1394  def add_to_derivative(self, a0, a1, a2):
1395  """add_to_derivative(Bond self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1396  return _IMP_atom.Bond_add_to_derivative(self, a0, a1, a2)
1397 
1398 
1399  def set_is_optimized(self, a0, a1):
1400  """set_is_optimized(Bond self, FloatKey a0, bool a1)"""
1401  return _IMP_atom.Bond_set_is_optimized(self, a0, a1)
1402 
1403 
1404  def get_is_optimized(self, a0):
1405  """get_is_optimized(Bond self, FloatKey a0) -> bool"""
1406  return _IMP_atom.Bond_get_is_optimized(self, a0)
1407 
1408 
1409  def get_check_level(self):
1410  """get_check_level(Bond self) -> IMP::CheckLevel"""
1411  return _IMP_atom.Bond_get_check_level(self)
1412 
1413 
1414  def __eq__(self, *args):
1415  """
1416  __eq__(Bond self, Bond o) -> bool
1417  __eq__(Bond self, Particle d) -> bool
1418  """
1419  return _IMP_atom.Bond___eq__(self, *args)
1420 
1421 
1422  def __ne__(self, *args):
1423  """
1424  __ne__(Bond self, Bond o) -> bool
1425  __ne__(Bond self, Particle d) -> bool
1426  """
1427  return _IMP_atom.Bond___ne__(self, *args)
1428 
1429 
1430  def __le__(self, *args):
1431  """
1432  __le__(Bond self, Bond o) -> bool
1433  __le__(Bond self, Particle d) -> bool
1434  """
1435  return _IMP_atom.Bond___le__(self, *args)
1436 
1437 
1438  def __lt__(self, *args):
1439  """
1440  __lt__(Bond self, Bond o) -> bool
1441  __lt__(Bond self, Particle d) -> bool
1442  """
1443  return _IMP_atom.Bond___lt__(self, *args)
1444 
1445 
1446  def __ge__(self, *args):
1447  """
1448  __ge__(Bond self, Bond o) -> bool
1449  __ge__(Bond self, Particle d) -> bool
1450  """
1451  return _IMP_atom.Bond___ge__(self, *args)
1452 
1453 
1454  def __gt__(self, *args):
1455  """
1456  __gt__(Bond self, Bond o) -> bool
1457  __gt__(Bond self, Particle d) -> bool
1458  """
1459  return _IMP_atom.Bond___gt__(self, *args)
1460 
1461 
1462  def __hash__(self):
1463  """__hash__(Bond self) -> std::size_t"""
1464  return _IMP_atom.Bond___hash__(self)
1465 
1466 
1467  def __str__(self):
1468  """__str__(Bond self) -> std::string"""
1469  return _IMP_atom.Bond___str__(self)
1470 
1471 
1472  def __repr__(self):
1473  """__repr__(Bond self) -> std::string"""
1474  return _IMP_atom.Bond___repr__(self)
1475 
1476  __swig_destroy__ = _IMP_atom.delete_Bond
1477  __del__ = lambda self: None
1478 Bond_swigregister = _IMP_atom.Bond_swigregister
1479 Bond_swigregister(Bond)
1480 
1481 def Bond_get_is_setup(*args):
1482  """
1483  get_is_setup(_ParticleAdaptor p) -> bool
1484  Bond_get_is_setup(Model m, ParticleIndex pi) -> bool
1485  """
1486  return _IMP_atom.Bond_get_is_setup(*args)
1487 
1488 def Bond_get_length_key():
1489  """Bond_get_length_key() -> FloatKey"""
1490  return _IMP_atom.Bond_get_length_key()
1491 
1492 class Bonded(IMP.Decorator):
1493  """Proxy of C++ IMP::atom::Bonded class."""
1494 
1495  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1496 
1497  def __init__(self, *args):
1498  """
1499  __init__(IMP::atom::Bonded self) -> Bonded
1500  __init__(IMP::atom::Bonded self, Model m, ParticleIndex id) -> Bonded
1501  __init__(IMP::atom::Bonded self, _ParticleAdaptor d) -> Bonded
1502  """
1503  this = _IMP_atom.new_Bonded(*args)
1504  try:
1505  self.this.append(this)
1506  except __builtin__.Exception:
1507  self.this = this
1508 
1509  def show(self, *args):
1510  """
1511  show(Bonded self, _ostream out)
1512  show(Bonded self)
1513  """
1514  return _IMP_atom.Bonded_show(self, *args)
1515 
1516 
1517  def setup_particle(*args):
1518  """
1519  setup_particle(Model m, ParticleIndex pi) -> Bonded
1520  setup_particle(_ParticleAdaptor decorator) -> Bonded
1521  """
1522  return _IMP_atom.Bonded_setup_particle(*args)
1523 
1524  setup_particle = staticmethod(setup_particle)
1525 
1526  def get_is_setup(*args):
1527  """
1528  get_is_setup(_ParticleAdaptor p) -> bool
1529  get_is_setup(Model m, ParticleIndex pi) -> bool
1530  """
1531  return _IMP_atom.Bonded_get_is_setup(*args)
1532 
1533  get_is_setup = staticmethod(get_is_setup)
1534 
1535  def get_number_of_bonds(self):
1536  """get_number_of_bonds(Bonded self) -> unsigned int"""
1537  return _IMP_atom.Bonded_get_number_of_bonds(self)
1538 
1539 
1540  def get_bond_indexes(self):
1541  """get_bond_indexes(Bonded self) -> IMP::ParticleIndexes"""
1542  return _IMP_atom.Bonded_get_bond_indexes(self)
1543 
1544 
1545  def get_bond(self, i):
1546  """get_bond(Bonded self, unsigned int i) -> Bond"""
1547  return _IMP_atom.Bonded_get_bond(self, i)
1548 
1549 
1550  def get_bonded(self, i):
1551  """get_bonded(Bonded self, unsigned int i) -> Bonded"""
1552  return _IMP_atom.Bonded_get_bonded(self, i)
1553 
1554 
1555  def add_attribute(self, *args):
1556  """
1557  add_attribute(Bonded self, FloatKey k, IMP::Float v, bool opt)
1558  add_attribute(Bonded self, FloatKey a0, IMP::Float a1)
1559  add_attribute(Bonded self, IntKey a0, IMP::Int a1)
1560  add_attribute(Bonded self, StringKey a0, IMP::String a1)
1561  add_attribute(Bonded self, ParticleIndexKey a0, Particle a1)
1562  add_attribute(Bonded self, ObjectKey a0, Object a1)
1563  """
1564  return _IMP_atom.Bonded_add_attribute(self, *args)
1565 
1566 
1567  def get_value(self, *args):
1568  """
1569  get_value(Bonded self, FloatKey a0) -> IMP::Float
1570  get_value(Bonded self, IntKey a0) -> IMP::Int
1571  get_value(Bonded self, StringKey a0) -> IMP::String
1572  get_value(Bonded self, ParticleIndexKey a0) -> Particle
1573  get_value(Bonded self, ObjectKey a0) -> Object
1574  """
1575  return _IMP_atom.Bonded_get_value(self, *args)
1576 
1577 
1578  def set_value(self, *args):
1579  """
1580  set_value(Bonded self, FloatKey a0, IMP::Float a1)
1581  set_value(Bonded self, IntKey a0, IMP::Int a1)
1582  set_value(Bonded self, StringKey a0, IMP::String a1)
1583  set_value(Bonded self, ParticleIndexKey a0, Particle a1)
1584  set_value(Bonded self, ObjectKey a0, Object a1)
1585  """
1586  return _IMP_atom.Bonded_set_value(self, *args)
1587 
1588 
1589  def remove_attribute(self, *args):
1590  """
1591  remove_attribute(Bonded self, FloatKey a0)
1592  remove_attribute(Bonded self, IntKey a0)
1593  remove_attribute(Bonded self, StringKey a0)
1594  remove_attribute(Bonded self, ParticleIndexKey a0)
1595  remove_attribute(Bonded self, ObjectKey a0)
1596  """
1597  return _IMP_atom.Bonded_remove_attribute(self, *args)
1598 
1599 
1600  def has_attribute(self, *args):
1601  """
1602  has_attribute(Bonded self, FloatKey a0) -> bool
1603  has_attribute(Bonded self, IntKey a0) -> bool
1604  has_attribute(Bonded self, StringKey a0) -> bool
1605  has_attribute(Bonded self, ParticleIndexKey a0) -> bool
1606  has_attribute(Bonded self, ObjectKey a0) -> bool
1607  """
1608  return _IMP_atom.Bonded_has_attribute(self, *args)
1609 
1610 
1611  def get_derivative(self, a0):
1612  """get_derivative(Bonded self, FloatKey a0) -> double"""
1613  return _IMP_atom.Bonded_get_derivative(self, a0)
1614 
1615 
1616  def get_name(self):
1617  """get_name(Bonded self) -> std::string"""
1618  return _IMP_atom.Bonded_get_name(self)
1619 
1620 
1621  def clear_caches(self):
1622  """clear_caches(Bonded self)"""
1623  return _IMP_atom.Bonded_clear_caches(self)
1624 
1625 
1626  def set_name(self, a0):
1627  """set_name(Bonded self, std::string a0)"""
1628  return _IMP_atom.Bonded_set_name(self, a0)
1629 
1630 
1631  def set_check_level(self, a0):
1632  """set_check_level(Bonded self, IMP::CheckLevel a0)"""
1633  return _IMP_atom.Bonded_set_check_level(self, a0)
1634 
1635 
1636  def add_to_derivative(self, a0, a1, a2):
1637  """add_to_derivative(Bonded self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1638  return _IMP_atom.Bonded_add_to_derivative(self, a0, a1, a2)
1639 
1640 
1641  def set_is_optimized(self, a0, a1):
1642  """set_is_optimized(Bonded self, FloatKey a0, bool a1)"""
1643  return _IMP_atom.Bonded_set_is_optimized(self, a0, a1)
1644 
1645 
1646  def get_is_optimized(self, a0):
1647  """get_is_optimized(Bonded self, FloatKey a0) -> bool"""
1648  return _IMP_atom.Bonded_get_is_optimized(self, a0)
1649 
1650 
1651  def get_check_level(self):
1652  """get_check_level(Bonded self) -> IMP::CheckLevel"""
1653  return _IMP_atom.Bonded_get_check_level(self)
1654 
1655 
1656  def __eq__(self, *args):
1657  """
1658  __eq__(Bonded self, Bonded o) -> bool
1659  __eq__(Bonded self, Particle d) -> bool
1660  """
1661  return _IMP_atom.Bonded___eq__(self, *args)
1662 
1663 
1664  def __ne__(self, *args):
1665  """
1666  __ne__(Bonded self, Bonded o) -> bool
1667  __ne__(Bonded self, Particle d) -> bool
1668  """
1669  return _IMP_atom.Bonded___ne__(self, *args)
1670 
1671 
1672  def __le__(self, *args):
1673  """
1674  __le__(Bonded self, Bonded o) -> bool
1675  __le__(Bonded self, Particle d) -> bool
1676  """
1677  return _IMP_atom.Bonded___le__(self, *args)
1678 
1679 
1680  def __lt__(self, *args):
1681  """
1682  __lt__(Bonded self, Bonded o) -> bool
1683  __lt__(Bonded self, Particle d) -> bool
1684  """
1685  return _IMP_atom.Bonded___lt__(self, *args)
1686 
1687 
1688  def __ge__(self, *args):
1689  """
1690  __ge__(Bonded self, Bonded o) -> bool
1691  __ge__(Bonded self, Particle d) -> bool
1692  """
1693  return _IMP_atom.Bonded___ge__(self, *args)
1694 
1695 
1696  def __gt__(self, *args):
1697  """
1698  __gt__(Bonded self, Bonded o) -> bool
1699  __gt__(Bonded self, Particle d) -> bool
1700  """
1701  return _IMP_atom.Bonded___gt__(self, *args)
1702 
1703 
1704  def __hash__(self):
1705  """__hash__(Bonded self) -> std::size_t"""
1706  return _IMP_atom.Bonded___hash__(self)
1707 
1708 
1709  def __str__(self):
1710  """__str__(Bonded self) -> std::string"""
1711  return _IMP_atom.Bonded___str__(self)
1712 
1713 
1714  def __repr__(self):
1715  """__repr__(Bonded self) -> std::string"""
1716  return _IMP_atom.Bonded___repr__(self)
1717 
1718  __swig_destroy__ = _IMP_atom.delete_Bonded
1719  __del__ = lambda self: None
1720 Bonded_swigregister = _IMP_atom.Bonded_swigregister
1721 Bonded_swigregister(Bonded)
1722 
1723 def Bonded_setup_particle(*args):
1724  """
1725  setup_particle(Model m, ParticleIndex pi) -> Bonded
1726  Bonded_setup_particle(_ParticleAdaptor decorator) -> Bonded
1727  """
1728  return _IMP_atom.Bonded_setup_particle(*args)
1729 
1730 def Bonded_get_is_setup(*args):
1731  """
1732  get_is_setup(_ParticleAdaptor p) -> bool
1733  Bonded_get_is_setup(Model m, ParticleIndex pi) -> bool
1734  """
1735  return _IMP_atom.Bonded_get_is_setup(*args)
1736 
1737 
1738 def create_custom_bond(a, b, length, stiffness=-1):
1739  """
1740  create_custom_bond(Bonded a, Bonded b, IMP::Float length, IMP::Float stiffness=-1) -> Bond
1741  create_custom_bond(Bonded a, Bonded b, IMP::Float length) -> Bond
1742  """
1743  return _IMP_atom.create_custom_bond(a, b, length, stiffness)
1744 
1745 def create_bond(*args):
1746  """
1747  create_bond(Bonded a, Bonded b, IMP::Int t) -> Bond
1748  create_bond(Bonded a, Bonded b, Bond o) -> Bond
1749  """
1750  return _IMP_atom.create_bond(*args)
1751 
1752 def destroy_bond(b):
1753  """destroy_bond(Bond b)"""
1754  return _IMP_atom.destroy_bond(b)
1755 
1756 def get_bond(a, b):
1757  """get_bond(Bonded a, Bonded b) -> Bond"""
1758  return _IMP_atom.get_bond(a, b)
1759 class BondGeometry(IMP.display.SingletonGeometry):
1760  """Proxy of C++ IMP::atom::BondGeometry class."""
1761 
1762  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1763 
1764  def __init__(self, *args):
1765  """
1766  __init__(IMP::atom::BondGeometry self, Particle p) -> BondGeometry
1767  __init__(IMP::atom::BondGeometry self, Bond d) -> BondGeometry
1768  """
1769  this = _IMP_atom.new_BondGeometry(*args)
1770  try:
1771  self.this.append(this)
1772  except __builtin__.Exception:
1773  self.this = this
1774 
1775  def get_version_info(self):
1776  """get_version_info(BondGeometry self) -> VersionInfo"""
1777  return _IMP_atom.BondGeometry_get_version_info(self)
1778 
1779 
1780  def __str__(self):
1781  """__str__(BondGeometry self) -> std::string"""
1782  return _IMP_atom.BondGeometry___str__(self)
1783 
1784 
1785  def __repr__(self):
1786  """__repr__(BondGeometry self) -> std::string"""
1787  return _IMP_atom.BondGeometry___repr__(self)
1788 
1789 
1790  @staticmethod
1791  def get_from(o):
1792  return _object_cast_to_BondGeometry(o)
1793 
1794 BondGeometry_swigregister = _IMP_atom.BondGeometry_swigregister
1795 BondGeometry_swigregister(BondGeometry)
1796 
1797 class BondsGeometry(IMP.display.SingletonsGeometry):
1798  """Proxy of C++ IMP::atom::BondsGeometry class."""
1799 
1800  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1801 
1802  def __init__(self, sc):
1803  """__init__(IMP::atom::BondsGeometry self, SingletonContainer sc) -> BondsGeometry"""
1804  this = _IMP_atom.new_BondsGeometry(sc)
1805  try:
1806  self.this.append(this)
1807  except __builtin__.Exception:
1808  self.this = this
1809 
1810  def get_version_info(self):
1811  """get_version_info(BondsGeometry self) -> VersionInfo"""
1812  return _IMP_atom.BondsGeometry_get_version_info(self)
1813 
1814 
1815  def __str__(self):
1816  """__str__(BondsGeometry self) -> std::string"""
1817  return _IMP_atom.BondsGeometry___str__(self)
1818 
1819 
1820  def __repr__(self):
1821  """__repr__(BondsGeometry self) -> std::string"""
1822  return _IMP_atom.BondsGeometry___repr__(self)
1823 
1824 
1825  @staticmethod
1826  def get_from(o):
1827  return _object_cast_to_BondsGeometry(o)
1828 
1829 BondsGeometry_swigregister = _IMP_atom.BondsGeometry_swigregister
1830 BondsGeometry_swigregister(BondsGeometry)
1831 
1832 class Hierarchy(IMP.core.Hierarchy):
1833  """Proxy of C++ IMP::atom::Hierarchy class."""
1834 
1835  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1836 
1837  def __init__(self, *args):
1838  """
1839  __init__(IMP::atom::Hierarchy self, Model m, ParticleIndex pi) -> Hierarchy
1840  __init__(IMP::atom::Hierarchy self, _ParticleAdaptor pi) -> Hierarchy
1841  __init__(IMP::atom::Hierarchy self) -> Hierarchy
1842  __init__(IMP::atom::Hierarchy self, Hierarchy h) -> Hierarchy
1843  """
1844  this = _IMP_atom.new_Hierarchy(*args)
1845  try:
1846  self.this.append(this)
1847  except __builtin__.Exception:
1848  self.this = this
1849 
1850  def setup_particle(*args):
1851  """
1852  setup_particle(Particle p, _ParticleIndexesAdaptor children) -> Hierarchy
1853  setup_particle(Particle p) -> Hierarchy
1854  setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor children) -> Hierarchy
1855  setup_particle(Model m, ParticleIndex pi) -> Hierarchy
1856  """
1857  return _IMP_atom.Hierarchy_setup_particle(*args)
1858 
1859  setup_particle = staticmethod(setup_particle)
1860 
1861  def get_is_setup(*args):
1862  """
1863  get_is_setup(Particle p) -> bool
1864  get_is_setup(Model m, ParticleIndex p) -> bool
1865  """
1866  return _IMP_atom.Hierarchy_get_is_setup(*args)
1867 
1868  get_is_setup = staticmethod(get_is_setup)
1869 
1870  def get_is_valid(self, print_info=False):
1871  """
1872  get_is_valid(Hierarchy self, bool print_info=False) -> bool
1873  get_is_valid(Hierarchy self) -> bool
1874  """
1875  return _IMP_atom.Hierarchy_get_is_valid(self, print_info)
1876 
1877 
1878  def add_child(self, o):
1879  """add_child(Hierarchy self, Hierarchy o)"""
1880  return _IMP_atom.Hierarchy_add_child(self, o)
1881 
1882 
1883  def get_child(self, i):
1884  """get_child(Hierarchy self, unsigned int i) -> Hierarchy"""
1885  return _IMP_atom.Hierarchy_get_child(self, i)
1886 
1887 
1888  def get_children(self):
1889  """get_children(Hierarchy self) -> IMP::atom::Hierarchies"""
1890  return _IMP_atom.Hierarchy_get_children(self)
1891 
1892 
1893  def get_parent(self):
1894  """get_parent(Hierarchy self) -> Hierarchy"""
1895  return _IMP_atom.Hierarchy_get_parent(self)
1896 
1897 
1898  def get_traits():
1899  """get_traits() -> HierarchyTraits"""
1900  return _IMP_atom.Hierarchy_get_traits()
1901 
1902  get_traits = staticmethod(get_traits)
1903 
1904  def show(self, *args):
1905  """
1906  show(Hierarchy self, _ostream out, std::string delimiter)
1907  show(Hierarchy self, _ostream out)
1908  show(Hierarchy self)
1909  """
1910  return _IMP_atom.Hierarchy_show(self, *args)
1911 
1912 
1913  def add_attribute(self, *args):
1914  """
1915  add_attribute(Hierarchy self, FloatKey k, IMP::Float v, bool opt)
1916  add_attribute(Hierarchy self, FloatKey a0, IMP::Float a1)
1917  add_attribute(Hierarchy self, IntKey a0, IMP::Int a1)
1918  add_attribute(Hierarchy self, StringKey a0, IMP::String a1)
1919  add_attribute(Hierarchy self, ParticleIndexKey a0, Particle a1)
1920  add_attribute(Hierarchy self, ObjectKey a0, Object a1)
1921  """
1922  return _IMP_atom.Hierarchy_add_attribute(self, *args)
1923 
1924 
1925  def get_value(self, *args):
1926  """
1927  get_value(Hierarchy self, FloatKey a0) -> IMP::Float
1928  get_value(Hierarchy self, IntKey a0) -> IMP::Int
1929  get_value(Hierarchy self, StringKey a0) -> IMP::String
1930  get_value(Hierarchy self, ParticleIndexKey a0) -> Particle
1931  get_value(Hierarchy self, ObjectKey a0) -> Object
1932  """
1933  return _IMP_atom.Hierarchy_get_value(self, *args)
1934 
1935 
1936  def set_value(self, *args):
1937  """
1938  set_value(Hierarchy self, FloatKey a0, IMP::Float a1)
1939  set_value(Hierarchy self, IntKey a0, IMP::Int a1)
1940  set_value(Hierarchy self, StringKey a0, IMP::String a1)
1941  set_value(Hierarchy self, ParticleIndexKey a0, Particle a1)
1942  set_value(Hierarchy self, ObjectKey a0, Object a1)
1943  """
1944  return _IMP_atom.Hierarchy_set_value(self, *args)
1945 
1946 
1947  def remove_attribute(self, *args):
1948  """
1949  remove_attribute(Hierarchy self, FloatKey a0)
1950  remove_attribute(Hierarchy self, IntKey a0)
1951  remove_attribute(Hierarchy self, StringKey a0)
1952  remove_attribute(Hierarchy self, ParticleIndexKey a0)
1953  remove_attribute(Hierarchy self, ObjectKey a0)
1954  """
1955  return _IMP_atom.Hierarchy_remove_attribute(self, *args)
1956 
1957 
1958  def has_attribute(self, *args):
1959  """
1960  has_attribute(Hierarchy self, FloatKey a0) -> bool
1961  has_attribute(Hierarchy self, IntKey a0) -> bool
1962  has_attribute(Hierarchy self, StringKey a0) -> bool
1963  has_attribute(Hierarchy self, ParticleIndexKey a0) -> bool
1964  has_attribute(Hierarchy self, ObjectKey a0) -> bool
1965  """
1966  return _IMP_atom.Hierarchy_has_attribute(self, *args)
1967 
1968 
1969  def get_derivative(self, a0):
1970  """get_derivative(Hierarchy self, FloatKey a0) -> double"""
1971  return _IMP_atom.Hierarchy_get_derivative(self, a0)
1972 
1973 
1974  def get_name(self):
1975  """get_name(Hierarchy self) -> std::string"""
1976  return _IMP_atom.Hierarchy_get_name(self)
1977 
1978 
1979  def clear_caches(self):
1980  """clear_caches(Hierarchy self)"""
1981  return _IMP_atom.Hierarchy_clear_caches(self)
1982 
1983 
1984  def set_name(self, a0):
1985  """set_name(Hierarchy self, std::string a0)"""
1986  return _IMP_atom.Hierarchy_set_name(self, a0)
1987 
1988 
1989  def set_check_level(self, a0):
1990  """set_check_level(Hierarchy self, IMP::CheckLevel a0)"""
1991  return _IMP_atom.Hierarchy_set_check_level(self, a0)
1992 
1993 
1994  def add_to_derivative(self, a0, a1, a2):
1995  """add_to_derivative(Hierarchy self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1996  return _IMP_atom.Hierarchy_add_to_derivative(self, a0, a1, a2)
1997 
1998 
1999  def set_is_optimized(self, a0, a1):
2000  """set_is_optimized(Hierarchy self, FloatKey a0, bool a1)"""
2001  return _IMP_atom.Hierarchy_set_is_optimized(self, a0, a1)
2002 
2003 
2004  def get_is_optimized(self, a0):
2005  """get_is_optimized(Hierarchy self, FloatKey a0) -> bool"""
2006  return _IMP_atom.Hierarchy_get_is_optimized(self, a0)
2007 
2008 
2009  def get_check_level(self):
2010  """get_check_level(Hierarchy self) -> IMP::CheckLevel"""
2011  return _IMP_atom.Hierarchy_get_check_level(self)
2012 
2013 
2014  def __eq__(self, *args):
2015  """
2016  __eq__(Hierarchy self, Hierarchy o) -> bool
2017  __eq__(Hierarchy self, Particle d) -> bool
2018  """
2019  return _IMP_atom.Hierarchy___eq__(self, *args)
2020 
2021 
2022  def __ne__(self, *args):
2023  """
2024  __ne__(Hierarchy self, Hierarchy o) -> bool
2025  __ne__(Hierarchy self, Particle d) -> bool
2026  """
2027  return _IMP_atom.Hierarchy___ne__(self, *args)
2028 
2029 
2030  def __le__(self, *args):
2031  """
2032  __le__(Hierarchy self, Hierarchy o) -> bool
2033  __le__(Hierarchy self, Particle d) -> bool
2034  """
2035  return _IMP_atom.Hierarchy___le__(self, *args)
2036 
2037 
2038  def __lt__(self, *args):
2039  """
2040  __lt__(Hierarchy self, Hierarchy o) -> bool
2041  __lt__(Hierarchy self, Particle d) -> bool
2042  """
2043  return _IMP_atom.Hierarchy___lt__(self, *args)
2044 
2045 
2046  def __ge__(self, *args):
2047  """
2048  __ge__(Hierarchy self, Hierarchy o) -> bool
2049  __ge__(Hierarchy self, Particle d) -> bool
2050  """
2051  return _IMP_atom.Hierarchy___ge__(self, *args)
2052 
2053 
2054  def __gt__(self, *args):
2055  """
2056  __gt__(Hierarchy self, Hierarchy o) -> bool
2057  __gt__(Hierarchy self, Particle d) -> bool
2058  """
2059  return _IMP_atom.Hierarchy___gt__(self, *args)
2060 
2061 
2062  def __hash__(self):
2063  """__hash__(Hierarchy self) -> std::size_t"""
2064  return _IMP_atom.Hierarchy___hash__(self)
2065 
2066 
2067  def __str__(self):
2068  """__str__(Hierarchy self) -> std::string"""
2069  return _IMP_atom.Hierarchy___str__(self)
2070 
2071 
2072  def __repr__(self):
2073  """__repr__(Hierarchy self) -> std::string"""
2074  return _IMP_atom.Hierarchy___repr__(self)
2075 
2076  __swig_destroy__ = _IMP_atom.delete_Hierarchy
2077  __del__ = lambda self: None
2078 Hierarchy_swigregister = _IMP_atom.Hierarchy_swigregister
2079 Hierarchy_swigregister(Hierarchy)
2080 
2081 def Hierarchy_setup_particle(*args):
2082  """
2083  setup_particle(Particle p, _ParticleIndexesAdaptor children) -> Hierarchy
2084  setup_particle(Particle p) -> Hierarchy
2085  setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor children) -> Hierarchy
2086  Hierarchy_setup_particle(Model m, ParticleIndex pi) -> Hierarchy
2087  """
2088  return _IMP_atom.Hierarchy_setup_particle(*args)
2089 
2090 def Hierarchy_get_is_setup(*args):
2091  """
2092  get_is_setup(Particle p) -> bool
2093  Hierarchy_get_is_setup(Model m, ParticleIndex p) -> bool
2094  """
2095  return _IMP_atom.Hierarchy_get_is_setup(*args)
2096 
2097 def Hierarchy_get_traits():
2098  """Hierarchy_get_traits() -> HierarchyTraits"""
2099  return _IMP_atom.Hierarchy_get_traits()
2100 
2101 ATOM_TYPE = _IMP_atom.ATOM_TYPE
2102 RESIDUE_TYPE = _IMP_atom.RESIDUE_TYPE
2103 CHAIN_TYPE = _IMP_atom.CHAIN_TYPE
2104 MOLECULE_TYPE = _IMP_atom.MOLECULE_TYPE
2105 DOMAIN_TYPE = _IMP_atom.DOMAIN_TYPE
2106 FRAGMENT_TYPE = _IMP_atom.FRAGMENT_TYPE
2107 XYZ_TYPE = _IMP_atom.XYZ_TYPE
2108 XYZR_TYPE = _IMP_atom.XYZR_TYPE
2109 MASS_TYPE = _IMP_atom.MASS_TYPE
2110 STATE_TYPE = _IMP_atom.STATE_TYPE
2111 
2112 def get_by_type(mhd, t):
2113  """get_by_type(Hierarchy mhd, IMP::atom::GetByType t) -> IMP::atom::Hierarchies"""
2114  return _IMP_atom.get_by_type(mhd, t)
2115 
2116 def create_fragment(ps):
2117  """create_fragment(IMP::atom::Hierarchies const & ps) -> Hierarchy"""
2118  return _IMP_atom.create_fragment(ps)
2119 
2120 def get_internal_bonds(mhd):
2121  """get_internal_bonds(Hierarchy mhd) -> IMP::atom::Bonds"""
2122  return _IMP_atom.get_internal_bonds(mhd)
2123 
2124 def get_root(h):
2125  """get_root(Hierarchy h) -> Hierarchy"""
2126  return _IMP_atom.get_root(h)
2127 
2128 def show(*args):
2129  """
2130  show(Hierarchy h, _ostream out)
2131  show(Hierarchy h)
2132  """
2133  return _IMP_atom.show(*args)
2134 
2135 def create_rigid_body(*args):
2136  """
2137  create_rigid_body(IMP::atom::Hierarchies const & h, std::string name) -> RigidBody
2138  create_rigid_body(IMP::atom::Hierarchies const & h) -> RigidBody
2139  create_rigid_body(Hierarchy h) -> RigidBody
2140  """
2141  return _IMP_atom.create_rigid_body(*args)
2142 
2143 def create_compatible_rigid_body(h, reference):
2144  """create_compatible_rigid_body(Hierarchy h, Hierarchy reference) -> RigidBody"""
2145  return _IMP_atom.create_compatible_rigid_body(h, reference)
2146 
2147 def get_is_heterogen(h):
2148  """get_is_heterogen(Hierarchy h) -> bool"""
2149  return _IMP_atom.get_is_heterogen(h)
2150 
2151 def create_clone(d):
2152  """create_clone(Hierarchy d) -> Hierarchy"""
2153  return _IMP_atom.create_clone(d)
2154 
2155 def create_clone_one(d):
2156  """create_clone_one(Hierarchy d) -> Hierarchy"""
2157  return _IMP_atom.create_clone_one(d)
2158 
2159 def destroy(d):
2160  """destroy(Hierarchy d)"""
2161  return _IMP_atom.destroy(d)
2162 
2163 def get_bounding_box(h):
2164  """get_bounding_box(Hierarchy h) -> BoundingBox3D"""
2165  return _IMP_atom.get_bounding_box(h)
2166 
2167 def get_bounding_sphere(h):
2168  """get_bounding_sphere(Hierarchy h) -> Sphere3D"""
2169  return _IMP_atom.get_bounding_sphere(h)
2170 class Angle(IMP.Decorator):
2171  """Proxy of C++ IMP::atom::Angle class."""
2172 
2173  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2174 
2175  def __init__(self, *args):
2176  """
2177  __init__(IMP::atom::Angle self) -> Angle
2178  __init__(IMP::atom::Angle self, Model m, ParticleIndex id) -> Angle
2179  __init__(IMP::atom::Angle self, _ParticleAdaptor d) -> Angle
2180  """
2181  this = _IMP_atom.new_Angle(*args)
2182  try:
2183  self.this.append(this)
2184  except __builtin__.Exception:
2185  self.this = this
2186 
2187  def show(self, *args):
2188  """
2189  show(Angle self, _ostream out)
2190  show(Angle self)
2191  """
2192  return _IMP_atom.Angle_show(self, *args)
2193 
2194 
2195  def setup_particle(*args):
2196  """
2197  setup_particle(Model m, ParticleIndex pi, XYZ a, XYZ b, XYZ c) -> Angle
2198  setup_particle(_ParticleAdaptor decorator, XYZ a, XYZ b, XYZ c) -> Angle
2199  """
2200  return _IMP_atom.Angle_setup_particle(*args)
2201 
2202  setup_particle = staticmethod(setup_particle)
2203 
2204  def get_is_setup(*args):
2205  """
2206  get_is_setup(_ParticleAdaptor p) -> bool
2207  get_is_setup(Model m, ParticleIndex pi) -> bool
2208  """
2209  return _IMP_atom.Angle_get_is_setup(*args)
2210 
2211  get_is_setup = staticmethod(get_is_setup)
2212 
2213  def get_particle(self, *args):
2214  """
2215  get_particle(Angle self) -> Particle
2216  get_particle(Angle self, unsigned int i) -> Particle
2217  """
2218  return _IMP_atom.Angle_get_particle(self, *args)
2219 
2220 
2221  def get_ideal(self):
2222  """get_ideal(Angle self) -> IMP::Float"""
2223  return _IMP_atom.Angle_get_ideal(self)
2224 
2225 
2226  def set_ideal(self, t):
2227  """set_ideal(Angle self, IMP::Float t)"""
2228  return _IMP_atom.Angle_set_ideal(self, t)
2229 
2230 
2231  def get_stiffness(self):
2232  """get_stiffness(Angle self) -> IMP::Float"""
2233  return _IMP_atom.Angle_get_stiffness(self)
2234 
2235 
2236  def set_stiffness(self, t):
2237  """set_stiffness(Angle self, IMP::Float t)"""
2238  return _IMP_atom.Angle_set_stiffness(self, t)
2239 
2240 
2241  def get_particle_key(i):
2242  """get_particle_key(unsigned int i) -> ParticleIndexKey"""
2243  return _IMP_atom.Angle_get_particle_key(i)
2244 
2245  get_particle_key = staticmethod(get_particle_key)
2246 
2247  def get_ideal_key():
2248  """get_ideal_key() -> FloatKey"""
2249  return _IMP_atom.Angle_get_ideal_key()
2250 
2251  get_ideal_key = staticmethod(get_ideal_key)
2252 
2253  def get_stiffness_key():
2254  """get_stiffness_key() -> FloatKey"""
2255  return _IMP_atom.Angle_get_stiffness_key()
2256 
2257  get_stiffness_key = staticmethod(get_stiffness_key)
2258 
2259  def add_attribute(self, *args):
2260  """
2261  add_attribute(Angle self, FloatKey k, IMP::Float v, bool opt)
2262  add_attribute(Angle self, FloatKey a0, IMP::Float a1)
2263  add_attribute(Angle self, IntKey a0, IMP::Int a1)
2264  add_attribute(Angle self, StringKey a0, IMP::String a1)
2265  add_attribute(Angle self, ParticleIndexKey a0, Particle a1)
2266  add_attribute(Angle self, ObjectKey a0, Object a1)
2267  """
2268  return _IMP_atom.Angle_add_attribute(self, *args)
2269 
2270 
2271  def get_value(self, *args):
2272  """
2273  get_value(Angle self, FloatKey a0) -> IMP::Float
2274  get_value(Angle self, IntKey a0) -> IMP::Int
2275  get_value(Angle self, StringKey a0) -> IMP::String
2276  get_value(Angle self, ParticleIndexKey a0) -> Particle
2277  get_value(Angle self, ObjectKey a0) -> Object
2278  """
2279  return _IMP_atom.Angle_get_value(self, *args)
2280 
2281 
2282  def set_value(self, *args):
2283  """
2284  set_value(Angle self, FloatKey a0, IMP::Float a1)
2285  set_value(Angle self, IntKey a0, IMP::Int a1)
2286  set_value(Angle self, StringKey a0, IMP::String a1)
2287  set_value(Angle self, ParticleIndexKey a0, Particle a1)
2288  set_value(Angle self, ObjectKey a0, Object a1)
2289  """
2290  return _IMP_atom.Angle_set_value(self, *args)
2291 
2292 
2293  def remove_attribute(self, *args):
2294  """
2295  remove_attribute(Angle self, FloatKey a0)
2296  remove_attribute(Angle self, IntKey a0)
2297  remove_attribute(Angle self, StringKey a0)
2298  remove_attribute(Angle self, ParticleIndexKey a0)
2299  remove_attribute(Angle self, ObjectKey a0)
2300  """
2301  return _IMP_atom.Angle_remove_attribute(self, *args)
2302 
2303 
2304  def has_attribute(self, *args):
2305  """
2306  has_attribute(Angle self, FloatKey a0) -> bool
2307  has_attribute(Angle self, IntKey a0) -> bool
2308  has_attribute(Angle self, StringKey a0) -> bool
2309  has_attribute(Angle self, ParticleIndexKey a0) -> bool
2310  has_attribute(Angle self, ObjectKey a0) -> bool
2311  """
2312  return _IMP_atom.Angle_has_attribute(self, *args)
2313 
2314 
2315  def get_derivative(self, a0):
2316  """get_derivative(Angle self, FloatKey a0) -> double"""
2317  return _IMP_atom.Angle_get_derivative(self, a0)
2318 
2319 
2320  def get_name(self):
2321  """get_name(Angle self) -> std::string"""
2322  return _IMP_atom.Angle_get_name(self)
2323 
2324 
2325  def clear_caches(self):
2326  """clear_caches(Angle self)"""
2327  return _IMP_atom.Angle_clear_caches(self)
2328 
2329 
2330  def set_name(self, a0):
2331  """set_name(Angle self, std::string a0)"""
2332  return _IMP_atom.Angle_set_name(self, a0)
2333 
2334 
2335  def set_check_level(self, a0):
2336  """set_check_level(Angle self, IMP::CheckLevel a0)"""
2337  return _IMP_atom.Angle_set_check_level(self, a0)
2338 
2339 
2340  def add_to_derivative(self, a0, a1, a2):
2341  """add_to_derivative(Angle self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2342  return _IMP_atom.Angle_add_to_derivative(self, a0, a1, a2)
2343 
2344 
2345  def set_is_optimized(self, a0, a1):
2346  """set_is_optimized(Angle self, FloatKey a0, bool a1)"""
2347  return _IMP_atom.Angle_set_is_optimized(self, a0, a1)
2348 
2349 
2350  def get_is_optimized(self, a0):
2351  """get_is_optimized(Angle self, FloatKey a0) -> bool"""
2352  return _IMP_atom.Angle_get_is_optimized(self, a0)
2353 
2354 
2355  def get_check_level(self):
2356  """get_check_level(Angle self) -> IMP::CheckLevel"""
2357  return _IMP_atom.Angle_get_check_level(self)
2358 
2359 
2360  def __eq__(self, *args):
2361  """
2362  __eq__(Angle self, Angle o) -> bool
2363  __eq__(Angle self, Particle d) -> bool
2364  """
2365  return _IMP_atom.Angle___eq__(self, *args)
2366 
2367 
2368  def __ne__(self, *args):
2369  """
2370  __ne__(Angle self, Angle o) -> bool
2371  __ne__(Angle self, Particle d) -> bool
2372  """
2373  return _IMP_atom.Angle___ne__(self, *args)
2374 
2375 
2376  def __le__(self, *args):
2377  """
2378  __le__(Angle self, Angle o) -> bool
2379  __le__(Angle self, Particle d) -> bool
2380  """
2381  return _IMP_atom.Angle___le__(self, *args)
2382 
2383 
2384  def __lt__(self, *args):
2385  """
2386  __lt__(Angle self, Angle o) -> bool
2387  __lt__(Angle self, Particle d) -> bool
2388  """
2389  return _IMP_atom.Angle___lt__(self, *args)
2390 
2391 
2392  def __ge__(self, *args):
2393  """
2394  __ge__(Angle self, Angle o) -> bool
2395  __ge__(Angle self, Particle d) -> bool
2396  """
2397  return _IMP_atom.Angle___ge__(self, *args)
2398 
2399 
2400  def __gt__(self, *args):
2401  """
2402  __gt__(Angle self, Angle o) -> bool
2403  __gt__(Angle self, Particle d) -> bool
2404  """
2405  return _IMP_atom.Angle___gt__(self, *args)
2406 
2407 
2408  def __hash__(self):
2409  """__hash__(Angle self) -> std::size_t"""
2410  return _IMP_atom.Angle___hash__(self)
2411 
2412 
2413  def __str__(self):
2414  """__str__(Angle self) -> std::string"""
2415  return _IMP_atom.Angle___str__(self)
2416 
2417 
2418  def __repr__(self):
2419  """__repr__(Angle self) -> std::string"""
2420  return _IMP_atom.Angle___repr__(self)
2421 
2422  __swig_destroy__ = _IMP_atom.delete_Angle
2423  __del__ = lambda self: None
2424 Angle_swigregister = _IMP_atom.Angle_swigregister
2425 Angle_swigregister(Angle)
2426 
2427 def Angle_setup_particle(*args):
2428  """
2429  setup_particle(Model m, ParticleIndex pi, XYZ a, XYZ b, XYZ c) -> Angle
2430  Angle_setup_particle(_ParticleAdaptor decorator, XYZ a, XYZ b, XYZ c) -> Angle
2431  """
2432  return _IMP_atom.Angle_setup_particle(*args)
2433 
2434 def Angle_get_is_setup(*args):
2435  """
2436  get_is_setup(_ParticleAdaptor p) -> bool
2437  Angle_get_is_setup(Model m, ParticleIndex pi) -> bool
2438  """
2439  return _IMP_atom.Angle_get_is_setup(*args)
2440 
2441 def Angle_get_particle_key(i):
2442  """Angle_get_particle_key(unsigned int i) -> ParticleIndexKey"""
2443  return _IMP_atom.Angle_get_particle_key(i)
2444 
2445 def Angle_get_ideal_key():
2446  """Angle_get_ideal_key() -> FloatKey"""
2447  return _IMP_atom.Angle_get_ideal_key()
2448 
2449 def Angle_get_stiffness_key():
2450  """Angle_get_stiffness_key() -> FloatKey"""
2451  return _IMP_atom.Angle_get_stiffness_key()
2452 
2453 class Dihedral(IMP.Decorator):
2454  """Proxy of C++ IMP::atom::Dihedral class."""
2455 
2456  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2457 
2458  def __init__(self, *args):
2459  """
2460  __init__(IMP::atom::Dihedral self) -> Dihedral
2461  __init__(IMP::atom::Dihedral self, Model m, ParticleIndex id) -> Dihedral
2462  __init__(IMP::atom::Dihedral self, _ParticleAdaptor d) -> Dihedral
2463  """
2464  this = _IMP_atom.new_Dihedral(*args)
2465  try:
2466  self.this.append(this)
2467  except __builtin__.Exception:
2468  self.this = this
2469 
2470  def show(self, *args):
2471  """
2472  show(Dihedral self, _ostream out)
2473  show(Dihedral self)
2474  """
2475  return _IMP_atom.Dihedral_show(self, *args)
2476 
2477 
2478  def setup_particle(*args):
2479  """
2480  setup_particle(Model m, ParticleIndex pi, XYZ a, XYZ b, XYZ c, XYZ d) -> Dihedral
2481  setup_particle(_ParticleAdaptor decorator, XYZ a, XYZ b, XYZ c, XYZ d) -> Dihedral
2482  """
2483  return _IMP_atom.Dihedral_setup_particle(*args)
2484 
2485  setup_particle = staticmethod(setup_particle)
2486 
2487  def get_is_setup(*args):
2488  """
2489  get_is_setup(_ParticleAdaptor p) -> bool
2490  get_is_setup(Model m, ParticleIndex pi) -> bool
2491  """
2492  return _IMP_atom.Dihedral_get_is_setup(*args)
2493 
2494  get_is_setup = staticmethod(get_is_setup)
2495 
2496  def get_particle(self, *args):
2497  """
2498  get_particle(Dihedral self) -> Particle
2499  get_particle(Dihedral self, unsigned int i) -> Particle
2500  """
2501  return _IMP_atom.Dihedral_get_particle(self, *args)
2502 
2503 
2504  def get_ideal(self):
2505  """get_ideal(Dihedral self) -> IMP::Float"""
2506  return _IMP_atom.Dihedral_get_ideal(self)
2507 
2508 
2509  def set_ideal(self, t):
2510  """set_ideal(Dihedral self, IMP::Float t)"""
2511  return _IMP_atom.Dihedral_set_ideal(self, t)
2512 
2513 
2514  def get_multiplicity(self):
2515  """get_multiplicity(Dihedral self) -> IMP::Int"""
2516  return _IMP_atom.Dihedral_get_multiplicity(self)
2517 
2518 
2519  def set_multiplicity(self, t):
2520  """set_multiplicity(Dihedral self, IMP::Int t)"""
2521  return _IMP_atom.Dihedral_set_multiplicity(self, t)
2522 
2523 
2524  def get_stiffness(self):
2525  """get_stiffness(Dihedral self) -> IMP::Float"""
2526  return _IMP_atom.Dihedral_get_stiffness(self)
2527 
2528 
2529  def set_stiffness(self, t):
2530  """set_stiffness(Dihedral self, IMP::Float t)"""
2531  return _IMP_atom.Dihedral_set_stiffness(self, t)
2532 
2533 
2534  def get_particle_key(i):
2535  """get_particle_key(unsigned int i) -> ParticleIndexKey"""
2536  return _IMP_atom.Dihedral_get_particle_key(i)
2537 
2538  get_particle_key = staticmethod(get_particle_key)
2539 
2540  def get_ideal_key():
2541  """get_ideal_key() -> FloatKey"""
2542  return _IMP_atom.Dihedral_get_ideal_key()
2543 
2544  get_ideal_key = staticmethod(get_ideal_key)
2545 
2546  def get_multiplicity_key():
2547  """get_multiplicity_key() -> IntKey"""
2548  return _IMP_atom.Dihedral_get_multiplicity_key()
2549 
2550  get_multiplicity_key = staticmethod(get_multiplicity_key)
2551 
2552  def get_stiffness_key():
2553  """get_stiffness_key() -> FloatKey"""
2554  return _IMP_atom.Dihedral_get_stiffness_key()
2555 
2556  get_stiffness_key = staticmethod(get_stiffness_key)
2557 
2558  def add_attribute(self, *args):
2559  """
2560  add_attribute(Dihedral self, FloatKey k, IMP::Float v, bool opt)
2561  add_attribute(Dihedral self, FloatKey a0, IMP::Float a1)
2562  add_attribute(Dihedral self, IntKey a0, IMP::Int a1)
2563  add_attribute(Dihedral self, StringKey a0, IMP::String a1)
2564  add_attribute(Dihedral self, ParticleIndexKey a0, Particle a1)
2565  add_attribute(Dihedral self, ObjectKey a0, Object a1)
2566  """
2567  return _IMP_atom.Dihedral_add_attribute(self, *args)
2568 
2569 
2570  def get_value(self, *args):
2571  """
2572  get_value(Dihedral self, FloatKey a0) -> IMP::Float
2573  get_value(Dihedral self, IntKey a0) -> IMP::Int
2574  get_value(Dihedral self, StringKey a0) -> IMP::String
2575  get_value(Dihedral self, ParticleIndexKey a0) -> Particle
2576  get_value(Dihedral self, ObjectKey a0) -> Object
2577  """
2578  return _IMP_atom.Dihedral_get_value(self, *args)
2579 
2580 
2581  def set_value(self, *args):
2582  """
2583  set_value(Dihedral self, FloatKey a0, IMP::Float a1)
2584  set_value(Dihedral self, IntKey a0, IMP::Int a1)
2585  set_value(Dihedral self, StringKey a0, IMP::String a1)
2586  set_value(Dihedral self, ParticleIndexKey a0, Particle a1)
2587  set_value(Dihedral self, ObjectKey a0, Object a1)
2588  """
2589  return _IMP_atom.Dihedral_set_value(self, *args)
2590 
2591 
2592  def remove_attribute(self, *args):
2593  """
2594  remove_attribute(Dihedral self, FloatKey a0)
2595  remove_attribute(Dihedral self, IntKey a0)
2596  remove_attribute(Dihedral self, StringKey a0)
2597  remove_attribute(Dihedral self, ParticleIndexKey a0)
2598  remove_attribute(Dihedral self, ObjectKey a0)
2599  """
2600  return _IMP_atom.Dihedral_remove_attribute(self, *args)
2601 
2602 
2603  def has_attribute(self, *args):
2604  """
2605  has_attribute(Dihedral self, FloatKey a0) -> bool
2606  has_attribute(Dihedral self, IntKey a0) -> bool
2607  has_attribute(Dihedral self, StringKey a0) -> bool
2608  has_attribute(Dihedral self, ParticleIndexKey a0) -> bool
2609  has_attribute(Dihedral self, ObjectKey a0) -> bool
2610  """
2611  return _IMP_atom.Dihedral_has_attribute(self, *args)
2612 
2613 
2614  def get_derivative(self, a0):
2615  """get_derivative(Dihedral self, FloatKey a0) -> double"""
2616  return _IMP_atom.Dihedral_get_derivative(self, a0)
2617 
2618 
2619  def get_name(self):
2620  """get_name(Dihedral self) -> std::string"""
2621  return _IMP_atom.Dihedral_get_name(self)
2622 
2623 
2624  def clear_caches(self):
2625  """clear_caches(Dihedral self)"""
2626  return _IMP_atom.Dihedral_clear_caches(self)
2627 
2628 
2629  def set_name(self, a0):
2630  """set_name(Dihedral self, std::string a0)"""
2631  return _IMP_atom.Dihedral_set_name(self, a0)
2632 
2633 
2634  def set_check_level(self, a0):
2635  """set_check_level(Dihedral self, IMP::CheckLevel a0)"""
2636  return _IMP_atom.Dihedral_set_check_level(self, a0)
2637 
2638 
2639  def add_to_derivative(self, a0, a1, a2):
2640  """add_to_derivative(Dihedral self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2641  return _IMP_atom.Dihedral_add_to_derivative(self, a0, a1, a2)
2642 
2643 
2644  def set_is_optimized(self, a0, a1):
2645  """set_is_optimized(Dihedral self, FloatKey a0, bool a1)"""
2646  return _IMP_atom.Dihedral_set_is_optimized(self, a0, a1)
2647 
2648 
2649  def get_is_optimized(self, a0):
2650  """get_is_optimized(Dihedral self, FloatKey a0) -> bool"""
2651  return _IMP_atom.Dihedral_get_is_optimized(self, a0)
2652 
2653 
2654  def get_check_level(self):
2655  """get_check_level(Dihedral self) -> IMP::CheckLevel"""
2656  return _IMP_atom.Dihedral_get_check_level(self)
2657 
2658 
2659  def __eq__(self, *args):
2660  """
2661  __eq__(Dihedral self, Dihedral o) -> bool
2662  __eq__(Dihedral self, Particle d) -> bool
2663  """
2664  return _IMP_atom.Dihedral___eq__(self, *args)
2665 
2666 
2667  def __ne__(self, *args):
2668  """
2669  __ne__(Dihedral self, Dihedral o) -> bool
2670  __ne__(Dihedral self, Particle d) -> bool
2671  """
2672  return _IMP_atom.Dihedral___ne__(self, *args)
2673 
2674 
2675  def __le__(self, *args):
2676  """
2677  __le__(Dihedral self, Dihedral o) -> bool
2678  __le__(Dihedral self, Particle d) -> bool
2679  """
2680  return _IMP_atom.Dihedral___le__(self, *args)
2681 
2682 
2683  def __lt__(self, *args):
2684  """
2685  __lt__(Dihedral self, Dihedral o) -> bool
2686  __lt__(Dihedral self, Particle d) -> bool
2687  """
2688  return _IMP_atom.Dihedral___lt__(self, *args)
2689 
2690 
2691  def __ge__(self, *args):
2692  """
2693  __ge__(Dihedral self, Dihedral o) -> bool
2694  __ge__(Dihedral self, Particle d) -> bool
2695  """
2696  return _IMP_atom.Dihedral___ge__(self, *args)
2697 
2698 
2699  def __gt__(self, *args):
2700  """
2701  __gt__(Dihedral self, Dihedral o) -> bool
2702  __gt__(Dihedral self, Particle d) -> bool
2703  """
2704  return _IMP_atom.Dihedral___gt__(self, *args)
2705 
2706 
2707  def __hash__(self):
2708  """__hash__(Dihedral self) -> std::size_t"""
2709  return _IMP_atom.Dihedral___hash__(self)
2710 
2711 
2712  def __str__(self):
2713  """__str__(Dihedral self) -> std::string"""
2714  return _IMP_atom.Dihedral___str__(self)
2715 
2716 
2717  def __repr__(self):
2718  """__repr__(Dihedral self) -> std::string"""
2719  return _IMP_atom.Dihedral___repr__(self)
2720 
2721  __swig_destroy__ = _IMP_atom.delete_Dihedral
2722  __del__ = lambda self: None
2723 Dihedral_swigregister = _IMP_atom.Dihedral_swigregister
2724 Dihedral_swigregister(Dihedral)
2725 
2726 def Dihedral_setup_particle(*args):
2727  """
2728  setup_particle(Model m, ParticleIndex pi, XYZ a, XYZ b, XYZ c, XYZ d) -> Dihedral
2729  Dihedral_setup_particle(_ParticleAdaptor decorator, XYZ a, XYZ b, XYZ c, XYZ d) -> Dihedral
2730  """
2731  return _IMP_atom.Dihedral_setup_particle(*args)
2732 
2733 def Dihedral_get_is_setup(*args):
2734  """
2735  get_is_setup(_ParticleAdaptor p) -> bool
2736  Dihedral_get_is_setup(Model m, ParticleIndex pi) -> bool
2737  """
2738  return _IMP_atom.Dihedral_get_is_setup(*args)
2739 
2740 def Dihedral_get_particle_key(i):
2741  """Dihedral_get_particle_key(unsigned int i) -> ParticleIndexKey"""
2742  return _IMP_atom.Dihedral_get_particle_key(i)
2743 
2744 def Dihedral_get_ideal_key():
2745  """Dihedral_get_ideal_key() -> FloatKey"""
2746  return _IMP_atom.Dihedral_get_ideal_key()
2747 
2748 def Dihedral_get_multiplicity_key():
2749  """Dihedral_get_multiplicity_key() -> IntKey"""
2750  return _IMP_atom.Dihedral_get_multiplicity_key()
2751 
2752 def Dihedral_get_stiffness_key():
2753  """Dihedral_get_stiffness_key() -> FloatKey"""
2754  return _IMP_atom.Dihedral_get_stiffness_key()
2755 
2756 class SmoothingFunction(IMP.Object):
2757  """Proxy of C++ IMP::atom::SmoothingFunction class."""
2758 
2759  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2760 
2761  def __init__(self, *args, **kwargs):
2762  raise AttributeError("No constructor defined - class is abstract")
2763 
2764  def __call__(self, *args):
2765  """
2766  __call__(SmoothingFunction self, double score, double distance) -> double
2767  __call__(SmoothingFunction self, double score, double deriv, double distance) -> IMP::DerivativePair
2768  """
2769  return _IMP_atom.SmoothingFunction___call__(self, *args)
2770 
2771  __swig_destroy__ = _IMP_atom.delete_SmoothingFunction
2772  __del__ = lambda self: None
2773 
2774  def __str__(self):
2775  """__str__(SmoothingFunction self) -> std::string"""
2776  return _IMP_atom.SmoothingFunction___str__(self)
2777 
2778 
2779  def __repr__(self):
2780  """__repr__(SmoothingFunction self) -> std::string"""
2781  return _IMP_atom.SmoothingFunction___repr__(self)
2782 
2783 
2784  @staticmethod
2785  def get_from(o):
2786  return _object_cast_to_SmoothingFunction(o)
2787 
2788 SmoothingFunction_swigregister = _IMP_atom.SmoothingFunction_swigregister
2789 SmoothingFunction_swigregister(SmoothingFunction)
2790 
2791 class ForceSwitch(SmoothingFunction):
2792  """Proxy of C++ IMP::atom::ForceSwitch class."""
2793 
2794  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2795 
2796  def __init__(self, min_distance, max_distance):
2797  """__init__(IMP::atom::ForceSwitch self, double min_distance, double max_distance) -> ForceSwitch"""
2798  this = _IMP_atom.new_ForceSwitch(min_distance, max_distance)
2799  try:
2800  self.this.append(this)
2801  except __builtin__.Exception:
2802  self.this = this
2803 
2804  def __call__(self, *args):
2805  """
2806  __call__(ForceSwitch self, double score, double distance) -> double
2807  __call__(ForceSwitch self, double score, double deriv, double distance) -> IMP::DerivativePair
2808  """
2809  return _IMP_atom.ForceSwitch___call__(self, *args)
2810 
2811 
2812  def get_version_info(self):
2813  """get_version_info(ForceSwitch self) -> VersionInfo"""
2814  return _IMP_atom.ForceSwitch_get_version_info(self)
2815 
2816 
2817  def __str__(self):
2818  """__str__(ForceSwitch self) -> std::string"""
2819  return _IMP_atom.ForceSwitch___str__(self)
2820 
2821 
2822  def __repr__(self):
2823  """__repr__(ForceSwitch self) -> std::string"""
2824  return _IMP_atom.ForceSwitch___repr__(self)
2825 
2826 
2827  @staticmethod
2828  def get_from(o):
2829  return _object_cast_to_ForceSwitch(o)
2830 
2831 ForceSwitch_swigregister = _IMP_atom.ForceSwitch_swigregister
2832 ForceSwitch_swigregister(ForceSwitch)
2833 
2834 class AngleSingletonScore(IMP.SingletonScore):
2835  """Proxy of C++ IMP::atom::AngleSingletonScore class."""
2836 
2837  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2838 
2839  def __init__(self, f):
2840  """__init__(IMP::atom::AngleSingletonScore self, UnaryFunction f) -> AngleSingletonScore"""
2841  this = _IMP_atom.new_AngleSingletonScore(f)
2842  try:
2843  self.this.append(this)
2844  except __builtin__.Exception:
2845  self.this = this
2846 
2847  def do_get_inputs(self, m, pis):
2848  """do_get_inputs(AngleSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
2849  return _IMP_atom.AngleSingletonScore_do_get_inputs(self, m, pis)
2850 
2851 
2852  def get_version_info(self):
2853  """get_version_info(AngleSingletonScore self) -> VersionInfo"""
2854  return _IMP_atom.AngleSingletonScore_get_version_info(self)
2855 
2856 
2857  def __str__(self):
2858  """__str__(AngleSingletonScore self) -> std::string"""
2859  return _IMP_atom.AngleSingletonScore___str__(self)
2860 
2861 
2862  def __repr__(self):
2863  """__repr__(AngleSingletonScore self) -> std::string"""
2864  return _IMP_atom.AngleSingletonScore___repr__(self)
2865 
2866 
2867  @staticmethod
2868  def get_from(o):
2869  return _object_cast_to_AngleSingletonScore(o)
2870 
2871 AngleSingletonScore_swigregister = _IMP_atom.AngleSingletonScore_swigregister
2872 AngleSingletonScore_swigregister(AngleSingletonScore)
2873 
2874 class BondEndpointsRefiner(IMP.Refiner):
2875  """Proxy of C++ IMP::atom::BondEndpointsRefiner class."""
2876 
2877  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2878 
2879  def __init__(self):
2880  """__init__(IMP::atom::BondEndpointsRefiner self) -> BondEndpointsRefiner"""
2881  this = _IMP_atom.new_BondEndpointsRefiner()
2882  try:
2883  self.this.append(this)
2884  except __builtin__.Exception:
2885  self.this = this
2886 
2887  def do_get_inputs(self, m, pis):
2888  """do_get_inputs(BondEndpointsRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
2889  return _IMP_atom.BondEndpointsRefiner_do_get_inputs(self, m, pis)
2890 
2891 
2892  def get_version_info(self):
2893  """get_version_info(BondEndpointsRefiner self) -> VersionInfo"""
2894  return _IMP_atom.BondEndpointsRefiner_get_version_info(self)
2895 
2896 
2897  def __str__(self):
2898  """__str__(BondEndpointsRefiner self) -> std::string"""
2899  return _IMP_atom.BondEndpointsRefiner___str__(self)
2900 
2901 
2902  def __repr__(self):
2903  """__repr__(BondEndpointsRefiner self) -> std::string"""
2904  return _IMP_atom.BondEndpointsRefiner___repr__(self)
2905 
2906 
2907  @staticmethod
2908  def get_from(o):
2909  return _object_cast_to_BondEndpointsRefiner(o)
2910 
2911 BondEndpointsRefiner_swigregister = _IMP_atom.BondEndpointsRefiner_swigregister
2912 BondEndpointsRefiner_swigregister(BondEndpointsRefiner)
2913 
2914 class BondPairContainer(IMP.PairContainer):
2915  """Proxy of C++ IMP::atom::BondPairContainer class."""
2916 
2917  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2918 
2919  def __init__(self, sc):
2920  """__init__(IMP::atom::BondPairContainer self, SingletonContainer sc) -> BondPairContainer"""
2921  this = _IMP_atom.new_BondPairContainer(sc)
2922  try:
2923  self.this.append(this)
2924  except __builtin__.Exception:
2925  self.this = this
2926 
2927  def do_get_inputs(self):
2928  """do_get_inputs(BondPairContainer self) -> IMP::ModelObjectsTemp"""
2929  return _IMP_atom.BondPairContainer_do_get_inputs(self)
2930 
2931 
2932  def do_apply(self, sm):
2933  """do_apply(BondPairContainer self, PairModifier sm)"""
2934  return _IMP_atom.BondPairContainer_do_apply(self, sm)
2935 
2936 
2937  def get_version_info(self):
2938  """get_version_info(BondPairContainer self) -> VersionInfo"""
2939  return _IMP_atom.BondPairContainer_get_version_info(self)
2940 
2941 
2942  def __str__(self):
2943  """__str__(BondPairContainer self) -> std::string"""
2944  return _IMP_atom.BondPairContainer___str__(self)
2945 
2946 
2947  def __repr__(self):
2948  """__repr__(BondPairContainer self) -> std::string"""
2949  return _IMP_atom.BondPairContainer___repr__(self)
2950 
2951 
2952  @staticmethod
2953  def get_from(o):
2954  return _object_cast_to_BondPairContainer(o)
2955 
2956 BondPairContainer_swigregister = _IMP_atom.BondPairContainer_swigregister
2957 BondPairContainer_swigregister(BondPairContainer)
2958 
2959 class BondSingletonScore(IMP.SingletonScore):
2960  """Proxy of C++ IMP::atom::BondSingletonScore class."""
2961 
2962  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2963 
2964  def __init__(self, f):
2965  """__init__(IMP::atom::BondSingletonScore self, UnaryFunction f) -> BondSingletonScore"""
2966  this = _IMP_atom.new_BondSingletonScore(f)
2967  try:
2968  self.this.append(this)
2969  except __builtin__.Exception:
2970  self.this = this
2971 
2972  def get_unary_function(self):
2973  """get_unary_function(BondSingletonScore self) -> UnaryFunction"""
2974  return _IMP_atom.BondSingletonScore_get_unary_function(self)
2975 
2976 
2977  def do_get_inputs(self, m, pis):
2978  """do_get_inputs(BondSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
2979  return _IMP_atom.BondSingletonScore_do_get_inputs(self, m, pis)
2980 
2981 
2982  def get_version_info(self):
2983  """get_version_info(BondSingletonScore self) -> VersionInfo"""
2984  return _IMP_atom.BondSingletonScore_get_version_info(self)
2985 
2986 
2987  def __str__(self):
2988  """__str__(BondSingletonScore self) -> std::string"""
2989  return _IMP_atom.BondSingletonScore___str__(self)
2990 
2991 
2992  def __repr__(self):
2993  """__repr__(BondSingletonScore self) -> std::string"""
2994  return _IMP_atom.BondSingletonScore___repr__(self)
2995 
2996 
2997  @staticmethod
2998  def get_from(o):
2999  return _object_cast_to_BondSingletonScore(o)
3000 
3001 BondSingletonScore_swigregister = _IMP_atom.BondSingletonScore_swigregister
3002 BondSingletonScore_swigregister(BondSingletonScore)
3003 
3004 class DihedralSingletonScore(IMP.SingletonScore):
3005  """Proxy of C++ IMP::atom::DihedralSingletonScore class."""
3006 
3007  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3008 
3009  def __init__(self):
3010  """__init__(IMP::atom::DihedralSingletonScore self) -> DihedralSingletonScore"""
3011  this = _IMP_atom.new_DihedralSingletonScore()
3012  try:
3013  self.this.append(this)
3014  except __builtin__.Exception:
3015  self.this = this
3016 
3017  def do_get_inputs(self, m, pis):
3018  """do_get_inputs(DihedralSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3019  return _IMP_atom.DihedralSingletonScore_do_get_inputs(self, m, pis)
3020 
3021 
3022  def get_version_info(self):
3023  """get_version_info(DihedralSingletonScore self) -> VersionInfo"""
3024  return _IMP_atom.DihedralSingletonScore_get_version_info(self)
3025 
3026 
3027  def __str__(self):
3028  """__str__(DihedralSingletonScore self) -> std::string"""
3029  return _IMP_atom.DihedralSingletonScore___str__(self)
3030 
3031 
3032  def __repr__(self):
3033  """__repr__(DihedralSingletonScore self) -> std::string"""
3034  return _IMP_atom.DihedralSingletonScore___repr__(self)
3035 
3036 
3037  @staticmethod
3038  def get_from(o):
3039  return _object_cast_to_DihedralSingletonScore(o)
3040 
3041 DihedralSingletonScore_swigregister = _IMP_atom.DihedralSingletonScore_swigregister
3042 DihedralSingletonScore_swigregister(DihedralSingletonScore)
3043 
3044 class ImproperSingletonScore(IMP.SingletonScore):
3045  """Proxy of C++ IMP::atom::ImproperSingletonScore class."""
3046 
3047  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3048 
3049  def __init__(self, f):
3050  """__init__(IMP::atom::ImproperSingletonScore self, UnaryFunction f) -> ImproperSingletonScore"""
3051  this = _IMP_atom.new_ImproperSingletonScore(f)
3052  try:
3053  self.this.append(this)
3054  except __builtin__.Exception:
3055  self.this = this
3056 
3057  def do_get_inputs(self, m, pis):
3058  """do_get_inputs(ImproperSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3059  return _IMP_atom.ImproperSingletonScore_do_get_inputs(self, m, pis)
3060 
3061 
3062  def get_version_info(self):
3063  """get_version_info(ImproperSingletonScore self) -> VersionInfo"""
3064  return _IMP_atom.ImproperSingletonScore_get_version_info(self)
3065 
3066 
3067  def __str__(self):
3068  """__str__(ImproperSingletonScore self) -> std::string"""
3069  return _IMP_atom.ImproperSingletonScore___str__(self)
3070 
3071 
3072  def __repr__(self):
3073  """__repr__(ImproperSingletonScore self) -> std::string"""
3074  return _IMP_atom.ImproperSingletonScore___repr__(self)
3075 
3076 
3077  @staticmethod
3078  def get_from(o):
3079  return _object_cast_to_ImproperSingletonScore(o)
3080 
3081 ImproperSingletonScore_swigregister = _IMP_atom.ImproperSingletonScore_swigregister
3082 ImproperSingletonScore_swigregister(ImproperSingletonScore)
3083 
3084 class CenterOfMass(IMP.Decorator):
3085  """Proxy of C++ IMP::atom::CenterOfMass class."""
3086 
3087  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3088 
3089  def get_constraint(self):
3090  """get_constraint(CenterOfMass self) -> Constraint"""
3091  return _IMP_atom.CenterOfMass_get_constraint(self)
3092 
3093 
3094  def get_mass(self):
3095  """get_mass(CenterOfMass self) -> IMP::Float"""
3096  return _IMP_atom.CenterOfMass_get_mass(self)
3097 
3098 
3099  def get_coordinate(self, i):
3100  """get_coordinate(CenterOfMass self, int i) -> IMP::Float"""
3101  return _IMP_atom.CenterOfMass_get_coordinate(self, i)
3102 
3103 
3104  def get_coordinates(self):
3105  """get_coordinates(CenterOfMass self) -> Vector3D"""
3106  return _IMP_atom.CenterOfMass_get_coordinates(self)
3107 
3108 
3109  def __init__(self, *args):
3110  """
3111  __init__(IMP::atom::CenterOfMass self) -> CenterOfMass
3112  __init__(IMP::atom::CenterOfMass self, Model m, ParticleIndex id) -> CenterOfMass
3113  __init__(IMP::atom::CenterOfMass self, _ParticleAdaptor d) -> CenterOfMass
3114  """
3115  this = _IMP_atom.new_CenterOfMass(*args)
3116  try:
3117  self.this.append(this)
3118  except __builtin__.Exception:
3119  self.this = this
3120 
3121  def show(self, *args):
3122  """
3123  show(CenterOfMass self, _ostream out)
3124  show(CenterOfMass self)
3125  """
3126  return _IMP_atom.CenterOfMass_show(self, *args)
3127 
3128 
3129  def setup_particle(*args):
3130  """
3131  setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor members) -> CenterOfMass
3132  setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> CenterOfMass
3133  setup_particle(Model m, ParticleIndex pi, Refiner refiner) -> CenterOfMass
3134  setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> CenterOfMass
3135  """
3136  return _IMP_atom.CenterOfMass_setup_particle(*args)
3137 
3138  setup_particle = staticmethod(setup_particle)
3139 
3140  def get_is_setup(*args):
3141  """
3142  get_is_setup(_ParticleAdaptor p) -> bool
3143  get_is_setup(Model m, ParticleIndex pi) -> bool
3144  """
3145  return _IMP_atom.CenterOfMass_get_is_setup(*args)
3146 
3147  get_is_setup = staticmethod(get_is_setup)
3148 
3149  def add_attribute(self, *args):
3150  """
3151  add_attribute(CenterOfMass self, FloatKey k, IMP::Float v, bool opt)
3152  add_attribute(CenterOfMass self, FloatKey a0, IMP::Float a1)
3153  add_attribute(CenterOfMass self, IntKey a0, IMP::Int a1)
3154  add_attribute(CenterOfMass self, StringKey a0, IMP::String a1)
3155  add_attribute(CenterOfMass self, ParticleIndexKey a0, Particle a1)
3156  add_attribute(CenterOfMass self, ObjectKey a0, Object a1)
3157  """
3158  return _IMP_atom.CenterOfMass_add_attribute(self, *args)
3159 
3160 
3161  def get_value(self, *args):
3162  """
3163  get_value(CenterOfMass self, FloatKey a0) -> IMP::Float
3164  get_value(CenterOfMass self, IntKey a0) -> IMP::Int
3165  get_value(CenterOfMass self, StringKey a0) -> IMP::String
3166  get_value(CenterOfMass self, ParticleIndexKey a0) -> Particle
3167  get_value(CenterOfMass self, ObjectKey a0) -> Object
3168  """
3169  return _IMP_atom.CenterOfMass_get_value(self, *args)
3170 
3171 
3172  def set_value(self, *args):
3173  """
3174  set_value(CenterOfMass self, FloatKey a0, IMP::Float a1)
3175  set_value(CenterOfMass self, IntKey a0, IMP::Int a1)
3176  set_value(CenterOfMass self, StringKey a0, IMP::String a1)
3177  set_value(CenterOfMass self, ParticleIndexKey a0, Particle a1)
3178  set_value(CenterOfMass self, ObjectKey a0, Object a1)
3179  """
3180  return _IMP_atom.CenterOfMass_set_value(self, *args)
3181 
3182 
3183  def remove_attribute(self, *args):
3184  """
3185  remove_attribute(CenterOfMass self, FloatKey a0)
3186  remove_attribute(CenterOfMass self, IntKey a0)
3187  remove_attribute(CenterOfMass self, StringKey a0)
3188  remove_attribute(CenterOfMass self, ParticleIndexKey a0)
3189  remove_attribute(CenterOfMass self, ObjectKey a0)
3190  """
3191  return _IMP_atom.CenterOfMass_remove_attribute(self, *args)
3192 
3193 
3194  def has_attribute(self, *args):
3195  """
3196  has_attribute(CenterOfMass self, FloatKey a0) -> bool
3197  has_attribute(CenterOfMass self, IntKey a0) -> bool
3198  has_attribute(CenterOfMass self, StringKey a0) -> bool
3199  has_attribute(CenterOfMass self, ParticleIndexKey a0) -> bool
3200  has_attribute(CenterOfMass self, ObjectKey a0) -> bool
3201  """
3202  return _IMP_atom.CenterOfMass_has_attribute(self, *args)
3203 
3204 
3205  def get_derivative(self, a0):
3206  """get_derivative(CenterOfMass self, FloatKey a0) -> double"""
3207  return _IMP_atom.CenterOfMass_get_derivative(self, a0)
3208 
3209 
3210  def get_name(self):
3211  """get_name(CenterOfMass self) -> std::string"""
3212  return _IMP_atom.CenterOfMass_get_name(self)
3213 
3214 
3215  def clear_caches(self):
3216  """clear_caches(CenterOfMass self)"""
3217  return _IMP_atom.CenterOfMass_clear_caches(self)
3218 
3219 
3220  def set_name(self, a0):
3221  """set_name(CenterOfMass self, std::string a0)"""
3222  return _IMP_atom.CenterOfMass_set_name(self, a0)
3223 
3224 
3225  def set_check_level(self, a0):
3226  """set_check_level(CenterOfMass self, IMP::CheckLevel a0)"""
3227  return _IMP_atom.CenterOfMass_set_check_level(self, a0)
3228 
3229 
3230  def add_to_derivative(self, a0, a1, a2):
3231  """add_to_derivative(CenterOfMass self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
3232  return _IMP_atom.CenterOfMass_add_to_derivative(self, a0, a1, a2)
3233 
3234 
3235  def set_is_optimized(self, a0, a1):
3236  """set_is_optimized(CenterOfMass self, FloatKey a0, bool a1)"""
3237  return _IMP_atom.CenterOfMass_set_is_optimized(self, a0, a1)
3238 
3239 
3240  def get_is_optimized(self, a0):
3241  """get_is_optimized(CenterOfMass self, FloatKey a0) -> bool"""
3242  return _IMP_atom.CenterOfMass_get_is_optimized(self, a0)
3243 
3244 
3245  def get_check_level(self):
3246  """get_check_level(CenterOfMass self) -> IMP::CheckLevel"""
3247  return _IMP_atom.CenterOfMass_get_check_level(self)
3248 
3249 
3250  def __eq__(self, *args):
3251  """
3252  __eq__(CenterOfMass self, CenterOfMass o) -> bool
3253  __eq__(CenterOfMass self, Particle d) -> bool
3254  """
3255  return _IMP_atom.CenterOfMass___eq__(self, *args)
3256 
3257 
3258  def __ne__(self, *args):
3259  """
3260  __ne__(CenterOfMass self, CenterOfMass o) -> bool
3261  __ne__(CenterOfMass self, Particle d) -> bool
3262  """
3263  return _IMP_atom.CenterOfMass___ne__(self, *args)
3264 
3265 
3266  def __le__(self, *args):
3267  """
3268  __le__(CenterOfMass self, CenterOfMass o) -> bool
3269  __le__(CenterOfMass self, Particle d) -> bool
3270  """
3271  return _IMP_atom.CenterOfMass___le__(self, *args)
3272 
3273 
3274  def __lt__(self, *args):
3275  """
3276  __lt__(CenterOfMass self, CenterOfMass o) -> bool
3277  __lt__(CenterOfMass self, Particle d) -> bool
3278  """
3279  return _IMP_atom.CenterOfMass___lt__(self, *args)
3280 
3281 
3282  def __ge__(self, *args):
3283  """
3284  __ge__(CenterOfMass self, CenterOfMass o) -> bool
3285  __ge__(CenterOfMass self, Particle d) -> bool
3286  """
3287  return _IMP_atom.CenterOfMass___ge__(self, *args)
3288 
3289 
3290  def __gt__(self, *args):
3291  """
3292  __gt__(CenterOfMass self, CenterOfMass o) -> bool
3293  __gt__(CenterOfMass self, Particle d) -> bool
3294  """
3295  return _IMP_atom.CenterOfMass___gt__(self, *args)
3296 
3297 
3298  def __hash__(self):
3299  """__hash__(CenterOfMass self) -> std::size_t"""
3300  return _IMP_atom.CenterOfMass___hash__(self)
3301 
3302 
3303  def __str__(self):
3304  """__str__(CenterOfMass self) -> std::string"""
3305  return _IMP_atom.CenterOfMass___str__(self)
3306 
3307 
3308  def __repr__(self):
3309  """__repr__(CenterOfMass self) -> std::string"""
3310  return _IMP_atom.CenterOfMass___repr__(self)
3311 
3312  __swig_destroy__ = _IMP_atom.delete_CenterOfMass
3313  __del__ = lambda self: None
3314 CenterOfMass_swigregister = _IMP_atom.CenterOfMass_swigregister
3315 CenterOfMass_swigregister(CenterOfMass)
3316 
3317 def CenterOfMass_setup_particle(*args):
3318  """
3319  setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor members) -> CenterOfMass
3320  setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> CenterOfMass
3321  setup_particle(Model m, ParticleIndex pi, Refiner refiner) -> CenterOfMass
3322  CenterOfMass_setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> CenterOfMass
3323  """
3324  return _IMP_atom.CenterOfMass_setup_particle(*args)
3325 
3326 def CenterOfMass_get_is_setup(*args):
3327  """
3328  get_is_setup(_ParticleAdaptor p) -> bool
3329  CenterOfMass_get_is_setup(Model m, ParticleIndex pi) -> bool
3330  """
3331  return _IMP_atom.CenterOfMass_get_is_setup(*args)
3332 
3333 class CoverBond(IMP.SingletonModifier):
3334  """Proxy of C++ IMP::atom::CoverBond class."""
3335 
3336  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3337 
3338  def __init__(self):
3339  """__init__(IMP::atom::CoverBond self) -> CoverBond"""
3340  this = _IMP_atom.new_CoverBond()
3341  try:
3342  self.this.append(this)
3343  except __builtin__.Exception:
3344  self.this = this
3345 
3346  def do_get_inputs(self, m, pis):
3347  """do_get_inputs(CoverBond self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3348  return _IMP_atom.CoverBond_do_get_inputs(self, m, pis)
3349 
3350 
3351  def do_get_outputs(self, m, pis):
3352  """do_get_outputs(CoverBond self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3353  return _IMP_atom.CoverBond_do_get_outputs(self, m, pis)
3354 
3355 
3356  def get_version_info(self):
3357  """get_version_info(CoverBond self) -> VersionInfo"""
3358  return _IMP_atom.CoverBond_get_version_info(self)
3359 
3360 
3361  def __str__(self):
3362  """__str__(CoverBond self) -> std::string"""
3363  return _IMP_atom.CoverBond___str__(self)
3364 
3365 
3366  def __repr__(self):
3367  """__repr__(CoverBond self) -> std::string"""
3368  return _IMP_atom.CoverBond___repr__(self)
3369 
3370 
3371  @staticmethod
3372  def get_from(o):
3373  return _object_cast_to_CoverBond(o)
3374 
3375 CoverBond_swigregister = _IMP_atom.CoverBond_swigregister
3376 CoverBond_swigregister(CoverBond)
3377 
3378 class Simulator(IMP.Optimizer):
3379  """Proxy of C++ IMP::atom::Simulator class."""
3380 
3381  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3382 
3383  def __init__(self, *args):
3384  """
3385  __init__(IMP::atom::Simulator self, Model m, std::string name, double wave_factor=1.0) -> Simulator
3386  __init__(IMP::atom::Simulator self, Model m, std::string name) -> Simulator
3387  __init__(IMP::atom::Simulator self, Model m) -> Simulator
3388  """
3389  if self.__class__ == Simulator:
3390  _self = None
3391  else:
3392  _self = self
3393  this = _IMP_atom.new_Simulator(_self, *args)
3394  try:
3395  self.this.append(this)
3396  except __builtin__.Exception:
3397  self.this = this
3398 
3399  if self.__class__ != Simulator:
3400  _director_objects.register(self)
3401 
3402 
3403 
3404 
3405  def simulate(self, time_in_fs):
3406  """simulate(Simulator self, double time_in_fs) -> double"""
3407  return _IMP_atom.Simulator_simulate(self, time_in_fs)
3408 
3409 
3410  def simulate_wave(self, time_in_fs, max_time_step_factor=10.0, base=1.5):
3411  """
3412  simulate_wave(Simulator self, double time_in_fs, double max_time_step_factor=10.0, double base=1.5) -> double
3413  simulate_wave(Simulator self, double time_in_fs, double max_time_step_factor=10.0) -> double
3414  simulate_wave(Simulator self, double time_in_fs) -> double
3415  """
3416  return _IMP_atom.Simulator_simulate_wave(self, time_in_fs, max_time_step_factor, base)
3417 
3418 
3419  def get_temperature(self):
3420  """get_temperature(Simulator self) -> double"""
3421  return _IMP_atom.Simulator_get_temperature(self)
3422 
3423 
3424  def set_temperature(self, d):
3425  """set_temperature(Simulator self, double d)"""
3426  return _IMP_atom.Simulator_set_temperature(self, d)
3427 
3428 
3429  def set_maximum_time_step(self, ts):
3430  """set_maximum_time_step(Simulator self, double ts)"""
3431  return _IMP_atom.Simulator_set_maximum_time_step(self, ts)
3432 
3433 
3434  def get_maximum_time_step(self):
3435  """get_maximum_time_step(Simulator self) -> double"""
3436  return _IMP_atom.Simulator_get_maximum_time_step(self)
3437 
3438 
3439  def get_last_time_step(self):
3440  """get_last_time_step(Simulator self) -> double"""
3441  return _IMP_atom.Simulator_get_last_time_step(self)
3442 
3443 
3444  def set_time_step(self, ts):
3445  """set_time_step(Simulator self, double ts)"""
3446  return _IMP_atom.Simulator_set_time_step(self, ts)
3447 
3448 
3449  def get_kt(self):
3450  """get_kt(Simulator self) -> double"""
3451  return _IMP_atom.Simulator_get_kt(self)
3452 
3453 
3454  def get_current_time(self):
3455  """get_current_time(Simulator self) -> double"""
3456  return _IMP_atom.Simulator_get_current_time(self)
3457 
3458 
3459  def set_current_time(self, ct):
3460  """set_current_time(Simulator self, double ct)"""
3461  return _IMP_atom.Simulator_set_current_time(self, ct)
3462 
3463 
3464  def get_simulation_particles(self):
3465  """get_simulation_particles(Simulator self) -> IMP::ParticlesTemp"""
3466  return _IMP_atom.Simulator_get_simulation_particles(self)
3467 
3468 
3469  def get_simulation_particle_indexes(self):
3470  """get_simulation_particle_indexes(Simulator self) -> IMP::ParticleIndexes"""
3471  return _IMP_atom.Simulator_get_simulation_particle_indexes(self)
3472 
3473 
3474  def remove_particle(self, d):
3475  """remove_particle(Simulator self, Particle d)"""
3476  return _IMP_atom.Simulator_remove_particle(self, d)
3477 
3478 
3479  def remove_particles(self, d):
3480  """remove_particles(Simulator self, IMP::Particles const & d)"""
3481  return _IMP_atom.Simulator_remove_particles(self, d)
3482 
3483 
3484  def set_particles(self, ps):
3485  """set_particles(Simulator self, IMP::Particles const & ps)"""
3486  return _IMP_atom.Simulator_set_particles(self, ps)
3487 
3488 
3489  def set_particles_order(self, objs):
3490  """set_particles_order(Simulator self, IMP::Particles const & objs)"""
3491  return _IMP_atom.Simulator_set_particles_order(self, objs)
3492 
3493 
3494  def add_particle(self, obj):
3495  """add_particle(Simulator self, Particle obj) -> unsigned int"""
3496  return _IMP_atom.Simulator_add_particle(self, obj)
3497 
3498 
3499  def add_particles(self, objs):
3500  """add_particles(Simulator self, IMP::Particles const & objs)"""
3501  return _IMP_atom.Simulator_add_particles(self, objs)
3502 
3503 
3504  def clear_particles(self):
3505  """clear_particles(Simulator self)"""
3506  return _IMP_atom.Simulator_clear_particles(self)
3507 
3508 
3509  def get_number_of_particles(self):
3510  """get_number_of_particles(Simulator self) -> unsigned int"""
3511  return _IMP_atom.Simulator_get_number_of_particles(self)
3512 
3513 
3514  def get_has_particles(self):
3515  """get_has_particles(Simulator self) -> bool"""
3516  return _IMP_atom.Simulator_get_has_particles(self)
3517 
3518 
3519  def get_particle(self, i):
3520  """get_particle(Simulator self, unsigned int i) -> Particle"""
3521  return _IMP_atom.Simulator_get_particle(self, i)
3522 
3523 
3524  def get_particles(self):
3525  """get_particles(Simulator self) -> IMP::Particles"""
3526  return _IMP_atom.Simulator_get_particles(self)
3527 
3528 
3529  def reserve_particles(self, sz):
3530  """reserve_particles(Simulator self, unsigned int sz)"""
3531  return _IMP_atom.Simulator_reserve_particles(self, sz)
3532 
3533 
3534  def do_optimize(self, max_steps):
3535  """do_optimize(Simulator self, unsigned int max_steps) -> IMP::Float"""
3536  return _IMP_atom.Simulator_do_optimize(self, max_steps)
3537 
3538 
3539  def setup(self, arg0):
3540  """setup(Simulator self, IMP::ParticleIndexes const & arg0)"""
3541  return _IMP_atom.Simulator_setup(self, arg0)
3542 
3543 
3544  def do_step(self, sc, dt):
3545  """do_step(Simulator self, IMP::ParticleIndexes const & sc, double dt) -> double"""
3546  return _IMP_atom.Simulator_do_step(self, sc, dt)
3547 
3548 
3549  def get_is_simulation_particle(self, p):
3550  """get_is_simulation_particle(Simulator self, ParticleIndex p) -> bool"""
3551  return _IMP_atom.Simulator_get_is_simulation_particle(self, p)
3552 
3553 
3554  def do_simulate(self, time):
3555  """do_simulate(Simulator self, double time) -> double"""
3556  return _IMP_atom.Simulator_do_simulate(self, time)
3557 
3558 
3559  def do_simulate_wave(self, time_in_fs, max_time_step_factor=10.0, base=1.5):
3560  """
3561  do_simulate_wave(Simulator self, double time_in_fs, double max_time_step_factor=10.0, double base=1.5) -> double
3562  do_simulate_wave(Simulator self, double time_in_fs, double max_time_step_factor=10.0) -> double
3563  do_simulate_wave(Simulator self, double time_in_fs) -> double
3564  """
3565  return _IMP_atom.Simulator_do_simulate_wave(self, time_in_fs, max_time_step_factor, base)
3566 
3567 
3568  def __str__(self):
3569  """__str__(Simulator self) -> std::string"""
3570  return _IMP_atom.Simulator___str__(self)
3571 
3572 
3573  def __repr__(self):
3574  """__repr__(Simulator self) -> std::string"""
3575  return _IMP_atom.Simulator___repr__(self)
3576 
3577 
3578  @staticmethod
3579  def get_from(o):
3580  return _object_cast_to_Simulator(o)
3581 
3582 
3583  def get_type_name(self):
3584  return self.__class__.__name__
3585  def do_show(self, out):
3586  pass
3587  def get_version_info(self):
3588  if"IMP::atom" == "IMP":
3589  return VersionInfo(self.__module__,
3590  __import__(self.__module__).get_module_version())
3591  else:
3592  return IMP.VersionInfo(self.__module__,
3593  __import__(self.__module__).get_module_version())
3594  @staticmethod
3595  def get_from(o):
3596  return _object_cast_to_Simulator(o)
3597 
3598  __swig_destroy__ = _IMP_atom.delete_Simulator
3599  __del__ = lambda self: None
3600  def __disown__(self):
3601  self.this.disown()
3602  _IMP_atom.disown_Simulator(self)
3603  return weakref_proxy(self)
3604 
3605  def do_destroy(self):
3606  """do_destroy(Simulator self)"""
3607  return _IMP_atom.Simulator_do_destroy(self)
3608 
3609 
3610  def handle_set_has_required_score_states(self, arg0):
3611  """handle_set_has_required_score_states(Simulator self, bool arg0)"""
3612  return _IMP_atom.Simulator_handle_set_has_required_score_states(self, arg0)
3613 
3614 
3615  def do_get_inputs(self):
3616  """do_get_inputs(Simulator self) -> IMP::ModelObjectsTemp"""
3617  return _IMP_atom.Simulator_do_get_inputs(self)
3618 
3619 
3620  def do_get_outputs(self):
3621  """do_get_outputs(Simulator self) -> IMP::ModelObjectsTemp"""
3622  return _IMP_atom.Simulator_do_get_outputs(self)
3623 
3624 
3625  def do_get_interactions(self):
3626  """do_get_interactions(Simulator self) -> IMP::ModelObjectsTemps"""
3627  return _IMP_atom.Simulator_do_get_interactions(self)
3628 
3629 Simulator_swigregister = _IMP_atom.Simulator_swigregister
3630 Simulator_swigregister(Simulator)
3631 
3632 IMP_ATOM_DEFAULT_BD_RANDOM_POOL_SIZE = _IMP_atom.IMP_ATOM_DEFAULT_BD_RANDOM_POOL_SIZE
3633 class BrownianDynamics(Simulator):
3634  """Proxy of C++ IMP::atom::BrownianDynamics class."""
3635 
3636  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3637 
3638  def __init__(self, *args):
3639  """
3640  __init__(IMP::atom::BrownianDynamics self, Model m, std::string name, double wave_factor=1.0, unsigned int random_pool_size=10000) -> BrownianDynamics
3641  __init__(IMP::atom::BrownianDynamics self, Model m, std::string name, double wave_factor=1.0) -> BrownianDynamics
3642  __init__(IMP::atom::BrownianDynamics self, Model m, std::string name) -> BrownianDynamics
3643  __init__(IMP::atom::BrownianDynamics self, Model m) -> BrownianDynamics
3644  """
3645  this = _IMP_atom.new_BrownianDynamics(*args)
3646  try:
3647  self.this.append(this)
3648  except __builtin__.Exception:
3649  self.this = this
3650 
3651  def set_maximum_move(self, ms_in_A):
3652  """set_maximum_move(BrownianDynamics self, double ms_in_A)"""
3653  return _IMP_atom.BrownianDynamics_set_maximum_move(self, ms_in_A)
3654 
3655 
3656  def set_use_stochastic_runge_kutta(self, tf):
3657  """set_use_stochastic_runge_kutta(BrownianDynamics self, bool tf)"""
3658  return _IMP_atom.BrownianDynamics_set_use_stochastic_runge_kutta(self, tf)
3659 
3660 
3661  def get_version_info(self):
3662  """get_version_info(BrownianDynamics self) -> VersionInfo"""
3663  return _IMP_atom.BrownianDynamics_get_version_info(self)
3664 
3665 
3666  def __str__(self):
3667  """__str__(BrownianDynamics self) -> std::string"""
3668  return _IMP_atom.BrownianDynamics___str__(self)
3669 
3670 
3671  def __repr__(self):
3672  """__repr__(BrownianDynamics self) -> std::string"""
3673  return _IMP_atom.BrownianDynamics___repr__(self)
3674 
3675 
3676  @staticmethod
3677  def get_from(o):
3678  return _object_cast_to_BrownianDynamics(o)
3679 
3680 BrownianDynamics_swigregister = _IMP_atom.BrownianDynamics_swigregister
3681 BrownianDynamics_swigregister(BrownianDynamics)
3682 
3683 
3685  """get_maximum_time_step_estimate(BrownianDynamics bd) -> double"""
3686  return _IMP_atom.get_maximum_time_step_estimate(bd)
3687 
3688 def get_harmonic_sigma(D, f):
3689  """get_harmonic_sigma(double D, double f) -> double"""
3690  return _IMP_atom.get_harmonic_sigma(D, f)
3691 class BrownianDynamicsTAMD(BrownianDynamics):
3692  """Proxy of C++ IMP::atom::BrownianDynamicsTAMD class."""
3693 
3694  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3695 
3696  def __init__(self, *args):
3697  """
3698  __init__(IMP::atom::BrownianDynamicsTAMD self, Model m, std::string name, double wave_factor=1.0) -> BrownianDynamicsTAMD
3699  __init__(IMP::atom::BrownianDynamicsTAMD self, Model m, std::string name) -> BrownianDynamicsTAMD
3700  __init__(IMP::atom::BrownianDynamicsTAMD self, Model m) -> BrownianDynamicsTAMD
3701  """
3702  this = _IMP_atom.new_BrownianDynamicsTAMD(*args)
3703  try:
3704  self.this.append(this)
3705  except __builtin__.Exception:
3706  self.this = this
3707 
3708  def __str__(self):
3709  """__str__(BrownianDynamicsTAMD self) -> std::string"""
3710  return _IMP_atom.BrownianDynamicsTAMD___str__(self)
3711 
3712 
3713  def __repr__(self):
3714  """__repr__(BrownianDynamicsTAMD self) -> std::string"""
3715  return _IMP_atom.BrownianDynamicsTAMD___repr__(self)
3716 
3717 
3718  @staticmethod
3719  def get_from(o):
3720  return _object_cast_to_BrownianDynamicsTAMD(o)
3721 
3722  __swig_destroy__ = _IMP_atom.delete_BrownianDynamicsTAMD
3723  __del__ = lambda self: None
3724 BrownianDynamicsTAMD_swigregister = _IMP_atom.BrownianDynamicsTAMD_swigregister
3725 BrownianDynamicsTAMD_swigregister(BrownianDynamicsTAMD)
3726 
3727 class Diffusion(IMP.core.XYZ):
3728  """Proxy of C++ IMP::atom::Diffusion class."""
3729 
3730  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3731 
3732  def __init__(self, *args):
3733  """
3734  __init__(IMP::atom::Diffusion self) -> Diffusion
3735  __init__(IMP::atom::Diffusion self, Model m, ParticleIndex id) -> Diffusion
3736  __init__(IMP::atom::Diffusion self, _ParticleAdaptor d) -> Diffusion
3737  """
3738  this = _IMP_atom.new_Diffusion(*args)
3739  try:
3740  self.this.append(this)
3741  except __builtin__.Exception:
3742  self.this = this
3743 
3744  def show(self, *args):
3745  """
3746  show(Diffusion self, _ostream out)
3747  show(Diffusion self)
3748  """
3749  return _IMP_atom.Diffusion_show(self, *args)
3750 
3751 
3752  def setup_particle(*args):
3753  """
3754  setup_particle(Model m, ParticleIndex pi, IMP::Float D) -> Diffusion
3755  setup_particle(_ParticleAdaptor decorator, IMP::Float D) -> Diffusion
3756  setup_particle(Model m, ParticleIndex pi, Vector3D v, IMP::Float D) -> Diffusion
3757  setup_particle(_ParticleAdaptor decorator, Vector3D v, IMP::Float D) -> Diffusion
3758  setup_particle(Model m, ParticleIndex pi) -> Diffusion
3759  setup_particle(_ParticleAdaptor decorator) -> Diffusion
3760  """
3761  return _IMP_atom.Diffusion_setup_particle(*args)
3762 
3763  setup_particle = staticmethod(setup_particle)
3764 
3765  def get_is_setup(*args):
3766  """
3767  get_is_setup(_ParticleAdaptor p) -> bool
3768  get_is_setup(Model m, ParticleIndex p) -> bool
3769  """
3770  return _IMP_atom.Diffusion_get_is_setup(*args)
3771 
3772  get_is_setup = staticmethod(get_is_setup)
3773 
3774  def set_diffusion_coefficient(self, d):
3775  """set_diffusion_coefficient(Diffusion self, double d)"""
3776  return _IMP_atom.Diffusion_set_diffusion_coefficient(self, d)
3777 
3778 
3779  def get_diffusion_coefficient(self):
3780  """get_diffusion_coefficient(Diffusion self) -> double"""
3781  return _IMP_atom.Diffusion_get_diffusion_coefficient(self)
3782 
3783 
3784  def get_diffusion_coefficient_key():
3785  """get_diffusion_coefficient_key() -> FloatKey"""
3786  return _IMP_atom.Diffusion_get_diffusion_coefficient_key()
3787 
3788  get_diffusion_coefficient_key = staticmethod(get_diffusion_coefficient_key)
3789 
3790  def add_attribute(self, *args):
3791  """
3792  add_attribute(Diffusion self, FloatKey k, IMP::Float v, bool opt)
3793  add_attribute(Diffusion self, FloatKey a0, IMP::Float a1)
3794  add_attribute(Diffusion self, IntKey a0, IMP::Int a1)
3795  add_attribute(Diffusion self, StringKey a0, IMP::String a1)
3796  add_attribute(Diffusion self, ParticleIndexKey a0, Particle a1)
3797  add_attribute(Diffusion self, ObjectKey a0, Object a1)
3798  """
3799  return _IMP_atom.Diffusion_add_attribute(self, *args)
3800 
3801 
3802  def get_value(self, *args):
3803  """
3804  get_value(Diffusion self, FloatKey a0) -> IMP::Float
3805  get_value(Diffusion self, IntKey a0) -> IMP::Int
3806  get_value(Diffusion self, StringKey a0) -> IMP::String
3807  get_value(Diffusion self, ParticleIndexKey a0) -> Particle
3808  get_value(Diffusion self, ObjectKey a0) -> Object
3809  """
3810  return _IMP_atom.Diffusion_get_value(self, *args)
3811 
3812 
3813  def set_value(self, *args):
3814  """
3815  set_value(Diffusion self, FloatKey a0, IMP::Float a1)
3816  set_value(Diffusion self, IntKey a0, IMP::Int a1)
3817  set_value(Diffusion self, StringKey a0, IMP::String a1)
3818  set_value(Diffusion self, ParticleIndexKey a0, Particle a1)
3819  set_value(Diffusion self, ObjectKey a0, Object a1)
3820  """
3821  return _IMP_atom.Diffusion_set_value(self, *args)
3822 
3823 
3824  def remove_attribute(self, *args):
3825  """
3826  remove_attribute(Diffusion self, FloatKey a0)
3827  remove_attribute(Diffusion self, IntKey a0)
3828  remove_attribute(Diffusion self, StringKey a0)
3829  remove_attribute(Diffusion self, ParticleIndexKey a0)
3830  remove_attribute(Diffusion self, ObjectKey a0)
3831  """
3832  return _IMP_atom.Diffusion_remove_attribute(self, *args)
3833 
3834 
3835  def has_attribute(self, *args):
3836  """
3837  has_attribute(Diffusion self, FloatKey a0) -> bool
3838  has_attribute(Diffusion self, IntKey a0) -> bool
3839  has_attribute(Diffusion self, StringKey a0) -> bool
3840  has_attribute(Diffusion self, ParticleIndexKey a0) -> bool
3841  has_attribute(Diffusion self, ObjectKey a0) -> bool
3842  """
3843  return _IMP_atom.Diffusion_has_attribute(self, *args)
3844 
3845 
3846  def get_derivative(self, a0):
3847  """get_derivative(Diffusion self, FloatKey a0) -> double"""
3848  return _IMP_atom.Diffusion_get_derivative(self, a0)
3849 
3850 
3851  def get_name(self):
3852  """get_name(Diffusion self) -> std::string"""
3853  return _IMP_atom.Diffusion_get_name(self)
3854 
3855 
3856  def clear_caches(self):
3857  """clear_caches(Diffusion self)"""
3858  return _IMP_atom.Diffusion_clear_caches(self)
3859 
3860 
3861  def set_name(self, a0):
3862  """set_name(Diffusion self, std::string a0)"""
3863  return _IMP_atom.Diffusion_set_name(self, a0)
3864 
3865 
3866  def set_check_level(self, a0):
3867  """set_check_level(Diffusion self, IMP::CheckLevel a0)"""
3868  return _IMP_atom.Diffusion_set_check_level(self, a0)
3869 
3870 
3871  def add_to_derivative(self, a0, a1, a2):
3872  """add_to_derivative(Diffusion self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
3873  return _IMP_atom.Diffusion_add_to_derivative(self, a0, a1, a2)
3874 
3875 
3876  def set_is_optimized(self, a0, a1):
3877  """set_is_optimized(Diffusion self, FloatKey a0, bool a1)"""
3878  return _IMP_atom.Diffusion_set_is_optimized(self, a0, a1)
3879 
3880 
3881  def get_is_optimized(self, a0):
3882  """get_is_optimized(Diffusion self, FloatKey a0) -> bool"""
3883  return _IMP_atom.Diffusion_get_is_optimized(self, a0)
3884 
3885 
3886  def get_check_level(self):
3887  """get_check_level(Diffusion self) -> IMP::CheckLevel"""
3888  return _IMP_atom.Diffusion_get_check_level(self)
3889 
3890 
3891  def __eq__(self, *args):
3892  """
3893  __eq__(Diffusion self, Diffusion o) -> bool
3894  __eq__(Diffusion self, Particle d) -> bool
3895  """
3896  return _IMP_atom.Diffusion___eq__(self, *args)
3897 
3898 
3899  def __ne__(self, *args):
3900  """
3901  __ne__(Diffusion self, Diffusion o) -> bool
3902  __ne__(Diffusion self, Particle d) -> bool
3903  """
3904  return _IMP_atom.Diffusion___ne__(self, *args)
3905 
3906 
3907  def __le__(self, *args):
3908  """
3909  __le__(Diffusion self, Diffusion o) -> bool
3910  __le__(Diffusion self, Particle d) -> bool
3911  """
3912  return _IMP_atom.Diffusion___le__(self, *args)
3913 
3914 
3915  def __lt__(self, *args):
3916  """
3917  __lt__(Diffusion self, Diffusion o) -> bool
3918  __lt__(Diffusion self, Particle d) -> bool
3919  """
3920  return _IMP_atom.Diffusion___lt__(self, *args)
3921 
3922 
3923  def __ge__(self, *args):
3924  """
3925  __ge__(Diffusion self, Diffusion o) -> bool
3926  __ge__(Diffusion self, Particle d) -> bool
3927  """
3928  return _IMP_atom.Diffusion___ge__(self, *args)
3929 
3930 
3931  def __gt__(self, *args):
3932  """
3933  __gt__(Diffusion self, Diffusion o) -> bool
3934  __gt__(Diffusion self, Particle d) -> bool
3935  """
3936  return _IMP_atom.Diffusion___gt__(self, *args)
3937 
3938 
3939  def __hash__(self):
3940  """__hash__(Diffusion self) -> std::size_t"""
3941  return _IMP_atom.Diffusion___hash__(self)
3942 
3943 
3944  def __str__(self):
3945  """__str__(Diffusion self) -> std::string"""
3946  return _IMP_atom.Diffusion___str__(self)
3947 
3948 
3949  def __repr__(self):
3950  """__repr__(Diffusion self) -> std::string"""
3951  return _IMP_atom.Diffusion___repr__(self)
3952 
3953  __swig_destroy__ = _IMP_atom.delete_Diffusion
3954  __del__ = lambda self: None
3955 Diffusion_swigregister = _IMP_atom.Diffusion_swigregister
3956 Diffusion_swigregister(Diffusion)
3957 
3958 def Diffusion_setup_particle(*args):
3959  """
3960  setup_particle(Model m, ParticleIndex pi, IMP::Float D) -> Diffusion
3961  setup_particle(_ParticleAdaptor decorator, IMP::Float D) -> Diffusion
3962  setup_particle(Model m, ParticleIndex pi, Vector3D v, IMP::Float D) -> Diffusion
3963  setup_particle(_ParticleAdaptor decorator, Vector3D v, IMP::Float D) -> Diffusion
3964  setup_particle(Model m, ParticleIndex pi) -> Diffusion
3965  Diffusion_setup_particle(_ParticleAdaptor decorator) -> Diffusion
3966  """
3967  return _IMP_atom.Diffusion_setup_particle(*args)
3968 
3969 def Diffusion_get_is_setup(*args):
3970  """
3971  get_is_setup(_ParticleAdaptor p) -> bool
3972  Diffusion_get_is_setup(Model m, ParticleIndex p) -> bool
3973  """
3974  return _IMP_atom.Diffusion_get_is_setup(*args)
3975 
3976 def Diffusion_get_diffusion_coefficient_key():
3977  """Diffusion_get_diffusion_coefficient_key() -> FloatKey"""
3978  return _IMP_atom.Diffusion_get_diffusion_coefficient_key()
3979 
3980 
3981 def get_diffusion_coefficient_from_cm2_per_second(din):
3982  """get_diffusion_coefficient_from_cm2_per_second(double din) -> double"""
3983  return _IMP_atom.get_diffusion_coefficient_from_cm2_per_second(din)
3984 class RigidBodyDiffusion(Diffusion):
3985  """Proxy of C++ IMP::atom::RigidBodyDiffusion class."""
3986 
3987  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3988 
3989  def __init__(self, *args):
3990  """
3991  __init__(IMP::atom::RigidBodyDiffusion self) -> RigidBodyDiffusion
3992  __init__(IMP::atom::RigidBodyDiffusion self, Model m, ParticleIndex id) -> RigidBodyDiffusion
3993  __init__(IMP::atom::RigidBodyDiffusion self, _ParticleAdaptor d) -> RigidBodyDiffusion
3994  """
3995  this = _IMP_atom.new_RigidBodyDiffusion(*args)
3996  try:
3997  self.this.append(this)
3998  except __builtin__.Exception:
3999  self.this = this
4000 
4001  def show(self, *args):
4002  """
4003  show(RigidBodyDiffusion self, _ostream out)
4004  show(RigidBodyDiffusion self)
4005  """
4006  return _IMP_atom.RigidBodyDiffusion_show(self, *args)
4007 
4008 
4009  def setup_particle(*args):
4010  """
4011  setup_particle(Model m, ParticleIndex pi) -> RigidBodyDiffusion
4012  setup_particle(_ParticleAdaptor decorator) -> RigidBodyDiffusion
4013  """
4014  return _IMP_atom.RigidBodyDiffusion_setup_particle(*args)
4015 
4016  setup_particle = staticmethod(setup_particle)
4017 
4019  """get_rotational_diffusion_coefficient(RigidBodyDiffusion self) -> double"""
4020  return _IMP_atom.RigidBodyDiffusion_get_rotational_diffusion_coefficient(self)
4021 
4022 
4023  def set_rotational_diffusion_coefficient(self, d):
4024  """set_rotational_diffusion_coefficient(RigidBodyDiffusion self, double d)"""
4025  return _IMP_atom.RigidBodyDiffusion_set_rotational_diffusion_coefficient(self, d)
4026 
4027 
4028  def get_is_setup(*args):
4029  """
4030  get_is_setup(_ParticleAdaptor p) -> bool
4031  get_is_setup(Model m, ParticleIndex p) -> bool
4032  """
4033  return _IMP_atom.RigidBodyDiffusion_get_is_setup(*args)
4034 
4035  get_is_setup = staticmethod(get_is_setup)
4036 
4037  def get_rotational_diffusion_coefficient_key():
4038  """get_rotational_diffusion_coefficient_key() -> FloatKey"""
4039  return _IMP_atom.RigidBodyDiffusion_get_rotational_diffusion_coefficient_key()
4040 
4041  get_rotational_diffusion_coefficient_key = staticmethod(get_rotational_diffusion_coefficient_key)
4042 
4043  def add_attribute(self, *args):
4044  """
4045  add_attribute(RigidBodyDiffusion self, FloatKey k, IMP::Float v, bool opt)
4046  add_attribute(RigidBodyDiffusion self, FloatKey a0, IMP::Float a1)
4047  add_attribute(RigidBodyDiffusion self, IntKey a0, IMP::Int a1)
4048  add_attribute(RigidBodyDiffusion self, StringKey a0, IMP::String a1)
4049  add_attribute(RigidBodyDiffusion self, ParticleIndexKey a0, Particle a1)
4050  add_attribute(RigidBodyDiffusion self, ObjectKey a0, Object a1)
4051  """
4052  return _IMP_atom.RigidBodyDiffusion_add_attribute(self, *args)
4053 
4054 
4055  def get_value(self, *args):
4056  """
4057  get_value(RigidBodyDiffusion self, FloatKey a0) -> IMP::Float
4058  get_value(RigidBodyDiffusion self, IntKey a0) -> IMP::Int
4059  get_value(RigidBodyDiffusion self, StringKey a0) -> IMP::String
4060  get_value(RigidBodyDiffusion self, ParticleIndexKey a0) -> Particle
4061  get_value(RigidBodyDiffusion self, ObjectKey a0) -> Object
4062  """
4063  return _IMP_atom.RigidBodyDiffusion_get_value(self, *args)
4064 
4065 
4066  def set_value(self, *args):
4067  """
4068  set_value(RigidBodyDiffusion self, FloatKey a0, IMP::Float a1)
4069  set_value(RigidBodyDiffusion self, IntKey a0, IMP::Int a1)
4070  set_value(RigidBodyDiffusion self, StringKey a0, IMP::String a1)
4071  set_value(RigidBodyDiffusion self, ParticleIndexKey a0, Particle a1)
4072  set_value(RigidBodyDiffusion self, ObjectKey a0, Object a1)
4073  """
4074  return _IMP_atom.RigidBodyDiffusion_set_value(self, *args)
4075 
4076 
4077  def remove_attribute(self, *args):
4078  """
4079  remove_attribute(RigidBodyDiffusion self, FloatKey a0)
4080  remove_attribute(RigidBodyDiffusion self, IntKey a0)
4081  remove_attribute(RigidBodyDiffusion self, StringKey a0)
4082  remove_attribute(RigidBodyDiffusion self, ParticleIndexKey a0)
4083  remove_attribute(RigidBodyDiffusion self, ObjectKey a0)
4084  """
4085  return _IMP_atom.RigidBodyDiffusion_remove_attribute(self, *args)
4086 
4087 
4088  def has_attribute(self, *args):
4089  """
4090  has_attribute(RigidBodyDiffusion self, FloatKey a0) -> bool
4091  has_attribute(RigidBodyDiffusion self, IntKey a0) -> bool
4092  has_attribute(RigidBodyDiffusion self, StringKey a0) -> bool
4093  has_attribute(RigidBodyDiffusion self, ParticleIndexKey a0) -> bool
4094  has_attribute(RigidBodyDiffusion self, ObjectKey a0) -> bool
4095  """
4096  return _IMP_atom.RigidBodyDiffusion_has_attribute(self, *args)
4097 
4098 
4099  def get_derivative(self, a0):
4100  """get_derivative(RigidBodyDiffusion self, FloatKey a0) -> double"""
4101  return _IMP_atom.RigidBodyDiffusion_get_derivative(self, a0)
4102 
4103 
4104  def get_name(self):
4105  """get_name(RigidBodyDiffusion self) -> std::string"""
4106  return _IMP_atom.RigidBodyDiffusion_get_name(self)
4107 
4108 
4109  def clear_caches(self):
4110  """clear_caches(RigidBodyDiffusion self)"""
4111  return _IMP_atom.RigidBodyDiffusion_clear_caches(self)
4112 
4113 
4114  def set_name(self, a0):
4115  """set_name(RigidBodyDiffusion self, std::string a0)"""
4116  return _IMP_atom.RigidBodyDiffusion_set_name(self, a0)
4117 
4118 
4119  def set_check_level(self, a0):
4120  """set_check_level(RigidBodyDiffusion self, IMP::CheckLevel a0)"""
4121  return _IMP_atom.RigidBodyDiffusion_set_check_level(self, a0)
4122 
4123 
4124  def add_to_derivative(self, a0, a1, a2):
4125  """add_to_derivative(RigidBodyDiffusion self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
4126  return _IMP_atom.RigidBodyDiffusion_add_to_derivative(self, a0, a1, a2)
4127 
4128 
4129  def set_is_optimized(self, a0, a1):
4130  """set_is_optimized(RigidBodyDiffusion self, FloatKey a0, bool a1)"""
4131  return _IMP_atom.RigidBodyDiffusion_set_is_optimized(self, a0, a1)
4132 
4133 
4134  def get_is_optimized(self, a0):
4135  """get_is_optimized(RigidBodyDiffusion self, FloatKey a0) -> bool"""
4136  return _IMP_atom.RigidBodyDiffusion_get_is_optimized(self, a0)
4137 
4138 
4139  def get_check_level(self):
4140  """get_check_level(RigidBodyDiffusion self) -> IMP::CheckLevel"""
4141  return _IMP_atom.RigidBodyDiffusion_get_check_level(self)
4142 
4143 
4144  def __eq__(self, *args):
4145  """
4146  __eq__(RigidBodyDiffusion self, RigidBodyDiffusion o) -> bool
4147  __eq__(RigidBodyDiffusion self, Particle d) -> bool
4148  """
4149  return _IMP_atom.RigidBodyDiffusion___eq__(self, *args)
4150 
4151 
4152  def __ne__(self, *args):
4153  """
4154  __ne__(RigidBodyDiffusion self, RigidBodyDiffusion o) -> bool
4155  __ne__(RigidBodyDiffusion self, Particle d) -> bool
4156  """
4157  return _IMP_atom.RigidBodyDiffusion___ne__(self, *args)
4158 
4159 
4160  def __le__(self, *args):
4161  """
4162  __le__(RigidBodyDiffusion self, RigidBodyDiffusion o) -> bool
4163  __le__(RigidBodyDiffusion self, Particle d) -> bool
4164  """
4165  return _IMP_atom.RigidBodyDiffusion___le__(self, *args)
4166 
4167 
4168  def __lt__(self, *args):
4169  """
4170  __lt__(RigidBodyDiffusion self, RigidBodyDiffusion o) -> bool
4171  __lt__(RigidBodyDiffusion self, Particle d) -> bool
4172  """
4173  return _IMP_atom.RigidBodyDiffusion___lt__(self, *args)
4174 
4175 
4176  def __ge__(self, *args):
4177  """
4178  __ge__(RigidBodyDiffusion self, RigidBodyDiffusion o) -> bool
4179  __ge__(RigidBodyDiffusion self, Particle d) -> bool
4180  """
4181  return _IMP_atom.RigidBodyDiffusion___ge__(self, *args)
4182 
4183 
4184  def __gt__(self, *args):
4185  """
4186  __gt__(RigidBodyDiffusion self, RigidBodyDiffusion o) -> bool
4187  __gt__(RigidBodyDiffusion self, Particle d) -> bool
4188  """
4189  return _IMP_atom.RigidBodyDiffusion___gt__(self, *args)
4190 
4191 
4192  def __hash__(self):
4193  """__hash__(RigidBodyDiffusion self) -> std::size_t"""
4194  return _IMP_atom.RigidBodyDiffusion___hash__(self)
4195 
4196 
4197  def __str__(self):
4198  """__str__(RigidBodyDiffusion self) -> std::string"""
4199  return _IMP_atom.RigidBodyDiffusion___str__(self)
4200 
4201 
4202  def __repr__(self):
4203  """__repr__(RigidBodyDiffusion self) -> std::string"""
4204  return _IMP_atom.RigidBodyDiffusion___repr__(self)
4205 
4206  __swig_destroy__ = _IMP_atom.delete_RigidBodyDiffusion
4207  __del__ = lambda self: None
4208 RigidBodyDiffusion_swigregister = _IMP_atom.RigidBodyDiffusion_swigregister
4209 RigidBodyDiffusion_swigregister(RigidBodyDiffusion)
4210 
4211 def RigidBodyDiffusion_setup_particle(*args):
4212  """
4213  setup_particle(Model m, ParticleIndex pi) -> RigidBodyDiffusion
4214  RigidBodyDiffusion_setup_particle(_ParticleAdaptor decorator) -> RigidBodyDiffusion
4215  """
4216  return _IMP_atom.RigidBodyDiffusion_setup_particle(*args)
4217 
4218 def RigidBodyDiffusion_get_is_setup(*args):
4219  """
4220  get_is_setup(_ParticleAdaptor p) -> bool
4221  RigidBodyDiffusion_get_is_setup(Model m, ParticleIndex p) -> bool
4222  """
4223  return _IMP_atom.RigidBodyDiffusion_get_is_setup(*args)
4224 
4225 def RigidBodyDiffusion_get_rotational_diffusion_coefficient_key():
4226  """RigidBodyDiffusion_get_rotational_diffusion_coefficient_key() -> FloatKey"""
4227  return _IMP_atom.RigidBodyDiffusion_get_rotational_diffusion_coefficient_key()
4228 
4229 class TAMDParticle(IMP.Decorator):
4230  """Proxy of C++ IMP::atom::TAMDParticle class."""
4231 
4232  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4233 
4234  def __init__(self, *args):
4235  """
4236  __init__(IMP::atom::TAMDParticle self) -> TAMDParticle
4237  __init__(IMP::atom::TAMDParticle self, Model m, ParticleIndex id) -> TAMDParticle
4238  __init__(IMP::atom::TAMDParticle self, _ParticleAdaptor d) -> TAMDParticle
4239  """
4240  this = _IMP_atom.new_TAMDParticle(*args)
4241  try:
4242  self.this.append(this)
4243  except __builtin__.Exception:
4244  self.this = this
4245 
4246  def show(self, *args):
4247  """
4248  show(TAMDParticle self, _ostream out)
4249  show(TAMDParticle self)
4250  """
4251  return _IMP_atom.TAMDParticle_show(self, *args)
4252 
4253 
4254  def setup_particle(*args):
4255  """
4256  setup_particle(Model m, ParticleIndex pi, ParticleIndex pi_ref, IMP::Float tsf, IMP::Float fsf) -> TAMDParticle
4257  setup_particle(_ParticleAdaptor decorator, ParticleIndex pi_ref, IMP::Float tsf, IMP::Float fsf) -> TAMDParticle
4258  setup_particle(Model m, ParticleIndex pi, Particle p_ref, IMP::Float tsf, IMP::Float fsf) -> TAMDParticle
4259  setup_particle(_ParticleAdaptor decorator, Particle p_ref, IMP::Float tsf, IMP::Float fsf) -> TAMDParticle
4260  """
4261  return _IMP_atom.TAMDParticle_setup_particle(*args)
4262 
4263  setup_particle = staticmethod(setup_particle)
4264 
4265  def get_is_setup(*args):
4266  """
4267  get_is_setup(_ParticleAdaptor p) -> bool
4268  get_is_setup(Model m, ParticleIndex p) -> bool
4269  """
4270  return _IMP_atom.TAMDParticle_get_is_setup(*args)
4271 
4272  get_is_setup = staticmethod(get_is_setup)
4273 
4274  def get_reference_particle_index(self):
4275  """get_reference_particle_index(TAMDParticle self) -> ParticleIndex"""
4276  return _IMP_atom.TAMDParticle_get_reference_particle_index(self)
4277 
4278 
4279  def set_temperature_scale_factor(self, tsf):
4280  """set_temperature_scale_factor(TAMDParticle self, float tsf)"""
4281  return _IMP_atom.TAMDParticle_set_temperature_scale_factor(self, tsf)
4282 
4283 
4284  def get_temperature_scale_factor(self):
4285  """get_temperature_scale_factor(TAMDParticle self) -> double"""
4286  return _IMP_atom.TAMDParticle_get_temperature_scale_factor(self)
4287 
4288 
4289  def set_friction_scale_factor(self, tsf):
4290  """set_friction_scale_factor(TAMDParticle self, float tsf)"""
4291  return _IMP_atom.TAMDParticle_set_friction_scale_factor(self, tsf)
4292 
4293 
4294  def get_friction_scale_factor(self):
4295  """get_friction_scale_factor(TAMDParticle self) -> double"""
4296  return _IMP_atom.TAMDParticle_get_friction_scale_factor(self)
4297 
4298 
4299  def update_coordinates_from_ref(self):
4300  """update_coordinates_from_ref(TAMDParticle self)"""
4301  return _IMP_atom.TAMDParticle_update_coordinates_from_ref(self)
4302 
4303 
4304  def get_temperature_scale_factor_key():
4305  """get_temperature_scale_factor_key() -> FloatKey"""
4306  return _IMP_atom.TAMDParticle_get_temperature_scale_factor_key()
4307 
4308  get_temperature_scale_factor_key = staticmethod(get_temperature_scale_factor_key)
4309 
4310  def get_friction_scale_factor_key():
4311  """get_friction_scale_factor_key() -> FloatKey"""
4312  return _IMP_atom.TAMDParticle_get_friction_scale_factor_key()
4313 
4314  get_friction_scale_factor_key = staticmethod(get_friction_scale_factor_key)
4315 
4316  def get_reference_particle_index_key():
4317  """get_reference_particle_index_key() -> ParticleIndexKey"""
4318  return _IMP_atom.TAMDParticle_get_reference_particle_index_key()
4319 
4320  get_reference_particle_index_key = staticmethod(get_reference_particle_index_key)
4321 
4322  def add_attribute(self, *args):
4323  """
4324  add_attribute(TAMDParticle self, FloatKey k, IMP::Float v, bool opt)
4325  add_attribute(TAMDParticle self, FloatKey a0, IMP::Float a1)
4326  add_attribute(TAMDParticle self, IntKey a0, IMP::Int a1)
4327  add_attribute(TAMDParticle self, StringKey a0, IMP::String a1)
4328  add_attribute(TAMDParticle self, ParticleIndexKey a0, Particle a1)
4329  add_attribute(TAMDParticle self, ObjectKey a0, Object a1)
4330  """
4331  return _IMP_atom.TAMDParticle_add_attribute(self, *args)
4332 
4333 
4334  def get_value(self, *args):
4335  """
4336  get_value(TAMDParticle self, FloatKey a0) -> IMP::Float
4337  get_value(TAMDParticle self, IntKey a0) -> IMP::Int
4338  get_value(TAMDParticle self, StringKey a0) -> IMP::String
4339  get_value(TAMDParticle self, ParticleIndexKey a0) -> Particle
4340  get_value(TAMDParticle self, ObjectKey a0) -> Object
4341  """
4342  return _IMP_atom.TAMDParticle_get_value(self, *args)
4343 
4344 
4345  def set_value(self, *args):
4346  """
4347  set_value(TAMDParticle self, FloatKey a0, IMP::Float a1)
4348  set_value(TAMDParticle self, IntKey a0, IMP::Int a1)
4349  set_value(TAMDParticle self, StringKey a0, IMP::String a1)
4350  set_value(TAMDParticle self, ParticleIndexKey a0, Particle a1)
4351  set_value(TAMDParticle self, ObjectKey a0, Object a1)
4352  """
4353  return _IMP_atom.TAMDParticle_set_value(self, *args)
4354 
4355 
4356  def remove_attribute(self, *args):
4357  """
4358  remove_attribute(TAMDParticle self, FloatKey a0)
4359  remove_attribute(TAMDParticle self, IntKey a0)
4360  remove_attribute(TAMDParticle self, StringKey a0)
4361  remove_attribute(TAMDParticle self, ParticleIndexKey a0)
4362  remove_attribute(TAMDParticle self, ObjectKey a0)
4363  """
4364  return _IMP_atom.TAMDParticle_remove_attribute(self, *args)
4365 
4366 
4367  def has_attribute(self, *args):
4368  """
4369  has_attribute(TAMDParticle self, FloatKey a0) -> bool
4370  has_attribute(TAMDParticle self, IntKey a0) -> bool
4371  has_attribute(TAMDParticle self, StringKey a0) -> bool
4372  has_attribute(TAMDParticle self, ParticleIndexKey a0) -> bool
4373  has_attribute(TAMDParticle self, ObjectKey a0) -> bool
4374  """
4375  return _IMP_atom.TAMDParticle_has_attribute(self, *args)
4376 
4377 
4378  def get_derivative(self, a0):
4379  """get_derivative(TAMDParticle self, FloatKey a0) -> double"""
4380  return _IMP_atom.TAMDParticle_get_derivative(self, a0)
4381 
4382 
4383  def get_name(self):
4384  """get_name(TAMDParticle self) -> std::string"""
4385  return _IMP_atom.TAMDParticle_get_name(self)
4386 
4387 
4388  def clear_caches(self):
4389  """clear_caches(TAMDParticle self)"""
4390  return _IMP_atom.TAMDParticle_clear_caches(self)
4391 
4392 
4393  def set_name(self, a0):
4394  """set_name(TAMDParticle self, std::string a0)"""
4395  return _IMP_atom.TAMDParticle_set_name(self, a0)
4396 
4397 
4398  def set_check_level(self, a0):
4399  """set_check_level(TAMDParticle self, IMP::CheckLevel a0)"""
4400  return _IMP_atom.TAMDParticle_set_check_level(self, a0)
4401 
4402 
4403  def add_to_derivative(self, a0, a1, a2):
4404  """add_to_derivative(TAMDParticle self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
4405  return _IMP_atom.TAMDParticle_add_to_derivative(self, a0, a1, a2)
4406 
4407 
4408  def set_is_optimized(self, a0, a1):
4409  """set_is_optimized(TAMDParticle self, FloatKey a0, bool a1)"""
4410  return _IMP_atom.TAMDParticle_set_is_optimized(self, a0, a1)
4411 
4412 
4413  def get_is_optimized(self, a0):
4414  """get_is_optimized(TAMDParticle self, FloatKey a0) -> bool"""
4415  return _IMP_atom.TAMDParticle_get_is_optimized(self, a0)
4416 
4417 
4418  def get_check_level(self):
4419  """get_check_level(TAMDParticle self) -> IMP::CheckLevel"""
4420  return _IMP_atom.TAMDParticle_get_check_level(self)
4421 
4422 
4423  def __eq__(self, *args):
4424  """
4425  __eq__(TAMDParticle self, TAMDParticle o) -> bool
4426  __eq__(TAMDParticle self, Particle d) -> bool
4427  """
4428  return _IMP_atom.TAMDParticle___eq__(self, *args)
4429 
4430 
4431  def __ne__(self, *args):
4432  """
4433  __ne__(TAMDParticle self, TAMDParticle o) -> bool
4434  __ne__(TAMDParticle self, Particle d) -> bool
4435  """
4436  return _IMP_atom.TAMDParticle___ne__(self, *args)
4437 
4438 
4439  def __le__(self, *args):
4440  """
4441  __le__(TAMDParticle self, TAMDParticle o) -> bool
4442  __le__(TAMDParticle self, Particle d) -> bool
4443  """
4444  return _IMP_atom.TAMDParticle___le__(self, *args)
4445 
4446 
4447  def __lt__(self, *args):
4448  """
4449  __lt__(TAMDParticle self, TAMDParticle o) -> bool
4450  __lt__(TAMDParticle self, Particle d) -> bool
4451  """
4452  return _IMP_atom.TAMDParticle___lt__(self, *args)
4453 
4454 
4455  def __ge__(self, *args):
4456  """
4457  __ge__(TAMDParticle self, TAMDParticle o) -> bool
4458  __ge__(TAMDParticle self, Particle d) -> bool
4459  """
4460  return _IMP_atom.TAMDParticle___ge__(self, *args)
4461 
4462 
4463  def __gt__(self, *args):
4464  """
4465  __gt__(TAMDParticle self, TAMDParticle o) -> bool
4466  __gt__(TAMDParticle self, Particle d) -> bool
4467  """
4468  return _IMP_atom.TAMDParticle___gt__(self, *args)
4469 
4470 
4471  def __hash__(self):
4472  """__hash__(TAMDParticle self) -> std::size_t"""
4473  return _IMP_atom.TAMDParticle___hash__(self)
4474 
4475 
4476  def __str__(self):
4477  """__str__(TAMDParticle self) -> std::string"""
4478  return _IMP_atom.TAMDParticle___str__(self)
4479 
4480 
4481  def __repr__(self):
4482  """__repr__(TAMDParticle self) -> std::string"""
4483  return _IMP_atom.TAMDParticle___repr__(self)
4484 
4485  __swig_destroy__ = _IMP_atom.delete_TAMDParticle
4486  __del__ = lambda self: None
4487 TAMDParticle_swigregister = _IMP_atom.TAMDParticle_swigregister
4488 TAMDParticle_swigregister(TAMDParticle)
4489 
4490 def TAMDParticle_setup_particle(*args):
4491  """
4492  setup_particle(Model m, ParticleIndex pi, ParticleIndex pi_ref, IMP::Float tsf, IMP::Float fsf) -> TAMDParticle
4493  setup_particle(_ParticleAdaptor decorator, ParticleIndex pi_ref, IMP::Float tsf, IMP::Float fsf) -> TAMDParticle
4494  setup_particle(Model m, ParticleIndex pi, Particle p_ref, IMP::Float tsf, IMP::Float fsf) -> TAMDParticle
4495  TAMDParticle_setup_particle(_ParticleAdaptor decorator, Particle p_ref, IMP::Float tsf, IMP::Float fsf) -> TAMDParticle
4496  """
4497  return _IMP_atom.TAMDParticle_setup_particle(*args)
4498 
4499 def TAMDParticle_get_is_setup(*args):
4500  """
4501  get_is_setup(_ParticleAdaptor p) -> bool
4502  TAMDParticle_get_is_setup(Model m, ParticleIndex p) -> bool
4503  """
4504  return _IMP_atom.TAMDParticle_get_is_setup(*args)
4505 
4506 def TAMDParticle_get_temperature_scale_factor_key():
4507  """TAMDParticle_get_temperature_scale_factor_key() -> FloatKey"""
4508  return _IMP_atom.TAMDParticle_get_temperature_scale_factor_key()
4509 
4510 def TAMDParticle_get_friction_scale_factor_key():
4511  """TAMDParticle_get_friction_scale_factor_key() -> FloatKey"""
4512  return _IMP_atom.TAMDParticle_get_friction_scale_factor_key()
4513 
4514 def TAMDParticle_get_reference_particle_index_key():
4515  """TAMDParticle_get_reference_particle_index_key() -> ParticleIndexKey"""
4516  return _IMP_atom.TAMDParticle_get_reference_particle_index_key()
4517 
4518 class Chain(Hierarchy):
4519  """Proxy of C++ IMP::atom::Chain class."""
4520 
4521  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4522 
4523  def __init__(self, *args):
4524  """
4525  __init__(IMP::atom::Chain self) -> Chain
4526  __init__(IMP::atom::Chain self, Model m, ParticleIndex id) -> Chain
4527  __init__(IMP::atom::Chain self, _ParticleAdaptor d) -> Chain
4528  """
4529  this = _IMP_atom.new_Chain(*args)
4530  try:
4531  self.this.append(this)
4532  except __builtin__.Exception:
4533  self.this = this
4534 
4535  def show(self, *args):
4536  """
4537  show(Chain self, _ostream out)
4538  show(Chain self)
4539  """
4540  return _IMP_atom.Chain_show(self, *args)
4541 
4542 
4543  def setup_particle(*args):
4544  """
4545  setup_particle(Model m, ParticleIndex pi, std::string id) -> Chain
4546  setup_particle(_ParticleAdaptor decorator, std::string id) -> Chain
4547  setup_particle(Model m, ParticleIndex pi, char id) -> Chain
4548  setup_particle(_ParticleAdaptor decorator, char id) -> Chain
4549  setup_particle(Model m, ParticleIndex pi, Chain other) -> Chain
4550  setup_particle(_ParticleAdaptor decorator, Chain other) -> Chain
4551  """
4552  return _IMP_atom.Chain_setup_particle(*args)
4553 
4554  setup_particle = staticmethod(setup_particle)
4555 
4556  def get_is_setup(*args):
4557  """
4558  get_is_setup(_ParticleAdaptor p) -> bool
4559  get_is_setup(Model m, ParticleIndex pi) -> bool
4560  """
4561  return _IMP_atom.Chain_get_is_setup(*args)
4562 
4563  get_is_setup = staticmethod(get_is_setup)
4564 
4565  def get_id(self):
4566  """get_id(Chain self) -> std::string"""
4567  return _IMP_atom.Chain_get_id(self)
4568 
4569 
4570  def set_id(self, c):
4571  """set_id(Chain self, std::string c)"""
4572  return _IMP_atom.Chain_set_id(self, c)
4573 
4574 
4575  def get_sequence(self):
4576  """get_sequence(Chain self) -> std::string"""
4577  return _IMP_atom.Chain_get_sequence(self)
4578 
4579 
4580  def set_sequence(self, sequence):
4581  """set_sequence(Chain self, std::string sequence)"""
4582  return _IMP_atom.Chain_set_sequence(self, sequence)
4583 
4584 
4585  def get_chain_type(self):
4586  """get_chain_type(Chain self) -> ChainType"""
4587  return _IMP_atom.Chain_get_chain_type(self)
4588 
4589 
4590  def set_chain_type(self, t):
4591  """set_chain_type(Chain self, ChainType t)"""
4592  return _IMP_atom.Chain_set_chain_type(self, t)
4593 
4594 
4595  def get_id_key():
4596  """get_id_key() -> StringKey"""
4597  return _IMP_atom.Chain_get_id_key()
4598 
4599  get_id_key = staticmethod(get_id_key)
4600 
4601  def get_sequence_key():
4602  """get_sequence_key() -> StringKey"""
4603  return _IMP_atom.Chain_get_sequence_key()
4604 
4605  get_sequence_key = staticmethod(get_sequence_key)
4606 
4607  def get_chain_type_key():
4608  """get_chain_type_key() -> IntKey"""
4609  return _IMP_atom.Chain_get_chain_type_key()
4610 
4611  get_chain_type_key = staticmethod(get_chain_type_key)
4612 
4613  def add_attribute(self, *args):
4614  """
4615  add_attribute(Chain self, FloatKey k, IMP::Float v, bool opt)
4616  add_attribute(Chain self, FloatKey a0, IMP::Float a1)
4617  add_attribute(Chain self, IntKey a0, IMP::Int a1)
4618  add_attribute(Chain self, StringKey a0, IMP::String a1)
4619  add_attribute(Chain self, ParticleIndexKey a0, Particle a1)
4620  add_attribute(Chain self, ObjectKey a0, Object a1)
4621  """
4622  return _IMP_atom.Chain_add_attribute(self, *args)
4623 
4624 
4625  def get_value(self, *args):
4626  """
4627  get_value(Chain self, FloatKey a0) -> IMP::Float
4628  get_value(Chain self, IntKey a0) -> IMP::Int
4629  get_value(Chain self, StringKey a0) -> IMP::String
4630  get_value(Chain self, ParticleIndexKey a0) -> Particle
4631  get_value(Chain self, ObjectKey a0) -> Object
4632  """
4633  return _IMP_atom.Chain_get_value(self, *args)
4634 
4635 
4636  def set_value(self, *args):
4637  """
4638  set_value(Chain self, FloatKey a0, IMP::Float a1)
4639  set_value(Chain self, IntKey a0, IMP::Int a1)
4640  set_value(Chain self, StringKey a0, IMP::String a1)
4641  set_value(Chain self, ParticleIndexKey a0, Particle a1)
4642  set_value(Chain self, ObjectKey a0, Object a1)
4643  """
4644  return _IMP_atom.Chain_set_value(self, *args)
4645 
4646 
4647  def remove_attribute(self, *args):
4648  """
4649  remove_attribute(Chain self, FloatKey a0)
4650  remove_attribute(Chain self, IntKey a0)
4651  remove_attribute(Chain self, StringKey a0)
4652  remove_attribute(Chain self, ParticleIndexKey a0)
4653  remove_attribute(Chain self, ObjectKey a0)
4654  """
4655  return _IMP_atom.Chain_remove_attribute(self, *args)
4656 
4657 
4658  def has_attribute(self, *args):
4659  """
4660  has_attribute(Chain self, FloatKey a0) -> bool
4661  has_attribute(Chain self, IntKey a0) -> bool
4662  has_attribute(Chain self, StringKey a0) -> bool
4663  has_attribute(Chain self, ParticleIndexKey a0) -> bool
4664  has_attribute(Chain self, ObjectKey a0) -> bool
4665  """
4666  return _IMP_atom.Chain_has_attribute(self, *args)
4667 
4668 
4669  def get_derivative(self, a0):
4670  """get_derivative(Chain self, FloatKey a0) -> double"""
4671  return _IMP_atom.Chain_get_derivative(self, a0)
4672 
4673 
4674  def get_name(self):
4675  """get_name(Chain self) -> std::string"""
4676  return _IMP_atom.Chain_get_name(self)
4677 
4678 
4679  def clear_caches(self):
4680  """clear_caches(Chain self)"""
4681  return _IMP_atom.Chain_clear_caches(self)
4682 
4683 
4684  def set_name(self, a0):
4685  """set_name(Chain self, std::string a0)"""
4686  return _IMP_atom.Chain_set_name(self, a0)
4687 
4688 
4689  def set_check_level(self, a0):
4690  """set_check_level(Chain self, IMP::CheckLevel a0)"""
4691  return _IMP_atom.Chain_set_check_level(self, a0)
4692 
4693 
4694  def add_to_derivative(self, a0, a1, a2):
4695  """add_to_derivative(Chain self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
4696  return _IMP_atom.Chain_add_to_derivative(self, a0, a1, a2)
4697 
4698 
4699  def set_is_optimized(self, a0, a1):
4700  """set_is_optimized(Chain self, FloatKey a0, bool a1)"""
4701  return _IMP_atom.Chain_set_is_optimized(self, a0, a1)
4702 
4703 
4704  def get_is_optimized(self, a0):
4705  """get_is_optimized(Chain self, FloatKey a0) -> bool"""
4706  return _IMP_atom.Chain_get_is_optimized(self, a0)
4707 
4708 
4709  def get_check_level(self):
4710  """get_check_level(Chain self) -> IMP::CheckLevel"""
4711  return _IMP_atom.Chain_get_check_level(self)
4712 
4713 
4714  def __eq__(self, *args):
4715  """
4716  __eq__(Chain self, Chain o) -> bool
4717  __eq__(Chain self, Particle d) -> bool
4718  """
4719  return _IMP_atom.Chain___eq__(self, *args)
4720 
4721 
4722  def __ne__(self, *args):
4723  """
4724  __ne__(Chain self, Chain o) -> bool
4725  __ne__(Chain self, Particle d) -> bool
4726  """
4727  return _IMP_atom.Chain___ne__(self, *args)
4728 
4729 
4730  def __le__(self, *args):
4731  """
4732  __le__(Chain self, Chain o) -> bool
4733  __le__(Chain self, Particle d) -> bool
4734  """
4735  return _IMP_atom.Chain___le__(self, *args)
4736 
4737 
4738  def __lt__(self, *args):
4739  """
4740  __lt__(Chain self, Chain o) -> bool
4741  __lt__(Chain self, Particle d) -> bool
4742  """
4743  return _IMP_atom.Chain___lt__(self, *args)
4744 
4745 
4746  def __ge__(self, *args):
4747  """
4748  __ge__(Chain self, Chain o) -> bool
4749  __ge__(Chain self, Particle d) -> bool
4750  """
4751  return _IMP_atom.Chain___ge__(self, *args)
4752 
4753 
4754  def __gt__(self, *args):
4755  """
4756  __gt__(Chain self, Chain o) -> bool
4757  __gt__(Chain self, Particle d) -> bool
4758  """
4759  return _IMP_atom.Chain___gt__(self, *args)
4760 
4761 
4762  def __hash__(self):
4763  """__hash__(Chain self) -> std::size_t"""
4764  return _IMP_atom.Chain___hash__(self)
4765 
4766 
4767  def __str__(self):
4768  """__str__(Chain self) -> std::string"""
4769  return _IMP_atom.Chain___str__(self)
4770 
4771 
4772  def __repr__(self):
4773  """__repr__(Chain self) -> std::string"""
4774  return _IMP_atom.Chain___repr__(self)
4775 
4776  __swig_destroy__ = _IMP_atom.delete_Chain
4777  __del__ = lambda self: None
4778 Chain_swigregister = _IMP_atom.Chain_swigregister
4779 Chain_swigregister(Chain)
4780 cvar = _IMP_atom.cvar
4781 UnknownChainType = cvar.UnknownChainType
4782 DPolypeptide = cvar.DPolypeptide
4783 LPolypeptide = cvar.LPolypeptide
4784 Polydeoxyribonucleotide = cvar.Polydeoxyribonucleotide
4785 Polyribonucleotide = cvar.Polyribonucleotide
4786 DPolysaccharide = cvar.DPolysaccharide
4787 LPolysaccharide = cvar.LPolysaccharide
4788 Protein = cvar.Protein
4789 DNA = cvar.DNA
4790 RNA = cvar.RNA
4791 
4792 def Chain_setup_particle(*args):
4793  """
4794  setup_particle(Model m, ParticleIndex pi, std::string id) -> Chain
4795  setup_particle(_ParticleAdaptor decorator, std::string id) -> Chain
4796  setup_particle(Model m, ParticleIndex pi, char id) -> Chain
4797  setup_particle(_ParticleAdaptor decorator, char id) -> Chain
4798  setup_particle(Model m, ParticleIndex pi, Chain other) -> Chain
4799  Chain_setup_particle(_ParticleAdaptor decorator, Chain other) -> Chain
4800  """
4801  return _IMP_atom.Chain_setup_particle(*args)
4802 
4803 def Chain_get_is_setup(*args):
4804  """
4805  get_is_setup(_ParticleAdaptor p) -> bool
4806  Chain_get_is_setup(Model m, ParticleIndex pi) -> bool
4807  """
4808  return _IMP_atom.Chain_get_is_setup(*args)
4809 
4810 def Chain_get_id_key():
4811  """Chain_get_id_key() -> StringKey"""
4812  return _IMP_atom.Chain_get_id_key()
4813 
4814 def Chain_get_sequence_key():
4815  """Chain_get_sequence_key() -> StringKey"""
4816  return _IMP_atom.Chain_get_sequence_key()
4817 
4818 def Chain_get_chain_type_key():
4819  """Chain_get_chain_type_key() -> IntKey"""
4820  return _IMP_atom.Chain_get_chain_type_key()
4821 
4822 
4823 def get_chain(h):
4824  """get_chain(Hierarchy h) -> Chain"""
4825  return _IMP_atom.get_chain(h)
4826 
4827 def get_chain_id(h):
4828  """get_chain_id(Hierarchy h) -> std::string"""
4829  return _IMP_atom.get_chain_id(h)
4830 class Charged(IMP.core.XYZ):
4831  """Proxy of C++ IMP::atom::Charged class."""
4832 
4833  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4834 
4835  def __init__(self, *args):
4836  """
4837  __init__(IMP::atom::Charged self) -> Charged
4838  __init__(IMP::atom::Charged self, Model m, ParticleIndex id) -> Charged
4839  __init__(IMP::atom::Charged self, _ParticleAdaptor d) -> Charged
4840  """
4841  this = _IMP_atom.new_Charged(*args)
4842  try:
4843  self.this.append(this)
4844  except __builtin__.Exception:
4845  self.this = this
4846 
4847  def show(self, *args):
4848  """
4849  show(Charged self, _ostream out)
4850  show(Charged self)
4851  """
4852  return _IMP_atom.Charged_show(self, *args)
4853 
4854 
4855  def setup_particle(*args):
4856  """
4857  setup_particle(Model m, ParticleIndex pi, IMP::Float charge) -> Charged
4858  setup_particle(_ParticleAdaptor decorator, IMP::Float charge) -> Charged
4859  setup_particle(Model m, ParticleIndex pi, Vector3D v, IMP::Float charge) -> Charged
4860  setup_particle(_ParticleAdaptor decorator, Vector3D v, IMP::Float charge) -> Charged
4861  """
4862  return _IMP_atom.Charged_setup_particle(*args)
4863 
4864  setup_particle = staticmethod(setup_particle)
4865 
4866  def get_charge(self):
4867  """get_charge(Charged self) -> IMP::Float"""
4868  return _IMP_atom.Charged_get_charge(self)
4869 
4870 
4871  def set_charge(self, t):
4872  """set_charge(Charged self, IMP::Float t)"""
4873  return _IMP_atom.Charged_set_charge(self, t)
4874 
4875 
4876  def get_is_setup(*args):
4877  """
4878  get_is_setup(_ParticleAdaptor p) -> bool
4879  get_is_setup(Model m, ParticleIndex pi) -> bool
4880  """
4881  return _IMP_atom.Charged_get_is_setup(*args)
4882 
4883  get_is_setup = staticmethod(get_is_setup)
4884 
4885  def get_charge_key():
4886  """get_charge_key() -> FloatKey"""
4887  return _IMP_atom.Charged_get_charge_key()
4888 
4889  get_charge_key = staticmethod(get_charge_key)
4890 
4891  def add_attribute(self, *args):
4892  """
4893  add_attribute(Charged self, FloatKey k, IMP::Float v, bool opt)
4894  add_attribute(Charged self, FloatKey a0, IMP::Float a1)
4895  add_attribute(Charged self, IntKey a0, IMP::Int a1)
4896  add_attribute(Charged self, StringKey a0, IMP::String a1)
4897  add_attribute(Charged self, ParticleIndexKey a0, Particle a1)
4898  add_attribute(Charged self, ObjectKey a0, Object a1)
4899  """
4900  return _IMP_atom.Charged_add_attribute(self, *args)
4901 
4902 
4903  def get_value(self, *args):
4904  """
4905  get_value(Charged self, FloatKey a0) -> IMP::Float
4906  get_value(Charged self, IntKey a0) -> IMP::Int
4907  get_value(Charged self, StringKey a0) -> IMP::String
4908  get_value(Charged self, ParticleIndexKey a0) -> Particle
4909  get_value(Charged self, ObjectKey a0) -> Object
4910  """
4911  return _IMP_atom.Charged_get_value(self, *args)
4912 
4913 
4914  def set_value(self, *args):
4915  """
4916  set_value(Charged self, FloatKey a0, IMP::Float a1)
4917  set_value(Charged self, IntKey a0, IMP::Int a1)
4918  set_value(Charged self, StringKey a0, IMP::String a1)
4919  set_value(Charged self, ParticleIndexKey a0, Particle a1)
4920  set_value(Charged self, ObjectKey a0, Object a1)
4921  """
4922  return _IMP_atom.Charged_set_value(self, *args)
4923 
4924 
4925  def remove_attribute(self, *args):
4926  """
4927  remove_attribute(Charged self, FloatKey a0)
4928  remove_attribute(Charged self, IntKey a0)
4929  remove_attribute(Charged self, StringKey a0)
4930  remove_attribute(Charged self, ParticleIndexKey a0)
4931  remove_attribute(Charged self, ObjectKey a0)
4932  """
4933  return _IMP_atom.Charged_remove_attribute(self, *args)
4934 
4935 
4936  def has_attribute(self, *args):
4937  """
4938  has_attribute(Charged self, FloatKey a0) -> bool
4939  has_attribute(Charged self, IntKey a0) -> bool
4940  has_attribute(Charged self, StringKey a0) -> bool
4941  has_attribute(Charged self, ParticleIndexKey a0) -> bool
4942  has_attribute(Charged self, ObjectKey a0) -> bool
4943  """
4944  return _IMP_atom.Charged_has_attribute(self, *args)
4945 
4946 
4947  def get_derivative(self, a0):
4948  """get_derivative(Charged self, FloatKey a0) -> double"""
4949  return _IMP_atom.Charged_get_derivative(self, a0)
4950 
4951 
4952  def get_name(self):
4953  """get_name(Charged self) -> std::string"""
4954  return _IMP_atom.Charged_get_name(self)
4955 
4956 
4957  def clear_caches(self):
4958  """clear_caches(Charged self)"""
4959  return _IMP_atom.Charged_clear_caches(self)
4960 
4961 
4962  def set_name(self, a0):
4963  """set_name(Charged self, std::string a0)"""
4964  return _IMP_atom.Charged_set_name(self, a0)
4965 
4966 
4967  def set_check_level(self, a0):
4968  """set_check_level(Charged self, IMP::CheckLevel a0)"""
4969  return _IMP_atom.Charged_set_check_level(self, a0)
4970 
4971 
4972  def add_to_derivative(self, a0, a1, a2):
4973  """add_to_derivative(Charged self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
4974  return _IMP_atom.Charged_add_to_derivative(self, a0, a1, a2)
4975 
4976 
4977  def set_is_optimized(self, a0, a1):
4978  """set_is_optimized(Charged self, FloatKey a0, bool a1)"""
4979  return _IMP_atom.Charged_set_is_optimized(self, a0, a1)
4980 
4981 
4982  def get_is_optimized(self, a0):
4983  """get_is_optimized(Charged self, FloatKey a0) -> bool"""
4984  return _IMP_atom.Charged_get_is_optimized(self, a0)
4985 
4986 
4987  def get_check_level(self):
4988  """get_check_level(Charged self) -> IMP::CheckLevel"""
4989  return _IMP_atom.Charged_get_check_level(self)
4990 
4991 
4992  def __eq__(self, *args):
4993  """
4994  __eq__(Charged self, Charged o) -> bool
4995  __eq__(Charged self, Particle d) -> bool
4996  """
4997  return _IMP_atom.Charged___eq__(self, *args)
4998 
4999 
5000  def __ne__(self, *args):
5001  """
5002  __ne__(Charged self, Charged o) -> bool
5003  __ne__(Charged self, Particle d) -> bool
5004  """
5005  return _IMP_atom.Charged___ne__(self, *args)
5006 
5007 
5008  def __le__(self, *args):
5009  """
5010  __le__(Charged self, Charged o) -> bool
5011  __le__(Charged self, Particle d) -> bool
5012  """
5013  return _IMP_atom.Charged___le__(self, *args)
5014 
5015 
5016  def __lt__(self, *args):
5017  """
5018  __lt__(Charged self, Charged o) -> bool
5019  __lt__(Charged self, Particle d) -> bool
5020  """
5021  return _IMP_atom.Charged___lt__(self, *args)
5022 
5023 
5024  def __ge__(self, *args):
5025  """
5026  __ge__(Charged self, Charged o) -> bool
5027  __ge__(Charged self, Particle d) -> bool
5028  """
5029  return _IMP_atom.Charged___ge__(self, *args)
5030 
5031 
5032  def __gt__(self, *args):
5033  """
5034  __gt__(Charged self, Charged o) -> bool
5035  __gt__(Charged self, Particle d) -> bool
5036  """
5037  return _IMP_atom.Charged___gt__(self, *args)
5038 
5039 
5040  def __hash__(self):
5041  """__hash__(Charged self) -> std::size_t"""
5042  return _IMP_atom.Charged___hash__(self)
5043 
5044 
5045  def __str__(self):
5046  """__str__(Charged self) -> std::string"""
5047  return _IMP_atom.Charged___str__(self)
5048 
5049 
5050  def __repr__(self):
5051  """__repr__(Charged self) -> std::string"""
5052  return _IMP_atom.Charged___repr__(self)
5053 
5054  __swig_destroy__ = _IMP_atom.delete_Charged
5055  __del__ = lambda self: None
5056 Charged_swigregister = _IMP_atom.Charged_swigregister
5057 Charged_swigregister(Charged)
5058 
5059 def Charged_setup_particle(*args):
5060  """
5061  setup_particle(Model m, ParticleIndex pi, IMP::Float charge) -> Charged
5062  setup_particle(_ParticleAdaptor decorator, IMP::Float charge) -> Charged
5063  setup_particle(Model m, ParticleIndex pi, Vector3D v, IMP::Float charge) -> Charged
5064  Charged_setup_particle(_ParticleAdaptor decorator, Vector3D v, IMP::Float charge) -> Charged
5065  """
5066  return _IMP_atom.Charged_setup_particle(*args)
5067 
5068 def Charged_get_is_setup(*args):
5069  """
5070  get_is_setup(_ParticleAdaptor p) -> bool
5071  Charged_get_is_setup(Model m, ParticleIndex pi) -> bool
5072  """
5073  return _IMP_atom.Charged_get_is_setup(*args)
5074 
5075 def Charged_get_charge_key():
5076  """Charged_get_charge_key() -> FloatKey"""
5077  return _IMP_atom.Charged_get_charge_key()
5078 
5079 class CoulombPairScore(IMP.PairScore):
5080  """Proxy of C++ IMP::atom::CoulombPairScore class."""
5081 
5082  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5083 
5084  def __init__(self, f):
5085  """__init__(IMP::atom::CoulombPairScore self, SmoothingFunction f) -> CoulombPairScore"""
5086  this = _IMP_atom.new_CoulombPairScore(f)
5087  try:
5088  self.this.append(this)
5089  except __builtin__.Exception:
5090  self.this = this
5091 
5092  def set_relative_dielectric(self, relative_dielectric):
5093  """set_relative_dielectric(CoulombPairScore self, double relative_dielectric)"""
5094  return _IMP_atom.CoulombPairScore_set_relative_dielectric(self, relative_dielectric)
5095 
5096 
5097  def get_relative_dielectric(self):
5098  """get_relative_dielectric(CoulombPairScore self) -> double"""
5099  return _IMP_atom.CoulombPairScore_get_relative_dielectric(self)
5100 
5101 
5102  def do_get_inputs(self, m, pis):
5103  """do_get_inputs(CoulombPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5104  return _IMP_atom.CoulombPairScore_do_get_inputs(self, m, pis)
5105 
5106 
5107  def get_version_info(self):
5108  """get_version_info(CoulombPairScore self) -> VersionInfo"""
5109  return _IMP_atom.CoulombPairScore_get_version_info(self)
5110 
5111 
5112  def __str__(self):
5113  """__str__(CoulombPairScore self) -> std::string"""
5114  return _IMP_atom.CoulombPairScore___str__(self)
5115 
5116 
5117  def __repr__(self):
5118  """__repr__(CoulombPairScore self) -> std::string"""
5119  return _IMP_atom.CoulombPairScore___repr__(self)
5120 
5121 
5122  @staticmethod
5123  def get_from(o):
5124  return _object_cast_to_CoulombPairScore(o)
5125 
5126 CoulombPairScore_swigregister = _IMP_atom.CoulombPairScore_swigregister
5127 CoulombPairScore_swigregister(CoulombPairScore)
5128 
5129 class Domain(Hierarchy):
5130  """Proxy of C++ IMP::atom::Domain class."""
5131 
5132  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5133 
5134  def set_index_range(self, ir):
5135  """set_index_range(Domain self, IMP::IntRange ir)"""
5136  return _IMP_atom.Domain_set_index_range(self, ir)
5137 
5138 
5139  def get_index_range(self):
5140  """get_index_range(Domain self) -> IMP::IntRange"""
5141  return _IMP_atom.Domain_get_index_range(self)
5142 
5143 
5144  def __init__(self, *args):
5145  """
5146  __init__(IMP::atom::Domain self) -> Domain
5147  __init__(IMP::atom::Domain self, Model m, ParticleIndex id) -> Domain
5148  __init__(IMP::atom::Domain self, _ParticleAdaptor d) -> Domain
5149  """
5150  this = _IMP_atom.new_Domain(*args)
5151  try:
5152  self.this.append(this)
5153  except __builtin__.Exception:
5154  self.this = this
5155 
5156  def get_is_setup(*args):
5157  """
5158  get_is_setup(Model m, ParticleIndex pi) -> bool
5159  get_is_setup(_ParticleAdaptor p) -> bool
5160  """
5161  return _IMP_atom.Domain_get_is_setup(*args)
5162 
5163  get_is_setup = staticmethod(get_is_setup)
5164 
5165  def show(self, *args):
5166  """
5167  show(Domain self, _ostream out)
5168  show(Domain self)
5169  """
5170  return _IMP_atom.Domain_show(self, *args)
5171 
5172 
5173  def setup_particle(*args):
5174  """
5175  setup_particle(Model m, ParticleIndex pi, Domain other) -> Domain
5176  setup_particle(_ParticleAdaptor decorator, Domain other) -> Domain
5177  setup_particle(Model m, ParticleIndex pi, IMP::IntRange residues) -> Domain
5178  setup_particle(_ParticleAdaptor decorator, IMP::IntRange residues) -> Domain
5179  """
5180  return _IMP_atom.Domain_setup_particle(*args)
5181 
5182  setup_particle = staticmethod(setup_particle)
5183 
5184  def add_attribute(self, *args):
5185  """
5186  add_attribute(Domain self, FloatKey k, IMP::Float v, bool opt)
5187  add_attribute(Domain self, FloatKey a0, IMP::Float a1)
5188  add_attribute(Domain self, IntKey a0, IMP::Int a1)
5189  add_attribute(Domain self, StringKey a0, IMP::String a1)
5190  add_attribute(Domain self, ParticleIndexKey a0, Particle a1)
5191  add_attribute(Domain self, ObjectKey a0, Object a1)
5192  """
5193  return _IMP_atom.Domain_add_attribute(self, *args)
5194 
5195 
5196  def get_value(self, *args):
5197  """
5198  get_value(Domain self, FloatKey a0) -> IMP::Float
5199  get_value(Domain self, IntKey a0) -> IMP::Int
5200  get_value(Domain self, StringKey a0) -> IMP::String
5201  get_value(Domain self, ParticleIndexKey a0) -> Particle
5202  get_value(Domain self, ObjectKey a0) -> Object
5203  """
5204  return _IMP_atom.Domain_get_value(self, *args)
5205 
5206 
5207  def set_value(self, *args):
5208  """
5209  set_value(Domain self, FloatKey a0, IMP::Float a1)
5210  set_value(Domain self, IntKey a0, IMP::Int a1)
5211  set_value(Domain self, StringKey a0, IMP::String a1)
5212  set_value(Domain self, ParticleIndexKey a0, Particle a1)
5213  set_value(Domain self, ObjectKey a0, Object a1)
5214  """
5215  return _IMP_atom.Domain_set_value(self, *args)
5216 
5217 
5218  def remove_attribute(self, *args):
5219  """
5220  remove_attribute(Domain self, FloatKey a0)
5221  remove_attribute(Domain self, IntKey a0)
5222  remove_attribute(Domain self, StringKey a0)
5223  remove_attribute(Domain self, ParticleIndexKey a0)
5224  remove_attribute(Domain self, ObjectKey a0)
5225  """
5226  return _IMP_atom.Domain_remove_attribute(self, *args)
5227 
5228 
5229  def has_attribute(self, *args):
5230  """
5231  has_attribute(Domain self, FloatKey a0) -> bool
5232  has_attribute(Domain self, IntKey a0) -> bool
5233  has_attribute(Domain self, StringKey a0) -> bool
5234  has_attribute(Domain self, ParticleIndexKey a0) -> bool
5235  has_attribute(Domain self, ObjectKey a0) -> bool
5236  """
5237  return _IMP_atom.Domain_has_attribute(self, *args)
5238 
5239 
5240  def get_derivative(self, a0):
5241  """get_derivative(Domain self, FloatKey a0) -> double"""
5242  return _IMP_atom.Domain_get_derivative(self, a0)
5243 
5244 
5245  def get_name(self):
5246  """get_name(Domain self) -> std::string"""
5247  return _IMP_atom.Domain_get_name(self)
5248 
5249 
5250  def clear_caches(self):
5251  """clear_caches(Domain self)"""
5252  return _IMP_atom.Domain_clear_caches(self)
5253 
5254 
5255  def set_name(self, a0):
5256  """set_name(Domain self, std::string a0)"""
5257  return _IMP_atom.Domain_set_name(self, a0)
5258 
5259 
5260  def set_check_level(self, a0):
5261  """set_check_level(Domain self, IMP::CheckLevel a0)"""
5262  return _IMP_atom.Domain_set_check_level(self, a0)
5263 
5264 
5265  def add_to_derivative(self, a0, a1, a2):
5266  """add_to_derivative(Domain self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
5267  return _IMP_atom.Domain_add_to_derivative(self, a0, a1, a2)
5268 
5269 
5270  def set_is_optimized(self, a0, a1):
5271  """set_is_optimized(Domain self, FloatKey a0, bool a1)"""
5272  return _IMP_atom.Domain_set_is_optimized(self, a0, a1)
5273 
5274 
5275  def get_is_optimized(self, a0):
5276  """get_is_optimized(Domain self, FloatKey a0) -> bool"""
5277  return _IMP_atom.Domain_get_is_optimized(self, a0)
5278 
5279 
5280  def get_check_level(self):
5281  """get_check_level(Domain self) -> IMP::CheckLevel"""
5282  return _IMP_atom.Domain_get_check_level(self)
5283 
5284 
5285  def __eq__(self, *args):
5286  """
5287  __eq__(Domain self, Domain o) -> bool
5288  __eq__(Domain self, Particle d) -> bool
5289  """
5290  return _IMP_atom.Domain___eq__(self, *args)
5291 
5292 
5293  def __ne__(self, *args):
5294  """
5295  __ne__(Domain self, Domain o) -> bool
5296  __ne__(Domain self, Particle d) -> bool
5297  """
5298  return _IMP_atom.Domain___ne__(self, *args)
5299 
5300 
5301  def __le__(self, *args):
5302  """
5303  __le__(Domain self, Domain o) -> bool
5304  __le__(Domain self, Particle d) -> bool
5305  """
5306  return _IMP_atom.Domain___le__(self, *args)
5307 
5308 
5309  def __lt__(self, *args):
5310  """
5311  __lt__(Domain self, Domain o) -> bool
5312  __lt__(Domain self, Particle d) -> bool
5313  """
5314  return _IMP_atom.Domain___lt__(self, *args)
5315 
5316 
5317  def __ge__(self, *args):
5318  """
5319  __ge__(Domain self, Domain o) -> bool
5320  __ge__(Domain self, Particle d) -> bool
5321  """
5322  return _IMP_atom.Domain___ge__(self, *args)
5323 
5324 
5325  def __gt__(self, *args):
5326  """
5327  __gt__(Domain self, Domain o) -> bool
5328  __gt__(Domain self, Particle d) -> bool
5329  """
5330  return _IMP_atom.Domain___gt__(self, *args)
5331 
5332 
5333  def __hash__(self):
5334  """__hash__(Domain self) -> std::size_t"""
5335  return _IMP_atom.Domain___hash__(self)
5336 
5337 
5338  def __str__(self):
5339  """__str__(Domain self) -> std::string"""
5340  return _IMP_atom.Domain___str__(self)
5341 
5342 
5343  def __repr__(self):
5344  """__repr__(Domain self) -> std::string"""
5345  return _IMP_atom.Domain___repr__(self)
5346 
5347  __swig_destroy__ = _IMP_atom.delete_Domain
5348  __del__ = lambda self: None
5349 Domain_swigregister = _IMP_atom.Domain_swigregister
5350 Domain_swigregister(Domain)
5351 
5352 def Domain_get_is_setup(*args):
5353  """
5354  get_is_setup(Model m, ParticleIndex pi) -> bool
5355  Domain_get_is_setup(_ParticleAdaptor p) -> bool
5356  """
5357  return _IMP_atom.Domain_get_is_setup(*args)
5358 
5359 def Domain_setup_particle(*args):
5360  """
5361  setup_particle(Model m, ParticleIndex pi, Domain other) -> Domain
5362  setup_particle(_ParticleAdaptor decorator, Domain other) -> Domain
5363  setup_particle(Model m, ParticleIndex pi, IMP::IntRange residues) -> Domain
5364  Domain_setup_particle(_ParticleAdaptor decorator, IMP::IntRange residues) -> Domain
5365  """
5366  return _IMP_atom.Domain_setup_particle(*args)
5367 
5368 class LennardJones(IMP.core.XYZR):
5369  """Proxy of C++ IMP::atom::LennardJones class."""
5370 
5371  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5372 
5373  def __init__(self, *args):
5374  """
5375  __init__(IMP::atom::LennardJones self) -> LennardJones
5376  __init__(IMP::atom::LennardJones self, Model m, ParticleIndex id) -> LennardJones
5377  __init__(IMP::atom::LennardJones self, _ParticleAdaptor d) -> LennardJones
5378  """
5379  this = _IMP_atom.new_LennardJones(*args)
5380  try:
5381  self.this.append(this)
5382  except __builtin__.Exception:
5383  self.this = this
5384 
5385  def show(self, *args):
5386  """
5387  show(LennardJones self, _ostream out)
5388  show(LennardJones self)
5389  """
5390  return _IMP_atom.LennardJones_show(self, *args)
5391 
5392 
5393  def setup_particle(*args):
5394  """
5395  setup_particle(Model m, ParticleIndex pi) -> LennardJones
5396  setup_particle(_ParticleAdaptor decorator) -> LennardJones
5397  setup_particle(Model m, ParticleIndex pi, IMP::Float well_depth) -> LennardJones
5398  setup_particle(_ParticleAdaptor decorator, IMP::Float well_depth) -> LennardJones
5399  """
5400  return _IMP_atom.LennardJones_setup_particle(*args)
5401 
5402  setup_particle = staticmethod(setup_particle)
5403 
5404  def get_well_depth(self):
5405  """get_well_depth(LennardJones self) -> IMP::Float"""
5406  return _IMP_atom.LennardJones_get_well_depth(self)
5407 
5408 
5409  def set_well_depth(self, well_depth):
5410  """set_well_depth(LennardJones self, IMP::Float well_depth)"""
5411  return _IMP_atom.LennardJones_set_well_depth(self, well_depth)
5412 
5413 
5414  def get_is_setup(*args):
5415  """
5416  get_is_setup(_ParticleAdaptor p) -> bool
5417  get_is_setup(Model m, ParticleIndex pi) -> bool
5418  """
5419  return _IMP_atom.LennardJones_get_is_setup(*args)
5420 
5421  get_is_setup = staticmethod(get_is_setup)
5422 
5423  def get_well_depth_key():
5424  """get_well_depth_key() -> FloatKey"""
5425  return _IMP_atom.LennardJones_get_well_depth_key()
5426 
5427  get_well_depth_key = staticmethod(get_well_depth_key)
5428 
5429  def add_attribute(self, *args):
5430  """
5431  add_attribute(LennardJones self, FloatKey k, IMP::Float v, bool opt)
5432  add_attribute(LennardJones self, FloatKey a0, IMP::Float a1)
5433  add_attribute(LennardJones self, IntKey a0, IMP::Int a1)
5434  add_attribute(LennardJones self, StringKey a0, IMP::String a1)
5435  add_attribute(LennardJones self, ParticleIndexKey a0, Particle a1)
5436  add_attribute(LennardJones self, ObjectKey a0, Object a1)
5437  """
5438  return _IMP_atom.LennardJones_add_attribute(self, *args)
5439 
5440 
5441  def get_value(self, *args):
5442  """
5443  get_value(LennardJones self, FloatKey a0) -> IMP::Float
5444  get_value(LennardJones self, IntKey a0) -> IMP::Int
5445  get_value(LennardJones self, StringKey a0) -> IMP::String
5446  get_value(LennardJones self, ParticleIndexKey a0) -> Particle
5447  get_value(LennardJones self, ObjectKey a0) -> Object
5448  """
5449  return _IMP_atom.LennardJones_get_value(self, *args)
5450 
5451 
5452  def set_value(self, *args):
5453  """
5454  set_value(LennardJones self, FloatKey a0, IMP::Float a1)
5455  set_value(LennardJones self, IntKey a0, IMP::Int a1)
5456  set_value(LennardJones self, StringKey a0, IMP::String a1)
5457  set_value(LennardJones self, ParticleIndexKey a0, Particle a1)
5458  set_value(LennardJones self, ObjectKey a0, Object a1)
5459  """
5460  return _IMP_atom.LennardJones_set_value(self, *args)
5461 
5462 
5463  def remove_attribute(self, *args):
5464  """
5465  remove_attribute(LennardJones self, FloatKey a0)
5466  remove_attribute(LennardJones self, IntKey a0)
5467  remove_attribute(LennardJones self, StringKey a0)
5468  remove_attribute(LennardJones self, ParticleIndexKey a0)
5469  remove_attribute(LennardJones self, ObjectKey a0)
5470  """
5471  return _IMP_atom.LennardJones_remove_attribute(self, *args)
5472 
5473 
5474  def has_attribute(self, *args):
5475  """
5476  has_attribute(LennardJones self, FloatKey a0) -> bool
5477  has_attribute(LennardJones self, IntKey a0) -> bool
5478  has_attribute(LennardJones self, StringKey a0) -> bool
5479  has_attribute(LennardJones self, ParticleIndexKey a0) -> bool
5480  has_attribute(LennardJones self, ObjectKey a0) -> bool
5481  """
5482  return _IMP_atom.LennardJones_has_attribute(self, *args)
5483 
5484 
5485  def get_derivative(self, a0):
5486  """get_derivative(LennardJones self, FloatKey a0) -> double"""
5487  return _IMP_atom.LennardJones_get_derivative(self, a0)
5488 
5489 
5490  def get_name(self):
5491  """get_name(LennardJones self) -> std::string"""
5492  return _IMP_atom.LennardJones_get_name(self)
5493 
5494 
5495  def clear_caches(self):
5496  """clear_caches(LennardJones self)"""
5497  return _IMP_atom.LennardJones_clear_caches(self)
5498 
5499 
5500  def set_name(self, a0):
5501  """set_name(LennardJones self, std::string a0)"""
5502  return _IMP_atom.LennardJones_set_name(self, a0)
5503 
5504 
5505  def set_check_level(self, a0):
5506  """set_check_level(LennardJones self, IMP::CheckLevel a0)"""
5507  return _IMP_atom.LennardJones_set_check_level(self, a0)
5508 
5509 
5510  def add_to_derivative(self, a0, a1, a2):
5511  """add_to_derivative(LennardJones self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
5512  return _IMP_atom.LennardJones_add_to_derivative(self, a0, a1, a2)
5513 
5514 
5515  def set_is_optimized(self, a0, a1):
5516  """set_is_optimized(LennardJones self, FloatKey a0, bool a1)"""
5517  return _IMP_atom.LennardJones_set_is_optimized(self, a0, a1)
5518 
5519 
5520  def get_is_optimized(self, a0):
5521  """get_is_optimized(LennardJones self, FloatKey a0) -> bool"""
5522  return _IMP_atom.LennardJones_get_is_optimized(self, a0)
5523 
5524 
5525  def get_check_level(self):
5526  """get_check_level(LennardJones self) -> IMP::CheckLevel"""
5527  return _IMP_atom.LennardJones_get_check_level(self)
5528 
5529 
5530  def __eq__(self, *args):
5531  """
5532  __eq__(LennardJones self, LennardJones o) -> bool
5533  __eq__(LennardJones self, Particle d) -> bool
5534  """
5535  return _IMP_atom.LennardJones___eq__(self, *args)
5536 
5537 
5538  def __ne__(self, *args):
5539  """
5540  __ne__(LennardJones self, LennardJones o) -> bool
5541  __ne__(LennardJones self, Particle d) -> bool
5542  """
5543  return _IMP_atom.LennardJones___ne__(self, *args)
5544 
5545 
5546  def __le__(self, *args):
5547  """
5548  __le__(LennardJones self, LennardJones o) -> bool
5549  __le__(LennardJones self, Particle d) -> bool
5550  """
5551  return _IMP_atom.LennardJones___le__(self, *args)
5552 
5553 
5554  def __lt__(self, *args):
5555  """
5556  __lt__(LennardJones self, LennardJones o) -> bool
5557  __lt__(LennardJones self, Particle d) -> bool
5558  """
5559  return _IMP_atom.LennardJones___lt__(self, *args)
5560 
5561 
5562  def __ge__(self, *args):
5563  """
5564  __ge__(LennardJones self, LennardJones o) -> bool
5565  __ge__(LennardJones self, Particle d) -> bool
5566  """
5567  return _IMP_atom.LennardJones___ge__(self, *args)
5568 
5569 
5570  def __gt__(self, *args):
5571  """
5572  __gt__(LennardJones self, LennardJones o) -> bool
5573  __gt__(LennardJones self, Particle d) -> bool
5574  """
5575  return _IMP_atom.LennardJones___gt__(self, *args)
5576 
5577 
5578  def __hash__(self):
5579  """__hash__(LennardJones self) -> std::size_t"""
5580  return _IMP_atom.LennardJones___hash__(self)
5581 
5582 
5583  def __str__(self):
5584  """__str__(LennardJones self) -> std::string"""
5585  return _IMP_atom.LennardJones___str__(self)
5586 
5587 
5588  def __repr__(self):
5589  """__repr__(LennardJones self) -> std::string"""
5590  return _IMP_atom.LennardJones___repr__(self)
5591 
5592  __swig_destroy__ = _IMP_atom.delete_LennardJones
5593  __del__ = lambda self: None
5594 LennardJones_swigregister = _IMP_atom.LennardJones_swigregister
5595 LennardJones_swigregister(LennardJones)
5596 
5597 def LennardJones_setup_particle(*args):
5598  """
5599  setup_particle(Model m, ParticleIndex pi) -> LennardJones
5600  setup_particle(_ParticleAdaptor decorator) -> LennardJones
5601  setup_particle(Model m, ParticleIndex pi, IMP::Float well_depth) -> LennardJones
5602  LennardJones_setup_particle(_ParticleAdaptor decorator, IMP::Float well_depth) -> LennardJones
5603  """
5604  return _IMP_atom.LennardJones_setup_particle(*args)
5605 
5606 def LennardJones_get_is_setup(*args):
5607  """
5608  get_is_setup(_ParticleAdaptor p) -> bool
5609  LennardJones_get_is_setup(Model m, ParticleIndex pi) -> bool
5610  """
5611  return _IMP_atom.LennardJones_get_is_setup(*args)
5612 
5613 def LennardJones_get_well_depth_key():
5614  """LennardJones_get_well_depth_key() -> FloatKey"""
5615  return _IMP_atom.LennardJones_get_well_depth_key()
5616 
5617 class LennardJonesPairScore(IMP.PairScore):
5618  """Proxy of C++ IMP::atom::LennardJonesPairScore class."""
5619 
5620  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5621 
5622  def __init__(self, f):
5623  """__init__(IMP::atom::LennardJonesPairScore self, SmoothingFunction f) -> LennardJonesPairScore"""
5624  this = _IMP_atom.new_LennardJonesPairScore(f)
5625  try:
5626  self.this.append(this)
5627  except __builtin__.Exception:
5628  self.this = this
5629 
5630  def set_repulsive_weight(self, repulsive_weight):
5631  """set_repulsive_weight(LennardJonesPairScore self, double repulsive_weight)"""
5632  return _IMP_atom.LennardJonesPairScore_set_repulsive_weight(self, repulsive_weight)
5633 
5634 
5635  def get_repulsive_weight(self):
5636  """get_repulsive_weight(LennardJonesPairScore self) -> double"""
5637  return _IMP_atom.LennardJonesPairScore_get_repulsive_weight(self)
5638 
5639 
5640  def set_attractive_weight(self, attractive_weight):
5641  """set_attractive_weight(LennardJonesPairScore self, double attractive_weight)"""
5642  return _IMP_atom.LennardJonesPairScore_set_attractive_weight(self, attractive_weight)
5643 
5644 
5645  def get_attractive_weight(self):
5646  """get_attractive_weight(LennardJonesPairScore self) -> double"""
5647  return _IMP_atom.LennardJonesPairScore_get_attractive_weight(self)
5648 
5649 
5650  def do_get_inputs(self, m, pis):
5651  """do_get_inputs(LennardJonesPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5652  return _IMP_atom.LennardJonesPairScore_do_get_inputs(self, m, pis)
5653 
5654 
5655  def get_version_info(self):
5656  """get_version_info(LennardJonesPairScore self) -> VersionInfo"""
5657  return _IMP_atom.LennardJonesPairScore_get_version_info(self)
5658 
5659 
5660  def __str__(self):
5661  """__str__(LennardJonesPairScore self) -> std::string"""
5662  return _IMP_atom.LennardJonesPairScore___str__(self)
5663 
5664 
5665  def __repr__(self):
5666  """__repr__(LennardJonesPairScore self) -> std::string"""
5667  return _IMP_atom.LennardJonesPairScore___repr__(self)
5668 
5669 
5670  @staticmethod
5671  def get_from(o):
5672  return _object_cast_to_LennardJonesPairScore(o)
5673 
5674 LennardJonesPairScore_swigregister = _IMP_atom.LennardJonesPairScore_swigregister
5675 LennardJonesPairScore_swigregister(LennardJonesPairScore)
5676 
5677 class LinearVelocity(IMP.Decorator):
5678  """Proxy of C++ IMP::atom::LinearVelocity class."""
5679 
5680  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5681 
5682  def get_velocity_key(i):
5683  """get_velocity_key(unsigned int i) -> FloatKey"""
5684  return _IMP_atom.LinearVelocity_get_velocity_key(i)
5685 
5686  get_velocity_key = staticmethod(get_velocity_key)
5687 
5688  def __init__(self, *args):
5689  """
5690  __init__(IMP::atom::LinearVelocity self) -> LinearVelocity
5691  __init__(IMP::atom::LinearVelocity self, Model m, ParticleIndex id) -> LinearVelocity
5692  __init__(IMP::atom::LinearVelocity self, _ParticleAdaptor d) -> LinearVelocity
5693  """
5694  this = _IMP_atom.new_LinearVelocity(*args)
5695  try:
5696  self.this.append(this)
5697  except __builtin__.Exception:
5698  self.this = this
5699 
5700  def get_is_setup(*args):
5701  """
5702  get_is_setup(Model m, ParticleIndex pi) -> bool
5703  get_is_setup(_ParticleAdaptor p) -> bool
5704  """
5705  return _IMP_atom.LinearVelocity_get_is_setup(*args)
5706 
5707  get_is_setup = staticmethod(get_is_setup)
5708 
5709  def show(self, *args):
5710  """
5711  show(LinearVelocity self, _ostream out)
5712  show(LinearVelocity self)
5713  """
5714  return _IMP_atom.LinearVelocity_show(self, *args)
5715 
5716 
5717  def setup_particle(*args):
5718  """
5719  setup_particle(Model m, ParticleIndex pi) -> LinearVelocity
5720  setup_particle(_ParticleAdaptor decorator) -> LinearVelocity
5721  setup_particle(Model m, ParticleIndex pi, Vector3D v) -> LinearVelocity
5722  setup_particle(_ParticleAdaptor decorator, Vector3D v) -> LinearVelocity
5723  """
5724  return _IMP_atom.LinearVelocity_setup_particle(*args)
5725 
5726  setup_particle = staticmethod(setup_particle)
5727 
5728  def set_velocity(self, v):
5729  """set_velocity(LinearVelocity self, Vector3D v)"""
5730  return _IMP_atom.LinearVelocity_set_velocity(self, v)
5731 
5732 
5733  def get_velocity(self):
5734  """get_velocity(LinearVelocity self) -> Vector3D"""
5735  return _IMP_atom.LinearVelocity_get_velocity(self)
5736 
5737 
5738  def add_attribute(self, *args):
5739  """
5740  add_attribute(LinearVelocity self, FloatKey k, IMP::Float v, bool opt)
5741  add_attribute(LinearVelocity self, FloatKey a0, IMP::Float a1)
5742  add_attribute(LinearVelocity self, IntKey a0, IMP::Int a1)
5743  add_attribute(LinearVelocity self, StringKey a0, IMP::String a1)
5744  add_attribute(LinearVelocity self, ParticleIndexKey a0, Particle a1)
5745  add_attribute(LinearVelocity self, ObjectKey a0, Object a1)
5746  """
5747  return _IMP_atom.LinearVelocity_add_attribute(self, *args)
5748 
5749 
5750  def get_value(self, *args):
5751  """
5752  get_value(LinearVelocity self, FloatKey a0) -> IMP::Float
5753  get_value(LinearVelocity self, IntKey a0) -> IMP::Int
5754  get_value(LinearVelocity self, StringKey a0) -> IMP::String
5755  get_value(LinearVelocity self, ParticleIndexKey a0) -> Particle
5756  get_value(LinearVelocity self, ObjectKey a0) -> Object
5757  """
5758  return _IMP_atom.LinearVelocity_get_value(self, *args)
5759 
5760 
5761  def set_value(self, *args):
5762  """
5763  set_value(LinearVelocity self, FloatKey a0, IMP::Float a1)
5764  set_value(LinearVelocity self, IntKey a0, IMP::Int a1)
5765  set_value(LinearVelocity self, StringKey a0, IMP::String a1)
5766  set_value(LinearVelocity self, ParticleIndexKey a0, Particle a1)
5767  set_value(LinearVelocity self, ObjectKey a0, Object a1)
5768  """
5769  return _IMP_atom.LinearVelocity_set_value(self, *args)
5770 
5771 
5772  def remove_attribute(self, *args):
5773  """
5774  remove_attribute(LinearVelocity self, FloatKey a0)
5775  remove_attribute(LinearVelocity self, IntKey a0)
5776  remove_attribute(LinearVelocity self, StringKey a0)
5777  remove_attribute(LinearVelocity self, ParticleIndexKey a0)
5778  remove_attribute(LinearVelocity self, ObjectKey a0)
5779  """
5780  return _IMP_atom.LinearVelocity_remove_attribute(self, *args)
5781 
5782 
5783  def has_attribute(self, *args):
5784  """
5785  has_attribute(LinearVelocity self, FloatKey a0) -> bool
5786  has_attribute(LinearVelocity self, IntKey a0) -> bool
5787  has_attribute(LinearVelocity self, StringKey a0) -> bool
5788  has_attribute(LinearVelocity self, ParticleIndexKey a0) -> bool
5789  has_attribute(LinearVelocity self, ObjectKey a0) -> bool
5790  """
5791  return _IMP_atom.LinearVelocity_has_attribute(self, *args)
5792 
5793 
5794  def get_derivative(self, a0):
5795  """get_derivative(LinearVelocity self, FloatKey a0) -> double"""
5796  return _IMP_atom.LinearVelocity_get_derivative(self, a0)
5797 
5798 
5799  def get_name(self):
5800  """get_name(LinearVelocity self) -> std::string"""
5801  return _IMP_atom.LinearVelocity_get_name(self)
5802 
5803 
5804  def clear_caches(self):
5805  """clear_caches(LinearVelocity self)"""
5806  return _IMP_atom.LinearVelocity_clear_caches(self)
5807 
5808 
5809  def set_name(self, a0):
5810  """set_name(LinearVelocity self, std::string a0)"""
5811  return _IMP_atom.LinearVelocity_set_name(self, a0)
5812 
5813 
5814  def set_check_level(self, a0):
5815  """set_check_level(LinearVelocity self, IMP::CheckLevel a0)"""
5816  return _IMP_atom.LinearVelocity_set_check_level(self, a0)
5817 
5818 
5819  def add_to_derivative(self, a0, a1, a2):
5820  """add_to_derivative(LinearVelocity self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
5821  return _IMP_atom.LinearVelocity_add_to_derivative(self, a0, a1, a2)
5822 
5823 
5824  def set_is_optimized(self, a0, a1):
5825  """set_is_optimized(LinearVelocity self, FloatKey a0, bool a1)"""
5826  return _IMP_atom.LinearVelocity_set_is_optimized(self, a0, a1)
5827 
5828 
5829  def get_is_optimized(self, a0):
5830  """get_is_optimized(LinearVelocity self, FloatKey a0) -> bool"""
5831  return _IMP_atom.LinearVelocity_get_is_optimized(self, a0)
5832 
5833 
5834  def get_check_level(self):
5835  """get_check_level(LinearVelocity self) -> IMP::CheckLevel"""
5836  return _IMP_atom.LinearVelocity_get_check_level(self)
5837 
5838 
5839  def __eq__(self, *args):
5840  """
5841  __eq__(LinearVelocity self, LinearVelocity o) -> bool
5842  __eq__(LinearVelocity self, Particle d) -> bool
5843  """
5844  return _IMP_atom.LinearVelocity___eq__(self, *args)
5845 
5846 
5847  def __ne__(self, *args):
5848  """
5849  __ne__(LinearVelocity self, LinearVelocity o) -> bool
5850  __ne__(LinearVelocity self, Particle d) -> bool
5851  """
5852  return _IMP_atom.LinearVelocity___ne__(self, *args)
5853 
5854 
5855  def __le__(self, *args):
5856  """
5857  __le__(LinearVelocity self, LinearVelocity o) -> bool
5858  __le__(LinearVelocity self, Particle d) -> bool
5859  """
5860  return _IMP_atom.LinearVelocity___le__(self, *args)
5861 
5862 
5863  def __lt__(self, *args):
5864  """
5865  __lt__(LinearVelocity self, LinearVelocity o) -> bool
5866  __lt__(LinearVelocity self, Particle d) -> bool
5867  """
5868  return _IMP_atom.LinearVelocity___lt__(self, *args)
5869 
5870 
5871  def __ge__(self, *args):
5872  """
5873  __ge__(LinearVelocity self, LinearVelocity o) -> bool
5874  __ge__(LinearVelocity self, Particle d) -> bool
5875  """
5876  return _IMP_atom.LinearVelocity___ge__(self, *args)
5877 
5878 
5879  def __gt__(self, *args):
5880  """
5881  __gt__(LinearVelocity self, LinearVelocity o) -> bool
5882  __gt__(LinearVelocity self, Particle d) -> bool
5883  """
5884  return _IMP_atom.LinearVelocity___gt__(self, *args)
5885 
5886 
5887  def __hash__(self):
5888  """__hash__(LinearVelocity self) -> std::size_t"""
5889  return _IMP_atom.LinearVelocity___hash__(self)
5890 
5891 
5892  def __str__(self):
5893  """__str__(LinearVelocity self) -> std::string"""
5894  return _IMP_atom.LinearVelocity___str__(self)
5895 
5896 
5897  def __repr__(self):
5898  """__repr__(LinearVelocity self) -> std::string"""
5899  return _IMP_atom.LinearVelocity___repr__(self)
5900 
5901  __swig_destroy__ = _IMP_atom.delete_LinearVelocity
5902  __del__ = lambda self: None
5903 LinearVelocity_swigregister = _IMP_atom.LinearVelocity_swigregister
5904 LinearVelocity_swigregister(LinearVelocity)
5905 
5906 def LinearVelocity_get_velocity_key(i):
5907  """LinearVelocity_get_velocity_key(unsigned int i) -> FloatKey"""
5908  return _IMP_atom.LinearVelocity_get_velocity_key(i)
5909 
5910 def LinearVelocity_get_is_setup(*args):
5911  """
5912  get_is_setup(Model m, ParticleIndex pi) -> bool
5913  LinearVelocity_get_is_setup(_ParticleAdaptor p) -> bool
5914  """
5915  return _IMP_atom.LinearVelocity_get_is_setup(*args)
5916 
5917 def LinearVelocity_setup_particle(*args):
5918  """
5919  setup_particle(Model m, ParticleIndex pi) -> LinearVelocity
5920  setup_particle(_ParticleAdaptor decorator) -> LinearVelocity
5921  setup_particle(Model m, ParticleIndex pi, Vector3D v) -> LinearVelocity
5922  LinearVelocity_setup_particle(_ParticleAdaptor decorator, Vector3D v) -> LinearVelocity
5923  """
5924  return _IMP_atom.LinearVelocity_setup_particle(*args)
5925 
5926 class AngularVelocity(IMP.Decorator):
5927  """Proxy of C++ IMP::atom::AngularVelocity class."""
5928 
5929  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5930 
5931  def get_velocity_key(i):
5932  """get_velocity_key(unsigned int i) -> FloatKey"""
5933  return _IMP_atom.AngularVelocity_get_velocity_key(i)
5934 
5935  get_velocity_key = staticmethod(get_velocity_key)
5936 
5937  def __init__(self, *args):
5938  """
5939  __init__(IMP::atom::AngularVelocity self) -> AngularVelocity
5940  __init__(IMP::atom::AngularVelocity self, Model m, ParticleIndex id) -> AngularVelocity
5941  __init__(IMP::atom::AngularVelocity self, _ParticleAdaptor d) -> AngularVelocity
5942  """
5943  this = _IMP_atom.new_AngularVelocity(*args)
5944  try:
5945  self.this.append(this)
5946  except __builtin__.Exception:
5947  self.this = this
5948 
5949  def get_is_setup(*args):
5950  """
5951  get_is_setup(Model m, ParticleIndex pi) -> bool
5952  get_is_setup(_ParticleAdaptor p) -> bool
5953  """
5954  return _IMP_atom.AngularVelocity_get_is_setup(*args)
5955 
5956  get_is_setup = staticmethod(get_is_setup)
5957 
5958  def show(self, *args):
5959  """
5960  show(AngularVelocity self, _ostream out)
5961  show(AngularVelocity self)
5962  """
5963  return _IMP_atom.AngularVelocity_show(self, *args)
5964 
5965 
5966  def setup_particle(*args):
5967  """
5968  setup_particle(Model m, ParticleIndex pi) -> AngularVelocity
5969  setup_particle(_ParticleAdaptor decorator) -> AngularVelocity
5970  setup_particle(Model m, ParticleIndex pi, Vector4D v) -> AngularVelocity
5971  setup_particle(_ParticleAdaptor decorator, Vector4D v) -> AngularVelocity
5972  """
5973  return _IMP_atom.AngularVelocity_setup_particle(*args)
5974 
5975  setup_particle = staticmethod(setup_particle)
5976 
5977  def set_velocity(self, v):
5978  """set_velocity(AngularVelocity self, Vector4D v)"""
5979  return _IMP_atom.AngularVelocity_set_velocity(self, v)
5980 
5981 
5982  def get_velocity(self):
5983  """get_velocity(AngularVelocity self) -> Vector4D"""
5984  return _IMP_atom.AngularVelocity_get_velocity(self)
5985 
5986 
5987  def add_attribute(self, *args):
5988  """
5989  add_attribute(AngularVelocity self, FloatKey k, IMP::Float v, bool opt)
5990  add_attribute(AngularVelocity self, FloatKey a0, IMP::Float a1)
5991  add_attribute(AngularVelocity self, IntKey a0, IMP::Int a1)
5992  add_attribute(AngularVelocity self, StringKey a0, IMP::String a1)
5993  add_attribute(AngularVelocity self, ParticleIndexKey a0, Particle a1)
5994  add_attribute(AngularVelocity self, ObjectKey a0, Object a1)
5995  """
5996  return _IMP_atom.AngularVelocity_add_attribute(self, *args)
5997 
5998 
5999  def get_value(self, *args):
6000  """
6001  get_value(AngularVelocity self, FloatKey a0) -> IMP::Float
6002  get_value(AngularVelocity self, IntKey a0) -> IMP::Int
6003  get_value(AngularVelocity self, StringKey a0) -> IMP::String
6004  get_value(AngularVelocity self, ParticleIndexKey a0) -> Particle
6005  get_value(AngularVelocity self, ObjectKey a0) -> Object
6006  """
6007  return _IMP_atom.AngularVelocity_get_value(self, *args)
6008 
6009 
6010  def set_value(self, *args):
6011  """
6012  set_value(AngularVelocity self, FloatKey a0, IMP::Float a1)
6013  set_value(AngularVelocity self, IntKey a0, IMP::Int a1)
6014  set_value(AngularVelocity self, StringKey a0, IMP::String a1)
6015  set_value(AngularVelocity self, ParticleIndexKey a0, Particle a1)
6016  set_value(AngularVelocity self, ObjectKey a0, Object a1)
6017  """
6018  return _IMP_atom.AngularVelocity_set_value(self, *args)
6019 
6020 
6021  def remove_attribute(self, *args):
6022  """
6023  remove_attribute(AngularVelocity self, FloatKey a0)
6024  remove_attribute(AngularVelocity self, IntKey a0)
6025  remove_attribute(AngularVelocity self, StringKey a0)
6026  remove_attribute(AngularVelocity self, ParticleIndexKey a0)
6027  remove_attribute(AngularVelocity self, ObjectKey a0)
6028  """
6029  return _IMP_atom.AngularVelocity_remove_attribute(self, *args)
6030 
6031 
6032  def has_attribute(self, *args):
6033  """
6034  has_attribute(AngularVelocity self, FloatKey a0) -> bool
6035  has_attribute(AngularVelocity self, IntKey a0) -> bool
6036  has_attribute(AngularVelocity self, StringKey a0) -> bool
6037  has_attribute(AngularVelocity self, ParticleIndexKey a0) -> bool
6038  has_attribute(AngularVelocity self, ObjectKey a0) -> bool
6039  """
6040  return _IMP_atom.AngularVelocity_has_attribute(self, *args)
6041 
6042 
6043  def get_derivative(self, a0):
6044  """get_derivative(AngularVelocity self, FloatKey a0) -> double"""
6045  return _IMP_atom.AngularVelocity_get_derivative(self, a0)
6046 
6047 
6048  def get_name(self):
6049  """get_name(AngularVelocity self) -> std::string"""
6050  return _IMP_atom.AngularVelocity_get_name(self)
6051 
6052 
6053  def clear_caches(self):
6054  """clear_caches(AngularVelocity self)"""
6055  return _IMP_atom.AngularVelocity_clear_caches(self)
6056 
6057 
6058  def set_name(self, a0):
6059  """set_name(AngularVelocity self, std::string a0)"""
6060  return _IMP_atom.AngularVelocity_set_name(self, a0)
6061 
6062 
6063  def set_check_level(self, a0):
6064  """set_check_level(AngularVelocity self, IMP::CheckLevel a0)"""
6065  return _IMP_atom.AngularVelocity_set_check_level(self, a0)
6066 
6067 
6068  def add_to_derivative(self, a0, a1, a2):
6069  """add_to_derivative(AngularVelocity self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
6070  return _IMP_atom.AngularVelocity_add_to_derivative(self, a0, a1, a2)
6071 
6072 
6073  def set_is_optimized(self, a0, a1):
6074  """set_is_optimized(AngularVelocity self, FloatKey a0, bool a1)"""
6075  return _IMP_atom.AngularVelocity_set_is_optimized(self, a0, a1)
6076 
6077 
6078  def get_is_optimized(self, a0):
6079  """get_is_optimized(AngularVelocity self, FloatKey a0) -> bool"""
6080  return _IMP_atom.AngularVelocity_get_is_optimized(self, a0)
6081 
6082 
6083  def get_check_level(self):
6084  """get_check_level(AngularVelocity self) -> IMP::CheckLevel"""
6085  return _IMP_atom.AngularVelocity_get_check_level(self)
6086 
6087 
6088  def __eq__(self, *args):
6089  """
6090  __eq__(AngularVelocity self, AngularVelocity o) -> bool
6091  __eq__(AngularVelocity self, Particle d) -> bool
6092  """
6093  return _IMP_atom.AngularVelocity___eq__(self, *args)
6094 
6095 
6096  def __ne__(self, *args):
6097  """
6098  __ne__(AngularVelocity self, AngularVelocity o) -> bool
6099  __ne__(AngularVelocity self, Particle d) -> bool
6100  """
6101  return _IMP_atom.AngularVelocity___ne__(self, *args)
6102 
6103 
6104  def __le__(self, *args):
6105  """
6106  __le__(AngularVelocity self, AngularVelocity o) -> bool
6107  __le__(AngularVelocity self, Particle d) -> bool
6108  """
6109  return _IMP_atom.AngularVelocity___le__(self, *args)
6110 
6111 
6112  def __lt__(self, *args):
6113  """
6114  __lt__(AngularVelocity self, AngularVelocity o) -> bool
6115  __lt__(AngularVelocity self, Particle d) -> bool
6116  """
6117  return _IMP_atom.AngularVelocity___lt__(self, *args)
6118 
6119 
6120  def __ge__(self, *args):
6121  """
6122  __ge__(AngularVelocity self, AngularVelocity o) -> bool
6123  __ge__(AngularVelocity self, Particle d) -> bool
6124  """
6125  return _IMP_atom.AngularVelocity___ge__(self, *args)
6126 
6127 
6128  def __gt__(self, *args):
6129  """
6130  __gt__(AngularVelocity self, AngularVelocity o) -> bool
6131  __gt__(AngularVelocity self, Particle d) -> bool
6132  """
6133  return _IMP_atom.AngularVelocity___gt__(self, *args)
6134 
6135 
6136  def __hash__(self):
6137  """__hash__(AngularVelocity self) -> std::size_t"""
6138  return _IMP_atom.AngularVelocity___hash__(self)
6139 
6140 
6141  def __str__(self):
6142  """__str__(AngularVelocity self) -> std::string"""
6143  return _IMP_atom.AngularVelocity___str__(self)
6144 
6145 
6146  def __repr__(self):
6147  """__repr__(AngularVelocity self) -> std::string"""
6148  return _IMP_atom.AngularVelocity___repr__(self)
6149 
6150  __swig_destroy__ = _IMP_atom.delete_AngularVelocity
6151  __del__ = lambda self: None
6152 AngularVelocity_swigregister = _IMP_atom.AngularVelocity_swigregister
6153 AngularVelocity_swigregister(AngularVelocity)
6154 
6155 def AngularVelocity_get_velocity_key(i):
6156  """AngularVelocity_get_velocity_key(unsigned int i) -> FloatKey"""
6157  return _IMP_atom.AngularVelocity_get_velocity_key(i)
6158 
6159 def AngularVelocity_get_is_setup(*args):
6160  """
6161  get_is_setup(Model m, ParticleIndex pi) -> bool
6162  AngularVelocity_get_is_setup(_ParticleAdaptor p) -> bool
6163  """
6164  return _IMP_atom.AngularVelocity_get_is_setup(*args)
6165 
6166 def AngularVelocity_setup_particle(*args):
6167  """
6168  setup_particle(Model m, ParticleIndex pi) -> AngularVelocity
6169  setup_particle(_ParticleAdaptor decorator) -> AngularVelocity
6170  setup_particle(Model m, ParticleIndex pi, Vector4D v) -> AngularVelocity
6171  AngularVelocity_setup_particle(_ParticleAdaptor decorator, Vector4D v) -> AngularVelocity
6172  """
6173  return _IMP_atom.AngularVelocity_setup_particle(*args)
6174 
6175 class MolecularDynamics(Simulator):
6176  """Proxy of C++ IMP::atom::MolecularDynamics class."""
6177 
6178  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6179 
6180  def __init__(self, m):
6181  """__init__(IMP::atom::MolecularDynamics self, Model m) -> MolecularDynamics"""
6182  this = _IMP_atom.new_MolecularDynamics(m)
6183  try:
6184  self.this.append(this)
6185  except __builtin__.Exception:
6186  self.this = this
6187 
6188  def get_kinetic_energy(self):
6189  """get_kinetic_energy(MolecularDynamics self) -> IMP::Float"""
6190  return _IMP_atom.MolecularDynamics_get_kinetic_energy(self)
6191 
6192 
6193  def get_kinetic_temperature(self, ekinetic):
6194  """get_kinetic_temperature(MolecularDynamics self, IMP::Float ekinetic) -> IMP::Float"""
6195  return _IMP_atom.MolecularDynamics_get_kinetic_temperature(self, ekinetic)
6196 
6197 
6198  def set_velocity_cap(self, velocity_cap):
6199  """set_velocity_cap(MolecularDynamics self, IMP::Float velocity_cap)"""
6200  return _IMP_atom.MolecularDynamics_set_velocity_cap(self, velocity_cap)
6201 
6202 
6203  def assign_velocities(self, temperature):
6204  """assign_velocities(MolecularDynamics self, IMP::Float temperature)"""
6205  return _IMP_atom.MolecularDynamics_assign_velocities(self, temperature)
6206 
6207 
6208  def setup(self, ps):
6209  """setup(MolecularDynamics self, IMP::ParticleIndexes const & ps)"""
6210  return _IMP_atom.MolecularDynamics_setup(self, ps)
6211 
6212 
6213  def do_step(self, sc, dt):
6214  """do_step(MolecularDynamics self, IMP::ParticleIndexes const & sc, double dt) -> double"""
6215  return _IMP_atom.MolecularDynamics_do_step(self, sc, dt)
6216 
6217 
6218  def get_is_simulation_particle(self, p):
6219  """get_is_simulation_particle(MolecularDynamics self, ParticleIndex p) -> bool"""
6220  return _IMP_atom.MolecularDynamics_get_is_simulation_particle(self, p)
6221 
6222 
6223  def get_version_info(self):
6224  """get_version_info(MolecularDynamics self) -> VersionInfo"""
6225  return _IMP_atom.MolecularDynamics_get_version_info(self)
6226 
6227 
6228  def __str__(self):
6229  """__str__(MolecularDynamics self) -> std::string"""
6230  return _IMP_atom.MolecularDynamics___str__(self)
6231 
6232 
6233  def __repr__(self):
6234  """__repr__(MolecularDynamics self) -> std::string"""
6235  return _IMP_atom.MolecularDynamics___repr__(self)
6236 
6237 
6238  @staticmethod
6239  def get_from(o):
6240  return _object_cast_to_MolecularDynamics(o)
6241 
6242 MolecularDynamics_swigregister = _IMP_atom.MolecularDynamics_swigregister
6243 MolecularDynamics_swigregister(MolecularDynamics)
6244 
6245 class VelocityScalingOptimizerState(IMP.OptimizerState):
6246  """Proxy of C++ IMP::atom::VelocityScalingOptimizerState class."""
6247 
6248  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6249 
6250  def __init__(self, m, pis, temperature):
6251  """__init__(IMP::atom::VelocityScalingOptimizerState self, Model m, _ParticleIndexesAdaptor pis, double temperature) -> VelocityScalingOptimizerState"""
6252  this = _IMP_atom.new_VelocityScalingOptimizerState(m, pis, temperature)
6253  try:
6254  self.this.append(this)
6255  except __builtin__.Exception:
6256  self.this = this
6257 
6258  def set_particles(self, pis):
6259  """set_particles(VelocityScalingOptimizerState self, IMP::Particles const & pis)"""
6260  return _IMP_atom.VelocityScalingOptimizerState_set_particles(self, pis)
6261 
6262 
6263  def set_temperature(self, temperature):
6264  """set_temperature(VelocityScalingOptimizerState self, IMP::Float temperature)"""
6265  return _IMP_atom.VelocityScalingOptimizerState_set_temperature(self, temperature)
6266 
6267 
6268  def rescale_velocities(self):
6269  """rescale_velocities(VelocityScalingOptimizerState self)"""
6270  return _IMP_atom.VelocityScalingOptimizerState_rescale_velocities(self)
6271 
6272 
6273  def get_version_info(self):
6274  """get_version_info(VelocityScalingOptimizerState self) -> VersionInfo"""
6275  return _IMP_atom.VelocityScalingOptimizerState_get_version_info(self)
6276 
6277 
6278  def __str__(self):
6279  """__str__(VelocityScalingOptimizerState self) -> std::string"""
6280  return _IMP_atom.VelocityScalingOptimizerState___str__(self)
6281 
6282 
6283  def __repr__(self):
6284  """__repr__(VelocityScalingOptimizerState self) -> std::string"""
6285  return _IMP_atom.VelocityScalingOptimizerState___repr__(self)
6286 
6287 
6288  @staticmethod
6289  def get_from(o):
6290  return _object_cast_to_VelocityScalingOptimizerState(o)
6291 
6292 VelocityScalingOptimizerState_swigregister = _IMP_atom.VelocityScalingOptimizerState_swigregister
6293 VelocityScalingOptimizerState_swigregister(VelocityScalingOptimizerState)
6294 
6295 class Fragment(Hierarchy):
6296  """Proxy of C++ IMP::atom::Fragment class."""
6297 
6298  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6299 
6300  def set_residue_indexes(self, o):
6301  """set_residue_indexes(Fragment self, IMP::Ints o)"""
6302  return _IMP_atom.Fragment_set_residue_indexes(self, o)
6303 
6304 
6305  def get_residue_indexes(self):
6306  """get_residue_indexes(Fragment self) -> IMP::Ints"""
6307  return _IMP_atom.Fragment_get_residue_indexes(self)
6308 
6309 
6310  def get_contains_residue(self, rindex):
6311  """get_contains_residue(Fragment self, int rindex) -> bool"""
6312  return _IMP_atom.Fragment_get_contains_residue(self, rindex)
6313 
6314 
6315  def __init__(self, *args):
6316  """
6317  __init__(IMP::atom::Fragment self) -> Fragment
6318  __init__(IMP::atom::Fragment self, Model m, ParticleIndex id) -> Fragment
6319  __init__(IMP::atom::Fragment self, _ParticleAdaptor d) -> Fragment
6320  """
6321  this = _IMP_atom.new_Fragment(*args)
6322  try:
6323  self.this.append(this)
6324  except __builtin__.Exception:
6325  self.this = this
6326 
6327  def get_is_setup(*args):
6328  """
6329  get_is_setup(Model m, ParticleIndex pi) -> bool
6330  get_is_setup(_ParticleAdaptor p) -> bool
6331  """
6332  return _IMP_atom.Fragment_get_is_setup(*args)
6333 
6334  get_is_setup = staticmethod(get_is_setup)
6335 
6336  def show(self, *args):
6337  """
6338  show(Fragment self, _ostream out)
6339  show(Fragment self)
6340  """
6341  return _IMP_atom.Fragment_show(self, *args)
6342 
6343 
6344  def setup_particle(*args):
6345  """
6346  setup_particle(Model m, ParticleIndex pi) -> Fragment
6347  setup_particle(_ParticleAdaptor decorator) -> Fragment
6348  setup_particle(Model m, ParticleIndex pi, Fragment other) -> Fragment
6349  setup_particle(_ParticleAdaptor decorator, Fragment other) -> Fragment
6350  setup_particle(Model m, ParticleIndex pi, IMP::Ints residue_indexes) -> Fragment
6351  setup_particle(_ParticleAdaptor decorator, IMP::Ints residue_indexes) -> Fragment
6352  """
6353  return _IMP_atom.Fragment_setup_particle(*args)
6354 
6355  setup_particle = staticmethod(setup_particle)
6356 
6357  def add_attribute(self, *args):
6358  """
6359  add_attribute(Fragment self, FloatKey k, IMP::Float v, bool opt)
6360  add_attribute(Fragment self, FloatKey a0, IMP::Float a1)
6361  add_attribute(Fragment self, IntKey a0, IMP::Int a1)
6362  add_attribute(Fragment self, StringKey a0, IMP::String a1)
6363  add_attribute(Fragment self, ParticleIndexKey a0, Particle a1)
6364  add_attribute(Fragment self, ObjectKey a0, Object a1)
6365  """
6366  return _IMP_atom.Fragment_add_attribute(self, *args)
6367 
6368 
6369  def get_value(self, *args):
6370  """
6371  get_value(Fragment self, FloatKey a0) -> IMP::Float
6372  get_value(Fragment self, IntKey a0) -> IMP::Int
6373  get_value(Fragment self, StringKey a0) -> IMP::String
6374  get_value(Fragment self, ParticleIndexKey a0) -> Particle
6375  get_value(Fragment self, ObjectKey a0) -> Object
6376  """
6377  return _IMP_atom.Fragment_get_value(self, *args)
6378 
6379 
6380  def set_value(self, *args):
6381  """
6382  set_value(Fragment self, FloatKey a0, IMP::Float a1)
6383  set_value(Fragment self, IntKey a0, IMP::Int a1)
6384  set_value(Fragment self, StringKey a0, IMP::String a1)
6385  set_value(Fragment self, ParticleIndexKey a0, Particle a1)
6386  set_value(Fragment self, ObjectKey a0, Object a1)
6387  """
6388  return _IMP_atom.Fragment_set_value(self, *args)
6389 
6390 
6391  def remove_attribute(self, *args):
6392  """
6393  remove_attribute(Fragment self, FloatKey a0)
6394  remove_attribute(Fragment self, IntKey a0)
6395  remove_attribute(Fragment self, StringKey a0)
6396  remove_attribute(Fragment self, ParticleIndexKey a0)
6397  remove_attribute(Fragment self, ObjectKey a0)
6398  """
6399  return _IMP_atom.Fragment_remove_attribute(self, *args)
6400 
6401 
6402  def has_attribute(self, *args):
6403  """
6404  has_attribute(Fragment self, FloatKey a0) -> bool
6405  has_attribute(Fragment self, IntKey a0) -> bool
6406  has_attribute(Fragment self, StringKey a0) -> bool
6407  has_attribute(Fragment self, ParticleIndexKey a0) -> bool
6408  has_attribute(Fragment self, ObjectKey a0) -> bool
6409  """
6410  return _IMP_atom.Fragment_has_attribute(self, *args)
6411 
6412 
6413  def get_derivative(self, a0):
6414  """get_derivative(Fragment self, FloatKey a0) -> double"""
6415  return _IMP_atom.Fragment_get_derivative(self, a0)
6416 
6417 
6418  def get_name(self):
6419  """get_name(Fragment self) -> std::string"""
6420  return _IMP_atom.Fragment_get_name(self)
6421 
6422 
6423  def clear_caches(self):
6424  """clear_caches(Fragment self)"""
6425  return _IMP_atom.Fragment_clear_caches(self)
6426 
6427 
6428  def set_name(self, a0):
6429  """set_name(Fragment self, std::string a0)"""
6430  return _IMP_atom.Fragment_set_name(self, a0)
6431 
6432 
6433  def set_check_level(self, a0):
6434  """set_check_level(Fragment self, IMP::CheckLevel a0)"""
6435  return _IMP_atom.Fragment_set_check_level(self, a0)
6436 
6437 
6438  def add_to_derivative(self, a0, a1, a2):
6439  """add_to_derivative(Fragment self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
6440  return _IMP_atom.Fragment_add_to_derivative(self, a0, a1, a2)
6441 
6442 
6443  def set_is_optimized(self, a0, a1):
6444  """set_is_optimized(Fragment self, FloatKey a0, bool a1)"""
6445  return _IMP_atom.Fragment_set_is_optimized(self, a0, a1)
6446 
6447 
6448  def get_is_optimized(self, a0):
6449  """get_is_optimized(Fragment self, FloatKey a0) -> bool"""
6450  return _IMP_atom.Fragment_get_is_optimized(self, a0)
6451 
6452 
6453  def get_check_level(self):
6454  """get_check_level(Fragment self) -> IMP::CheckLevel"""
6455  return _IMP_atom.Fragment_get_check_level(self)
6456 
6457 
6458  def __eq__(self, *args):
6459  """
6460  __eq__(Fragment self, Fragment o) -> bool
6461  __eq__(Fragment self, Particle d) -> bool
6462  """
6463  return _IMP_atom.Fragment___eq__(self, *args)
6464 
6465 
6466  def __ne__(self, *args):
6467  """
6468  __ne__(Fragment self, Fragment o) -> bool
6469  __ne__(Fragment self, Particle d) -> bool
6470  """
6471  return _IMP_atom.Fragment___ne__(self, *args)
6472 
6473 
6474  def __le__(self, *args):
6475  """
6476  __le__(Fragment self, Fragment o) -> bool
6477  __le__(Fragment self, Particle d) -> bool
6478  """
6479  return _IMP_atom.Fragment___le__(self, *args)
6480 
6481 
6482  def __lt__(self, *args):
6483  """
6484  __lt__(Fragment self, Fragment o) -> bool
6485  __lt__(Fragment self, Particle d) -> bool
6486  """
6487  return _IMP_atom.Fragment___lt__(self, *args)
6488 
6489 
6490  def __ge__(self, *args):
6491  """
6492  __ge__(Fragment self, Fragment o) -> bool
6493  __ge__(Fragment self, Particle d) -> bool
6494  """
6495  return _IMP_atom.Fragment___ge__(self, *args)
6496 
6497 
6498  def __gt__(self, *args):
6499  """
6500  __gt__(Fragment self, Fragment o) -> bool
6501  __gt__(Fragment self, Particle d) -> bool
6502  """
6503  return _IMP_atom.Fragment___gt__(self, *args)
6504 
6505 
6506  def __hash__(self):
6507  """__hash__(Fragment self) -> std::size_t"""
6508  return _IMP_atom.Fragment___hash__(self)
6509 
6510 
6511  def __str__(self):
6512  """__str__(Fragment self) -> std::string"""
6513  return _IMP_atom.Fragment___str__(self)
6514 
6515 
6516  def __repr__(self):
6517  """__repr__(Fragment self) -> std::string"""
6518  return _IMP_atom.Fragment___repr__(self)
6519 
6520  __swig_destroy__ = _IMP_atom.delete_Fragment
6521  __del__ = lambda self: None
6522 Fragment_swigregister = _IMP_atom.Fragment_swigregister
6523 Fragment_swigregister(Fragment)
6524 
6525 def Fragment_get_is_setup(*args):
6526  """
6527  get_is_setup(Model m, ParticleIndex pi) -> bool
6528  Fragment_get_is_setup(_ParticleAdaptor p) -> bool
6529  """
6530  return _IMP_atom.Fragment_get_is_setup(*args)
6531 
6532 def Fragment_setup_particle(*args):
6533  """
6534  setup_particle(Model m, ParticleIndex pi) -> Fragment
6535  setup_particle(_ParticleAdaptor decorator) -> Fragment
6536  setup_particle(Model m, ParticleIndex pi, Fragment other) -> Fragment
6537  setup_particle(_ParticleAdaptor decorator, Fragment other) -> Fragment
6538  setup_particle(Model m, ParticleIndex pi, IMP::Ints residue_indexes) -> Fragment
6539  Fragment_setup_particle(_ParticleAdaptor decorator, IMP::Ints residue_indexes) -> Fragment
6540  """
6541  return _IMP_atom.Fragment_setup_particle(*args)
6542 
6543 class StereochemistryPairFilter(IMP.PairPredicate):
6544  """Proxy of C++ IMP::atom::StereochemistryPairFilter class."""
6545 
6546  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6547 
6548  def __init__(self):
6549  """__init__(IMP::atom::StereochemistryPairFilter self) -> StereochemistryPairFilter"""
6550  this = _IMP_atom.new_StereochemistryPairFilter()
6551  try:
6552  self.this.append(this)
6553  except __builtin__.Exception:
6554  self.this = this
6555 
6556  def set_bonds(self, bonds):
6557  """set_bonds(StereochemistryPairFilter self, IMP::Particles const & bonds)"""
6558  return _IMP_atom.StereochemistryPairFilter_set_bonds(self, bonds)
6559 
6560 
6561  def set_angles(self, angles):
6562  """set_angles(StereochemistryPairFilter self, IMP::Particles const & angles)"""
6563  return _IMP_atom.StereochemistryPairFilter_set_angles(self, angles)
6564 
6565 
6566  def set_dihedrals(self, dihedrals):
6567  """set_dihedrals(StereochemistryPairFilter self, IMP::Particles const & dihedrals)"""
6568  return _IMP_atom.StereochemistryPairFilter_set_dihedrals(self, dihedrals)
6569 
6570 
6571  def do_get_inputs(self, m, pis):
6572  """do_get_inputs(StereochemistryPairFilter self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
6573  return _IMP_atom.StereochemistryPairFilter_do_get_inputs(self, m, pis)
6574 
6575 
6576  def get_value(self, *args):
6577  """
6578  get_value(StereochemistryPairFilter self, IMP::ParticlePair const & a) -> int
6579  get_value(StereochemistryPairFilter self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
6580  """
6581  return _IMP_atom.StereochemistryPairFilter_get_value(self, *args)
6582 
6583 
6584  def get_value_index(self, *args):
6585  """
6586  get_value_index(StereochemistryPairFilter self, Model m, IMP::ParticleIndexPair const & p) -> int
6587  get_value_index(StereochemistryPairFilter self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
6588  """
6589  return _IMP_atom.StereochemistryPairFilter_get_value_index(self, *args)
6590 
6591 
6592  def get_version_info(self):
6593  """get_version_info(StereochemistryPairFilter self) -> VersionInfo"""
6594  return _IMP_atom.StereochemistryPairFilter_get_version_info(self)
6595 
6596 
6597  def __str__(self):
6598  """__str__(StereochemistryPairFilter self) -> std::string"""
6599  return _IMP_atom.StereochemistryPairFilter___str__(self)
6600 
6601 
6602  def __repr__(self):
6603  """__repr__(StereochemistryPairFilter self) -> std::string"""
6604  return _IMP_atom.StereochemistryPairFilter___repr__(self)
6605 
6606 
6607  @staticmethod
6608  def get_from(o):
6609  return _object_cast_to_StereochemistryPairFilter(o)
6610 
6611 StereochemistryPairFilter_swigregister = _IMP_atom.StereochemistryPairFilter_swigregister
6612 StereochemistryPairFilter_swigregister(StereochemistryPairFilter)
6613 
6614 class SoapPairFilter(IMP.PairPredicate):
6615  """Proxy of C++ IMP::atom::SoapPairFilter class."""
6616 
6617  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6618 
6619  def __init__(self, library):
6620  """__init__(IMP::atom::SoapPairFilter self, std::string library) -> SoapPairFilter"""
6621  this = _IMP_atom.new_SoapPairFilter(library)
6622  try:
6623  self.this.append(this)
6624  except __builtin__.Exception:
6625  self.this = this
6626 
6627  def do_get_inputs(self, m, pis):
6628  """do_get_inputs(SoapPairFilter self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
6629  return _IMP_atom.SoapPairFilter_do_get_inputs(self, m, pis)
6630 
6631 
6632  def get_value(self, *args):
6633  """
6634  get_value(SoapPairFilter self, IMP::ParticlePair const & a) -> int
6635  get_value(SoapPairFilter self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
6636  """
6637  return _IMP_atom.SoapPairFilter_get_value(self, *args)
6638 
6639 
6640  def get_value_index(self, *args):
6641  """
6642  get_value_index(SoapPairFilter self, Model m, IMP::ParticleIndexPair const & p) -> int
6643  get_value_index(SoapPairFilter self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
6644  """
6645  return _IMP_atom.SoapPairFilter_get_value_index(self, *args)
6646 
6647 
6648  def get_version_info(self):
6649  """get_version_info(SoapPairFilter self) -> VersionInfo"""
6650  return _IMP_atom.SoapPairFilter_get_version_info(self)
6651 
6652 
6653  def __str__(self):
6654  """__str__(SoapPairFilter self) -> std::string"""
6655  return _IMP_atom.SoapPairFilter___str__(self)
6656 
6657 
6658  def __repr__(self):
6659  """__repr__(SoapPairFilter self) -> std::string"""
6660  return _IMP_atom.SoapPairFilter___repr__(self)
6661 
6662 
6663  @staticmethod
6664  def get_from(o):
6665  return _object_cast_to_SoapPairFilter(o)
6666 
6667 SoapPairFilter_swigregister = _IMP_atom.SoapPairFilter_swigregister
6668 SoapPairFilter_swigregister(SoapPairFilter)
6669 
6670 class Mass(IMP.Decorator):
6671  """Proxy of C++ IMP::atom::Mass class."""
6672 
6673  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6674 
6675  def get_mass(self):
6676  """get_mass(Mass self) -> IMP::Float"""
6677  return _IMP_atom.Mass_get_mass(self)
6678 
6679 
6680  def set_mass(self, d):
6681  """set_mass(Mass self, IMP::Float d)"""
6682  return _IMP_atom.Mass_set_mass(self, d)
6683 
6684 
6685  def __init__(self, *args):
6686  """
6687  __init__(IMP::atom::Mass self) -> Mass
6688  __init__(IMP::atom::Mass self, Model m, ParticleIndex id) -> Mass
6689  __init__(IMP::atom::Mass self, _ParticleAdaptor d) -> Mass
6690  """
6691  this = _IMP_atom.new_Mass(*args)
6692  try:
6693  self.this.append(this)
6694  except __builtin__.Exception:
6695  self.this = this
6696 
6697  def get_is_setup(*args):
6698  """
6699  get_is_setup(Model m, ParticleIndex pi) -> bool
6700  get_is_setup(_ParticleAdaptor p) -> bool
6701  """
6702  return _IMP_atom.Mass_get_is_setup(*args)
6703 
6704  get_is_setup = staticmethod(get_is_setup)
6705 
6706  def show(self, *args):
6707  """
6708  show(Mass self, _ostream out)
6709  show(Mass self)
6710  """
6711  return _IMP_atom.Mass_show(self, *args)
6712 
6713 
6714  def setup_particle(*args):
6715  """
6716  setup_particle(Model m, ParticleIndex pi, IMP::Float mass) -> Mass
6717  setup_particle(_ParticleAdaptor decorator, IMP::Float mass) -> Mass
6718  setup_particle(Model m, ParticleIndex pi, Mass other) -> Mass
6719  setup_particle(_ParticleAdaptor decorator, Mass other) -> Mass
6720  """
6721  return _IMP_atom.Mass_setup_particle(*args)
6722 
6723  setup_particle = staticmethod(setup_particle)
6724 
6725  def get_mass_key():
6726  """get_mass_key() -> FloatKey"""
6727  return _IMP_atom.Mass_get_mass_key()
6728 
6729  get_mass_key = staticmethod(get_mass_key)
6730 
6731  def add_attribute(self, *args):
6732  """
6733  add_attribute(Mass self, FloatKey k, IMP::Float v, bool opt)
6734  add_attribute(Mass self, FloatKey a0, IMP::Float a1)
6735  add_attribute(Mass self, IntKey a0, IMP::Int a1)
6736  add_attribute(Mass self, StringKey a0, IMP::String a1)
6737  add_attribute(Mass self, ParticleIndexKey a0, Particle a1)
6738  add_attribute(Mass self, ObjectKey a0, Object a1)
6739  """
6740  return _IMP_atom.Mass_add_attribute(self, *args)
6741 
6742 
6743  def get_value(self, *args):
6744  """
6745  get_value(Mass self, FloatKey a0) -> IMP::Float
6746  get_value(Mass self, IntKey a0) -> IMP::Int
6747  get_value(Mass self, StringKey a0) -> IMP::String
6748  get_value(Mass self, ParticleIndexKey a0) -> Particle
6749  get_value(Mass self, ObjectKey a0) -> Object
6750  """
6751  return _IMP_atom.Mass_get_value(self, *args)
6752 
6753 
6754  def set_value(self, *args):
6755  """
6756  set_value(Mass self, FloatKey a0, IMP::Float a1)
6757  set_value(Mass self, IntKey a0, IMP::Int a1)
6758  set_value(Mass self, StringKey a0, IMP::String a1)
6759  set_value(Mass self, ParticleIndexKey a0, Particle a1)
6760  set_value(Mass self, ObjectKey a0, Object a1)
6761  """
6762  return _IMP_atom.Mass_set_value(self, *args)
6763 
6764 
6765  def remove_attribute(self, *args):
6766  """
6767  remove_attribute(Mass self, FloatKey a0)
6768  remove_attribute(Mass self, IntKey a0)
6769  remove_attribute(Mass self, StringKey a0)
6770  remove_attribute(Mass self, ParticleIndexKey a0)
6771  remove_attribute(Mass self, ObjectKey a0)
6772  """
6773  return _IMP_atom.Mass_remove_attribute(self, *args)
6774 
6775 
6776  def has_attribute(self, *args):
6777  """
6778  has_attribute(Mass self, FloatKey a0) -> bool
6779  has_attribute(Mass self, IntKey a0) -> bool
6780  has_attribute(Mass self, StringKey a0) -> bool
6781  has_attribute(Mass self, ParticleIndexKey a0) -> bool
6782  has_attribute(Mass self, ObjectKey a0) -> bool
6783  """
6784  return _IMP_atom.Mass_has_attribute(self, *args)
6785 
6786 
6787  def get_derivative(self, a0):
6788  """get_derivative(Mass self, FloatKey a0) -> double"""
6789  return _IMP_atom.Mass_get_derivative(self, a0)
6790 
6791 
6792  def get_name(self):
6793  """get_name(Mass self) -> std::string"""
6794  return _IMP_atom.Mass_get_name(self)
6795 
6796 
6797  def clear_caches(self):
6798  """clear_caches(Mass self)"""
6799  return _IMP_atom.Mass_clear_caches(self)
6800 
6801 
6802  def set_name(self, a0):
6803  """set_name(Mass self, std::string a0)"""
6804  return _IMP_atom.Mass_set_name(self, a0)
6805 
6806 
6807  def set_check_level(self, a0):
6808  """set_check_level(Mass self, IMP::CheckLevel a0)"""
6809  return _IMP_atom.Mass_set_check_level(self, a0)
6810 
6811 
6812  def add_to_derivative(self, a0, a1, a2):
6813  """add_to_derivative(Mass self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
6814  return _IMP_atom.Mass_add_to_derivative(self, a0, a1, a2)
6815 
6816 
6817  def set_is_optimized(self, a0, a1):
6818  """set_is_optimized(Mass self, FloatKey a0, bool a1)"""
6819  return _IMP_atom.Mass_set_is_optimized(self, a0, a1)
6820 
6821 
6822  def get_is_optimized(self, a0):
6823  """get_is_optimized(Mass self, FloatKey a0) -> bool"""
6824  return _IMP_atom.Mass_get_is_optimized(self, a0)
6825 
6826 
6827  def get_check_level(self):
6828  """get_check_level(Mass self) -> IMP::CheckLevel"""
6829  return _IMP_atom.Mass_get_check_level(self)
6830 
6831 
6832  def __eq__(self, *args):
6833  """
6834  __eq__(Mass self, Mass o) -> bool
6835  __eq__(Mass self, Particle d) -> bool
6836  """
6837  return _IMP_atom.Mass___eq__(self, *args)
6838 
6839 
6840  def __ne__(self, *args):
6841  """
6842  __ne__(Mass self, Mass o) -> bool
6843  __ne__(Mass self, Particle d) -> bool
6844  """
6845  return _IMP_atom.Mass___ne__(self, *args)
6846 
6847 
6848  def __le__(self, *args):
6849  """
6850  __le__(Mass self, Mass o) -> bool
6851  __le__(Mass self, Particle d) -> bool
6852  """
6853  return _IMP_atom.Mass___le__(self, *args)
6854 
6855 
6856  def __lt__(self, *args):
6857  """
6858  __lt__(Mass self, Mass o) -> bool
6859  __lt__(Mass self, Particle d) -> bool
6860  """
6861  return _IMP_atom.Mass___lt__(self, *args)
6862 
6863 
6864  def __ge__(self, *args):
6865  """
6866  __ge__(Mass self, Mass o) -> bool
6867  __ge__(Mass self, Particle d) -> bool
6868  """
6869  return _IMP_atom.Mass___ge__(self, *args)
6870 
6871 
6872  def __gt__(self, *args):
6873  """
6874  __gt__(Mass self, Mass o) -> bool
6875  __gt__(Mass self, Particle d) -> bool
6876  """
6877  return _IMP_atom.Mass___gt__(self, *args)
6878 
6879 
6880  def __hash__(self):
6881  """__hash__(Mass self) -> std::size_t"""
6882  return _IMP_atom.Mass___hash__(self)
6883 
6884 
6885  def __str__(self):
6886  """__str__(Mass self) -> std::string"""
6887  return _IMP_atom.Mass___str__(self)
6888 
6889 
6890  def __repr__(self):
6891  """__repr__(Mass self) -> std::string"""
6892  return _IMP_atom.Mass___repr__(self)
6893 
6894  __swig_destroy__ = _IMP_atom.delete_Mass
6895  __del__ = lambda self: None
6896 Mass_swigregister = _IMP_atom.Mass_swigregister
6897 Mass_swigregister(Mass)
6898 
6899 def Mass_get_is_setup(*args):
6900  """
6901  get_is_setup(Model m, ParticleIndex pi) -> bool
6902  Mass_get_is_setup(_ParticleAdaptor p) -> bool
6903  """
6904  return _IMP_atom.Mass_get_is_setup(*args)
6905 
6906 def Mass_setup_particle(*args):
6907  """
6908  setup_particle(Model m, ParticleIndex pi, IMP::Float mass) -> Mass
6909  setup_particle(_ParticleAdaptor decorator, IMP::Float mass) -> Mass
6910  setup_particle(Model m, ParticleIndex pi, Mass other) -> Mass
6911  Mass_setup_particle(_ParticleAdaptor decorator, Mass other) -> Mass
6912  """
6913  return _IMP_atom.Mass_setup_particle(*args)
6914 
6915 def Mass_get_mass_key():
6916  """Mass_get_mass_key() -> FloatKey"""
6917  return _IMP_atom.Mass_get_mass_key()
6918 
6919 class BondedPairFilter(IMP.PairPredicate):
6920  """Proxy of C++ IMP::atom::BondedPairFilter class."""
6921 
6922  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6923 
6924  def __init__(self):
6925  """__init__(IMP::atom::BondedPairFilter self) -> BondedPairFilter"""
6926  this = _IMP_atom.new_BondedPairFilter()
6927  try:
6928  self.this.append(this)
6929  except __builtin__.Exception:
6930  self.this = this
6931 
6932  def do_get_inputs(self, m, pis):
6933  """do_get_inputs(BondedPairFilter self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
6934  return _IMP_atom.BondedPairFilter_do_get_inputs(self, m, pis)
6935 
6936 
6937  def get_value(self, *args):
6938  """
6939  get_value(BondedPairFilter self, IMP::ParticlePair const & a) -> int
6940  get_value(BondedPairFilter self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
6941  """
6942  return _IMP_atom.BondedPairFilter_get_value(self, *args)
6943 
6944 
6945  def get_value_index(self, *args):
6946  """
6947  get_value_index(BondedPairFilter self, Model m, IMP::ParticleIndexPair const & p) -> int
6948  get_value_index(BondedPairFilter self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
6949  """
6950  return _IMP_atom.BondedPairFilter_get_value_index(self, *args)
6951 
6952 
6953  def get_version_info(self):
6954  """get_version_info(BondedPairFilter self) -> VersionInfo"""
6955  return _IMP_atom.BondedPairFilter_get_version_info(self)
6956 
6957 
6958  def __str__(self):
6959  """__str__(BondedPairFilter self) -> std::string"""
6960  return _IMP_atom.BondedPairFilter___str__(self)
6961 
6962 
6963  def __repr__(self):
6964  """__repr__(BondedPairFilter self) -> std::string"""
6965  return _IMP_atom.BondedPairFilter___repr__(self)
6966 
6967 
6968  @staticmethod
6969  def get_from(o):
6970  return _object_cast_to_BondedPairFilter(o)
6971 
6972 BondedPairFilter_swigregister = _IMP_atom.BondedPairFilter_swigregister
6973 BondedPairFilter_swigregister(BondedPairFilter)
6974 
6975 class Mol2Selector(IMP.Object):
6976  """Proxy of C++ IMP::atom::Mol2Selector class."""
6977 
6978  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6979 
6980  def __init__(self, *args, **kwargs):
6981  raise AttributeError("No constructor defined - class is abstract")
6982 
6983  def get_is_selected(self, atom_line):
6984  """get_is_selected(Mol2Selector self, std::string const & atom_line) -> bool"""
6985  return _IMP_atom.Mol2Selector_get_is_selected(self, atom_line)
6986 
6987  __swig_destroy__ = _IMP_atom.delete_Mol2Selector
6988  __del__ = lambda self: None
6989 
6990  def __str__(self):
6991  """__str__(Mol2Selector self) -> std::string"""
6992  return _IMP_atom.Mol2Selector___str__(self)
6993 
6994 
6995  def __repr__(self):
6996  """__repr__(Mol2Selector self) -> std::string"""
6997  return _IMP_atom.Mol2Selector___repr__(self)
6998 
6999 
7000  @staticmethod
7001  def get_from(o):
7002  return _object_cast_to_Mol2Selector(o)
7003 
7004 Mol2Selector_swigregister = _IMP_atom.Mol2Selector_swigregister
7005 Mol2Selector_swigregister(Mol2Selector)
7006 
7007 class AllMol2Selector(Mol2Selector):
7008  """Proxy of C++ IMP::atom::AllMol2Selector class."""
7009 
7010  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7011 
7012  def __str__(self):
7013  """__str__(AllMol2Selector self) -> std::string"""
7014  return _IMP_atom.AllMol2Selector___str__(self)
7015 
7016 
7017  def __repr__(self):
7018  """__repr__(AllMol2Selector self) -> std::string"""
7019  return _IMP_atom.AllMol2Selector___repr__(self)
7020 
7021 
7022  @staticmethod
7023  def get_from(o):
7024  return _object_cast_to_AllMol2Selector(o)
7025 
7026 
7027  def __init__(self):
7028  """__init__(IMP::atom::AllMol2Selector self) -> AllMol2Selector"""
7029  this = _IMP_atom.new_AllMol2Selector()
7030  try:
7031  self.this.append(this)
7032  except __builtin__.Exception:
7033  self.this = this
7034  __swig_destroy__ = _IMP_atom.delete_AllMol2Selector
7035  __del__ = lambda self: None
7036 AllMol2Selector_swigregister = _IMP_atom.AllMol2Selector_swigregister
7037 AllMol2Selector_swigregister(AllMol2Selector)
7038 
7039 class NonHydrogenMol2Selector(Mol2Selector):
7040  """Proxy of C++ IMP::atom::NonHydrogenMol2Selector class."""
7041 
7042  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7043 
7044  def __str__(self):
7045  """__str__(NonHydrogenMol2Selector self) -> std::string"""
7046  return _IMP_atom.NonHydrogenMol2Selector___str__(self)
7047 
7048 
7049  def __repr__(self):
7050  """__repr__(NonHydrogenMol2Selector self) -> std::string"""
7051  return _IMP_atom.NonHydrogenMol2Selector___repr__(self)
7052 
7053 
7054  @staticmethod
7055  def get_from(o):
7056  return _object_cast_to_NonHydrogenMol2Selector(o)
7057 
7058 
7059  def __init__(self):
7060  """__init__(IMP::atom::NonHydrogenMol2Selector self) -> NonHydrogenMol2Selector"""
7061  this = _IMP_atom.new_NonHydrogenMol2Selector()
7062  try:
7063  self.this.append(this)
7064  except __builtin__.Exception:
7065  self.this = this
7066  __swig_destroy__ = _IMP_atom.delete_NonHydrogenMol2Selector
7067  __del__ = lambda self: None
7068 NonHydrogenMol2Selector_swigregister = _IMP_atom.NonHydrogenMol2Selector_swigregister
7069 NonHydrogenMol2Selector_swigregister(NonHydrogenMol2Selector)
7070 
7071 
7072 def read_mol2(mol2_file, model, mol2sel=None):
7073  """
7074  read_mol2(TextInput mol2_file, Model model, Mol2Selector mol2sel=None) -> Hierarchy
7075  read_mol2(TextInput mol2_file, Model model) -> Hierarchy
7076  """
7077  return _IMP_atom.read_mol2(mol2_file, model, mol2sel)
7078 
7079 def write_mol2(rhd, file_name):
7080  """write_mol2(Hierarchy rhd, TextOutput file_name)"""
7081  return _IMP_atom.write_mol2(rhd, file_name)
7082 class SecondaryStructureResidue(IMP.Decorator):
7083  """Proxy of C++ IMP::atom::SecondaryStructureResidue class."""
7084 
7085  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7086 
7087  def __init__(self, *args):
7088  """
7089  __init__(IMP::atom::SecondaryStructureResidue self) -> SecondaryStructureResidue
7090  __init__(IMP::atom::SecondaryStructureResidue self, Model m, ParticleIndex id) -> SecondaryStructureResidue
7091  __init__(IMP::atom::SecondaryStructureResidue self, _ParticleAdaptor d) -> SecondaryStructureResidue
7092  """
7093  this = _IMP_atom.new_SecondaryStructureResidue(*args)
7094  try:
7095  self.this.append(this)
7096  except __builtin__.Exception:
7097  self.this = this
7098 
7099  def show(self, *args):
7100  """
7101  show(SecondaryStructureResidue self, _ostream out)
7102  show(SecondaryStructureResidue self)
7103  """
7104  return _IMP_atom.SecondaryStructureResidue_show(self, *args)
7105 
7106 
7107  def setup_particle(*args):
7108  """
7109  setup_particle(Model m, ParticleIndex pi, IMP::Float prob_helix, IMP::Float prob_strand, IMP::Float prob_coil) -> SecondaryStructureResidue
7110  setup_particle(_ParticleAdaptor decorator, IMP::Float prob_helix, IMP::Float prob_strand, IMP::Float prob_coil) -> SecondaryStructureResidue
7111  setup_particle(Particle res_p) -> SecondaryStructureResidue
7112  """
7113  return _IMP_atom.SecondaryStructureResidue_setup_particle(*args)
7114 
7115  setup_particle = staticmethod(setup_particle)
7116 
7117  def get_is_setup(*args):
7118  """
7119  get_is_setup(_ParticleAdaptor p) -> bool
7120  get_is_setup(Model m, ParticleIndex pi) -> bool
7121  """
7122  return _IMP_atom.SecondaryStructureResidue_get_is_setup(*args)
7123 
7124  get_is_setup = staticmethod(get_is_setup)
7125 
7126  def get_particle(self):
7127  """get_particle(SecondaryStructureResidue self) -> Particle"""
7128  return _IMP_atom.SecondaryStructureResidue_get_particle(self)
7129 
7130 
7131  def get_all_probabilities(self):
7132  """get_all_probabilities(SecondaryStructureResidue self) -> IMP::Floats"""
7133  return _IMP_atom.SecondaryStructureResidue_get_all_probabilities(self)
7134 
7135 
7136  def get_prob_helix(self):
7137  """get_prob_helix(SecondaryStructureResidue self) -> IMP::Float"""
7138  return _IMP_atom.SecondaryStructureResidue_get_prob_helix(self)
7139 
7140 
7141  def set_prob_helix(self, t):
7142  """set_prob_helix(SecondaryStructureResidue self, IMP::Float t)"""
7143  return _IMP_atom.SecondaryStructureResidue_set_prob_helix(self, t)
7144 
7145 
7146  def get_prob_strand(self):
7147  """get_prob_strand(SecondaryStructureResidue self) -> IMP::Float"""
7148  return _IMP_atom.SecondaryStructureResidue_get_prob_strand(self)
7149 
7150 
7151  def set_prob_strand(self, t):
7152  """set_prob_strand(SecondaryStructureResidue self, IMP::Float t)"""
7153  return _IMP_atom.SecondaryStructureResidue_set_prob_strand(self, t)
7154 
7155 
7156  def get_prob_coil(self):
7157  """get_prob_coil(SecondaryStructureResidue self) -> IMP::Float"""
7158  return _IMP_atom.SecondaryStructureResidue_get_prob_coil(self)
7159 
7160 
7161  def set_prob_coil(self, t):
7162  """set_prob_coil(SecondaryStructureResidue self, IMP::Float t)"""
7163  return _IMP_atom.SecondaryStructureResidue_set_prob_coil(self, t)
7164 
7165 
7166  def get_prob_helix_key():
7167  """get_prob_helix_key() -> FloatKey"""
7168  return _IMP_atom.SecondaryStructureResidue_get_prob_helix_key()
7169 
7170  get_prob_helix_key = staticmethod(get_prob_helix_key)
7171 
7172  def get_prob_strand_key():
7173  """get_prob_strand_key() -> FloatKey"""
7174  return _IMP_atom.SecondaryStructureResidue_get_prob_strand_key()
7175 
7176  get_prob_strand_key = staticmethod(get_prob_strand_key)
7177 
7178  def get_prob_coil_key():
7179  """get_prob_coil_key() -> FloatKey"""
7180  return _IMP_atom.SecondaryStructureResidue_get_prob_coil_key()
7181 
7182  get_prob_coil_key = staticmethod(get_prob_coil_key)
7183 
7184  def add_attribute(self, *args):
7185  """
7186  add_attribute(SecondaryStructureResidue self, FloatKey k, IMP::Float v, bool opt)
7187  add_attribute(SecondaryStructureResidue self, FloatKey a0, IMP::Float a1)
7188  add_attribute(SecondaryStructureResidue self, IntKey a0, IMP::Int a1)
7189  add_attribute(SecondaryStructureResidue self, StringKey a0, IMP::String a1)
7190  add_attribute(SecondaryStructureResidue self, ParticleIndexKey a0, Particle a1)
7191  add_attribute(SecondaryStructureResidue self, ObjectKey a0, Object a1)
7192  """
7193  return _IMP_atom.SecondaryStructureResidue_add_attribute(self, *args)
7194 
7195 
7196  def get_value(self, *args):
7197  """
7198  get_value(SecondaryStructureResidue self, FloatKey a0) -> IMP::Float
7199  get_value(SecondaryStructureResidue self, IntKey a0) -> IMP::Int
7200  get_value(SecondaryStructureResidue self, StringKey a0) -> IMP::String
7201  get_value(SecondaryStructureResidue self, ParticleIndexKey a0) -> Particle
7202  get_value(SecondaryStructureResidue self, ObjectKey a0) -> Object
7203  """
7204  return _IMP_atom.SecondaryStructureResidue_get_value(self, *args)
7205 
7206 
7207  def set_value(self, *args):
7208  """
7209  set_value(SecondaryStructureResidue self, FloatKey a0, IMP::Float a1)
7210  set_value(SecondaryStructureResidue self, IntKey a0, IMP::Int a1)
7211  set_value(SecondaryStructureResidue self, StringKey a0, IMP::String a1)
7212  set_value(SecondaryStructureResidue self, ParticleIndexKey a0, Particle a1)
7213  set_value(SecondaryStructureResidue self, ObjectKey a0, Object a1)
7214  """
7215  return _IMP_atom.SecondaryStructureResidue_set_value(self, *args)
7216 
7217 
7218  def remove_attribute(self, *args):
7219  """
7220  remove_attribute(SecondaryStructureResidue self, FloatKey a0)
7221  remove_attribute(SecondaryStructureResidue self, IntKey a0)
7222  remove_attribute(SecondaryStructureResidue self, StringKey a0)
7223  remove_attribute(SecondaryStructureResidue self, ParticleIndexKey a0)
7224  remove_attribute(SecondaryStructureResidue self, ObjectKey a0)
7225  """
7226  return _IMP_atom.SecondaryStructureResidue_remove_attribute(self, *args)
7227 
7228 
7229  def has_attribute(self, *args):
7230  """
7231  has_attribute(SecondaryStructureResidue self, FloatKey a0) -> bool
7232  has_attribute(SecondaryStructureResidue self, IntKey a0) -> bool
7233  has_attribute(SecondaryStructureResidue self, StringKey a0) -> bool
7234  has_attribute(SecondaryStructureResidue self, ParticleIndexKey a0) -> bool
7235  has_attribute(SecondaryStructureResidue self, ObjectKey a0) -> bool
7236  """
7237  return _IMP_atom.SecondaryStructureResidue_has_attribute(self, *args)
7238 
7239 
7240  def get_derivative(self, a0):
7241  """get_derivative(SecondaryStructureResidue self, FloatKey a0) -> double"""
7242  return _IMP_atom.SecondaryStructureResidue_get_derivative(self, a0)
7243 
7244 
7245  def get_name(self):
7246  """get_name(SecondaryStructureResidue self) -> std::string"""
7247  return _IMP_atom.SecondaryStructureResidue_get_name(self)
7248 
7249 
7250  def clear_caches(self):
7251  """clear_caches(SecondaryStructureResidue self)"""
7252  return _IMP_atom.SecondaryStructureResidue_clear_caches(self)
7253 
7254 
7255  def set_name(self, a0):
7256  """set_name(SecondaryStructureResidue self, std::string a0)"""
7257  return _IMP_atom.SecondaryStructureResidue_set_name(self, a0)
7258 
7259 
7260  def set_check_level(self, a0):
7261  """set_check_level(SecondaryStructureResidue self, IMP::CheckLevel a0)"""
7262  return _IMP_atom.SecondaryStructureResidue_set_check_level(self, a0)
7263 
7264 
7265  def add_to_derivative(self, a0, a1, a2):
7266  """add_to_derivative(SecondaryStructureResidue self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
7267  return _IMP_atom.SecondaryStructureResidue_add_to_derivative(self, a0, a1, a2)
7268 
7269 
7270  def set_is_optimized(self, a0, a1):
7271  """set_is_optimized(SecondaryStructureResidue self, FloatKey a0, bool a1)"""
7272  return _IMP_atom.SecondaryStructureResidue_set_is_optimized(self, a0, a1)
7273 
7274 
7275  def get_is_optimized(self, a0):
7276  """get_is_optimized(SecondaryStructureResidue self, FloatKey a0) -> bool"""
7277  return _IMP_atom.SecondaryStructureResidue_get_is_optimized(self, a0)
7278 
7279 
7280  def get_check_level(self):
7281  """get_check_level(SecondaryStructureResidue self) -> IMP::CheckLevel"""
7282  return _IMP_atom.SecondaryStructureResidue_get_check_level(self)
7283 
7284 
7285  def __eq__(self, *args):
7286  """
7287  __eq__(SecondaryStructureResidue self, SecondaryStructureResidue o) -> bool
7288  __eq__(SecondaryStructureResidue self, Particle d) -> bool
7289  """
7290  return _IMP_atom.SecondaryStructureResidue___eq__(self, *args)
7291 
7292 
7293  def __ne__(self, *args):
7294  """
7295  __ne__(SecondaryStructureResidue self, SecondaryStructureResidue o) -> bool
7296  __ne__(SecondaryStructureResidue self, Particle d) -> bool
7297  """
7298  return _IMP_atom.SecondaryStructureResidue___ne__(self, *args)
7299 
7300 
7301  def __le__(self, *args):
7302  """
7303  __le__(SecondaryStructureResidue self, SecondaryStructureResidue o) -> bool
7304  __le__(SecondaryStructureResidue self, Particle d) -> bool
7305  """
7306  return _IMP_atom.SecondaryStructureResidue___le__(self, *args)
7307 
7308 
7309  def __lt__(self, *args):
7310  """
7311  __lt__(SecondaryStructureResidue self, SecondaryStructureResidue o) -> bool
7312  __lt__(SecondaryStructureResidue self, Particle d) -> bool
7313  """
7314  return _IMP_atom.SecondaryStructureResidue___lt__(self, *args)
7315 
7316 
7317  def __ge__(self, *args):
7318  """
7319  __ge__(SecondaryStructureResidue self, SecondaryStructureResidue o) -> bool
7320  __ge__(SecondaryStructureResidue self, Particle d) -> bool
7321  """
7322  return _IMP_atom.SecondaryStructureResidue___ge__(self, *args)
7323 
7324 
7325  def __gt__(self, *args):
7326  """
7327  __gt__(SecondaryStructureResidue self, SecondaryStructureResidue o) -> bool
7328  __gt__(SecondaryStructureResidue self, Particle d) -> bool
7329  """
7330  return _IMP_atom.SecondaryStructureResidue___gt__(self, *args)
7331 
7332 
7333  def __hash__(self):
7334  """__hash__(SecondaryStructureResidue self) -> std::size_t"""
7335  return _IMP_atom.SecondaryStructureResidue___hash__(self)
7336 
7337 
7338  def __str__(self):
7339  """__str__(SecondaryStructureResidue self) -> std::string"""
7340  return _IMP_atom.SecondaryStructureResidue___str__(self)
7341 
7342 
7343  def __repr__(self):
7344  """__repr__(SecondaryStructureResidue self) -> std::string"""
7345  return _IMP_atom.SecondaryStructureResidue___repr__(self)
7346 
7347  __swig_destroy__ = _IMP_atom.delete_SecondaryStructureResidue
7348  __del__ = lambda self: None
7349 SecondaryStructureResidue_swigregister = _IMP_atom.SecondaryStructureResidue_swigregister
7350 SecondaryStructureResidue_swigregister(SecondaryStructureResidue)
7351 
7352 def SecondaryStructureResidue_setup_particle(*args):
7353  """
7354  setup_particle(Model m, ParticleIndex pi, IMP::Float prob_helix, IMP::Float prob_strand, IMP::Float prob_coil) -> SecondaryStructureResidue
7355  setup_particle(_ParticleAdaptor decorator, IMP::Float prob_helix, IMP::Float prob_strand, IMP::Float prob_coil) -> SecondaryStructureResidue
7356  SecondaryStructureResidue_setup_particle(Particle res_p) -> SecondaryStructureResidue
7357  """
7358  return _IMP_atom.SecondaryStructureResidue_setup_particle(*args)
7359 
7360 def SecondaryStructureResidue_get_is_setup(*args):
7361  """
7362  get_is_setup(_ParticleAdaptor p) -> bool
7363  SecondaryStructureResidue_get_is_setup(Model m, ParticleIndex pi) -> bool
7364  """
7365  return _IMP_atom.SecondaryStructureResidue_get_is_setup(*args)
7366 
7367 def SecondaryStructureResidue_get_prob_helix_key():
7368  """SecondaryStructureResidue_get_prob_helix_key() -> FloatKey"""
7369  return _IMP_atom.SecondaryStructureResidue_get_prob_helix_key()
7370 
7371 def SecondaryStructureResidue_get_prob_strand_key():
7372  """SecondaryStructureResidue_get_prob_strand_key() -> FloatKey"""
7373  return _IMP_atom.SecondaryStructureResidue_get_prob_strand_key()
7374 
7375 def SecondaryStructureResidue_get_prob_coil_key():
7376  """SecondaryStructureResidue_get_prob_coil_key() -> FloatKey"""
7377  return _IMP_atom.SecondaryStructureResidue_get_prob_coil_key()
7378 
7379 
7380 def setup_coarse_secondary_structure_residue(ssr_ps, mdl, winner_takes_all_per_res=False):
7381  """
7382  setup_coarse_secondary_structure_residue(IMP::Particles const & ssr_ps, Model mdl, bool winner_takes_all_per_res=False) -> SecondaryStructureResidue
7383  setup_coarse_secondary_structure_residue(IMP::Particles const & ssr_ps, Model mdl) -> SecondaryStructureResidue
7384  """
7385  return _IMP_atom.setup_coarse_secondary_structure_residue(ssr_ps, mdl, winner_takes_all_per_res)
7386 
7387 def setup_coarse_secondary_structure_residues(ssr_ps, mdl, coarse_factor, start_res_num, winner_takes_all_per_res=False):
7388  """
7389  setup_coarse_secondary_structure_residues(IMP::Particles const & ssr_ps, Model mdl, int coarse_factor, int start_res_num, bool winner_takes_all_per_res=False) -> IMP::atom::SecondaryStructureResidues
7390  setup_coarse_secondary_structure_residues(IMP::Particles const & ssr_ps, Model mdl, int coarse_factor, int start_res_num) -> IMP::atom::SecondaryStructureResidues
7391  """
7392  return _IMP_atom.setup_coarse_secondary_structure_residues(ssr_ps, mdl, coarse_factor, start_res_num, winner_takes_all_per_res)
7393 
7394 def get_secondary_structure_match_score(ssr1, ssr2):
7395  """get_secondary_structure_match_score(SecondaryStructureResidue ssr1, SecondaryStructureResidue ssr2) -> IMP::Float"""
7396  return _IMP_atom.get_secondary_structure_match_score(ssr1, ssr2)
7397 
7398 def read_psipred(*args):
7399  """
7400  read_psipred(TextInput inf, Model mdl) -> IMP::atom::SecondaryStructureResidues
7401  read_psipred(TextInput inf, IMP::Particles ps) -> IMP::atom::SecondaryStructureResidues
7402  """
7403  return _IMP_atom.read_psipred(*args)
7404 class _ADopeBase(IMP.PairScore):
7405  """Proxy of C++ IMP::score_functor::DistancePairScore<(IMP::score_functor::Dope)> class."""
7406 
7407  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7408  __repr__ = _swig_repr
7409 
7410  def __init__(self, *args):
7411  """
7412  __init__(IMP::score_functor::DistancePairScore<(IMP::score_functor::Dope)> self, Dope t0, std::string name) -> _ADopeBase
7413  __init__(IMP::score_functor::DistancePairScore<(IMP::score_functor::Dope)> self, Dope t0) -> _ADopeBase
7414  """
7415  this = _IMP_atom.new__ADopeBase(*args)
7416  try:
7417  self.this.append(this)
7418  except __builtin__.Exception:
7419  self.this = this
7420 
7421  def do_get_inputs(self, m, pis):
7422  """do_get_inputs(_ADopeBase self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7423  return _IMP_atom._ADopeBase_do_get_inputs(self, m, pis)
7424 
7425 
7426  def get_score_functor(self):
7427  """get_score_functor(_ADopeBase self) -> Dope"""
7428  return _IMP_atom._ADopeBase_get_score_functor(self)
7429 
7430 
7431  def get_version_info(self):
7432  """get_version_info(_ADopeBase self) -> VersionInfo"""
7433  return _IMP_atom._ADopeBase_get_version_info(self)
7434 
7435 _ADopeBase_swigregister = _IMP_atom._ADopeBase_swigregister
7436 _ADopeBase_swigregister(_ADopeBase)
7437 
7438 class _BDopeBase(IMP.PairScore):
7439  """Proxy of C++ IMP::score_functor::DistancePairScore<(IMP::score_functor::Statistical<(IMP::atom::DopeType,false,true,false)>)> class."""
7440 
7441  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7442  __repr__ = _swig_repr
7443 
7444  def __init__(self, *args):
7445  """
7446  __init__(IMP::score_functor::DistancePairScore<(IMP::score_functor::Statistical<(IMP::atom::DopeType,false,true,false)>)> self, IMP::score_functor::DistancePairScore< IMP::score_functor::Statistical< IMP::atom::DopeType,false,true,false > >::DistanceScore const & t0, std::string name) -> _BDopeBase
7447  __init__(IMP::score_functor::DistancePairScore<(IMP::score_functor::Statistical<(IMP::atom::DopeType,false,true,false)>)> self, IMP::score_functor::DistancePairScore< IMP::score_functor::Statistical< IMP::atom::DopeType,false,true,false > >::DistanceScore const & t0) -> _BDopeBase
7448  """
7449  this = _IMP_atom.new__BDopeBase(*args)
7450  try:
7451  self.this.append(this)
7452  except __builtin__.Exception:
7453  self.this = this
7454 
7455  def do_get_inputs(self, m, pis):
7456  """do_get_inputs(_BDopeBase self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7457  return _IMP_atom._BDopeBase_do_get_inputs(self, m, pis)
7458 
7459 
7460  def get_score_functor(self):
7461  """get_score_functor(_BDopeBase self) -> _DopeBase"""
7462  return _IMP_atom._BDopeBase_get_score_functor(self)
7463 
7464 
7465  def get_version_info(self):
7466  """get_version_info(_BDopeBase self) -> VersionInfo"""
7467  return _IMP_atom._BDopeBase_get_version_info(self)
7468 
7469 _BDopeBase_swigregister = _IMP_atom._BDopeBase_swigregister
7470 _BDopeBase_swigregister(_BDopeBase)
7471 
7472 class _OrientedSoapBase(IMP.PairScore):
7473  """Proxy of C++ IMP::score_functor::DistancePairScore<(IMP::score_functor::OrientedSoap)> class."""
7474 
7475  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7476  __repr__ = _swig_repr
7477 
7478  def __init__(self, *args):
7479  """
7480  __init__(IMP::score_functor::DistancePairScore<(IMP::score_functor::OrientedSoap)> self, IMP::score_functor::DistancePairScore< IMP::score_functor::OrientedSoap >::DistanceScore const & t0, std::string name) -> _OrientedSoapBase
7481  __init__(IMP::score_functor::DistancePairScore<(IMP::score_functor::OrientedSoap)> self, IMP::score_functor::DistancePairScore< IMP::score_functor::OrientedSoap >::DistanceScore const & t0) -> _OrientedSoapBase
7482  """
7483  this = _IMP_atom.new__OrientedSoapBase(*args)
7484  try:
7485  self.this.append(this)
7486  except __builtin__.Exception:
7487  self.this = this
7488 
7489  def do_get_inputs(self, m, pis):
7490  """do_get_inputs(_OrientedSoapBase self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7491  return _IMP_atom._OrientedSoapBase_do_get_inputs(self, m, pis)
7492 
7493 
7494  def get_score_functor(self):
7495  """get_score_functor(_OrientedSoapBase self) -> IMP::score_functor::OrientedSoap &"""
7496  return _IMP_atom._OrientedSoapBase_get_score_functor(self)
7497 
7498 
7499  def get_version_info(self):
7500  """get_version_info(_OrientedSoapBase self) -> VersionInfo"""
7501  return _IMP_atom._OrientedSoapBase_get_version_info(self)
7502 
7503 _OrientedSoapBase_swigregister = _IMP_atom._OrientedSoapBase_swigregister
7504 _OrientedSoapBase_swigregister(_OrientedSoapBase)
7505 
7506 class _SPSFTB(IMP.PairScore):
7507  """Proxy of C++ IMP::score_functor::DistancePairScore<(IMP::score_functor::Statistical<(IMP::atom::ProteinLigandType,true,false)>)> class."""
7508 
7509  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7510  __repr__ = _swig_repr
7511 
7512  def __init__(self, *args):
7513  """
7514  __init__(IMP::score_functor::DistancePairScore<(IMP::score_functor::Statistical<(IMP::atom::ProteinLigandType,true,false)>)> self, IMP::score_functor::DistancePairScore< IMP::score_functor::Statistical< IMP::atom::ProteinLigandType,true,false > >::DistanceScore const & t0, std::string name) -> _SPSFTB
7515  __init__(IMP::score_functor::DistancePairScore<(IMP::score_functor::Statistical<(IMP::atom::ProteinLigandType,true,false)>)> self, IMP::score_functor::DistancePairScore< IMP::score_functor::Statistical< IMP::atom::ProteinLigandType,true,false > >::DistanceScore const & t0) -> _SPSFTB
7516  """
7517  this = _IMP_atom.new__SPSFTB(*args)
7518  try:
7519  self.this.append(this)
7520  except __builtin__.Exception:
7521  self.this = this
7522 
7523  def do_get_inputs(self, m, pis):
7524  """do_get_inputs(_SPSFTB self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7525  return _IMP_atom._SPSFTB_do_get_inputs(self, m, pis)
7526 
7527 
7528  def get_score_functor(self):
7529  """get_score_functor(_SPSFTB self) -> IMP::score_functor::Statistical< IMP::atom::ProteinLigandType,true,false,false > &"""
7530  return _IMP_atom._SPSFTB_get_score_functor(self)
7531 
7532 
7533  def get_version_info(self):
7534  """get_version_info(_SPSFTB self) -> VersionInfo"""
7535  return _IMP_atom._SPSFTB_get_version_info(self)
7536 
7537 _SPSFTB_swigregister = _IMP_atom._SPSFTB_swigregister
7538 _SPSFTB_swigregister(_SPSFTB)
7539 
7540 class _SPSTF(_SPSFTB):
7541  """Proxy of C++ IMP::core::StatisticalPairScore<(IMP::atom::ProteinLigandType,true,false)> class."""
7542 
7543  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7544  __repr__ = _swig_repr
7545 
7546  def __init__(self, *args):
7547  """
7548  __init__(IMP::core::StatisticalPairScore<(IMP::atom::ProteinLigandType,true,false)> self, IntKey k, double threshold, TextInput data_file) -> _SPSTF
7549  __init__(IMP::core::StatisticalPairScore<(IMP::atom::ProteinLigandType,true,false)> self, IntKey k, double threshold, TextInput data_file, unsigned int shift) -> _SPSTF
7550  """
7551  this = _IMP_atom.new__SPSTF(*args)
7552  try:
7553  self.this.append(this)
7554  except __builtin__.Exception:
7555  self.this = this
7556  __swig_destroy__ = _IMP_atom.delete__SPSTF
7557  __del__ = lambda self: None
7558 _SPSTF_swigregister = _IMP_atom._SPSTF_swigregister
7559 _SPSTF_swigregister(_SPSTF)
7560 
7561 class _SPSFT(_BDopeBase):
7562  """Proxy of C++ IMP::core::StatisticalPairScore<(IMP::atom::DopeType,false,true)> class."""
7563 
7564  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7565  __repr__ = _swig_repr
7566 
7567  def __init__(self, *args):
7568  """
7569  __init__(IMP::core::StatisticalPairScore<(IMP::atom::DopeType,false,true)> self, IntKey k, double threshold, TextInput data_file) -> _SPSFT
7570  __init__(IMP::core::StatisticalPairScore<(IMP::atom::DopeType,false,true)> self, IntKey k, double threshold, TextInput data_file, unsigned int shift) -> _SPSFT
7571  """
7572  this = _IMP_atom.new__SPSFT(*args)
7573  try:
7574  self.this.append(this)
7575  except __builtin__.Exception:
7576  self.this = this
7577  __swig_destroy__ = _IMP_atom.delete__SPSFT
7578  __del__ = lambda self: None
7579 _SPSFT_swigregister = _IMP_atom._SPSFT_swigregister
7580 _SPSFT_swigregister(_SPSFT)
7581 
7582 class ProteinLigandAtomPairScore(_SPSTF):
7583  """Proxy of C++ IMP::atom::ProteinLigandAtomPairScore class."""
7584 
7585  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7586 
7587  def __init__(self, *args):
7588  """
7589  __init__(IMP::atom::ProteinLigandAtomPairScore self, double threshold) -> ProteinLigandAtomPairScore
7590  __init__(IMP::atom::ProteinLigandAtomPairScore self) -> ProteinLigandAtomPairScore
7591  __init__(IMP::atom::ProteinLigandAtomPairScore self, double threshold, TextInput data_file) -> ProteinLigandAtomPairScore
7592  """
7593  this = _IMP_atom.new_ProteinLigandAtomPairScore(*args)
7594  try:
7595  self.this.append(this)
7596  except __builtin__.Exception:
7597  self.this = this
7598 
7599  def get_maximum_distance(self):
7600  """get_maximum_distance(ProteinLigandAtomPairScore self) -> double"""
7601  return _IMP_atom.ProteinLigandAtomPairScore_get_maximum_distance(self)
7602 
7603 
7604  def __str__(self):
7605  """__str__(ProteinLigandAtomPairScore self) -> std::string"""
7606  return _IMP_atom.ProteinLigandAtomPairScore___str__(self)
7607 
7608 
7609  def __repr__(self):
7610  """__repr__(ProteinLigandAtomPairScore self) -> std::string"""
7611  return _IMP_atom.ProteinLigandAtomPairScore___repr__(self)
7612 
7613 
7614  @staticmethod
7615  def get_from(o):
7616  return _object_cast_to_ProteinLigandAtomPairScore(o)
7617 
7618  __swig_destroy__ = _IMP_atom.delete_ProteinLigandAtomPairScore
7619  __del__ = lambda self: None
7620 ProteinLigandAtomPairScore_swigregister = _IMP_atom.ProteinLigandAtomPairScore_swigregister
7621 ProteinLigandAtomPairScore_swigregister(ProteinLigandAtomPairScore)
7622 
7623 class ProteinLigandRestraint(IMP.container.PairsRestraint):
7624  """Proxy of C++ IMP::atom::ProteinLigandRestraint class."""
7625 
7626  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7627 
7628  def __init__(self, *args):
7629  """
7630  __init__(IMP::atom::ProteinLigandRestraint self, Hierarchy protein, Hierarchy ligand, double threshold) -> ProteinLigandRestraint
7631  __init__(IMP::atom::ProteinLigandRestraint self, Hierarchy protein, Hierarchy ligand) -> ProteinLigandRestraint
7632  __init__(IMP::atom::ProteinLigandRestraint self, Hierarchy protein, Hierarchy ligand, double threshold, TextInput data_file) -> ProteinLigandRestraint
7633  """
7634  this = _IMP_atom.new_ProteinLigandRestraint(*args)
7635  try:
7636  self.this.append(this)
7637  except __builtin__.Exception:
7638  self.this = this
7639 
7640  def __str__(self):
7641  """__str__(ProteinLigandRestraint self) -> std::string"""
7642  return _IMP_atom.ProteinLigandRestraint___str__(self)
7643 
7644 
7645  def __repr__(self):
7646  """__repr__(ProteinLigandRestraint self) -> std::string"""
7647  return _IMP_atom.ProteinLigandRestraint___repr__(self)
7648 
7649 
7650  @staticmethod
7651  def get_from(o):
7652  return _object_cast_to_ProteinLigandRestraint(o)
7653 
7654  __swig_destroy__ = _IMP_atom.delete_ProteinLigandRestraint
7655  __del__ = lambda self: None
7656 ProteinLigandRestraint_swigregister = _IMP_atom.ProteinLigandRestraint_swigregister
7657 ProteinLigandRestraint_swigregister(ProteinLigandRestraint)
7658 
7659 
7661  """add_protein_ligand_score_data(Hierarchy h)"""
7662  return _IMP_atom.add_protein_ligand_score_data(h)
7663 class AtomType(IMP._Value):
7664  """Proxy of C++ IMP::Key<(8974343)> class."""
7665 
7666  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7667 
7668  def __init__(self, *args):
7669  """
7670  __init__(IMP::Key<(8974343)> self) -> AtomType
7671  __init__(IMP::Key<(8974343)> self, std::string const & c, bool is_implicit_add_permitted=True) -> AtomType
7672  __init__(IMP::Key<(8974343)> self, std::string const & c) -> AtomType
7673  __init__(IMP::Key<(8974343)> self, unsigned int i) -> AtomType
7674  """
7675  this = _IMP_atom.new_AtomType(*args)
7676  try:
7677  self.this.append(this)
7678  except __builtin__.Exception:
7679  self.this = this
7680 
7681  def add_key(sc):
7682  """add_key(std::string sc) -> unsigned int"""
7683  return _IMP_atom.AtomType_add_key(sc)
7684 
7685  add_key = staticmethod(add_key)
7686 
7687  def get_key_exists(sc):
7688  """get_key_exists(std::string sc) -> bool"""
7689  return _IMP_atom.AtomType_get_key_exists(sc)
7690 
7691  get_key_exists = staticmethod(get_key_exists)
7692 
7693  def get_string(self):
7694  """get_string(AtomType self) -> std::string const"""
7695  return _IMP_atom.AtomType_get_string(self)
7696 
7697 
7698  def __cmp__(self, o):
7699  """__cmp__(AtomType self, AtomType o) -> int"""
7700  return _IMP_atom.AtomType___cmp__(self, o)
7701 
7702 
7703  def __eq__(self, o):
7704  """__eq__(AtomType self, AtomType o) -> bool"""
7705  return _IMP_atom.AtomType___eq__(self, o)
7706 
7707 
7708  def __ne__(self, o):
7709  """__ne__(AtomType self, AtomType o) -> bool"""
7710  return _IMP_atom.AtomType___ne__(self, o)
7711 
7712 
7713  def __lt__(self, o):
7714  """__lt__(AtomType self, AtomType o) -> bool"""
7715  return _IMP_atom.AtomType___lt__(self, o)
7716 
7717 
7718  def __gt__(self, o):
7719  """__gt__(AtomType self, AtomType o) -> bool"""
7720  return _IMP_atom.AtomType___gt__(self, o)
7721 
7722 
7723  def __ge__(self, o):
7724  """__ge__(AtomType self, AtomType o) -> bool"""
7725  return _IMP_atom.AtomType___ge__(self, o)
7726 
7727 
7728  def __le__(self, o):
7729  """__le__(AtomType self, AtomType o) -> bool"""
7730  return _IMP_atom.AtomType___le__(self, o)
7731 
7732 
7733  def __hash__(self):
7734  """__hash__(AtomType self) -> std::size_t"""
7735  return _IMP_atom.AtomType___hash__(self)
7736 
7737 
7738  def show(self, *args):
7739  """
7740  show(AtomType self, _ostream out)
7741  show(AtomType self)
7742  """
7743  return _IMP_atom.AtomType_show(self, *args)
7744 
7745 
7746  def add_alias(old_key, new_name):
7747  """add_alias(AtomType old_key, std::string new_name) -> AtomType"""
7748  return _IMP_atom.AtomType_add_alias(old_key, new_name)
7749 
7750  add_alias = staticmethod(add_alias)
7751 
7752  def get_number_of_keys():
7753  """get_number_of_keys() -> unsigned int"""
7754  return _IMP_atom.AtomType_get_number_of_keys()
7755 
7756  get_number_of_keys = staticmethod(get_number_of_keys)
7757 
7758  def get_index(self):
7759  """get_index(AtomType self) -> unsigned int"""
7760  return _IMP_atom.AtomType_get_index(self)
7761 
7762 
7763  def show_all(out):
7764  """show_all(_ostream out)"""
7765  return _IMP_atom.AtomType_show_all(out)
7766 
7767  show_all = staticmethod(show_all)
7768 
7769  def get_all_strings():
7770  """get_all_strings() -> IMP::Vector< std::string >"""
7771  return _IMP_atom.AtomType_get_all_strings()
7772 
7773  get_all_strings = staticmethod(get_all_strings)
7774 
7775  def get_number_unique():
7776  """get_number_unique() -> unsigned int"""
7777  return _IMP_atom.AtomType_get_number_unique()
7778 
7779  get_number_unique = staticmethod(get_number_unique)
7780 
7781  def __str__(self):
7782  """__str__(AtomType self) -> std::string"""
7783  return _IMP_atom.AtomType___str__(self)
7784 
7785 
7786  def __repr__(self):
7787  """__repr__(AtomType self) -> std::string"""
7788  return _IMP_atom.AtomType___repr__(self)
7789 
7790  __swig_destroy__ = _IMP_atom.delete_AtomType
7791  __del__ = lambda self: None
7792 AtomType_swigregister = _IMP_atom.AtomType_swigregister
7793 AtomType_swigregister(AtomType)
7794 
7795 def AtomType_add_key(sc):
7796  """AtomType_add_key(std::string sc) -> unsigned int"""
7797  return _IMP_atom.AtomType_add_key(sc)
7798 
7799 def AtomType_get_key_exists(sc):
7800  """AtomType_get_key_exists(std::string sc) -> bool"""
7801  return _IMP_atom.AtomType_get_key_exists(sc)
7802 
7803 def AtomType_add_alias(old_key, new_name):
7804  """AtomType_add_alias(AtomType old_key, std::string new_name) -> AtomType"""
7805  return _IMP_atom.AtomType_add_alias(old_key, new_name)
7806 
7807 def AtomType_get_number_of_keys():
7808  """AtomType_get_number_of_keys() -> unsigned int"""
7809  return _IMP_atom.AtomType_get_number_of_keys()
7810 
7811 def AtomType_show_all(out):
7812  """AtomType_show_all(_ostream out)"""
7813  return _IMP_atom.AtomType_show_all(out)
7814 
7815 def AtomType_get_all_strings():
7816  """AtomType_get_all_strings() -> IMP::Vector< std::string >"""
7817  return _IMP_atom.AtomType_get_all_strings()
7818 
7819 def AtomType_get_number_unique():
7820  """AtomType_get_number_unique() -> unsigned int"""
7821  return _IMP_atom.AtomType_get_number_unique()
7822 
7823 class ResidueType(IMP._Value):
7824  """Proxy of C++ IMP::Key<(90784334)> class."""
7825 
7826  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7827 
7828  def __init__(self, *args):
7829  """
7830  __init__(IMP::Key<(90784334)> self) -> ResidueType
7831  __init__(IMP::Key<(90784334)> self, std::string const & c, bool is_implicit_add_permitted=True) -> ResidueType
7832  __init__(IMP::Key<(90784334)> self, std::string const & c) -> ResidueType
7833  __init__(IMP::Key<(90784334)> self, unsigned int i) -> ResidueType
7834  """
7835  this = _IMP_atom.new_ResidueType(*args)
7836  try:
7837  self.this.append(this)
7838  except __builtin__.Exception:
7839  self.this = this
7840 
7841  def add_key(sc):
7842  """add_key(std::string sc) -> unsigned int"""
7843  return _IMP_atom.ResidueType_add_key(sc)
7844 
7845  add_key = staticmethod(add_key)
7846 
7847  def get_key_exists(sc):
7848  """get_key_exists(std::string sc) -> bool"""
7849  return _IMP_atom.ResidueType_get_key_exists(sc)
7850 
7851  get_key_exists = staticmethod(get_key_exists)
7852 
7853  def get_string(self):
7854  """get_string(ResidueType self) -> std::string const"""
7855  return _IMP_atom.ResidueType_get_string(self)
7856 
7857 
7858  def __cmp__(self, o):
7859  """__cmp__(ResidueType self, ResidueType o) -> int"""
7860  return _IMP_atom.ResidueType___cmp__(self, o)
7861 
7862 
7863  def __eq__(self, o):
7864  """__eq__(ResidueType self, ResidueType o) -> bool"""
7865  return _IMP_atom.ResidueType___eq__(self, o)
7866 
7867 
7868  def __ne__(self, o):
7869  """__ne__(ResidueType self, ResidueType o) -> bool"""
7870  return _IMP_atom.ResidueType___ne__(self, o)
7871 
7872 
7873  def __lt__(self, o):
7874  """__lt__(ResidueType self, ResidueType o) -> bool"""
7875  return _IMP_atom.ResidueType___lt__(self, o)
7876 
7877 
7878  def __gt__(self, o):
7879  """__gt__(ResidueType self, ResidueType o) -> bool"""
7880  return _IMP_atom.ResidueType___gt__(self, o)
7881 
7882 
7883  def __ge__(self, o):
7884  """__ge__(ResidueType self, ResidueType o) -> bool"""
7885  return _IMP_atom.ResidueType___ge__(self, o)
7886 
7887 
7888  def __le__(self, o):
7889  """__le__(ResidueType self, ResidueType o) -> bool"""
7890  return _IMP_atom.ResidueType___le__(self, o)
7891 
7892 
7893  def __hash__(self):
7894  """__hash__(ResidueType self) -> std::size_t"""
7895  return _IMP_atom.ResidueType___hash__(self)
7896 
7897 
7898  def show(self, *args):
7899  """
7900  show(ResidueType self, _ostream out)
7901  show(ResidueType self)
7902  """
7903  return _IMP_atom.ResidueType_show(self, *args)
7904 
7905 
7906  def add_alias(old_key, new_name):
7907  """add_alias(ResidueType old_key, std::string new_name) -> ResidueType"""
7908  return _IMP_atom.ResidueType_add_alias(old_key, new_name)
7909 
7910  add_alias = staticmethod(add_alias)
7911 
7912  def get_number_of_keys():
7913  """get_number_of_keys() -> unsigned int"""
7914  return _IMP_atom.ResidueType_get_number_of_keys()
7915 
7916  get_number_of_keys = staticmethod(get_number_of_keys)
7917 
7918  def get_index(self):
7919  """get_index(ResidueType self) -> unsigned int"""
7920  return _IMP_atom.ResidueType_get_index(self)
7921 
7922 
7923  def show_all(out):
7924  """show_all(_ostream out)"""
7925  return _IMP_atom.ResidueType_show_all(out)
7926 
7927  show_all = staticmethod(show_all)
7928 
7929  def get_all_strings():
7930  """get_all_strings() -> IMP::Vector< std::string >"""
7931  return _IMP_atom.ResidueType_get_all_strings()
7932 
7933  get_all_strings = staticmethod(get_all_strings)
7934 
7935  def get_number_unique():
7936  """get_number_unique() -> unsigned int"""
7937  return _IMP_atom.ResidueType_get_number_unique()
7938 
7939  get_number_unique = staticmethod(get_number_unique)
7940 
7941  def __str__(self):
7942  """__str__(ResidueType self) -> std::string"""
7943  return _IMP_atom.ResidueType___str__(self)
7944 
7945 
7946  def __repr__(self):
7947  """__repr__(ResidueType self) -> std::string"""
7948  return _IMP_atom.ResidueType___repr__(self)
7949 
7950  __swig_destroy__ = _IMP_atom.delete_ResidueType
7951  __del__ = lambda self: None
7952 ResidueType_swigregister = _IMP_atom.ResidueType_swigregister
7953 ResidueType_swigregister(ResidueType)
7954 
7955 def ResidueType_add_key(sc):
7956  """ResidueType_add_key(std::string sc) -> unsigned int"""
7957  return _IMP_atom.ResidueType_add_key(sc)
7958 
7959 def ResidueType_get_key_exists(sc):
7960  """ResidueType_get_key_exists(std::string sc) -> bool"""
7961  return _IMP_atom.ResidueType_get_key_exists(sc)
7962 
7963 def ResidueType_add_alias(old_key, new_name):
7964  """ResidueType_add_alias(ResidueType old_key, std::string new_name) -> ResidueType"""
7965  return _IMP_atom.ResidueType_add_alias(old_key, new_name)
7966 
7967 def ResidueType_get_number_of_keys():
7968  """ResidueType_get_number_of_keys() -> unsigned int"""
7969  return _IMP_atom.ResidueType_get_number_of_keys()
7970 
7971 def ResidueType_show_all(out):
7972  """ResidueType_show_all(_ostream out)"""
7973  return _IMP_atom.ResidueType_show_all(out)
7974 
7975 def ResidueType_get_all_strings():
7976  """ResidueType_get_all_strings() -> IMP::Vector< std::string >"""
7977  return _IMP_atom.ResidueType_get_all_strings()
7978 
7979 def ResidueType_get_number_unique():
7980  """ResidueType_get_number_unique() -> unsigned int"""
7981  return _IMP_atom.ResidueType_get_number_unique()
7982 
7983 class ChainType(IMP._Value):
7984  """Proxy of C++ IMP::Key<(90784336)> class."""
7985 
7986  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7987 
7988  def __init__(self, *args):
7989  """
7990  __init__(IMP::Key<(90784336)> self) -> ChainType
7991  __init__(IMP::Key<(90784336)> self, std::string const & c, bool is_implicit_add_permitted=True) -> ChainType
7992  __init__(IMP::Key<(90784336)> self, std::string const & c) -> ChainType
7993  __init__(IMP::Key<(90784336)> self, unsigned int i) -> ChainType
7994  """
7995  this = _IMP_atom.new_ChainType(*args)
7996  try:
7997  self.this.append(this)
7998  except __builtin__.Exception:
7999  self.this = this
8000 
8001  def add_key(sc):
8002  """add_key(std::string sc) -> unsigned int"""
8003  return _IMP_atom.ChainType_add_key(sc)
8004 
8005  add_key = staticmethod(add_key)
8006 
8007  def get_key_exists(sc):
8008  """get_key_exists(std::string sc) -> bool"""
8009  return _IMP_atom.ChainType_get_key_exists(sc)
8010 
8011  get_key_exists = staticmethod(get_key_exists)
8012 
8013  def get_string(self):
8014  """get_string(ChainType self) -> std::string const"""
8015  return _IMP_atom.ChainType_get_string(self)
8016 
8017 
8018  def __cmp__(self, o):
8019  """__cmp__(ChainType self, ChainType o) -> int"""
8020  return _IMP_atom.ChainType___cmp__(self, o)
8021 
8022 
8023  def __eq__(self, o):
8024  """__eq__(ChainType self, ChainType o) -> bool"""
8025  return _IMP_atom.ChainType___eq__(self, o)
8026 
8027 
8028  def __ne__(self, o):
8029  """__ne__(ChainType self, ChainType o) -> bool"""
8030  return _IMP_atom.ChainType___ne__(self, o)
8031 
8032 
8033  def __lt__(self, o):
8034  """__lt__(ChainType self, ChainType o) -> bool"""
8035  return _IMP_atom.ChainType___lt__(self, o)
8036 
8037 
8038  def __gt__(self, o):
8039  """__gt__(ChainType self, ChainType o) -> bool"""
8040  return _IMP_atom.ChainType___gt__(self, o)
8041 
8042 
8043  def __ge__(self, o):
8044  """__ge__(ChainType self, ChainType o) -> bool"""
8045  return _IMP_atom.ChainType___ge__(self, o)
8046 
8047 
8048  def __le__(self, o):
8049  """__le__(ChainType self, ChainType o) -> bool"""
8050  return _IMP_atom.ChainType___le__(self, o)
8051 
8052 
8053  def __hash__(self):
8054  """__hash__(ChainType self) -> std::size_t"""
8055  return _IMP_atom.ChainType___hash__(self)
8056 
8057 
8058  def show(self, *args):
8059  """
8060  show(ChainType self, _ostream out)
8061  show(ChainType self)
8062  """
8063  return _IMP_atom.ChainType_show(self, *args)
8064 
8065 
8066  def add_alias(old_key, new_name):
8067  """add_alias(ChainType old_key, std::string new_name) -> ChainType"""
8068  return _IMP_atom.ChainType_add_alias(old_key, new_name)
8069 
8070  add_alias = staticmethod(add_alias)
8071 
8072  def get_number_of_keys():
8073  """get_number_of_keys() -> unsigned int"""
8074  return _IMP_atom.ChainType_get_number_of_keys()
8075 
8076  get_number_of_keys = staticmethod(get_number_of_keys)
8077 
8078  def get_index(self):
8079  """get_index(ChainType self) -> unsigned int"""
8080  return _IMP_atom.ChainType_get_index(self)
8081 
8082 
8083  def show_all(out):
8084  """show_all(_ostream out)"""
8085  return _IMP_atom.ChainType_show_all(out)
8086 
8087  show_all = staticmethod(show_all)
8088 
8089  def get_all_strings():
8090  """get_all_strings() -> IMP::Vector< std::string >"""
8091  return _IMP_atom.ChainType_get_all_strings()
8092 
8093  get_all_strings = staticmethod(get_all_strings)
8094 
8095  def get_number_unique():
8096  """get_number_unique() -> unsigned int"""
8097  return _IMP_atom.ChainType_get_number_unique()
8098 
8099  get_number_unique = staticmethod(get_number_unique)
8100 
8101  def __str__(self):
8102  """__str__(ChainType self) -> std::string"""
8103  return _IMP_atom.ChainType___str__(self)
8104 
8105 
8106  def __repr__(self):
8107  """__repr__(ChainType self) -> std::string"""
8108  return _IMP_atom.ChainType___repr__(self)
8109 
8110  __swig_destroy__ = _IMP_atom.delete_ChainType
8111  __del__ = lambda self: None
8112 ChainType_swigregister = _IMP_atom.ChainType_swigregister
8113 ChainType_swigregister(ChainType)
8114 
8115 def ChainType_add_key(sc):
8116  """ChainType_add_key(std::string sc) -> unsigned int"""
8117  return _IMP_atom.ChainType_add_key(sc)
8118 
8119 def ChainType_get_key_exists(sc):
8120  """ChainType_get_key_exists(std::string sc) -> bool"""
8121  return _IMP_atom.ChainType_get_key_exists(sc)
8122 
8123 def ChainType_add_alias(old_key, new_name):
8124  """ChainType_add_alias(ChainType old_key, std::string new_name) -> ChainType"""
8125  return _IMP_atom.ChainType_add_alias(old_key, new_name)
8126 
8127 def ChainType_get_number_of_keys():
8128  """ChainType_get_number_of_keys() -> unsigned int"""
8129  return _IMP_atom.ChainType_get_number_of_keys()
8130 
8131 def ChainType_show_all(out):
8132  """ChainType_show_all(_ostream out)"""
8133  return _IMP_atom.ChainType_show_all(out)
8134 
8135 def ChainType_get_all_strings():
8136  """ChainType_get_all_strings() -> IMP::Vector< std::string >"""
8137  return _IMP_atom.ChainType_get_all_strings()
8138 
8139 def ChainType_get_number_unique():
8140  """ChainType_get_number_unique() -> unsigned int"""
8141  return _IMP_atom.ChainType_get_number_unique()
8142 
8143 UNKNOWN_ELEMENT = _IMP_atom.UNKNOWN_ELEMENT
8144 OH = _IMP_atom.OH
8145 H2O = _IMP_atom.H2O
8146 H = _IMP_atom.H
8147 He = _IMP_atom.He
8148 Li = _IMP_atom.Li
8149 Be = _IMP_atom.Be
8150 B = _IMP_atom.B
8151 C = _IMP_atom.C
8152 N = _IMP_atom.N
8153 O = _IMP_atom.O
8154 F = _IMP_atom.F
8155 Ne = _IMP_atom.Ne
8156 Na = _IMP_atom.Na
8157 Mg = _IMP_atom.Mg
8158 Al = _IMP_atom.Al
8159 Si = _IMP_atom.Si
8160 P = _IMP_atom.P
8161 S = _IMP_atom.S
8162 Cl = _IMP_atom.Cl
8163 Ar = _IMP_atom.Ar
8164 K = _IMP_atom.K
8165 Ca = _IMP_atom.Ca
8166 Sc = _IMP_atom.Sc
8167 Ti = _IMP_atom.Ti
8168 V = _IMP_atom.V
8169 Cr = _IMP_atom.Cr
8170 Mn = _IMP_atom.Mn
8171 Fe = _IMP_atom.Fe
8172 Co = _IMP_atom.Co
8173 Ni = _IMP_atom.Ni
8174 Cu = _IMP_atom.Cu
8175 Zn = _IMP_atom.Zn
8176 Ga = _IMP_atom.Ga
8177 Ge = _IMP_atom.Ge
8178 As = _IMP_atom.As
8179 Se = _IMP_atom.Se
8180 Br = _IMP_atom.Br
8181 Kr = _IMP_atom.Kr
8182 Rb = _IMP_atom.Rb
8183 Sr = _IMP_atom.Sr
8184 Y = _IMP_atom.Y
8185 Zr = _IMP_atom.Zr
8186 Nb = _IMP_atom.Nb
8187 Mo = _IMP_atom.Mo
8188 Tc = _IMP_atom.Tc
8189 Ru = _IMP_atom.Ru
8190 Rh = _IMP_atom.Rh
8191 Pd = _IMP_atom.Pd
8192 Ag = _IMP_atom.Ag
8193 Cd = _IMP_atom.Cd
8194 In = _IMP_atom.In
8195 Sn = _IMP_atom.Sn
8196 Sb = _IMP_atom.Sb
8197 Te = _IMP_atom.Te
8198 I = _IMP_atom.I
8199 Xe = _IMP_atom.Xe
8200 Cs = _IMP_atom.Cs
8201 Ba = _IMP_atom.Ba
8202 La = _IMP_atom.La
8203 Ce = _IMP_atom.Ce
8204 Pr = _IMP_atom.Pr
8205 Nd = _IMP_atom.Nd
8206 Pm = _IMP_atom.Pm
8207 Sm = _IMP_atom.Sm
8208 Eu = _IMP_atom.Eu
8209 Gd = _IMP_atom.Gd
8210 Tb = _IMP_atom.Tb
8211 Dy = _IMP_atom.Dy
8212 Ho = _IMP_atom.Ho
8213 Er = _IMP_atom.Er
8214 Tm = _IMP_atom.Tm
8215 Yb = _IMP_atom.Yb
8216 Lu = _IMP_atom.Lu
8217 Hf = _IMP_atom.Hf
8218 Ta = _IMP_atom.Ta
8219 W = _IMP_atom.W
8220 Re = _IMP_atom.Re
8221 Os = _IMP_atom.Os
8222 Ir = _IMP_atom.Ir
8223 Pt = _IMP_atom.Pt
8224 Au = _IMP_atom.Au
8225 Hg = _IMP_atom.Hg
8226 Tl = _IMP_atom.Tl
8227 Pb = _IMP_atom.Pb
8228 Bi = _IMP_atom.Bi
8229 Po = _IMP_atom.Po
8230 At = _IMP_atom.At
8231 Rn = _IMP_atom.Rn
8232 Fr = _IMP_atom.Fr
8233 Ra = _IMP_atom.Ra
8234 Ac = _IMP_atom.Ac
8235 Th = _IMP_atom.Th
8236 Pa = _IMP_atom.Pa
8237 U = _IMP_atom.U
8238 Np = _IMP_atom.Np
8239 Pu = _IMP_atom.Pu
8240 Am = _IMP_atom.Am
8241 Cm = _IMP_atom.Cm
8242 Bk = _IMP_atom.Bk
8243 Cf = _IMP_atom.Cf
8244 Es = _IMP_atom.Es
8245 Fm = _IMP_atom.Fm
8246 Md = _IMP_atom.Md
8247 No = _IMP_atom.No
8248 Lr = _IMP_atom.Lr
8249 Db = _IMP_atom.Db
8250 Jl = _IMP_atom.Jl
8251 Rf = _IMP_atom.Rf
8252 NUMBER_OF_ELEMENTS = _IMP_atom.NUMBER_OF_ELEMENTS
8253 
8254 def hash_value(e):
8255  """hash_value(IMP::atom::Element e) -> size_t"""
8256  return _IMP_atom.hash_value(e)
8257 class ElementTable(object):
8258  """Proxy of C++ IMP::atom::ElementTable class."""
8259 
8260  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8261  __repr__ = _swig_repr
8262 
8263  def __init__(self):
8264  """__init__(IMP::atom::ElementTable self) -> ElementTable"""
8265  this = _IMP_atom.new_ElementTable()
8266  try:
8267  self.this.append(this)
8268  except __builtin__.Exception:
8269  self.this = this
8270 
8271  def get_element(self, s):
8272  """get_element(ElementTable self, std::string const & s) -> IMP::atom::Element"""
8273  return _IMP_atom.ElementTable_get_element(self, s)
8274 
8275 
8276  def get_name(self, e):
8277  """get_name(ElementTable self, IMP::atom::Element e) -> std::string"""
8278  return _IMP_atom.ElementTable_get_name(self, e)
8279 
8280 
8281  def get_mass(self, e):
8282  """get_mass(ElementTable self, IMP::atom::Element e) -> IMP::Float"""
8283  return _IMP_atom.ElementTable_get_mass(self, e)
8284 
8285  __swig_destroy__ = _IMP_atom.delete_ElementTable
8286  __del__ = lambda self: None
8287 ElementTable_swigregister = _IMP_atom.ElementTable_swigregister
8288 ElementTable_swigregister(ElementTable)
8289 
8290 
8291 def get_element_table():
8292  """get_element_table() -> ElementTable"""
8293  return _IMP_atom.get_element_table()
8294 class Atom(Hierarchy):
8295  """Proxy of C++ IMP::atom::Atom class."""
8296 
8297  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8298 
8299  def __init__(self, *args):
8300  """
8301  __init__(IMP::atom::Atom self) -> Atom
8302  __init__(IMP::atom::Atom self, Model m, ParticleIndex id) -> Atom
8303  __init__(IMP::atom::Atom self, _ParticleAdaptor d) -> Atom
8304  """
8305  this = _IMP_atom.new_Atom(*args)
8306  try:
8307  self.this.append(this)
8308  except __builtin__.Exception:
8309  self.this = this
8310 
8311  def show(self, *args):
8312  """
8313  show(Atom self, _ostream out)
8314  show(Atom self)
8315  """
8316  return _IMP_atom.Atom_show(self, *args)
8317 
8318 
8319  def setup_particle(*args):
8320  """
8321  setup_particle(Model m, ParticleIndex pi, Atom other) -> Atom
8322  setup_particle(_ParticleAdaptor decorator, Atom other) -> Atom
8323  setup_particle(Model m, ParticleIndex pi, AtomType atom_type) -> Atom
8324  setup_particle(_ParticleAdaptor decorator, AtomType atom_type) -> Atom
8325  """
8326  return _IMP_atom.Atom_setup_particle(*args)
8327 
8328  setup_particle = staticmethod(setup_particle)
8329 
8330  def get_is_setup(*args):
8331  """
8332  get_is_setup(_ParticleAdaptor p) -> bool
8333  get_is_setup(Model m, ParticleIndex pi) -> bool
8334  """
8335  return _IMP_atom.Atom_get_is_setup(*args)
8336 
8337  get_is_setup = staticmethod(get_is_setup)
8338 
8339  def get_atom_type(self):
8340  """get_atom_type(Atom self) -> AtomType"""
8341  return _IMP_atom.Atom_get_atom_type(self)
8342 
8343 
8344  def set_atom_type(self, t):
8345  """set_atom_type(Atom self, AtomType t)"""
8346  return _IMP_atom.Atom_set_atom_type(self, t)
8347 
8348 
8349  def get_element(self):
8350  """get_element(Atom self) -> IMP::atom::Element"""
8351  return _IMP_atom.Atom_get_element(self)
8352 
8353 
8354  def set_element(self, e):
8355  """set_element(Atom self, IMP::atom::Element e)"""
8356  return _IMP_atom.Atom_set_element(self, e)
8357 
8358 
8359  def get_occupancy(self):
8360  """get_occupancy(Atom self) -> double"""
8361  return _IMP_atom.Atom_get_occupancy(self)
8362 
8363 
8364  def set_occupancy(self, occupancy):
8365  """set_occupancy(Atom self, double occupancy)"""
8366  return _IMP_atom.Atom_set_occupancy(self, occupancy)
8367 
8368 
8369  def get_temperature_factor(self):
8370  """get_temperature_factor(Atom self) -> double"""
8371  return _IMP_atom.Atom_get_temperature_factor(self)
8372 
8373 
8374  def set_temperature_factor(self, tempFactor):
8375  """set_temperature_factor(Atom self, double tempFactor)"""
8376  return _IMP_atom.Atom_set_temperature_factor(self, tempFactor)
8377 
8378 
8379  def get_input_index(self):
8380  """get_input_index(Atom self) -> IMP::Int"""
8381  return _IMP_atom.Atom_get_input_index(self)
8382 
8383 
8384  def set_input_index(self, t):
8385  """set_input_index(Atom self, IMP::Int t)"""
8386  return _IMP_atom.Atom_set_input_index(self, t)
8387 
8388 
8389  def get_atom_type_key():
8390  """get_atom_type_key() -> IntKey"""
8391  return _IMP_atom.Atom_get_atom_type_key()
8392 
8393  get_atom_type_key = staticmethod(get_atom_type_key)
8394 
8395  def get_element_key():
8396  """get_element_key() -> IntKey"""
8397  return _IMP_atom.Atom_get_element_key()
8398 
8399  get_element_key = staticmethod(get_element_key)
8400 
8401  def get_input_index_key():
8402  """get_input_index_key() -> IntKey"""
8403  return _IMP_atom.Atom_get_input_index_key()
8404 
8405  get_input_index_key = staticmethod(get_input_index_key)
8406 
8407  def get_occupancy_key():
8408  """get_occupancy_key() -> FloatKey"""
8409  return _IMP_atom.Atom_get_occupancy_key()
8410 
8411  get_occupancy_key = staticmethod(get_occupancy_key)
8412 
8413  def get_temperature_factor_key():
8414  """get_temperature_factor_key() -> FloatKey"""
8415  return _IMP_atom.Atom_get_temperature_factor_key()
8416 
8417  get_temperature_factor_key = staticmethod(get_temperature_factor_key)
8418 
8419  def add_attribute(self, *args):
8420  """
8421  add_attribute(Atom self, FloatKey k, IMP::Float v, bool opt)
8422  add_attribute(Atom self, FloatKey a0, IMP::Float a1)
8423  add_attribute(Atom self, IntKey a0, IMP::Int a1)
8424  add_attribute(Atom self, StringKey a0, IMP::String a1)
8425  add_attribute(Atom self, ParticleIndexKey a0, Particle a1)
8426  add_attribute(Atom self, ObjectKey a0, Object a1)
8427  """
8428  return _IMP_atom.Atom_add_attribute(self, *args)
8429 
8430 
8431  def get_value(self, *args):
8432  """
8433  get_value(Atom self, FloatKey a0) -> IMP::Float
8434  get_value(Atom self, IntKey a0) -> IMP::Int
8435  get_value(Atom self, StringKey a0) -> IMP::String
8436  get_value(Atom self, ParticleIndexKey a0) -> Particle
8437  get_value(Atom self, ObjectKey a0) -> Object
8438  """
8439  return _IMP_atom.Atom_get_value(self, *args)
8440 
8441 
8442  def set_value(self, *args):
8443  """
8444  set_value(Atom self, FloatKey a0, IMP::Float a1)
8445  set_value(Atom self, IntKey a0, IMP::Int a1)
8446  set_value(Atom self, StringKey a0, IMP::String a1)
8447  set_value(Atom self, ParticleIndexKey a0, Particle a1)
8448  set_value(Atom self, ObjectKey a0, Object a1)
8449  """
8450  return _IMP_atom.Atom_set_value(self, *args)
8451 
8452 
8453  def remove_attribute(self, *args):
8454  """
8455  remove_attribute(Atom self, FloatKey a0)
8456  remove_attribute(Atom self, IntKey a0)
8457  remove_attribute(Atom self, StringKey a0)
8458  remove_attribute(Atom self, ParticleIndexKey a0)
8459  remove_attribute(Atom self, ObjectKey a0)
8460  """
8461  return _IMP_atom.Atom_remove_attribute(self, *args)
8462 
8463 
8464  def has_attribute(self, *args):
8465  """
8466  has_attribute(Atom self, FloatKey a0) -> bool
8467  has_attribute(Atom self, IntKey a0) -> bool
8468  has_attribute(Atom self, StringKey a0) -> bool
8469  has_attribute(Atom self, ParticleIndexKey a0) -> bool
8470  has_attribute(Atom self, ObjectKey a0) -> bool
8471  """
8472  return _IMP_atom.Atom_has_attribute(self, *args)
8473 
8474 
8475  def get_derivative(self, a0):
8476  """get_derivative(Atom self, FloatKey a0) -> double"""
8477  return _IMP_atom.Atom_get_derivative(self, a0)
8478 
8479 
8480  def get_name(self):
8481  """get_name(Atom self) -> std::string"""
8482  return _IMP_atom.Atom_get_name(self)
8483 
8484 
8485  def clear_caches(self):
8486  """clear_caches(Atom self)"""
8487  return _IMP_atom.Atom_clear_caches(self)
8488 
8489 
8490  def set_name(self, a0):
8491  """set_name(Atom self, std::string a0)"""
8492  return _IMP_atom.Atom_set_name(self, a0)
8493 
8494 
8495  def set_check_level(self, a0):
8496  """set_check_level(Atom self, IMP::CheckLevel a0)"""
8497  return _IMP_atom.Atom_set_check_level(self, a0)
8498 
8499 
8500  def add_to_derivative(self, a0, a1, a2):
8501  """add_to_derivative(Atom self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
8502  return _IMP_atom.Atom_add_to_derivative(self, a0, a1, a2)
8503 
8504 
8505  def set_is_optimized(self, a0, a1):
8506  """set_is_optimized(Atom self, FloatKey a0, bool a1)"""
8507  return _IMP_atom.Atom_set_is_optimized(self, a0, a1)
8508 
8509 
8510  def get_is_optimized(self, a0):
8511  """get_is_optimized(Atom self, FloatKey a0) -> bool"""
8512  return _IMP_atom.Atom_get_is_optimized(self, a0)
8513 
8514 
8515  def get_check_level(self):
8516  """get_check_level(Atom self) -> IMP::CheckLevel"""
8517  return _IMP_atom.Atom_get_check_level(self)
8518 
8519 
8520  def __eq__(self, *args):
8521  """
8522  __eq__(Atom self, Atom o) -> bool
8523  __eq__(Atom self, Particle d) -> bool
8524  """
8525  return _IMP_atom.Atom___eq__(self, *args)
8526 
8527 
8528  def __ne__(self, *args):
8529  """
8530  __ne__(Atom self, Atom o) -> bool
8531  __ne__(Atom self, Particle d) -> bool
8532  """
8533  return _IMP_atom.Atom___ne__(self, *args)
8534 
8535 
8536  def __le__(self, *args):
8537  """
8538  __le__(Atom self, Atom o) -> bool
8539  __le__(Atom self, Particle d) -> bool
8540  """
8541  return _IMP_atom.Atom___le__(self, *args)
8542 
8543 
8544  def __lt__(self, *args):
8545  """
8546  __lt__(Atom self, Atom o) -> bool
8547  __lt__(Atom self, Particle d) -> bool
8548  """
8549  return _IMP_atom.Atom___lt__(self, *args)
8550 
8551 
8552  def __ge__(self, *args):
8553  """
8554  __ge__(Atom self, Atom o) -> bool
8555  __ge__(Atom self, Particle d) -> bool
8556  """
8557  return _IMP_atom.Atom___ge__(self, *args)
8558 
8559 
8560  def __gt__(self, *args):
8561  """
8562  __gt__(Atom self, Atom o) -> bool
8563  __gt__(Atom self, Particle d) -> bool
8564  """
8565  return _IMP_atom.Atom___gt__(self, *args)
8566 
8567 
8568  def __hash__(self):
8569  """__hash__(Atom self) -> std::size_t"""
8570  return _IMP_atom.Atom___hash__(self)
8571 
8572 
8573  def __str__(self):
8574  """__str__(Atom self) -> std::string"""
8575  return _IMP_atom.Atom___str__(self)
8576 
8577 
8578  def __repr__(self):
8579  """__repr__(Atom self) -> std::string"""
8580  return _IMP_atom.Atom___repr__(self)
8581 
8582  __swig_destroy__ = _IMP_atom.delete_Atom
8583  __del__ = lambda self: None
8584 Atom_swigregister = _IMP_atom.Atom_swigregister
8585 Atom_swigregister(Atom)
8586 AT_UNKNOWN = cvar.AT_UNKNOWN
8587 AT_N = cvar.AT_N
8588 AT_CA = cvar.AT_CA
8589 AT_C = cvar.AT_C
8590 AT_O = cvar.AT_O
8591 AT_H = cvar.AT_H
8592 AT_H1 = cvar.AT_H1
8593 AT_H2 = cvar.AT_H2
8594 AT_H3 = cvar.AT_H3
8595 AT_HA = cvar.AT_HA
8596 AT_HA1 = cvar.AT_HA1
8597 AT_HA2 = cvar.AT_HA2
8598 AT_HA3 = cvar.AT_HA3
8599 AT_CB = cvar.AT_CB
8600 AT_HB = cvar.AT_HB
8601 AT_HB1 = cvar.AT_HB1
8602 AT_HB2 = cvar.AT_HB2
8603 AT_HB3 = cvar.AT_HB3
8604 AT_OXT = cvar.AT_OXT
8605 AT_CH3 = cvar.AT_CH3
8606 AT_CH = cvar.AT_CH
8607 AT_CG = cvar.AT_CG
8608 AT_CG1 = cvar.AT_CG1
8609 AT_CG2 = cvar.AT_CG2
8610 AT_HG = cvar.AT_HG
8611 AT_HG1 = cvar.AT_HG1
8612 AT_HG2 = cvar.AT_HG2
8613 AT_HG3 = cvar.AT_HG3
8614 AT_HG11 = cvar.AT_HG11
8615 AT_HG21 = cvar.AT_HG21
8616 AT_HG31 = cvar.AT_HG31
8617 AT_HG12 = cvar.AT_HG12
8618 AT_HG13 = cvar.AT_HG13
8619 AT_HG22 = cvar.AT_HG22
8620 AT_HG23 = cvar.AT_HG23
8621 AT_HG32 = cvar.AT_HG32
8622 AT_OG = cvar.AT_OG
8623 AT_OG1 = cvar.AT_OG1
8624 AT_SG = cvar.AT_SG
8625 AT_CD = cvar.AT_CD
8626 AT_CD1 = cvar.AT_CD1
8627 AT_CD2 = cvar.AT_CD2
8628 AT_HD = cvar.AT_HD
8629 AT_HD1 = cvar.AT_HD1
8630 AT_HD2 = cvar.AT_HD2
8631 AT_HD3 = cvar.AT_HD3
8632 AT_HD11 = cvar.AT_HD11
8633 AT_HD21 = cvar.AT_HD21
8634 AT_HD31 = cvar.AT_HD31
8635 AT_HD12 = cvar.AT_HD12
8636 AT_HD13 = cvar.AT_HD13
8637 AT_HD22 = cvar.AT_HD22
8638 AT_HD23 = cvar.AT_HD23
8639 AT_HD32 = cvar.AT_HD32
8640 AT_SD = cvar.AT_SD
8641 AT_OD1 = cvar.AT_OD1
8642 AT_OD2 = cvar.AT_OD2
8643 AT_ND1 = cvar.AT_ND1
8644 AT_ND2 = cvar.AT_ND2
8645 AT_CE = cvar.AT_CE
8646 AT_CE1 = cvar.AT_CE1
8647 AT_CE2 = cvar.AT_CE2
8648 AT_CE3 = cvar.AT_CE3
8649 AT_HE = cvar.AT_HE
8650 AT_HE1 = cvar.AT_HE1
8651 AT_HE2 = cvar.AT_HE2
8652 AT_HE3 = cvar.AT_HE3
8653 AT_HE21 = cvar.AT_HE21
8654 AT_HE22 = cvar.AT_HE22
8655 AT_OE1 = cvar.AT_OE1
8656 AT_OE2 = cvar.AT_OE2
8657 AT_NE = cvar.AT_NE
8658 AT_NE1 = cvar.AT_NE1
8659 AT_NE2 = cvar.AT_NE2
8660 AT_CZ = cvar.AT_CZ
8661 AT_CZ2 = cvar.AT_CZ2
8662 AT_CZ3 = cvar.AT_CZ3
8663 AT_NZ = cvar.AT_NZ
8664 AT_HZ = cvar.AT_HZ
8665 AT_HZ1 = cvar.AT_HZ1
8666 AT_HZ2 = cvar.AT_HZ2
8667 AT_HZ3 = cvar.AT_HZ3
8668 AT_CH2 = cvar.AT_CH2
8669 AT_NH1 = cvar.AT_NH1
8670 AT_NH2 = cvar.AT_NH2
8671 AT_OH = cvar.AT_OH
8672 AT_HH = cvar.AT_HH
8673 AT_HH11 = cvar.AT_HH11
8674 AT_HH21 = cvar.AT_HH21
8675 AT_HH2 = cvar.AT_HH2
8676 AT_HH12 = cvar.AT_HH12
8677 AT_HH22 = cvar.AT_HH22
8678 AT_HH13 = cvar.AT_HH13
8679 AT_HH23 = cvar.AT_HH23
8680 AT_HH33 = cvar.AT_HH33
8681 AT_P = cvar.AT_P
8682 AT_OP1 = cvar.AT_OP1
8683 AT_OP2 = cvar.AT_OP2
8684 AT_OP3 = cvar.AT_OP3
8685 AT_O5p = cvar.AT_O5p
8686 AT_C5p = cvar.AT_C5p
8687 AT_H5p = cvar.AT_H5p
8688 AT_H5pp = cvar.AT_H5pp
8689 AT_C4p = cvar.AT_C4p
8690 AT_H4p = cvar.AT_H4p
8691 AT_O4p = cvar.AT_O4p
8692 AT_C1p = cvar.AT_C1p
8693 AT_H1p = cvar.AT_H1p
8694 AT_C3p = cvar.AT_C3p
8695 AT_H3p = cvar.AT_H3p
8696 AT_O3p = cvar.AT_O3p
8697 AT_C2p = cvar.AT_C2p
8698 AT_H2p = cvar.AT_H2p
8699 AT_H2pp = cvar.AT_H2pp
8700 AT_O2p = cvar.AT_O2p
8701 AT_HO2p = cvar.AT_HO2p
8702 AT_N9 = cvar.AT_N9
8703 AT_C8 = cvar.AT_C8
8704 AT_H8 = cvar.AT_H8
8705 AT_N7 = cvar.AT_N7
8706 AT_C5 = cvar.AT_C5
8707 AT_C4 = cvar.AT_C4
8708 AT_N3 = cvar.AT_N3
8709 AT_C2 = cvar.AT_C2
8710 AT_N1 = cvar.AT_N1
8711 AT_C6 = cvar.AT_C6
8712 AT_N6 = cvar.AT_N6
8713 AT_H61 = cvar.AT_H61
8714 AT_H62 = cvar.AT_H62
8715 AT_O6 = cvar.AT_O6
8716 AT_N2 = cvar.AT_N2
8717 AT_NT = cvar.AT_NT
8718 AT_H21 = cvar.AT_H21
8719 AT_H22 = cvar.AT_H22
8720 AT_H6 = cvar.AT_H6
8721 AT_H5 = cvar.AT_H5
8722 AT_O2 = cvar.AT_O2
8723 AT_N4 = cvar.AT_N4
8724 AT_H41 = cvar.AT_H41
8725 AT_H42 = cvar.AT_H42
8726 AT_O4 = cvar.AT_O4
8727 AT_C7 = cvar.AT_C7
8728 AT_H71 = cvar.AT_H71
8729 AT_H72 = cvar.AT_H72
8730 AT_H73 = cvar.AT_H73
8731 AT_O1A = cvar.AT_O1A
8732 AT_O2A = cvar.AT_O2A
8733 AT_O3A = cvar.AT_O3A
8734 AT_O1B = cvar.AT_O1B
8735 AT_O2B = cvar.AT_O2B
8736 AT_O3B = cvar.AT_O3B
8737 
8738 def Atom_setup_particle(*args):
8739  """
8740  setup_particle(Model m, ParticleIndex pi, Atom other) -> Atom
8741  setup_particle(_ParticleAdaptor decorator, Atom other) -> Atom
8742  setup_particle(Model m, ParticleIndex pi, AtomType atom_type) -> Atom
8743  Atom_setup_particle(_ParticleAdaptor decorator, AtomType atom_type) -> Atom
8744  """
8745  return _IMP_atom.Atom_setup_particle(*args)
8746 
8747 def Atom_get_is_setup(*args):
8748  """
8749  get_is_setup(_ParticleAdaptor p) -> bool
8750  Atom_get_is_setup(Model m, ParticleIndex pi) -> bool
8751  """
8752  return _IMP_atom.Atom_get_is_setup(*args)
8753 
8754 def Atom_get_atom_type_key():
8755  """Atom_get_atom_type_key() -> IntKey"""
8756  return _IMP_atom.Atom_get_atom_type_key()
8757 
8758 def Atom_get_element_key():
8759  """Atom_get_element_key() -> IntKey"""
8760  return _IMP_atom.Atom_get_element_key()
8761 
8762 def Atom_get_input_index_key():
8763  """Atom_get_input_index_key() -> IntKey"""
8764  return _IMP_atom.Atom_get_input_index_key()
8765 
8766 def Atom_get_occupancy_key():
8767  """Atom_get_occupancy_key() -> FloatKey"""
8768  return _IMP_atom.Atom_get_occupancy_key()
8769 
8770 def Atom_get_temperature_factor_key():
8771  """Atom_get_temperature_factor_key() -> FloatKey"""
8772  return _IMP_atom.Atom_get_temperature_factor_key()
8773 
8774 
8775 def get_residue(*args):
8776  """
8777  get_residue(Hierarchy mhd, unsigned int index) -> Hierarchy
8778  get_residue(Atom d, bool nothrow=False) -> Residue
8779  get_residue(Atom d) -> Residue
8780  """
8781  return _IMP_atom.get_residue(*args)
8782 
8783 def get_atom(rd, at):
8784  """get_atom(Residue rd, AtomType at) -> Atom"""
8785  return _IMP_atom.get_atom(rd, at)
8786 
8787 def add_atom_type(name, e):
8788  """add_atom_type(std::string name, IMP::atom::Element e) -> AtomType"""
8789  return _IMP_atom.add_atom_type(name, e)
8790 
8791 def get_element_for_atom_type(at):
8792  """get_element_for_atom_type(AtomType at) -> IMP::atom::Element"""
8793  return _IMP_atom.get_element_for_atom_type(at)
8794 
8795 def get_atom_type_exists(name):
8796  """get_atom_type_exists(std::string name) -> bool"""
8797  return _IMP_atom.get_atom_type_exists(name)
8798 class Residue(Hierarchy):
8799  """Proxy of C++ IMP::atom::Residue class."""
8800 
8801  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8802 
8803  def __init__(self, *args):
8804  """
8805  __init__(IMP::atom::Residue self) -> Residue
8806  __init__(IMP::atom::Residue self, Model m, ParticleIndex id) -> Residue
8807  __init__(IMP::atom::Residue self, _ParticleAdaptor d) -> Residue
8808  """
8809  this = _IMP_atom.new_Residue(*args)
8810  try:
8811  self.this.append(this)
8812  except __builtin__.Exception:
8813  self.this = this
8814 
8815  def show(self, *args):
8816  """
8817  show(Residue self, _ostream out)
8818  show(Residue self)
8819  """
8820  return _IMP_atom.Residue_show(self, *args)
8821 
8822 
8823  def setup_particle(*args):
8824  """
8825  setup_particle(Model m, ParticleIndex pi, ResidueType t, int index, int insertion_code) -> Residue
8826  setup_particle(_ParticleAdaptor decorator, ResidueType t, int index, int insertion_code) -> Residue
8827  setup_particle(Model m, ParticleIndex pi, ResidueType t, int index) -> Residue
8828  setup_particle(_ParticleAdaptor decorator, ResidueType t, int index) -> Residue
8829  setup_particle(Model m, ParticleIndex pi, ResidueType t) -> Residue
8830  setup_particle(_ParticleAdaptor decorator, ResidueType t) -> Residue
8831  setup_particle(Model m, ParticleIndex pi, Residue other) -> Residue
8832  setup_particle(_ParticleAdaptor decorator, Residue other) -> Residue
8833  """
8834  return _IMP_atom.Residue_setup_particle(*args)
8835 
8836  setup_particle = staticmethod(setup_particle)
8837 
8838  def get_is_setup(*args):
8839  """
8840  get_is_setup(_ParticleAdaptor p) -> bool
8841  get_is_setup(Model m, ParticleIndex pi) -> bool
8842  """
8843  return _IMP_atom.Residue_get_is_setup(*args)
8844 
8845  get_is_setup = staticmethod(get_is_setup)
8846 
8847  def get_residue_type(self):
8848  """get_residue_type(Residue self) -> ResidueType"""
8849  return _IMP_atom.Residue_get_residue_type(self)
8850 
8851 
8852  def set_residue_type(self, t):
8853  """set_residue_type(Residue self, ResidueType t)"""
8854  return _IMP_atom.Residue_set_residue_type(self, t)
8855 
8856 
8857  def get_is_protein(self):
8858  """get_is_protein(Residue self) -> bool"""
8859  return _IMP_atom.Residue_get_is_protein(self)
8860 
8861 
8862  def get_is_dna(self):
8863  """get_is_dna(Residue self) -> bool"""
8864  return _IMP_atom.Residue_get_is_dna(self)
8865 
8866 
8867  def get_is_rna(self):
8868  """get_is_rna(Residue self) -> bool"""
8869  return _IMP_atom.Residue_get_is_rna(self)
8870 
8871 
8872  def get_index(self):
8873  """get_index(Residue self) -> IMP::Int"""
8874  return _IMP_atom.Residue_get_index(self)
8875 
8876 
8877  def set_index(self, t):
8878  """set_index(Residue self, IMP::Int t)"""
8879  return _IMP_atom.Residue_set_index(self, t)
8880 
8881 
8882  def get_insertion_code(self):
8883  """get_insertion_code(Residue self) -> char"""
8884  return _IMP_atom.Residue_get_insertion_code(self)
8885 
8886 
8887  def set_insertion_code(self, insertion_code):
8888  """set_insertion_code(Residue self, char insertion_code)"""
8889  return _IMP_atom.Residue_set_insertion_code(self, insertion_code)
8890 
8891 
8892  def get_index_key():
8893  """get_index_key() -> IntKey"""
8894  return _IMP_atom.Residue_get_index_key()
8895 
8896  get_index_key = staticmethod(get_index_key)
8897 
8898  def get_residue_type_key():
8899  """get_residue_type_key() -> IntKey"""
8900  return _IMP_atom.Residue_get_residue_type_key()
8901 
8902  get_residue_type_key = staticmethod(get_residue_type_key)
8903 
8904  def get_insertion_code_key():
8905  """get_insertion_code_key() -> IntKey"""
8906  return _IMP_atom.Residue_get_insertion_code_key()
8907 
8908  get_insertion_code_key = staticmethod(get_insertion_code_key)
8909 
8910  def add_attribute(self, *args):
8911  """
8912  add_attribute(Residue self, FloatKey k, IMP::Float v, bool opt)
8913  add_attribute(Residue self, FloatKey a0, IMP::Float a1)
8914  add_attribute(Residue self, IntKey a0, IMP::Int a1)
8915  add_attribute(Residue self, StringKey a0, IMP::String a1)
8916  add_attribute(Residue self, ParticleIndexKey a0, Particle a1)
8917  add_attribute(Residue self, ObjectKey a0, Object a1)
8918  """
8919  return _IMP_atom.Residue_add_attribute(self, *args)
8920 
8921 
8922  def get_value(self, *args):
8923  """
8924  get_value(Residue self, FloatKey a0) -> IMP::Float
8925  get_value(Residue self, IntKey a0) -> IMP::Int
8926  get_value(Residue self, StringKey a0) -> IMP::String
8927  get_value(Residue self, ParticleIndexKey a0) -> Particle
8928  get_value(Residue self, ObjectKey a0) -> Object
8929  """
8930  return _IMP_atom.Residue_get_value(self, *args)
8931 
8932 
8933  def set_value(self, *args):
8934  """
8935  set_value(Residue self, FloatKey a0, IMP::Float a1)
8936  set_value(Residue self, IntKey a0, IMP::Int a1)
8937  set_value(Residue self, StringKey a0, IMP::String a1)
8938  set_value(Residue self, ParticleIndexKey a0, Particle a1)
8939  set_value(Residue self, ObjectKey a0, Object a1)
8940  """
8941  return _IMP_atom.Residue_set_value(self, *args)
8942 
8943 
8944  def remove_attribute(self, *args):
8945  """
8946  remove_attribute(Residue self, FloatKey a0)
8947  remove_attribute(Residue self, IntKey a0)
8948  remove_attribute(Residue self, StringKey a0)
8949  remove_attribute(Residue self, ParticleIndexKey a0)
8950  remove_attribute(Residue self, ObjectKey a0)
8951  """
8952  return _IMP_atom.Residue_remove_attribute(self, *args)
8953 
8954 
8955  def has_attribute(self, *args):
8956  """
8957  has_attribute(Residue self, FloatKey a0) -> bool
8958  has_attribute(Residue self, IntKey a0) -> bool
8959  has_attribute(Residue self, StringKey a0) -> bool
8960  has_attribute(Residue self, ParticleIndexKey a0) -> bool
8961  has_attribute(Residue self, ObjectKey a0) -> bool
8962  """
8963  return _IMP_atom.Residue_has_attribute(self, *args)
8964 
8965 
8966  def get_derivative(self, a0):
8967  """get_derivative(Residue self, FloatKey a0) -> double"""
8968  return _IMP_atom.Residue_get_derivative(self, a0)
8969 
8970 
8971  def get_name(self):
8972  """get_name(Residue self) -> std::string"""
8973  return _IMP_atom.Residue_get_name(self)
8974 
8975 
8976  def clear_caches(self):
8977  """clear_caches(Residue self)"""
8978  return _IMP_atom.Residue_clear_caches(self)
8979 
8980 
8981  def set_name(self, a0):
8982  """set_name(Residue self, std::string a0)"""
8983  return _IMP_atom.Residue_set_name(self, a0)
8984 
8985 
8986  def set_check_level(self, a0):
8987  """set_check_level(Residue self, IMP::CheckLevel a0)"""
8988  return _IMP_atom.Residue_set_check_level(self, a0)
8989 
8990 
8991  def add_to_derivative(self, a0, a1, a2):
8992  """add_to_derivative(Residue self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
8993  return _IMP_atom.Residue_add_to_derivative(self, a0, a1, a2)
8994 
8995 
8996  def set_is_optimized(self, a0, a1):
8997  """set_is_optimized(Residue self, FloatKey a0, bool a1)"""
8998  return _IMP_atom.Residue_set_is_optimized(self, a0, a1)
8999 
9000 
9001  def get_is_optimized(self, a0):
9002  """get_is_optimized(Residue self, FloatKey a0) -> bool"""
9003  return _IMP_atom.Residue_get_is_optimized(self, a0)
9004 
9005 
9006  def get_check_level(self):
9007  """get_check_level(Residue self) -> IMP::CheckLevel"""
9008  return _IMP_atom.Residue_get_check_level(self)
9009 
9010 
9011  def __eq__(self, *args):
9012  """
9013  __eq__(Residue self, Residue o) -> bool
9014  __eq__(Residue self, Particle d) -> bool
9015  """
9016  return _IMP_atom.Residue___eq__(self, *args)
9017 
9018 
9019  def __ne__(self, *args):
9020  """
9021  __ne__(Residue self, Residue o) -> bool
9022  __ne__(Residue self, Particle d) -> bool
9023  """
9024  return _IMP_atom.Residue___ne__(self, *args)
9025 
9026 
9027  def __le__(self, *args):
9028  """
9029  __le__(Residue self, Residue o) -> bool
9030  __le__(Residue self, Particle d) -> bool
9031  """
9032  return _IMP_atom.Residue___le__(self, *args)
9033 
9034 
9035  def __lt__(self, *args):
9036  """
9037  __lt__(Residue self, Residue o) -> bool
9038  __lt__(Residue self, Particle d) -> bool
9039  """
9040  return _IMP_atom.Residue___lt__(self, *args)
9041 
9042 
9043  def __ge__(self, *args):
9044  """
9045  __ge__(Residue self, Residue o) -> bool
9046  __ge__(Residue self, Particle d) -> bool
9047  """
9048  return _IMP_atom.Residue___ge__(self, *args)
9049 
9050 
9051  def __gt__(self, *args):
9052  """
9053  __gt__(Residue self, Residue o) -> bool
9054  __gt__(Residue self, Particle d) -> bool
9055  """
9056  return _IMP_atom.Residue___gt__(self, *args)
9057 
9058 
9059  def __hash__(self):
9060  """__hash__(Residue self) -> std::size_t"""
9061  return _IMP_atom.Residue___hash__(self)
9062 
9063 
9064  def __str__(self):
9065  """__str__(Residue self) -> std::string"""
9066  return _IMP_atom.Residue___str__(self)
9067 
9068 
9069  def __repr__(self):
9070  """__repr__(Residue self) -> std::string"""
9071  return _IMP_atom.Residue___repr__(self)
9072 
9073  __swig_destroy__ = _IMP_atom.delete_Residue
9074  __del__ = lambda self: None
9075 Residue_swigregister = _IMP_atom.Residue_swigregister
9076 Residue_swigregister(Residue)
9077 UNK = cvar.UNK
9078 GLY = cvar.GLY
9079 ALA = cvar.ALA
9080 VAL = cvar.VAL
9081 LEU = cvar.LEU
9082 ILE = cvar.ILE
9083 SER = cvar.SER
9084 THR = cvar.THR
9085 CYS = cvar.CYS
9086 MET = cvar.MET
9087 PRO = cvar.PRO
9088 ASP = cvar.ASP
9089 ASN = cvar.ASN
9090 GLU = cvar.GLU
9091 GLN = cvar.GLN
9092 LYS = cvar.LYS
9093 ARG = cvar.ARG
9094 HIS = cvar.HIS
9095 PHE = cvar.PHE
9096 TYR = cvar.TYR
9097 TRP = cvar.TRP
9098 ACE = cvar.ACE
9099 NH2 = cvar.NH2
9100 ADE = cvar.ADE
9101 URA = cvar.URA
9102 CYT = cvar.CYT
9103 GUA = cvar.GUA
9104 THY = cvar.THY
9105 DADE = cvar.DADE
9106 DURA = cvar.DURA
9107 DCYT = cvar.DCYT
9108 DGUA = cvar.DGUA
9109 DTHY = cvar.DTHY
9110 HOH = cvar.HOH
9111 HEME = cvar.HEME
9112 
9113 def Residue_setup_particle(*args):
9114  """
9115  setup_particle(Model m, ParticleIndex pi, ResidueType t, int index, int insertion_code) -> Residue
9116  setup_particle(_ParticleAdaptor decorator, ResidueType t, int index, int insertion_code) -> Residue
9117  setup_particle(Model m, ParticleIndex pi, ResidueType t, int index) -> Residue
9118  setup_particle(_ParticleAdaptor decorator, ResidueType t, int index) -> Residue
9119  setup_particle(Model m, ParticleIndex pi, ResidueType t) -> Residue
9120  setup_particle(_ParticleAdaptor decorator, ResidueType t) -> Residue
9121  setup_particle(Model m, ParticleIndex pi, Residue other) -> Residue
9122  Residue_setup_particle(_ParticleAdaptor decorator, Residue other) -> Residue
9123  """
9124  return _IMP_atom.Residue_setup_particle(*args)
9125 
9126 def Residue_get_is_setup(*args):
9127  """
9128  get_is_setup(_ParticleAdaptor p) -> bool
9129  Residue_get_is_setup(Model m, ParticleIndex pi) -> bool
9130  """
9131  return _IMP_atom.Residue_get_is_setup(*args)
9132 
9133 def Residue_get_index_key():
9134  """Residue_get_index_key() -> IntKey"""
9135  return _IMP_atom.Residue_get_index_key()
9136 
9137 def Residue_get_residue_type_key():
9138  """Residue_get_residue_type_key() -> IntKey"""
9139  return _IMP_atom.Residue_get_residue_type_key()
9140 
9141 def Residue_get_insertion_code_key():
9142  """Residue_get_insertion_code_key() -> IntKey"""
9143  return _IMP_atom.Residue_get_insertion_code_key()
9144 
9145 
9146 def get_next_residue(rd):
9147  """get_next_residue(Residue rd) -> Hierarchy"""
9148  return _IMP_atom.get_next_residue(rd)
9149 
9150 def get_previous_residue(rd):
9151  """get_previous_residue(Residue rd) -> Hierarchy"""
9152  return _IMP_atom.get_previous_residue(rd)
9153 
9154 def get_one_letter_code(c):
9155  """get_one_letter_code(ResidueType c) -> char"""
9156  return _IMP_atom.get_one_letter_code(c)
9157 BALLS = _IMP_atom.BALLS
9158 DENSITIES = _IMP_atom.DENSITIES
9159 class Representation(Hierarchy):
9160  """Proxy of C++ IMP::atom::Representation class."""
9161 
9162  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9163 
9164  def setup_particle(*args):
9165  """
9166  setup_particle(Model m, ParticleIndex pi) -> Representation
9167  setup_particle(_ParticleAdaptor decorator) -> Representation
9168  setup_particle(Model m, ParticleIndex pi, double resolution) -> Representation
9169  setup_particle(_ParticleAdaptor decorator, double resolution) -> Representation
9170  setup_particle(Model m, ParticleIndex pi, Representation other) -> Representation
9171  setup_particle(_ParticleAdaptor decorator, Representation other) -> Representation
9172  """
9173  return _IMP_atom.Representation_setup_particle(*args)
9174 
9175  setup_particle = staticmethod(setup_particle)
9176 
9177  def __init__(self, *args):
9178  """
9179  __init__(IMP::atom::Representation self) -> Representation
9180  __init__(IMP::atom::Representation self, Model m, ParticleIndex id) -> Representation
9181  __init__(IMP::atom::Representation self, _ParticleAdaptor d) -> Representation
9182  """
9183  this = _IMP_atom.new_Representation(*args)
9184  try:
9185  self.this.append(this)
9186  except __builtin__.Exception:
9187  self.this = this
9188 
9189  def show(self, *args):
9190  """
9191  show(Representation self, _ostream out)
9192  show(Representation self)
9193  """
9194  return _IMP_atom.Representation_show(self, *args)
9195 
9196 
9197  def get_is_setup(*args):
9198  """
9199  get_is_setup(_ParticleAdaptor p) -> bool
9200  get_is_setup(Model m, ParticleIndex pi) -> bool
9201  """
9202  return _IMP_atom.Representation_get_is_setup(*args)
9203 
9204  get_is_setup = staticmethod(get_is_setup)
9205 
9206  def get_representation(self, *args):
9207  """
9208  get_representation(Representation self, double resolution, IMP::atom::RepresentationType type) -> Hierarchy
9209  get_representation(Representation self, double resolution) -> Hierarchy
9210  """
9211  return _IMP_atom.Representation_get_representation(self, *args)
9212 
9213 
9214  def get_representations(self, *args):
9215  """
9216  get_representations(Representation self, IMP::atom::RepresentationType type) -> IMP::atom::Hierarchies
9217  get_representations(Representation self) -> IMP::atom::Hierarchies
9218  """
9219  return _IMP_atom.Representation_get_representations(self, *args)
9220 
9221 
9222  def add_representation(self, *args):
9223  """
9224  add_representation(Representation self, _ParticleIndexAdaptor rep, IMP::atom::RepresentationType type, double resolution=-1)
9225  add_representation(Representation self, _ParticleIndexAdaptor rep, IMP::atom::RepresentationType type)
9226  add_representation(Representation self, _ParticleIndexAdaptor rep)
9227  """
9228  return _IMP_atom.Representation_add_representation(self, *args)
9229 
9230 
9231  def get_resolutions(self, *args):
9232  """
9233  get_resolutions(Representation self, IMP::atom::RepresentationType type) -> IMP::Floats
9234  get_resolutions(Representation self) -> IMP::Floats
9235  """
9236  return _IMP_atom.Representation_get_resolutions(self, *args)
9237 
9238 
9239  def update_parents(self):
9240  """update_parents(Representation self)"""
9241  return _IMP_atom.Representation_update_parents(self)
9242 
9243 
9244  def add_attribute(self, *args):
9245  """
9246  add_attribute(Representation self, FloatKey k, IMP::Float v, bool opt)
9247  add_attribute(Representation self, FloatKey a0, IMP::Float a1)
9248  add_attribute(Representation self, IntKey a0, IMP::Int a1)
9249  add_attribute(Representation self, StringKey a0, IMP::String a1)
9250  add_attribute(Representation self, ParticleIndexKey a0, Particle a1)
9251  add_attribute(Representation self, ObjectKey a0, Object a1)
9252  """
9253  return _IMP_atom.Representation_add_attribute(self, *args)
9254 
9255 
9256  def get_value(self, *args):
9257  """
9258  get_value(Representation self, FloatKey a0) -> IMP::Float
9259  get_value(Representation self, IntKey a0) -> IMP::Int
9260  get_value(Representation self, StringKey a0) -> IMP::String
9261  get_value(Representation self, ParticleIndexKey a0) -> Particle
9262  get_value(Representation self, ObjectKey a0) -> Object
9263  """
9264  return _IMP_atom.Representation_get_value(self, *args)
9265 
9266 
9267  def set_value(self, *args):
9268  """
9269  set_value(Representation self, FloatKey a0, IMP::Float a1)
9270  set_value(Representation self, IntKey a0, IMP::Int a1)
9271  set_value(Representation self, StringKey a0, IMP::String a1)
9272  set_value(Representation self, ParticleIndexKey a0, Particle a1)
9273  set_value(Representation self, ObjectKey a0, Object a1)
9274  """
9275  return _IMP_atom.Representation_set_value(self, *args)
9276 
9277 
9278  def remove_attribute(self, *args):
9279  """
9280  remove_attribute(Representation self, FloatKey a0)
9281  remove_attribute(Representation self, IntKey a0)
9282  remove_attribute(Representation self, StringKey a0)
9283  remove_attribute(Representation self, ParticleIndexKey a0)
9284  remove_attribute(Representation self, ObjectKey a0)
9285  """
9286  return _IMP_atom.Representation_remove_attribute(self, *args)
9287 
9288 
9289  def has_attribute(self, *args):
9290  """
9291  has_attribute(Representation self, FloatKey a0) -> bool
9292  has_attribute(Representation self, IntKey a0) -> bool
9293  has_attribute(Representation self, StringKey a0) -> bool
9294  has_attribute(Representation self, ParticleIndexKey a0) -> bool
9295  has_attribute(Representation self, ObjectKey a0) -> bool
9296  """
9297  return _IMP_atom.Representation_has_attribute(self, *args)
9298 
9299 
9300  def get_derivative(self, a0):
9301  """get_derivative(Representation self, FloatKey a0) -> double"""
9302  return _IMP_atom.Representation_get_derivative(self, a0)
9303 
9304 
9305  def get_name(self):
9306  """get_name(Representation self) -> std::string"""
9307  return _IMP_atom.Representation_get_name(self)
9308 
9309 
9310  def clear_caches(self):
9311  """clear_caches(Representation self)"""
9312  return _IMP_atom.Representation_clear_caches(self)
9313 
9314 
9315  def set_name(self, a0):
9316  """set_name(Representation self, std::string a0)"""
9317  return _IMP_atom.Representation_set_name(self, a0)
9318 
9319 
9320  def set_check_level(self, a0):
9321  """set_check_level(Representation self, IMP::CheckLevel a0)"""
9322  return _IMP_atom.Representation_set_check_level(self, a0)
9323 
9324 
9325  def add_to_derivative(self, a0, a1, a2):
9326  """add_to_derivative(Representation self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
9327  return _IMP_atom.Representation_add_to_derivative(self, a0, a1, a2)
9328 
9329 
9330  def set_is_optimized(self, a0, a1):
9331  """set_is_optimized(Representation self, FloatKey a0, bool a1)"""
9332  return _IMP_atom.Representation_set_is_optimized(self, a0, a1)
9333 
9334 
9335  def get_is_optimized(self, a0):
9336  """get_is_optimized(Representation self, FloatKey a0) -> bool"""
9337  return _IMP_atom.Representation_get_is_optimized(self, a0)
9338 
9339 
9340  def get_check_level(self):
9341  """get_check_level(Representation self) -> IMP::CheckLevel"""
9342  return _IMP_atom.Representation_get_check_level(self)
9343 
9344 
9345  def __eq__(self, *args):
9346  """
9347  __eq__(Representation self, Representation o) -> bool
9348  __eq__(Representation self, Particle d) -> bool
9349  """
9350  return _IMP_atom.Representation___eq__(self, *args)
9351 
9352 
9353  def __ne__(self, *args):
9354  """
9355  __ne__(Representation self, Representation o) -> bool
9356  __ne__(Representation self, Particle d) -> bool
9357  """
9358  return _IMP_atom.Representation___ne__(self, *args)
9359 
9360 
9361  def __le__(self, *args):
9362  """
9363  __le__(Representation self, Representation o) -> bool
9364  __le__(Representation self, Particle d) -> bool
9365  """
9366  return _IMP_atom.Representation___le__(self, *args)
9367 
9368 
9369  def __lt__(self, *args):
9370  """
9371  __lt__(Representation self, Representation o) -> bool
9372  __lt__(Representation self, Particle d) -> bool
9373  """
9374  return _IMP_atom.Representation___lt__(self, *args)
9375 
9376 
9377  def __ge__(self, *args):
9378  """
9379  __ge__(Representation self, Representation o) -> bool
9380  __ge__(Representation self, Particle d) -> bool
9381  """
9382  return _IMP_atom.Representation___ge__(self, *args)
9383 
9384 
9385  def __gt__(self, *args):
9386  """
9387  __gt__(Representation self, Representation o) -> bool
9388  __gt__(Representation self, Particle d) -> bool
9389  """
9390  return _IMP_atom.Representation___gt__(self, *args)
9391 
9392 
9393  def __hash__(self):
9394  """__hash__(Representation self) -> std::size_t"""
9395  return _IMP_atom.Representation___hash__(self)
9396 
9397 
9398  def __str__(self):
9399  """__str__(Representation self) -> std::string"""
9400  return _IMP_atom.Representation___str__(self)
9401 
9402 
9403  def __repr__(self):
9404  """__repr__(Representation self) -> std::string"""
9405  return _IMP_atom.Representation___repr__(self)
9406 
9407  __swig_destroy__ = _IMP_atom.delete_Representation
9408  __del__ = lambda self: None
9409 Representation_swigregister = _IMP_atom.Representation_swigregister
9410 Representation_swigregister(Representation)
9411 ALL_RESOLUTIONS = cvar.ALL_RESOLUTIONS
9412 
9413 def Representation_setup_particle(*args):
9414  """
9415  setup_particle(Model m, ParticleIndex pi) -> Representation
9416  setup_particle(_ParticleAdaptor decorator) -> Representation
9417  setup_particle(Model m, ParticleIndex pi, double resolution) -> Representation
9418  setup_particle(_ParticleAdaptor decorator, double resolution) -> Representation
9419  setup_particle(Model m, ParticleIndex pi, Representation other) -> Representation
9420  Representation_setup_particle(_ParticleAdaptor decorator, Representation other) -> Representation
9421  """
9422  return _IMP_atom.Representation_setup_particle(*args)
9423 
9424 def Representation_get_is_setup(*args):
9425  """
9426  get_is_setup(_ParticleAdaptor p) -> bool
9427  Representation_get_is_setup(Model m, ParticleIndex pi) -> bool
9428  """
9429  return _IMP_atom.Representation_get_is_setup(*args)
9430 
9431 
9432 def get_resolution(*args):
9433  """
9434  get_resolution(Model m, ParticleIndex pi) -> double
9435  get_resolution(Hierarchy h) -> double
9436  """
9437  return _IMP_atom.get_resolution(*args)
9438 
9439 def get_representation(h, nothrow=False):
9440  """
9441  get_representation(Hierarchy h, bool nothrow=False) -> Representation
9442  get_representation(Hierarchy h) -> Representation
9443  """
9444  return _IMP_atom.get_representation(h, nothrow)
9445 
9446 def show_with_representations(*args):
9447  """
9448  show_with_representations(Hierarchy h, _ostream out)
9449  show_with_representations(Hierarchy h)
9450  """
9451  return _IMP_atom.show_with_representations(*args)
9452 class State(Hierarchy):
9453  """Proxy of C++ IMP::atom::State class."""
9454 
9455  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9456 
9457  def setup_particle(*args):
9458  """
9459  setup_particle(Model m, ParticleIndex pi, unsigned int index) -> State
9460  setup_particle(_ParticleAdaptor decorator, unsigned int index) -> State
9461  setup_particle(Model m, ParticleIndex pi, State other) -> State
9462  setup_particle(_ParticleAdaptor decorator, State other) -> State
9463  """
9464  return _IMP_atom.State_setup_particle(*args)
9465 
9466  setup_particle = staticmethod(setup_particle)
9467 
9468  def __init__(self, *args):
9469  """
9470  __init__(IMP::atom::State self) -> State
9471  __init__(IMP::atom::State self, Model m, ParticleIndex id) -> State
9472  __init__(IMP::atom::State self, _ParticleAdaptor d) -> State
9473  """
9474  this = _IMP_atom.new_State(*args)
9475  try:
9476  self.this.append(this)
9477  except __builtin__.Exception:
9478  self.this = this
9479 
9480  def show(self, *args):
9481  """
9482  show(State self, _ostream out)
9483  show(State self)
9484  """
9485  return _IMP_atom.State_show(self, *args)
9486 
9487 
9488  def get_is_setup(*args):
9489  """
9490  get_is_setup(_ParticleAdaptor p) -> bool
9491  get_is_setup(Model m, ParticleIndex pi) -> bool
9492  """
9493  return _IMP_atom.State_get_is_setup(*args)
9494 
9495  get_is_setup = staticmethod(get_is_setup)
9496 
9497  def get_state_index(self):
9498  """get_state_index(State self) -> unsigned int"""
9499  return _IMP_atom.State_get_state_index(self)
9500 
9501 
9502  def add_attribute(self, *args):
9503  """
9504  add_attribute(State self, FloatKey k, IMP::Float v, bool opt)
9505  add_attribute(State self, FloatKey a0, IMP::Float a1)
9506  add_attribute(State self, IntKey a0, IMP::Int a1)
9507  add_attribute(State self, StringKey a0, IMP::String a1)
9508  add_attribute(State self, ParticleIndexKey a0, Particle a1)
9509  add_attribute(State self, ObjectKey a0, Object a1)
9510  """
9511  return _IMP_atom.State_add_attribute(self, *args)
9512 
9513 
9514  def get_value(self, *args):
9515  """
9516  get_value(State self, FloatKey a0) -> IMP::Float
9517  get_value(State self, IntKey a0) -> IMP::Int
9518  get_value(State self, StringKey a0) -> IMP::String
9519  get_value(State self, ParticleIndexKey a0) -> Particle
9520  get_value(State self, ObjectKey a0) -> Object
9521  """
9522  return _IMP_atom.State_get_value(self, *args)
9523 
9524 
9525  def set_value(self, *args):
9526  """
9527  set_value(State self, FloatKey a0, IMP::Float a1)
9528  set_value(State self, IntKey a0, IMP::Int a1)
9529  set_value(State self, StringKey a0, IMP::String a1)
9530  set_value(State self, ParticleIndexKey a0, Particle a1)
9531  set_value(State self, ObjectKey a0, Object a1)
9532  """
9533  return _IMP_atom.State_set_value(self, *args)
9534 
9535 
9536  def remove_attribute(self, *args):
9537  """
9538  remove_attribute(State self, FloatKey a0)
9539  remove_attribute(State self, IntKey a0)
9540  remove_attribute(State self, StringKey a0)
9541  remove_attribute(State self, ParticleIndexKey a0)
9542  remove_attribute(State self, ObjectKey a0)
9543  """
9544  return _IMP_atom.State_remove_attribute(self, *args)
9545 
9546 
9547  def has_attribute(self, *args):
9548  """
9549  has_attribute(State self, FloatKey a0) -> bool
9550  has_attribute(State self, IntKey a0) -> bool
9551  has_attribute(State self, StringKey a0) -> bool
9552  has_attribute(State self, ParticleIndexKey a0) -> bool
9553  has_attribute(State self, ObjectKey a0) -> bool
9554  """
9555  return _IMP_atom.State_has_attribute(self, *args)
9556 
9557 
9558  def get_derivative(self, a0):
9559  """get_derivative(State self, FloatKey a0) -> double"""
9560  return _IMP_atom.State_get_derivative(self, a0)
9561 
9562 
9563  def get_name(self):
9564  """get_name(State self) -> std::string"""
9565  return _IMP_atom.State_get_name(self)
9566 
9567 
9568  def clear_caches(self):
9569  """clear_caches(State self)"""
9570  return _IMP_atom.State_clear_caches(self)
9571 
9572 
9573  def set_name(self, a0):
9574  """set_name(State self, std::string a0)"""
9575  return _IMP_atom.State_set_name(self, a0)
9576 
9577 
9578  def set_check_level(self, a0):
9579  """set_check_level(State self, IMP::CheckLevel a0)"""
9580  return _IMP_atom.State_set_check_level(self, a0)
9581 
9582 
9583  def add_to_derivative(self, a0, a1, a2):
9584  """add_to_derivative(State self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
9585  return _IMP_atom.State_add_to_derivative(self, a0, a1, a2)
9586 
9587 
9588  def set_is_optimized(self, a0, a1):
9589  """set_is_optimized(State self, FloatKey a0, bool a1)"""
9590  return _IMP_atom.State_set_is_optimized(self, a0, a1)
9591 
9592 
9593  def get_is_optimized(self, a0):
9594  """get_is_optimized(State self, FloatKey a0) -> bool"""
9595  return _IMP_atom.State_get_is_optimized(self, a0)
9596 
9597 
9598  def get_check_level(self):
9599  """get_check_level(State self) -> IMP::CheckLevel"""
9600  return _IMP_atom.State_get_check_level(self)
9601 
9602 
9603  def __eq__(self, *args):
9604  """
9605  __eq__(State self, State o) -> bool
9606  __eq__(State self, Particle d) -> bool
9607  """
9608  return _IMP_atom.State___eq__(self, *args)
9609 
9610 
9611  def __ne__(self, *args):
9612  """
9613  __ne__(State self, State o) -> bool
9614  __ne__(State self, Particle d) -> bool
9615  """
9616  return _IMP_atom.State___ne__(self, *args)
9617 
9618 
9619  def __le__(self, *args):
9620  """
9621  __le__(State self, State o) -> bool
9622  __le__(State self, Particle d) -> bool
9623  """
9624  return _IMP_atom.State___le__(self, *args)
9625 
9626 
9627  def __lt__(self, *args):
9628  """
9629  __lt__(State self, State o) -> bool
9630  __lt__(State self, Particle d) -> bool
9631  """
9632  return _IMP_atom.State___lt__(self, *args)
9633 
9634 
9635  def __ge__(self, *args):
9636  """
9637  __ge__(State self, State o) -> bool
9638  __ge__(State self, Particle d) -> bool
9639  """
9640  return _IMP_atom.State___ge__(self, *args)
9641 
9642 
9643  def __gt__(self, *args):
9644  """
9645  __gt__(State self, State o) -> bool
9646  __gt__(State self, Particle d) -> bool
9647  """
9648  return _IMP_atom.State___gt__(self, *args)
9649 
9650 
9651  def __hash__(self):
9652  """__hash__(State self) -> std::size_t"""
9653  return _IMP_atom.State___hash__(self)
9654 
9655 
9656  def __str__(self):
9657  """__str__(State self) -> std::string"""
9658  return _IMP_atom.State___str__(self)
9659 
9660 
9661  def __repr__(self):
9662  """__repr__(State self) -> std::string"""
9663  return _IMP_atom.State___repr__(self)
9664 
9665  __swig_destroy__ = _IMP_atom.delete_State
9666  __del__ = lambda self: None
9667 State_swigregister = _IMP_atom.State_swigregister
9668 State_swigregister(State)
9669 
9670 def State_setup_particle(*args):
9671  """
9672  setup_particle(Model m, ParticleIndex pi, unsigned int index) -> State
9673  setup_particle(_ParticleAdaptor decorator, unsigned int index) -> State
9674  setup_particle(Model m, ParticleIndex pi, State other) -> State
9675  State_setup_particle(_ParticleAdaptor decorator, State other) -> State
9676  """
9677  return _IMP_atom.State_setup_particle(*args)
9678 
9679 def State_get_is_setup(*args):
9680  """
9681  get_is_setup(_ParticleAdaptor p) -> bool
9682  State_get_is_setup(Model m, ParticleIndex pi) -> bool
9683  """
9684  return _IMP_atom.State_get_is_setup(*args)
9685 
9686 
9687 def get_state_index(h):
9688  """get_state_index(Hierarchy h) -> int"""
9689  return _IMP_atom.get_state_index(h)
9690 
9691 def get_phi_dihedral_atoms(rd):
9692  """get_phi_dihedral_atoms(Residue rd) -> IMP::atom::Atoms"""
9693  return _IMP_atom.get_phi_dihedral_atoms(rd)
9694 
9695 def get_psi_dihedral_atoms(rd):
9696  """get_psi_dihedral_atoms(Residue rd) -> IMP::atom::Atoms"""
9697  return _IMP_atom.get_psi_dihedral_atoms(rd)
9698 class Molecule(Hierarchy):
9699  """Proxy of C++ IMP::atom::Molecule class."""
9700 
9701  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9702 
9703  def __init__(self, *args):
9704  """
9705  __init__(IMP::atom::Molecule self) -> Molecule
9706  __init__(IMP::atom::Molecule self, Model m, ParticleIndex id) -> Molecule
9707  __init__(IMP::atom::Molecule self, _ParticleAdaptor d) -> Molecule
9708  """
9709  this = _IMP_atom.new_Molecule(*args)
9710  try:
9711  self.this.append(this)
9712  except __builtin__.Exception:
9713  self.this = this
9714 
9715  def show(self, *args):
9716  """
9717  show(Molecule self, _ostream out)
9718  show(Molecule self)
9719  """
9720  return _IMP_atom.Molecule_show(self, *args)
9721 
9722 
9723  def setup_particle(*args):
9724  """
9725  setup_particle(Model m, ParticleIndex pi) -> Molecule
9726  setup_particle(_ParticleAdaptor decorator) -> Molecule
9727  setup_particle(Model m, ParticleIndex pi, Molecule other) -> Molecule
9728  setup_particle(_ParticleAdaptor decorator, Molecule other) -> Molecule
9729  """
9730  return _IMP_atom.Molecule_setup_particle(*args)
9731 
9732  setup_particle = staticmethod(setup_particle)
9733 
9734  def get_is_setup(*args):
9735  """
9736  get_is_setup(_ParticleAdaptor p) -> bool
9737  get_is_setup(Model m, ParticleIndex pi) -> bool
9738  """
9739  return _IMP_atom.Molecule_get_is_setup(*args)
9740 
9741  get_is_setup = staticmethod(get_is_setup)
9742 
9743  def add_attribute(self, *args):
9744  """
9745  add_attribute(Molecule self, FloatKey k, IMP::Float v, bool opt)
9746  add_attribute(Molecule self, FloatKey a0, IMP::Float a1)
9747  add_attribute(Molecule self, IntKey a0, IMP::Int a1)
9748  add_attribute(Molecule self, StringKey a0, IMP::String a1)
9749  add_attribute(Molecule self, ParticleIndexKey a0, Particle a1)
9750  add_attribute(Molecule self, ObjectKey a0, Object a1)
9751  """
9752  return _IMP_atom.Molecule_add_attribute(self, *args)
9753 
9754 
9755  def get_value(self, *args):
9756  """
9757  get_value(Molecule self, FloatKey a0) -> IMP::Float
9758  get_value(Molecule self, IntKey a0) -> IMP::Int
9759  get_value(Molecule self, StringKey a0) -> IMP::String
9760  get_value(Molecule self, ParticleIndexKey a0) -> Particle
9761  get_value(Molecule self, ObjectKey a0) -> Object
9762  """
9763  return _IMP_atom.Molecule_get_value(self, *args)
9764 
9765 
9766  def set_value(self, *args):
9767  """
9768  set_value(Molecule self, FloatKey a0, IMP::Float a1)
9769  set_value(Molecule self, IntKey a0, IMP::Int a1)
9770  set_value(Molecule self, StringKey a0, IMP::String a1)
9771  set_value(Molecule self, ParticleIndexKey a0, Particle a1)
9772  set_value(Molecule self, ObjectKey a0, Object a1)
9773  """
9774  return _IMP_atom.Molecule_set_value(self, *args)
9775 
9776 
9777  def remove_attribute(self, *args):
9778  """
9779  remove_attribute(Molecule self, FloatKey a0)
9780  remove_attribute(Molecule self, IntKey a0)
9781  remove_attribute(Molecule self, StringKey a0)
9782  remove_attribute(Molecule self, ParticleIndexKey a0)
9783  remove_attribute(Molecule self, ObjectKey a0)
9784  """
9785  return _IMP_atom.Molecule_remove_attribute(self, *args)
9786 
9787 
9788  def has_attribute(self, *args):
9789  """
9790  has_attribute(Molecule self, FloatKey a0) -> bool
9791  has_attribute(Molecule self, IntKey a0) -> bool
9792  has_attribute(Molecule self, StringKey a0) -> bool
9793  has_attribute(Molecule self, ParticleIndexKey a0) -> bool
9794  has_attribute(Molecule self, ObjectKey a0) -> bool
9795  """
9796  return _IMP_atom.Molecule_has_attribute(self, *args)
9797 
9798 
9799  def get_derivative(self, a0):
9800  """get_derivative(Molecule self, FloatKey a0) -> double"""
9801  return _IMP_atom.Molecule_get_derivative(self, a0)
9802 
9803 
9804  def get_name(self):
9805  """get_name(Molecule self) -> std::string"""
9806  return _IMP_atom.Molecule_get_name(self)
9807 
9808 
9809  def clear_caches(self):
9810  """clear_caches(Molecule self)"""
9811  return _IMP_atom.Molecule_clear_caches(self)
9812 
9813 
9814  def set_name(self, a0):
9815  """set_name(Molecule self, std::string a0)"""
9816  return _IMP_atom.Molecule_set_name(self, a0)
9817 
9818 
9819  def set_check_level(self, a0):
9820  """set_check_level(Molecule self, IMP::CheckLevel a0)"""
9821  return _IMP_atom.Molecule_set_check_level(self, a0)
9822 
9823 
9824  def add_to_derivative(self, a0, a1, a2):
9825  """add_to_derivative(Molecule self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
9826  return _IMP_atom.Molecule_add_to_derivative(self, a0, a1, a2)
9827 
9828 
9829  def set_is_optimized(self, a0, a1):
9830  """set_is_optimized(Molecule self, FloatKey a0, bool a1)"""
9831  return _IMP_atom.Molecule_set_is_optimized(self, a0, a1)
9832 
9833 
9834  def get_is_optimized(self, a0):
9835  """get_is_optimized(Molecule self, FloatKey a0) -> bool"""
9836  return _IMP_atom.Molecule_get_is_optimized(self, a0)
9837 
9838 
9839  def get_check_level(self):
9840  """get_check_level(Molecule self) -> IMP::CheckLevel"""
9841  return _IMP_atom.Molecule_get_check_level(self)
9842 
9843 
9844  def __eq__(self, *args):
9845  """
9846  __eq__(Molecule self, Molecule o) -> bool
9847  __eq__(Molecule self, Particle d) -> bool
9848  """
9849  return _IMP_atom.Molecule___eq__(self, *args)
9850 
9851 
9852  def __ne__(self, *args):
9853  """
9854  __ne__(Molecule self, Molecule o) -> bool
9855  __ne__(Molecule self, Particle d) -> bool
9856  """
9857  return _IMP_atom.Molecule___ne__(self, *args)
9858 
9859 
9860  def __le__(self, *args):
9861  """
9862  __le__(Molecule self, Molecule o) -> bool
9863  __le__(Molecule self, Particle d) -> bool
9864  """
9865  return _IMP_atom.Molecule___le__(self, *args)
9866 
9867 
9868  def __lt__(self, *args):
9869  """
9870  __lt__(Molecule self, Molecule o) -> bool
9871  __lt__(Molecule self, Particle d) -> bool
9872  """
9873  return _IMP_atom.Molecule___lt__(self, *args)
9874 
9875 
9876  def __ge__(self, *args):
9877  """
9878  __ge__(Molecule self, Molecule o) -> bool
9879  __ge__(Molecule self, Particle d) -> bool
9880  """
9881  return _IMP_atom.Molecule___ge__(self, *args)
9882 
9883 
9884  def __gt__(self, *args):
9885  """
9886  __gt__(Molecule self, Molecule o) -> bool
9887  __gt__(Molecule self, Particle d) -> bool
9888  """
9889  return _IMP_atom.Molecule___gt__(self, *args)
9890 
9891 
9892  def __hash__(self):
9893  """__hash__(Molecule self) -> std::size_t"""
9894  return _IMP_atom.Molecule___hash__(self)
9895 
9896 
9897  def __str__(self):
9898  """__str__(Molecule self) -> std::string"""
9899  return _IMP_atom.Molecule___str__(self)
9900 
9901 
9902  def __repr__(self):
9903  """__repr__(Molecule self) -> std::string"""
9904  return _IMP_atom.Molecule___repr__(self)
9905 
9906  __swig_destroy__ = _IMP_atom.delete_Molecule
9907  __del__ = lambda self: None
9908 Molecule_swigregister = _IMP_atom.Molecule_swigregister
9909 Molecule_swigregister(Molecule)
9910 
9911 def Molecule_setup_particle(*args):
9912  """
9913  setup_particle(Model m, ParticleIndex pi) -> Molecule
9914  setup_particle(_ParticleAdaptor decorator) -> Molecule
9915  setup_particle(Model m, ParticleIndex pi, Molecule other) -> Molecule
9916  Molecule_setup_particle(_ParticleAdaptor decorator, Molecule other) -> Molecule
9917  """
9918  return _IMP_atom.Molecule_setup_particle(*args)
9919 
9920 def Molecule_get_is_setup(*args):
9921  """
9922  get_is_setup(_ParticleAdaptor p) -> bool
9923  Molecule_get_is_setup(Model m, ParticleIndex pi) -> bool
9924  """
9925  return _IMP_atom.Molecule_get_is_setup(*args)
9926 
9927 
9928 def get_molecule_name(h):
9929  """get_molecule_name(Hierarchy h) -> std::string"""
9930  return _IMP_atom.get_molecule_name(h)
9931 class Copy(Molecule):
9932  """Proxy of C++ IMP::atom::Copy class."""
9933 
9934  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9935 
9936  def get_copy_index_key():
9937  """get_copy_index_key() -> IntKey"""
9938  return _IMP_atom.Copy_get_copy_index_key()
9939 
9940  get_copy_index_key = staticmethod(get_copy_index_key)
9941 
9942  def __init__(self, *args):
9943  """
9944  __init__(IMP::atom::Copy self) -> Copy
9945  __init__(IMP::atom::Copy self, Model m, ParticleIndex id) -> Copy
9946  __init__(IMP::atom::Copy self, _ParticleAdaptor d) -> Copy
9947  """
9948  this = _IMP_atom.new_Copy(*args)
9949  try:
9950  self.this.append(this)
9951  except __builtin__.Exception:
9952  self.this = this
9953 
9954  def show(self, *args):
9955  """
9956  show(Copy self, _ostream out)
9957  show(Copy self)
9958  """
9959  return _IMP_atom.Copy_show(self, *args)
9960 
9961 
9962  def setup_particle(*args):
9963  """
9964  setup_particle(Model m, ParticleIndex pi, IMP::Int number) -> Copy
9965  setup_particle(_ParticleAdaptor decorator, IMP::Int number) -> Copy
9966  """
9967  return _IMP_atom.Copy_setup_particle(*args)
9968 
9969  setup_particle = staticmethod(setup_particle)
9970 
9971  def get_is_setup(*args):
9972  """
9973  get_is_setup(_ParticleAdaptor p) -> bool
9974  get_is_setup(Model m, ParticleIndex pi) -> bool
9975  """
9976  return _IMP_atom.Copy_get_is_setup(*args)
9977 
9978  get_is_setup = staticmethod(get_is_setup)
9979 
9980  def get_copy_index(self):
9981  """get_copy_index(Copy self) -> int"""
9982  return _IMP_atom.Copy_get_copy_index(self)
9983 
9984 
9985  def add_attribute(self, *args):
9986  """
9987  add_attribute(Copy self, FloatKey k, IMP::Float v, bool opt)
9988  add_attribute(Copy self, FloatKey a0, IMP::Float a1)
9989  add_attribute(Copy self, IntKey a0, IMP::Int a1)
9990  add_attribute(Copy self, StringKey a0, IMP::String a1)
9991  add_attribute(Copy self, ParticleIndexKey a0, Particle a1)
9992  add_attribute(Copy self, ObjectKey a0, Object a1)
9993  """
9994  return _IMP_atom.Copy_add_attribute(self, *args)
9995 
9996 
9997  def get_value(self, *args):
9998  """
9999  get_value(Copy self, FloatKey a0) -> IMP::Float
10000  get_value(Copy self, IntKey a0) -> IMP::Int
10001  get_value(Copy self, StringKey a0) -> IMP::String
10002  get_value(Copy self, ParticleIndexKey a0) -> Particle
10003  get_value(Copy self, ObjectKey a0) -> Object
10004  """
10005  return _IMP_atom.Copy_get_value(self, *args)
10006 
10007 
10008  def set_value(self, *args):
10009  """
10010  set_value(Copy self, FloatKey a0, IMP::Float a1)
10011  set_value(Copy self, IntKey a0, IMP::Int a1)
10012  set_value(Copy self, StringKey a0, IMP::String a1)
10013  set_value(Copy self, ParticleIndexKey a0, Particle a1)
10014  set_value(Copy self, ObjectKey a0, Object a1)
10015  """
10016  return _IMP_atom.Copy_set_value(self, *args)
10017 
10018 
10019  def remove_attribute(self, *args):
10020  """
10021  remove_attribute(Copy self, FloatKey a0)
10022  remove_attribute(Copy self, IntKey a0)
10023  remove_attribute(Copy self, StringKey a0)
10024  remove_attribute(Copy self, ParticleIndexKey a0)
10025  remove_attribute(Copy self, ObjectKey a0)
10026  """
10027  return _IMP_atom.Copy_remove_attribute(self, *args)
10028 
10029 
10030  def has_attribute(self, *args):
10031  """
10032  has_attribute(Copy self, FloatKey a0) -> bool
10033  has_attribute(Copy self, IntKey a0) -> bool
10034  has_attribute(Copy self, StringKey a0) -> bool
10035  has_attribute(Copy self, ParticleIndexKey a0) -> bool
10036  has_attribute(Copy self, ObjectKey a0) -> bool
10037  """
10038  return _IMP_atom.Copy_has_attribute(self, *args)
10039 
10040 
10041  def get_derivative(self, a0):
10042  """get_derivative(Copy self, FloatKey a0) -> double"""
10043  return _IMP_atom.Copy_get_derivative(self, a0)
10044 
10045 
10046  def get_name(self):
10047  """get_name(Copy self) -> std::string"""
10048  return _IMP_atom.Copy_get_name(self)
10049 
10050 
10051  def clear_caches(self):
10052  """clear_caches(Copy self)"""
10053  return _IMP_atom.Copy_clear_caches(self)
10054 
10055 
10056  def set_name(self, a0):
10057  """set_name(Copy self, std::string a0)"""
10058  return _IMP_atom.Copy_set_name(self, a0)
10059 
10060 
10061  def set_check_level(self, a0):
10062  """set_check_level(Copy self, IMP::CheckLevel a0)"""
10063  return _IMP_atom.Copy_set_check_level(self, a0)
10064 
10065 
10066  def add_to_derivative(self, a0, a1, a2):
10067  """add_to_derivative(Copy self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
10068  return _IMP_atom.Copy_add_to_derivative(self, a0, a1, a2)
10069 
10070 
10071  def set_is_optimized(self, a0, a1):
10072  """set_is_optimized(Copy self, FloatKey a0, bool a1)"""
10073  return _IMP_atom.Copy_set_is_optimized(self, a0, a1)
10074 
10075 
10076  def get_is_optimized(self, a0):
10077  """get_is_optimized(Copy self, FloatKey a0) -> bool"""
10078  return _IMP_atom.Copy_get_is_optimized(self, a0)
10079 
10080 
10081  def get_check_level(self):
10082  """get_check_level(Copy self) -> IMP::CheckLevel"""
10083  return _IMP_atom.Copy_get_check_level(self)
10084 
10085 
10086  def __eq__(self, *args):
10087  """
10088  __eq__(Copy self, Copy o) -> bool
10089  __eq__(Copy self, Particle d) -> bool
10090  """
10091  return _IMP_atom.Copy___eq__(self, *args)
10092 
10093 
10094  def __ne__(self, *args):
10095  """
10096  __ne__(Copy self, Copy o) -> bool
10097  __ne__(Copy self, Particle d) -> bool
10098  """
10099  return _IMP_atom.Copy___ne__(self, *args)
10100 
10101 
10102  def __le__(self, *args):
10103  """
10104  __le__(Copy self, Copy o) -> bool
10105  __le__(Copy self, Particle d) -> bool
10106  """
10107  return _IMP_atom.Copy___le__(self, *args)
10108 
10109 
10110  def __lt__(self, *args):
10111  """
10112  __lt__(Copy self, Copy o) -> bool
10113  __lt__(Copy self, Particle d) -> bool
10114  """
10115  return _IMP_atom.Copy___lt__(self, *args)
10116 
10117 
10118  def __ge__(self, *args):
10119  """
10120  __ge__(Copy self, Copy o) -> bool
10121  __ge__(Copy self, Particle d) -> bool
10122  """
10123  return _IMP_atom.Copy___ge__(self, *args)
10124 
10125 
10126  def __gt__(self, *args):
10127  """
10128  __gt__(Copy self, Copy o) -> bool
10129  __gt__(Copy self, Particle d) -> bool
10130  """
10131  return _IMP_atom.Copy___gt__(self, *args)
10132 
10133 
10134  def __hash__(self):
10135  """__hash__(Copy self) -> std::size_t"""
10136  return _IMP_atom.Copy___hash__(self)
10137 
10138 
10139  def __str__(self):
10140  """__str__(Copy self) -> std::string"""
10141  return _IMP_atom.Copy___str__(self)
10142 
10143 
10144  def __repr__(self):
10145  """__repr__(Copy self) -> std::string"""
10146  return _IMP_atom.Copy___repr__(self)
10147 
10148  __swig_destroy__ = _IMP_atom.delete_Copy
10149  __del__ = lambda self: None
10150 Copy_swigregister = _IMP_atom.Copy_swigregister
10151 Copy_swigregister(Copy)
10152 
10153 def Copy_get_copy_index_key():
10154  """Copy_get_copy_index_key() -> IntKey"""
10155  return _IMP_atom.Copy_get_copy_index_key()
10156 
10157 def Copy_setup_particle(*args):
10158  """
10159  setup_particle(Model m, ParticleIndex pi, IMP::Int number) -> Copy
10160  Copy_setup_particle(_ParticleAdaptor decorator, IMP::Int number) -> Copy
10161  """
10162  return _IMP_atom.Copy_setup_particle(*args)
10163 
10164 def Copy_get_is_setup(*args):
10165  """
10166  get_is_setup(_ParticleAdaptor p) -> bool
10167  Copy_get_is_setup(Model m, ParticleIndex pi) -> bool
10168  """
10169  return _IMP_atom.Copy_get_is_setup(*args)
10170 
10171 
10172 def get_copy_index(h):
10173  """get_copy_index(Hierarchy h) -> int"""
10174  return _IMP_atom.get_copy_index(h)
10175 class Selection(IMP._ParticleIndexesAdaptor):
10176  """Proxy of C++ IMP::atom::Selection class."""
10177 
10178  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10179  NONE = _IMP_atom.Selection_NONE
10180  C = _IMP_atom.Selection_C
10181  N = _IMP_atom.Selection_N
10182 
10183  def __init__(self, *args):
10184  """
10185  __init__(IMP::atom::Selection self) -> Selection
10186  __init__(IMP::atom::Selection self, Hierarchy h) -> Selection
10187  __init__(IMP::atom::Selection self, Particle h) -> Selection
10188  __init__(IMP::atom::Selection self, Model m, IMP::ParticleIndexes const & pis) -> Selection
10189  __init__(IMP::atom::Selection self, IMP::ParticlesTemp const & h) -> Selection
10190  """
10191  this = _IMP_atom.new_Selection(*args)
10192  try:
10193  self.this.append(this)
10194  except __builtin__.Exception:
10195  self.this = this
10196 
10197  def create_clone(self):
10198  """create_clone(Selection self) -> Selection"""
10199  return _IMP_atom.Selection_create_clone(self)
10200 
10201 
10202  def get_hierarchies(self):
10203  """get_hierarchies(Selection self) -> IMP::atom::Hierarchies"""
10204  return _IMP_atom.Selection_get_hierarchies(self)
10205 
10206 
10207  def set_molecules(self, mols):
10208  """set_molecules(Selection self, IMP::Strings mols)"""
10209  return _IMP_atom.Selection_set_molecules(self, mols)
10210 
10211 
10212  def set_resolution(self, r):
10213  """set_resolution(Selection self, double r)"""
10214  return _IMP_atom.Selection_set_resolution(self, r)
10215 
10216 
10217  def set_representation_type(self, t):
10218  """set_representation_type(Selection self, IMP::atom::RepresentationType t)"""
10219  return _IMP_atom.Selection_set_representation_type(self, t)
10220 
10221 
10222  def set_state_index(self, state):
10223  """set_state_index(Selection self, int state)"""
10224  return _IMP_atom.Selection_set_state_index(self, state)
10225 
10226 
10227  def set_state_indexes(self, states):
10228  """set_state_indexes(Selection self, IMP::Ints states)"""
10229  return _IMP_atom.Selection_set_state_indexes(self, states)
10230 
10231 
10232  def set_terminus(self, t):
10233  """set_terminus(Selection self, IMP::atom::Selection::Terminus t)"""
10234  return _IMP_atom.Selection_set_terminus(self, t)
10235 
10236 
10237  def set_element(self, e):
10238  """set_element(Selection self, IMP::atom::Element e)"""
10239  return _IMP_atom.Selection_set_element(self, e)
10240 
10241 
10242  def set_chain_ids(self, chains):
10243  """set_chain_ids(Selection self, IMP::Strings chains)"""
10244  return _IMP_atom.Selection_set_chain_ids(self, chains)
10245 
10246 
10247  def set_chains(self, chains):
10248  """set_chains(Selection self, IMP::Strings chains)"""
10249  return _IMP_atom.Selection_set_chains(self, chains)
10250 
10251 
10252  def set_residue_indexes(self, indexes):
10253  """set_residue_indexes(Selection self, IMP::Ints indexes)"""
10254  return _IMP_atom.Selection_set_residue_indexes(self, indexes)
10255 
10256 
10257  def set_atom_types(self, types):
10258  """set_atom_types(Selection self, IMP::atom::AtomTypes types)"""
10259  return _IMP_atom.Selection_set_atom_types(self, types)
10260 
10261 
10262  def set_residue_types(self, types):
10263  """set_residue_types(Selection self, IMP::atom::ResidueTypes types)"""
10264  return _IMP_atom.Selection_set_residue_types(self, types)
10265 
10266 
10267  def set_domains(self, names):
10268  """set_domains(Selection self, IMP::Strings names)"""
10269  return _IMP_atom.Selection_set_domains(self, names)
10270 
10271 
10272  def set_molecule(self, mol):
10273  """set_molecule(Selection self, std::string mol)"""
10274  return _IMP_atom.Selection_set_molecule(self, mol)
10275 
10276 
10277  def set_chain_id(self, c):
10278  """set_chain_id(Selection self, std::string c)"""
10279  return _IMP_atom.Selection_set_chain_id(self, c)
10280 
10281 
10282  def set_chain(self, c):
10283  """set_chain(Selection self, std::string c)"""
10284  return _IMP_atom.Selection_set_chain(self, c)
10285 
10286 
10287  def set_residue_index(self, i):
10288  """set_residue_index(Selection self, int i)"""
10289  return _IMP_atom.Selection_set_residue_index(self, i)
10290 
10291 
10292  def set_atom_type(self, types):
10293  """set_atom_type(Selection self, AtomType types)"""
10294  return _IMP_atom.Selection_set_atom_type(self, types)
10295 
10296 
10297  def set_residue_type(self, type):
10298  """set_residue_type(Selection self, ResidueType type)"""
10299  return _IMP_atom.Selection_set_residue_type(self, type)
10300 
10301 
10302  def set_domain(self, name):
10303  """set_domain(Selection self, std::string name)"""
10304  return _IMP_atom.Selection_set_domain(self, name)
10305 
10306 
10307  def set_copy_index(self, copy):
10308  """set_copy_index(Selection self, unsigned int copy)"""
10309  return _IMP_atom.Selection_set_copy_index(self, copy)
10310 
10311 
10312  def set_copy_indexes(self, copies):
10313  """set_copy_indexes(Selection self, IMP::Ints copies)"""
10314  return _IMP_atom.Selection_set_copy_indexes(self, copies)
10315 
10316 
10317  def set_particle_type(self, t):
10318  """set_particle_type(Selection self, ParticleType t)"""
10319  return _IMP_atom.Selection_set_particle_type(self, t)
10320 
10321 
10322  def set_particle_types(self, t):
10323  """set_particle_types(Selection self, IMP::core::ParticleTypes t)"""
10324  return _IMP_atom.Selection_set_particle_types(self, t)
10325 
10326 
10327  def set_hierarchy_types(self, types):
10328  """set_hierarchy_types(Selection self, IMP::Ints types)"""
10329  return _IMP_atom.Selection_set_hierarchy_types(self, types)
10330 
10331 
10332  def set_intersection(self, s):
10333  """set_intersection(Selection self, Selection s)"""
10334  return _IMP_atom.Selection_set_intersection(self, s)
10335 
10336 
10337  def set_union(self, s):
10338  """set_union(Selection self, Selection s)"""
10339  return _IMP_atom.Selection_set_union(self, s)
10340 
10341 
10342  def set_symmetric_difference(self, s):
10343  """set_symmetric_difference(Selection self, Selection s)"""
10344  return _IMP_atom.Selection_set_symmetric_difference(self, s)
10345 
10346 
10347  def set_difference(self, s):
10348  """set_difference(Selection self, Selection s)"""
10349  return _IMP_atom.Selection_set_difference(self, s)
10350 
10351 
10352  def get_selected_particles(self, with_representation=True):
10353  """
10354  get_selected_particles(Selection self, bool with_representation=True) -> IMP::ParticlesTemp
10355  get_selected_particles(Selection self) -> IMP::ParticlesTemp
10356  """
10357  return _IMP_atom.Selection_get_selected_particles(self, with_representation)
10358 
10359 
10360  def get_selected_particle_indexes(self, with_representation=True):
10361  """
10362  get_selected_particle_indexes(Selection self, bool with_representation=True) -> IMP::ParticleIndexes
10363  get_selected_particle_indexes(Selection self) -> IMP::ParticleIndexes
10364  """
10365  return _IMP_atom.Selection_get_selected_particle_indexes(self, with_representation)
10366 
10367 
10368  def show(self, *args):
10369  """
10370  show(Selection self, _ostream out)
10371  show(Selection self)
10372  """
10373  return _IMP_atom.Selection_show(self, *args)
10374 
10375 
10376  def __str__(self):
10377  """__str__(Selection self) -> std::string"""
10378  return _IMP_atom.Selection___str__(self)
10379 
10380 
10381  def __repr__(self):
10382  """__repr__(Selection self) -> std::string"""
10383  return _IMP_atom.Selection___repr__(self)
10384 
10385 
10386  def __init__(self, hierarchy=None,
10387  hierarchies=None, **params):
10388  if hierarchy and hierarchies:
10389  raise RuntimeError("You can't pass both hierarchy and hierarchies to Selection")
10390  if hierarchy:
10391  this = _IMP_atom.new_Selection(hierarchy)
10392  try: self.this.append(this)
10393  except: self.this = this
10394  elif hierarchies:
10395  this = _IMP_atom.new_Selection(hierarchies)
10396  try: self.this.append(this)
10397  except: self.this = this
10398  else:
10399  raise ValueError("Either hierarchy or hierarchies must be provided.")
10400  for k in params.keys():
10401  eval("self.set_%s(params[k])"%k)
10402 
10403  def union(self, s):
10404  news = self.create_clone()
10405  news.union_update(s)
10406  return news
10407  def intersection(self, s):
10408  news = self.create_clone()
10409  news.intersection_update(s)
10410  return news
10411  def symmetric_difference(self, s):
10412  news = self.create_clone()
10413  news.symmetric_difference_update(s)
10414  return news
10415  def difference(self, s):
10416  news = self.create_clone()
10417  news.difference_update(s)
10418  return news
10419  def union_update(self, s):
10420  self.set_union(s)
10421  return self
10422  def intersection_update(self, s):
10423  self.set_intersection(s)
10424  return self
10425  def symmetric_difference_update(self, s):
10426  self.set_symmetric_difference(s)
10427  return self
10428  def difference_update(self, s):
10429  self.set_difference(s)
10430  return self
10431  __or__ = union
10432  __and__ = intersection
10433  __xor__ = symmetric_difference
10434  __sub__ = difference
10435  __ior__ = union_update
10436  __iand__ = intersection_update
10437  __ixor__ = symmetric_difference_update
10438  __isub__ = difference_update
10439 
10440  __swig_destroy__ = _IMP_atom.delete_Selection
10441  __del__ = lambda self: None
10442 Selection_swigregister = _IMP_atom.Selection_swigregister
10443 Selection_swigregister(Selection)
10444 
10445 
10446 def create_distance_restraint(*args):
10447  """
10448  create_distance_restraint(Selection n0, Selection n1, double x0, double k, std::string name) -> Restraint
10449  create_distance_restraint(Selection n0, Selection n1, double x0, double k) -> Restraint
10450  """
10451  return _IMP_atom.create_distance_restraint(*args)
10452 
10454  """
10455  create_connectivity_restraint(IMP::atom::Selections const & s, double k, std::string name) -> Restraint
10456  create_connectivity_restraint(IMP::atom::Selections const & s, double k) -> Restraint
10457  create_connectivity_restraint(IMP::atom::Selections const & s, double x0, double k, std::string name) -> Restraint
10458  create_connectivity_restraint(IMP::atom::Selections const & s, double x0, double k) -> Restraint
10459  """
10460  return _IMP_atom.create_connectivity_restraint(*args)
10461 
10463  """
10464  create_internal_connectivity_restraint(Selection s, double k, std::string name) -> Restraint
10465  create_internal_connectivity_restraint(Selection s, double k) -> Restraint
10466  create_internal_connectivity_restraint(Selection s, double x0, double k, std::string name) -> Restraint
10467  create_internal_connectivity_restraint(Selection s, double x0, double k) -> Restraint
10468  """
10469  return _IMP_atom.create_internal_connectivity_restraint(*args)
10470 
10471 def create_cover(*args):
10472  """
10473  create_cover(Selection s, std::string name) -> XYZR
10474  create_cover(Selection s) -> XYZR
10475  """
10476  return _IMP_atom.create_cover(*args)
10477 
10478 def get_mass(*args):
10479  """
10480  get_mass(ResidueType c) -> double
10481  get_mass(Selection s) -> double
10482  """
10483  return _IMP_atom.get_mass(*args)
10484 
10485 def get_volume(s):
10486  """get_volume(Selection s) -> double"""
10487  return _IMP_atom.get_volume(s)
10488 
10489 def get_surface_area(s):
10490  """get_surface_area(Selection s) -> double"""
10491  return _IMP_atom.get_surface_area(s)
10492 
10493 def get_leaves(*args):
10494  """
10495  get_leaves(Hierarchy h) -> IMP::atom::Hierarchies
10496  get_leaves(IMP::atom::Hierarchies const & h) -> IMP::atom::Hierarchies
10497  get_leaves(Selection h) -> IMP::atom::Hierarchies
10498  """
10499  return _IMP_atom.get_leaves(*args)
10500 class SelectionGeometry(IMP.display.Geometry):
10501  """Proxy of C++ IMP::atom::SelectionGeometry class."""
10502 
10503  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10504 
10505  def __init__(self, *args):
10506  """
10507  __init__(IMP::atom::SelectionGeometry self, Selection d, std::string name) -> SelectionGeometry
10508  __init__(IMP::atom::SelectionGeometry self, Selection d) -> SelectionGeometry
10509  """
10510  this = _IMP_atom.new_SelectionGeometry(*args)
10511  try:
10512  self.this.append(this)
10513  except __builtin__.Exception:
10514  self.this = this
10515 
10516  def get_version_info(self):
10517  """get_version_info(SelectionGeometry self) -> VersionInfo"""
10518  return _IMP_atom.SelectionGeometry_get_version_info(self)
10519 
10520 
10521  def __str__(self):
10522  """__str__(SelectionGeometry self) -> std::string"""
10523  return _IMP_atom.SelectionGeometry___str__(self)
10524 
10525 
10526  def __repr__(self):
10527  """__repr__(SelectionGeometry self) -> std::string"""
10528  return _IMP_atom.SelectionGeometry___repr__(self)
10529 
10530 
10531  @staticmethod
10532  def get_from(o):
10533  return _object_cast_to_SelectionGeometry(o)
10534 
10535 SelectionGeometry_swigregister = _IMP_atom.SelectionGeometry_swigregister
10536 SelectionGeometry_swigregister(SelectionGeometry)
10537 
10538 
10539 def get_rmsd(*args):
10540  """
10541  get_rmsd(IMP::core::XYZs const & s0, IMP::core::XYZs const & s1) -> double
10542  get_rmsd(Selection s0, Selection s1) -> double
10543  """
10544  return _IMP_atom.get_rmsd(*args)
10545 
10546 def get_rmsd_transforming_first(*args):
10547  """
10548  get_rmsd_transforming_first(Transformation3D tr, IMP::core::XYZs const & s0, IMP::core::XYZs const & s1) -> double
10549  get_rmsd_transforming_first(Transformation3D tr, Selection s0, Selection s1) -> double
10550  """
10551  return _IMP_atom.get_rmsd_transforming_first(*args)
10552 
10553 def get_placement_score(source, target):
10554  """get_placement_score(IMP::core::XYZs const & source, IMP::core::XYZs const & target) -> IMP::FloatPair"""
10555  return _IMP_atom.get_placement_score(source, target)
10556 
10557 def get_component_placement_score(ref1, ref2, mdl1, mdl2):
10558  """get_component_placement_score(IMP::core::XYZs const & ref1, IMP::core::XYZs const & ref2, IMP::core::XYZs const & mdl1, IMP::core::XYZs const & mdl2) -> IMP::FloatPair"""
10559  return _IMP_atom.get_component_placement_score(ref1, ref2, mdl1, mdl2)
10560 
10561 def get_pairwise_rmsd_score(ref1, ref2, mdl1, mdl2):
10562  """get_pairwise_rmsd_score(IMP::core::XYZs const & ref1, IMP::core::XYZs const & ref2, IMP::core::XYZs const & mdl1, IMP::core::XYZs const & mdl2) -> double"""
10563  return _IMP_atom.get_pairwise_rmsd_score(ref1, ref2, mdl1, mdl2)
10564 
10565 def get_radius_of_gyration(*args):
10566  """
10567  get_radius_of_gyration(Selection s) -> double
10568  get_radius_of_gyration(IMP::ParticlesTemp const & ps, bool weighted=True) -> double
10569  get_radius_of_gyration(IMP::ParticlesTemp const & ps) -> double
10570  """
10571  return _IMP_atom.get_radius_of_gyration(*args)
10572 class ForceFieldParameters(IMP.Object):
10573  """Proxy of C++ IMP::atom::ForceFieldParameters class."""
10574 
10575  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10576 
10577  def __init__(self):
10578  """__init__(IMP::atom::ForceFieldParameters self) -> ForceFieldParameters"""
10579  this = _IMP_atom.new_ForceFieldParameters()
10580  try:
10581  self.this.append(this)
10582  except __builtin__.Exception:
10583  self.this = this
10584 
10585  def get_radius(self, atom):
10586  """get_radius(ForceFieldParameters self, Atom atom) -> IMP::Float"""
10587  return _IMP_atom.ForceFieldParameters_get_radius(self, atom)
10588 
10589 
10590  def get_epsilon(self, atom):
10591  """get_epsilon(ForceFieldParameters self, Atom atom) -> IMP::Float"""
10592  return _IMP_atom.ForceFieldParameters_get_epsilon(self, atom)
10593 
10594 
10595  def add_radii(self, *args):
10596  """
10597  add_radii(ForceFieldParameters self, Hierarchy mhd, double scale=1.0, FloatKey radius_key)
10598  add_radii(ForceFieldParameters self, Hierarchy mhd, double scale=1.0)
10599  add_radii(ForceFieldParameters self, Hierarchy mhd)
10600  """
10601  return _IMP_atom.ForceFieldParameters_add_radii(self, *args)
10602 
10603 
10604  def add_well_depths(self, mhd):
10605  """add_well_depths(ForceFieldParameters self, Hierarchy mhd)"""
10606  return _IMP_atom.ForceFieldParameters_add_well_depths(self, mhd)
10607 
10608 
10609  def add_bonds(self, mhd):
10610  """add_bonds(ForceFieldParameters self, Hierarchy mhd)"""
10611  return _IMP_atom.ForceFieldParameters_add_bonds(self, mhd)
10612 
10613  __swig_destroy__ = _IMP_atom.delete_ForceFieldParameters
10614  __del__ = lambda self: None
10615 
10616  def __str__(self):
10617  """__str__(ForceFieldParameters self) -> std::string"""
10618  return _IMP_atom.ForceFieldParameters___str__(self)
10619 
10620 
10621  def __repr__(self):
10622  """__repr__(ForceFieldParameters self) -> std::string"""
10623  return _IMP_atom.ForceFieldParameters___repr__(self)
10624 
10625 
10626  @staticmethod
10627  def get_from(o):
10628  return _object_cast_to_ForceFieldParameters(o)
10629 
10630 ForceFieldParameters_swigregister = _IMP_atom.ForceFieldParameters_swigregister
10631 ForceFieldParameters_swigregister(ForceFieldParameters)
10632 
10633 class CHARMMAtomTopology(object):
10634  """Proxy of C++ IMP::atom::CHARMMAtomTopology class."""
10635 
10636  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10637 
10638  def __init__(self, *args):
10639  """
10640  __init__(IMP::atom::CHARMMAtomTopology self, std::string name) -> CHARMMAtomTopology
10641  __init__(IMP::atom::CHARMMAtomTopology self, std::string name, CHARMMAtomTopology other) -> CHARMMAtomTopology
10642  """
10643  this = _IMP_atom.new_CHARMMAtomTopology(*args)
10644  try:
10645  self.this.append(this)
10646  except __builtin__.Exception:
10647  self.this = this
10648 
10649  def get_name(self):
10650  """get_name(CHARMMAtomTopology self) -> std::string"""
10651  return _IMP_atom.CHARMMAtomTopology_get_name(self)
10652 
10653 
10654  def get_charmm_type(self):
10655  """get_charmm_type(CHARMMAtomTopology self) -> std::string"""
10656  return _IMP_atom.CHARMMAtomTopology_get_charmm_type(self)
10657 
10658 
10659  def get_charge(self):
10660  """get_charge(CHARMMAtomTopology self) -> double"""
10661  return _IMP_atom.CHARMMAtomTopology_get_charge(self)
10662 
10663 
10664  def set_charmm_type(self, charmm_type):
10665  """set_charmm_type(CHARMMAtomTopology self, std::string charmm_type)"""
10666  return _IMP_atom.CHARMMAtomTopology_set_charmm_type(self, charmm_type)
10667 
10668 
10669  def set_charge(self, charge):
10670  """set_charge(CHARMMAtomTopology self, double charge)"""
10671  return _IMP_atom.CHARMMAtomTopology_set_charge(self, charge)
10672 
10673 
10674  def show(self, *args):
10675  """
10676  show(CHARMMAtomTopology self, _ostream out)
10677  show(CHARMMAtomTopology self)
10678  """
10679  return _IMP_atom.CHARMMAtomTopology_show(self, *args)
10680 
10681 
10682  def __str__(self):
10683  """__str__(CHARMMAtomTopology self) -> std::string"""
10684  return _IMP_atom.CHARMMAtomTopology___str__(self)
10685 
10686 
10687  def __repr__(self):
10688  """__repr__(CHARMMAtomTopology self) -> std::string"""
10689  return _IMP_atom.CHARMMAtomTopology___repr__(self)
10690 
10691  __swig_destroy__ = _IMP_atom.delete_CHARMMAtomTopology
10692  __del__ = lambda self: None
10693 CHARMMAtomTopology_swigregister = _IMP_atom.CHARMMAtomTopology_swigregister
10694 CHARMMAtomTopology_swigregister(CHARMMAtomTopology)
10695 
10696 class CHARMMBondEndpoint(object):
10697  """Proxy of C++ IMP::atom::CHARMMBondEndpoint class."""
10698 
10699  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10700 
10701  def __init__(self, atom_name, residue=None):
10702  """
10703  __init__(IMP::atom::CHARMMBondEndpoint self, std::string atom_name, CHARMMResidueTopology residue=None) -> CHARMMBondEndpoint
10704  __init__(IMP::atom::CHARMMBondEndpoint self, std::string atom_name) -> CHARMMBondEndpoint
10705  """
10706  this = _IMP_atom.new_CHARMMBondEndpoint(atom_name, residue)
10707  try:
10708  self.this.append(this)
10709  except __builtin__.Exception:
10710  self.this = this
10711 
10712  def get_atom_name(self):
10713  """get_atom_name(CHARMMBondEndpoint self) -> std::string"""
10714  return _IMP_atom.CHARMMBondEndpoint_get_atom_name(self)
10715 
10716 
10717  def get_atom(self, current_residue, previous_residue, next_residue, resmap):
10718  """get_atom(CHARMMBondEndpoint self, CHARMMResidueTopology current_residue, CHARMMResidueTopology previous_residue, CHARMMResidueTopology next_residue, std::map< IMP::atom::CHARMMResidueTopology const *,IMP::atom::Hierarchy > const & resmap) -> Atom"""
10719  return _IMP_atom.CHARMMBondEndpoint_get_atom(self, current_residue, previous_residue, next_residue, resmap)
10720 
10721 
10722  def show(self, *args):
10723  """
10724  show(CHARMMBondEndpoint self, _ostream out)
10725  show(CHARMMBondEndpoint self)
10726  """
10727  return _IMP_atom.CHARMMBondEndpoint_show(self, *args)
10728 
10729 
10730  def __str__(self):
10731  """__str__(CHARMMBondEndpoint self) -> std::string"""
10732  return _IMP_atom.CHARMMBondEndpoint___str__(self)
10733 
10734 
10735  def __repr__(self):
10736  """__repr__(CHARMMBondEndpoint self) -> std::string"""
10737  return _IMP_atom.CHARMMBondEndpoint___repr__(self)
10738 
10739  __swig_destroy__ = _IMP_atom.delete_CHARMMBondEndpoint
10740  __del__ = lambda self: None
10741 CHARMMBondEndpoint_swigregister = _IMP_atom.CHARMMBondEndpoint_swigregister
10742 CHARMMBondEndpoint_swigregister(CHARMMBondEndpoint)
10743 
10744 class CHARMMDihedral(object):
10745  """Proxy of C++ IMP::atom::CHARMMConnection<(4)> class."""
10746 
10747  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10748  __repr__ = _swig_repr
10749 
10750  def __init__(self, atoms):
10751  """__init__(IMP::atom::CHARMMConnection<(4)> self, IMP::Strings const & atoms) -> CHARMMDihedral"""
10752  this = _IMP_atom.new_CHARMMDihedral(atoms)
10753  try:
10754  self.this.append(this)
10755  except __builtin__.Exception:
10756  self.this = this
10757 
10758  def get_endpoint(self, i):
10759  """get_endpoint(CHARMMDihedral self, unsigned int i) -> CHARMMBondEndpoint"""
10760  return _IMP_atom.CHARMMDihedral_get_endpoint(self, i)
10761 
10762 
10763  def get_contains_atom(self, name):
10764  """get_contains_atom(CHARMMDihedral self, std::string name) -> bool"""
10765  return _IMP_atom.CHARMMDihedral_get_contains_atom(self, name)
10766 
10767 
10768  def show(self, *args):
10769  """
10770  show(CHARMMDihedral self, _ostream out)
10771  show(CHARMMDihedral self)
10772  """
10773  return _IMP_atom.CHARMMDihedral_show(self, *args)
10774 
10775  __swig_destroy__ = _IMP_atom.delete_CHARMMDihedral
10776  __del__ = lambda self: None
10777 CHARMMDihedral_swigregister = _IMP_atom.CHARMMDihedral_swigregister
10778 CHARMMDihedral_swigregister(CHARMMDihedral)
10779 
10780 class CHARMMInternalCoordinate(CHARMMDihedral):
10781  """Proxy of C++ IMP::atom::CHARMMInternalCoordinate class."""
10782 
10783  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10784 
10785  def __init__(self, *args):
10786  """
10787  __init__(IMP::atom::CHARMMInternalCoordinate self, IMP::Strings const & atoms, float first_distance, float first_angle, float dihedral, float second_angle, float second_distance, bool improper) -> CHARMMInternalCoordinate
10788  __init__(IMP::atom::CHARMMInternalCoordinate self, IMP::Vector< IMP::atom::CHARMMBondEndpoint > const endpoints, float first_distance, float first_angle, float dihedral, float second_angle, float second_distance, bool improper) -> CHARMMInternalCoordinate
10789  """
10790  this = _IMP_atom.new_CHARMMInternalCoordinate(*args)
10791  try:
10792  self.this.append(this)
10793  except __builtin__.Exception:
10794  self.this = this
10795 
10796  def get_first_distance(self):
10797  """get_first_distance(CHARMMInternalCoordinate self) -> float"""
10798  return _IMP_atom.CHARMMInternalCoordinate_get_first_distance(self)
10799 
10800 
10801  def get_second_distance(self):
10802  """get_second_distance(CHARMMInternalCoordinate self) -> float"""
10803  return _IMP_atom.CHARMMInternalCoordinate_get_second_distance(self)
10804 
10805 
10806  def get_first_angle(self):
10807  """get_first_angle(CHARMMInternalCoordinate self) -> float"""
10808  return _IMP_atom.CHARMMInternalCoordinate_get_first_angle(self)
10809 
10810 
10811  def get_second_angle(self):
10812  """get_second_angle(CHARMMInternalCoordinate self) -> float"""
10813  return _IMP_atom.CHARMMInternalCoordinate_get_second_angle(self)
10814 
10815 
10816  def get_dihedral(self):
10817  """get_dihedral(CHARMMInternalCoordinate self) -> float"""
10818  return _IMP_atom.CHARMMInternalCoordinate_get_dihedral(self)
10819 
10820 
10821  def get_improper(self):
10822  """get_improper(CHARMMInternalCoordinate self) -> bool"""
10823  return _IMP_atom.CHARMMInternalCoordinate_get_improper(self)
10824 
10825 
10826  def show(self, *args):
10827  """
10828  show(CHARMMInternalCoordinate self, _ostream out)
10829  show(CHARMMInternalCoordinate self)
10830  """
10831  return _IMP_atom.CHARMMInternalCoordinate_show(self, *args)
10832 
10833 
10834  def __str__(self):
10835  """__str__(CHARMMInternalCoordinate self) -> std::string"""
10836  return _IMP_atom.CHARMMInternalCoordinate___str__(self)
10837 
10838 
10839  def __repr__(self):
10840  """__repr__(CHARMMInternalCoordinate self) -> std::string"""
10841  return _IMP_atom.CHARMMInternalCoordinate___repr__(self)
10842 
10843  __swig_destroy__ = _IMP_atom.delete_CHARMMInternalCoordinate
10844  __del__ = lambda self: None
10845 CHARMMInternalCoordinate_swigregister = _IMP_atom.CHARMMInternalCoordinate_swigregister
10846 CHARMMInternalCoordinate_swigregister(CHARMMInternalCoordinate)
10847 
10848 class CHARMMResidueTopologyBase(IMP.Object):
10849  """Proxy of C++ IMP::atom::CHARMMResidueTopologyBase class."""
10850 
10851  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10852 
10853  def __init__(self, *args, **kwargs):
10854  raise AttributeError("No constructor defined")
10855 
10856  def get_type(self):
10857  """get_type(CHARMMResidueTopologyBase self) -> std::string"""
10858  return _IMP_atom.CHARMMResidueTopologyBase_get_type(self)
10859 
10860 
10861  def get_number_of_atoms(self):
10862  """get_number_of_atoms(CHARMMResidueTopologyBase self) -> unsigned int"""
10863  return _IMP_atom.CHARMMResidueTopologyBase_get_number_of_atoms(self)
10864 
10865 
10866  def add_atom(self, atom):
10867  """add_atom(CHARMMResidueTopologyBase self, CHARMMAtomTopology atom)"""
10868  return _IMP_atom.CHARMMResidueTopologyBase_add_atom(self, atom)
10869 
10870 
10871  def get_atom(self, *args):
10872  """
10873  get_atom(CHARMMResidueTopologyBase self, unsigned int i) -> CHARMMAtomTopology
10874  get_atom(CHARMMResidueTopologyBase self, AtomType type) -> CHARMMAtomTopology
10875  get_atom(CHARMMResidueTopologyBase self, std::string name) -> CHARMMAtomTopology
10876  """
10877  return _IMP_atom.CHARMMResidueTopologyBase_get_atom(self, *args)
10878 
10879 
10880  def get_number_of_bonds(self):
10881  """get_number_of_bonds(CHARMMResidueTopologyBase self) -> unsigned int"""
10882  return _IMP_atom.CHARMMResidueTopologyBase_get_number_of_bonds(self)
10883 
10884 
10885  def add_bond(self, bond):
10886  """add_bond(CHARMMResidueTopologyBase self, CHARMMBond bond)"""
10887  return _IMP_atom.CHARMMResidueTopologyBase_add_bond(self, bond)
10888 
10889 
10890  def get_number_of_angles(self):
10891  """get_number_of_angles(CHARMMResidueTopologyBase self) -> unsigned int"""
10892  return _IMP_atom.CHARMMResidueTopologyBase_get_number_of_angles(self)
10893 
10894 
10895  def add_angle(self, bond):
10896  """add_angle(CHARMMResidueTopologyBase self, CHARMMAngle bond)"""
10897  return _IMP_atom.CHARMMResidueTopologyBase_add_angle(self, bond)
10898 
10899 
10900  def get_number_of_dihedrals(self):
10901  """get_number_of_dihedrals(CHARMMResidueTopologyBase self) -> unsigned int"""
10902  return _IMP_atom.CHARMMResidueTopologyBase_get_number_of_dihedrals(self)
10903 
10904 
10905  def add_dihedral(self, bond):
10906  """add_dihedral(CHARMMResidueTopologyBase self, CHARMMDihedral bond)"""
10907  return _IMP_atom.CHARMMResidueTopologyBase_add_dihedral(self, bond)
10908 
10909 
10910  def get_number_of_impropers(self):
10911  """get_number_of_impropers(CHARMMResidueTopologyBase self) -> unsigned int"""
10912  return _IMP_atom.CHARMMResidueTopologyBase_get_number_of_impropers(self)
10913 
10914 
10915  def add_improper(self, bond):
10916  """add_improper(CHARMMResidueTopologyBase self, CHARMMDihedral bond)"""
10917  return _IMP_atom.CHARMMResidueTopologyBase_add_improper(self, bond)
10918 
10919 
10920  def get_number_of_internal_coordinates(self):
10921  """get_number_of_internal_coordinates(CHARMMResidueTopologyBase self) -> unsigned int"""
10922  return _IMP_atom.CHARMMResidueTopologyBase_get_number_of_internal_coordinates(self)
10923 
10924 
10925  def add_internal_coordinate(self, ic):
10926  """add_internal_coordinate(CHARMMResidueTopologyBase self, CHARMMInternalCoordinate ic)"""
10927  return _IMP_atom.CHARMMResidueTopologyBase_add_internal_coordinate(self, ic)
10928 
10929 
10930  def get_internal_coordinate(self, index):
10931  """get_internal_coordinate(CHARMMResidueTopologyBase self, unsigned int index) -> CHARMMInternalCoordinate"""
10932  return _IMP_atom.CHARMMResidueTopologyBase_get_internal_coordinate(self, index)
10933 
10934 
10935  def get_bond(self, index):
10936  """get_bond(CHARMMResidueTopologyBase self, unsigned int index) -> CHARMMBond"""
10937  return _IMP_atom.CHARMMResidueTopologyBase_get_bond(self, index)
10938 
10939 
10940  def get_angle(self, index):
10941  """get_angle(CHARMMResidueTopologyBase self, unsigned int index) -> CHARMMAngle"""
10942  return _IMP_atom.CHARMMResidueTopologyBase_get_angle(self, index)
10943 
10944 
10945  def get_dihedral(self, index):
10946  """get_dihedral(CHARMMResidueTopologyBase self, unsigned int index) -> CHARMMDihedral"""
10947  return _IMP_atom.CHARMMResidueTopologyBase_get_dihedral(self, index)
10948 
10949 
10950  def get_improper(self, index):
10951  """get_improper(CHARMMResidueTopologyBase self, unsigned int index) -> CHARMMDihedral"""
10952  return _IMP_atom.CHARMMResidueTopologyBase_get_improper(self, index)
10953 
10954 
10955  def get_version_info(self):
10956  """get_version_info(CHARMMResidueTopologyBase self) -> VersionInfo"""
10957  return _IMP_atom.CHARMMResidueTopologyBase_get_version_info(self)
10958 
10959 
10960  def __str__(self):
10961  """__str__(CHARMMResidueTopologyBase self) -> std::string"""
10962  return _IMP_atom.CHARMMResidueTopologyBase___str__(self)
10963 
10964 
10965  def __repr__(self):
10966  """__repr__(CHARMMResidueTopologyBase self) -> std::string"""
10967  return _IMP_atom.CHARMMResidueTopologyBase___repr__(self)
10968 
10969 
10970  @staticmethod
10971  def get_from(o):
10972  return _object_cast_to_CHARMMResidueTopologyBase(o)
10973 
10974 CHARMMResidueTopologyBase_swigregister = _IMP_atom.CHARMMResidueTopologyBase_swigregister
10975 CHARMMResidueTopologyBase_swigregister(CHARMMResidueTopologyBase)
10976 
10977 class CHARMMIdealResidueTopology(CHARMMResidueTopologyBase):
10978  """Proxy of C++ IMP::atom::CHARMMIdealResidueTopology class."""
10979 
10980  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10981 
10982  def __init__(self, *args):
10983  """
10984  __init__(IMP::atom::CHARMMIdealResidueTopology self, std::string type) -> CHARMMIdealResidueTopology
10985  __init__(IMP::atom::CHARMMIdealResidueTopology self, ResidueType type) -> CHARMMIdealResidueTopology
10986  """
10987  this = _IMP_atom.new_CHARMMIdealResidueTopology(*args)
10988  try:
10989  self.this.append(this)
10990  except __builtin__.Exception:
10991  self.this = this
10992 
10993  def remove_atom(self, name):
10994  """remove_atom(CHARMMIdealResidueTopology self, std::string name)"""
10995  return _IMP_atom.CHARMMIdealResidueTopology_remove_atom(self, name)
10996 
10997 
10998  def set_default_first_patch(self, patch):
10999  """set_default_first_patch(CHARMMIdealResidueTopology self, std::string patch)"""
11000  return _IMP_atom.CHARMMIdealResidueTopology_set_default_first_patch(self, patch)
11001 
11002 
11003  def set_default_last_patch(self, patch):
11004  """set_default_last_patch(CHARMMIdealResidueTopology self, std::string patch)"""
11005  return _IMP_atom.CHARMMIdealResidueTopology_set_default_last_patch(self, patch)
11006 
11007 
11008  def get_default_first_patch(self):
11009  """get_default_first_patch(CHARMMIdealResidueTopology self) -> std::string"""
11010  return _IMP_atom.CHARMMIdealResidueTopology_get_default_first_patch(self)
11011 
11012 
11013  def get_default_last_patch(self):
11014  """get_default_last_patch(CHARMMIdealResidueTopology self) -> std::string"""
11015  return _IMP_atom.CHARMMIdealResidueTopology_get_default_last_patch(self)
11016 
11017 
11018  def __str__(self):
11019  """__str__(CHARMMIdealResidueTopology self) -> std::string"""
11020  return _IMP_atom.CHARMMIdealResidueTopology___str__(self)
11021 
11022 
11023  def __repr__(self):
11024  """__repr__(CHARMMIdealResidueTopology self) -> std::string"""
11025  return _IMP_atom.CHARMMIdealResidueTopology___repr__(self)
11026 
11027 
11028  @staticmethod
11029  def get_from(o):
11030  return _object_cast_to_CHARMMIdealResidueTopology(o)
11031 
11032 CHARMMIdealResidueTopology_swigregister = _IMP_atom.CHARMMIdealResidueTopology_swigregister
11033 CHARMMIdealResidueTopology_swigregister(CHARMMIdealResidueTopology)
11034 
11035 class CHARMMPatch(CHARMMResidueTopologyBase):
11036  """Proxy of C++ IMP::atom::CHARMMPatch class."""
11037 
11038  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11039 
11040  def __init__(self, type):
11041  """__init__(IMP::atom::CHARMMPatch self, std::string type) -> CHARMMPatch"""
11042  this = _IMP_atom.new_CHARMMPatch(type)
11043  try:
11044  self.this.append(this)
11045  except __builtin__.Exception:
11046  self.this = this
11047 
11048  def add_removed_atom(self, name):
11049  """add_removed_atom(CHARMMPatch self, std::string name)"""
11050  return _IMP_atom.CHARMMPatch_add_removed_atom(self, name)
11051 
11052 
11053  def get_number_of_removed_atoms(self):
11054  """get_number_of_removed_atoms(CHARMMPatch self) -> unsigned int"""
11055  return _IMP_atom.CHARMMPatch_get_number_of_removed_atoms(self)
11056 
11057 
11058  def get_removed_atom(self, i):
11059  """get_removed_atom(CHARMMPatch self, unsigned int i) -> std::string"""
11060  return _IMP_atom.CHARMMPatch_get_removed_atom(self, i)
11061 
11062 
11063  def apply(self, *args):
11064  """
11065  apply(CHARMMPatch self, CHARMMResidueTopology res)
11066  apply(CHARMMPatch self, CHARMMResidueTopology res1, CHARMMResidueTopology res2)
11067  """
11068  return _IMP_atom.CHARMMPatch_apply(self, *args)
11069 
11070 
11071  def __str__(self):
11072  """__str__(CHARMMPatch self) -> std::string"""
11073  return _IMP_atom.CHARMMPatch___str__(self)
11074 
11075 
11076  def __repr__(self):
11077  """__repr__(CHARMMPatch self) -> std::string"""
11078  return _IMP_atom.CHARMMPatch___repr__(self)
11079 
11080 
11081  @staticmethod
11082  def get_from(o):
11083  return _object_cast_to_CHARMMPatch(o)
11084 
11085 CHARMMPatch_swigregister = _IMP_atom.CHARMMPatch_swigregister
11086 CHARMMPatch_swigregister(CHARMMPatch)
11087 
11088 class CHARMMResidueTopology(CHARMMIdealResidueTopology):
11089  """Proxy of C++ IMP::atom::CHARMMResidueTopology class."""
11090 
11091  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11092 
11093  def __init__(self, *args):
11094  """
11095  __init__(IMP::atom::CHARMMResidueTopology self, ResidueType type) -> CHARMMResidueTopology
11096  __init__(IMP::atom::CHARMMResidueTopology self, CHARMMIdealResidueTopology ideal) -> CHARMMResidueTopology
11097  """
11098  this = _IMP_atom.new_CHARMMResidueTopology(*args)
11099  try:
11100  self.this.append(this)
11101  except __builtin__.Exception:
11102  self.this = this
11103 
11104  def get_patched(self):
11105  """get_patched(CHARMMResidueTopology self) -> bool"""
11106  return _IMP_atom.CHARMMResidueTopology_get_patched(self)
11107 
11108 
11109  def set_patched(self, patched):
11110  """set_patched(CHARMMResidueTopology self, bool patched)"""
11111  return _IMP_atom.CHARMMResidueTopology_set_patched(self, patched)
11112 
11113 
11114  def __str__(self):
11115  """__str__(CHARMMResidueTopology self) -> std::string"""
11116  return _IMP_atom.CHARMMResidueTopology___str__(self)
11117 
11118 
11119  def __repr__(self):
11120  """__repr__(CHARMMResidueTopology self) -> std::string"""
11121  return _IMP_atom.CHARMMResidueTopology___repr__(self)
11122 
11123 
11124  @staticmethod
11125  def get_from(o):
11126  return _object_cast_to_CHARMMResidueTopology(o)
11127 
11128 CHARMMResidueTopology_swigregister = _IMP_atom.CHARMMResidueTopology_swigregister
11129 CHARMMResidueTopology_swigregister(CHARMMResidueTopology)
11130 
11131 class CHARMMAtom(Atom):
11132  """Proxy of C++ IMP::atom::CHARMMAtom class."""
11133 
11134  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11135 
11136  def __init__(self, *args):
11137  """
11138  __init__(IMP::atom::CHARMMAtom self) -> CHARMMAtom
11139  __init__(IMP::atom::CHARMMAtom self, Model m, ParticleIndex id) -> CHARMMAtom
11140  __init__(IMP::atom::CHARMMAtom self, _ParticleAdaptor d) -> CHARMMAtom
11141  """
11142  this = _IMP_atom.new_CHARMMAtom(*args)
11143  try:
11144  self.this.append(this)
11145  except __builtin__.Exception:
11146  self.this = this
11147 
11148  def show(self, *args):
11149  """
11150  show(CHARMMAtom self, _ostream out)
11151  show(CHARMMAtom self)
11152  """
11153  return _IMP_atom.CHARMMAtom_show(self, *args)
11154 
11155 
11156  def setup_particle(*args):
11157  """
11158  setup_particle(Model m, ParticleIndex pi, IMP::String charmm_type) -> CHARMMAtom
11159  setup_particle(_ParticleAdaptor decorator, IMP::String charmm_type) -> CHARMMAtom
11160  """
11161  return _IMP_atom.CHARMMAtom_setup_particle(*args)
11162 
11163  setup_particle = staticmethod(setup_particle)
11164 
11165  def get_charmm_type(self):
11166  """get_charmm_type(CHARMMAtom self) -> IMP::String"""
11167  return _IMP_atom.CHARMMAtom_get_charmm_type(self)
11168 
11169 
11170  def set_charmm_type(self, t):
11171  """set_charmm_type(CHARMMAtom self, IMP::String t)"""
11172  return _IMP_atom.CHARMMAtom_set_charmm_type(self, t)
11173 
11174 
11175  def get_is_setup(*args):
11176  """
11177  get_is_setup(_ParticleAdaptor p) -> bool
11178  get_is_setup(Model m, ParticleIndex pi) -> bool
11179  """
11180  return _IMP_atom.CHARMMAtom_get_is_setup(*args)
11181 
11182  get_is_setup = staticmethod(get_is_setup)
11183 
11184  def get_charmm_type_key():
11185  """get_charmm_type_key() -> StringKey"""
11186  return _IMP_atom.CHARMMAtom_get_charmm_type_key()
11187 
11188  get_charmm_type_key = staticmethod(get_charmm_type_key)
11189 
11190  def add_attribute(self, *args):
11191  """
11192  add_attribute(CHARMMAtom self, FloatKey k, IMP::Float v, bool opt)
11193  add_attribute(CHARMMAtom self, FloatKey a0, IMP::Float a1)
11194  add_attribute(CHARMMAtom self, IntKey a0, IMP::Int a1)
11195  add_attribute(CHARMMAtom self, StringKey a0, IMP::String a1)
11196  add_attribute(CHARMMAtom self, ParticleIndexKey a0, Particle a1)
11197  add_attribute(CHARMMAtom self, ObjectKey a0, Object a1)
11198  """
11199  return _IMP_atom.CHARMMAtom_add_attribute(self, *args)
11200 
11201 
11202  def get_value(self, *args):
11203  """
11204  get_value(CHARMMAtom self, FloatKey a0) -> IMP::Float
11205  get_value(CHARMMAtom self, IntKey a0) -> IMP::Int
11206  get_value(CHARMMAtom self, StringKey a0) -> IMP::String
11207  get_value(CHARMMAtom self, ParticleIndexKey a0) -> Particle
11208  get_value(CHARMMAtom self, ObjectKey a0) -> Object
11209  """
11210  return _IMP_atom.CHARMMAtom_get_value(self, *args)
11211 
11212 
11213  def set_value(self, *args):
11214  """
11215  set_value(CHARMMAtom self, FloatKey a0, IMP::Float a1)
11216  set_value(CHARMMAtom self, IntKey a0, IMP::Int a1)
11217  set_value(CHARMMAtom self, StringKey a0, IMP::String a1)
11218  set_value(CHARMMAtom self, ParticleIndexKey a0, Particle a1)
11219  set_value(CHARMMAtom self, ObjectKey a0, Object a1)
11220  """
11221  return _IMP_atom.CHARMMAtom_set_value(self, *args)
11222 
11223 
11224  def remove_attribute(self, *args):
11225  """
11226  remove_attribute(CHARMMAtom self, FloatKey a0)
11227  remove_attribute(CHARMMAtom self, IntKey a0)
11228  remove_attribute(CHARMMAtom self, StringKey a0)
11229  remove_attribute(CHARMMAtom self, ParticleIndexKey a0)
11230  remove_attribute(CHARMMAtom self, ObjectKey a0)
11231  """
11232  return _IMP_atom.CHARMMAtom_remove_attribute(self, *args)
11233 
11234 
11235  def has_attribute(self, *args):
11236  """
11237  has_attribute(CHARMMAtom self, FloatKey a0) -> bool
11238  has_attribute(CHARMMAtom self, IntKey a0) -> bool
11239  has_attribute(CHARMMAtom self, StringKey a0) -> bool
11240  has_attribute(CHARMMAtom self, ParticleIndexKey a0) -> bool
11241  has_attribute(CHARMMAtom self, ObjectKey a0) -> bool
11242  """
11243  return _IMP_atom.CHARMMAtom_has_attribute(self, *args)
11244 
11245 
11246  def get_derivative(self, a0):
11247  """get_derivative(CHARMMAtom self, FloatKey a0) -> double"""
11248  return _IMP_atom.CHARMMAtom_get_derivative(self, a0)
11249 
11250 
11251  def get_name(self):
11252  """get_name(CHARMMAtom self) -> std::string"""
11253  return _IMP_atom.CHARMMAtom_get_name(self)
11254 
11255 
11256  def clear_caches(self):
11257  """clear_caches(CHARMMAtom self)"""
11258  return _IMP_atom.CHARMMAtom_clear_caches(self)
11259 
11260 
11261  def set_name(self, a0):
11262  """set_name(CHARMMAtom self, std::string a0)"""
11263  return _IMP_atom.CHARMMAtom_set_name(self, a0)
11264 
11265 
11266  def set_check_level(self, a0):
11267  """set_check_level(CHARMMAtom self, IMP::CheckLevel a0)"""
11268  return _IMP_atom.CHARMMAtom_set_check_level(self, a0)
11269 
11270 
11271  def add_to_derivative(self, a0, a1, a2):
11272  """add_to_derivative(CHARMMAtom self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
11273  return _IMP_atom.CHARMMAtom_add_to_derivative(self, a0, a1, a2)
11274 
11275 
11276  def set_is_optimized(self, a0, a1):
11277  """set_is_optimized(CHARMMAtom self, FloatKey a0, bool a1)"""
11278  return _IMP_atom.CHARMMAtom_set_is_optimized(self, a0, a1)
11279 
11280 
11281  def get_is_optimized(self, a0):
11282  """get_is_optimized(CHARMMAtom self, FloatKey a0) -> bool"""
11283  return _IMP_atom.CHARMMAtom_get_is_optimized(self, a0)
11284 
11285 
11286  def get_check_level(self):
11287  """get_check_level(CHARMMAtom self) -> IMP::CheckLevel"""
11288  return _IMP_atom.CHARMMAtom_get_check_level(self)
11289 
11290 
11291  def __eq__(self, *args):
11292  """
11293  __eq__(CHARMMAtom self, CHARMMAtom o) -> bool
11294  __eq__(CHARMMAtom self, Particle d) -> bool
11295  """
11296  return _IMP_atom.CHARMMAtom___eq__(self, *args)
11297 
11298 
11299  def __ne__(self, *args):
11300  """
11301  __ne__(CHARMMAtom self, CHARMMAtom o) -> bool
11302  __ne__(CHARMMAtom self, Particle d) -> bool
11303  """
11304  return _IMP_atom.CHARMMAtom___ne__(self, *args)
11305 
11306 
11307  def __le__(self, *args):
11308  """
11309  __le__(CHARMMAtom self, CHARMMAtom o) -> bool
11310  __le__(CHARMMAtom self, Particle d) -> bool
11311  """
11312  return _IMP_atom.CHARMMAtom___le__(self, *args)
11313 
11314 
11315  def __lt__(self, *args):
11316  """
11317  __lt__(CHARMMAtom self, CHARMMAtom o) -> bool
11318  __lt__(CHARMMAtom self, Particle d) -> bool
11319  """
11320  return _IMP_atom.CHARMMAtom___lt__(self, *args)
11321 
11322 
11323  def __ge__(self, *args):
11324  """
11325  __ge__(CHARMMAtom self, CHARMMAtom o) -> bool
11326  __ge__(CHARMMAtom self, Particle d) -> bool
11327  """
11328  return _IMP_atom.CHARMMAtom___ge__(self, *args)
11329 
11330 
11331  def __gt__(self, *args):
11332  """
11333  __gt__(CHARMMAtom self, CHARMMAtom o) -> bool
11334  __gt__(CHARMMAtom self, Particle d) -> bool
11335  """
11336  return _IMP_atom.CHARMMAtom___gt__(self, *args)
11337 
11338 
11339  def __hash__(self):
11340  """__hash__(CHARMMAtom self) -> std::size_t"""
11341  return _IMP_atom.CHARMMAtom___hash__(self)
11342 
11343 
11344  def __str__(self):
11345  """__str__(CHARMMAtom self) -> std::string"""
11346  return _IMP_atom.CHARMMAtom___str__(self)
11347 
11348 
11349  def __repr__(self):
11350  """__repr__(CHARMMAtom self) -> std::string"""
11351  return _IMP_atom.CHARMMAtom___repr__(self)
11352 
11353  __swig_destroy__ = _IMP_atom.delete_CHARMMAtom
11354  __del__ = lambda self: None
11355 CHARMMAtom_swigregister = _IMP_atom.CHARMMAtom_swigregister
11356 CHARMMAtom_swigregister(CHARMMAtom)
11357 
11358 def CHARMMAtom_setup_particle(*args):
11359  """
11360  setup_particle(Model m, ParticleIndex pi, IMP::String charmm_type) -> CHARMMAtom
11361  CHARMMAtom_setup_particle(_ParticleAdaptor decorator, IMP::String charmm_type) -> CHARMMAtom
11362  """
11363  return _IMP_atom.CHARMMAtom_setup_particle(*args)
11364 
11365 def CHARMMAtom_get_is_setup(*args):
11366  """
11367  get_is_setup(_ParticleAdaptor p) -> bool
11368  CHARMMAtom_get_is_setup(Model m, ParticleIndex pi) -> bool
11369  """
11370  return _IMP_atom.CHARMMAtom_get_is_setup(*args)
11371 
11372 def CHARMMAtom_get_charmm_type_key():
11373  """CHARMMAtom_get_charmm_type_key() -> StringKey"""
11374  return _IMP_atom.CHARMMAtom_get_charmm_type_key()
11375 
11376 
11377 def get_charmm_untyped_atoms(hierarchy):
11378  """get_charmm_untyped_atoms(Hierarchy hierarchy) -> IMP::atom::Atoms"""
11379  return _IMP_atom.get_charmm_untyped_atoms(hierarchy)
11380 
11381 def remove_charmm_untyped_atoms(hierarchy):
11382  """remove_charmm_untyped_atoms(Hierarchy hierarchy)"""
11383  return _IMP_atom.remove_charmm_untyped_atoms(hierarchy)
11384 class CHARMMBondParameters(object):
11385  """Proxy of C++ IMP::atom::CHARMMBondParameters class."""
11386 
11387  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11388  force_constant = _swig_property(_IMP_atom.CHARMMBondParameters_force_constant_get, _IMP_atom.CHARMMBondParameters_force_constant_set)
11389  ideal = _swig_property(_IMP_atom.CHARMMBondParameters_ideal_get, _IMP_atom.CHARMMBondParameters_ideal_set)
11390 
11391  def __init__(self):
11392  """__init__(IMP::atom::CHARMMBondParameters self) -> CHARMMBondParameters"""
11393  this = _IMP_atom.new_CHARMMBondParameters()
11394  try:
11395  self.this.append(this)
11396  except __builtin__.Exception:
11397  self.this = this
11398 
11399  def show(self, *args):
11400  """
11401  show(CHARMMBondParameters self, _ostream out)
11402  show(CHARMMBondParameters self)
11403  """
11404  return _IMP_atom.CHARMMBondParameters_show(self, *args)
11405 
11406 
11407  def __str__(self):
11408  """__str__(CHARMMBondParameters self) -> std::string"""
11409  return _IMP_atom.CHARMMBondParameters___str__(self)
11410 
11411 
11412  def __repr__(self):
11413  """__repr__(CHARMMBondParameters self) -> std::string"""
11414  return _IMP_atom.CHARMMBondParameters___repr__(self)
11415 
11416  __swig_destroy__ = _IMP_atom.delete_CHARMMBondParameters
11417  __del__ = lambda self: None
11418 CHARMMBondParameters_swigregister = _IMP_atom.CHARMMBondParameters_swigregister
11419 CHARMMBondParameters_swigregister(CHARMMBondParameters)
11420 
11421 class CHARMMDihedralParameters(object):
11422  """Proxy of C++ IMP::atom::CHARMMDihedralParameters class."""
11423 
11424  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11425  force_constant = _swig_property(_IMP_atom.CHARMMDihedralParameters_force_constant_get, _IMP_atom.CHARMMDihedralParameters_force_constant_set)
11426  multiplicity = _swig_property(_IMP_atom.CHARMMDihedralParameters_multiplicity_get, _IMP_atom.CHARMMDihedralParameters_multiplicity_set)
11427  ideal = _swig_property(_IMP_atom.CHARMMDihedralParameters_ideal_get, _IMP_atom.CHARMMDihedralParameters_ideal_set)
11428 
11429  def __init__(self):
11430  """__init__(IMP::atom::CHARMMDihedralParameters self) -> CHARMMDihedralParameters"""
11431  this = _IMP_atom.new_CHARMMDihedralParameters()
11432  try:
11433  self.this.append(this)
11434  except __builtin__.Exception:
11435  self.this = this
11436 
11437  def show(self, *args):
11438  """
11439  show(CHARMMDihedralParameters self, _ostream out)
11440  show(CHARMMDihedralParameters self)
11441  """
11442  return _IMP_atom.CHARMMDihedralParameters_show(self, *args)
11443 
11444 
11445  def __str__(self):
11446  """__str__(CHARMMDihedralParameters self) -> std::string"""
11447  return _IMP_atom.CHARMMDihedralParameters___str__(self)
11448 
11449 
11450  def __repr__(self):
11451  """__repr__(CHARMMDihedralParameters self) -> std::string"""
11452  return _IMP_atom.CHARMMDihedralParameters___repr__(self)
11453 
11454  __swig_destroy__ = _IMP_atom.delete_CHARMMDihedralParameters
11455  __del__ = lambda self: None
11456 CHARMMDihedralParameters_swigregister = _IMP_atom.CHARMMDihedralParameters_swigregister
11457 CHARMMDihedralParameters_swigregister(CHARMMDihedralParameters)
11458 
11459 class CHARMMParameters(ForceFieldParameters):
11460  """Proxy of C++ IMP::atom::CHARMMParameters class."""
11461 
11462  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11463 
11464  def __init__(self, *args):
11465  """
11466  __init__(IMP::atom::CHARMMParameters self, TextInput topology_file_name, TextInput par_file_name, bool translate_names_to_pdb=False) -> CHARMMParameters
11467  __init__(IMP::atom::CHARMMParameters self, TextInput topology_file_name, TextInput par_file_name) -> CHARMMParameters
11468  __init__(IMP::atom::CHARMMParameters self, TextInput topology_file_name) -> CHARMMParameters
11469  """
11470  this = _IMP_atom.new_CHARMMParameters(*args)
11471  try:
11472  self.this.append(this)
11473  except __builtin__.Exception:
11474  self.this = this
11475 
11476  def add_residue_topology(self, res):
11477  """add_residue_topology(CHARMMParameters self, CHARMMIdealResidueTopology res)"""
11478  return _IMP_atom.CHARMMParameters_add_residue_topology(self, res)
11479 
11480 
11481  def get_residue_topology(self, type):
11482  """get_residue_topology(CHARMMParameters self, ResidueType type) -> CHARMMIdealResidueTopology"""
11483  return _IMP_atom.CHARMMParameters_get_residue_topology(self, type)
11484 
11485 
11486  def add_patch(self, patch):
11487  """add_patch(CHARMMParameters self, CHARMMPatch patch)"""
11488  return _IMP_atom.CHARMMParameters_add_patch(self, patch)
11489 
11490 
11491  def get_patch(self, name):
11492  """get_patch(CHARMMParameters self, std::string name) -> CHARMMPatch"""
11493  return _IMP_atom.CHARMMParameters_get_patch(self, name)
11494 
11495 
11496  def create_topology(self, hierarchy):
11497  """create_topology(CHARMMParameters self, Hierarchy hierarchy) -> CHARMMTopology"""
11498  return _IMP_atom.CHARMMParameters_create_topology(self, hierarchy)
11499 
11500 
11501  def get_bond_parameters(self, type1, type2):
11502  """get_bond_parameters(CHARMMParameters self, std::string type1, std::string type2) -> CHARMMBondParameters"""
11503  return _IMP_atom.CHARMMParameters_get_bond_parameters(self, type1, type2)
11504 
11505 
11506  def get_angle_parameters(self, type1, type2, type3):
11507  """get_angle_parameters(CHARMMParameters self, std::string type1, std::string type2, std::string type3) -> CHARMMBondParameters"""
11508  return _IMP_atom.CHARMMParameters_get_angle_parameters(self, type1, type2, type3)
11509 
11510 
11511  def get_dihedral_parameters(self, type1, type2, type3, type4):
11512  """get_dihedral_parameters(CHARMMParameters self, std::string type1, std::string type2, std::string type3, std::string type4) -> IMP::atom::CHARMMDihedralParametersList"""
11513  return _IMP_atom.CHARMMParameters_get_dihedral_parameters(self, type1, type2, type3, type4)
11514 
11515 
11516  def get_improper_parameters(self, type1, type2, type3, type4):
11517  """get_improper_parameters(CHARMMParameters self, std::string type1, std::string type2, std::string type3, std::string type4) -> CHARMMDihedralParameters"""
11518  return _IMP_atom.CHARMMParameters_get_improper_parameters(self, type1, type2, type3, type4)
11519 
11520 
11521  def create_angles(self, bonds):
11522  """create_angles(CHARMMParameters self, IMP::Particles bonds) -> IMP::Particles"""
11523  return _IMP_atom.CHARMMParameters_create_angles(self, bonds)
11524 
11525 
11526  def create_dihedrals(self, bonds):
11527  """create_dihedrals(CHARMMParameters self, IMP::Particles bonds) -> IMP::Particles"""
11528  return _IMP_atom.CHARMMParameters_create_dihedrals(self, bonds)
11529 
11530 
11531  def get_version_info(self):
11532  """get_version_info(CHARMMParameters self) -> VersionInfo"""
11533  return _IMP_atom.CHARMMParameters_get_version_info(self)
11534 
11535 
11536  def __str__(self):
11537  """__str__(CHARMMParameters self) -> std::string"""
11538  return _IMP_atom.CHARMMParameters___str__(self)
11539 
11540 
11541  def __repr__(self):
11542  """__repr__(CHARMMParameters self) -> std::string"""
11543  return _IMP_atom.CHARMMParameters___repr__(self)
11544 
11545 
11546  @staticmethod
11547  def get_from(o):
11548  return _object_cast_to_CHARMMParameters(o)
11549 
11550 CHARMMParameters_swigregister = _IMP_atom.CHARMMParameters_swigregister
11551 CHARMMParameters_swigregister(CHARMMParameters)
11552 
11553 
11555  """get_heavy_atom_CHARMM_parameters() -> CHARMMParameters"""
11556  return _IMP_atom.get_heavy_atom_CHARMM_parameters()
11557 
11559  """get_all_atom_CHARMM_parameters() -> CHARMMParameters"""
11560  return _IMP_atom.get_all_atom_CHARMM_parameters()
11561 class CHARMMSegmentTopology(IMP.Object):
11562  """Proxy of C++ IMP::atom::CHARMMSegmentTopology class."""
11563 
11564  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11565 
11566  def remove_residue(self, d):
11567  """remove_residue(CHARMMSegmentTopology self, CHARMMResidueTopology d)"""
11568  return _IMP_atom.CHARMMSegmentTopology_remove_residue(self, d)
11569 
11570 
11571  def remove_residues(self, d):
11572  """remove_residues(CHARMMSegmentTopology self, IMP::atom::CHARMMResidueTopologies const & d)"""
11573  return _IMP_atom.CHARMMSegmentTopology_remove_residues(self, d)
11574 
11575 
11576  def set_residues(self, ps):
11577  """set_residues(CHARMMSegmentTopology self, IMP::atom::CHARMMResidueTopologies const & ps)"""
11578  return _IMP_atom.CHARMMSegmentTopology_set_residues(self, ps)
11579 
11580 
11581  def set_residues_order(self, objs):
11582  """set_residues_order(CHARMMSegmentTopology self, IMP::atom::CHARMMResidueTopologies const & objs)"""
11583  return _IMP_atom.CHARMMSegmentTopology_set_residues_order(self, objs)
11584 
11585 
11586  def add_residue(self, obj):
11587  """add_residue(CHARMMSegmentTopology self, CHARMMResidueTopology obj) -> unsigned int"""
11588  return _IMP_atom.CHARMMSegmentTopology_add_residue(self, obj)
11589 
11590 
11591  def add_residues(self, objs):
11592  """add_residues(CHARMMSegmentTopology self, IMP::atom::CHARMMResidueTopologies const & objs)"""
11593  return _IMP_atom.CHARMMSegmentTopology_add_residues(self, objs)
11594 
11595 
11596  def clear_residues(self):
11597  """clear_residues(CHARMMSegmentTopology self)"""
11598  return _IMP_atom.CHARMMSegmentTopology_clear_residues(self)
11599 
11600 
11601  def get_number_of_residues(self):
11602  """get_number_of_residues(CHARMMSegmentTopology self) -> unsigned int"""
11603  return _IMP_atom.CHARMMSegmentTopology_get_number_of_residues(self)
11604 
11605 
11606  def get_has_residues(self):
11607  """get_has_residues(CHARMMSegmentTopology self) -> bool"""
11608  return _IMP_atom.CHARMMSegmentTopology_get_has_residues(self)
11609 
11610 
11611  def get_residue(self, i):
11612  """get_residue(CHARMMSegmentTopology self, unsigned int i) -> CHARMMResidueTopology"""
11613  return _IMP_atom.CHARMMSegmentTopology_get_residue(self, i)
11614 
11615 
11616  def get_residues(self):
11617  """get_residues(CHARMMSegmentTopology self) -> IMP::atom::CHARMMResidueTopologies"""
11618  return _IMP_atom.CHARMMSegmentTopology_get_residues(self)
11619 
11620 
11621  def reserve_residues(self, sz):
11622  """reserve_residues(CHARMMSegmentTopology self, unsigned int sz)"""
11623  return _IMP_atom.CHARMMSegmentTopology_reserve_residues(self, sz)
11624 
11625 
11626  def get_version_info(self):
11627  """get_version_info(CHARMMSegmentTopology self) -> VersionInfo"""
11628  return _IMP_atom.CHARMMSegmentTopology_get_version_info(self)
11629 
11630 
11631  def __init__(self, *args):
11632  """
11633  __init__(IMP::atom::CHARMMSegmentTopology self, std::string name) -> CHARMMSegmentTopology
11634  __init__(IMP::atom::CHARMMSegmentTopology self) -> CHARMMSegmentTopology
11635  """
11636  this = _IMP_atom.new_CHARMMSegmentTopology(*args)
11637  try:
11638  self.this.append(this)
11639  except __builtin__.Exception:
11640  self.this = this
11641 
11642  def apply_default_patches(self, ff):
11643  """apply_default_patches(CHARMMSegmentTopology self, CHARMMParameters ff)"""
11644  return _IMP_atom.CHARMMSegmentTopology_apply_default_patches(self, ff)
11645 
11646 
11647  def __str__(self):
11648  """__str__(CHARMMSegmentTopology self) -> std::string"""
11649  return _IMP_atom.CHARMMSegmentTopology___str__(self)
11650 
11651 
11652  def __repr__(self):
11653  """__repr__(CHARMMSegmentTopology self) -> std::string"""
11654  return _IMP_atom.CHARMMSegmentTopology___repr__(self)
11655 
11656 
11657  @staticmethod
11658  def get_from(o):
11659  return _object_cast_to_CHARMMSegmentTopology(o)
11660 
11661 CHARMMSegmentTopology_swigregister = _IMP_atom.CHARMMSegmentTopology_swigregister
11662 CHARMMSegmentTopology_swigregister(CHARMMSegmentTopology)
11663 
11664 class CHARMMTopology(IMP.Object):
11665  """Proxy of C++ IMP::atom::CHARMMTopology class."""
11666 
11667  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11668 
11669  def __init__(self, *args):
11670  """
11671  __init__(IMP::atom::CHARMMTopology self, CHARMMParameters force_field, std::string name) -> CHARMMTopology
11672  __init__(IMP::atom::CHARMMTopology self, CHARMMParameters force_field) -> CHARMMTopology
11673  """
11674  this = _IMP_atom.new_CHARMMTopology(*args)
11675  try:
11676  self.this.append(this)
11677  except __builtin__.Exception:
11678  self.this = this
11679 
11680  def get_parameters(self):
11681  """get_parameters(CHARMMTopology self) -> CHARMMParameters"""
11682  return _IMP_atom.CHARMMTopology_get_parameters(self)
11683 
11684 
11685  def add_sequence(self, sequence):
11686  """add_sequence(CHARMMTopology self, std::string sequence)"""
11687  return _IMP_atom.CHARMMTopology_add_sequence(self, sequence)
11688 
11689 
11690  def apply_default_patches(self):
11691  """apply_default_patches(CHARMMTopology self)"""
11692  return _IMP_atom.CHARMMTopology_apply_default_patches(self)
11693 
11694 
11695  def create_hierarchy(self, model):
11696  """create_hierarchy(CHARMMTopology self, Model model) -> Hierarchy"""
11697  return _IMP_atom.CHARMMTopology_create_hierarchy(self, model)
11698 
11699 
11700  def add_atom_types(self, hierarchy):
11701  """add_atom_types(CHARMMTopology self, Hierarchy hierarchy)"""
11702  return _IMP_atom.CHARMMTopology_add_atom_types(self, hierarchy)
11703 
11704 
11705  def add_coordinates(self, hierarchy):
11706  """add_coordinates(CHARMMTopology self, Hierarchy hierarchy)"""
11707  return _IMP_atom.CHARMMTopology_add_coordinates(self, hierarchy)
11708 
11709 
11710  def add_missing_atoms(self, hierarchy):
11711  """add_missing_atoms(CHARMMTopology self, Hierarchy hierarchy)"""
11712  return _IMP_atom.CHARMMTopology_add_missing_atoms(self, hierarchy)
11713 
11714 
11715  def setup_hierarchy(self, hierarchy):
11716  """setup_hierarchy(CHARMMTopology self, Hierarchy hierarchy)"""
11717  return _IMP_atom.CHARMMTopology_setup_hierarchy(self, hierarchy)
11718 
11719 
11720  def add_charges(self, hierarchy):
11721  """add_charges(CHARMMTopology self, Hierarchy hierarchy)"""
11722  return _IMP_atom.CHARMMTopology_add_charges(self, hierarchy)
11723 
11724 
11725  def add_bonds(self, hierarchy):
11726  """add_bonds(CHARMMTopology self, Hierarchy hierarchy) -> IMP::Particles"""
11727  return _IMP_atom.CHARMMTopology_add_bonds(self, hierarchy)
11728 
11729 
11730  def add_dihedrals(self, hierarchy):
11731  """add_dihedrals(CHARMMTopology self, Hierarchy hierarchy) -> IMP::Particles"""
11732  return _IMP_atom.CHARMMTopology_add_dihedrals(self, hierarchy)
11733 
11734 
11735  def add_impropers(self, hierarchy):
11736  """add_impropers(CHARMMTopology self, Hierarchy hierarchy) -> IMP::Particles"""
11737  return _IMP_atom.CHARMMTopology_add_impropers(self, hierarchy)
11738 
11739 
11740  def remove_segment(self, d):
11741  """remove_segment(CHARMMTopology self, CHARMMSegmentTopology d)"""
11742  return _IMP_atom.CHARMMTopology_remove_segment(self, d)
11743 
11744 
11745  def remove_segments(self, d):
11746  """remove_segments(CHARMMTopology self, IMP::atom::CHARMMSegmentTopologies const & d)"""
11747  return _IMP_atom.CHARMMTopology_remove_segments(self, d)
11748 
11749 
11750  def set_segments(self, ps):
11751  """set_segments(CHARMMTopology self, IMP::atom::CHARMMSegmentTopologies const & ps)"""
11752  return _IMP_atom.CHARMMTopology_set_segments(self, ps)
11753 
11754 
11755  def set_segments_order(self, objs):
11756  """set_segments_order(CHARMMTopology self, IMP::atom::CHARMMSegmentTopologies const & objs)"""
11757  return _IMP_atom.CHARMMTopology_set_segments_order(self, objs)
11758 
11759 
11760  def add_segment(self, obj):
11761  """add_segment(CHARMMTopology self, CHARMMSegmentTopology obj) -> unsigned int"""
11762  return _IMP_atom.CHARMMTopology_add_segment(self, obj)
11763 
11764 
11765  def add_segments(self, objs):
11766  """add_segments(CHARMMTopology self, IMP::atom::CHARMMSegmentTopologies const & objs)"""
11767  return _IMP_atom.CHARMMTopology_add_segments(self, objs)
11768 
11769 
11770  def clear_segments(self):
11771  """clear_segments(CHARMMTopology self)"""
11772  return _IMP_atom.CHARMMTopology_clear_segments(self)
11773 
11774 
11775  def get_number_of_segments(self):
11776  """get_number_of_segments(CHARMMTopology self) -> unsigned int"""
11777  return _IMP_atom.CHARMMTopology_get_number_of_segments(self)
11778 
11779 
11780  def get_has_segments(self):
11781  """get_has_segments(CHARMMTopology self) -> bool"""
11782  return _IMP_atom.CHARMMTopology_get_has_segments(self)
11783 
11784 
11785  def get_segment(self, i):
11786  """get_segment(CHARMMTopology self, unsigned int i) -> CHARMMSegmentTopology"""
11787  return _IMP_atom.CHARMMTopology_get_segment(self, i)
11788 
11789 
11790  def get_segments(self):
11791  """get_segments(CHARMMTopology self) -> IMP::atom::CHARMMSegmentTopologies"""
11792  return _IMP_atom.CHARMMTopology_get_segments(self)
11793 
11794 
11795  def reserve_segments(self, sz):
11796  """reserve_segments(CHARMMTopology self, unsigned int sz)"""
11797  return _IMP_atom.CHARMMTopology_reserve_segments(self, sz)
11798 
11799 
11800  def get_version_info(self):
11801  """get_version_info(CHARMMTopology self) -> VersionInfo"""
11802  return _IMP_atom.CHARMMTopology_get_version_info(self)
11803 
11804 
11805  def __str__(self):
11806  """__str__(CHARMMTopology self) -> std::string"""
11807  return _IMP_atom.CHARMMTopology___str__(self)
11808 
11809 
11810  def __repr__(self):
11811  """__repr__(CHARMMTopology self) -> std::string"""
11812  return _IMP_atom.CHARMMTopology___repr__(self)
11813 
11814 
11815  @staticmethod
11816  def get_from(o):
11817  return _object_cast_to_CHARMMTopology(o)
11818 
11819 CHARMMTopology_swigregister = _IMP_atom.CHARMMTopology_swigregister
11820 CHARMMTopology_swigregister(CHARMMTopology)
11821 
11822 class CHARMMStereochemistryRestraint(IMP.Restraint):
11823  """Proxy of C++ IMP::atom::CHARMMStereochemistryRestraint class."""
11824 
11825  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11826 
11827  def __init__(self, *args):
11828  """
11829  __init__(IMP::atom::CHARMMStereochemistryRestraint self, Hierarchy h, CHARMMTopology topology) -> CHARMMStereochemistryRestraint
11830  __init__(IMP::atom::CHARMMStereochemistryRestraint self, Hierarchy h, CHARMMTopology topology, IMP::ParticlesTemp limit_to_these_particles) -> CHARMMStereochemistryRestraint
11831  """
11832  this = _IMP_atom.new_CHARMMStereochemistryRestraint(*args)
11833  try:
11834  self.this.append(this)
11835  except __builtin__.Exception:
11836  self.this = this
11837 
11838  def get_pair_filter(self):
11839  """get_pair_filter(CHARMMStereochemistryRestraint self) -> StereochemistryPairFilter"""
11840  return _IMP_atom.CHARMMStereochemistryRestraint_get_pair_filter(self)
11841 
11842 
11843  def get_full_pair_filter(self):
11844  """get_full_pair_filter(CHARMMStereochemistryRestraint self) -> StereochemistryPairFilter"""
11845  return _IMP_atom.CHARMMStereochemistryRestraint_get_full_pair_filter(self)
11846 
11847 
11848  def do_get_inputs(self):
11849  """do_get_inputs(CHARMMStereochemistryRestraint self) -> IMP::ModelObjectsTemp"""
11850  return _IMP_atom.CHARMMStereochemistryRestraint_do_get_inputs(self)
11851 
11852 
11853  def get_version_info(self):
11854  """get_version_info(CHARMMStereochemistryRestraint self) -> VersionInfo"""
11855  return _IMP_atom.CHARMMStereochemistryRestraint_get_version_info(self)
11856 
11857 
11858  def __str__(self):
11859  """__str__(CHARMMStereochemistryRestraint self) -> std::string"""
11860  return _IMP_atom.CHARMMStereochemistryRestraint___str__(self)
11861 
11862 
11863  def __repr__(self):
11864  """__repr__(CHARMMStereochemistryRestraint self) -> std::string"""
11865  return _IMP_atom.CHARMMStereochemistryRestraint___repr__(self)
11866 
11867 
11868  @staticmethod
11869  def get_from(o):
11870  return _object_cast_to_CHARMMStereochemistryRestraint(o)
11871 
11872 CHARMMStereochemistryRestraint_swigregister = _IMP_atom.CHARMMStereochemistryRestraint_swigregister
11873 CHARMMStereochemistryRestraint_swigregister(CHARMMStereochemistryRestraint)
11874 
11875 
11876 def add_bonds(*args):
11877  """
11878  add_bonds(Hierarchy d, ForceFieldParameters ffp)
11879  add_bonds(Hierarchy d)
11880  """
11881  return _IMP_atom.add_bonds(*args)
11882 
11883 def add_radii(*args):
11884  """
11885  add_radii(Hierarchy d, ForceFieldParameters ffp, FloatKey radius_key)
11886  add_radii(Hierarchy d, ForceFieldParameters ffp)
11887  add_radii(Hierarchy d)
11888  """
11889  return _IMP_atom.add_radii(*args)
11890 ALBER = _IMP_atom.ALBER
11891 HARPAZ = _IMP_atom.HARPAZ
11892 ANDERSSON = _IMP_atom.ANDERSSON
11893 TSAI = _IMP_atom.TSAI
11894 QUILLIN = _IMP_atom.QUILLIN
11895 SQUIRE = _IMP_atom.SQUIRE
11896 
11897 def get_protein_density_from_reference(densityReference):
11898  """get_protein_density_from_reference(IMP::atom::ProteinDensityReference densityReference) -> double"""
11899  return _IMP_atom.get_protein_density_from_reference(densityReference)
11900 
11901 def get_volume_from_mass(*args):
11902  """
11903  get_volume_from_mass(double m, IMP::atom::ProteinDensityReference ref) -> double
11904  get_volume_from_mass(double m) -> double
11905  """
11906  return _IMP_atom.get_volume_from_mass(*args)
11907 
11908 def get_mass_from_volume(*args):
11909  """
11910  get_mass_from_volume(double v, IMP::atom::ProteinDensityReference ref) -> double
11911  get_mass_from_volume(double v) -> double
11912  """
11913  return _IMP_atom.get_mass_from_volume(*args)
11914 
11916  """get_mass_from_number_of_residues(unsigned int num_aa) -> double"""
11917  return _IMP_atom.get_mass_from_number_of_residues(num_aa)
11918 
11920  """get_volume_from_residue_type(ResidueType rt) -> double"""
11921  return _IMP_atom.get_volume_from_residue_type(rt)
11922 
11923 def get_molarity(n, volume):
11924  """get_molarity(double n, double volume) -> double"""
11925  return _IMP_atom.get_molarity(n, volume)
11926 
11927 def get_kd(na, nb, nab, volume):
11928  """get_kd(double na, double nb, double nab, double volume) -> double"""
11929  return _IMP_atom.get_kd(na, nb, nab, volume)
11930 
11931 def get_einstein_diffusion_coefficient(r, temp=-1):
11932  """
11933  get_einstein_diffusion_coefficient(double r, double temp=-1) -> double
11934  get_einstein_diffusion_coefficient(double r) -> double
11935  """
11936  return _IMP_atom.get_einstein_diffusion_coefficient(r, temp)
11937 
11939  """
11940  get_einstein_rotational_diffusion_coefficient(double r, double temp=-1) -> double
11941  get_einstein_rotational_diffusion_coefficient(double r) -> double
11942  """
11943  return _IMP_atom.get_einstein_rotational_diffusion_coefficient(r, temp)
11944 
11945 def get_diffusion_length(*args):
11946  """
11947  get_diffusion_length(double D, double t) -> double
11948  get_diffusion_length(double D, double force, double t, double temp=-1) -> double
11949  get_diffusion_length(double D, double force, double t) -> double
11950  """
11951  return _IMP_atom.get_diffusion_length(*args)
11952 
11953 def get_diffusion_angle(D, dtfs):
11954  """get_diffusion_angle(double D, double dtfs) -> double"""
11955  return _IMP_atom.get_diffusion_angle(D, dtfs)
11956 
11957 def get_diffusion_coefficient(*args):
11958  """
11959  get_diffusion_coefficient(IMP::algebra::Vector3Ds const & displacements, double dt) -> double
11960  get_diffusion_coefficient(IMP::algebra::Vector3Ds const & displacements, IMP::Floats const & dts) -> double
11961  """
11962  return _IMP_atom.get_diffusion_coefficient(*args)
11963 
11964 def get_rotational_diffusion_coefficient(orientations, dt):
11965  """get_rotational_diffusion_coefficient(IMP::algebra::Rotation3Ds const & orientations, double dt) -> double"""
11966  return _IMP_atom.get_rotational_diffusion_coefficient(orientations, dt)
11967 
11968 def get_energy_in_femto_joules(energy_in_kcal_per_mol):
11969  """get_energy_in_femto_joules(double energy_in_kcal_per_mol) -> double"""
11970  return _IMP_atom.get_energy_in_femto_joules(energy_in_kcal_per_mol)
11971 
11972 def get_force_in_femto_newtons(force_in_kcal_per_mol_per_angstrom):
11973  """get_force_in_femto_newtons(double force_in_kcal_per_mol_per_angstrom) -> double"""
11974  return _IMP_atom.get_force_in_femto_newtons(force_in_kcal_per_mol_per_angstrom)
11975 
11976 def get_spring_constant_in_femto_newtons_per_angstrom(k_in_kcal_per_mol_per_angstrom_square):
11977  """get_spring_constant_in_femto_newtons_per_angstrom(double k_in_kcal_per_mol_per_angstrom_square) -> double"""
11978  return _IMP_atom.get_spring_constant_in_femto_newtons_per_angstrom(k_in_kcal_per_mol_per_angstrom_square)
11979 class EzRestraint(IMP.Restraint):
11980  """Proxy of C++ IMP::atom::EzRestraint class."""
11981 
11982  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11983 
11984  def __init__(self, m, ps):
11985  """__init__(IMP::atom::EzRestraint self, Model m, _ParticleIndexesAdaptor ps) -> EzRestraint"""
11986  this = _IMP_atom.new_EzRestraint(m, ps)
11987  try:
11988  self.this.append(this)
11989  except __builtin__.Exception:
11990  self.this = this
11991 
11992  def get_version_info(self):
11993  """get_version_info(EzRestraint self) -> VersionInfo"""
11994  return _IMP_atom.EzRestraint_get_version_info(self)
11995 
11996 
11997  def __str__(self):
11998  """__str__(EzRestraint self) -> std::string"""
11999  return _IMP_atom.EzRestraint___str__(self)
12000 
12001 
12002  def __repr__(self):
12003  """__repr__(EzRestraint self) -> std::string"""
12004  return _IMP_atom.EzRestraint___repr__(self)
12005 
12006 
12007  @staticmethod
12008  def get_from(o):
12009  return _object_cast_to_EzRestraint(o)
12010 
12011 EzRestraint_swigregister = _IMP_atom.EzRestraint_swigregister
12012 EzRestraint_swigregister(EzRestraint)
12013 
12014 
12015 def create_protein(*args):
12016  """
12017  create_protein(Model m, std::string name, double target_radius, int number_of_residues, int first_residue_index=0, double volume=-1, bool ismol=True) -> Hierarchy
12018  create_protein(Model m, std::string name, double target_radius, int number_of_residues, int first_residue_index=0, double volume=-1) -> Hierarchy
12019  create_protein(Model m, std::string name, double target_radius, int number_of_residues, int first_residue_index=0) -> Hierarchy
12020  create_protein(Model m, std::string name, double target_radius, int number_of_residues) -> Hierarchy
12021  create_protein(Model m, std::string name, double target_radius, IMP::Ints const domain_boundaries) -> Hierarchy
12022  """
12023  return _IMP_atom.create_protein(*args)
12024 
12026  """
12027  create_simplified_along_backbone(Hierarchy input, int num_res, bool keep_detailed=False) -> Hierarchy
12028  create_simplified_along_backbone(Hierarchy input, int num_res) -> Hierarchy
12029  create_simplified_along_backbone(Chain input, IMP::IntRanges const & residue_segments, bool keep_detailed=False) -> Hierarchy
12030  create_simplified_along_backbone(Chain input, IMP::IntRanges const & residue_segments) -> Hierarchy
12031  """
12032  return _IMP_atom.create_simplified_along_backbone(*args)
12033 
12034 def create_simplified_from_volume(h, resolution):
12035  """create_simplified_from_volume(Hierarchy h, double resolution) -> Hierarchy"""
12036  return _IMP_atom.create_simplified_from_volume(h, resolution)
12037 
12038 def create_simplified_assembly_from_volume(h, resolution):
12039  """create_simplified_assembly_from_volume(Hierarchy h, double resolution) -> Hierarchy"""
12040  return _IMP_atom.create_simplified_assembly_from_volume(h, resolution)
12041 
12042 def get_residue_indexes(h):
12043  """get_residue_indexes(Hierarchy h) -> IMP::Ints"""
12044  return _IMP_atom.get_residue_indexes(h)
12045 
12046 def get_residue_type(*args):
12047  """
12048  get_residue_type(char c) -> ResidueType
12049  get_residue_type(Hierarchy h) -> ResidueType
12050  """
12051  return _IMP_atom.get_residue_type(*args)
12052 
12053 def get_atom_type(h):
12054  """get_atom_type(Hierarchy h) -> AtomType"""
12055  return _IMP_atom.get_atom_type(h)
12056 
12057 def get_domain_name(h):
12058  """get_domain_name(Hierarchy h) -> std::string"""
12059  return _IMP_atom.get_domain_name(h)
12060 
12062  """
12063  create_excluded_volume_restraint(IMP::atom::Selections const & s) -> Restraint
12064  create_excluded_volume_restraint(IMP::atom::Hierarchies const & hs, double resolution=-1) -> Restraint
12065  create_excluded_volume_restraint(IMP::atom::Hierarchies const & hs) -> Restraint
12066  """
12067  return _IMP_atom.create_excluded_volume_restraint(*args)
12068 
12069 def setup_as_approximation(*args):
12070  """
12071  setup_as_approximation(Particle h, IMP::ParticlesTemp const & other, double resolution=-1)
12072  setup_as_approximation(Particle h, IMP::ParticlesTemp const & other)
12073  setup_as_approximation(Hierarchy h, double resolution=-1)
12074  setup_as_approximation(Hierarchy h)
12075  """
12076  return _IMP_atom.setup_as_approximation(*args)
12077 class _HierarchyTreeVertexIndex(object):
12078  """Proxy of C++ IMP::atom::HierarchyTreeVertexIndex class."""
12079 
12080  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12081  __repr__ = _swig_repr
12082 
12083  def __init__(self):
12084  """__init__(IMP::atom::HierarchyTreeVertexIndex self) -> _HierarchyTreeVertexIndex"""
12085  this = _IMP_atom.new__HierarchyTreeVertexIndex()
12086  try:
12087  self.this.append(this)
12088  except __builtin__.Exception:
12089  self.this = this
12090  __swig_destroy__ = _IMP_atom.delete__HierarchyTreeVertexIndex
12091  __del__ = lambda self: None
12092 _HierarchyTreeVertexIndex_swigregister = _IMP_atom._HierarchyTreeVertexIndex_swigregister
12093 _HierarchyTreeVertexIndex_swigregister(_HierarchyTreeVertexIndex)
12094 
12095 
12096 def show_as_graphviz(name, out):
12097  """show_as_graphviz(IMP::atom::HierarchyTree const & name, TextOutput out)"""
12098  return _IMP_atom.show_as_graphviz(name, out)
12099 
12100 def get_vertex_index(g):
12101  """get_vertex_index(IMP::atom::HierarchyTree const & g) -> _HierarchyTreeVertexIndex"""
12102  return _IMP_atom.get_vertex_index(g)
12103 
12104 def get_hierarchy_tree(h):
12105  """get_hierarchy_tree(Hierarchy h) -> IMP::atom::HierarchyTree"""
12106  return _IMP_atom.get_hierarchy_tree(h)
12107 class HierarchyGeometry(IMP.display.SingletonGeometry):
12108  """Proxy of C++ IMP::atom::HierarchyGeometry class."""
12109 
12110  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12111 
12112  def __init__(self, d, resolution=0):
12113  """
12114  __init__(IMP::atom::HierarchyGeometry self, Hierarchy d, double resolution=0) -> HierarchyGeometry
12115  __init__(IMP::atom::HierarchyGeometry self, Hierarchy d) -> HierarchyGeometry
12116  """
12117  this = _IMP_atom.new_HierarchyGeometry(d, resolution)
12118  try:
12119  self.this.append(this)
12120  except __builtin__.Exception:
12121  self.this = this
12122 
12123  def get_version_info(self):
12124  """get_version_info(HierarchyGeometry self) -> VersionInfo"""
12125  return _IMP_atom.HierarchyGeometry_get_version_info(self)
12126 
12127 
12128  def __str__(self):
12129  """__str__(HierarchyGeometry self) -> std::string"""
12130  return _IMP_atom.HierarchyGeometry___str__(self)
12131 
12132 
12133  def __repr__(self):
12134  """__repr__(HierarchyGeometry self) -> std::string"""
12135  return _IMP_atom.HierarchyGeometry___repr__(self)
12136 
12137 
12138  @staticmethod
12139  def get_from(o):
12140  return _object_cast_to_HierarchyGeometry(o)
12141 
12142 HierarchyGeometry_swigregister = _IMP_atom.HierarchyGeometry_swigregister
12143 HierarchyGeometry_swigregister(HierarchyGeometry)
12144 
12145 class HierarchiesGeometry(IMP.display.SingletonsGeometry):
12146  """Proxy of C++ IMP::atom::HierarchiesGeometry class."""
12147 
12148  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12149 
12150  def __init__(self, sc, resolution=-1):
12151  """
12152  __init__(IMP::atom::HierarchiesGeometry self, SingletonContainer sc, double resolution=-1) -> HierarchiesGeometry
12153  __init__(IMP::atom::HierarchiesGeometry self, SingletonContainer sc) -> HierarchiesGeometry
12154  """
12155  this = _IMP_atom.new_HierarchiesGeometry(sc, resolution)
12156  try:
12157  self.this.append(this)
12158  except __builtin__.Exception:
12159  self.this = this
12160 
12161  def get_version_info(self):
12162  """get_version_info(HierarchiesGeometry self) -> VersionInfo"""
12163  return _IMP_atom.HierarchiesGeometry_get_version_info(self)
12164 
12165 
12166  def __str__(self):
12167  """__str__(HierarchiesGeometry self) -> std::string"""
12168  return _IMP_atom.HierarchiesGeometry___str__(self)
12169 
12170 
12171  def __repr__(self):
12172  """__repr__(HierarchiesGeometry self) -> std::string"""
12173  return _IMP_atom.HierarchiesGeometry___repr__(self)
12174 
12175 
12176  @staticmethod
12177  def get_from(o):
12178  return _object_cast_to_HierarchiesGeometry(o)
12179 
12180 HierarchiesGeometry_swigregister = _IMP_atom.HierarchiesGeometry_swigregister
12181 HierarchiesGeometry_swigregister(HierarchiesGeometry)
12182 
12183 
12184 def transform(*args):
12185  """
12186  transform(Hierarchy h, Transformation3D tr)
12187  transform(Hierarchy h, Transformation3D tr)
12188  """
12189  return _IMP_atom.transform(*args)
12190 class DopePairScore(_ADopeBase):
12191  """Proxy of C++ IMP::atom::DopePairScore class."""
12192 
12193  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12194 
12195  def __init__(self, *args):
12196  """
12197  __init__(IMP::atom::DopePairScore self, double threshold) -> DopePairScore
12198  __init__(IMP::atom::DopePairScore self) -> DopePairScore
12199  __init__(IMP::atom::DopePairScore self, double threshold, TextInput data_file) -> DopePairScore
12200  """
12201  this = _IMP_atom.new_DopePairScore(*args)
12202  try:
12203  self.this.append(this)
12204  except __builtin__.Exception:
12205  self.this = this
12206 
12207  def __str__(self):
12208  """__str__(DopePairScore self) -> std::string"""
12209  return _IMP_atom.DopePairScore___str__(self)
12210 
12211 
12212  def __repr__(self):
12213  """__repr__(DopePairScore self) -> std::string"""
12214  return _IMP_atom.DopePairScore___repr__(self)
12215 
12216 
12217  @staticmethod
12218  def get_from(o):
12219  return _object_cast_to_DopePairScore(o)
12220 
12221  __swig_destroy__ = _IMP_atom.delete_DopePairScore
12222  __del__ = lambda self: None
12223 DopePairScore_swigregister = _IMP_atom.DopePairScore_swigregister
12224 DopePairScore_swigregister(DopePairScore)
12225 
12226 
12227 def add_dope_score_data(h):
12228  """add_dope_score_data(Hierarchy h)"""
12229  return _IMP_atom.add_dope_score_data(h)
12230 class OrientedSoapPairScore(_OrientedSoapBase):
12231  """Proxy of C++ IMP::atom::OrientedSoapPairScore class."""
12232 
12233  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12234 
12235  def __init__(self, library):
12236  """__init__(IMP::atom::OrientedSoapPairScore self, std::string library) -> OrientedSoapPairScore"""
12237  this = _IMP_atom.new_OrientedSoapPairScore(library)
12238  try:
12239  self.this.append(this)
12240  except __builtin__.Exception:
12241  self.this = this
12242 
12243  def get_pair_filter(self):
12244  """get_pair_filter(OrientedSoapPairScore self) -> SoapPairFilter"""
12245  return _IMP_atom.OrientedSoapPairScore_get_pair_filter(self)
12246 
12247 
12248  def __str__(self):
12249  """__str__(OrientedSoapPairScore self) -> std::string"""
12250  return _IMP_atom.OrientedSoapPairScore___str__(self)
12251 
12252 
12253  def __repr__(self):
12254  """__repr__(OrientedSoapPairScore self) -> std::string"""
12255  return _IMP_atom.OrientedSoapPairScore___repr__(self)
12256 
12257 
12258  @staticmethod
12259  def get_from(o):
12260  return _object_cast_to_OrientedSoapPairScore(o)
12261 
12262  __swig_destroy__ = _IMP_atom.delete_OrientedSoapPairScore
12263  __del__ = lambda self: None
12264 OrientedSoapPairScore_swigregister = _IMP_atom.OrientedSoapPairScore_swigregister
12265 OrientedSoapPairScore_swigregister(OrientedSoapPairScore)
12266 
12267 class SameResiduePairFilter(IMP.PairPredicate):
12268  """Proxy of C++ IMP::atom::SameResiduePairFilter class."""
12269 
12270  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12271 
12272  def __init__(self):
12273  """__init__(IMP::atom::SameResiduePairFilter self) -> SameResiduePairFilter"""
12274  this = _IMP_atom.new_SameResiduePairFilter()
12275  try:
12276  self.this.append(this)
12277  except __builtin__.Exception:
12278  self.this = this
12279 
12280  def do_get_inputs(self, m, pis):
12281  """do_get_inputs(SameResiduePairFilter self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
12282  return _IMP_atom.SameResiduePairFilter_do_get_inputs(self, m, pis)
12283 
12284 
12285  def get_value(self, *args):
12286  """
12287  get_value(SameResiduePairFilter self, IMP::ParticlePair const & a) -> int
12288  get_value(SameResiduePairFilter self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
12289  """
12290  return _IMP_atom.SameResiduePairFilter_get_value(self, *args)
12291 
12292 
12293  def get_value_index(self, *args):
12294  """
12295  get_value_index(SameResiduePairFilter self, Model m, IMP::ParticleIndexPair const & p) -> int
12296  get_value_index(SameResiduePairFilter self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
12297  """
12298  return _IMP_atom.SameResiduePairFilter_get_value_index(self, *args)
12299 
12300 
12301  def get_version_info(self):
12302  """get_version_info(SameResiduePairFilter self) -> VersionInfo"""
12303  return _IMP_atom.SameResiduePairFilter_get_version_info(self)
12304 
12305 
12306  def __str__(self):
12307  """__str__(SameResiduePairFilter self) -> std::string"""
12308  return _IMP_atom.SameResiduePairFilter___str__(self)
12309 
12310 
12311  def __repr__(self):
12312  """__repr__(SameResiduePairFilter self) -> std::string"""
12313  return _IMP_atom.SameResiduePairFilter___repr__(self)
12314 
12315 
12316  @staticmethod
12317  def get_from(o):
12318  return _object_cast_to_SameResiduePairFilter(o)
12319 
12320 SameResiduePairFilter_swigregister = _IMP_atom.SameResiduePairFilter_swigregister
12321 SameResiduePairFilter_swigregister(SameResiduePairFilter)
12322 
12323 class RemoveRigidMotionOptimizerState(IMP.OptimizerState):
12324  """Proxy of C++ IMP::atom::RemoveRigidMotionOptimizerState class."""
12325 
12326  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12327 
12328  def __init__(self, m, pis):
12329  """__init__(IMP::atom::RemoveRigidMotionOptimizerState self, Model m, _ParticleIndexesAdaptor pis) -> RemoveRigidMotionOptimizerState"""
12330  this = _IMP_atom.new_RemoveRigidMotionOptimizerState(m, pis)
12331  try:
12332  self.this.append(this)
12333  except __builtin__.Exception:
12334  self.this = this
12335 
12336  def set_particles(self, pis):
12337  """set_particles(RemoveRigidMotionOptimizerState self, IMP::Particles const & pis)"""
12338  return _IMP_atom.RemoveRigidMotionOptimizerState_set_particles(self, pis)
12339 
12340 
12341  def remove_rigid_motion(self):
12342  """remove_rigid_motion(RemoveRigidMotionOptimizerState self)"""
12343  return _IMP_atom.RemoveRigidMotionOptimizerState_remove_rigid_motion(self)
12344 
12345 
12346  def get_version_info(self):
12347  """get_version_info(RemoveRigidMotionOptimizerState self) -> VersionInfo"""
12348  return _IMP_atom.RemoveRigidMotionOptimizerState_get_version_info(self)
12349 
12350 
12351  def __str__(self):
12352  """__str__(RemoveRigidMotionOptimizerState self) -> std::string"""
12353  return _IMP_atom.RemoveRigidMotionOptimizerState___str__(self)
12354 
12355 
12356  def __repr__(self):
12357  """__repr__(RemoveRigidMotionOptimizerState self) -> std::string"""
12358  return _IMP_atom.RemoveRigidMotionOptimizerState___repr__(self)
12359 
12360 
12361  @staticmethod
12362  def get_from(o):
12363  return _object_cast_to_RemoveRigidMotionOptimizerState(o)
12364 
12365 RemoveRigidMotionOptimizerState_swigregister = _IMP_atom.RemoveRigidMotionOptimizerState_swigregister
12366 RemoveRigidMotionOptimizerState_swigregister(RemoveRigidMotionOptimizerState)
12367 
12368 class BerendsenThermostatOptimizerState(IMP.OptimizerState):
12369  """Proxy of C++ IMP::atom::BerendsenThermostatOptimizerState class."""
12370 
12371  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12372 
12373  def __init__(self, pis, temperature, tau):
12374  """__init__(IMP::atom::BerendsenThermostatOptimizerState self, IMP::Particles const & pis, double temperature, double tau) -> BerendsenThermostatOptimizerState"""
12375  this = _IMP_atom.new_BerendsenThermostatOptimizerState(pis, temperature, tau)
12376  try:
12377  self.this.append(this)
12378  except __builtin__.Exception:
12379  self.this = this
12380 
12381  def set_particles(self, pis):
12382  """set_particles(BerendsenThermostatOptimizerState self, IMP::Particles const & pis)"""
12383  return _IMP_atom.BerendsenThermostatOptimizerState_set_particles(self, pis)
12384 
12385 
12386  def get_temperature(self):
12387  """get_temperature(BerendsenThermostatOptimizerState self) -> double"""
12388  return _IMP_atom.BerendsenThermostatOptimizerState_get_temperature(self)
12389 
12390 
12391  def get_tau(self):
12392  """get_tau(BerendsenThermostatOptimizerState self) -> double"""
12393  return _IMP_atom.BerendsenThermostatOptimizerState_get_tau(self)
12394 
12395 
12396  def set_temperature(self, temperature):
12397  """set_temperature(BerendsenThermostatOptimizerState self, double temperature)"""
12398  return _IMP_atom.BerendsenThermostatOptimizerState_set_temperature(self, temperature)
12399 
12400 
12401  def set_tau(self, tau):
12402  """set_tau(BerendsenThermostatOptimizerState self, double tau)"""
12403  return _IMP_atom.BerendsenThermostatOptimizerState_set_tau(self, tau)
12404 
12405 
12406  def rescale_velocities(self):
12407  """rescale_velocities(BerendsenThermostatOptimizerState self)"""
12408  return _IMP_atom.BerendsenThermostatOptimizerState_rescale_velocities(self)
12409 
12410 
12411  def get_version_info(self):
12412  """get_version_info(BerendsenThermostatOptimizerState self) -> VersionInfo"""
12413  return _IMP_atom.BerendsenThermostatOptimizerState_get_version_info(self)
12414 
12415 
12416  def __str__(self):
12417  """__str__(BerendsenThermostatOptimizerState self) -> std::string"""
12418  return _IMP_atom.BerendsenThermostatOptimizerState___str__(self)
12419 
12420 
12421  def __repr__(self):
12422  """__repr__(BerendsenThermostatOptimizerState self) -> std::string"""
12423  return _IMP_atom.BerendsenThermostatOptimizerState___repr__(self)
12424 
12425 
12426  @staticmethod
12427  def get_from(o):
12428  return _object_cast_to_BerendsenThermostatOptimizerState(o)
12429 
12430 BerendsenThermostatOptimizerState_swigregister = _IMP_atom.BerendsenThermostatOptimizerState_swigregister
12431 BerendsenThermostatOptimizerState_swigregister(BerendsenThermostatOptimizerState)
12432 
12433 class LangevinThermostatOptimizerState(IMP.OptimizerState):
12434  """Proxy of C++ IMP::atom::LangevinThermostatOptimizerState class."""
12435 
12436  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12437 
12438  def __init__(self, m, pis, temperature, gamma):
12439  """__init__(IMP::atom::LangevinThermostatOptimizerState self, Model m, _ParticleIndexesAdaptor pis, double temperature, double gamma) -> LangevinThermostatOptimizerState"""
12440  this = _IMP_atom.new_LangevinThermostatOptimizerState(m, pis, temperature, gamma)
12441  try:
12442  self.this.append(this)
12443  except __builtin__.Exception:
12444  self.this = this
12445 
12446  def set_particles(self, pis):
12447  """set_particles(LangevinThermostatOptimizerState self, IMP::Particles const & pis)"""
12448  return _IMP_atom.LangevinThermostatOptimizerState_set_particles(self, pis)
12449 
12450 
12451  def get_temperature(self):
12452  """get_temperature(LangevinThermostatOptimizerState self) -> double"""
12453  return _IMP_atom.LangevinThermostatOptimizerState_get_temperature(self)
12454 
12455 
12456  def get_gamma(self):
12457  """get_gamma(LangevinThermostatOptimizerState self) -> double"""
12458  return _IMP_atom.LangevinThermostatOptimizerState_get_gamma(self)
12459 
12460 
12461  def set_temperature(self, temperature):
12462  """set_temperature(LangevinThermostatOptimizerState self, double temperature)"""
12463  return _IMP_atom.LangevinThermostatOptimizerState_set_temperature(self, temperature)
12464 
12465 
12466  def set_gamma(self, gamma):
12467  """set_gamma(LangevinThermostatOptimizerState self, double gamma)"""
12468  return _IMP_atom.LangevinThermostatOptimizerState_set_gamma(self, gamma)
12469 
12470 
12471  def rescale_velocities(self):
12472  """rescale_velocities(LangevinThermostatOptimizerState self)"""
12473  return _IMP_atom.LangevinThermostatOptimizerState_rescale_velocities(self)
12474 
12475 
12476  def get_version_info(self):
12477  """get_version_info(LangevinThermostatOptimizerState self) -> VersionInfo"""
12478  return _IMP_atom.LangevinThermostatOptimizerState_get_version_info(self)
12479 
12480 
12481  def __str__(self):
12482  """__str__(LangevinThermostatOptimizerState self) -> std::string"""
12483  return _IMP_atom.LangevinThermostatOptimizerState___str__(self)
12484 
12485 
12486  def __repr__(self):
12487  """__repr__(LangevinThermostatOptimizerState self) -> std::string"""
12488  return _IMP_atom.LangevinThermostatOptimizerState___repr__(self)
12489 
12490 
12491  @staticmethod
12492  def get_from(o):
12493  return _object_cast_to_LangevinThermostatOptimizerState(o)
12494 
12495 LangevinThermostatOptimizerState_swigregister = _IMP_atom.LangevinThermostatOptimizerState_swigregister
12496 LangevinThermostatOptimizerState_swigregister(LangevinThermostatOptimizerState)
12497 
12498 class PDBSelector(IMP.Object):
12499  """Proxy of C++ IMP::atom::PDBSelector class."""
12500 
12501  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12502 
12503  def __init__(self, name):
12504  """__init__(IMP::atom::PDBSelector self, std::string name) -> PDBSelector"""
12505  if self.__class__ == PDBSelector:
12506  _self = None
12507  else:
12508  _self = self
12509  this = _IMP_atom.new_PDBSelector(_self, name)
12510  try:
12511  self.this.append(this)
12512  except __builtin__.Exception:
12513  self.this = this
12514 
12515  if self.__class__ != PDBSelector:
12516  _director_objects.register(self)
12517 
12518 
12519 
12520 
12521  def get_is_selected(self, pdb_line):
12522  """get_is_selected(PDBSelector self, std::string const & pdb_line) -> bool"""
12523  return _IMP_atom.PDBSelector_get_is_selected(self, pdb_line)
12524 
12525  __swig_destroy__ = _IMP_atom.delete_PDBSelector
12526  __del__ = lambda self: None
12527 
12528  def __str__(self):
12529  """__str__(PDBSelector self) -> std::string"""
12530  return _IMP_atom.PDBSelector___str__(self)
12531 
12532 
12533  def __repr__(self):
12534  """__repr__(PDBSelector self) -> std::string"""
12535  return _IMP_atom.PDBSelector___repr__(self)
12536 
12537 
12538  @staticmethod
12539  def get_from(o):
12540  return _object_cast_to_PDBSelector(o)
12541 
12542 
12543  def get_type_name(self):
12544  return self.__class__.__name__
12545  def do_show(self, out):
12546  pass
12547  def get_version_info(self):
12548  if"IMP::atom" == "IMP":
12549  return VersionInfo(self.__module__,
12550  __import__(self.__module__).get_module_version())
12551  else:
12552  return IMP.VersionInfo(self.__module__,
12553  __import__(self.__module__).get_module_version())
12554  @staticmethod
12555  def get_from(o):
12556  return _object_cast_to_PDBSelector(o)
12557 
12558 
12559  def __and__(self, s):
12560  return AndPDBSelector(self, s)
12561  def __or__(self, s):
12562  return OrPDBSelector(self, s)
12563  def __xor__(self, s):
12564  return XorPDBSelector(self, s)
12565  def __invert__(self):
12566  return NotPDBSelector(self)
12567  def __sub__(self, s):
12568  return AndPDBSelector(self, NotPDBSelector(s))
12569 
12570  def __disown__(self):
12571  self.this.disown()
12572  _IMP_atom.disown_PDBSelector(self)
12573  return weakref_proxy(self)
12574 
12575  def do_destroy(self):
12576  """do_destroy(PDBSelector self)"""
12577  return _IMP_atom.PDBSelector_do_destroy(self)
12578 
12579 PDBSelector_swigregister = _IMP_atom.PDBSelector_swigregister
12580 PDBSelector_swigregister(PDBSelector)
12581 
12582 class NonAlternativePDBSelector(PDBSelector):
12583  """Proxy of C++ IMP::atom::NonAlternativePDBSelector class."""
12584 
12585  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12586 
12587  def __init__(self, *args):
12588  """
12589  __init__(IMP::atom::NonAlternativePDBSelector self, std::string name) -> NonAlternativePDBSelector
12590  __init__(IMP::atom::NonAlternativePDBSelector self) -> NonAlternativePDBSelector
12591  """
12592  this = _IMP_atom.new_NonAlternativePDBSelector(*args)
12593  try:
12594  self.this.append(this)
12595  except __builtin__.Exception:
12596  self.this = this
12597 
12598  def get_version_info(self):
12599  """get_version_info(NonAlternativePDBSelector self) -> VersionInfo"""
12600  return _IMP_atom.NonAlternativePDBSelector_get_version_info(self)
12601 
12602 
12603  def __str__(self):
12604  """__str__(NonAlternativePDBSelector self) -> std::string"""
12605  return _IMP_atom.NonAlternativePDBSelector___str__(self)
12606 
12607 
12608  def __repr__(self):
12609  """__repr__(NonAlternativePDBSelector self) -> std::string"""
12610  return _IMP_atom.NonAlternativePDBSelector___repr__(self)
12611 
12612 
12613  @staticmethod
12614  def get_from(o):
12615  return _object_cast_to_NonAlternativePDBSelector(o)
12616 
12617 NonAlternativePDBSelector_swigregister = _IMP_atom.NonAlternativePDBSelector_swigregister
12618 NonAlternativePDBSelector_swigregister(NonAlternativePDBSelector)
12619 
12620 class ATOMPDBSelector(NonAlternativePDBSelector):
12621  """Proxy of C++ IMP::atom::ATOMPDBSelector class."""
12622 
12623  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12624 
12625  def __init__(self, *args):
12626  """
12627  __init__(IMP::atom::ATOMPDBSelector self, std::string name) -> ATOMPDBSelector
12628  __init__(IMP::atom::ATOMPDBSelector self) -> ATOMPDBSelector
12629  """
12630  this = _IMP_atom.new_ATOMPDBSelector(*args)
12631  try:
12632  self.this.append(this)
12633  except __builtin__.Exception:
12634  self.this = this
12635 
12636  def __str__(self):
12637  """__str__(ATOMPDBSelector self) -> std::string"""
12638  return _IMP_atom.ATOMPDBSelector___str__(self)
12639 
12640 
12641  def __repr__(self):
12642  """__repr__(ATOMPDBSelector self) -> std::string"""
12643  return _IMP_atom.ATOMPDBSelector___repr__(self)
12644 
12645 
12646  @staticmethod
12647  def get_from(o):
12648  return _object_cast_to_ATOMPDBSelector(o)
12649 
12650 ATOMPDBSelector_swigregister = _IMP_atom.ATOMPDBSelector_swigregister
12651 ATOMPDBSelector_swigregister(ATOMPDBSelector)
12652 
12653 class CAlphaPDBSelector(NonAlternativePDBSelector):
12654  """Proxy of C++ IMP::atom::CAlphaPDBSelector class."""
12655 
12656  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12657 
12658  def __init__(self, *args):
12659  """
12660  __init__(IMP::atom::CAlphaPDBSelector self, std::string name) -> CAlphaPDBSelector
12661  __init__(IMP::atom::CAlphaPDBSelector self) -> CAlphaPDBSelector
12662  """
12663  this = _IMP_atom.new_CAlphaPDBSelector(*args)
12664  try:
12665  self.this.append(this)
12666  except __builtin__.Exception:
12667  self.this = this
12668 
12669  def __str__(self):
12670  """__str__(CAlphaPDBSelector self) -> std::string"""
12671  return _IMP_atom.CAlphaPDBSelector___str__(self)
12672 
12673 
12674  def __repr__(self):
12675  """__repr__(CAlphaPDBSelector self) -> std::string"""
12676  return _IMP_atom.CAlphaPDBSelector___repr__(self)
12677 
12678 
12679  @staticmethod
12680  def get_from(o):
12681  return _object_cast_to_CAlphaPDBSelector(o)
12682 
12683 CAlphaPDBSelector_swigregister = _IMP_atom.CAlphaPDBSelector_swigregister
12684 CAlphaPDBSelector_swigregister(CAlphaPDBSelector)
12685 
12686 class CBetaPDBSelector(NonAlternativePDBSelector):
12687  """Proxy of C++ IMP::atom::CBetaPDBSelector class."""
12688 
12689  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12690 
12691  def __init__(self, *args):
12692  """
12693  __init__(IMP::atom::CBetaPDBSelector self, std::string name) -> CBetaPDBSelector
12694  __init__(IMP::atom::CBetaPDBSelector self) -> CBetaPDBSelector
12695  """
12696  this = _IMP_atom.new_CBetaPDBSelector(*args)
12697  try:
12698  self.this.append(this)
12699  except __builtin__.Exception:
12700  self.this = this
12701 
12702  def __str__(self):
12703  """__str__(CBetaPDBSelector self) -> std::string"""
12704  return _IMP_atom.CBetaPDBSelector___str__(self)
12705 
12706 
12707  def __repr__(self):
12708  """__repr__(CBetaPDBSelector self) -> std::string"""
12709  return _IMP_atom.CBetaPDBSelector___repr__(self)
12710 
12711 
12712  @staticmethod
12713  def get_from(o):
12714  return _object_cast_to_CBetaPDBSelector(o)
12715 
12716 CBetaPDBSelector_swigregister = _IMP_atom.CBetaPDBSelector_swigregister
12717 CBetaPDBSelector_swigregister(CBetaPDBSelector)
12718 
12719 class AtomTypePDBSelector(PDBSelector):
12720  """Proxy of C++ IMP::atom::AtomTypePDBSelector class."""
12721 
12722  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12723 
12724  def __init__(self, *args):
12725  """
12726  __init__(IMP::atom::AtomTypePDBSelector self, IMP::Strings atom_types, std::string name) -> AtomTypePDBSelector
12727  __init__(IMP::atom::AtomTypePDBSelector self, IMP::Strings atom_types) -> AtomTypePDBSelector
12728  """
12729  this = _IMP_atom.new_AtomTypePDBSelector(*args)
12730  try:
12731  self.this.append(this)
12732  except __builtin__.Exception:
12733  self.this = this
12734 
12735  def get_version_info(self):
12736  """get_version_info(AtomTypePDBSelector self) -> VersionInfo"""
12737  return _IMP_atom.AtomTypePDBSelector_get_version_info(self)
12738 
12739 
12740  def __str__(self):
12741  """__str__(AtomTypePDBSelector self) -> std::string"""
12742  return _IMP_atom.AtomTypePDBSelector___str__(self)
12743 
12744 
12745  def __repr__(self):
12746  """__repr__(AtomTypePDBSelector self) -> std::string"""
12747  return _IMP_atom.AtomTypePDBSelector___repr__(self)
12748 
12749 
12750  @staticmethod
12751  def get_from(o):
12752  return _object_cast_to_AtomTypePDBSelector(o)
12753 
12754 AtomTypePDBSelector_swigregister = _IMP_atom.AtomTypePDBSelector_swigregister
12755 AtomTypePDBSelector_swigregister(AtomTypePDBSelector)
12756 
12757 class ResidueTypePDBSelector(PDBSelector):
12758  """Proxy of C++ IMP::atom::ResidueTypePDBSelector class."""
12759 
12760  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12761 
12762  def __init__(self, *args):
12763  """
12764  __init__(IMP::atom::ResidueTypePDBSelector self, IMP::Strings residue_types, std::string name) -> ResidueTypePDBSelector
12765  __init__(IMP::atom::ResidueTypePDBSelector self, IMP::Strings residue_types) -> ResidueTypePDBSelector
12766  """
12767  this = _IMP_atom.new_ResidueTypePDBSelector(*args)
12768  try:
12769  self.this.append(this)
12770  except __builtin__.Exception:
12771  self.this = this
12772 
12773  def get_version_info(self):
12774  """get_version_info(ResidueTypePDBSelector self) -> VersionInfo"""
12775  return _IMP_atom.ResidueTypePDBSelector_get_version_info(self)
12776 
12777 
12778  def __str__(self):
12779  """__str__(ResidueTypePDBSelector self) -> std::string"""
12780  return _IMP_atom.ResidueTypePDBSelector___str__(self)
12781 
12782 
12783  def __repr__(self):
12784  """__repr__(ResidueTypePDBSelector self) -> std::string"""
12785  return _IMP_atom.ResidueTypePDBSelector___repr__(self)
12786 
12787 
12788  @staticmethod
12789  def get_from(o):
12790  return _object_cast_to_ResidueTypePDBSelector(o)
12791 
12792 ResidueTypePDBSelector_swigregister = _IMP_atom.ResidueTypePDBSelector_swigregister
12793 ResidueTypePDBSelector_swigregister(ResidueTypePDBSelector)
12794 
12795 class CPDBSelector(NonAlternativePDBSelector):
12796  """Proxy of C++ IMP::atom::CPDBSelector class."""
12797 
12798  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12799 
12800  def __init__(self, *args):
12801  """
12802  __init__(IMP::atom::CPDBSelector self, std::string name) -> CPDBSelector
12803  __init__(IMP::atom::CPDBSelector self) -> CPDBSelector
12804  """
12805  this = _IMP_atom.new_CPDBSelector(*args)
12806  try:
12807  self.this.append(this)
12808  except __builtin__.Exception:
12809  self.this = this
12810 
12811  def __str__(self):
12812  """__str__(CPDBSelector self) -> std::string"""
12813  return _IMP_atom.CPDBSelector___str__(self)
12814 
12815 
12816  def __repr__(self):
12817  """__repr__(CPDBSelector self) -> std::string"""
12818  return _IMP_atom.CPDBSelector___repr__(self)
12819 
12820 
12821  @staticmethod
12822  def get_from(o):
12823  return _object_cast_to_CPDBSelector(o)
12824 
12825 CPDBSelector_swigregister = _IMP_atom.CPDBSelector_swigregister
12826 CPDBSelector_swigregister(CPDBSelector)
12827 
12828 class NPDBSelector(NonAlternativePDBSelector):
12829  """Proxy of C++ IMP::atom::NPDBSelector class."""
12830 
12831  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12832 
12833  def __init__(self, *args):
12834  """
12835  __init__(IMP::atom::NPDBSelector self, std::string name) -> NPDBSelector
12836  __init__(IMP::atom::NPDBSelector self) -> NPDBSelector
12837  """
12838  this = _IMP_atom.new_NPDBSelector(*args)
12839  try:
12840  self.this.append(this)
12841  except __builtin__.Exception:
12842  self.this = this
12843 
12844  def __str__(self):
12845  """__str__(NPDBSelector self) -> std::string"""
12846  return _IMP_atom.NPDBSelector___str__(self)
12847 
12848 
12849  def __repr__(self):
12850  """__repr__(NPDBSelector self) -> std::string"""
12851  return _IMP_atom.NPDBSelector___repr__(self)
12852 
12853 
12854  @staticmethod
12855  def get_from(o):
12856  return _object_cast_to_NPDBSelector(o)
12857 
12858 NPDBSelector_swigregister = _IMP_atom.NPDBSelector_swigregister
12859 NPDBSelector_swigregister(NPDBSelector)
12860 
12861 class AllPDBSelector(PDBSelector):
12862  """Proxy of C++ IMP::atom::AllPDBSelector class."""
12863 
12864  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12865 
12866  def __init__(self, *args):
12867  """
12868  __init__(IMP::atom::AllPDBSelector self, std::string name) -> AllPDBSelector
12869  __init__(IMP::atom::AllPDBSelector self) -> AllPDBSelector
12870  """
12871  this = _IMP_atom.new_AllPDBSelector(*args)
12872  try:
12873  self.this.append(this)
12874  except __builtin__.Exception:
12875  self.this = this
12876 
12877  def get_version_info(self):
12878  """get_version_info(AllPDBSelector self) -> VersionInfo"""
12879  return _IMP_atom.AllPDBSelector_get_version_info(self)
12880 
12881 
12882  def __str__(self):
12883  """__str__(AllPDBSelector self) -> std::string"""
12884  return _IMP_atom.AllPDBSelector___str__(self)
12885 
12886 
12887  def __repr__(self):
12888  """__repr__(AllPDBSelector self) -> std::string"""
12889  return _IMP_atom.AllPDBSelector___repr__(self)
12890 
12891 
12892  @staticmethod
12893  def get_from(o):
12894  return _object_cast_to_AllPDBSelector(o)
12895 
12896 AllPDBSelector_swigregister = _IMP_atom.AllPDBSelector_swigregister
12897 AllPDBSelector_swigregister(AllPDBSelector)
12898 
12899 class ChainPDBSelector(NonAlternativePDBSelector):
12900  """Proxy of C++ IMP::atom::ChainPDBSelector class."""
12901 
12902  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12903 
12904  def __init__(self, *args):
12905  """
12906  __init__(IMP::atom::ChainPDBSelector self, std::string const & chains, std::string name) -> ChainPDBSelector
12907  __init__(IMP::atom::ChainPDBSelector self, std::string const & chains) -> ChainPDBSelector
12908  """
12909  this = _IMP_atom.new_ChainPDBSelector(*args)
12910  try:
12911  self.this.append(this)
12912  except __builtin__.Exception:
12913  self.this = this
12914 
12915  def __str__(self):
12916  """__str__(ChainPDBSelector self) -> std::string"""
12917  return _IMP_atom.ChainPDBSelector___str__(self)
12918 
12919 
12920  def __repr__(self):
12921  """__repr__(ChainPDBSelector self) -> std::string"""
12922  return _IMP_atom.ChainPDBSelector___repr__(self)
12923 
12924 
12925  @staticmethod
12926  def get_from(o):
12927  return _object_cast_to_ChainPDBSelector(o)
12928 
12929 ChainPDBSelector_swigregister = _IMP_atom.ChainPDBSelector_swigregister
12930 ChainPDBSelector_swigregister(ChainPDBSelector)
12931 
12932 class WaterPDBSelector(NonAlternativePDBSelector):
12933  """Proxy of C++ IMP::atom::WaterPDBSelector class."""
12934 
12935  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12936 
12937  def __init__(self, *args):
12938  """
12939  __init__(IMP::atom::WaterPDBSelector self, std::string name) -> WaterPDBSelector
12940  __init__(IMP::atom::WaterPDBSelector self) -> WaterPDBSelector
12941  """
12942  this = _IMP_atom.new_WaterPDBSelector(*args)
12943  try:
12944  self.this.append(this)
12945  except __builtin__.Exception:
12946  self.this = this
12947 
12948  def __str__(self):
12949  """__str__(WaterPDBSelector self) -> std::string"""
12950  return _IMP_atom.WaterPDBSelector___str__(self)
12951 
12952 
12953  def __repr__(self):
12954  """__repr__(WaterPDBSelector self) -> std::string"""
12955  return _IMP_atom.WaterPDBSelector___repr__(self)
12956 
12957 
12958  @staticmethod
12959  def get_from(o):
12960  return _object_cast_to_WaterPDBSelector(o)
12961 
12962 WaterPDBSelector_swigregister = _IMP_atom.WaterPDBSelector_swigregister
12963 WaterPDBSelector_swigregister(WaterPDBSelector)
12964 
12965 class HydrogenPDBSelector(NonAlternativePDBSelector):
12966  """Proxy of C++ IMP::atom::HydrogenPDBSelector class."""
12967 
12968  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12969 
12970  def __init__(self, *args):
12971  """
12972  __init__(IMP::atom::HydrogenPDBSelector self, std::string name) -> HydrogenPDBSelector
12973  __init__(IMP::atom::HydrogenPDBSelector self) -> HydrogenPDBSelector
12974  """
12975  this = _IMP_atom.new_HydrogenPDBSelector(*args)
12976  try:
12977  self.this.append(this)
12978  except __builtin__.Exception:
12979  self.this = this
12980 
12981  def __str__(self):
12982  """__str__(HydrogenPDBSelector self) -> std::string"""
12983  return _IMP_atom.HydrogenPDBSelector___str__(self)
12984 
12985 
12986  def __repr__(self):
12987  """__repr__(HydrogenPDBSelector self) -> std::string"""
12988  return _IMP_atom.HydrogenPDBSelector___repr__(self)
12989 
12990 
12991  @staticmethod
12992  def get_from(o):
12993  return _object_cast_to_HydrogenPDBSelector(o)
12994 
12995 HydrogenPDBSelector_swigregister = _IMP_atom.HydrogenPDBSelector_swigregister
12996 HydrogenPDBSelector_swigregister(HydrogenPDBSelector)
12997 
12998 class NonWaterNonHydrogenPDBSelector(NonAlternativePDBSelector):
12999  """Proxy of C++ IMP::atom::NonWaterNonHydrogenPDBSelector class."""
13000 
13001  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
13002 
13003  def __init__(self, *args):
13004  """
13005  __init__(IMP::atom::NonWaterNonHydrogenPDBSelector self, std::string name) -> NonWaterNonHydrogenPDBSelector
13006  __init__(IMP::atom::NonWaterNonHydrogenPDBSelector self) -> NonWaterNonHydrogenPDBSelector
13007  """
13008  this = _IMP_atom.new_NonWaterNonHydrogenPDBSelector(*args)
13009  try:
13010  self.this.append(this)
13011  except __builtin__.Exception:
13012  self.this = this
13013 
13014  def __str__(self):
13015  """__str__(NonWaterNonHydrogenPDBSelector self) -> std::string"""
13016  return _IMP_atom.NonWaterNonHydrogenPDBSelector___str__(self)
13017 
13018 
13019  def __repr__(self):
13020  """__repr__(NonWaterNonHydrogenPDBSelector self) -> std::string"""
13021  return _IMP_atom.NonWaterNonHydrogenPDBSelector___repr__(self)
13022 
13023 
13024  @staticmethod
13025  def get_from(o):
13026  return _object_cast_to_NonWaterNonHydrogenPDBSelector(o)
13027 
13028 NonWaterNonHydrogenPDBSelector_swigregister = _IMP_atom.NonWaterNonHydrogenPDBSelector_swigregister
13029 NonWaterNonHydrogenPDBSelector_swigregister(NonWaterNonHydrogenPDBSelector)
13030 
13031 class NonHydrogenPDBSelector(NonAlternativePDBSelector):
13032  """Proxy of C++ IMP::atom::NonHydrogenPDBSelector class."""
13033 
13034  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
13035 
13036  def __init__(self, *args):
13037  """
13038  __init__(IMP::atom::NonHydrogenPDBSelector self, std::string name) -> NonHydrogenPDBSelector
13039  __init__(IMP::atom::NonHydrogenPDBSelector self) -> NonHydrogenPDBSelector
13040  """
13041  this = _IMP_atom.new_NonHydrogenPDBSelector(*args)
13042  try:
13043  self.this.append(this)
13044  except __builtin__.Exception:
13045  self.this = this
13046 
13047  def __str__(self):
13048  """__str__(NonHydrogenPDBSelector self) -> std::string"""
13049  return _IMP_atom.NonHydrogenPDBSelector___str__(self)
13050 
13051 
13052  def __repr__(self):
13053  """__repr__(NonHydrogenPDBSelector self) -> std::string"""
13054  return _IMP_atom.NonHydrogenPDBSelector___repr__(self)
13055 
13056 
13057  @staticmethod
13058  def get_from(o):
13059  return _object_cast_to_NonHydrogenPDBSelector(o)
13060 
13061 NonHydrogenPDBSelector_swigregister = _IMP_atom.NonHydrogenPDBSelector_swigregister
13062 NonHydrogenPDBSelector_swigregister(NonHydrogenPDBSelector)
13063 
13064 class NonWaterPDBSelector(NonAlternativePDBSelector):
13065  """Proxy of C++ IMP::atom::NonWaterPDBSelector class."""
13066 
13067  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
13068 
13069  def __init__(self, *args):
13070  """
13071  __init__(IMP::atom::NonWaterPDBSelector self, std::string name) -> NonWaterPDBSelector
13072  __init__(IMP::atom::NonWaterPDBSelector self) -> NonWaterPDBSelector
13073  """
13074  this = _IMP_atom.new_NonWaterPDBSelector(*args)
13075  try:
13076  self.this.append(this)
13077  except __builtin__.Exception:
13078  self.this = this
13079 
13080  def __str__(self):
13081  """__str__(NonWaterPDBSelector self) -> std::string"""
13082  return _IMP_atom.NonWaterPDBSelector___str__(self)
13083 
13084 
13085  def __repr__(self):
13086  """__repr__(NonWaterPDBSelector self) -> std::string"""
13087  return _IMP_atom.NonWaterPDBSelector___repr__(self)
13088 
13089 
13090  @staticmethod
13091  def get_from(o):
13092  return _object_cast_to_NonWaterPDBSelector(o)
13093 
13094 NonWaterPDBSelector_swigregister = _IMP_atom.NonWaterPDBSelector_swigregister
13095 NonWaterPDBSelector_swigregister(NonWaterPDBSelector)
13096 
13097 class BackbonePDBSelector(NonWaterNonHydrogenPDBSelector):
13098  """Proxy of C++ IMP::atom::BackbonePDBSelector class."""
13099 
13100  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
13101 
13102  def __init__(self, *args):
13103  """
13104  __init__(IMP::atom::BackbonePDBSelector self, std::string name) -> BackbonePDBSelector
13105  __init__(IMP::atom::BackbonePDBSelector self) -> BackbonePDBSelector
13106  """
13107  this = _IMP_atom.new_BackbonePDBSelector(*args)
13108  try:
13109  self.this.append(this)
13110  except __builtin__.Exception:
13111  self.this = this
13112 
13113  def __str__(self):
13114  """__str__(BackbonePDBSelector self) -> std::string"""
13115  return _IMP_atom.BackbonePDBSelector___str__(self)
13116 
13117 
13118  def __repr__(self):
13119  """__repr__(BackbonePDBSelector self) -> std::string"""
13120  return _IMP_atom.BackbonePDBSelector___repr__(self)
13121 
13122 
13123  @staticmethod
13124  def get_from(o):
13125  return _object_cast_to_BackbonePDBSelector(o)
13126 
13127 BackbonePDBSelector_swigregister = _IMP_atom.BackbonePDBSelector_swigregister
13128 BackbonePDBSelector_swigregister(BackbonePDBSelector)
13129 
13130 class PPDBSelector(NonAlternativePDBSelector):
13131  """Proxy of C++ IMP::atom::PPDBSelector class."""
13132 
13133  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
13134 
13135  def __init__(self, *args):
13136  """
13137  __init__(IMP::atom::PPDBSelector self, std::string name) -> PPDBSelector
13138  __init__(IMP::atom::PPDBSelector self) -> PPDBSelector
13139  """
13140  this = _IMP_atom.new_PPDBSelector(*args)
13141  try:
13142  self.this.append(this)
13143  except __builtin__.Exception:
13144  self.this = this
13145 
13146  def __str__(self):
13147  """__str__(PPDBSelector self) -> std::string"""
13148  return _IMP_atom.PPDBSelector___str__(self)
13149 
13150 
13151  def __repr__(self):
13152  """__repr__(PPDBSelector self) -> std::string"""
13153  return _IMP_atom.PPDBSelector___repr__(self)
13154 
13155 
13156  @staticmethod
13157  def get_from(o):
13158  return _object_cast_to_PPDBSelector(o)
13159 
13160 PPDBSelector_swigregister = _IMP_atom.PPDBSelector_swigregister
13161 PPDBSelector_swigregister(PPDBSelector)
13162 
13163 class AndPDBSelector(PDBSelector):
13164  """Proxy of C++ IMP::atom::AndPDBSelector class."""
13165 
13166  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
13167 
13168  def get_version_info(self):
13169  """get_version_info(AndPDBSelector self) -> VersionInfo"""
13170  return _IMP_atom.AndPDBSelector_get_version_info(self)
13171 
13172 
13173  def __init__(self, a, b):
13174  """__init__(IMP::atom::AndPDBSelector self, PDBSelector a, PDBSelector b) -> AndPDBSelector"""
13175  this = _IMP_atom.new_AndPDBSelector(a, b)
13176  try:
13177  self.this.append(this)
13178  except __builtin__.Exception:
13179  self.this = this
13180 
13181  def __str__(self):
13182  """__str__(AndPDBSelector self) -> std::string"""
13183  return _IMP_atom.AndPDBSelector___str__(self)
13184 
13185 
13186  def __repr__(self):
13187  """__repr__(AndPDBSelector self) -> std::string"""
13188  return _IMP_atom.AndPDBSelector___repr__(self)
13189 
13190 
13191  @staticmethod
13192  def get_from(o):
13193  return _object_cast_to_AndPDBSelector(o)
13194 
13195 AndPDBSelector_swigregister = _IMP_atom.AndPDBSelector_swigregister
13196 AndPDBSelector_swigregister(AndPDBSelector)
13197 
13198 class OrPDBSelector(PDBSelector):
13199  """Proxy of C++ IMP::atom::OrPDBSelector class."""
13200 
13201  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
13202 
13203  def get_version_info(self):
13204  """get_version_info(OrPDBSelector self) -> VersionInfo"""
13205  return _IMP_atom.OrPDBSelector_get_version_info(self)
13206 
13207 
13208  def __init__(self, a, b):
13209  """__init__(IMP::atom::OrPDBSelector self, PDBSelector a, PDBSelector b) -> OrPDBSelector"""
13210  this = _IMP_atom.new_OrPDBSelector(a, b)
13211  try:
13212  self.this.append(this)
13213  except __builtin__.Exception:
13214  self.this = this
13215 
13216  def __str__(self):
13217  """__str__(OrPDBSelector self) -> std::string"""
13218  return _IMP_atom.OrPDBSelector___str__(self)
13219 
13220 
13221  def __repr__(self):
13222  """__repr__(OrPDBSelector self) -> std::string"""
13223  return _IMP_atom.OrPDBSelector___repr__(self)
13224 
13225 
13226  @staticmethod
13227  def get_from(o):
13228  return _object_cast_to_OrPDBSelector(o)
13229 
13230 OrPDBSelector_swigregister = _IMP_atom.OrPDBSelector_swigregister
13231 OrPDBSelector_swigregister(OrPDBSelector)
13232 
13233 class XorPDBSelector(PDBSelector):
13234  """Proxy of C++ IMP::atom::XorPDBSelector class."""
13235 
13236  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
13237 
13238  def get_version_info(self):
13239  """get_version_info(XorPDBSelector self) -> VersionInfo"""
13240  return _IMP_atom.XorPDBSelector_get_version_info(self)
13241 
13242 
13243  def __init__(self, a, b):
13244  """__init__(IMP::atom::XorPDBSelector self, PDBSelector a, PDBSelector b) -> XorPDBSelector"""
13245  this = _IMP_atom.new_XorPDBSelector(a, b)
13246  try:
13247  self.this.append(this)
13248  except __builtin__.Exception:
13249  self.this = this
13250 
13251  def __str__(self):
13252  """__str__(XorPDBSelector self) -> std::string"""
13253  return _IMP_atom.XorPDBSelector___str__(self)
13254 
13255 
13256  def __repr__(self):
13257  """__repr__(XorPDBSelector self) -> std::string"""
13258  return _IMP_atom.XorPDBSelector___repr__(self)
13259 
13260 
13261  @staticmethod
13262  def get_from(o):
13263  return _object_cast_to_XorPDBSelector(o)
13264 
13265 XorPDBSelector_swigregister = _IMP_atom.XorPDBSelector_swigregister
13266 XorPDBSelector_swigregister(XorPDBSelector)
13267 
13268 class NotPDBSelector(PDBSelector):
13269  """Proxy of C++ IMP::atom::NotPDBSelector class."""
13270 
13271  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
13272 
13273  def get_version_info(self):
13274  """get_version_info(NotPDBSelector self) -> VersionInfo"""
13275  return _IMP_atom.NotPDBSelector_get_version_info(self)
13276 
13277 
13278  def __init__(self, a):
13279  """__init__(IMP::atom::NotPDBSelector self, PDBSelector a) -> NotPDBSelector"""
13280  this = _IMP_atom.new_NotPDBSelector(a)
13281  try:
13282  self.this.append(this)
13283  except __builtin__.Exception:
13284  self.this = this
13285 
13286  def __str__(self):
13287  """__str__(NotPDBSelector self) -> std::string"""
13288  return _IMP_atom.NotPDBSelector___str__(self)
13289 
13290 
13291  def __repr__(self):
13292  """__repr__(NotPDBSelector self) -> std::string"""
13293  return _IMP_atom.NotPDBSelector___repr__(self)
13294 
13295 
13296  @staticmethod
13297  def get_from(o):
13298  return _object_cast_to_NotPDBSelector(o)
13299 
13300 NotPDBSelector_swigregister = _IMP_atom.NotPDBSelector_swigregister
13301 NotPDBSelector_swigregister(NotPDBSelector)
13302 
13303 
13304 def get_default_pdb_selector():
13305  """get_default_pdb_selector() -> PDBSelector"""
13306  return _IMP_atom.get_default_pdb_selector()
13307 
13308 def read_pdb(*args):
13309  """
13310  read_pdb(TextInput input, Model model, PDBSelector selector, bool select_first_model=True, bool no_radii=False) -> Hierarchy
13311  read_pdb(TextInput input, Model model, PDBSelector selector, bool select_first_model=True) -> Hierarchy
13312  read_pdb(TextInput input, Model model, PDBSelector selector) -> Hierarchy
13313  read_pdb(TextInput input, Model model) -> Hierarchy
13314  read_pdb(TextInput input, int model, Hierarchy h)
13315  """
13316  return _IMP_atom.read_pdb(*args)
13317 
13318 def read_multimodel_pdb(*args):
13319  """
13320  read_multimodel_pdb(TextInput input, Model model, PDBSelector selector, bool noradii=False) -> IMP::atom::Hierarchies
13321  read_multimodel_pdb(TextInput input, Model model, PDBSelector selector) -> IMP::atom::Hierarchies
13322  read_multimodel_pdb(TextInput input, Model model) -> IMP::atom::Hierarchies
13323  """
13324  return _IMP_atom.read_multimodel_pdb(*args)
13325 
13326 def write_pdb(mhd, out, model=1):
13327  """
13328  write_pdb(Selection mhd, TextOutput out, unsigned int model=1)
13329  write_pdb(Selection mhd, TextOutput out)
13330  """
13331  return _IMP_atom.write_pdb(mhd, out, model)
13332 
13333 def write_pdb_of_c_alphas(mhd, out, model=1):
13334  """
13335  write_pdb_of_c_alphas(Selection mhd, TextOutput out, unsigned int model=1)
13336  write_pdb_of_c_alphas(Selection mhd, TextOutput out)
13337  """
13338  return _IMP_atom.write_pdb_of_c_alphas(mhd, out, model)
13339 
13340 def write_multimodel_pdb(mhd, out):
13341  """write_multimodel_pdb(IMP::atom::Hierarchies const & mhd, TextOutput out)"""
13342  return _IMP_atom.write_multimodel_pdb(mhd, out)
13343 
13344 def get_pdb_string(*args):
13345  """
13346  get_pdb_string(Vector3D v, int index=-1, AtomType at, ResidueType rt, char chain, int res_index=1, char res_icode, double occupancy=1.00, double tempFactor=0.00, IMP::atom::Element e) -> std::string
13347  get_pdb_string(Vector3D v, int index=-1, AtomType at, ResidueType rt, char chain, int res_index=1, char res_icode, double occupancy=1.00, double tempFactor=0.00) -> std::string
13348  get_pdb_string(Vector3D v, int index=-1, AtomType at, ResidueType rt, char chain, int res_index=1, char res_icode, double occupancy=1.00) -> std::string
13349  get_pdb_string(Vector3D v, int index=-1, AtomType at, ResidueType rt, char chain, int res_index=1, char res_icode) -> std::string
13350  get_pdb_string(Vector3D v, int index=-1, AtomType at, ResidueType rt, char chain, int res_index=1) -> std::string
13351  get_pdb_string(Vector3D v, int index=-1, AtomType at, ResidueType rt, char chain) -> std::string
13352  get_pdb_string(Vector3D v, int index=-1, AtomType at, ResidueType rt) -> std::string
13353  get_pdb_string(Vector3D v, int index=-1, AtomType at) -> std::string
13354  get_pdb_string(Vector3D v, int index=-1) -> std::string
13355  get_pdb_string(Vector3D v) -> std::string
13356  """
13357  return _IMP_atom.get_pdb_string(*args)
13358 
13359 def get_pdb_conect_record_string(arg1, arg2):
13360  """get_pdb_conect_record_string(int arg1, int arg2) -> std::string"""
13361  return _IMP_atom.get_pdb_conect_record_string(arg1, arg2)
13362 class WritePDBOptimizerState(IMP.OptimizerState):
13363  """Proxy of C++ IMP::atom::WritePDBOptimizerState class."""
13364 
13365  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
13366 
13367  def __init__(self, *args):
13368  """
13369  __init__(IMP::atom::WritePDBOptimizerState self, Model m, _ParticleIndexesAdaptor pis, std::string filename) -> WritePDBOptimizerState
13370  __init__(IMP::atom::WritePDBOptimizerState self, IMP::atom::Hierarchies const mh, std::string filename) -> WritePDBOptimizerState
13371  """
13372  this = _IMP_atom.new_WritePDBOptimizerState(*args)
13373  try:
13374  self.this.append(this)
13375  except __builtin__.Exception:
13376  self.this = this
13377 
13378  def get_version_info(self):
13379  """get_version_info(WritePDBOptimizerState self) -> VersionInfo"""
13380  return _IMP_atom.WritePDBOptimizerState_get_version_info(self)
13381 
13382 
13383  def __str__(self):
13384  """__str__(WritePDBOptimizerState self) -> std::string"""
13385  return _IMP_atom.WritePDBOptimizerState___str__(self)
13386 
13387 
13388  def __repr__(self):
13389  """__repr__(WritePDBOptimizerState self) -> std::string"""
13390  return _IMP_atom.WritePDBOptimizerState___repr__(self)
13391 
13392 
13393  @staticmethod
13394  def get_from(o):
13395  return _object_cast_to_WritePDBOptimizerState(o)
13396 
13397 WritePDBOptimizerState_swigregister = _IMP_atom.WritePDBOptimizerState_swigregister
13398 WritePDBOptimizerState_swigregister(WritePDBOptimizerState)
13399 
13400 
13401 def read_multimodel_mmcif(*args):
13402  """
13403  read_multimodel_mmcif(TextInput input, Model model, PDBSelector selector, bool noradii=False) -> IMP::atom::Hierarchies
13404  read_multimodel_mmcif(TextInput input, Model model, PDBSelector selector) -> IMP::atom::Hierarchies
13405  read_multimodel_mmcif(TextInput input, Model model) -> IMP::atom::Hierarchies
13406  """
13407  return _IMP_atom.read_multimodel_mmcif(*args)
13408 
13409 def read_mmcif(*args):
13410  """
13411  read_mmcif(TextInput input, Model model, PDBSelector selector, bool noradii=False) -> Hierarchy
13412  read_mmcif(TextInput input, Model model, PDBSelector selector) -> Hierarchy
13413  read_mmcif(TextInput input, Model model) -> Hierarchy
13414  """
13415  return _IMP_atom.read_mmcif(*args)
13416 
13417 def get_kt(T):
13418  """get_kt(double T) -> double"""
13419  return _IMP_atom.get_kt(T)
13420 class CAAngleRestraint(IMP.Restraint):
13421  """Proxy of C++ IMP::atom::CAAngleRestraint class."""
13422 
13423  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
13424 
13425  def __init__(self, m, p1, p2, p3, phi0, score):
13426  """__init__(IMP::atom::CAAngleRestraint self, Model m, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2, _ParticleIndexAdaptor p3, IMP::Floats phi0, IMP::Floats score) -> CAAngleRestraint"""
13427  this = _IMP_atom.new_CAAngleRestraint(m, p1, p2, p3, phi0, score)
13428  try:
13429  self.this.append(this)
13430  except __builtin__.Exception:
13431  self.this = this
13432 
13433  def do_get_inputs(self):
13434  """do_get_inputs(CAAngleRestraint self) -> IMP::ModelObjectsTemp"""
13435  return _IMP_atom.CAAngleRestraint_do_get_inputs(self)
13436 
13437 
13438  def get_version_info(self):
13439  """get_version_info(CAAngleRestraint self) -> VersionInfo"""
13440  return _IMP_atom.CAAngleRestraint_get_version_info(self)
13441 
13442 
13443  def __str__(self):
13444  """__str__(CAAngleRestraint self) -> std::string"""
13445  return _IMP_atom.CAAngleRestraint___str__(self)
13446 
13447 
13448  def __repr__(self):
13449  """__repr__(CAAngleRestraint self) -> std::string"""
13450  return _IMP_atom.CAAngleRestraint___repr__(self)
13451 
13452 
13453  @staticmethod
13454  def get_from(o):
13455  return _object_cast_to_CAAngleRestraint(o)
13456 
13457 CAAngleRestraint_swigregister = _IMP_atom.CAAngleRestraint_swigregister
13458 CAAngleRestraint_swigregister(CAAngleRestraint)
13459 
13460 class CADihedralRestraint(IMP.Restraint):
13461  """Proxy of C++ IMP::atom::CADihedralRestraint class."""
13462 
13463  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
13464 
13465  def __init__(self, m, p1, p2, p3, p4, p5, phi0, phi1, score):
13466  """__init__(IMP::atom::CADihedralRestraint self, Model m, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2, _ParticleIndexAdaptor p3, _ParticleIndexAdaptor p4, _ParticleIndexAdaptor p5, IMP::Floats phi0, IMP::Floats phi1, IMP::Floats score) -> CADihedralRestraint"""
13467  this = _IMP_atom.new_CADihedralRestraint(m, p1, p2, p3, p4, p5, phi0, phi1, score)
13468  try:
13469  self.this.append(this)
13470  except __builtin__.Exception:
13471  self.this = this
13472 
13473  def do_get_inputs(self):
13474  """do_get_inputs(CADihedralRestraint self) -> IMP::ModelObjectsTemp"""
13475  return _IMP_atom.CADihedralRestraint_do_get_inputs(self)
13476 
13477 
13478  def get_version_info(self):
13479  """get_version_info(CADihedralRestraint self) -> VersionInfo"""
13480  return _IMP_atom.CADihedralRestraint_get_version_info(self)
13481 
13482 
13483  def __str__(self):
13484  """__str__(CADihedralRestraint self) -> std::string"""
13485  return _IMP_atom.CADihedralRestraint___str__(self)
13486 
13487 
13488  def __repr__(self):
13489  """__repr__(CADihedralRestraint self) -> std::string"""
13490  return _IMP_atom.CADihedralRestraint___repr__(self)
13491 
13492 
13493  @staticmethod
13494  def get_from(o):
13495  return _object_cast_to_CADihedralRestraint(o)
13496 
13497 CADihedralRestraint_swigregister = _IMP_atom.CADihedralRestraint_swigregister
13498 CADihedralRestraint_swigregister(CADihedralRestraint)
13499 
13500 class StructureSource(IMP.Decorator):
13501  """Proxy of C++ IMP::atom::StructureSource class."""
13502 
13503  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
13504 
13505  def get_source_id(self):
13506  """get_source_id(StructureSource self) -> std::string"""
13507  return _IMP_atom.StructureSource_get_source_id(self)
13508 
13509 
13510  def get_source_chain_id(self):
13511  """get_source_chain_id(StructureSource self) -> std::string"""
13512  return _IMP_atom.StructureSource_get_source_chain_id(self)
13513 
13514 
13515  def set_source_id(self, source_id):
13516  """set_source_id(StructureSource self, std::string source_id)"""
13517  return _IMP_atom.StructureSource_set_source_id(self, source_id)
13518 
13519 
13520  def set_source_chain_id(self, source_chain_id):
13521  """set_source_chain_id(StructureSource self, std::string source_chain_id)"""
13522  return _IMP_atom.StructureSource_set_source_chain_id(self, source_chain_id)
13523 
13524 
13525  def __init__(self, *args):
13526  """
13527  __init__(IMP::atom::StructureSource self) -> StructureSource
13528  __init__(IMP::atom::StructureSource self, Model m, ParticleIndex id) -> StructureSource
13529  __init__(IMP::atom::StructureSource self, _ParticleAdaptor d) -> StructureSource
13530  """
13531  this = _IMP_atom.new_StructureSource(*args)
13532  try:
13533  self.this.append(this)
13534  except __builtin__.Exception:
13535  self.this = this
13536 
13537  def get_is_setup(*args):
13538  """
13539  get_is_setup(Model m, ParticleIndex pi) -> bool
13540  get_is_setup(_ParticleAdaptor p) -> bool
13541  """
13542  return _IMP_atom.StructureSource_get_is_setup(*args)
13543 
13544  get_is_setup = staticmethod(get_is_setup)
13545 
13546  def show(self, *args):
13547  """
13548  show(StructureSource self, _ostream out)
13549  show(StructureSource self)
13550  """
13551  return _IMP_atom.StructureSource_show(self, *args)
13552 
13553 
13554  def setup_particle(*args):
13555  """
13556  setup_particle(Model m, ParticleIndex pi, std::string source_id, std::string source_chain_id) -> StructureSource
13557  setup_particle(_ParticleAdaptor decorator, std::string source_id, std::string source_chain_id) -> StructureSource
13558  """
13559  return _IMP_atom.StructureSource_setup_particle(*args)
13560 
13561  setup_particle = staticmethod(setup_particle)
13562 
13563  def add_attribute(self, *args):
13564  """
13565  add_attribute(StructureSource self, FloatKey k, IMP::Float v, bool opt)
13566  add_attribute(StructureSource self, FloatKey a0, IMP::Float a1)
13567  add_attribute(StructureSource self, IntKey a0, IMP::Int a1)
13568  add_attribute(StructureSource self, StringKey a0, IMP::String a1)
13569  add_attribute(StructureSource self, ParticleIndexKey a0, Particle a1)
13570  add_attribute(StructureSource self, ObjectKey a0, Object a1)
13571  """
13572  return _IMP_atom.StructureSource_add_attribute(self, *args)
13573 
13574 
13575  def get_value(self, *args):
13576  """
13577  get_value(StructureSource self, FloatKey a0) -> IMP::Float
13578  get_value(StructureSource self, IntKey a0) -> IMP::Int
13579  get_value(StructureSource self, StringKey a0) -> IMP::String
13580  get_value(StructureSource self, ParticleIndexKey a0) -> Particle
13581  get_value(StructureSource self, ObjectKey a0) -> Object
13582  """
13583  return _IMP_atom.StructureSource_get_value(self, *args)
13584 
13585 
13586  def set_value(self, *args):
13587  """
13588  set_value(StructureSource self, FloatKey a0, IMP::Float a1)
13589  set_value(StructureSource self, IntKey a0, IMP::Int a1)
13590  set_value(StructureSource self, StringKey a0, IMP::String a1)
13591  set_value(StructureSource self, ParticleIndexKey a0, Particle a1)
13592  set_value(StructureSource self, ObjectKey a0, Object a1)
13593  """
13594  return _IMP_atom.StructureSource_set_value(self, *args)
13595 
13596 
13597  def remove_attribute(self, *args):
13598  """
13599  remove_attribute(StructureSource self, FloatKey a0)
13600  remove_attribute(StructureSource self, IntKey a0)
13601  remove_attribute(StructureSource self, StringKey a0)
13602  remove_attribute(StructureSource self, ParticleIndexKey a0)
13603  remove_attribute(StructureSource self, ObjectKey a0)
13604  """
13605  return _IMP_atom.StructureSource_remove_attribute(self, *args)
13606 
13607 
13608  def has_attribute(self, *args):
13609  """
13610  has_attribute(StructureSource self, FloatKey a0) -> bool
13611  has_attribute(StructureSource self, IntKey a0) -> bool
13612  has_attribute(StructureSource self, StringKey a0) -> bool
13613  has_attribute(StructureSource self, ParticleIndexKey a0) -> bool
13614  has_attribute(StructureSource self, ObjectKey a0) -> bool
13615  """
13616  return _IMP_atom.StructureSource_has_attribute(self, *args)
13617 
13618 
13619  def get_derivative(self, a0):
13620  """get_derivative(StructureSource self, FloatKey a0) -> double"""
13621  return _IMP_atom.StructureSource_get_derivative(self, a0)
13622 
13623 
13624  def get_name(self):
13625  """get_name(StructureSource self) -> std::string"""
13626  return _IMP_atom.StructureSource_get_name(self)
13627 
13628 
13629  def clear_caches(self):
13630  """clear_caches(StructureSource self)"""
13631  return _IMP_atom.StructureSource_clear_caches(self)
13632 
13633 
13634  def set_name(self, a0):
13635  """set_name(StructureSource self, std::string a0)"""
13636  return _IMP_atom.StructureSource_set_name(self, a0)
13637 
13638 
13639  def set_check_level(self, a0):
13640  """set_check_level(StructureSource self, IMP::CheckLevel a0)"""
13641  return _IMP_atom.StructureSource_set_check_level(self, a0)
13642 
13643 
13644  def add_to_derivative(self, a0, a1, a2):
13645  """add_to_derivative(StructureSource self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
13646  return _IMP_atom.StructureSource_add_to_derivative(self, a0, a1, a2)
13647 
13648 
13649  def set_is_optimized(self, a0, a1):
13650  """set_is_optimized(StructureSource self, FloatKey a0, bool a1)"""
13651  return _IMP_atom.StructureSource_set_is_optimized(self, a0, a1)
13652 
13653 
13654  def get_is_optimized(self, a0):
13655  """get_is_optimized(StructureSource self, FloatKey a0) -> bool"""
13656  return _IMP_atom.StructureSource_get_is_optimized(self, a0)
13657 
13658 
13659  def get_check_level(self):
13660  """get_check_level(StructureSource self) -> IMP::CheckLevel"""
13661  return _IMP_atom.StructureSource_get_check_level(self)
13662 
13663 
13664  def __eq__(self, *args):
13665  """
13666  __eq__(StructureSource self, StructureSource o) -> bool
13667  __eq__(StructureSource self, Particle d) -> bool
13668  """
13669  return _IMP_atom.StructureSource___eq__(self, *args)
13670 
13671 
13672  def __ne__(self, *args):
13673  """
13674  __ne__(StructureSource self, StructureSource o) -> bool
13675  __ne__(StructureSource self, Particle d) -> bool
13676  """
13677  return _IMP_atom.StructureSource___ne__(self, *args)
13678 
13679 
13680  def __le__(self, *args):
13681  """
13682  __le__(StructureSource self, StructureSource o) -> bool
13683  __le__(StructureSource self, Particle d) -> bool
13684  """
13685  return _IMP_atom.StructureSource___le__(self, *args)
13686 
13687 
13688  def __lt__(self, *args):
13689  """
13690  __lt__(StructureSource self, StructureSource o) -> bool
13691  __lt__(StructureSource self, Particle d) -> bool
13692  """
13693  return _IMP_atom.StructureSource___lt__(self, *args)
13694 
13695 
13696  def __ge__(self, *args):
13697  """
13698  __ge__(StructureSource self, StructureSource o) -> bool
13699  __ge__(StructureSource self, Particle d) -> bool
13700  """
13701  return _IMP_atom.StructureSource___ge__(self, *args)
13702 
13703 
13704  def __gt__(self, *args):
13705  """
13706  __gt__(StructureSource self, StructureSource o) -> bool
13707  __gt__(StructureSource self, Particle d) -> bool
13708  """
13709  return _IMP_atom.StructureSource___gt__(self, *args)
13710 
13711 
13712  def __hash__(self):
13713  """__hash__(StructureSource self) -> std::size_t"""
13714  return _IMP_atom.StructureSource___hash__(self)
13715 
13716 
13717  def __str__(self):
13718  """__str__(StructureSource self) -> std::string"""
13719  return _IMP_atom.StructureSource___str__(self)
13720 
13721 
13722  def __repr__(self):
13723  """__repr__(StructureSource self) -> std::string"""
13724  return _IMP_atom.StructureSource___repr__(self)
13725 
13726  __swig_destroy__ = _IMP_atom.delete_StructureSource
13727  __del__ = lambda self: None
13728 StructureSource_swigregister = _IMP_atom.StructureSource_swigregister
13729 StructureSource_swigregister(StructureSource)
13730 
13731 def StructureSource_get_is_setup(*args):
13732  """
13733  get_is_setup(Model m, ParticleIndex pi) -> bool
13734  StructureSource_get_is_setup(_ParticleAdaptor p) -> bool
13735  """
13736  return _IMP_atom.StructureSource_get_is_setup(*args)
13737 
13738 def StructureSource_setup_particle(*args):
13739  """
13740  setup_particle(Model m, ParticleIndex pi, std::string source_id, std::string source_chain_id) -> StructureSource
13741  StructureSource_setup_particle(_ParticleAdaptor decorator, std::string source_id, std::string source_chain_id) -> StructureSource
13742  """
13743  return _IMP_atom.StructureSource_setup_particle(*args)
13744 
13745 
13746 def __lshift__(*args):
13747  """
13748  __lshift__(_ostream out, Bonded n) -> _ostream
13749  __lshift__(_ostream out, Bond n) -> _ostream
13750  __lshift__(_ostream out, Hierarchy n) -> _ostream
13751  __lshift__(_ostream out, Angle n) -> _ostream
13752  __lshift__(_ostream out, Dihedral n) -> _ostream
13753  __lshift__(_ostream out, CenterOfMass n) -> _ostream
13754  __lshift__(_ostream out, Diffusion n) -> _ostream
13755  __lshift__(_ostream out, RigidBodyDiffusion n) -> _ostream
13756  __lshift__(_ostream out, TAMDParticle n) -> _ostream
13757  __lshift__(_ostream out, Chain n) -> _ostream
13758  __lshift__(_ostream out, Charged n) -> _ostream
13759  __lshift__(_ostream out, Domain n) -> _ostream
13760  __lshift__(_ostream out, LennardJones n) -> _ostream
13761  __lshift__(_ostream out, Fragment n) -> _ostream
13762  __lshift__(_ostream out, SecondaryStructureResidue n) -> _ostream
13763  __lshift__(_ostream out, Atom n) -> _ostream
13764  __lshift__(_ostream out, Residue n) -> _ostream
13765  __lshift__(_ostream out, Representation n) -> _ostream
13766  __lshift__(_ostream out, State n) -> _ostream
13767  __lshift__(_ostream out, Molecule n) -> _ostream
13768  __lshift__(_ostream out, Copy n) -> _ostream
13769  __lshift__(_ostream out, StructureSource n) -> _ostream
13770  """
13771  return _IMP_atom.__lshift__(*args)
13772 class HelixRestraint(IMP.Restraint):
13773  """Proxy of C++ IMP::atom::HelixRestraint class."""
13774 
13775  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
13776 
13777  def __init__(self, rs, ideal=True):
13778  """
13779  __init__(IMP::atom::HelixRestraint self, IMP::atom::Residues rs, bool ideal=True) -> HelixRestraint
13780  __init__(IMP::atom::HelixRestraint self, IMP::atom::Residues rs) -> HelixRestraint
13781  """
13782  this = _IMP_atom.new_HelixRestraint(rs, ideal)
13783  try:
13784  self.this.append(this)
13785  except __builtin__.Exception:
13786  self.this = this
13787 
13788  def get_number_of_bonds(self):
13789  """get_number_of_bonds(HelixRestraint self) -> int"""
13790  return _IMP_atom.HelixRestraint_get_number_of_bonds(self)
13791 
13792 
13793  def get_number_of_dihedrals(self):
13794  """get_number_of_dihedrals(HelixRestraint self) -> int"""
13795  return _IMP_atom.HelixRestraint_get_number_of_dihedrals(self)
13796 
13797 
13798  def do_get_inputs(self):
13799  """do_get_inputs(HelixRestraint self) -> IMP::ModelObjectsTemp"""
13800  return _IMP_atom.HelixRestraint_do_get_inputs(self)
13801 
13802 
13803  def get_version_info(self):
13804  """get_version_info(HelixRestraint self) -> VersionInfo"""
13805  return _IMP_atom.HelixRestraint_get_version_info(self)
13806 
13807 
13808  def __str__(self):
13809  """__str__(HelixRestraint self) -> std::string"""
13810  return _IMP_atom.HelixRestraint___str__(self)
13811 
13812 
13813  def __repr__(self):
13814  """__repr__(HelixRestraint self) -> std::string"""
13815  return _IMP_atom.HelixRestraint___repr__(self)
13816 
13817 
13818  @staticmethod
13819  def get_from(o):
13820  return _object_cast_to_HelixRestraint(o)
13821 
13822 HelixRestraint_swigregister = _IMP_atom.HelixRestraint_swigregister
13823 HelixRestraint_swigregister(HelixRestraint)
13824 
13825 
13827  """get_transformation_aligning_first_to_second(Selection s1, Selection s2) -> Transformation3D"""
13828  return _IMP_atom.get_transformation_aligning_first_to_second(s1, s2)
13829 
13830 def show_molecular_hierarchy(*args):
13831  """
13832  show_molecular_hierarchy(Hierarchy h, _ostream out) -> _ostream
13833  show_molecular_hierarchy(Hierarchy h) -> _ostream
13834  """
13835  return _IMP_atom.show_molecular_hierarchy(*args)
13836 class CHARMMBond(object):
13837  """Proxy of C++ IMP::atom::CHARMMConnection<(2)> class."""
13838 
13839  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
13840  __repr__ = _swig_repr
13841 
13842  def __init__(self, atoms):
13843  """__init__(IMP::atom::CHARMMConnection<(2)> self, IMP::Strings const & atoms) -> CHARMMBond"""
13844  this = _IMP_atom.new_CHARMMBond(atoms)
13845  try:
13846  self.this.append(this)
13847  except __builtin__.Exception:
13848  self.this = this
13849 
13850  def get_endpoint(self, i):
13851  """get_endpoint(CHARMMBond self, unsigned int i) -> CHARMMBondEndpoint"""
13852  return _IMP_atom.CHARMMBond_get_endpoint(self, i)
13853 
13854 
13855  def get_contains_atom(self, name):
13856  """get_contains_atom(CHARMMBond self, std::string name) -> bool"""
13857  return _IMP_atom.CHARMMBond_get_contains_atom(self, name)
13858 
13859 
13860  def show(self, *args):
13861  """
13862  show(CHARMMBond self, _ostream out)
13863  show(CHARMMBond self)
13864  """
13865  return _IMP_atom.CHARMMBond_show(self, *args)
13866 
13867  __swig_destroy__ = _IMP_atom.delete_CHARMMBond
13868  __del__ = lambda self: None
13869 CHARMMBond_swigregister = _IMP_atom.CHARMMBond_swigregister
13870 CHARMMBond_swigregister(CHARMMBond)
13871 
13872 class CHARMMAngle(object):
13873  """Proxy of C++ IMP::atom::CHARMMConnection<(3)> class."""
13874 
13875  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
13876  __repr__ = _swig_repr
13877 
13878  def __init__(self, atoms):
13879  """__init__(IMP::atom::CHARMMConnection<(3)> self, IMP::Strings const & atoms) -> CHARMMAngle"""
13880  this = _IMP_atom.new_CHARMMAngle(atoms)
13881  try:
13882  self.this.append(this)
13883  except __builtin__.Exception:
13884  self.this = this
13885 
13886  def get_endpoint(self, i):
13887  """get_endpoint(CHARMMAngle self, unsigned int i) -> CHARMMBondEndpoint"""
13888  return _IMP_atom.CHARMMAngle_get_endpoint(self, i)
13889 
13890 
13891  def get_contains_atom(self, name):
13892  """get_contains_atom(CHARMMAngle self, std::string name) -> bool"""
13893  return _IMP_atom.CHARMMAngle_get_contains_atom(self, name)
13894 
13895 
13896  def show(self, *args):
13897  """
13898  show(CHARMMAngle self, _ostream out)
13899  show(CHARMMAngle self)
13900  """
13901  return _IMP_atom.CHARMMAngle_show(self, *args)
13902 
13903  __swig_destroy__ = _IMP_atom.delete_CHARMMAngle
13904  __del__ = lambda self: None
13905 CHARMMAngle_swigregister = _IMP_atom.CHARMMAngle_swigregister
13906 CHARMMAngle_swigregister(CHARMMAngle)
13907 
13908 
13909 def _get_native_overlap_cpp(m1, m2, threshold):
13910  """_get_native_overlap_cpp(IMP::Vector< IMP::algebra::VectorD< 3 > > const & m1, IMP::Vector< IMP::algebra::VectorD< 3 > > const & m2, double threshold) -> double"""
13911  return _IMP_atom._get_native_overlap_cpp(m1, m2, threshold)
13912 
13913 def _get_drmsd_cpp(m0, m1):
13914  """_get_drmsd_cpp(IMP::Vector< IMP::algebra::VectorD< 3 > > const & m0, IMP::Vector< IMP::algebra::VectorD< 3 > > const & m1) -> double"""
13915  return _IMP_atom._get_drmsd_cpp(m0, m1)
13916 
13917 def _get_drmsd_Q_cpp(m0, m1, threshold):
13918  """_get_drmsd_Q_cpp(IMP::Vector< IMP::algebra::VectorD< 3 > > const & m0, IMP::Vector< IMP::algebra::VectorD< 3 > > const & m1, double threshold) -> double"""
13919  return _IMP_atom._get_drmsd_Q_cpp(m0, m1, threshold)
13920 
13921 def _get_drms_cpp(m1, m2):
13922  """_get_drms_cpp(IMP::Vector< IMP::algebra::VectorD< 3 > > const & m1, IMP::Vector< IMP::algebra::VectorD< 3 > > const & m2) -> double"""
13923  return _IMP_atom._get_drms_cpp(m1, m2)
13924 
13925 def _get_rigid_bodies_drms_cpp(m1, m2, ranges):
13926  """_get_rigid_bodies_drms_cpp(IMP::Vector< IMP::algebra::VectorD< 3 > > const & m1, IMP::Vector< IMP::algebra::VectorD< 3 > > const & m2, IMP::IntRanges const & ranges) -> double"""
13927  return _IMP_atom._get_rigid_bodies_drms_cpp(m1, m2, ranges)
13928 
13929 def get_native_overlap(a, b, d):
13930  va= [IMP.algebra.get_vector(x) for x in a]
13931  vb= [IMP.algebra.get_vector(x) for x in b]
13932  return _get_native_overlap_cpp(va, vb, d)
13933 
13934 def get_drmsd(a, b):
13935  va= [IMP.algebra.get_vector(x) for x in a]
13936  vb= [IMP.algebra.get_vector(x) for x in b]
13937  return _get_drmsd_cpp(va, vb)
13938 
13939 def get_drms(a, b):
13940  va= [IMP.algebra.get_vector(x) for x in a]
13941  vb= [IMP.algebra.get_vector(x) for x in b]
13942  return _get_drms_cpp(va, vb)
13943 
13944 def get_drmsd_Q(a, b, t):
13945  va= [IMP.algebra.get_vector(x) for x in a]
13946  vb= [IMP.algebra.get_vector(x) for x in b]
13947  return _get_drmsd_Q_cpp(va, vb, t)
13948 
13949 def get_rigid_bodies_drms(a, b, ranges):
13950  va= [IMP.algebra.get_vector(x) for x in a]
13951  vb= [IMP.algebra.get_vector(x) for x in b]
13952 #rs = [IMP.IntRange(r[0],r[1]) for r in ranges]
13953  return _get_rigid_bodies_drms_cpp(va, vb, ranges)
13954 
13955 
13956 
13957 def get_module_version():
13958  """get_module_version() -> std::string const"""
13959  return _IMP_atom.get_module_version()
13960 
13961 def get_example_path(fname):
13962  """get_example_path(std::string fname) -> std::string"""
13963  return _IMP_atom.get_example_path(fname)
13964 
13965 def get_data_path(fname):
13966  """get_data_path(std::string fname) -> std::string"""
13967  return _IMP_atom.get_data_path(fname)
13968 
13969 from . import _version_check
13970 _version_check.check_version(get_module_version())
13971 __version__ = get_module_version()
13972 
13973 
13974 
A base class for geometry contained in particles.
A base class for modifiers of ParticlesTemp.
AtomType add_atom_type(std::string name, Element e)
Create a new AtomType.
double get_kt(double T)
Return kT for a given temperature in units of [kcal/mol].
double get_volume_from_residue_type(ResidueType rt)
Return an estimate for the volume of a given residue.
Abstract class for scoring object(s) of type ParticleIndexPair.
Definition: PairScore.h:37
A shared container for Pairs.
Definition: PairContainer.h:37
CHARMMParameters * get_heavy_atom_CHARMM_parameters()
double get_einstein_rotational_diffusion_coefficient(double r, double temp=-1)
Float get_secondary_structure_match_score(SecondaryStructureResidue ssr1, SecondaryStructureResidue ssr2)
Compares the secondary structure probabilities of two residues.
double get_rigid_bodies_drms(const Vector3DsOrXYZs0 &m1, const Vector3DsOrXYZs1 &m2, const IMP::IntRanges &ranges)
DRMS between two sets of rigid bodies.
Chain get_chain(Hierarchy h)
Get the containing chain or Chain() if there is none.
CheckLevel get_check_level()
Get the current audit mode.
Definition: exception.h:81
setup
Definition: setup.py:1
Atoms get_phi_dihedral_atoms(Residue rd)
Return the atoms comprising the phi dihedral.
void show_molecular_hierarchy(Hierarchy h)
Print out the molecular hierarchy.
double get_drms(const Vector3DsOrXYZs0 &m1, const Vector3DsOrXYZs1 &m2)
void remove_charmm_untyped_atoms(Hierarchy hierarchy)
Remove any atom from the Hierarchy that does not have a CHARMM type.
double get_protein_density_from_reference(ProteinDensityReference densityReference)
void show_with_representations(Hierarchy h, std::ostream &out=std::cout)
Traverse through the tree and show atom info, including representations.
Hierarchy create_simplified_from_volume(Hierarchy h, double resolution)
void add_particles(RMF::FileHandle fh, const ParticlesTemp &hs)
double get_spring_constant_in_femto_newtons_per_angstrom(double k_in_kcal_per_mol_per_angstrom_square)
Convert spring constant from kcal/mol/A^2 to femtonewton/A.
double get_native_overlap(const Vector3DsOrXYZs0 &m1, const Vector3DsOrXYZs1 &m2, double threshold)
Computes the native overlap between two sets of 3D points.
Various classes to hold sets of particles.
The base class for geometry.
IMP::core::RigidBody create_compatible_rigid_body(Hierarchy h, Hierarchy reference)
Rigidify a molecule or collection of molecules.
Hierarchy create_simplified_along_backbone(Hierarchy input, int num_res, bool keep_detailed=false)
double get_drmsd(const Vector3DsOrXYZs0 &m0, const Vector3DsOrXYZs1 &m1)
Calculate distance the root mean square deviation between two sets of 3D points.
Definition: atom/distance.h:49
Vector< VectorD< D > > get_vertices(const BoundingBoxD< D > &bb)
Return a list of the 2^D bounding points for the bounding box.
Definition: BoundingBoxD.h:274
double get_mass(ResidueType c)
Get the mass from the residue type.
void add_radii(Hierarchy d, const ForceFieldParameters *ffp=get_all_atom_CHARMM_parameters(), FloatKey radius_key=FloatKey("radius"))
A base class for geometry from a set of particles.
double get_dihedral(XYZ a, XYZ b, XYZ c, XYZ d)
Compute the dihedral angle (in radians) between the four particles.
double get_mass_from_number_of_residues(unsigned int num_aa)
Estimate the mass of a protein from the number of amino acids.
Make CGAL functionality available to IMP.
Provenance create_clone(Provenance p)
Clone provenance (including previous provenance)
void write_pdb(const Selection &mhd, TextOutput out, unsigned int model=1)
void setup_as_approximation(Particle *h, const ParticlesTemp &other)
ParticlesTemp get_particles(Model *m, const ParticleIndexes &ps)
double get_mass_from_volume(double v, ProteinDensityReference ref=ALBER)
Estimate the mass of a protein from its volume.
void destroy_bond(Bond b)
Destroy the bond connecting two particles.
HierarchyTree get_hierarchy_tree(Hierarchy h)
Get a graph for the passed Hierarchy.
void add_particle(RMF::FileHandle fh, Particle *hs)
Atoms get_charmm_untyped_atoms(Hierarchy hierarchy)
Get all atoms in the Hierarchy that do not have CHARMM types.
std::string get_data_path(std::string file_name)
Return the full path to one of this module's data files.
char get_one_letter_code(ResidueType c)
Get the 1-letter amino acid code from the residue type.
Atom get_atom(Residue rd, AtomType at)
Return a particle atom from the residue.
Composable functors to implement scores via compile-time composition.
double get_angle(const Line3D &a, const Line3D &b)
Get angle in radians between two lines around their closest points.
Restraint * create_excluded_volume_restraint(const Hierarchies &hs, double resolution=-1)
Bond create_custom_bond(Bonded a, Bonded b, Float length, Float stiffness=-1)
Connect the two wrapped particles by a custom bond.
void write_pdb_of_c_alphas(const Selection &mhd, TextOutput out, unsigned int model=1)
Write a hierarchy to a PDB as C_alpha atoms.
Hierarchies read_multimodel_mmcif(TextInput input, Model *model, PDBSelector *selector=get_default_pdb_selector())
Read all models from the mmCIF file.
double get_kd(double na, double nb, double nab, double volume)
Definition: estimates.h:101
double get_diffusion_angle(double D, double dtfs)
IMP::algebra::Transformation3D get_transformation_aligning_first_to_second(const Vector3DsOrXYZs0 &source, const Vector3DsOrXYZs1 &target)
Compute the rigid transform bringing the first point set to the second.
bool get_atom_type_exists(std::string name)
Return true if that atom type already exists.
double get_volume(const BoundingBoxD< D > &bb)
See BoundingBoxD.
Definition: BoundingBoxD.h:163
FloatPair get_component_placement_score(const core::XYZs &ref1, const core::XYZs &ref2, const core::XYZs &mdl1, const core::XYZs &mdl2)
Measure the difference between two placements of the same set of points.
void transform(Hierarchy h, const algebra::Transformation3D &tr)
Transform a hierarchy. This is aware of rigid bodies.
core::XYZR create_cover(const Selection &s, std::string name=std::string())
double get_volume_from_mass(double m, ProteinDensityReference ref=ALBER)
Estimate the volume of a protein from its mass.
Ints get_index(const ParticlesTemp &particles, const Subset &subset, const Subsets &excluded)
Common base class for heavy weight IMP objects.
Definition: Object.h:106
Hierarchy create_protein(Model *m, std::string name, double target_radius, int number_of_residues, int first_residue_index=0, double volume=-1)
Create a coarse grained molecule.
Atoms get_psi_dihedral_atoms(Residue rd)
Return the atoms comprising the psi dihedral.
Abstract class for scoring object(s) of type ParticleIndex.
ParticlesTemp get_order(const Subset &s, const SubsetFilterTables &sft)
Bond create_bond(Bonded a, Bonded b, Int t)
Connect the two wrapped particles by a bond.
double get_rotational_diffusion_coefficient(const algebra::Rotation3Ds &orientations, double dt)
Hierarchy read_mmcif(TextInput input, Model *model, PDBSelector *selector=get_default_pdb_selector())
Read all the molecules in the first model of the mmCIF file.
Base class for all optimizers.
Definition: Optimizer.h:46
double get_rmsd(const Vector3DsOrXYZs0 &m1, const Vector3DsOrXYZs1 &m2)
Hierarchy get_previous_residue(Residue rd)
Return the residue from the same chain with one lower index.
SecondaryStructureResidue setup_coarse_secondary_structure_residue(const Particles &ssr_ps, Model *mdl, bool winner_takes_all_per_res=false)
Coarsen some SecondaryStructureResidues.
double get_molarity(double n, double volume)
Definition: estimates.h:92
boost::graph HierarchyTree
A graph for representing a Hierarchy so you can view it nicely.
Hierarchy read_mol2(TextInput mol2_file, Model *model, Mol2Selector *mol2sel=nullptr)
Create a hierarchy from a Mol2 file.
Version and module information for Objects.
Definition: VersionInfo.h:28
double get_radius_of_gyration(const Vector3Ds &ps)
Return the radius of gyration of a set of points.
Definition: Vector3D.h:77
A decorator for a particle with x,y,z coordinates.
Definition: XYZ.h:30
Restraint * create_internal_connectivity_restraint(const Selection &s, double k, std::string name="Connectivity%1%")
Create a restraint connecting the selection.
void write_mol2(Hierarchy rhd, TextOutput file_name)
Write a ligand hierarchy as a mol2 file.
Hierarchy read_pdb(TextInput input, Model *model, PDBSelector *selector=get_default_pdb_selector(), bool select_first_model=true)
Read all the molecules in the first model of the PDB file.
int get_state_index(Hierarchy h)
Walk up the hierarchy to find the current state.
SecondaryStructureResidues setup_coarse_secondary_structure_residues(const Particles &ssr_ps, Model *mdl, int coarse_factor, int start_res_num, bool winner_takes_all_per_res=false)
void add_protein_ligand_score_data(Hierarchy h)
Interface to specialized Particle types (e.g. atoms)
Definition: Decorator.h:118
std::string get_molecule_name(Hierarchy h)
std::ostream & show(Hierarchy h, std::ostream &out=std::cout)
Print the hierarchy using a given decorator to display each node.
double get_pairwise_rmsd_score(const core::XYZs &ref1, const core::XYZs &ref2, const core::XYZs &mdl1, const core::XYZs &mdl2)
Measure the RMSD between two placements of the same set of points.
double get_force_in_femto_newtons(double force_in_kcal_per_mol_per_angstrom)
Convert force from kcal/mol/A to femtonewtons.
Basic functionality that is expected to be used by a wide variety of IMP users.
Abstract predicate function.
Definition: PairPredicate.h:31
General purpose algebraic and geometric methods that are expected to be used by a wide variety of IMP...
Hierarchies read_multimodel_pdb(TextInput input, Model *model, PDBSelector *selector=get_default_pdb_selector())
std::string get_example_path(std::string file_name)
Return the full path to one of this module's example files.
Residue get_residue(Atom d, bool nothrow=false)
Return the Residue containing this atom.
Shared optimizer state that is invoked upon commitment of new coordinates.
Hierarchy get_root(Hierarchy h)
Return the root of the hierarchy.
Abstract class to implement hierarchical methods.
Definition: Refiner.h:34
void add_dope_score_data(atom::Hierarchy h)
Bond get_bond(Bonded a, Bonded b)
Get the bond between two particles.
std::string show_graphviz(Graph g)
Restraint * create_distance_restraint(const Selection &n0, const Selection &n1, double x0, double k, std::string name="Distance%1%")
Representation get_representation(Hierarchy h, bool nothrow=false)
Return the Representation object containing this hierarchy.
FloatPair get_placement_score(const core::XYZs &source, const core::XYZs &target)
Measure the difference between two placements of the same set of points.
void write_multimodel_pdb(const Hierarchies &mhd, TextOutput out)
int get_copy_index(Hierarchy h)
Walk up the hierarchy to find the current copy index.
A decorator for helping deal with a generalized hierarchy.
double get_maximum_time_step_estimate(BrownianDynamics *bd)
double get_diffusion_coefficient(const algebra::Vector3Ds &displacements, double dt)
double get_surface_area(const Geometry &)
Compute the surface area of any volumetric object.
double get_resolution(Model *m, ParticleIndex pi)
Estimate the resolution of the hierarchy as used by Representation.
double get_rmsd_transforming_first(const Transformation3D &tr, const Vector3DsOrXYZs0 &m1, const Vector3DsOrXYZs1 &m2)
Calculate the root mean square deviation between two sets of 3D points.
Hierarchy create_simplified_assembly_from_volume(Hierarchy h, double resolution)
Output IMP model data in various file formats.
std::string get_chain_id(Hierarchy h)
Walk up the hierarchy to determine the chain id.
IMP::core::RigidBody create_rigid_body(const Hierarchies &h, std::string name=std::string("created rigid body"))
Rigidify a molecule or collection of molecules.
CHARMMParameters * get_all_atom_CHARMM_parameters()
Hierarchies get_leaves(const Selection &h)
double get_einstein_diffusion_coefficient(double r, double temp=-1)
double get_drmsd_Q(const Vector3DsOrXYZs0 &m0, const Vector3DsOrXYZs1 &m1, double threshold)
Definition: atom/distance.h:85
DensityMap * get_segment(DensityMap *map_to_segment, int nx_start, int nx_end, int ny_start, int ny_end, int nz_start, int nz_end)
Get a segment of the map according to xyz indexes.
Applies a PairScore to each Pair in a list.
Hierarchy get_next_residue(Residue rd)
Return the residue from the same chain with one higher index.
Restraint * create_connectivity_restraint(const Selections &s, double k, std::string name="Connectivity%1%")
Create a restraint connecting the selections.
void add_bonds(Hierarchy d, const ForceFieldParameters *ffp=get_all_atom_CHARMM_parameters())
void set_check_level(CheckLevel tf)
Control runtime checks in the code.
Definition: exception.h:73
double get_diffusion_length(double D, double t)
A restraint is a term in an IMP ScoringFunction.
Definition: Restraint.h:54
A decorator for a particle with x,y,z coordinates and a radius.
Definition: XYZR.h:27