IMP logo
IMP Reference Guide  2.6.2
The Integrative Modeling Platform
atom/__init__.py
1 # This file was automatically generated by SWIG (http://www.swig.org).
2 # Version 3.0.8
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-2016 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
16 if version_info >= (2, 6, 0):
17  def swig_import_helper():
18  from os.path import dirname
19  import imp
20  fp = None
21  try:
22  fp, pathname, description = imp.find_module('_IMP_atom', [dirname(__file__)])
23  except ImportError:
24  import _IMP_atom
25  return _IMP_atom
26  if fp is not None:
27  try:
28  _mod = imp.load_module('_IMP_atom', fp, pathname, description)
29  finally:
30  fp.close()
31  return _mod
32  _IMP_atom = swig_import_helper()
33  del swig_import_helper
34 else:
35  import _IMP_atom
36 del version_info
37 try:
38  _swig_property = property
39 except NameError:
40  pass # Python < 2.2 doesn't have 'property'.
41 
42 
43 def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
44  if (name == "thisown"):
45  return self.this.own(value)
46  if (name == "this"):
47  if type(value).__name__ == 'SwigPyObject':
48  self.__dict__[name] = value
49  return
50  method = class_type.__swig_setmethods__.get(name, None)
51  if method:
52  return method(self, value)
53  if (not static):
54  object.__setattr__(self, name, value)
55  else:
56  raise AttributeError("You cannot add attributes to %s" % self)
57 
58 
59 def _swig_setattr(self, class_type, name, value):
60  return _swig_setattr_nondynamic(self, class_type, name, value, 0)
61 
62 
63 def _swig_getattr_nondynamic(self, class_type, name, static=1):
64  if (name == "thisown"):
65  return self.this.own()
66  method = class_type.__swig_getmethods__.get(name, None)
67  if method:
68  return method(self)
69  if (not static):
70  return object.__getattr__(self, name)
71  else:
72  raise AttributeError(name)
73 
74 def _swig_getattr(self, class_type, name):
75  return _swig_getattr_nondynamic(self, class_type, name, 0)
76 
77 
78 def _swig_repr(self):
79  try:
80  strthis = "proxy of " + self.this.__repr__()
81  except Exception:
82  strthis = ""
83  return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
84 
85 try:
86  _object = object
87  _newclass = 1
88 except AttributeError:
89  class _object:
90  pass
91  _newclass = 0
92 
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 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 
224 _IMP_atom.IMP_DEBUG_swigconstant(_IMP_atom)
225 IMP_DEBUG = _IMP_atom.IMP_DEBUG
226 
227 _IMP_atom.IMP_RELEASE_swigconstant(_IMP_atom)
228 IMP_RELEASE = _IMP_atom.IMP_RELEASE
229 
230 _IMP_atom.IMP_SILENT_swigconstant(_IMP_atom)
231 IMP_SILENT = _IMP_atom.IMP_SILENT
232 
233 _IMP_atom.IMP_PROGRESS_swigconstant(_IMP_atom)
234 IMP_PROGRESS = _IMP_atom.IMP_PROGRESS
235 
236 _IMP_atom.IMP_TERSE_swigconstant(_IMP_atom)
237 IMP_TERSE = _IMP_atom.IMP_TERSE
238 
239 _IMP_atom.IMP_VERBOSE_swigconstant(_IMP_atom)
240 IMP_VERBOSE = _IMP_atom.IMP_VERBOSE
241 
242 _IMP_atom.IMP_MEMORY_swigconstant(_IMP_atom)
243 IMP_MEMORY = _IMP_atom.IMP_MEMORY
244 
245 _IMP_atom.IMP_NONE_swigconstant(_IMP_atom)
246 IMP_NONE = _IMP_atom.IMP_NONE
247 
248 _IMP_atom.IMP_USAGE_swigconstant(_IMP_atom)
249 IMP_USAGE = _IMP_atom.IMP_USAGE
250 
251 _IMP_atom.IMP_INTERNAL_swigconstant(_IMP_atom)
252 IMP_INTERNAL = _IMP_atom.IMP_INTERNAL
253 
254 _IMP_atom.IMP_KERNEL_HAS_LOG4CXX_swigconstant(_IMP_atom)
255 IMP_KERNEL_HAS_LOG4CXX = _IMP_atom.IMP_KERNEL_HAS_LOG4CXX
256 
257 _IMP_atom.IMP_COMPILER_HAS_AUTO_swigconstant(_IMP_atom)
258 IMP_COMPILER_HAS_AUTO = _IMP_atom.IMP_COMPILER_HAS_AUTO
259 
260 _IMP_atom.IMP_COMPILER_HAS_DEBUG_VECTOR_swigconstant(_IMP_atom)
261 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_atom.IMP_COMPILER_HAS_DEBUG_VECTOR
262 
263 _IMP_atom.IMP_COMPILER_HAS_UNIQUE_PTR_swigconstant(_IMP_atom)
264 IMP_COMPILER_HAS_UNIQUE_PTR = _IMP_atom.IMP_COMPILER_HAS_UNIQUE_PTR
265 
266 _IMP_atom.IMP_KERNEL_HAS_BOOST_RANDOM_swigconstant(_IMP_atom)
267 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_atom.IMP_KERNEL_HAS_BOOST_RANDOM
268 
269 _IMP_atom.IMP_KERNEL_HAS_GPERFTOOLS_swigconstant(_IMP_atom)
270 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_atom.IMP_KERNEL_HAS_GPERFTOOLS
271 
272 _IMP_atom.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER_swigconstant(_IMP_atom)
273 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_atom.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
274 
275 _IMP_atom.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER_swigconstant(_IMP_atom)
276 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_atom.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
277 
278 _IMP_atom.IMPKERNEL_SHOW_WARNINGS_swigconstant(_IMP_atom)
279 IMPKERNEL_SHOW_WARNINGS = _IMP_atom.IMPKERNEL_SHOW_WARNINGS
280 
281 import sys
282 class _DirectorObjects(object):
283  """@internal Simple class to keep references to director objects
284  to prevent premature deletion."""
285  def __init__(self):
286  self._objects = []
287  def register(self, obj):
288  """Take a reference to a director object; will only work for
289  refcounted C++ classes"""
290  if hasattr(obj, 'get_ref_count'):
291  self._objects.append(obj)
292  def cleanup(self):
293  """Only drop our reference and allow cleanup by Python if no other
294  Python references exist (we hold 3 references: one in self._objects,
295  one in x, and one in the argument list for getrefcount) *and* no
296  other C++ references exist (the Python object always holds one)"""
297  objs = [x for x in self._objects if sys.getrefcount(x) > 3 \
298  or x.get_ref_count() > 1]
299 # Do in two steps so the references are kept until the end of the
300 # function (deleting references may trigger a fresh call to this method)
301  self._objects = objs
302  def get_object_count(self):
303  """Get number of director objects (useful for testing only)"""
304  return len(self._objects)
305 _director_objects = _DirectorObjects()
306 
307 class _ostream(object):
308  """Proxy of C++ std::ostream class."""
309 
310  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
311 
312  def __init__(self, *args, **kwargs):
313  raise AttributeError("No constructor defined")
314  __repr__ = _swig_repr
315 
316  def write(self, osa_buf):
317  """write(_ostream self, char const * osa_buf)"""
318  return _IMP_atom._ostream_write(self, osa_buf)
319 
320 _ostream_swigregister = _IMP_atom._ostream_swigregister
321 _ostream_swigregister(_ostream)
322 
323 
324 _IMP_atom.IMP_COMPILER_HAS_OVERRIDE_swigconstant(_IMP_atom)
325 IMP_COMPILER_HAS_OVERRIDE = _IMP_atom.IMP_COMPILER_HAS_OVERRIDE
326 
327 _IMP_atom.IMP_COMPILER_HAS_FINAL_swigconstant(_IMP_atom)
328 IMP_COMPILER_HAS_FINAL = _IMP_atom.IMP_COMPILER_HAS_FINAL
329 
330 _IMP_atom.IMP_HAS_NOEXCEPT_swigconstant(_IMP_atom)
331 IMP_HAS_NOEXCEPT = _IMP_atom.IMP_HAS_NOEXCEPT
332 import IMP
333 
334 _IMP_atom.IMP_CGAL_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_atom)
335 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_atom.IMP_CGAL_HAS_BOOST_FILESYSTEM
336 
337 _IMP_atom.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_atom)
338 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_atom.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
339 
340 _IMP_atom.IMP_CGAL_HAS_BOOST_RANDOM_swigconstant(_IMP_atom)
341 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_atom.IMP_CGAL_HAS_BOOST_RANDOM
342 
343 _IMP_atom.IMP_CGAL_HAS_BOOST_SYSTEM_swigconstant(_IMP_atom)
344 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_atom.IMP_CGAL_HAS_BOOST_SYSTEM
345 
346 _IMP_atom.IMPCGAL_SHOW_WARNINGS_swigconstant(_IMP_atom)
347 IMPCGAL_SHOW_WARNINGS = _IMP_atom.IMPCGAL_SHOW_WARNINGS
348 import IMP.cgal
349 
350 _IMP_atom.IMP_ALGEBRA_HAS_IMP_CGAL_swigconstant(_IMP_atom)
351 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_atom.IMP_ALGEBRA_HAS_IMP_CGAL
352 
353 _IMP_atom.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_atom)
354 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_atom.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
355 
356 _IMP_atom.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_atom)
357 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_atom.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
358 
359 _IMP_atom.IMP_ALGEBRA_HAS_BOOST_RANDOM_swigconstant(_IMP_atom)
360 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_atom.IMP_ALGEBRA_HAS_BOOST_RANDOM
361 
362 _IMP_atom.IMP_ALGEBRA_HAS_BOOST_SYSTEM_swigconstant(_IMP_atom)
363 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_atom.IMP_ALGEBRA_HAS_BOOST_SYSTEM
364 
365 _IMP_atom.IMP_ALGEBRA_HAS_CGAL_swigconstant(_IMP_atom)
366 IMP_ALGEBRA_HAS_CGAL = _IMP_atom.IMP_ALGEBRA_HAS_CGAL
367 
368 _IMP_atom.IMP_ALGEBRA_HAS_ANN_swigconstant(_IMP_atom)
369 IMP_ALGEBRA_HAS_ANN = _IMP_atom.IMP_ALGEBRA_HAS_ANN
370 
371 _IMP_atom.IMPALGEBRA_SHOW_WARNINGS_swigconstant(_IMP_atom)
372 IMPALGEBRA_SHOW_WARNINGS = _IMP_atom.IMPALGEBRA_SHOW_WARNINGS
373 import IMP.algebra
374 
375 _IMP_atom.IMP_DISPLAY_HAS_IMP_CGAL_swigconstant(_IMP_atom)
376 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_atom.IMP_DISPLAY_HAS_IMP_CGAL
377 
378 _IMP_atom.IMP_DISPLAY_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_atom)
379 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_atom.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
380 
381 _IMP_atom.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_atom)
382 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_atom.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
383 
384 _IMP_atom.IMP_DISPLAY_HAS_BOOST_RANDOM_swigconstant(_IMP_atom)
385 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_atom.IMP_DISPLAY_HAS_BOOST_RANDOM
386 
387 _IMP_atom.IMP_DISPLAY_HAS_BOOST_SYSTEM_swigconstant(_IMP_atom)
388 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_atom.IMP_DISPLAY_HAS_BOOST_SYSTEM
389 
390 _IMP_atom.IMP_DISPLAY_HAS_CGAL_swigconstant(_IMP_atom)
391 IMP_DISPLAY_HAS_CGAL = _IMP_atom.IMP_DISPLAY_HAS_CGAL
392 
393 _IMP_atom.IMPDISPLAY_SHOW_WARNINGS_swigconstant(_IMP_atom)
394 IMPDISPLAY_SHOW_WARNINGS = _IMP_atom.IMPDISPLAY_SHOW_WARNINGS
395 import IMP.display
396 
397 _IMP_atom.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL_swigconstant(_IMP_atom)
398 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_atom.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
399 
400 _IMP_atom.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_atom)
401 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_atom.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
402 
403 _IMP_atom.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_atom)
404 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_atom.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
405 
406 _IMP_atom.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM_swigconstant(_IMP_atom)
407 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_atom.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
408 
409 _IMP_atom.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM_swigconstant(_IMP_atom)
410 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_atom.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
411 
412 _IMP_atom.IMP_SCORE_FUNCTOR_HAS_CGAL_swigconstant(_IMP_atom)
413 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_atom.IMP_SCORE_FUNCTOR_HAS_CGAL
414 
415 _IMP_atom.IMP_SCORE_FUNCTOR_HAS_HDF5_swigconstant(_IMP_atom)
416 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_atom.IMP_SCORE_FUNCTOR_HAS_HDF5
417 
418 _IMP_atom.IMPSCOREFUNCTOR_SHOW_WARNINGS_swigconstant(_IMP_atom)
419 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_atom.IMPSCOREFUNCTOR_SHOW_WARNINGS
420 import IMP.score_functor
421 
422 _IMP_atom.IMP_CORE_HAS_IMP_CGAL_swigconstant(_IMP_atom)
423 IMP_CORE_HAS_IMP_CGAL = _IMP_atom.IMP_CORE_HAS_IMP_CGAL
424 
425 _IMP_atom.IMP_CORE_HAS_IMP_KERNEL_swigconstant(_IMP_atom)
426 IMP_CORE_HAS_IMP_KERNEL = _IMP_atom.IMP_CORE_HAS_IMP_KERNEL
427 
428 _IMP_atom.IMP_CORE_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_atom)
429 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_atom.IMP_CORE_HAS_BOOST_FILESYSTEM
430 
431 _IMP_atom.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_atom)
432 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_atom.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
433 
434 _IMP_atom.IMP_CORE_HAS_BOOST_RANDOM_swigconstant(_IMP_atom)
435 IMP_CORE_HAS_BOOST_RANDOM = _IMP_atom.IMP_CORE_HAS_BOOST_RANDOM
436 
437 _IMP_atom.IMP_CORE_HAS_BOOST_SYSTEM_swigconstant(_IMP_atom)
438 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_atom.IMP_CORE_HAS_BOOST_SYSTEM
439 
440 _IMP_atom.IMP_CORE_HAS_CGAL_swigconstant(_IMP_atom)
441 IMP_CORE_HAS_CGAL = _IMP_atom.IMP_CORE_HAS_CGAL
442 
443 _IMP_atom.IMP_CORE_HAS_HDF5_swigconstant(_IMP_atom)
444 IMP_CORE_HAS_HDF5 = _IMP_atom.IMP_CORE_HAS_HDF5
445 
446 _IMP_atom.IMPCORE_SHOW_WARNINGS_swigconstant(_IMP_atom)
447 IMPCORE_SHOW_WARNINGS = _IMP_atom.IMPCORE_SHOW_WARNINGS
448 import IMP.core
449 
450 _IMP_atom.IMP_CONTAINER_HAS_IMP_ALGEBRA_swigconstant(_IMP_atom)
451 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_atom.IMP_CONTAINER_HAS_IMP_ALGEBRA
452 
453 _IMP_atom.IMP_CONTAINER_HAS_IMP_CGAL_swigconstant(_IMP_atom)
454 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_atom.IMP_CONTAINER_HAS_IMP_CGAL
455 
456 _IMP_atom.IMP_CONTAINER_HAS_IMP_DISPLAY_swigconstant(_IMP_atom)
457 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_atom.IMP_CONTAINER_HAS_IMP_DISPLAY
458 
459 _IMP_atom.IMP_CONTAINER_HAS_IMP_KERNEL_swigconstant(_IMP_atom)
460 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_atom.IMP_CONTAINER_HAS_IMP_KERNEL
461 
462 _IMP_atom.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_atom)
463 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_atom.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
464 
465 _IMP_atom.IMP_CONTAINER_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_atom)
466 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_atom.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
467 
468 _IMP_atom.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_atom)
469 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_atom.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
470 
471 _IMP_atom.IMP_CONTAINER_HAS_BOOST_RANDOM_swigconstant(_IMP_atom)
472 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_atom.IMP_CONTAINER_HAS_BOOST_RANDOM
473 
474 _IMP_atom.IMP_CONTAINER_HAS_BOOST_SYSTEM_swigconstant(_IMP_atom)
475 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_atom.IMP_CONTAINER_HAS_BOOST_SYSTEM
476 
477 _IMP_atom.IMP_CONTAINER_HAS_CGAL_swigconstant(_IMP_atom)
478 IMP_CONTAINER_HAS_CGAL = _IMP_atom.IMP_CONTAINER_HAS_CGAL
479 
480 _IMP_atom.IMP_CONTAINER_HAS_HDF5_swigconstant(_IMP_atom)
481 IMP_CONTAINER_HAS_HDF5 = _IMP_atom.IMP_CONTAINER_HAS_HDF5
482 
483 _IMP_atom.IMPCONTAINER_SHOW_WARNINGS_swigconstant(_IMP_atom)
484 IMPCONTAINER_SHOW_WARNINGS = _IMP_atom.IMPCONTAINER_SHOW_WARNINGS
485 import IMP.container
486 
487 _IMP_atom.IMP_ATOM_HAS_IMP_CGAL_swigconstant(_IMP_atom)
488 IMP_ATOM_HAS_IMP_CGAL = _IMP_atom.IMP_ATOM_HAS_IMP_CGAL
489 
490 _IMP_atom.IMP_ATOM_HAS_IMP_KERNEL_swigconstant(_IMP_atom)
491 IMP_ATOM_HAS_IMP_KERNEL = _IMP_atom.IMP_ATOM_HAS_IMP_KERNEL
492 
493 _IMP_atom.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_atom)
494 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_atom.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
495 
496 _IMP_atom.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_atom)
497 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_atom.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
498 
499 _IMP_atom.IMP_ATOM_HAS_BOOST_RANDOM_swigconstant(_IMP_atom)
500 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_atom.IMP_ATOM_HAS_BOOST_RANDOM
501 
502 _IMP_atom.IMP_ATOM_HAS_BOOST_REGEX_swigconstant(_IMP_atom)
503 IMP_ATOM_HAS_BOOST_REGEX = _IMP_atom.IMP_ATOM_HAS_BOOST_REGEX
504 
505 _IMP_atom.IMP_ATOM_HAS_BOOST_SYSTEM_swigconstant(_IMP_atom)
506 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_atom.IMP_ATOM_HAS_BOOST_SYSTEM
507 
508 _IMP_atom.IMP_ATOM_HAS_CGAL_swigconstant(_IMP_atom)
509 IMP_ATOM_HAS_CGAL = _IMP_atom.IMP_ATOM_HAS_CGAL
510 
511 _IMP_atom.IMP_ATOM_HAS_HDF5_swigconstant(_IMP_atom)
512 IMP_ATOM_HAS_HDF5 = _IMP_atom.IMP_ATOM_HAS_HDF5
513 
514 _IMP_atom.IMPATOM_SHOW_WARNINGS_swigconstant(_IMP_atom)
515 IMPATOM_SHOW_WARNINGS = _IMP_atom.IMPATOM_SHOW_WARNINGS
516 
517 _IMP_atom.IMP_ATOM_TYPE_INDEX_swigconstant(_IMP_atom)
518 IMP_ATOM_TYPE_INDEX = _IMP_atom.IMP_ATOM_TYPE_INDEX
519 
520 _IMP_atom.IMP_RESIDUE_TYPE_INDEX_swigconstant(_IMP_atom)
521 IMP_RESIDUE_TYPE_INDEX = _IMP_atom.IMP_RESIDUE_TYPE_INDEX
522 
523 _IMP_atom.IMP_HIERARCHY_TYPE_INDEX_swigconstant(_IMP_atom)
524 IMP_HIERARCHY_TYPE_INDEX = _IMP_atom.IMP_HIERARCHY_TYPE_INDEX
526  """Proxy of C++ IMP::internal::BoostDigraph<(IMP::atom::HierarchyTree,IMP::atom::Hierarchy,IMP::atom::ShowHierarchyTreeVertex)> class."""
527 
528  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
529  __repr__ = _swig_repr
530 
531  def __init__(self):
532  """__init__(IMP::internal::BoostDigraph<(IMP::atom::HierarchyTree,IMP::atom::Hierarchy,IMP::atom::ShowHierarchyTreeVertex)> self) -> HierarchyTree"""
533  this = _IMP_atom.new_HierarchyTree()
534  try:
535  self.this.append(this)
536  except Exception:
537  self.this = this
538 
539  def get_graph(self):
540  """get_graph(HierarchyTree self) -> IMP::atom::HierarchyTree const &"""
541  return _IMP_atom.HierarchyTree_get_graph(self)
542 
543 
544  def get_vertices(self):
545  """get_vertices(HierarchyTree self) -> IMP::internal::BoostDigraph< IMP::atom::HierarchyTree,IMP::atom::Hierarchy,IMP::atom::ShowHierarchyTreeVertex >::VertexDescriptors"""
546  return _IMP_atom.HierarchyTree_get_vertices(self)
547 
548 
549  def get_vertex_name(self, i):
550  """get_vertex_name(HierarchyTree self, IMP::internal::BoostDigraph< IMP::atom::HierarchyTree,IMP::atom::Hierarchy,IMP::atom::ShowHierarchyTreeVertex >::VertexDescriptor i) -> Hierarchy"""
551  return _IMP_atom.HierarchyTree_get_vertex_name(self, i)
552 
553 
554  def get_in_neighbors(self, v):
555  """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"""
556  return _IMP_atom.HierarchyTree_get_in_neighbors(self, v)
557 
558 
559  def get_out_neighbors(self, v):
560  """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"""
561  return _IMP_atom.HierarchyTree_get_out_neighbors(self, v)
562 
563 
564  def show_graphviz(self, *args):
565  """
566  show_graphviz(HierarchyTree self, _ostream out)
567  show_graphviz(HierarchyTree self)
568  """
569  return _IMP_atom.HierarchyTree_show_graphviz(self, *args)
570 
571 
572  def get_graphviz_string(self):
573  """get_graphviz_string(HierarchyTree self) -> std::string"""
574  return _IMP_atom.HierarchyTree_get_graphviz_string(self)
575 
576 
577  def add_edge(self, v0, v1):
578  """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)"""
579  return _IMP_atom.HierarchyTree_add_edge(self, v0, v1)
580 
581 
582  def add_vertex(self, l):
583  """add_vertex(HierarchyTree self, Hierarchy l) -> IMP::internal::BoostDigraph< IMP::atom::HierarchyTree,IMP::atom::Hierarchy,IMP::atom::ShowHierarchyTreeVertex >::VertexDescriptor"""
584  return _IMP_atom.HierarchyTree_add_vertex(self, l)
585 
586 
587  def remove_vertex(self, l):
588  """remove_vertex(HierarchyTree self, IMP::internal::BoostDigraph< IMP::atom::HierarchyTree,IMP::atom::Hierarchy,IMP::atom::ShowHierarchyTreeVertex >::VertexDescriptor l)"""
589  return _IMP_atom.HierarchyTree_remove_vertex(self, l)
590 
591  __swig_destroy__ = _IMP_atom.delete_HierarchyTree
592  __del__ = lambda self: None
593 HierarchyTree_swigregister = _IMP_atom.HierarchyTree_swigregister
594 HierarchyTree_swigregister(HierarchyTree)
595 
596 
597 _value_types.append("HierarchyTree")
598 
599 
600 _object_types.append("PDBSelector")
601 
602 
603 def _object_cast_to_PDBSelector(o):
604  """_object_cast_to_PDBSelector(Object o) -> PDBSelector"""
605  return _IMP_atom._object_cast_to_PDBSelector(o)
606 
607 def Angles(l=[]):
608  return [Angle(x) for x in l]
609 _plural_types.append("Angles")
610 
611 
612 _value_types.append("Angle")
613 
614 
615 def Atoms(l=[]):
616  return [Atom(x) for x in l]
617 _plural_types.append("Atoms")
618 
619 
620 _value_types.append("Atom")
621 
622 
623 def Bonds(l=[]):
624  return [Bond(x) for x in l]
625 _plural_types.append("Bonds")
626 
627 
628 _value_types.append("Bond")
629 
630 
631 def Bondeds(l=[]):
632  return [Bonded(x) for x in l]
633 _plural_types.append("Bondeds")
634 
635 
636 _value_types.append("Bonded")
637 
638 
639 def CHARMMAtomList(l=[]):
640  return [CHARMMAtom(x) for x in l]
641 _plural_types.append("CHARMMAtomList")
642 
643 
644 _value_types.append("CHARMMAtom")
645 
646 
647 def Chains(l=[]):
648  return [Chain(x) for x in l]
649 _plural_types.append("Chains")
650 
651 
652 _value_types.append("Chain")
653 
654 
655 def CenterOfMasses(l=[]):
656  return [CenterOfMass(x) for x in l]
657 _plural_types.append("CenterOfMasses")
658 
659 
660 _value_types.append("CenterOfMass")
661 
662 
663 def Chargeds(l=[]):
664  return [Charged(x) for x in l]
665 _plural_types.append("Chargeds")
666 
667 
668 _value_types.append("Charged")
669 
670 
671 def Diffusions(l=[]):
672  return [Diffusion(x) for x in l]
673 _plural_types.append("Diffusions")
674 
675 
676 _value_types.append("Diffusion")
677 
678 
679 def RigidBodyDiffusions(l=[]):
680  return [RigidBodyDiffusion(x) for x in l]
681 _plural_types.append("RigidBodyDiffusions")
682 
683 
684 _value_types.append("RigidBodyDiffusion")
685 
686 
687 def TAMDParticles(l=[]):
688  return [TAMDParticle(x) for x in l]
689 _plural_types.append("TAMDParticles")
690 
691 
692 _value_types.append("TAMDParticle")
693 
694 
695 def TAMDCentroids(l=[]):
696  return [TAMDCentroid(x) for x in l]
697 _plural_types.append("TAMDCentroids")
698 
699 
700 _value_types.append("TAMDCentroid")
701 
702 
703 def Dihedrals(l=[]):
704  return [Dihedral(x) for x in l]
705 _plural_types.append("Dihedrals")
706 
707 
708 _value_types.append("Dihedral")
709 
710 
711 def Domains(l=[]):
712  return [Domain(x) for x in l]
713 _plural_types.append("Domains")
714 
715 
716 _value_types.append("Domain")
717 
718 
719 def Fragments(l=[]):
720  return [Fragment(x) for x in l]
721 _plural_types.append("Fragments")
722 
723 
724 _value_types.append("Fragment")
725 
726 
727 def Hierarchies(l=[]):
728  return [Hierarchy(x) for x in l]
729 _plural_types.append("Hierarchies")
730 
731 
732 _value_types.append("Hierarchy")
733 
734 
735 def LennardJonesList(l=[]):
736  return [LennardJones(x) for x in l]
737 _plural_types.append("LennardJonesList")
738 
739 
740 _value_types.append("LennardJones")
741 
742 
743 def Masses(l=[]):
744  return [Mass(x) for x in l]
745 _plural_types.append("Masses")
746 
747 
748 _value_types.append("Mass")
749 
750 
751 def LinearVelocities(l=[]):
752  return [LinearVelocity(x) for x in l]
753 _plural_types.append("LinearVelocities")
754 
755 
756 _value_types.append("LinearVelocity")
757 
758 
759 def AngularVelocities(l=[]):
760  return [AngularVelocity(x) for x in l]
761 _plural_types.append("AngularVelocities")
762 
763 
764 _value_types.append("AngularVelocity")
765 
766 
767 def Molecules(l=[]):
768  return [Molecule(x) for x in l]
769 _plural_types.append("Molecules")
770 
771 
772 _value_types.append("Molecule")
773 
774 
775 def Residues(l=[]):
776  return [Residue(x) for x in l]
777 _plural_types.append("Residues")
778 
779 
780 _value_types.append("Residue")
781 
782 
783 def Representations(l=[]):
784  return [Representation(x) for x in l]
785 _plural_types.append("Representations")
786 
787 
788 _value_types.append("Representation")
789 
790 
791 def States(l=[]):
792  return [State(x) for x in l]
793 _plural_types.append("States")
794 
795 
796 _value_types.append("State")
797 
798 
799 def Copies(l=[]):
800  return [Copy(x) for x in l]
801 _plural_types.append("Copies")
802 
803 
804 _value_types.append("Copy")
805 
806 
807 def SecondaryStructureResidues(l=[]):
808  return [SecondaryStructureResidue(x) for x in l]
809 _plural_types.append("SecondaryStructureResidues")
810 
811 
812 _value_types.append("SecondaryStructureResidue")
813 
814 
815 def StructureSources(l=[]):
816  return [StructureSource(x) for x in l]
817 _plural_types.append("StructureSources")
818 
819 
820 _value_types.append("StructureSource")
821 
822 
823 _object_types.append("Simulator")
824 
825 
826 def _object_cast_to_Simulator(o):
827  """_object_cast_to_Simulator(Object o) -> Simulator"""
828  return _IMP_atom._object_cast_to_Simulator(o)
829 
830 _object_types.append("ATOMPDBSelector")
831 
832 
833 def _object_cast_to_ATOMPDBSelector(o):
834  """_object_cast_to_ATOMPDBSelector(Object o) -> ATOMPDBSelector"""
835  return _IMP_atom._object_cast_to_ATOMPDBSelector(o)
836 
837 _object_types.append("AllMol2Selector")
838 
839 
840 def _object_cast_to_AllMol2Selector(o):
841  """_object_cast_to_AllMol2Selector(Object o) -> AllMol2Selector"""
842  return _IMP_atom._object_cast_to_AllMol2Selector(o)
843 
844 _object_types.append("AllPDBSelector")
845 
846 
847 def _object_cast_to_AllPDBSelector(o):
848  """_object_cast_to_AllPDBSelector(Object o) -> AllPDBSelector"""
849  return _IMP_atom._object_cast_to_AllPDBSelector(o)
850 
851 _object_types.append("AndPDBSelector")
852 
853 
854 def _object_cast_to_AndPDBSelector(o):
855  """_object_cast_to_AndPDBSelector(Object o) -> AndPDBSelector"""
856  return _IMP_atom._object_cast_to_AndPDBSelector(o)
857 
858 _object_types.append("XorPDBSelector")
859 
860 
861 def _object_cast_to_XorPDBSelector(o):
862  """_object_cast_to_XorPDBSelector(Object o) -> XorPDBSelector"""
863  return _IMP_atom._object_cast_to_XorPDBSelector(o)
864 
865 _object_types.append("ResidueTypePDBSelector")
866 
867 
868 def _object_cast_to_ResidueTypePDBSelector(o):
869  """_object_cast_to_ResidueTypePDBSelector(Object o) -> ResidueTypePDBSelector"""
870  return _IMP_atom._object_cast_to_ResidueTypePDBSelector(o)
871 
872 _object_types.append("AtomTypePDBSelector")
873 
874 
875 def _object_cast_to_AtomTypePDBSelector(o):
876  """_object_cast_to_AtomTypePDBSelector(Object o) -> AtomTypePDBSelector"""
877  return _IMP_atom._object_cast_to_AtomTypePDBSelector(o)
878 
879 _object_types.append("AngleSingletonScore")
880 
881 
882 def _object_cast_to_AngleSingletonScore(o):
883  """_object_cast_to_AngleSingletonScore(Object o) -> AngleSingletonScore"""
884  return _IMP_atom._object_cast_to_AngleSingletonScore(o)
885 
886 _object_types.append("BondEndpointsRefiner")
887 
888 
889 def _object_cast_to_BondEndpointsRefiner(o):
890  """_object_cast_to_BondEndpointsRefiner(Object o) -> BondEndpointsRefiner"""
891  return _IMP_atom._object_cast_to_BondEndpointsRefiner(o)
892 
893 _object_types.append("BondPairContainer")
894 
895 
896 def _object_cast_to_BondPairContainer(o):
897  """_object_cast_to_BondPairContainer(Object o) -> BondPairContainer"""
898  return _IMP_atom._object_cast_to_BondPairContainer(o)
899 
900 _object_types.append("BondSingletonScore")
901 
902 
903 def _object_cast_to_BondSingletonScore(o):
904  """_object_cast_to_BondSingletonScore(Object o) -> BondSingletonScore"""
905  return _IMP_atom._object_cast_to_BondSingletonScore(o)
906 
907 _object_types.append("BondedPairFilter")
908 
909 
910 def _object_cast_to_BondedPairFilter(o):
911  """_object_cast_to_BondedPairFilter(Object o) -> BondedPairFilter"""
912  return _IMP_atom._object_cast_to_BondedPairFilter(o)
913 
914 _object_types.append("BrownianDynamics")
915 
916 
917 def _object_cast_to_BrownianDynamics(o):
918  """_object_cast_to_BrownianDynamics(Object o) -> BrownianDynamics"""
919  return _IMP_atom._object_cast_to_BrownianDynamics(o)
920 
921 _object_types.append("BrownianDynamicsTAMD")
922 
923 
924 def _object_cast_to_BrownianDynamicsTAMD(o):
925  """_object_cast_to_BrownianDynamicsTAMD(Object o) -> BrownianDynamicsTAMD"""
926  return _IMP_atom._object_cast_to_BrownianDynamicsTAMD(o)
927 
928 _object_types.append("CAlphaPDBSelector")
929 
930 
931 def _object_cast_to_CAlphaPDBSelector(o):
932  """_object_cast_to_CAlphaPDBSelector(Object o) -> CAlphaPDBSelector"""
933  return _IMP_atom._object_cast_to_CAlphaPDBSelector(o)
934 
935 _object_types.append("CBetaPDBSelector")
936 
937 
938 def _object_cast_to_CBetaPDBSelector(o):
939  """_object_cast_to_CBetaPDBSelector(Object o) -> CBetaPDBSelector"""
940  return _IMP_atom._object_cast_to_CBetaPDBSelector(o)
941 
942 _object_types.append("BackbonePDBSelector")
943 
944 
945 def _object_cast_to_BackbonePDBSelector(o):
946  """_object_cast_to_BackbonePDBSelector(Object o) -> BackbonePDBSelector"""
947  return _IMP_atom._object_cast_to_BackbonePDBSelector(o)
948 
949 _object_types.append("CHARMMParameters")
950 
951 
952 def _object_cast_to_CHARMMParameters(o):
953  """_object_cast_to_CHARMMParameters(Object o) -> CHARMMParameters"""
954  return _IMP_atom._object_cast_to_CHARMMParameters(o)
955 
956 _object_types.append("CHARMMResidueTopology")
957 
958 
959 def _object_cast_to_CHARMMResidueTopology(o):
960  """_object_cast_to_CHARMMResidueTopology(Object o) -> CHARMMResidueTopology"""
961  return _IMP_atom._object_cast_to_CHARMMResidueTopology(o)
962 
963 _object_types.append("CHARMMSegmentTopology")
964 
965 
966 def _object_cast_to_CHARMMSegmentTopology(o):
967  """_object_cast_to_CHARMMSegmentTopology(Object o) -> CHARMMSegmentTopology"""
968  return _IMP_atom._object_cast_to_CHARMMSegmentTopology(o)
969 
970 _object_types.append("CHARMMStereochemistryRestraint")
971 
972 
973 def _object_cast_to_CHARMMStereochemistryRestraint(o):
974  """_object_cast_to_CHARMMStereochemistryRestraint(Object o) -> CHARMMStereochemistryRestraint"""
975  return _IMP_atom._object_cast_to_CHARMMStereochemistryRestraint(o)
976 
977 _object_types.append("CHARMMTopology")
978 
979 
980 def _object_cast_to_CHARMMTopology(o):
981  """_object_cast_to_CHARMMTopology(Object o) -> CHARMMTopology"""
982  return _IMP_atom._object_cast_to_CHARMMTopology(o)
983 
984 _object_types.append("CPDBSelector")
985 
986 
987 def _object_cast_to_CPDBSelector(o):
988  """_object_cast_to_CPDBSelector(Object o) -> CPDBSelector"""
989  return _IMP_atom._object_cast_to_CPDBSelector(o)
990 
991 _object_types.append("ChainPDBSelector")
992 
993 
994 def _object_cast_to_ChainPDBSelector(o):
995  """_object_cast_to_ChainPDBSelector(Object o) -> ChainPDBSelector"""
996  return _IMP_atom._object_cast_to_ChainPDBSelector(o)
997 
998 _object_types.append("CoulombPairScore")
999 
1000 
1001 def _object_cast_to_CoulombPairScore(o):
1002  """_object_cast_to_CoulombPairScore(Object o) -> CoulombPairScore"""
1003  return _IMP_atom._object_cast_to_CoulombPairScore(o)
1004 
1005 _object_types.append("CoverBond")
1006 
1007 
1008 def _object_cast_to_CoverBond(o):
1009  """_object_cast_to_CoverBond(Object o) -> CoverBond"""
1010  return _IMP_atom._object_cast_to_CoverBond(o)
1011 
1012 _object_types.append("DihedralSingletonScore")
1013 
1014 
1015 def _object_cast_to_DihedralSingletonScore(o):
1016  """_object_cast_to_DihedralSingletonScore(Object o) -> DihedralSingletonScore"""
1017  return _IMP_atom._object_cast_to_DihedralSingletonScore(o)
1018 
1019 _object_types.append("DopePairScore")
1020 
1021 
1022 def _object_cast_to_DopePairScore(o):
1023  """_object_cast_to_DopePairScore(Object o) -> DopePairScore"""
1024  return _IMP_atom._object_cast_to_DopePairScore(o)
1025 
1026 _object_types.append("OrientedSoapPairScore")
1027 
1028 
1029 def _object_cast_to_OrientedSoapPairScore(o):
1030  """_object_cast_to_OrientedSoapPairScore(Object o) -> OrientedSoapPairScore"""
1031  return _IMP_atom._object_cast_to_OrientedSoapPairScore(o)
1032 
1033 _object_types.append("EzRestraint")
1034 
1035 
1036 def _object_cast_to_EzRestraint(o):
1037  """_object_cast_to_EzRestraint(Object o) -> EzRestraint"""
1038  return _IMP_atom._object_cast_to_EzRestraint(o)
1039 
1040 _object_types.append("ForceFieldParameters")
1041 
1042 
1043 def _object_cast_to_ForceFieldParameters(o):
1044  """_object_cast_to_ForceFieldParameters(Object o) -> ForceFieldParameters"""
1045  return _IMP_atom._object_cast_to_ForceFieldParameters(o)
1046 
1047 _object_types.append("ForceSwitch")
1048 
1049 
1050 def _object_cast_to_ForceSwitch(o):
1051  """_object_cast_to_ForceSwitch(Object o) -> ForceSwitch"""
1052  return _IMP_atom._object_cast_to_ForceSwitch(o)
1053 
1054 _object_types.append("HydrogenPDBSelector")
1055 
1056 
1057 def _object_cast_to_HydrogenPDBSelector(o):
1058  """_object_cast_to_HydrogenPDBSelector(Object o) -> HydrogenPDBSelector"""
1059  return _IMP_atom._object_cast_to_HydrogenPDBSelector(o)
1060 
1061 _object_types.append("ImproperSingletonScore")
1062 
1063 
1064 def _object_cast_to_ImproperSingletonScore(o):
1065  """_object_cast_to_ImproperSingletonScore(Object o) -> ImproperSingletonScore"""
1066  return _IMP_atom._object_cast_to_ImproperSingletonScore(o)
1067 
1068 _object_types.append("LennardJonesPairScore")
1069 
1070 
1071 def _object_cast_to_LennardJonesPairScore(o):
1072  """_object_cast_to_LennardJonesPairScore(Object o) -> LennardJonesPairScore"""
1073  return _IMP_atom._object_cast_to_LennardJonesPairScore(o)
1074 
1075 _object_types.append("Mol2Selector")
1076 
1077 
1078 def _object_cast_to_Mol2Selector(o):
1079  """_object_cast_to_Mol2Selector(Object o) -> Mol2Selector"""
1080  return _IMP_atom._object_cast_to_Mol2Selector(o)
1081 
1082 _object_types.append("MolecularDynamics")
1083 
1084 
1085 def _object_cast_to_MolecularDynamics(o):
1086  """_object_cast_to_MolecularDynamics(Object o) -> MolecularDynamics"""
1087  return _IMP_atom._object_cast_to_MolecularDynamics(o)
1088 
1089 _object_types.append("NPDBSelector")
1090 
1091 
1092 def _object_cast_to_NPDBSelector(o):
1093  """_object_cast_to_NPDBSelector(Object o) -> NPDBSelector"""
1094  return _IMP_atom._object_cast_to_NPDBSelector(o)
1095 
1096 _object_types.append("NonAlternativePDBSelector")
1097 
1098 
1099 def _object_cast_to_NonAlternativePDBSelector(o):
1100  """_object_cast_to_NonAlternativePDBSelector(Object o) -> NonAlternativePDBSelector"""
1101  return _IMP_atom._object_cast_to_NonAlternativePDBSelector(o)
1102 
1103 _object_types.append("NonHydrogenMol2Selector")
1104 
1105 
1106 def _object_cast_to_NonHydrogenMol2Selector(o):
1107  """_object_cast_to_NonHydrogenMol2Selector(Object o) -> NonHydrogenMol2Selector"""
1108  return _IMP_atom._object_cast_to_NonHydrogenMol2Selector(o)
1109 
1110 _object_types.append("NonWaterNonHydrogenPDBSelector")
1111 
1112 
1113 def _object_cast_to_NonWaterNonHydrogenPDBSelector(o):
1114  """_object_cast_to_NonWaterNonHydrogenPDBSelector(Object o) -> NonWaterNonHydrogenPDBSelector"""
1115  return _IMP_atom._object_cast_to_NonWaterNonHydrogenPDBSelector(o)
1116 
1117 _object_types.append("NonWaterPDBSelector")
1118 
1119 
1120 def _object_cast_to_NonWaterPDBSelector(o):
1121  """_object_cast_to_NonWaterPDBSelector(Object o) -> NonWaterPDBSelector"""
1122  return _IMP_atom._object_cast_to_NonWaterPDBSelector(o)
1123 
1124 _object_types.append("NotPDBSelector")
1125 
1126 
1127 def _object_cast_to_NotPDBSelector(o):
1128  """_object_cast_to_NotPDBSelector(Object o) -> NotPDBSelector"""
1129  return _IMP_atom._object_cast_to_NotPDBSelector(o)
1130 
1131 _object_types.append("OrPDBSelector")
1132 
1133 
1134 def _object_cast_to_OrPDBSelector(o):
1135  """_object_cast_to_OrPDBSelector(Object o) -> OrPDBSelector"""
1136  return _IMP_atom._object_cast_to_OrPDBSelector(o)
1137 
1138 _object_types.append("PPDBSelector")
1139 
1140 
1141 def _object_cast_to_PPDBSelector(o):
1142  """_object_cast_to_PPDBSelector(Object o) -> PPDBSelector"""
1143  return _IMP_atom._object_cast_to_PPDBSelector(o)
1144 
1145 _object_types.append("ProteinLigandAtomPairScore")
1146 
1147 
1148 def _object_cast_to_ProteinLigandAtomPairScore(o):
1149  """_object_cast_to_ProteinLigandAtomPairScore(Object o) -> ProteinLigandAtomPairScore"""
1150  return _IMP_atom._object_cast_to_ProteinLigandAtomPairScore(o)
1151 
1152 _object_types.append("ProteinLigandRestraint")
1153 
1154 
1155 def _object_cast_to_ProteinLigandRestraint(o):
1156  """_object_cast_to_ProteinLigandRestraint(Object o) -> ProteinLigandRestraint"""
1157  return _IMP_atom._object_cast_to_ProteinLigandRestraint(o)
1158 
1159 _object_types.append("SameResiduePairFilter")
1160 
1161 
1162 def _object_cast_to_SameResiduePairFilter(o):
1163  """_object_cast_to_SameResiduePairFilter(Object o) -> SameResiduePairFilter"""
1164  return _IMP_atom._object_cast_to_SameResiduePairFilter(o)
1165 
1166 _object_types.append("SoapPairFilter")
1167 
1168 
1169 def _object_cast_to_SoapPairFilter(o):
1170  """_object_cast_to_SoapPairFilter(Object o) -> SoapPairFilter"""
1171  return _IMP_atom._object_cast_to_SoapPairFilter(o)
1172 
1173 _object_types.append("SmoothingFunction")
1174 
1175 
1176 def _object_cast_to_SmoothingFunction(o):
1177  """_object_cast_to_SmoothingFunction(Object o) -> SmoothingFunction"""
1178  return _IMP_atom._object_cast_to_SmoothingFunction(o)
1179 
1180 _object_types.append("StereochemistryPairFilter")
1181 
1182 
1183 def _object_cast_to_StereochemistryPairFilter(o):
1184  """_object_cast_to_StereochemistryPairFilter(Object o) -> StereochemistryPairFilter"""
1185  return _IMP_atom._object_cast_to_StereochemistryPairFilter(o)
1186 
1187 _object_types.append("VelocityScalingOptimizerState")
1188 
1189 
1190 def _object_cast_to_VelocityScalingOptimizerState(o):
1191  """_object_cast_to_VelocityScalingOptimizerState(Object o) -> VelocityScalingOptimizerState"""
1192  return _IMP_atom._object_cast_to_VelocityScalingOptimizerState(o)
1193 
1194 _object_types.append("WaterPDBSelector")
1195 
1196 
1197 def _object_cast_to_WaterPDBSelector(o):
1198  """_object_cast_to_WaterPDBSelector(Object o) -> WaterPDBSelector"""
1199  return _IMP_atom._object_cast_to_WaterPDBSelector(o)
1200 
1201 _object_types.append("WritePDBOptimizerState")
1202 
1203 
1204 def _object_cast_to_WritePDBOptimizerState(o):
1205  """_object_cast_to_WritePDBOptimizerState(Object o) -> WritePDBOptimizerState"""
1206  return _IMP_atom._object_cast_to_WritePDBOptimizerState(o)
1207 
1208 AtomTypes=list
1209 _plural_types.append("AtomTypes")
1210 _value_types.append("AtomType")
1211 
1212 
1213 CHARMMAtomTopologies=list
1214 _plural_types.append("CHARMMAtomTopologies")
1215 _value_types.append("CHARMMAtomTopology")
1216 
1217 
1218 CHARMMBondEndpoints=list
1219 _plural_types.append("CHARMMBondEndpoints")
1220 _value_types.append("CHARMMBondEndpoint")
1221 
1222 
1223 CHARMMBondParametersList=list
1224 _plural_types.append("CHARMMBondParametersList")
1225 _value_types.append("CHARMMBondParameters")
1226 
1227 
1228 CHARMMDihedralParametersList=list
1229 _plural_types.append("CHARMMDihedralParametersList")
1230 _value_types.append("CHARMMDihedralParameters")
1231 
1232 
1233 _object_types.append("CHARMMIdealResidueTopology")
1234 
1235 
1236 def _object_cast_to_CHARMMIdealResidueTopology(o):
1237  """_object_cast_to_CHARMMIdealResidueTopology(Object o) -> CHARMMIdealResidueTopology"""
1238  return _IMP_atom._object_cast_to_CHARMMIdealResidueTopology(o)
1239 
1240 CHARMMInternalCoordinates=list
1241 _plural_types.append("CHARMMInternalCoordinates")
1242 _value_types.append("CHARMMInternalCoordinate")
1243 
1244 
1245 _object_types.append("CHARMMPatch")
1246 
1247 
1248 def _object_cast_to_CHARMMPatch(o):
1249  """_object_cast_to_CHARMMPatch(Object o) -> CHARMMPatch"""
1250  return _IMP_atom._object_cast_to_CHARMMPatch(o)
1251 
1252 _object_types.append("CHARMMResidueTopologyBase")
1253 
1254 
1255 def _object_cast_to_CHARMMResidueTopologyBase(o):
1256  """_object_cast_to_CHARMMResidueTopologyBase(Object o) -> CHARMMResidueTopologyBase"""
1257  return _IMP_atom._object_cast_to_CHARMMResidueTopologyBase(o)
1258 
1259 ResidueTypes=list
1260 _plural_types.append("ResidueTypes")
1261 _value_types.append("ResidueType")
1262 
1263 
1264 Selections=list
1265 _plural_types.append("Selections")
1266 _value_types.append("Selection")
1267 
1268 
1269 _object_types.append("RemoveRigidMotionOptimizerState")
1270 
1271 
1272 def _object_cast_to_RemoveRigidMotionOptimizerState(o):
1273  """_object_cast_to_RemoveRigidMotionOptimizerState(Object o) -> RemoveRigidMotionOptimizerState"""
1274  return _IMP_atom._object_cast_to_RemoveRigidMotionOptimizerState(o)
1275 
1276 _object_types.append("BerendsenThermostatOptimizerState")
1277 
1278 
1279 def _object_cast_to_BerendsenThermostatOptimizerState(o):
1280  """_object_cast_to_BerendsenThermostatOptimizerState(Object o) -> BerendsenThermostatOptimizerState"""
1281  return _IMP_atom._object_cast_to_BerendsenThermostatOptimizerState(o)
1282 
1283 _object_types.append("LangevinThermostatOptimizerState")
1284 
1285 
1286 def _object_cast_to_LangevinThermostatOptimizerState(o):
1287  """_object_cast_to_LangevinThermostatOptimizerState(Object o) -> LangevinThermostatOptimizerState"""
1288  return _IMP_atom._object_cast_to_LangevinThermostatOptimizerState(o)
1289 
1290 _object_types.append("SelectionGeometry")
1291 
1292 
1293 def _object_cast_to_SelectionGeometry(o):
1294  """_object_cast_to_SelectionGeometry(Object o) -> SelectionGeometry"""
1295  return _IMP_atom._object_cast_to_SelectionGeometry(o)
1296 
1297 _object_types.append("HierarchyGeometry")
1298 
1299 
1300 def _object_cast_to_HierarchyGeometry(o):
1301  """_object_cast_to_HierarchyGeometry(Object o) -> HierarchyGeometry"""
1302  return _IMP_atom._object_cast_to_HierarchyGeometry(o)
1303 
1304 _object_types.append("HierarchiesGeometry")
1305 
1306 
1307 def _object_cast_to_HierarchiesGeometry(o):
1308  """_object_cast_to_HierarchiesGeometry(Object o) -> HierarchiesGeometry"""
1309  return _IMP_atom._object_cast_to_HierarchiesGeometry(o)
1310 
1311 _object_types.append("BondGeometry")
1312 
1313 
1314 def _object_cast_to_BondGeometry(o):
1315  """_object_cast_to_BondGeometry(Object o) -> BondGeometry"""
1316  return _IMP_atom._object_cast_to_BondGeometry(o)
1317 
1318 _object_types.append("BondsGeometry")
1319 
1320 
1321 def _object_cast_to_BondsGeometry(o):
1322  """_object_cast_to_BondsGeometry(Object o) -> BondsGeometry"""
1323  return _IMP_atom._object_cast_to_BondsGeometry(o)
1324 
1325 _object_types.append("CAAngleRestraint")
1326 
1327 
1328 def _object_cast_to_CAAngleRestraint(o):
1329  """_object_cast_to_CAAngleRestraint(Object o) -> CAAngleRestraint"""
1330  return _IMP_atom._object_cast_to_CAAngleRestraint(o)
1331 
1332 _object_types.append("CADihedralRestraint")
1333 
1334 
1335 def _object_cast_to_CADihedralRestraint(o):
1336  """_object_cast_to_CADihedralRestraint(Object o) -> CADihedralRestraint"""
1337  return _IMP_atom._object_cast_to_CADihedralRestraint(o)
1338 
1339 CHARMMDihedrals=list
1340 _plural_types.append("CHARMMDihedrals")
1341 _value_types.append("CHARMMDihedral")
1342 
1343 
1344 CHARMMBonds=list
1345 _plural_types.append("CHARMMBonds")
1346 _value_types.append("CHARMMBond")
1347 
1348 
1349 CHARMMAngles=list
1350 _plural_types.append("CHARMMAngles")
1351 _value_types.append("CHARMMAngle")
1352 
1353 class Bond(IMP.Decorator):
1354  """Proxy of C++ IMP::atom::Bond class."""
1355 
1356  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1357 
1358  def __init__(self, *args):
1359  """
1360  __init__(IMP::atom::Bond self) -> Bond
1361  __init__(IMP::atom::Bond self, Model m, ParticleIndex id) -> Bond
1362  __init__(IMP::atom::Bond self, _ParticleAdaptor d) -> Bond
1363  """
1364  this = _IMP_atom.new_Bond(*args)
1365  try:
1366  self.this.append(this)
1367  except Exception:
1368  self.this = this
1369 
1370  def show(self, *args):
1371  """
1372  show(Bond self, _ostream out)
1373  show(Bond self)
1374  """
1375  return _IMP_atom.Bond_show(self, *args)
1376 
1377 
1378  def get_is_setup(*args):
1379  """
1380  get_is_setup(_ParticleAdaptor p) -> bool
1381  get_is_setup(Model m, ParticleIndex pi) -> bool
1382  """
1383  return _IMP_atom.Bond_get_is_setup(*args)
1384 
1385  get_is_setup = staticmethod(get_is_setup)
1386  UNKNOWN = _IMP_atom.Bond_UNKNOWN
1387  NONBIOLOGICAL = _IMP_atom.Bond_NONBIOLOGICAL
1388  SINGLE = _IMP_atom.Bond_SINGLE
1389  DOUBLE = _IMP_atom.Bond_DOUBLE
1390  TRIPLE = _IMP_atom.Bond_TRIPLE
1391  HYDROGEN = _IMP_atom.Bond_HYDROGEN
1392  SALT = _IMP_atom.Bond_SALT
1393  PEPTIDE = _IMP_atom.Bond_PEPTIDE
1394  AMIDE = _IMP_atom.Bond_AMIDE
1395  AROMATIC = _IMP_atom.Bond_AROMATIC
1396 
1397  def get_bonded(self, i):
1398  """get_bonded(Bond self, unsigned int i) -> Bonded"""
1399  return _IMP_atom.Bond_get_bonded(self, i)
1400 
1401 
1402  def get_type(self):
1403  """get_type(Bond self) -> IMP::Int"""
1404  return _IMP_atom.Bond_get_type(self)
1405 
1406 
1407  def set_type(self, t):
1408  """set_type(Bond self, IMP::Int t)"""
1409  return _IMP_atom.Bond_set_type(self, t)
1410 
1411 
1412  def get_order(self):
1413  """get_order(Bond self) -> IMP::Int"""
1414  return _IMP_atom.Bond_get_order(self)
1415 
1416 
1417  def set_order(self, t):
1418  """set_order(Bond self, IMP::Int t)"""
1419  return _IMP_atom.Bond_set_order(self, t)
1420 
1421 
1422  def get_length(self):
1423  """get_length(Bond self) -> IMP::Float"""
1424  return _IMP_atom.Bond_get_length(self)
1425 
1426 
1427  def set_length(self, t):
1428  """set_length(Bond self, IMP::Float t)"""
1429  return _IMP_atom.Bond_set_length(self, t)
1430 
1431 
1432  def get_stiffness(self):
1433  """get_stiffness(Bond self) -> IMP::Float"""
1434  return _IMP_atom.Bond_get_stiffness(self)
1435 
1436 
1437  def set_stiffness(self, t):
1438  """set_stiffness(Bond self, IMP::Float t)"""
1439  return _IMP_atom.Bond_set_stiffness(self, t)
1440 
1441 
1442  def get_length_key():
1443  """get_length_key() -> FloatKey"""
1444  return _IMP_atom.Bond_get_length_key()
1445 
1446  get_length_key = staticmethod(get_length_key)
1447 
1448  def add_attribute(self, *args):
1449  """
1450  add_attribute(Bond self, FloatKey k, IMP::Float v, bool opt)
1451  add_attribute(Bond self, FloatKey a0, IMP::Float a1)
1452  add_attribute(Bond self, IntKey a0, IMP::Int a1)
1453  add_attribute(Bond self, StringKey a0, IMP::String a1)
1454  add_attribute(Bond self, ParticleIndexKey a0, Particle a1)
1455  add_attribute(Bond self, ObjectKey a0, Object a1)
1456  """
1457  return _IMP_atom.Bond_add_attribute(self, *args)
1458 
1459 
1460  def get_value(self, *args):
1461  """
1462  get_value(Bond self, FloatKey a0) -> IMP::Float
1463  get_value(Bond self, IntKey a0) -> IMP::Int
1464  get_value(Bond self, StringKey a0) -> IMP::String
1465  get_value(Bond self, ParticleIndexKey a0) -> Particle
1466  get_value(Bond self, ObjectKey a0) -> Object
1467  """
1468  return _IMP_atom.Bond_get_value(self, *args)
1469 
1470 
1471  def set_value(self, *args):
1472  """
1473  set_value(Bond self, FloatKey a0, IMP::Float a1)
1474  set_value(Bond self, IntKey a0, IMP::Int a1)
1475  set_value(Bond self, StringKey a0, IMP::String a1)
1476  set_value(Bond self, ParticleIndexKey a0, Particle a1)
1477  set_value(Bond self, ObjectKey a0, Object a1)
1478  """
1479  return _IMP_atom.Bond_set_value(self, *args)
1480 
1481 
1482  def remove_attribute(self, *args):
1483  """
1484  remove_attribute(Bond self, FloatKey a0)
1485  remove_attribute(Bond self, IntKey a0)
1486  remove_attribute(Bond self, StringKey a0)
1487  remove_attribute(Bond self, ParticleIndexKey a0)
1488  remove_attribute(Bond self, ObjectKey a0)
1489  """
1490  return _IMP_atom.Bond_remove_attribute(self, *args)
1491 
1492 
1493  def has_attribute(self, *args):
1494  """
1495  has_attribute(Bond self, FloatKey a0) -> bool
1496  has_attribute(Bond self, IntKey a0) -> bool
1497  has_attribute(Bond self, StringKey a0) -> bool
1498  has_attribute(Bond self, ParticleIndexKey a0) -> bool
1499  has_attribute(Bond self, ObjectKey a0) -> bool
1500  """
1501  return _IMP_atom.Bond_has_attribute(self, *args)
1502 
1503 
1504  def get_derivative(self, a0):
1505  """get_derivative(Bond self, FloatKey a0) -> double"""
1506  return _IMP_atom.Bond_get_derivative(self, a0)
1507 
1508 
1509  def get_name(self):
1510  """get_name(Bond self) -> std::string"""
1511  return _IMP_atom.Bond_get_name(self)
1512 
1513 
1514  def clear_caches(self):
1515  """clear_caches(Bond self)"""
1516  return _IMP_atom.Bond_clear_caches(self)
1517 
1518 
1519  def set_name(self, a0):
1520  """set_name(Bond self, std::string a0)"""
1521  return _IMP_atom.Bond_set_name(self, a0)
1522 
1523 
1524  def set_check_level(self, a0):
1525  """set_check_level(Bond self, IMP::CheckLevel a0)"""
1526  return _IMP_atom.Bond_set_check_level(self, a0)
1527 
1528 
1529  def add_to_derivative(self, a0, a1, a2):
1530  """add_to_derivative(Bond self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1531  return _IMP_atom.Bond_add_to_derivative(self, a0, a1, a2)
1532 
1533 
1534  def set_is_optimized(self, a0, a1):
1535  """set_is_optimized(Bond self, FloatKey a0, bool a1)"""
1536  return _IMP_atom.Bond_set_is_optimized(self, a0, a1)
1537 
1538 
1539  def get_is_optimized(self, a0):
1540  """get_is_optimized(Bond self, FloatKey a0) -> bool"""
1541  return _IMP_atom.Bond_get_is_optimized(self, a0)
1542 
1543 
1544  def get_check_level(self):
1545  """get_check_level(Bond self) -> IMP::CheckLevel"""
1546  return _IMP_atom.Bond_get_check_level(self)
1547 
1548 
1549  def __eq__(self, *args):
1550  """
1551  __eq__(Bond self, Bond o) -> bool
1552  __eq__(Bond self, Particle d) -> bool
1553  """
1554  return _IMP_atom.Bond___eq__(self, *args)
1555 
1556 
1557  def __ne__(self, *args):
1558  """
1559  __ne__(Bond self, Bond o) -> bool
1560  __ne__(Bond self, Particle d) -> bool
1561  """
1562  return _IMP_atom.Bond___ne__(self, *args)
1563 
1564 
1565  def __le__(self, *args):
1566  """
1567  __le__(Bond self, Bond o) -> bool
1568  __le__(Bond self, Particle d) -> bool
1569  """
1570  return _IMP_atom.Bond___le__(self, *args)
1571 
1572 
1573  def __lt__(self, *args):
1574  """
1575  __lt__(Bond self, Bond o) -> bool
1576  __lt__(Bond self, Particle d) -> bool
1577  """
1578  return _IMP_atom.Bond___lt__(self, *args)
1579 
1580 
1581  def __ge__(self, *args):
1582  """
1583  __ge__(Bond self, Bond o) -> bool
1584  __ge__(Bond self, Particle d) -> bool
1585  """
1586  return _IMP_atom.Bond___ge__(self, *args)
1587 
1588 
1589  def __gt__(self, *args):
1590  """
1591  __gt__(Bond self, Bond o) -> bool
1592  __gt__(Bond self, Particle d) -> bool
1593  """
1594  return _IMP_atom.Bond___gt__(self, *args)
1595 
1596 
1597  def __hash__(self):
1598  """__hash__(Bond self) -> std::size_t"""
1599  return _IMP_atom.Bond___hash__(self)
1600 
1601 
1602  def __str__(self):
1603  """__str__(Bond self) -> std::string"""
1604  return _IMP_atom.Bond___str__(self)
1605 
1606 
1607  def __repr__(self):
1608  """__repr__(Bond self) -> std::string"""
1609  return _IMP_atom.Bond___repr__(self)
1610 
1611  __swig_destroy__ = _IMP_atom.delete_Bond
1612  __del__ = lambda self: None
1613 Bond_swigregister = _IMP_atom.Bond_swigregister
1614 Bond_swigregister(Bond)
1615 
1616 def Bond_get_is_setup(*args):
1617  """
1618  get_is_setup(_ParticleAdaptor p) -> bool
1619  Bond_get_is_setup(Model m, ParticleIndex pi) -> bool
1620  """
1621  return _IMP_atom.Bond_get_is_setup(*args)
1622 
1623 def Bond_get_length_key():
1624  """Bond_get_length_key() -> FloatKey"""
1625  return _IMP_atom.Bond_get_length_key()
1626 
1627 class Bonded(IMP.Decorator):
1628  """Proxy of C++ IMP::atom::Bonded class."""
1629 
1630  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1631 
1632  def __init__(self, *args):
1633  """
1634  __init__(IMP::atom::Bonded self) -> Bonded
1635  __init__(IMP::atom::Bonded self, Model m, ParticleIndex id) -> Bonded
1636  __init__(IMP::atom::Bonded self, _ParticleAdaptor d) -> Bonded
1637  """
1638  this = _IMP_atom.new_Bonded(*args)
1639  try:
1640  self.this.append(this)
1641  except Exception:
1642  self.this = this
1643 
1644  def show(self, *args):
1645  """
1646  show(Bonded self, _ostream out)
1647  show(Bonded self)
1648  """
1649  return _IMP_atom.Bonded_show(self, *args)
1650 
1651 
1652  def setup_particle(*args):
1653  """
1654  setup_particle(Model m, ParticleIndex pi) -> Bonded
1655  setup_particle(_ParticleAdaptor decorator) -> Bonded
1656  """
1657  return _IMP_atom.Bonded_setup_particle(*args)
1658 
1659  setup_particle = staticmethod(setup_particle)
1660 
1661  def get_is_setup(*args):
1662  """
1663  get_is_setup(_ParticleAdaptor p) -> bool
1664  get_is_setup(Model m, ParticleIndex pi) -> bool
1665  """
1666  return _IMP_atom.Bonded_get_is_setup(*args)
1667 
1668  get_is_setup = staticmethod(get_is_setup)
1669 
1670  def get_number_of_bonds(self):
1671  """get_number_of_bonds(Bonded self) -> unsigned int"""
1672  return _IMP_atom.Bonded_get_number_of_bonds(self)
1673 
1674 
1675  def get_bond_indexes(self):
1676  """get_bond_indexes(Bonded self) -> IMP::ParticleIndexes"""
1677  return _IMP_atom.Bonded_get_bond_indexes(self)
1678 
1679 
1680  def get_bond(self, i):
1681  """get_bond(Bonded self, unsigned int i) -> Bond"""
1682  return _IMP_atom.Bonded_get_bond(self, i)
1683 
1684 
1685  def get_bonded(self, i):
1686  """get_bonded(Bonded self, unsigned int i) -> Bonded"""
1687  return _IMP_atom.Bonded_get_bonded(self, i)
1688 
1689 
1690  def add_attribute(self, *args):
1691  """
1692  add_attribute(Bonded self, FloatKey k, IMP::Float v, bool opt)
1693  add_attribute(Bonded self, FloatKey a0, IMP::Float a1)
1694  add_attribute(Bonded self, IntKey a0, IMP::Int a1)
1695  add_attribute(Bonded self, StringKey a0, IMP::String a1)
1696  add_attribute(Bonded self, ParticleIndexKey a0, Particle a1)
1697  add_attribute(Bonded self, ObjectKey a0, Object a1)
1698  """
1699  return _IMP_atom.Bonded_add_attribute(self, *args)
1700 
1701 
1702  def get_value(self, *args):
1703  """
1704  get_value(Bonded self, FloatKey a0) -> IMP::Float
1705  get_value(Bonded self, IntKey a0) -> IMP::Int
1706  get_value(Bonded self, StringKey a0) -> IMP::String
1707  get_value(Bonded self, ParticleIndexKey a0) -> Particle
1708  get_value(Bonded self, ObjectKey a0) -> Object
1709  """
1710  return _IMP_atom.Bonded_get_value(self, *args)
1711 
1712 
1713  def set_value(self, *args):
1714  """
1715  set_value(Bonded self, FloatKey a0, IMP::Float a1)
1716  set_value(Bonded self, IntKey a0, IMP::Int a1)
1717  set_value(Bonded self, StringKey a0, IMP::String a1)
1718  set_value(Bonded self, ParticleIndexKey a0, Particle a1)
1719  set_value(Bonded self, ObjectKey a0, Object a1)
1720  """
1721  return _IMP_atom.Bonded_set_value(self, *args)
1722 
1723 
1724  def remove_attribute(self, *args):
1725  """
1726  remove_attribute(Bonded self, FloatKey a0)
1727  remove_attribute(Bonded self, IntKey a0)
1728  remove_attribute(Bonded self, StringKey a0)
1729  remove_attribute(Bonded self, ParticleIndexKey a0)
1730  remove_attribute(Bonded self, ObjectKey a0)
1731  """
1732  return _IMP_atom.Bonded_remove_attribute(self, *args)
1733 
1734 
1735  def has_attribute(self, *args):
1736  """
1737  has_attribute(Bonded self, FloatKey a0) -> bool
1738  has_attribute(Bonded self, IntKey a0) -> bool
1739  has_attribute(Bonded self, StringKey a0) -> bool
1740  has_attribute(Bonded self, ParticleIndexKey a0) -> bool
1741  has_attribute(Bonded self, ObjectKey a0) -> bool
1742  """
1743  return _IMP_atom.Bonded_has_attribute(self, *args)
1744 
1745 
1746  def get_derivative(self, a0):
1747  """get_derivative(Bonded self, FloatKey a0) -> double"""
1748  return _IMP_atom.Bonded_get_derivative(self, a0)
1749 
1750 
1751  def get_name(self):
1752  """get_name(Bonded self) -> std::string"""
1753  return _IMP_atom.Bonded_get_name(self)
1754 
1755 
1756  def clear_caches(self):
1757  """clear_caches(Bonded self)"""
1758  return _IMP_atom.Bonded_clear_caches(self)
1759 
1760 
1761  def set_name(self, a0):
1762  """set_name(Bonded self, std::string a0)"""
1763  return _IMP_atom.Bonded_set_name(self, a0)
1764 
1765 
1766  def set_check_level(self, a0):
1767  """set_check_level(Bonded self, IMP::CheckLevel a0)"""
1768  return _IMP_atom.Bonded_set_check_level(self, a0)
1769 
1770 
1771  def add_to_derivative(self, a0, a1, a2):
1772  """add_to_derivative(Bonded self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1773  return _IMP_atom.Bonded_add_to_derivative(self, a0, a1, a2)
1774 
1775 
1776  def set_is_optimized(self, a0, a1):
1777  """set_is_optimized(Bonded self, FloatKey a0, bool a1)"""
1778  return _IMP_atom.Bonded_set_is_optimized(self, a0, a1)
1779 
1780 
1781  def get_is_optimized(self, a0):
1782  """get_is_optimized(Bonded self, FloatKey a0) -> bool"""
1783  return _IMP_atom.Bonded_get_is_optimized(self, a0)
1784 
1785 
1786  def get_check_level(self):
1787  """get_check_level(Bonded self) -> IMP::CheckLevel"""
1788  return _IMP_atom.Bonded_get_check_level(self)
1789 
1790 
1791  def __eq__(self, *args):
1792  """
1793  __eq__(Bonded self, Bonded o) -> bool
1794  __eq__(Bonded self, Particle d) -> bool
1795  """
1796  return _IMP_atom.Bonded___eq__(self, *args)
1797 
1798 
1799  def __ne__(self, *args):
1800  """
1801  __ne__(Bonded self, Bonded o) -> bool
1802  __ne__(Bonded self, Particle d) -> bool
1803  """
1804  return _IMP_atom.Bonded___ne__(self, *args)
1805 
1806 
1807  def __le__(self, *args):
1808  """
1809  __le__(Bonded self, Bonded o) -> bool
1810  __le__(Bonded self, Particle d) -> bool
1811  """
1812  return _IMP_atom.Bonded___le__(self, *args)
1813 
1814 
1815  def __lt__(self, *args):
1816  """
1817  __lt__(Bonded self, Bonded o) -> bool
1818  __lt__(Bonded self, Particle d) -> bool
1819  """
1820  return _IMP_atom.Bonded___lt__(self, *args)
1821 
1822 
1823  def __ge__(self, *args):
1824  """
1825  __ge__(Bonded self, Bonded o) -> bool
1826  __ge__(Bonded self, Particle d) -> bool
1827  """
1828  return _IMP_atom.Bonded___ge__(self, *args)
1829 
1830 
1831  def __gt__(self, *args):
1832  """
1833  __gt__(Bonded self, Bonded o) -> bool
1834  __gt__(Bonded self, Particle d) -> bool
1835  """
1836  return _IMP_atom.Bonded___gt__(self, *args)
1837 
1838 
1839  def __hash__(self):
1840  """__hash__(Bonded self) -> std::size_t"""
1841  return _IMP_atom.Bonded___hash__(self)
1842 
1843 
1844  def __str__(self):
1845  """__str__(Bonded self) -> std::string"""
1846  return _IMP_atom.Bonded___str__(self)
1847 
1848 
1849  def __repr__(self):
1850  """__repr__(Bonded self) -> std::string"""
1851  return _IMP_atom.Bonded___repr__(self)
1852 
1853  __swig_destroy__ = _IMP_atom.delete_Bonded
1854  __del__ = lambda self: None
1855 Bonded_swigregister = _IMP_atom.Bonded_swigregister
1856 Bonded_swigregister(Bonded)
1857 
1858 def Bonded_setup_particle(*args):
1859  """
1860  setup_particle(Model m, ParticleIndex pi) -> Bonded
1861  Bonded_setup_particle(_ParticleAdaptor decorator) -> Bonded
1862  """
1863  return _IMP_atom.Bonded_setup_particle(*args)
1864 
1865 def Bonded_get_is_setup(*args):
1866  """
1867  get_is_setup(_ParticleAdaptor p) -> bool
1868  Bonded_get_is_setup(Model m, ParticleIndex pi) -> bool
1869  """
1870  return _IMP_atom.Bonded_get_is_setup(*args)
1871 
1872 
1873 def create_custom_bond(a, b, length, stiffness=-1):
1874  """
1875  create_custom_bond(Bonded a, Bonded b, IMP::Float length, IMP::Float stiffness=-1) -> Bond
1876  create_custom_bond(Bonded a, Bonded b, IMP::Float length) -> Bond
1877  """
1878  return _IMP_atom.create_custom_bond(a, b, length, stiffness)
1879 
1880 def create_bond(*args):
1881  """
1882  create_bond(Bonded a, Bonded b, IMP::Int t) -> Bond
1883  create_bond(Bonded a, Bonded b, Bond o) -> Bond
1884  """
1885  return _IMP_atom.create_bond(*args)
1886 
1887 def destroy_bond(b):
1888  """destroy_bond(Bond b)"""
1889  return _IMP_atom.destroy_bond(b)
1890 
1891 def get_bond(a, b):
1892  """get_bond(Bonded a, Bonded b) -> Bond"""
1893  return _IMP_atom.get_bond(a, b)
1894 class BondGeometry(IMP.display.SingletonGeometry):
1895  """Proxy of C++ IMP::atom::BondGeometry class."""
1896 
1897  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1898 
1899  def __init__(self, *args):
1900  """
1901  __init__(IMP::atom::BondGeometry self, Particle p) -> BondGeometry
1902  __init__(IMP::atom::BondGeometry self, Bond d) -> BondGeometry
1903  """
1904  this = _IMP_atom.new_BondGeometry(*args)
1905  try:
1906  self.this.append(this)
1907  except Exception:
1908  self.this = this
1909 
1910  def get_version_info(self):
1911  """get_version_info(BondGeometry self) -> VersionInfo"""
1912  return _IMP_atom.BondGeometry_get_version_info(self)
1913 
1914 
1915  def __str__(self):
1916  """__str__(BondGeometry self) -> std::string"""
1917  return _IMP_atom.BondGeometry___str__(self)
1918 
1919 
1920  def __repr__(self):
1921  """__repr__(BondGeometry self) -> std::string"""
1922  return _IMP_atom.BondGeometry___repr__(self)
1923 
1924 
1925  @staticmethod
1926  def get_from(o):
1927  return _object_cast_to_BondGeometry(o)
1928 
1929 BondGeometry_swigregister = _IMP_atom.BondGeometry_swigregister
1930 BondGeometry_swigregister(BondGeometry)
1931 
1932 class BondsGeometry(IMP.display.SingletonsGeometry):
1933  """Proxy of C++ IMP::atom::BondsGeometry class."""
1934 
1935  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1936 
1937  def __init__(self, sc):
1938  """__init__(IMP::atom::BondsGeometry self, SingletonContainer sc) -> BondsGeometry"""
1939  this = _IMP_atom.new_BondsGeometry(sc)
1940  try:
1941  self.this.append(this)
1942  except Exception:
1943  self.this = this
1944 
1945  def get_version_info(self):
1946  """get_version_info(BondsGeometry self) -> VersionInfo"""
1947  return _IMP_atom.BondsGeometry_get_version_info(self)
1948 
1949 
1950  def __str__(self):
1951  """__str__(BondsGeometry self) -> std::string"""
1952  return _IMP_atom.BondsGeometry___str__(self)
1953 
1954 
1955  def __repr__(self):
1956  """__repr__(BondsGeometry self) -> std::string"""
1957  return _IMP_atom.BondsGeometry___repr__(self)
1958 
1959 
1960  @staticmethod
1961  def get_from(o):
1962  return _object_cast_to_BondsGeometry(o)
1963 
1964 BondsGeometry_swigregister = _IMP_atom.BondsGeometry_swigregister
1965 BondsGeometry_swigregister(BondsGeometry)
1966 
1967 class Hierarchy(IMP.core.Hierarchy):
1968  """Proxy of C++ IMP::atom::Hierarchy class."""
1969 
1970  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1971 
1972  def __init__(self, *args):
1973  """
1974  __init__(IMP::atom::Hierarchy self, Model m, ParticleIndex pi) -> Hierarchy
1975  __init__(IMP::atom::Hierarchy self, _ParticleAdaptor pi) -> Hierarchy
1976  __init__(IMP::atom::Hierarchy self) -> Hierarchy
1977  __init__(IMP::atom::Hierarchy self, Hierarchy h) -> Hierarchy
1978  """
1979  this = _IMP_atom.new_Hierarchy(*args)
1980  try:
1981  self.this.append(this)
1982  except Exception:
1983  self.this = this
1984 
1985  def setup_particle(*args):
1986  """
1987  setup_particle(Particle p, _ParticleIndexesAdaptor children) -> Hierarchy
1988  setup_particle(Particle p) -> Hierarchy
1989  setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor children) -> Hierarchy
1990  setup_particle(Model m, ParticleIndex pi) -> Hierarchy
1991  """
1992  return _IMP_atom.Hierarchy_setup_particle(*args)
1993 
1994  setup_particle = staticmethod(setup_particle)
1995 
1996  def get_is_setup(*args):
1997  """
1998  get_is_setup(Particle p) -> bool
1999  get_is_setup(Model m, ParticleIndex p) -> bool
2000  """
2001  return _IMP_atom.Hierarchy_get_is_setup(*args)
2002 
2003  get_is_setup = staticmethod(get_is_setup)
2004 
2005  def get_is_valid(self, print_info=False):
2006  """
2007  get_is_valid(Hierarchy self, bool print_info=False) -> bool
2008  get_is_valid(Hierarchy self) -> bool
2009  """
2010  return _IMP_atom.Hierarchy_get_is_valid(self, print_info)
2011 
2012 
2013  def add_child(self, o):
2014  """add_child(Hierarchy self, Hierarchy o)"""
2015  return _IMP_atom.Hierarchy_add_child(self, o)
2016 
2017 
2018  def get_child(self, i):
2019  """get_child(Hierarchy self, unsigned int i) -> Hierarchy"""
2020  return _IMP_atom.Hierarchy_get_child(self, i)
2021 
2022 
2023  def get_children(self):
2024  """get_children(Hierarchy self) -> IMP::atom::Hierarchies"""
2025  return _IMP_atom.Hierarchy_get_children(self)
2026 
2027 
2028  def get_parent(self):
2029  """get_parent(Hierarchy self) -> Hierarchy"""
2030  return _IMP_atom.Hierarchy_get_parent(self)
2031 
2032 
2033  def get_as_atom(self):
2034  """get_as_atom(Hierarchy self) -> Atom"""
2035  return _IMP_atom.Hierarchy_get_as_atom(self)
2036 
2037 
2038  def get_as_residue(self):
2039  """get_as_residue(Hierarchy self) -> Residue"""
2040  return _IMP_atom.Hierarchy_get_as_residue(self)
2041 
2042 
2043  def get_as_chain(self):
2044  """get_as_chain(Hierarchy self) -> Chain"""
2045  return _IMP_atom.Hierarchy_get_as_chain(self)
2046 
2047 
2048  def get_as_molecule(self):
2049  """get_as_molecule(Hierarchy self) -> Molecule"""
2050  return _IMP_atom.Hierarchy_get_as_molecule(self)
2051 
2052 
2053  def get_as_domain(self):
2054  """get_as_domain(Hierarchy self) -> Domain"""
2055  return _IMP_atom.Hierarchy_get_as_domain(self)
2056 
2057 
2058  def get_as_fragment(self):
2059  """get_as_fragment(Hierarchy self) -> Fragment"""
2060  return _IMP_atom.Hierarchy_get_as_fragment(self)
2061 
2062 
2063  def get_as_xyz(self):
2064  """get_as_xyz(Hierarchy self) -> XYZ"""
2065  return _IMP_atom.Hierarchy_get_as_xyz(self)
2066 
2067 
2068  def get_as_xyzr(self):
2069  """get_as_xyzr(Hierarchy self) -> XYZR"""
2070  return _IMP_atom.Hierarchy_get_as_xyzr(self)
2071 
2072 
2073  def get_as_mass(self):
2074  """get_as_mass(Hierarchy self) -> Mass"""
2075  return _IMP_atom.Hierarchy_get_as_mass(self)
2076 
2077 
2078  def get_as_state(self):
2079  """get_as_state(Hierarchy self) -> State"""
2080  return _IMP_atom.Hierarchy_get_as_state(self)
2081 
2082 
2083  def get_traits():
2084  """get_traits() -> HierarchyTraits"""
2085  return _IMP_atom.Hierarchy_get_traits()
2086 
2087  get_traits = staticmethod(get_traits)
2088 
2089  def show(self, *args):
2090  """
2091  show(Hierarchy self, _ostream out, std::string delimiter)
2092  show(Hierarchy self, _ostream out)
2093  show(Hierarchy self)
2094  """
2095  return _IMP_atom.Hierarchy_show(self, *args)
2096 
2097 
2098  def add_attribute(self, *args):
2099  """
2100  add_attribute(Hierarchy self, FloatKey k, IMP::Float v, bool opt)
2101  add_attribute(Hierarchy self, FloatKey a0, IMP::Float a1)
2102  add_attribute(Hierarchy self, IntKey a0, IMP::Int a1)
2103  add_attribute(Hierarchy self, StringKey a0, IMP::String a1)
2104  add_attribute(Hierarchy self, ParticleIndexKey a0, Particle a1)
2105  add_attribute(Hierarchy self, ObjectKey a0, Object a1)
2106  """
2107  return _IMP_atom.Hierarchy_add_attribute(self, *args)
2108 
2109 
2110  def get_value(self, *args):
2111  """
2112  get_value(Hierarchy self, FloatKey a0) -> IMP::Float
2113  get_value(Hierarchy self, IntKey a0) -> IMP::Int
2114  get_value(Hierarchy self, StringKey a0) -> IMP::String
2115  get_value(Hierarchy self, ParticleIndexKey a0) -> Particle
2116  get_value(Hierarchy self, ObjectKey a0) -> Object
2117  """
2118  return _IMP_atom.Hierarchy_get_value(self, *args)
2119 
2120 
2121  def set_value(self, *args):
2122  """
2123  set_value(Hierarchy self, FloatKey a0, IMP::Float a1)
2124  set_value(Hierarchy self, IntKey a0, IMP::Int a1)
2125  set_value(Hierarchy self, StringKey a0, IMP::String a1)
2126  set_value(Hierarchy self, ParticleIndexKey a0, Particle a1)
2127  set_value(Hierarchy self, ObjectKey a0, Object a1)
2128  """
2129  return _IMP_atom.Hierarchy_set_value(self, *args)
2130 
2131 
2132  def remove_attribute(self, *args):
2133  """
2134  remove_attribute(Hierarchy self, FloatKey a0)
2135  remove_attribute(Hierarchy self, IntKey a0)
2136  remove_attribute(Hierarchy self, StringKey a0)
2137  remove_attribute(Hierarchy self, ParticleIndexKey a0)
2138  remove_attribute(Hierarchy self, ObjectKey a0)
2139  """
2140  return _IMP_atom.Hierarchy_remove_attribute(self, *args)
2141 
2142 
2143  def has_attribute(self, *args):
2144  """
2145  has_attribute(Hierarchy self, FloatKey a0) -> bool
2146  has_attribute(Hierarchy self, IntKey a0) -> bool
2147  has_attribute(Hierarchy self, StringKey a0) -> bool
2148  has_attribute(Hierarchy self, ParticleIndexKey a0) -> bool
2149  has_attribute(Hierarchy self, ObjectKey a0) -> bool
2150  """
2151  return _IMP_atom.Hierarchy_has_attribute(self, *args)
2152 
2153 
2154  def get_derivative(self, a0):
2155  """get_derivative(Hierarchy self, FloatKey a0) -> double"""
2156  return _IMP_atom.Hierarchy_get_derivative(self, a0)
2157 
2158 
2159  def get_name(self):
2160  """get_name(Hierarchy self) -> std::string"""
2161  return _IMP_atom.Hierarchy_get_name(self)
2162 
2163 
2164  def clear_caches(self):
2165  """clear_caches(Hierarchy self)"""
2166  return _IMP_atom.Hierarchy_clear_caches(self)
2167 
2168 
2169  def set_name(self, a0):
2170  """set_name(Hierarchy self, std::string a0)"""
2171  return _IMP_atom.Hierarchy_set_name(self, a0)
2172 
2173 
2174  def set_check_level(self, a0):
2175  """set_check_level(Hierarchy self, IMP::CheckLevel a0)"""
2176  return _IMP_atom.Hierarchy_set_check_level(self, a0)
2177 
2178 
2179  def add_to_derivative(self, a0, a1, a2):
2180  """add_to_derivative(Hierarchy self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2181  return _IMP_atom.Hierarchy_add_to_derivative(self, a0, a1, a2)
2182 
2183 
2184  def set_is_optimized(self, a0, a1):
2185  """set_is_optimized(Hierarchy self, FloatKey a0, bool a1)"""
2186  return _IMP_atom.Hierarchy_set_is_optimized(self, a0, a1)
2187 
2188 
2189  def get_is_optimized(self, a0):
2190  """get_is_optimized(Hierarchy self, FloatKey a0) -> bool"""
2191  return _IMP_atom.Hierarchy_get_is_optimized(self, a0)
2192 
2193 
2194  def get_check_level(self):
2195  """get_check_level(Hierarchy self) -> IMP::CheckLevel"""
2196  return _IMP_atom.Hierarchy_get_check_level(self)
2197 
2198 
2199  def __eq__(self, *args):
2200  """
2201  __eq__(Hierarchy self, Hierarchy o) -> bool
2202  __eq__(Hierarchy self, Particle d) -> bool
2203  """
2204  return _IMP_atom.Hierarchy___eq__(self, *args)
2205 
2206 
2207  def __ne__(self, *args):
2208  """
2209  __ne__(Hierarchy self, Hierarchy o) -> bool
2210  __ne__(Hierarchy self, Particle d) -> bool
2211  """
2212  return _IMP_atom.Hierarchy___ne__(self, *args)
2213 
2214 
2215  def __le__(self, *args):
2216  """
2217  __le__(Hierarchy self, Hierarchy o) -> bool
2218  __le__(Hierarchy self, Particle d) -> bool
2219  """
2220  return _IMP_atom.Hierarchy___le__(self, *args)
2221 
2222 
2223  def __lt__(self, *args):
2224  """
2225  __lt__(Hierarchy self, Hierarchy o) -> bool
2226  __lt__(Hierarchy self, Particle d) -> bool
2227  """
2228  return _IMP_atom.Hierarchy___lt__(self, *args)
2229 
2230 
2231  def __ge__(self, *args):
2232  """
2233  __ge__(Hierarchy self, Hierarchy o) -> bool
2234  __ge__(Hierarchy self, Particle d) -> bool
2235  """
2236  return _IMP_atom.Hierarchy___ge__(self, *args)
2237 
2238 
2239  def __gt__(self, *args):
2240  """
2241  __gt__(Hierarchy self, Hierarchy o) -> bool
2242  __gt__(Hierarchy self, Particle d) -> bool
2243  """
2244  return _IMP_atom.Hierarchy___gt__(self, *args)
2245 
2246 
2247  def __hash__(self):
2248  """__hash__(Hierarchy self) -> std::size_t"""
2249  return _IMP_atom.Hierarchy___hash__(self)
2250 
2251 
2252  def __str__(self):
2253  """__str__(Hierarchy self) -> std::string"""
2254  return _IMP_atom.Hierarchy___str__(self)
2255 
2256 
2257  def __repr__(self):
2258  """__repr__(Hierarchy self) -> std::string"""
2259  return _IMP_atom.Hierarchy___repr__(self)
2260 
2261  __swig_destroy__ = _IMP_atom.delete_Hierarchy
2262  __del__ = lambda self: None
2263 Hierarchy_swigregister = _IMP_atom.Hierarchy_swigregister
2264 Hierarchy_swigregister(Hierarchy)
2265 
2266 def Hierarchy_setup_particle(*args):
2267  """
2268  setup_particle(Particle p, _ParticleIndexesAdaptor children) -> Hierarchy
2269  setup_particle(Particle p) -> Hierarchy
2270  setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor children) -> Hierarchy
2271  Hierarchy_setup_particle(Model m, ParticleIndex pi) -> Hierarchy
2272  """
2273  return _IMP_atom.Hierarchy_setup_particle(*args)
2274 
2275 def Hierarchy_get_is_setup(*args):
2276  """
2277  get_is_setup(Particle p) -> bool
2278  Hierarchy_get_is_setup(Model m, ParticleIndex p) -> bool
2279  """
2280  return _IMP_atom.Hierarchy_get_is_setup(*args)
2281 
2282 def Hierarchy_get_traits():
2283  """Hierarchy_get_traits() -> HierarchyTraits"""
2284  return _IMP_atom.Hierarchy_get_traits()
2285 
2286 
2287 _IMP_atom.ATOM_TYPE_swigconstant(_IMP_atom)
2288 ATOM_TYPE = _IMP_atom.ATOM_TYPE
2289 
2290 _IMP_atom.RESIDUE_TYPE_swigconstant(_IMP_atom)
2291 RESIDUE_TYPE = _IMP_atom.RESIDUE_TYPE
2292 
2293 _IMP_atom.CHAIN_TYPE_swigconstant(_IMP_atom)
2294 CHAIN_TYPE = _IMP_atom.CHAIN_TYPE
2295 
2296 _IMP_atom.MOLECULE_TYPE_swigconstant(_IMP_atom)
2297 MOLECULE_TYPE = _IMP_atom.MOLECULE_TYPE
2298 
2299 _IMP_atom.DOMAIN_TYPE_swigconstant(_IMP_atom)
2300 DOMAIN_TYPE = _IMP_atom.DOMAIN_TYPE
2301 
2302 _IMP_atom.FRAGMENT_TYPE_swigconstant(_IMP_atom)
2303 FRAGMENT_TYPE = _IMP_atom.FRAGMENT_TYPE
2304 
2305 _IMP_atom.XYZ_TYPE_swigconstant(_IMP_atom)
2306 XYZ_TYPE = _IMP_atom.XYZ_TYPE
2307 
2308 _IMP_atom.XYZR_TYPE_swigconstant(_IMP_atom)
2309 XYZR_TYPE = _IMP_atom.XYZR_TYPE
2310 
2311 _IMP_atom.MASS_TYPE_swigconstant(_IMP_atom)
2312 MASS_TYPE = _IMP_atom.MASS_TYPE
2313 
2314 _IMP_atom.STATE_TYPE_swigconstant(_IMP_atom)
2315 STATE_TYPE = _IMP_atom.STATE_TYPE
2316 
2317 def get_by_type(mhd, t):
2318  """get_by_type(Hierarchy mhd, IMP::atom::GetByType t) -> IMP::atom::Hierarchies"""
2319  return _IMP_atom.get_by_type(mhd, t)
2320 
2321 def create_fragment(ps):
2322  """create_fragment(IMP::atom::Hierarchies const & ps) -> Hierarchy"""
2323  return _IMP_atom.create_fragment(ps)
2324 
2325 def get_internal_bonds(mhd):
2326  """get_internal_bonds(Hierarchy mhd) -> IMP::atom::Bonds"""
2327  return _IMP_atom.get_internal_bonds(mhd)
2328 
2329 def get_root(h):
2330  """get_root(Hierarchy h) -> Hierarchy"""
2331  return _IMP_atom.get_root(h)
2332 
2333 def show(*args):
2334  """
2335  show(Hierarchy h, _ostream out)
2336  show(Hierarchy h)
2337  """
2338  return _IMP_atom.show(*args)
2339 
2340 def create_rigid_body(*args):
2341  """
2342  create_rigid_body(IMP::atom::Hierarchies const & h, std::string name) -> RigidBody
2343  create_rigid_body(IMP::atom::Hierarchies const & h) -> RigidBody
2344  create_rigid_body(Hierarchy h) -> RigidBody
2345  """
2346  return _IMP_atom.create_rigid_body(*args)
2347 
2348 def create_compatible_rigid_body(h, reference):
2349  """create_compatible_rigid_body(Hierarchy h, Hierarchy reference) -> RigidBody"""
2350  return _IMP_atom.create_compatible_rigid_body(h, reference)
2351 
2352 def setup_as_rigid_body(h):
2353  """setup_as_rigid_body(Hierarchy h) -> RigidBody"""
2354  return _IMP_atom.setup_as_rigid_body(h)
2355 
2356 def get_is_heterogen(h):
2357  """get_is_heterogen(Hierarchy h) -> bool"""
2358  return _IMP_atom.get_is_heterogen(h)
2359 
2360 def create_clone(d):
2361  """create_clone(Hierarchy d) -> Hierarchy"""
2362  return _IMP_atom.create_clone(d)
2363 
2364 def create_clone_one(d):
2365  """create_clone_one(Hierarchy d) -> Hierarchy"""
2366  return _IMP_atom.create_clone_one(d)
2367 
2368 def destroy(d):
2369  """destroy(Hierarchy d)"""
2370  return _IMP_atom.destroy(d)
2371 
2372 def get_bounding_box(h):
2373  """get_bounding_box(Hierarchy h) -> BoundingBox3D"""
2374  return _IMP_atom.get_bounding_box(h)
2375 
2376 def get_bounding_sphere(h):
2377  """get_bounding_sphere(Hierarchy h) -> Sphere3D"""
2378  return _IMP_atom.get_bounding_sphere(h)
2379 class Angle(IMP.Decorator):
2380  """Proxy of C++ IMP::atom::Angle class."""
2381 
2382  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2383 
2384  def __init__(self, *args):
2385  """
2386  __init__(IMP::atom::Angle self) -> Angle
2387  __init__(IMP::atom::Angle self, Model m, ParticleIndex id) -> Angle
2388  __init__(IMP::atom::Angle self, _ParticleAdaptor d) -> Angle
2389  """
2390  this = _IMP_atom.new_Angle(*args)
2391  try:
2392  self.this.append(this)
2393  except Exception:
2394  self.this = this
2395 
2396  def show(self, *args):
2397  """
2398  show(Angle self, _ostream out)
2399  show(Angle self)
2400  """
2401  return _IMP_atom.Angle_show(self, *args)
2402 
2403 
2404  def setup_particle(*args):
2405  """
2406  setup_particle(Model m, ParticleIndex pi, XYZ a, XYZ b, XYZ c) -> Angle
2407  setup_particle(_ParticleAdaptor decorator, XYZ a, XYZ b, XYZ c) -> Angle
2408  """
2409  return _IMP_atom.Angle_setup_particle(*args)
2410 
2411  setup_particle = staticmethod(setup_particle)
2412 
2413  def get_is_setup(*args):
2414  """
2415  get_is_setup(_ParticleAdaptor p) -> bool
2416  get_is_setup(Model m, ParticleIndex pi) -> bool
2417  """
2418  return _IMP_atom.Angle_get_is_setup(*args)
2419 
2420  get_is_setup = staticmethod(get_is_setup)
2421 
2422  def get_particle(self, *args):
2423  """
2424  get_particle(Angle self) -> Particle
2425  get_particle(Angle self, unsigned int i) -> Particle
2426  """
2427  return _IMP_atom.Angle_get_particle(self, *args)
2428 
2429 
2430  def get_ideal(self):
2431  """get_ideal(Angle self) -> IMP::Float"""
2432  return _IMP_atom.Angle_get_ideal(self)
2433 
2434 
2435  def set_ideal(self, t):
2436  """set_ideal(Angle self, IMP::Float t)"""
2437  return _IMP_atom.Angle_set_ideal(self, t)
2438 
2439 
2440  def get_stiffness(self):
2441  """get_stiffness(Angle self) -> IMP::Float"""
2442  return _IMP_atom.Angle_get_stiffness(self)
2443 
2444 
2445  def set_stiffness(self, t):
2446  """set_stiffness(Angle self, IMP::Float t)"""
2447  return _IMP_atom.Angle_set_stiffness(self, t)
2448 
2449 
2450  def get_particle_key(i):
2451  """get_particle_key(unsigned int i) -> ParticleIndexKey"""
2452  return _IMP_atom.Angle_get_particle_key(i)
2453 
2454  get_particle_key = staticmethod(get_particle_key)
2455 
2456  def get_ideal_key():
2457  """get_ideal_key() -> FloatKey"""
2458  return _IMP_atom.Angle_get_ideal_key()
2459 
2460  get_ideal_key = staticmethod(get_ideal_key)
2461 
2462  def get_stiffness_key():
2463  """get_stiffness_key() -> FloatKey"""
2464  return _IMP_atom.Angle_get_stiffness_key()
2465 
2466  get_stiffness_key = staticmethod(get_stiffness_key)
2467 
2468  def add_attribute(self, *args):
2469  """
2470  add_attribute(Angle self, FloatKey k, IMP::Float v, bool opt)
2471  add_attribute(Angle self, FloatKey a0, IMP::Float a1)
2472  add_attribute(Angle self, IntKey a0, IMP::Int a1)
2473  add_attribute(Angle self, StringKey a0, IMP::String a1)
2474  add_attribute(Angle self, ParticleIndexKey a0, Particle a1)
2475  add_attribute(Angle self, ObjectKey a0, Object a1)
2476  """
2477  return _IMP_atom.Angle_add_attribute(self, *args)
2478 
2479 
2480  def get_value(self, *args):
2481  """
2482  get_value(Angle self, FloatKey a0) -> IMP::Float
2483  get_value(Angle self, IntKey a0) -> IMP::Int
2484  get_value(Angle self, StringKey a0) -> IMP::String
2485  get_value(Angle self, ParticleIndexKey a0) -> Particle
2486  get_value(Angle self, ObjectKey a0) -> Object
2487  """
2488  return _IMP_atom.Angle_get_value(self, *args)
2489 
2490 
2491  def set_value(self, *args):
2492  """
2493  set_value(Angle self, FloatKey a0, IMP::Float a1)
2494  set_value(Angle self, IntKey a0, IMP::Int a1)
2495  set_value(Angle self, StringKey a0, IMP::String a1)
2496  set_value(Angle self, ParticleIndexKey a0, Particle a1)
2497  set_value(Angle self, ObjectKey a0, Object a1)
2498  """
2499  return _IMP_atom.Angle_set_value(self, *args)
2500 
2501 
2502  def remove_attribute(self, *args):
2503  """
2504  remove_attribute(Angle self, FloatKey a0)
2505  remove_attribute(Angle self, IntKey a0)
2506  remove_attribute(Angle self, StringKey a0)
2507  remove_attribute(Angle self, ParticleIndexKey a0)
2508  remove_attribute(Angle self, ObjectKey a0)
2509  """
2510  return _IMP_atom.Angle_remove_attribute(self, *args)
2511 
2512 
2513  def has_attribute(self, *args):
2514  """
2515  has_attribute(Angle self, FloatKey a0) -> bool
2516  has_attribute(Angle self, IntKey a0) -> bool
2517  has_attribute(Angle self, StringKey a0) -> bool
2518  has_attribute(Angle self, ParticleIndexKey a0) -> bool
2519  has_attribute(Angle self, ObjectKey a0) -> bool
2520  """
2521  return _IMP_atom.Angle_has_attribute(self, *args)
2522 
2523 
2524  def get_derivative(self, a0):
2525  """get_derivative(Angle self, FloatKey a0) -> double"""
2526  return _IMP_atom.Angle_get_derivative(self, a0)
2527 
2528 
2529  def get_name(self):
2530  """get_name(Angle self) -> std::string"""
2531  return _IMP_atom.Angle_get_name(self)
2532 
2533 
2534  def clear_caches(self):
2535  """clear_caches(Angle self)"""
2536  return _IMP_atom.Angle_clear_caches(self)
2537 
2538 
2539  def set_name(self, a0):
2540  """set_name(Angle self, std::string a0)"""
2541  return _IMP_atom.Angle_set_name(self, a0)
2542 
2543 
2544  def set_check_level(self, a0):
2545  """set_check_level(Angle self, IMP::CheckLevel a0)"""
2546  return _IMP_atom.Angle_set_check_level(self, a0)
2547 
2548 
2549  def add_to_derivative(self, a0, a1, a2):
2550  """add_to_derivative(Angle self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2551  return _IMP_atom.Angle_add_to_derivative(self, a0, a1, a2)
2552 
2553 
2554  def set_is_optimized(self, a0, a1):
2555  """set_is_optimized(Angle self, FloatKey a0, bool a1)"""
2556  return _IMP_atom.Angle_set_is_optimized(self, a0, a1)
2557 
2558 
2559  def get_is_optimized(self, a0):
2560  """get_is_optimized(Angle self, FloatKey a0) -> bool"""
2561  return _IMP_atom.Angle_get_is_optimized(self, a0)
2562 
2563 
2564  def get_check_level(self):
2565  """get_check_level(Angle self) -> IMP::CheckLevel"""
2566  return _IMP_atom.Angle_get_check_level(self)
2567 
2568 
2569  def __eq__(self, *args):
2570  """
2571  __eq__(Angle self, Angle o) -> bool
2572  __eq__(Angle self, Particle d) -> bool
2573  """
2574  return _IMP_atom.Angle___eq__(self, *args)
2575 
2576 
2577  def __ne__(self, *args):
2578  """
2579  __ne__(Angle self, Angle o) -> bool
2580  __ne__(Angle self, Particle d) -> bool
2581  """
2582  return _IMP_atom.Angle___ne__(self, *args)
2583 
2584 
2585  def __le__(self, *args):
2586  """
2587  __le__(Angle self, Angle o) -> bool
2588  __le__(Angle self, Particle d) -> bool
2589  """
2590  return _IMP_atom.Angle___le__(self, *args)
2591 
2592 
2593  def __lt__(self, *args):
2594  """
2595  __lt__(Angle self, Angle o) -> bool
2596  __lt__(Angle self, Particle d) -> bool
2597  """
2598  return _IMP_atom.Angle___lt__(self, *args)
2599 
2600 
2601  def __ge__(self, *args):
2602  """
2603  __ge__(Angle self, Angle o) -> bool
2604  __ge__(Angle self, Particle d) -> bool
2605  """
2606  return _IMP_atom.Angle___ge__(self, *args)
2607 
2608 
2609  def __gt__(self, *args):
2610  """
2611  __gt__(Angle self, Angle o) -> bool
2612  __gt__(Angle self, Particle d) -> bool
2613  """
2614  return _IMP_atom.Angle___gt__(self, *args)
2615 
2616 
2617  def __hash__(self):
2618  """__hash__(Angle self) -> std::size_t"""
2619  return _IMP_atom.Angle___hash__(self)
2620 
2621 
2622  def __str__(self):
2623  """__str__(Angle self) -> std::string"""
2624  return _IMP_atom.Angle___str__(self)
2625 
2626 
2627  def __repr__(self):
2628  """__repr__(Angle self) -> std::string"""
2629  return _IMP_atom.Angle___repr__(self)
2630 
2631  __swig_destroy__ = _IMP_atom.delete_Angle
2632  __del__ = lambda self: None
2633 Angle_swigregister = _IMP_atom.Angle_swigregister
2634 Angle_swigregister(Angle)
2635 
2636 def Angle_setup_particle(*args):
2637  """
2638  setup_particle(Model m, ParticleIndex pi, XYZ a, XYZ b, XYZ c) -> Angle
2639  Angle_setup_particle(_ParticleAdaptor decorator, XYZ a, XYZ b, XYZ c) -> Angle
2640  """
2641  return _IMP_atom.Angle_setup_particle(*args)
2642 
2643 def Angle_get_is_setup(*args):
2644  """
2645  get_is_setup(_ParticleAdaptor p) -> bool
2646  Angle_get_is_setup(Model m, ParticleIndex pi) -> bool
2647  """
2648  return _IMP_atom.Angle_get_is_setup(*args)
2649 
2650 def Angle_get_particle_key(i):
2651  """Angle_get_particle_key(unsigned int i) -> ParticleIndexKey"""
2652  return _IMP_atom.Angle_get_particle_key(i)
2653 
2654 def Angle_get_ideal_key():
2655  """Angle_get_ideal_key() -> FloatKey"""
2656  return _IMP_atom.Angle_get_ideal_key()
2657 
2658 def Angle_get_stiffness_key():
2659  """Angle_get_stiffness_key() -> FloatKey"""
2660  return _IMP_atom.Angle_get_stiffness_key()
2661 
2662 class Dihedral(IMP.Decorator):
2663  """Proxy of C++ IMP::atom::Dihedral class."""
2664 
2665  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2666 
2667  def __init__(self, *args):
2668  """
2669  __init__(IMP::atom::Dihedral self) -> Dihedral
2670  __init__(IMP::atom::Dihedral self, Model m, ParticleIndex id) -> Dihedral
2671  __init__(IMP::atom::Dihedral self, _ParticleAdaptor d) -> Dihedral
2672  """
2673  this = _IMP_atom.new_Dihedral(*args)
2674  try:
2675  self.this.append(this)
2676  except Exception:
2677  self.this = this
2678 
2679  def show(self, *args):
2680  """
2681  show(Dihedral self, _ostream out)
2682  show(Dihedral self)
2683  """
2684  return _IMP_atom.Dihedral_show(self, *args)
2685 
2686 
2687  def setup_particle(*args):
2688  """
2689  setup_particle(Model m, ParticleIndex pi, XYZ a, XYZ b, XYZ c, XYZ d) -> Dihedral
2690  setup_particle(_ParticleAdaptor decorator, XYZ a, XYZ b, XYZ c, XYZ d) -> Dihedral
2691  """
2692  return _IMP_atom.Dihedral_setup_particle(*args)
2693 
2694  setup_particle = staticmethod(setup_particle)
2695 
2696  def get_is_setup(*args):
2697  """
2698  get_is_setup(_ParticleAdaptor p) -> bool
2699  get_is_setup(Model m, ParticleIndex pi) -> bool
2700  """
2701  return _IMP_atom.Dihedral_get_is_setup(*args)
2702 
2703  get_is_setup = staticmethod(get_is_setup)
2704 
2705  def get_particle(self, *args):
2706  """
2707  get_particle(Dihedral self) -> Particle
2708  get_particle(Dihedral self, unsigned int i) -> Particle
2709  """
2710  return _IMP_atom.Dihedral_get_particle(self, *args)
2711 
2712 
2713  def get_ideal(self):
2714  """get_ideal(Dihedral self) -> IMP::Float"""
2715  return _IMP_atom.Dihedral_get_ideal(self)
2716 
2717 
2718  def set_ideal(self, t):
2719  """set_ideal(Dihedral self, IMP::Float t)"""
2720  return _IMP_atom.Dihedral_set_ideal(self, t)
2721 
2722 
2723  def get_multiplicity(self):
2724  """get_multiplicity(Dihedral self) -> IMP::Int"""
2725  return _IMP_atom.Dihedral_get_multiplicity(self)
2726 
2727 
2728  def set_multiplicity(self, t):
2729  """set_multiplicity(Dihedral self, IMP::Int t)"""
2730  return _IMP_atom.Dihedral_set_multiplicity(self, t)
2731 
2732 
2733  def get_stiffness(self):
2734  """get_stiffness(Dihedral self) -> IMP::Float"""
2735  return _IMP_atom.Dihedral_get_stiffness(self)
2736 
2737 
2738  def set_stiffness(self, t):
2739  """set_stiffness(Dihedral self, IMP::Float t)"""
2740  return _IMP_atom.Dihedral_set_stiffness(self, t)
2741 
2742 
2743  def get_particle_key(i):
2744  """get_particle_key(unsigned int i) -> ParticleIndexKey"""
2745  return _IMP_atom.Dihedral_get_particle_key(i)
2746 
2747  get_particle_key = staticmethod(get_particle_key)
2748 
2749  def get_ideal_key():
2750  """get_ideal_key() -> FloatKey"""
2751  return _IMP_atom.Dihedral_get_ideal_key()
2752 
2753  get_ideal_key = staticmethod(get_ideal_key)
2754 
2755  def get_multiplicity_key():
2756  """get_multiplicity_key() -> IntKey"""
2757  return _IMP_atom.Dihedral_get_multiplicity_key()
2758 
2759  get_multiplicity_key = staticmethod(get_multiplicity_key)
2760 
2761  def get_stiffness_key():
2762  """get_stiffness_key() -> FloatKey"""
2763  return _IMP_atom.Dihedral_get_stiffness_key()
2764 
2765  get_stiffness_key = staticmethod(get_stiffness_key)
2766 
2767  def add_attribute(self, *args):
2768  """
2769  add_attribute(Dihedral self, FloatKey k, IMP::Float v, bool opt)
2770  add_attribute(Dihedral self, FloatKey a0, IMP::Float a1)
2771  add_attribute(Dihedral self, IntKey a0, IMP::Int a1)
2772  add_attribute(Dihedral self, StringKey a0, IMP::String a1)
2773  add_attribute(Dihedral self, ParticleIndexKey a0, Particle a1)
2774  add_attribute(Dihedral self, ObjectKey a0, Object a1)
2775  """
2776  return _IMP_atom.Dihedral_add_attribute(self, *args)
2777 
2778 
2779  def get_value(self, *args):
2780  """
2781  get_value(Dihedral self, FloatKey a0) -> IMP::Float
2782  get_value(Dihedral self, IntKey a0) -> IMP::Int
2783  get_value(Dihedral self, StringKey a0) -> IMP::String
2784  get_value(Dihedral self, ParticleIndexKey a0) -> Particle
2785  get_value(Dihedral self, ObjectKey a0) -> Object
2786  """
2787  return _IMP_atom.Dihedral_get_value(self, *args)
2788 
2789 
2790  def set_value(self, *args):
2791  """
2792  set_value(Dihedral self, FloatKey a0, IMP::Float a1)
2793  set_value(Dihedral self, IntKey a0, IMP::Int a1)
2794  set_value(Dihedral self, StringKey a0, IMP::String a1)
2795  set_value(Dihedral self, ParticleIndexKey a0, Particle a1)
2796  set_value(Dihedral self, ObjectKey a0, Object a1)
2797  """
2798  return _IMP_atom.Dihedral_set_value(self, *args)
2799 
2800 
2801  def remove_attribute(self, *args):
2802  """
2803  remove_attribute(Dihedral self, FloatKey a0)
2804  remove_attribute(Dihedral self, IntKey a0)
2805  remove_attribute(Dihedral self, StringKey a0)
2806  remove_attribute(Dihedral self, ParticleIndexKey a0)
2807  remove_attribute(Dihedral self, ObjectKey a0)
2808  """
2809  return _IMP_atom.Dihedral_remove_attribute(self, *args)
2810 
2811 
2812  def has_attribute(self, *args):
2813  """
2814  has_attribute(Dihedral self, FloatKey a0) -> bool
2815  has_attribute(Dihedral self, IntKey a0) -> bool
2816  has_attribute(Dihedral self, StringKey a0) -> bool
2817  has_attribute(Dihedral self, ParticleIndexKey a0) -> bool
2818  has_attribute(Dihedral self, ObjectKey a0) -> bool
2819  """
2820  return _IMP_atom.Dihedral_has_attribute(self, *args)
2821 
2822 
2823  def get_derivative(self, a0):
2824  """get_derivative(Dihedral self, FloatKey a0) -> double"""
2825  return _IMP_atom.Dihedral_get_derivative(self, a0)
2826 
2827 
2828  def get_name(self):
2829  """get_name(Dihedral self) -> std::string"""
2830  return _IMP_atom.Dihedral_get_name(self)
2831 
2832 
2833  def clear_caches(self):
2834  """clear_caches(Dihedral self)"""
2835  return _IMP_atom.Dihedral_clear_caches(self)
2836 
2837 
2838  def set_name(self, a0):
2839  """set_name(Dihedral self, std::string a0)"""
2840  return _IMP_atom.Dihedral_set_name(self, a0)
2841 
2842 
2843  def set_check_level(self, a0):
2844  """set_check_level(Dihedral self, IMP::CheckLevel a0)"""
2845  return _IMP_atom.Dihedral_set_check_level(self, a0)
2846 
2847 
2848  def add_to_derivative(self, a0, a1, a2):
2849  """add_to_derivative(Dihedral self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2850  return _IMP_atom.Dihedral_add_to_derivative(self, a0, a1, a2)
2851 
2852 
2853  def set_is_optimized(self, a0, a1):
2854  """set_is_optimized(Dihedral self, FloatKey a0, bool a1)"""
2855  return _IMP_atom.Dihedral_set_is_optimized(self, a0, a1)
2856 
2857 
2858  def get_is_optimized(self, a0):
2859  """get_is_optimized(Dihedral self, FloatKey a0) -> bool"""
2860  return _IMP_atom.Dihedral_get_is_optimized(self, a0)
2861 
2862 
2863  def get_check_level(self):
2864  """get_check_level(Dihedral self) -> IMP::CheckLevel"""
2865  return _IMP_atom.Dihedral_get_check_level(self)
2866 
2867 
2868  def __eq__(self, *args):
2869  """
2870  __eq__(Dihedral self, Dihedral o) -> bool
2871  __eq__(Dihedral self, Particle d) -> bool
2872  """
2873  return _IMP_atom.Dihedral___eq__(self, *args)
2874 
2875 
2876  def __ne__(self, *args):
2877  """
2878  __ne__(Dihedral self, Dihedral o) -> bool
2879  __ne__(Dihedral self, Particle d) -> bool
2880  """
2881  return _IMP_atom.Dihedral___ne__(self, *args)
2882 
2883 
2884  def __le__(self, *args):
2885  """
2886  __le__(Dihedral self, Dihedral o) -> bool
2887  __le__(Dihedral self, Particle d) -> bool
2888  """
2889  return _IMP_atom.Dihedral___le__(self, *args)
2890 
2891 
2892  def __lt__(self, *args):
2893  """
2894  __lt__(Dihedral self, Dihedral o) -> bool
2895  __lt__(Dihedral self, Particle d) -> bool
2896  """
2897  return _IMP_atom.Dihedral___lt__(self, *args)
2898 
2899 
2900  def __ge__(self, *args):
2901  """
2902  __ge__(Dihedral self, Dihedral o) -> bool
2903  __ge__(Dihedral self, Particle d) -> bool
2904  """
2905  return _IMP_atom.Dihedral___ge__(self, *args)
2906 
2907 
2908  def __gt__(self, *args):
2909  """
2910  __gt__(Dihedral self, Dihedral o) -> bool
2911  __gt__(Dihedral self, Particle d) -> bool
2912  """
2913  return _IMP_atom.Dihedral___gt__(self, *args)
2914 
2915 
2916  def __hash__(self):
2917  """__hash__(Dihedral self) -> std::size_t"""
2918  return _IMP_atom.Dihedral___hash__(self)
2919 
2920 
2921  def __str__(self):
2922  """__str__(Dihedral self) -> std::string"""
2923  return _IMP_atom.Dihedral___str__(self)
2924 
2925 
2926  def __repr__(self):
2927  """__repr__(Dihedral self) -> std::string"""
2928  return _IMP_atom.Dihedral___repr__(self)
2929 
2930  __swig_destroy__ = _IMP_atom.delete_Dihedral
2931  __del__ = lambda self: None
2932 Dihedral_swigregister = _IMP_atom.Dihedral_swigregister
2933 Dihedral_swigregister(Dihedral)
2934 
2935 def Dihedral_setup_particle(*args):
2936  """
2937  setup_particle(Model m, ParticleIndex pi, XYZ a, XYZ b, XYZ c, XYZ d) -> Dihedral
2938  Dihedral_setup_particle(_ParticleAdaptor decorator, XYZ a, XYZ b, XYZ c, XYZ d) -> Dihedral
2939  """
2940  return _IMP_atom.Dihedral_setup_particle(*args)
2941 
2942 def Dihedral_get_is_setup(*args):
2943  """
2944  get_is_setup(_ParticleAdaptor p) -> bool
2945  Dihedral_get_is_setup(Model m, ParticleIndex pi) -> bool
2946  """
2947  return _IMP_atom.Dihedral_get_is_setup(*args)
2948 
2949 def Dihedral_get_particle_key(i):
2950  """Dihedral_get_particle_key(unsigned int i) -> ParticleIndexKey"""
2951  return _IMP_atom.Dihedral_get_particle_key(i)
2952 
2953 def Dihedral_get_ideal_key():
2954  """Dihedral_get_ideal_key() -> FloatKey"""
2955  return _IMP_atom.Dihedral_get_ideal_key()
2956 
2957 def Dihedral_get_multiplicity_key():
2958  """Dihedral_get_multiplicity_key() -> IntKey"""
2959  return _IMP_atom.Dihedral_get_multiplicity_key()
2960 
2961 def Dihedral_get_stiffness_key():
2962  """Dihedral_get_stiffness_key() -> FloatKey"""
2963  return _IMP_atom.Dihedral_get_stiffness_key()
2964 
2965 class SmoothingFunction(IMP.Object):
2966  """Proxy of C++ IMP::atom::SmoothingFunction class."""
2967 
2968  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2969 
2970  def __init__(self, *args, **kwargs):
2971  raise AttributeError("No constructor defined - class is abstract")
2972 
2973  def __call__(self, *args):
2974  """
2975  __call__(SmoothingFunction self, double score, double distance) -> double
2976  __call__(SmoothingFunction self, double score, double deriv, double distance) -> IMP::DerivativePair
2977  """
2978  return _IMP_atom.SmoothingFunction___call__(self, *args)
2979 
2980  __swig_destroy__ = _IMP_atom.delete_SmoothingFunction
2981  __del__ = lambda self: None
2982 
2983  def __str__(self):
2984  """__str__(SmoothingFunction self) -> std::string"""
2985  return _IMP_atom.SmoothingFunction___str__(self)
2986 
2987 
2988  def __repr__(self):
2989  """__repr__(SmoothingFunction self) -> std::string"""
2990  return _IMP_atom.SmoothingFunction___repr__(self)
2991 
2992 
2993  @staticmethod
2994  def get_from(o):
2995  return _object_cast_to_SmoothingFunction(o)
2996 
2997 SmoothingFunction_swigregister = _IMP_atom.SmoothingFunction_swigregister
2998 SmoothingFunction_swigregister(SmoothingFunction)
2999 
3000 class ForceSwitch(SmoothingFunction):
3001  """Proxy of C++ IMP::atom::ForceSwitch class."""
3002 
3003  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3004 
3005  def __init__(self, min_distance, max_distance):
3006  """__init__(IMP::atom::ForceSwitch self, double min_distance, double max_distance) -> ForceSwitch"""
3007  this = _IMP_atom.new_ForceSwitch(min_distance, max_distance)
3008  try:
3009  self.this.append(this)
3010  except Exception:
3011  self.this = this
3012 
3013  def __call__(self, *args):
3014  """
3015  __call__(ForceSwitch self, double score, double distance) -> double
3016  __call__(ForceSwitch self, double score, double deriv, double distance) -> IMP::DerivativePair
3017  """
3018  return _IMP_atom.ForceSwitch___call__(self, *args)
3019 
3020 
3021  def get_version_info(self):
3022  """get_version_info(ForceSwitch self) -> VersionInfo"""
3023  return _IMP_atom.ForceSwitch_get_version_info(self)
3024 
3025 
3026  def __str__(self):
3027  """__str__(ForceSwitch self) -> std::string"""
3028  return _IMP_atom.ForceSwitch___str__(self)
3029 
3030 
3031  def __repr__(self):
3032  """__repr__(ForceSwitch self) -> std::string"""
3033  return _IMP_atom.ForceSwitch___repr__(self)
3034 
3035 
3036  @staticmethod
3037  def get_from(o):
3038  return _object_cast_to_ForceSwitch(o)
3039 
3040 ForceSwitch_swigregister = _IMP_atom.ForceSwitch_swigregister
3041 ForceSwitch_swigregister(ForceSwitch)
3042 
3043 class AngleSingletonScore(IMP.SingletonScore):
3044  """Proxy of C++ IMP::atom::AngleSingletonScore class."""
3045 
3046  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3047 
3048  def __init__(self, f):
3049  """__init__(IMP::atom::AngleSingletonScore self, UnaryFunction f) -> AngleSingletonScore"""
3050  this = _IMP_atom.new_AngleSingletonScore(f)
3051  try:
3052  self.this.append(this)
3053  except Exception:
3054  self.this = this
3055 
3056  def do_get_inputs(self, m, pis):
3057  """do_get_inputs(AngleSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3058  return _IMP_atom.AngleSingletonScore_do_get_inputs(self, m, pis)
3059 
3060 
3061  def get_version_info(self):
3062  """get_version_info(AngleSingletonScore self) -> VersionInfo"""
3063  return _IMP_atom.AngleSingletonScore_get_version_info(self)
3064 
3065 
3066  def __str__(self):
3067  """__str__(AngleSingletonScore self) -> std::string"""
3068  return _IMP_atom.AngleSingletonScore___str__(self)
3069 
3070 
3071  def __repr__(self):
3072  """__repr__(AngleSingletonScore self) -> std::string"""
3073  return _IMP_atom.AngleSingletonScore___repr__(self)
3074 
3075 
3076  @staticmethod
3077  def get_from(o):
3078  return _object_cast_to_AngleSingletonScore(o)
3079 
3080 AngleSingletonScore_swigregister = _IMP_atom.AngleSingletonScore_swigregister
3081 AngleSingletonScore_swigregister(AngleSingletonScore)
3082 
3083 class BondEndpointsRefiner(IMP.Refiner):
3084  """Proxy of C++ IMP::atom::BondEndpointsRefiner class."""
3085 
3086  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3087 
3088  def __init__(self):
3089  """__init__(IMP::atom::BondEndpointsRefiner self) -> BondEndpointsRefiner"""
3090  this = _IMP_atom.new_BondEndpointsRefiner()
3091  try:
3092  self.this.append(this)
3093  except Exception:
3094  self.this = this
3095 
3096  def do_get_inputs(self, m, pis):
3097  """do_get_inputs(BondEndpointsRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3098  return _IMP_atom.BondEndpointsRefiner_do_get_inputs(self, m, pis)
3099 
3100 
3101  def get_version_info(self):
3102  """get_version_info(BondEndpointsRefiner self) -> VersionInfo"""
3103  return _IMP_atom.BondEndpointsRefiner_get_version_info(self)
3104 
3105 
3106  def __str__(self):
3107  """__str__(BondEndpointsRefiner self) -> std::string"""
3108  return _IMP_atom.BondEndpointsRefiner___str__(self)
3109 
3110 
3111  def __repr__(self):
3112  """__repr__(BondEndpointsRefiner self) -> std::string"""
3113  return _IMP_atom.BondEndpointsRefiner___repr__(self)
3114 
3115 
3116  @staticmethod
3117  def get_from(o):
3118  return _object_cast_to_BondEndpointsRefiner(o)
3119 
3120 BondEndpointsRefiner_swigregister = _IMP_atom.BondEndpointsRefiner_swigregister
3121 BondEndpointsRefiner_swigregister(BondEndpointsRefiner)
3122 
3123 class BondPairContainer(IMP.PairContainer):
3124  """Proxy of C++ IMP::atom::BondPairContainer class."""
3125 
3126  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3127 
3128  def __init__(self, sc):
3129  """__init__(IMP::atom::BondPairContainer self, SingletonContainer sc) -> BondPairContainer"""
3130  this = _IMP_atom.new_BondPairContainer(sc)
3131  try:
3132  self.this.append(this)
3133  except Exception:
3134  self.this = this
3135 
3136  def do_get_inputs(self):
3137  """do_get_inputs(BondPairContainer self) -> IMP::ModelObjectsTemp"""
3138  return _IMP_atom.BondPairContainer_do_get_inputs(self)
3139 
3140 
3141  def do_apply(self, sm):
3142  """do_apply(BondPairContainer self, PairModifier sm)"""
3143  return _IMP_atom.BondPairContainer_do_apply(self, sm)
3144 
3145 
3146  def get_version_info(self):
3147  """get_version_info(BondPairContainer self) -> VersionInfo"""
3148  return _IMP_atom.BondPairContainer_get_version_info(self)
3149 
3150 
3151  def __str__(self):
3152  """__str__(BondPairContainer self) -> std::string"""
3153  return _IMP_atom.BondPairContainer___str__(self)
3154 
3155 
3156  def __repr__(self):
3157  """__repr__(BondPairContainer self) -> std::string"""
3158  return _IMP_atom.BondPairContainer___repr__(self)
3159 
3160 
3161  @staticmethod
3162  def get_from(o):
3163  return _object_cast_to_BondPairContainer(o)
3164 
3165 BondPairContainer_swigregister = _IMP_atom.BondPairContainer_swigregister
3166 BondPairContainer_swigregister(BondPairContainer)
3167 
3168 class BondSingletonScore(IMP.SingletonScore):
3169  """Proxy of C++ IMP::atom::BondSingletonScore class."""
3170 
3171  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3172 
3173  def __init__(self, f):
3174  """__init__(IMP::atom::BondSingletonScore self, UnaryFunction f) -> BondSingletonScore"""
3175  this = _IMP_atom.new_BondSingletonScore(f)
3176  try:
3177  self.this.append(this)
3178  except Exception:
3179  self.this = this
3180 
3181  def get_unary_function(self):
3182  """get_unary_function(BondSingletonScore self) -> UnaryFunction"""
3183  return _IMP_atom.BondSingletonScore_get_unary_function(self)
3184 
3185 
3186  def do_get_inputs(self, m, pis):
3187  """do_get_inputs(BondSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3188  return _IMP_atom.BondSingletonScore_do_get_inputs(self, m, pis)
3189 
3190 
3191  def get_version_info(self):
3192  """get_version_info(BondSingletonScore self) -> VersionInfo"""
3193  return _IMP_atom.BondSingletonScore_get_version_info(self)
3194 
3195 
3196  def __str__(self):
3197  """__str__(BondSingletonScore self) -> std::string"""
3198  return _IMP_atom.BondSingletonScore___str__(self)
3199 
3200 
3201  def __repr__(self):
3202  """__repr__(BondSingletonScore self) -> std::string"""
3203  return _IMP_atom.BondSingletonScore___repr__(self)
3204 
3205 
3206  @staticmethod
3207  def get_from(o):
3208  return _object_cast_to_BondSingletonScore(o)
3209 
3210 BondSingletonScore_swigregister = _IMP_atom.BondSingletonScore_swigregister
3211 BondSingletonScore_swigregister(BondSingletonScore)
3212 
3213 class DihedralSingletonScore(IMP.SingletonScore):
3214  """Proxy of C++ IMP::atom::DihedralSingletonScore class."""
3215 
3216  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3217 
3218  def __init__(self):
3219  """__init__(IMP::atom::DihedralSingletonScore self) -> DihedralSingletonScore"""
3220  this = _IMP_atom.new_DihedralSingletonScore()
3221  try:
3222  self.this.append(this)
3223  except Exception:
3224  self.this = this
3225 
3226  def do_get_inputs(self, m, pis):
3227  """do_get_inputs(DihedralSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3228  return _IMP_atom.DihedralSingletonScore_do_get_inputs(self, m, pis)
3229 
3230 
3231  def get_version_info(self):
3232  """get_version_info(DihedralSingletonScore self) -> VersionInfo"""
3233  return _IMP_atom.DihedralSingletonScore_get_version_info(self)
3234 
3235 
3236  def __str__(self):
3237  """__str__(DihedralSingletonScore self) -> std::string"""
3238  return _IMP_atom.DihedralSingletonScore___str__(self)
3239 
3240 
3241  def __repr__(self):
3242  """__repr__(DihedralSingletonScore self) -> std::string"""
3243  return _IMP_atom.DihedralSingletonScore___repr__(self)
3244 
3245 
3246  @staticmethod
3247  def get_from(o):
3248  return _object_cast_to_DihedralSingletonScore(o)
3249 
3250 DihedralSingletonScore_swigregister = _IMP_atom.DihedralSingletonScore_swigregister
3251 DihedralSingletonScore_swigregister(DihedralSingletonScore)
3252 
3253 class ImproperSingletonScore(IMP.SingletonScore):
3254  """Proxy of C++ IMP::atom::ImproperSingletonScore class."""
3255 
3256  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3257 
3258  def __init__(self, f):
3259  """__init__(IMP::atom::ImproperSingletonScore self, UnaryFunction f) -> ImproperSingletonScore"""
3260  this = _IMP_atom.new_ImproperSingletonScore(f)
3261  try:
3262  self.this.append(this)
3263  except Exception:
3264  self.this = this
3265 
3266  def do_get_inputs(self, m, pis):
3267  """do_get_inputs(ImproperSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3268  return _IMP_atom.ImproperSingletonScore_do_get_inputs(self, m, pis)
3269 
3270 
3271  def get_version_info(self):
3272  """get_version_info(ImproperSingletonScore self) -> VersionInfo"""
3273  return _IMP_atom.ImproperSingletonScore_get_version_info(self)
3274 
3275 
3276  def __str__(self):
3277  """__str__(ImproperSingletonScore self) -> std::string"""
3278  return _IMP_atom.ImproperSingletonScore___str__(self)
3279 
3280 
3281  def __repr__(self):
3282  """__repr__(ImproperSingletonScore self) -> std::string"""
3283  return _IMP_atom.ImproperSingletonScore___repr__(self)
3284 
3285 
3286  @staticmethod
3287  def get_from(o):
3288  return _object_cast_to_ImproperSingletonScore(o)
3289 
3290 ImproperSingletonScore_swigregister = _IMP_atom.ImproperSingletonScore_swigregister
3291 ImproperSingletonScore_swigregister(ImproperSingletonScore)
3292 
3293 class CenterOfMass(IMP.Decorator):
3294  """Proxy of C++ IMP::atom::CenterOfMass class."""
3295 
3296  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3297 
3298  def get_constraint(self):
3299  """get_constraint(CenterOfMass self) -> Constraint"""
3300  return _IMP_atom.CenterOfMass_get_constraint(self)
3301 
3302 
3303  def get_mass(self):
3304  """get_mass(CenterOfMass self) -> IMP::Float"""
3305  return _IMP_atom.CenterOfMass_get_mass(self)
3306 
3307 
3308  def get_coordinate(self, i):
3309  """get_coordinate(CenterOfMass self, int i) -> IMP::Float"""
3310  return _IMP_atom.CenterOfMass_get_coordinate(self, i)
3311 
3312 
3313  def get_coordinates(self):
3314  """get_coordinates(CenterOfMass self) -> Vector3D"""
3315  return _IMP_atom.CenterOfMass_get_coordinates(self)
3316 
3317 
3318  def __init__(self, *args):
3319  """
3320  __init__(IMP::atom::CenterOfMass self) -> CenterOfMass
3321  __init__(IMP::atom::CenterOfMass self, Model m, ParticleIndex id) -> CenterOfMass
3322  __init__(IMP::atom::CenterOfMass self, _ParticleAdaptor d) -> CenterOfMass
3323  """
3324  this = _IMP_atom.new_CenterOfMass(*args)
3325  try:
3326  self.this.append(this)
3327  except Exception:
3328  self.this = this
3329 
3330  def show(self, *args):
3331  """
3332  show(CenterOfMass self, _ostream out)
3333  show(CenterOfMass self)
3334  """
3335  return _IMP_atom.CenterOfMass_show(self, *args)
3336 
3337 
3338  def setup_particle(*args):
3339  """
3340  setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor members) -> CenterOfMass
3341  setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> CenterOfMass
3342  setup_particle(Model m, ParticleIndex pi, Refiner refiner) -> CenterOfMass
3343  setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> CenterOfMass
3344  """
3345  return _IMP_atom.CenterOfMass_setup_particle(*args)
3346 
3347  setup_particle = staticmethod(setup_particle)
3348 
3349  def get_is_setup(*args):
3350  """
3351  get_is_setup(_ParticleAdaptor p) -> bool
3352  get_is_setup(Model m, ParticleIndex pi) -> bool
3353  """
3354  return _IMP_atom.CenterOfMass_get_is_setup(*args)
3355 
3356  get_is_setup = staticmethod(get_is_setup)
3357 
3358  def add_attribute(self, *args):
3359  """
3360  add_attribute(CenterOfMass self, FloatKey k, IMP::Float v, bool opt)
3361  add_attribute(CenterOfMass self, FloatKey a0, IMP::Float a1)
3362  add_attribute(CenterOfMass self, IntKey a0, IMP::Int a1)
3363  add_attribute(CenterOfMass self, StringKey a0, IMP::String a1)
3364  add_attribute(CenterOfMass self, ParticleIndexKey a0, Particle a1)
3365  add_attribute(CenterOfMass self, ObjectKey a0, Object a1)
3366  """
3367  return _IMP_atom.CenterOfMass_add_attribute(self, *args)
3368 
3369 
3370  def get_value(self, *args):
3371  """
3372  get_value(CenterOfMass self, FloatKey a0) -> IMP::Float
3373  get_value(CenterOfMass self, IntKey a0) -> IMP::Int
3374  get_value(CenterOfMass self, StringKey a0) -> IMP::String
3375  get_value(CenterOfMass self, ParticleIndexKey a0) -> Particle
3376  get_value(CenterOfMass self, ObjectKey a0) -> Object
3377  """
3378  return _IMP_atom.CenterOfMass_get_value(self, *args)
3379 
3380 
3381  def set_value(self, *args):
3382  """
3383  set_value(CenterOfMass self, FloatKey a0, IMP::Float a1)
3384  set_value(CenterOfMass self, IntKey a0, IMP::Int a1)
3385  set_value(CenterOfMass self, StringKey a0, IMP::String a1)
3386  set_value(CenterOfMass self, ParticleIndexKey a0, Particle a1)
3387  set_value(CenterOfMass self, ObjectKey a0, Object a1)
3388  """
3389  return _IMP_atom.CenterOfMass_set_value(self, *args)
3390 
3391 
3392  def remove_attribute(self, *args):
3393  """
3394  remove_attribute(CenterOfMass self, FloatKey a0)
3395  remove_attribute(CenterOfMass self, IntKey a0)
3396  remove_attribute(CenterOfMass self, StringKey a0)
3397  remove_attribute(CenterOfMass self, ParticleIndexKey a0)
3398  remove_attribute(CenterOfMass self, ObjectKey a0)
3399  """
3400  return _IMP_atom.CenterOfMass_remove_attribute(self, *args)
3401 
3402 
3403  def has_attribute(self, *args):
3404  """
3405  has_attribute(CenterOfMass self, FloatKey a0) -> bool
3406  has_attribute(CenterOfMass self, IntKey a0) -> bool
3407  has_attribute(CenterOfMass self, StringKey a0) -> bool
3408  has_attribute(CenterOfMass self, ParticleIndexKey a0) -> bool
3409  has_attribute(CenterOfMass self, ObjectKey a0) -> bool
3410  """
3411  return _IMP_atom.CenterOfMass_has_attribute(self, *args)
3412 
3413 
3414  def get_derivative(self, a0):
3415  """get_derivative(CenterOfMass self, FloatKey a0) -> double"""
3416  return _IMP_atom.CenterOfMass_get_derivative(self, a0)
3417 
3418 
3419  def get_name(self):
3420  """get_name(CenterOfMass self) -> std::string"""
3421  return _IMP_atom.CenterOfMass_get_name(self)
3422 
3423 
3424  def clear_caches(self):
3425  """clear_caches(CenterOfMass self)"""
3426  return _IMP_atom.CenterOfMass_clear_caches(self)
3427 
3428 
3429  def set_name(self, a0):
3430  """set_name(CenterOfMass self, std::string a0)"""
3431  return _IMP_atom.CenterOfMass_set_name(self, a0)
3432 
3433 
3434  def set_check_level(self, a0):
3435  """set_check_level(CenterOfMass self, IMP::CheckLevel a0)"""
3436  return _IMP_atom.CenterOfMass_set_check_level(self, a0)
3437 
3438 
3439  def add_to_derivative(self, a0, a1, a2):
3440  """add_to_derivative(CenterOfMass self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
3441  return _IMP_atom.CenterOfMass_add_to_derivative(self, a0, a1, a2)
3442 
3443 
3444  def set_is_optimized(self, a0, a1):
3445  """set_is_optimized(CenterOfMass self, FloatKey a0, bool a1)"""
3446  return _IMP_atom.CenterOfMass_set_is_optimized(self, a0, a1)
3447 
3448 
3449  def get_is_optimized(self, a0):
3450  """get_is_optimized(CenterOfMass self, FloatKey a0) -> bool"""
3451  return _IMP_atom.CenterOfMass_get_is_optimized(self, a0)
3452 
3453 
3454  def get_check_level(self):
3455  """get_check_level(CenterOfMass self) -> IMP::CheckLevel"""
3456  return _IMP_atom.CenterOfMass_get_check_level(self)
3457 
3458 
3459  def __eq__(self, *args):
3460  """
3461  __eq__(CenterOfMass self, CenterOfMass o) -> bool
3462  __eq__(CenterOfMass self, Particle d) -> bool
3463  """
3464  return _IMP_atom.CenterOfMass___eq__(self, *args)
3465 
3466 
3467  def __ne__(self, *args):
3468  """
3469  __ne__(CenterOfMass self, CenterOfMass o) -> bool
3470  __ne__(CenterOfMass self, Particle d) -> bool
3471  """
3472  return _IMP_atom.CenterOfMass___ne__(self, *args)
3473 
3474 
3475  def __le__(self, *args):
3476  """
3477  __le__(CenterOfMass self, CenterOfMass o) -> bool
3478  __le__(CenterOfMass self, Particle d) -> bool
3479  """
3480  return _IMP_atom.CenterOfMass___le__(self, *args)
3481 
3482 
3483  def __lt__(self, *args):
3484  """
3485  __lt__(CenterOfMass self, CenterOfMass o) -> bool
3486  __lt__(CenterOfMass self, Particle d) -> bool
3487  """
3488  return _IMP_atom.CenterOfMass___lt__(self, *args)
3489 
3490 
3491  def __ge__(self, *args):
3492  """
3493  __ge__(CenterOfMass self, CenterOfMass o) -> bool
3494  __ge__(CenterOfMass self, Particle d) -> bool
3495  """
3496  return _IMP_atom.CenterOfMass___ge__(self, *args)
3497 
3498 
3499  def __gt__(self, *args):
3500  """
3501  __gt__(CenterOfMass self, CenterOfMass o) -> bool
3502  __gt__(CenterOfMass self, Particle d) -> bool
3503  """
3504  return _IMP_atom.CenterOfMass___gt__(self, *args)
3505 
3506 
3507  def __hash__(self):
3508  """__hash__(CenterOfMass self) -> std::size_t"""
3509  return _IMP_atom.CenterOfMass___hash__(self)
3510 
3511 
3512  def __str__(self):
3513  """__str__(CenterOfMass self) -> std::string"""
3514  return _IMP_atom.CenterOfMass___str__(self)
3515 
3516 
3517  def __repr__(self):
3518  """__repr__(CenterOfMass self) -> std::string"""
3519  return _IMP_atom.CenterOfMass___repr__(self)
3520 
3521  __swig_destroy__ = _IMP_atom.delete_CenterOfMass
3522  __del__ = lambda self: None
3523 CenterOfMass_swigregister = _IMP_atom.CenterOfMass_swigregister
3524 CenterOfMass_swigregister(CenterOfMass)
3525 
3526 def CenterOfMass_setup_particle(*args):
3527  """
3528  setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor members) -> CenterOfMass
3529  setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> CenterOfMass
3530  setup_particle(Model m, ParticleIndex pi, Refiner refiner) -> CenterOfMass
3531  CenterOfMass_setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> CenterOfMass
3532  """
3533  return _IMP_atom.CenterOfMass_setup_particle(*args)
3534 
3535 def CenterOfMass_get_is_setup(*args):
3536  """
3537  get_is_setup(_ParticleAdaptor p) -> bool
3538  CenterOfMass_get_is_setup(Model m, ParticleIndex pi) -> bool
3539  """
3540  return _IMP_atom.CenterOfMass_get_is_setup(*args)
3541 
3542 class CoverBond(IMP.SingletonModifier):
3543  """Proxy of C++ IMP::atom::CoverBond class."""
3544 
3545  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3546 
3547  def __init__(self):
3548  """__init__(IMP::atom::CoverBond self) -> CoverBond"""
3549  this = _IMP_atom.new_CoverBond()
3550  try:
3551  self.this.append(this)
3552  except Exception:
3553  self.this = this
3554 
3555  def do_get_inputs(self, m, pis):
3556  """do_get_inputs(CoverBond self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3557  return _IMP_atom.CoverBond_do_get_inputs(self, m, pis)
3558 
3559 
3560  def do_get_outputs(self, m, pis):
3561  """do_get_outputs(CoverBond self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3562  return _IMP_atom.CoverBond_do_get_outputs(self, m, pis)
3563 
3564 
3565  def get_version_info(self):
3566  """get_version_info(CoverBond self) -> VersionInfo"""
3567  return _IMP_atom.CoverBond_get_version_info(self)
3568 
3569 
3570  def __str__(self):
3571  """__str__(CoverBond self) -> std::string"""
3572  return _IMP_atom.CoverBond___str__(self)
3573 
3574 
3575  def __repr__(self):
3576  """__repr__(CoverBond self) -> std::string"""
3577  return _IMP_atom.CoverBond___repr__(self)
3578 
3579 
3580  @staticmethod
3581  def get_from(o):
3582  return _object_cast_to_CoverBond(o)
3583 
3584 CoverBond_swigregister = _IMP_atom.CoverBond_swigregister
3585 CoverBond_swigregister(CoverBond)
3586 
3587 class Simulator(IMP.Optimizer):
3588  """Proxy of C++ IMP::atom::Simulator class."""
3589 
3590  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3591 
3592  def __init__(self, *args):
3593  """
3594  __init__(IMP::atom::Simulator self, Model m, std::string name, double wave_factor=1.0) -> Simulator
3595  __init__(IMP::atom::Simulator self, Model m, std::string name) -> Simulator
3596  __init__(IMP::atom::Simulator self, Model m) -> Simulator
3597  """
3598  if self.__class__ == Simulator:
3599  _self = None
3600  else:
3601  _self = self
3602  this = _IMP_atom.new_Simulator(_self, *args)
3603  try:
3604  self.this.append(this)
3605  except Exception:
3606  self.this = this
3607 
3608  if self.__class__ != Simulator:
3609  _director_objects.register(self)
3610 
3611 
3612 
3613 
3614  def simulate(self, time_in_fs):
3615  """simulate(Simulator self, double time_in_fs) -> double"""
3616  return _IMP_atom.Simulator_simulate(self, time_in_fs)
3617 
3618 
3619  def simulate_wave(self, time_in_fs, max_time_step_factor=10.0, base=1.5):
3620  """
3621  simulate_wave(Simulator self, double time_in_fs, double max_time_step_factor=10.0, double base=1.5) -> double
3622  simulate_wave(Simulator self, double time_in_fs, double max_time_step_factor=10.0) -> double
3623  simulate_wave(Simulator self, double time_in_fs) -> double
3624  """
3625  return _IMP_atom.Simulator_simulate_wave(self, time_in_fs, max_time_step_factor, base)
3626 
3627 
3628  def get_temperature(self):
3629  """get_temperature(Simulator self) -> double"""
3630  return _IMP_atom.Simulator_get_temperature(self)
3631 
3632 
3633  def set_temperature(self, d):
3634  """set_temperature(Simulator self, double d)"""
3635  return _IMP_atom.Simulator_set_temperature(self, d)
3636 
3637 
3638  def set_maximum_time_step(self, ts):
3639  """set_maximum_time_step(Simulator self, double ts)"""
3640  return _IMP_atom.Simulator_set_maximum_time_step(self, ts)
3641 
3642 
3643  def get_maximum_time_step(self):
3644  """get_maximum_time_step(Simulator self) -> double"""
3645  return _IMP_atom.Simulator_get_maximum_time_step(self)
3646 
3647 
3648  def get_last_time_step(self):
3649  """get_last_time_step(Simulator self) -> double"""
3650  return _IMP_atom.Simulator_get_last_time_step(self)
3651 
3652 
3653  def set_time_step(self, ts):
3654  """set_time_step(Simulator self, double ts)"""
3655  return _IMP_atom.Simulator_set_time_step(self, ts)
3656 
3657 
3658  def get_kt(self):
3659  """get_kt(Simulator self) -> double"""
3660  return _IMP_atom.Simulator_get_kt(self)
3661 
3662 
3663  def get_current_time(self):
3664  """get_current_time(Simulator self) -> double"""
3665  return _IMP_atom.Simulator_get_current_time(self)
3666 
3667 
3668  def set_current_time(self, ct):
3669  """set_current_time(Simulator self, double ct)"""
3670  return _IMP_atom.Simulator_set_current_time(self, ct)
3671 
3672 
3673  def get_simulation_particles(self):
3674  """get_simulation_particles(Simulator self) -> IMP::ParticlesTemp"""
3675  return _IMP_atom.Simulator_get_simulation_particles(self)
3676 
3677 
3678  def get_simulation_particle_indexes(self):
3679  """get_simulation_particle_indexes(Simulator self) -> IMP::ParticleIndexes"""
3680  return _IMP_atom.Simulator_get_simulation_particle_indexes(self)
3681 
3682 
3683  def remove_particle(self, d):
3684  """remove_particle(Simulator self, Particle d)"""
3685  return _IMP_atom.Simulator_remove_particle(self, d)
3686 
3687 
3688  def remove_particles(self, d):
3689  """remove_particles(Simulator self, IMP::Particles const & d)"""
3690  return _IMP_atom.Simulator_remove_particles(self, d)
3691 
3692 
3693  def set_particles(self, ps):
3694  """set_particles(Simulator self, IMP::Particles const & ps)"""
3695  return _IMP_atom.Simulator_set_particles(self, ps)
3696 
3697 
3698  def set_particles_order(self, objs):
3699  """set_particles_order(Simulator self, IMP::Particles const & objs)"""
3700  return _IMP_atom.Simulator_set_particles_order(self, objs)
3701 
3702 
3703  def add_particle(self, obj):
3704  """add_particle(Simulator self, Particle obj) -> unsigned int"""
3705  return _IMP_atom.Simulator_add_particle(self, obj)
3706 
3707 
3708  def add_particles(self, objs):
3709  """add_particles(Simulator self, IMP::Particles const & objs)"""
3710  return _IMP_atom.Simulator_add_particles(self, objs)
3711 
3712 
3713  def clear_particles(self):
3714  """clear_particles(Simulator self)"""
3715  return _IMP_atom.Simulator_clear_particles(self)
3716 
3717 
3718  def get_number_of_particles(self):
3719  """get_number_of_particles(Simulator self) -> unsigned int"""
3720  return _IMP_atom.Simulator_get_number_of_particles(self)
3721 
3722 
3723  def get_has_particles(self):
3724  """get_has_particles(Simulator self) -> bool"""
3725  return _IMP_atom.Simulator_get_has_particles(self)
3726 
3727 
3728  def get_particle(self, i):
3729  """get_particle(Simulator self, unsigned int i) -> Particle"""
3730  return _IMP_atom.Simulator_get_particle(self, i)
3731 
3732 
3733  def get_particles(self):
3734  """get_particles(Simulator self) -> IMP::Particles"""
3735  return _IMP_atom.Simulator_get_particles(self)
3736 
3737 
3738  def reserve_particles(self, sz):
3739  """reserve_particles(Simulator self, unsigned int sz)"""
3740  return _IMP_atom.Simulator_reserve_particles(self, sz)
3741 
3742 
3743  def do_optimize(self, max_steps):
3744  """do_optimize(Simulator self, unsigned int max_steps) -> IMP::Float"""
3745  return _IMP_atom.Simulator_do_optimize(self, max_steps)
3746 
3747 
3748  def setup(self, arg0):
3749  """setup(Simulator self, IMP::ParticleIndexes const & arg0)"""
3750  return _IMP_atom.Simulator_setup(self, arg0)
3751 
3752 
3753  def do_step(self, sc, dt):
3754  """do_step(Simulator self, IMP::ParticleIndexes const & sc, double dt) -> double"""
3755  return _IMP_atom.Simulator_do_step(self, sc, dt)
3756 
3757 
3758  def get_is_simulation_particle(self, p):
3759  """get_is_simulation_particle(Simulator self, ParticleIndex p) -> bool"""
3760  return _IMP_atom.Simulator_get_is_simulation_particle(self, p)
3761 
3762 
3763  def do_simulate(self, time):
3764  """do_simulate(Simulator self, double time) -> double"""
3765  return _IMP_atom.Simulator_do_simulate(self, time)
3766 
3767 
3768  def do_simulate_wave(self, time_in_fs, max_time_step_factor=10.0, base=1.5):
3769  """
3770  do_simulate_wave(Simulator self, double time_in_fs, double max_time_step_factor=10.0, double base=1.5) -> double
3771  do_simulate_wave(Simulator self, double time_in_fs, double max_time_step_factor=10.0) -> double
3772  do_simulate_wave(Simulator self, double time_in_fs) -> double
3773  """
3774  return _IMP_atom.Simulator_do_simulate_wave(self, time_in_fs, max_time_step_factor, base)
3775 
3776 
3777  def __str__(self):
3778  """__str__(Simulator self) -> std::string"""
3779  return _IMP_atom.Simulator___str__(self)
3780 
3781 
3782  def __repr__(self):
3783  """__repr__(Simulator self) -> std::string"""
3784  return _IMP_atom.Simulator___repr__(self)
3785 
3786 
3787  @staticmethod
3788  def get_from(o):
3789  return _object_cast_to_Simulator(o)
3790 
3791 
3792  def get_type_name(self):
3793  return self.__class__.__name__
3794  def do_show(self, out):
3795  pass
3796  def get_version_info(self):
3797  if"IMP::atom" == "IMP":
3798  return VersionInfo(self.__module__,
3799  __import__(self.__module__).get_module_version())
3800  else:
3801  return IMP.VersionInfo(self.__module__,
3802  __import__(self.__module__).get_module_version())
3803  @staticmethod
3804  def get_from(o):
3805  return _object_cast_to_Simulator(o)
3806 
3807  __swig_destroy__ = _IMP_atom.delete_Simulator
3808  __del__ = lambda self: None
3809  def __disown__(self):
3810  self.this.disown()
3811  _IMP_atom.disown_Simulator(self)
3812  return weakref_proxy(self)
3813 
3814  def do_destroy(self):
3815  """do_destroy(Simulator self)"""
3816  return _IMP_atom.Simulator_do_destroy(self)
3817 
3818 
3819  def handle_set_has_required_score_states(self, arg0):
3820  """handle_set_has_required_score_states(Simulator self, bool arg0)"""
3821  return _IMP_atom.Simulator_handle_set_has_required_score_states(self, arg0)
3822 
3823 
3824  def do_get_inputs(self):
3825  """do_get_inputs(Simulator self) -> IMP::ModelObjectsTemp"""
3826  return _IMP_atom.Simulator_do_get_inputs(self)
3827 
3828 
3829  def do_get_outputs(self):
3830  """do_get_outputs(Simulator self) -> IMP::ModelObjectsTemp"""
3831  return _IMP_atom.Simulator_do_get_outputs(self)
3832 
3833 
3834  def do_get_interactions(self):
3835  """do_get_interactions(Simulator self) -> IMP::ModelObjectsTemps"""
3836  return _IMP_atom.Simulator_do_get_interactions(self)
3837 
3838 Simulator_swigregister = _IMP_atom.Simulator_swigregister
3839 Simulator_swigregister(Simulator)
3840 
3841 
3842 def get_energy_in_femto_joules(energy_in_kcal_per_mol):
3843  """get_energy_in_femto_joules(double energy_in_kcal_per_mol) -> double"""
3844  return _IMP_atom.get_energy_in_femto_joules(energy_in_kcal_per_mol)
3845 
3846 def get_force_in_femto_newtons(force_in_kcal_per_mol_per_angstrom):
3847  """get_force_in_femto_newtons(double force_in_kcal_per_mol_per_angstrom) -> double"""
3848  return _IMP_atom.get_force_in_femto_newtons(force_in_kcal_per_mol_per_angstrom)
3849 
3850 def get_spring_constant_in_femto_newtons_per_angstrom(k_in_kcal_per_mol_per_angstrom_square):
3851  """get_spring_constant_in_femto_newtons_per_angstrom(double k_in_kcal_per_mol_per_angstrom_square) -> double"""
3852  return _IMP_atom.get_spring_constant_in_femto_newtons_per_angstrom(k_in_kcal_per_mol_per_angstrom_square)
3853 
3854 _IMP_atom.IMP_ATOM_DEFAULT_BD_RANDOM_POOL_SIZE_swigconstant(_IMP_atom)
3855 IMP_ATOM_DEFAULT_BD_RANDOM_POOL_SIZE = _IMP_atom.IMP_ATOM_DEFAULT_BD_RANDOM_POOL_SIZE
3856 class BrownianDynamics(Simulator):
3857  """Proxy of C++ IMP::atom::BrownianDynamics class."""
3858 
3859  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3860 
3861  def __init__(self, *args):
3862  """
3863  __init__(IMP::atom::BrownianDynamics self, Model m, std::string name, double wave_factor=1.0, unsigned int random_pool_size=500) -> BrownianDynamics
3864  __init__(IMP::atom::BrownianDynamics self, Model m, std::string name, double wave_factor=1.0) -> BrownianDynamics
3865  __init__(IMP::atom::BrownianDynamics self, Model m, std::string name) -> BrownianDynamics
3866  __init__(IMP::atom::BrownianDynamics self, Model m) -> BrownianDynamics
3867  """
3868  this = _IMP_atom.new_BrownianDynamics(*args)
3869  try:
3870  self.this.append(this)
3871  except Exception:
3872  self.this = this
3873 
3874  def set_maximum_move(self, ms):
3875  """set_maximum_move(BrownianDynamics self, double ms)"""
3876  return _IMP_atom.BrownianDynamics_set_maximum_move(self, ms)
3877 
3878 
3879  def set_use_stochastic_runge_kutta(self, tf):
3880  """set_use_stochastic_runge_kutta(BrownianDynamics self, bool tf)"""
3881  return _IMP_atom.BrownianDynamics_set_use_stochastic_runge_kutta(self, tf)
3882 
3883 
3884  def get_version_info(self):
3885  """get_version_info(BrownianDynamics self) -> VersionInfo"""
3886  return _IMP_atom.BrownianDynamics_get_version_info(self)
3887 
3888 
3889  def __str__(self):
3890  """__str__(BrownianDynamics self) -> std::string"""
3891  return _IMP_atom.BrownianDynamics___str__(self)
3892 
3893 
3894  def __repr__(self):
3895  """__repr__(BrownianDynamics self) -> std::string"""
3896  return _IMP_atom.BrownianDynamics___repr__(self)
3897 
3898 
3899  @staticmethod
3900  def get_from(o):
3901  return _object_cast_to_BrownianDynamics(o)
3902 
3903 BrownianDynamics_swigregister = _IMP_atom.BrownianDynamics_swigregister
3904 BrownianDynamics_swigregister(BrownianDynamics)
3905 
3906 
3908  """get_maximum_time_step_estimate(BrownianDynamics bd) -> double"""
3909  return _IMP_atom.get_maximum_time_step_estimate(bd)
3910 
3911 def get_harmonic_sigma(D, f):
3912  """get_harmonic_sigma(double D, double f) -> double"""
3913  return _IMP_atom.get_harmonic_sigma(D, f)
3914 class BrownianDynamicsTAMD(BrownianDynamics):
3915  """Proxy of C++ IMP::atom::BrownianDynamicsTAMD class."""
3916 
3917  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3918 
3919  def __init__(self, *args):
3920  """
3921  __init__(IMP::atom::BrownianDynamicsTAMD self, Model m, std::string name, double wave_factor=1.0) -> BrownianDynamicsTAMD
3922  __init__(IMP::atom::BrownianDynamicsTAMD self, Model m, std::string name) -> BrownianDynamicsTAMD
3923  __init__(IMP::atom::BrownianDynamicsTAMD self, Model m) -> BrownianDynamicsTAMD
3924  """
3925  this = _IMP_atom.new_BrownianDynamicsTAMD(*args)
3926  try:
3927  self.this.append(this)
3928  except Exception:
3929  self.this = this
3930 
3931  def __str__(self):
3932  """__str__(BrownianDynamicsTAMD self) -> std::string"""
3933  return _IMP_atom.BrownianDynamicsTAMD___str__(self)
3934 
3935 
3936  def __repr__(self):
3937  """__repr__(BrownianDynamicsTAMD self) -> std::string"""
3938  return _IMP_atom.BrownianDynamicsTAMD___repr__(self)
3939 
3940 
3941  @staticmethod
3942  def get_from(o):
3943  return _object_cast_to_BrownianDynamicsTAMD(o)
3944 
3945  __swig_destroy__ = _IMP_atom.delete_BrownianDynamicsTAMD
3946  __del__ = lambda self: None
3947 BrownianDynamicsTAMD_swigregister = _IMP_atom.BrownianDynamicsTAMD_swigregister
3948 BrownianDynamicsTAMD_swigregister(BrownianDynamicsTAMD)
3949 
3950 class Diffusion(IMP.core.XYZ):
3951  """Proxy of C++ IMP::atom::Diffusion class."""
3952 
3953  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3954 
3955  def __init__(self, *args):
3956  """
3957  __init__(IMP::atom::Diffusion self) -> Diffusion
3958  __init__(IMP::atom::Diffusion self, Model m, ParticleIndex id) -> Diffusion
3959  __init__(IMP::atom::Diffusion self, _ParticleAdaptor d) -> Diffusion
3960  """
3961  this = _IMP_atom.new_Diffusion(*args)
3962  try:
3963  self.this.append(this)
3964  except Exception:
3965  self.this = this
3966 
3967  def show(self, *args):
3968  """
3969  show(Diffusion self, _ostream out)
3970  show(Diffusion self)
3971  """
3972  return _IMP_atom.Diffusion_show(self, *args)
3973 
3974 
3975  def setup_particle(*args):
3976  """
3977  setup_particle(Model m, ParticleIndex pi, IMP::Float D) -> Diffusion
3978  setup_particle(_ParticleAdaptor decorator, IMP::Float D) -> Diffusion
3979  setup_particle(Model m, ParticleIndex pi, Vector3D v, IMP::Float D) -> Diffusion
3980  setup_particle(_ParticleAdaptor decorator, Vector3D v, IMP::Float D) -> Diffusion
3981  setup_particle(Model m, ParticleIndex pi) -> Diffusion
3982  setup_particle(_ParticleAdaptor decorator) -> Diffusion
3983  """
3984  return _IMP_atom.Diffusion_setup_particle(*args)
3985 
3986  setup_particle = staticmethod(setup_particle)
3987 
3988  def get_is_setup(*args):
3989  """
3990  get_is_setup(_ParticleAdaptor p) -> bool
3991  get_is_setup(Model m, ParticleIndex p) -> bool
3992  """
3993  return _IMP_atom.Diffusion_get_is_setup(*args)
3994 
3995  get_is_setup = staticmethod(get_is_setup)
3996 
3997  def set_diffusion_coefficient(self, d):
3998  """set_diffusion_coefficient(Diffusion self, double d)"""
3999  return _IMP_atom.Diffusion_set_diffusion_coefficient(self, d)
4000 
4001 
4002  def get_diffusion_coefficient(self):
4003  """get_diffusion_coefficient(Diffusion self) -> double"""
4004  return _IMP_atom.Diffusion_get_diffusion_coefficient(self)
4005 
4006 
4007  def get_diffusion_coefficient_key():
4008  """get_diffusion_coefficient_key() -> FloatKey"""
4009  return _IMP_atom.Diffusion_get_diffusion_coefficient_key()
4010 
4011  get_diffusion_coefficient_key = staticmethod(get_diffusion_coefficient_key)
4012 
4013  def add_attribute(self, *args):
4014  """
4015  add_attribute(Diffusion self, FloatKey k, IMP::Float v, bool opt)
4016  add_attribute(Diffusion self, FloatKey a0, IMP::Float a1)
4017  add_attribute(Diffusion self, IntKey a0, IMP::Int a1)
4018  add_attribute(Diffusion self, StringKey a0, IMP::String a1)
4019  add_attribute(Diffusion self, ParticleIndexKey a0, Particle a1)
4020  add_attribute(Diffusion self, ObjectKey a0, Object a1)
4021  """
4022  return _IMP_atom.Diffusion_add_attribute(self, *args)
4023 
4024 
4025  def get_value(self, *args):
4026  """
4027  get_value(Diffusion self, FloatKey a0) -> IMP::Float
4028  get_value(Diffusion self, IntKey a0) -> IMP::Int
4029  get_value(Diffusion self, StringKey a0) -> IMP::String
4030  get_value(Diffusion self, ParticleIndexKey a0) -> Particle
4031  get_value(Diffusion self, ObjectKey a0) -> Object
4032  """
4033  return _IMP_atom.Diffusion_get_value(self, *args)
4034 
4035 
4036  def set_value(self, *args):
4037  """
4038  set_value(Diffusion self, FloatKey a0, IMP::Float a1)
4039  set_value(Diffusion self, IntKey a0, IMP::Int a1)
4040  set_value(Diffusion self, StringKey a0, IMP::String a1)
4041  set_value(Diffusion self, ParticleIndexKey a0, Particle a1)
4042  set_value(Diffusion self, ObjectKey a0, Object a1)
4043  """
4044  return _IMP_atom.Diffusion_set_value(self, *args)
4045 
4046 
4047  def remove_attribute(self, *args):
4048  """
4049  remove_attribute(Diffusion self, FloatKey a0)
4050  remove_attribute(Diffusion self, IntKey a0)
4051  remove_attribute(Diffusion self, StringKey a0)
4052  remove_attribute(Diffusion self, ParticleIndexKey a0)
4053  remove_attribute(Diffusion self, ObjectKey a0)
4054  """
4055  return _IMP_atom.Diffusion_remove_attribute(self, *args)
4056 
4057 
4058  def has_attribute(self, *args):
4059  """
4060  has_attribute(Diffusion self, FloatKey a0) -> bool
4061  has_attribute(Diffusion self, IntKey a0) -> bool
4062  has_attribute(Diffusion self, StringKey a0) -> bool
4063  has_attribute(Diffusion self, ParticleIndexKey a0) -> bool
4064  has_attribute(Diffusion self, ObjectKey a0) -> bool
4065  """
4066  return _IMP_atom.Diffusion_has_attribute(self, *args)
4067 
4068 
4069  def get_derivative(self, a0):
4070  """get_derivative(Diffusion self, FloatKey a0) -> double"""
4071  return _IMP_atom.Diffusion_get_derivative(self, a0)
4072 
4073 
4074  def get_name(self):
4075  """get_name(Diffusion self) -> std::string"""
4076  return _IMP_atom.Diffusion_get_name(self)
4077 
4078 
4079  def clear_caches(self):
4080  """clear_caches(Diffusion self)"""
4081  return _IMP_atom.Diffusion_clear_caches(self)
4082 
4083 
4084  def set_name(self, a0):
4085  """set_name(Diffusion self, std::string a0)"""
4086  return _IMP_atom.Diffusion_set_name(self, a0)
4087 
4088 
4089  def set_check_level(self, a0):
4090  """set_check_level(Diffusion self, IMP::CheckLevel a0)"""
4091  return _IMP_atom.Diffusion_set_check_level(self, a0)
4092 
4093 
4094  def add_to_derivative(self, a0, a1, a2):
4095  """add_to_derivative(Diffusion self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
4096  return _IMP_atom.Diffusion_add_to_derivative(self, a0, a1, a2)
4097 
4098 
4099  def set_is_optimized(self, a0, a1):
4100  """set_is_optimized(Diffusion self, FloatKey a0, bool a1)"""
4101  return _IMP_atom.Diffusion_set_is_optimized(self, a0, a1)
4102 
4103 
4104  def get_is_optimized(self, a0):
4105  """get_is_optimized(Diffusion self, FloatKey a0) -> bool"""
4106  return _IMP_atom.Diffusion_get_is_optimized(self, a0)
4107 
4108 
4109  def get_check_level(self):
4110  """get_check_level(Diffusion self) -> IMP::CheckLevel"""
4111  return _IMP_atom.Diffusion_get_check_level(self)
4112 
4113 
4114  def __eq__(self, *args):
4115  """
4116  __eq__(Diffusion self, Diffusion o) -> bool
4117  __eq__(Diffusion self, Particle d) -> bool
4118  """
4119  return _IMP_atom.Diffusion___eq__(self, *args)
4120 
4121 
4122  def __ne__(self, *args):
4123  """
4124  __ne__(Diffusion self, Diffusion o) -> bool
4125  __ne__(Diffusion self, Particle d) -> bool
4126  """
4127  return _IMP_atom.Diffusion___ne__(self, *args)
4128 
4129 
4130  def __le__(self, *args):
4131  """
4132  __le__(Diffusion self, Diffusion o) -> bool
4133  __le__(Diffusion self, Particle d) -> bool
4134  """
4135  return _IMP_atom.Diffusion___le__(self, *args)
4136 
4137 
4138  def __lt__(self, *args):
4139  """
4140  __lt__(Diffusion self, Diffusion o) -> bool
4141  __lt__(Diffusion self, Particle d) -> bool
4142  """
4143  return _IMP_atom.Diffusion___lt__(self, *args)
4144 
4145 
4146  def __ge__(self, *args):
4147  """
4148  __ge__(Diffusion self, Diffusion o) -> bool
4149  __ge__(Diffusion self, Particle d) -> bool
4150  """
4151  return _IMP_atom.Diffusion___ge__(self, *args)
4152 
4153 
4154  def __gt__(self, *args):
4155  """
4156  __gt__(Diffusion self, Diffusion o) -> bool
4157  __gt__(Diffusion self, Particle d) -> bool
4158  """
4159  return _IMP_atom.Diffusion___gt__(self, *args)
4160 
4161 
4162  def __hash__(self):
4163  """__hash__(Diffusion self) -> std::size_t"""
4164  return _IMP_atom.Diffusion___hash__(self)
4165 
4166 
4167  def __str__(self):
4168  """__str__(Diffusion self) -> std::string"""
4169  return _IMP_atom.Diffusion___str__(self)
4170 
4171 
4172  def __repr__(self):
4173  """__repr__(Diffusion self) -> std::string"""
4174  return _IMP_atom.Diffusion___repr__(self)
4175 
4176  __swig_destroy__ = _IMP_atom.delete_Diffusion
4177  __del__ = lambda self: None
4178 Diffusion_swigregister = _IMP_atom.Diffusion_swigregister
4179 Diffusion_swigregister(Diffusion)
4180 
4181 def Diffusion_setup_particle(*args):
4182  """
4183  setup_particle(Model m, ParticleIndex pi, IMP::Float D) -> Diffusion
4184  setup_particle(_ParticleAdaptor decorator, IMP::Float D) -> Diffusion
4185  setup_particle(Model m, ParticleIndex pi, Vector3D v, IMP::Float D) -> Diffusion
4186  setup_particle(_ParticleAdaptor decorator, Vector3D v, IMP::Float D) -> Diffusion
4187  setup_particle(Model m, ParticleIndex pi) -> Diffusion
4188  Diffusion_setup_particle(_ParticleAdaptor decorator) -> Diffusion
4189  """
4190  return _IMP_atom.Diffusion_setup_particle(*args)
4191 
4192 def Diffusion_get_is_setup(*args):
4193  """
4194  get_is_setup(_ParticleAdaptor p) -> bool
4195  Diffusion_get_is_setup(Model m, ParticleIndex p) -> bool
4196  """
4197  return _IMP_atom.Diffusion_get_is_setup(*args)
4198 
4199 def Diffusion_get_diffusion_coefficient_key():
4200  """Diffusion_get_diffusion_coefficient_key() -> FloatKey"""
4201  return _IMP_atom.Diffusion_get_diffusion_coefficient_key()
4202 
4203 
4204 def get_diffusion_coefficient_from_cm2_per_second(din):
4205  """get_diffusion_coefficient_from_cm2_per_second(double din) -> double"""
4206  return _IMP_atom.get_diffusion_coefficient_from_cm2_per_second(din)
4207 class RigidBodyDiffusion(Diffusion):
4208  """Proxy of C++ IMP::atom::RigidBodyDiffusion class."""
4209 
4210  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4211 
4212  def __init__(self, *args):
4213  """
4214  __init__(IMP::atom::RigidBodyDiffusion self) -> RigidBodyDiffusion
4215  __init__(IMP::atom::RigidBodyDiffusion self, Model m, ParticleIndex id) -> RigidBodyDiffusion
4216  __init__(IMP::atom::RigidBodyDiffusion self, _ParticleAdaptor d) -> RigidBodyDiffusion
4217  """
4218  this = _IMP_atom.new_RigidBodyDiffusion(*args)
4219  try:
4220  self.this.append(this)
4221  except Exception:
4222  self.this = this
4223 
4224  def show(self, *args):
4225  """
4226  show(RigidBodyDiffusion self, _ostream out)
4227  show(RigidBodyDiffusion self)
4228  """
4229  return _IMP_atom.RigidBodyDiffusion_show(self, *args)
4230 
4231 
4232  def setup_particle(*args):
4233  """
4234  setup_particle(Model m, ParticleIndex pi) -> RigidBodyDiffusion
4235  setup_particle(_ParticleAdaptor decorator) -> RigidBodyDiffusion
4236  """
4237  return _IMP_atom.RigidBodyDiffusion_setup_particle(*args)
4238 
4239  setup_particle = staticmethod(setup_particle)
4240 
4242  """get_rotational_diffusion_coefficient(RigidBodyDiffusion self) -> double"""
4243  return _IMP_atom.RigidBodyDiffusion_get_rotational_diffusion_coefficient(self)
4244 
4245 
4246  def set_rotational_diffusion_coefficient(self, d):
4247  """set_rotational_diffusion_coefficient(RigidBodyDiffusion self, double d)"""
4248  return _IMP_atom.RigidBodyDiffusion_set_rotational_diffusion_coefficient(self, d)
4249 
4250 
4251  def get_is_setup(*args):
4252  """
4253  get_is_setup(_ParticleAdaptor p) -> bool
4254  get_is_setup(Model m, ParticleIndex p) -> bool
4255  """
4256  return _IMP_atom.RigidBodyDiffusion_get_is_setup(*args)
4257 
4258  get_is_setup = staticmethod(get_is_setup)
4259 
4260  def get_rotational_diffusion_coefficient_key():
4261  """get_rotational_diffusion_coefficient_key() -> FloatKey"""
4262  return _IMP_atom.RigidBodyDiffusion_get_rotational_diffusion_coefficient_key()
4263 
4264  get_rotational_diffusion_coefficient_key = staticmethod(get_rotational_diffusion_coefficient_key)
4265 
4266  def add_attribute(self, *args):
4267  """
4268  add_attribute(RigidBodyDiffusion self, FloatKey k, IMP::Float v, bool opt)
4269  add_attribute(RigidBodyDiffusion self, FloatKey a0, IMP::Float a1)
4270  add_attribute(RigidBodyDiffusion self, IntKey a0, IMP::Int a1)
4271  add_attribute(RigidBodyDiffusion self, StringKey a0, IMP::String a1)
4272  add_attribute(RigidBodyDiffusion self, ParticleIndexKey a0, Particle a1)
4273  add_attribute(RigidBodyDiffusion self, ObjectKey a0, Object a1)
4274  """
4275  return _IMP_atom.RigidBodyDiffusion_add_attribute(self, *args)
4276 
4277 
4278  def get_value(self, *args):
4279  """
4280  get_value(RigidBodyDiffusion self, FloatKey a0) -> IMP::Float
4281  get_value(RigidBodyDiffusion self, IntKey a0) -> IMP::Int
4282  get_value(RigidBodyDiffusion self, StringKey a0) -> IMP::String
4283  get_value(RigidBodyDiffusion self, ParticleIndexKey a0) -> Particle
4284  get_value(RigidBodyDiffusion self, ObjectKey a0) -> Object
4285  """
4286  return _IMP_atom.RigidBodyDiffusion_get_value(self, *args)
4287 
4288 
4289  def set_value(self, *args):
4290  """
4291  set_value(RigidBodyDiffusion self, FloatKey a0, IMP::Float a1)
4292  set_value(RigidBodyDiffusion self, IntKey a0, IMP::Int a1)
4293  set_value(RigidBodyDiffusion self, StringKey a0, IMP::String a1)
4294  set_value(RigidBodyDiffusion self, ParticleIndexKey a0, Particle a1)
4295  set_value(RigidBodyDiffusion self, ObjectKey a0, Object a1)
4296  """
4297  return _IMP_atom.RigidBodyDiffusion_set_value(self, *args)
4298 
4299 
4300  def remove_attribute(self, *args):
4301  """
4302  remove_attribute(RigidBodyDiffusion self, FloatKey a0)
4303  remove_attribute(RigidBodyDiffusion self, IntKey a0)
4304  remove_attribute(RigidBodyDiffusion self, StringKey a0)
4305  remove_attribute(RigidBodyDiffusion self, ParticleIndexKey a0)
4306  remove_attribute(RigidBodyDiffusion self, ObjectKey a0)
4307  """
4308  return _IMP_atom.RigidBodyDiffusion_remove_attribute(self, *args)
4309 
4310 
4311  def has_attribute(self, *args):
4312  """
4313  has_attribute(RigidBodyDiffusion self, FloatKey a0) -> bool
4314  has_attribute(RigidBodyDiffusion self, IntKey a0) -> bool
4315  has_attribute(RigidBodyDiffusion self, StringKey a0) -> bool
4316  has_attribute(RigidBodyDiffusion self, ParticleIndexKey a0) -> bool
4317  has_attribute(RigidBodyDiffusion self, ObjectKey a0) -> bool
4318  """
4319  return _IMP_atom.RigidBodyDiffusion_has_attribute(self, *args)
4320 
4321 
4322  def get_derivative(self, a0):
4323  """get_derivative(RigidBodyDiffusion self, FloatKey a0) -> double"""
4324  return _IMP_atom.RigidBodyDiffusion_get_derivative(self, a0)
4325 
4326 
4327  def get_name(self):
4328  """get_name(RigidBodyDiffusion self) -> std::string"""
4329  return _IMP_atom.RigidBodyDiffusion_get_name(self)
4330 
4331 
4332  def clear_caches(self):
4333  """clear_caches(RigidBodyDiffusion self)"""
4334  return _IMP_atom.RigidBodyDiffusion_clear_caches(self)
4335 
4336 
4337  def set_name(self, a0):
4338  """set_name(RigidBodyDiffusion self, std::string a0)"""
4339  return _IMP_atom.RigidBodyDiffusion_set_name(self, a0)
4340 
4341 
4342  def set_check_level(self, a0):
4343  """set_check_level(RigidBodyDiffusion self, IMP::CheckLevel a0)"""
4344  return _IMP_atom.RigidBodyDiffusion_set_check_level(self, a0)
4345 
4346 
4347  def add_to_derivative(self, a0, a1, a2):
4348  """add_to_derivative(RigidBodyDiffusion self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
4349  return _IMP_atom.RigidBodyDiffusion_add_to_derivative(self, a0, a1, a2)
4350 
4351 
4352  def set_is_optimized(self, a0, a1):
4353  """set_is_optimized(RigidBodyDiffusion self, FloatKey a0, bool a1)"""
4354  return _IMP_atom.RigidBodyDiffusion_set_is_optimized(self, a0, a1)
4355 
4356 
4357  def get_is_optimized(self, a0):
4358  """get_is_optimized(RigidBodyDiffusion self, FloatKey a0) -> bool"""
4359  return _IMP_atom.RigidBodyDiffusion_get_is_optimized(self, a0)
4360 
4361 
4362  def get_check_level(self):
4363  """get_check_level(RigidBodyDiffusion self) -> IMP::CheckLevel"""
4364  return _IMP_atom.RigidBodyDiffusion_get_check_level(self)
4365 
4366 
4367  def __eq__(self, *args):
4368  """
4369  __eq__(RigidBodyDiffusion self, RigidBodyDiffusion o) -> bool
4370  __eq__(RigidBodyDiffusion self, Particle d) -> bool
4371  """
4372  return _IMP_atom.RigidBodyDiffusion___eq__(self, *args)
4373 
4374 
4375  def __ne__(self, *args):
4376  """
4377  __ne__(RigidBodyDiffusion self, RigidBodyDiffusion o) -> bool
4378  __ne__(RigidBodyDiffusion self, Particle d) -> bool
4379  """
4380  return _IMP_atom.RigidBodyDiffusion___ne__(self, *args)
4381 
4382 
4383  def __le__(self, *args):
4384  """
4385  __le__(RigidBodyDiffusion self, RigidBodyDiffusion o) -> bool
4386  __le__(RigidBodyDiffusion self, Particle d) -> bool
4387  """
4388  return _IMP_atom.RigidBodyDiffusion___le__(self, *args)
4389 
4390 
4391  def __lt__(self, *args):
4392  """
4393  __lt__(RigidBodyDiffusion self, RigidBodyDiffusion o) -> bool
4394  __lt__(RigidBodyDiffusion self, Particle d) -> bool
4395  """
4396  return _IMP_atom.RigidBodyDiffusion___lt__(self, *args)
4397 
4398 
4399  def __ge__(self, *args):
4400  """
4401  __ge__(RigidBodyDiffusion self, RigidBodyDiffusion o) -> bool
4402  __ge__(RigidBodyDiffusion self, Particle d) -> bool
4403  """
4404  return _IMP_atom.RigidBodyDiffusion___ge__(self, *args)
4405 
4406 
4407  def __gt__(self, *args):
4408  """
4409  __gt__(RigidBodyDiffusion self, RigidBodyDiffusion o) -> bool
4410  __gt__(RigidBodyDiffusion self, Particle d) -> bool
4411  """
4412  return _IMP_atom.RigidBodyDiffusion___gt__(self, *args)
4413 
4414 
4415  def __hash__(self):
4416  """__hash__(RigidBodyDiffusion self) -> std::size_t"""
4417  return _IMP_atom.RigidBodyDiffusion___hash__(self)
4418 
4419 
4420  def __str__(self):
4421  """__str__(RigidBodyDiffusion self) -> std::string"""
4422  return _IMP_atom.RigidBodyDiffusion___str__(self)
4423 
4424 
4425  def __repr__(self):
4426  """__repr__(RigidBodyDiffusion self) -> std::string"""
4427  return _IMP_atom.RigidBodyDiffusion___repr__(self)
4428 
4429  __swig_destroy__ = _IMP_atom.delete_RigidBodyDiffusion
4430  __del__ = lambda self: None
4431 RigidBodyDiffusion_swigregister = _IMP_atom.RigidBodyDiffusion_swigregister
4432 RigidBodyDiffusion_swigregister(RigidBodyDiffusion)
4433 
4434 def RigidBodyDiffusion_setup_particle(*args):
4435  """
4436  setup_particle(Model m, ParticleIndex pi) -> RigidBodyDiffusion
4437  RigidBodyDiffusion_setup_particle(_ParticleAdaptor decorator) -> RigidBodyDiffusion
4438  """
4439  return _IMP_atom.RigidBodyDiffusion_setup_particle(*args)
4440 
4441 def RigidBodyDiffusion_get_is_setup(*args):
4442  """
4443  get_is_setup(_ParticleAdaptor p) -> bool
4444  RigidBodyDiffusion_get_is_setup(Model m, ParticleIndex p) -> bool
4445  """
4446  return _IMP_atom.RigidBodyDiffusion_get_is_setup(*args)
4447 
4448 def RigidBodyDiffusion_get_rotational_diffusion_coefficient_key():
4449  """RigidBodyDiffusion_get_rotational_diffusion_coefficient_key() -> FloatKey"""
4450  return _IMP_atom.RigidBodyDiffusion_get_rotational_diffusion_coefficient_key()
4451 
4452 class TAMDParticle(IMP.Decorator):
4453  """Proxy of C++ IMP::atom::TAMDParticle class."""
4454 
4455  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4456 
4457  def __init__(self, *args):
4458  """
4459  __init__(IMP::atom::TAMDParticle self) -> TAMDParticle
4460  __init__(IMP::atom::TAMDParticle self, Model m, ParticleIndex id) -> TAMDParticle
4461  __init__(IMP::atom::TAMDParticle self, _ParticleAdaptor d) -> TAMDParticle
4462  """
4463  this = _IMP_atom.new_TAMDParticle(*args)
4464  try:
4465  self.this.append(this)
4466  except Exception:
4467  self.this = this
4468 
4469  def show(self, *args):
4470  """
4471  show(TAMDParticle self, _ostream out)
4472  show(TAMDParticle self)
4473  """
4474  return _IMP_atom.TAMDParticle_show(self, *args)
4475 
4476 
4477  def setup_particle(*args):
4478  """
4479  setup_particle(Model m, ParticleIndex pi, ParticleIndex pi_ref, IMP::Float tsf, IMP::Float fsf) -> TAMDParticle
4480  setup_particle(_ParticleAdaptor decorator, ParticleIndex pi_ref, IMP::Float tsf, IMP::Float fsf) -> TAMDParticle
4481  setup_particle(Model m, ParticleIndex pi, Particle p_ref, IMP::Float tsf, IMP::Float fsf) -> TAMDParticle
4482  setup_particle(_ParticleAdaptor decorator, Particle p_ref, IMP::Float tsf, IMP::Float fsf) -> TAMDParticle
4483  """
4484  return _IMP_atom.TAMDParticle_setup_particle(*args)
4485 
4486  setup_particle = staticmethod(setup_particle)
4487 
4488  def get_is_setup(*args):
4489  """
4490  get_is_setup(_ParticleAdaptor p) -> bool
4491  get_is_setup(Model m, ParticleIndex p) -> bool
4492  """
4493  return _IMP_atom.TAMDParticle_get_is_setup(*args)
4494 
4495  get_is_setup = staticmethod(get_is_setup)
4496 
4497  def get_reference_particle_index(self):
4498  """get_reference_particle_index(TAMDParticle self) -> ParticleIndex"""
4499  return _IMP_atom.TAMDParticle_get_reference_particle_index(self)
4500 
4501 
4502  def set_temperature_scale_factor(self, tsf):
4503  """set_temperature_scale_factor(TAMDParticle self, float tsf)"""
4504  return _IMP_atom.TAMDParticle_set_temperature_scale_factor(self, tsf)
4505 
4506 
4507  def get_temperature_scale_factor(self):
4508  """get_temperature_scale_factor(TAMDParticle self) -> double"""
4509  return _IMP_atom.TAMDParticle_get_temperature_scale_factor(self)
4510 
4511 
4512  def set_friction_scale_factor(self, tsf):
4513  """set_friction_scale_factor(TAMDParticle self, float tsf)"""
4514  return _IMP_atom.TAMDParticle_set_friction_scale_factor(self, tsf)
4515 
4516 
4517  def get_friction_scale_factor(self):
4518  """get_friction_scale_factor(TAMDParticle self) -> double"""
4519  return _IMP_atom.TAMDParticle_get_friction_scale_factor(self)
4520 
4521 
4522  def update_coordinates_from_ref(self):
4523  """update_coordinates_from_ref(TAMDParticle self)"""
4524  return _IMP_atom.TAMDParticle_update_coordinates_from_ref(self)
4525 
4526 
4527  def get_temperature_scale_factor_key():
4528  """get_temperature_scale_factor_key() -> FloatKey"""
4529  return _IMP_atom.TAMDParticle_get_temperature_scale_factor_key()
4530 
4531  get_temperature_scale_factor_key = staticmethod(get_temperature_scale_factor_key)
4532 
4533  def get_friction_scale_factor_key():
4534  """get_friction_scale_factor_key() -> FloatKey"""
4535  return _IMP_atom.TAMDParticle_get_friction_scale_factor_key()
4536 
4537  get_friction_scale_factor_key = staticmethod(get_friction_scale_factor_key)
4538 
4539  def get_reference_particle_index_key():
4540  """get_reference_particle_index_key() -> ParticleIndexKey"""
4541  return _IMP_atom.TAMDParticle_get_reference_particle_index_key()
4542 
4543  get_reference_particle_index_key = staticmethod(get_reference_particle_index_key)
4544 
4545  def add_attribute(self, *args):
4546  """
4547  add_attribute(TAMDParticle self, FloatKey k, IMP::Float v, bool opt)
4548  add_attribute(TAMDParticle self, FloatKey a0, IMP::Float a1)
4549  add_attribute(TAMDParticle self, IntKey a0, IMP::Int a1)
4550  add_attribute(TAMDParticle self, StringKey a0, IMP::String a1)
4551  add_attribute(TAMDParticle self, ParticleIndexKey a0, Particle a1)
4552  add_attribute(TAMDParticle self, ObjectKey a0, Object a1)
4553  """
4554  return _IMP_atom.TAMDParticle_add_attribute(self, *args)
4555 
4556 
4557  def get_value(self, *args):
4558  """
4559  get_value(TAMDParticle self, FloatKey a0) -> IMP::Float
4560  get_value(TAMDParticle self, IntKey a0) -> IMP::Int
4561  get_value(TAMDParticle self, StringKey a0) -> IMP::String
4562  get_value(TAMDParticle self, ParticleIndexKey a0) -> Particle
4563  get_value(TAMDParticle self, ObjectKey a0) -> Object
4564  """
4565  return _IMP_atom.TAMDParticle_get_value(self, *args)
4566 
4567 
4568  def set_value(self, *args):
4569  """
4570  set_value(TAMDParticle self, FloatKey a0, IMP::Float a1)
4571  set_value(TAMDParticle self, IntKey a0, IMP::Int a1)
4572  set_value(TAMDParticle self, StringKey a0, IMP::String a1)
4573  set_value(TAMDParticle self, ParticleIndexKey a0, Particle a1)
4574  set_value(TAMDParticle self, ObjectKey a0, Object a1)
4575  """
4576  return _IMP_atom.TAMDParticle_set_value(self, *args)
4577 
4578 
4579  def remove_attribute(self, *args):
4580  """
4581  remove_attribute(TAMDParticle self, FloatKey a0)
4582  remove_attribute(TAMDParticle self, IntKey a0)
4583  remove_attribute(TAMDParticle self, StringKey a0)
4584  remove_attribute(TAMDParticle self, ParticleIndexKey a0)
4585  remove_attribute(TAMDParticle self, ObjectKey a0)
4586  """
4587  return _IMP_atom.TAMDParticle_remove_attribute(self, *args)
4588 
4589 
4590  def has_attribute(self, *args):
4591  """
4592  has_attribute(TAMDParticle self, FloatKey a0) -> bool
4593  has_attribute(TAMDParticle self, IntKey a0) -> bool
4594  has_attribute(TAMDParticle self, StringKey a0) -> bool
4595  has_attribute(TAMDParticle self, ParticleIndexKey a0) -> bool
4596  has_attribute(TAMDParticle self, ObjectKey a0) -> bool
4597  """
4598  return _IMP_atom.TAMDParticle_has_attribute(self, *args)
4599 
4600 
4601  def get_derivative(self, a0):
4602  """get_derivative(TAMDParticle self, FloatKey a0) -> double"""
4603  return _IMP_atom.TAMDParticle_get_derivative(self, a0)
4604 
4605 
4606  def get_name(self):
4607  """get_name(TAMDParticle self) -> std::string"""
4608  return _IMP_atom.TAMDParticle_get_name(self)
4609 
4610 
4611  def clear_caches(self):
4612  """clear_caches(TAMDParticle self)"""
4613  return _IMP_atom.TAMDParticle_clear_caches(self)
4614 
4615 
4616  def set_name(self, a0):
4617  """set_name(TAMDParticle self, std::string a0)"""
4618  return _IMP_atom.TAMDParticle_set_name(self, a0)
4619 
4620 
4621  def set_check_level(self, a0):
4622  """set_check_level(TAMDParticle self, IMP::CheckLevel a0)"""
4623  return _IMP_atom.TAMDParticle_set_check_level(self, a0)
4624 
4625 
4626  def add_to_derivative(self, a0, a1, a2):
4627  """add_to_derivative(TAMDParticle self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
4628  return _IMP_atom.TAMDParticle_add_to_derivative(self, a0, a1, a2)
4629 
4630 
4631  def set_is_optimized(self, a0, a1):
4632  """set_is_optimized(TAMDParticle self, FloatKey a0, bool a1)"""
4633  return _IMP_atom.TAMDParticle_set_is_optimized(self, a0, a1)
4634 
4635 
4636  def get_is_optimized(self, a0):
4637  """get_is_optimized(TAMDParticle self, FloatKey a0) -> bool"""
4638  return _IMP_atom.TAMDParticle_get_is_optimized(self, a0)
4639 
4640 
4641  def get_check_level(self):
4642  """get_check_level(TAMDParticle self) -> IMP::CheckLevel"""
4643  return _IMP_atom.TAMDParticle_get_check_level(self)
4644 
4645 
4646  def __eq__(self, *args):
4647  """
4648  __eq__(TAMDParticle self, TAMDParticle o) -> bool
4649  __eq__(TAMDParticle self, Particle d) -> bool
4650  """
4651  return _IMP_atom.TAMDParticle___eq__(self, *args)
4652 
4653 
4654  def __ne__(self, *args):
4655  """
4656  __ne__(TAMDParticle self, TAMDParticle o) -> bool
4657  __ne__(TAMDParticle self, Particle d) -> bool
4658  """
4659  return _IMP_atom.TAMDParticle___ne__(self, *args)
4660 
4661 
4662  def __le__(self, *args):
4663  """
4664  __le__(TAMDParticle self, TAMDParticle o) -> bool
4665  __le__(TAMDParticle self, Particle d) -> bool
4666  """
4667  return _IMP_atom.TAMDParticle___le__(self, *args)
4668 
4669 
4670  def __lt__(self, *args):
4671  """
4672  __lt__(TAMDParticle self, TAMDParticle o) -> bool
4673  __lt__(TAMDParticle self, Particle d) -> bool
4674  """
4675  return _IMP_atom.TAMDParticle___lt__(self, *args)
4676 
4677 
4678  def __ge__(self, *args):
4679  """
4680  __ge__(TAMDParticle self, TAMDParticle o) -> bool
4681  __ge__(TAMDParticle self, Particle d) -> bool
4682  """
4683  return _IMP_atom.TAMDParticle___ge__(self, *args)
4684 
4685 
4686  def __gt__(self, *args):
4687  """
4688  __gt__(TAMDParticle self, TAMDParticle o) -> bool
4689  __gt__(TAMDParticle self, Particle d) -> bool
4690  """
4691  return _IMP_atom.TAMDParticle___gt__(self, *args)
4692 
4693 
4694  def __hash__(self):
4695  """__hash__(TAMDParticle self) -> std::size_t"""
4696  return _IMP_atom.TAMDParticle___hash__(self)
4697 
4698 
4699  def __str__(self):
4700  """__str__(TAMDParticle self) -> std::string"""
4701  return _IMP_atom.TAMDParticle___str__(self)
4702 
4703 
4704  def __repr__(self):
4705  """__repr__(TAMDParticle self) -> std::string"""
4706  return _IMP_atom.TAMDParticle___repr__(self)
4707 
4708  __swig_destroy__ = _IMP_atom.delete_TAMDParticle
4709  __del__ = lambda self: None
4710 TAMDParticle_swigregister = _IMP_atom.TAMDParticle_swigregister
4711 TAMDParticle_swigregister(TAMDParticle)
4712 
4713 def TAMDParticle_setup_particle(*args):
4714  """
4715  setup_particle(Model m, ParticleIndex pi, ParticleIndex pi_ref, IMP::Float tsf, IMP::Float fsf) -> TAMDParticle
4716  setup_particle(_ParticleAdaptor decorator, ParticleIndex pi_ref, IMP::Float tsf, IMP::Float fsf) -> TAMDParticle
4717  setup_particle(Model m, ParticleIndex pi, Particle p_ref, IMP::Float tsf, IMP::Float fsf) -> TAMDParticle
4718  TAMDParticle_setup_particle(_ParticleAdaptor decorator, Particle p_ref, IMP::Float tsf, IMP::Float fsf) -> TAMDParticle
4719  """
4720  return _IMP_atom.TAMDParticle_setup_particle(*args)
4721 
4722 def TAMDParticle_get_is_setup(*args):
4723  """
4724  get_is_setup(_ParticleAdaptor p) -> bool
4725  TAMDParticle_get_is_setup(Model m, ParticleIndex p) -> bool
4726  """
4727  return _IMP_atom.TAMDParticle_get_is_setup(*args)
4728 
4729 def TAMDParticle_get_temperature_scale_factor_key():
4730  """TAMDParticle_get_temperature_scale_factor_key() -> FloatKey"""
4731  return _IMP_atom.TAMDParticle_get_temperature_scale_factor_key()
4732 
4733 def TAMDParticle_get_friction_scale_factor_key():
4734  """TAMDParticle_get_friction_scale_factor_key() -> FloatKey"""
4735  return _IMP_atom.TAMDParticle_get_friction_scale_factor_key()
4736 
4737 def TAMDParticle_get_reference_particle_index_key():
4738  """TAMDParticle_get_reference_particle_index_key() -> ParticleIndexKey"""
4739  return _IMP_atom.TAMDParticle_get_reference_particle_index_key()
4740 
4741 class Chain(Hierarchy):
4742  """Proxy of C++ IMP::atom::Chain class."""
4743 
4744  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4745 
4746  def __init__(self, *args):
4747  """
4748  __init__(IMP::atom::Chain self) -> Chain
4749  __init__(IMP::atom::Chain self, Model m, ParticleIndex id) -> Chain
4750  __init__(IMP::atom::Chain self, _ParticleAdaptor d) -> Chain
4751  """
4752  this = _IMP_atom.new_Chain(*args)
4753  try:
4754  self.this.append(this)
4755  except Exception:
4756  self.this = this
4757 
4758  def show(self, *args):
4759  """
4760  show(Chain self, _ostream out)
4761  show(Chain self)
4762  """
4763  return _IMP_atom.Chain_show(self, *args)
4764 
4765 
4766  def setup_particle(*args):
4767  """
4768  setup_particle(Model m, ParticleIndex pi, std::string id) -> Chain
4769  setup_particle(_ParticleAdaptor decorator, std::string id) -> Chain
4770  setup_particle(Model m, ParticleIndex pi, char id) -> Chain
4771  setup_particle(_ParticleAdaptor decorator, char id) -> Chain
4772  setup_particle(Model m, ParticleIndex pi, Chain other) -> Chain
4773  setup_particle(_ParticleAdaptor decorator, Chain other) -> Chain
4774  """
4775  return _IMP_atom.Chain_setup_particle(*args)
4776 
4777  setup_particle = staticmethod(setup_particle)
4778 
4779  def get_is_setup(*args):
4780  """
4781  get_is_setup(_ParticleAdaptor p) -> bool
4782  get_is_setup(Model m, ParticleIndex pi) -> bool
4783  """
4784  return _IMP_atom.Chain_get_is_setup(*args)
4785 
4786  get_is_setup = staticmethod(get_is_setup)
4787 
4788  def get_id(self):
4789  """get_id(Chain self) -> std::string"""
4790  return _IMP_atom.Chain_get_id(self)
4791 
4792 
4793  def set_id(self, c):
4794  """set_id(Chain self, std::string c)"""
4795  return _IMP_atom.Chain_set_id(self, c)
4796 
4797 
4798  def get_id_key():
4799  """get_id_key() -> StringKey"""
4800  return _IMP_atom.Chain_get_id_key()
4801 
4802  get_id_key = staticmethod(get_id_key)
4803 
4804  def add_attribute(self, *args):
4805  """
4806  add_attribute(Chain self, FloatKey k, IMP::Float v, bool opt)
4807  add_attribute(Chain self, FloatKey a0, IMP::Float a1)
4808  add_attribute(Chain self, IntKey a0, IMP::Int a1)
4809  add_attribute(Chain self, StringKey a0, IMP::String a1)
4810  add_attribute(Chain self, ParticleIndexKey a0, Particle a1)
4811  add_attribute(Chain self, ObjectKey a0, Object a1)
4812  """
4813  return _IMP_atom.Chain_add_attribute(self, *args)
4814 
4815 
4816  def get_value(self, *args):
4817  """
4818  get_value(Chain self, FloatKey a0) -> IMP::Float
4819  get_value(Chain self, IntKey a0) -> IMP::Int
4820  get_value(Chain self, StringKey a0) -> IMP::String
4821  get_value(Chain self, ParticleIndexKey a0) -> Particle
4822  get_value(Chain self, ObjectKey a0) -> Object
4823  """
4824  return _IMP_atom.Chain_get_value(self, *args)
4825 
4826 
4827  def set_value(self, *args):
4828  """
4829  set_value(Chain self, FloatKey a0, IMP::Float a1)
4830  set_value(Chain self, IntKey a0, IMP::Int a1)
4831  set_value(Chain self, StringKey a0, IMP::String a1)
4832  set_value(Chain self, ParticleIndexKey a0, Particle a1)
4833  set_value(Chain self, ObjectKey a0, Object a1)
4834  """
4835  return _IMP_atom.Chain_set_value(self, *args)
4836 
4837 
4838  def remove_attribute(self, *args):
4839  """
4840  remove_attribute(Chain self, FloatKey a0)
4841  remove_attribute(Chain self, IntKey a0)
4842  remove_attribute(Chain self, StringKey a0)
4843  remove_attribute(Chain self, ParticleIndexKey a0)
4844  remove_attribute(Chain self, ObjectKey a0)
4845  """
4846  return _IMP_atom.Chain_remove_attribute(self, *args)
4847 
4848 
4849  def has_attribute(self, *args):
4850  """
4851  has_attribute(Chain self, FloatKey a0) -> bool
4852  has_attribute(Chain self, IntKey a0) -> bool
4853  has_attribute(Chain self, StringKey a0) -> bool
4854  has_attribute(Chain self, ParticleIndexKey a0) -> bool
4855  has_attribute(Chain self, ObjectKey a0) -> bool
4856  """
4857  return _IMP_atom.Chain_has_attribute(self, *args)
4858 
4859 
4860  def get_derivative(self, a0):
4861  """get_derivative(Chain self, FloatKey a0) -> double"""
4862  return _IMP_atom.Chain_get_derivative(self, a0)
4863 
4864 
4865  def get_name(self):
4866  """get_name(Chain self) -> std::string"""
4867  return _IMP_atom.Chain_get_name(self)
4868 
4869 
4870  def clear_caches(self):
4871  """clear_caches(Chain self)"""
4872  return _IMP_atom.Chain_clear_caches(self)
4873 
4874 
4875  def set_name(self, a0):
4876  """set_name(Chain self, std::string a0)"""
4877  return _IMP_atom.Chain_set_name(self, a0)
4878 
4879 
4880  def set_check_level(self, a0):
4881  """set_check_level(Chain self, IMP::CheckLevel a0)"""
4882  return _IMP_atom.Chain_set_check_level(self, a0)
4883 
4884 
4885  def add_to_derivative(self, a0, a1, a2):
4886  """add_to_derivative(Chain self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
4887  return _IMP_atom.Chain_add_to_derivative(self, a0, a1, a2)
4888 
4889 
4890  def set_is_optimized(self, a0, a1):
4891  """set_is_optimized(Chain self, FloatKey a0, bool a1)"""
4892  return _IMP_atom.Chain_set_is_optimized(self, a0, a1)
4893 
4894 
4895  def get_is_optimized(self, a0):
4896  """get_is_optimized(Chain self, FloatKey a0) -> bool"""
4897  return _IMP_atom.Chain_get_is_optimized(self, a0)
4898 
4899 
4900  def get_check_level(self):
4901  """get_check_level(Chain self) -> IMP::CheckLevel"""
4902  return _IMP_atom.Chain_get_check_level(self)
4903 
4904 
4905  def __eq__(self, *args):
4906  """
4907  __eq__(Chain self, Chain o) -> bool
4908  __eq__(Chain self, Particle d) -> bool
4909  """
4910  return _IMP_atom.Chain___eq__(self, *args)
4911 
4912 
4913  def __ne__(self, *args):
4914  """
4915  __ne__(Chain self, Chain o) -> bool
4916  __ne__(Chain self, Particle d) -> bool
4917  """
4918  return _IMP_atom.Chain___ne__(self, *args)
4919 
4920 
4921  def __le__(self, *args):
4922  """
4923  __le__(Chain self, Chain o) -> bool
4924  __le__(Chain self, Particle d) -> bool
4925  """
4926  return _IMP_atom.Chain___le__(self, *args)
4927 
4928 
4929  def __lt__(self, *args):
4930  """
4931  __lt__(Chain self, Chain o) -> bool
4932  __lt__(Chain self, Particle d) -> bool
4933  """
4934  return _IMP_atom.Chain___lt__(self, *args)
4935 
4936 
4937  def __ge__(self, *args):
4938  """
4939  __ge__(Chain self, Chain o) -> bool
4940  __ge__(Chain self, Particle d) -> bool
4941  """
4942  return _IMP_atom.Chain___ge__(self, *args)
4943 
4944 
4945  def __gt__(self, *args):
4946  """
4947  __gt__(Chain self, Chain o) -> bool
4948  __gt__(Chain self, Particle d) -> bool
4949  """
4950  return _IMP_atom.Chain___gt__(self, *args)
4951 
4952 
4953  def __hash__(self):
4954  """__hash__(Chain self) -> std::size_t"""
4955  return _IMP_atom.Chain___hash__(self)
4956 
4957 
4958  def __str__(self):
4959  """__str__(Chain self) -> std::string"""
4960  return _IMP_atom.Chain___str__(self)
4961 
4962 
4963  def __repr__(self):
4964  """__repr__(Chain self) -> std::string"""
4965  return _IMP_atom.Chain___repr__(self)
4966 
4967  __swig_destroy__ = _IMP_atom.delete_Chain
4968  __del__ = lambda self: None
4969 Chain_swigregister = _IMP_atom.Chain_swigregister
4970 Chain_swigregister(Chain)
4971 
4972 def Chain_setup_particle(*args):
4973  """
4974  setup_particle(Model m, ParticleIndex pi, std::string id) -> Chain
4975  setup_particle(_ParticleAdaptor decorator, std::string id) -> Chain
4976  setup_particle(Model m, ParticleIndex pi, char id) -> Chain
4977  setup_particle(_ParticleAdaptor decorator, char id) -> Chain
4978  setup_particle(Model m, ParticleIndex pi, Chain other) -> Chain
4979  Chain_setup_particle(_ParticleAdaptor decorator, Chain other) -> Chain
4980  """
4981  return _IMP_atom.Chain_setup_particle(*args)
4982 
4983 def Chain_get_is_setup(*args):
4984  """
4985  get_is_setup(_ParticleAdaptor p) -> bool
4986  Chain_get_is_setup(Model m, ParticleIndex pi) -> bool
4987  """
4988  return _IMP_atom.Chain_get_is_setup(*args)
4989 
4990 def Chain_get_id_key():
4991  """Chain_get_id_key() -> StringKey"""
4992  return _IMP_atom.Chain_get_id_key()
4993 
4994 
4995 def get_chain(h):
4996  """get_chain(Hierarchy h) -> Chain"""
4997  return _IMP_atom.get_chain(h)
4998 
4999 def get_chain_id(h):
5000  """get_chain_id(Hierarchy h) -> std::string"""
5001  return _IMP_atom.get_chain_id(h)
5002 class Charged(IMP.core.XYZ):
5003  """Proxy of C++ IMP::atom::Charged class."""
5004 
5005  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5006 
5007  def __init__(self, *args):
5008  """
5009  __init__(IMP::atom::Charged self) -> Charged
5010  __init__(IMP::atom::Charged self, Model m, ParticleIndex id) -> Charged
5011  __init__(IMP::atom::Charged self, _ParticleAdaptor d) -> Charged
5012  """
5013  this = _IMP_atom.new_Charged(*args)
5014  try:
5015  self.this.append(this)
5016  except Exception:
5017  self.this = this
5018 
5019  def show(self, *args):
5020  """
5021  show(Charged self, _ostream out)
5022  show(Charged self)
5023  """
5024  return _IMP_atom.Charged_show(self, *args)
5025 
5026 
5027  def setup_particle(*args):
5028  """
5029  setup_particle(Model m, ParticleIndex pi, IMP::Float charge) -> Charged
5030  setup_particle(_ParticleAdaptor decorator, IMP::Float charge) -> Charged
5031  setup_particle(Model m, ParticleIndex pi, Vector3D v, IMP::Float charge) -> Charged
5032  setup_particle(_ParticleAdaptor decorator, Vector3D v, IMP::Float charge) -> Charged
5033  """
5034  return _IMP_atom.Charged_setup_particle(*args)
5035 
5036  setup_particle = staticmethod(setup_particle)
5037 
5038  def get_charge(self):
5039  """get_charge(Charged self) -> IMP::Float"""
5040  return _IMP_atom.Charged_get_charge(self)
5041 
5042 
5043  def set_charge(self, t):
5044  """set_charge(Charged self, IMP::Float t)"""
5045  return _IMP_atom.Charged_set_charge(self, t)
5046 
5047 
5048  def get_is_setup(*args):
5049  """
5050  get_is_setup(_ParticleAdaptor p) -> bool
5051  get_is_setup(Model m, ParticleIndex pi) -> bool
5052  """
5053  return _IMP_atom.Charged_get_is_setup(*args)
5054 
5055  get_is_setup = staticmethod(get_is_setup)
5056 
5057  def get_charge_key():
5058  """get_charge_key() -> FloatKey"""
5059  return _IMP_atom.Charged_get_charge_key()
5060 
5061  get_charge_key = staticmethod(get_charge_key)
5062 
5063  def add_attribute(self, *args):
5064  """
5065  add_attribute(Charged self, FloatKey k, IMP::Float v, bool opt)
5066  add_attribute(Charged self, FloatKey a0, IMP::Float a1)
5067  add_attribute(Charged self, IntKey a0, IMP::Int a1)
5068  add_attribute(Charged self, StringKey a0, IMP::String a1)
5069  add_attribute(Charged self, ParticleIndexKey a0, Particle a1)
5070  add_attribute(Charged self, ObjectKey a0, Object a1)
5071  """
5072  return _IMP_atom.Charged_add_attribute(self, *args)
5073 
5074 
5075  def get_value(self, *args):
5076  """
5077  get_value(Charged self, FloatKey a0) -> IMP::Float
5078  get_value(Charged self, IntKey a0) -> IMP::Int
5079  get_value(Charged self, StringKey a0) -> IMP::String
5080  get_value(Charged self, ParticleIndexKey a0) -> Particle
5081  get_value(Charged self, ObjectKey a0) -> Object
5082  """
5083  return _IMP_atom.Charged_get_value(self, *args)
5084 
5085 
5086  def set_value(self, *args):
5087  """
5088  set_value(Charged self, FloatKey a0, IMP::Float a1)
5089  set_value(Charged self, IntKey a0, IMP::Int a1)
5090  set_value(Charged self, StringKey a0, IMP::String a1)
5091  set_value(Charged self, ParticleIndexKey a0, Particle a1)
5092  set_value(Charged self, ObjectKey a0, Object a1)
5093  """
5094  return _IMP_atom.Charged_set_value(self, *args)
5095 
5096 
5097  def remove_attribute(self, *args):
5098  """
5099  remove_attribute(Charged self, FloatKey a0)
5100  remove_attribute(Charged self, IntKey a0)
5101  remove_attribute(Charged self, StringKey a0)
5102  remove_attribute(Charged self, ParticleIndexKey a0)
5103  remove_attribute(Charged self, ObjectKey a0)
5104  """
5105  return _IMP_atom.Charged_remove_attribute(self, *args)
5106 
5107 
5108  def has_attribute(self, *args):
5109  """
5110  has_attribute(Charged self, FloatKey a0) -> bool
5111  has_attribute(Charged self, IntKey a0) -> bool
5112  has_attribute(Charged self, StringKey a0) -> bool
5113  has_attribute(Charged self, ParticleIndexKey a0) -> bool
5114  has_attribute(Charged self, ObjectKey a0) -> bool
5115  """
5116  return _IMP_atom.Charged_has_attribute(self, *args)
5117 
5118 
5119  def get_derivative(self, a0):
5120  """get_derivative(Charged self, FloatKey a0) -> double"""
5121  return _IMP_atom.Charged_get_derivative(self, a0)
5122 
5123 
5124  def get_name(self):
5125  """get_name(Charged self) -> std::string"""
5126  return _IMP_atom.Charged_get_name(self)
5127 
5128 
5129  def clear_caches(self):
5130  """clear_caches(Charged self)"""
5131  return _IMP_atom.Charged_clear_caches(self)
5132 
5133 
5134  def set_name(self, a0):
5135  """set_name(Charged self, std::string a0)"""
5136  return _IMP_atom.Charged_set_name(self, a0)
5137 
5138 
5139  def set_check_level(self, a0):
5140  """set_check_level(Charged self, IMP::CheckLevel a0)"""
5141  return _IMP_atom.Charged_set_check_level(self, a0)
5142 
5143 
5144  def add_to_derivative(self, a0, a1, a2):
5145  """add_to_derivative(Charged self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
5146  return _IMP_atom.Charged_add_to_derivative(self, a0, a1, a2)
5147 
5148 
5149  def set_is_optimized(self, a0, a1):
5150  """set_is_optimized(Charged self, FloatKey a0, bool a1)"""
5151  return _IMP_atom.Charged_set_is_optimized(self, a0, a1)
5152 
5153 
5154  def get_is_optimized(self, a0):
5155  """get_is_optimized(Charged self, FloatKey a0) -> bool"""
5156  return _IMP_atom.Charged_get_is_optimized(self, a0)
5157 
5158 
5159  def get_check_level(self):
5160  """get_check_level(Charged self) -> IMP::CheckLevel"""
5161  return _IMP_atom.Charged_get_check_level(self)
5162 
5163 
5164  def __eq__(self, *args):
5165  """
5166  __eq__(Charged self, Charged o) -> bool
5167  __eq__(Charged self, Particle d) -> bool
5168  """
5169  return _IMP_atom.Charged___eq__(self, *args)
5170 
5171 
5172  def __ne__(self, *args):
5173  """
5174  __ne__(Charged self, Charged o) -> bool
5175  __ne__(Charged self, Particle d) -> bool
5176  """
5177  return _IMP_atom.Charged___ne__(self, *args)
5178 
5179 
5180  def __le__(self, *args):
5181  """
5182  __le__(Charged self, Charged o) -> bool
5183  __le__(Charged self, Particle d) -> bool
5184  """
5185  return _IMP_atom.Charged___le__(self, *args)
5186 
5187 
5188  def __lt__(self, *args):
5189  """
5190  __lt__(Charged self, Charged o) -> bool
5191  __lt__(Charged self, Particle d) -> bool
5192  """
5193  return _IMP_atom.Charged___lt__(self, *args)
5194 
5195 
5196  def __ge__(self, *args):
5197  """
5198  __ge__(Charged self, Charged o) -> bool
5199  __ge__(Charged self, Particle d) -> bool
5200  """
5201  return _IMP_atom.Charged___ge__(self, *args)
5202 
5203 
5204  def __gt__(self, *args):
5205  """
5206  __gt__(Charged self, Charged o) -> bool
5207  __gt__(Charged self, Particle d) -> bool
5208  """
5209  return _IMP_atom.Charged___gt__(self, *args)
5210 
5211 
5212  def __hash__(self):
5213  """__hash__(Charged self) -> std::size_t"""
5214  return _IMP_atom.Charged___hash__(self)
5215 
5216 
5217  def __str__(self):
5218  """__str__(Charged self) -> std::string"""
5219  return _IMP_atom.Charged___str__(self)
5220 
5221 
5222  def __repr__(self):
5223  """__repr__(Charged self) -> std::string"""
5224  return _IMP_atom.Charged___repr__(self)
5225 
5226  __swig_destroy__ = _IMP_atom.delete_Charged
5227  __del__ = lambda self: None
5228 Charged_swigregister = _IMP_atom.Charged_swigregister
5229 Charged_swigregister(Charged)
5230 
5231 def Charged_setup_particle(*args):
5232  """
5233  setup_particle(Model m, ParticleIndex pi, IMP::Float charge) -> Charged
5234  setup_particle(_ParticleAdaptor decorator, IMP::Float charge) -> Charged
5235  setup_particle(Model m, ParticleIndex pi, Vector3D v, IMP::Float charge) -> Charged
5236  Charged_setup_particle(_ParticleAdaptor decorator, Vector3D v, IMP::Float charge) -> Charged
5237  """
5238  return _IMP_atom.Charged_setup_particle(*args)
5239 
5240 def Charged_get_is_setup(*args):
5241  """
5242  get_is_setup(_ParticleAdaptor p) -> bool
5243  Charged_get_is_setup(Model m, ParticleIndex pi) -> bool
5244  """
5245  return _IMP_atom.Charged_get_is_setup(*args)
5246 
5247 def Charged_get_charge_key():
5248  """Charged_get_charge_key() -> FloatKey"""
5249  return _IMP_atom.Charged_get_charge_key()
5250 
5251 class CoulombPairScore(IMP.PairScore):
5252  """Proxy of C++ IMP::atom::CoulombPairScore class."""
5253 
5254  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5255 
5256  def __init__(self, f):
5257  """__init__(IMP::atom::CoulombPairScore self, SmoothingFunction f) -> CoulombPairScore"""
5258  this = _IMP_atom.new_CoulombPairScore(f)
5259  try:
5260  self.this.append(this)
5261  except Exception:
5262  self.this = this
5263 
5264  def set_relative_dielectric(self, relative_dielectric):
5265  """set_relative_dielectric(CoulombPairScore self, double relative_dielectric)"""
5266  return _IMP_atom.CoulombPairScore_set_relative_dielectric(self, relative_dielectric)
5267 
5268 
5269  def get_relative_dielectric(self):
5270  """get_relative_dielectric(CoulombPairScore self) -> double"""
5271  return _IMP_atom.CoulombPairScore_get_relative_dielectric(self)
5272 
5273 
5274  def do_get_inputs(self, m, pis):
5275  """do_get_inputs(CoulombPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5276  return _IMP_atom.CoulombPairScore_do_get_inputs(self, m, pis)
5277 
5278 
5279  def get_version_info(self):
5280  """get_version_info(CoulombPairScore self) -> VersionInfo"""
5281  return _IMP_atom.CoulombPairScore_get_version_info(self)
5282 
5283 
5284  def __str__(self):
5285  """__str__(CoulombPairScore self) -> std::string"""
5286  return _IMP_atom.CoulombPairScore___str__(self)
5287 
5288 
5289  def __repr__(self):
5290  """__repr__(CoulombPairScore self) -> std::string"""
5291  return _IMP_atom.CoulombPairScore___repr__(self)
5292 
5293 
5294  @staticmethod
5295  def get_from(o):
5296  return _object_cast_to_CoulombPairScore(o)
5297 
5298 CoulombPairScore_swigregister = _IMP_atom.CoulombPairScore_swigregister
5299 CoulombPairScore_swigregister(CoulombPairScore)
5300 
5301 class Domain(Hierarchy):
5302  """Proxy of C++ IMP::atom::Domain class."""
5303 
5304  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5305 
5306  def set_index_range(self, ir):
5307  """set_index_range(Domain self, IMP::IntRange ir)"""
5308  return _IMP_atom.Domain_set_index_range(self, ir)
5309 
5310 
5311  def get_index_range(self):
5312  """get_index_range(Domain self) -> IMP::IntRange"""
5313  return _IMP_atom.Domain_get_index_range(self)
5314 
5315 
5316  def __init__(self, *args):
5317  """
5318  __init__(IMP::atom::Domain self) -> Domain
5319  __init__(IMP::atom::Domain self, Model m, ParticleIndex id) -> Domain
5320  __init__(IMP::atom::Domain self, _ParticleAdaptor d) -> Domain
5321  """
5322  this = _IMP_atom.new_Domain(*args)
5323  try:
5324  self.this.append(this)
5325  except Exception:
5326  self.this = this
5327 
5328  def get_is_setup(*args):
5329  """
5330  get_is_setup(Model m, ParticleIndex pi) -> bool
5331  get_is_setup(_ParticleAdaptor p) -> bool
5332  """
5333  return _IMP_atom.Domain_get_is_setup(*args)
5334 
5335  get_is_setup = staticmethod(get_is_setup)
5336 
5337  def show(self, *args):
5338  """
5339  show(Domain self, _ostream out)
5340  show(Domain self)
5341  """
5342  return _IMP_atom.Domain_show(self, *args)
5343 
5344 
5345  def setup_particle(*args):
5346  """
5347  setup_particle(Model m, ParticleIndex pi, Domain other) -> Domain
5348  setup_particle(_ParticleAdaptor decorator, Domain other) -> Domain
5349  setup_particle(Model m, ParticleIndex pi, IMP::IntRange residues) -> Domain
5350  setup_particle(_ParticleAdaptor decorator, IMP::IntRange residues) -> Domain
5351  """
5352  return _IMP_atom.Domain_setup_particle(*args)
5353 
5354  setup_particle = staticmethod(setup_particle)
5355 
5356  def add_attribute(self, *args):
5357  """
5358  add_attribute(Domain self, FloatKey k, IMP::Float v, bool opt)
5359  add_attribute(Domain self, FloatKey a0, IMP::Float a1)
5360  add_attribute(Domain self, IntKey a0, IMP::Int a1)
5361  add_attribute(Domain self, StringKey a0, IMP::String a1)
5362  add_attribute(Domain self, ParticleIndexKey a0, Particle a1)
5363  add_attribute(Domain self, ObjectKey a0, Object a1)
5364  """
5365  return _IMP_atom.Domain_add_attribute(self, *args)
5366 
5367 
5368  def get_value(self, *args):
5369  """
5370  get_value(Domain self, FloatKey a0) -> IMP::Float
5371  get_value(Domain self, IntKey a0) -> IMP::Int
5372  get_value(Domain self, StringKey a0) -> IMP::String
5373  get_value(Domain self, ParticleIndexKey a0) -> Particle
5374  get_value(Domain self, ObjectKey a0) -> Object
5375  """
5376  return _IMP_atom.Domain_get_value(self, *args)
5377 
5378 
5379  def set_value(self, *args):
5380  """
5381  set_value(Domain self, FloatKey a0, IMP::Float a1)
5382  set_value(Domain self, IntKey a0, IMP::Int a1)
5383  set_value(Domain self, StringKey a0, IMP::String a1)
5384  set_value(Domain self, ParticleIndexKey a0, Particle a1)
5385  set_value(Domain self, ObjectKey a0, Object a1)
5386  """
5387  return _IMP_atom.Domain_set_value(self, *args)
5388 
5389 
5390  def remove_attribute(self, *args):
5391  """
5392  remove_attribute(Domain self, FloatKey a0)
5393  remove_attribute(Domain self, IntKey a0)
5394  remove_attribute(Domain self, StringKey a0)
5395  remove_attribute(Domain self, ParticleIndexKey a0)
5396  remove_attribute(Domain self, ObjectKey a0)
5397  """
5398  return _IMP_atom.Domain_remove_attribute(self, *args)
5399 
5400 
5401  def has_attribute(self, *args):
5402  """
5403  has_attribute(Domain self, FloatKey a0) -> bool
5404  has_attribute(Domain self, IntKey a0) -> bool
5405  has_attribute(Domain self, StringKey a0) -> bool
5406  has_attribute(Domain self, ParticleIndexKey a0) -> bool
5407  has_attribute(Domain self, ObjectKey a0) -> bool
5408  """
5409  return _IMP_atom.Domain_has_attribute(self, *args)
5410 
5411 
5412  def get_derivative(self, a0):
5413  """get_derivative(Domain self, FloatKey a0) -> double"""
5414  return _IMP_atom.Domain_get_derivative(self, a0)
5415 
5416 
5417  def get_name(self):
5418  """get_name(Domain self) -> std::string"""
5419  return _IMP_atom.Domain_get_name(self)
5420 
5421 
5422  def clear_caches(self):
5423  """clear_caches(Domain self)"""
5424  return _IMP_atom.Domain_clear_caches(self)
5425 
5426 
5427  def set_name(self, a0):
5428  """set_name(Domain self, std::string a0)"""
5429  return _IMP_atom.Domain_set_name(self, a0)
5430 
5431 
5432  def set_check_level(self, a0):
5433  """set_check_level(Domain self, IMP::CheckLevel a0)"""
5434  return _IMP_atom.Domain_set_check_level(self, a0)
5435 
5436 
5437  def add_to_derivative(self, a0, a1, a2):
5438  """add_to_derivative(Domain self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
5439  return _IMP_atom.Domain_add_to_derivative(self, a0, a1, a2)
5440 
5441 
5442  def set_is_optimized(self, a0, a1):
5443  """set_is_optimized(Domain self, FloatKey a0, bool a1)"""
5444  return _IMP_atom.Domain_set_is_optimized(self, a0, a1)
5445 
5446 
5447  def get_is_optimized(self, a0):
5448  """get_is_optimized(Domain self, FloatKey a0) -> bool"""
5449  return _IMP_atom.Domain_get_is_optimized(self, a0)
5450 
5451 
5452  def get_check_level(self):
5453  """get_check_level(Domain self) -> IMP::CheckLevel"""
5454  return _IMP_atom.Domain_get_check_level(self)
5455 
5456 
5457  def __eq__(self, *args):
5458  """
5459  __eq__(Domain self, Domain o) -> bool
5460  __eq__(Domain self, Particle d) -> bool
5461  """
5462  return _IMP_atom.Domain___eq__(self, *args)
5463 
5464 
5465  def __ne__(self, *args):
5466  """
5467  __ne__(Domain self, Domain o) -> bool
5468  __ne__(Domain self, Particle d) -> bool
5469  """
5470  return _IMP_atom.Domain___ne__(self, *args)
5471 
5472 
5473  def __le__(self, *args):
5474  """
5475  __le__(Domain self, Domain o) -> bool
5476  __le__(Domain self, Particle d) -> bool
5477  """
5478  return _IMP_atom.Domain___le__(self, *args)
5479 
5480 
5481  def __lt__(self, *args):
5482  """
5483  __lt__(Domain self, Domain o) -> bool
5484  __lt__(Domain self, Particle d) -> bool
5485  """
5486  return _IMP_atom.Domain___lt__(self, *args)
5487 
5488 
5489  def __ge__(self, *args):
5490  """
5491  __ge__(Domain self, Domain o) -> bool
5492  __ge__(Domain self, Particle d) -> bool
5493  """
5494  return _IMP_atom.Domain___ge__(self, *args)
5495 
5496 
5497  def __gt__(self, *args):
5498  """
5499  __gt__(Domain self, Domain o) -> bool
5500  __gt__(Domain self, Particle d) -> bool
5501  """
5502  return _IMP_atom.Domain___gt__(self, *args)
5503 
5504 
5505  def __hash__(self):
5506  """__hash__(Domain self) -> std::size_t"""
5507  return _IMP_atom.Domain___hash__(self)
5508 
5509 
5510  def __str__(self):
5511  """__str__(Domain self) -> std::string"""
5512  return _IMP_atom.Domain___str__(self)
5513 
5514 
5515  def __repr__(self):
5516  """__repr__(Domain self) -> std::string"""
5517  return _IMP_atom.Domain___repr__(self)
5518 
5519  __swig_destroy__ = _IMP_atom.delete_Domain
5520  __del__ = lambda self: None
5521 Domain_swigregister = _IMP_atom.Domain_swigregister
5522 Domain_swigregister(Domain)
5523 
5524 def Domain_get_is_setup(*args):
5525  """
5526  get_is_setup(Model m, ParticleIndex pi) -> bool
5527  Domain_get_is_setup(_ParticleAdaptor p) -> bool
5528  """
5529  return _IMP_atom.Domain_get_is_setup(*args)
5530 
5531 def Domain_setup_particle(*args):
5532  """
5533  setup_particle(Model m, ParticleIndex pi, Domain other) -> Domain
5534  setup_particle(_ParticleAdaptor decorator, Domain other) -> Domain
5535  setup_particle(Model m, ParticleIndex pi, IMP::IntRange residues) -> Domain
5536  Domain_setup_particle(_ParticleAdaptor decorator, IMP::IntRange residues) -> Domain
5537  """
5538  return _IMP_atom.Domain_setup_particle(*args)
5539 
5540 class LennardJones(IMP.core.XYZR):
5541  """Proxy of C++ IMP::atom::LennardJones class."""
5542 
5543  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5544 
5545  def __init__(self, *args):
5546  """
5547  __init__(IMP::atom::LennardJones self) -> LennardJones
5548  __init__(IMP::atom::LennardJones self, Model m, ParticleIndex id) -> LennardJones
5549  __init__(IMP::atom::LennardJones self, _ParticleAdaptor d) -> LennardJones
5550  """
5551  this = _IMP_atom.new_LennardJones(*args)
5552  try:
5553  self.this.append(this)
5554  except Exception:
5555  self.this = this
5556 
5557  def show(self, *args):
5558  """
5559  show(LennardJones self, _ostream out)
5560  show(LennardJones self)
5561  """
5562  return _IMP_atom.LennardJones_show(self, *args)
5563 
5564 
5565  def setup_particle(*args):
5566  """
5567  setup_particle(Model m, ParticleIndex pi) -> LennardJones
5568  setup_particle(_ParticleAdaptor decorator) -> LennardJones
5569  setup_particle(Model m, ParticleIndex pi, IMP::Float well_depth) -> LennardJones
5570  setup_particle(_ParticleAdaptor decorator, IMP::Float well_depth) -> LennardJones
5571  """
5572  return _IMP_atom.LennardJones_setup_particle(*args)
5573 
5574  setup_particle = staticmethod(setup_particle)
5575 
5576  def get_well_depth(self):
5577  """get_well_depth(LennardJones self) -> IMP::Float"""
5578  return _IMP_atom.LennardJones_get_well_depth(self)
5579 
5580 
5581  def set_well_depth(self, well_depth):
5582  """set_well_depth(LennardJones self, IMP::Float well_depth)"""
5583  return _IMP_atom.LennardJones_set_well_depth(self, well_depth)
5584 
5585 
5586  def get_is_setup(*args):
5587  """
5588  get_is_setup(_ParticleAdaptor p) -> bool
5589  get_is_setup(Model m, ParticleIndex pi) -> bool
5590  """
5591  return _IMP_atom.LennardJones_get_is_setup(*args)
5592 
5593  get_is_setup = staticmethod(get_is_setup)
5594 
5595  def get_well_depth_key():
5596  """get_well_depth_key() -> FloatKey"""
5597  return _IMP_atom.LennardJones_get_well_depth_key()
5598 
5599  get_well_depth_key = staticmethod(get_well_depth_key)
5600 
5601  def add_attribute(self, *args):
5602  """
5603  add_attribute(LennardJones self, FloatKey k, IMP::Float v, bool opt)
5604  add_attribute(LennardJones self, FloatKey a0, IMP::Float a1)
5605  add_attribute(LennardJones self, IntKey a0, IMP::Int a1)
5606  add_attribute(LennardJones self, StringKey a0, IMP::String a1)
5607  add_attribute(LennardJones self, ParticleIndexKey a0, Particle a1)
5608  add_attribute(LennardJones self, ObjectKey a0, Object a1)
5609  """
5610  return _IMP_atom.LennardJones_add_attribute(self, *args)
5611 
5612 
5613  def get_value(self, *args):
5614  """
5615  get_value(LennardJones self, FloatKey a0) -> IMP::Float
5616  get_value(LennardJones self, IntKey a0) -> IMP::Int
5617  get_value(LennardJones self, StringKey a0) -> IMP::String
5618  get_value(LennardJones self, ParticleIndexKey a0) -> Particle
5619  get_value(LennardJones self, ObjectKey a0) -> Object
5620  """
5621  return _IMP_atom.LennardJones_get_value(self, *args)
5622 
5623 
5624  def set_value(self, *args):
5625  """
5626  set_value(LennardJones self, FloatKey a0, IMP::Float a1)
5627  set_value(LennardJones self, IntKey a0, IMP::Int a1)
5628  set_value(LennardJones self, StringKey a0, IMP::String a1)
5629  set_value(LennardJones self, ParticleIndexKey a0, Particle a1)
5630  set_value(LennardJones self, ObjectKey a0, Object a1)
5631  """
5632  return _IMP_atom.LennardJones_set_value(self, *args)
5633 
5634 
5635  def remove_attribute(self, *args):
5636  """
5637  remove_attribute(LennardJones self, FloatKey a0)
5638  remove_attribute(LennardJones self, IntKey a0)
5639  remove_attribute(LennardJones self, StringKey a0)
5640  remove_attribute(LennardJones self, ParticleIndexKey a0)
5641  remove_attribute(LennardJones self, ObjectKey a0)
5642  """
5643  return _IMP_atom.LennardJones_remove_attribute(self, *args)
5644 
5645 
5646  def has_attribute(self, *args):
5647  """
5648  has_attribute(LennardJones self, FloatKey a0) -> bool
5649  has_attribute(LennardJones self, IntKey a0) -> bool
5650  has_attribute(LennardJones self, StringKey a0) -> bool
5651  has_attribute(LennardJones self, ParticleIndexKey a0) -> bool
5652  has_attribute(LennardJones self, ObjectKey a0) -> bool
5653  """
5654  return _IMP_atom.LennardJones_has_attribute(self, *args)
5655 
5656 
5657  def get_derivative(self, a0):
5658  """get_derivative(LennardJones self, FloatKey a0) -> double"""
5659  return _IMP_atom.LennardJones_get_derivative(self, a0)
5660 
5661 
5662  def get_name(self):
5663  """get_name(LennardJones self) -> std::string"""
5664  return _IMP_atom.LennardJones_get_name(self)
5665 
5666 
5667  def clear_caches(self):
5668  """clear_caches(LennardJones self)"""
5669  return _IMP_atom.LennardJones_clear_caches(self)
5670 
5671 
5672  def set_name(self, a0):
5673  """set_name(LennardJones self, std::string a0)"""
5674  return _IMP_atom.LennardJones_set_name(self, a0)
5675 
5676 
5677  def set_check_level(self, a0):
5678  """set_check_level(LennardJones self, IMP::CheckLevel a0)"""
5679  return _IMP_atom.LennardJones_set_check_level(self, a0)
5680 
5681 
5682  def add_to_derivative(self, a0, a1, a2):
5683  """add_to_derivative(LennardJones self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
5684  return _IMP_atom.LennardJones_add_to_derivative(self, a0, a1, a2)
5685 
5686 
5687  def set_is_optimized(self, a0, a1):
5688  """set_is_optimized(LennardJones self, FloatKey a0, bool a1)"""
5689  return _IMP_atom.LennardJones_set_is_optimized(self, a0, a1)
5690 
5691 
5692  def get_is_optimized(self, a0):
5693  """get_is_optimized(LennardJones self, FloatKey a0) -> bool"""
5694  return _IMP_atom.LennardJones_get_is_optimized(self, a0)
5695 
5696 
5697  def get_check_level(self):
5698  """get_check_level(LennardJones self) -> IMP::CheckLevel"""
5699  return _IMP_atom.LennardJones_get_check_level(self)
5700 
5701 
5702  def __eq__(self, *args):
5703  """
5704  __eq__(LennardJones self, LennardJones o) -> bool
5705  __eq__(LennardJones self, Particle d) -> bool
5706  """
5707  return _IMP_atom.LennardJones___eq__(self, *args)
5708 
5709 
5710  def __ne__(self, *args):
5711  """
5712  __ne__(LennardJones self, LennardJones o) -> bool
5713  __ne__(LennardJones self, Particle d) -> bool
5714  """
5715  return _IMP_atom.LennardJones___ne__(self, *args)
5716 
5717 
5718  def __le__(self, *args):
5719  """
5720  __le__(LennardJones self, LennardJones o) -> bool
5721  __le__(LennardJones self, Particle d) -> bool
5722  """
5723  return _IMP_atom.LennardJones___le__(self, *args)
5724 
5725 
5726  def __lt__(self, *args):
5727  """
5728  __lt__(LennardJones self, LennardJones o) -> bool
5729  __lt__(LennardJones self, Particle d) -> bool
5730  """
5731  return _IMP_atom.LennardJones___lt__(self, *args)
5732 
5733 
5734  def __ge__(self, *args):
5735  """
5736  __ge__(LennardJones self, LennardJones o) -> bool
5737  __ge__(LennardJones self, Particle d) -> bool
5738  """
5739  return _IMP_atom.LennardJones___ge__(self, *args)
5740 
5741 
5742  def __gt__(self, *args):
5743  """
5744  __gt__(LennardJones self, LennardJones o) -> bool
5745  __gt__(LennardJones self, Particle d) -> bool
5746  """
5747  return _IMP_atom.LennardJones___gt__(self, *args)
5748 
5749 
5750  def __hash__(self):
5751  """__hash__(LennardJones self) -> std::size_t"""
5752  return _IMP_atom.LennardJones___hash__(self)
5753 
5754 
5755  def __str__(self):
5756  """__str__(LennardJones self) -> std::string"""
5757  return _IMP_atom.LennardJones___str__(self)
5758 
5759 
5760  def __repr__(self):
5761  """__repr__(LennardJones self) -> std::string"""
5762  return _IMP_atom.LennardJones___repr__(self)
5763 
5764  __swig_destroy__ = _IMP_atom.delete_LennardJones
5765  __del__ = lambda self: None
5766 LennardJones_swigregister = _IMP_atom.LennardJones_swigregister
5767 LennardJones_swigregister(LennardJones)
5768 
5769 def LennardJones_setup_particle(*args):
5770  """
5771  setup_particle(Model m, ParticleIndex pi) -> LennardJones
5772  setup_particle(_ParticleAdaptor decorator) -> LennardJones
5773  setup_particle(Model m, ParticleIndex pi, IMP::Float well_depth) -> LennardJones
5774  LennardJones_setup_particle(_ParticleAdaptor decorator, IMP::Float well_depth) -> LennardJones
5775  """
5776  return _IMP_atom.LennardJones_setup_particle(*args)
5777 
5778 def LennardJones_get_is_setup(*args):
5779  """
5780  get_is_setup(_ParticleAdaptor p) -> bool
5781  LennardJones_get_is_setup(Model m, ParticleIndex pi) -> bool
5782  """
5783  return _IMP_atom.LennardJones_get_is_setup(*args)
5784 
5785 def LennardJones_get_well_depth_key():
5786  """LennardJones_get_well_depth_key() -> FloatKey"""
5787  return _IMP_atom.LennardJones_get_well_depth_key()
5788 
5789 class LennardJonesPairScore(IMP.PairScore):
5790  """Proxy of C++ IMP::atom::LennardJonesPairScore class."""
5791 
5792  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5793 
5794  def __init__(self, f):
5795  """__init__(IMP::atom::LennardJonesPairScore self, SmoothingFunction f) -> LennardJonesPairScore"""
5796  this = _IMP_atom.new_LennardJonesPairScore(f)
5797  try:
5798  self.this.append(this)
5799  except Exception:
5800  self.this = this
5801 
5802  def set_repulsive_weight(self, repulsive_weight):
5803  """set_repulsive_weight(LennardJonesPairScore self, double repulsive_weight)"""
5804  return _IMP_atom.LennardJonesPairScore_set_repulsive_weight(self, repulsive_weight)
5805 
5806 
5807  def get_repulsive_weight(self):
5808  """get_repulsive_weight(LennardJonesPairScore self) -> double"""
5809  return _IMP_atom.LennardJonesPairScore_get_repulsive_weight(self)
5810 
5811 
5812  def set_attractive_weight(self, attractive_weight):
5813  """set_attractive_weight(LennardJonesPairScore self, double attractive_weight)"""
5814  return _IMP_atom.LennardJonesPairScore_set_attractive_weight(self, attractive_weight)
5815 
5816 
5817  def get_attractive_weight(self):
5818  """get_attractive_weight(LennardJonesPairScore self) -> double"""
5819  return _IMP_atom.LennardJonesPairScore_get_attractive_weight(self)
5820 
5821 
5822  def do_get_inputs(self, m, pis):
5823  """do_get_inputs(LennardJonesPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5824  return _IMP_atom.LennardJonesPairScore_do_get_inputs(self, m, pis)
5825 
5826 
5827  def get_version_info(self):
5828  """get_version_info(LennardJonesPairScore self) -> VersionInfo"""
5829  return _IMP_atom.LennardJonesPairScore_get_version_info(self)
5830 
5831 
5832  def __str__(self):
5833  """__str__(LennardJonesPairScore self) -> std::string"""
5834  return _IMP_atom.LennardJonesPairScore___str__(self)
5835 
5836 
5837  def __repr__(self):
5838  """__repr__(LennardJonesPairScore self) -> std::string"""
5839  return _IMP_atom.LennardJonesPairScore___repr__(self)
5840 
5841 
5842  @staticmethod
5843  def get_from(o):
5844  return _object_cast_to_LennardJonesPairScore(o)
5845 
5846 LennardJonesPairScore_swigregister = _IMP_atom.LennardJonesPairScore_swigregister
5847 LennardJonesPairScore_swigregister(LennardJonesPairScore)
5848 
5849 class LinearVelocity(IMP.Decorator):
5850  """Proxy of C++ IMP::atom::LinearVelocity class."""
5851 
5852  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5853 
5854  def get_velocity_key(i):
5855  """get_velocity_key(unsigned int i) -> FloatKey"""
5856  return _IMP_atom.LinearVelocity_get_velocity_key(i)
5857 
5858  get_velocity_key = staticmethod(get_velocity_key)
5859 
5860  def __init__(self, *args):
5861  """
5862  __init__(IMP::atom::LinearVelocity self) -> LinearVelocity
5863  __init__(IMP::atom::LinearVelocity self, Model m, ParticleIndex id) -> LinearVelocity
5864  __init__(IMP::atom::LinearVelocity self, _ParticleAdaptor d) -> LinearVelocity
5865  """
5866  this = _IMP_atom.new_LinearVelocity(*args)
5867  try:
5868  self.this.append(this)
5869  except Exception:
5870  self.this = this
5871 
5872  def get_is_setup(*args):
5873  """
5874  get_is_setup(Model m, ParticleIndex pi) -> bool
5875  get_is_setup(_ParticleAdaptor p) -> bool
5876  """
5877  return _IMP_atom.LinearVelocity_get_is_setup(*args)
5878 
5879  get_is_setup = staticmethod(get_is_setup)
5880 
5881  def show(self, *args):
5882  """
5883  show(LinearVelocity self, _ostream out)
5884  show(LinearVelocity self)
5885  """
5886  return _IMP_atom.LinearVelocity_show(self, *args)
5887 
5888 
5889  def setup_particle(*args):
5890  """
5891  setup_particle(Model m, ParticleIndex pi) -> LinearVelocity
5892  setup_particle(_ParticleAdaptor decorator) -> LinearVelocity
5893  setup_particle(Model m, ParticleIndex pi, Vector3D v) -> LinearVelocity
5894  setup_particle(_ParticleAdaptor decorator, Vector3D v) -> LinearVelocity
5895  """
5896  return _IMP_atom.LinearVelocity_setup_particle(*args)
5897 
5898  setup_particle = staticmethod(setup_particle)
5899 
5900  def set_velocity(self, v):
5901  """set_velocity(LinearVelocity self, Vector3D v)"""
5902  return _IMP_atom.LinearVelocity_set_velocity(self, v)
5903 
5904 
5905  def get_velocity(self):
5906  """get_velocity(LinearVelocity self) -> Vector3D"""
5907  return _IMP_atom.LinearVelocity_get_velocity(self)
5908 
5909 
5910  def add_attribute(self, *args):
5911  """
5912  add_attribute(LinearVelocity self, FloatKey k, IMP::Float v, bool opt)
5913  add_attribute(LinearVelocity self, FloatKey a0, IMP::Float a1)
5914  add_attribute(LinearVelocity self, IntKey a0, IMP::Int a1)
5915  add_attribute(LinearVelocity self, StringKey a0, IMP::String a1)
5916  add_attribute(LinearVelocity self, ParticleIndexKey a0, Particle a1)
5917  add_attribute(LinearVelocity self, ObjectKey a0, Object a1)
5918  """
5919  return _IMP_atom.LinearVelocity_add_attribute(self, *args)
5920 
5921 
5922  def get_value(self, *args):
5923  """
5924  get_value(LinearVelocity self, FloatKey a0) -> IMP::Float
5925  get_value(LinearVelocity self, IntKey a0) -> IMP::Int
5926  get_value(LinearVelocity self, StringKey a0) -> IMP::String
5927  get_value(LinearVelocity self, ParticleIndexKey a0) -> Particle
5928  get_value(LinearVelocity self, ObjectKey a0) -> Object
5929  """
5930  return _IMP_atom.LinearVelocity_get_value(self, *args)
5931 
5932 
5933  def set_value(self, *args):
5934  """
5935  set_value(LinearVelocity self, FloatKey a0, IMP::Float a1)
5936  set_value(LinearVelocity self, IntKey a0, IMP::Int a1)
5937  set_value(LinearVelocity self, StringKey a0, IMP::String a1)
5938  set_value(LinearVelocity self, ParticleIndexKey a0, Particle a1)
5939  set_value(LinearVelocity self, ObjectKey a0, Object a1)
5940  """
5941  return _IMP_atom.LinearVelocity_set_value(self, *args)
5942 
5943 
5944  def remove_attribute(self, *args):
5945  """
5946  remove_attribute(LinearVelocity self, FloatKey a0)
5947  remove_attribute(LinearVelocity self, IntKey a0)
5948  remove_attribute(LinearVelocity self, StringKey a0)
5949  remove_attribute(LinearVelocity self, ParticleIndexKey a0)
5950  remove_attribute(LinearVelocity self, ObjectKey a0)
5951  """
5952  return _IMP_atom.LinearVelocity_remove_attribute(self, *args)
5953 
5954 
5955  def has_attribute(self, *args):
5956  """
5957  has_attribute(LinearVelocity self, FloatKey a0) -> bool
5958  has_attribute(LinearVelocity self, IntKey a0) -> bool
5959  has_attribute(LinearVelocity self, StringKey a0) -> bool
5960  has_attribute(LinearVelocity self, ParticleIndexKey a0) -> bool
5961  has_attribute(LinearVelocity self, ObjectKey a0) -> bool
5962  """
5963  return _IMP_atom.LinearVelocity_has_attribute(self, *args)
5964 
5965 
5966  def get_derivative(self, a0):
5967  """get_derivative(LinearVelocity self, FloatKey a0) -> double"""
5968  return _IMP_atom.LinearVelocity_get_derivative(self, a0)
5969 
5970 
5971  def get_name(self):
5972  """get_name(LinearVelocity self) -> std::string"""
5973  return _IMP_atom.LinearVelocity_get_name(self)
5974 
5975 
5976  def clear_caches(self):
5977  """clear_caches(LinearVelocity self)"""
5978  return _IMP_atom.LinearVelocity_clear_caches(self)
5979 
5980 
5981  def set_name(self, a0):
5982  """set_name(LinearVelocity self, std::string a0)"""
5983  return _IMP_atom.LinearVelocity_set_name(self, a0)
5984 
5985 
5986  def set_check_level(self, a0):
5987  """set_check_level(LinearVelocity self, IMP::CheckLevel a0)"""
5988  return _IMP_atom.LinearVelocity_set_check_level(self, a0)
5989 
5990 
5991  def add_to_derivative(self, a0, a1, a2):
5992  """add_to_derivative(LinearVelocity self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
5993  return _IMP_atom.LinearVelocity_add_to_derivative(self, a0, a1, a2)
5994 
5995 
5996  def set_is_optimized(self, a0, a1):
5997  """set_is_optimized(LinearVelocity self, FloatKey a0, bool a1)"""
5998  return _IMP_atom.LinearVelocity_set_is_optimized(self, a0, a1)
5999 
6000 
6001  def get_is_optimized(self, a0):
6002  """get_is_optimized(LinearVelocity self, FloatKey a0) -> bool"""
6003  return _IMP_atom.LinearVelocity_get_is_optimized(self, a0)
6004 
6005 
6006  def get_check_level(self):
6007  """get_check_level(LinearVelocity self) -> IMP::CheckLevel"""
6008  return _IMP_atom.LinearVelocity_get_check_level(self)
6009 
6010 
6011  def __eq__(self, *args):
6012  """
6013  __eq__(LinearVelocity self, LinearVelocity o) -> bool
6014  __eq__(LinearVelocity self, Particle d) -> bool
6015  """
6016  return _IMP_atom.LinearVelocity___eq__(self, *args)
6017 
6018 
6019  def __ne__(self, *args):
6020  """
6021  __ne__(LinearVelocity self, LinearVelocity o) -> bool
6022  __ne__(LinearVelocity self, Particle d) -> bool
6023  """
6024  return _IMP_atom.LinearVelocity___ne__(self, *args)
6025 
6026 
6027  def __le__(self, *args):
6028  """
6029  __le__(LinearVelocity self, LinearVelocity o) -> bool
6030  __le__(LinearVelocity self, Particle d) -> bool
6031  """
6032  return _IMP_atom.LinearVelocity___le__(self, *args)
6033 
6034 
6035  def __lt__(self, *args):
6036  """
6037  __lt__(LinearVelocity self, LinearVelocity o) -> bool
6038  __lt__(LinearVelocity self, Particle d) -> bool
6039  """
6040  return _IMP_atom.LinearVelocity___lt__(self, *args)
6041 
6042 
6043  def __ge__(self, *args):
6044  """
6045  __ge__(LinearVelocity self, LinearVelocity o) -> bool
6046  __ge__(LinearVelocity self, Particle d) -> bool
6047  """
6048  return _IMP_atom.LinearVelocity___ge__(self, *args)
6049 
6050 
6051  def __gt__(self, *args):
6052  """
6053  __gt__(LinearVelocity self, LinearVelocity o) -> bool
6054  __gt__(LinearVelocity self, Particle d) -> bool
6055  """
6056  return _IMP_atom.LinearVelocity___gt__(self, *args)
6057 
6058 
6059  def __hash__(self):
6060  """__hash__(LinearVelocity self) -> std::size_t"""
6061  return _IMP_atom.LinearVelocity___hash__(self)
6062 
6063 
6064  def __str__(self):
6065  """__str__(LinearVelocity self) -> std::string"""
6066  return _IMP_atom.LinearVelocity___str__(self)
6067 
6068 
6069  def __repr__(self):
6070  """__repr__(LinearVelocity self) -> std::string"""
6071  return _IMP_atom.LinearVelocity___repr__(self)
6072 
6073  __swig_destroy__ = _IMP_atom.delete_LinearVelocity
6074  __del__ = lambda self: None
6075 LinearVelocity_swigregister = _IMP_atom.LinearVelocity_swigregister
6076 LinearVelocity_swigregister(LinearVelocity)
6077 
6078 def LinearVelocity_get_velocity_key(i):
6079  """LinearVelocity_get_velocity_key(unsigned int i) -> FloatKey"""
6080  return _IMP_atom.LinearVelocity_get_velocity_key(i)
6081 
6082 def LinearVelocity_get_is_setup(*args):
6083  """
6084  get_is_setup(Model m, ParticleIndex pi) -> bool
6085  LinearVelocity_get_is_setup(_ParticleAdaptor p) -> bool
6086  """
6087  return _IMP_atom.LinearVelocity_get_is_setup(*args)
6088 
6089 def LinearVelocity_setup_particle(*args):
6090  """
6091  setup_particle(Model m, ParticleIndex pi) -> LinearVelocity
6092  setup_particle(_ParticleAdaptor decorator) -> LinearVelocity
6093  setup_particle(Model m, ParticleIndex pi, Vector3D v) -> LinearVelocity
6094  LinearVelocity_setup_particle(_ParticleAdaptor decorator, Vector3D v) -> LinearVelocity
6095  """
6096  return _IMP_atom.LinearVelocity_setup_particle(*args)
6097 
6098 class AngularVelocity(IMP.Decorator):
6099  """Proxy of C++ IMP::atom::AngularVelocity class."""
6100 
6101  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6102 
6103  def get_velocity_key(i):
6104  """get_velocity_key(unsigned int i) -> FloatKey"""
6105  return _IMP_atom.AngularVelocity_get_velocity_key(i)
6106 
6107  get_velocity_key = staticmethod(get_velocity_key)
6108 
6109  def __init__(self, *args):
6110  """
6111  __init__(IMP::atom::AngularVelocity self) -> AngularVelocity
6112  __init__(IMP::atom::AngularVelocity self, Model m, ParticleIndex id) -> AngularVelocity
6113  __init__(IMP::atom::AngularVelocity self, _ParticleAdaptor d) -> AngularVelocity
6114  """
6115  this = _IMP_atom.new_AngularVelocity(*args)
6116  try:
6117  self.this.append(this)
6118  except Exception:
6119  self.this = this
6120 
6121  def get_is_setup(*args):
6122  """
6123  get_is_setup(Model m, ParticleIndex pi) -> bool
6124  get_is_setup(_ParticleAdaptor p) -> bool
6125  """
6126  return _IMP_atom.AngularVelocity_get_is_setup(*args)
6127 
6128  get_is_setup = staticmethod(get_is_setup)
6129 
6130  def show(self, *args):
6131  """
6132  show(AngularVelocity self, _ostream out)
6133  show(AngularVelocity self)
6134  """
6135  return _IMP_atom.AngularVelocity_show(self, *args)
6136 
6137 
6138  def setup_particle(*args):
6139  """
6140  setup_particle(Model m, ParticleIndex pi) -> AngularVelocity
6141  setup_particle(_ParticleAdaptor decorator) -> AngularVelocity
6142  setup_particle(Model m, ParticleIndex pi, Vector4D v) -> AngularVelocity
6143  setup_particle(_ParticleAdaptor decorator, Vector4D v) -> AngularVelocity
6144  """
6145  return _IMP_atom.AngularVelocity_setup_particle(*args)
6146 
6147  setup_particle = staticmethod(setup_particle)
6148 
6149  def set_velocity(self, v):
6150  """set_velocity(AngularVelocity self, Vector4D v)"""
6151  return _IMP_atom.AngularVelocity_set_velocity(self, v)
6152 
6153 
6154  def get_velocity(self):
6155  """get_velocity(AngularVelocity self) -> Vector4D"""
6156  return _IMP_atom.AngularVelocity_get_velocity(self)
6157 
6158 
6159  def add_attribute(self, *args):
6160  """
6161  add_attribute(AngularVelocity self, FloatKey k, IMP::Float v, bool opt)
6162  add_attribute(AngularVelocity self, FloatKey a0, IMP::Float a1)
6163  add_attribute(AngularVelocity self, IntKey a0, IMP::Int a1)
6164  add_attribute(AngularVelocity self, StringKey a0, IMP::String a1)
6165  add_attribute(AngularVelocity self, ParticleIndexKey a0, Particle a1)
6166  add_attribute(AngularVelocity self, ObjectKey a0, Object a1)
6167  """
6168  return _IMP_atom.AngularVelocity_add_attribute(self, *args)
6169 
6170 
6171  def get_value(self, *args):
6172  """
6173  get_value(AngularVelocity self, FloatKey a0) -> IMP::Float
6174  get_value(AngularVelocity self, IntKey a0) -> IMP::Int
6175  get_value(AngularVelocity self, StringKey a0) -> IMP::String
6176  get_value(AngularVelocity self, ParticleIndexKey a0) -> Particle
6177  get_value(AngularVelocity self, ObjectKey a0) -> Object
6178  """
6179  return _IMP_atom.AngularVelocity_get_value(self, *args)
6180 
6181 
6182  def set_value(self, *args):
6183  """
6184  set_value(AngularVelocity self, FloatKey a0, IMP::Float a1)
6185  set_value(AngularVelocity self, IntKey a0, IMP::Int a1)
6186  set_value(AngularVelocity self, StringKey a0, IMP::String a1)
6187  set_value(AngularVelocity self, ParticleIndexKey a0, Particle a1)
6188  set_value(AngularVelocity self, ObjectKey a0, Object a1)
6189  """
6190  return _IMP_atom.AngularVelocity_set_value(self, *args)
6191 
6192 
6193  def remove_attribute(self, *args):
6194  """
6195  remove_attribute(AngularVelocity self, FloatKey a0)
6196  remove_attribute(AngularVelocity self, IntKey a0)
6197  remove_attribute(AngularVelocity self, StringKey a0)
6198  remove_attribute(AngularVelocity self, ParticleIndexKey a0)
6199  remove_attribute(AngularVelocity self, ObjectKey a0)
6200  """
6201  return _IMP_atom.AngularVelocity_remove_attribute(self, *args)
6202 
6203 
6204  def has_attribute(self, *args):
6205  """
6206  has_attribute(AngularVelocity self, FloatKey a0) -> bool
6207  has_attribute(AngularVelocity self, IntKey a0) -> bool
6208  has_attribute(AngularVelocity self, StringKey a0) -> bool
6209  has_attribute(AngularVelocity self, ParticleIndexKey a0) -> bool
6210  has_attribute(AngularVelocity self, ObjectKey a0) -> bool
6211  """
6212  return _IMP_atom.AngularVelocity_has_attribute(self, *args)
6213 
6214 
6215  def get_derivative(self, a0):
6216  """get_derivative(AngularVelocity self, FloatKey a0) -> double"""
6217  return _IMP_atom.AngularVelocity_get_derivative(self, a0)
6218 
6219 
6220  def get_name(self):
6221  """get_name(AngularVelocity self) -> std::string"""
6222  return _IMP_atom.AngularVelocity_get_name(self)
6223 
6224 
6225  def clear_caches(self):
6226  """clear_caches(AngularVelocity self)"""
6227  return _IMP_atom.AngularVelocity_clear_caches(self)
6228 
6229 
6230  def set_name(self, a0):
6231  """set_name(AngularVelocity self, std::string a0)"""
6232  return _IMP_atom.AngularVelocity_set_name(self, a0)
6233 
6234 
6235  def set_check_level(self, a0):
6236  """set_check_level(AngularVelocity self, IMP::CheckLevel a0)"""
6237  return _IMP_atom.AngularVelocity_set_check_level(self, a0)
6238 
6239 
6240  def add_to_derivative(self, a0, a1, a2):
6241  """add_to_derivative(AngularVelocity self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
6242  return _IMP_atom.AngularVelocity_add_to_derivative(self, a0, a1, a2)
6243 
6244 
6245  def set_is_optimized(self, a0, a1):
6246  """set_is_optimized(AngularVelocity self, FloatKey a0, bool a1)"""
6247  return _IMP_atom.AngularVelocity_set_is_optimized(self, a0, a1)
6248 
6249 
6250  def get_is_optimized(self, a0):
6251  """get_is_optimized(AngularVelocity self, FloatKey a0) -> bool"""
6252  return _IMP_atom.AngularVelocity_get_is_optimized(self, a0)
6253 
6254 
6255  def get_check_level(self):
6256  """get_check_level(AngularVelocity self) -> IMP::CheckLevel"""
6257  return _IMP_atom.AngularVelocity_get_check_level(self)
6258 
6259 
6260  def __eq__(self, *args):
6261  """
6262  __eq__(AngularVelocity self, AngularVelocity o) -> bool
6263  __eq__(AngularVelocity self, Particle d) -> bool
6264  """
6265  return _IMP_atom.AngularVelocity___eq__(self, *args)
6266 
6267 
6268  def __ne__(self, *args):
6269  """
6270  __ne__(AngularVelocity self, AngularVelocity o) -> bool
6271  __ne__(AngularVelocity self, Particle d) -> bool
6272  """
6273  return _IMP_atom.AngularVelocity___ne__(self, *args)
6274 
6275 
6276  def __le__(self, *args):
6277  """
6278  __le__(AngularVelocity self, AngularVelocity o) -> bool
6279  __le__(AngularVelocity self, Particle d) -> bool
6280  """
6281  return _IMP_atom.AngularVelocity___le__(self, *args)
6282 
6283 
6284  def __lt__(self, *args):
6285  """
6286  __lt__(AngularVelocity self, AngularVelocity o) -> bool
6287  __lt__(AngularVelocity self, Particle d) -> bool
6288  """
6289  return _IMP_atom.AngularVelocity___lt__(self, *args)
6290 
6291 
6292  def __ge__(self, *args):
6293  """
6294  __ge__(AngularVelocity self, AngularVelocity o) -> bool
6295  __ge__(AngularVelocity self, Particle d) -> bool
6296  """
6297  return _IMP_atom.AngularVelocity___ge__(self, *args)
6298 
6299 
6300  def __gt__(self, *args):
6301  """
6302  __gt__(AngularVelocity self, AngularVelocity o) -> bool
6303  __gt__(AngularVelocity self, Particle d) -> bool
6304  """
6305  return _IMP_atom.AngularVelocity___gt__(self, *args)
6306 
6307 
6308  def __hash__(self):
6309  """__hash__(AngularVelocity self) -> std::size_t"""
6310  return _IMP_atom.AngularVelocity___hash__(self)
6311 
6312 
6313  def __str__(self):
6314  """__str__(AngularVelocity self) -> std::string"""
6315  return _IMP_atom.AngularVelocity___str__(self)
6316 
6317 
6318  def __repr__(self):
6319  """__repr__(AngularVelocity self) -> std::string"""
6320  return _IMP_atom.AngularVelocity___repr__(self)
6321 
6322  __swig_destroy__ = _IMP_atom.delete_AngularVelocity
6323  __del__ = lambda self: None
6324 AngularVelocity_swigregister = _IMP_atom.AngularVelocity_swigregister
6325 AngularVelocity_swigregister(AngularVelocity)
6326 
6327 def AngularVelocity_get_velocity_key(i):
6328  """AngularVelocity_get_velocity_key(unsigned int i) -> FloatKey"""
6329  return _IMP_atom.AngularVelocity_get_velocity_key(i)
6330 
6331 def AngularVelocity_get_is_setup(*args):
6332  """
6333  get_is_setup(Model m, ParticleIndex pi) -> bool
6334  AngularVelocity_get_is_setup(_ParticleAdaptor p) -> bool
6335  """
6336  return _IMP_atom.AngularVelocity_get_is_setup(*args)
6337 
6338 def AngularVelocity_setup_particle(*args):
6339  """
6340  setup_particle(Model m, ParticleIndex pi) -> AngularVelocity
6341  setup_particle(_ParticleAdaptor decorator) -> AngularVelocity
6342  setup_particle(Model m, ParticleIndex pi, Vector4D v) -> AngularVelocity
6343  AngularVelocity_setup_particle(_ParticleAdaptor decorator, Vector4D v) -> AngularVelocity
6344  """
6345  return _IMP_atom.AngularVelocity_setup_particle(*args)
6346 
6347 class MolecularDynamics(Simulator):
6348  """Proxy of C++ IMP::atom::MolecularDynamics class."""
6349 
6350  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6351 
6352  def __init__(self, m):
6353  """__init__(IMP::atom::MolecularDynamics self, Model m) -> MolecularDynamics"""
6354  this = _IMP_atom.new_MolecularDynamics(m)
6355  try:
6356  self.this.append(this)
6357  except Exception:
6358  self.this = this
6359 
6360  def get_kinetic_energy(self):
6361  """get_kinetic_energy(MolecularDynamics self) -> IMP::Float"""
6362  return _IMP_atom.MolecularDynamics_get_kinetic_energy(self)
6363 
6364 
6365  def get_kinetic_temperature(self, ekinetic):
6366  """get_kinetic_temperature(MolecularDynamics self, IMP::Float ekinetic) -> IMP::Float"""
6367  return _IMP_atom.MolecularDynamics_get_kinetic_temperature(self, ekinetic)
6368 
6369 
6370  def set_velocity_cap(self, velocity_cap):
6371  """set_velocity_cap(MolecularDynamics self, IMP::Float velocity_cap)"""
6372  return _IMP_atom.MolecularDynamics_set_velocity_cap(self, velocity_cap)
6373 
6374 
6375  def assign_velocities(self, temperature):
6376  """assign_velocities(MolecularDynamics self, IMP::Float temperature)"""
6377  return _IMP_atom.MolecularDynamics_assign_velocities(self, temperature)
6378 
6379 
6380  def setup(self, ps):
6381  """setup(MolecularDynamics self, IMP::ParticleIndexes const & ps)"""
6382  return _IMP_atom.MolecularDynamics_setup(self, ps)
6383 
6384 
6385  def do_step(self, sc, dt):
6386  """do_step(MolecularDynamics self, IMP::ParticleIndexes const & sc, double dt) -> double"""
6387  return _IMP_atom.MolecularDynamics_do_step(self, sc, dt)
6388 
6389 
6390  def get_is_simulation_particle(self, p):
6391  """get_is_simulation_particle(MolecularDynamics self, ParticleIndex p) -> bool"""
6392  return _IMP_atom.MolecularDynamics_get_is_simulation_particle(self, p)
6393 
6394 
6395  def get_version_info(self):
6396  """get_version_info(MolecularDynamics self) -> VersionInfo"""
6397  return _IMP_atom.MolecularDynamics_get_version_info(self)
6398 
6399 
6400  def __str__(self):
6401  """__str__(MolecularDynamics self) -> std::string"""
6402  return _IMP_atom.MolecularDynamics___str__(self)
6403 
6404 
6405  def __repr__(self):
6406  """__repr__(MolecularDynamics self) -> std::string"""
6407  return _IMP_atom.MolecularDynamics___repr__(self)
6408 
6409 
6410  @staticmethod
6411  def get_from(o):
6412  return _object_cast_to_MolecularDynamics(o)
6413 
6414 MolecularDynamics_swigregister = _IMP_atom.MolecularDynamics_swigregister
6415 MolecularDynamics_swigregister(MolecularDynamics)
6416 
6417 class VelocityScalingOptimizerState(IMP.OptimizerState):
6418  """Proxy of C++ IMP::atom::VelocityScalingOptimizerState class."""
6419 
6420  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6421 
6422  def __init__(self, m, pis, temperature):
6423  """__init__(IMP::atom::VelocityScalingOptimizerState self, Model m, _ParticleIndexesAdaptor pis, double temperature) -> VelocityScalingOptimizerState"""
6424  this = _IMP_atom.new_VelocityScalingOptimizerState(m, pis, temperature)
6425  try:
6426  self.this.append(this)
6427  except Exception:
6428  self.this = this
6429 
6430  def set_particles(self, pis):
6431  """set_particles(VelocityScalingOptimizerState self, IMP::Particles const & pis)"""
6432  return _IMP_atom.VelocityScalingOptimizerState_set_particles(self, pis)
6433 
6434 
6435  def set_temperature(self, temperature):
6436  """set_temperature(VelocityScalingOptimizerState self, IMP::Float temperature)"""
6437  return _IMP_atom.VelocityScalingOptimizerState_set_temperature(self, temperature)
6438 
6439 
6440  def rescale_velocities(self):
6441  """rescale_velocities(VelocityScalingOptimizerState self)"""
6442  return _IMP_atom.VelocityScalingOptimizerState_rescale_velocities(self)
6443 
6444 
6445  def get_version_info(self):
6446  """get_version_info(VelocityScalingOptimizerState self) -> VersionInfo"""
6447  return _IMP_atom.VelocityScalingOptimizerState_get_version_info(self)
6448 
6449 
6450  def __str__(self):
6451  """__str__(VelocityScalingOptimizerState self) -> std::string"""
6452  return _IMP_atom.VelocityScalingOptimizerState___str__(self)
6453 
6454 
6455  def __repr__(self):
6456  """__repr__(VelocityScalingOptimizerState self) -> std::string"""
6457  return _IMP_atom.VelocityScalingOptimizerState___repr__(self)
6458 
6459 
6460  @staticmethod
6461  def get_from(o):
6462  return _object_cast_to_VelocityScalingOptimizerState(o)
6463 
6464 VelocityScalingOptimizerState_swigregister = _IMP_atom.VelocityScalingOptimizerState_swigregister
6465 VelocityScalingOptimizerState_swigregister(VelocityScalingOptimizerState)
6466 
6467 class Fragment(Hierarchy):
6468  """Proxy of C++ IMP::atom::Fragment class."""
6469 
6470  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6471 
6472  def set_residue_indexes(self, o):
6473  """set_residue_indexes(Fragment self, IMP::Ints o)"""
6474  return _IMP_atom.Fragment_set_residue_indexes(self, o)
6475 
6476 
6477  def get_residue_indexes(self):
6478  """get_residue_indexes(Fragment self) -> IMP::Ints"""
6479  return _IMP_atom.Fragment_get_residue_indexes(self)
6480 
6481 
6482  def get_contains_residue(self, rindex):
6483  """get_contains_residue(Fragment self, int rindex) -> bool"""
6484  return _IMP_atom.Fragment_get_contains_residue(self, rindex)
6485 
6486 
6487  def __init__(self, *args):
6488  """
6489  __init__(IMP::atom::Fragment self) -> Fragment
6490  __init__(IMP::atom::Fragment self, Model m, ParticleIndex id) -> Fragment
6491  __init__(IMP::atom::Fragment self, _ParticleAdaptor d) -> Fragment
6492  """
6493  this = _IMP_atom.new_Fragment(*args)
6494  try:
6495  self.this.append(this)
6496  except Exception:
6497  self.this = this
6498 
6499  def get_is_setup(*args):
6500  """
6501  get_is_setup(Model m, ParticleIndex pi) -> bool
6502  get_is_setup(_ParticleAdaptor p) -> bool
6503  """
6504  return _IMP_atom.Fragment_get_is_setup(*args)
6505 
6506  get_is_setup = staticmethod(get_is_setup)
6507 
6508  def show(self, *args):
6509  """
6510  show(Fragment self, _ostream out)
6511  show(Fragment self)
6512  """
6513  return _IMP_atom.Fragment_show(self, *args)
6514 
6515 
6516  def setup_particle(*args):
6517  """
6518  setup_particle(Model m, ParticleIndex pi) -> Fragment
6519  setup_particle(_ParticleAdaptor decorator) -> Fragment
6520  setup_particle(Model m, ParticleIndex pi, Fragment other) -> Fragment
6521  setup_particle(_ParticleAdaptor decorator, Fragment other) -> Fragment
6522  setup_particle(Model m, ParticleIndex pi, IMP::Ints residue_indexes) -> Fragment
6523  setup_particle(_ParticleAdaptor decorator, IMP::Ints residue_indexes) -> Fragment
6524  """
6525  return _IMP_atom.Fragment_setup_particle(*args)
6526 
6527  setup_particle = staticmethod(setup_particle)
6528 
6529  def add_attribute(self, *args):
6530  """
6531  add_attribute(Fragment self, FloatKey k, IMP::Float v, bool opt)
6532  add_attribute(Fragment self, FloatKey a0, IMP::Float a1)
6533  add_attribute(Fragment self, IntKey a0, IMP::Int a1)
6534  add_attribute(Fragment self, StringKey a0, IMP::String a1)
6535  add_attribute(Fragment self, ParticleIndexKey a0, Particle a1)
6536  add_attribute(Fragment self, ObjectKey a0, Object a1)
6537  """
6538  return _IMP_atom.Fragment_add_attribute(self, *args)
6539 
6540 
6541  def get_value(self, *args):
6542  """
6543  get_value(Fragment self, FloatKey a0) -> IMP::Float
6544  get_value(Fragment self, IntKey a0) -> IMP::Int
6545  get_value(Fragment self, StringKey a0) -> IMP::String
6546  get_value(Fragment self, ParticleIndexKey a0) -> Particle
6547  get_value(Fragment self, ObjectKey a0) -> Object
6548  """
6549  return _IMP_atom.Fragment_get_value(self, *args)
6550 
6551 
6552  def set_value(self, *args):
6553  """
6554  set_value(Fragment self, FloatKey a0, IMP::Float a1)
6555  set_value(Fragment self, IntKey a0, IMP::Int a1)
6556  set_value(Fragment self, StringKey a0, IMP::String a1)
6557  set_value(Fragment self, ParticleIndexKey a0, Particle a1)
6558  set_value(Fragment self, ObjectKey a0, Object a1)
6559  """
6560  return _IMP_atom.Fragment_set_value(self, *args)
6561 
6562 
6563  def remove_attribute(self, *args):
6564  """
6565  remove_attribute(Fragment self, FloatKey a0)
6566  remove_attribute(Fragment self, IntKey a0)
6567  remove_attribute(Fragment self, StringKey a0)
6568  remove_attribute(Fragment self, ParticleIndexKey a0)
6569  remove_attribute(Fragment self, ObjectKey a0)
6570  """
6571  return _IMP_atom.Fragment_remove_attribute(self, *args)
6572 
6573 
6574  def has_attribute(self, *args):
6575  """
6576  has_attribute(Fragment self, FloatKey a0) -> bool
6577  has_attribute(Fragment self, IntKey a0) -> bool
6578  has_attribute(Fragment self, StringKey a0) -> bool
6579  has_attribute(Fragment self, ParticleIndexKey a0) -> bool
6580  has_attribute(Fragment self, ObjectKey a0) -> bool
6581  """
6582  return _IMP_atom.Fragment_has_attribute(self, *args)
6583 
6584 
6585  def get_derivative(self, a0):
6586  """get_derivative(Fragment self, FloatKey a0) -> double"""
6587  return _IMP_atom.Fragment_get_derivative(self, a0)
6588 
6589 
6590  def get_name(self):
6591  """get_name(Fragment self) -> std::string"""
6592  return _IMP_atom.Fragment_get_name(self)
6593 
6594 
6595  def clear_caches(self):
6596  """clear_caches(Fragment self)"""
6597  return _IMP_atom.Fragment_clear_caches(self)
6598 
6599 
6600  def set_name(self, a0):
6601  """set_name(Fragment self, std::string a0)"""
6602  return _IMP_atom.Fragment_set_name(self, a0)
6603 
6604 
6605  def set_check_level(self, a0):
6606  """set_check_level(Fragment self, IMP::CheckLevel a0)"""
6607  return _IMP_atom.Fragment_set_check_level(self, a0)
6608 
6609 
6610  def add_to_derivative(self, a0, a1, a2):
6611  """add_to_derivative(Fragment self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
6612  return _IMP_atom.Fragment_add_to_derivative(self, a0, a1, a2)
6613 
6614 
6615  def set_is_optimized(self, a0, a1):
6616  """set_is_optimized(Fragment self, FloatKey a0, bool a1)"""
6617  return _IMP_atom.Fragment_set_is_optimized(self, a0, a1)
6618 
6619 
6620  def get_is_optimized(self, a0):
6621  """get_is_optimized(Fragment self, FloatKey a0) -> bool"""
6622  return _IMP_atom.Fragment_get_is_optimized(self, a0)
6623 
6624 
6625  def get_check_level(self):
6626  """get_check_level(Fragment self) -> IMP::CheckLevel"""
6627  return _IMP_atom.Fragment_get_check_level(self)
6628 
6629 
6630  def __eq__(self, *args):
6631  """
6632  __eq__(Fragment self, Fragment o) -> bool
6633  __eq__(Fragment self, Particle d) -> bool
6634  """
6635  return _IMP_atom.Fragment___eq__(self, *args)
6636 
6637 
6638  def __ne__(self, *args):
6639  """
6640  __ne__(Fragment self, Fragment o) -> bool
6641  __ne__(Fragment self, Particle d) -> bool
6642  """
6643  return _IMP_atom.Fragment___ne__(self, *args)
6644 
6645 
6646  def __le__(self, *args):
6647  """
6648  __le__(Fragment self, Fragment o) -> bool
6649  __le__(Fragment self, Particle d) -> bool
6650  """
6651  return _IMP_atom.Fragment___le__(self, *args)
6652 
6653 
6654  def __lt__(self, *args):
6655  """
6656  __lt__(Fragment self, Fragment o) -> bool
6657  __lt__(Fragment self, Particle d) -> bool
6658  """
6659  return _IMP_atom.Fragment___lt__(self, *args)
6660 
6661 
6662  def __ge__(self, *args):
6663  """
6664  __ge__(Fragment self, Fragment o) -> bool
6665  __ge__(Fragment self, Particle d) -> bool
6666  """
6667  return _IMP_atom.Fragment___ge__(self, *args)
6668 
6669 
6670  def __gt__(self, *args):
6671  """
6672  __gt__(Fragment self, Fragment o) -> bool
6673  __gt__(Fragment self, Particle d) -> bool
6674  """
6675  return _IMP_atom.Fragment___gt__(self, *args)
6676 
6677 
6678  def __hash__(self):
6679  """__hash__(Fragment self) -> std::size_t"""
6680  return _IMP_atom.Fragment___hash__(self)
6681 
6682 
6683  def __str__(self):
6684  """__str__(Fragment self) -> std::string"""
6685  return _IMP_atom.Fragment___str__(self)
6686 
6687 
6688  def __repr__(self):
6689  """__repr__(Fragment self) -> std::string"""
6690  return _IMP_atom.Fragment___repr__(self)
6691 
6692  __swig_destroy__ = _IMP_atom.delete_Fragment
6693  __del__ = lambda self: None
6694 Fragment_swigregister = _IMP_atom.Fragment_swigregister
6695 Fragment_swigregister(Fragment)
6696 
6697 def Fragment_get_is_setup(*args):
6698  """
6699  get_is_setup(Model m, ParticleIndex pi) -> bool
6700  Fragment_get_is_setup(_ParticleAdaptor p) -> bool
6701  """
6702  return _IMP_atom.Fragment_get_is_setup(*args)
6703 
6704 def Fragment_setup_particle(*args):
6705  """
6706  setup_particle(Model m, ParticleIndex pi) -> Fragment
6707  setup_particle(_ParticleAdaptor decorator) -> Fragment
6708  setup_particle(Model m, ParticleIndex pi, Fragment other) -> Fragment
6709  setup_particle(_ParticleAdaptor decorator, Fragment other) -> Fragment
6710  setup_particle(Model m, ParticleIndex pi, IMP::Ints residue_indexes) -> Fragment
6711  Fragment_setup_particle(_ParticleAdaptor decorator, IMP::Ints residue_indexes) -> Fragment
6712  """
6713  return _IMP_atom.Fragment_setup_particle(*args)
6714 
6715 class StereochemistryPairFilter(IMP.PairPredicate):
6716  """Proxy of C++ IMP::atom::StereochemistryPairFilter class."""
6717 
6718  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6719 
6720  def __init__(self):
6721  """__init__(IMP::atom::StereochemistryPairFilter self) -> StereochemistryPairFilter"""
6722  this = _IMP_atom.new_StereochemistryPairFilter()
6723  try:
6724  self.this.append(this)
6725  except Exception:
6726  self.this = this
6727 
6728  def set_bonds(self, bonds):
6729  """set_bonds(StereochemistryPairFilter self, IMP::Particles const & bonds)"""
6730  return _IMP_atom.StereochemistryPairFilter_set_bonds(self, bonds)
6731 
6732 
6733  def set_angles(self, angles):
6734  """set_angles(StereochemistryPairFilter self, IMP::Particles const & angles)"""
6735  return _IMP_atom.StereochemistryPairFilter_set_angles(self, angles)
6736 
6737 
6738  def set_dihedrals(self, dihedrals):
6739  """set_dihedrals(StereochemistryPairFilter self, IMP::Particles const & dihedrals)"""
6740  return _IMP_atom.StereochemistryPairFilter_set_dihedrals(self, dihedrals)
6741 
6742 
6743  def do_get_inputs(self, m, pis):
6744  """do_get_inputs(StereochemistryPairFilter self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
6745  return _IMP_atom.StereochemistryPairFilter_do_get_inputs(self, m, pis)
6746 
6747 
6748  def get_value(self, *args):
6749  """
6750  get_value(StereochemistryPairFilter self, IMP::ParticlePair const & a) -> int
6751  get_value(StereochemistryPairFilter self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
6752  """
6753  return _IMP_atom.StereochemistryPairFilter_get_value(self, *args)
6754 
6755 
6756  def get_value_index(self, *args):
6757  """
6758  get_value_index(StereochemistryPairFilter self, Model m, IMP::ParticleIndexPair const & p) -> int
6759  get_value_index(StereochemistryPairFilter self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
6760  """
6761  return _IMP_atom.StereochemistryPairFilter_get_value_index(self, *args)
6762 
6763 
6764  def get_version_info(self):
6765  """get_version_info(StereochemistryPairFilter self) -> VersionInfo"""
6766  return _IMP_atom.StereochemistryPairFilter_get_version_info(self)
6767 
6768 
6769  def __str__(self):
6770  """__str__(StereochemistryPairFilter self) -> std::string"""
6771  return _IMP_atom.StereochemistryPairFilter___str__(self)
6772 
6773 
6774  def __repr__(self):
6775  """__repr__(StereochemistryPairFilter self) -> std::string"""
6776  return _IMP_atom.StereochemistryPairFilter___repr__(self)
6777 
6778 
6779  @staticmethod
6780  def get_from(o):
6781  return _object_cast_to_StereochemistryPairFilter(o)
6782 
6783 StereochemistryPairFilter_swigregister = _IMP_atom.StereochemistryPairFilter_swigregister
6784 StereochemistryPairFilter_swigregister(StereochemistryPairFilter)
6785 
6786 class SoapPairFilter(IMP.PairPredicate):
6787  """Proxy of C++ IMP::atom::SoapPairFilter class."""
6788 
6789  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6790 
6791  def __init__(self, library):
6792  """__init__(IMP::atom::SoapPairFilter self, std::string library) -> SoapPairFilter"""
6793  this = _IMP_atom.new_SoapPairFilter(library)
6794  try:
6795  self.this.append(this)
6796  except Exception:
6797  self.this = this
6798 
6799  def do_get_inputs(self, m, pis):
6800  """do_get_inputs(SoapPairFilter self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
6801  return _IMP_atom.SoapPairFilter_do_get_inputs(self, m, pis)
6802 
6803 
6804  def get_value(self, *args):
6805  """
6806  get_value(SoapPairFilter self, IMP::ParticlePair const & a) -> int
6807  get_value(SoapPairFilter self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
6808  """
6809  return _IMP_atom.SoapPairFilter_get_value(self, *args)
6810 
6811 
6812  def get_value_index(self, *args):
6813  """
6814  get_value_index(SoapPairFilter self, Model m, IMP::ParticleIndexPair const & p) -> int
6815  get_value_index(SoapPairFilter self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
6816  """
6817  return _IMP_atom.SoapPairFilter_get_value_index(self, *args)
6818 
6819 
6820  def get_version_info(self):
6821  """get_version_info(SoapPairFilter self) -> VersionInfo"""
6822  return _IMP_atom.SoapPairFilter_get_version_info(self)
6823 
6824 
6825  def __str__(self):
6826  """__str__(SoapPairFilter self) -> std::string"""
6827  return _IMP_atom.SoapPairFilter___str__(self)
6828 
6829 
6830  def __repr__(self):
6831  """__repr__(SoapPairFilter self) -> std::string"""
6832  return _IMP_atom.SoapPairFilter___repr__(self)
6833 
6834 
6835  @staticmethod
6836  def get_from(o):
6837  return _object_cast_to_SoapPairFilter(o)
6838 
6839 SoapPairFilter_swigregister = _IMP_atom.SoapPairFilter_swigregister
6840 SoapPairFilter_swigregister(SoapPairFilter)
6841 
6842 class Mass(IMP.Decorator):
6843  """Proxy of C++ IMP::atom::Mass class."""
6844 
6845  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6846 
6847  def get_mass(self):
6848  """get_mass(Mass self) -> IMP::Float"""
6849  return _IMP_atom.Mass_get_mass(self)
6850 
6851 
6852  def set_mass(self, d):
6853  """set_mass(Mass self, IMP::Float d)"""
6854  return _IMP_atom.Mass_set_mass(self, d)
6855 
6856 
6857  def __init__(self, *args):
6858  """
6859  __init__(IMP::atom::Mass self) -> Mass
6860  __init__(IMP::atom::Mass self, Model m, ParticleIndex id) -> Mass
6861  __init__(IMP::atom::Mass self, _ParticleAdaptor d) -> Mass
6862  """
6863  this = _IMP_atom.new_Mass(*args)
6864  try:
6865  self.this.append(this)
6866  except Exception:
6867  self.this = this
6868 
6869  def get_is_setup(*args):
6870  """
6871  get_is_setup(Model m, ParticleIndex pi) -> bool
6872  get_is_setup(_ParticleAdaptor p) -> bool
6873  """
6874  return _IMP_atom.Mass_get_is_setup(*args)
6875 
6876  get_is_setup = staticmethod(get_is_setup)
6877 
6878  def show(self, *args):
6879  """
6880  show(Mass self, _ostream out)
6881  show(Mass self)
6882  """
6883  return _IMP_atom.Mass_show(self, *args)
6884 
6885 
6886  def setup_particle(*args):
6887  """
6888  setup_particle(Model m, ParticleIndex pi, IMP::Float mass) -> Mass
6889  setup_particle(_ParticleAdaptor decorator, IMP::Float mass) -> Mass
6890  """
6891  return _IMP_atom.Mass_setup_particle(*args)
6892 
6893  setup_particle = staticmethod(setup_particle)
6894 
6895  def get_mass_key():
6896  """get_mass_key() -> FloatKey"""
6897  return _IMP_atom.Mass_get_mass_key()
6898 
6899  get_mass_key = staticmethod(get_mass_key)
6900 
6901  def add_attribute(self, *args):
6902  """
6903  add_attribute(Mass self, FloatKey k, IMP::Float v, bool opt)
6904  add_attribute(Mass self, FloatKey a0, IMP::Float a1)
6905  add_attribute(Mass self, IntKey a0, IMP::Int a1)
6906  add_attribute(Mass self, StringKey a0, IMP::String a1)
6907  add_attribute(Mass self, ParticleIndexKey a0, Particle a1)
6908  add_attribute(Mass self, ObjectKey a0, Object a1)
6909  """
6910  return _IMP_atom.Mass_add_attribute(self, *args)
6911 
6912 
6913  def get_value(self, *args):
6914  """
6915  get_value(Mass self, FloatKey a0) -> IMP::Float
6916  get_value(Mass self, IntKey a0) -> IMP::Int
6917  get_value(Mass self, StringKey a0) -> IMP::String
6918  get_value(Mass self, ParticleIndexKey a0) -> Particle
6919  get_value(Mass self, ObjectKey a0) -> Object
6920  """
6921  return _IMP_atom.Mass_get_value(self, *args)
6922 
6923 
6924  def set_value(self, *args):
6925  """
6926  set_value(Mass self, FloatKey a0, IMP::Float a1)
6927  set_value(Mass self, IntKey a0, IMP::Int a1)
6928  set_value(Mass self, StringKey a0, IMP::String a1)
6929  set_value(Mass self, ParticleIndexKey a0, Particle a1)
6930  set_value(Mass self, ObjectKey a0, Object a1)
6931  """
6932  return _IMP_atom.Mass_set_value(self, *args)
6933 
6934 
6935  def remove_attribute(self, *args):
6936  """
6937  remove_attribute(Mass self, FloatKey a0)
6938  remove_attribute(Mass self, IntKey a0)
6939  remove_attribute(Mass self, StringKey a0)
6940  remove_attribute(Mass self, ParticleIndexKey a0)
6941  remove_attribute(Mass self, ObjectKey a0)
6942  """
6943  return _IMP_atom.Mass_remove_attribute(self, *args)
6944 
6945 
6946  def has_attribute(self, *args):
6947  """
6948  has_attribute(Mass self, FloatKey a0) -> bool
6949  has_attribute(Mass self, IntKey a0) -> bool
6950  has_attribute(Mass self, StringKey a0) -> bool
6951  has_attribute(Mass self, ParticleIndexKey a0) -> bool
6952  has_attribute(Mass self, ObjectKey a0) -> bool
6953  """
6954  return _IMP_atom.Mass_has_attribute(self, *args)
6955 
6956 
6957  def get_derivative(self, a0):
6958  """get_derivative(Mass self, FloatKey a0) -> double"""
6959  return _IMP_atom.Mass_get_derivative(self, a0)
6960 
6961 
6962  def get_name(self):
6963  """get_name(Mass self) -> std::string"""
6964  return _IMP_atom.Mass_get_name(self)
6965 
6966 
6967  def clear_caches(self):
6968  """clear_caches(Mass self)"""
6969  return _IMP_atom.Mass_clear_caches(self)
6970 
6971 
6972  def set_name(self, a0):
6973  """set_name(Mass self, std::string a0)"""
6974  return _IMP_atom.Mass_set_name(self, a0)
6975 
6976 
6977  def set_check_level(self, a0):
6978  """set_check_level(Mass self, IMP::CheckLevel a0)"""
6979  return _IMP_atom.Mass_set_check_level(self, a0)
6980 
6981 
6982  def add_to_derivative(self, a0, a1, a2):
6983  """add_to_derivative(Mass self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
6984  return _IMP_atom.Mass_add_to_derivative(self, a0, a1, a2)
6985 
6986 
6987  def set_is_optimized(self, a0, a1):
6988  """set_is_optimized(Mass self, FloatKey a0, bool a1)"""
6989  return _IMP_atom.Mass_set_is_optimized(self, a0, a1)
6990 
6991 
6992  def get_is_optimized(self, a0):
6993  """get_is_optimized(Mass self, FloatKey a0) -> bool"""
6994  return _IMP_atom.Mass_get_is_optimized(self, a0)
6995 
6996 
6997  def get_check_level(self):
6998  """get_check_level(Mass self) -> IMP::CheckLevel"""
6999  return _IMP_atom.Mass_get_check_level(self)
7000 
7001 
7002  def __eq__(self, *args):
7003  """
7004  __eq__(Mass self, Mass o) -> bool
7005  __eq__(Mass self, Particle d) -> bool
7006  """
7007  return _IMP_atom.Mass___eq__(self, *args)
7008 
7009 
7010  def __ne__(self, *args):
7011  """
7012  __ne__(Mass self, Mass o) -> bool
7013  __ne__(Mass self, Particle d) -> bool
7014  """
7015  return _IMP_atom.Mass___ne__(self, *args)
7016 
7017 
7018  def __le__(self, *args):
7019  """
7020  __le__(Mass self, Mass o) -> bool
7021  __le__(Mass self, Particle d) -> bool
7022  """
7023  return _IMP_atom.Mass___le__(self, *args)
7024 
7025 
7026  def __lt__(self, *args):
7027  """
7028  __lt__(Mass self, Mass o) -> bool
7029  __lt__(Mass self, Particle d) -> bool
7030  """
7031  return _IMP_atom.Mass___lt__(self, *args)
7032 
7033 
7034  def __ge__(self, *args):
7035  """
7036  __ge__(Mass self, Mass o) -> bool
7037  __ge__(Mass self, Particle d) -> bool
7038  """
7039  return _IMP_atom.Mass___ge__(self, *args)
7040 
7041 
7042  def __gt__(self, *args):
7043  """
7044  __gt__(Mass self, Mass o) -> bool
7045  __gt__(Mass self, Particle d) -> bool
7046  """
7047  return _IMP_atom.Mass___gt__(self, *args)
7048 
7049 
7050  def __hash__(self):
7051  """__hash__(Mass self) -> std::size_t"""
7052  return _IMP_atom.Mass___hash__(self)
7053 
7054 
7055  def __str__(self):
7056  """__str__(Mass self) -> std::string"""
7057  return _IMP_atom.Mass___str__(self)
7058 
7059 
7060  def __repr__(self):
7061  """__repr__(Mass self) -> std::string"""
7062  return _IMP_atom.Mass___repr__(self)
7063 
7064  __swig_destroy__ = _IMP_atom.delete_Mass
7065  __del__ = lambda self: None
7066 Mass_swigregister = _IMP_atom.Mass_swigregister
7067 Mass_swigregister(Mass)
7068 
7069 def Mass_get_is_setup(*args):
7070  """
7071  get_is_setup(Model m, ParticleIndex pi) -> bool
7072  Mass_get_is_setup(_ParticleAdaptor p) -> bool
7073  """
7074  return _IMP_atom.Mass_get_is_setup(*args)
7075 
7076 def Mass_setup_particle(*args):
7077  """
7078  setup_particle(Model m, ParticleIndex pi, IMP::Float mass) -> Mass
7079  Mass_setup_particle(_ParticleAdaptor decorator, IMP::Float mass) -> Mass
7080  """
7081  return _IMP_atom.Mass_setup_particle(*args)
7082 
7083 def Mass_get_mass_key():
7084  """Mass_get_mass_key() -> FloatKey"""
7085  return _IMP_atom.Mass_get_mass_key()
7086 
7087 class BondedPairFilter(IMP.PairPredicate):
7088  """Proxy of C++ IMP::atom::BondedPairFilter class."""
7089 
7090  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7091 
7092  def __init__(self):
7093  """__init__(IMP::atom::BondedPairFilter self) -> BondedPairFilter"""
7094  this = _IMP_atom.new_BondedPairFilter()
7095  try:
7096  self.this.append(this)
7097  except Exception:
7098  self.this = this
7099 
7100  def do_get_inputs(self, m, pis):
7101  """do_get_inputs(BondedPairFilter self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7102  return _IMP_atom.BondedPairFilter_do_get_inputs(self, m, pis)
7103 
7104 
7105  def get_value(self, *args):
7106  """
7107  get_value(BondedPairFilter self, IMP::ParticlePair const & a) -> int
7108  get_value(BondedPairFilter self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
7109  """
7110  return _IMP_atom.BondedPairFilter_get_value(self, *args)
7111 
7112 
7113  def get_value_index(self, *args):
7114  """
7115  get_value_index(BondedPairFilter self, Model m, IMP::ParticleIndexPair const & p) -> int
7116  get_value_index(BondedPairFilter self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
7117  """
7118  return _IMP_atom.BondedPairFilter_get_value_index(self, *args)
7119 
7120 
7121  def get_version_info(self):
7122  """get_version_info(BondedPairFilter self) -> VersionInfo"""
7123  return _IMP_atom.BondedPairFilter_get_version_info(self)
7124 
7125 
7126  def __str__(self):
7127  """__str__(BondedPairFilter self) -> std::string"""
7128  return _IMP_atom.BondedPairFilter___str__(self)
7129 
7130 
7131  def __repr__(self):
7132  """__repr__(BondedPairFilter self) -> std::string"""
7133  return _IMP_atom.BondedPairFilter___repr__(self)
7134 
7135 
7136  @staticmethod
7137  def get_from(o):
7138  return _object_cast_to_BondedPairFilter(o)
7139 
7140 BondedPairFilter_swigregister = _IMP_atom.BondedPairFilter_swigregister
7141 BondedPairFilter_swigregister(BondedPairFilter)
7142 
7143 class Mol2Selector(IMP.Object):
7144  """Proxy of C++ IMP::atom::Mol2Selector class."""
7145 
7146  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7147 
7148  def __init__(self, *args, **kwargs):
7149  raise AttributeError("No constructor defined - class is abstract")
7150 
7151  def get_is_selected(self, atom_line):
7152  """get_is_selected(Mol2Selector self, std::string const & atom_line) -> bool"""
7153  return _IMP_atom.Mol2Selector_get_is_selected(self, atom_line)
7154 
7155  __swig_destroy__ = _IMP_atom.delete_Mol2Selector
7156  __del__ = lambda self: None
7157 
7158  def __str__(self):
7159  """__str__(Mol2Selector self) -> std::string"""
7160  return _IMP_atom.Mol2Selector___str__(self)
7161 
7162 
7163  def __repr__(self):
7164  """__repr__(Mol2Selector self) -> std::string"""
7165  return _IMP_atom.Mol2Selector___repr__(self)
7166 
7167 
7168  @staticmethod
7169  def get_from(o):
7170  return _object_cast_to_Mol2Selector(o)
7171 
7172 Mol2Selector_swigregister = _IMP_atom.Mol2Selector_swigregister
7173 Mol2Selector_swigregister(Mol2Selector)
7174 
7175 class AllMol2Selector(Mol2Selector):
7176  """Proxy of C++ IMP::atom::AllMol2Selector class."""
7177 
7178  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7179 
7180  def __str__(self):
7181  """__str__(AllMol2Selector self) -> std::string"""
7182  return _IMP_atom.AllMol2Selector___str__(self)
7183 
7184 
7185  def __repr__(self):
7186  """__repr__(AllMol2Selector self) -> std::string"""
7187  return _IMP_atom.AllMol2Selector___repr__(self)
7188 
7189 
7190  @staticmethod
7191  def get_from(o):
7192  return _object_cast_to_AllMol2Selector(o)
7193 
7194 
7195  def __init__(self):
7196  """__init__(IMP::atom::AllMol2Selector self) -> AllMol2Selector"""
7197  this = _IMP_atom.new_AllMol2Selector()
7198  try:
7199  self.this.append(this)
7200  except Exception:
7201  self.this = this
7202  __swig_destroy__ = _IMP_atom.delete_AllMol2Selector
7203  __del__ = lambda self: None
7204 AllMol2Selector_swigregister = _IMP_atom.AllMol2Selector_swigregister
7205 AllMol2Selector_swigregister(AllMol2Selector)
7206 
7207 class NonHydrogenMol2Selector(Mol2Selector):
7208  """Proxy of C++ IMP::atom::NonHydrogenMol2Selector class."""
7209 
7210  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7211 
7212  def __str__(self):
7213  """__str__(NonHydrogenMol2Selector self) -> std::string"""
7214  return _IMP_atom.NonHydrogenMol2Selector___str__(self)
7215 
7216 
7217  def __repr__(self):
7218  """__repr__(NonHydrogenMol2Selector self) -> std::string"""
7219  return _IMP_atom.NonHydrogenMol2Selector___repr__(self)
7220 
7221 
7222  @staticmethod
7223  def get_from(o):
7224  return _object_cast_to_NonHydrogenMol2Selector(o)
7225 
7226 
7227  def __init__(self):
7228  """__init__(IMP::atom::NonHydrogenMol2Selector self) -> NonHydrogenMol2Selector"""
7229  this = _IMP_atom.new_NonHydrogenMol2Selector()
7230  try:
7231  self.this.append(this)
7232  except Exception:
7233  self.this = this
7234  __swig_destroy__ = _IMP_atom.delete_NonHydrogenMol2Selector
7235  __del__ = lambda self: None
7236 NonHydrogenMol2Selector_swigregister = _IMP_atom.NonHydrogenMol2Selector_swigregister
7237 NonHydrogenMol2Selector_swigregister(NonHydrogenMol2Selector)
7238 
7239 
7240 def read_mol2(mol2_file, model, mol2sel=None):
7241  """
7242  read_mol2(TextInput mol2_file, Model model, Mol2Selector mol2sel=None) -> Hierarchy
7243  read_mol2(TextInput mol2_file, Model model) -> Hierarchy
7244  """
7245  return _IMP_atom.read_mol2(mol2_file, model, mol2sel)
7246 
7247 def write_mol2(rhd, file_name):
7248  """write_mol2(Hierarchy rhd, TextOutput file_name)"""
7249  return _IMP_atom.write_mol2(rhd, file_name)
7250 class SecondaryStructureResidue(IMP.Decorator):
7251  """Proxy of C++ IMP::atom::SecondaryStructureResidue class."""
7252 
7253  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7254 
7255  def __init__(self, *args):
7256  """
7257  __init__(IMP::atom::SecondaryStructureResidue self) -> SecondaryStructureResidue
7258  __init__(IMP::atom::SecondaryStructureResidue self, Model m, ParticleIndex id) -> SecondaryStructureResidue
7259  __init__(IMP::atom::SecondaryStructureResidue self, _ParticleAdaptor d) -> SecondaryStructureResidue
7260  """
7261  this = _IMP_atom.new_SecondaryStructureResidue(*args)
7262  try:
7263  self.this.append(this)
7264  except Exception:
7265  self.this = this
7266 
7267  def show(self, *args):
7268  """
7269  show(SecondaryStructureResidue self, _ostream out)
7270  show(SecondaryStructureResidue self)
7271  """
7272  return _IMP_atom.SecondaryStructureResidue_show(self, *args)
7273 
7274 
7275  def setup_particle(*args):
7276  """
7277  setup_particle(Model m, ParticleIndex pi, IMP::Float prob_helix, IMP::Float prob_strand, IMP::Float prob_coil) -> SecondaryStructureResidue
7278  setup_particle(_ParticleAdaptor decorator, IMP::Float prob_helix, IMP::Float prob_strand, IMP::Float prob_coil) -> SecondaryStructureResidue
7279  setup_particle(Particle res_p) -> SecondaryStructureResidue
7280  """
7281  return _IMP_atom.SecondaryStructureResidue_setup_particle(*args)
7282 
7283  setup_particle = staticmethod(setup_particle)
7284 
7285  def get_is_setup(*args):
7286  """
7287  get_is_setup(_ParticleAdaptor p) -> bool
7288  get_is_setup(Model m, ParticleIndex pi) -> bool
7289  """
7290  return _IMP_atom.SecondaryStructureResidue_get_is_setup(*args)
7291 
7292  get_is_setup = staticmethod(get_is_setup)
7293 
7294  def get_particle(self):
7295  """get_particle(SecondaryStructureResidue self) -> Particle"""
7296  return _IMP_atom.SecondaryStructureResidue_get_particle(self)
7297 
7298 
7299  def get_all_probabilities(self):
7300  """get_all_probabilities(SecondaryStructureResidue self) -> IMP::Floats"""
7301  return _IMP_atom.SecondaryStructureResidue_get_all_probabilities(self)
7302 
7303 
7304  def get_prob_helix(self):
7305  """get_prob_helix(SecondaryStructureResidue self) -> IMP::Float"""
7306  return _IMP_atom.SecondaryStructureResidue_get_prob_helix(self)
7307 
7308 
7309  def set_prob_helix(self, t):
7310  """set_prob_helix(SecondaryStructureResidue self, IMP::Float t)"""
7311  return _IMP_atom.SecondaryStructureResidue_set_prob_helix(self, t)
7312 
7313 
7314  def get_prob_strand(self):
7315  """get_prob_strand(SecondaryStructureResidue self) -> IMP::Float"""
7316  return _IMP_atom.SecondaryStructureResidue_get_prob_strand(self)
7317 
7318 
7319  def set_prob_strand(self, t):
7320  """set_prob_strand(SecondaryStructureResidue self, IMP::Float t)"""
7321  return _IMP_atom.SecondaryStructureResidue_set_prob_strand(self, t)
7322 
7323 
7324  def get_prob_coil(self):
7325  """get_prob_coil(SecondaryStructureResidue self) -> IMP::Float"""
7326  return _IMP_atom.SecondaryStructureResidue_get_prob_coil(self)
7327 
7328 
7329  def set_prob_coil(self, t):
7330  """set_prob_coil(SecondaryStructureResidue self, IMP::Float t)"""
7331  return _IMP_atom.SecondaryStructureResidue_set_prob_coil(self, t)
7332 
7333 
7334  def get_prob_helix_key():
7335  """get_prob_helix_key() -> FloatKey"""
7336  return _IMP_atom.SecondaryStructureResidue_get_prob_helix_key()
7337 
7338  get_prob_helix_key = staticmethod(get_prob_helix_key)
7339 
7340  def get_prob_strand_key():
7341  """get_prob_strand_key() -> FloatKey"""
7342  return _IMP_atom.SecondaryStructureResidue_get_prob_strand_key()
7343 
7344  get_prob_strand_key = staticmethod(get_prob_strand_key)
7345 
7346  def get_prob_coil_key():
7347  """get_prob_coil_key() -> FloatKey"""
7348  return _IMP_atom.SecondaryStructureResidue_get_prob_coil_key()
7349 
7350  get_prob_coil_key = staticmethod(get_prob_coil_key)
7351 
7352  def add_attribute(self, *args):
7353  """
7354  add_attribute(SecondaryStructureResidue self, FloatKey k, IMP::Float v, bool opt)
7355  add_attribute(SecondaryStructureResidue self, FloatKey a0, IMP::Float a1)
7356  add_attribute(SecondaryStructureResidue self, IntKey a0, IMP::Int a1)
7357  add_attribute(SecondaryStructureResidue self, StringKey a0, IMP::String a1)
7358  add_attribute(SecondaryStructureResidue self, ParticleIndexKey a0, Particle a1)
7359  add_attribute(SecondaryStructureResidue self, ObjectKey a0, Object a1)
7360  """
7361  return _IMP_atom.SecondaryStructureResidue_add_attribute(self, *args)
7362 
7363 
7364  def get_value(self, *args):
7365  """
7366  get_value(SecondaryStructureResidue self, FloatKey a0) -> IMP::Float
7367  get_value(SecondaryStructureResidue self, IntKey a0) -> IMP::Int
7368  get_value(SecondaryStructureResidue self, StringKey a0) -> IMP::String
7369  get_value(SecondaryStructureResidue self, ParticleIndexKey a0) -> Particle
7370  get_value(SecondaryStructureResidue self, ObjectKey a0) -> Object
7371  """
7372  return _IMP_atom.SecondaryStructureResidue_get_value(self, *args)
7373 
7374 
7375  def set_value(self, *args):
7376  """
7377  set_value(SecondaryStructureResidue self, FloatKey a0, IMP::Float a1)
7378  set_value(SecondaryStructureResidue self, IntKey a0, IMP::Int a1)
7379  set_value(SecondaryStructureResidue self, StringKey a0, IMP::String a1)
7380  set_value(SecondaryStructureResidue self, ParticleIndexKey a0, Particle a1)
7381  set_value(SecondaryStructureResidue self, ObjectKey a0, Object a1)
7382  """
7383  return _IMP_atom.SecondaryStructureResidue_set_value(self, *args)
7384 
7385 
7386  def remove_attribute(self, *args):
7387  """
7388  remove_attribute(SecondaryStructureResidue self, FloatKey a0)
7389  remove_attribute(SecondaryStructureResidue self, IntKey a0)
7390  remove_attribute(SecondaryStructureResidue self, StringKey a0)
7391  remove_attribute(SecondaryStructureResidue self, ParticleIndexKey a0)
7392  remove_attribute(SecondaryStructureResidue self, ObjectKey a0)
7393  """
7394  return _IMP_atom.SecondaryStructureResidue_remove_attribute(self, *args)
7395 
7396 
7397  def has_attribute(self, *args):
7398  """
7399  has_attribute(SecondaryStructureResidue self, FloatKey a0) -> bool
7400  has_attribute(SecondaryStructureResidue self, IntKey a0) -> bool
7401  has_attribute(SecondaryStructureResidue self, StringKey a0) -> bool
7402  has_attribute(SecondaryStructureResidue self, ParticleIndexKey a0) -> bool
7403  has_attribute(SecondaryStructureResidue self, ObjectKey a0) -> bool
7404  """
7405  return _IMP_atom.SecondaryStructureResidue_has_attribute(self, *args)
7406 
7407 
7408  def get_derivative(self, a0):
7409  """get_derivative(SecondaryStructureResidue self, FloatKey a0) -> double"""
7410  return _IMP_atom.SecondaryStructureResidue_get_derivative(self, a0)
7411 
7412 
7413  def get_name(self):
7414  """get_name(SecondaryStructureResidue self) -> std::string"""
7415  return _IMP_atom.SecondaryStructureResidue_get_name(self)
7416 
7417 
7418  def clear_caches(self):
7419  """clear_caches(SecondaryStructureResidue self)"""
7420  return _IMP_atom.SecondaryStructureResidue_clear_caches(self)
7421 
7422 
7423  def set_name(self, a0):
7424  """set_name(SecondaryStructureResidue self, std::string a0)"""
7425  return _IMP_atom.SecondaryStructureResidue_set_name(self, a0)
7426 
7427 
7428  def set_check_level(self, a0):
7429  """set_check_level(SecondaryStructureResidue self, IMP::CheckLevel a0)"""
7430  return _IMP_atom.SecondaryStructureResidue_set_check_level(self, a0)
7431 
7432 
7433  def add_to_derivative(self, a0, a1, a2):
7434  """add_to_derivative(SecondaryStructureResidue self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
7435  return _IMP_atom.SecondaryStructureResidue_add_to_derivative(self, a0, a1, a2)
7436 
7437 
7438  def set_is_optimized(self, a0, a1):
7439  """set_is_optimized(SecondaryStructureResidue self, FloatKey a0, bool a1)"""
7440  return _IMP_atom.SecondaryStructureResidue_set_is_optimized(self, a0, a1)
7441 
7442 
7443  def get_is_optimized(self, a0):
7444  """get_is_optimized(SecondaryStructureResidue self, FloatKey a0) -> bool"""
7445  return _IMP_atom.SecondaryStructureResidue_get_is_optimized(self, a0)
7446 
7447 
7448  def get_check_level(self):
7449  """get_check_level(SecondaryStructureResidue self) -> IMP::CheckLevel"""
7450  return _IMP_atom.SecondaryStructureResidue_get_check_level(self)
7451 
7452 
7453  def __eq__(self, *args):
7454  """
7455  __eq__(SecondaryStructureResidue self, SecondaryStructureResidue o) -> bool
7456  __eq__(SecondaryStructureResidue self, Particle d) -> bool
7457  """
7458  return _IMP_atom.SecondaryStructureResidue___eq__(self, *args)
7459 
7460 
7461  def __ne__(self, *args):
7462  """
7463  __ne__(SecondaryStructureResidue self, SecondaryStructureResidue o) -> bool
7464  __ne__(SecondaryStructureResidue self, Particle d) -> bool
7465  """
7466  return _IMP_atom.SecondaryStructureResidue___ne__(self, *args)
7467 
7468 
7469  def __le__(self, *args):
7470  """
7471  __le__(SecondaryStructureResidue self, SecondaryStructureResidue o) -> bool
7472  __le__(SecondaryStructureResidue self, Particle d) -> bool
7473  """
7474  return _IMP_atom.SecondaryStructureResidue___le__(self, *args)
7475 
7476 
7477  def __lt__(self, *args):
7478  """
7479  __lt__(SecondaryStructureResidue self, SecondaryStructureResidue o) -> bool
7480  __lt__(SecondaryStructureResidue self, Particle d) -> bool
7481  """
7482  return _IMP_atom.SecondaryStructureResidue___lt__(self, *args)
7483 
7484 
7485  def __ge__(self, *args):
7486  """
7487  __ge__(SecondaryStructureResidue self, SecondaryStructureResidue o) -> bool
7488  __ge__(SecondaryStructureResidue self, Particle d) -> bool
7489  """
7490  return _IMP_atom.SecondaryStructureResidue___ge__(self, *args)
7491 
7492 
7493  def __gt__(self, *args):
7494  """
7495  __gt__(SecondaryStructureResidue self, SecondaryStructureResidue o) -> bool
7496  __gt__(SecondaryStructureResidue self, Particle d) -> bool
7497  """
7498  return _IMP_atom.SecondaryStructureResidue___gt__(self, *args)
7499 
7500 
7501  def __hash__(self):
7502  """__hash__(SecondaryStructureResidue self) -> std::size_t"""
7503  return _IMP_atom.SecondaryStructureResidue___hash__(self)
7504 
7505 
7506  def __str__(self):
7507  """__str__(SecondaryStructureResidue self) -> std::string"""
7508  return _IMP_atom.SecondaryStructureResidue___str__(self)
7509 
7510 
7511  def __repr__(self):
7512  """__repr__(SecondaryStructureResidue self) -> std::string"""
7513  return _IMP_atom.SecondaryStructureResidue___repr__(self)
7514 
7515  __swig_destroy__ = _IMP_atom.delete_SecondaryStructureResidue
7516  __del__ = lambda self: None
7517 SecondaryStructureResidue_swigregister = _IMP_atom.SecondaryStructureResidue_swigregister
7518 SecondaryStructureResidue_swigregister(SecondaryStructureResidue)
7519 
7520 def SecondaryStructureResidue_setup_particle(*args):
7521  """
7522  setup_particle(Model m, ParticleIndex pi, IMP::Float prob_helix, IMP::Float prob_strand, IMP::Float prob_coil) -> SecondaryStructureResidue
7523  setup_particle(_ParticleAdaptor decorator, IMP::Float prob_helix, IMP::Float prob_strand, IMP::Float prob_coil) -> SecondaryStructureResidue
7524  SecondaryStructureResidue_setup_particle(Particle res_p) -> SecondaryStructureResidue
7525  """
7526  return _IMP_atom.SecondaryStructureResidue_setup_particle(*args)
7527 
7528 def SecondaryStructureResidue_get_is_setup(*args):
7529  """
7530  get_is_setup(_ParticleAdaptor p) -> bool
7531  SecondaryStructureResidue_get_is_setup(Model m, ParticleIndex pi) -> bool
7532  """
7533  return _IMP_atom.SecondaryStructureResidue_get_is_setup(*args)
7534 
7535 def SecondaryStructureResidue_get_prob_helix_key():
7536  """SecondaryStructureResidue_get_prob_helix_key() -> FloatKey"""
7537  return _IMP_atom.SecondaryStructureResidue_get_prob_helix_key()
7538 
7539 def SecondaryStructureResidue_get_prob_strand_key():
7540  """SecondaryStructureResidue_get_prob_strand_key() -> FloatKey"""
7541  return _IMP_atom.SecondaryStructureResidue_get_prob_strand_key()
7542 
7543 def SecondaryStructureResidue_get_prob_coil_key():
7544  """SecondaryStructureResidue_get_prob_coil_key() -> FloatKey"""
7545  return _IMP_atom.SecondaryStructureResidue_get_prob_coil_key()
7546 
7547 
7548 def setup_coarse_secondary_structure_residue(ssr_ps, mdl, winner_takes_all_per_res=False):
7549  """
7550  setup_coarse_secondary_structure_residue(IMP::Particles const & ssr_ps, Model mdl, bool winner_takes_all_per_res=False) -> SecondaryStructureResidue
7551  setup_coarse_secondary_structure_residue(IMP::Particles const & ssr_ps, Model mdl) -> SecondaryStructureResidue
7552  """
7553  return _IMP_atom.setup_coarse_secondary_structure_residue(ssr_ps, mdl, winner_takes_all_per_res)
7554 
7555 def setup_coarse_secondary_structure_residues(ssr_ps, mdl, coarse_factor, start_res_num, winner_takes_all_per_res=False):
7556  """
7557  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
7558  setup_coarse_secondary_structure_residues(IMP::Particles const & ssr_ps, Model mdl, int coarse_factor, int start_res_num) -> IMP::atom::SecondaryStructureResidues
7559  """
7560  return _IMP_atom.setup_coarse_secondary_structure_residues(ssr_ps, mdl, coarse_factor, start_res_num, winner_takes_all_per_res)
7561 
7562 def get_secondary_structure_match_score(ssr1, ssr2):
7563  """get_secondary_structure_match_score(SecondaryStructureResidue ssr1, SecondaryStructureResidue ssr2) -> IMP::Float"""
7564  return _IMP_atom.get_secondary_structure_match_score(ssr1, ssr2)
7565 
7566 def read_psipred(*args):
7567  """
7568  read_psipred(TextInput inf, Model mdl) -> IMP::atom::SecondaryStructureResidues
7569  read_psipred(TextInput inf, IMP::Particles ps) -> IMP::atom::SecondaryStructureResidues
7570  """
7571  return _IMP_atom.read_psipred(*args)
7572 class _ADopeBase(IMP.PairScore):
7573  """Proxy of C++ IMP::score_functor::DistancePairScore<(IMP::score_functor::Dope)> class."""
7574 
7575  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7576  __repr__ = _swig_repr
7577 
7578  def __init__(self, *args):
7579  """
7580  __init__(IMP::score_functor::DistancePairScore<(IMP::score_functor::Dope)> self, Dope t0, std::string name) -> _ADopeBase
7581  __init__(IMP::score_functor::DistancePairScore<(IMP::score_functor::Dope)> self, Dope t0) -> _ADopeBase
7582  """
7583  this = _IMP_atom.new__ADopeBase(*args)
7584  try:
7585  self.this.append(this)
7586  except Exception:
7587  self.this = this
7588 
7589  def do_get_inputs(self, m, pis):
7590  """do_get_inputs(_ADopeBase self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7591  return _IMP_atom._ADopeBase_do_get_inputs(self, m, pis)
7592 
7593 
7594  def get_score_functor(self):
7595  """get_score_functor(_ADopeBase self) -> Dope"""
7596  return _IMP_atom._ADopeBase_get_score_functor(self)
7597 
7598 
7599  def get_version_info(self):
7600  """get_version_info(_ADopeBase self) -> VersionInfo"""
7601  return _IMP_atom._ADopeBase_get_version_info(self)
7602 
7603 _ADopeBase_swigregister = _IMP_atom._ADopeBase_swigregister
7604 _ADopeBase_swigregister(_ADopeBase)
7605 
7606 class _BDopeBase(IMP.PairScore):
7607  """Proxy of C++ IMP::score_functor::DistancePairScore<(IMP::score_functor::Statistical<(IMP::atom::DopeType,false,true,false)>)> class."""
7608 
7609  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7610  __repr__ = _swig_repr
7611 
7612  def __init__(self, *args):
7613  """
7614  __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
7615  __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
7616  """
7617  this = _IMP_atom.new__BDopeBase(*args)
7618  try:
7619  self.this.append(this)
7620  except Exception:
7621  self.this = this
7622 
7623  def do_get_inputs(self, m, pis):
7624  """do_get_inputs(_BDopeBase self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7625  return _IMP_atom._BDopeBase_do_get_inputs(self, m, pis)
7626 
7627 
7628  def get_score_functor(self):
7629  """get_score_functor(_BDopeBase self) -> _DopeBase"""
7630  return _IMP_atom._BDopeBase_get_score_functor(self)
7631 
7632 
7633  def get_version_info(self):
7634  """get_version_info(_BDopeBase self) -> VersionInfo"""
7635  return _IMP_atom._BDopeBase_get_version_info(self)
7636 
7637 _BDopeBase_swigregister = _IMP_atom._BDopeBase_swigregister
7638 _BDopeBase_swigregister(_BDopeBase)
7639 
7640 class _OrientedSoapBase(IMP.PairScore):
7641  """Proxy of C++ IMP::score_functor::DistancePairScore<(IMP::score_functor::OrientedSoap)> class."""
7642 
7643  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7644  __repr__ = _swig_repr
7645 
7646  def __init__(self, *args):
7647  """
7648  __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
7649  __init__(IMP::score_functor::DistancePairScore<(IMP::score_functor::OrientedSoap)> self, IMP::score_functor::DistancePairScore< IMP::score_functor::OrientedSoap >::DistanceScore const & t0) -> _OrientedSoapBase
7650  """
7651  this = _IMP_atom.new__OrientedSoapBase(*args)
7652  try:
7653  self.this.append(this)
7654  except Exception:
7655  self.this = this
7656 
7657  def do_get_inputs(self, m, pis):
7658  """do_get_inputs(_OrientedSoapBase self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7659  return _IMP_atom._OrientedSoapBase_do_get_inputs(self, m, pis)
7660 
7661 
7662  def get_score_functor(self):
7663  """get_score_functor(_OrientedSoapBase self) -> IMP::score_functor::OrientedSoap &"""
7664  return _IMP_atom._OrientedSoapBase_get_score_functor(self)
7665 
7666 
7667  def get_version_info(self):
7668  """get_version_info(_OrientedSoapBase self) -> VersionInfo"""
7669  return _IMP_atom._OrientedSoapBase_get_version_info(self)
7670 
7671 _OrientedSoapBase_swigregister = _IMP_atom._OrientedSoapBase_swigregister
7672 _OrientedSoapBase_swigregister(_OrientedSoapBase)
7673 
7674 class _SPSFTB(IMP.PairScore):
7675  """Proxy of C++ IMP::score_functor::DistancePairScore<(IMP::score_functor::Statistical<(IMP::atom::ProteinLigandType,true,false)>)> class."""
7676 
7677  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7678  __repr__ = _swig_repr
7679 
7680  def __init__(self, *args):
7681  """
7682  __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
7683  __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
7684  """
7685  this = _IMP_atom.new__SPSFTB(*args)
7686  try:
7687  self.this.append(this)
7688  except Exception:
7689  self.this = this
7690 
7691  def do_get_inputs(self, m, pis):
7692  """do_get_inputs(_SPSFTB self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7693  return _IMP_atom._SPSFTB_do_get_inputs(self, m, pis)
7694 
7695 
7696  def get_score_functor(self):
7697  """get_score_functor(_SPSFTB self) -> IMP::score_functor::Statistical< IMP::atom::ProteinLigandType,true,false,false > &"""
7698  return _IMP_atom._SPSFTB_get_score_functor(self)
7699 
7700 
7701  def get_version_info(self):
7702  """get_version_info(_SPSFTB self) -> VersionInfo"""
7703  return _IMP_atom._SPSFTB_get_version_info(self)
7704 
7705 _SPSFTB_swigregister = _IMP_atom._SPSFTB_swigregister
7706 _SPSFTB_swigregister(_SPSFTB)
7707 
7708 class _SPSTF(_SPSFTB):
7709  """Proxy of C++ IMP::core::StatisticalPairScore<(IMP::atom::ProteinLigandType,true,false)> class."""
7710 
7711  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7712  __repr__ = _swig_repr
7713 
7714  def __init__(self, *args):
7715  """
7716  __init__(IMP::core::StatisticalPairScore<(IMP::atom::ProteinLigandType,true,false)> self, IntKey k, double threshold, TextInput data_file) -> _SPSTF
7717  __init__(IMP::core::StatisticalPairScore<(IMP::atom::ProteinLigandType,true,false)> self, IntKey k, double threshold, TextInput data_file, unsigned int shift) -> _SPSTF
7718  """
7719  this = _IMP_atom.new__SPSTF(*args)
7720  try:
7721  self.this.append(this)
7722  except Exception:
7723  self.this = this
7724  __swig_destroy__ = _IMP_atom.delete__SPSTF
7725  __del__ = lambda self: None
7726 _SPSTF_swigregister = _IMP_atom._SPSTF_swigregister
7727 _SPSTF_swigregister(_SPSTF)
7728 
7729 class _SPSFT(_BDopeBase):
7730  """Proxy of C++ IMP::core::StatisticalPairScore<(IMP::atom::DopeType,false,true)> class."""
7731 
7732  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7733  __repr__ = _swig_repr
7734 
7735  def __init__(self, *args):
7736  """
7737  __init__(IMP::core::StatisticalPairScore<(IMP::atom::DopeType,false,true)> self, IntKey k, double threshold, TextInput data_file) -> _SPSFT
7738  __init__(IMP::core::StatisticalPairScore<(IMP::atom::DopeType,false,true)> self, IntKey k, double threshold, TextInput data_file, unsigned int shift) -> _SPSFT
7739  """
7740  this = _IMP_atom.new__SPSFT(*args)
7741  try:
7742  self.this.append(this)
7743  except Exception:
7744  self.this = this
7745  __swig_destroy__ = _IMP_atom.delete__SPSFT
7746  __del__ = lambda self: None
7747 _SPSFT_swigregister = _IMP_atom._SPSFT_swigregister
7748 _SPSFT_swigregister(_SPSFT)
7749 
7750 class ProteinLigandAtomPairScore(_SPSTF):
7751  """Proxy of C++ IMP::atom::ProteinLigandAtomPairScore class."""
7752 
7753  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7754 
7755  def __init__(self, *args):
7756  """
7757  __init__(IMP::atom::ProteinLigandAtomPairScore self, double threshold) -> ProteinLigandAtomPairScore
7758  __init__(IMP::atom::ProteinLigandAtomPairScore self) -> ProteinLigandAtomPairScore
7759  __init__(IMP::atom::ProteinLigandAtomPairScore self, double threshold, TextInput data_file) -> ProteinLigandAtomPairScore
7760  """
7761  this = _IMP_atom.new_ProteinLigandAtomPairScore(*args)
7762  try:
7763  self.this.append(this)
7764  except Exception:
7765  self.this = this
7766 
7767  def get_maximum_distance(self):
7768  """get_maximum_distance(ProteinLigandAtomPairScore self) -> double"""
7769  return _IMP_atom.ProteinLigandAtomPairScore_get_maximum_distance(self)
7770 
7771 
7772  def __str__(self):
7773  """__str__(ProteinLigandAtomPairScore self) -> std::string"""
7774  return _IMP_atom.ProteinLigandAtomPairScore___str__(self)
7775 
7776 
7777  def __repr__(self):
7778  """__repr__(ProteinLigandAtomPairScore self) -> std::string"""
7779  return _IMP_atom.ProteinLigandAtomPairScore___repr__(self)
7780 
7781 
7782  @staticmethod
7783  def get_from(o):
7784  return _object_cast_to_ProteinLigandAtomPairScore(o)
7785 
7786  __swig_destroy__ = _IMP_atom.delete_ProteinLigandAtomPairScore
7787  __del__ = lambda self: None
7788 ProteinLigandAtomPairScore_swigregister = _IMP_atom.ProteinLigandAtomPairScore_swigregister
7789 ProteinLigandAtomPairScore_swigregister(ProteinLigandAtomPairScore)
7790 
7791 class ProteinLigandRestraint(IMP.container.PairsRestraint):
7792  """Proxy of C++ IMP::atom::ProteinLigandRestraint class."""
7793 
7794  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7795 
7796  def __init__(self, *args):
7797  """
7798  __init__(IMP::atom::ProteinLigandRestraint self, Hierarchy protein, Hierarchy ligand, double threshold) -> ProteinLigandRestraint
7799  __init__(IMP::atom::ProteinLigandRestraint self, Hierarchy protein, Hierarchy ligand) -> ProteinLigandRestraint
7800  __init__(IMP::atom::ProteinLigandRestraint self, Hierarchy protein, Hierarchy ligand, double threshold, TextInput data_file) -> ProteinLigandRestraint
7801  """
7802  this = _IMP_atom.new_ProteinLigandRestraint(*args)
7803  try:
7804  self.this.append(this)
7805  except Exception:
7806  self.this = this
7807 
7808  def __str__(self):
7809  """__str__(ProteinLigandRestraint self) -> std::string"""
7810  return _IMP_atom.ProteinLigandRestraint___str__(self)
7811 
7812 
7813  def __repr__(self):
7814  """__repr__(ProteinLigandRestraint self) -> std::string"""
7815  return _IMP_atom.ProteinLigandRestraint___repr__(self)
7816 
7817 
7818  @staticmethod
7819  def get_from(o):
7820  return _object_cast_to_ProteinLigandRestraint(o)
7821 
7822  __swig_destroy__ = _IMP_atom.delete_ProteinLigandRestraint
7823  __del__ = lambda self: None
7824 ProteinLigandRestraint_swigregister = _IMP_atom.ProteinLigandRestraint_swigregister
7825 ProteinLigandRestraint_swigregister(ProteinLigandRestraint)
7826 
7827 
7829  """add_protein_ligand_score_data(Hierarchy h)"""
7830  return _IMP_atom.add_protein_ligand_score_data(h)
7831 class AtomType(IMP._Value):
7832  """Proxy of C++ IMP::Key<(8974343,false)> class."""
7833 
7834  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7835 
7836  def __init__(self, *args):
7837  """
7838  __init__(IMP::Key<(8974343,false)> self) -> AtomType
7839  __init__(IMP::Key<(8974343,false)> self, std::string c) -> AtomType
7840  __init__(IMP::Key<(8974343,false)> self, unsigned int i) -> AtomType
7841  """
7842  this = _IMP_atom.new_AtomType(*args)
7843  try:
7844  self.this.append(this)
7845  except Exception:
7846  self.this = this
7847 
7848  def add_key(sc):
7849  """add_key(std::string sc) -> unsigned int"""
7850  return _IMP_atom.AtomType_add_key(sc)
7851 
7852  add_key = staticmethod(add_key)
7853 
7854  def get_key_exists(sc):
7855  """get_key_exists(std::string sc) -> bool"""
7856  return _IMP_atom.AtomType_get_key_exists(sc)
7857 
7858  get_key_exists = staticmethod(get_key_exists)
7859 
7860  def get_string(self):
7861  """get_string(AtomType self) -> std::string const"""
7862  return _IMP_atom.AtomType_get_string(self)
7863 
7864 
7865  def __cmp__(self, o):
7866  """__cmp__(AtomType self, AtomType o) -> int"""
7867  return _IMP_atom.AtomType___cmp__(self, o)
7868 
7869 
7870  def __eq__(self, o):
7871  """__eq__(AtomType self, AtomType o) -> bool"""
7872  return _IMP_atom.AtomType___eq__(self, o)
7873 
7874 
7875  def __ne__(self, o):
7876  """__ne__(AtomType self, AtomType o) -> bool"""
7877  return _IMP_atom.AtomType___ne__(self, o)
7878 
7879 
7880  def __lt__(self, o):
7881  """__lt__(AtomType self, AtomType o) -> bool"""
7882  return _IMP_atom.AtomType___lt__(self, o)
7883 
7884 
7885  def __gt__(self, o):
7886  """__gt__(AtomType self, AtomType o) -> bool"""
7887  return _IMP_atom.AtomType___gt__(self, o)
7888 
7889 
7890  def __ge__(self, o):
7891  """__ge__(AtomType self, AtomType o) -> bool"""
7892  return _IMP_atom.AtomType___ge__(self, o)
7893 
7894 
7895  def __le__(self, o):
7896  """__le__(AtomType self, AtomType o) -> bool"""
7897  return _IMP_atom.AtomType___le__(self, o)
7898 
7899 
7900  def __hash__(self):
7901  """__hash__(AtomType self) -> std::size_t"""
7902  return _IMP_atom.AtomType___hash__(self)
7903 
7904 
7905  def show(self, *args):
7906  """
7907  show(AtomType self, _ostream out)
7908  show(AtomType self)
7909  """
7910  return _IMP_atom.AtomType_show(self, *args)
7911 
7912 
7913  def add_alias(old_key, new_name):
7914  """add_alias(AtomType old_key, std::string new_name) -> AtomType"""
7915  return _IMP_atom.AtomType_add_alias(old_key, new_name)
7916 
7917  add_alias = staticmethod(add_alias)
7918 
7919  def get_index(self):
7920  """get_index(AtomType self) -> unsigned int"""
7921  return _IMP_atom.AtomType_get_index(self)
7922 
7923 
7924  def show_all(out):
7925  """show_all(_ostream out)"""
7926  return _IMP_atom.AtomType_show_all(out)
7927 
7928  show_all = staticmethod(show_all)
7929 
7930  def get_all_strings():
7931  """get_all_strings() -> IMP::Vector< std::string >"""
7932  return _IMP_atom.AtomType_get_all_strings()
7933 
7934  get_all_strings = staticmethod(get_all_strings)
7935 
7936  def get_number_unique():
7937  """get_number_unique() -> unsigned int"""
7938  return _IMP_atom.AtomType_get_number_unique()
7939 
7940  get_number_unique = staticmethod(get_number_unique)
7941 
7942  def __str__(self):
7943  """__str__(AtomType self) -> std::string"""
7944  return _IMP_atom.AtomType___str__(self)
7945 
7946 
7947  def __repr__(self):
7948  """__repr__(AtomType self) -> std::string"""
7949  return _IMP_atom.AtomType___repr__(self)
7950 
7951  __swig_destroy__ = _IMP_atom.delete_AtomType
7952  __del__ = lambda self: None
7953 AtomType_swigregister = _IMP_atom.AtomType_swigregister
7954 AtomType_swigregister(AtomType)
7955 
7956 def AtomType_add_key(sc):
7957  """AtomType_add_key(std::string sc) -> unsigned int"""
7958  return _IMP_atom.AtomType_add_key(sc)
7959 
7960 def AtomType_get_key_exists(sc):
7961  """AtomType_get_key_exists(std::string sc) -> bool"""
7962  return _IMP_atom.AtomType_get_key_exists(sc)
7963 
7964 def AtomType_add_alias(old_key, new_name):
7965  """AtomType_add_alias(AtomType old_key, std::string new_name) -> AtomType"""
7966  return _IMP_atom.AtomType_add_alias(old_key, new_name)
7967 
7968 def AtomType_show_all(out):
7969  """AtomType_show_all(_ostream out)"""
7970  return _IMP_atom.AtomType_show_all(out)
7971 
7972 def AtomType_get_all_strings():
7973  """AtomType_get_all_strings() -> IMP::Vector< std::string >"""
7974  return _IMP_atom.AtomType_get_all_strings()
7975 
7976 def AtomType_get_number_unique():
7977  """AtomType_get_number_unique() -> unsigned int"""
7978  return _IMP_atom.AtomType_get_number_unique()
7979 
7980 class ResidueType(IMP._Value):
7981  """Proxy of C++ IMP::Key<(90784334,true)> class."""
7982 
7983  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7984 
7985  def __init__(self, *args):
7986  """
7987  __init__(IMP::Key<(90784334,true)> self) -> ResidueType
7988  __init__(IMP::Key<(90784334,true)> self, std::string c) -> ResidueType
7989  __init__(IMP::Key<(90784334,true)> self, unsigned int i) -> ResidueType
7990  """
7991  this = _IMP_atom.new_ResidueType(*args)
7992  try:
7993  self.this.append(this)
7994  except Exception:
7995  self.this = this
7996 
7997  def add_key(sc):
7998  """add_key(std::string sc) -> unsigned int"""
7999  return _IMP_atom.ResidueType_add_key(sc)
8000 
8001  add_key = staticmethod(add_key)
8002 
8003  def get_key_exists(sc):
8004  """get_key_exists(std::string sc) -> bool"""
8005  return _IMP_atom.ResidueType_get_key_exists(sc)
8006 
8007  get_key_exists = staticmethod(get_key_exists)
8008 
8009  def get_string(self):
8010  """get_string(ResidueType self) -> std::string const"""
8011  return _IMP_atom.ResidueType_get_string(self)
8012 
8013 
8014  def __cmp__(self, o):
8015  """__cmp__(ResidueType self, ResidueType o) -> int"""
8016  return _IMP_atom.ResidueType___cmp__(self, o)
8017 
8018 
8019  def __eq__(self, o):
8020  """__eq__(ResidueType self, ResidueType o) -> bool"""
8021  return _IMP_atom.ResidueType___eq__(self, o)
8022 
8023 
8024  def __ne__(self, o):
8025  """__ne__(ResidueType self, ResidueType o) -> bool"""
8026  return _IMP_atom.ResidueType___ne__(self, o)
8027 
8028 
8029  def __lt__(self, o):
8030  """__lt__(ResidueType self, ResidueType o) -> bool"""
8031  return _IMP_atom.ResidueType___lt__(self, o)
8032 
8033 
8034  def __gt__(self, o):
8035  """__gt__(ResidueType self, ResidueType o) -> bool"""
8036  return _IMP_atom.ResidueType___gt__(self, o)
8037 
8038 
8039  def __ge__(self, o):
8040  """__ge__(ResidueType self, ResidueType o) -> bool"""
8041  return _IMP_atom.ResidueType___ge__(self, o)
8042 
8043 
8044  def __le__(self, o):
8045  """__le__(ResidueType self, ResidueType o) -> bool"""
8046  return _IMP_atom.ResidueType___le__(self, o)
8047 
8048 
8049  def __hash__(self):
8050  """__hash__(ResidueType self) -> std::size_t"""
8051  return _IMP_atom.ResidueType___hash__(self)
8052 
8053 
8054  def show(self, *args):
8055  """
8056  show(ResidueType self, _ostream out)
8057  show(ResidueType self)
8058  """
8059  return _IMP_atom.ResidueType_show(self, *args)
8060 
8061 
8062  def add_alias(old_key, new_name):
8063  """add_alias(ResidueType old_key, std::string new_name) -> ResidueType"""
8064  return _IMP_atom.ResidueType_add_alias(old_key, new_name)
8065 
8066  add_alias = staticmethod(add_alias)
8067 
8068  def get_index(self):
8069  """get_index(ResidueType self) -> unsigned int"""
8070  return _IMP_atom.ResidueType_get_index(self)
8071 
8072 
8073  def show_all(out):
8074  """show_all(_ostream out)"""
8075  return _IMP_atom.ResidueType_show_all(out)
8076 
8077  show_all = staticmethod(show_all)
8078 
8079  def get_all_strings():
8080  """get_all_strings() -> IMP::Vector< std::string >"""
8081  return _IMP_atom.ResidueType_get_all_strings()
8082 
8083  get_all_strings = staticmethod(get_all_strings)
8084 
8085  def get_number_unique():
8086  """get_number_unique() -> unsigned int"""
8087  return _IMP_atom.ResidueType_get_number_unique()
8088 
8089  get_number_unique = staticmethod(get_number_unique)
8090 
8091  def __str__(self):
8092  """__str__(ResidueType self) -> std::string"""
8093  return _IMP_atom.ResidueType___str__(self)
8094 
8095 
8096  def __repr__(self):
8097  """__repr__(ResidueType self) -> std::string"""
8098  return _IMP_atom.ResidueType___repr__(self)
8099 
8100  __swig_destroy__ = _IMP_atom.delete_ResidueType
8101  __del__ = lambda self: None
8102 ResidueType_swigregister = _IMP_atom.ResidueType_swigregister
8103 ResidueType_swigregister(ResidueType)
8104 
8105 def ResidueType_add_key(sc):
8106  """ResidueType_add_key(std::string sc) -> unsigned int"""
8107  return _IMP_atom.ResidueType_add_key(sc)
8108 
8109 def ResidueType_get_key_exists(sc):
8110  """ResidueType_get_key_exists(std::string sc) -> bool"""
8111  return _IMP_atom.ResidueType_get_key_exists(sc)
8112 
8113 def ResidueType_add_alias(old_key, new_name):
8114  """ResidueType_add_alias(ResidueType old_key, std::string new_name) -> ResidueType"""
8115  return _IMP_atom.ResidueType_add_alias(old_key, new_name)
8116 
8117 def ResidueType_show_all(out):
8118  """ResidueType_show_all(_ostream out)"""
8119  return _IMP_atom.ResidueType_show_all(out)
8120 
8121 def ResidueType_get_all_strings():
8122  """ResidueType_get_all_strings() -> IMP::Vector< std::string >"""
8123  return _IMP_atom.ResidueType_get_all_strings()
8124 
8125 def ResidueType_get_number_unique():
8126  """ResidueType_get_number_unique() -> unsigned int"""
8127  return _IMP_atom.ResidueType_get_number_unique()
8128 
8129 
8130 _IMP_atom.UNKNOWN_ELEMENT_swigconstant(_IMP_atom)
8131 UNKNOWN_ELEMENT = _IMP_atom.UNKNOWN_ELEMENT
8132 
8133 _IMP_atom.OH_swigconstant(_IMP_atom)
8134 OH = _IMP_atom.OH
8135 
8136 _IMP_atom.H2O_swigconstant(_IMP_atom)
8137 H2O = _IMP_atom.H2O
8138 
8139 _IMP_atom.H_swigconstant(_IMP_atom)
8140 H = _IMP_atom.H
8141 
8142 _IMP_atom.He_swigconstant(_IMP_atom)
8143 He = _IMP_atom.He
8144 
8145 _IMP_atom.Li_swigconstant(_IMP_atom)
8146 Li = _IMP_atom.Li
8147 
8148 _IMP_atom.Be_swigconstant(_IMP_atom)
8149 Be = _IMP_atom.Be
8150 
8151 _IMP_atom.B_swigconstant(_IMP_atom)
8152 B = _IMP_atom.B
8153 
8154 _IMP_atom.C_swigconstant(_IMP_atom)
8155 C = _IMP_atom.C
8156 
8157 _IMP_atom.N_swigconstant(_IMP_atom)
8158 N = _IMP_atom.N
8159 
8160 _IMP_atom.O_swigconstant(_IMP_atom)
8161 O = _IMP_atom.O
8162 
8163 _IMP_atom.F_swigconstant(_IMP_atom)
8164 F = _IMP_atom.F
8165 
8166 _IMP_atom.Ne_swigconstant(_IMP_atom)
8167 Ne = _IMP_atom.Ne
8168 
8169 _IMP_atom.Na_swigconstant(_IMP_atom)
8170 Na = _IMP_atom.Na
8171 
8172 _IMP_atom.Mg_swigconstant(_IMP_atom)
8173 Mg = _IMP_atom.Mg
8174 
8175 _IMP_atom.Al_swigconstant(_IMP_atom)
8176 Al = _IMP_atom.Al
8177 
8178 _IMP_atom.Si_swigconstant(_IMP_atom)
8179 Si = _IMP_atom.Si
8180 
8181 _IMP_atom.P_swigconstant(_IMP_atom)
8182 P = _IMP_atom.P
8183 
8184 _IMP_atom.S_swigconstant(_IMP_atom)
8185 S = _IMP_atom.S
8186 
8187 _IMP_atom.Cl_swigconstant(_IMP_atom)
8188 Cl = _IMP_atom.Cl
8189 
8190 _IMP_atom.Ar_swigconstant(_IMP_atom)
8191 Ar = _IMP_atom.Ar
8192 
8193 _IMP_atom.K_swigconstant(_IMP_atom)
8194 K = _IMP_atom.K
8195 
8196 _IMP_atom.Ca_swigconstant(_IMP_atom)
8197 Ca = _IMP_atom.Ca
8198 
8199 _IMP_atom.Sc_swigconstant(_IMP_atom)
8200 Sc = _IMP_atom.Sc
8201 
8202 _IMP_atom.Ti_swigconstant(_IMP_atom)
8203 Ti = _IMP_atom.Ti
8204 
8205 _IMP_atom.V_swigconstant(_IMP_atom)
8206 V = _IMP_atom.V
8207 
8208 _IMP_atom.Cr_swigconstant(_IMP_atom)
8209 Cr = _IMP_atom.Cr
8210 
8211 _IMP_atom.Mn_swigconstant(_IMP_atom)
8212 Mn = _IMP_atom.Mn
8213 
8214 _IMP_atom.Fe_swigconstant(_IMP_atom)
8215 Fe = _IMP_atom.Fe
8216 
8217 _IMP_atom.Co_swigconstant(_IMP_atom)
8218 Co = _IMP_atom.Co
8219 
8220 _IMP_atom.Ni_swigconstant(_IMP_atom)
8221 Ni = _IMP_atom.Ni
8222 
8223 _IMP_atom.Cu_swigconstant(_IMP_atom)
8224 Cu = _IMP_atom.Cu
8225 
8226 _IMP_atom.Zn_swigconstant(_IMP_atom)
8227 Zn = _IMP_atom.Zn
8228 
8229 _IMP_atom.Ga_swigconstant(_IMP_atom)
8230 Ga = _IMP_atom.Ga
8231 
8232 _IMP_atom.Ge_swigconstant(_IMP_atom)
8233 Ge = _IMP_atom.Ge
8234 
8235 _IMP_atom.As_swigconstant(_IMP_atom)
8236 As = _IMP_atom.As
8237 
8238 _IMP_atom.Se_swigconstant(_IMP_atom)
8239 Se = _IMP_atom.Se
8240 
8241 _IMP_atom.Br_swigconstant(_IMP_atom)
8242 Br = _IMP_atom.Br
8243 
8244 _IMP_atom.Kr_swigconstant(_IMP_atom)
8245 Kr = _IMP_atom.Kr
8246 
8247 _IMP_atom.Rb_swigconstant(_IMP_atom)
8248 Rb = _IMP_atom.Rb
8249 
8250 _IMP_atom.Sr_swigconstant(_IMP_atom)
8251 Sr = _IMP_atom.Sr
8252 
8253 _IMP_atom.Y_swigconstant(_IMP_atom)
8254 Y = _IMP_atom.Y
8255 
8256 _IMP_atom.Zr_swigconstant(_IMP_atom)
8257 Zr = _IMP_atom.Zr
8258 
8259 _IMP_atom.Nb_swigconstant(_IMP_atom)
8260 Nb = _IMP_atom.Nb
8261 
8262 _IMP_atom.Mo_swigconstant(_IMP_atom)
8263 Mo = _IMP_atom.Mo
8264 
8265 _IMP_atom.Tc_swigconstant(_IMP_atom)
8266 Tc = _IMP_atom.Tc
8267 
8268 _IMP_atom.Ru_swigconstant(_IMP_atom)
8269 Ru = _IMP_atom.Ru
8270 
8271 _IMP_atom.Rh_swigconstant(_IMP_atom)
8272 Rh = _IMP_atom.Rh
8273 
8274 _IMP_atom.Pd_swigconstant(_IMP_atom)
8275 Pd = _IMP_atom.Pd
8276 
8277 _IMP_atom.Ag_swigconstant(_IMP_atom)
8278 Ag = _IMP_atom.Ag
8279 
8280 _IMP_atom.Cd_swigconstant(_IMP_atom)
8281 Cd = _IMP_atom.Cd
8282 
8283 _IMP_atom.In_swigconstant(_IMP_atom)
8284 In = _IMP_atom.In
8285 
8286 _IMP_atom.Sn_swigconstant(_IMP_atom)
8287 Sn = _IMP_atom.Sn
8288 
8289 _IMP_atom.Sb_swigconstant(_IMP_atom)
8290 Sb = _IMP_atom.Sb
8291 
8292 _IMP_atom.Te_swigconstant(_IMP_atom)
8293 Te = _IMP_atom.Te
8294 
8295 _IMP_atom.I_swigconstant(_IMP_atom)
8296 I = _IMP_atom.I
8297 
8298 _IMP_atom.Xe_swigconstant(_IMP_atom)
8299 Xe = _IMP_atom.Xe
8300 
8301 _IMP_atom.Cs_swigconstant(_IMP_atom)
8302 Cs = _IMP_atom.Cs
8303 
8304 _IMP_atom.Ba_swigconstant(_IMP_atom)
8305 Ba = _IMP_atom.Ba
8306 
8307 _IMP_atom.La_swigconstant(_IMP_atom)
8308 La = _IMP_atom.La
8309 
8310 _IMP_atom.Ce_swigconstant(_IMP_atom)
8311 Ce = _IMP_atom.Ce
8312 
8313 _IMP_atom.Pr_swigconstant(_IMP_atom)
8314 Pr = _IMP_atom.Pr
8315 
8316 _IMP_atom.Nd_swigconstant(_IMP_atom)
8317 Nd = _IMP_atom.Nd
8318 
8319 _IMP_atom.Pm_swigconstant(_IMP_atom)
8320 Pm = _IMP_atom.Pm
8321 
8322 _IMP_atom.Sm_swigconstant(_IMP_atom)
8323 Sm = _IMP_atom.Sm
8324 
8325 _IMP_atom.Eu_swigconstant(_IMP_atom)
8326 Eu = _IMP_atom.Eu
8327 
8328 _IMP_atom.Gd_swigconstant(_IMP_atom)
8329 Gd = _IMP_atom.Gd
8330 
8331 _IMP_atom.Tb_swigconstant(_IMP_atom)
8332 Tb = _IMP_atom.Tb
8333 
8334 _IMP_atom.Dy_swigconstant(_IMP_atom)
8335 Dy = _IMP_atom.Dy
8336 
8337 _IMP_atom.Ho_swigconstant(_IMP_atom)
8338 Ho = _IMP_atom.Ho
8339 
8340 _IMP_atom.Er_swigconstant(_IMP_atom)
8341 Er = _IMP_atom.Er
8342 
8343 _IMP_atom.Tm_swigconstant(_IMP_atom)
8344 Tm = _IMP_atom.Tm
8345 
8346 _IMP_atom.Yb_swigconstant(_IMP_atom)
8347 Yb = _IMP_atom.Yb
8348 
8349 _IMP_atom.Lu_swigconstant(_IMP_atom)
8350 Lu = _IMP_atom.Lu
8351 
8352 _IMP_atom.Hf_swigconstant(_IMP_atom)
8353 Hf = _IMP_atom.Hf
8354 
8355 _IMP_atom.Ta_swigconstant(_IMP_atom)
8356 Ta = _IMP_atom.Ta
8357 
8358 _IMP_atom.W_swigconstant(_IMP_atom)
8359 W = _IMP_atom.W
8360 
8361 _IMP_atom.Re_swigconstant(_IMP_atom)
8362 Re = _IMP_atom.Re
8363 
8364 _IMP_atom.Os_swigconstant(_IMP_atom)
8365 Os = _IMP_atom.Os
8366 
8367 _IMP_atom.Ir_swigconstant(_IMP_atom)
8368 Ir = _IMP_atom.Ir
8369 
8370 _IMP_atom.Pt_swigconstant(_IMP_atom)
8371 Pt = _IMP_atom.Pt
8372 
8373 _IMP_atom.Au_swigconstant(_IMP_atom)
8374 Au = _IMP_atom.Au
8375 
8376 _IMP_atom.Hg_swigconstant(_IMP_atom)
8377 Hg = _IMP_atom.Hg
8378 
8379 _IMP_atom.Tl_swigconstant(_IMP_atom)
8380 Tl = _IMP_atom.Tl
8381 
8382 _IMP_atom.Pb_swigconstant(_IMP_atom)
8383 Pb = _IMP_atom.Pb
8384 
8385 _IMP_atom.Bi_swigconstant(_IMP_atom)
8386 Bi = _IMP_atom.Bi
8387 
8388 _IMP_atom.Po_swigconstant(_IMP_atom)
8389 Po = _IMP_atom.Po
8390 
8391 _IMP_atom.At_swigconstant(_IMP_atom)
8392 At = _IMP_atom.At
8393 
8394 _IMP_atom.Rn_swigconstant(_IMP_atom)
8395 Rn = _IMP_atom.Rn
8396 
8397 _IMP_atom.Fr_swigconstant(_IMP_atom)
8398 Fr = _IMP_atom.Fr
8399 
8400 _IMP_atom.Ra_swigconstant(_IMP_atom)
8401 Ra = _IMP_atom.Ra
8402 
8403 _IMP_atom.Ac_swigconstant(_IMP_atom)
8404 Ac = _IMP_atom.Ac
8405 
8406 _IMP_atom.Th_swigconstant(_IMP_atom)
8407 Th = _IMP_atom.Th
8408 
8409 _IMP_atom.Pa_swigconstant(_IMP_atom)
8410 Pa = _IMP_atom.Pa
8411 
8412 _IMP_atom.U_swigconstant(_IMP_atom)
8413 U = _IMP_atom.U
8414 
8415 _IMP_atom.Np_swigconstant(_IMP_atom)
8416 Np = _IMP_atom.Np
8417 
8418 _IMP_atom.Pu_swigconstant(_IMP_atom)
8419 Pu = _IMP_atom.Pu
8420 
8421 _IMP_atom.Am_swigconstant(_IMP_atom)
8422 Am = _IMP_atom.Am
8423 
8424 _IMP_atom.Cm_swigconstant(_IMP_atom)
8425 Cm = _IMP_atom.Cm
8426 
8427 _IMP_atom.Bk_swigconstant(_IMP_atom)
8428 Bk = _IMP_atom.Bk
8429 
8430 _IMP_atom.Cf_swigconstant(_IMP_atom)
8431 Cf = _IMP_atom.Cf
8432 
8433 _IMP_atom.Es_swigconstant(_IMP_atom)
8434 Es = _IMP_atom.Es
8435 
8436 _IMP_atom.Fm_swigconstant(_IMP_atom)
8437 Fm = _IMP_atom.Fm
8438 
8439 _IMP_atom.Md_swigconstant(_IMP_atom)
8440 Md = _IMP_atom.Md
8441 
8442 _IMP_atom.No_swigconstant(_IMP_atom)
8443 No = _IMP_atom.No
8444 
8445 _IMP_atom.Lr_swigconstant(_IMP_atom)
8446 Lr = _IMP_atom.Lr
8447 
8448 _IMP_atom.Db_swigconstant(_IMP_atom)
8449 Db = _IMP_atom.Db
8450 
8451 _IMP_atom.Jl_swigconstant(_IMP_atom)
8452 Jl = _IMP_atom.Jl
8453 
8454 _IMP_atom.Rf_swigconstant(_IMP_atom)
8455 Rf = _IMP_atom.Rf
8456 
8457 _IMP_atom.NUMBER_OF_ELEMENTS_swigconstant(_IMP_atom)
8458 NUMBER_OF_ELEMENTS = _IMP_atom.NUMBER_OF_ELEMENTS
8459 
8460 def hash_value(e):
8461  """hash_value(IMP::atom::Element e) -> size_t"""
8462  return _IMP_atom.hash_value(e)
8463 class ElementTable(object):
8464  """Proxy of C++ IMP::atom::ElementTable class."""
8465 
8466  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8467  __repr__ = _swig_repr
8468 
8469  def __init__(self):
8470  """__init__(IMP::atom::ElementTable self) -> ElementTable"""
8471  this = _IMP_atom.new_ElementTable()
8472  try:
8473  self.this.append(this)
8474  except Exception:
8475  self.this = this
8476 
8477  def get_element(self, s):
8478  """get_element(ElementTable self, std::string const & s) -> IMP::atom::Element"""
8479  return _IMP_atom.ElementTable_get_element(self, s)
8480 
8481 
8482  def get_name(self, e):
8483  """get_name(ElementTable self, IMP::atom::Element e) -> std::string"""
8484  return _IMP_atom.ElementTable_get_name(self, e)
8485 
8486 
8487  def get_mass(self, e):
8488  """get_mass(ElementTable self, IMP::atom::Element e) -> IMP::Float"""
8489  return _IMP_atom.ElementTable_get_mass(self, e)
8490 
8491  __swig_destroy__ = _IMP_atom.delete_ElementTable
8492  __del__ = lambda self: None
8493 ElementTable_swigregister = _IMP_atom.ElementTable_swigregister
8494 ElementTable_swigregister(ElementTable)
8495 
8496 
8497 def get_element_table():
8498  """get_element_table() -> ElementTable"""
8499  return _IMP_atom.get_element_table()
8500 class Atom(Hierarchy):
8501  """Proxy of C++ IMP::atom::Atom class."""
8502 
8503  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8504 
8505  def __init__(self, *args):
8506  """
8507  __init__(IMP::atom::Atom self) -> Atom
8508  __init__(IMP::atom::Atom self, Model m, ParticleIndex id) -> Atom
8509  __init__(IMP::atom::Atom self, _ParticleAdaptor d) -> Atom
8510  """
8511  this = _IMP_atom.new_Atom(*args)
8512  try:
8513  self.this.append(this)
8514  except Exception:
8515  self.this = this
8516 
8517  def show(self, *args):
8518  """
8519  show(Atom self, _ostream out)
8520  show(Atom self)
8521  """
8522  return _IMP_atom.Atom_show(self, *args)
8523 
8524 
8525  def setup_particle(*args):
8526  """
8527  setup_particle(Model m, ParticleIndex pi, Atom other) -> Atom
8528  setup_particle(_ParticleAdaptor decorator, Atom other) -> Atom
8529  setup_particle(Model m, ParticleIndex pi, AtomType atom_type) -> Atom
8530  setup_particle(_ParticleAdaptor decorator, AtomType atom_type) -> Atom
8531  """
8532  return _IMP_atom.Atom_setup_particle(*args)
8533 
8534  setup_particle = staticmethod(setup_particle)
8535 
8536  def get_is_setup(*args):
8537  """
8538  get_is_setup(_ParticleAdaptor p) -> bool
8539  get_is_setup(Model m, ParticleIndex pi) -> bool
8540  """
8541  return _IMP_atom.Atom_get_is_setup(*args)
8542 
8543  get_is_setup = staticmethod(get_is_setup)
8544 
8545  def get_atom_type(self):
8546  """get_atom_type(Atom self) -> AtomType"""
8547  return _IMP_atom.Atom_get_atom_type(self)
8548 
8549 
8550  def set_atom_type(self, t):
8551  """set_atom_type(Atom self, AtomType t)"""
8552  return _IMP_atom.Atom_set_atom_type(self, t)
8553 
8554 
8555  def get_element(self):
8556  """get_element(Atom self) -> IMP::atom::Element"""
8557  return _IMP_atom.Atom_get_element(self)
8558 
8559 
8560  def set_element(self, e):
8561  """set_element(Atom self, IMP::atom::Element e)"""
8562  return _IMP_atom.Atom_set_element(self, e)
8563 
8564 
8565  def get_occupancy(self):
8566  """get_occupancy(Atom self) -> double"""
8567  return _IMP_atom.Atom_get_occupancy(self)
8568 
8569 
8570  def set_occupancy(self, occupancy):
8571  """set_occupancy(Atom self, double occupancy)"""
8572  return _IMP_atom.Atom_set_occupancy(self, occupancy)
8573 
8574 
8575  def get_temperature_factor(self):
8576  """get_temperature_factor(Atom self) -> double"""
8577  return _IMP_atom.Atom_get_temperature_factor(self)
8578 
8579 
8580  def set_temperature_factor(self, tempFactor):
8581  """set_temperature_factor(Atom self, double tempFactor)"""
8582  return _IMP_atom.Atom_set_temperature_factor(self, tempFactor)
8583 
8584 
8585  def get_input_index(self):
8586  """get_input_index(Atom self) -> IMP::Int"""
8587  return _IMP_atom.Atom_get_input_index(self)
8588 
8589 
8590  def set_input_index(self, t):
8591  """set_input_index(Atom self, IMP::Int t)"""
8592  return _IMP_atom.Atom_set_input_index(self, t)
8593 
8594 
8595  def get_atom_type_key():
8596  """get_atom_type_key() -> IntKey"""
8597  return _IMP_atom.Atom_get_atom_type_key()
8598 
8599  get_atom_type_key = staticmethod(get_atom_type_key)
8600 
8601  def get_element_key():
8602  """get_element_key() -> IntKey"""
8603  return _IMP_atom.Atom_get_element_key()
8604 
8605  get_element_key = staticmethod(get_element_key)
8606 
8607  def get_input_index_key():
8608  """get_input_index_key() -> IntKey"""
8609  return _IMP_atom.Atom_get_input_index_key()
8610 
8611  get_input_index_key = staticmethod(get_input_index_key)
8612 
8613  def get_occupancy_key():
8614  """get_occupancy_key() -> FloatKey"""
8615  return _IMP_atom.Atom_get_occupancy_key()
8616 
8617  get_occupancy_key = staticmethod(get_occupancy_key)
8618 
8619  def get_temperature_factor_key():
8620  """get_temperature_factor_key() -> FloatKey"""
8621  return _IMP_atom.Atom_get_temperature_factor_key()
8622 
8623  get_temperature_factor_key = staticmethod(get_temperature_factor_key)
8624 
8625  def add_attribute(self, *args):
8626  """
8627  add_attribute(Atom self, FloatKey k, IMP::Float v, bool opt)
8628  add_attribute(Atom self, FloatKey a0, IMP::Float a1)
8629  add_attribute(Atom self, IntKey a0, IMP::Int a1)
8630  add_attribute(Atom self, StringKey a0, IMP::String a1)
8631  add_attribute(Atom self, ParticleIndexKey a0, Particle a1)
8632  add_attribute(Atom self, ObjectKey a0, Object a1)
8633  """
8634  return _IMP_atom.Atom_add_attribute(self, *args)
8635 
8636 
8637  def get_value(self, *args):
8638  """
8639  get_value(Atom self, FloatKey a0) -> IMP::Float
8640  get_value(Atom self, IntKey a0) -> IMP::Int
8641  get_value(Atom self, StringKey a0) -> IMP::String
8642  get_value(Atom self, ParticleIndexKey a0) -> Particle
8643  get_value(Atom self, ObjectKey a0) -> Object
8644  """
8645  return _IMP_atom.Atom_get_value(self, *args)
8646 
8647 
8648  def set_value(self, *args):
8649  """
8650  set_value(Atom self, FloatKey a0, IMP::Float a1)
8651  set_value(Atom self, IntKey a0, IMP::Int a1)
8652  set_value(Atom self, StringKey a0, IMP::String a1)
8653  set_value(Atom self, ParticleIndexKey a0, Particle a1)
8654  set_value(Atom self, ObjectKey a0, Object a1)
8655  """
8656  return _IMP_atom.Atom_set_value(self, *args)
8657 
8658 
8659  def remove_attribute(self, *args):
8660  """
8661  remove_attribute(Atom self, FloatKey a0)
8662  remove_attribute(Atom self, IntKey a0)
8663  remove_attribute(Atom self, StringKey a0)
8664  remove_attribute(Atom self, ParticleIndexKey a0)
8665  remove_attribute(Atom self, ObjectKey a0)
8666  """
8667  return _IMP_atom.Atom_remove_attribute(self, *args)
8668 
8669 
8670  def has_attribute(self, *args):
8671  """
8672  has_attribute(Atom self, FloatKey a0) -> bool
8673  has_attribute(Atom self, IntKey a0) -> bool
8674  has_attribute(Atom self, StringKey a0) -> bool
8675  has_attribute(Atom self, ParticleIndexKey a0) -> bool
8676  has_attribute(Atom self, ObjectKey a0) -> bool
8677  """
8678  return _IMP_atom.Atom_has_attribute(self, *args)
8679 
8680 
8681  def get_derivative(self, a0):
8682  """get_derivative(Atom self, FloatKey a0) -> double"""
8683  return _IMP_atom.Atom_get_derivative(self, a0)
8684 
8685 
8686  def get_name(self):
8687  """get_name(Atom self) -> std::string"""
8688  return _IMP_atom.Atom_get_name(self)
8689 
8690 
8691  def clear_caches(self):
8692  """clear_caches(Atom self)"""
8693  return _IMP_atom.Atom_clear_caches(self)
8694 
8695 
8696  def set_name(self, a0):
8697  """set_name(Atom self, std::string a0)"""
8698  return _IMP_atom.Atom_set_name(self, a0)
8699 
8700 
8701  def set_check_level(self, a0):
8702  """set_check_level(Atom self, IMP::CheckLevel a0)"""
8703  return _IMP_atom.Atom_set_check_level(self, a0)
8704 
8705 
8706  def add_to_derivative(self, a0, a1, a2):
8707  """add_to_derivative(Atom self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
8708  return _IMP_atom.Atom_add_to_derivative(self, a0, a1, a2)
8709 
8710 
8711  def set_is_optimized(self, a0, a1):
8712  """set_is_optimized(Atom self, FloatKey a0, bool a1)"""
8713  return _IMP_atom.Atom_set_is_optimized(self, a0, a1)
8714 
8715 
8716  def get_is_optimized(self, a0):
8717  """get_is_optimized(Atom self, FloatKey a0) -> bool"""
8718  return _IMP_atom.Atom_get_is_optimized(self, a0)
8719 
8720 
8721  def get_check_level(self):
8722  """get_check_level(Atom self) -> IMP::CheckLevel"""
8723  return _IMP_atom.Atom_get_check_level(self)
8724 
8725 
8726  def __eq__(self, *args):
8727  """
8728  __eq__(Atom self, Atom o) -> bool
8729  __eq__(Atom self, Particle d) -> bool
8730  """
8731  return _IMP_atom.Atom___eq__(self, *args)
8732 
8733 
8734  def __ne__(self, *args):
8735  """
8736  __ne__(Atom self, Atom o) -> bool
8737  __ne__(Atom self, Particle d) -> bool
8738  """
8739  return _IMP_atom.Atom___ne__(self, *args)
8740 
8741 
8742  def __le__(self, *args):
8743  """
8744  __le__(Atom self, Atom o) -> bool
8745  __le__(Atom self, Particle d) -> bool
8746  """
8747  return _IMP_atom.Atom___le__(self, *args)
8748 
8749 
8750  def __lt__(self, *args):
8751  """
8752  __lt__(Atom self, Atom o) -> bool
8753  __lt__(Atom self, Particle d) -> bool
8754  """
8755  return _IMP_atom.Atom___lt__(self, *args)
8756 
8757 
8758  def __ge__(self, *args):
8759  """
8760  __ge__(Atom self, Atom o) -> bool
8761  __ge__(Atom self, Particle d) -> bool
8762  """
8763  return _IMP_atom.Atom___ge__(self, *args)
8764 
8765 
8766  def __gt__(self, *args):
8767  """
8768  __gt__(Atom self, Atom o) -> bool
8769  __gt__(Atom self, Particle d) -> bool
8770  """
8771  return _IMP_atom.Atom___gt__(self, *args)
8772 
8773 
8774  def __hash__(self):
8775  """__hash__(Atom self) -> std::size_t"""
8776  return _IMP_atom.Atom___hash__(self)
8777 
8778 
8779  def __str__(self):
8780  """__str__(Atom self) -> std::string"""
8781  return _IMP_atom.Atom___str__(self)
8782 
8783 
8784  def __repr__(self):
8785  """__repr__(Atom self) -> std::string"""
8786  return _IMP_atom.Atom___repr__(self)
8787 
8788  __swig_destroy__ = _IMP_atom.delete_Atom
8789  __del__ = lambda self: None
8790 Atom_swigregister = _IMP_atom.Atom_swigregister
8791 Atom_swigregister(Atom)
8792 cvar = _IMP_atom.cvar
8793 AT_UNKNOWN = cvar.AT_UNKNOWN
8794 AT_N = cvar.AT_N
8795 AT_CA = cvar.AT_CA
8796 AT_C = cvar.AT_C
8797 AT_O = cvar.AT_O
8798 AT_H = cvar.AT_H
8799 AT_H1 = cvar.AT_H1
8800 AT_H2 = cvar.AT_H2
8801 AT_H3 = cvar.AT_H3
8802 AT_HA = cvar.AT_HA
8803 AT_HA1 = cvar.AT_HA1
8804 AT_HA2 = cvar.AT_HA2
8805 AT_HA3 = cvar.AT_HA3
8806 AT_CB = cvar.AT_CB
8807 AT_HB = cvar.AT_HB
8808 AT_HB1 = cvar.AT_HB1
8809 AT_HB2 = cvar.AT_HB2
8810 AT_HB3 = cvar.AT_HB3
8811 AT_OXT = cvar.AT_OXT
8812 AT_CH3 = cvar.AT_CH3
8813 AT_CH = cvar.AT_CH
8814 AT_CG = cvar.AT_CG
8815 AT_CG1 = cvar.AT_CG1
8816 AT_CG2 = cvar.AT_CG2
8817 AT_HG = cvar.AT_HG
8818 AT_HG1 = cvar.AT_HG1
8819 AT_HG2 = cvar.AT_HG2
8820 AT_HG3 = cvar.AT_HG3
8821 AT_HG11 = cvar.AT_HG11
8822 AT_HG21 = cvar.AT_HG21
8823 AT_HG31 = cvar.AT_HG31
8824 AT_HG12 = cvar.AT_HG12
8825 AT_HG13 = cvar.AT_HG13
8826 AT_HG22 = cvar.AT_HG22
8827 AT_HG23 = cvar.AT_HG23
8828 AT_HG32 = cvar.AT_HG32
8829 AT_OG = cvar.AT_OG
8830 AT_OG1 = cvar.AT_OG1
8831 AT_SG = cvar.AT_SG
8832 AT_CD = cvar.AT_CD
8833 AT_CD1 = cvar.AT_CD1
8834 AT_CD2 = cvar.AT_CD2
8835 AT_HD = cvar.AT_HD
8836 AT_HD1 = cvar.AT_HD1
8837 AT_HD2 = cvar.AT_HD2
8838 AT_HD3 = cvar.AT_HD3
8839 AT_HD11 = cvar.AT_HD11
8840 AT_HD21 = cvar.AT_HD21
8841 AT_HD31 = cvar.AT_HD31
8842 AT_HD12 = cvar.AT_HD12
8843 AT_HD13 = cvar.AT_HD13
8844 AT_HD22 = cvar.AT_HD22
8845 AT_HD23 = cvar.AT_HD23
8846 AT_HD32 = cvar.AT_HD32
8847 AT_SD = cvar.AT_SD
8848 AT_OD1 = cvar.AT_OD1
8849 AT_OD2 = cvar.AT_OD2
8850 AT_ND1 = cvar.AT_ND1
8851 AT_ND2 = cvar.AT_ND2
8852 AT_CE = cvar.AT_CE
8853 AT_CE1 = cvar.AT_CE1
8854 AT_CE2 = cvar.AT_CE2
8855 AT_CE3 = cvar.AT_CE3
8856 AT_HE = cvar.AT_HE
8857 AT_HE1 = cvar.AT_HE1
8858 AT_HE2 = cvar.AT_HE2
8859 AT_HE3 = cvar.AT_HE3
8860 AT_HE21 = cvar.AT_HE21
8861 AT_HE22 = cvar.AT_HE22
8862 AT_OE1 = cvar.AT_OE1
8863 AT_OE2 = cvar.AT_OE2
8864 AT_NE = cvar.AT_NE
8865 AT_NE1 = cvar.AT_NE1
8866 AT_NE2 = cvar.AT_NE2
8867 AT_CZ = cvar.AT_CZ
8868 AT_CZ2 = cvar.AT_CZ2
8869 AT_CZ3 = cvar.AT_CZ3
8870 AT_NZ = cvar.AT_NZ
8871 AT_HZ = cvar.AT_HZ
8872 AT_HZ1 = cvar.AT_HZ1
8873 AT_HZ2 = cvar.AT_HZ2
8874 AT_HZ3 = cvar.AT_HZ3
8875 AT_CH2 = cvar.AT_CH2
8876 AT_NH1 = cvar.AT_NH1
8877 AT_NH2 = cvar.AT_NH2
8878 AT_OH = cvar.AT_OH
8879 AT_HH = cvar.AT_HH
8880 AT_HH11 = cvar.AT_HH11
8881 AT_HH21 = cvar.AT_HH21
8882 AT_HH2 = cvar.AT_HH2
8883 AT_HH12 = cvar.AT_HH12
8884 AT_HH22 = cvar.AT_HH22
8885 AT_HH13 = cvar.AT_HH13
8886 AT_HH23 = cvar.AT_HH23
8887 AT_HH33 = cvar.AT_HH33
8888 AT_P = cvar.AT_P
8889 AT_OP1 = cvar.AT_OP1
8890 AT_OP2 = cvar.AT_OP2
8891 AT_OP3 = cvar.AT_OP3
8892 AT_O5p = cvar.AT_O5p
8893 AT_C5p = cvar.AT_C5p
8894 AT_H5p = cvar.AT_H5p
8895 AT_H5pp = cvar.AT_H5pp
8896 AT_C4p = cvar.AT_C4p
8897 AT_H4p = cvar.AT_H4p
8898 AT_O4p = cvar.AT_O4p
8899 AT_C1p = cvar.AT_C1p
8900 AT_H1p = cvar.AT_H1p
8901 AT_C3p = cvar.AT_C3p
8902 AT_H3p = cvar.AT_H3p
8903 AT_O3p = cvar.AT_O3p
8904 AT_C2p = cvar.AT_C2p
8905 AT_H2p = cvar.AT_H2p
8906 AT_H2pp = cvar.AT_H2pp
8907 AT_O2p = cvar.AT_O2p
8908 AT_HO2p = cvar.AT_HO2p
8909 AT_N9 = cvar.AT_N9
8910 AT_C8 = cvar.AT_C8
8911 AT_H8 = cvar.AT_H8
8912 AT_N7 = cvar.AT_N7
8913 AT_C5 = cvar.AT_C5
8914 AT_C4 = cvar.AT_C4
8915 AT_N3 = cvar.AT_N3
8916 AT_C2 = cvar.AT_C2
8917 AT_N1 = cvar.AT_N1
8918 AT_C6 = cvar.AT_C6
8919 AT_N6 = cvar.AT_N6
8920 AT_H61 = cvar.AT_H61
8921 AT_H62 = cvar.AT_H62
8922 AT_O6 = cvar.AT_O6
8923 AT_N2 = cvar.AT_N2
8924 AT_NT = cvar.AT_NT
8925 AT_H21 = cvar.AT_H21
8926 AT_H22 = cvar.AT_H22
8927 AT_H6 = cvar.AT_H6
8928 AT_H5 = cvar.AT_H5
8929 AT_O2 = cvar.AT_O2
8930 AT_N4 = cvar.AT_N4
8931 AT_H41 = cvar.AT_H41
8932 AT_H42 = cvar.AT_H42
8933 AT_O4 = cvar.AT_O4
8934 AT_C7 = cvar.AT_C7
8935 AT_H71 = cvar.AT_H71
8936 AT_H72 = cvar.AT_H72
8937 AT_H73 = cvar.AT_H73
8938 AT_O1A = cvar.AT_O1A
8939 AT_O2A = cvar.AT_O2A
8940 AT_O3A = cvar.AT_O3A
8941 AT_O1B = cvar.AT_O1B
8942 AT_O2B = cvar.AT_O2B
8943 AT_O3B = cvar.AT_O3B
8944 
8945 def Atom_setup_particle(*args):
8946  """
8947  setup_particle(Model m, ParticleIndex pi, Atom other) -> Atom
8948  setup_particle(_ParticleAdaptor decorator, Atom other) -> Atom
8949  setup_particle(Model m, ParticleIndex pi, AtomType atom_type) -> Atom
8950  Atom_setup_particle(_ParticleAdaptor decorator, AtomType atom_type) -> Atom
8951  """
8952  return _IMP_atom.Atom_setup_particle(*args)
8953 
8954 def Atom_get_is_setup(*args):
8955  """
8956  get_is_setup(_ParticleAdaptor p) -> bool
8957  Atom_get_is_setup(Model m, ParticleIndex pi) -> bool
8958  """
8959  return _IMP_atom.Atom_get_is_setup(*args)
8960 
8961 def Atom_get_atom_type_key():
8962  """Atom_get_atom_type_key() -> IntKey"""
8963  return _IMP_atom.Atom_get_atom_type_key()
8964 
8965 def Atom_get_element_key():
8966  """Atom_get_element_key() -> IntKey"""
8967  return _IMP_atom.Atom_get_element_key()
8968 
8969 def Atom_get_input_index_key():
8970  """Atom_get_input_index_key() -> IntKey"""
8971  return _IMP_atom.Atom_get_input_index_key()
8972 
8973 def Atom_get_occupancy_key():
8974  """Atom_get_occupancy_key() -> FloatKey"""
8975  return _IMP_atom.Atom_get_occupancy_key()
8976 
8977 def Atom_get_temperature_factor_key():
8978  """Atom_get_temperature_factor_key() -> FloatKey"""
8979  return _IMP_atom.Atom_get_temperature_factor_key()
8980 
8981 
8982 def get_residue(*args):
8983  """
8984  get_residue(Hierarchy mhd, unsigned int index) -> Hierarchy
8985  get_residue(Atom d, bool nothrow=False) -> Residue
8986  get_residue(Atom d) -> Residue
8987  """
8988  return _IMP_atom.get_residue(*args)
8989 
8990 def get_atom(rd, at):
8991  """get_atom(Residue rd, AtomType at) -> Atom"""
8992  return _IMP_atom.get_atom(rd, at)
8993 
8994 def add_atom_type(name, e):
8995  """add_atom_type(std::string name, IMP::atom::Element e) -> AtomType"""
8996  return _IMP_atom.add_atom_type(name, e)
8997 
8998 def get_element_for_atom_type(at):
8999  """get_element_for_atom_type(AtomType at) -> IMP::atom::Element"""
9000  return _IMP_atom.get_element_for_atom_type(at)
9001 
9002 def get_atom_type_exists(name):
9003  """get_atom_type_exists(std::string name) -> bool"""
9004  return _IMP_atom.get_atom_type_exists(name)
9005 class Residue(Hierarchy):
9006  """Proxy of C++ IMP::atom::Residue class."""
9007 
9008  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9009 
9010  def __init__(self, *args):
9011  """
9012  __init__(IMP::atom::Residue self) -> Residue
9013  __init__(IMP::atom::Residue self, Model m, ParticleIndex id) -> Residue
9014  __init__(IMP::atom::Residue self, _ParticleAdaptor d) -> Residue
9015  """
9016  this = _IMP_atom.new_Residue(*args)
9017  try:
9018  self.this.append(this)
9019  except Exception:
9020  self.this = this
9021 
9022  def show(self, *args):
9023  """
9024  show(Residue self, _ostream out)
9025  show(Residue self)
9026  """
9027  return _IMP_atom.Residue_show(self, *args)
9028 
9029 
9030  def setup_particle(*args):
9031  """
9032  setup_particle(Model m, ParticleIndex pi, ResidueType t, int index, int insertion_code) -> Residue
9033  setup_particle(_ParticleAdaptor decorator, ResidueType t, int index, int insertion_code) -> Residue
9034  setup_particle(Model m, ParticleIndex pi, ResidueType t, int index) -> Residue
9035  setup_particle(_ParticleAdaptor decorator, ResidueType t, int index) -> Residue
9036  setup_particle(Model m, ParticleIndex pi, ResidueType t) -> Residue
9037  setup_particle(_ParticleAdaptor decorator, ResidueType t) -> Residue
9038  setup_particle(Model m, ParticleIndex pi, Residue other) -> Residue
9039  setup_particle(_ParticleAdaptor decorator, Residue other) -> Residue
9040  """
9041  return _IMP_atom.Residue_setup_particle(*args)
9042 
9043  setup_particle = staticmethod(setup_particle)
9044 
9045  def get_is_setup(*args):
9046  """
9047  get_is_setup(_ParticleAdaptor p) -> bool
9048  get_is_setup(Model m, ParticleIndex pi) -> bool
9049  """
9050  return _IMP_atom.Residue_get_is_setup(*args)
9051 
9052  get_is_setup = staticmethod(get_is_setup)
9053 
9054  def get_residue_type(self):
9055  """get_residue_type(Residue self) -> ResidueType"""
9056  return _IMP_atom.Residue_get_residue_type(self)
9057 
9058 
9059  def set_residue_type(self, t):
9060  """set_residue_type(Residue self, ResidueType t)"""
9061  return _IMP_atom.Residue_set_residue_type(self, t)
9062 
9063 
9064  def get_is_protein(self):
9065  """get_is_protein(Residue self) -> bool"""
9066  return _IMP_atom.Residue_get_is_protein(self)
9067 
9068 
9069  def get_is_dna(self):
9070  """get_is_dna(Residue self) -> bool"""
9071  return _IMP_atom.Residue_get_is_dna(self)
9072 
9073 
9074  def get_is_rna(self):
9075  """get_is_rna(Residue self) -> bool"""
9076  return _IMP_atom.Residue_get_is_rna(self)
9077 
9078 
9079  def get_index(self):
9080  """get_index(Residue self) -> IMP::Int"""
9081  return _IMP_atom.Residue_get_index(self)
9082 
9083 
9084  def set_index(self, t):
9085  """set_index(Residue self, IMP::Int t)"""
9086  return _IMP_atom.Residue_set_index(self, t)
9087 
9088 
9089  def get_insertion_code(self):
9090  """get_insertion_code(Residue self) -> char"""
9091  return _IMP_atom.Residue_get_insertion_code(self)
9092 
9093 
9094  def set_insertion_code(self, insertion_code):
9095  """set_insertion_code(Residue self, char insertion_code)"""
9096  return _IMP_atom.Residue_set_insertion_code(self, insertion_code)
9097 
9098 
9099  def get_index_key():
9100  """get_index_key() -> IntKey"""
9101  return _IMP_atom.Residue_get_index_key()
9102 
9103  get_index_key = staticmethod(get_index_key)
9104 
9105  def get_residue_type_key():
9106  """get_residue_type_key() -> IntKey"""
9107  return _IMP_atom.Residue_get_residue_type_key()
9108 
9109  get_residue_type_key = staticmethod(get_residue_type_key)
9110 
9111  def get_insertion_code_key():
9112  """get_insertion_code_key() -> IntKey"""
9113  return _IMP_atom.Residue_get_insertion_code_key()
9114 
9115  get_insertion_code_key = staticmethod(get_insertion_code_key)
9116 
9117  def add_attribute(self, *args):
9118  """
9119  add_attribute(Residue self, FloatKey k, IMP::Float v, bool opt)
9120  add_attribute(Residue self, FloatKey a0, IMP::Float a1)
9121  add_attribute(Residue self, IntKey a0, IMP::Int a1)
9122  add_attribute(Residue self, StringKey a0, IMP::String a1)
9123  add_attribute(Residue self, ParticleIndexKey a0, Particle a1)
9124  add_attribute(Residue self, ObjectKey a0, Object a1)
9125  """
9126  return _IMP_atom.Residue_add_attribute(self, *args)
9127 
9128 
9129  def get_value(self, *args):
9130  """
9131  get_value(Residue self, FloatKey a0) -> IMP::Float
9132  get_value(Residue self, IntKey a0) -> IMP::Int
9133  get_value(Residue self, StringKey a0) -> IMP::String
9134  get_value(Residue self, ParticleIndexKey a0) -> Particle
9135  get_value(Residue self, ObjectKey a0) -> Object
9136  """
9137  return _IMP_atom.Residue_get_value(self, *args)
9138 
9139 
9140  def set_value(self, *args):
9141  """
9142  set_value(Residue self, FloatKey a0, IMP::Float a1)
9143  set_value(Residue self, IntKey a0, IMP::Int a1)
9144  set_value(Residue self, StringKey a0, IMP::String a1)
9145  set_value(Residue self, ParticleIndexKey a0, Particle a1)
9146  set_value(Residue self, ObjectKey a0, Object a1)
9147  """
9148  return _IMP_atom.Residue_set_value(self, *args)
9149 
9150 
9151  def remove_attribute(self, *args):
9152  """
9153  remove_attribute(Residue self, FloatKey a0)
9154  remove_attribute(Residue self, IntKey a0)
9155  remove_attribute(Residue self, StringKey a0)
9156  remove_attribute(Residue self, ParticleIndexKey a0)
9157  remove_attribute(Residue self, ObjectKey a0)
9158  """
9159  return _IMP_atom.Residue_remove_attribute(self, *args)
9160 
9161 
9162  def has_attribute(self, *args):
9163  """
9164  has_attribute(Residue self, FloatKey a0) -> bool
9165  has_attribute(Residue self, IntKey a0) -> bool
9166  has_attribute(Residue self, StringKey a0) -> bool
9167  has_attribute(Residue self, ParticleIndexKey a0) -> bool
9168  has_attribute(Residue self, ObjectKey a0) -> bool
9169  """
9170  return _IMP_atom.Residue_has_attribute(self, *args)
9171 
9172 
9173  def get_derivative(self, a0):
9174  """get_derivative(Residue self, FloatKey a0) -> double"""
9175  return _IMP_atom.Residue_get_derivative(self, a0)
9176 
9177 
9178  def get_name(self):
9179  """get_name(Residue self) -> std::string"""
9180  return _IMP_atom.Residue_get_name(self)
9181 
9182 
9183  def clear_caches(self):
9184  """clear_caches(Residue self)"""
9185  return _IMP_atom.Residue_clear_caches(self)
9186 
9187 
9188  def set_name(self, a0):
9189  """set_name(Residue self, std::string a0)"""
9190  return _IMP_atom.Residue_set_name(self, a0)
9191 
9192 
9193  def set_check_level(self, a0):
9194  """set_check_level(Residue self, IMP::CheckLevel a0)"""
9195  return _IMP_atom.Residue_set_check_level(self, a0)
9196 
9197 
9198  def add_to_derivative(self, a0, a1, a2):
9199  """add_to_derivative(Residue self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
9200  return _IMP_atom.Residue_add_to_derivative(self, a0, a1, a2)
9201 
9202 
9203  def set_is_optimized(self, a0, a1):
9204  """set_is_optimized(Residue self, FloatKey a0, bool a1)"""
9205  return _IMP_atom.Residue_set_is_optimized(self, a0, a1)
9206 
9207 
9208  def get_is_optimized(self, a0):
9209  """get_is_optimized(Residue self, FloatKey a0) -> bool"""
9210  return _IMP_atom.Residue_get_is_optimized(self, a0)
9211 
9212 
9213  def get_check_level(self):
9214  """get_check_level(Residue self) -> IMP::CheckLevel"""
9215  return _IMP_atom.Residue_get_check_level(self)
9216 
9217 
9218  def __eq__(self, *args):
9219  """
9220  __eq__(Residue self, Residue o) -> bool
9221  __eq__(Residue self, Particle d) -> bool
9222  """
9223  return _IMP_atom.Residue___eq__(self, *args)
9224 
9225 
9226  def __ne__(self, *args):
9227  """
9228  __ne__(Residue self, Residue o) -> bool
9229  __ne__(Residue self, Particle d) -> bool
9230  """
9231  return _IMP_atom.Residue___ne__(self, *args)
9232 
9233 
9234  def __le__(self, *args):
9235  """
9236  __le__(Residue self, Residue o) -> bool
9237  __le__(Residue self, Particle d) -> bool
9238  """
9239  return _IMP_atom.Residue___le__(self, *args)
9240 
9241 
9242  def __lt__(self, *args):
9243  """
9244  __lt__(Residue self, Residue o) -> bool
9245  __lt__(Residue self, Particle d) -> bool
9246  """
9247  return _IMP_atom.Residue___lt__(self, *args)
9248 
9249 
9250  def __ge__(self, *args):
9251  """
9252  __ge__(Residue self, Residue o) -> bool
9253  __ge__(Residue self, Particle d) -> bool
9254  """
9255  return _IMP_atom.Residue___ge__(self, *args)
9256 
9257 
9258  def __gt__(self, *args):
9259  """
9260  __gt__(Residue self, Residue o) -> bool
9261  __gt__(Residue self, Particle d) -> bool
9262  """
9263  return _IMP_atom.Residue___gt__(self, *args)
9264 
9265 
9266  def __hash__(self):
9267  """__hash__(Residue self) -> std::size_t"""
9268  return _IMP_atom.Residue___hash__(self)
9269 
9270 
9271  def __str__(self):
9272  """__str__(Residue self) -> std::string"""
9273  return _IMP_atom.Residue___str__(self)
9274 
9275 
9276  def __repr__(self):
9277  """__repr__(Residue self) -> std::string"""
9278  return _IMP_atom.Residue___repr__(self)
9279 
9280  __swig_destroy__ = _IMP_atom.delete_Residue
9281  __del__ = lambda self: None
9282 Residue_swigregister = _IMP_atom.Residue_swigregister
9283 Residue_swigregister(Residue)
9284 UNK = cvar.UNK
9285 GLY = cvar.GLY
9286 ALA = cvar.ALA
9287 VAL = cvar.VAL
9288 LEU = cvar.LEU
9289 ILE = cvar.ILE
9290 SER = cvar.SER
9291 THR = cvar.THR
9292 CYS = cvar.CYS
9293 MET = cvar.MET
9294 PRO = cvar.PRO
9295 ASP = cvar.ASP
9296 ASN = cvar.ASN
9297 GLU = cvar.GLU
9298 GLN = cvar.GLN
9299 LYS = cvar.LYS
9300 ARG = cvar.ARG
9301 HIS = cvar.HIS
9302 PHE = cvar.PHE
9303 TYR = cvar.TYR
9304 TRP = cvar.TRP
9305 ACE = cvar.ACE
9306 NH2 = cvar.NH2
9307 ADE = cvar.ADE
9308 URA = cvar.URA
9309 CYT = cvar.CYT
9310 GUA = cvar.GUA
9311 THY = cvar.THY
9312 DADE = cvar.DADE
9313 DURA = cvar.DURA
9314 DCYT = cvar.DCYT
9315 DGUA = cvar.DGUA
9316 DTHY = cvar.DTHY
9317 HOH = cvar.HOH
9318 HEME = cvar.HEME
9319 
9320 def Residue_setup_particle(*args):
9321  """
9322  setup_particle(Model m, ParticleIndex pi, ResidueType t, int index, int insertion_code) -> Residue
9323  setup_particle(_ParticleAdaptor decorator, ResidueType t, int index, int insertion_code) -> Residue
9324  setup_particle(Model m, ParticleIndex pi, ResidueType t, int index) -> Residue
9325  setup_particle(_ParticleAdaptor decorator, ResidueType t, int index) -> Residue
9326  setup_particle(Model m, ParticleIndex pi, ResidueType t) -> Residue
9327  setup_particle(_ParticleAdaptor decorator, ResidueType t) -> Residue
9328  setup_particle(Model m, ParticleIndex pi, Residue other) -> Residue
9329  Residue_setup_particle(_ParticleAdaptor decorator, Residue other) -> Residue
9330  """
9331  return _IMP_atom.Residue_setup_particle(*args)
9332 
9333 def Residue_get_is_setup(*args):
9334  """
9335  get_is_setup(_ParticleAdaptor p) -> bool
9336  Residue_get_is_setup(Model m, ParticleIndex pi) -> bool
9337  """
9338  return _IMP_atom.Residue_get_is_setup(*args)
9339 
9340 def Residue_get_index_key():
9341  """Residue_get_index_key() -> IntKey"""
9342  return _IMP_atom.Residue_get_index_key()
9343 
9344 def Residue_get_residue_type_key():
9345  """Residue_get_residue_type_key() -> IntKey"""
9346  return _IMP_atom.Residue_get_residue_type_key()
9347 
9348 def Residue_get_insertion_code_key():
9349  """Residue_get_insertion_code_key() -> IntKey"""
9350  return _IMP_atom.Residue_get_insertion_code_key()
9351 
9352 
9353 def get_next_residue(rd):
9354  """get_next_residue(Residue rd) -> Hierarchy"""
9355  return _IMP_atom.get_next_residue(rd)
9356 
9357 def get_previous_residue(rd):
9358  """get_previous_residue(Residue rd) -> Hierarchy"""
9359  return _IMP_atom.get_previous_residue(rd)
9360 
9361 def get_one_letter_code(c):
9362  """get_one_letter_code(ResidueType c) -> char"""
9363  return _IMP_atom.get_one_letter_code(c)
9364 
9365 _IMP_atom.BALLS_swigconstant(_IMP_atom)
9366 BALLS = _IMP_atom.BALLS
9367 
9368 _IMP_atom.DENSITIES_swigconstant(_IMP_atom)
9369 DENSITIES = _IMP_atom.DENSITIES
9370 class Representation(Hierarchy):
9371  """Proxy of C++ IMP::atom::Representation class."""
9372 
9373  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9374 
9375  def setup_particle(*args):
9376  """
9377  setup_particle(Model m, ParticleIndex pi) -> Representation
9378  setup_particle(_ParticleAdaptor decorator) -> Representation
9379  setup_particle(Model m, ParticleIndex pi, double resolution) -> Representation
9380  setup_particle(_ParticleAdaptor decorator, double resolution) -> Representation
9381  """
9382  return _IMP_atom.Representation_setup_particle(*args)
9383 
9384  setup_particle = staticmethod(setup_particle)
9385 
9386  def __init__(self, *args):
9387  """
9388  __init__(IMP::atom::Representation self) -> Representation
9389  __init__(IMP::atom::Representation self, Model m, ParticleIndex id) -> Representation
9390  __init__(IMP::atom::Representation self, _ParticleAdaptor d) -> Representation
9391  """
9392  this = _IMP_atom.new_Representation(*args)
9393  try:
9394  self.this.append(this)
9395  except Exception:
9396  self.this = this
9397 
9398  def show(self, *args):
9399  """
9400  show(Representation self, _ostream out)
9401  show(Representation self)
9402  """
9403  return _IMP_atom.Representation_show(self, *args)
9404 
9405 
9406  def get_is_setup(*args):
9407  """
9408  get_is_setup(_ParticleAdaptor p) -> bool
9409  get_is_setup(Model m, ParticleIndex pi) -> bool
9410  """
9411  return _IMP_atom.Representation_get_is_setup(*args)
9412 
9413  get_is_setup = staticmethod(get_is_setup)
9414 
9415  def get_representation(self, *args):
9416  """
9417  get_representation(Representation self, double resolution, IMP::atom::RepresentationType type) -> Hierarchy
9418  get_representation(Representation self, double resolution) -> Hierarchy
9419  """
9420  return _IMP_atom.Representation_get_representation(self, *args)
9421 
9422 
9423  def get_representations(self, *args):
9424  """
9425  get_representations(Representation self, IMP::atom::RepresentationType type) -> IMP::atom::Hierarchies
9426  get_representations(Representation self) -> IMP::atom::Hierarchies
9427  """
9428  return _IMP_atom.Representation_get_representations(self, *args)
9429 
9430 
9431  def add_representation(self, *args):
9432  """
9433  add_representation(Representation self, _ParticleIndexAdaptor rep, IMP::atom::RepresentationType type, double resolution=-1)
9434  add_representation(Representation self, _ParticleIndexAdaptor rep, IMP::atom::RepresentationType type)
9435  add_representation(Representation self, _ParticleIndexAdaptor rep)
9436  """
9437  return _IMP_atom.Representation_add_representation(self, *args)
9438 
9439 
9440  def get_resolutions(self, *args):
9441  """
9442  get_resolutions(Representation self, IMP::atom::RepresentationType type) -> IMP::Floats
9443  get_resolutions(Representation self) -> IMP::Floats
9444  """
9445  return _IMP_atom.Representation_get_resolutions(self, *args)
9446 
9447 
9448  def add_attribute(self, *args):
9449  """
9450  add_attribute(Representation self, FloatKey k, IMP::Float v, bool opt)
9451  add_attribute(Representation self, FloatKey a0, IMP::Float a1)
9452  add_attribute(Representation self, IntKey a0, IMP::Int a1)
9453  add_attribute(Representation self, StringKey a0, IMP::String a1)
9454  add_attribute(Representation self, ParticleIndexKey a0, Particle a1)
9455  add_attribute(Representation self, ObjectKey a0, Object a1)
9456  """
9457  return _IMP_atom.Representation_add_attribute(self, *args)
9458 
9459 
9460  def get_value(self, *args):
9461  """
9462  get_value(Representation self, FloatKey a0) -> IMP::Float
9463  get_value(Representation self, IntKey a0) -> IMP::Int
9464  get_value(Representation self, StringKey a0) -> IMP::String
9465  get_value(Representation self, ParticleIndexKey a0) -> Particle
9466  get_value(Representation self, ObjectKey a0) -> Object
9467  """
9468  return _IMP_atom.Representation_get_value(self, *args)
9469 
9470 
9471  def set_value(self, *args):
9472  """
9473  set_value(Representation self, FloatKey a0, IMP::Float a1)
9474  set_value(Representation self, IntKey a0, IMP::Int a1)
9475  set_value(Representation self, StringKey a0, IMP::String a1)
9476  set_value(Representation self, ParticleIndexKey a0, Particle a1)
9477  set_value(Representation self, ObjectKey a0, Object a1)
9478  """
9479  return _IMP_atom.Representation_set_value(self, *args)
9480 
9481 
9482  def remove_attribute(self, *args):
9483  """
9484  remove_attribute(Representation self, FloatKey a0)
9485  remove_attribute(Representation self, IntKey a0)
9486  remove_attribute(Representation self, StringKey a0)
9487  remove_attribute(Representation self, ParticleIndexKey a0)
9488  remove_attribute(Representation self, ObjectKey a0)
9489  """
9490  return _IMP_atom.Representation_remove_attribute(self, *args)
9491 
9492 
9493  def has_attribute(self, *args):
9494  """
9495  has_attribute(Representation self, FloatKey a0) -> bool
9496  has_attribute(Representation self, IntKey a0) -> bool
9497  has_attribute(Representation self, StringKey a0) -> bool
9498  has_attribute(Representation self, ParticleIndexKey a0) -> bool
9499  has_attribute(Representation self, ObjectKey a0) -> bool
9500  """
9501  return _IMP_atom.Representation_has_attribute(self, *args)
9502 
9503 
9504  def get_derivative(self, a0):
9505  """get_derivative(Representation self, FloatKey a0) -> double"""
9506  return _IMP_atom.Representation_get_derivative(self, a0)
9507 
9508 
9509  def get_name(self):
9510  """get_name(Representation self) -> std::string"""
9511  return _IMP_atom.Representation_get_name(self)
9512 
9513 
9514  def clear_caches(self):
9515  """clear_caches(Representation self)"""
9516  return _IMP_atom.Representation_clear_caches(self)
9517 
9518 
9519  def set_name(self, a0):
9520  """set_name(Representation self, std::string a0)"""
9521  return _IMP_atom.Representation_set_name(self, a0)
9522 
9523 
9524  def set_check_level(self, a0):
9525  """set_check_level(Representation self, IMP::CheckLevel a0)"""
9526  return _IMP_atom.Representation_set_check_level(self, a0)
9527 
9528 
9529  def add_to_derivative(self, a0, a1, a2):
9530  """add_to_derivative(Representation self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
9531  return _IMP_atom.Representation_add_to_derivative(self, a0, a1, a2)
9532 
9533 
9534  def set_is_optimized(self, a0, a1):
9535  """set_is_optimized(Representation self, FloatKey a0, bool a1)"""
9536  return _IMP_atom.Representation_set_is_optimized(self, a0, a1)
9537 
9538 
9539  def get_is_optimized(self, a0):
9540  """get_is_optimized(Representation self, FloatKey a0) -> bool"""
9541  return _IMP_atom.Representation_get_is_optimized(self, a0)
9542 
9543 
9544  def get_check_level(self):
9545  """get_check_level(Representation self) -> IMP::CheckLevel"""
9546  return _IMP_atom.Representation_get_check_level(self)
9547 
9548 
9549  def __eq__(self, *args):
9550  """
9551  __eq__(Representation self, Representation o) -> bool
9552  __eq__(Representation self, Particle d) -> bool
9553  """
9554  return _IMP_atom.Representation___eq__(self, *args)
9555 
9556 
9557  def __ne__(self, *args):
9558  """
9559  __ne__(Representation self, Representation o) -> bool
9560  __ne__(Representation self, Particle d) -> bool
9561  """
9562  return _IMP_atom.Representation___ne__(self, *args)
9563 
9564 
9565  def __le__(self, *args):
9566  """
9567  __le__(Representation self, Representation o) -> bool
9568  __le__(Representation self, Particle d) -> bool
9569  """
9570  return _IMP_atom.Representation___le__(self, *args)
9571 
9572 
9573  def __lt__(self, *args):
9574  """
9575  __lt__(Representation self, Representation o) -> bool
9576  __lt__(Representation self, Particle d) -> bool
9577  """
9578  return _IMP_atom.Representation___lt__(self, *args)
9579 
9580 
9581  def __ge__(self, *args):
9582  """
9583  __ge__(Representation self, Representation o) -> bool
9584  __ge__(Representation self, Particle d) -> bool
9585  """
9586  return _IMP_atom.Representation___ge__(self, *args)
9587 
9588 
9589  def __gt__(self, *args):
9590  """
9591  __gt__(Representation self, Representation o) -> bool
9592  __gt__(Representation self, Particle d) -> bool
9593  """
9594  return _IMP_atom.Representation___gt__(self, *args)
9595 
9596 
9597  def __hash__(self):
9598  """__hash__(Representation self) -> std::size_t"""
9599  return _IMP_atom.Representation___hash__(self)
9600 
9601 
9602  def __str__(self):
9603  """__str__(Representation self) -> std::string"""
9604  return _IMP_atom.Representation___str__(self)
9605 
9606 
9607  def __repr__(self):
9608  """__repr__(Representation self) -> std::string"""
9609  return _IMP_atom.Representation___repr__(self)
9610 
9611  __swig_destroy__ = _IMP_atom.delete_Representation
9612  __del__ = lambda self: None
9613 Representation_swigregister = _IMP_atom.Representation_swigregister
9614 Representation_swigregister(Representation)
9615 ALL_RESOLUTIONS = cvar.ALL_RESOLUTIONS
9616 
9617 def Representation_setup_particle(*args):
9618  """
9619  setup_particle(Model m, ParticleIndex pi) -> Representation
9620  setup_particle(_ParticleAdaptor decorator) -> Representation
9621  setup_particle(Model m, ParticleIndex pi, double resolution) -> Representation
9622  Representation_setup_particle(_ParticleAdaptor decorator, double resolution) -> Representation
9623  """
9624  return _IMP_atom.Representation_setup_particle(*args)
9625 
9626 def Representation_get_is_setup(*args):
9627  """
9628  get_is_setup(_ParticleAdaptor p) -> bool
9629  Representation_get_is_setup(Model m, ParticleIndex pi) -> bool
9630  """
9631  return _IMP_atom.Representation_get_is_setup(*args)
9632 
9633 
9634 def get_resolution(*args):
9635  """
9636  get_resolution(Model m, ParticleIndex pi) -> double
9637  get_resolution(Hierarchy h) -> double
9638  """
9639  return _IMP_atom.get_resolution(*args)
9640 
9641 def get_representation(h, nothrow=False):
9642  """
9643  get_representation(Hierarchy h, bool nothrow=False) -> Representation
9644  get_representation(Hierarchy h) -> Representation
9645  """
9646  return _IMP_atom.get_representation(h, nothrow)
9647 
9648 def show_with_representations(*args):
9649  """
9650  show_with_representations(Hierarchy h, _ostream out)
9651  show_with_representations(Hierarchy h)
9652  """
9653  return _IMP_atom.show_with_representations(*args)
9654 class State(Hierarchy):
9655  """Proxy of C++ IMP::atom::State class."""
9656 
9657  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9658 
9659  def setup_particle(*args):
9660  """
9661  setup_particle(Model m, ParticleIndex pi, unsigned int index) -> State
9662  setup_particle(_ParticleAdaptor decorator, unsigned int index) -> State
9663  """
9664  return _IMP_atom.State_setup_particle(*args)
9665 
9666  setup_particle = staticmethod(setup_particle)
9667 
9668  def __init__(self, *args):
9669  """
9670  __init__(IMP::atom::State self) -> State
9671  __init__(IMP::atom::State self, Model m, ParticleIndex id) -> State
9672  __init__(IMP::atom::State self, _ParticleAdaptor d) -> State
9673  """
9674  this = _IMP_atom.new_State(*args)
9675  try:
9676  self.this.append(this)
9677  except Exception:
9678  self.this = this
9679 
9680  def show(self, *args):
9681  """
9682  show(State self, _ostream out)
9683  show(State self)
9684  """
9685  return _IMP_atom.State_show(self, *args)
9686 
9687 
9688  def get_is_setup(*args):
9689  """
9690  get_is_setup(_ParticleAdaptor p) -> bool
9691  get_is_setup(Model m, ParticleIndex pi) -> bool
9692  """
9693  return _IMP_atom.State_get_is_setup(*args)
9694 
9695  get_is_setup = staticmethod(get_is_setup)
9696 
9697  def get_state_index(self):
9698  """get_state_index(State self) -> unsigned int"""
9699  return _IMP_atom.State_get_state_index(self)
9700 
9701 
9702  def add_attribute(self, *args):
9703  """
9704  add_attribute(State self, FloatKey k, IMP::Float v, bool opt)
9705  add_attribute(State self, FloatKey a0, IMP::Float a1)
9706  add_attribute(State self, IntKey a0, IMP::Int a1)
9707  add_attribute(State self, StringKey a0, IMP::String a1)
9708  add_attribute(State self, ParticleIndexKey a0, Particle a1)
9709  add_attribute(State self, ObjectKey a0, Object a1)
9710  """
9711  return _IMP_atom.State_add_attribute(self, *args)
9712 
9713 
9714  def get_value(self, *args):
9715  """
9716  get_value(State self, FloatKey a0) -> IMP::Float
9717  get_value(State self, IntKey a0) -> IMP::Int
9718  get_value(State self, StringKey a0) -> IMP::String
9719  get_value(State self, ParticleIndexKey a0) -> Particle
9720  get_value(State self, ObjectKey a0) -> Object
9721  """
9722  return _IMP_atom.State_get_value(self, *args)
9723 
9724 
9725  def set_value(self, *args):
9726  """
9727  set_value(State self, FloatKey a0, IMP::Float a1)
9728  set_value(State self, IntKey a0, IMP::Int a1)
9729  set_value(State self, StringKey a0, IMP::String a1)
9730  set_value(State self, ParticleIndexKey a0, Particle a1)
9731  set_value(State self, ObjectKey a0, Object a1)
9732  """
9733  return _IMP_atom.State_set_value(self, *args)
9734 
9735 
9736  def remove_attribute(self, *args):
9737  """
9738  remove_attribute(State self, FloatKey a0)
9739  remove_attribute(State self, IntKey a0)
9740  remove_attribute(State self, StringKey a0)
9741  remove_attribute(State self, ParticleIndexKey a0)
9742  remove_attribute(State self, ObjectKey a0)
9743  """
9744  return _IMP_atom.State_remove_attribute(self, *args)
9745 
9746 
9747  def has_attribute(self, *args):
9748  """
9749  has_attribute(State self, FloatKey a0) -> bool
9750  has_attribute(State self, IntKey a0) -> bool
9751  has_attribute(State self, StringKey a0) -> bool
9752  has_attribute(State self, ParticleIndexKey a0) -> bool
9753  has_attribute(State self, ObjectKey a0) -> bool
9754  """
9755  return _IMP_atom.State_has_attribute(self, *args)
9756 
9757 
9758  def get_derivative(self, a0):
9759  """get_derivative(State self, FloatKey a0) -> double"""
9760  return _IMP_atom.State_get_derivative(self, a0)
9761 
9762 
9763  def get_name(self):
9764  """get_name(State self) -> std::string"""
9765  return _IMP_atom.State_get_name(self)
9766 
9767 
9768  def clear_caches(self):
9769  """clear_caches(State self)"""
9770  return _IMP_atom.State_clear_caches(self)
9771 
9772 
9773  def set_name(self, a0):
9774  """set_name(State self, std::string a0)"""
9775  return _IMP_atom.State_set_name(self, a0)
9776 
9777 
9778  def set_check_level(self, a0):
9779  """set_check_level(State self, IMP::CheckLevel a0)"""
9780  return _IMP_atom.State_set_check_level(self, a0)
9781 
9782 
9783  def add_to_derivative(self, a0, a1, a2):
9784  """add_to_derivative(State self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
9785  return _IMP_atom.State_add_to_derivative(self, a0, a1, a2)
9786 
9787 
9788  def set_is_optimized(self, a0, a1):
9789  """set_is_optimized(State self, FloatKey a0, bool a1)"""
9790  return _IMP_atom.State_set_is_optimized(self, a0, a1)
9791 
9792 
9793  def get_is_optimized(self, a0):
9794  """get_is_optimized(State self, FloatKey a0) -> bool"""
9795  return _IMP_atom.State_get_is_optimized(self, a0)
9796 
9797 
9798  def get_check_level(self):
9799  """get_check_level(State self) -> IMP::CheckLevel"""
9800  return _IMP_atom.State_get_check_level(self)
9801 
9802 
9803  def __eq__(self, *args):
9804  """
9805  __eq__(State self, State o) -> bool
9806  __eq__(State self, Particle d) -> bool
9807  """
9808  return _IMP_atom.State___eq__(self, *args)
9809 
9810 
9811  def __ne__(self, *args):
9812  """
9813  __ne__(State self, State o) -> bool
9814  __ne__(State self, Particle d) -> bool
9815  """
9816  return _IMP_atom.State___ne__(self, *args)
9817 
9818 
9819  def __le__(self, *args):
9820  """
9821  __le__(State self, State o) -> bool
9822  __le__(State self, Particle d) -> bool
9823  """
9824  return _IMP_atom.State___le__(self, *args)
9825 
9826 
9827  def __lt__(self, *args):
9828  """
9829  __lt__(State self, State o) -> bool
9830  __lt__(State self, Particle d) -> bool
9831  """
9832  return _IMP_atom.State___lt__(self, *args)
9833 
9834 
9835  def __ge__(self, *args):
9836  """
9837  __ge__(State self, State o) -> bool
9838  __ge__(State self, Particle d) -> bool
9839  """
9840  return _IMP_atom.State___ge__(self, *args)
9841 
9842 
9843  def __gt__(self, *args):
9844  """
9845  __gt__(State self, State o) -> bool
9846  __gt__(State self, Particle d) -> bool
9847  """
9848  return _IMP_atom.State___gt__(self, *args)
9849 
9850 
9851  def __hash__(self):
9852  """__hash__(State self) -> std::size_t"""
9853  return _IMP_atom.State___hash__(self)
9854 
9855 
9856  def __str__(self):
9857  """__str__(State self) -> std::string"""
9858  return _IMP_atom.State___str__(self)
9859 
9860 
9861  def __repr__(self):
9862  """__repr__(State self) -> std::string"""
9863  return _IMP_atom.State___repr__(self)
9864 
9865  __swig_destroy__ = _IMP_atom.delete_State
9866  __del__ = lambda self: None
9867 State_swigregister = _IMP_atom.State_swigregister
9868 State_swigregister(State)
9869 
9870 def State_setup_particle(*args):
9871  """
9872  setup_particle(Model m, ParticleIndex pi, unsigned int index) -> State
9873  State_setup_particle(_ParticleAdaptor decorator, unsigned int index) -> State
9874  """
9875  return _IMP_atom.State_setup_particle(*args)
9876 
9877 def State_get_is_setup(*args):
9878  """
9879  get_is_setup(_ParticleAdaptor p) -> bool
9880  State_get_is_setup(Model m, ParticleIndex pi) -> bool
9881  """
9882  return _IMP_atom.State_get_is_setup(*args)
9883 
9884 
9885 def get_state_index(h):
9886  """get_state_index(Hierarchy h) -> int"""
9887  return _IMP_atom.get_state_index(h)
9888 
9889 def get_phi_dihedral_atoms(rd):
9890  """get_phi_dihedral_atoms(Residue rd) -> IMP::atom::Atoms"""
9891  return _IMP_atom.get_phi_dihedral_atoms(rd)
9892 
9893 def get_psi_dihedral_atoms(rd):
9894  """get_psi_dihedral_atoms(Residue rd) -> IMP::atom::Atoms"""
9895  return _IMP_atom.get_psi_dihedral_atoms(rd)
9896 class Molecule(Hierarchy):
9897  """Proxy of C++ IMP::atom::Molecule class."""
9898 
9899  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9900 
9901  def __init__(self, *args):
9902  """
9903  __init__(IMP::atom::Molecule self) -> Molecule
9904  __init__(IMP::atom::Molecule self, Model m, ParticleIndex id) -> Molecule
9905  __init__(IMP::atom::Molecule self, _ParticleAdaptor d) -> Molecule
9906  """
9907  this = _IMP_atom.new_Molecule(*args)
9908  try:
9909  self.this.append(this)
9910  except Exception:
9911  self.this = this
9912 
9913  def show(self, *args):
9914  """
9915  show(Molecule self, _ostream out)
9916  show(Molecule self)
9917  """
9918  return _IMP_atom.Molecule_show(self, *args)
9919 
9920 
9921  def setup_particle(*args):
9922  """
9923  setup_particle(Model m, ParticleIndex pi) -> Molecule
9924  setup_particle(_ParticleAdaptor decorator) -> Molecule
9925  setup_particle(Model m, ParticleIndex pi, Molecule other) -> Molecule
9926  setup_particle(_ParticleAdaptor decorator, Molecule other) -> Molecule
9927  """
9928  return _IMP_atom.Molecule_setup_particle(*args)
9929 
9930  setup_particle = staticmethod(setup_particle)
9931 
9932  def get_is_setup(*args):
9933  """
9934  get_is_setup(_ParticleAdaptor p) -> bool
9935  get_is_setup(Model m, ParticleIndex pi) -> bool
9936  """
9937  return _IMP_atom.Molecule_get_is_setup(*args)
9938 
9939  get_is_setup = staticmethod(get_is_setup)
9940 
9941  def add_attribute(self, *args):
9942  """
9943  add_attribute(Molecule self, FloatKey k, IMP::Float v, bool opt)
9944  add_attribute(Molecule self, FloatKey a0, IMP::Float a1)
9945  add_attribute(Molecule self, IntKey a0, IMP::Int a1)
9946  add_attribute(Molecule self, StringKey a0, IMP::String a1)
9947  add_attribute(Molecule self, ParticleIndexKey a0, Particle a1)
9948  add_attribute(Molecule self, ObjectKey a0, Object a1)
9949  """
9950  return _IMP_atom.Molecule_add_attribute(self, *args)
9951 
9952 
9953  def get_value(self, *args):
9954  """
9955  get_value(Molecule self, FloatKey a0) -> IMP::Float
9956  get_value(Molecule self, IntKey a0) -> IMP::Int
9957  get_value(Molecule self, StringKey a0) -> IMP::String
9958  get_value(Molecule self, ParticleIndexKey a0) -> Particle
9959  get_value(Molecule self, ObjectKey a0) -> Object
9960  """
9961  return _IMP_atom.Molecule_get_value(self, *args)
9962 
9963 
9964  def set_value(self, *args):
9965  """
9966  set_value(Molecule self, FloatKey a0, IMP::Float a1)
9967  set_value(Molecule self, IntKey a0, IMP::Int a1)
9968  set_value(Molecule self, StringKey a0, IMP::String a1)
9969  set_value(Molecule self, ParticleIndexKey a0, Particle a1)
9970  set_value(Molecule self, ObjectKey a0, Object a1)
9971  """
9972  return _IMP_atom.Molecule_set_value(self, *args)
9973 
9974 
9975  def remove_attribute(self, *args):
9976  """
9977  remove_attribute(Molecule self, FloatKey a0)
9978  remove_attribute(Molecule self, IntKey a0)
9979  remove_attribute(Molecule self, StringKey a0)
9980  remove_attribute(Molecule self, ParticleIndexKey a0)
9981  remove_attribute(Molecule self, ObjectKey a0)
9982  """
9983  return _IMP_atom.Molecule_remove_attribute(self, *args)
9984 
9985 
9986  def has_attribute(self, *args):
9987  """
9988  has_attribute(Molecule self, FloatKey a0) -> bool
9989  has_attribute(Molecule self, IntKey a0) -> bool
9990  has_attribute(Molecule self, StringKey a0) -> bool
9991  has_attribute(Molecule self, ParticleIndexKey a0) -> bool
9992  has_attribute(Molecule self, ObjectKey a0) -> bool
9993  """
9994  return _IMP_atom.Molecule_has_attribute(self, *args)
9995 
9996 
9997  def get_derivative(self, a0):
9998  """get_derivative(Molecule self, FloatKey a0) -> double"""
9999  return _IMP_atom.Molecule_get_derivative(self, a0)
10000 
10001 
10002  def get_name(self):
10003  """get_name(Molecule self) -> std::string"""
10004  return _IMP_atom.Molecule_get_name(self)
10005 
10006 
10007  def clear_caches(self):
10008  """clear_caches(Molecule self)"""
10009  return _IMP_atom.Molecule_clear_caches(self)
10010 
10011 
10012  def set_name(self, a0):
10013  """set_name(Molecule self, std::string a0)"""
10014  return _IMP_atom.Molecule_set_name(self, a0)
10015 
10016 
10017  def set_check_level(self, a0):
10018  """set_check_level(Molecule self, IMP::CheckLevel a0)"""
10019  return _IMP_atom.Molecule_set_check_level(self, a0)
10020 
10021 
10022  def add_to_derivative(self, a0, a1, a2):
10023  """add_to_derivative(Molecule self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
10024  return _IMP_atom.Molecule_add_to_derivative(self, a0, a1, a2)
10025 
10026 
10027  def set_is_optimized(self, a0, a1):
10028  """set_is_optimized(Molecule self, FloatKey a0, bool a1)"""
10029  return _IMP_atom.Molecule_set_is_optimized(self, a0, a1)
10030 
10031 
10032  def get_is_optimized(self, a0):
10033  """get_is_optimized(Molecule self, FloatKey a0) -> bool"""
10034  return _IMP_atom.Molecule_get_is_optimized(self, a0)
10035 
10036 
10037  def get_check_level(self):
10038  """get_check_level(Molecule self) -> IMP::CheckLevel"""
10039  return _IMP_atom.Molecule_get_check_level(self)
10040 
10041 
10042  def __eq__(self, *args):
10043  """
10044  __eq__(Molecule self, Molecule o) -> bool
10045  __eq__(Molecule self, Particle d) -> bool
10046  """
10047  return _IMP_atom.Molecule___eq__(self, *args)
10048 
10049 
10050  def __ne__(self, *args):
10051  """
10052  __ne__(Molecule self, Molecule o) -> bool
10053  __ne__(Molecule self, Particle d) -> bool
10054  """
10055  return _IMP_atom.Molecule___ne__(self, *args)
10056 
10057 
10058  def __le__(self, *args):
10059  """
10060  __le__(Molecule self, Molecule o) -> bool
10061  __le__(Molecule self, Particle d) -> bool
10062  """
10063  return _IMP_atom.Molecule___le__(self, *args)
10064 
10065 
10066  def __lt__(self, *args):
10067  """
10068  __lt__(Molecule self, Molecule o) -> bool
10069  __lt__(Molecule self, Particle d) -> bool
10070  """
10071  return _IMP_atom.Molecule___lt__(self, *args)
10072 
10073 
10074  def __ge__(self, *args):
10075  """
10076  __ge__(Molecule self, Molecule o) -> bool
10077  __ge__(Molecule self, Particle d) -> bool
10078  """
10079  return _IMP_atom.Molecule___ge__(self, *args)
10080 
10081 
10082  def __gt__(self, *args):
10083  """
10084  __gt__(Molecule self, Molecule o) -> bool
10085  __gt__(Molecule self, Particle d) -> bool
10086  """
10087  return _IMP_atom.Molecule___gt__(self, *args)
10088 
10089 
10090  def __hash__(self):
10091  """__hash__(Molecule self) -> std::size_t"""
10092  return _IMP_atom.Molecule___hash__(self)
10093 
10094 
10095  def __str__(self):
10096  """__str__(Molecule self) -> std::string"""
10097  return _IMP_atom.Molecule___str__(self)
10098 
10099 
10100  def __repr__(self):
10101  """__repr__(Molecule self) -> std::string"""
10102  return _IMP_atom.Molecule___repr__(self)
10103 
10104  __swig_destroy__ = _IMP_atom.delete_Molecule
10105  __del__ = lambda self: None
10106 Molecule_swigregister = _IMP_atom.Molecule_swigregister
10107 Molecule_swigregister(Molecule)
10108 
10109 def Molecule_setup_particle(*args):
10110  """
10111  setup_particle(Model m, ParticleIndex pi) -> Molecule
10112  setup_particle(_ParticleAdaptor decorator) -> Molecule
10113  setup_particle(Model m, ParticleIndex pi, Molecule other) -> Molecule
10114  Molecule_setup_particle(_ParticleAdaptor decorator, Molecule other) -> Molecule
10115  """
10116  return _IMP_atom.Molecule_setup_particle(*args)
10117 
10118 def Molecule_get_is_setup(*args):
10119  """
10120  get_is_setup(_ParticleAdaptor p) -> bool
10121  Molecule_get_is_setup(Model m, ParticleIndex pi) -> bool
10122  """
10123  return _IMP_atom.Molecule_get_is_setup(*args)
10124 
10125 
10126 def get_molecule_name(h):
10127  """get_molecule_name(Hierarchy h) -> std::string"""
10128  return _IMP_atom.get_molecule_name(h)
10129 class Copy(Molecule):
10130  """Proxy of C++ IMP::atom::Copy class."""
10131 
10132  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10133 
10134  def get_copy_index_key():
10135  """get_copy_index_key() -> IntKey"""
10136  return _IMP_atom.Copy_get_copy_index_key()
10137 
10138  get_copy_index_key = staticmethod(get_copy_index_key)
10139 
10140  def __init__(self, *args):
10141  """
10142  __init__(IMP::atom::Copy self) -> Copy
10143  __init__(IMP::atom::Copy self, Model m, ParticleIndex id) -> Copy
10144  __init__(IMP::atom::Copy self, _ParticleAdaptor d) -> Copy
10145  """
10146  this = _IMP_atom.new_Copy(*args)
10147  try:
10148  self.this.append(this)
10149  except Exception:
10150  self.this = this
10151 
10152  def show(self, *args):
10153  """
10154  show(Copy self, _ostream out)
10155  show(Copy self)
10156  """
10157  return _IMP_atom.Copy_show(self, *args)
10158 
10159 
10160  def setup_particle(*args):
10161  """
10162  setup_particle(Model m, ParticleIndex pi, IMP::Int number) -> Copy
10163  setup_particle(_ParticleAdaptor decorator, IMP::Int number) -> Copy
10164  """
10165  return _IMP_atom.Copy_setup_particle(*args)
10166 
10167  setup_particle = staticmethod(setup_particle)
10168 
10169  def get_is_setup(*args):
10170  """
10171  get_is_setup(_ParticleAdaptor p) -> bool
10172  get_is_setup(Model m, ParticleIndex pi) -> bool
10173  """
10174  return _IMP_atom.Copy_get_is_setup(*args)
10175 
10176  get_is_setup = staticmethod(get_is_setup)
10177 
10178  def get_copy_index(self):
10179  """get_copy_index(Copy self) -> int"""
10180  return _IMP_atom.Copy_get_copy_index(self)
10181 
10182 
10183  def add_attribute(self, *args):
10184  """
10185  add_attribute(Copy self, FloatKey k, IMP::Float v, bool opt)
10186  add_attribute(Copy self, FloatKey a0, IMP::Float a1)
10187  add_attribute(Copy self, IntKey a0, IMP::Int a1)
10188  add_attribute(Copy self, StringKey a0, IMP::String a1)
10189  add_attribute(Copy self, ParticleIndexKey a0, Particle a1)
10190  add_attribute(Copy self, ObjectKey a0, Object a1)
10191  """
10192  return _IMP_atom.Copy_add_attribute(self, *args)
10193 
10194 
10195  def get_value(self, *args):
10196  """
10197  get_value(Copy self, FloatKey a0) -> IMP::Float
10198  get_value(Copy self, IntKey a0) -> IMP::Int
10199  get_value(Copy self, StringKey a0) -> IMP::String
10200  get_value(Copy self, ParticleIndexKey a0) -> Particle
10201  get_value(Copy self, ObjectKey a0) -> Object
10202  """
10203  return _IMP_atom.Copy_get_value(self, *args)
10204 
10205 
10206  def set_value(self, *args):
10207  """
10208  set_value(Copy self, FloatKey a0, IMP::Float a1)
10209  set_value(Copy self, IntKey a0, IMP::Int a1)
10210  set_value(Copy self, StringKey a0, IMP::String a1)
10211  set_value(Copy self, ParticleIndexKey a0, Particle a1)
10212  set_value(Copy self, ObjectKey a0, Object a1)
10213  """
10214  return _IMP_atom.Copy_set_value(self, *args)
10215 
10216 
10217  def remove_attribute(self, *args):
10218  """
10219  remove_attribute(Copy self, FloatKey a0)
10220  remove_attribute(Copy self, IntKey a0)
10221  remove_attribute(Copy self, StringKey a0)
10222  remove_attribute(Copy self, ParticleIndexKey a0)
10223  remove_attribute(Copy self, ObjectKey a0)
10224  """
10225  return _IMP_atom.Copy_remove_attribute(self, *args)
10226 
10227 
10228  def has_attribute(self, *args):
10229  """
10230  has_attribute(Copy self, FloatKey a0) -> bool
10231  has_attribute(Copy self, IntKey a0) -> bool
10232  has_attribute(Copy self, StringKey a0) -> bool
10233  has_attribute(Copy self, ParticleIndexKey a0) -> bool
10234  has_attribute(Copy self, ObjectKey a0) -> bool
10235  """
10236  return _IMP_atom.Copy_has_attribute(self, *args)
10237 
10238 
10239  def get_derivative(self, a0):
10240  """get_derivative(Copy self, FloatKey a0) -> double"""
10241  return _IMP_atom.Copy_get_derivative(self, a0)
10242 
10243 
10244  def get_name(self):
10245  """get_name(Copy self) -> std::string"""
10246  return _IMP_atom.Copy_get_name(self)
10247 
10248 
10249  def clear_caches(self):
10250  """clear_caches(Copy self)"""
10251  return _IMP_atom.Copy_clear_caches(self)
10252 
10253 
10254  def set_name(self, a0):
10255  """set_name(Copy self, std::string a0)"""
10256  return _IMP_atom.Copy_set_name(self, a0)
10257 
10258 
10259  def set_check_level(self, a0):
10260  """set_check_level(Copy self, IMP::CheckLevel a0)"""
10261  return _IMP_atom.Copy_set_check_level(self, a0)
10262 
10263 
10264  def add_to_derivative(self, a0, a1, a2):
10265  """add_to_derivative(Copy self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
10266  return _IMP_atom.Copy_add_to_derivative(self, a0, a1, a2)
10267 
10268 
10269  def set_is_optimized(self, a0, a1):
10270  """set_is_optimized(Copy self, FloatKey a0, bool a1)"""
10271  return _IMP_atom.Copy_set_is_optimized(self, a0, a1)
10272 
10273 
10274  def get_is_optimized(self, a0):
10275  """get_is_optimized(Copy self, FloatKey a0) -> bool"""
10276  return _IMP_atom.Copy_get_is_optimized(self, a0)
10277 
10278 
10279  def get_check_level(self):
10280  """get_check_level(Copy self) -> IMP::CheckLevel"""
10281  return _IMP_atom.Copy_get_check_level(self)
10282 
10283 
10284  def __eq__(self, *args):
10285  """
10286  __eq__(Copy self, Copy o) -> bool
10287  __eq__(Copy self, Particle d) -> bool
10288  """
10289  return _IMP_atom.Copy___eq__(self, *args)
10290 
10291 
10292  def __ne__(self, *args):
10293  """
10294  __ne__(Copy self, Copy o) -> bool
10295  __ne__(Copy self, Particle d) -> bool
10296  """
10297  return _IMP_atom.Copy___ne__(self, *args)
10298 
10299 
10300  def __le__(self, *args):
10301  """
10302  __le__(Copy self, Copy o) -> bool
10303  __le__(Copy self, Particle d) -> bool
10304  """
10305  return _IMP_atom.Copy___le__(self, *args)
10306 
10307 
10308  def __lt__(self, *args):
10309  """
10310  __lt__(Copy self, Copy o) -> bool
10311  __lt__(Copy self, Particle d) -> bool
10312  """
10313  return _IMP_atom.Copy___lt__(self, *args)
10314 
10315 
10316  def __ge__(self, *args):
10317  """
10318  __ge__(Copy self, Copy o) -> bool
10319  __ge__(Copy self, Particle d) -> bool
10320  """
10321  return _IMP_atom.Copy___ge__(self, *args)
10322 
10323 
10324  def __gt__(self, *args):
10325  """
10326  __gt__(Copy self, Copy o) -> bool
10327  __gt__(Copy self, Particle d) -> bool
10328  """
10329  return _IMP_atom.Copy___gt__(self, *args)
10330 
10331 
10332  def __hash__(self):
10333  """__hash__(Copy self) -> std::size_t"""
10334  return _IMP_atom.Copy___hash__(self)
10335 
10336 
10337  def __str__(self):
10338  """__str__(Copy self) -> std::string"""
10339  return _IMP_atom.Copy___str__(self)
10340 
10341 
10342  def __repr__(self):
10343  """__repr__(Copy self) -> std::string"""
10344  return _IMP_atom.Copy___repr__(self)
10345 
10346  __swig_destroy__ = _IMP_atom.delete_Copy
10347  __del__ = lambda self: None
10348 Copy_swigregister = _IMP_atom.Copy_swigregister
10349 Copy_swigregister(Copy)
10350 
10351 def Copy_get_copy_index_key():
10352  """Copy_get_copy_index_key() -> IntKey"""
10353  return _IMP_atom.Copy_get_copy_index_key()
10354 
10355 def Copy_setup_particle(*args):
10356  """
10357  setup_particle(Model m, ParticleIndex pi, IMP::Int number) -> Copy
10358  Copy_setup_particle(_ParticleAdaptor decorator, IMP::Int number) -> Copy
10359  """
10360  return _IMP_atom.Copy_setup_particle(*args)
10361 
10362 def Copy_get_is_setup(*args):
10363  """
10364  get_is_setup(_ParticleAdaptor p) -> bool
10365  Copy_get_is_setup(Model m, ParticleIndex pi) -> bool
10366  """
10367  return _IMP_atom.Copy_get_is_setup(*args)
10368 
10369 
10370 def get_copy_index(h):
10371  """get_copy_index(Hierarchy h) -> int"""
10372  return _IMP_atom.get_copy_index(h)
10373 class Selection(IMP._ParticleIndexesAdaptor):
10374  """Proxy of C++ IMP::atom::Selection class."""
10375 
10376  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10377  NONE = _IMP_atom.Selection_NONE
10378  C = _IMP_atom.Selection_C
10379  N = _IMP_atom.Selection_N
10380 
10381  def __init__(self, *args):
10382  """
10383  __init__(IMP::atom::Selection self) -> Selection
10384  __init__(IMP::atom::Selection self, Hierarchy h) -> Selection
10385  __init__(IMP::atom::Selection self, Particle h) -> Selection
10386  __init__(IMP::atom::Selection self, Model m, IMP::ParticleIndexes const & pis) -> Selection
10387  __init__(IMP::atom::Selection self, IMP::ParticlesTemp const & h) -> Selection
10388  """
10389  this = _IMP_atom.new_Selection(*args)
10390  try:
10391  self.this.append(this)
10392  except Exception:
10393  self.this = this
10394 
10395  def create_clone(self):
10396  """create_clone(Selection self) -> Selection"""
10397  return _IMP_atom.Selection_create_clone(self)
10398 
10399 
10400  def get_hierarchies(self):
10401  """get_hierarchies(Selection self) -> IMP::atom::Hierarchies"""
10402  return _IMP_atom.Selection_get_hierarchies(self)
10403 
10404 
10405  def set_molecules(self, mols):
10406  """set_molecules(Selection self, IMP::Strings mols)"""
10407  return _IMP_atom.Selection_set_molecules(self, mols)
10408 
10409 
10410  def set_resolution(self, r):
10411  """set_resolution(Selection self, double r)"""
10412  return _IMP_atom.Selection_set_resolution(self, r)
10413 
10414 
10415  def set_representation_type(self, t):
10416  """set_representation_type(Selection self, IMP::atom::RepresentationType t)"""
10417  return _IMP_atom.Selection_set_representation_type(self, t)
10418 
10419 
10420  def set_state_index(self, state):
10421  """set_state_index(Selection self, int state)"""
10422  return _IMP_atom.Selection_set_state_index(self, state)
10423 
10424 
10425  def set_state_indexes(self, states):
10426  """set_state_indexes(Selection self, IMP::Ints states)"""
10427  return _IMP_atom.Selection_set_state_indexes(self, states)
10428 
10429 
10430  def set_terminus(self, t):
10431  """set_terminus(Selection self, IMP::atom::Selection::Terminus t)"""
10432  return _IMP_atom.Selection_set_terminus(self, t)
10433 
10434 
10435  def set_element(self, e):
10436  """set_element(Selection self, IMP::atom::Element e)"""
10437  return _IMP_atom.Selection_set_element(self, e)
10438 
10439 
10440  def set_chain_ids(self, chains):
10441  """set_chain_ids(Selection self, IMP::Strings chains)"""
10442  return _IMP_atom.Selection_set_chain_ids(self, chains)
10443 
10444 
10445  def set_chains(self, chains):
10446  """set_chains(Selection self, IMP::Strings chains)"""
10447  return _IMP_atom.Selection_set_chains(self, chains)
10448 
10449 
10450  def set_residue_indexes(self, indexes):
10451  """set_residue_indexes(Selection self, IMP::Ints indexes)"""
10452  return _IMP_atom.Selection_set_residue_indexes(self, indexes)
10453 
10454 
10455  def set_atom_types(self, types):
10456  """set_atom_types(Selection self, IMP::atom::AtomTypes types)"""
10457  return _IMP_atom.Selection_set_atom_types(self, types)
10458 
10459 
10460  def set_residue_types(self, types):
10461  """set_residue_types(Selection self, IMP::atom::ResidueTypes types)"""
10462  return _IMP_atom.Selection_set_residue_types(self, types)
10463 
10464 
10465  def set_domains(self, names):
10466  """set_domains(Selection self, IMP::Strings names)"""
10467  return _IMP_atom.Selection_set_domains(self, names)
10468 
10469 
10470  def set_molecule(self, mol):
10471  """set_molecule(Selection self, std::string mol)"""
10472  return _IMP_atom.Selection_set_molecule(self, mol)
10473 
10474 
10475  def set_chain_id(self, c):
10476  """set_chain_id(Selection self, std::string c)"""
10477  return _IMP_atom.Selection_set_chain_id(self, c)
10478 
10479 
10480  def set_chain(self, c):
10481  """set_chain(Selection self, std::string c)"""
10482  return _IMP_atom.Selection_set_chain(self, c)
10483 
10484 
10485  def set_residue_index(self, i):
10486  """set_residue_index(Selection self, int i)"""
10487  return _IMP_atom.Selection_set_residue_index(self, i)
10488 
10489 
10490  def set_atom_type(self, types):
10491  """set_atom_type(Selection self, AtomType types)"""
10492  return _IMP_atom.Selection_set_atom_type(self, types)
10493 
10494 
10495  def set_residue_type(self, type):
10496  """set_residue_type(Selection self, ResidueType type)"""
10497  return _IMP_atom.Selection_set_residue_type(self, type)
10498 
10499 
10500  def set_domain(self, name):
10501  """set_domain(Selection self, std::string name)"""
10502  return _IMP_atom.Selection_set_domain(self, name)
10503 
10504 
10505  def set_copy_index(self, copy):
10506  """set_copy_index(Selection self, unsigned int copy)"""
10507  return _IMP_atom.Selection_set_copy_index(self, copy)
10508 
10509 
10510  def set_copy_indexes(self, copies):
10511  """set_copy_indexes(Selection self, IMP::Ints copies)"""
10512  return _IMP_atom.Selection_set_copy_indexes(self, copies)
10513 
10514 
10515  def set_particle_type(self, t):
10516  """set_particle_type(Selection self, ParticleType t)"""
10517  return _IMP_atom.Selection_set_particle_type(self, t)
10518 
10519 
10520  def set_particle_types(self, t):
10521  """set_particle_types(Selection self, IMP::core::ParticleTypes t)"""
10522  return _IMP_atom.Selection_set_particle_types(self, t)
10523 
10524 
10525  def set_hierarchy_types(self, types):
10526  """set_hierarchy_types(Selection self, IMP::Ints types)"""
10527  return _IMP_atom.Selection_set_hierarchy_types(self, types)
10528 
10529 
10530  def set_intersection(self, s):
10531  """set_intersection(Selection self, Selection s)"""
10532  return _IMP_atom.Selection_set_intersection(self, s)
10533 
10534 
10535  def set_union(self, s):
10536  """set_union(Selection self, Selection s)"""
10537  return _IMP_atom.Selection_set_union(self, s)
10538 
10539 
10540  def set_symmetric_difference(self, s):
10541  """set_symmetric_difference(Selection self, Selection s)"""
10542  return _IMP_atom.Selection_set_symmetric_difference(self, s)
10543 
10544 
10545  def set_difference(self, s):
10546  """set_difference(Selection self, Selection s)"""
10547  return _IMP_atom.Selection_set_difference(self, s)
10548 
10549 
10550  def get_selected_particles(self, with_representation=True):
10551  """
10552  get_selected_particles(Selection self, bool with_representation=True) -> IMP::ParticlesTemp
10553  get_selected_particles(Selection self) -> IMP::ParticlesTemp
10554  """
10555  return _IMP_atom.Selection_get_selected_particles(self, with_representation)
10556 
10557 
10558  def get_selected_particle_indexes(self, with_representation=True):
10559  """
10560  get_selected_particle_indexes(Selection self, bool with_representation=True) -> IMP::ParticleIndexes
10561  get_selected_particle_indexes(Selection self) -> IMP::ParticleIndexes
10562  """
10563  return _IMP_atom.Selection_get_selected_particle_indexes(self, with_representation)
10564 
10565 
10566  def show(self, *args):
10567  """
10568  show(Selection self, _ostream out)
10569  show(Selection self)
10570  """
10571  return _IMP_atom.Selection_show(self, *args)
10572 
10573 
10574  def __str__(self):
10575  """__str__(Selection self) -> std::string"""
10576  return _IMP_atom.Selection___str__(self)
10577 
10578 
10579  def __repr__(self):
10580  """__repr__(Selection self) -> std::string"""
10581  return _IMP_atom.Selection___repr__(self)
10582 
10583 
10584  def __init__(self, hierarchy=None,
10585  hierarchies=None, **params):
10586  if hierarchy and hierarchies:
10587  raise RuntimeError("You can't pass both hierarchy and hierarchies to Selection")
10588  if hierarchy:
10589  this = _IMP_atom.new_Selection(hierarchy)
10590  try: self.this.append(this)
10591  except: self.this = this
10592  elif hierarchies:
10593  this = _IMP_atom.new_Selection(hierarchies)
10594  try: self.this.append(this)
10595  except: self.this = this
10596  else:
10597  raise ValueError("Either hierarchy or hierarchies must be provided.")
10598  for k in params.keys():
10599  eval("self.set_%s(params[k])"%k)
10600 
10601  def union(self, s):
10602  news = self.create_clone()
10603  news.union_update(s)
10604  return news
10605  def intersection(self, s):
10606  news = self.create_clone()
10607  news.intersection_update(s)
10608  return news
10609  def symmetric_difference(self, s):
10610  news = self.create_clone()
10611  news.symmetric_difference_update(s)
10612  return news
10613  def difference(self, s):
10614  news = self.create_clone()
10615  news.difference_update(s)
10616  return news
10617  def union_update(self, s):
10618  self.set_union(s)
10619  return self
10620  def intersection_update(self, s):
10621  self.set_intersection(s)
10622  return self
10623  def symmetric_difference_update(self, s):
10624  self.set_symmetric_difference(s)
10625  return self
10626  def difference_update(self, s):
10627  self.set_difference(s)
10628  return self
10629  __or__ = union
10630  __and__ = intersection
10631  __xor__ = symmetric_difference
10632  __sub__ = difference
10633  __ior__ = union_update
10634  __iand__ = intersection_update
10635  __ixor__ = symmetric_difference_update
10636  __isub__ = difference_update
10637 
10638  __swig_destroy__ = _IMP_atom.delete_Selection
10639  __del__ = lambda self: None
10640 Selection_swigregister = _IMP_atom.Selection_swigregister
10641 Selection_swigregister(Selection)
10642 
10643 
10644 def create_distance_restraint(*args):
10645  """
10646  create_distance_restraint(Selection n0, Selection n1, double x0, double k, std::string name) -> Restraint
10647  create_distance_restraint(Selection n0, Selection n1, double x0, double k) -> Restraint
10648  """
10649  return _IMP_atom.create_distance_restraint(*args)
10650 
10652  """
10653  create_connectivity_restraint(IMP::atom::Selections const & s, double k, std::string name) -> Restraint
10654  create_connectivity_restraint(IMP::atom::Selections const & s, double k) -> Restraint
10655  create_connectivity_restraint(IMP::atom::Selections const & s, double x0, double k, std::string name) -> Restraint
10656  create_connectivity_restraint(IMP::atom::Selections const & s, double x0, double k) -> Restraint
10657  """
10658  return _IMP_atom.create_connectivity_restraint(*args)
10659 
10661  """
10662  create_internal_connectivity_restraint(Selection s, double k, std::string name) -> Restraint
10663  create_internal_connectivity_restraint(Selection s, double k) -> Restraint
10664  create_internal_connectivity_restraint(Selection s, double x0, double k, std::string name) -> Restraint
10665  create_internal_connectivity_restraint(Selection s, double x0, double k) -> Restraint
10666  """
10667  return _IMP_atom.create_internal_connectivity_restraint(*args)
10668 
10669 def create_cover(*args):
10670  """
10671  create_cover(Selection s, std::string name) -> XYZR
10672  create_cover(Selection s) -> XYZR
10673  """
10674  return _IMP_atom.create_cover(*args)
10675 
10676 def get_mass(*args):
10677  """
10678  get_mass(ResidueType c) -> double
10679  get_mass(Selection s) -> double
10680  """
10681  return _IMP_atom.get_mass(*args)
10682 
10683 def get_volume(s):
10684  """get_volume(Selection s) -> double"""
10685  return _IMP_atom.get_volume(s)
10686 
10687 def get_surface_area(s):
10688  """get_surface_area(Selection s) -> double"""
10689  return _IMP_atom.get_surface_area(s)
10690 
10691 def get_leaves(*args):
10692  """
10693  get_leaves(Hierarchy h) -> IMP::atom::Hierarchies
10694  get_leaves(IMP::atom::Hierarchies const & h) -> IMP::atom::Hierarchies
10695  get_leaves(Selection h) -> IMP::atom::Hierarchies
10696  """
10697  return _IMP_atom.get_leaves(*args)
10698 class SelectionGeometry(IMP.display.Geometry):
10699  """Proxy of C++ IMP::atom::SelectionGeometry class."""
10700 
10701  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10702 
10703  def __init__(self, *args):
10704  """
10705  __init__(IMP::atom::SelectionGeometry self, Selection d, std::string name) -> SelectionGeometry
10706  __init__(IMP::atom::SelectionGeometry self, Selection d) -> SelectionGeometry
10707  """
10708  this = _IMP_atom.new_SelectionGeometry(*args)
10709  try:
10710  self.this.append(this)
10711  except Exception:
10712  self.this = this
10713 
10714  def get_version_info(self):
10715  """get_version_info(SelectionGeometry self) -> VersionInfo"""
10716  return _IMP_atom.SelectionGeometry_get_version_info(self)
10717 
10718 
10719  def __str__(self):
10720  """__str__(SelectionGeometry self) -> std::string"""
10721  return _IMP_atom.SelectionGeometry___str__(self)
10722 
10723 
10724  def __repr__(self):
10725  """__repr__(SelectionGeometry self) -> std::string"""
10726  return _IMP_atom.SelectionGeometry___repr__(self)
10727 
10728 
10729  @staticmethod
10730  def get_from(o):
10731  return _object_cast_to_SelectionGeometry(o)
10732 
10733 SelectionGeometry_swigregister = _IMP_atom.SelectionGeometry_swigregister
10734 SelectionGeometry_swigregister(SelectionGeometry)
10735 
10736 
10737 def get_rmsd(*args):
10738  """
10739  get_rmsd(IMP::core::XYZs const & s0, IMP::core::XYZs const & s1) -> double
10740  get_rmsd(Selection s0, Selection s1) -> double
10741  """
10742  return _IMP_atom.get_rmsd(*args)
10743 
10744 def get_rmsd_transforming_first(*args):
10745  """
10746  get_rmsd_transforming_first(Transformation3D tr, IMP::core::XYZs const & s0, IMP::core::XYZs const & s1) -> double
10747  get_rmsd_transforming_first(Transformation3D tr, Selection s0, Selection s1) -> double
10748  """
10749  return _IMP_atom.get_rmsd_transforming_first(*args)
10750 
10751 def get_placement_score(source, target):
10752  """get_placement_score(IMP::core::XYZs const & source, IMP::core::XYZs const & target) -> IMP::FloatPair"""
10753  return _IMP_atom.get_placement_score(source, target)
10754 
10755 def get_component_placement_score(ref1, ref2, mdl1, mdl2):
10756  """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"""
10757  return _IMP_atom.get_component_placement_score(ref1, ref2, mdl1, mdl2)
10758 
10759 def get_pairwise_rmsd_score(ref1, ref2, mdl1, mdl2):
10760  """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"""
10761  return _IMP_atom.get_pairwise_rmsd_score(ref1, ref2, mdl1, mdl2)
10762 
10763 def get_radius_of_gyration(*args):
10764  """
10765  get_radius_of_gyration(Selection s) -> double
10766  get_radius_of_gyration(IMP::ParticlesTemp const & ps) -> double
10767  """
10768  return _IMP_atom.get_radius_of_gyration(*args)
10769 class ForceFieldParameters(IMP.Object):
10770  """Proxy of C++ IMP::atom::ForceFieldParameters class."""
10771 
10772  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10773 
10774  def __init__(self):
10775  """__init__(IMP::atom::ForceFieldParameters self) -> ForceFieldParameters"""
10776  this = _IMP_atom.new_ForceFieldParameters()
10777  try:
10778  self.this.append(this)
10779  except Exception:
10780  self.this = this
10781 
10782  def get_radius(self, atom):
10783  """get_radius(ForceFieldParameters self, Atom atom) -> IMP::Float"""
10784  return _IMP_atom.ForceFieldParameters_get_radius(self, atom)
10785 
10786 
10787  def get_epsilon(self, atom):
10788  """get_epsilon(ForceFieldParameters self, Atom atom) -> IMP::Float"""
10789  return _IMP_atom.ForceFieldParameters_get_epsilon(self, atom)
10790 
10791 
10792  def add_radii(self, *args):
10793  """
10794  add_radii(ForceFieldParameters self, Hierarchy mhd, double scale=1.0, FloatKey radius_key)
10795  add_radii(ForceFieldParameters self, Hierarchy mhd, double scale=1.0)
10796  add_radii(ForceFieldParameters self, Hierarchy mhd)
10797  """
10798  return _IMP_atom.ForceFieldParameters_add_radii(self, *args)
10799 
10800 
10801  def add_well_depths(self, mhd):
10802  """add_well_depths(ForceFieldParameters self, Hierarchy mhd)"""
10803  return _IMP_atom.ForceFieldParameters_add_well_depths(self, mhd)
10804 
10805 
10806  def add_bonds(self, mhd):
10807  """add_bonds(ForceFieldParameters self, Hierarchy mhd)"""
10808  return _IMP_atom.ForceFieldParameters_add_bonds(self, mhd)
10809 
10810  __swig_destroy__ = _IMP_atom.delete_ForceFieldParameters
10811  __del__ = lambda self: None
10812 
10813  def __str__(self):
10814  """__str__(ForceFieldParameters self) -> std::string"""
10815  return _IMP_atom.ForceFieldParameters___str__(self)
10816 
10817 
10818  def __repr__(self):
10819  """__repr__(ForceFieldParameters self) -> std::string"""
10820  return _IMP_atom.ForceFieldParameters___repr__(self)
10821 
10822 
10823  @staticmethod
10824  def get_from(o):
10825  return _object_cast_to_ForceFieldParameters(o)
10826 
10827 ForceFieldParameters_swigregister = _IMP_atom.ForceFieldParameters_swigregister
10828 ForceFieldParameters_swigregister(ForceFieldParameters)
10829 
10830 class CHARMMAtomTopology(object):
10831  """Proxy of C++ IMP::atom::CHARMMAtomTopology class."""
10832 
10833  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10834 
10835  def __init__(self, *args):
10836  """
10837  __init__(IMP::atom::CHARMMAtomTopology self, std::string name) -> CHARMMAtomTopology
10838  __init__(IMP::atom::CHARMMAtomTopology self, std::string name, CHARMMAtomTopology other) -> CHARMMAtomTopology
10839  """
10840  this = _IMP_atom.new_CHARMMAtomTopology(*args)
10841  try:
10842  self.this.append(this)
10843  except Exception:
10844  self.this = this
10845 
10846  def get_name(self):
10847  """get_name(CHARMMAtomTopology self) -> std::string"""
10848  return _IMP_atom.CHARMMAtomTopology_get_name(self)
10849 
10850 
10851  def get_charmm_type(self):
10852  """get_charmm_type(CHARMMAtomTopology self) -> std::string"""
10853  return _IMP_atom.CHARMMAtomTopology_get_charmm_type(self)
10854 
10855 
10856  def get_charge(self):
10857  """get_charge(CHARMMAtomTopology self) -> double"""
10858  return _IMP_atom.CHARMMAtomTopology_get_charge(self)
10859 
10860 
10861  def set_charmm_type(self, charmm_type):
10862  """set_charmm_type(CHARMMAtomTopology self, std::string charmm_type)"""
10863  return _IMP_atom.CHARMMAtomTopology_set_charmm_type(self, charmm_type)
10864 
10865 
10866  def set_charge(self, charge):
10867  """set_charge(CHARMMAtomTopology self, double charge)"""
10868  return _IMP_atom.CHARMMAtomTopology_set_charge(self, charge)
10869 
10870 
10871  def show(self, *args):
10872  """
10873  show(CHARMMAtomTopology self, _ostream out)
10874  show(CHARMMAtomTopology self)
10875  """
10876  return _IMP_atom.CHARMMAtomTopology_show(self, *args)
10877 
10878 
10879  def __str__(self):
10880  """__str__(CHARMMAtomTopology self) -> std::string"""
10881  return _IMP_atom.CHARMMAtomTopology___str__(self)
10882 
10883 
10884  def __repr__(self):
10885  """__repr__(CHARMMAtomTopology self) -> std::string"""
10886  return _IMP_atom.CHARMMAtomTopology___repr__(self)
10887 
10888  __swig_destroy__ = _IMP_atom.delete_CHARMMAtomTopology
10889  __del__ = lambda self: None
10890 CHARMMAtomTopology_swigregister = _IMP_atom.CHARMMAtomTopology_swigregister
10891 CHARMMAtomTopology_swigregister(CHARMMAtomTopology)
10892 
10893 class CHARMMBondEndpoint(object):
10894  """Proxy of C++ IMP::atom::CHARMMBondEndpoint class."""
10895 
10896  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10897 
10898  def __init__(self, atom_name, residue=None):
10899  """
10900  __init__(IMP::atom::CHARMMBondEndpoint self, std::string atom_name, CHARMMResidueTopology residue=None) -> CHARMMBondEndpoint
10901  __init__(IMP::atom::CHARMMBondEndpoint self, std::string atom_name) -> CHARMMBondEndpoint
10902  """
10903  this = _IMP_atom.new_CHARMMBondEndpoint(atom_name, residue)
10904  try:
10905  self.this.append(this)
10906  except Exception:
10907  self.this = this
10908 
10909  def get_atom_name(self):
10910  """get_atom_name(CHARMMBondEndpoint self) -> std::string"""
10911  return _IMP_atom.CHARMMBondEndpoint_get_atom_name(self)
10912 
10913 
10914  def get_atom(self, current_residue, previous_residue, next_residue, resmap):
10915  """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"""
10916  return _IMP_atom.CHARMMBondEndpoint_get_atom(self, current_residue, previous_residue, next_residue, resmap)
10917 
10918 
10919  def show(self, *args):
10920  """
10921  show(CHARMMBondEndpoint self, _ostream out)
10922  show(CHARMMBondEndpoint self)
10923  """
10924  return _IMP_atom.CHARMMBondEndpoint_show(self, *args)
10925 
10926 
10927  def __str__(self):
10928  """__str__(CHARMMBondEndpoint self) -> std::string"""
10929  return _IMP_atom.CHARMMBondEndpoint___str__(self)
10930 
10931 
10932  def __repr__(self):
10933  """__repr__(CHARMMBondEndpoint self) -> std::string"""
10934  return _IMP_atom.CHARMMBondEndpoint___repr__(self)
10935 
10936  __swig_destroy__ = _IMP_atom.delete_CHARMMBondEndpoint
10937  __del__ = lambda self: None
10938 CHARMMBondEndpoint_swigregister = _IMP_atom.CHARMMBondEndpoint_swigregister
10939 CHARMMBondEndpoint_swigregister(CHARMMBondEndpoint)
10940 
10941 class CHARMMDihedral(object):
10942  """Proxy of C++ IMP::atom::CHARMMConnection<(4)> class."""
10943 
10944  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10945  __repr__ = _swig_repr
10946 
10947  def __init__(self, atoms):
10948  """__init__(IMP::atom::CHARMMConnection<(4)> self, IMP::Strings const & atoms) -> CHARMMDihedral"""
10949  this = _IMP_atom.new_CHARMMDihedral(atoms)
10950  try:
10951  self.this.append(this)
10952  except Exception:
10953  self.this = this
10954 
10955  def get_endpoint(self, i):
10956  """get_endpoint(CHARMMDihedral self, unsigned int i) -> CHARMMBondEndpoint"""
10957  return _IMP_atom.CHARMMDihedral_get_endpoint(self, i)
10958 
10959 
10960  def get_contains_atom(self, name):
10961  """get_contains_atom(CHARMMDihedral self, std::string name) -> bool"""
10962  return _IMP_atom.CHARMMDihedral_get_contains_atom(self, name)
10963 
10964 
10965  def show(self, *args):
10966  """
10967  show(CHARMMDihedral self, _ostream out)
10968  show(CHARMMDihedral self)
10969  """
10970  return _IMP_atom.CHARMMDihedral_show(self, *args)
10971 
10972  __swig_destroy__ = _IMP_atom.delete_CHARMMDihedral
10973  __del__ = lambda self: None
10974 CHARMMDihedral_swigregister = _IMP_atom.CHARMMDihedral_swigregister
10975 CHARMMDihedral_swigregister(CHARMMDihedral)
10976 
10977 class CHARMMInternalCoordinate(CHARMMDihedral):
10978  """Proxy of C++ IMP::atom::CHARMMInternalCoordinate 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::CHARMMInternalCoordinate self, IMP::Strings const & atoms, float first_distance, float first_angle, float dihedral, float second_angle, float second_distance, bool improper) -> CHARMMInternalCoordinate
10985  __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
10986  """
10987  this = _IMP_atom.new_CHARMMInternalCoordinate(*args)
10988  try:
10989  self.this.append(this)
10990  except Exception:
10991  self.this = this
10992 
10993  def get_first_distance(self):
10994  """get_first_distance(CHARMMInternalCoordinate self) -> float"""
10995  return _IMP_atom.CHARMMInternalCoordinate_get_first_distance(self)
10996 
10997 
10998  def get_second_distance(self):
10999  """get_second_distance(CHARMMInternalCoordinate self) -> float"""
11000  return _IMP_atom.CHARMMInternalCoordinate_get_second_distance(self)
11001 
11002 
11003  def get_first_angle(self):
11004  """get_first_angle(CHARMMInternalCoordinate self) -> float"""
11005  return _IMP_atom.CHARMMInternalCoordinate_get_first_angle(self)
11006 
11007 
11008  def get_second_angle(self):
11009  """get_second_angle(CHARMMInternalCoordinate self) -> float"""
11010  return _IMP_atom.CHARMMInternalCoordinate_get_second_angle(self)
11011 
11012 
11013  def get_dihedral(self):
11014  """get_dihedral(CHARMMInternalCoordinate self) -> float"""
11015  return _IMP_atom.CHARMMInternalCoordinate_get_dihedral(self)
11016 
11017 
11018  def get_improper(self):
11019  """get_improper(CHARMMInternalCoordinate self) -> bool"""
11020  return _IMP_atom.CHARMMInternalCoordinate_get_improper(self)
11021 
11022 
11023  def show(self, *args):
11024  """
11025  show(CHARMMInternalCoordinate self, _ostream out)
11026  show(CHARMMInternalCoordinate self)
11027  """
11028  return _IMP_atom.CHARMMInternalCoordinate_show(self, *args)
11029 
11030 
11031  def __str__(self):
11032  """__str__(CHARMMInternalCoordinate self) -> std::string"""
11033  return _IMP_atom.CHARMMInternalCoordinate___str__(self)
11034 
11035 
11036  def __repr__(self):
11037  """__repr__(CHARMMInternalCoordinate self) -> std::string"""
11038  return _IMP_atom.CHARMMInternalCoordinate___repr__(self)
11039 
11040  __swig_destroy__ = _IMP_atom.delete_CHARMMInternalCoordinate
11041  __del__ = lambda self: None
11042 CHARMMInternalCoordinate_swigregister = _IMP_atom.CHARMMInternalCoordinate_swigregister
11043 CHARMMInternalCoordinate_swigregister(CHARMMInternalCoordinate)
11044 
11045 class CHARMMResidueTopologyBase(IMP.Object):
11046  """Proxy of C++ IMP::atom::CHARMMResidueTopologyBase class."""
11047 
11048  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11049 
11050  def __init__(self, *args, **kwargs):
11051  raise AttributeError("No constructor defined")
11052 
11053  def get_type(self):
11054  """get_type(CHARMMResidueTopologyBase self) -> std::string"""
11055  return _IMP_atom.CHARMMResidueTopologyBase_get_type(self)
11056 
11057 
11058  def get_number_of_atoms(self):
11059  """get_number_of_atoms(CHARMMResidueTopologyBase self) -> unsigned int"""
11060  return _IMP_atom.CHARMMResidueTopologyBase_get_number_of_atoms(self)
11061 
11062 
11063  def add_atom(self, atom):
11064  """add_atom(CHARMMResidueTopologyBase self, CHARMMAtomTopology atom)"""
11065  return _IMP_atom.CHARMMResidueTopologyBase_add_atom(self, atom)
11066 
11067 
11068  def get_atom(self, *args):
11069  """
11070  get_atom(CHARMMResidueTopologyBase self, unsigned int i) -> CHARMMAtomTopology
11071  get_atom(CHARMMResidueTopologyBase self, AtomType type) -> CHARMMAtomTopology
11072  get_atom(CHARMMResidueTopologyBase self, std::string name) -> CHARMMAtomTopology
11073  """
11074  return _IMP_atom.CHARMMResidueTopologyBase_get_atom(self, *args)
11075 
11076 
11077  def get_number_of_bonds(self):
11078  """get_number_of_bonds(CHARMMResidueTopologyBase self) -> unsigned int"""
11079  return _IMP_atom.CHARMMResidueTopologyBase_get_number_of_bonds(self)
11080 
11081 
11082  def add_bond(self, bond):
11083  """add_bond(CHARMMResidueTopologyBase self, IMP::atom::CHARMMBond const & bond)"""
11084  return _IMP_atom.CHARMMResidueTopologyBase_add_bond(self, bond)
11085 
11086 
11087  def get_number_of_angles(self):
11088  """get_number_of_angles(CHARMMResidueTopologyBase self) -> unsigned int"""
11089  return _IMP_atom.CHARMMResidueTopologyBase_get_number_of_angles(self)
11090 
11091 
11092  def add_angle(self, bond):
11093  """add_angle(CHARMMResidueTopologyBase self, IMP::atom::CHARMMAngle const & bond)"""
11094  return _IMP_atom.CHARMMResidueTopologyBase_add_angle(self, bond)
11095 
11096 
11097  def get_number_of_dihedrals(self):
11098  """get_number_of_dihedrals(CHARMMResidueTopologyBase self) -> unsigned int"""
11099  return _IMP_atom.CHARMMResidueTopologyBase_get_number_of_dihedrals(self)
11100 
11101 
11102  def add_dihedral(self, bond):
11103  """add_dihedral(CHARMMResidueTopologyBase self, CHARMMDihedral bond)"""
11104  return _IMP_atom.CHARMMResidueTopologyBase_add_dihedral(self, bond)
11105 
11106 
11107  def get_number_of_impropers(self):
11108  """get_number_of_impropers(CHARMMResidueTopologyBase self) -> unsigned int"""
11109  return _IMP_atom.CHARMMResidueTopologyBase_get_number_of_impropers(self)
11110 
11111 
11112  def add_improper(self, bond):
11113  """add_improper(CHARMMResidueTopologyBase self, CHARMMDihedral bond)"""
11114  return _IMP_atom.CHARMMResidueTopologyBase_add_improper(self, bond)
11115 
11116 
11117  def get_number_of_internal_coordinates(self):
11118  """get_number_of_internal_coordinates(CHARMMResidueTopologyBase self) -> unsigned int"""
11119  return _IMP_atom.CHARMMResidueTopologyBase_get_number_of_internal_coordinates(self)
11120 
11121 
11122  def add_internal_coordinate(self, ic):
11123  """add_internal_coordinate(CHARMMResidueTopologyBase self, CHARMMInternalCoordinate ic)"""
11124  return _IMP_atom.CHARMMResidueTopologyBase_add_internal_coordinate(self, ic)
11125 
11126 
11127  def get_internal_coordinate(self, index):
11128  """get_internal_coordinate(CHARMMResidueTopologyBase self, unsigned int index) -> CHARMMInternalCoordinate"""
11129  return _IMP_atom.CHARMMResidueTopologyBase_get_internal_coordinate(self, index)
11130 
11131 
11132  def get_bond(self, index):
11133  """get_bond(CHARMMResidueTopologyBase self, unsigned int index) -> IMP::atom::CHARMMBond const &"""
11134  return _IMP_atom.CHARMMResidueTopologyBase_get_bond(self, index)
11135 
11136 
11137  def get_angle(self, index):
11138  """get_angle(CHARMMResidueTopologyBase self, unsigned int index) -> IMP::atom::CHARMMAngle const &"""
11139  return _IMP_atom.CHARMMResidueTopologyBase_get_angle(self, index)
11140 
11141 
11142  def get_dihedral(self, index):
11143  """get_dihedral(CHARMMResidueTopologyBase self, unsigned int index) -> CHARMMDihedral"""
11144  return _IMP_atom.CHARMMResidueTopologyBase_get_dihedral(self, index)
11145 
11146 
11147  def get_improper(self, index):
11148  """get_improper(CHARMMResidueTopologyBase self, unsigned int index) -> CHARMMDihedral"""
11149  return _IMP_atom.CHARMMResidueTopologyBase_get_improper(self, index)
11150 
11151 
11152  def get_version_info(self):
11153  """get_version_info(CHARMMResidueTopologyBase self) -> VersionInfo"""
11154  return _IMP_atom.CHARMMResidueTopologyBase_get_version_info(self)
11155 
11156 
11157  def __str__(self):
11158  """__str__(CHARMMResidueTopologyBase self) -> std::string"""
11159  return _IMP_atom.CHARMMResidueTopologyBase___str__(self)
11160 
11161 
11162  def __repr__(self):
11163  """__repr__(CHARMMResidueTopologyBase self) -> std::string"""
11164  return _IMP_atom.CHARMMResidueTopologyBase___repr__(self)
11165 
11166 
11167  @staticmethod
11168  def get_from(o):
11169  return _object_cast_to_CHARMMResidueTopologyBase(o)
11170 
11171 CHARMMResidueTopologyBase_swigregister = _IMP_atom.CHARMMResidueTopologyBase_swigregister
11172 CHARMMResidueTopologyBase_swigregister(CHARMMResidueTopologyBase)
11173 
11174 class CHARMMIdealResidueTopology(CHARMMResidueTopologyBase):
11175  """Proxy of C++ IMP::atom::CHARMMIdealResidueTopology class."""
11176 
11177  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11178 
11179  def __init__(self, *args):
11180  """
11181  __init__(IMP::atom::CHARMMIdealResidueTopology self, std::string type) -> CHARMMIdealResidueTopology
11182  __init__(IMP::atom::CHARMMIdealResidueTopology self, ResidueType type) -> CHARMMIdealResidueTopology
11183  """
11184  this = _IMP_atom.new_CHARMMIdealResidueTopology(*args)
11185  try:
11186  self.this.append(this)
11187  except Exception:
11188  self.this = this
11189 
11190  def remove_atom(self, name):
11191  """remove_atom(CHARMMIdealResidueTopology self, std::string name)"""
11192  return _IMP_atom.CHARMMIdealResidueTopology_remove_atom(self, name)
11193 
11194 
11195  def set_default_first_patch(self, patch):
11196  """set_default_first_patch(CHARMMIdealResidueTopology self, std::string patch)"""
11197  return _IMP_atom.CHARMMIdealResidueTopology_set_default_first_patch(self, patch)
11198 
11199 
11200  def set_default_last_patch(self, patch):
11201  """set_default_last_patch(CHARMMIdealResidueTopology self, std::string patch)"""
11202  return _IMP_atom.CHARMMIdealResidueTopology_set_default_last_patch(self, patch)
11203 
11204 
11205  def get_default_first_patch(self):
11206  """get_default_first_patch(CHARMMIdealResidueTopology self) -> std::string"""
11207  return _IMP_atom.CHARMMIdealResidueTopology_get_default_first_patch(self)
11208 
11209 
11210  def get_default_last_patch(self):
11211  """get_default_last_patch(CHARMMIdealResidueTopology self) -> std::string"""
11212  return _IMP_atom.CHARMMIdealResidueTopology_get_default_last_patch(self)
11213 
11214 
11215  def __str__(self):
11216  """__str__(CHARMMIdealResidueTopology self) -> std::string"""
11217  return _IMP_atom.CHARMMIdealResidueTopology___str__(self)
11218 
11219 
11220  def __repr__(self):
11221  """__repr__(CHARMMIdealResidueTopology self) -> std::string"""
11222  return _IMP_atom.CHARMMIdealResidueTopology___repr__(self)
11223 
11224 
11225  @staticmethod
11226  def get_from(o):
11227  return _object_cast_to_CHARMMIdealResidueTopology(o)
11228 
11229 CHARMMIdealResidueTopology_swigregister = _IMP_atom.CHARMMIdealResidueTopology_swigregister
11230 CHARMMIdealResidueTopology_swigregister(CHARMMIdealResidueTopology)
11231 
11232 class CHARMMPatch(CHARMMResidueTopologyBase):
11233  """Proxy of C++ IMP::atom::CHARMMPatch class."""
11234 
11235  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11236 
11237  def __init__(self, type):
11238  """__init__(IMP::atom::CHARMMPatch self, std::string type) -> CHARMMPatch"""
11239  this = _IMP_atom.new_CHARMMPatch(type)
11240  try:
11241  self.this.append(this)
11242  except Exception:
11243  self.this = this
11244 
11245  def add_removed_atom(self, name):
11246  """add_removed_atom(CHARMMPatch self, std::string name)"""
11247  return _IMP_atom.CHARMMPatch_add_removed_atom(self, name)
11248 
11249 
11250  def get_number_of_removed_atoms(self):
11251  """get_number_of_removed_atoms(CHARMMPatch self) -> unsigned int"""
11252  return _IMP_atom.CHARMMPatch_get_number_of_removed_atoms(self)
11253 
11254 
11255  def get_removed_atom(self, i):
11256  """get_removed_atom(CHARMMPatch self, unsigned int i) -> std::string"""
11257  return _IMP_atom.CHARMMPatch_get_removed_atom(self, i)
11258 
11259 
11260  def apply(self, *args):
11261  """
11262  apply(CHARMMPatch self, CHARMMResidueTopology res)
11263  apply(CHARMMPatch self, CHARMMResidueTopology res1, CHARMMResidueTopology res2)
11264  """
11265  return _IMP_atom.CHARMMPatch_apply(self, *args)
11266 
11267 
11268  def __str__(self):
11269  """__str__(CHARMMPatch self) -> std::string"""
11270  return _IMP_atom.CHARMMPatch___str__(self)
11271 
11272 
11273  def __repr__(self):
11274  """__repr__(CHARMMPatch self) -> std::string"""
11275  return _IMP_atom.CHARMMPatch___repr__(self)
11276 
11277 
11278  @staticmethod
11279  def get_from(o):
11280  return _object_cast_to_CHARMMPatch(o)
11281 
11282 CHARMMPatch_swigregister = _IMP_atom.CHARMMPatch_swigregister
11283 CHARMMPatch_swigregister(CHARMMPatch)
11284 
11285 class CHARMMResidueTopology(CHARMMIdealResidueTopology):
11286  """Proxy of C++ IMP::atom::CHARMMResidueTopology class."""
11287 
11288  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11289 
11290  def __init__(self, *args):
11291  """
11292  __init__(IMP::atom::CHARMMResidueTopology self, ResidueType type) -> CHARMMResidueTopology
11293  __init__(IMP::atom::CHARMMResidueTopology self, CHARMMIdealResidueTopology ideal) -> CHARMMResidueTopology
11294  """
11295  this = _IMP_atom.new_CHARMMResidueTopology(*args)
11296  try:
11297  self.this.append(this)
11298  except Exception:
11299  self.this = this
11300 
11301  def get_patched(self):
11302  """get_patched(CHARMMResidueTopology self) -> bool"""
11303  return _IMP_atom.CHARMMResidueTopology_get_patched(self)
11304 
11305 
11306  def set_patched(self, patched):
11307  """set_patched(CHARMMResidueTopology self, bool patched)"""
11308  return _IMP_atom.CHARMMResidueTopology_set_patched(self, patched)
11309 
11310 
11311  def __str__(self):
11312  """__str__(CHARMMResidueTopology self) -> std::string"""
11313  return _IMP_atom.CHARMMResidueTopology___str__(self)
11314 
11315 
11316  def __repr__(self):
11317  """__repr__(CHARMMResidueTopology self) -> std::string"""
11318  return _IMP_atom.CHARMMResidueTopology___repr__(self)
11319 
11320 
11321  @staticmethod
11322  def get_from(o):
11323  return _object_cast_to_CHARMMResidueTopology(o)
11324 
11325 CHARMMResidueTopology_swigregister = _IMP_atom.CHARMMResidueTopology_swigregister
11326 CHARMMResidueTopology_swigregister(CHARMMResidueTopology)
11327 
11328 class CHARMMAtom(Atom):
11329  """Proxy of C++ IMP::atom::CHARMMAtom class."""
11330 
11331  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11332 
11333  def __init__(self, *args):
11334  """
11335  __init__(IMP::atom::CHARMMAtom self) -> CHARMMAtom
11336  __init__(IMP::atom::CHARMMAtom self, Model m, ParticleIndex id) -> CHARMMAtom
11337  __init__(IMP::atom::CHARMMAtom self, _ParticleAdaptor d) -> CHARMMAtom
11338  """
11339  this = _IMP_atom.new_CHARMMAtom(*args)
11340  try:
11341  self.this.append(this)
11342  except Exception:
11343  self.this = this
11344 
11345  def show(self, *args):
11346  """
11347  show(CHARMMAtom self, _ostream out)
11348  show(CHARMMAtom self)
11349  """
11350  return _IMP_atom.CHARMMAtom_show(self, *args)
11351 
11352 
11353  def setup_particle(*args):
11354  """
11355  setup_particle(Model m, ParticleIndex pi, IMP::String charmm_type) -> CHARMMAtom
11356  setup_particle(_ParticleAdaptor decorator, IMP::String charmm_type) -> CHARMMAtom
11357  """
11358  return _IMP_atom.CHARMMAtom_setup_particle(*args)
11359 
11360  setup_particle = staticmethod(setup_particle)
11361 
11362  def get_charmm_type(self):
11363  """get_charmm_type(CHARMMAtom self) -> IMP::String"""
11364  return _IMP_atom.CHARMMAtom_get_charmm_type(self)
11365 
11366 
11367  def set_charmm_type(self, t):
11368  """set_charmm_type(CHARMMAtom self, IMP::String t)"""
11369  return _IMP_atom.CHARMMAtom_set_charmm_type(self, t)
11370 
11371 
11372  def get_is_setup(*args):
11373  """
11374  get_is_setup(_ParticleAdaptor p) -> bool
11375  get_is_setup(Model m, ParticleIndex pi) -> bool
11376  """
11377  return _IMP_atom.CHARMMAtom_get_is_setup(*args)
11378 
11379  get_is_setup = staticmethod(get_is_setup)
11380 
11381  def get_charmm_type_key():
11382  """get_charmm_type_key() -> StringKey"""
11383  return _IMP_atom.CHARMMAtom_get_charmm_type_key()
11384 
11385  get_charmm_type_key = staticmethod(get_charmm_type_key)
11386 
11387  def add_attribute(self, *args):
11388  """
11389  add_attribute(CHARMMAtom self, FloatKey k, IMP::Float v, bool opt)
11390  add_attribute(CHARMMAtom self, FloatKey a0, IMP::Float a1)
11391  add_attribute(CHARMMAtom self, IntKey a0, IMP::Int a1)
11392  add_attribute(CHARMMAtom self, StringKey a0, IMP::String a1)
11393  add_attribute(CHARMMAtom self, ParticleIndexKey a0, Particle a1)
11394  add_attribute(CHARMMAtom self, ObjectKey a0, Object a1)
11395  """
11396  return _IMP_atom.CHARMMAtom_add_attribute(self, *args)
11397 
11398 
11399  def get_value(self, *args):
11400  """
11401  get_value(CHARMMAtom self, FloatKey a0) -> IMP::Float
11402  get_value(CHARMMAtom self, IntKey a0) -> IMP::Int
11403  get_value(CHARMMAtom self, StringKey a0) -> IMP::String
11404  get_value(CHARMMAtom self, ParticleIndexKey a0) -> Particle
11405  get_value(CHARMMAtom self, ObjectKey a0) -> Object
11406  """
11407  return _IMP_atom.CHARMMAtom_get_value(self, *args)
11408 
11409 
11410  def set_value(self, *args):
11411  """
11412  set_value(CHARMMAtom self, FloatKey a0, IMP::Float a1)
11413  set_value(CHARMMAtom self, IntKey a0, IMP::Int a1)
11414  set_value(CHARMMAtom self, StringKey a0, IMP::String a1)
11415  set_value(CHARMMAtom self, ParticleIndexKey a0, Particle a1)
11416  set_value(CHARMMAtom self, ObjectKey a0, Object a1)
11417  """
11418  return _IMP_atom.CHARMMAtom_set_value(self, *args)
11419 
11420 
11421  def remove_attribute(self, *args):
11422  """
11423  remove_attribute(CHARMMAtom self, FloatKey a0)
11424  remove_attribute(CHARMMAtom self, IntKey a0)
11425  remove_attribute(CHARMMAtom self, StringKey a0)
11426  remove_attribute(CHARMMAtom self, ParticleIndexKey a0)
11427  remove_attribute(CHARMMAtom self, ObjectKey a0)
11428  """
11429  return _IMP_atom.CHARMMAtom_remove_attribute(self, *args)
11430 
11431 
11432  def has_attribute(self, *args):
11433  """
11434  has_attribute(CHARMMAtom self, FloatKey a0) -> bool
11435  has_attribute(CHARMMAtom self, IntKey a0) -> bool
11436  has_attribute(CHARMMAtom self, StringKey a0) -> bool
11437  has_attribute(CHARMMAtom self, ParticleIndexKey a0) -> bool
11438  has_attribute(CHARMMAtom self, ObjectKey a0) -> bool
11439  """
11440  return _IMP_atom.CHARMMAtom_has_attribute(self, *args)
11441 
11442 
11443  def get_derivative(self, a0):
11444  """get_derivative(CHARMMAtom self, FloatKey a0) -> double"""
11445  return _IMP_atom.CHARMMAtom_get_derivative(self, a0)
11446 
11447 
11448  def get_name(self):
11449  """get_name(CHARMMAtom self) -> std::string"""
11450  return _IMP_atom.CHARMMAtom_get_name(self)
11451 
11452 
11453  def clear_caches(self):
11454  """clear_caches(CHARMMAtom self)"""
11455  return _IMP_atom.CHARMMAtom_clear_caches(self)
11456 
11457 
11458  def set_name(self, a0):
11459  """set_name(CHARMMAtom self, std::string a0)"""
11460  return _IMP_atom.CHARMMAtom_set_name(self, a0)
11461 
11462 
11463  def set_check_level(self, a0):
11464  """set_check_level(CHARMMAtom self, IMP::CheckLevel a0)"""
11465  return _IMP_atom.CHARMMAtom_set_check_level(self, a0)
11466 
11467 
11468  def add_to_derivative(self, a0, a1, a2):
11469  """add_to_derivative(CHARMMAtom self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
11470  return _IMP_atom.CHARMMAtom_add_to_derivative(self, a0, a1, a2)
11471 
11472 
11473  def set_is_optimized(self, a0, a1):
11474  """set_is_optimized(CHARMMAtom self, FloatKey a0, bool a1)"""
11475  return _IMP_atom.CHARMMAtom_set_is_optimized(self, a0, a1)
11476 
11477 
11478  def get_is_optimized(self, a0):
11479  """get_is_optimized(CHARMMAtom self, FloatKey a0) -> bool"""
11480  return _IMP_atom.CHARMMAtom_get_is_optimized(self, a0)
11481 
11482 
11483  def get_check_level(self):
11484  """get_check_level(CHARMMAtom self) -> IMP::CheckLevel"""
11485  return _IMP_atom.CHARMMAtom_get_check_level(self)
11486 
11487 
11488  def __eq__(self, *args):
11489  """
11490  __eq__(CHARMMAtom self, CHARMMAtom o) -> bool
11491  __eq__(CHARMMAtom self, Particle d) -> bool
11492  """
11493  return _IMP_atom.CHARMMAtom___eq__(self, *args)
11494 
11495 
11496  def __ne__(self, *args):
11497  """
11498  __ne__(CHARMMAtom self, CHARMMAtom o) -> bool
11499  __ne__(CHARMMAtom self, Particle d) -> bool
11500  """
11501  return _IMP_atom.CHARMMAtom___ne__(self, *args)
11502 
11503 
11504  def __le__(self, *args):
11505  """
11506  __le__(CHARMMAtom self, CHARMMAtom o) -> bool
11507  __le__(CHARMMAtom self, Particle d) -> bool
11508  """
11509  return _IMP_atom.CHARMMAtom___le__(self, *args)
11510 
11511 
11512  def __lt__(self, *args):
11513  """
11514  __lt__(CHARMMAtom self, CHARMMAtom o) -> bool
11515  __lt__(CHARMMAtom self, Particle d) -> bool
11516  """
11517  return _IMP_atom.CHARMMAtom___lt__(self, *args)
11518 
11519 
11520  def __ge__(self, *args):
11521  """
11522  __ge__(CHARMMAtom self, CHARMMAtom o) -> bool
11523  __ge__(CHARMMAtom self, Particle d) -> bool
11524  """
11525  return _IMP_atom.CHARMMAtom___ge__(self, *args)
11526 
11527 
11528  def __gt__(self, *args):
11529  """
11530  __gt__(CHARMMAtom self, CHARMMAtom o) -> bool
11531  __gt__(CHARMMAtom self, Particle d) -> bool
11532  """
11533  return _IMP_atom.CHARMMAtom___gt__(self, *args)
11534 
11535 
11536  def __hash__(self):
11537  """__hash__(CHARMMAtom self) -> std::size_t"""
11538  return _IMP_atom.CHARMMAtom___hash__(self)
11539 
11540 
11541  def __str__(self):
11542  """__str__(CHARMMAtom self) -> std::string"""
11543  return _IMP_atom.CHARMMAtom___str__(self)
11544 
11545 
11546  def __repr__(self):
11547  """__repr__(CHARMMAtom self) -> std::string"""
11548  return _IMP_atom.CHARMMAtom___repr__(self)
11549 
11550  __swig_destroy__ = _IMP_atom.delete_CHARMMAtom
11551  __del__ = lambda self: None
11552 CHARMMAtom_swigregister = _IMP_atom.CHARMMAtom_swigregister
11553 CHARMMAtom_swigregister(CHARMMAtom)
11554 
11555 def CHARMMAtom_setup_particle(*args):
11556  """
11557  setup_particle(Model m, ParticleIndex pi, IMP::String charmm_type) -> CHARMMAtom
11558  CHARMMAtom_setup_particle(_ParticleAdaptor decorator, IMP::String charmm_type) -> CHARMMAtom
11559  """
11560  return _IMP_atom.CHARMMAtom_setup_particle(*args)
11561 
11562 def CHARMMAtom_get_is_setup(*args):
11563  """
11564  get_is_setup(_ParticleAdaptor p) -> bool
11565  CHARMMAtom_get_is_setup(Model m, ParticleIndex pi) -> bool
11566  """
11567  return _IMP_atom.CHARMMAtom_get_is_setup(*args)
11568 
11569 def CHARMMAtom_get_charmm_type_key():
11570  """CHARMMAtom_get_charmm_type_key() -> StringKey"""
11571  return _IMP_atom.CHARMMAtom_get_charmm_type_key()
11572 
11573 
11574 def get_charmm_untyped_atoms(hierarchy):
11575  """get_charmm_untyped_atoms(Hierarchy hierarchy) -> IMP::atom::Atoms"""
11576  return _IMP_atom.get_charmm_untyped_atoms(hierarchy)
11577 
11578 def remove_charmm_untyped_atoms(hierarchy):
11579  """remove_charmm_untyped_atoms(Hierarchy hierarchy)"""
11580  return _IMP_atom.remove_charmm_untyped_atoms(hierarchy)
11581 class CHARMMBondParameters(object):
11582  """Proxy of C++ IMP::atom::CHARMMBondParameters class."""
11583 
11584  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11585  force_constant = _swig_property(_IMP_atom.CHARMMBondParameters_force_constant_get, _IMP_atom.CHARMMBondParameters_force_constant_set)
11586  ideal = _swig_property(_IMP_atom.CHARMMBondParameters_ideal_get, _IMP_atom.CHARMMBondParameters_ideal_set)
11587 
11588  def __init__(self):
11589  """__init__(IMP::atom::CHARMMBondParameters self) -> CHARMMBondParameters"""
11590  this = _IMP_atom.new_CHARMMBondParameters()
11591  try:
11592  self.this.append(this)
11593  except Exception:
11594  self.this = this
11595 
11596  def show(self, *args):
11597  """
11598  show(CHARMMBondParameters self, _ostream out)
11599  show(CHARMMBondParameters self)
11600  """
11601  return _IMP_atom.CHARMMBondParameters_show(self, *args)
11602 
11603 
11604  def __str__(self):
11605  """__str__(CHARMMBondParameters self) -> std::string"""
11606  return _IMP_atom.CHARMMBondParameters___str__(self)
11607 
11608 
11609  def __repr__(self):
11610  """__repr__(CHARMMBondParameters self) -> std::string"""
11611  return _IMP_atom.CHARMMBondParameters___repr__(self)
11612 
11613  __swig_destroy__ = _IMP_atom.delete_CHARMMBondParameters
11614  __del__ = lambda self: None
11615 CHARMMBondParameters_swigregister = _IMP_atom.CHARMMBondParameters_swigregister
11616 CHARMMBondParameters_swigregister(CHARMMBondParameters)
11617 
11618 class CHARMMDihedralParameters(object):
11619  """Proxy of C++ IMP::atom::CHARMMDihedralParameters class."""
11620 
11621  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11622  force_constant = _swig_property(_IMP_atom.CHARMMDihedralParameters_force_constant_get, _IMP_atom.CHARMMDihedralParameters_force_constant_set)
11623  multiplicity = _swig_property(_IMP_atom.CHARMMDihedralParameters_multiplicity_get, _IMP_atom.CHARMMDihedralParameters_multiplicity_set)
11624  ideal = _swig_property(_IMP_atom.CHARMMDihedralParameters_ideal_get, _IMP_atom.CHARMMDihedralParameters_ideal_set)
11625 
11626  def __init__(self):
11627  """__init__(IMP::atom::CHARMMDihedralParameters self) -> CHARMMDihedralParameters"""
11628  this = _IMP_atom.new_CHARMMDihedralParameters()
11629  try:
11630  self.this.append(this)
11631  except Exception:
11632  self.this = this
11633 
11634  def show(self, *args):
11635  """
11636  show(CHARMMDihedralParameters self, _ostream out)
11637  show(CHARMMDihedralParameters self)
11638  """
11639  return _IMP_atom.CHARMMDihedralParameters_show(self, *args)
11640 
11641 
11642  def __str__(self):
11643  """__str__(CHARMMDihedralParameters self) -> std::string"""
11644  return _IMP_atom.CHARMMDihedralParameters___str__(self)
11645 
11646 
11647  def __repr__(self):
11648  """__repr__(CHARMMDihedralParameters self) -> std::string"""
11649  return _IMP_atom.CHARMMDihedralParameters___repr__(self)
11650 
11651  __swig_destroy__ = _IMP_atom.delete_CHARMMDihedralParameters
11652  __del__ = lambda self: None
11653 CHARMMDihedralParameters_swigregister = _IMP_atom.CHARMMDihedralParameters_swigregister
11654 CHARMMDihedralParameters_swigregister(CHARMMDihedralParameters)
11655 
11656 class CHARMMParameters(ForceFieldParameters):
11657  """Proxy of C++ IMP::atom::CHARMMParameters class."""
11658 
11659  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11660 
11661  def __init__(self, *args):
11662  """
11663  __init__(IMP::atom::CHARMMParameters self, TextInput topology_file_name, TextInput par_file_name, bool translate_names_to_pdb=False) -> CHARMMParameters
11664  __init__(IMP::atom::CHARMMParameters self, TextInput topology_file_name, TextInput par_file_name) -> CHARMMParameters
11665  __init__(IMP::atom::CHARMMParameters self, TextInput topology_file_name) -> CHARMMParameters
11666  """
11667  this = _IMP_atom.new_CHARMMParameters(*args)
11668  try:
11669  self.this.append(this)
11670  except Exception:
11671  self.this = this
11672 
11673  def add_residue_topology(self, res):
11674  """add_residue_topology(CHARMMParameters self, CHARMMIdealResidueTopology res)"""
11675  return _IMP_atom.CHARMMParameters_add_residue_topology(self, res)
11676 
11677 
11678  def get_residue_topology(self, type):
11679  """get_residue_topology(CHARMMParameters self, ResidueType type) -> CHARMMIdealResidueTopology"""
11680  return _IMP_atom.CHARMMParameters_get_residue_topology(self, type)
11681 
11682 
11683  def add_patch(self, patch):
11684  """add_patch(CHARMMParameters self, CHARMMPatch patch)"""
11685  return _IMP_atom.CHARMMParameters_add_patch(self, patch)
11686 
11687 
11688  def get_patch(self, name):
11689  """get_patch(CHARMMParameters self, std::string name) -> CHARMMPatch"""
11690  return _IMP_atom.CHARMMParameters_get_patch(self, name)
11691 
11692 
11693  def create_topology(self, hierarchy):
11694  """create_topology(CHARMMParameters self, Hierarchy hierarchy) -> CHARMMTopology"""
11695  return _IMP_atom.CHARMMParameters_create_topology(self, hierarchy)
11696 
11697 
11698  def get_bond_parameters(self, type1, type2):
11699  """get_bond_parameters(CHARMMParameters self, std::string type1, std::string type2) -> CHARMMBondParameters"""
11700  return _IMP_atom.CHARMMParameters_get_bond_parameters(self, type1, type2)
11701 
11702 
11703  def get_angle_parameters(self, type1, type2, type3):
11704  """get_angle_parameters(CHARMMParameters self, std::string type1, std::string type2, std::string type3) -> CHARMMBondParameters"""
11705  return _IMP_atom.CHARMMParameters_get_angle_parameters(self, type1, type2, type3)
11706 
11707 
11708  def get_dihedral_parameters(self, type1, type2, type3, type4):
11709  """get_dihedral_parameters(CHARMMParameters self, std::string type1, std::string type2, std::string type3, std::string type4) -> IMP::atom::CHARMMDihedralParametersList"""
11710  return _IMP_atom.CHARMMParameters_get_dihedral_parameters(self, type1, type2, type3, type4)
11711 
11712 
11713  def get_improper_parameters(self, type1, type2, type3, type4):
11714  """get_improper_parameters(CHARMMParameters self, std::string type1, std::string type2, std::string type3, std::string type4) -> CHARMMDihedralParameters"""
11715  return _IMP_atom.CHARMMParameters_get_improper_parameters(self, type1, type2, type3, type4)
11716 
11717 
11718  def create_angles(self, bonds):
11719  """create_angles(CHARMMParameters self, IMP::Particles bonds) -> IMP::Particles"""
11720  return _IMP_atom.CHARMMParameters_create_angles(self, bonds)
11721 
11722 
11723  def create_dihedrals(self, bonds):
11724  """create_dihedrals(CHARMMParameters self, IMP::Particles bonds) -> IMP::Particles"""
11725  return _IMP_atom.CHARMMParameters_create_dihedrals(self, bonds)
11726 
11727 
11728  def get_version_info(self):
11729  """get_version_info(CHARMMParameters self) -> VersionInfo"""
11730  return _IMP_atom.CHARMMParameters_get_version_info(self)
11731 
11732 
11733  def __str__(self):
11734  """__str__(CHARMMParameters self) -> std::string"""
11735  return _IMP_atom.CHARMMParameters___str__(self)
11736 
11737 
11738  def __repr__(self):
11739  """__repr__(CHARMMParameters self) -> std::string"""
11740  return _IMP_atom.CHARMMParameters___repr__(self)
11741 
11742 
11743  @staticmethod
11744  def get_from(o):
11745  return _object_cast_to_CHARMMParameters(o)
11746 
11747 CHARMMParameters_swigregister = _IMP_atom.CHARMMParameters_swigregister
11748 CHARMMParameters_swigregister(CHARMMParameters)
11749 
11750 
11752  """get_heavy_atom_CHARMM_parameters() -> CHARMMParameters"""
11753  return _IMP_atom.get_heavy_atom_CHARMM_parameters()
11754 
11756  """get_all_atom_CHARMM_parameters() -> CHARMMParameters"""
11757  return _IMP_atom.get_all_atom_CHARMM_parameters()
11758 class CHARMMSegmentTopology(IMP.Object):
11759  """Proxy of C++ IMP::atom::CHARMMSegmentTopology class."""
11760 
11761  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11762 
11763  def remove_residue(self, d):
11764  """remove_residue(CHARMMSegmentTopology self, CHARMMResidueTopology d)"""
11765  return _IMP_atom.CHARMMSegmentTopology_remove_residue(self, d)
11766 
11767 
11768  def remove_residues(self, d):
11769  """remove_residues(CHARMMSegmentTopology self, IMP::atom::CHARMMResidueTopologies const & d)"""
11770  return _IMP_atom.CHARMMSegmentTopology_remove_residues(self, d)
11771 
11772 
11773  def set_residues(self, ps):
11774  """set_residues(CHARMMSegmentTopology self, IMP::atom::CHARMMResidueTopologies const & ps)"""
11775  return _IMP_atom.CHARMMSegmentTopology_set_residues(self, ps)
11776 
11777 
11778  def set_residues_order(self, objs):
11779  """set_residues_order(CHARMMSegmentTopology self, IMP::atom::CHARMMResidueTopologies const & objs)"""
11780  return _IMP_atom.CHARMMSegmentTopology_set_residues_order(self, objs)
11781 
11782 
11783  def add_residue(self, obj):
11784  """add_residue(CHARMMSegmentTopology self, CHARMMResidueTopology obj) -> unsigned int"""
11785  return _IMP_atom.CHARMMSegmentTopology_add_residue(self, obj)
11786 
11787 
11788  def add_residues(self, objs):
11789  """add_residues(CHARMMSegmentTopology self, IMP::atom::CHARMMResidueTopologies const & objs)"""
11790  return _IMP_atom.CHARMMSegmentTopology_add_residues(self, objs)
11791 
11792 
11793  def clear_residues(self):
11794  """clear_residues(CHARMMSegmentTopology self)"""
11795  return _IMP_atom.CHARMMSegmentTopology_clear_residues(self)
11796 
11797 
11798  def get_number_of_residues(self):
11799  """get_number_of_residues(CHARMMSegmentTopology self) -> unsigned int"""
11800  return _IMP_atom.CHARMMSegmentTopology_get_number_of_residues(self)
11801 
11802 
11803  def get_has_residues(self):
11804  """get_has_residues(CHARMMSegmentTopology self) -> bool"""
11805  return _IMP_atom.CHARMMSegmentTopology_get_has_residues(self)
11806 
11807 
11808  def get_residue(self, i):
11809  """get_residue(CHARMMSegmentTopology self, unsigned int i) -> CHARMMResidueTopology"""
11810  return _IMP_atom.CHARMMSegmentTopology_get_residue(self, i)
11811 
11812 
11813  def get_residues(self):
11814  """get_residues(CHARMMSegmentTopology self) -> IMP::atom::CHARMMResidueTopologies"""
11815  return _IMP_atom.CHARMMSegmentTopology_get_residues(self)
11816 
11817 
11818  def reserve_residues(self, sz):
11819  """reserve_residues(CHARMMSegmentTopology self, unsigned int sz)"""
11820  return _IMP_atom.CHARMMSegmentTopology_reserve_residues(self, sz)
11821 
11822 
11823  def get_version_info(self):
11824  """get_version_info(CHARMMSegmentTopology self) -> VersionInfo"""
11825  return _IMP_atom.CHARMMSegmentTopology_get_version_info(self)
11826 
11827 
11828  def __init__(self, *args):
11829  """
11830  __init__(IMP::atom::CHARMMSegmentTopology self, std::string name) -> CHARMMSegmentTopology
11831  __init__(IMP::atom::CHARMMSegmentTopology self) -> CHARMMSegmentTopology
11832  """
11833  this = _IMP_atom.new_CHARMMSegmentTopology(*args)
11834  try:
11835  self.this.append(this)
11836  except Exception:
11837  self.this = this
11838 
11839  def apply_default_patches(self, ff):
11840  """apply_default_patches(CHARMMSegmentTopology self, CHARMMParameters ff)"""
11841  return _IMP_atom.CHARMMSegmentTopology_apply_default_patches(self, ff)
11842 
11843 
11844  def __str__(self):
11845  """__str__(CHARMMSegmentTopology self) -> std::string"""
11846  return _IMP_atom.CHARMMSegmentTopology___str__(self)
11847 
11848 
11849  def __repr__(self):
11850  """__repr__(CHARMMSegmentTopology self) -> std::string"""
11851  return _IMP_atom.CHARMMSegmentTopology___repr__(self)
11852 
11853 
11854  @staticmethod
11855  def get_from(o):
11856  return _object_cast_to_CHARMMSegmentTopology(o)
11857 
11858 CHARMMSegmentTopology_swigregister = _IMP_atom.CHARMMSegmentTopology_swigregister
11859 CHARMMSegmentTopology_swigregister(CHARMMSegmentTopology)
11860 
11861 class CHARMMTopology(IMP.Object):
11862  """Proxy of C++ IMP::atom::CHARMMTopology class."""
11863 
11864  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11865 
11866  def __init__(self, *args):
11867  """
11868  __init__(IMP::atom::CHARMMTopology self, CHARMMParameters force_field, std::string name) -> CHARMMTopology
11869  __init__(IMP::atom::CHARMMTopology self, CHARMMParameters force_field) -> CHARMMTopology
11870  """
11871  this = _IMP_atom.new_CHARMMTopology(*args)
11872  try:
11873  self.this.append(this)
11874  except Exception:
11875  self.this = this
11876 
11877  def get_parameters(self):
11878  """get_parameters(CHARMMTopology self) -> CHARMMParameters"""
11879  return _IMP_atom.CHARMMTopology_get_parameters(self)
11880 
11881 
11882  def add_sequence(self, sequence):
11883  """add_sequence(CHARMMTopology self, std::string sequence)"""
11884  return _IMP_atom.CHARMMTopology_add_sequence(self, sequence)
11885 
11886 
11887  def apply_default_patches(self):
11888  """apply_default_patches(CHARMMTopology self)"""
11889  return _IMP_atom.CHARMMTopology_apply_default_patches(self)
11890 
11891 
11892  def create_hierarchy(self, model):
11893  """create_hierarchy(CHARMMTopology self, Model model) -> Hierarchy"""
11894  return _IMP_atom.CHARMMTopology_create_hierarchy(self, model)
11895 
11896 
11897  def add_atom_types(self, hierarchy):
11898  """add_atom_types(CHARMMTopology self, Hierarchy hierarchy)"""
11899  return _IMP_atom.CHARMMTopology_add_atom_types(self, hierarchy)
11900 
11901 
11902  def add_coordinates(self, hierarchy):
11903  """add_coordinates(CHARMMTopology self, Hierarchy hierarchy)"""
11904  return _IMP_atom.CHARMMTopology_add_coordinates(self, hierarchy)
11905 
11906 
11907  def add_missing_atoms(self, hierarchy):
11908  """add_missing_atoms(CHARMMTopology self, Hierarchy hierarchy)"""
11909  return _IMP_atom.CHARMMTopology_add_missing_atoms(self, hierarchy)
11910 
11911 
11912  def setup_hierarchy(self, hierarchy):
11913  """setup_hierarchy(CHARMMTopology self, Hierarchy hierarchy)"""
11914  return _IMP_atom.CHARMMTopology_setup_hierarchy(self, hierarchy)
11915 
11916 
11917  def add_charges(self, hierarchy):
11918  """add_charges(CHARMMTopology self, Hierarchy hierarchy)"""
11919  return _IMP_atom.CHARMMTopology_add_charges(self, hierarchy)
11920 
11921 
11922  def add_bonds(self, hierarchy):
11923  """add_bonds(CHARMMTopology self, Hierarchy hierarchy) -> IMP::Particles"""
11924  return _IMP_atom.CHARMMTopology_add_bonds(self, hierarchy)
11925 
11926 
11927  def add_dihedrals(self, hierarchy):
11928  """add_dihedrals(CHARMMTopology self, Hierarchy hierarchy) -> IMP::Particles"""
11929  return _IMP_atom.CHARMMTopology_add_dihedrals(self, hierarchy)
11930 
11931 
11932  def add_impropers(self, hierarchy):
11933  """add_impropers(CHARMMTopology self, Hierarchy hierarchy) -> IMP::Particles"""
11934  return _IMP_atom.CHARMMTopology_add_impropers(self, hierarchy)
11935 
11936 
11937  def remove_segment(self, d):
11938  """remove_segment(CHARMMTopology self, CHARMMSegmentTopology d)"""
11939  return _IMP_atom.CHARMMTopology_remove_segment(self, d)
11940 
11941 
11942  def remove_segments(self, d):
11943  """remove_segments(CHARMMTopology self, IMP::atom::CHARMMSegmentTopologies const & d)"""
11944  return _IMP_atom.CHARMMTopology_remove_segments(self, d)
11945 
11946 
11947  def set_segments(self, ps):
11948  """set_segments(CHARMMTopology self, IMP::atom::CHARMMSegmentTopologies const & ps)"""
11949  return _IMP_atom.CHARMMTopology_set_segments(self, ps)
11950 
11951 
11952  def set_segments_order(self, objs):
11953  """set_segments_order(CHARMMTopology self, IMP::atom::CHARMMSegmentTopologies const & objs)"""
11954  return _IMP_atom.CHARMMTopology_set_segments_order(self, objs)
11955 
11956 
11957  def add_segment(self, obj):
11958  """add_segment(CHARMMTopology self, CHARMMSegmentTopology obj) -> unsigned int"""
11959  return _IMP_atom.CHARMMTopology_add_segment(self, obj)
11960 
11961 
11962  def add_segments(self, objs):
11963  """add_segments(CHARMMTopology self, IMP::atom::CHARMMSegmentTopologies const & objs)"""
11964  return _IMP_atom.CHARMMTopology_add_segments(self, objs)
11965 
11966 
11967  def clear_segments(self):
11968  """clear_segments(CHARMMTopology self)"""
11969  return _IMP_atom.CHARMMTopology_clear_segments(self)
11970 
11971 
11972  def get_number_of_segments(self):
11973  """get_number_of_segments(CHARMMTopology self) -> unsigned int"""
11974  return _IMP_atom.CHARMMTopology_get_number_of_segments(self)
11975 
11976 
11977  def get_has_segments(self):
11978  """get_has_segments(CHARMMTopology self) -> bool"""
11979  return _IMP_atom.CHARMMTopology_get_has_segments(self)
11980 
11981 
11982  def get_segment(self, i):
11983  """get_segment(CHARMMTopology self, unsigned int i) -> CHARMMSegmentTopology"""
11984  return _IMP_atom.CHARMMTopology_get_segment(self, i)
11985 
11986 
11987  def get_segments(self):
11988  """get_segments(CHARMMTopology self) -> IMP::atom::CHARMMSegmentTopologies"""
11989  return _IMP_atom.CHARMMTopology_get_segments(self)
11990 
11991 
11992  def reserve_segments(self, sz):
11993  """reserve_segments(CHARMMTopology self, unsigned int sz)"""
11994  return _IMP_atom.CHARMMTopology_reserve_segments(self, sz)
11995 
11996 
11997  def get_version_info(self):
11998  """get_version_info(CHARMMTopology self) -> VersionInfo"""
11999  return _IMP_atom.CHARMMTopology_get_version_info(self)
12000 
12001 
12002  def __str__(self):
12003  """__str__(CHARMMTopology self) -> std::string"""
12004  return _IMP_atom.CHARMMTopology___str__(self)
12005 
12006 
12007  def __repr__(self):
12008  """__repr__(CHARMMTopology self) -> std::string"""
12009  return _IMP_atom.CHARMMTopology___repr__(self)
12010 
12011 
12012  @staticmethod
12013  def get_from(o):
12014  return _object_cast_to_CHARMMTopology(o)
12015 
12016 CHARMMTopology_swigregister = _IMP_atom.CHARMMTopology_swigregister
12017 CHARMMTopology_swigregister(CHARMMTopology)
12018 
12019 class CHARMMStereochemistryRestraint(IMP.Restraint):
12020  """Proxy of C++ IMP::atom::CHARMMStereochemistryRestraint class."""
12021 
12022  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12023 
12024  def __init__(self, *args):
12025  """
12026  __init__(IMP::atom::CHARMMStereochemistryRestraint self, Hierarchy h, CHARMMTopology topology) -> CHARMMStereochemistryRestraint
12027  __init__(IMP::atom::CHARMMStereochemistryRestraint self, Hierarchy h, CHARMMTopology topology, IMP::ParticlesTemp limit_to_these_particles) -> CHARMMStereochemistryRestraint
12028  """
12029  this = _IMP_atom.new_CHARMMStereochemistryRestraint(*args)
12030  try:
12031  self.this.append(this)
12032  except Exception:
12033  self.this = this
12034 
12035  def get_pair_filter(self):
12036  """get_pair_filter(CHARMMStereochemistryRestraint self) -> StereochemistryPairFilter"""
12037  return _IMP_atom.CHARMMStereochemistryRestraint_get_pair_filter(self)
12038 
12039 
12040  def get_full_pair_filter(self):
12041  """get_full_pair_filter(CHARMMStereochemistryRestraint self) -> StereochemistryPairFilter"""
12042  return _IMP_atom.CHARMMStereochemistryRestraint_get_full_pair_filter(self)
12043 
12044 
12045  def do_get_inputs(self):
12046  """do_get_inputs(CHARMMStereochemistryRestraint self) -> IMP::ModelObjectsTemp"""
12047  return _IMP_atom.CHARMMStereochemistryRestraint_do_get_inputs(self)
12048 
12049 
12050  def get_version_info(self):
12051  """get_version_info(CHARMMStereochemistryRestraint self) -> VersionInfo"""
12052  return _IMP_atom.CHARMMStereochemistryRestraint_get_version_info(self)
12053 
12054 
12055  def __str__(self):
12056  """__str__(CHARMMStereochemistryRestraint self) -> std::string"""
12057  return _IMP_atom.CHARMMStereochemistryRestraint___str__(self)
12058 
12059 
12060  def __repr__(self):
12061  """__repr__(CHARMMStereochemistryRestraint self) -> std::string"""
12062  return _IMP_atom.CHARMMStereochemistryRestraint___repr__(self)
12063 
12064 
12065  @staticmethod
12066  def get_from(o):
12067  return _object_cast_to_CHARMMStereochemistryRestraint(o)
12068 
12069 CHARMMStereochemistryRestraint_swigregister = _IMP_atom.CHARMMStereochemistryRestraint_swigregister
12070 CHARMMStereochemistryRestraint_swigregister(CHARMMStereochemistryRestraint)
12071 
12072 
12073 def add_bonds(*args):
12074  """
12075  add_bonds(Hierarchy d, ForceFieldParameters ffp)
12076  add_bonds(Hierarchy d)
12077  """
12078  return _IMP_atom.add_bonds(*args)
12079 
12080 def add_radii(*args):
12081  """
12082  add_radii(Hierarchy d, ForceFieldParameters ffp, FloatKey radius_key)
12083  add_radii(Hierarchy d, ForceFieldParameters ffp)
12084  add_radii(Hierarchy d)
12085  """
12086  return _IMP_atom.add_radii(*args)
12087 
12088 _IMP_atom.ALBER_swigconstant(_IMP_atom)
12089 ALBER = _IMP_atom.ALBER
12090 
12091 _IMP_atom.HARPAZ_swigconstant(_IMP_atom)
12092 HARPAZ = _IMP_atom.HARPAZ
12093 
12094 _IMP_atom.ANDERSSON_swigconstant(_IMP_atom)
12095 ANDERSSON = _IMP_atom.ANDERSSON
12096 
12097 _IMP_atom.TSAI_swigconstant(_IMP_atom)
12098 TSAI = _IMP_atom.TSAI
12099 
12100 _IMP_atom.QUILLIN_swigconstant(_IMP_atom)
12101 QUILLIN = _IMP_atom.QUILLIN
12102 
12103 _IMP_atom.SQUIRE_swigconstant(_IMP_atom)
12104 SQUIRE = _IMP_atom.SQUIRE
12105 
12106 def get_protein_density_from_reference(densityReference):
12107  """get_protein_density_from_reference(IMP::atom::ProteinDensityReference densityReference) -> double"""
12108  return _IMP_atom.get_protein_density_from_reference(densityReference)
12109 
12110 def get_volume_from_mass(*args):
12111  """
12112  get_volume_from_mass(double m, IMP::atom::ProteinDensityReference ref) -> double
12113  get_volume_from_mass(double m) -> double
12114  """
12115  return _IMP_atom.get_volume_from_mass(*args)
12116 
12117 def get_mass_from_volume(*args):
12118  """
12119  get_mass_from_volume(double v, IMP::atom::ProteinDensityReference ref) -> double
12120  get_mass_from_volume(double v) -> double
12121  """
12122  return _IMP_atom.get_mass_from_volume(*args)
12123 
12125  """get_mass_from_number_of_residues(unsigned int num_aa) -> double"""
12126  return _IMP_atom.get_mass_from_number_of_residues(num_aa)
12127 
12129  """get_volume_from_residue_type(ResidueType rt) -> double"""
12130  return _IMP_atom.get_volume_from_residue_type(rt)
12131 
12132 def get_molarity(n, volume):
12133  """get_molarity(double n, double volume) -> double"""
12134  return _IMP_atom.get_molarity(n, volume)
12135 
12136 def get_kd(na, nb, nab, volume):
12137  """get_kd(double na, double nb, double nab, double volume) -> double"""
12138  return _IMP_atom.get_kd(na, nb, nab, volume)
12139 
12141  """get_einstein_diffusion_coefficient(double r) -> double"""
12142  return _IMP_atom.get_einstein_diffusion_coefficient(r)
12143 
12145  """get_einstein_rotational_diffusion_coefficient(double r) -> double"""
12146  return _IMP_atom.get_einstein_rotational_diffusion_coefficient(r)
12147 
12148 def get_diffusion_length(*args):
12149  """
12150  get_diffusion_length(double D, double t) -> double
12151  get_diffusion_length(double D, double force, double t, double temp=273) -> double
12152  get_diffusion_length(double D, double force, double t) -> double
12153  """
12154  return _IMP_atom.get_diffusion_length(*args)
12155 
12156 def get_diffusion_angle(D, dtfs):
12157  """get_diffusion_angle(double D, double dtfs) -> double"""
12158  return _IMP_atom.get_diffusion_angle(D, dtfs)
12159 
12160 def get_diffusion_coefficient(displacements, dt):
12161  """get_diffusion_coefficient(IMP::algebra::Vector3Ds const & displacements, double dt) -> double"""
12162  return _IMP_atom.get_diffusion_coefficient(displacements, dt)
12163 
12164 def get_rotational_diffusion_coefficient(displacements, dt):
12165  """get_rotational_diffusion_coefficient(IMP::algebra::Rotation3Ds const & displacements, double dt) -> double"""
12166  return _IMP_atom.get_rotational_diffusion_coefficient(displacements, dt)
12167 class EzRestraint(IMP.Restraint):
12168  """Proxy of C++ IMP::atom::EzRestraint class."""
12169 
12170  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12171 
12172  def __init__(self, m, ps):
12173  """__init__(IMP::atom::EzRestraint self, Model m, _ParticleIndexesAdaptor ps) -> EzRestraint"""
12174  this = _IMP_atom.new_EzRestraint(m, ps)
12175  try:
12176  self.this.append(this)
12177  except Exception:
12178  self.this = this
12179 
12180  def get_version_info(self):
12181  """get_version_info(EzRestraint self) -> VersionInfo"""
12182  return _IMP_atom.EzRestraint_get_version_info(self)
12183 
12184 
12185  def __str__(self):
12186  """__str__(EzRestraint self) -> std::string"""
12187  return _IMP_atom.EzRestraint___str__(self)
12188 
12189 
12190  def __repr__(self):
12191  """__repr__(EzRestraint self) -> std::string"""
12192  return _IMP_atom.EzRestraint___repr__(self)
12193 
12194 
12195  @staticmethod
12196  def get_from(o):
12197  return _object_cast_to_EzRestraint(o)
12198 
12199 EzRestraint_swigregister = _IMP_atom.EzRestraint_swigregister
12200 EzRestraint_swigregister(EzRestraint)
12201 
12202 
12203 def create_protein(*args):
12204  """
12205  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
12206  create_protein(Model m, std::string name, double target_radius, int number_of_residues, int first_residue_index=0, double volume=-1) -> Hierarchy
12207  create_protein(Model m, std::string name, double target_radius, int number_of_residues, int first_residue_index=0) -> Hierarchy
12208  create_protein(Model m, std::string name, double target_radius, int number_of_residues) -> Hierarchy
12209  create_protein(Model m, std::string name, double target_radius, IMP::Ints const domain_boundaries) -> Hierarchy
12210  """
12211  return _IMP_atom.create_protein(*args)
12212 
12214  """
12215  create_simplified_along_backbone(Hierarchy input, int num_res, bool keep_detailed=False) -> Hierarchy
12216  create_simplified_along_backbone(Hierarchy input, int num_res) -> Hierarchy
12217  create_simplified_along_backbone(Chain input, IMP::IntRanges const & residue_segments, bool keep_detailed=False) -> Hierarchy
12218  create_simplified_along_backbone(Chain input, IMP::IntRanges const & residue_segments) -> Hierarchy
12219  """
12220  return _IMP_atom.create_simplified_along_backbone(*args)
12221 
12222 def create_simplified_from_volume(h, resolution):
12223  """create_simplified_from_volume(Hierarchy h, double resolution) -> Hierarchy"""
12224  return _IMP_atom.create_simplified_from_volume(h, resolution)
12225 
12226 def create_simplified_assembly_from_volume(h, resolution):
12227  """create_simplified_assembly_from_volume(Hierarchy h, double resolution) -> Hierarchy"""
12228  return _IMP_atom.create_simplified_assembly_from_volume(h, resolution)
12229 
12230 def get_residue_indexes(h):
12231  """get_residue_indexes(Hierarchy h) -> IMP::Ints"""
12232  return _IMP_atom.get_residue_indexes(h)
12233 
12234 def get_residue_type(*args):
12235  """
12236  get_residue_type(char c) -> ResidueType
12237  get_residue_type(Hierarchy h) -> ResidueType
12238  """
12239  return _IMP_atom.get_residue_type(*args)
12240 
12241 def get_atom_type(h):
12242  """get_atom_type(Hierarchy h) -> AtomType"""
12243  return _IMP_atom.get_atom_type(h)
12244 
12245 def get_domain_name(h):
12246  """get_domain_name(Hierarchy h) -> std::string"""
12247  return _IMP_atom.get_domain_name(h)
12248 
12250  """
12251  create_excluded_volume_restraint(IMP::atom::Selections const & s) -> Restraint
12252  create_excluded_volume_restraint(IMP::atom::Hierarchies const & hs, double resolution=-1) -> Restraint
12253  create_excluded_volume_restraint(IMP::atom::Hierarchies const & hs) -> Restraint
12254  """
12255  return _IMP_atom.create_excluded_volume_restraint(*args)
12256 
12257 def setup_as_approximation(*args):
12258  """
12259  setup_as_approximation(Particle h, IMP::ParticlesTemp const & other, double resolution=-1)
12260  setup_as_approximation(Particle h, IMP::ParticlesTemp const & other)
12261  setup_as_approximation(Hierarchy h, double resolution=-1)
12262  setup_as_approximation(Hierarchy h)
12263  """
12264  return _IMP_atom.setup_as_approximation(*args)
12265 class _HierarchyTreeVertexIndex(object):
12266  """Proxy of C++ IMP::atom::HierarchyTreeVertexIndex class."""
12267 
12268  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12269  __repr__ = _swig_repr
12270 
12271  def __init__(self):
12272  """__init__(IMP::atom::HierarchyTreeVertexIndex self) -> _HierarchyTreeVertexIndex"""
12273  this = _IMP_atom.new__HierarchyTreeVertexIndex()
12274  try:
12275  self.this.append(this)
12276  except Exception:
12277  self.this = this
12278  __swig_destroy__ = _IMP_atom.delete__HierarchyTreeVertexIndex
12279  __del__ = lambda self: None
12280 _HierarchyTreeVertexIndex_swigregister = _IMP_atom._HierarchyTreeVertexIndex_swigregister
12281 _HierarchyTreeVertexIndex_swigregister(_HierarchyTreeVertexIndex)
12282 
12283 
12284 def show_as_graphviz(name, out):
12285  """show_as_graphviz(IMP::atom::HierarchyTree const & name, TextOutput out)"""
12286  return _IMP_atom.show_as_graphviz(name, out)
12287 
12288 def get_vertex_index(g):
12289  """get_vertex_index(IMP::atom::HierarchyTree const & g) -> _HierarchyTreeVertexIndex"""
12290  return _IMP_atom.get_vertex_index(g)
12291 
12292 def get_hierarchy_tree(h):
12293  """get_hierarchy_tree(Hierarchy h) -> IMP::atom::HierarchyTree"""
12294  return _IMP_atom.get_hierarchy_tree(h)
12295 class HierarchyGeometry(IMP.display.SingletonGeometry):
12296  """Proxy of C++ IMP::atom::HierarchyGeometry class."""
12297 
12298  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12299 
12300  def __init__(self, d, resolution=0):
12301  """
12302  __init__(IMP::atom::HierarchyGeometry self, Hierarchy d, double resolution=0) -> HierarchyGeometry
12303  __init__(IMP::atom::HierarchyGeometry self, Hierarchy d) -> HierarchyGeometry
12304  """
12305  this = _IMP_atom.new_HierarchyGeometry(d, resolution)
12306  try:
12307  self.this.append(this)
12308  except Exception:
12309  self.this = this
12310 
12311  def get_version_info(self):
12312  """get_version_info(HierarchyGeometry self) -> VersionInfo"""
12313  return _IMP_atom.HierarchyGeometry_get_version_info(self)
12314 
12315 
12316  def __str__(self):
12317  """__str__(HierarchyGeometry self) -> std::string"""
12318  return _IMP_atom.HierarchyGeometry___str__(self)
12319 
12320 
12321  def __repr__(self):
12322  """__repr__(HierarchyGeometry self) -> std::string"""
12323  return _IMP_atom.HierarchyGeometry___repr__(self)
12324 
12325 
12326  @staticmethod
12327  def get_from(o):
12328  return _object_cast_to_HierarchyGeometry(o)
12329 
12330 HierarchyGeometry_swigregister = _IMP_atom.HierarchyGeometry_swigregister
12331 HierarchyGeometry_swigregister(HierarchyGeometry)
12332 
12333 class HierarchiesGeometry(IMP.display.SingletonsGeometry):
12334  """Proxy of C++ IMP::atom::HierarchiesGeometry class."""
12335 
12336  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12337 
12338  def __init__(self, sc, resolution=-1):
12339  """
12340  __init__(IMP::atom::HierarchiesGeometry self, SingletonContainer sc, double resolution=-1) -> HierarchiesGeometry
12341  __init__(IMP::atom::HierarchiesGeometry self, SingletonContainer sc) -> HierarchiesGeometry
12342  """
12343  this = _IMP_atom.new_HierarchiesGeometry(sc, resolution)
12344  try:
12345  self.this.append(this)
12346  except Exception:
12347  self.this = this
12348 
12349  def get_version_info(self):
12350  """get_version_info(HierarchiesGeometry self) -> VersionInfo"""
12351  return _IMP_atom.HierarchiesGeometry_get_version_info(self)
12352 
12353 
12354  def __str__(self):
12355  """__str__(HierarchiesGeometry self) -> std::string"""
12356  return _IMP_atom.HierarchiesGeometry___str__(self)
12357 
12358 
12359  def __repr__(self):
12360  """__repr__(HierarchiesGeometry self) -> std::string"""
12361  return _IMP_atom.HierarchiesGeometry___repr__(self)
12362 
12363 
12364  @staticmethod
12365  def get_from(o):
12366  return _object_cast_to_HierarchiesGeometry(o)
12367 
12368 HierarchiesGeometry_swigregister = _IMP_atom.HierarchiesGeometry_swigregister
12369 HierarchiesGeometry_swigregister(HierarchiesGeometry)
12370 
12371 
12372 def transform(*args):
12373  """
12374  transform(Hierarchy h, Transformation3D tr)
12375  transform(Hierarchy h, Transformation3D tr)
12376  """
12377  return _IMP_atom.transform(*args)
12378 class DopePairScore(_ADopeBase):
12379  """Proxy of C++ IMP::atom::DopePairScore class."""
12380 
12381  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12382 
12383  def __init__(self, *args):
12384  """
12385  __init__(IMP::atom::DopePairScore self, double threshold) -> DopePairScore
12386  __init__(IMP::atom::DopePairScore self) -> DopePairScore
12387  __init__(IMP::atom::DopePairScore self, double threshold, TextInput data_file) -> DopePairScore
12388  """
12389  this = _IMP_atom.new_DopePairScore(*args)
12390  try:
12391  self.this.append(this)
12392  except Exception:
12393  self.this = this
12394 
12395  def __str__(self):
12396  """__str__(DopePairScore self) -> std::string"""
12397  return _IMP_atom.DopePairScore___str__(self)
12398 
12399 
12400  def __repr__(self):
12401  """__repr__(DopePairScore self) -> std::string"""
12402  return _IMP_atom.DopePairScore___repr__(self)
12403 
12404 
12405  @staticmethod
12406  def get_from(o):
12407  return _object_cast_to_DopePairScore(o)
12408 
12409  __swig_destroy__ = _IMP_atom.delete_DopePairScore
12410  __del__ = lambda self: None
12411 DopePairScore_swigregister = _IMP_atom.DopePairScore_swigregister
12412 DopePairScore_swigregister(DopePairScore)
12413 
12414 
12415 def add_dope_score_data(h):
12416  """add_dope_score_data(Hierarchy h)"""
12417  return _IMP_atom.add_dope_score_data(h)
12418 class OrientedSoapPairScore(_OrientedSoapBase):
12419  """Proxy of C++ IMP::atom::OrientedSoapPairScore class."""
12420 
12421  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12422 
12423  def __init__(self, library):
12424  """__init__(IMP::atom::OrientedSoapPairScore self, std::string library) -> OrientedSoapPairScore"""
12425  this = _IMP_atom.new_OrientedSoapPairScore(library)
12426  try:
12427  self.this.append(this)
12428  except Exception:
12429  self.this = this
12430 
12431  def get_pair_filter(self):
12432  """get_pair_filter(OrientedSoapPairScore self) -> SoapPairFilter"""
12433  return _IMP_atom.OrientedSoapPairScore_get_pair_filter(self)
12434 
12435 
12436  def __str__(self):
12437  """__str__(OrientedSoapPairScore self) -> std::string"""
12438  return _IMP_atom.OrientedSoapPairScore___str__(self)
12439 
12440 
12441  def __repr__(self):
12442  """__repr__(OrientedSoapPairScore self) -> std::string"""
12443  return _IMP_atom.OrientedSoapPairScore___repr__(self)
12444 
12445 
12446  @staticmethod
12447  def get_from(o):
12448  return _object_cast_to_OrientedSoapPairScore(o)
12449 
12450  __swig_destroy__ = _IMP_atom.delete_OrientedSoapPairScore
12451  __del__ = lambda self: None
12452 OrientedSoapPairScore_swigregister = _IMP_atom.OrientedSoapPairScore_swigregister
12453 OrientedSoapPairScore_swigregister(OrientedSoapPairScore)
12454 
12455 class SameResiduePairFilter(IMP.PairPredicate):
12456  """Proxy of C++ IMP::atom::SameResiduePairFilter class."""
12457 
12458  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12459 
12460  def __init__(self):
12461  """__init__(IMP::atom::SameResiduePairFilter self) -> SameResiduePairFilter"""
12462  this = _IMP_atom.new_SameResiduePairFilter()
12463  try:
12464  self.this.append(this)
12465  except Exception:
12466  self.this = this
12467 
12468  def do_get_inputs(self, m, pis):
12469  """do_get_inputs(SameResiduePairFilter self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
12470  return _IMP_atom.SameResiduePairFilter_do_get_inputs(self, m, pis)
12471 
12472 
12473  def get_value(self, *args):
12474  """
12475  get_value(SameResiduePairFilter self, IMP::ParticlePair const & a) -> int
12476  get_value(SameResiduePairFilter self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
12477  """
12478  return _IMP_atom.SameResiduePairFilter_get_value(self, *args)
12479 
12480 
12481  def get_value_index(self, *args):
12482  """
12483  get_value_index(SameResiduePairFilter self, Model m, IMP::ParticleIndexPair const & p) -> int
12484  get_value_index(SameResiduePairFilter self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
12485  """
12486  return _IMP_atom.SameResiduePairFilter_get_value_index(self, *args)
12487 
12488 
12489  def get_version_info(self):
12490  """get_version_info(SameResiduePairFilter self) -> VersionInfo"""
12491  return _IMP_atom.SameResiduePairFilter_get_version_info(self)
12492 
12493 
12494  def __str__(self):
12495  """__str__(SameResiduePairFilter self) -> std::string"""
12496  return _IMP_atom.SameResiduePairFilter___str__(self)
12497 
12498 
12499  def __repr__(self):
12500  """__repr__(SameResiduePairFilter self) -> std::string"""
12501  return _IMP_atom.SameResiduePairFilter___repr__(self)
12502 
12503 
12504  @staticmethod
12505  def get_from(o):
12506  return _object_cast_to_SameResiduePairFilter(o)
12507 
12508 SameResiduePairFilter_swigregister = _IMP_atom.SameResiduePairFilter_swigregister
12509 SameResiduePairFilter_swigregister(SameResiduePairFilter)
12510 
12511 class RemoveRigidMotionOptimizerState(IMP.OptimizerState):
12512  """Proxy of C++ IMP::atom::RemoveRigidMotionOptimizerState class."""
12513 
12514  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12515 
12516  def __init__(self, m, pis):
12517  """__init__(IMP::atom::RemoveRigidMotionOptimizerState self, Model m, _ParticleIndexesAdaptor pis) -> RemoveRigidMotionOptimizerState"""
12518  this = _IMP_atom.new_RemoveRigidMotionOptimizerState(m, pis)
12519  try:
12520  self.this.append(this)
12521  except Exception:
12522  self.this = this
12523 
12524  def set_particles(self, pis):
12525  """set_particles(RemoveRigidMotionOptimizerState self, IMP::Particles const & pis)"""
12526  return _IMP_atom.RemoveRigidMotionOptimizerState_set_particles(self, pis)
12527 
12528 
12529  def remove_rigid_motion(self):
12530  """remove_rigid_motion(RemoveRigidMotionOptimizerState self)"""
12531  return _IMP_atom.RemoveRigidMotionOptimizerState_remove_rigid_motion(self)
12532 
12533 
12534  def get_version_info(self):
12535  """get_version_info(RemoveRigidMotionOptimizerState self) -> VersionInfo"""
12536  return _IMP_atom.RemoveRigidMotionOptimizerState_get_version_info(self)
12537 
12538 
12539  def __str__(self):
12540  """__str__(RemoveRigidMotionOptimizerState self) -> std::string"""
12541  return _IMP_atom.RemoveRigidMotionOptimizerState___str__(self)
12542 
12543 
12544  def __repr__(self):
12545  """__repr__(RemoveRigidMotionOptimizerState self) -> std::string"""
12546  return _IMP_atom.RemoveRigidMotionOptimizerState___repr__(self)
12547 
12548 
12549  @staticmethod
12550  def get_from(o):
12551  return _object_cast_to_RemoveRigidMotionOptimizerState(o)
12552 
12553 RemoveRigidMotionOptimizerState_swigregister = _IMP_atom.RemoveRigidMotionOptimizerState_swigregister
12554 RemoveRigidMotionOptimizerState_swigregister(RemoveRigidMotionOptimizerState)
12555 
12556 class BerendsenThermostatOptimizerState(IMP.OptimizerState):
12557  """Proxy of C++ IMP::atom::BerendsenThermostatOptimizerState class."""
12558 
12559  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12560 
12561  def __init__(self, pis, temperature, tau):
12562  """__init__(IMP::atom::BerendsenThermostatOptimizerState self, IMP::Particles const & pis, double temperature, double tau) -> BerendsenThermostatOptimizerState"""
12563  this = _IMP_atom.new_BerendsenThermostatOptimizerState(pis, temperature, tau)
12564  try:
12565  self.this.append(this)
12566  except Exception:
12567  self.this = this
12568 
12569  def set_particles(self, pis):
12570  """set_particles(BerendsenThermostatOptimizerState self, IMP::Particles const & pis)"""
12571  return _IMP_atom.BerendsenThermostatOptimizerState_set_particles(self, pis)
12572 
12573 
12574  def get_temperature(self):
12575  """get_temperature(BerendsenThermostatOptimizerState self) -> double"""
12576  return _IMP_atom.BerendsenThermostatOptimizerState_get_temperature(self)
12577 
12578 
12579  def get_tau(self):
12580  """get_tau(BerendsenThermostatOptimizerState self) -> double"""
12581  return _IMP_atom.BerendsenThermostatOptimizerState_get_tau(self)
12582 
12583 
12584  def set_temperature(self, temperature):
12585  """set_temperature(BerendsenThermostatOptimizerState self, double temperature)"""
12586  return _IMP_atom.BerendsenThermostatOptimizerState_set_temperature(self, temperature)
12587 
12588 
12589  def set_tau(self, tau):
12590  """set_tau(BerendsenThermostatOptimizerState self, double tau)"""
12591  return _IMP_atom.BerendsenThermostatOptimizerState_set_tau(self, tau)
12592 
12593 
12594  def rescale_velocities(self):
12595  """rescale_velocities(BerendsenThermostatOptimizerState self)"""
12596  return _IMP_atom.BerendsenThermostatOptimizerState_rescale_velocities(self)
12597 
12598 
12599  def get_version_info(self):
12600  """get_version_info(BerendsenThermostatOptimizerState self) -> VersionInfo"""
12601  return _IMP_atom.BerendsenThermostatOptimizerState_get_version_info(self)
12602 
12603 
12604  def __str__(self):
12605  """__str__(BerendsenThermostatOptimizerState self) -> std::string"""
12606  return _IMP_atom.BerendsenThermostatOptimizerState___str__(self)
12607 
12608 
12609  def __repr__(self):
12610  """__repr__(BerendsenThermostatOptimizerState self) -> std::string"""
12611  return _IMP_atom.BerendsenThermostatOptimizerState___repr__(self)
12612 
12613 
12614  @staticmethod
12615  def get_from(o):
12616  return _object_cast_to_BerendsenThermostatOptimizerState(o)
12617 
12618 BerendsenThermostatOptimizerState_swigregister = _IMP_atom.BerendsenThermostatOptimizerState_swigregister
12619 BerendsenThermostatOptimizerState_swigregister(BerendsenThermostatOptimizerState)
12620 
12621 class LangevinThermostatOptimizerState(IMP.OptimizerState):
12622  """Proxy of C++ IMP::atom::LangevinThermostatOptimizerState class."""
12623 
12624  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12625 
12626  def __init__(self, m, pis, temperature, gamma):
12627  """__init__(IMP::atom::LangevinThermostatOptimizerState self, Model m, _ParticleIndexesAdaptor pis, double temperature, double gamma) -> LangevinThermostatOptimizerState"""
12628  this = _IMP_atom.new_LangevinThermostatOptimizerState(m, pis, temperature, gamma)
12629  try:
12630  self.this.append(this)
12631  except Exception:
12632  self.this = this
12633 
12634  def set_particles(self, pis):
12635  """set_particles(LangevinThermostatOptimizerState self, IMP::Particles const & pis)"""
12636  return _IMP_atom.LangevinThermostatOptimizerState_set_particles(self, pis)
12637 
12638 
12639  def get_temperature(self):
12640  """get_temperature(LangevinThermostatOptimizerState self) -> double"""
12641  return _IMP_atom.LangevinThermostatOptimizerState_get_temperature(self)
12642 
12643 
12644  def get_gamma(self):
12645  """get_gamma(LangevinThermostatOptimizerState self) -> double"""
12646  return _IMP_atom.LangevinThermostatOptimizerState_get_gamma(self)
12647 
12648 
12649  def set_temperature(self, temperature):
12650  """set_temperature(LangevinThermostatOptimizerState self, double temperature)"""
12651  return _IMP_atom.LangevinThermostatOptimizerState_set_temperature(self, temperature)
12652 
12653 
12654  def set_gamma(self, gamma):
12655  """set_gamma(LangevinThermostatOptimizerState self, double gamma)"""
12656  return _IMP_atom.LangevinThermostatOptimizerState_set_gamma(self, gamma)
12657 
12658 
12659  def rescale_velocities(self):
12660  """rescale_velocities(LangevinThermostatOptimizerState self)"""
12661  return _IMP_atom.LangevinThermostatOptimizerState_rescale_velocities(self)
12662 
12663 
12664  def get_version_info(self):
12665  """get_version_info(LangevinThermostatOptimizerState self) -> VersionInfo"""
12666  return _IMP_atom.LangevinThermostatOptimizerState_get_version_info(self)
12667 
12668 
12669  def __str__(self):
12670  """__str__(LangevinThermostatOptimizerState self) -> std::string"""
12671  return _IMP_atom.LangevinThermostatOptimizerState___str__(self)
12672 
12673 
12674  def __repr__(self):
12675  """__repr__(LangevinThermostatOptimizerState self) -> std::string"""
12676  return _IMP_atom.LangevinThermostatOptimizerState___repr__(self)
12677 
12678 
12679  @staticmethod
12680  def get_from(o):
12681  return _object_cast_to_LangevinThermostatOptimizerState(o)
12682 
12683 LangevinThermostatOptimizerState_swigregister = _IMP_atom.LangevinThermostatOptimizerState_swigregister
12684 LangevinThermostatOptimizerState_swigregister(LangevinThermostatOptimizerState)
12685 
12686 class PDBSelector(IMP.Object):
12687  """Proxy of C++ IMP::atom::PDBSelector 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, name):
12692  """__init__(IMP::atom::PDBSelector self, std::string name) -> PDBSelector"""
12693  if self.__class__ == PDBSelector:
12694  _self = None
12695  else:
12696  _self = self
12697  this = _IMP_atom.new_PDBSelector(_self, name)
12698  try:
12699  self.this.append(this)
12700  except Exception:
12701  self.this = this
12702 
12703  if self.__class__ != PDBSelector:
12704  _director_objects.register(self)
12705 
12706 
12707 
12708 
12709  def get_is_selected(self, pdb_line):
12710  """get_is_selected(PDBSelector self, std::string const & pdb_line) -> bool"""
12711  return _IMP_atom.PDBSelector_get_is_selected(self, pdb_line)
12712 
12713  __swig_destroy__ = _IMP_atom.delete_PDBSelector
12714  __del__ = lambda self: None
12715 
12716  def __str__(self):
12717  """__str__(PDBSelector self) -> std::string"""
12718  return _IMP_atom.PDBSelector___str__(self)
12719 
12720 
12721  def __repr__(self):
12722  """__repr__(PDBSelector self) -> std::string"""
12723  return _IMP_atom.PDBSelector___repr__(self)
12724 
12725 
12726  @staticmethod
12727  def get_from(o):
12728  return _object_cast_to_PDBSelector(o)
12729 
12730 
12731  def get_type_name(self):
12732  return self.__class__.__name__
12733  def do_show(self, out):
12734  pass
12735  def get_version_info(self):
12736  if"IMP::atom" == "IMP":
12737  return VersionInfo(self.__module__,
12738  __import__(self.__module__).get_module_version())
12739  else:
12740  return IMP.VersionInfo(self.__module__,
12741  __import__(self.__module__).get_module_version())
12742  @staticmethod
12743  def get_from(o):
12744  return _object_cast_to_PDBSelector(o)
12745 
12746 
12747  def __and__(self, s):
12748  return AndPDBSelector(self, s)
12749  def __or__(self, s):
12750  return OrPDBSelector(self, s)
12751  def __xor__(self, s):
12752  return XorPDBSelector(self, s)
12753  def __invert__(self):
12754  return NotPDBSelector(self)
12755  def __sub__(self, s):
12756  return AndPDBSelector(self, NotPDBSelector(s))
12757 
12758  def __disown__(self):
12759  self.this.disown()
12760  _IMP_atom.disown_PDBSelector(self)
12761  return weakref_proxy(self)
12762 
12763  def do_destroy(self):
12764  """do_destroy(PDBSelector self)"""
12765  return _IMP_atom.PDBSelector_do_destroy(self)
12766 
12767 PDBSelector_swigregister = _IMP_atom.PDBSelector_swigregister
12768 PDBSelector_swigregister(PDBSelector)
12769 
12770 class NonAlternativePDBSelector(PDBSelector):
12771  """Proxy of C++ IMP::atom::NonAlternativePDBSelector class."""
12772 
12773  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12774 
12775  def __init__(self, *args):
12776  """
12777  __init__(IMP::atom::NonAlternativePDBSelector self, std::string name) -> NonAlternativePDBSelector
12778  __init__(IMP::atom::NonAlternativePDBSelector self) -> NonAlternativePDBSelector
12779  """
12780  this = _IMP_atom.new_NonAlternativePDBSelector(*args)
12781  try:
12782  self.this.append(this)
12783  except Exception:
12784  self.this = this
12785 
12786  def get_version_info(self):
12787  """get_version_info(NonAlternativePDBSelector self) -> VersionInfo"""
12788  return _IMP_atom.NonAlternativePDBSelector_get_version_info(self)
12789 
12790 
12791  def __str__(self):
12792  """__str__(NonAlternativePDBSelector self) -> std::string"""
12793  return _IMP_atom.NonAlternativePDBSelector___str__(self)
12794 
12795 
12796  def __repr__(self):
12797  """__repr__(NonAlternativePDBSelector self) -> std::string"""
12798  return _IMP_atom.NonAlternativePDBSelector___repr__(self)
12799 
12800 
12801  @staticmethod
12802  def get_from(o):
12803  return _object_cast_to_NonAlternativePDBSelector(o)
12804 
12805 NonAlternativePDBSelector_swigregister = _IMP_atom.NonAlternativePDBSelector_swigregister
12806 NonAlternativePDBSelector_swigregister(NonAlternativePDBSelector)
12807 
12808 class ATOMPDBSelector(NonAlternativePDBSelector):
12809  """Proxy of C++ IMP::atom::ATOMPDBSelector class."""
12810 
12811  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12812 
12813  def __init__(self, *args):
12814  """
12815  __init__(IMP::atom::ATOMPDBSelector self, std::string name) -> ATOMPDBSelector
12816  __init__(IMP::atom::ATOMPDBSelector self) -> ATOMPDBSelector
12817  """
12818  this = _IMP_atom.new_ATOMPDBSelector(*args)
12819  try:
12820  self.this.append(this)
12821  except Exception:
12822  self.this = this
12823 
12824  def __str__(self):
12825  """__str__(ATOMPDBSelector self) -> std::string"""
12826  return _IMP_atom.ATOMPDBSelector___str__(self)
12827 
12828 
12829  def __repr__(self):
12830  """__repr__(ATOMPDBSelector self) -> std::string"""
12831  return _IMP_atom.ATOMPDBSelector___repr__(self)
12832 
12833 
12834  @staticmethod
12835  def get_from(o):
12836  return _object_cast_to_ATOMPDBSelector(o)
12837 
12838 ATOMPDBSelector_swigregister = _IMP_atom.ATOMPDBSelector_swigregister
12839 ATOMPDBSelector_swigregister(ATOMPDBSelector)
12840 
12841 class CAlphaPDBSelector(NonAlternativePDBSelector):
12842  """Proxy of C++ IMP::atom::CAlphaPDBSelector class."""
12843 
12844  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12845 
12846  def __init__(self, *args):
12847  """
12848  __init__(IMP::atom::CAlphaPDBSelector self, std::string name) -> CAlphaPDBSelector
12849  __init__(IMP::atom::CAlphaPDBSelector self) -> CAlphaPDBSelector
12850  """
12851  this = _IMP_atom.new_CAlphaPDBSelector(*args)
12852  try:
12853  self.this.append(this)
12854  except Exception:
12855  self.this = this
12856 
12857  def __str__(self):
12858  """__str__(CAlphaPDBSelector self) -> std::string"""
12859  return _IMP_atom.CAlphaPDBSelector___str__(self)
12860 
12861 
12862  def __repr__(self):
12863  """__repr__(CAlphaPDBSelector self) -> std::string"""
12864  return _IMP_atom.CAlphaPDBSelector___repr__(self)
12865 
12866 
12867  @staticmethod
12868  def get_from(o):
12869  return _object_cast_to_CAlphaPDBSelector(o)
12870 
12871 CAlphaPDBSelector_swigregister = _IMP_atom.CAlphaPDBSelector_swigregister
12872 CAlphaPDBSelector_swigregister(CAlphaPDBSelector)
12873 
12874 class CBetaPDBSelector(NonAlternativePDBSelector):
12875  """Proxy of C++ IMP::atom::CBetaPDBSelector class."""
12876 
12877  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12878 
12879  def __init__(self, *args):
12880  """
12881  __init__(IMP::atom::CBetaPDBSelector self, std::string name) -> CBetaPDBSelector
12882  __init__(IMP::atom::CBetaPDBSelector self) -> CBetaPDBSelector
12883  """
12884  this = _IMP_atom.new_CBetaPDBSelector(*args)
12885  try:
12886  self.this.append(this)
12887  except Exception:
12888  self.this = this
12889 
12890  def __str__(self):
12891  """__str__(CBetaPDBSelector self) -> std::string"""
12892  return _IMP_atom.CBetaPDBSelector___str__(self)
12893 
12894 
12895  def __repr__(self):
12896  """__repr__(CBetaPDBSelector self) -> std::string"""
12897  return _IMP_atom.CBetaPDBSelector___repr__(self)
12898 
12899 
12900  @staticmethod
12901  def get_from(o):
12902  return _object_cast_to_CBetaPDBSelector(o)
12903 
12904 CBetaPDBSelector_swigregister = _IMP_atom.CBetaPDBSelector_swigregister
12905 CBetaPDBSelector_swigregister(CBetaPDBSelector)
12906 
12907 class AtomTypePDBSelector(PDBSelector):
12908  """Proxy of C++ IMP::atom::AtomTypePDBSelector class."""
12909 
12910  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12911 
12912  def __init__(self, *args):
12913  """
12914  __init__(IMP::atom::AtomTypePDBSelector self, IMP::Strings atom_types, std::string name) -> AtomTypePDBSelector
12915  __init__(IMP::atom::AtomTypePDBSelector self, IMP::Strings atom_types) -> AtomTypePDBSelector
12916  """
12917  this = _IMP_atom.new_AtomTypePDBSelector(*args)
12918  try:
12919  self.this.append(this)
12920  except Exception:
12921  self.this = this
12922 
12923  def get_version_info(self):
12924  """get_version_info(AtomTypePDBSelector self) -> VersionInfo"""
12925  return _IMP_atom.AtomTypePDBSelector_get_version_info(self)
12926 
12927 
12928  def __str__(self):
12929  """__str__(AtomTypePDBSelector self) -> std::string"""
12930  return _IMP_atom.AtomTypePDBSelector___str__(self)
12931 
12932 
12933  def __repr__(self):
12934  """__repr__(AtomTypePDBSelector self) -> std::string"""
12935  return _IMP_atom.AtomTypePDBSelector___repr__(self)
12936 
12937 
12938  @staticmethod
12939  def get_from(o):
12940  return _object_cast_to_AtomTypePDBSelector(o)
12941 
12942 AtomTypePDBSelector_swigregister = _IMP_atom.AtomTypePDBSelector_swigregister
12943 AtomTypePDBSelector_swigregister(AtomTypePDBSelector)
12944 
12945 class ResidueTypePDBSelector(PDBSelector):
12946  """Proxy of C++ IMP::atom::ResidueTypePDBSelector class."""
12947 
12948  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12949 
12950  def __init__(self, *args):
12951  """
12952  __init__(IMP::atom::ResidueTypePDBSelector self, IMP::Strings residue_types, std::string name) -> ResidueTypePDBSelector
12953  __init__(IMP::atom::ResidueTypePDBSelector self, IMP::Strings residue_types) -> ResidueTypePDBSelector
12954  """
12955  this = _IMP_atom.new_ResidueTypePDBSelector(*args)
12956  try:
12957  self.this.append(this)
12958  except Exception:
12959  self.this = this
12960 
12961  def get_version_info(self):
12962  """get_version_info(ResidueTypePDBSelector self) -> VersionInfo"""
12963  return _IMP_atom.ResidueTypePDBSelector_get_version_info(self)
12964 
12965 
12966  def __str__(self):
12967  """__str__(ResidueTypePDBSelector self) -> std::string"""
12968  return _IMP_atom.ResidueTypePDBSelector___str__(self)
12969 
12970 
12971  def __repr__(self):
12972  """__repr__(ResidueTypePDBSelector self) -> std::string"""
12973  return _IMP_atom.ResidueTypePDBSelector___repr__(self)
12974 
12975 
12976  @staticmethod
12977  def get_from(o):
12978  return _object_cast_to_ResidueTypePDBSelector(o)
12979 
12980 ResidueTypePDBSelector_swigregister = _IMP_atom.ResidueTypePDBSelector_swigregister
12981 ResidueTypePDBSelector_swigregister(ResidueTypePDBSelector)
12982 
12983 class CPDBSelector(NonAlternativePDBSelector):
12984  """Proxy of C++ IMP::atom::CPDBSelector class."""
12985 
12986  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12987 
12988  def __init__(self, *args):
12989  """
12990  __init__(IMP::atom::CPDBSelector self, std::string name) -> CPDBSelector
12991  __init__(IMP::atom::CPDBSelector self) -> CPDBSelector
12992  """
12993  this = _IMP_atom.new_CPDBSelector(*args)
12994  try:
12995  self.this.append(this)
12996  except Exception:
12997  self.this = this
12998 
12999  def __str__(self):
13000  """__str__(CPDBSelector self) -> std::string"""
13001  return _IMP_atom.CPDBSelector___str__(self)
13002 
13003 
13004  def __repr__(self):
13005  """__repr__(CPDBSelector self) -> std::string"""
13006  return _IMP_atom.CPDBSelector___repr__(self)
13007 
13008 
13009  @staticmethod
13010  def get_from(o):
13011  return _object_cast_to_CPDBSelector(o)
13012 
13013 CPDBSelector_swigregister = _IMP_atom.CPDBSelector_swigregister
13014 CPDBSelector_swigregister(CPDBSelector)
13015 
13016 class NPDBSelector(NonAlternativePDBSelector):
13017  """Proxy of C++ IMP::atom::NPDBSelector class."""
13018 
13019  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
13020 
13021  def __init__(self, *args):
13022  """
13023  __init__(IMP::atom::NPDBSelector self, std::string name) -> NPDBSelector
13024  __init__(IMP::atom::NPDBSelector self) -> NPDBSelector
13025  """
13026  this = _IMP_atom.new_NPDBSelector(*args)
13027  try:
13028  self.this.append(this)
13029  except Exception:
13030  self.this = this
13031 
13032  def __str__(self):
13033  """__str__(NPDBSelector self) -> std::string"""
13034  return _IMP_atom.NPDBSelector___str__(self)
13035 
13036 
13037  def __repr__(self):
13038  """__repr__(NPDBSelector self) -> std::string"""
13039  return _IMP_atom.NPDBSelector___repr__(self)
13040 
13041 
13042  @staticmethod
13043  def get_from(o):
13044  return _object_cast_to_NPDBSelector(o)
13045 
13046 NPDBSelector_swigregister = _IMP_atom.NPDBSelector_swigregister
13047 NPDBSelector_swigregister(NPDBSelector)
13048 
13049 class AllPDBSelector(PDBSelector):
13050  """Proxy of C++ IMP::atom::AllPDBSelector class."""
13051 
13052  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
13053 
13054  def __init__(self, *args):
13055  """
13056  __init__(IMP::atom::AllPDBSelector self, std::string name) -> AllPDBSelector
13057  __init__(IMP::atom::AllPDBSelector self) -> AllPDBSelector
13058  """
13059  this = _IMP_atom.new_AllPDBSelector(*args)
13060  try:
13061  self.this.append(this)
13062  except Exception:
13063  self.this = this
13064 
13065  def get_version_info(self):
13066  """get_version_info(AllPDBSelector self) -> VersionInfo"""
13067  return _IMP_atom.AllPDBSelector_get_version_info(self)
13068 
13069 
13070  def __str__(self):
13071  """__str__(AllPDBSelector self) -> std::string"""
13072  return _IMP_atom.AllPDBSelector___str__(self)
13073 
13074 
13075  def __repr__(self):
13076  """__repr__(AllPDBSelector self) -> std::string"""
13077  return _IMP_atom.AllPDBSelector___repr__(self)
13078 
13079 
13080  @staticmethod
13081  def get_from(o):
13082  return _object_cast_to_AllPDBSelector(o)
13083 
13084 AllPDBSelector_swigregister = _IMP_atom.AllPDBSelector_swigregister
13085 AllPDBSelector_swigregister(AllPDBSelector)
13086 
13087 class ChainPDBSelector(NonAlternativePDBSelector):
13088  """Proxy of C++ IMP::atom::ChainPDBSelector class."""
13089 
13090  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
13091 
13092  def __init__(self, *args):
13093  """
13094  __init__(IMP::atom::ChainPDBSelector self, std::string const & chains, std::string name) -> ChainPDBSelector
13095  __init__(IMP::atom::ChainPDBSelector self, std::string const & chains) -> ChainPDBSelector
13096  """
13097  this = _IMP_atom.new_ChainPDBSelector(*args)
13098  try:
13099  self.this.append(this)
13100  except Exception:
13101  self.this = this
13102 
13103  def __str__(self):
13104  """__str__(ChainPDBSelector self) -> std::string"""
13105  return _IMP_atom.ChainPDBSelector___str__(self)
13106 
13107 
13108  def __repr__(self):
13109  """__repr__(ChainPDBSelector self) -> std::string"""
13110  return _IMP_atom.ChainPDBSelector___repr__(self)
13111 
13112 
13113  @staticmethod
13114  def get_from(o):
13115  return _object_cast_to_ChainPDBSelector(o)
13116 
13117 ChainPDBSelector_swigregister = _IMP_atom.ChainPDBSelector_swigregister
13118 ChainPDBSelector_swigregister(ChainPDBSelector)
13119 
13120 class WaterPDBSelector(NonAlternativePDBSelector):
13121  """Proxy of C++ IMP::atom::WaterPDBSelector class."""
13122 
13123  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
13124 
13125  def __init__(self, *args):
13126  """
13127  __init__(IMP::atom::WaterPDBSelector self, std::string name) -> WaterPDBSelector
13128  __init__(IMP::atom::WaterPDBSelector self) -> WaterPDBSelector
13129  """
13130  this = _IMP_atom.new_WaterPDBSelector(*args)
13131  try:
13132  self.this.append(this)
13133  except Exception:
13134  self.this = this
13135 
13136  def __str__(self):
13137  """__str__(WaterPDBSelector self) -> std::string"""
13138  return _IMP_atom.WaterPDBSelector___str__(self)
13139 
13140 
13141  def __repr__(self):
13142  """__repr__(WaterPDBSelector self) -> std::string"""
13143  return _IMP_atom.WaterPDBSelector___repr__(self)
13144 
13145 
13146  @staticmethod
13147  def get_from(o):
13148  return _object_cast_to_WaterPDBSelector(o)
13149 
13150 WaterPDBSelector_swigregister = _IMP_atom.WaterPDBSelector_swigregister
13151 WaterPDBSelector_swigregister(WaterPDBSelector)
13152 
13153 class HydrogenPDBSelector(NonAlternativePDBSelector):
13154  """Proxy of C++ IMP::atom::HydrogenPDBSelector class."""
13155 
13156  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
13157 
13158  def __init__(self, *args):
13159  """
13160  __init__(IMP::atom::HydrogenPDBSelector self, std::string name) -> HydrogenPDBSelector
13161  __init__(IMP::atom::HydrogenPDBSelector self) -> HydrogenPDBSelector
13162  """
13163  this = _IMP_atom.new_HydrogenPDBSelector(*args)
13164  try:
13165  self.this.append(this)
13166  except Exception:
13167  self.this = this
13168 
13169  def __str__(self):
13170  """__str__(HydrogenPDBSelector self) -> std::string"""
13171  return _IMP_atom.HydrogenPDBSelector___str__(self)
13172 
13173 
13174  def __repr__(self):
13175  """__repr__(HydrogenPDBSelector self) -> std::string"""
13176  return _IMP_atom.HydrogenPDBSelector___repr__(self)
13177 
13178 
13179  @staticmethod
13180  def get_from(o):
13181  return _object_cast_to_HydrogenPDBSelector(o)
13182 
13183 HydrogenPDBSelector_swigregister = _IMP_atom.HydrogenPDBSelector_swigregister
13184 HydrogenPDBSelector_swigregister(HydrogenPDBSelector)
13185 
13186 class NonWaterNonHydrogenPDBSelector(NonAlternativePDBSelector):
13187  """Proxy of C++ IMP::atom::NonWaterNonHydrogenPDBSelector class."""
13188 
13189  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
13190 
13191  def __init__(self, *args):
13192  """
13193  __init__(IMP::atom::NonWaterNonHydrogenPDBSelector self, std::string name) -> NonWaterNonHydrogenPDBSelector
13194  __init__(IMP::atom::NonWaterNonHydrogenPDBSelector self) -> NonWaterNonHydrogenPDBSelector
13195  """
13196  this = _IMP_atom.new_NonWaterNonHydrogenPDBSelector(*args)
13197  try:
13198  self.this.append(this)
13199  except Exception:
13200  self.this = this
13201 
13202  def __str__(self):
13203  """__str__(NonWaterNonHydrogenPDBSelector self) -> std::string"""
13204  return _IMP_atom.NonWaterNonHydrogenPDBSelector___str__(self)
13205 
13206 
13207  def __repr__(self):
13208  """__repr__(NonWaterNonHydrogenPDBSelector self) -> std::string"""
13209  return _IMP_atom.NonWaterNonHydrogenPDBSelector___repr__(self)
13210 
13211 
13212  @staticmethod
13213  def get_from(o):
13214  return _object_cast_to_NonWaterNonHydrogenPDBSelector(o)
13215 
13216 NonWaterNonHydrogenPDBSelector_swigregister = _IMP_atom.NonWaterNonHydrogenPDBSelector_swigregister
13217 NonWaterNonHydrogenPDBSelector_swigregister(NonWaterNonHydrogenPDBSelector)
13218 
13219 class NonWaterPDBSelector(NonAlternativePDBSelector):
13220  """Proxy of C++ IMP::atom::NonWaterPDBSelector class."""
13221 
13222  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
13223 
13224  def __init__(self, *args):
13225  """
13226  __init__(IMP::atom::NonWaterPDBSelector self, std::string name) -> NonWaterPDBSelector
13227  __init__(IMP::atom::NonWaterPDBSelector self) -> NonWaterPDBSelector
13228  """
13229  this = _IMP_atom.new_NonWaterPDBSelector(*args)
13230  try:
13231  self.this.append(this)
13232  except Exception:
13233  self.this = this
13234 
13235  def __str__(self):
13236  """__str__(NonWaterPDBSelector self) -> std::string"""
13237  return _IMP_atom.NonWaterPDBSelector___str__(self)
13238 
13239 
13240  def __repr__(self):
13241  """__repr__(NonWaterPDBSelector self) -> std::string"""
13242  return _IMP_atom.NonWaterPDBSelector___repr__(self)
13243 
13244 
13245  @staticmethod
13246  def get_from(o):
13247  return _object_cast_to_NonWaterPDBSelector(o)
13248 
13249 NonWaterPDBSelector_swigregister = _IMP_atom.NonWaterPDBSelector_swigregister
13250 NonWaterPDBSelector_swigregister(NonWaterPDBSelector)
13251 
13252 class BackbonePDBSelector(NonWaterNonHydrogenPDBSelector):
13253  """Proxy of C++ IMP::atom::BackbonePDBSelector class."""
13254 
13255  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
13256 
13257  def __init__(self, *args):
13258  """
13259  __init__(IMP::atom::BackbonePDBSelector self, std::string name) -> BackbonePDBSelector
13260  __init__(IMP::atom::BackbonePDBSelector self) -> BackbonePDBSelector
13261  """
13262  this = _IMP_atom.new_BackbonePDBSelector(*args)
13263  try:
13264  self.this.append(this)
13265  except Exception:
13266  self.this = this
13267 
13268  def __str__(self):
13269  """__str__(BackbonePDBSelector self) -> std::string"""
13270  return _IMP_atom.BackbonePDBSelector___str__(self)
13271 
13272 
13273  def __repr__(self):
13274  """__repr__(BackbonePDBSelector self) -> std::string"""
13275  return _IMP_atom.BackbonePDBSelector___repr__(self)
13276 
13277 
13278  @staticmethod
13279  def get_from(o):
13280  return _object_cast_to_BackbonePDBSelector(o)
13281 
13282 BackbonePDBSelector_swigregister = _IMP_atom.BackbonePDBSelector_swigregister
13283 BackbonePDBSelector_swigregister(BackbonePDBSelector)
13284 
13285 class PPDBSelector(NonAlternativePDBSelector):
13286  """Proxy of C++ IMP::atom::PPDBSelector class."""
13287 
13288  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
13289 
13290  def __init__(self, *args):
13291  """
13292  __init__(IMP::atom::PPDBSelector self, std::string name) -> PPDBSelector
13293  __init__(IMP::atom::PPDBSelector self) -> PPDBSelector
13294  """
13295  this = _IMP_atom.new_PPDBSelector(*args)
13296  try:
13297  self.this.append(this)
13298  except Exception:
13299  self.this = this
13300 
13301  def __str__(self):
13302  """__str__(PPDBSelector self) -> std::string"""
13303  return _IMP_atom.PPDBSelector___str__(self)
13304 
13305 
13306  def __repr__(self):
13307  """__repr__(PPDBSelector self) -> std::string"""
13308  return _IMP_atom.PPDBSelector___repr__(self)
13309 
13310 
13311  @staticmethod
13312  def get_from(o):
13313  return _object_cast_to_PPDBSelector(o)
13314 
13315 PPDBSelector_swigregister = _IMP_atom.PPDBSelector_swigregister
13316 PPDBSelector_swigregister(PPDBSelector)
13317 
13318 class AndPDBSelector(PDBSelector):
13319  """Proxy of C++ IMP::atom::AndPDBSelector class."""
13320 
13321  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
13322 
13323  def get_version_info(self):
13324  """get_version_info(AndPDBSelector self) -> VersionInfo"""
13325  return _IMP_atom.AndPDBSelector_get_version_info(self)
13326 
13327 
13328  def __init__(self, a, b):
13329  """__init__(IMP::atom::AndPDBSelector self, PDBSelector a, PDBSelector b) -> AndPDBSelector"""
13330  this = _IMP_atom.new_AndPDBSelector(a, b)
13331  try:
13332  self.this.append(this)
13333  except Exception:
13334  self.this = this
13335 
13336  def __str__(self):
13337  """__str__(AndPDBSelector self) -> std::string"""
13338  return _IMP_atom.AndPDBSelector___str__(self)
13339 
13340 
13341  def __repr__(self):
13342  """__repr__(AndPDBSelector self) -> std::string"""
13343  return _IMP_atom.AndPDBSelector___repr__(self)
13344 
13345 
13346  @staticmethod
13347  def get_from(o):
13348  return _object_cast_to_AndPDBSelector(o)
13349 
13350 AndPDBSelector_swigregister = _IMP_atom.AndPDBSelector_swigregister
13351 AndPDBSelector_swigregister(AndPDBSelector)
13352 
13353 class OrPDBSelector(PDBSelector):
13354  """Proxy of C++ IMP::atom::OrPDBSelector class."""
13355 
13356  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
13357 
13358  def get_version_info(self):
13359  """get_version_info(OrPDBSelector self) -> VersionInfo"""
13360  return _IMP_atom.OrPDBSelector_get_version_info(self)
13361 
13362 
13363  def __init__(self, a, b):
13364  """__init__(IMP::atom::OrPDBSelector self, PDBSelector a, PDBSelector b) -> OrPDBSelector"""
13365  this = _IMP_atom.new_OrPDBSelector(a, b)
13366  try:
13367  self.this.append(this)
13368  except Exception:
13369  self.this = this
13370 
13371  def __str__(self):
13372  """__str__(OrPDBSelector self) -> std::string"""
13373  return _IMP_atom.OrPDBSelector___str__(self)
13374 
13375 
13376  def __repr__(self):
13377  """__repr__(OrPDBSelector self) -> std::string"""
13378  return _IMP_atom.OrPDBSelector___repr__(self)
13379 
13380 
13381  @staticmethod
13382  def get_from(o):
13383  return _object_cast_to_OrPDBSelector(o)
13384 
13385 OrPDBSelector_swigregister = _IMP_atom.OrPDBSelector_swigregister
13386 OrPDBSelector_swigregister(OrPDBSelector)
13387 
13388 class XorPDBSelector(PDBSelector):
13389  """Proxy of C++ IMP::atom::XorPDBSelector class."""
13390 
13391  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
13392 
13393  def get_version_info(self):
13394  """get_version_info(XorPDBSelector self) -> VersionInfo"""
13395  return _IMP_atom.XorPDBSelector_get_version_info(self)
13396 
13397 
13398  def __init__(self, a, b):
13399  """__init__(IMP::atom::XorPDBSelector self, PDBSelector a, PDBSelector b) -> XorPDBSelector"""
13400  this = _IMP_atom.new_XorPDBSelector(a, b)
13401  try:
13402  self.this.append(this)
13403  except Exception:
13404  self.this = this
13405 
13406  def __str__(self):
13407  """__str__(XorPDBSelector self) -> std::string"""
13408  return _IMP_atom.XorPDBSelector___str__(self)
13409 
13410 
13411  def __repr__(self):
13412  """__repr__(XorPDBSelector self) -> std::string"""
13413  return _IMP_atom.XorPDBSelector___repr__(self)
13414 
13415 
13416  @staticmethod
13417  def get_from(o):
13418  return _object_cast_to_XorPDBSelector(o)
13419 
13420 XorPDBSelector_swigregister = _IMP_atom.XorPDBSelector_swigregister
13421 XorPDBSelector_swigregister(XorPDBSelector)
13422 
13423 class NotPDBSelector(PDBSelector):
13424  """Proxy of C++ IMP::atom::NotPDBSelector class."""
13425 
13426  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
13427 
13428  def get_version_info(self):
13429  """get_version_info(NotPDBSelector self) -> VersionInfo"""
13430  return _IMP_atom.NotPDBSelector_get_version_info(self)
13431 
13432 
13433  def __init__(self, a):
13434  """__init__(IMP::atom::NotPDBSelector self, PDBSelector a) -> NotPDBSelector"""
13435  this = _IMP_atom.new_NotPDBSelector(a)
13436  try:
13437  self.this.append(this)
13438  except Exception:
13439  self.this = this
13440 
13441  def __str__(self):
13442  """__str__(NotPDBSelector self) -> std::string"""
13443  return _IMP_atom.NotPDBSelector___str__(self)
13444 
13445 
13446  def __repr__(self):
13447  """__repr__(NotPDBSelector self) -> std::string"""
13448  return _IMP_atom.NotPDBSelector___repr__(self)
13449 
13450 
13451  @staticmethod
13452  def get_from(o):
13453  return _object_cast_to_NotPDBSelector(o)
13454 
13455 NotPDBSelector_swigregister = _IMP_atom.NotPDBSelector_swigregister
13456 NotPDBSelector_swigregister(NotPDBSelector)
13457 
13458 
13459 def get_default_pdb_selector():
13460  """get_default_pdb_selector() -> PDBSelector"""
13461  return _IMP_atom.get_default_pdb_selector()
13462 
13463 def read_pdb(*args):
13464  """
13465  read_pdb(TextInput input, Model model, PDBSelector selector, bool select_first_model=True, bool no_radii=False) -> Hierarchy
13466  read_pdb(TextInput input, Model model, PDBSelector selector, bool select_first_model=True) -> Hierarchy
13467  read_pdb(TextInput input, Model model, PDBSelector selector) -> Hierarchy
13468  read_pdb(TextInput input, Model model) -> Hierarchy
13469  read_pdb(TextInput input, int model, Hierarchy h)
13470  """
13471  return _IMP_atom.read_pdb(*args)
13472 
13473 def read_multimodel_pdb(*args):
13474  """
13475  read_multimodel_pdb(TextInput input, Model model, PDBSelector selector, bool noradii=False) -> IMP::atom::Hierarchies
13476  read_multimodel_pdb(TextInput input, Model model, PDBSelector selector) -> IMP::atom::Hierarchies
13477  read_multimodel_pdb(TextInput input, Model model) -> IMP::atom::Hierarchies
13478  """
13479  return _IMP_atom.read_multimodel_pdb(*args)
13480 
13481 def write_pdb(mhd, out, model=1):
13482  """
13483  write_pdb(Selection mhd, TextOutput out, unsigned int model=1)
13484  write_pdb(Selection mhd, TextOutput out)
13485  """
13486  return _IMP_atom.write_pdb(mhd, out, model)
13487 
13488 def write_pdb_of_c_alphas(mhd, out, model=1):
13489  """
13490  write_pdb_of_c_alphas(Selection mhd, TextOutput out, unsigned int model=1)
13491  write_pdb_of_c_alphas(Selection mhd, TextOutput out)
13492  """
13493  return _IMP_atom.write_pdb_of_c_alphas(mhd, out, model)
13494 
13495 def write_multimodel_pdb(mhd, out):
13496  """write_multimodel_pdb(IMP::atom::Hierarchies const & mhd, TextOutput out)"""
13497  return _IMP_atom.write_multimodel_pdb(mhd, out)
13498 
13499 def get_pdb_string(*args):
13500  """
13501  get_pdb_string(Vector3D v, int index=-1, AtomType at, ResidueType rt, char chain, int res_index=1, char res_icode, double occpancy=1.00, double tempFactor=0.00, IMP::atom::Element e) -> std::string
13502  get_pdb_string(Vector3D v, int index=-1, AtomType at, ResidueType rt, char chain, int res_index=1, char res_icode, double occpancy=1.00, double tempFactor=0.00) -> std::string
13503  get_pdb_string(Vector3D v, int index=-1, AtomType at, ResidueType rt, char chain, int res_index=1, char res_icode, double occpancy=1.00) -> std::string
13504  get_pdb_string(Vector3D v, int index=-1, AtomType at, ResidueType rt, char chain, int res_index=1, char res_icode) -> std::string
13505  get_pdb_string(Vector3D v, int index=-1, AtomType at, ResidueType rt, char chain, int res_index=1) -> std::string
13506  get_pdb_string(Vector3D v, int index=-1, AtomType at, ResidueType rt, char chain) -> std::string
13507  get_pdb_string(Vector3D v, int index=-1, AtomType at, ResidueType rt) -> std::string
13508  get_pdb_string(Vector3D v, int index=-1, AtomType at) -> std::string
13509  get_pdb_string(Vector3D v, int index=-1) -> std::string
13510  get_pdb_string(Vector3D v) -> std::string
13511  """
13512  return _IMP_atom.get_pdb_string(*args)
13513 
13514 def get_pdb_conect_record_string(arg1, arg2):
13515  """get_pdb_conect_record_string(int arg1, int arg2) -> std::string"""
13516  return _IMP_atom.get_pdb_conect_record_string(arg1, arg2)
13517 class WritePDBOptimizerState(IMP.OptimizerState):
13518  """Proxy of C++ IMP::atom::WritePDBOptimizerState class."""
13519 
13520  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
13521 
13522  def __init__(self, *args):
13523  """
13524  __init__(IMP::atom::WritePDBOptimizerState self, Model m, _ParticleIndexesAdaptor pis, std::string filename) -> WritePDBOptimizerState
13525  __init__(IMP::atom::WritePDBOptimizerState self, IMP::atom::Hierarchies const mh, std::string filename) -> WritePDBOptimizerState
13526  """
13527  this = _IMP_atom.new_WritePDBOptimizerState(*args)
13528  try:
13529  self.this.append(this)
13530  except Exception:
13531  self.this = this
13532 
13533  def get_version_info(self):
13534  """get_version_info(WritePDBOptimizerState self) -> VersionInfo"""
13535  return _IMP_atom.WritePDBOptimizerState_get_version_info(self)
13536 
13537 
13538  def __str__(self):
13539  """__str__(WritePDBOptimizerState self) -> std::string"""
13540  return _IMP_atom.WritePDBOptimizerState___str__(self)
13541 
13542 
13543  def __repr__(self):
13544  """__repr__(WritePDBOptimizerState self) -> std::string"""
13545  return _IMP_atom.WritePDBOptimizerState___repr__(self)
13546 
13547 
13548  @staticmethod
13549  def get_from(o):
13550  return _object_cast_to_WritePDBOptimizerState(o)
13551 
13552 WritePDBOptimizerState_swigregister = _IMP_atom.WritePDBOptimizerState_swigregister
13553 WritePDBOptimizerState_swigregister(WritePDBOptimizerState)
13554 
13555 
13556 def get_kt(T):
13557  """get_kt(double T) -> double"""
13558  return _IMP_atom.get_kt(T)
13559 class CAAngleRestraint(IMP.Restraint):
13560  """Proxy of C++ IMP::atom::CAAngleRestraint class."""
13561 
13562  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
13563 
13564  def __init__(self, m, p1, p2, p3, phi0, score):
13565  """__init__(IMP::atom::CAAngleRestraint self, Model m, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2, _ParticleIndexAdaptor p3, IMP::Floats phi0, IMP::Floats score) -> CAAngleRestraint"""
13566  this = _IMP_atom.new_CAAngleRestraint(m, p1, p2, p3, phi0, score)
13567  try:
13568  self.this.append(this)
13569  except Exception:
13570  self.this = this
13571 
13572  def do_get_inputs(self):
13573  """do_get_inputs(CAAngleRestraint self) -> IMP::ModelObjectsTemp"""
13574  return _IMP_atom.CAAngleRestraint_do_get_inputs(self)
13575 
13576 
13577  def get_version_info(self):
13578  """get_version_info(CAAngleRestraint self) -> VersionInfo"""
13579  return _IMP_atom.CAAngleRestraint_get_version_info(self)
13580 
13581 
13582  def __str__(self):
13583  """__str__(CAAngleRestraint self) -> std::string"""
13584  return _IMP_atom.CAAngleRestraint___str__(self)
13585 
13586 
13587  def __repr__(self):
13588  """__repr__(CAAngleRestraint self) -> std::string"""
13589  return _IMP_atom.CAAngleRestraint___repr__(self)
13590 
13591 
13592  @staticmethod
13593  def get_from(o):
13594  return _object_cast_to_CAAngleRestraint(o)
13595 
13596 CAAngleRestraint_swigregister = _IMP_atom.CAAngleRestraint_swigregister
13597 CAAngleRestraint_swigregister(CAAngleRestraint)
13598 
13599 class CADihedralRestraint(IMP.Restraint):
13600  """Proxy of C++ IMP::atom::CADihedralRestraint class."""
13601 
13602  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
13603 
13604  def __init__(self, m, p1, p2, p3, p4, p5, phi0, phi1, score):
13605  """__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"""
13606  this = _IMP_atom.new_CADihedralRestraint(m, p1, p2, p3, p4, p5, phi0, phi1, score)
13607  try:
13608  self.this.append(this)
13609  except Exception:
13610  self.this = this
13611 
13612  def do_get_inputs(self):
13613  """do_get_inputs(CADihedralRestraint self) -> IMP::ModelObjectsTemp"""
13614  return _IMP_atom.CADihedralRestraint_do_get_inputs(self)
13615 
13616 
13617  def get_version_info(self):
13618  """get_version_info(CADihedralRestraint self) -> VersionInfo"""
13619  return _IMP_atom.CADihedralRestraint_get_version_info(self)
13620 
13621 
13622  def __str__(self):
13623  """__str__(CADihedralRestraint self) -> std::string"""
13624  return _IMP_atom.CADihedralRestraint___str__(self)
13625 
13626 
13627  def __repr__(self):
13628  """__repr__(CADihedralRestraint self) -> std::string"""
13629  return _IMP_atom.CADihedralRestraint___repr__(self)
13630 
13631 
13632  @staticmethod
13633  def get_from(o):
13634  return _object_cast_to_CADihedralRestraint(o)
13635 
13636 CADihedralRestraint_swigregister = _IMP_atom.CADihedralRestraint_swigregister
13637 CADihedralRestraint_swigregister(CADihedralRestraint)
13638 
13639 class StructureSource(IMP.Decorator):
13640  """Proxy of C++ IMP::atom::StructureSource class."""
13641 
13642  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
13643 
13644  def get_source_id(self):
13645  """get_source_id(StructureSource self) -> std::string"""
13646  return _IMP_atom.StructureSource_get_source_id(self)
13647 
13648 
13649  def get_source_chain_id(self):
13650  """get_source_chain_id(StructureSource self) -> std::string"""
13651  return _IMP_atom.StructureSource_get_source_chain_id(self)
13652 
13653 
13654  def set_source_id(self, source_id):
13655  """set_source_id(StructureSource self, std::string source_id)"""
13656  return _IMP_atom.StructureSource_set_source_id(self, source_id)
13657 
13658 
13659  def set_source_chain_id(self, source_chain_id):
13660  """set_source_chain_id(StructureSource self, std::string source_chain_id)"""
13661  return _IMP_atom.StructureSource_set_source_chain_id(self, source_chain_id)
13662 
13663 
13664  def __init__(self, *args):
13665  """
13666  __init__(IMP::atom::StructureSource self) -> StructureSource
13667  __init__(IMP::atom::StructureSource self, Model m, ParticleIndex id) -> StructureSource
13668  __init__(IMP::atom::StructureSource self, _ParticleAdaptor d) -> StructureSource
13669  """
13670  this = _IMP_atom.new_StructureSource(*args)
13671  try:
13672  self.this.append(this)
13673  except Exception:
13674  self.this = this
13675 
13676  def get_is_setup(*args):
13677  """
13678  get_is_setup(Model m, ParticleIndex pi) -> bool
13679  get_is_setup(_ParticleAdaptor p) -> bool
13680  """
13681  return _IMP_atom.StructureSource_get_is_setup(*args)
13682 
13683  get_is_setup = staticmethod(get_is_setup)
13684 
13685  def show(self, *args):
13686  """
13687  show(StructureSource self, _ostream out)
13688  show(StructureSource self)
13689  """
13690  return _IMP_atom.StructureSource_show(self, *args)
13691 
13692 
13693  def setup_particle(*args):
13694  """
13695  setup_particle(Model m, ParticleIndex pi, std::string source_id, std::string source_chain_id) -> StructureSource
13696  setup_particle(_ParticleAdaptor decorator, std::string source_id, std::string source_chain_id) -> StructureSource
13697  """
13698  return _IMP_atom.StructureSource_setup_particle(*args)
13699 
13700  setup_particle = staticmethod(setup_particle)
13701 
13702  def add_attribute(self, *args):
13703  """
13704  add_attribute(StructureSource self, FloatKey k, IMP::Float v, bool opt)
13705  add_attribute(StructureSource self, FloatKey a0, IMP::Float a1)
13706  add_attribute(StructureSource self, IntKey a0, IMP::Int a1)
13707  add_attribute(StructureSource self, StringKey a0, IMP::String a1)
13708  add_attribute(StructureSource self, ParticleIndexKey a0, Particle a1)
13709  add_attribute(StructureSource self, ObjectKey a0, Object a1)
13710  """
13711  return _IMP_atom.StructureSource_add_attribute(self, *args)
13712 
13713 
13714  def get_value(self, *args):
13715  """
13716  get_value(StructureSource self, FloatKey a0) -> IMP::Float
13717  get_value(StructureSource self, IntKey a0) -> IMP::Int
13718  get_value(StructureSource self, StringKey a0) -> IMP::String
13719  get_value(StructureSource self, ParticleIndexKey a0) -> Particle
13720  get_value(StructureSource self, ObjectKey a0) -> Object
13721  """
13722  return _IMP_atom.StructureSource_get_value(self, *args)
13723 
13724 
13725  def set_value(self, *args):
13726  """
13727  set_value(StructureSource self, FloatKey a0, IMP::Float a1)
13728  set_value(StructureSource self, IntKey a0, IMP::Int a1)
13729  set_value(StructureSource self, StringKey a0, IMP::String a1)
13730  set_value(StructureSource self, ParticleIndexKey a0, Particle a1)
13731  set_value(StructureSource self, ObjectKey a0, Object a1)
13732  """
13733  return _IMP_atom.StructureSource_set_value(self, *args)
13734 
13735 
13736  def remove_attribute(self, *args):
13737  """
13738  remove_attribute(StructureSource self, FloatKey a0)
13739  remove_attribute(StructureSource self, IntKey a0)
13740  remove_attribute(StructureSource self, StringKey a0)
13741  remove_attribute(StructureSource self, ParticleIndexKey a0)
13742  remove_attribute(StructureSource self, ObjectKey a0)
13743  """
13744  return _IMP_atom.StructureSource_remove_attribute(self, *args)
13745 
13746 
13747  def has_attribute(self, *args):
13748  """
13749  has_attribute(StructureSource self, FloatKey a0) -> bool
13750  has_attribute(StructureSource self, IntKey a0) -> bool
13751  has_attribute(StructureSource self, StringKey a0) -> bool
13752  has_attribute(StructureSource self, ParticleIndexKey a0) -> bool
13753  has_attribute(StructureSource self, ObjectKey a0) -> bool
13754  """
13755  return _IMP_atom.StructureSource_has_attribute(self, *args)
13756 
13757 
13758  def get_derivative(self, a0):
13759  """get_derivative(StructureSource self, FloatKey a0) -> double"""
13760  return _IMP_atom.StructureSource_get_derivative(self, a0)
13761 
13762 
13763  def get_name(self):
13764  """get_name(StructureSource self) -> std::string"""
13765  return _IMP_atom.StructureSource_get_name(self)
13766 
13767 
13768  def clear_caches(self):
13769  """clear_caches(StructureSource self)"""
13770  return _IMP_atom.StructureSource_clear_caches(self)
13771 
13772 
13773  def set_name(self, a0):
13774  """set_name(StructureSource self, std::string a0)"""
13775  return _IMP_atom.StructureSource_set_name(self, a0)
13776 
13777 
13778  def set_check_level(self, a0):
13779  """set_check_level(StructureSource self, IMP::CheckLevel a0)"""
13780  return _IMP_atom.StructureSource_set_check_level(self, a0)
13781 
13782 
13783  def add_to_derivative(self, a0, a1, a2):
13784  """add_to_derivative(StructureSource self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
13785  return _IMP_atom.StructureSource_add_to_derivative(self, a0, a1, a2)
13786 
13787 
13788  def set_is_optimized(self, a0, a1):
13789  """set_is_optimized(StructureSource self, FloatKey a0, bool a1)"""
13790  return _IMP_atom.StructureSource_set_is_optimized(self, a0, a1)
13791 
13792 
13793  def get_is_optimized(self, a0):
13794  """get_is_optimized(StructureSource self, FloatKey a0) -> bool"""
13795  return _IMP_atom.StructureSource_get_is_optimized(self, a0)
13796 
13797 
13798  def get_check_level(self):
13799  """get_check_level(StructureSource self) -> IMP::CheckLevel"""
13800  return _IMP_atom.StructureSource_get_check_level(self)
13801 
13802 
13803  def __eq__(self, *args):
13804  """
13805  __eq__(StructureSource self, StructureSource o) -> bool
13806  __eq__(StructureSource self, Particle d) -> bool
13807  """
13808  return _IMP_atom.StructureSource___eq__(self, *args)
13809 
13810 
13811  def __ne__(self, *args):
13812  """
13813  __ne__(StructureSource self, StructureSource o) -> bool
13814  __ne__(StructureSource self, Particle d) -> bool
13815  """
13816  return _IMP_atom.StructureSource___ne__(self, *args)
13817 
13818 
13819  def __le__(self, *args):
13820  """
13821  __le__(StructureSource self, StructureSource o) -> bool
13822  __le__(StructureSource self, Particle d) -> bool
13823  """
13824  return _IMP_atom.StructureSource___le__(self, *args)
13825 
13826 
13827  def __lt__(self, *args):
13828  """
13829  __lt__(StructureSource self, StructureSource o) -> bool
13830  __lt__(StructureSource self, Particle d) -> bool
13831  """
13832  return _IMP_atom.StructureSource___lt__(self, *args)
13833 
13834 
13835  def __ge__(self, *args):
13836  """
13837  __ge__(StructureSource self, StructureSource o) -> bool
13838  __ge__(StructureSource self, Particle d) -> bool
13839  """
13840  return _IMP_atom.StructureSource___ge__(self, *args)
13841 
13842 
13843  def __gt__(self, *args):
13844  """
13845  __gt__(StructureSource self, StructureSource o) -> bool
13846  __gt__(StructureSource self, Particle d) -> bool
13847  """
13848  return _IMP_atom.StructureSource___gt__(self, *args)
13849 
13850 
13851  def __hash__(self):
13852  """__hash__(StructureSource self) -> std::size_t"""
13853  return _IMP_atom.StructureSource___hash__(self)
13854 
13855 
13856  def __str__(self):
13857  """__str__(StructureSource self) -> std::string"""
13858  return _IMP_atom.StructureSource___str__(self)
13859 
13860 
13861  def __repr__(self):
13862  """__repr__(StructureSource self) -> std::string"""
13863  return _IMP_atom.StructureSource___repr__(self)
13864 
13865  __swig_destroy__ = _IMP_atom.delete_StructureSource
13866  __del__ = lambda self: None
13867 StructureSource_swigregister = _IMP_atom.StructureSource_swigregister
13868 StructureSource_swigregister(StructureSource)
13869 
13870 def StructureSource_get_is_setup(*args):
13871  """
13872  get_is_setup(Model m, ParticleIndex pi) -> bool
13873  StructureSource_get_is_setup(_ParticleAdaptor p) -> bool
13874  """
13875  return _IMP_atom.StructureSource_get_is_setup(*args)
13876 
13877 def StructureSource_setup_particle(*args):
13878  """
13879  setup_particle(Model m, ParticleIndex pi, std::string source_id, std::string source_chain_id) -> StructureSource
13880  StructureSource_setup_particle(_ParticleAdaptor decorator, std::string source_id, std::string source_chain_id) -> StructureSource
13881  """
13882  return _IMP_atom.StructureSource_setup_particle(*args)
13883 
13884 
13885 def __lshift__(*args):
13886  """
13887  __lshift__(_ostream out, Bonded n) -> _ostream
13888  __lshift__(_ostream out, Bond n) -> _ostream
13889  __lshift__(_ostream out, Hierarchy n) -> _ostream
13890  __lshift__(_ostream out, Angle n) -> _ostream
13891  __lshift__(_ostream out, Dihedral n) -> _ostream
13892  __lshift__(_ostream out, CenterOfMass n) -> _ostream
13893  __lshift__(_ostream out, Diffusion n) -> _ostream
13894  __lshift__(_ostream out, RigidBodyDiffusion n) -> _ostream
13895  __lshift__(_ostream out, TAMDParticle n) -> _ostream
13896  __lshift__(_ostream out, Chain n) -> _ostream
13897  __lshift__(_ostream out, Charged n) -> _ostream
13898  __lshift__(_ostream out, Domain n) -> _ostream
13899  __lshift__(_ostream out, LennardJones n) -> _ostream
13900  __lshift__(_ostream out, Fragment n) -> _ostream
13901  __lshift__(_ostream out, SecondaryStructureResidue n) -> _ostream
13902  __lshift__(_ostream out, Atom n) -> _ostream
13903  __lshift__(_ostream out, Residue n) -> _ostream
13904  __lshift__(_ostream out, Representation n) -> _ostream
13905  __lshift__(_ostream out, State n) -> _ostream
13906  __lshift__(_ostream out, Molecule n) -> _ostream
13907  __lshift__(_ostream out, Copy n) -> _ostream
13908  __lshift__(_ostream out, StructureSource n) -> _ostream
13909  """
13910  return _IMP_atom.__lshift__(*args)
13911 
13912 def show_molecular_hierarchy(*args):
13913  """
13914  show_molecular_hierarchy(Hierarchy h, _ostream out) -> _ostream
13915  show_molecular_hierarchy(Hierarchy h) -> _ostream
13916  """
13917  return _IMP_atom.show_molecular_hierarchy(*args)
13918 class CHARMMBond(object):
13919  """Proxy of C++ IMP::atom::CHARMMConnection<(2)> class."""
13920 
13921  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
13922  __repr__ = _swig_repr
13923 
13924  def __init__(self, atoms):
13925  """__init__(IMP::atom::CHARMMConnection<(2)> self, IMP::Strings const & atoms) -> CHARMMBond"""
13926  this = _IMP_atom.new_CHARMMBond(atoms)
13927  try:
13928  self.this.append(this)
13929  except Exception:
13930  self.this = this
13931 
13932  def get_endpoint(self, i):
13933  """get_endpoint(CHARMMBond self, unsigned int i) -> CHARMMBondEndpoint"""
13934  return _IMP_atom.CHARMMBond_get_endpoint(self, i)
13935 
13936 
13937  def get_contains_atom(self, name):
13938  """get_contains_atom(CHARMMBond self, std::string name) -> bool"""
13939  return _IMP_atom.CHARMMBond_get_contains_atom(self, name)
13940 
13941 
13942  def show(self, *args):
13943  """
13944  show(CHARMMBond self, _ostream out)
13945  show(CHARMMBond self)
13946  """
13947  return _IMP_atom.CHARMMBond_show(self, *args)
13948 
13949  __swig_destroy__ = _IMP_atom.delete_CHARMMBond
13950  __del__ = lambda self: None
13951 CHARMMBond_swigregister = _IMP_atom.CHARMMBond_swigregister
13952 CHARMMBond_swigregister(CHARMMBond)
13953 
13954 class CHARMMAngle(object):
13955  """Proxy of C++ IMP::atom::CHARMMConnection<(3)> class."""
13956 
13957  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
13958  __repr__ = _swig_repr
13959 
13960  def __init__(self, atoms):
13961  """__init__(IMP::atom::CHARMMConnection<(3)> self, IMP::Strings const & atoms) -> CHARMMAngle"""
13962  this = _IMP_atom.new_CHARMMAngle(atoms)
13963  try:
13964  self.this.append(this)
13965  except Exception:
13966  self.this = this
13967 
13968  def get_endpoint(self, i):
13969  """get_endpoint(CHARMMAngle self, unsigned int i) -> CHARMMBondEndpoint"""
13970  return _IMP_atom.CHARMMAngle_get_endpoint(self, i)
13971 
13972 
13973  def get_contains_atom(self, name):
13974  """get_contains_atom(CHARMMAngle self, std::string name) -> bool"""
13975  return _IMP_atom.CHARMMAngle_get_contains_atom(self, name)
13976 
13977 
13978  def show(self, *args):
13979  """
13980  show(CHARMMAngle self, _ostream out)
13981  show(CHARMMAngle self)
13982  """
13983  return _IMP_atom.CHARMMAngle_show(self, *args)
13984 
13985  __swig_destroy__ = _IMP_atom.delete_CHARMMAngle
13986  __del__ = lambda self: None
13987 CHARMMAngle_swigregister = _IMP_atom.CHARMMAngle_swigregister
13988 CHARMMAngle_swigregister(CHARMMAngle)
13989 
13990 
13991 def _get_native_overlap_cpp(m1, m2, threshold):
13992  """_get_native_overlap_cpp(IMP::Vector< IMP::algebra::VectorD< 3 > > const & m1, IMP::Vector< IMP::algebra::VectorD< 3 > > const & m2, double threshold) -> double"""
13993  return _IMP_atom._get_native_overlap_cpp(m1, m2, threshold)
13994 
13995 def _get_drmsd_cpp(m0, m1):
13996  """_get_drmsd_cpp(IMP::Vector< IMP::algebra::VectorD< 3 > > const & m0, IMP::Vector< IMP::algebra::VectorD< 3 > > const & m1) -> double"""
13997  return _IMP_atom._get_drmsd_cpp(m0, m1)
13998 
13999 def _get_drmsd_Q_cpp(m0, m1, threshold):
14000  """_get_drmsd_Q_cpp(IMP::Vector< IMP::algebra::VectorD< 3 > > const & m0, IMP::Vector< IMP::algebra::VectorD< 3 > > const & m1, double threshold) -> double"""
14001  return _IMP_atom._get_drmsd_Q_cpp(m0, m1, threshold)
14002 
14003 def _get_drms_cpp(m1, m2):
14004  """_get_drms_cpp(IMP::Vector< IMP::algebra::VectorD< 3 > > const & m1, IMP::Vector< IMP::algebra::VectorD< 3 > > const & m2) -> double"""
14005  return _IMP_atom._get_drms_cpp(m1, m2)
14006 
14007 def _get_rigid_bodies_drms_cpp(m1, m2, ranges):
14008  """_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"""
14009  return _IMP_atom._get_rigid_bodies_drms_cpp(m1, m2, ranges)
14010 
14011 def get_native_overlap(a, b, d):
14012  va= [IMP.algebra.get_vector(x) for x in a]
14013  vb= [IMP.algebra.get_vector(x) for x in b]
14014  return _get_native_overlap_cpp(va, vb, d)
14015 
14016 def get_drmsd(a, b):
14017  va= [IMP.algebra.get_vector(x) for x in a]
14018  vb= [IMP.algebra.get_vector(x) for x in b]
14019  return _get_drmsd_cpp(va, vb)
14020 
14021 def get_drms(a, b):
14022  va= [IMP.algebra.get_vector(x) for x in a]
14023  vb= [IMP.algebra.get_vector(x) for x in b]
14024  return _get_drms_cpp(va, vb)
14025 
14026 def get_drmsd_Q(a, b, t):
14027  va= [IMP.algebra.get_vector(x) for x in a]
14028  vb= [IMP.algebra.get_vector(x) for x in b]
14029  return _get_drmsd_Q_cpp(va, vb, t)
14030 
14031 def get_rigid_bodies_drms(a, b, ranges):
14032  va= [IMP.algebra.get_vector(x) for x in a]
14033  vb= [IMP.algebra.get_vector(x) for x in b]
14034 #rs = [IMP.IntRange(r[0],r[1]) for r in ranges]
14035  return _get_rigid_bodies_drms_cpp(va, vb, ranges)
14036 
14037 
14038 
14039 def get_module_version():
14040  """get_module_version() -> std::string const"""
14041  return _IMP_atom.get_module_version()
14042 
14043 def get_example_path(fname):
14044  """get_example_path(std::string fname) -> std::string"""
14045  return _IMP_atom.get_example_path(fname)
14046 
14047 def get_data_path(fname):
14048  """get_data_path(std::string fname) -> std::string"""
14049  return _IMP_atom.get_data_path(fname)
14050 
14051 from . import _version_check
14052 _version_check.check_version(get_module_version())
14053 __version__ = get_module_version()
14054 
14055 
14056 
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/K].
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()
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)
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)
double get_einstein_rotational_diffusion_coefficient(double r)
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.
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.
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.
double get_kd(double na, double nb, double nab, double volume)
Definition: estimates.h:94
double get_diffusion_angle(double D, double dtfs)
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
double get_rotational_diffusion_coefficient(const algebra::Rotation3Ds &displacements, double dt)
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.
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:87
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:65
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)
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)
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_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)
double get_einstein_diffusion_coefficient(double r)
A restraint is a term in an IMP ScoringFunction.
Definition: Restraint.h:52
A decorator for a particle with x,y,z coordinates and a radius.
Definition: XYZR.h:27