IMP logo
IMP Reference Guide  2.17.0
The Integrative Modeling Platform
atom/__init__.py
1 # This file was automatically generated by SWIG (http://www.swig.org).
2 # Version 3.0.7
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 
8 # This wrapper is part of IMP,
9 # Copyright 2007-2022 IMP Inventors. All rights reserved.
10 
11 from __future__ import print_function, division, absolute_import
12 
13 
14 
15 
16 
17 from sys import version_info
18 if version_info >= (2, 6, 0):
19  def swig_import_helper():
20  from os.path import dirname
21  import imp
22  fp = None
23  try:
24  fp, pathname, description = imp.find_module('_IMP_atom', [dirname(__file__)])
25  except ImportError:
26  import _IMP_atom
27  return _IMP_atom
28  if fp is not None:
29  try:
30  _mod = imp.load_module('_IMP_atom', fp, pathname, description)
31  finally:
32  fp.close()
33  return _mod
34  _IMP_atom = swig_import_helper()
35  del swig_import_helper
36 else:
37  import _IMP_atom
38 del version_info
39 try:
40  _swig_property = property
41 except NameError:
42  pass # Python < 2.2 doesn't have 'property'.
43 
44 
45 def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
46  if (name == "thisown"):
47  return self.this.own(value)
48  if (name == "this"):
49  if type(value).__name__ == 'SwigPyObject':
50  self.__dict__[name] = value
51  return
52  method = class_type.__swig_setmethods__.get(name, None)
53  if method:
54  return method(self, value)
55  if (not static):
56  object.__setattr__(self, name, value)
57  else:
58  raise AttributeError("You cannot add attributes to %s" % self)
59 
60 
61 def _swig_setattr(self, class_type, name, value):
62  return _swig_setattr_nondynamic(self, class_type, name, value, 0)
63 
64 
65 def _swig_getattr_nondynamic(self, class_type, name, static=1):
66  if (name == "thisown"):
67  return self.this.own()
68  method = class_type.__swig_getmethods__.get(name, None)
69  if method:
70  return method(self)
71  if (not static):
72  return object.__getattr__(self, name)
73  else:
74  raise AttributeError(name)
75 
76 def _swig_getattr(self, class_type, name):
77  return _swig_getattr_nondynamic(self, class_type, name, 0)
78 
79 
80 def _swig_repr(self):
81  try:
82  strthis = "proxy of " + self.this.__repr__()
83  except:
84  strthis = ""
85  return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
86 
87 try:
88  _object = object
89  _newclass = 1
90 except AttributeError:
91  class _object:
92  pass
93  _newclass = 0
94 
95 
96 
97 def _swig_setattr_nondynamic_method(set):
98  def set_attr(self, name, value):
99  if (name == "thisown"):
100  return self.this.own(value)
101  if hasattr(self, name) or (name == "this"):
102  set(self, name, value)
103  else:
104  raise AttributeError("You cannot add attributes to %s" % self)
105  return set_attr
106 
107 
108 try:
109  import weakref
110  weakref_proxy = weakref.proxy
111 except:
112  weakref_proxy = lambda x: x
113 
114 
115 class IMP_ATOM_SwigPyIterator(object):
116  """Proxy of C++ swig::IMP_ATOM_SwigPyIterator class"""
117  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
118 
119  def __init__(self, *args, **kwargs):
120  raise AttributeError("No constructor defined - class is abstract")
121  __repr__ = _swig_repr
122  __swig_destroy__ = _IMP_atom.delete_IMP_ATOM_SwigPyIterator
123  __del__ = lambda self: None
124 
125  def value(self):
126  """value(IMP_ATOM_SwigPyIterator self) -> PyObject *"""
127  return _IMP_atom.IMP_ATOM_SwigPyIterator_value(self)
128 
129 
130  def incr(self, n=1):
131  """
132  incr(IMP_ATOM_SwigPyIterator self, size_t n=1) -> IMP_ATOM_SwigPyIterator
133  incr(IMP_ATOM_SwigPyIterator self) -> IMP_ATOM_SwigPyIterator
134  """
135  return _IMP_atom.IMP_ATOM_SwigPyIterator_incr(self, n)
136 
137 
138  def decr(self, n=1):
139  """
140  decr(IMP_ATOM_SwigPyIterator self, size_t n=1) -> IMP_ATOM_SwigPyIterator
141  decr(IMP_ATOM_SwigPyIterator self) -> IMP_ATOM_SwigPyIterator
142  """
143  return _IMP_atom.IMP_ATOM_SwigPyIterator_decr(self, n)
144 
145 
146  def distance(self, x):
147  """distance(IMP_ATOM_SwigPyIterator self, IMP_ATOM_SwigPyIterator x) -> ptrdiff_t"""
148  return _IMP_atom.IMP_ATOM_SwigPyIterator_distance(self, x)
149 
150 
151  def equal(self, x):
152  """equal(IMP_ATOM_SwigPyIterator self, IMP_ATOM_SwigPyIterator x) -> bool"""
153  return _IMP_atom.IMP_ATOM_SwigPyIterator_equal(self, x)
154 
155 
156  def copy(self):
157  """copy(IMP_ATOM_SwigPyIterator self) -> IMP_ATOM_SwigPyIterator"""
158  return _IMP_atom.IMP_ATOM_SwigPyIterator_copy(self)
159 
160 
161  def next(self):
162  """next(IMP_ATOM_SwigPyIterator self) -> PyObject *"""
163  return _IMP_atom.IMP_ATOM_SwigPyIterator_next(self)
164 
165 
166  def __next__(self):
167  """__next__(IMP_ATOM_SwigPyIterator self) -> PyObject *"""
168  return _IMP_atom.IMP_ATOM_SwigPyIterator___next__(self)
169 
170 
171  def previous(self):
172  """previous(IMP_ATOM_SwigPyIterator self) -> PyObject *"""
173  return _IMP_atom.IMP_ATOM_SwigPyIterator_previous(self)
174 
175 
176  def advance(self, n):
177  """advance(IMP_ATOM_SwigPyIterator self, ptrdiff_t n) -> IMP_ATOM_SwigPyIterator"""
178  return _IMP_atom.IMP_ATOM_SwigPyIterator_advance(self, n)
179 
180 
181  def __eq__(self, x):
182  """__eq__(IMP_ATOM_SwigPyIterator self, IMP_ATOM_SwigPyIterator x) -> bool"""
183  return _IMP_atom.IMP_ATOM_SwigPyIterator___eq__(self, x)
184 
185 
186  def __ne__(self, x):
187  """__ne__(IMP_ATOM_SwigPyIterator self, IMP_ATOM_SwigPyIterator x) -> bool"""
188  return _IMP_atom.IMP_ATOM_SwigPyIterator___ne__(self, x)
189 
190 
191  def __iadd__(self, n):
192  """__iadd__(IMP_ATOM_SwigPyIterator self, ptrdiff_t n) -> IMP_ATOM_SwigPyIterator"""
193  return _IMP_atom.IMP_ATOM_SwigPyIterator___iadd__(self, n)
194 
195 
196  def __isub__(self, n):
197  """__isub__(IMP_ATOM_SwigPyIterator self, ptrdiff_t n) -> IMP_ATOM_SwigPyIterator"""
198  return _IMP_atom.IMP_ATOM_SwigPyIterator___isub__(self, n)
199 
200 
201  def __add__(self, n):
202  """__add__(IMP_ATOM_SwigPyIterator self, ptrdiff_t n) -> IMP_ATOM_SwigPyIterator"""
203  return _IMP_atom.IMP_ATOM_SwigPyIterator___add__(self, n)
204 
205 
206  def __sub__(self, *args):
207  """
208  __sub__(IMP_ATOM_SwigPyIterator self, ptrdiff_t n) -> IMP_ATOM_SwigPyIterator
209  __sub__(IMP_ATOM_SwigPyIterator self, IMP_ATOM_SwigPyIterator x) -> ptrdiff_t
210  """
211  return _IMP_atom.IMP_ATOM_SwigPyIterator___sub__(self, *args)
212 
213  def __iter__(self):
214  return self
215 IMP_ATOM_SwigPyIterator_swigregister = _IMP_atom.IMP_ATOM_SwigPyIterator_swigregister
216 IMP_ATOM_SwigPyIterator_swigregister(IMP_ATOM_SwigPyIterator)
217 
218 
219 _value_types=[]
220 _object_types=[]
221 _raii_types=[]
222 _plural_types=[]
223 
224 
225 _IMP_atom.IMP_DEBUG_swigconstant(_IMP_atom)
226 IMP_DEBUG = _IMP_atom.IMP_DEBUG
227 
228 _IMP_atom.IMP_RELEASE_swigconstant(_IMP_atom)
229 IMP_RELEASE = _IMP_atom.IMP_RELEASE
230 
231 _IMP_atom.IMP_SILENT_swigconstant(_IMP_atom)
232 IMP_SILENT = _IMP_atom.IMP_SILENT
233 
234 _IMP_atom.IMP_PROGRESS_swigconstant(_IMP_atom)
235 IMP_PROGRESS = _IMP_atom.IMP_PROGRESS
236 
237 _IMP_atom.IMP_TERSE_swigconstant(_IMP_atom)
238 IMP_TERSE = _IMP_atom.IMP_TERSE
239 
240 _IMP_atom.IMP_VERBOSE_swigconstant(_IMP_atom)
241 IMP_VERBOSE = _IMP_atom.IMP_VERBOSE
242 
243 _IMP_atom.IMP_MEMORY_swigconstant(_IMP_atom)
244 IMP_MEMORY = _IMP_atom.IMP_MEMORY
245 
246 _IMP_atom.IMP_NONE_swigconstant(_IMP_atom)
247 IMP_NONE = _IMP_atom.IMP_NONE
248 
249 _IMP_atom.IMP_USAGE_swigconstant(_IMP_atom)
250 IMP_USAGE = _IMP_atom.IMP_USAGE
251 
252 _IMP_atom.IMP_INTERNAL_swigconstant(_IMP_atom)
253 IMP_INTERNAL = _IMP_atom.IMP_INTERNAL
254 
255 _IMP_atom.IMP_KERNEL_HAS_LOG4CXX_swigconstant(_IMP_atom)
256 IMP_KERNEL_HAS_LOG4CXX = _IMP_atom.IMP_KERNEL_HAS_LOG4CXX
257 
258 _IMP_atom.IMP_COMPILER_HAS_DEBUG_VECTOR_swigconstant(_IMP_atom)
259 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_atom.IMP_COMPILER_HAS_DEBUG_VECTOR
260 
261 _IMP_atom.IMP_COMPILER_HAS_RANDOM_SHUFFLE_swigconstant(_IMP_atom)
262 IMP_COMPILER_HAS_RANDOM_SHUFFLE = _IMP_atom.IMP_COMPILER_HAS_RANDOM_SHUFFLE
263 
264 _IMP_atom.IMP_COMPILER_HAS_THREE_WAY_swigconstant(_IMP_atom)
265 IMP_COMPILER_HAS_THREE_WAY = _IMP_atom.IMP_COMPILER_HAS_THREE_WAY
266 
267 _IMP_atom.IMP_KERNEL_HAS_BOOST_RANDOM_swigconstant(_IMP_atom)
268 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_atom.IMP_KERNEL_HAS_BOOST_RANDOM
269 
270 _IMP_atom.IMP_KERNEL_HAS_NUMPY_swigconstant(_IMP_atom)
271 IMP_KERNEL_HAS_NUMPY = _IMP_atom.IMP_KERNEL_HAS_NUMPY
272 
273 _IMP_atom.IMP_KERNEL_HAS_GPERFTOOLS_swigconstant(_IMP_atom)
274 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_atom.IMP_KERNEL_HAS_GPERFTOOLS
275 
276 _IMP_atom.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER_swigconstant(_IMP_atom)
277 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_atom.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
278 
279 _IMP_atom.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER_swigconstant(_IMP_atom)
280 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_atom.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
281 
282 _IMP_atom.IMPKERNEL_SHOW_WARNINGS_swigconstant(_IMP_atom)
283 IMPKERNEL_SHOW_WARNINGS = _IMP_atom.IMPKERNEL_SHOW_WARNINGS
284 
285 import sys
286 class _DirectorObjects(object):
287  """@internal Simple class to keep references to director objects
288  to prevent premature deletion."""
289  def __init__(self):
290  self._objects = []
291  def register(self, obj):
292  """Take a reference to a director object; will only work for
293  refcounted C++ classes"""
294  if hasattr(obj, 'get_ref_count'):
295  self._objects.append(obj)
296  def cleanup(self):
297  """Only drop our reference and allow cleanup by Python if no other
298  Python references exist (we hold 3 references: one in self._objects,
299  one in x, and one in the argument list for getrefcount) *and* no
300  other C++ references exist (the Python object always holds one)"""
301  objs = [x for x in self._objects if sys.getrefcount(x) > 3 \
302  or x.get_ref_count() > 1]
303 # Do in two steps so the references are kept until the end of the
304 # function (deleting references may trigger a fresh call to this method)
305  self._objects = objs
306  def get_object_count(self):
307  """Get number of director objects (useful for testing only)"""
308  return len(self._objects)
309 _director_objects = _DirectorObjects()
310 
311 class _ostream(object):
312  """Proxy of C++ std::ostream class"""
313  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
314 
315  def __init__(self, *args, **kwargs):
316  raise AttributeError("No constructor defined")
317  __repr__ = _swig_repr
318 
319  def write(self, osa_buf):
320  """write(_ostream self, char const * osa_buf)"""
321  return _IMP_atom._ostream_write(self, osa_buf)
322 
323 _ostream_swigregister = _IMP_atom._ostream_swigregister
324 _ostream_swigregister(_ostream)
325 
326 
327 _IMP_atom.IMP_HAS_NOEXCEPT_swigconstant(_IMP_atom)
328 IMP_HAS_NOEXCEPT = _IMP_atom.IMP_HAS_NOEXCEPT
329 
330 _IMP_atom.IMP_C_OPEN_BINARY_swigconstant(_IMP_atom)
331 IMP_C_OPEN_BINARY = _IMP_atom.IMP_C_OPEN_BINARY
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.IMP_CGAL_HAS_NUMPY_swigconstant(_IMP_atom)
347 IMP_CGAL_HAS_NUMPY = _IMP_atom.IMP_CGAL_HAS_NUMPY
348 
349 _IMP_atom.IMPCGAL_SHOW_WARNINGS_swigconstant(_IMP_atom)
350 IMPCGAL_SHOW_WARNINGS = _IMP_atom.IMPCGAL_SHOW_WARNINGS
351 import IMP.cgal
352 
353 _IMP_atom.IMP_ALGEBRA_HAS_IMP_CGAL_swigconstant(_IMP_atom)
354 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_atom.IMP_ALGEBRA_HAS_IMP_CGAL
355 
356 _IMP_atom.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_atom)
357 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_atom.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
358 
359 _IMP_atom.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_atom)
360 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_atom.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
361 
362 _IMP_atom.IMP_ALGEBRA_HAS_BOOST_RANDOM_swigconstant(_IMP_atom)
363 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_atom.IMP_ALGEBRA_HAS_BOOST_RANDOM
364 
365 _IMP_atom.IMP_ALGEBRA_HAS_BOOST_SYSTEM_swigconstant(_IMP_atom)
366 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_atom.IMP_ALGEBRA_HAS_BOOST_SYSTEM
367 
368 _IMP_atom.IMP_ALGEBRA_HAS_CGAL_swigconstant(_IMP_atom)
369 IMP_ALGEBRA_HAS_CGAL = _IMP_atom.IMP_ALGEBRA_HAS_CGAL
370 
371 _IMP_atom.IMP_ALGEBRA_HAS_NUMPY_swigconstant(_IMP_atom)
372 IMP_ALGEBRA_HAS_NUMPY = _IMP_atom.IMP_ALGEBRA_HAS_NUMPY
373 
374 _IMP_atom.IMP_ALGEBRA_HAS_ANN_swigconstant(_IMP_atom)
375 IMP_ALGEBRA_HAS_ANN = _IMP_atom.IMP_ALGEBRA_HAS_ANN
376 
377 _IMP_atom.IMPALGEBRA_SHOW_WARNINGS_swigconstant(_IMP_atom)
378 IMPALGEBRA_SHOW_WARNINGS = _IMP_atom.IMPALGEBRA_SHOW_WARNINGS
379 import IMP.algebra
380 
381 _IMP_atom.IMP_DISPLAY_HAS_IMP_CGAL_swigconstant(_IMP_atom)
382 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_atom.IMP_DISPLAY_HAS_IMP_CGAL
383 
384 _IMP_atom.IMP_DISPLAY_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_atom)
385 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_atom.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
386 
387 _IMP_atom.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_atom)
388 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_atom.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
389 
390 _IMP_atom.IMP_DISPLAY_HAS_BOOST_RANDOM_swigconstant(_IMP_atom)
391 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_atom.IMP_DISPLAY_HAS_BOOST_RANDOM
392 
393 _IMP_atom.IMP_DISPLAY_HAS_BOOST_SYSTEM_swigconstant(_IMP_atom)
394 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_atom.IMP_DISPLAY_HAS_BOOST_SYSTEM
395 
396 _IMP_atom.IMP_DISPLAY_HAS_CGAL_swigconstant(_IMP_atom)
397 IMP_DISPLAY_HAS_CGAL = _IMP_atom.IMP_DISPLAY_HAS_CGAL
398 
399 _IMP_atom.IMP_DISPLAY_HAS_NUMPY_swigconstant(_IMP_atom)
400 IMP_DISPLAY_HAS_NUMPY = _IMP_atom.IMP_DISPLAY_HAS_NUMPY
401 
402 _IMP_atom.IMPDISPLAY_SHOW_WARNINGS_swigconstant(_IMP_atom)
403 IMPDISPLAY_SHOW_WARNINGS = _IMP_atom.IMPDISPLAY_SHOW_WARNINGS
404 import IMP.display
405 
406 _IMP_atom.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL_swigconstant(_IMP_atom)
407 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_atom.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
408 
409 _IMP_atom.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_atom)
410 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_atom.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
411 
412 _IMP_atom.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_atom)
413 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_atom.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
414 
415 _IMP_atom.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM_swigconstant(_IMP_atom)
416 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_atom.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
417 
418 _IMP_atom.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM_swigconstant(_IMP_atom)
419 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_atom.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
420 
421 _IMP_atom.IMP_SCORE_FUNCTOR_HAS_CGAL_swigconstant(_IMP_atom)
422 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_atom.IMP_SCORE_FUNCTOR_HAS_CGAL
423 
424 _IMP_atom.IMP_SCORE_FUNCTOR_HAS_HDF5_swigconstant(_IMP_atom)
425 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_atom.IMP_SCORE_FUNCTOR_HAS_HDF5
426 
427 _IMP_atom.IMP_SCORE_FUNCTOR_HAS_NUMPY_swigconstant(_IMP_atom)
428 IMP_SCORE_FUNCTOR_HAS_NUMPY = _IMP_atom.IMP_SCORE_FUNCTOR_HAS_NUMPY
429 
430 _IMP_atom.IMPSCOREFUNCTOR_SHOW_WARNINGS_swigconstant(_IMP_atom)
431 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_atom.IMPSCOREFUNCTOR_SHOW_WARNINGS
432 import IMP.score_functor
433 
434 _IMP_atom.IMP_CORE_HAS_IMP_CGAL_swigconstant(_IMP_atom)
435 IMP_CORE_HAS_IMP_CGAL = _IMP_atom.IMP_CORE_HAS_IMP_CGAL
436 
437 _IMP_atom.IMP_CORE_HAS_IMP_KERNEL_swigconstant(_IMP_atom)
438 IMP_CORE_HAS_IMP_KERNEL = _IMP_atom.IMP_CORE_HAS_IMP_KERNEL
439 
440 _IMP_atom.IMP_CORE_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_atom)
441 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_atom.IMP_CORE_HAS_BOOST_FILESYSTEM
442 
443 _IMP_atom.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_atom)
444 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_atom.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
445 
446 _IMP_atom.IMP_CORE_HAS_BOOST_RANDOM_swigconstant(_IMP_atom)
447 IMP_CORE_HAS_BOOST_RANDOM = _IMP_atom.IMP_CORE_HAS_BOOST_RANDOM
448 
449 _IMP_atom.IMP_CORE_HAS_BOOST_SYSTEM_swigconstant(_IMP_atom)
450 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_atom.IMP_CORE_HAS_BOOST_SYSTEM
451 
452 _IMP_atom.IMP_CORE_HAS_CGAL_swigconstant(_IMP_atom)
453 IMP_CORE_HAS_CGAL = _IMP_atom.IMP_CORE_HAS_CGAL
454 
455 _IMP_atom.IMP_CORE_HAS_HDF5_swigconstant(_IMP_atom)
456 IMP_CORE_HAS_HDF5 = _IMP_atom.IMP_CORE_HAS_HDF5
457 
458 _IMP_atom.IMP_CORE_HAS_NUMPY_swigconstant(_IMP_atom)
459 IMP_CORE_HAS_NUMPY = _IMP_atom.IMP_CORE_HAS_NUMPY
460 
461 _IMP_atom.IMPCORE_SHOW_WARNINGS_swigconstant(_IMP_atom)
462 IMPCORE_SHOW_WARNINGS = _IMP_atom.IMPCORE_SHOW_WARNINGS
463 import IMP.core
464 
465 _IMP_atom.IMP_CONTAINER_HAS_IMP_ALGEBRA_swigconstant(_IMP_atom)
466 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_atom.IMP_CONTAINER_HAS_IMP_ALGEBRA
467 
468 _IMP_atom.IMP_CONTAINER_HAS_IMP_CGAL_swigconstant(_IMP_atom)
469 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_atom.IMP_CONTAINER_HAS_IMP_CGAL
470 
471 _IMP_atom.IMP_CONTAINER_HAS_IMP_DISPLAY_swigconstant(_IMP_atom)
472 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_atom.IMP_CONTAINER_HAS_IMP_DISPLAY
473 
474 _IMP_atom.IMP_CONTAINER_HAS_IMP_KERNEL_swigconstant(_IMP_atom)
475 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_atom.IMP_CONTAINER_HAS_IMP_KERNEL
476 
477 _IMP_atom.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_atom)
478 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_atom.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
479 
480 _IMP_atom.IMP_CONTAINER_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_atom)
481 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_atom.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
482 
483 _IMP_atom.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_atom)
484 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_atom.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
485 
486 _IMP_atom.IMP_CONTAINER_HAS_BOOST_RANDOM_swigconstant(_IMP_atom)
487 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_atom.IMP_CONTAINER_HAS_BOOST_RANDOM
488 
489 _IMP_atom.IMP_CONTAINER_HAS_BOOST_SYSTEM_swigconstant(_IMP_atom)
490 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_atom.IMP_CONTAINER_HAS_BOOST_SYSTEM
491 
492 _IMP_atom.IMP_CONTAINER_HAS_CGAL_swigconstant(_IMP_atom)
493 IMP_CONTAINER_HAS_CGAL = _IMP_atom.IMP_CONTAINER_HAS_CGAL
494 
495 _IMP_atom.IMP_CONTAINER_HAS_HDF5_swigconstant(_IMP_atom)
496 IMP_CONTAINER_HAS_HDF5 = _IMP_atom.IMP_CONTAINER_HAS_HDF5
497 
498 _IMP_atom.IMP_CONTAINER_HAS_NUMPY_swigconstant(_IMP_atom)
499 IMP_CONTAINER_HAS_NUMPY = _IMP_atom.IMP_CONTAINER_HAS_NUMPY
500 
501 _IMP_atom.IMP_CONTAINER_HAS_PYTHON_IHM_swigconstant(_IMP_atom)
502 IMP_CONTAINER_HAS_PYTHON_IHM = _IMP_atom.IMP_CONTAINER_HAS_PYTHON_IHM
503 
504 _IMP_atom.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP_swigconstant(_IMP_atom)
505 IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP = _IMP_atom.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP
506 
507 _IMP_atom.IMP_CONTAINER_HAS_ROBIN_MAP_swigconstant(_IMP_atom)
508 IMP_CONTAINER_HAS_ROBIN_MAP = _IMP_atom.IMP_CONTAINER_HAS_ROBIN_MAP
509 
510 _IMP_atom.IMPCONTAINER_SHOW_WARNINGS_swigconstant(_IMP_atom)
511 IMPCONTAINER_SHOW_WARNINGS = _IMP_atom.IMPCONTAINER_SHOW_WARNINGS
512 import IMP.container
513 
514 _IMP_atom.IMP_ATOM_HAS_IMP_CGAL_swigconstant(_IMP_atom)
515 IMP_ATOM_HAS_IMP_CGAL = _IMP_atom.IMP_ATOM_HAS_IMP_CGAL
516 
517 _IMP_atom.IMP_ATOM_HAS_IMP_KERNEL_swigconstant(_IMP_atom)
518 IMP_ATOM_HAS_IMP_KERNEL = _IMP_atom.IMP_ATOM_HAS_IMP_KERNEL
519 
520 _IMP_atom.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_atom)
521 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_atom.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
522 
523 _IMP_atom.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_atom)
524 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_atom.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
525 
526 _IMP_atom.IMP_ATOM_HAS_BOOST_RANDOM_swigconstant(_IMP_atom)
527 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_atom.IMP_ATOM_HAS_BOOST_RANDOM
528 
529 _IMP_atom.IMP_ATOM_HAS_BOOST_REGEX_swigconstant(_IMP_atom)
530 IMP_ATOM_HAS_BOOST_REGEX = _IMP_atom.IMP_ATOM_HAS_BOOST_REGEX
531 
532 _IMP_atom.IMP_ATOM_HAS_BOOST_SYSTEM_swigconstant(_IMP_atom)
533 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_atom.IMP_ATOM_HAS_BOOST_SYSTEM
534 
535 _IMP_atom.IMP_ATOM_HAS_CGAL_swigconstant(_IMP_atom)
536 IMP_ATOM_HAS_CGAL = _IMP_atom.IMP_ATOM_HAS_CGAL
537 
538 _IMP_atom.IMP_ATOM_HAS_HDF5_swigconstant(_IMP_atom)
539 IMP_ATOM_HAS_HDF5 = _IMP_atom.IMP_ATOM_HAS_HDF5
540 
541 _IMP_atom.IMP_ATOM_HAS_NUMPY_swigconstant(_IMP_atom)
542 IMP_ATOM_HAS_NUMPY = _IMP_atom.IMP_ATOM_HAS_NUMPY
543 
544 _IMP_atom.IMP_ATOM_HAS_PYTHON_IHM_swigconstant(_IMP_atom)
545 IMP_ATOM_HAS_PYTHON_IHM = _IMP_atom.IMP_ATOM_HAS_PYTHON_IHM
546 
547 _IMP_atom.IMPATOM_SHOW_WARNINGS_swigconstant(_IMP_atom)
548 IMPATOM_SHOW_WARNINGS = _IMP_atom.IMPATOM_SHOW_WARNINGS
549 
550 _IMP_atom.IMP_ATOM_TYPE_INDEX_swigconstant(_IMP_atom)
551 IMP_ATOM_TYPE_INDEX = _IMP_atom.IMP_ATOM_TYPE_INDEX
552 
553 _IMP_atom.IMP_RESIDUE_TYPE_INDEX_swigconstant(_IMP_atom)
554 IMP_RESIDUE_TYPE_INDEX = _IMP_atom.IMP_RESIDUE_TYPE_INDEX
555 
556 _IMP_atom.IMP_HIERARCHY_TYPE_INDEX_swigconstant(_IMP_atom)
557 IMP_HIERARCHY_TYPE_INDEX = _IMP_atom.IMP_HIERARCHY_TYPE_INDEX
558 
559 _IMP_atom.IMP_CHAIN_TYPE_INDEX_swigconstant(_IMP_atom)
560 IMP_CHAIN_TYPE_INDEX = _IMP_atom.IMP_CHAIN_TYPE_INDEX
562  """Proxy of C++ IMP::internal::BoostDigraph<(IMP::atom::HierarchyTree,IMP::atom::Hierarchy,IMP::atom::ShowHierarchyTreeVertex)> class"""
563  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
564  __repr__ = _swig_repr
565 
566  def __init__(self):
567  """__init__(IMP::internal::BoostDigraph<(IMP::atom::HierarchyTree,IMP::atom::Hierarchy,IMP::atom::ShowHierarchyTreeVertex)> self) -> HierarchyTree"""
568  this = _IMP_atom.new_HierarchyTree()
569  try:
570  self.this.append(this)
571  except:
572  self.this = this
573 
574  def get_graph(self):
575  """get_graph(HierarchyTree self) -> IMP::atom::HierarchyTree const &"""
576  return _IMP_atom.HierarchyTree_get_graph(self)
577 
578 
579  def get_vertices(self):
580  """get_vertices(HierarchyTree self) -> IMP::internal::BoostDigraph< IMP::atom::HierarchyTree,IMP::atom::Hierarchy,IMP::atom::ShowHierarchyTreeVertex >::VertexDescriptors"""
581  return _IMP_atom.HierarchyTree_get_vertices(self)
582 
583 
584  def get_vertex_name(self, i):
585  """get_vertex_name(HierarchyTree self, IMP::internal::BoostDigraph< IMP::atom::HierarchyTree,IMP::atom::Hierarchy,IMP::atom::ShowHierarchyTreeVertex >::VertexDescriptor i) -> Hierarchy"""
586  return _IMP_atom.HierarchyTree_get_vertex_name(self, i)
587 
588 
589  def get_in_neighbors(self, v):
590  """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"""
591  return _IMP_atom.HierarchyTree_get_in_neighbors(self, v)
592 
593 
594  def get_out_neighbors(self, v):
595  """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"""
596  return _IMP_atom.HierarchyTree_get_out_neighbors(self, v)
597 
598 
599  def show_graphviz(self, *args):
600  """
601  show_graphviz(HierarchyTree self, _ostream out)
602  show_graphviz(HierarchyTree self)
603  """
604  return _IMP_atom.HierarchyTree_show_graphviz(self, *args)
605 
606 
607  def get_graphviz_string(self):
608  """get_graphviz_string(HierarchyTree self) -> std::string"""
609  return _IMP_atom.HierarchyTree_get_graphviz_string(self)
610 
611 
612  def add_edge(self, v0, v1):
613  """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)"""
614  return _IMP_atom.HierarchyTree_add_edge(self, v0, v1)
615 
616 
617  def add_vertex(self, l):
618  """add_vertex(HierarchyTree self, Hierarchy l) -> IMP::internal::BoostDigraph< IMP::atom::HierarchyTree,IMP::atom::Hierarchy,IMP::atom::ShowHierarchyTreeVertex >::VertexDescriptor"""
619  return _IMP_atom.HierarchyTree_add_vertex(self, l)
620 
621 
622  def remove_vertex(self, l):
623  """remove_vertex(HierarchyTree self, IMP::internal::BoostDigraph< IMP::atom::HierarchyTree,IMP::atom::Hierarchy,IMP::atom::ShowHierarchyTreeVertex >::VertexDescriptor l)"""
624  return _IMP_atom.HierarchyTree_remove_vertex(self, l)
625 
626  __swig_destroy__ = _IMP_atom.delete_HierarchyTree
627  __del__ = lambda self: None
628 HierarchyTree_swigregister = _IMP_atom.HierarchyTree_swigregister
629 HierarchyTree_swigregister(HierarchyTree)
630 
631 
632 _value_types.append("HierarchyTree")
633 
634 
635 _object_types.append("PDBSelector")
636 
637 
638 def _object_cast_to_PDBSelector(o):
639  """_object_cast_to_PDBSelector(Object o) -> PDBSelector"""
640  return _IMP_atom._object_cast_to_PDBSelector(o)
641 
642 def Angles(l=[]):
643  return [Angle(x) for x in l]
644 _plural_types.append("Angles")
645 
646 
647 _value_types.append("Angle")
648 
649 
650 def Atoms(l=[]):
651  return [Atom(x) for x in l]
652 _plural_types.append("Atoms")
653 
654 
655 _value_types.append("Atom")
656 
657 
658 def Bonds(l=[]):
659  return [Bond(x) for x in l]
660 _plural_types.append("Bonds")
661 
662 
663 _value_types.append("Bond")
664 
665 
666 def Bondeds(l=[]):
667  return [Bonded(x) for x in l]
668 _plural_types.append("Bondeds")
669 
670 
671 _value_types.append("Bonded")
672 
673 
674 def CHARMMAtomList(l=[]):
675  return [CHARMMAtom(x) for x in l]
676 _plural_types.append("CHARMMAtomList")
677 
678 
679 _value_types.append("CHARMMAtom")
680 
681 
682 def Chains(l=[]):
683  return [Chain(x) for x in l]
684 _plural_types.append("Chains")
685 
686 
687 _value_types.append("Chain")
688 
689 
690 def CenterOfMasses(l=[]):
691  return [CenterOfMass(x) for x in l]
692 _plural_types.append("CenterOfMasses")
693 
694 
695 _value_types.append("CenterOfMass")
696 
697 
698 def Chargeds(l=[]):
699  return [Charged(x) for x in l]
700 _plural_types.append("Chargeds")
701 
702 
703 _value_types.append("Charged")
704 
705 
706 def Diffusions(l=[]):
707  return [Diffusion(x) for x in l]
708 _plural_types.append("Diffusions")
709 
710 
711 _value_types.append("Diffusion")
712 
713 
714 def RigidBodyDiffusions(l=[]):
715  return [RigidBodyDiffusion(x) for x in l]
716 _plural_types.append("RigidBodyDiffusions")
717 
718 
719 _value_types.append("RigidBodyDiffusion")
720 
721 
722 def TAMDParticles(l=[]):
723  return [TAMDParticle(x) for x in l]
724 _plural_types.append("TAMDParticles")
725 
726 
727 _value_types.append("TAMDParticle")
728 
729 
730 def TAMDCentroids(l=[]):
731  return [TAMDCentroid(x) for x in l]
732 _plural_types.append("TAMDCentroids")
733 
734 
735 _value_types.append("TAMDCentroid")
736 
737 
738 def Dihedrals(l=[]):
739  return [Dihedral(x) for x in l]
740 _plural_types.append("Dihedrals")
741 
742 
743 _value_types.append("Dihedral")
744 
745 
746 def Domains(l=[]):
747  return [Domain(x) for x in l]
748 _plural_types.append("Domains")
749 
750 
751 _value_types.append("Domain")
752 
753 
754 def Fragments(l=[]):
755  return [Fragment(x) for x in l]
756 _plural_types.append("Fragments")
757 
758 
759 _value_types.append("Fragment")
760 
761 
762 def Hierarchies(l=[]):
763  return [Hierarchy(x) for x in l]
764 _plural_types.append("Hierarchies")
765 
766 
767 _value_types.append("Hierarchy")
768 
769 
770 def LennardJonesList(l=[]):
771  return [LennardJones(x) for x in l]
772 _plural_types.append("LennardJonesList")
773 
774 
775 _value_types.append("LennardJones")
776 
777 
778 def Masses(l=[]):
779  return [Mass(x) for x in l]
780 _plural_types.append("Masses")
781 
782 
783 _value_types.append("Mass")
784 
785 
786 def LinearVelocities(l=[]):
787  return [LinearVelocity(x) for x in l]
788 _plural_types.append("LinearVelocities")
789 
790 
791 _value_types.append("LinearVelocity")
792 
793 
794 def AngularVelocities(l=[]):
795  return [AngularVelocity(x) for x in l]
796 _plural_types.append("AngularVelocities")
797 
798 
799 _value_types.append("AngularVelocity")
800 
801 
802 def Molecules(l=[]):
803  return [Molecule(x) for x in l]
804 _plural_types.append("Molecules")
805 
806 
807 _value_types.append("Molecule")
808 
809 
810 def Residues(l=[]):
811  return [Residue(x) for x in l]
812 _plural_types.append("Residues")
813 
814 
815 _value_types.append("Residue")
816 
817 
818 def Representations(l=[]):
819  return [Representation(x) for x in l]
820 _plural_types.append("Representations")
821 
822 
823 _value_types.append("Representation")
824 
825 
826 def States(l=[]):
827  return [State(x) for x in l]
828 _plural_types.append("States")
829 
830 
831 _value_types.append("State")
832 
833 
834 def Copies(l=[]):
835  return [Copy(x) for x in l]
836 _plural_types.append("Copies")
837 
838 
839 _value_types.append("Copy")
840 
841 
842 def SecondaryStructureResidues(l=[]):
843  return [SecondaryStructureResidue(x) for x in l]
844 _plural_types.append("SecondaryStructureResidues")
845 
846 
847 _value_types.append("SecondaryStructureResidue")
848 
849 
850 def StructureSources(l=[]):
851  return [StructureSource(x) for x in l]
852 _plural_types.append("StructureSources")
853 
854 
855 _value_types.append("StructureSource")
856 
857 
858 _object_types.append("Simulator")
859 
860 
861 def _object_cast_to_Simulator(o):
862  """_object_cast_to_Simulator(Object o) -> Simulator"""
863  return _IMP_atom._object_cast_to_Simulator(o)
864 
865 _object_types.append("ATOMPDBSelector")
866 
867 
868 def _object_cast_to_ATOMPDBSelector(o):
869  """_object_cast_to_ATOMPDBSelector(Object o) -> ATOMPDBSelector"""
870  return _IMP_atom._object_cast_to_ATOMPDBSelector(o)
871 
872 _object_types.append("AllMol2Selector")
873 
874 
875 def _object_cast_to_AllMol2Selector(o):
876  """_object_cast_to_AllMol2Selector(Object o) -> AllMol2Selector"""
877  return _IMP_atom._object_cast_to_AllMol2Selector(o)
878 
879 _object_types.append("AllPDBSelector")
880 
881 
882 def _object_cast_to_AllPDBSelector(o):
883  """_object_cast_to_AllPDBSelector(Object o) -> AllPDBSelector"""
884  return _IMP_atom._object_cast_to_AllPDBSelector(o)
885 
886 _object_types.append("AndPDBSelector")
887 
888 
889 def _object_cast_to_AndPDBSelector(o):
890  """_object_cast_to_AndPDBSelector(Object o) -> AndPDBSelector"""
891  return _IMP_atom._object_cast_to_AndPDBSelector(o)
892 
893 _object_types.append("XorPDBSelector")
894 
895 
896 def _object_cast_to_XorPDBSelector(o):
897  """_object_cast_to_XorPDBSelector(Object o) -> XorPDBSelector"""
898  return _IMP_atom._object_cast_to_XorPDBSelector(o)
899 
900 _object_types.append("ResidueTypePDBSelector")
901 
902 
903 def _object_cast_to_ResidueTypePDBSelector(o):
904  """_object_cast_to_ResidueTypePDBSelector(Object o) -> ResidueTypePDBSelector"""
905  return _IMP_atom._object_cast_to_ResidueTypePDBSelector(o)
906 
907 _object_types.append("AtomTypePDBSelector")
908 
909 
910 def _object_cast_to_AtomTypePDBSelector(o):
911  """_object_cast_to_AtomTypePDBSelector(Object o) -> AtomTypePDBSelector"""
912  return _IMP_atom._object_cast_to_AtomTypePDBSelector(o)
913 
914 _object_types.append("AngleSingletonScore")
915 
916 
917 def _object_cast_to_AngleSingletonScore(o):
918  """_object_cast_to_AngleSingletonScore(Object o) -> AngleSingletonScore"""
919  return _IMP_atom._object_cast_to_AngleSingletonScore(o)
920 
921 _object_types.append("BondEndpointsRefiner")
922 
923 
924 def _object_cast_to_BondEndpointsRefiner(o):
925  """_object_cast_to_BondEndpointsRefiner(Object o) -> BondEndpointsRefiner"""
926  return _IMP_atom._object_cast_to_BondEndpointsRefiner(o)
927 
928 _object_types.append("BondPairContainer")
929 
930 
931 def _object_cast_to_BondPairContainer(o):
932  """_object_cast_to_BondPairContainer(Object o) -> BondPairContainer"""
933  return _IMP_atom._object_cast_to_BondPairContainer(o)
934 
935 _object_types.append("BondSingletonScore")
936 
937 
938 def _object_cast_to_BondSingletonScore(o):
939  """_object_cast_to_BondSingletonScore(Object o) -> BondSingletonScore"""
940  return _IMP_atom._object_cast_to_BondSingletonScore(o)
941 
942 _object_types.append("BondedPairFilter")
943 
944 
945 def _object_cast_to_BondedPairFilter(o):
946  """_object_cast_to_BondedPairFilter(Object o) -> BondedPairFilter"""
947  return _IMP_atom._object_cast_to_BondedPairFilter(o)
948 
949 _object_types.append("BrownianDynamics")
950 
951 
952 def _object_cast_to_BrownianDynamics(o):
953  """_object_cast_to_BrownianDynamics(Object o) -> BrownianDynamics"""
954  return _IMP_atom._object_cast_to_BrownianDynamics(o)
955 
956 _object_types.append("BrownianDynamicsTAMD")
957 
958 
959 def _object_cast_to_BrownianDynamicsTAMD(o):
960  """_object_cast_to_BrownianDynamicsTAMD(Object o) -> BrownianDynamicsTAMD"""
961  return _IMP_atom._object_cast_to_BrownianDynamicsTAMD(o)
962 
963 _object_types.append("CAlphaPDBSelector")
964 
965 
966 def _object_cast_to_CAlphaPDBSelector(o):
967  """_object_cast_to_CAlphaPDBSelector(Object o) -> CAlphaPDBSelector"""
968  return _IMP_atom._object_cast_to_CAlphaPDBSelector(o)
969 
970 _object_types.append("CBetaPDBSelector")
971 
972 
973 def _object_cast_to_CBetaPDBSelector(o):
974  """_object_cast_to_CBetaPDBSelector(Object o) -> CBetaPDBSelector"""
975  return _IMP_atom._object_cast_to_CBetaPDBSelector(o)
976 
977 _object_types.append("BackbonePDBSelector")
978 
979 
980 def _object_cast_to_BackbonePDBSelector(o):
981  """_object_cast_to_BackbonePDBSelector(Object o) -> BackbonePDBSelector"""
982  return _IMP_atom._object_cast_to_BackbonePDBSelector(o)
983 
984 _object_types.append("CHARMMParameters")
985 
986 
987 def _object_cast_to_CHARMMParameters(o):
988  """_object_cast_to_CHARMMParameters(Object o) -> CHARMMParameters"""
989  return _IMP_atom._object_cast_to_CHARMMParameters(o)
990 
991 _object_types.append("CHARMMResidueTopology")
992 
993 
994 def _object_cast_to_CHARMMResidueTopology(o):
995  """_object_cast_to_CHARMMResidueTopology(Object o) -> CHARMMResidueTopology"""
996  return _IMP_atom._object_cast_to_CHARMMResidueTopology(o)
997 
998 _object_types.append("CHARMMSegmentTopology")
999 
1000 
1001 def _object_cast_to_CHARMMSegmentTopology(o):
1002  """_object_cast_to_CHARMMSegmentTopology(Object o) -> CHARMMSegmentTopology"""
1003  return _IMP_atom._object_cast_to_CHARMMSegmentTopology(o)
1004 
1005 _object_types.append("CHARMMStereochemistryRestraint")
1006 
1007 
1008 def _object_cast_to_CHARMMStereochemistryRestraint(o):
1009  """_object_cast_to_CHARMMStereochemistryRestraint(Object o) -> CHARMMStereochemistryRestraint"""
1010  return _IMP_atom._object_cast_to_CHARMMStereochemistryRestraint(o)
1011 
1012 _object_types.append("CHARMMTopology")
1013 
1014 
1015 def _object_cast_to_CHARMMTopology(o):
1016  """_object_cast_to_CHARMMTopology(Object o) -> CHARMMTopology"""
1017  return _IMP_atom._object_cast_to_CHARMMTopology(o)
1018 
1019 _object_types.append("CPDBSelector")
1020 
1021 
1022 def _object_cast_to_CPDBSelector(o):
1023  """_object_cast_to_CPDBSelector(Object o) -> CPDBSelector"""
1024  return _IMP_atom._object_cast_to_CPDBSelector(o)
1025 
1026 _object_types.append("ChainPDBSelector")
1027 
1028 
1029 def _object_cast_to_ChainPDBSelector(o):
1030  """_object_cast_to_ChainPDBSelector(Object o) -> ChainPDBSelector"""
1031  return _IMP_atom._object_cast_to_ChainPDBSelector(o)
1032 
1033 _object_types.append("CoulombPairScore")
1034 
1035 
1036 def _object_cast_to_CoulombPairScore(o):
1037  """_object_cast_to_CoulombPairScore(Object o) -> CoulombPairScore"""
1038  return _IMP_atom._object_cast_to_CoulombPairScore(o)
1039 
1040 _object_types.append("CoverBond")
1041 
1042 
1043 def _object_cast_to_CoverBond(o):
1044  """_object_cast_to_CoverBond(Object o) -> CoverBond"""
1045  return _IMP_atom._object_cast_to_CoverBond(o)
1046 
1047 _object_types.append("DihedralSingletonScore")
1048 
1049 
1050 def _object_cast_to_DihedralSingletonScore(o):
1051  """_object_cast_to_DihedralSingletonScore(Object o) -> DihedralSingletonScore"""
1052  return _IMP_atom._object_cast_to_DihedralSingletonScore(o)
1053 
1054 _object_types.append("DopePairScore")
1055 
1056 
1057 def _object_cast_to_DopePairScore(o):
1058  """_object_cast_to_DopePairScore(Object o) -> DopePairScore"""
1059  return _IMP_atom._object_cast_to_DopePairScore(o)
1060 
1061 _object_types.append("LoopStatisticalPairScore")
1062 
1063 
1064 def _object_cast_to_LoopStatisticalPairScore(o):
1065  """_object_cast_to_LoopStatisticalPairScore(Object o) -> LoopStatisticalPairScore"""
1066  return _IMP_atom._object_cast_to_LoopStatisticalPairScore(o)
1067 
1068 _object_types.append("OrientedSoapPairScore")
1069 
1070 
1071 def _object_cast_to_OrientedSoapPairScore(o):
1072  """_object_cast_to_OrientedSoapPairScore(Object o) -> OrientedSoapPairScore"""
1073  return _IMP_atom._object_cast_to_OrientedSoapPairScore(o)
1074 
1075 _object_types.append("EzRestraint")
1076 
1077 
1078 def _object_cast_to_EzRestraint(o):
1079  """_object_cast_to_EzRestraint(Object o) -> EzRestraint"""
1080  return _IMP_atom._object_cast_to_EzRestraint(o)
1081 
1082 _object_types.append("ForceFieldParameters")
1083 
1084 
1085 def _object_cast_to_ForceFieldParameters(o):
1086  """_object_cast_to_ForceFieldParameters(Object o) -> ForceFieldParameters"""
1087  return _IMP_atom._object_cast_to_ForceFieldParameters(o)
1088 
1089 _object_types.append("ForceSwitch")
1090 
1091 
1092 def _object_cast_to_ForceSwitch(o):
1093  """_object_cast_to_ForceSwitch(Object o) -> ForceSwitch"""
1094  return _IMP_atom._object_cast_to_ForceSwitch(o)
1095 
1096 _object_types.append("HydrogenPDBSelector")
1097 
1098 
1099 def _object_cast_to_HydrogenPDBSelector(o):
1100  """_object_cast_to_HydrogenPDBSelector(Object o) -> HydrogenPDBSelector"""
1101  return _IMP_atom._object_cast_to_HydrogenPDBSelector(o)
1102 
1103 _object_types.append("ImproperSingletonScore")
1104 
1105 
1106 def _object_cast_to_ImproperSingletonScore(o):
1107  """_object_cast_to_ImproperSingletonScore(Object o) -> ImproperSingletonScore"""
1108  return _IMP_atom._object_cast_to_ImproperSingletonScore(o)
1109 
1110 _object_types.append("LennardJonesPairScore")
1111 
1112 
1113 def _object_cast_to_LennardJonesPairScore(o):
1114  """_object_cast_to_LennardJonesPairScore(Object o) -> LennardJonesPairScore"""
1115  return _IMP_atom._object_cast_to_LennardJonesPairScore(o)
1116 
1117 _object_types.append("Mol2Selector")
1118 
1119 
1120 def _object_cast_to_Mol2Selector(o):
1121  """_object_cast_to_Mol2Selector(Object o) -> Mol2Selector"""
1122  return _IMP_atom._object_cast_to_Mol2Selector(o)
1123 
1124 _object_types.append("MolecularDynamics")
1125 
1126 
1127 def _object_cast_to_MolecularDynamics(o):
1128  """_object_cast_to_MolecularDynamics(Object o) -> MolecularDynamics"""
1129  return _IMP_atom._object_cast_to_MolecularDynamics(o)
1130 
1131 _object_types.append("NPDBSelector")
1132 
1133 
1134 def _object_cast_to_NPDBSelector(o):
1135  """_object_cast_to_NPDBSelector(Object o) -> NPDBSelector"""
1136  return _IMP_atom._object_cast_to_NPDBSelector(o)
1137 
1138 _object_types.append("NonAlternativePDBSelector")
1139 
1140 
1141 def _object_cast_to_NonAlternativePDBSelector(o):
1142  """_object_cast_to_NonAlternativePDBSelector(Object o) -> NonAlternativePDBSelector"""
1143  return _IMP_atom._object_cast_to_NonAlternativePDBSelector(o)
1144 
1145 _object_types.append("NonHydrogenMol2Selector")
1146 
1147 
1148 def _object_cast_to_NonHydrogenMol2Selector(o):
1149  """_object_cast_to_NonHydrogenMol2Selector(Object o) -> NonHydrogenMol2Selector"""
1150  return _IMP_atom._object_cast_to_NonHydrogenMol2Selector(o)
1151 
1152 _object_types.append("NonHydrogenPDBSelector")
1153 
1154 
1155 def _object_cast_to_NonHydrogenPDBSelector(o):
1156  """_object_cast_to_NonHydrogenPDBSelector(Object o) -> NonHydrogenPDBSelector"""
1157  return _IMP_atom._object_cast_to_NonHydrogenPDBSelector(o)
1158 
1159 _object_types.append("NonWaterNonHydrogenPDBSelector")
1160 
1161 
1162 def _object_cast_to_NonWaterNonHydrogenPDBSelector(o):
1163  """_object_cast_to_NonWaterNonHydrogenPDBSelector(Object o) -> NonWaterNonHydrogenPDBSelector"""
1164  return _IMP_atom._object_cast_to_NonWaterNonHydrogenPDBSelector(o)
1165 
1166 _object_types.append("NonWaterPDBSelector")
1167 
1168 
1169 def _object_cast_to_NonWaterPDBSelector(o):
1170  """_object_cast_to_NonWaterPDBSelector(Object o) -> NonWaterPDBSelector"""
1171  return _IMP_atom._object_cast_to_NonWaterPDBSelector(o)
1172 
1173 _object_types.append("NotPDBSelector")
1174 
1175 
1176 def _object_cast_to_NotPDBSelector(o):
1177  """_object_cast_to_NotPDBSelector(Object o) -> NotPDBSelector"""
1178  return _IMP_atom._object_cast_to_NotPDBSelector(o)
1179 
1180 _object_types.append("OrPDBSelector")
1181 
1182 
1183 def _object_cast_to_OrPDBSelector(o):
1184  """_object_cast_to_OrPDBSelector(Object o) -> OrPDBSelector"""
1185  return _IMP_atom._object_cast_to_OrPDBSelector(o)
1186 
1187 _object_types.append("PPDBSelector")
1188 
1189 
1190 def _object_cast_to_PPDBSelector(o):
1191  """_object_cast_to_PPDBSelector(Object o) -> PPDBSelector"""
1192  return _IMP_atom._object_cast_to_PPDBSelector(o)
1193 
1194 _object_types.append("ProteinLigandAtomPairScore")
1195 
1196 
1197 def _object_cast_to_ProteinLigandAtomPairScore(o):
1198  """_object_cast_to_ProteinLigandAtomPairScore(Object o) -> ProteinLigandAtomPairScore"""
1199  return _IMP_atom._object_cast_to_ProteinLigandAtomPairScore(o)
1200 
1201 _object_types.append("ProteinLigandRestraint")
1202 
1203 
1204 def _object_cast_to_ProteinLigandRestraint(o):
1205  """_object_cast_to_ProteinLigandRestraint(Object o) -> ProteinLigandRestraint"""
1206  return _IMP_atom._object_cast_to_ProteinLigandRestraint(o)
1207 
1208 _object_types.append("SameResiduePairFilter")
1209 
1210 
1211 def _object_cast_to_SameResiduePairFilter(o):
1212  """_object_cast_to_SameResiduePairFilter(Object o) -> SameResiduePairFilter"""
1213  return _IMP_atom._object_cast_to_SameResiduePairFilter(o)
1214 
1215 _object_types.append("SoapPairFilter")
1216 
1217 
1218 def _object_cast_to_SoapPairFilter(o):
1219  """_object_cast_to_SoapPairFilter(Object o) -> SoapPairFilter"""
1220  return _IMP_atom._object_cast_to_SoapPairFilter(o)
1221 
1222 _object_types.append("SmoothingFunction")
1223 
1224 
1225 def _object_cast_to_SmoothingFunction(o):
1226  """_object_cast_to_SmoothingFunction(Object o) -> SmoothingFunction"""
1227  return _IMP_atom._object_cast_to_SmoothingFunction(o)
1228 
1229 _object_types.append("StereochemistryPairFilter")
1230 
1231 
1232 def _object_cast_to_StereochemistryPairFilter(o):
1233  """_object_cast_to_StereochemistryPairFilter(Object o) -> StereochemistryPairFilter"""
1234  return _IMP_atom._object_cast_to_StereochemistryPairFilter(o)
1235 
1236 _object_types.append("VelocityScalingOptimizerState")
1237 
1238 
1239 def _object_cast_to_VelocityScalingOptimizerState(o):
1240  """_object_cast_to_VelocityScalingOptimizerState(Object o) -> VelocityScalingOptimizerState"""
1241  return _IMP_atom._object_cast_to_VelocityScalingOptimizerState(o)
1242 
1243 _object_types.append("WaterPDBSelector")
1244 
1245 
1246 def _object_cast_to_WaterPDBSelector(o):
1247  """_object_cast_to_WaterPDBSelector(Object o) -> WaterPDBSelector"""
1248  return _IMP_atom._object_cast_to_WaterPDBSelector(o)
1249 
1250 _object_types.append("WritePDBOptimizerState")
1251 
1252 
1253 def _object_cast_to_WritePDBOptimizerState(o):
1254  """_object_cast_to_WritePDBOptimizerState(Object o) -> WritePDBOptimizerState"""
1255  return _IMP_atom._object_cast_to_WritePDBOptimizerState(o)
1256 
1257 AtomTypes=list
1258 _plural_types.append("AtomTypes")
1259 _value_types.append("AtomType")
1260 
1261 
1262 CHARMMAtomTopologies=list
1263 _plural_types.append("CHARMMAtomTopologies")
1264 _value_types.append("CHARMMAtomTopology")
1265 
1266 
1267 CHARMMBondEndpoints=list
1268 _plural_types.append("CHARMMBondEndpoints")
1269 _value_types.append("CHARMMBondEndpoint")
1270 
1271 
1272 CHARMMBondParametersList=list
1273 _plural_types.append("CHARMMBondParametersList")
1274 _value_types.append("CHARMMBondParameters")
1275 
1276 
1277 CHARMMDihedralParametersList=list
1278 _plural_types.append("CHARMMDihedralParametersList")
1279 _value_types.append("CHARMMDihedralParameters")
1280 
1281 
1282 _object_types.append("CHARMMIdealResidueTopology")
1283 
1284 
1285 def _object_cast_to_CHARMMIdealResidueTopology(o):
1286  """_object_cast_to_CHARMMIdealResidueTopology(Object o) -> CHARMMIdealResidueTopology"""
1287  return _IMP_atom._object_cast_to_CHARMMIdealResidueTopology(o)
1288 
1289 CHARMMInternalCoordinates=list
1290 _plural_types.append("CHARMMInternalCoordinates")
1291 _value_types.append("CHARMMInternalCoordinate")
1292 
1293 
1294 _object_types.append("CHARMMPatch")
1295 
1296 
1297 def _object_cast_to_CHARMMPatch(o):
1298  """_object_cast_to_CHARMMPatch(Object o) -> CHARMMPatch"""
1299  return _IMP_atom._object_cast_to_CHARMMPatch(o)
1300 
1301 _object_types.append("CHARMMResidueTopologyBase")
1302 
1303 
1304 def _object_cast_to_CHARMMResidueTopologyBase(o):
1305  """_object_cast_to_CHARMMResidueTopologyBase(Object o) -> CHARMMResidueTopologyBase"""
1306  return _IMP_atom._object_cast_to_CHARMMResidueTopologyBase(o)
1307 
1308 ResidueTypes=list
1309 _plural_types.append("ResidueTypes")
1310 _value_types.append("ResidueType")
1311 
1312 
1313 ChainTypes=list
1314 _plural_types.append("ChainTypes")
1315 _value_types.append("ChainType")
1316 
1317 
1318 Selections=list
1319 _plural_types.append("Selections")
1320 _value_types.append("Selection")
1321 
1322 
1323 _object_types.append("RemoveRigidMotionOptimizerState")
1324 
1325 
1326 def _object_cast_to_RemoveRigidMotionOptimizerState(o):
1327  """_object_cast_to_RemoveRigidMotionOptimizerState(Object o) -> RemoveRigidMotionOptimizerState"""
1328  return _IMP_atom._object_cast_to_RemoveRigidMotionOptimizerState(o)
1329 
1330 _object_types.append("BerendsenThermostatOptimizerState")
1331 
1332 
1333 def _object_cast_to_BerendsenThermostatOptimizerState(o):
1334  """_object_cast_to_BerendsenThermostatOptimizerState(Object o) -> BerendsenThermostatOptimizerState"""
1335  return _IMP_atom._object_cast_to_BerendsenThermostatOptimizerState(o)
1336 
1337 _object_types.append("LangevinThermostatOptimizerState")
1338 
1339 
1340 def _object_cast_to_LangevinThermostatOptimizerState(o):
1341  """_object_cast_to_LangevinThermostatOptimizerState(Object o) -> LangevinThermostatOptimizerState"""
1342  return _IMP_atom._object_cast_to_LangevinThermostatOptimizerState(o)
1343 
1344 _object_types.append("SelectionGeometry")
1345 
1346 
1347 def _object_cast_to_SelectionGeometry(o):
1348  """_object_cast_to_SelectionGeometry(Object o) -> SelectionGeometry"""
1349  return _IMP_atom._object_cast_to_SelectionGeometry(o)
1350 
1351 _object_types.append("HierarchyGeometry")
1352 
1353 
1354 def _object_cast_to_HierarchyGeometry(o):
1355  """_object_cast_to_HierarchyGeometry(Object o) -> HierarchyGeometry"""
1356  return _IMP_atom._object_cast_to_HierarchyGeometry(o)
1357 
1358 _object_types.append("HierarchiesGeometry")
1359 
1360 
1361 def _object_cast_to_HierarchiesGeometry(o):
1362  """_object_cast_to_HierarchiesGeometry(Object o) -> HierarchiesGeometry"""
1363  return _IMP_atom._object_cast_to_HierarchiesGeometry(o)
1364 
1365 _object_types.append("BondGeometry")
1366 
1367 
1368 def _object_cast_to_BondGeometry(o):
1369  """_object_cast_to_BondGeometry(Object o) -> BondGeometry"""
1370  return _IMP_atom._object_cast_to_BondGeometry(o)
1371 
1372 _object_types.append("BondsGeometry")
1373 
1374 
1375 def _object_cast_to_BondsGeometry(o):
1376  """_object_cast_to_BondsGeometry(Object o) -> BondsGeometry"""
1377  return _IMP_atom._object_cast_to_BondsGeometry(o)
1378 
1379 _object_types.append("CAAngleRestraint")
1380 
1381 
1382 def _object_cast_to_CAAngleRestraint(o):
1383  """_object_cast_to_CAAngleRestraint(Object o) -> CAAngleRestraint"""
1384  return _IMP_atom._object_cast_to_CAAngleRestraint(o)
1385 
1386 _object_types.append("CADihedralRestraint")
1387 
1388 
1389 def _object_cast_to_CADihedralRestraint(o):
1390  """_object_cast_to_CADihedralRestraint(Object o) -> CADihedralRestraint"""
1391  return _IMP_atom._object_cast_to_CADihedralRestraint(o)
1392 
1393 _object_types.append("HelixRestraint")
1394 
1395 
1396 def _object_cast_to_HelixRestraint(o):
1397  """_object_cast_to_HelixRestraint(Object o) -> HelixRestraint"""
1398  return _IMP_atom._object_cast_to_HelixRestraint(o)
1399 
1400 CHARMMDihedrals=list
1401 _plural_types.append("CHARMMDihedrals")
1402 _value_types.append("CHARMMDihedral")
1403 
1404 
1405 CHARMMBonds=list
1406 _plural_types.append("CHARMMBonds")
1407 _value_types.append("CHARMMBond")
1408 
1409 
1410 CHARMMAngles=list
1411 _plural_types.append("CHARMMAngles")
1412 _value_types.append("CHARMMAngle")
1413 
1414 class Bond(IMP.Decorator):
1415  """Proxy of C++ IMP::atom::Bond class"""
1416  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1417 
1418  def __init__(self, *args):
1419  """
1420  __init__(IMP::atom::Bond self) -> Bond
1421  __init__(IMP::atom::Bond self, Model m, ParticleIndex id) -> Bond
1422  __init__(IMP::atom::Bond self, _ParticleAdaptor d) -> Bond
1423  """
1424  this = _IMP_atom.new_Bond(*args)
1425  try:
1426  self.this.append(this)
1427  except:
1428  self.this = this
1429 
1430  def show(self, *args):
1431  """
1432  show(Bond self, _ostream out)
1433  show(Bond self)
1434  """
1435  return _IMP_atom.Bond_show(self, *args)
1436 
1437 
1438  def get_is_setup(*args):
1439  """
1440  get_is_setup(_ParticleAdaptor p) -> bool
1441  get_is_setup(Model m, ParticleIndex pi) -> bool
1442  """
1443  return _IMP_atom.Bond_get_is_setup(*args)
1444 
1445  get_is_setup = staticmethod(get_is_setup)
1446  UNKNOWN = _IMP_atom.Bond_UNKNOWN
1447  NONBIOLOGICAL = _IMP_atom.Bond_NONBIOLOGICAL
1448  SINGLE = _IMP_atom.Bond_SINGLE
1449  DOUBLE = _IMP_atom.Bond_DOUBLE
1450  TRIPLE = _IMP_atom.Bond_TRIPLE
1451  HYDROGEN = _IMP_atom.Bond_HYDROGEN
1452  SALT = _IMP_atom.Bond_SALT
1453  PEPTIDE = _IMP_atom.Bond_PEPTIDE
1454  AMIDE = _IMP_atom.Bond_AMIDE
1455  AROMATIC = _IMP_atom.Bond_AROMATIC
1456 
1457  def get_bonded(self, i):
1458  """get_bonded(Bond self, unsigned int i) -> Bonded"""
1459  return _IMP_atom.Bond_get_bonded(self, i)
1460 
1461 
1462  def get_type(self):
1463  """get_type(Bond self) -> IMP::Int"""
1464  return _IMP_atom.Bond_get_type(self)
1465 
1466 
1467  def set_type(self, t):
1468  """set_type(Bond self, IMP::Int t)"""
1469  return _IMP_atom.Bond_set_type(self, t)
1470 
1471 
1472  def get_order(self):
1473  """get_order(Bond self) -> IMP::Int"""
1474  return _IMP_atom.Bond_get_order(self)
1475 
1476 
1477  def set_order(self, t):
1478  """set_order(Bond self, IMP::Int t)"""
1479  return _IMP_atom.Bond_set_order(self, t)
1480 
1481 
1482  def get_length(self):
1483  """get_length(Bond self) -> IMP::Float"""
1484  return _IMP_atom.Bond_get_length(self)
1485 
1486 
1487  def set_length(self, t):
1488  """set_length(Bond self, IMP::Float t)"""
1489  return _IMP_atom.Bond_set_length(self, t)
1490 
1491 
1492  def get_stiffness(self):
1493  """get_stiffness(Bond self) -> IMP::Float"""
1494  return _IMP_atom.Bond_get_stiffness(self)
1495 
1496 
1497  def set_stiffness(self, t):
1498  """set_stiffness(Bond self, IMP::Float t)"""
1499  return _IMP_atom.Bond_set_stiffness(self, t)
1500 
1501 
1502  def get_length_key():
1503  """get_length_key() -> FloatKey"""
1504  return _IMP_atom.Bond_get_length_key()
1505 
1506  get_length_key = staticmethod(get_length_key)
1507 
1508  def add_attribute(self, *args):
1509  """
1510  add_attribute(Bond self, FloatKey k, IMP::Float v, bool opt)
1511  add_attribute(Bond self, FloatKey a0, IMP::Float a1)
1512  add_attribute(Bond self, IntKey a0, IMP::Int a1)
1513  add_attribute(Bond self, FloatsKey a0, IMP::Floats a1)
1514  add_attribute(Bond self, IntsKey a0, IMP::Ints a1)
1515  add_attribute(Bond self, StringKey a0, IMP::String a1)
1516  add_attribute(Bond self, ParticleIndexKey a0, Particle a1)
1517  add_attribute(Bond self, ObjectKey a0, Object a1)
1518  """
1519  return _IMP_atom.Bond_add_attribute(self, *args)
1520 
1521 
1522  def get_value(self, *args):
1523  """
1524  get_value(Bond self, FloatKey a0) -> IMP::Float
1525  get_value(Bond self, IntKey a0) -> IMP::Int
1526  get_value(Bond self, FloatsKey a0) -> IMP::Floats
1527  get_value(Bond self, IntsKey a0) -> IMP::Ints
1528  get_value(Bond self, StringKey a0) -> IMP::String
1529  get_value(Bond self, ParticleIndexKey a0) -> Particle
1530  get_value(Bond self, ObjectKey a0) -> Object
1531  """
1532  return _IMP_atom.Bond_get_value(self, *args)
1533 
1534 
1535  def set_value(self, *args):
1536  """
1537  set_value(Bond self, FloatKey a0, IMP::Float a1)
1538  set_value(Bond self, IntKey a0, IMP::Int a1)
1539  set_value(Bond self, FloatsKey a0, IMP::Floats a1)
1540  set_value(Bond self, IntsKey a0, IMP::Ints a1)
1541  set_value(Bond self, StringKey a0, IMP::String a1)
1542  set_value(Bond self, ParticleIndexKey a0, Particle a1)
1543  set_value(Bond self, ObjectKey a0, Object a1)
1544  """
1545  return _IMP_atom.Bond_set_value(self, *args)
1546 
1547 
1548  def remove_attribute(self, *args):
1549  """
1550  remove_attribute(Bond self, FloatKey a0)
1551  remove_attribute(Bond self, IntKey a0)
1552  remove_attribute(Bond self, FloatsKey a0)
1553  remove_attribute(Bond self, IntsKey a0)
1554  remove_attribute(Bond self, StringKey a0)
1555  remove_attribute(Bond self, ParticleIndexKey a0)
1556  remove_attribute(Bond self, ObjectKey a0)
1557  """
1558  return _IMP_atom.Bond_remove_attribute(self, *args)
1559 
1560 
1561  def has_attribute(self, *args):
1562  """
1563  has_attribute(Bond self, FloatKey a0) -> bool
1564  has_attribute(Bond self, IntKey a0) -> bool
1565  has_attribute(Bond self, FloatsKey a0) -> bool
1566  has_attribute(Bond self, IntsKey a0) -> bool
1567  has_attribute(Bond self, StringKey a0) -> bool
1568  has_attribute(Bond self, ParticleIndexKey a0) -> bool
1569  has_attribute(Bond self, ObjectKey a0) -> bool
1570  """
1571  return _IMP_atom.Bond_has_attribute(self, *args)
1572 
1573 
1574  def get_derivative(self, a0):
1575  """get_derivative(Bond self, FloatKey a0) -> double"""
1576  return _IMP_atom.Bond_get_derivative(self, a0)
1577 
1578 
1579  def get_name(self):
1580  """get_name(Bond self) -> std::string"""
1581  return _IMP_atom.Bond_get_name(self)
1582 
1583 
1584  def clear_caches(self):
1585  """clear_caches(Bond self)"""
1586  return _IMP_atom.Bond_clear_caches(self)
1587 
1588 
1589  def set_name(self, a0):
1590  """set_name(Bond self, std::string a0)"""
1591  return _IMP_atom.Bond_set_name(self, a0)
1592 
1593 
1594  def set_check_level(self, a0):
1595  """set_check_level(Bond self, IMP::CheckLevel a0)"""
1596  return _IMP_atom.Bond_set_check_level(self, a0)
1597 
1598 
1599  def add_to_derivative(self, a0, a1, a2):
1600  """add_to_derivative(Bond self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1601  return _IMP_atom.Bond_add_to_derivative(self, a0, a1, a2)
1602 
1603 
1604  def set_is_optimized(self, a0, a1):
1605  """set_is_optimized(Bond self, FloatKey a0, bool a1)"""
1606  return _IMP_atom.Bond_set_is_optimized(self, a0, a1)
1607 
1608 
1609  def get_is_optimized(self, a0):
1610  """get_is_optimized(Bond self, FloatKey a0) -> bool"""
1611  return _IMP_atom.Bond_get_is_optimized(self, a0)
1612 
1613 
1614  def get_check_level(self):
1615  """get_check_level(Bond self) -> IMP::CheckLevel"""
1616  return _IMP_atom.Bond_get_check_level(self)
1617 
1618 
1619  def __eq__(self, *args):
1620  """
1621  __eq__(Bond self, Bond o) -> bool
1622  __eq__(Bond self, Particle d) -> bool
1623  """
1624  return _IMP_atom.Bond___eq__(self, *args)
1625 
1626 
1627  def __ne__(self, *args):
1628  """
1629  __ne__(Bond self, Bond o) -> bool
1630  __ne__(Bond self, Particle d) -> bool
1631  """
1632  return _IMP_atom.Bond___ne__(self, *args)
1633 
1634 
1635  def __le__(self, *args):
1636  """
1637  __le__(Bond self, Bond o) -> bool
1638  __le__(Bond self, Particle d) -> bool
1639  """
1640  return _IMP_atom.Bond___le__(self, *args)
1641 
1642 
1643  def __lt__(self, *args):
1644  """
1645  __lt__(Bond self, Bond o) -> bool
1646  __lt__(Bond self, Particle d) -> bool
1647  """
1648  return _IMP_atom.Bond___lt__(self, *args)
1649 
1650 
1651  def __ge__(self, *args):
1652  """
1653  __ge__(Bond self, Bond o) -> bool
1654  __ge__(Bond self, Particle d) -> bool
1655  """
1656  return _IMP_atom.Bond___ge__(self, *args)
1657 
1658 
1659  def __gt__(self, *args):
1660  """
1661  __gt__(Bond self, Bond o) -> bool
1662  __gt__(Bond self, Particle d) -> bool
1663  """
1664  return _IMP_atom.Bond___gt__(self, *args)
1665 
1666 
1667  def __hash__(self):
1668  """__hash__(Bond self) -> std::size_t"""
1669  return _IMP_atom.Bond___hash__(self)
1670 
1671 
1672  def __str__(self):
1673  """__str__(Bond self) -> std::string"""
1674  return _IMP_atom.Bond___str__(self)
1675 
1676 
1677  def __repr__(self):
1678  """__repr__(Bond self) -> std::string"""
1679  return _IMP_atom.Bond___repr__(self)
1680 
1681  __swig_destroy__ = _IMP_atom.delete_Bond
1682  __del__ = lambda self: None
1683 Bond_swigregister = _IMP_atom.Bond_swigregister
1684 Bond_swigregister(Bond)
1685 
1686 def Bond_get_is_setup(*args):
1687  """
1688  get_is_setup(_ParticleAdaptor p) -> bool
1689  Bond_get_is_setup(Model m, ParticleIndex pi) -> bool
1690  """
1691  return _IMP_atom.Bond_get_is_setup(*args)
1692 
1693 def Bond_get_length_key():
1694  """Bond_get_length_key() -> FloatKey"""
1695  return _IMP_atom.Bond_get_length_key()
1696 
1697 class Bonded(IMP.Decorator):
1698  """Proxy of C++ IMP::atom::Bonded class"""
1699  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1700 
1701  def __init__(self, *args):
1702  """
1703  __init__(IMP::atom::Bonded self) -> Bonded
1704  __init__(IMP::atom::Bonded self, Model m, ParticleIndex id) -> Bonded
1705  __init__(IMP::atom::Bonded self, _ParticleAdaptor d) -> Bonded
1706  """
1707  this = _IMP_atom.new_Bonded(*args)
1708  try:
1709  self.this.append(this)
1710  except:
1711  self.this = this
1712 
1713  def show(self, *args):
1714  """
1715  show(Bonded self, _ostream out)
1716  show(Bonded self)
1717  """
1718  return _IMP_atom.Bonded_show(self, *args)
1719 
1720 
1721  def setup_particle(*args):
1722  """
1723  setup_particle(Model m, ParticleIndex pi) -> Bonded
1724  setup_particle(_ParticleAdaptor decorator) -> Bonded
1725  """
1726  return _IMP_atom.Bonded_setup_particle(*args)
1727 
1728  setup_particle = staticmethod(setup_particle)
1729 
1730  def get_is_setup(*args):
1731  """
1732  get_is_setup(_ParticleAdaptor p) -> bool
1733  get_is_setup(Model m, ParticleIndex pi) -> bool
1734  """
1735  return _IMP_atom.Bonded_get_is_setup(*args)
1736 
1737  get_is_setup = staticmethod(get_is_setup)
1738 
1739  def get_number_of_bonds(self):
1740  """get_number_of_bonds(Bonded self) -> unsigned int"""
1741  return _IMP_atom.Bonded_get_number_of_bonds(self)
1742 
1743 
1744  def get_bond_indexes(self):
1745  """get_bond_indexes(Bonded self) -> IMP::ParticleIndexes"""
1746  return _IMP_atom.Bonded_get_bond_indexes(self)
1747 
1748 
1749  def get_bond(self, i):
1750  """get_bond(Bonded self, unsigned int i) -> Bond"""
1751  return _IMP_atom.Bonded_get_bond(self, i)
1752 
1753 
1754  def get_bonded(self, i):
1755  """get_bonded(Bonded self, unsigned int i) -> Bonded"""
1756  return _IMP_atom.Bonded_get_bonded(self, i)
1757 
1758 
1759  def add_attribute(self, *args):
1760  """
1761  add_attribute(Bonded self, FloatKey k, IMP::Float v, bool opt)
1762  add_attribute(Bonded self, FloatKey a0, IMP::Float a1)
1763  add_attribute(Bonded self, IntKey a0, IMP::Int a1)
1764  add_attribute(Bonded self, FloatsKey a0, IMP::Floats a1)
1765  add_attribute(Bonded self, IntsKey a0, IMP::Ints a1)
1766  add_attribute(Bonded self, StringKey a0, IMP::String a1)
1767  add_attribute(Bonded self, ParticleIndexKey a0, Particle a1)
1768  add_attribute(Bonded self, ObjectKey a0, Object a1)
1769  """
1770  return _IMP_atom.Bonded_add_attribute(self, *args)
1771 
1772 
1773  def get_value(self, *args):
1774  """
1775  get_value(Bonded self, FloatKey a0) -> IMP::Float
1776  get_value(Bonded self, IntKey a0) -> IMP::Int
1777  get_value(Bonded self, FloatsKey a0) -> IMP::Floats
1778  get_value(Bonded self, IntsKey a0) -> IMP::Ints
1779  get_value(Bonded self, StringKey a0) -> IMP::String
1780  get_value(Bonded self, ParticleIndexKey a0) -> Particle
1781  get_value(Bonded self, ObjectKey a0) -> Object
1782  """
1783  return _IMP_atom.Bonded_get_value(self, *args)
1784 
1785 
1786  def set_value(self, *args):
1787  """
1788  set_value(Bonded self, FloatKey a0, IMP::Float a1)
1789  set_value(Bonded self, IntKey a0, IMP::Int a1)
1790  set_value(Bonded self, FloatsKey a0, IMP::Floats a1)
1791  set_value(Bonded self, IntsKey a0, IMP::Ints a1)
1792  set_value(Bonded self, StringKey a0, IMP::String a1)
1793  set_value(Bonded self, ParticleIndexKey a0, Particle a1)
1794  set_value(Bonded self, ObjectKey a0, Object a1)
1795  """
1796  return _IMP_atom.Bonded_set_value(self, *args)
1797 
1798 
1799  def remove_attribute(self, *args):
1800  """
1801  remove_attribute(Bonded self, FloatKey a0)
1802  remove_attribute(Bonded self, IntKey a0)
1803  remove_attribute(Bonded self, FloatsKey a0)
1804  remove_attribute(Bonded self, IntsKey a0)
1805  remove_attribute(Bonded self, StringKey a0)
1806  remove_attribute(Bonded self, ParticleIndexKey a0)
1807  remove_attribute(Bonded self, ObjectKey a0)
1808  """
1809  return _IMP_atom.Bonded_remove_attribute(self, *args)
1810 
1811 
1812  def has_attribute(self, *args):
1813  """
1814  has_attribute(Bonded self, FloatKey a0) -> bool
1815  has_attribute(Bonded self, IntKey a0) -> bool
1816  has_attribute(Bonded self, FloatsKey a0) -> bool
1817  has_attribute(Bonded self, IntsKey a0) -> bool
1818  has_attribute(Bonded self, StringKey a0) -> bool
1819  has_attribute(Bonded self, ParticleIndexKey a0) -> bool
1820  has_attribute(Bonded self, ObjectKey a0) -> bool
1821  """
1822  return _IMP_atom.Bonded_has_attribute(self, *args)
1823 
1824 
1825  def get_derivative(self, a0):
1826  """get_derivative(Bonded self, FloatKey a0) -> double"""
1827  return _IMP_atom.Bonded_get_derivative(self, a0)
1828 
1829 
1830  def get_name(self):
1831  """get_name(Bonded self) -> std::string"""
1832  return _IMP_atom.Bonded_get_name(self)
1833 
1834 
1835  def clear_caches(self):
1836  """clear_caches(Bonded self)"""
1837  return _IMP_atom.Bonded_clear_caches(self)
1838 
1839 
1840  def set_name(self, a0):
1841  """set_name(Bonded self, std::string a0)"""
1842  return _IMP_atom.Bonded_set_name(self, a0)
1843 
1844 
1845  def set_check_level(self, a0):
1846  """set_check_level(Bonded self, IMP::CheckLevel a0)"""
1847  return _IMP_atom.Bonded_set_check_level(self, a0)
1848 
1849 
1850  def add_to_derivative(self, a0, a1, a2):
1851  """add_to_derivative(Bonded self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1852  return _IMP_atom.Bonded_add_to_derivative(self, a0, a1, a2)
1853 
1854 
1855  def set_is_optimized(self, a0, a1):
1856  """set_is_optimized(Bonded self, FloatKey a0, bool a1)"""
1857  return _IMP_atom.Bonded_set_is_optimized(self, a0, a1)
1858 
1859 
1860  def get_is_optimized(self, a0):
1861  """get_is_optimized(Bonded self, FloatKey a0) -> bool"""
1862  return _IMP_atom.Bonded_get_is_optimized(self, a0)
1863 
1864 
1865  def get_check_level(self):
1866  """get_check_level(Bonded self) -> IMP::CheckLevel"""
1867  return _IMP_atom.Bonded_get_check_level(self)
1868 
1869 
1870  def __eq__(self, *args):
1871  """
1872  __eq__(Bonded self, Bonded o) -> bool
1873  __eq__(Bonded self, Particle d) -> bool
1874  """
1875  return _IMP_atom.Bonded___eq__(self, *args)
1876 
1877 
1878  def __ne__(self, *args):
1879  """
1880  __ne__(Bonded self, Bonded o) -> bool
1881  __ne__(Bonded self, Particle d) -> bool
1882  """
1883  return _IMP_atom.Bonded___ne__(self, *args)
1884 
1885 
1886  def __le__(self, *args):
1887  """
1888  __le__(Bonded self, Bonded o) -> bool
1889  __le__(Bonded self, Particle d) -> bool
1890  """
1891  return _IMP_atom.Bonded___le__(self, *args)
1892 
1893 
1894  def __lt__(self, *args):
1895  """
1896  __lt__(Bonded self, Bonded o) -> bool
1897  __lt__(Bonded self, Particle d) -> bool
1898  """
1899  return _IMP_atom.Bonded___lt__(self, *args)
1900 
1901 
1902  def __ge__(self, *args):
1903  """
1904  __ge__(Bonded self, Bonded o) -> bool
1905  __ge__(Bonded self, Particle d) -> bool
1906  """
1907  return _IMP_atom.Bonded___ge__(self, *args)
1908 
1909 
1910  def __gt__(self, *args):
1911  """
1912  __gt__(Bonded self, Bonded o) -> bool
1913  __gt__(Bonded self, Particle d) -> bool
1914  """
1915  return _IMP_atom.Bonded___gt__(self, *args)
1916 
1917 
1918  def __hash__(self):
1919  """__hash__(Bonded self) -> std::size_t"""
1920  return _IMP_atom.Bonded___hash__(self)
1921 
1922 
1923  def __str__(self):
1924  """__str__(Bonded self) -> std::string"""
1925  return _IMP_atom.Bonded___str__(self)
1926 
1927 
1928  def __repr__(self):
1929  """__repr__(Bonded self) -> std::string"""
1930  return _IMP_atom.Bonded___repr__(self)
1931 
1932  __swig_destroy__ = _IMP_atom.delete_Bonded
1933  __del__ = lambda self: None
1934 Bonded_swigregister = _IMP_atom.Bonded_swigregister
1935 Bonded_swigregister(Bonded)
1936 
1937 def Bonded_setup_particle(*args):
1938  """
1939  setup_particle(Model m, ParticleIndex pi) -> Bonded
1940  Bonded_setup_particle(_ParticleAdaptor decorator) -> Bonded
1941  """
1942  return _IMP_atom.Bonded_setup_particle(*args)
1943 
1944 def Bonded_get_is_setup(*args):
1945  """
1946  get_is_setup(_ParticleAdaptor p) -> bool
1947  Bonded_get_is_setup(Model m, ParticleIndex pi) -> bool
1948  """
1949  return _IMP_atom.Bonded_get_is_setup(*args)
1950 
1951 
1952 def create_custom_bond(a, b, length, stiffness=-1):
1953  """
1954  create_custom_bond(Bonded a, Bonded b, IMP::Float length, IMP::Float stiffness=-1) -> Bond
1955  create_custom_bond(Bonded a, Bonded b, IMP::Float length) -> Bond
1956  """
1957  return _IMP_atom.create_custom_bond(a, b, length, stiffness)
1958 
1959 def create_bond(*args):
1960  """
1961  create_bond(Bonded a, Bonded b, IMP::Int t) -> Bond
1962  create_bond(Bonded a, Bonded b, Bond o) -> Bond
1963  """
1964  return _IMP_atom.create_bond(*args)
1965 
1966 def destroy_bond(b):
1967  """destroy_bond(Bond b)"""
1968  return _IMP_atom.destroy_bond(b)
1969 
1970 def get_bond(a, b):
1971  """get_bond(Bonded a, Bonded b) -> Bond"""
1972  return _IMP_atom.get_bond(a, b)
1973 class BondGeometry(IMP.display.SingletonGeometry):
1974  """Proxy of C++ IMP::atom::BondGeometry class"""
1975  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
1976 
1977  def __init__(self, *args):
1978  """
1979  __init__(IMP::atom::BondGeometry self, Particle p) -> BondGeometry
1980  __init__(IMP::atom::BondGeometry self, Bond d) -> BondGeometry
1981  """
1982  this = _IMP_atom.new_BondGeometry(*args)
1983  try:
1984  self.this.append(this)
1985  except:
1986  self.this = this
1987 
1988  def get_version_info(self):
1989  """get_version_info(BondGeometry self) -> VersionInfo"""
1990  return _IMP_atom.BondGeometry_get_version_info(self)
1991 
1992 
1993  def __str__(self):
1994  """__str__(BondGeometry self) -> std::string"""
1995  return _IMP_atom.BondGeometry___str__(self)
1996 
1997 
1998  def __repr__(self):
1999  """__repr__(BondGeometry self) -> std::string"""
2000  return _IMP_atom.BondGeometry___repr__(self)
2001 
2002 
2003  @staticmethod
2004  def get_from(o):
2005  return _object_cast_to_BondGeometry(o)
2006 
2007 BondGeometry_swigregister = _IMP_atom.BondGeometry_swigregister
2008 BondGeometry_swigregister(BondGeometry)
2009 
2010 class BondsGeometry(IMP.display.SingletonsGeometry):
2011  """Proxy of C++ IMP::atom::BondsGeometry class"""
2012  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2013 
2014  def __init__(self, sc):
2015  """__init__(IMP::atom::BondsGeometry self, SingletonContainer sc) -> BondsGeometry"""
2016  this = _IMP_atom.new_BondsGeometry(sc)
2017  try:
2018  self.this.append(this)
2019  except:
2020  self.this = this
2021 
2022  def get_version_info(self):
2023  """get_version_info(BondsGeometry self) -> VersionInfo"""
2024  return _IMP_atom.BondsGeometry_get_version_info(self)
2025 
2026 
2027  def __str__(self):
2028  """__str__(BondsGeometry self) -> std::string"""
2029  return _IMP_atom.BondsGeometry___str__(self)
2030 
2031 
2032  def __repr__(self):
2033  """__repr__(BondsGeometry self) -> std::string"""
2034  return _IMP_atom.BondsGeometry___repr__(self)
2035 
2036 
2037  @staticmethod
2038  def get_from(o):
2039  return _object_cast_to_BondsGeometry(o)
2040 
2041 BondsGeometry_swigregister = _IMP_atom.BondsGeometry_swigregister
2042 BondsGeometry_swigregister(BondsGeometry)
2043 
2044 class Hierarchy(IMP.core.Hierarchy):
2045  """Proxy of C++ IMP::atom::Hierarchy class"""
2046  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2047 
2048  def __init__(self, *args):
2049  """
2050  __init__(IMP::atom::Hierarchy self, Model m, ParticleIndex pi) -> Hierarchy
2051  __init__(IMP::atom::Hierarchy self, _ParticleAdaptor pi) -> Hierarchy
2052  __init__(IMP::atom::Hierarchy self) -> Hierarchy
2053  __init__(IMP::atom::Hierarchy self, Hierarchy h) -> Hierarchy
2054  """
2055  this = _IMP_atom.new_Hierarchy(*args)
2056  try:
2057  self.this.append(this)
2058  except:
2059  self.this = this
2060 
2061  def setup_particle(*args):
2062  """
2063  setup_particle(Particle p, _ParticleIndexesAdaptor children) -> Hierarchy
2064  setup_particle(Particle p) -> Hierarchy
2065  setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor children) -> Hierarchy
2066  setup_particle(Model m, ParticleIndex pi) -> Hierarchy
2067  """
2068  return _IMP_atom.Hierarchy_setup_particle(*args)
2069 
2070  setup_particle = staticmethod(setup_particle)
2071 
2072  def get_is_setup(*args):
2073  """
2074  get_is_setup(Particle p) -> bool
2075  get_is_setup(Model m, ParticleIndex p) -> bool
2076  """
2077  return _IMP_atom.Hierarchy_get_is_setup(*args)
2078 
2079  get_is_setup = staticmethod(get_is_setup)
2080 
2081  def get_is_valid(self, print_info=False):
2082  """
2083  get_is_valid(Hierarchy self, bool print_info=False) -> bool
2084  get_is_valid(Hierarchy self) -> bool
2085  """
2086  return _IMP_atom.Hierarchy_get_is_valid(self, print_info)
2087 
2088 
2089  def add_child(self, o):
2090  """add_child(Hierarchy self, Hierarchy o)"""
2091  return _IMP_atom.Hierarchy_add_child(self, o)
2092 
2093 
2094  def get_child(self, i):
2095  """get_child(Hierarchy self, unsigned int i) -> Hierarchy"""
2096  return _IMP_atom.Hierarchy_get_child(self, i)
2097 
2098 
2099  def get_children(self):
2100  """get_children(Hierarchy self) -> IMP::atom::Hierarchies"""
2101  return _IMP_atom.Hierarchy_get_children(self)
2102 
2103 
2104  def get_parent(self):
2105  """get_parent(Hierarchy self) -> Hierarchy"""
2106  return _IMP_atom.Hierarchy_get_parent(self)
2107 
2108 
2109  def get_traits():
2110  """get_traits() -> HierarchyTraits"""
2111  return _IMP_atom.Hierarchy_get_traits()
2112 
2113  get_traits = staticmethod(get_traits)
2114 
2115  def show(self, *args):
2116  """
2117  show(Hierarchy self, _ostream out, std::string delimiter)
2118  show(Hierarchy self, _ostream out)
2119  show(Hierarchy self)
2120  """
2121  return _IMP_atom.Hierarchy_show(self, *args)
2122 
2123 
2124  def add_attribute(self, *args):
2125  """
2126  add_attribute(Hierarchy self, FloatKey k, IMP::Float v, bool opt)
2127  add_attribute(Hierarchy self, FloatKey a0, IMP::Float a1)
2128  add_attribute(Hierarchy self, IntKey a0, IMP::Int a1)
2129  add_attribute(Hierarchy self, FloatsKey a0, IMP::Floats a1)
2130  add_attribute(Hierarchy self, IntsKey a0, IMP::Ints a1)
2131  add_attribute(Hierarchy self, StringKey a0, IMP::String a1)
2132  add_attribute(Hierarchy self, ParticleIndexKey a0, Particle a1)
2133  add_attribute(Hierarchy self, ObjectKey a0, Object a1)
2134  """
2135  return _IMP_atom.Hierarchy_add_attribute(self, *args)
2136 
2137 
2138  def get_value(self, *args):
2139  """
2140  get_value(Hierarchy self, FloatKey a0) -> IMP::Float
2141  get_value(Hierarchy self, IntKey a0) -> IMP::Int
2142  get_value(Hierarchy self, FloatsKey a0) -> IMP::Floats
2143  get_value(Hierarchy self, IntsKey a0) -> IMP::Ints
2144  get_value(Hierarchy self, StringKey a0) -> IMP::String
2145  get_value(Hierarchy self, ParticleIndexKey a0) -> Particle
2146  get_value(Hierarchy self, ObjectKey a0) -> Object
2147  """
2148  return _IMP_atom.Hierarchy_get_value(self, *args)
2149 
2150 
2151  def set_value(self, *args):
2152  """
2153  set_value(Hierarchy self, FloatKey a0, IMP::Float a1)
2154  set_value(Hierarchy self, IntKey a0, IMP::Int a1)
2155  set_value(Hierarchy self, FloatsKey a0, IMP::Floats a1)
2156  set_value(Hierarchy self, IntsKey a0, IMP::Ints a1)
2157  set_value(Hierarchy self, StringKey a0, IMP::String a1)
2158  set_value(Hierarchy self, ParticleIndexKey a0, Particle a1)
2159  set_value(Hierarchy self, ObjectKey a0, Object a1)
2160  """
2161  return _IMP_atom.Hierarchy_set_value(self, *args)
2162 
2163 
2164  def remove_attribute(self, *args):
2165  """
2166  remove_attribute(Hierarchy self, FloatKey a0)
2167  remove_attribute(Hierarchy self, IntKey a0)
2168  remove_attribute(Hierarchy self, FloatsKey a0)
2169  remove_attribute(Hierarchy self, IntsKey a0)
2170  remove_attribute(Hierarchy self, StringKey a0)
2171  remove_attribute(Hierarchy self, ParticleIndexKey a0)
2172  remove_attribute(Hierarchy self, ObjectKey a0)
2173  """
2174  return _IMP_atom.Hierarchy_remove_attribute(self, *args)
2175 
2176 
2177  def has_attribute(self, *args):
2178  """
2179  has_attribute(Hierarchy self, FloatKey a0) -> bool
2180  has_attribute(Hierarchy self, IntKey a0) -> bool
2181  has_attribute(Hierarchy self, FloatsKey a0) -> bool
2182  has_attribute(Hierarchy self, IntsKey a0) -> bool
2183  has_attribute(Hierarchy self, StringKey a0) -> bool
2184  has_attribute(Hierarchy self, ParticleIndexKey a0) -> bool
2185  has_attribute(Hierarchy self, ObjectKey a0) -> bool
2186  """
2187  return _IMP_atom.Hierarchy_has_attribute(self, *args)
2188 
2189 
2190  def get_derivative(self, a0):
2191  """get_derivative(Hierarchy self, FloatKey a0) -> double"""
2192  return _IMP_atom.Hierarchy_get_derivative(self, a0)
2193 
2194 
2195  def get_name(self):
2196  """get_name(Hierarchy self) -> std::string"""
2197  return _IMP_atom.Hierarchy_get_name(self)
2198 
2199 
2200  def clear_caches(self):
2201  """clear_caches(Hierarchy self)"""
2202  return _IMP_atom.Hierarchy_clear_caches(self)
2203 
2204 
2205  def set_name(self, a0):
2206  """set_name(Hierarchy self, std::string a0)"""
2207  return _IMP_atom.Hierarchy_set_name(self, a0)
2208 
2209 
2210  def set_check_level(self, a0):
2211  """set_check_level(Hierarchy self, IMP::CheckLevel a0)"""
2212  return _IMP_atom.Hierarchy_set_check_level(self, a0)
2213 
2214 
2215  def add_to_derivative(self, a0, a1, a2):
2216  """add_to_derivative(Hierarchy self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2217  return _IMP_atom.Hierarchy_add_to_derivative(self, a0, a1, a2)
2218 
2219 
2220  def set_is_optimized(self, a0, a1):
2221  """set_is_optimized(Hierarchy self, FloatKey a0, bool a1)"""
2222  return _IMP_atom.Hierarchy_set_is_optimized(self, a0, a1)
2223 
2224 
2225  def get_is_optimized(self, a0):
2226  """get_is_optimized(Hierarchy self, FloatKey a0) -> bool"""
2227  return _IMP_atom.Hierarchy_get_is_optimized(self, a0)
2228 
2229 
2230  def get_check_level(self):
2231  """get_check_level(Hierarchy self) -> IMP::CheckLevel"""
2232  return _IMP_atom.Hierarchy_get_check_level(self)
2233 
2234 
2235  def __eq__(self, *args):
2236  """
2237  __eq__(Hierarchy self, Hierarchy o) -> bool
2238  __eq__(Hierarchy self, Particle d) -> bool
2239  """
2240  return _IMP_atom.Hierarchy___eq__(self, *args)
2241 
2242 
2243  def __ne__(self, *args):
2244  """
2245  __ne__(Hierarchy self, Hierarchy o) -> bool
2246  __ne__(Hierarchy self, Particle d) -> bool
2247  """
2248  return _IMP_atom.Hierarchy___ne__(self, *args)
2249 
2250 
2251  def __le__(self, *args):
2252  """
2253  __le__(Hierarchy self, Hierarchy o) -> bool
2254  __le__(Hierarchy self, Particle d) -> bool
2255  """
2256  return _IMP_atom.Hierarchy___le__(self, *args)
2257 
2258 
2259  def __lt__(self, *args):
2260  """
2261  __lt__(Hierarchy self, Hierarchy o) -> bool
2262  __lt__(Hierarchy self, Particle d) -> bool
2263  """
2264  return _IMP_atom.Hierarchy___lt__(self, *args)
2265 
2266 
2267  def __ge__(self, *args):
2268  """
2269  __ge__(Hierarchy self, Hierarchy o) -> bool
2270  __ge__(Hierarchy self, Particle d) -> bool
2271  """
2272  return _IMP_atom.Hierarchy___ge__(self, *args)
2273 
2274 
2275  def __gt__(self, *args):
2276  """
2277  __gt__(Hierarchy self, Hierarchy o) -> bool
2278  __gt__(Hierarchy self, Particle d) -> bool
2279  """
2280  return _IMP_atom.Hierarchy___gt__(self, *args)
2281 
2282 
2283  def __hash__(self):
2284  """__hash__(Hierarchy self) -> std::size_t"""
2285  return _IMP_atom.Hierarchy___hash__(self)
2286 
2287 
2288  def __str__(self):
2289  """__str__(Hierarchy self) -> std::string"""
2290  return _IMP_atom.Hierarchy___str__(self)
2291 
2292 
2293  def __repr__(self):
2294  """__repr__(Hierarchy self) -> std::string"""
2295  return _IMP_atom.Hierarchy___repr__(self)
2296 
2297  __swig_destroy__ = _IMP_atom.delete_Hierarchy
2298  __del__ = lambda self: None
2299 Hierarchy_swigregister = _IMP_atom.Hierarchy_swigregister
2300 Hierarchy_swigregister(Hierarchy)
2301 
2302 def Hierarchy_setup_particle(*args):
2303  """
2304  setup_particle(Particle p, _ParticleIndexesAdaptor children) -> Hierarchy
2305  setup_particle(Particle p) -> Hierarchy
2306  setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor children) -> Hierarchy
2307  Hierarchy_setup_particle(Model m, ParticleIndex pi) -> Hierarchy
2308  """
2309  return _IMP_atom.Hierarchy_setup_particle(*args)
2310 
2311 def Hierarchy_get_is_setup(*args):
2312  """
2313  get_is_setup(Particle p) -> bool
2314  Hierarchy_get_is_setup(Model m, ParticleIndex p) -> bool
2315  """
2316  return _IMP_atom.Hierarchy_get_is_setup(*args)
2317 
2318 def Hierarchy_get_traits():
2319  """Hierarchy_get_traits() -> HierarchyTraits"""
2320  return _IMP_atom.Hierarchy_get_traits()
2321 
2322 
2323 _IMP_atom.ATOM_TYPE_swigconstant(_IMP_atom)
2324 ATOM_TYPE = _IMP_atom.ATOM_TYPE
2325 
2326 _IMP_atom.RESIDUE_TYPE_swigconstant(_IMP_atom)
2327 RESIDUE_TYPE = _IMP_atom.RESIDUE_TYPE
2328 
2329 _IMP_atom.CHAIN_TYPE_swigconstant(_IMP_atom)
2330 CHAIN_TYPE = _IMP_atom.CHAIN_TYPE
2331 
2332 _IMP_atom.MOLECULE_TYPE_swigconstant(_IMP_atom)
2333 MOLECULE_TYPE = _IMP_atom.MOLECULE_TYPE
2334 
2335 _IMP_atom.DOMAIN_TYPE_swigconstant(_IMP_atom)
2336 DOMAIN_TYPE = _IMP_atom.DOMAIN_TYPE
2337 
2338 _IMP_atom.FRAGMENT_TYPE_swigconstant(_IMP_atom)
2339 FRAGMENT_TYPE = _IMP_atom.FRAGMENT_TYPE
2340 
2341 _IMP_atom.XYZ_TYPE_swigconstant(_IMP_atom)
2342 XYZ_TYPE = _IMP_atom.XYZ_TYPE
2343 
2344 _IMP_atom.XYZR_TYPE_swigconstant(_IMP_atom)
2345 XYZR_TYPE = _IMP_atom.XYZR_TYPE
2346 
2347 _IMP_atom.MASS_TYPE_swigconstant(_IMP_atom)
2348 MASS_TYPE = _IMP_atom.MASS_TYPE
2349 
2350 _IMP_atom.STATE_TYPE_swigconstant(_IMP_atom)
2351 STATE_TYPE = _IMP_atom.STATE_TYPE
2352 
2353 def get_by_type(mhd, t):
2354  """get_by_type(Hierarchy mhd, IMP::atom::GetByType t) -> IMP::atom::Hierarchies"""
2355  return _IMP_atom.get_by_type(mhd, t)
2356 
2357 def create_fragment(ps):
2358  """create_fragment(IMP::atom::Hierarchies const & ps) -> Hierarchy"""
2359  return _IMP_atom.create_fragment(ps)
2360 
2361 def get_internal_bonds(mhd):
2362  """get_internal_bonds(Hierarchy mhd) -> IMP::atom::Bonds"""
2363  return _IMP_atom.get_internal_bonds(mhd)
2364 
2365 def get_root(h):
2366  """get_root(Hierarchy h) -> Hierarchy"""
2367  return _IMP_atom.get_root(h)
2368 
2369 def show(*args):
2370  """
2371  show(Hierarchy h, _ostream out)
2372  show(Hierarchy h)
2373  """
2374  return _IMP_atom.show(*args)
2375 
2376 def create_rigid_body(*args):
2377  """
2378  create_rigid_body(IMP::atom::Hierarchies const & h, std::string name) -> RigidBody
2379  create_rigid_body(IMP::atom::Hierarchies const & h) -> RigidBody
2380  create_rigid_body(Hierarchy h) -> RigidBody
2381  """
2382  return _IMP_atom.create_rigid_body(*args)
2383 
2384 def create_compatible_rigid_body(h, reference):
2385  """create_compatible_rigid_body(Hierarchy h, Hierarchy reference) -> RigidBody"""
2386  return _IMP_atom.create_compatible_rigid_body(h, reference)
2387 
2388 def get_is_heterogen(h):
2389  """get_is_heterogen(Hierarchy h) -> bool"""
2390  return _IMP_atom.get_is_heterogen(h)
2391 
2392 def create_clone(d):
2393  """create_clone(Hierarchy d) -> Hierarchy"""
2394  return _IMP_atom.create_clone(d)
2395 
2396 def create_clone_one(d):
2397  """create_clone_one(Hierarchy d) -> Hierarchy"""
2398  return _IMP_atom.create_clone_one(d)
2399 
2400 def destroy(d):
2401  """destroy(Hierarchy d)"""
2402  return _IMP_atom.destroy(d)
2403 
2404 def get_bounding_box(h):
2405  """get_bounding_box(Hierarchy h) -> BoundingBox3D"""
2406  return _IMP_atom.get_bounding_box(h)
2407 
2408 def get_bounding_sphere(h):
2409  """get_bounding_sphere(Hierarchy h) -> Sphere3D"""
2410  return _IMP_atom.get_bounding_sphere(h)
2411 class Angle(IMP.Decorator):
2412  """Proxy of C++ IMP::atom::Angle class"""
2413  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2414 
2415  def __init__(self, *args):
2416  """
2417  __init__(IMP::atom::Angle self) -> Angle
2418  __init__(IMP::atom::Angle self, Model m, ParticleIndex id) -> Angle
2419  __init__(IMP::atom::Angle self, _ParticleAdaptor d) -> Angle
2420  """
2421  this = _IMP_atom.new_Angle(*args)
2422  try:
2423  self.this.append(this)
2424  except:
2425  self.this = this
2426 
2427  def show(self, *args):
2428  """
2429  show(Angle self, _ostream out)
2430  show(Angle self)
2431  """
2432  return _IMP_atom.Angle_show(self, *args)
2433 
2434 
2435  def setup_particle(*args):
2436  """
2437  setup_particle(Model m, ParticleIndex pi, XYZ a, XYZ b, XYZ c) -> Angle
2438  setup_particle(_ParticleAdaptor decorator, XYZ a, XYZ b, XYZ c) -> Angle
2439  """
2440  return _IMP_atom.Angle_setup_particle(*args)
2441 
2442  setup_particle = staticmethod(setup_particle)
2443 
2444  def get_is_setup(*args):
2445  """
2446  get_is_setup(_ParticleAdaptor p) -> bool
2447  get_is_setup(Model m, ParticleIndex pi) -> bool
2448  """
2449  return _IMP_atom.Angle_get_is_setup(*args)
2450 
2451  get_is_setup = staticmethod(get_is_setup)
2452 
2453  def get_particle(self, *args):
2454  """
2455  get_particle(Angle self) -> Particle
2456  get_particle(Angle self, unsigned int i) -> Particle
2457  """
2458  return _IMP_atom.Angle_get_particle(self, *args)
2459 
2460 
2461  def get_ideal(self):
2462  """get_ideal(Angle self) -> IMP::Float"""
2463  return _IMP_atom.Angle_get_ideal(self)
2464 
2465 
2466  def set_ideal(self, t):
2467  """set_ideal(Angle self, IMP::Float t)"""
2468  return _IMP_atom.Angle_set_ideal(self, t)
2469 
2470 
2471  def get_stiffness(self):
2472  """get_stiffness(Angle self) -> IMP::Float"""
2473  return _IMP_atom.Angle_get_stiffness(self)
2474 
2475 
2476  def set_stiffness(self, t):
2477  """set_stiffness(Angle self, IMP::Float t)"""
2478  return _IMP_atom.Angle_set_stiffness(self, t)
2479 
2480 
2481  def get_particle_key(i):
2482  """get_particle_key(unsigned int i) -> ParticleIndexKey"""
2483  return _IMP_atom.Angle_get_particle_key(i)
2484 
2485  get_particle_key = staticmethod(get_particle_key)
2486 
2487  def get_ideal_key():
2488  """get_ideal_key() -> FloatKey"""
2489  return _IMP_atom.Angle_get_ideal_key()
2490 
2491  get_ideal_key = staticmethod(get_ideal_key)
2492 
2493  def get_stiffness_key():
2494  """get_stiffness_key() -> FloatKey"""
2495  return _IMP_atom.Angle_get_stiffness_key()
2496 
2497  get_stiffness_key = staticmethod(get_stiffness_key)
2498 
2499  def add_attribute(self, *args):
2500  """
2501  add_attribute(Angle self, FloatKey k, IMP::Float v, bool opt)
2502  add_attribute(Angle self, FloatKey a0, IMP::Float a1)
2503  add_attribute(Angle self, IntKey a0, IMP::Int a1)
2504  add_attribute(Angle self, FloatsKey a0, IMP::Floats a1)
2505  add_attribute(Angle self, IntsKey a0, IMP::Ints a1)
2506  add_attribute(Angle self, StringKey a0, IMP::String a1)
2507  add_attribute(Angle self, ParticleIndexKey a0, Particle a1)
2508  add_attribute(Angle self, ObjectKey a0, Object a1)
2509  """
2510  return _IMP_atom.Angle_add_attribute(self, *args)
2511 
2512 
2513  def get_value(self, *args):
2514  """
2515  get_value(Angle self, FloatKey a0) -> IMP::Float
2516  get_value(Angle self, IntKey a0) -> IMP::Int
2517  get_value(Angle self, FloatsKey a0) -> IMP::Floats
2518  get_value(Angle self, IntsKey a0) -> IMP::Ints
2519  get_value(Angle self, StringKey a0) -> IMP::String
2520  get_value(Angle self, ParticleIndexKey a0) -> Particle
2521  get_value(Angle self, ObjectKey a0) -> Object
2522  """
2523  return _IMP_atom.Angle_get_value(self, *args)
2524 
2525 
2526  def set_value(self, *args):
2527  """
2528  set_value(Angle self, FloatKey a0, IMP::Float a1)
2529  set_value(Angle self, IntKey a0, IMP::Int a1)
2530  set_value(Angle self, FloatsKey a0, IMP::Floats a1)
2531  set_value(Angle self, IntsKey a0, IMP::Ints a1)
2532  set_value(Angle self, StringKey a0, IMP::String a1)
2533  set_value(Angle self, ParticleIndexKey a0, Particle a1)
2534  set_value(Angle self, ObjectKey a0, Object a1)
2535  """
2536  return _IMP_atom.Angle_set_value(self, *args)
2537 
2538 
2539  def remove_attribute(self, *args):
2540  """
2541  remove_attribute(Angle self, FloatKey a0)
2542  remove_attribute(Angle self, IntKey a0)
2543  remove_attribute(Angle self, FloatsKey a0)
2544  remove_attribute(Angle self, IntsKey a0)
2545  remove_attribute(Angle self, StringKey a0)
2546  remove_attribute(Angle self, ParticleIndexKey a0)
2547  remove_attribute(Angle self, ObjectKey a0)
2548  """
2549  return _IMP_atom.Angle_remove_attribute(self, *args)
2550 
2551 
2552  def has_attribute(self, *args):
2553  """
2554  has_attribute(Angle self, FloatKey a0) -> bool
2555  has_attribute(Angle self, IntKey a0) -> bool
2556  has_attribute(Angle self, FloatsKey a0) -> bool
2557  has_attribute(Angle self, IntsKey a0) -> bool
2558  has_attribute(Angle self, StringKey a0) -> bool
2559  has_attribute(Angle self, ParticleIndexKey a0) -> bool
2560  has_attribute(Angle self, ObjectKey a0) -> bool
2561  """
2562  return _IMP_atom.Angle_has_attribute(self, *args)
2563 
2564 
2565  def get_derivative(self, a0):
2566  """get_derivative(Angle self, FloatKey a0) -> double"""
2567  return _IMP_atom.Angle_get_derivative(self, a0)
2568 
2569 
2570  def get_name(self):
2571  """get_name(Angle self) -> std::string"""
2572  return _IMP_atom.Angle_get_name(self)
2573 
2574 
2575  def clear_caches(self):
2576  """clear_caches(Angle self)"""
2577  return _IMP_atom.Angle_clear_caches(self)
2578 
2579 
2580  def set_name(self, a0):
2581  """set_name(Angle self, std::string a0)"""
2582  return _IMP_atom.Angle_set_name(self, a0)
2583 
2584 
2585  def set_check_level(self, a0):
2586  """set_check_level(Angle self, IMP::CheckLevel a0)"""
2587  return _IMP_atom.Angle_set_check_level(self, a0)
2588 
2589 
2590  def add_to_derivative(self, a0, a1, a2):
2591  """add_to_derivative(Angle self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2592  return _IMP_atom.Angle_add_to_derivative(self, a0, a1, a2)
2593 
2594 
2595  def set_is_optimized(self, a0, a1):
2596  """set_is_optimized(Angle self, FloatKey a0, bool a1)"""
2597  return _IMP_atom.Angle_set_is_optimized(self, a0, a1)
2598 
2599 
2600  def get_is_optimized(self, a0):
2601  """get_is_optimized(Angle self, FloatKey a0) -> bool"""
2602  return _IMP_atom.Angle_get_is_optimized(self, a0)
2603 
2604 
2605  def get_check_level(self):
2606  """get_check_level(Angle self) -> IMP::CheckLevel"""
2607  return _IMP_atom.Angle_get_check_level(self)
2608 
2609 
2610  def __eq__(self, *args):
2611  """
2612  __eq__(Angle self, Angle o) -> bool
2613  __eq__(Angle self, Particle d) -> bool
2614  """
2615  return _IMP_atom.Angle___eq__(self, *args)
2616 
2617 
2618  def __ne__(self, *args):
2619  """
2620  __ne__(Angle self, Angle o) -> bool
2621  __ne__(Angle self, Particle d) -> bool
2622  """
2623  return _IMP_atom.Angle___ne__(self, *args)
2624 
2625 
2626  def __le__(self, *args):
2627  """
2628  __le__(Angle self, Angle o) -> bool
2629  __le__(Angle self, Particle d) -> bool
2630  """
2631  return _IMP_atom.Angle___le__(self, *args)
2632 
2633 
2634  def __lt__(self, *args):
2635  """
2636  __lt__(Angle self, Angle o) -> bool
2637  __lt__(Angle self, Particle d) -> bool
2638  """
2639  return _IMP_atom.Angle___lt__(self, *args)
2640 
2641 
2642  def __ge__(self, *args):
2643  """
2644  __ge__(Angle self, Angle o) -> bool
2645  __ge__(Angle self, Particle d) -> bool
2646  """
2647  return _IMP_atom.Angle___ge__(self, *args)
2648 
2649 
2650  def __gt__(self, *args):
2651  """
2652  __gt__(Angle self, Angle o) -> bool
2653  __gt__(Angle self, Particle d) -> bool
2654  """
2655  return _IMP_atom.Angle___gt__(self, *args)
2656 
2657 
2658  def __hash__(self):
2659  """__hash__(Angle self) -> std::size_t"""
2660  return _IMP_atom.Angle___hash__(self)
2661 
2662 
2663  def __str__(self):
2664  """__str__(Angle self) -> std::string"""
2665  return _IMP_atom.Angle___str__(self)
2666 
2667 
2668  def __repr__(self):
2669  """__repr__(Angle self) -> std::string"""
2670  return _IMP_atom.Angle___repr__(self)
2671 
2672  __swig_destroy__ = _IMP_atom.delete_Angle
2673  __del__ = lambda self: None
2674 Angle_swigregister = _IMP_atom.Angle_swigregister
2675 Angle_swigregister(Angle)
2676 
2677 def Angle_setup_particle(*args):
2678  """
2679  setup_particle(Model m, ParticleIndex pi, XYZ a, XYZ b, XYZ c) -> Angle
2680  Angle_setup_particle(_ParticleAdaptor decorator, XYZ a, XYZ b, XYZ c) -> Angle
2681  """
2682  return _IMP_atom.Angle_setup_particle(*args)
2683 
2684 def Angle_get_is_setup(*args):
2685  """
2686  get_is_setup(_ParticleAdaptor p) -> bool
2687  Angle_get_is_setup(Model m, ParticleIndex pi) -> bool
2688  """
2689  return _IMP_atom.Angle_get_is_setup(*args)
2690 
2691 def Angle_get_particle_key(i):
2692  """Angle_get_particle_key(unsigned int i) -> ParticleIndexKey"""
2693  return _IMP_atom.Angle_get_particle_key(i)
2694 
2695 def Angle_get_ideal_key():
2696  """Angle_get_ideal_key() -> FloatKey"""
2697  return _IMP_atom.Angle_get_ideal_key()
2698 
2699 def Angle_get_stiffness_key():
2700  """Angle_get_stiffness_key() -> FloatKey"""
2701  return _IMP_atom.Angle_get_stiffness_key()
2702 
2703 class Dihedral(IMP.Decorator):
2704  """Proxy of C++ IMP::atom::Dihedral class"""
2705  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
2706 
2707  def __init__(self, *args):
2708  """
2709  __init__(IMP::atom::Dihedral self) -> Dihedral
2710  __init__(IMP::atom::Dihedral self, Model m, ParticleIndex id) -> Dihedral
2711  __init__(IMP::atom::Dihedral self, _ParticleAdaptor d) -> Dihedral
2712  """
2713  this = _IMP_atom.new_Dihedral(*args)
2714  try:
2715  self.this.append(this)
2716  except:
2717  self.this = this
2718 
2719  def show(self, *args):
2720  """
2721  show(Dihedral self, _ostream out)
2722  show(Dihedral self)
2723  """
2724  return _IMP_atom.Dihedral_show(self, *args)
2725 
2726 
2727  def setup_particle(*args):
2728  """
2729  setup_particle(Model m, ParticleIndex pi, XYZ a, XYZ b, XYZ c, XYZ d) -> Dihedral
2730  setup_particle(_ParticleAdaptor decorator, XYZ a, XYZ b, XYZ c, XYZ d) -> Dihedral
2731  """
2732  return _IMP_atom.Dihedral_setup_particle(*args)
2733 
2734  setup_particle = staticmethod(setup_particle)
2735 
2736  def get_is_setup(*args):
2737  """
2738  get_is_setup(_ParticleAdaptor p) -> bool
2739  get_is_setup(Model m, ParticleIndex pi) -> bool
2740  """
2741  return _IMP_atom.Dihedral_get_is_setup(*args)
2742 
2743  get_is_setup = staticmethod(get_is_setup)
2744 
2745  def get_particle(self, *args):
2746  """
2747  get_particle(Dihedral self) -> Particle
2748  get_particle(Dihedral self, unsigned int i) -> Particle
2749  """
2750  return _IMP_atom.Dihedral_get_particle(self, *args)
2751 
2752 
2753  def get_ideal(self):
2754  """get_ideal(Dihedral self) -> IMP::Float"""
2755  return _IMP_atom.Dihedral_get_ideal(self)
2756 
2757 
2758  def set_ideal(self, t):
2759  """set_ideal(Dihedral self, IMP::Float t)"""
2760  return _IMP_atom.Dihedral_set_ideal(self, t)
2761 
2762 
2763  def get_multiplicity(self):
2764  """get_multiplicity(Dihedral self) -> IMP::Int"""
2765  return _IMP_atom.Dihedral_get_multiplicity(self)
2766 
2767 
2768  def set_multiplicity(self, t):
2769  """set_multiplicity(Dihedral self, IMP::Int t)"""
2770  return _IMP_atom.Dihedral_set_multiplicity(self, t)
2771 
2772 
2773  def get_stiffness(self):
2774  """get_stiffness(Dihedral self) -> IMP::Float"""
2775  return _IMP_atom.Dihedral_get_stiffness(self)
2776 
2777 
2778  def set_stiffness(self, t):
2779  """set_stiffness(Dihedral self, IMP::Float t)"""
2780  return _IMP_atom.Dihedral_set_stiffness(self, t)
2781 
2782 
2783  def get_particle_key(i):
2784  """get_particle_key(unsigned int i) -> ParticleIndexKey"""
2785  return _IMP_atom.Dihedral_get_particle_key(i)
2786 
2787  get_particle_key = staticmethod(get_particle_key)
2788 
2789  def get_ideal_key():
2790  """get_ideal_key() -> FloatKey"""
2791  return _IMP_atom.Dihedral_get_ideal_key()
2792 
2793  get_ideal_key = staticmethod(get_ideal_key)
2794 
2795  def get_multiplicity_key():
2796  """get_multiplicity_key() -> IntKey"""
2797  return _IMP_atom.Dihedral_get_multiplicity_key()
2798 
2799  get_multiplicity_key = staticmethod(get_multiplicity_key)
2800 
2801  def get_stiffness_key():
2802  """get_stiffness_key() -> FloatKey"""
2803  return _IMP_atom.Dihedral_get_stiffness_key()
2804 
2805  get_stiffness_key = staticmethod(get_stiffness_key)
2806 
2807  def add_attribute(self, *args):
2808  """
2809  add_attribute(Dihedral self, FloatKey k, IMP::Float v, bool opt)
2810  add_attribute(Dihedral self, FloatKey a0, IMP::Float a1)
2811  add_attribute(Dihedral self, IntKey a0, IMP::Int a1)
2812  add_attribute(Dihedral self, FloatsKey a0, IMP::Floats a1)
2813  add_attribute(Dihedral self, IntsKey a0, IMP::Ints a1)
2814  add_attribute(Dihedral self, StringKey a0, IMP::String a1)
2815  add_attribute(Dihedral self, ParticleIndexKey a0, Particle a1)
2816  add_attribute(Dihedral self, ObjectKey a0, Object a1)
2817  """
2818  return _IMP_atom.Dihedral_add_attribute(self, *args)
2819 
2820 
2821  def get_value(self, *args):
2822  """
2823  get_value(Dihedral self, FloatKey a0) -> IMP::Float
2824  get_value(Dihedral self, IntKey a0) -> IMP::Int
2825  get_value(Dihedral self, FloatsKey a0) -> IMP::Floats
2826  get_value(Dihedral self, IntsKey a0) -> IMP::Ints
2827  get_value(Dihedral self, StringKey a0) -> IMP::String
2828  get_value(Dihedral self, ParticleIndexKey a0) -> Particle
2829  get_value(Dihedral self, ObjectKey a0) -> Object
2830  """
2831  return _IMP_atom.Dihedral_get_value(self, *args)
2832 
2833 
2834  def set_value(self, *args):
2835  """
2836  set_value(Dihedral self, FloatKey a0, IMP::Float a1)
2837  set_value(Dihedral self, IntKey a0, IMP::Int a1)
2838  set_value(Dihedral self, FloatsKey a0, IMP::Floats a1)
2839  set_value(Dihedral self, IntsKey a0, IMP::Ints a1)
2840  set_value(Dihedral self, StringKey a0, IMP::String a1)
2841  set_value(Dihedral self, ParticleIndexKey a0, Particle a1)
2842  set_value(Dihedral self, ObjectKey a0, Object a1)
2843  """
2844  return _IMP_atom.Dihedral_set_value(self, *args)
2845 
2846 
2847  def remove_attribute(self, *args):
2848  """
2849  remove_attribute(Dihedral self, FloatKey a0)
2850  remove_attribute(Dihedral self, IntKey a0)
2851  remove_attribute(Dihedral self, FloatsKey a0)
2852  remove_attribute(Dihedral self, IntsKey a0)
2853  remove_attribute(Dihedral self, StringKey a0)
2854  remove_attribute(Dihedral self, ParticleIndexKey a0)
2855  remove_attribute(Dihedral self, ObjectKey a0)
2856  """
2857  return _IMP_atom.Dihedral_remove_attribute(self, *args)
2858 
2859 
2860  def has_attribute(self, *args):
2861  """
2862  has_attribute(Dihedral self, FloatKey a0) -> bool
2863  has_attribute(Dihedral self, IntKey a0) -> bool
2864  has_attribute(Dihedral self, FloatsKey a0) -> bool
2865  has_attribute(Dihedral self, IntsKey a0) -> bool
2866  has_attribute(Dihedral self, StringKey a0) -> bool
2867  has_attribute(Dihedral self, ParticleIndexKey a0) -> bool
2868  has_attribute(Dihedral self, ObjectKey a0) -> bool
2869  """
2870  return _IMP_atom.Dihedral_has_attribute(self, *args)
2871 
2872 
2873  def get_derivative(self, a0):
2874  """get_derivative(Dihedral self, FloatKey a0) -> double"""
2875  return _IMP_atom.Dihedral_get_derivative(self, a0)
2876 
2877 
2878  def get_name(self):
2879  """get_name(Dihedral self) -> std::string"""
2880  return _IMP_atom.Dihedral_get_name(self)
2881 
2882 
2883  def clear_caches(self):
2884  """clear_caches(Dihedral self)"""
2885  return _IMP_atom.Dihedral_clear_caches(self)
2886 
2887 
2888  def set_name(self, a0):
2889  """set_name(Dihedral self, std::string a0)"""
2890  return _IMP_atom.Dihedral_set_name(self, a0)
2891 
2892 
2893  def set_check_level(self, a0):
2894  """set_check_level(Dihedral self, IMP::CheckLevel a0)"""
2895  return _IMP_atom.Dihedral_set_check_level(self, a0)
2896 
2897 
2898  def add_to_derivative(self, a0, a1, a2):
2899  """add_to_derivative(Dihedral self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2900  return _IMP_atom.Dihedral_add_to_derivative(self, a0, a1, a2)
2901 
2902 
2903  def set_is_optimized(self, a0, a1):
2904  """set_is_optimized(Dihedral self, FloatKey a0, bool a1)"""
2905  return _IMP_atom.Dihedral_set_is_optimized(self, a0, a1)
2906 
2907 
2908  def get_is_optimized(self, a0):
2909  """get_is_optimized(Dihedral self, FloatKey a0) -> bool"""
2910  return _IMP_atom.Dihedral_get_is_optimized(self, a0)
2911 
2912 
2913  def get_check_level(self):
2914  """get_check_level(Dihedral self) -> IMP::CheckLevel"""
2915  return _IMP_atom.Dihedral_get_check_level(self)
2916 
2917 
2918  def __eq__(self, *args):
2919  """
2920  __eq__(Dihedral self, Dihedral o) -> bool
2921  __eq__(Dihedral self, Particle d) -> bool
2922  """
2923  return _IMP_atom.Dihedral___eq__(self, *args)
2924 
2925 
2926  def __ne__(self, *args):
2927  """
2928  __ne__(Dihedral self, Dihedral o) -> bool
2929  __ne__(Dihedral self, Particle d) -> bool
2930  """
2931  return _IMP_atom.Dihedral___ne__(self, *args)
2932 
2933 
2934  def __le__(self, *args):
2935  """
2936  __le__(Dihedral self, Dihedral o) -> bool
2937  __le__(Dihedral self, Particle d) -> bool
2938  """
2939  return _IMP_atom.Dihedral___le__(self, *args)
2940 
2941 
2942  def __lt__(self, *args):
2943  """
2944  __lt__(Dihedral self, Dihedral o) -> bool
2945  __lt__(Dihedral self, Particle d) -> bool
2946  """
2947  return _IMP_atom.Dihedral___lt__(self, *args)
2948 
2949 
2950  def __ge__(self, *args):
2951  """
2952  __ge__(Dihedral self, Dihedral o) -> bool
2953  __ge__(Dihedral self, Particle d) -> bool
2954  """
2955  return _IMP_atom.Dihedral___ge__(self, *args)
2956 
2957 
2958  def __gt__(self, *args):
2959  """
2960  __gt__(Dihedral self, Dihedral o) -> bool
2961  __gt__(Dihedral self, Particle d) -> bool
2962  """
2963  return _IMP_atom.Dihedral___gt__(self, *args)
2964 
2965 
2966  def __hash__(self):
2967  """__hash__(Dihedral self) -> std::size_t"""
2968  return _IMP_atom.Dihedral___hash__(self)
2969 
2970 
2971  def __str__(self):
2972  """__str__(Dihedral self) -> std::string"""
2973  return _IMP_atom.Dihedral___str__(self)
2974 
2975 
2976  def __repr__(self):
2977  """__repr__(Dihedral self) -> std::string"""
2978  return _IMP_atom.Dihedral___repr__(self)
2979 
2980  __swig_destroy__ = _IMP_atom.delete_Dihedral
2981  __del__ = lambda self: None
2982 Dihedral_swigregister = _IMP_atom.Dihedral_swigregister
2983 Dihedral_swigregister(Dihedral)
2984 
2985 def Dihedral_setup_particle(*args):
2986  """
2987  setup_particle(Model m, ParticleIndex pi, XYZ a, XYZ b, XYZ c, XYZ d) -> Dihedral
2988  Dihedral_setup_particle(_ParticleAdaptor decorator, XYZ a, XYZ b, XYZ c, XYZ d) -> Dihedral
2989  """
2990  return _IMP_atom.Dihedral_setup_particle(*args)
2991 
2992 def Dihedral_get_is_setup(*args):
2993  """
2994  get_is_setup(_ParticleAdaptor p) -> bool
2995  Dihedral_get_is_setup(Model m, ParticleIndex pi) -> bool
2996  """
2997  return _IMP_atom.Dihedral_get_is_setup(*args)
2998 
2999 def Dihedral_get_particle_key(i):
3000  """Dihedral_get_particle_key(unsigned int i) -> ParticleIndexKey"""
3001  return _IMP_atom.Dihedral_get_particle_key(i)
3002 
3003 def Dihedral_get_ideal_key():
3004  """Dihedral_get_ideal_key() -> FloatKey"""
3005  return _IMP_atom.Dihedral_get_ideal_key()
3006 
3007 def Dihedral_get_multiplicity_key():
3008  """Dihedral_get_multiplicity_key() -> IntKey"""
3009  return _IMP_atom.Dihedral_get_multiplicity_key()
3010 
3011 def Dihedral_get_stiffness_key():
3012  """Dihedral_get_stiffness_key() -> FloatKey"""
3013  return _IMP_atom.Dihedral_get_stiffness_key()
3014 
3015 class SmoothingFunction(IMP.Object):
3016  """Proxy of C++ IMP::atom::SmoothingFunction class"""
3017  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3018 
3019  def __init__(self, *args, **kwargs):
3020  raise AttributeError("No constructor defined - class is abstract")
3021 
3022  def __call__(self, *args):
3023  """
3024  __call__(SmoothingFunction self, double score, double distance) -> double
3025  __call__(SmoothingFunction self, double score, double deriv, double distance) -> IMP::DerivativePair
3026  """
3027  return _IMP_atom.SmoothingFunction___call__(self, *args)
3028 
3029  __swig_destroy__ = _IMP_atom.delete_SmoothingFunction
3030  __del__ = lambda self: None
3031 
3032  def __str__(self):
3033  """__str__(SmoothingFunction self) -> std::string"""
3034  return _IMP_atom.SmoothingFunction___str__(self)
3035 
3036 
3037  def __repr__(self):
3038  """__repr__(SmoothingFunction self) -> std::string"""
3039  return _IMP_atom.SmoothingFunction___repr__(self)
3040 
3041 
3042  @staticmethod
3043  def get_from(o):
3044  return _object_cast_to_SmoothingFunction(o)
3045 
3046 SmoothingFunction_swigregister = _IMP_atom.SmoothingFunction_swigregister
3047 SmoothingFunction_swigregister(SmoothingFunction)
3048 
3049 class ForceSwitch(SmoothingFunction):
3050  """Proxy of C++ IMP::atom::ForceSwitch class"""
3051  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3052 
3053  def __init__(self, min_distance, max_distance):
3054  """__init__(IMP::atom::ForceSwitch self, double min_distance, double max_distance) -> ForceSwitch"""
3055  this = _IMP_atom.new_ForceSwitch(min_distance, max_distance)
3056  try:
3057  self.this.append(this)
3058  except:
3059  self.this = this
3060 
3061  def __call__(self, *args):
3062  """
3063  __call__(ForceSwitch self, double score, double distance) -> double
3064  __call__(ForceSwitch self, double score, double deriv, double distance) -> IMP::DerivativePair
3065  """
3066  return _IMP_atom.ForceSwitch___call__(self, *args)
3067 
3068 
3069  def get_version_info(self):
3070  """get_version_info(ForceSwitch self) -> VersionInfo"""
3071  return _IMP_atom.ForceSwitch_get_version_info(self)
3072 
3073 
3074  def __str__(self):
3075  """__str__(ForceSwitch self) -> std::string"""
3076  return _IMP_atom.ForceSwitch___str__(self)
3077 
3078 
3079  def __repr__(self):
3080  """__repr__(ForceSwitch self) -> std::string"""
3081  return _IMP_atom.ForceSwitch___repr__(self)
3082 
3083 
3084  @staticmethod
3085  def get_from(o):
3086  return _object_cast_to_ForceSwitch(o)
3087 
3088 ForceSwitch_swigregister = _IMP_atom.ForceSwitch_swigregister
3089 ForceSwitch_swigregister(ForceSwitch)
3090 
3091 class AngleSingletonScore(IMP.SingletonScore):
3092  """Proxy of C++ IMP::atom::AngleSingletonScore class"""
3093  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3094 
3095  def __init__(self, f):
3096  """__init__(IMP::atom::AngleSingletonScore self, UnaryFunction f) -> AngleSingletonScore"""
3097  this = _IMP_atom.new_AngleSingletonScore(f)
3098  try:
3099  self.this.append(this)
3100  except:
3101  self.this = this
3102 
3103  def do_get_inputs(self, m, pis):
3104  """do_get_inputs(AngleSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3105  return _IMP_atom.AngleSingletonScore_do_get_inputs(self, m, pis)
3106 
3107 
3108  def get_version_info(self):
3109  """get_version_info(AngleSingletonScore self) -> VersionInfo"""
3110  return _IMP_atom.AngleSingletonScore_get_version_info(self)
3111 
3112 
3113  def __str__(self):
3114  """__str__(AngleSingletonScore self) -> std::string"""
3115  return _IMP_atom.AngleSingletonScore___str__(self)
3116 
3117 
3118  def __repr__(self):
3119  """__repr__(AngleSingletonScore self) -> std::string"""
3120  return _IMP_atom.AngleSingletonScore___repr__(self)
3121 
3122 
3123  @staticmethod
3124  def get_from(o):
3125  return _object_cast_to_AngleSingletonScore(o)
3126 
3127 AngleSingletonScore_swigregister = _IMP_atom.AngleSingletonScore_swigregister
3128 AngleSingletonScore_swigregister(AngleSingletonScore)
3129 
3130 class BondEndpointsRefiner(IMP.Refiner):
3131  """Proxy of C++ IMP::atom::BondEndpointsRefiner class"""
3132  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3133 
3134  def __init__(self):
3135  """__init__(IMP::atom::BondEndpointsRefiner self) -> BondEndpointsRefiner"""
3136  this = _IMP_atom.new_BondEndpointsRefiner()
3137  try:
3138  self.this.append(this)
3139  except:
3140  self.this = this
3141 
3142  def do_get_inputs(self, m, pis):
3143  """do_get_inputs(BondEndpointsRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3144  return _IMP_atom.BondEndpointsRefiner_do_get_inputs(self, m, pis)
3145 
3146 
3147  def get_version_info(self):
3148  """get_version_info(BondEndpointsRefiner self) -> VersionInfo"""
3149  return _IMP_atom.BondEndpointsRefiner_get_version_info(self)
3150 
3151 
3152  def __str__(self):
3153  """__str__(BondEndpointsRefiner self) -> std::string"""
3154  return _IMP_atom.BondEndpointsRefiner___str__(self)
3155 
3156 
3157  def __repr__(self):
3158  """__repr__(BondEndpointsRefiner self) -> std::string"""
3159  return _IMP_atom.BondEndpointsRefiner___repr__(self)
3160 
3161 
3162  @staticmethod
3163  def get_from(o):
3164  return _object_cast_to_BondEndpointsRefiner(o)
3165 
3166 BondEndpointsRefiner_swigregister = _IMP_atom.BondEndpointsRefiner_swigregister
3167 BondEndpointsRefiner_swigregister(BondEndpointsRefiner)
3168 
3169 class BondPairContainer(IMP.PairContainer):
3170  """Proxy of C++ IMP::atom::BondPairContainer class"""
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, sc):
3174  """__init__(IMP::atom::BondPairContainer self, SingletonContainer sc) -> BondPairContainer"""
3175  this = _IMP_atom.new_BondPairContainer(sc)
3176  try:
3177  self.this.append(this)
3178  except:
3179  self.this = this
3180 
3181  def do_get_inputs(self):
3182  """do_get_inputs(BondPairContainer self) -> IMP::ModelObjectsTemp"""
3183  return _IMP_atom.BondPairContainer_do_get_inputs(self)
3184 
3185 
3186  def do_apply(self, sm):
3187  """do_apply(BondPairContainer self, PairModifier sm)"""
3188  return _IMP_atom.BondPairContainer_do_apply(self, sm)
3189 
3190 
3191  def do_apply_moved(self, sm, moved_pis, reset_pis):
3192  """do_apply_moved(BondPairContainer self, PairModifier sm, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
3193  return _IMP_atom.BondPairContainer_do_apply_moved(self, sm, moved_pis, reset_pis)
3194 
3195 
3196  def get_version_info(self):
3197  """get_version_info(BondPairContainer self) -> VersionInfo"""
3198  return _IMP_atom.BondPairContainer_get_version_info(self)
3199 
3200 
3201  def __str__(self):
3202  """__str__(BondPairContainer self) -> std::string"""
3203  return _IMP_atom.BondPairContainer___str__(self)
3204 
3205 
3206  def __repr__(self):
3207  """__repr__(BondPairContainer self) -> std::string"""
3208  return _IMP_atom.BondPairContainer___repr__(self)
3209 
3210 
3211  @staticmethod
3212  def get_from(o):
3213  return _object_cast_to_BondPairContainer(o)
3214 
3215 BondPairContainer_swigregister = _IMP_atom.BondPairContainer_swigregister
3216 BondPairContainer_swigregister(BondPairContainer)
3217 
3218 class BondSingletonScore(IMP.SingletonScore):
3219  """Proxy of C++ IMP::atom::BondSingletonScore class"""
3220  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3221 
3222  def __init__(self, f):
3223  """__init__(IMP::atom::BondSingletonScore self, UnaryFunction f) -> BondSingletonScore"""
3224  this = _IMP_atom.new_BondSingletonScore(f)
3225  try:
3226  self.this.append(this)
3227  except:
3228  self.this = this
3229 
3230  def get_unary_function(self):
3231  """get_unary_function(BondSingletonScore self) -> UnaryFunction"""
3232  return _IMP_atom.BondSingletonScore_get_unary_function(self)
3233 
3234 
3235  def do_get_inputs(self, m, pis):
3236  """do_get_inputs(BondSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3237  return _IMP_atom.BondSingletonScore_do_get_inputs(self, m, pis)
3238 
3239 
3240  def get_version_info(self):
3241  """get_version_info(BondSingletonScore self) -> VersionInfo"""
3242  return _IMP_atom.BondSingletonScore_get_version_info(self)
3243 
3244 
3245  def __str__(self):
3246  """__str__(BondSingletonScore self) -> std::string"""
3247  return _IMP_atom.BondSingletonScore___str__(self)
3248 
3249 
3250  def __repr__(self):
3251  """__repr__(BondSingletonScore self) -> std::string"""
3252  return _IMP_atom.BondSingletonScore___repr__(self)
3253 
3254 
3255  @staticmethod
3256  def get_from(o):
3257  return _object_cast_to_BondSingletonScore(o)
3258 
3259 BondSingletonScore_swigregister = _IMP_atom.BondSingletonScore_swigregister
3260 BondSingletonScore_swigregister(BondSingletonScore)
3261 
3262 class DihedralSingletonScore(IMP.SingletonScore):
3263  """Proxy of C++ IMP::atom::DihedralSingletonScore class"""
3264  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3265 
3266  def __init__(self):
3267  """__init__(IMP::atom::DihedralSingletonScore self) -> DihedralSingletonScore"""
3268  this = _IMP_atom.new_DihedralSingletonScore()
3269  try:
3270  self.this.append(this)
3271  except:
3272  self.this = this
3273 
3274  def do_get_inputs(self, m, pis):
3275  """do_get_inputs(DihedralSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3276  return _IMP_atom.DihedralSingletonScore_do_get_inputs(self, m, pis)
3277 
3278 
3279  def get_version_info(self):
3280  """get_version_info(DihedralSingletonScore self) -> VersionInfo"""
3281  return _IMP_atom.DihedralSingletonScore_get_version_info(self)
3282 
3283 
3284  def __str__(self):
3285  """__str__(DihedralSingletonScore self) -> std::string"""
3286  return _IMP_atom.DihedralSingletonScore___str__(self)
3287 
3288 
3289  def __repr__(self):
3290  """__repr__(DihedralSingletonScore self) -> std::string"""
3291  return _IMP_atom.DihedralSingletonScore___repr__(self)
3292 
3293 
3294  @staticmethod
3295  def get_from(o):
3296  return _object_cast_to_DihedralSingletonScore(o)
3297 
3298 DihedralSingletonScore_swigregister = _IMP_atom.DihedralSingletonScore_swigregister
3299 DihedralSingletonScore_swigregister(DihedralSingletonScore)
3300 
3301 class ImproperSingletonScore(IMP.SingletonScore):
3302  """Proxy of C++ IMP::atom::ImproperSingletonScore class"""
3303  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3304 
3305  def __init__(self, f):
3306  """__init__(IMP::atom::ImproperSingletonScore self, UnaryFunction f) -> ImproperSingletonScore"""
3307  this = _IMP_atom.new_ImproperSingletonScore(f)
3308  try:
3309  self.this.append(this)
3310  except:
3311  self.this = this
3312 
3313  def do_get_inputs(self, m, pis):
3314  """do_get_inputs(ImproperSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3315  return _IMP_atom.ImproperSingletonScore_do_get_inputs(self, m, pis)
3316 
3317 
3318  def get_version_info(self):
3319  """get_version_info(ImproperSingletonScore self) -> VersionInfo"""
3320  return _IMP_atom.ImproperSingletonScore_get_version_info(self)
3321 
3322 
3323  def __str__(self):
3324  """__str__(ImproperSingletonScore self) -> std::string"""
3325  return _IMP_atom.ImproperSingletonScore___str__(self)
3326 
3327 
3328  def __repr__(self):
3329  """__repr__(ImproperSingletonScore self) -> std::string"""
3330  return _IMP_atom.ImproperSingletonScore___repr__(self)
3331 
3332 
3333  @staticmethod
3334  def get_from(o):
3335  return _object_cast_to_ImproperSingletonScore(o)
3336 
3337 ImproperSingletonScore_swigregister = _IMP_atom.ImproperSingletonScore_swigregister
3338 ImproperSingletonScore_swigregister(ImproperSingletonScore)
3339 
3340 class CenterOfMass(IMP.Decorator):
3341  """Proxy of C++ IMP::atom::CenterOfMass class"""
3342  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3343 
3344  def get_constraint(self):
3345  """get_constraint(CenterOfMass self) -> Constraint"""
3346  return _IMP_atom.CenterOfMass_get_constraint(self)
3347 
3348 
3349  def get_mass(self):
3350  """get_mass(CenterOfMass self) -> IMP::Float"""
3351  return _IMP_atom.CenterOfMass_get_mass(self)
3352 
3353 
3354  def get_coordinate(self, i):
3355  """get_coordinate(CenterOfMass self, int i) -> IMP::Float"""
3356  return _IMP_atom.CenterOfMass_get_coordinate(self, i)
3357 
3358 
3359  def get_coordinates(self):
3360  """get_coordinates(CenterOfMass self) -> Vector3D"""
3361  return _IMP_atom.CenterOfMass_get_coordinates(self)
3362 
3363 
3364  def __init__(self, *args):
3365  """
3366  __init__(IMP::atom::CenterOfMass self) -> CenterOfMass
3367  __init__(IMP::atom::CenterOfMass self, Model m, ParticleIndex id) -> CenterOfMass
3368  __init__(IMP::atom::CenterOfMass self, _ParticleAdaptor d) -> CenterOfMass
3369  """
3370  this = _IMP_atom.new_CenterOfMass(*args)
3371  try:
3372  self.this.append(this)
3373  except:
3374  self.this = this
3375 
3376  def show(self, *args):
3377  """
3378  show(CenterOfMass self, _ostream out)
3379  show(CenterOfMass self)
3380  """
3381  return _IMP_atom.CenterOfMass_show(self, *args)
3382 
3383 
3384  def setup_particle(*args):
3385  """
3386  setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor members) -> CenterOfMass
3387  setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> CenterOfMass
3388  setup_particle(Model m, ParticleIndex pi, Refiner refiner) -> CenterOfMass
3389  setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> CenterOfMass
3390  """
3391  return _IMP_atom.CenterOfMass_setup_particle(*args)
3392 
3393  setup_particle = staticmethod(setup_particle)
3394 
3395  def teardown_particle(com):
3396  """teardown_particle(CenterOfMass com)"""
3397  return _IMP_atom.CenterOfMass_teardown_particle(com)
3398 
3399  teardown_particle = staticmethod(teardown_particle)
3400 
3401  def get_is_setup(*args):
3402  """
3403  get_is_setup(_ParticleAdaptor p) -> bool
3404  get_is_setup(Model m, ParticleIndex pi) -> bool
3405  """
3406  return _IMP_atom.CenterOfMass_get_is_setup(*args)
3407 
3408  get_is_setup = staticmethod(get_is_setup)
3409 
3410  def add_attribute(self, *args):
3411  """
3412  add_attribute(CenterOfMass self, FloatKey k, IMP::Float v, bool opt)
3413  add_attribute(CenterOfMass self, FloatKey a0, IMP::Float a1)
3414  add_attribute(CenterOfMass self, IntKey a0, IMP::Int a1)
3415  add_attribute(CenterOfMass self, FloatsKey a0, IMP::Floats a1)
3416  add_attribute(CenterOfMass self, IntsKey a0, IMP::Ints a1)
3417  add_attribute(CenterOfMass self, StringKey a0, IMP::String a1)
3418  add_attribute(CenterOfMass self, ParticleIndexKey a0, Particle a1)
3419  add_attribute(CenterOfMass self, ObjectKey a0, Object a1)
3420  """
3421  return _IMP_atom.CenterOfMass_add_attribute(self, *args)
3422 
3423 
3424  def get_value(self, *args):
3425  """
3426  get_value(CenterOfMass self, FloatKey a0) -> IMP::Float
3427  get_value(CenterOfMass self, IntKey a0) -> IMP::Int
3428  get_value(CenterOfMass self, FloatsKey a0) -> IMP::Floats
3429  get_value(CenterOfMass self, IntsKey a0) -> IMP::Ints
3430  get_value(CenterOfMass self, StringKey a0) -> IMP::String
3431  get_value(CenterOfMass self, ParticleIndexKey a0) -> Particle
3432  get_value(CenterOfMass self, ObjectKey a0) -> Object
3433  """
3434  return _IMP_atom.CenterOfMass_get_value(self, *args)
3435 
3436 
3437  def set_value(self, *args):
3438  """
3439  set_value(CenterOfMass self, FloatKey a0, IMP::Float a1)
3440  set_value(CenterOfMass self, IntKey a0, IMP::Int a1)
3441  set_value(CenterOfMass self, FloatsKey a0, IMP::Floats a1)
3442  set_value(CenterOfMass self, IntsKey a0, IMP::Ints a1)
3443  set_value(CenterOfMass self, StringKey a0, IMP::String a1)
3444  set_value(CenterOfMass self, ParticleIndexKey a0, Particle a1)
3445  set_value(CenterOfMass self, ObjectKey a0, Object a1)
3446  """
3447  return _IMP_atom.CenterOfMass_set_value(self, *args)
3448 
3449 
3450  def remove_attribute(self, *args):
3451  """
3452  remove_attribute(CenterOfMass self, FloatKey a0)
3453  remove_attribute(CenterOfMass self, IntKey a0)
3454  remove_attribute(CenterOfMass self, FloatsKey a0)
3455  remove_attribute(CenterOfMass self, IntsKey a0)
3456  remove_attribute(CenterOfMass self, StringKey a0)
3457  remove_attribute(CenterOfMass self, ParticleIndexKey a0)
3458  remove_attribute(CenterOfMass self, ObjectKey a0)
3459  """
3460  return _IMP_atom.CenterOfMass_remove_attribute(self, *args)
3461 
3462 
3463  def has_attribute(self, *args):
3464  """
3465  has_attribute(CenterOfMass self, FloatKey a0) -> bool
3466  has_attribute(CenterOfMass self, IntKey a0) -> bool
3467  has_attribute(CenterOfMass self, FloatsKey a0) -> bool
3468  has_attribute(CenterOfMass self, IntsKey a0) -> bool
3469  has_attribute(CenterOfMass self, StringKey a0) -> bool
3470  has_attribute(CenterOfMass self, ParticleIndexKey a0) -> bool
3471  has_attribute(CenterOfMass self, ObjectKey a0) -> bool
3472  """
3473  return _IMP_atom.CenterOfMass_has_attribute(self, *args)
3474 
3475 
3476  def get_derivative(self, a0):
3477  """get_derivative(CenterOfMass self, FloatKey a0) -> double"""
3478  return _IMP_atom.CenterOfMass_get_derivative(self, a0)
3479 
3480 
3481  def get_name(self):
3482  """get_name(CenterOfMass self) -> std::string"""
3483  return _IMP_atom.CenterOfMass_get_name(self)
3484 
3485 
3486  def clear_caches(self):
3487  """clear_caches(CenterOfMass self)"""
3488  return _IMP_atom.CenterOfMass_clear_caches(self)
3489 
3490 
3491  def set_name(self, a0):
3492  """set_name(CenterOfMass self, std::string a0)"""
3493  return _IMP_atom.CenterOfMass_set_name(self, a0)
3494 
3495 
3496  def set_check_level(self, a0):
3497  """set_check_level(CenterOfMass self, IMP::CheckLevel a0)"""
3498  return _IMP_atom.CenterOfMass_set_check_level(self, a0)
3499 
3500 
3501  def add_to_derivative(self, a0, a1, a2):
3502  """add_to_derivative(CenterOfMass self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
3503  return _IMP_atom.CenterOfMass_add_to_derivative(self, a0, a1, a2)
3504 
3505 
3506  def set_is_optimized(self, a0, a1):
3507  """set_is_optimized(CenterOfMass self, FloatKey a0, bool a1)"""
3508  return _IMP_atom.CenterOfMass_set_is_optimized(self, a0, a1)
3509 
3510 
3511  def get_is_optimized(self, a0):
3512  """get_is_optimized(CenterOfMass self, FloatKey a0) -> bool"""
3513  return _IMP_atom.CenterOfMass_get_is_optimized(self, a0)
3514 
3515 
3516  def get_check_level(self):
3517  """get_check_level(CenterOfMass self) -> IMP::CheckLevel"""
3518  return _IMP_atom.CenterOfMass_get_check_level(self)
3519 
3520 
3521  def __eq__(self, *args):
3522  """
3523  __eq__(CenterOfMass self, CenterOfMass o) -> bool
3524  __eq__(CenterOfMass self, Particle d) -> bool
3525  """
3526  return _IMP_atom.CenterOfMass___eq__(self, *args)
3527 
3528 
3529  def __ne__(self, *args):
3530  """
3531  __ne__(CenterOfMass self, CenterOfMass o) -> bool
3532  __ne__(CenterOfMass self, Particle d) -> bool
3533  """
3534  return _IMP_atom.CenterOfMass___ne__(self, *args)
3535 
3536 
3537  def __le__(self, *args):
3538  """
3539  __le__(CenterOfMass self, CenterOfMass o) -> bool
3540  __le__(CenterOfMass self, Particle d) -> bool
3541  """
3542  return _IMP_atom.CenterOfMass___le__(self, *args)
3543 
3544 
3545  def __lt__(self, *args):
3546  """
3547  __lt__(CenterOfMass self, CenterOfMass o) -> bool
3548  __lt__(CenterOfMass self, Particle d) -> bool
3549  """
3550  return _IMP_atom.CenterOfMass___lt__(self, *args)
3551 
3552 
3553  def __ge__(self, *args):
3554  """
3555  __ge__(CenterOfMass self, CenterOfMass o) -> bool
3556  __ge__(CenterOfMass self, Particle d) -> bool
3557  """
3558  return _IMP_atom.CenterOfMass___ge__(self, *args)
3559 
3560 
3561  def __gt__(self, *args):
3562  """
3563  __gt__(CenterOfMass self, CenterOfMass o) -> bool
3564  __gt__(CenterOfMass self, Particle d) -> bool
3565  """
3566  return _IMP_atom.CenterOfMass___gt__(self, *args)
3567 
3568 
3569  def __hash__(self):
3570  """__hash__(CenterOfMass self) -> std::size_t"""
3571  return _IMP_atom.CenterOfMass___hash__(self)
3572 
3573 
3574  def __str__(self):
3575  """__str__(CenterOfMass self) -> std::string"""
3576  return _IMP_atom.CenterOfMass___str__(self)
3577 
3578 
3579  def __repr__(self):
3580  """__repr__(CenterOfMass self) -> std::string"""
3581  return _IMP_atom.CenterOfMass___repr__(self)
3582 
3583  __swig_destroy__ = _IMP_atom.delete_CenterOfMass
3584  __del__ = lambda self: None
3585 CenterOfMass_swigregister = _IMP_atom.CenterOfMass_swigregister
3586 CenterOfMass_swigregister(CenterOfMass)
3587 
3588 def CenterOfMass_setup_particle(*args):
3589  """
3590  setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor members) -> CenterOfMass
3591  setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> CenterOfMass
3592  setup_particle(Model m, ParticleIndex pi, Refiner refiner) -> CenterOfMass
3593  CenterOfMass_setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> CenterOfMass
3594  """
3595  return _IMP_atom.CenterOfMass_setup_particle(*args)
3596 
3597 def CenterOfMass_teardown_particle(com):
3598  """CenterOfMass_teardown_particle(CenterOfMass com)"""
3599  return _IMP_atom.CenterOfMass_teardown_particle(com)
3600 
3601 def CenterOfMass_get_is_setup(*args):
3602  """
3603  get_is_setup(_ParticleAdaptor p) -> bool
3604  CenterOfMass_get_is_setup(Model m, ParticleIndex pi) -> bool
3605  """
3606  return _IMP_atom.CenterOfMass_get_is_setup(*args)
3607 
3608 class CoverBond(IMP.SingletonModifier):
3609  """Proxy of C++ IMP::atom::CoverBond class"""
3610  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3611 
3612  def __init__(self):
3613  """__init__(IMP::atom::CoverBond self) -> CoverBond"""
3614  this = _IMP_atom.new_CoverBond()
3615  try:
3616  self.this.append(this)
3617  except:
3618  self.this = this
3619 
3620  def do_get_inputs(self, m, pis):
3621  """do_get_inputs(CoverBond self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3622  return _IMP_atom.CoverBond_do_get_inputs(self, m, pis)
3623 
3624 
3625  def do_get_outputs(self, m, pis):
3626  """do_get_outputs(CoverBond self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3627  return _IMP_atom.CoverBond_do_get_outputs(self, m, pis)
3628 
3629 
3630  def get_version_info(self):
3631  """get_version_info(CoverBond self) -> VersionInfo"""
3632  return _IMP_atom.CoverBond_get_version_info(self)
3633 
3634 
3635  def __str__(self):
3636  """__str__(CoverBond self) -> std::string"""
3637  return _IMP_atom.CoverBond___str__(self)
3638 
3639 
3640  def __repr__(self):
3641  """__repr__(CoverBond self) -> std::string"""
3642  return _IMP_atom.CoverBond___repr__(self)
3643 
3644 
3645  @staticmethod
3646  def get_from(o):
3647  return _object_cast_to_CoverBond(o)
3648 
3649 CoverBond_swigregister = _IMP_atom.CoverBond_swigregister
3650 CoverBond_swigregister(CoverBond)
3651 
3652 class Simulator(IMP.Optimizer):
3653  """Proxy of C++ IMP::atom::Simulator class"""
3654  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3655 
3656  def __init__(self, *args):
3657  """
3658  __init__(IMP::atom::Simulator self, Model m, std::string name, double wave_factor=1.0) -> Simulator
3659  __init__(IMP::atom::Simulator self, Model m, std::string name) -> Simulator
3660  __init__(IMP::atom::Simulator self, Model m) -> Simulator
3661  """
3662  if self.__class__ == Simulator:
3663  _self = None
3664  else:
3665  _self = self
3666  this = _IMP_atom.new_Simulator(_self, *args)
3667  try:
3668  self.this.append(this)
3669  except:
3670  self.this = this
3671 
3672  if self.__class__ != Simulator:
3673  _director_objects.register(self)
3674 
3675 
3676 
3677 
3678  def simulate(self, time_in_fs):
3679  """simulate(Simulator self, double time_in_fs) -> double"""
3680  return _IMP_atom.Simulator_simulate(self, time_in_fs)
3681 
3682 
3683  def simulate_wave(self, time_in_fs, max_time_step_factor=10.0, base=1.5):
3684  """
3685  simulate_wave(Simulator self, double time_in_fs, double max_time_step_factor=10.0, double base=1.5) -> double
3686  simulate_wave(Simulator self, double time_in_fs, double max_time_step_factor=10.0) -> double
3687  simulate_wave(Simulator self, double time_in_fs) -> double
3688  """
3689  return _IMP_atom.Simulator_simulate_wave(self, time_in_fs, max_time_step_factor, base)
3690 
3691 
3692  def get_temperature(self):
3693  """get_temperature(Simulator self) -> double"""
3694  return _IMP_atom.Simulator_get_temperature(self)
3695 
3696 
3697  def set_temperature(self, d):
3698  """set_temperature(Simulator self, double d)"""
3699  return _IMP_atom.Simulator_set_temperature(self, d)
3700 
3701 
3702  def set_maximum_time_step(self, ts):
3703  """set_maximum_time_step(Simulator self, double ts)"""
3704  return _IMP_atom.Simulator_set_maximum_time_step(self, ts)
3705 
3706 
3707  def get_maximum_time_step(self):
3708  """get_maximum_time_step(Simulator self) -> double"""
3709  return _IMP_atom.Simulator_get_maximum_time_step(self)
3710 
3711 
3712  def get_last_time_step(self):
3713  """get_last_time_step(Simulator self) -> double"""
3714  return _IMP_atom.Simulator_get_last_time_step(self)
3715 
3716 
3717  def set_time_step(self, ts):
3718  """set_time_step(Simulator self, double ts)"""
3719  return _IMP_atom.Simulator_set_time_step(self, ts)
3720 
3721 
3722  def get_kt(self):
3723  """get_kt(Simulator self) -> double"""
3724  return _IMP_atom.Simulator_get_kt(self)
3725 
3726 
3727  def get_current_time(self):
3728  """get_current_time(Simulator self) -> double"""
3729  return _IMP_atom.Simulator_get_current_time(self)
3730 
3731 
3732  def set_current_time(self, ct):
3733  """set_current_time(Simulator self, double ct)"""
3734  return _IMP_atom.Simulator_set_current_time(self, ct)
3735 
3736 
3737  def get_simulation_particles(self):
3738  """get_simulation_particles(Simulator self) -> IMP::ParticlesTemp"""
3739  return _IMP_atom.Simulator_get_simulation_particles(self)
3740 
3741 
3742  def get_simulation_particle_indexes(self):
3743  """get_simulation_particle_indexes(Simulator self) -> IMP::ParticleIndexes"""
3744  return _IMP_atom.Simulator_get_simulation_particle_indexes(self)
3745 
3746 
3747  def remove_particle(self, d):
3748  """remove_particle(Simulator self, Particle d)"""
3749  return _IMP_atom.Simulator_remove_particle(self, d)
3750 
3751 
3752  def remove_particles(self, d):
3753  """remove_particles(Simulator self, IMP::Particles const & d)"""
3754  return _IMP_atom.Simulator_remove_particles(self, d)
3755 
3756 
3757  def set_particles(self, ps):
3758  """set_particles(Simulator self, IMP::Particles const & ps)"""
3759  return _IMP_atom.Simulator_set_particles(self, ps)
3760 
3761 
3762  def set_particles_order(self, objs):
3763  """set_particles_order(Simulator self, IMP::Particles const & objs)"""
3764  return _IMP_atom.Simulator_set_particles_order(self, objs)
3765 
3766 
3767  def add_particle(self, obj):
3768  """add_particle(Simulator self, Particle obj) -> unsigned int"""
3769  return _IMP_atom.Simulator_add_particle(self, obj)
3770 
3771 
3772  def add_particles(self, objs):
3773  """add_particles(Simulator self, IMP::Particles const & objs)"""
3774  return _IMP_atom.Simulator_add_particles(self, objs)
3775 
3776 
3777  def clear_particles(self):
3778  """clear_particles(Simulator self)"""
3779  return _IMP_atom.Simulator_clear_particles(self)
3780 
3781 
3782  def get_number_of_particles(self):
3783  """get_number_of_particles(Simulator self) -> unsigned int"""
3784  return _IMP_atom.Simulator_get_number_of_particles(self)
3785 
3786 
3787  def get_has_particles(self):
3788  """get_has_particles(Simulator self) -> bool"""
3789  return _IMP_atom.Simulator_get_has_particles(self)
3790 
3791 
3792  def get_particle(self, i):
3793  """get_particle(Simulator self, unsigned int i) -> Particle"""
3794  return _IMP_atom.Simulator_get_particle(self, i)
3795 
3796 
3797  def get_particles(self):
3798  """get_particles(Simulator self) -> IMP::Particles"""
3799  return _IMP_atom.Simulator_get_particles(self)
3800 
3801 
3802  def reserve_particles(self, sz):
3803  """reserve_particles(Simulator self, unsigned int sz)"""
3804  return _IMP_atom.Simulator_reserve_particles(self, sz)
3805 
3806 
3807  def do_optimize(self, max_steps):
3808  """do_optimize(Simulator self, unsigned int max_steps) -> IMP::Float"""
3809  return _IMP_atom.Simulator_do_optimize(self, max_steps)
3810 
3811 
3812  def setup(self, arg0):
3813  """setup(Simulator self, IMP::ParticleIndexes const & arg0)"""
3814  return _IMP_atom.Simulator_setup(self, arg0)
3815 
3816 
3817  def do_step(self, sc, dt):
3818  """do_step(Simulator self, IMP::ParticleIndexes const & sc, double dt) -> double"""
3819  return _IMP_atom.Simulator_do_step(self, sc, dt)
3820 
3821 
3822  def get_is_simulation_particle(self, p):
3823  """get_is_simulation_particle(Simulator self, ParticleIndex p) -> bool"""
3824  return _IMP_atom.Simulator_get_is_simulation_particle(self, p)
3825 
3826 
3827  def do_simulate(self, time):
3828  """do_simulate(Simulator self, double time) -> double"""
3829  return _IMP_atom.Simulator_do_simulate(self, time)
3830 
3831 
3832  def do_simulate_wave(self, time_in_fs, max_time_step_factor=10.0, base=1.5):
3833  """
3834  do_simulate_wave(Simulator self, double time_in_fs, double max_time_step_factor=10.0, double base=1.5) -> double
3835  do_simulate_wave(Simulator self, double time_in_fs, double max_time_step_factor=10.0) -> double
3836  do_simulate_wave(Simulator self, double time_in_fs) -> double
3837  """
3838  return _IMP_atom.Simulator_do_simulate_wave(self, time_in_fs, max_time_step_factor, base)
3839 
3840 
3841  def __str__(self):
3842  """__str__(Simulator self) -> std::string"""
3843  return _IMP_atom.Simulator___str__(self)
3844 
3845 
3846  def __repr__(self):
3847  """__repr__(Simulator self) -> std::string"""
3848  return _IMP_atom.Simulator___repr__(self)
3849 
3850 
3851  @staticmethod
3852  def get_from(o):
3853  return _object_cast_to_Simulator(o)
3854 
3855 
3856  def get_type_name(self):
3857  return self.__class__.__name__
3858  def do_show(self, out):
3859  pass
3860  def get_version_info(self):
3861  if"IMP::atom" == "IMP":
3862  return VersionInfo(self.__module__,
3863  __import__(self.__module__).get_module_version())
3864  else:
3865  return IMP.VersionInfo(self.__module__,
3866  __import__(self.__module__).get_module_version())
3867  @staticmethod
3868  def get_from(o):
3869  return _object_cast_to_Simulator(o)
3870 
3871  __swig_destroy__ = _IMP_atom.delete_Simulator
3872  __del__ = lambda self: None
3873  def __disown__(self):
3874  self.this.disown()
3875  _IMP_atom.disown_Simulator(self)
3876  return weakref_proxy(self)
3877 
3878  def do_destroy(self):
3879  """do_destroy(Simulator self)"""
3880  return _IMP_atom.Simulator_do_destroy(self)
3881 
3882 
3883  def handle_set_has_required_score_states(self, arg0):
3884  """handle_set_has_required_score_states(Simulator self, bool arg0)"""
3885  return _IMP_atom.Simulator_handle_set_has_required_score_states(self, arg0)
3886 
3887 
3888  def do_get_inputs(self):
3889  """do_get_inputs(Simulator self) -> IMP::ModelObjectsTemp"""
3890  return _IMP_atom.Simulator_do_get_inputs(self)
3891 
3892 
3893  def do_get_outputs(self):
3894  """do_get_outputs(Simulator self) -> IMP::ModelObjectsTemp"""
3895  return _IMP_atom.Simulator_do_get_outputs(self)
3896 
3897 
3898  def do_get_interactions(self):
3899  """do_get_interactions(Simulator self) -> IMP::ModelObjectsTemps"""
3900  return _IMP_atom.Simulator_do_get_interactions(self)
3901 
3902 Simulator_swigregister = _IMP_atom.Simulator_swigregister
3903 Simulator_swigregister(Simulator)
3904 
3905 
3906 _IMP_atom.IMP_ATOM_DEFAULT_BD_RANDOM_POOL_SIZE_swigconstant(_IMP_atom)
3907 IMP_ATOM_DEFAULT_BD_RANDOM_POOL_SIZE = _IMP_atom.IMP_ATOM_DEFAULT_BD_RANDOM_POOL_SIZE
3908 class BrownianDynamics(Simulator):
3909  """Proxy of C++ IMP::atom::BrownianDynamics class"""
3910  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3911 
3912  def __init__(self, *args):
3913  """
3914  __init__(IMP::atom::BrownianDynamics self, Model m, std::string name, double wave_factor=1.0, unsigned int random_pool_size=10000) -> BrownianDynamics
3915  __init__(IMP::atom::BrownianDynamics self, Model m, std::string name, double wave_factor=1.0) -> BrownianDynamics
3916  __init__(IMP::atom::BrownianDynamics self, Model m, std::string name) -> BrownianDynamics
3917  __init__(IMP::atom::BrownianDynamics self, Model m) -> BrownianDynamics
3918  """
3919  this = _IMP_atom.new_BrownianDynamics(*args)
3920  try:
3921  self.this.append(this)
3922  except:
3923  self.this = this
3924 
3925  def set_maximum_move(self, ms_in_A):
3926  """set_maximum_move(BrownianDynamics self, double ms_in_A)"""
3927  return _IMP_atom.BrownianDynamics_set_maximum_move(self, ms_in_A)
3928 
3929 
3930  def set_use_stochastic_runge_kutta(self, tf):
3931  """set_use_stochastic_runge_kutta(BrownianDynamics self, bool tf)"""
3932  return _IMP_atom.BrownianDynamics_set_use_stochastic_runge_kutta(self, tf)
3933 
3934 
3935  def get_version_info(self):
3936  """get_version_info(BrownianDynamics self) -> VersionInfo"""
3937  return _IMP_atom.BrownianDynamics_get_version_info(self)
3938 
3939 
3940  def __str__(self):
3941  """__str__(BrownianDynamics self) -> std::string"""
3942  return _IMP_atom.BrownianDynamics___str__(self)
3943 
3944 
3945  def __repr__(self):
3946  """__repr__(BrownianDynamics self) -> std::string"""
3947  return _IMP_atom.BrownianDynamics___repr__(self)
3948 
3949 
3950  @staticmethod
3951  def get_from(o):
3952  return _object_cast_to_BrownianDynamics(o)
3953 
3954 BrownianDynamics_swigregister = _IMP_atom.BrownianDynamics_swigregister
3955 BrownianDynamics_swigregister(BrownianDynamics)
3956 
3957 
3959  """get_maximum_time_step_estimate(BrownianDynamics bd) -> double"""
3960  return _IMP_atom.get_maximum_time_step_estimate(bd)
3961 
3962 def get_harmonic_sigma(D, f):
3963  """get_harmonic_sigma(double D, double f) -> double"""
3964  return _IMP_atom.get_harmonic_sigma(D, f)
3965 class BrownianDynamicsTAMD(BrownianDynamics):
3966  """Proxy of C++ IMP::atom::BrownianDynamicsTAMD class"""
3967  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
3968 
3969  def __init__(self, *args):
3970  """
3971  __init__(IMP::atom::BrownianDynamicsTAMD self, Model m, std::string name, double wave_factor=1.0) -> BrownianDynamicsTAMD
3972  __init__(IMP::atom::BrownianDynamicsTAMD self, Model m, std::string name) -> BrownianDynamicsTAMD
3973  __init__(IMP::atom::BrownianDynamicsTAMD self, Model m) -> BrownianDynamicsTAMD
3974  """
3975  this = _IMP_atom.new_BrownianDynamicsTAMD(*args)
3976  try:
3977  self.this.append(this)
3978  except:
3979  self.this = this
3980 
3981  def __str__(self):
3982  """__str__(BrownianDynamicsTAMD self) -> std::string"""
3983  return _IMP_atom.BrownianDynamicsTAMD___str__(self)
3984 
3985 
3986  def __repr__(self):
3987  """__repr__(BrownianDynamicsTAMD self) -> std::string"""
3988  return _IMP_atom.BrownianDynamicsTAMD___repr__(self)
3989 
3990 
3991  @staticmethod
3992  def get_from(o):
3993  return _object_cast_to_BrownianDynamicsTAMD(o)
3994 
3995  __swig_destroy__ = _IMP_atom.delete_BrownianDynamicsTAMD
3996  __del__ = lambda self: None
3997 BrownianDynamicsTAMD_swigregister = _IMP_atom.BrownianDynamicsTAMD_swigregister
3998 BrownianDynamicsTAMD_swigregister(BrownianDynamicsTAMD)
3999 
4000 class Diffusion(IMP.core.XYZ):
4001  """Proxy of C++ IMP::atom::Diffusion class"""
4002  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4003 
4004  def __init__(self, *args):
4005  """
4006  __init__(IMP::atom::Diffusion self) -> Diffusion
4007  __init__(IMP::atom::Diffusion self, Model m, ParticleIndex id) -> Diffusion
4008  __init__(IMP::atom::Diffusion self, _ParticleAdaptor d) -> Diffusion
4009  """
4010  this = _IMP_atom.new_Diffusion(*args)
4011  try:
4012  self.this.append(this)
4013  except:
4014  self.this = this
4015 
4016  def show(self, *args):
4017  """
4018  show(Diffusion self, _ostream out)
4019  show(Diffusion self)
4020  """
4021  return _IMP_atom.Diffusion_show(self, *args)
4022 
4023 
4024  def setup_particle(*args):
4025  """
4026  setup_particle(Model m, ParticleIndex pi, IMP::Float D) -> Diffusion
4027  setup_particle(_ParticleAdaptor decorator, IMP::Float D) -> Diffusion
4028  setup_particle(Model m, ParticleIndex pi, Vector3D v, IMP::Float D) -> Diffusion
4029  setup_particle(_ParticleAdaptor decorator, Vector3D v, IMP::Float D) -> Diffusion
4030  setup_particle(Model m, ParticleIndex pi) -> Diffusion
4031  setup_particle(_ParticleAdaptor decorator) -> Diffusion
4032  """
4033  return _IMP_atom.Diffusion_setup_particle(*args)
4034 
4035  setup_particle = staticmethod(setup_particle)
4036 
4037  def get_is_setup(*args):
4038  """
4039  get_is_setup(_ParticleAdaptor p) -> bool
4040  get_is_setup(Model m, ParticleIndex p) -> bool
4041  """
4042  return _IMP_atom.Diffusion_get_is_setup(*args)
4043 
4044  get_is_setup = staticmethod(get_is_setup)
4045 
4046  def set_diffusion_coefficient(self, d):
4047  """set_diffusion_coefficient(Diffusion self, double d)"""
4048  return _IMP_atom.Diffusion_set_diffusion_coefficient(self, d)
4049 
4050 
4051  def get_diffusion_coefficient(self):
4052  """get_diffusion_coefficient(Diffusion self) -> double"""
4053  return _IMP_atom.Diffusion_get_diffusion_coefficient(self)
4054 
4055 
4056  def get_diffusion_coefficient_key():
4057  """get_diffusion_coefficient_key() -> FloatKey"""
4058  return _IMP_atom.Diffusion_get_diffusion_coefficient_key()
4059 
4060  get_diffusion_coefficient_key = staticmethod(get_diffusion_coefficient_key)
4061 
4062  def add_attribute(self, *args):
4063  """
4064  add_attribute(Diffusion self, FloatKey k, IMP::Float v, bool opt)
4065  add_attribute(Diffusion self, FloatKey a0, IMP::Float a1)
4066  add_attribute(Diffusion self, IntKey a0, IMP::Int a1)
4067  add_attribute(Diffusion self, FloatsKey a0, IMP::Floats a1)
4068  add_attribute(Diffusion self, IntsKey a0, IMP::Ints a1)
4069  add_attribute(Diffusion self, StringKey a0, IMP::String a1)
4070  add_attribute(Diffusion self, ParticleIndexKey a0, Particle a1)
4071  add_attribute(Diffusion self, ObjectKey a0, Object a1)
4072  """
4073  return _IMP_atom.Diffusion_add_attribute(self, *args)
4074 
4075 
4076  def get_value(self, *args):
4077  """
4078  get_value(Diffusion self, FloatKey a0) -> IMP::Float
4079  get_value(Diffusion self, IntKey a0) -> IMP::Int
4080  get_value(Diffusion self, FloatsKey a0) -> IMP::Floats
4081  get_value(Diffusion self, IntsKey a0) -> IMP::Ints
4082  get_value(Diffusion self, StringKey a0) -> IMP::String
4083  get_value(Diffusion self, ParticleIndexKey a0) -> Particle
4084  get_value(Diffusion self, ObjectKey a0) -> Object
4085  """
4086  return _IMP_atom.Diffusion_get_value(self, *args)
4087 
4088 
4089  def set_value(self, *args):
4090  """
4091  set_value(Diffusion self, FloatKey a0, IMP::Float a1)
4092  set_value(Diffusion self, IntKey a0, IMP::Int a1)
4093  set_value(Diffusion self, FloatsKey a0, IMP::Floats a1)
4094  set_value(Diffusion self, IntsKey a0, IMP::Ints a1)
4095  set_value(Diffusion self, StringKey a0, IMP::String a1)
4096  set_value(Diffusion self, ParticleIndexKey a0, Particle a1)
4097  set_value(Diffusion self, ObjectKey a0, Object a1)
4098  """
4099  return _IMP_atom.Diffusion_set_value(self, *args)
4100 
4101 
4102  def remove_attribute(self, *args):
4103  """
4104  remove_attribute(Diffusion self, FloatKey a0)
4105  remove_attribute(Diffusion self, IntKey a0)
4106  remove_attribute(Diffusion self, FloatsKey a0)
4107  remove_attribute(Diffusion self, IntsKey a0)
4108  remove_attribute(Diffusion self, StringKey a0)
4109  remove_attribute(Diffusion self, ParticleIndexKey a0)
4110  remove_attribute(Diffusion self, ObjectKey a0)
4111  """
4112  return _IMP_atom.Diffusion_remove_attribute(self, *args)
4113 
4114 
4115  def has_attribute(self, *args):
4116  """
4117  has_attribute(Diffusion self, FloatKey a0) -> bool
4118  has_attribute(Diffusion self, IntKey a0) -> bool
4119  has_attribute(Diffusion self, FloatsKey a0) -> bool
4120  has_attribute(Diffusion self, IntsKey a0) -> bool
4121  has_attribute(Diffusion self, StringKey a0) -> bool
4122  has_attribute(Diffusion self, ParticleIndexKey a0) -> bool
4123  has_attribute(Diffusion self, ObjectKey a0) -> bool
4124  """
4125  return _IMP_atom.Diffusion_has_attribute(self, *args)
4126 
4127 
4128  def get_derivative(self, a0):
4129  """get_derivative(Diffusion self, FloatKey a0) -> double"""
4130  return _IMP_atom.Diffusion_get_derivative(self, a0)
4131 
4132 
4133  def get_name(self):
4134  """get_name(Diffusion self) -> std::string"""
4135  return _IMP_atom.Diffusion_get_name(self)
4136 
4137 
4138  def clear_caches(self):
4139  """clear_caches(Diffusion self)"""
4140  return _IMP_atom.Diffusion_clear_caches(self)
4141 
4142 
4143  def set_name(self, a0):
4144  """set_name(Diffusion self, std::string a0)"""
4145  return _IMP_atom.Diffusion_set_name(self, a0)
4146 
4147 
4148  def set_check_level(self, a0):
4149  """set_check_level(Diffusion self, IMP::CheckLevel a0)"""
4150  return _IMP_atom.Diffusion_set_check_level(self, a0)
4151 
4152 
4153  def add_to_derivative(self, a0, a1, a2):
4154  """add_to_derivative(Diffusion self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
4155  return _IMP_atom.Diffusion_add_to_derivative(self, a0, a1, a2)
4156 
4157 
4158  def set_is_optimized(self, a0, a1):
4159  """set_is_optimized(Diffusion self, FloatKey a0, bool a1)"""
4160  return _IMP_atom.Diffusion_set_is_optimized(self, a0, a1)
4161 
4162 
4163  def get_is_optimized(self, a0):
4164  """get_is_optimized(Diffusion self, FloatKey a0) -> bool"""
4165  return _IMP_atom.Diffusion_get_is_optimized(self, a0)
4166 
4167 
4168  def get_check_level(self):
4169  """get_check_level(Diffusion self) -> IMP::CheckLevel"""
4170  return _IMP_atom.Diffusion_get_check_level(self)
4171 
4172 
4173  def __eq__(self, *args):
4174  """
4175  __eq__(Diffusion self, Diffusion o) -> bool
4176  __eq__(Diffusion self, Particle d) -> bool
4177  """
4178  return _IMP_atom.Diffusion___eq__(self, *args)
4179 
4180 
4181  def __ne__(self, *args):
4182  """
4183  __ne__(Diffusion self, Diffusion o) -> bool
4184  __ne__(Diffusion self, Particle d) -> bool
4185  """
4186  return _IMP_atom.Diffusion___ne__(self, *args)
4187 
4188 
4189  def __le__(self, *args):
4190  """
4191  __le__(Diffusion self, Diffusion o) -> bool
4192  __le__(Diffusion self, Particle d) -> bool
4193  """
4194  return _IMP_atom.Diffusion___le__(self, *args)
4195 
4196 
4197  def __lt__(self, *args):
4198  """
4199  __lt__(Diffusion self, Diffusion o) -> bool
4200  __lt__(Diffusion self, Particle d) -> bool
4201  """
4202  return _IMP_atom.Diffusion___lt__(self, *args)
4203 
4204 
4205  def __ge__(self, *args):
4206  """
4207  __ge__(Diffusion self, Diffusion o) -> bool
4208  __ge__(Diffusion self, Particle d) -> bool
4209  """
4210  return _IMP_atom.Diffusion___ge__(self, *args)
4211 
4212 
4213  def __gt__(self, *args):
4214  """
4215  __gt__(Diffusion self, Diffusion o) -> bool
4216  __gt__(Diffusion self, Particle d) -> bool
4217  """
4218  return _IMP_atom.Diffusion___gt__(self, *args)
4219 
4220 
4221  def __hash__(self):
4222  """__hash__(Diffusion self) -> std::size_t"""
4223  return _IMP_atom.Diffusion___hash__(self)
4224 
4225 
4226  def __str__(self):
4227  """__str__(Diffusion self) -> std::string"""
4228  return _IMP_atom.Diffusion___str__(self)
4229 
4230 
4231  def __repr__(self):
4232  """__repr__(Diffusion self) -> std::string"""
4233  return _IMP_atom.Diffusion___repr__(self)
4234 
4235  __swig_destroy__ = _IMP_atom.delete_Diffusion
4236  __del__ = lambda self: None
4237 Diffusion_swigregister = _IMP_atom.Diffusion_swigregister
4238 Diffusion_swigregister(Diffusion)
4239 
4240 def Diffusion_setup_particle(*args):
4241  """
4242  setup_particle(Model m, ParticleIndex pi, IMP::Float D) -> Diffusion
4243  setup_particle(_ParticleAdaptor decorator, IMP::Float D) -> Diffusion
4244  setup_particle(Model m, ParticleIndex pi, Vector3D v, IMP::Float D) -> Diffusion
4245  setup_particle(_ParticleAdaptor decorator, Vector3D v, IMP::Float D) -> Diffusion
4246  setup_particle(Model m, ParticleIndex pi) -> Diffusion
4247  Diffusion_setup_particle(_ParticleAdaptor decorator) -> Diffusion
4248  """
4249  return _IMP_atom.Diffusion_setup_particle(*args)
4250 
4251 def Diffusion_get_is_setup(*args):
4252  """
4253  get_is_setup(_ParticleAdaptor p) -> bool
4254  Diffusion_get_is_setup(Model m, ParticleIndex p) -> bool
4255  """
4256  return _IMP_atom.Diffusion_get_is_setup(*args)
4257 
4258 def Diffusion_get_diffusion_coefficient_key():
4259  """Diffusion_get_diffusion_coefficient_key() -> FloatKey"""
4260  return _IMP_atom.Diffusion_get_diffusion_coefficient_key()
4261 
4262 
4263 def get_diffusion_coefficient_from_cm2_per_second(din):
4264  """get_diffusion_coefficient_from_cm2_per_second(double din) -> double"""
4265  return _IMP_atom.get_diffusion_coefficient_from_cm2_per_second(din)
4266 class RigidBodyDiffusion(Diffusion):
4267  """Proxy of C++ IMP::atom::RigidBodyDiffusion class"""
4268  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4269 
4270  def __init__(self, *args):
4271  """
4272  __init__(IMP::atom::RigidBodyDiffusion self) -> RigidBodyDiffusion
4273  __init__(IMP::atom::RigidBodyDiffusion self, Model m, ParticleIndex id) -> RigidBodyDiffusion
4274  __init__(IMP::atom::RigidBodyDiffusion self, _ParticleAdaptor d) -> RigidBodyDiffusion
4275  """
4276  this = _IMP_atom.new_RigidBodyDiffusion(*args)
4277  try:
4278  self.this.append(this)
4279  except:
4280  self.this = this
4281 
4282  def show(self, *args):
4283  """
4284  show(RigidBodyDiffusion self, _ostream out)
4285  show(RigidBodyDiffusion self)
4286  """
4287  return _IMP_atom.RigidBodyDiffusion_show(self, *args)
4288 
4289 
4290  def setup_particle(*args):
4291  """
4292  setup_particle(Model m, ParticleIndex pi) -> RigidBodyDiffusion
4293  setup_particle(_ParticleAdaptor decorator) -> RigidBodyDiffusion
4294  """
4295  return _IMP_atom.RigidBodyDiffusion_setup_particle(*args)
4296 
4297  setup_particle = staticmethod(setup_particle)
4298 
4300  """get_rotational_diffusion_coefficient(RigidBodyDiffusion self) -> double"""
4301  return _IMP_atom.RigidBodyDiffusion_get_rotational_diffusion_coefficient(self)
4302 
4303 
4304  def set_rotational_diffusion_coefficient(self, d):
4305  """set_rotational_diffusion_coefficient(RigidBodyDiffusion self, double d)"""
4306  return _IMP_atom.RigidBodyDiffusion_set_rotational_diffusion_coefficient(self, d)
4307 
4308 
4309  def get_is_setup(*args):
4310  """
4311  get_is_setup(_ParticleAdaptor p) -> bool
4312  get_is_setup(Model m, ParticleIndex p) -> bool
4313  """
4314  return _IMP_atom.RigidBodyDiffusion_get_is_setup(*args)
4315 
4316  get_is_setup = staticmethod(get_is_setup)
4317 
4318  def get_rotational_diffusion_coefficient_key():
4319  """get_rotational_diffusion_coefficient_key() -> FloatKey"""
4320  return _IMP_atom.RigidBodyDiffusion_get_rotational_diffusion_coefficient_key()
4321 
4322  get_rotational_diffusion_coefficient_key = staticmethod(get_rotational_diffusion_coefficient_key)
4323 
4324  def add_attribute(self, *args):
4325  """
4326  add_attribute(RigidBodyDiffusion self, FloatKey k, IMP::Float v, bool opt)
4327  add_attribute(RigidBodyDiffusion self, FloatKey a0, IMP::Float a1)
4328  add_attribute(RigidBodyDiffusion self, IntKey a0, IMP::Int a1)
4329  add_attribute(RigidBodyDiffusion self, FloatsKey a0, IMP::Floats a1)
4330  add_attribute(RigidBodyDiffusion self, IntsKey a0, IMP::Ints a1)
4331  add_attribute(RigidBodyDiffusion self, StringKey a0, IMP::String a1)
4332  add_attribute(RigidBodyDiffusion self, ParticleIndexKey a0, Particle a1)
4333  add_attribute(RigidBodyDiffusion self, ObjectKey a0, Object a1)
4334  """
4335  return _IMP_atom.RigidBodyDiffusion_add_attribute(self, *args)
4336 
4337 
4338  def get_value(self, *args):
4339  """
4340  get_value(RigidBodyDiffusion self, FloatKey a0) -> IMP::Float
4341  get_value(RigidBodyDiffusion self, IntKey a0) -> IMP::Int
4342  get_value(RigidBodyDiffusion self, FloatsKey a0) -> IMP::Floats
4343  get_value(RigidBodyDiffusion self, IntsKey a0) -> IMP::Ints
4344  get_value(RigidBodyDiffusion self, StringKey a0) -> IMP::String
4345  get_value(RigidBodyDiffusion self, ParticleIndexKey a0) -> Particle
4346  get_value(RigidBodyDiffusion self, ObjectKey a0) -> Object
4347  """
4348  return _IMP_atom.RigidBodyDiffusion_get_value(self, *args)
4349 
4350 
4351  def set_value(self, *args):
4352  """
4353  set_value(RigidBodyDiffusion self, FloatKey a0, IMP::Float a1)
4354  set_value(RigidBodyDiffusion self, IntKey a0, IMP::Int a1)
4355  set_value(RigidBodyDiffusion self, FloatsKey a0, IMP::Floats a1)
4356  set_value(RigidBodyDiffusion self, IntsKey a0, IMP::Ints a1)
4357  set_value(RigidBodyDiffusion self, StringKey a0, IMP::String a1)
4358  set_value(RigidBodyDiffusion self, ParticleIndexKey a0, Particle a1)
4359  set_value(RigidBodyDiffusion self, ObjectKey a0, Object a1)
4360  """
4361  return _IMP_atom.RigidBodyDiffusion_set_value(self, *args)
4362 
4363 
4364  def remove_attribute(self, *args):
4365  """
4366  remove_attribute(RigidBodyDiffusion self, FloatKey a0)
4367  remove_attribute(RigidBodyDiffusion self, IntKey a0)
4368  remove_attribute(RigidBodyDiffusion self, FloatsKey a0)
4369  remove_attribute(RigidBodyDiffusion self, IntsKey a0)
4370  remove_attribute(RigidBodyDiffusion self, StringKey a0)
4371  remove_attribute(RigidBodyDiffusion self, ParticleIndexKey a0)
4372  remove_attribute(RigidBodyDiffusion self, ObjectKey a0)
4373  """
4374  return _IMP_atom.RigidBodyDiffusion_remove_attribute(self, *args)
4375 
4376 
4377  def has_attribute(self, *args):
4378  """
4379  has_attribute(RigidBodyDiffusion self, FloatKey a0) -> bool
4380  has_attribute(RigidBodyDiffusion self, IntKey a0) -> bool
4381  has_attribute(RigidBodyDiffusion self, FloatsKey a0) -> bool
4382  has_attribute(RigidBodyDiffusion self, IntsKey a0) -> bool
4383  has_attribute(RigidBodyDiffusion self, StringKey a0) -> bool
4384  has_attribute(RigidBodyDiffusion self, ParticleIndexKey a0) -> bool
4385  has_attribute(RigidBodyDiffusion self, ObjectKey a0) -> bool
4386  """
4387  return _IMP_atom.RigidBodyDiffusion_has_attribute(self, *args)
4388 
4389 
4390  def get_derivative(self, a0):
4391  """get_derivative(RigidBodyDiffusion self, FloatKey a0) -> double"""
4392  return _IMP_atom.RigidBodyDiffusion_get_derivative(self, a0)
4393 
4394 
4395  def get_name(self):
4396  """get_name(RigidBodyDiffusion self) -> std::string"""
4397  return _IMP_atom.RigidBodyDiffusion_get_name(self)
4398 
4399 
4400  def clear_caches(self):
4401  """clear_caches(RigidBodyDiffusion self)"""
4402  return _IMP_atom.RigidBodyDiffusion_clear_caches(self)
4403 
4404 
4405  def set_name(self, a0):
4406  """set_name(RigidBodyDiffusion self, std::string a0)"""
4407  return _IMP_atom.RigidBodyDiffusion_set_name(self, a0)
4408 
4409 
4410  def set_check_level(self, a0):
4411  """set_check_level(RigidBodyDiffusion self, IMP::CheckLevel a0)"""
4412  return _IMP_atom.RigidBodyDiffusion_set_check_level(self, a0)
4413 
4414 
4415  def add_to_derivative(self, a0, a1, a2):
4416  """add_to_derivative(RigidBodyDiffusion self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
4417  return _IMP_atom.RigidBodyDiffusion_add_to_derivative(self, a0, a1, a2)
4418 
4419 
4420  def set_is_optimized(self, a0, a1):
4421  """set_is_optimized(RigidBodyDiffusion self, FloatKey a0, bool a1)"""
4422  return _IMP_atom.RigidBodyDiffusion_set_is_optimized(self, a0, a1)
4423 
4424 
4425  def get_is_optimized(self, a0):
4426  """get_is_optimized(RigidBodyDiffusion self, FloatKey a0) -> bool"""
4427  return _IMP_atom.RigidBodyDiffusion_get_is_optimized(self, a0)
4428 
4429 
4430  def get_check_level(self):
4431  """get_check_level(RigidBodyDiffusion self) -> IMP::CheckLevel"""
4432  return _IMP_atom.RigidBodyDiffusion_get_check_level(self)
4433 
4434 
4435  def __eq__(self, *args):
4436  """
4437  __eq__(RigidBodyDiffusion self, RigidBodyDiffusion o) -> bool
4438  __eq__(RigidBodyDiffusion self, Particle d) -> bool
4439  """
4440  return _IMP_atom.RigidBodyDiffusion___eq__(self, *args)
4441 
4442 
4443  def __ne__(self, *args):
4444  """
4445  __ne__(RigidBodyDiffusion self, RigidBodyDiffusion o) -> bool
4446  __ne__(RigidBodyDiffusion self, Particle d) -> bool
4447  """
4448  return _IMP_atom.RigidBodyDiffusion___ne__(self, *args)
4449 
4450 
4451  def __le__(self, *args):
4452  """
4453  __le__(RigidBodyDiffusion self, RigidBodyDiffusion o) -> bool
4454  __le__(RigidBodyDiffusion self, Particle d) -> bool
4455  """
4456  return _IMP_atom.RigidBodyDiffusion___le__(self, *args)
4457 
4458 
4459  def __lt__(self, *args):
4460  """
4461  __lt__(RigidBodyDiffusion self, RigidBodyDiffusion o) -> bool
4462  __lt__(RigidBodyDiffusion self, Particle d) -> bool
4463  """
4464  return _IMP_atom.RigidBodyDiffusion___lt__(self, *args)
4465 
4466 
4467  def __ge__(self, *args):
4468  """
4469  __ge__(RigidBodyDiffusion self, RigidBodyDiffusion o) -> bool
4470  __ge__(RigidBodyDiffusion self, Particle d) -> bool
4471  """
4472  return _IMP_atom.RigidBodyDiffusion___ge__(self, *args)
4473 
4474 
4475  def __gt__(self, *args):
4476  """
4477  __gt__(RigidBodyDiffusion self, RigidBodyDiffusion o) -> bool
4478  __gt__(RigidBodyDiffusion self, Particle d) -> bool
4479  """
4480  return _IMP_atom.RigidBodyDiffusion___gt__(self, *args)
4481 
4482 
4483  def __hash__(self):
4484  """__hash__(RigidBodyDiffusion self) -> std::size_t"""
4485  return _IMP_atom.RigidBodyDiffusion___hash__(self)
4486 
4487 
4488  def __str__(self):
4489  """__str__(RigidBodyDiffusion self) -> std::string"""
4490  return _IMP_atom.RigidBodyDiffusion___str__(self)
4491 
4492 
4493  def __repr__(self):
4494  """__repr__(RigidBodyDiffusion self) -> std::string"""
4495  return _IMP_atom.RigidBodyDiffusion___repr__(self)
4496 
4497  __swig_destroy__ = _IMP_atom.delete_RigidBodyDiffusion
4498  __del__ = lambda self: None
4499 RigidBodyDiffusion_swigregister = _IMP_atom.RigidBodyDiffusion_swigregister
4500 RigidBodyDiffusion_swigregister(RigidBodyDiffusion)
4501 
4502 def RigidBodyDiffusion_setup_particle(*args):
4503  """
4504  setup_particle(Model m, ParticleIndex pi) -> RigidBodyDiffusion
4505  RigidBodyDiffusion_setup_particle(_ParticleAdaptor decorator) -> RigidBodyDiffusion
4506  """
4507  return _IMP_atom.RigidBodyDiffusion_setup_particle(*args)
4508 
4509 def RigidBodyDiffusion_get_is_setup(*args):
4510  """
4511  get_is_setup(_ParticleAdaptor p) -> bool
4512  RigidBodyDiffusion_get_is_setup(Model m, ParticleIndex p) -> bool
4513  """
4514  return _IMP_atom.RigidBodyDiffusion_get_is_setup(*args)
4515 
4516 def RigidBodyDiffusion_get_rotational_diffusion_coefficient_key():
4517  """RigidBodyDiffusion_get_rotational_diffusion_coefficient_key() -> FloatKey"""
4518  return _IMP_atom.RigidBodyDiffusion_get_rotational_diffusion_coefficient_key()
4519 
4520 class TAMDParticle(IMP.Decorator):
4521  """Proxy of C++ IMP::atom::TAMDParticle class"""
4522  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4523 
4524  def __init__(self, *args):
4525  """
4526  __init__(IMP::atom::TAMDParticle self) -> TAMDParticle
4527  __init__(IMP::atom::TAMDParticle self, Model m, ParticleIndex id) -> TAMDParticle
4528  __init__(IMP::atom::TAMDParticle self, _ParticleAdaptor d) -> TAMDParticle
4529  """
4530  this = _IMP_atom.new_TAMDParticle(*args)
4531  try:
4532  self.this.append(this)
4533  except:
4534  self.this = this
4535 
4536  def show(self, *args):
4537  """
4538  show(TAMDParticle self, _ostream out)
4539  show(TAMDParticle self)
4540  """
4541  return _IMP_atom.TAMDParticle_show(self, *args)
4542 
4543 
4544  def setup_particle(*args):
4545  """
4546  setup_particle(Model m, ParticleIndex pi, ParticleIndex pi_ref, IMP::Float tsf, IMP::Float fsf) -> TAMDParticle
4547  setup_particle(_ParticleAdaptor decorator, ParticleIndex pi_ref, IMP::Float tsf, IMP::Float fsf) -> TAMDParticle
4548  setup_particle(Model m, ParticleIndex pi, Particle p_ref, IMP::Float tsf, IMP::Float fsf) -> TAMDParticle
4549  setup_particle(_ParticleAdaptor decorator, Particle p_ref, IMP::Float tsf, IMP::Float fsf) -> TAMDParticle
4550  """
4551  return _IMP_atom.TAMDParticle_setup_particle(*args)
4552 
4553  setup_particle = staticmethod(setup_particle)
4554 
4555  def get_is_setup(*args):
4556  """
4557  get_is_setup(_ParticleAdaptor p) -> bool
4558  get_is_setup(Model m, ParticleIndex p) -> bool
4559  """
4560  return _IMP_atom.TAMDParticle_get_is_setup(*args)
4561 
4562  get_is_setup = staticmethod(get_is_setup)
4563 
4564  def get_reference_particle_index(self):
4565  """get_reference_particle_index(TAMDParticle self) -> ParticleIndex"""
4566  return _IMP_atom.TAMDParticle_get_reference_particle_index(self)
4567 
4568 
4569  def set_temperature_scale_factor(self, tsf):
4570  """set_temperature_scale_factor(TAMDParticle self, float tsf)"""
4571  return _IMP_atom.TAMDParticle_set_temperature_scale_factor(self, tsf)
4572 
4573 
4574  def get_temperature_scale_factor(self):
4575  """get_temperature_scale_factor(TAMDParticle self) -> double"""
4576  return _IMP_atom.TAMDParticle_get_temperature_scale_factor(self)
4577 
4578 
4579  def set_friction_scale_factor(self, tsf):
4580  """set_friction_scale_factor(TAMDParticle self, float tsf)"""
4581  return _IMP_atom.TAMDParticle_set_friction_scale_factor(self, tsf)
4582 
4583 
4584  def get_friction_scale_factor(self):
4585  """get_friction_scale_factor(TAMDParticle self) -> double"""
4586  return _IMP_atom.TAMDParticle_get_friction_scale_factor(self)
4587 
4588 
4589  def update_coordinates_from_ref(self):
4590  """update_coordinates_from_ref(TAMDParticle self)"""
4591  return _IMP_atom.TAMDParticle_update_coordinates_from_ref(self)
4592 
4593 
4594  def get_temperature_scale_factor_key():
4595  """get_temperature_scale_factor_key() -> FloatKey"""
4596  return _IMP_atom.TAMDParticle_get_temperature_scale_factor_key()
4597 
4598  get_temperature_scale_factor_key = staticmethod(get_temperature_scale_factor_key)
4599 
4600  def get_friction_scale_factor_key():
4601  """get_friction_scale_factor_key() -> FloatKey"""
4602  return _IMP_atom.TAMDParticle_get_friction_scale_factor_key()
4603 
4604  get_friction_scale_factor_key = staticmethod(get_friction_scale_factor_key)
4605 
4606  def get_reference_particle_index_key():
4607  """get_reference_particle_index_key() -> ParticleIndexKey"""
4608  return _IMP_atom.TAMDParticle_get_reference_particle_index_key()
4609 
4610  get_reference_particle_index_key = staticmethod(get_reference_particle_index_key)
4611 
4612  def add_attribute(self, *args):
4613  """
4614  add_attribute(TAMDParticle self, FloatKey k, IMP::Float v, bool opt)
4615  add_attribute(TAMDParticle self, FloatKey a0, IMP::Float a1)
4616  add_attribute(TAMDParticle self, IntKey a0, IMP::Int a1)
4617  add_attribute(TAMDParticle self, FloatsKey a0, IMP::Floats a1)
4618  add_attribute(TAMDParticle self, IntsKey a0, IMP::Ints a1)
4619  add_attribute(TAMDParticle self, StringKey a0, IMP::String a1)
4620  add_attribute(TAMDParticle self, ParticleIndexKey a0, Particle a1)
4621  add_attribute(TAMDParticle self, ObjectKey a0, Object a1)
4622  """
4623  return _IMP_atom.TAMDParticle_add_attribute(self, *args)
4624 
4625 
4626  def get_value(self, *args):
4627  """
4628  get_value(TAMDParticle self, FloatKey a0) -> IMP::Float
4629  get_value(TAMDParticle self, IntKey a0) -> IMP::Int
4630  get_value(TAMDParticle self, FloatsKey a0) -> IMP::Floats
4631  get_value(TAMDParticle self, IntsKey a0) -> IMP::Ints
4632  get_value(TAMDParticle self, StringKey a0) -> IMP::String
4633  get_value(TAMDParticle self, ParticleIndexKey a0) -> Particle
4634  get_value(TAMDParticle self, ObjectKey a0) -> Object
4635  """
4636  return _IMP_atom.TAMDParticle_get_value(self, *args)
4637 
4638 
4639  def set_value(self, *args):
4640  """
4641  set_value(TAMDParticle self, FloatKey a0, IMP::Float a1)
4642  set_value(TAMDParticle self, IntKey a0, IMP::Int a1)
4643  set_value(TAMDParticle self, FloatsKey a0, IMP::Floats a1)
4644  set_value(TAMDParticle self, IntsKey a0, IMP::Ints a1)
4645  set_value(TAMDParticle self, StringKey a0, IMP::String a1)
4646  set_value(TAMDParticle self, ParticleIndexKey a0, Particle a1)
4647  set_value(TAMDParticle self, ObjectKey a0, Object a1)
4648  """
4649  return _IMP_atom.TAMDParticle_set_value(self, *args)
4650 
4651 
4652  def remove_attribute(self, *args):
4653  """
4654  remove_attribute(TAMDParticle self, FloatKey a0)
4655  remove_attribute(TAMDParticle self, IntKey a0)
4656  remove_attribute(TAMDParticle self, FloatsKey a0)
4657  remove_attribute(TAMDParticle self, IntsKey a0)
4658  remove_attribute(TAMDParticle self, StringKey a0)
4659  remove_attribute(TAMDParticle self, ParticleIndexKey a0)
4660  remove_attribute(TAMDParticle self, ObjectKey a0)
4661  """
4662  return _IMP_atom.TAMDParticle_remove_attribute(self, *args)
4663 
4664 
4665  def has_attribute(self, *args):
4666  """
4667  has_attribute(TAMDParticle self, FloatKey a0) -> bool
4668  has_attribute(TAMDParticle self, IntKey a0) -> bool
4669  has_attribute(TAMDParticle self, FloatsKey a0) -> bool
4670  has_attribute(TAMDParticle self, IntsKey a0) -> bool
4671  has_attribute(TAMDParticle self, StringKey a0) -> bool
4672  has_attribute(TAMDParticle self, ParticleIndexKey a0) -> bool
4673  has_attribute(TAMDParticle self, ObjectKey a0) -> bool
4674  """
4675  return _IMP_atom.TAMDParticle_has_attribute(self, *args)
4676 
4677 
4678  def get_derivative(self, a0):
4679  """get_derivative(TAMDParticle self, FloatKey a0) -> double"""
4680  return _IMP_atom.TAMDParticle_get_derivative(self, a0)
4681 
4682 
4683  def get_name(self):
4684  """get_name(TAMDParticle self) -> std::string"""
4685  return _IMP_atom.TAMDParticle_get_name(self)
4686 
4687 
4688  def clear_caches(self):
4689  """clear_caches(TAMDParticle self)"""
4690  return _IMP_atom.TAMDParticle_clear_caches(self)
4691 
4692 
4693  def set_name(self, a0):
4694  """set_name(TAMDParticle self, std::string a0)"""
4695  return _IMP_atom.TAMDParticle_set_name(self, a0)
4696 
4697 
4698  def set_check_level(self, a0):
4699  """set_check_level(TAMDParticle self, IMP::CheckLevel a0)"""
4700  return _IMP_atom.TAMDParticle_set_check_level(self, a0)
4701 
4702 
4703  def add_to_derivative(self, a0, a1, a2):
4704  """add_to_derivative(TAMDParticle self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
4705  return _IMP_atom.TAMDParticle_add_to_derivative(self, a0, a1, a2)
4706 
4707 
4708  def set_is_optimized(self, a0, a1):
4709  """set_is_optimized(TAMDParticle self, FloatKey a0, bool a1)"""
4710  return _IMP_atom.TAMDParticle_set_is_optimized(self, a0, a1)
4711 
4712 
4713  def get_is_optimized(self, a0):
4714  """get_is_optimized(TAMDParticle self, FloatKey a0) -> bool"""
4715  return _IMP_atom.TAMDParticle_get_is_optimized(self, a0)
4716 
4717 
4718  def get_check_level(self):
4719  """get_check_level(TAMDParticle self) -> IMP::CheckLevel"""
4720  return _IMP_atom.TAMDParticle_get_check_level(self)
4721 
4722 
4723  def __eq__(self, *args):
4724  """
4725  __eq__(TAMDParticle self, TAMDParticle o) -> bool
4726  __eq__(TAMDParticle self, Particle d) -> bool
4727  """
4728  return _IMP_atom.TAMDParticle___eq__(self, *args)
4729 
4730 
4731  def __ne__(self, *args):
4732  """
4733  __ne__(TAMDParticle self, TAMDParticle o) -> bool
4734  __ne__(TAMDParticle self, Particle d) -> bool
4735  """
4736  return _IMP_atom.TAMDParticle___ne__(self, *args)
4737 
4738 
4739  def __le__(self, *args):
4740  """
4741  __le__(TAMDParticle self, TAMDParticle o) -> bool
4742  __le__(TAMDParticle self, Particle d) -> bool
4743  """
4744  return _IMP_atom.TAMDParticle___le__(self, *args)
4745 
4746 
4747  def __lt__(self, *args):
4748  """
4749  __lt__(TAMDParticle self, TAMDParticle o) -> bool
4750  __lt__(TAMDParticle self, Particle d) -> bool
4751  """
4752  return _IMP_atom.TAMDParticle___lt__(self, *args)
4753 
4754 
4755  def __ge__(self, *args):
4756  """
4757  __ge__(TAMDParticle self, TAMDParticle o) -> bool
4758  __ge__(TAMDParticle self, Particle d) -> bool
4759  """
4760  return _IMP_atom.TAMDParticle___ge__(self, *args)
4761 
4762 
4763  def __gt__(self, *args):
4764  """
4765  __gt__(TAMDParticle self, TAMDParticle o) -> bool
4766  __gt__(TAMDParticle self, Particle d) -> bool
4767  """
4768  return _IMP_atom.TAMDParticle___gt__(self, *args)
4769 
4770 
4771  def __hash__(self):
4772  """__hash__(TAMDParticle self) -> std::size_t"""
4773  return _IMP_atom.TAMDParticle___hash__(self)
4774 
4775 
4776  def __str__(self):
4777  """__str__(TAMDParticle self) -> std::string"""
4778  return _IMP_atom.TAMDParticle___str__(self)
4779 
4780 
4781  def __repr__(self):
4782  """__repr__(TAMDParticle self) -> std::string"""
4783  return _IMP_atom.TAMDParticle___repr__(self)
4784 
4785  __swig_destroy__ = _IMP_atom.delete_TAMDParticle
4786  __del__ = lambda self: None
4787 TAMDParticle_swigregister = _IMP_atom.TAMDParticle_swigregister
4788 TAMDParticle_swigregister(TAMDParticle)
4789 
4790 def TAMDParticle_setup_particle(*args):
4791  """
4792  setup_particle(Model m, ParticleIndex pi, ParticleIndex pi_ref, IMP::Float tsf, IMP::Float fsf) -> TAMDParticle
4793  setup_particle(_ParticleAdaptor decorator, ParticleIndex pi_ref, IMP::Float tsf, IMP::Float fsf) -> TAMDParticle
4794  setup_particle(Model m, ParticleIndex pi, Particle p_ref, IMP::Float tsf, IMP::Float fsf) -> TAMDParticle
4795  TAMDParticle_setup_particle(_ParticleAdaptor decorator, Particle p_ref, IMP::Float tsf, IMP::Float fsf) -> TAMDParticle
4796  """
4797  return _IMP_atom.TAMDParticle_setup_particle(*args)
4798 
4799 def TAMDParticle_get_is_setup(*args):
4800  """
4801  get_is_setup(_ParticleAdaptor p) -> bool
4802  TAMDParticle_get_is_setup(Model m, ParticleIndex p) -> bool
4803  """
4804  return _IMP_atom.TAMDParticle_get_is_setup(*args)
4805 
4806 def TAMDParticle_get_temperature_scale_factor_key():
4807  """TAMDParticle_get_temperature_scale_factor_key() -> FloatKey"""
4808  return _IMP_atom.TAMDParticle_get_temperature_scale_factor_key()
4809 
4810 def TAMDParticle_get_friction_scale_factor_key():
4811  """TAMDParticle_get_friction_scale_factor_key() -> FloatKey"""
4812  return _IMP_atom.TAMDParticle_get_friction_scale_factor_key()
4813 
4814 def TAMDParticle_get_reference_particle_index_key():
4815  """TAMDParticle_get_reference_particle_index_key() -> ParticleIndexKey"""
4816  return _IMP_atom.TAMDParticle_get_reference_particle_index_key()
4817 
4818 class Chain(Hierarchy):
4819  """Proxy of C++ IMP::atom::Chain class"""
4820  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
4821 
4822  def __init__(self, *args):
4823  """
4824  __init__(IMP::atom::Chain self) -> Chain
4825  __init__(IMP::atom::Chain self, Model m, ParticleIndex id) -> Chain
4826  __init__(IMP::atom::Chain self, _ParticleAdaptor d) -> Chain
4827  """
4828  this = _IMP_atom.new_Chain(*args)
4829  try:
4830  self.this.append(this)
4831  except:
4832  self.this = this
4833 
4834  def show(self, *args):
4835  """
4836  show(Chain self, _ostream out)
4837  show(Chain self)
4838  """
4839  return _IMP_atom.Chain_show(self, *args)
4840 
4841 
4842  def setup_particle(*args):
4843  """
4844  setup_particle(Model m, ParticleIndex pi, std::string id) -> Chain
4845  setup_particle(_ParticleAdaptor decorator, std::string id) -> Chain
4846  setup_particle(Model m, ParticleIndex pi, char id) -> Chain
4847  setup_particle(_ParticleAdaptor decorator, char id) -> Chain
4848  setup_particle(Model m, ParticleIndex pi, Chain other) -> Chain
4849  setup_particle(_ParticleAdaptor decorator, Chain other) -> Chain
4850  """
4851  return _IMP_atom.Chain_setup_particle(*args)
4852 
4853  setup_particle = staticmethod(setup_particle)
4854 
4855  def get_is_setup(*args):
4856  """
4857  get_is_setup(_ParticleAdaptor p) -> bool
4858  get_is_setup(Model m, ParticleIndex pi) -> bool
4859  """
4860  return _IMP_atom.Chain_get_is_setup(*args)
4861 
4862  get_is_setup = staticmethod(get_is_setup)
4863 
4864  def get_id(self):
4865  """get_id(Chain self) -> std::string"""
4866  return _IMP_atom.Chain_get_id(self)
4867 
4868 
4869  def set_id(self, c):
4870  """set_id(Chain self, std::string c)"""
4871  return _IMP_atom.Chain_set_id(self, c)
4872 
4873 
4874  def get_sequence(self):
4875  """get_sequence(Chain self) -> std::string"""
4876  return _IMP_atom.Chain_get_sequence(self)
4877 
4878 
4879  def set_sequence(self, sequence):
4880  """set_sequence(Chain self, std::string sequence)"""
4881  return _IMP_atom.Chain_set_sequence(self, sequence)
4882 
4883 
4884  def get_chain_type(self):
4885  """get_chain_type(Chain self) -> ChainType"""
4886  return _IMP_atom.Chain_get_chain_type(self)
4887 
4888 
4889  def set_chain_type(self, t):
4890  """set_chain_type(Chain self, ChainType t)"""
4891  return _IMP_atom.Chain_set_chain_type(self, t)
4892 
4893 
4894  def get_id_key():
4895  """get_id_key() -> StringKey"""
4896  return _IMP_atom.Chain_get_id_key()
4897 
4898  get_id_key = staticmethod(get_id_key)
4899 
4900  def get_sequence_key():
4901  """get_sequence_key() -> StringKey"""
4902  return _IMP_atom.Chain_get_sequence_key()
4903 
4904  get_sequence_key = staticmethod(get_sequence_key)
4905 
4906  def get_chain_type_key():
4907  """get_chain_type_key() -> IntKey"""
4908  return _IMP_atom.Chain_get_chain_type_key()
4909 
4910  get_chain_type_key = staticmethod(get_chain_type_key)
4911 
4912  def add_attribute(self, *args):
4913  """
4914  add_attribute(Chain self, FloatKey k, IMP::Float v, bool opt)
4915  add_attribute(Chain self, FloatKey a0, IMP::Float a1)
4916  add_attribute(Chain self, IntKey a0, IMP::Int a1)
4917  add_attribute(Chain self, FloatsKey a0, IMP::Floats a1)
4918  add_attribute(Chain self, IntsKey a0, IMP::Ints a1)
4919  add_attribute(Chain self, StringKey a0, IMP::String a1)
4920  add_attribute(Chain self, ParticleIndexKey a0, Particle a1)
4921  add_attribute(Chain self, ObjectKey a0, Object a1)
4922  """
4923  return _IMP_atom.Chain_add_attribute(self, *args)
4924 
4925 
4926  def get_value(self, *args):
4927  """
4928  get_value(Chain self, FloatKey a0) -> IMP::Float
4929  get_value(Chain self, IntKey a0) -> IMP::Int
4930  get_value(Chain self, FloatsKey a0) -> IMP::Floats
4931  get_value(Chain self, IntsKey a0) -> IMP::Ints
4932  get_value(Chain self, StringKey a0) -> IMP::String
4933  get_value(Chain self, ParticleIndexKey a0) -> Particle
4934  get_value(Chain self, ObjectKey a0) -> Object
4935  """
4936  return _IMP_atom.Chain_get_value(self, *args)
4937 
4938 
4939  def set_value(self, *args):
4940  """
4941  set_value(Chain self, FloatKey a0, IMP::Float a1)
4942  set_value(Chain self, IntKey a0, IMP::Int a1)
4943  set_value(Chain self, FloatsKey a0, IMP::Floats a1)
4944  set_value(Chain self, IntsKey a0, IMP::Ints a1)
4945  set_value(Chain self, StringKey a0, IMP::String a1)
4946  set_value(Chain self, ParticleIndexKey a0, Particle a1)
4947  set_value(Chain self, ObjectKey a0, Object a1)
4948  """
4949  return _IMP_atom.Chain_set_value(self, *args)
4950 
4951 
4952  def remove_attribute(self, *args):
4953  """
4954  remove_attribute(Chain self, FloatKey a0)
4955  remove_attribute(Chain self, IntKey a0)
4956  remove_attribute(Chain self, FloatsKey a0)
4957  remove_attribute(Chain self, IntsKey a0)
4958  remove_attribute(Chain self, StringKey a0)
4959  remove_attribute(Chain self, ParticleIndexKey a0)
4960  remove_attribute(Chain self, ObjectKey a0)
4961  """
4962  return _IMP_atom.Chain_remove_attribute(self, *args)
4963 
4964 
4965  def has_attribute(self, *args):
4966  """
4967  has_attribute(Chain self, FloatKey a0) -> bool
4968  has_attribute(Chain self, IntKey a0) -> bool
4969  has_attribute(Chain self, FloatsKey a0) -> bool
4970  has_attribute(Chain self, IntsKey a0) -> bool
4971  has_attribute(Chain self, StringKey a0) -> bool
4972  has_attribute(Chain self, ParticleIndexKey a0) -> bool
4973  has_attribute(Chain self, ObjectKey a0) -> bool
4974  """
4975  return _IMP_atom.Chain_has_attribute(self, *args)
4976 
4977 
4978  def get_derivative(self, a0):
4979  """get_derivative(Chain self, FloatKey a0) -> double"""
4980  return _IMP_atom.Chain_get_derivative(self, a0)
4981 
4982 
4983  def get_name(self):
4984  """get_name(Chain self) -> std::string"""
4985  return _IMP_atom.Chain_get_name(self)
4986 
4987 
4988  def clear_caches(self):
4989  """clear_caches(Chain self)"""
4990  return _IMP_atom.Chain_clear_caches(self)
4991 
4992 
4993  def set_name(self, a0):
4994  """set_name(Chain self, std::string a0)"""
4995  return _IMP_atom.Chain_set_name(self, a0)
4996 
4997 
4998  def set_check_level(self, a0):
4999  """set_check_level(Chain self, IMP::CheckLevel a0)"""
5000  return _IMP_atom.Chain_set_check_level(self, a0)
5001 
5002 
5003  def add_to_derivative(self, a0, a1, a2):
5004  """add_to_derivative(Chain self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
5005  return _IMP_atom.Chain_add_to_derivative(self, a0, a1, a2)
5006 
5007 
5008  def set_is_optimized(self, a0, a1):
5009  """set_is_optimized(Chain self, FloatKey a0, bool a1)"""
5010  return _IMP_atom.Chain_set_is_optimized(self, a0, a1)
5011 
5012 
5013  def get_is_optimized(self, a0):
5014  """get_is_optimized(Chain self, FloatKey a0) -> bool"""
5015  return _IMP_atom.Chain_get_is_optimized(self, a0)
5016 
5017 
5018  def get_check_level(self):
5019  """get_check_level(Chain self) -> IMP::CheckLevel"""
5020  return _IMP_atom.Chain_get_check_level(self)
5021 
5022 
5023  def __eq__(self, *args):
5024  """
5025  __eq__(Chain self, Chain o) -> bool
5026  __eq__(Chain self, Particle d) -> bool
5027  """
5028  return _IMP_atom.Chain___eq__(self, *args)
5029 
5030 
5031  def __ne__(self, *args):
5032  """
5033  __ne__(Chain self, Chain o) -> bool
5034  __ne__(Chain self, Particle d) -> bool
5035  """
5036  return _IMP_atom.Chain___ne__(self, *args)
5037 
5038 
5039  def __le__(self, *args):
5040  """
5041  __le__(Chain self, Chain o) -> bool
5042  __le__(Chain self, Particle d) -> bool
5043  """
5044  return _IMP_atom.Chain___le__(self, *args)
5045 
5046 
5047  def __lt__(self, *args):
5048  """
5049  __lt__(Chain self, Chain o) -> bool
5050  __lt__(Chain self, Particle d) -> bool
5051  """
5052  return _IMP_atom.Chain___lt__(self, *args)
5053 
5054 
5055  def __ge__(self, *args):
5056  """
5057  __ge__(Chain self, Chain o) -> bool
5058  __ge__(Chain self, Particle d) -> bool
5059  """
5060  return _IMP_atom.Chain___ge__(self, *args)
5061 
5062 
5063  def __gt__(self, *args):
5064  """
5065  __gt__(Chain self, Chain o) -> bool
5066  __gt__(Chain self, Particle d) -> bool
5067  """
5068  return _IMP_atom.Chain___gt__(self, *args)
5069 
5070 
5071  def __hash__(self):
5072  """__hash__(Chain self) -> std::size_t"""
5073  return _IMP_atom.Chain___hash__(self)
5074 
5075 
5076  def __str__(self):
5077  """__str__(Chain self) -> std::string"""
5078  return _IMP_atom.Chain___str__(self)
5079 
5080 
5081  def __repr__(self):
5082  """__repr__(Chain self) -> std::string"""
5083  return _IMP_atom.Chain___repr__(self)
5084 
5085  __swig_destroy__ = _IMP_atom.delete_Chain
5086  __del__ = lambda self: None
5087 Chain_swigregister = _IMP_atom.Chain_swigregister
5088 Chain_swigregister(Chain)
5089 cvar = _IMP_atom.cvar
5090 UnknownChainType = cvar.UnknownChainType
5091 DPolypeptide = cvar.DPolypeptide
5092 LPolypeptide = cvar.LPolypeptide
5093 Polydeoxyribonucleotide = cvar.Polydeoxyribonucleotide
5094 Polyribonucleotide = cvar.Polyribonucleotide
5095 DPolysaccharide = cvar.DPolysaccharide
5096 LPolysaccharide = cvar.LPolysaccharide
5097 Protein = cvar.Protein
5098 DNA = cvar.DNA
5099 RNA = cvar.RNA
5100 
5101 def Chain_setup_particle(*args):
5102  """
5103  setup_particle(Model m, ParticleIndex pi, std::string id) -> Chain
5104  setup_particle(_ParticleAdaptor decorator, std::string id) -> Chain
5105  setup_particle(Model m, ParticleIndex pi, char id) -> Chain
5106  setup_particle(_ParticleAdaptor decorator, char id) -> Chain
5107  setup_particle(Model m, ParticleIndex pi, Chain other) -> Chain
5108  Chain_setup_particle(_ParticleAdaptor decorator, Chain other) -> Chain
5109  """
5110  return _IMP_atom.Chain_setup_particle(*args)
5111 
5112 def Chain_get_is_setup(*args):
5113  """
5114  get_is_setup(_ParticleAdaptor p) -> bool
5115  Chain_get_is_setup(Model m, ParticleIndex pi) -> bool
5116  """
5117  return _IMP_atom.Chain_get_is_setup(*args)
5118 
5119 def Chain_get_id_key():
5120  """Chain_get_id_key() -> StringKey"""
5121  return _IMP_atom.Chain_get_id_key()
5122 
5123 def Chain_get_sequence_key():
5124  """Chain_get_sequence_key() -> StringKey"""
5125  return _IMP_atom.Chain_get_sequence_key()
5126 
5127 def Chain_get_chain_type_key():
5128  """Chain_get_chain_type_key() -> IntKey"""
5129  return _IMP_atom.Chain_get_chain_type_key()
5130 
5131 
5132 def get_chain(h):
5133  """get_chain(Hierarchy h) -> Chain"""
5134  return _IMP_atom.get_chain(h)
5135 
5136 def get_chain_id(h):
5137  """get_chain_id(Hierarchy h) -> std::string"""
5138  return _IMP_atom.get_chain_id(h)
5139 class Charged(IMP.core.XYZ):
5140  """Proxy of C++ IMP::atom::Charged class"""
5141  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5142 
5143  def __init__(self, *args):
5144  """
5145  __init__(IMP::atom::Charged self) -> Charged
5146  __init__(IMP::atom::Charged self, Model m, ParticleIndex id) -> Charged
5147  __init__(IMP::atom::Charged self, _ParticleAdaptor d) -> Charged
5148  """
5149  this = _IMP_atom.new_Charged(*args)
5150  try:
5151  self.this.append(this)
5152  except:
5153  self.this = this
5154 
5155  def show(self, *args):
5156  """
5157  show(Charged self, _ostream out)
5158  show(Charged self)
5159  """
5160  return _IMP_atom.Charged_show(self, *args)
5161 
5162 
5163  def setup_particle(*args):
5164  """
5165  setup_particle(Model m, ParticleIndex pi, IMP::Float charge) -> Charged
5166  setup_particle(_ParticleAdaptor decorator, IMP::Float charge) -> Charged
5167  setup_particle(Model m, ParticleIndex pi, Vector3D v, IMP::Float charge) -> Charged
5168  setup_particle(_ParticleAdaptor decorator, Vector3D v, IMP::Float charge) -> Charged
5169  """
5170  return _IMP_atom.Charged_setup_particle(*args)
5171 
5172  setup_particle = staticmethod(setup_particle)
5173 
5174  def get_charge(self):
5175  """get_charge(Charged self) -> IMP::Float"""
5176  return _IMP_atom.Charged_get_charge(self)
5177 
5178 
5179  def set_charge(self, t):
5180  """set_charge(Charged self, IMP::Float t)"""
5181  return _IMP_atom.Charged_set_charge(self, t)
5182 
5183 
5184  def get_is_setup(*args):
5185  """
5186  get_is_setup(_ParticleAdaptor p) -> bool
5187  get_is_setup(Model m, ParticleIndex pi) -> bool
5188  """
5189  return _IMP_atom.Charged_get_is_setup(*args)
5190 
5191  get_is_setup = staticmethod(get_is_setup)
5192 
5193  def get_charge_key():
5194  """get_charge_key() -> FloatKey"""
5195  return _IMP_atom.Charged_get_charge_key()
5196 
5197  get_charge_key = staticmethod(get_charge_key)
5198 
5199  def add_attribute(self, *args):
5200  """
5201  add_attribute(Charged self, FloatKey k, IMP::Float v, bool opt)
5202  add_attribute(Charged self, FloatKey a0, IMP::Float a1)
5203  add_attribute(Charged self, IntKey a0, IMP::Int a1)
5204  add_attribute(Charged self, FloatsKey a0, IMP::Floats a1)
5205  add_attribute(Charged self, IntsKey a0, IMP::Ints a1)
5206  add_attribute(Charged self, StringKey a0, IMP::String a1)
5207  add_attribute(Charged self, ParticleIndexKey a0, Particle a1)
5208  add_attribute(Charged self, ObjectKey a0, Object a1)
5209  """
5210  return _IMP_atom.Charged_add_attribute(self, *args)
5211 
5212 
5213  def get_value(self, *args):
5214  """
5215  get_value(Charged self, FloatKey a0) -> IMP::Float
5216  get_value(Charged self, IntKey a0) -> IMP::Int
5217  get_value(Charged self, FloatsKey a0) -> IMP::Floats
5218  get_value(Charged self, IntsKey a0) -> IMP::Ints
5219  get_value(Charged self, StringKey a0) -> IMP::String
5220  get_value(Charged self, ParticleIndexKey a0) -> Particle
5221  get_value(Charged self, ObjectKey a0) -> Object
5222  """
5223  return _IMP_atom.Charged_get_value(self, *args)
5224 
5225 
5226  def set_value(self, *args):
5227  """
5228  set_value(Charged self, FloatKey a0, IMP::Float a1)
5229  set_value(Charged self, IntKey a0, IMP::Int a1)
5230  set_value(Charged self, FloatsKey a0, IMP::Floats a1)
5231  set_value(Charged self, IntsKey a0, IMP::Ints a1)
5232  set_value(Charged self, StringKey a0, IMP::String a1)
5233  set_value(Charged self, ParticleIndexKey a0, Particle a1)
5234  set_value(Charged self, ObjectKey a0, Object a1)
5235  """
5236  return _IMP_atom.Charged_set_value(self, *args)
5237 
5238 
5239  def remove_attribute(self, *args):
5240  """
5241  remove_attribute(Charged self, FloatKey a0)
5242  remove_attribute(Charged self, IntKey a0)
5243  remove_attribute(Charged self, FloatsKey a0)
5244  remove_attribute(Charged self, IntsKey a0)
5245  remove_attribute(Charged self, StringKey a0)
5246  remove_attribute(Charged self, ParticleIndexKey a0)
5247  remove_attribute(Charged self, ObjectKey a0)
5248  """
5249  return _IMP_atom.Charged_remove_attribute(self, *args)
5250 
5251 
5252  def has_attribute(self, *args):
5253  """
5254  has_attribute(Charged self, FloatKey a0) -> bool
5255  has_attribute(Charged self, IntKey a0) -> bool
5256  has_attribute(Charged self, FloatsKey a0) -> bool
5257  has_attribute(Charged self, IntsKey a0) -> bool
5258  has_attribute(Charged self, StringKey a0) -> bool
5259  has_attribute(Charged self, ParticleIndexKey a0) -> bool
5260  has_attribute(Charged self, ObjectKey a0) -> bool
5261  """
5262  return _IMP_atom.Charged_has_attribute(self, *args)
5263 
5264 
5265  def get_derivative(self, a0):
5266  """get_derivative(Charged self, FloatKey a0) -> double"""
5267  return _IMP_atom.Charged_get_derivative(self, a0)
5268 
5269 
5270  def get_name(self):
5271  """get_name(Charged self) -> std::string"""
5272  return _IMP_atom.Charged_get_name(self)
5273 
5274 
5275  def clear_caches(self):
5276  """clear_caches(Charged self)"""
5277  return _IMP_atom.Charged_clear_caches(self)
5278 
5279 
5280  def set_name(self, a0):
5281  """set_name(Charged self, std::string a0)"""
5282  return _IMP_atom.Charged_set_name(self, a0)
5283 
5284 
5285  def set_check_level(self, a0):
5286  """set_check_level(Charged self, IMP::CheckLevel a0)"""
5287  return _IMP_atom.Charged_set_check_level(self, a0)
5288 
5289 
5290  def add_to_derivative(self, a0, a1, a2):
5291  """add_to_derivative(Charged self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
5292  return _IMP_atom.Charged_add_to_derivative(self, a0, a1, a2)
5293 
5294 
5295  def set_is_optimized(self, a0, a1):
5296  """set_is_optimized(Charged self, FloatKey a0, bool a1)"""
5297  return _IMP_atom.Charged_set_is_optimized(self, a0, a1)
5298 
5299 
5300  def get_is_optimized(self, a0):
5301  """get_is_optimized(Charged self, FloatKey a0) -> bool"""
5302  return _IMP_atom.Charged_get_is_optimized(self, a0)
5303 
5304 
5305  def get_check_level(self):
5306  """get_check_level(Charged self) -> IMP::CheckLevel"""
5307  return _IMP_atom.Charged_get_check_level(self)
5308 
5309 
5310  def __eq__(self, *args):
5311  """
5312  __eq__(Charged self, Charged o) -> bool
5313  __eq__(Charged self, Particle d) -> bool
5314  """
5315  return _IMP_atom.Charged___eq__(self, *args)
5316 
5317 
5318  def __ne__(self, *args):
5319  """
5320  __ne__(Charged self, Charged o) -> bool
5321  __ne__(Charged self, Particle d) -> bool
5322  """
5323  return _IMP_atom.Charged___ne__(self, *args)
5324 
5325 
5326  def __le__(self, *args):
5327  """
5328  __le__(Charged self, Charged o) -> bool
5329  __le__(Charged self, Particle d) -> bool
5330  """
5331  return _IMP_atom.Charged___le__(self, *args)
5332 
5333 
5334  def __lt__(self, *args):
5335  """
5336  __lt__(Charged self, Charged o) -> bool
5337  __lt__(Charged self, Particle d) -> bool
5338  """
5339  return _IMP_atom.Charged___lt__(self, *args)
5340 
5341 
5342  def __ge__(self, *args):
5343  """
5344  __ge__(Charged self, Charged o) -> bool
5345  __ge__(Charged self, Particle d) -> bool
5346  """
5347  return _IMP_atom.Charged___ge__(self, *args)
5348 
5349 
5350  def __gt__(self, *args):
5351  """
5352  __gt__(Charged self, Charged o) -> bool
5353  __gt__(Charged self, Particle d) -> bool
5354  """
5355  return _IMP_atom.Charged___gt__(self, *args)
5356 
5357 
5358  def __hash__(self):
5359  """__hash__(Charged self) -> std::size_t"""
5360  return _IMP_atom.Charged___hash__(self)
5361 
5362 
5363  def __str__(self):
5364  """__str__(Charged self) -> std::string"""
5365  return _IMP_atom.Charged___str__(self)
5366 
5367 
5368  def __repr__(self):
5369  """__repr__(Charged self) -> std::string"""
5370  return _IMP_atom.Charged___repr__(self)
5371 
5372  __swig_destroy__ = _IMP_atom.delete_Charged
5373  __del__ = lambda self: None
5374 Charged_swigregister = _IMP_atom.Charged_swigregister
5375 Charged_swigregister(Charged)
5376 
5377 def Charged_setup_particle(*args):
5378  """
5379  setup_particle(Model m, ParticleIndex pi, IMP::Float charge) -> Charged
5380  setup_particle(_ParticleAdaptor decorator, IMP::Float charge) -> Charged
5381  setup_particle(Model m, ParticleIndex pi, Vector3D v, IMP::Float charge) -> Charged
5382  Charged_setup_particle(_ParticleAdaptor decorator, Vector3D v, IMP::Float charge) -> Charged
5383  """
5384  return _IMP_atom.Charged_setup_particle(*args)
5385 
5386 def Charged_get_is_setup(*args):
5387  """
5388  get_is_setup(_ParticleAdaptor p) -> bool
5389  Charged_get_is_setup(Model m, ParticleIndex pi) -> bool
5390  """
5391  return _IMP_atom.Charged_get_is_setup(*args)
5392 
5393 def Charged_get_charge_key():
5394  """Charged_get_charge_key() -> FloatKey"""
5395  return _IMP_atom.Charged_get_charge_key()
5396 
5397 class CoulombPairScore(IMP.PairScore):
5398  """Proxy of C++ IMP::atom::CoulombPairScore class"""
5399  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5400 
5401  def __init__(self, f):
5402  """__init__(IMP::atom::CoulombPairScore self, SmoothingFunction f) -> CoulombPairScore"""
5403  this = _IMP_atom.new_CoulombPairScore(f)
5404  try:
5405  self.this.append(this)
5406  except:
5407  self.this = this
5408 
5409  def set_relative_dielectric(self, relative_dielectric):
5410  """set_relative_dielectric(CoulombPairScore self, double relative_dielectric)"""
5411  return _IMP_atom.CoulombPairScore_set_relative_dielectric(self, relative_dielectric)
5412 
5413 
5414  def get_relative_dielectric(self):
5415  """get_relative_dielectric(CoulombPairScore self) -> double"""
5416  return _IMP_atom.CoulombPairScore_get_relative_dielectric(self)
5417 
5418 
5419  def do_get_inputs(self, m, pis):
5420  """do_get_inputs(CoulombPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5421  return _IMP_atom.CoulombPairScore_do_get_inputs(self, m, pis)
5422 
5423 
5424  def get_version_info(self):
5425  """get_version_info(CoulombPairScore self) -> VersionInfo"""
5426  return _IMP_atom.CoulombPairScore_get_version_info(self)
5427 
5428 
5429  def __str__(self):
5430  """__str__(CoulombPairScore self) -> std::string"""
5431  return _IMP_atom.CoulombPairScore___str__(self)
5432 
5433 
5434  def __repr__(self):
5435  """__repr__(CoulombPairScore self) -> std::string"""
5436  return _IMP_atom.CoulombPairScore___repr__(self)
5437 
5438 
5439  @staticmethod
5440  def get_from(o):
5441  return _object_cast_to_CoulombPairScore(o)
5442 
5443 CoulombPairScore_swigregister = _IMP_atom.CoulombPairScore_swigregister
5444 CoulombPairScore_swigregister(CoulombPairScore)
5445 
5446 class Domain(Hierarchy):
5447  """Proxy of C++ IMP::atom::Domain class"""
5448  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5449 
5450  def set_index_range(self, ir):
5451  """set_index_range(Domain self, IMP::IntRange ir)"""
5452  return _IMP_atom.Domain_set_index_range(self, ir)
5453 
5454 
5455  def get_index_range(self):
5456  """get_index_range(Domain self) -> IMP::IntRange"""
5457  return _IMP_atom.Domain_get_index_range(self)
5458 
5459 
5460  def __init__(self, *args):
5461  """
5462  __init__(IMP::atom::Domain self) -> Domain
5463  __init__(IMP::atom::Domain self, Model m, ParticleIndex id) -> Domain
5464  __init__(IMP::atom::Domain self, _ParticleAdaptor d) -> Domain
5465  """
5466  this = _IMP_atom.new_Domain(*args)
5467  try:
5468  self.this.append(this)
5469  except:
5470  self.this = this
5471 
5472  def get_is_setup(*args):
5473  """
5474  get_is_setup(Model m, ParticleIndex pi) -> bool
5475  get_is_setup(_ParticleAdaptor p) -> bool
5476  """
5477  return _IMP_atom.Domain_get_is_setup(*args)
5478 
5479  get_is_setup = staticmethod(get_is_setup)
5480 
5481  def show(self, *args):
5482  """
5483  show(Domain self, _ostream out)
5484  show(Domain self)
5485  """
5486  return _IMP_atom.Domain_show(self, *args)
5487 
5488 
5489  def setup_particle(*args):
5490  """
5491  setup_particle(Model m, ParticleIndex pi, Domain other) -> Domain
5492  setup_particle(_ParticleAdaptor decorator, Domain other) -> Domain
5493  setup_particle(Model m, ParticleIndex pi, IMP::IntRange residues) -> Domain
5494  setup_particle(_ParticleAdaptor decorator, IMP::IntRange residues) -> Domain
5495  """
5496  return _IMP_atom.Domain_setup_particle(*args)
5497 
5498  setup_particle = staticmethod(setup_particle)
5499 
5500  def add_attribute(self, *args):
5501  """
5502  add_attribute(Domain self, FloatKey k, IMP::Float v, bool opt)
5503  add_attribute(Domain self, FloatKey a0, IMP::Float a1)
5504  add_attribute(Domain self, IntKey a0, IMP::Int a1)
5505  add_attribute(Domain self, FloatsKey a0, IMP::Floats a1)
5506  add_attribute(Domain self, IntsKey a0, IMP::Ints a1)
5507  add_attribute(Domain self, StringKey a0, IMP::String a1)
5508  add_attribute(Domain self, ParticleIndexKey a0, Particle a1)
5509  add_attribute(Domain self, ObjectKey a0, Object a1)
5510  """
5511  return _IMP_atom.Domain_add_attribute(self, *args)
5512 
5513 
5514  def get_value(self, *args):
5515  """
5516  get_value(Domain self, FloatKey a0) -> IMP::Float
5517  get_value(Domain self, IntKey a0) -> IMP::Int
5518  get_value(Domain self, FloatsKey a0) -> IMP::Floats
5519  get_value(Domain self, IntsKey a0) -> IMP::Ints
5520  get_value(Domain self, StringKey a0) -> IMP::String
5521  get_value(Domain self, ParticleIndexKey a0) -> Particle
5522  get_value(Domain self, ObjectKey a0) -> Object
5523  """
5524  return _IMP_atom.Domain_get_value(self, *args)
5525 
5526 
5527  def set_value(self, *args):
5528  """
5529  set_value(Domain self, FloatKey a0, IMP::Float a1)
5530  set_value(Domain self, IntKey a0, IMP::Int a1)
5531  set_value(Domain self, FloatsKey a0, IMP::Floats a1)
5532  set_value(Domain self, IntsKey a0, IMP::Ints a1)
5533  set_value(Domain self, StringKey a0, IMP::String a1)
5534  set_value(Domain self, ParticleIndexKey a0, Particle a1)
5535  set_value(Domain self, ObjectKey a0, Object a1)
5536  """
5537  return _IMP_atom.Domain_set_value(self, *args)
5538 
5539 
5540  def remove_attribute(self, *args):
5541  """
5542  remove_attribute(Domain self, FloatKey a0)
5543  remove_attribute(Domain self, IntKey a0)
5544  remove_attribute(Domain self, FloatsKey a0)
5545  remove_attribute(Domain self, IntsKey a0)
5546  remove_attribute(Domain self, StringKey a0)
5547  remove_attribute(Domain self, ParticleIndexKey a0)
5548  remove_attribute(Domain self, ObjectKey a0)
5549  """
5550  return _IMP_atom.Domain_remove_attribute(self, *args)
5551 
5552 
5553  def has_attribute(self, *args):
5554  """
5555  has_attribute(Domain self, FloatKey a0) -> bool
5556  has_attribute(Domain self, IntKey a0) -> bool
5557  has_attribute(Domain self, FloatsKey a0) -> bool
5558  has_attribute(Domain self, IntsKey a0) -> bool
5559  has_attribute(Domain self, StringKey a0) -> bool
5560  has_attribute(Domain self, ParticleIndexKey a0) -> bool
5561  has_attribute(Domain self, ObjectKey a0) -> bool
5562  """
5563  return _IMP_atom.Domain_has_attribute(self, *args)
5564 
5565 
5566  def get_derivative(self, a0):
5567  """get_derivative(Domain self, FloatKey a0) -> double"""
5568  return _IMP_atom.Domain_get_derivative(self, a0)
5569 
5570 
5571  def get_name(self):
5572  """get_name(Domain self) -> std::string"""
5573  return _IMP_atom.Domain_get_name(self)
5574 
5575 
5576  def clear_caches(self):
5577  """clear_caches(Domain self)"""
5578  return _IMP_atom.Domain_clear_caches(self)
5579 
5580 
5581  def set_name(self, a0):
5582  """set_name(Domain self, std::string a0)"""
5583  return _IMP_atom.Domain_set_name(self, a0)
5584 
5585 
5586  def set_check_level(self, a0):
5587  """set_check_level(Domain self, IMP::CheckLevel a0)"""
5588  return _IMP_atom.Domain_set_check_level(self, a0)
5589 
5590 
5591  def add_to_derivative(self, a0, a1, a2):
5592  """add_to_derivative(Domain self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
5593  return _IMP_atom.Domain_add_to_derivative(self, a0, a1, a2)
5594 
5595 
5596  def set_is_optimized(self, a0, a1):
5597  """set_is_optimized(Domain self, FloatKey a0, bool a1)"""
5598  return _IMP_atom.Domain_set_is_optimized(self, a0, a1)
5599 
5600 
5601  def get_is_optimized(self, a0):
5602  """get_is_optimized(Domain self, FloatKey a0) -> bool"""
5603  return _IMP_atom.Domain_get_is_optimized(self, a0)
5604 
5605 
5606  def get_check_level(self):
5607  """get_check_level(Domain self) -> IMP::CheckLevel"""
5608  return _IMP_atom.Domain_get_check_level(self)
5609 
5610 
5611  def __eq__(self, *args):
5612  """
5613  __eq__(Domain self, Domain o) -> bool
5614  __eq__(Domain self, Particle d) -> bool
5615  """
5616  return _IMP_atom.Domain___eq__(self, *args)
5617 
5618 
5619  def __ne__(self, *args):
5620  """
5621  __ne__(Domain self, Domain o) -> bool
5622  __ne__(Domain self, Particle d) -> bool
5623  """
5624  return _IMP_atom.Domain___ne__(self, *args)
5625 
5626 
5627  def __le__(self, *args):
5628  """
5629  __le__(Domain self, Domain o) -> bool
5630  __le__(Domain self, Particle d) -> bool
5631  """
5632  return _IMP_atom.Domain___le__(self, *args)
5633 
5634 
5635  def __lt__(self, *args):
5636  """
5637  __lt__(Domain self, Domain o) -> bool
5638  __lt__(Domain self, Particle d) -> bool
5639  """
5640  return _IMP_atom.Domain___lt__(self, *args)
5641 
5642 
5643  def __ge__(self, *args):
5644  """
5645  __ge__(Domain self, Domain o) -> bool
5646  __ge__(Domain self, Particle d) -> bool
5647  """
5648  return _IMP_atom.Domain___ge__(self, *args)
5649 
5650 
5651  def __gt__(self, *args):
5652  """
5653  __gt__(Domain self, Domain o) -> bool
5654  __gt__(Domain self, Particle d) -> bool
5655  """
5656  return _IMP_atom.Domain___gt__(self, *args)
5657 
5658 
5659  def __hash__(self):
5660  """__hash__(Domain self) -> std::size_t"""
5661  return _IMP_atom.Domain___hash__(self)
5662 
5663 
5664  def __str__(self):
5665  """__str__(Domain self) -> std::string"""
5666  return _IMP_atom.Domain___str__(self)
5667 
5668 
5669  def __repr__(self):
5670  """__repr__(Domain self) -> std::string"""
5671  return _IMP_atom.Domain___repr__(self)
5672 
5673  __swig_destroy__ = _IMP_atom.delete_Domain
5674  __del__ = lambda self: None
5675 Domain_swigregister = _IMP_atom.Domain_swigregister
5676 Domain_swigregister(Domain)
5677 
5678 def Domain_get_is_setup(*args):
5679  """
5680  get_is_setup(Model m, ParticleIndex pi) -> bool
5681  Domain_get_is_setup(_ParticleAdaptor p) -> bool
5682  """
5683  return _IMP_atom.Domain_get_is_setup(*args)
5684 
5685 def Domain_setup_particle(*args):
5686  """
5687  setup_particle(Model m, ParticleIndex pi, Domain other) -> Domain
5688  setup_particle(_ParticleAdaptor decorator, Domain other) -> Domain
5689  setup_particle(Model m, ParticleIndex pi, IMP::IntRange residues) -> Domain
5690  Domain_setup_particle(_ParticleAdaptor decorator, IMP::IntRange residues) -> Domain
5691  """
5692  return _IMP_atom.Domain_setup_particle(*args)
5693 
5694 class LennardJones(IMP.core.XYZR):
5695  """Proxy of C++ IMP::atom::LennardJones class"""
5696  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5697 
5698  def __init__(self, *args):
5699  """
5700  __init__(IMP::atom::LennardJones self) -> LennardJones
5701  __init__(IMP::atom::LennardJones self, Model m, ParticleIndex id) -> LennardJones
5702  __init__(IMP::atom::LennardJones self, _ParticleAdaptor d) -> LennardJones
5703  """
5704  this = _IMP_atom.new_LennardJones(*args)
5705  try:
5706  self.this.append(this)
5707  except:
5708  self.this = this
5709 
5710  def show(self, *args):
5711  """
5712  show(LennardJones self, _ostream out)
5713  show(LennardJones self)
5714  """
5715  return _IMP_atom.LennardJones_show(self, *args)
5716 
5717 
5718  def setup_particle(*args):
5719  """
5720  setup_particle(Model m, ParticleIndex pi) -> LennardJones
5721  setup_particle(_ParticleAdaptor decorator) -> LennardJones
5722  setup_particle(Model m, ParticleIndex pi, IMP::Float well_depth) -> LennardJones
5723  setup_particle(_ParticleAdaptor decorator, IMP::Float well_depth) -> LennardJones
5724  """
5725  return _IMP_atom.LennardJones_setup_particle(*args)
5726 
5727  setup_particle = staticmethod(setup_particle)
5728 
5729  def get_well_depth(self):
5730  """get_well_depth(LennardJones self) -> IMP::Float"""
5731  return _IMP_atom.LennardJones_get_well_depth(self)
5732 
5733 
5734  def set_well_depth(self, well_depth):
5735  """set_well_depth(LennardJones self, IMP::Float well_depth)"""
5736  return _IMP_atom.LennardJones_set_well_depth(self, well_depth)
5737 
5738 
5739  def get_is_setup(*args):
5740  """
5741  get_is_setup(_ParticleAdaptor p) -> bool
5742  get_is_setup(Model m, ParticleIndex pi) -> bool
5743  """
5744  return _IMP_atom.LennardJones_get_is_setup(*args)
5745 
5746  get_is_setup = staticmethod(get_is_setup)
5747 
5748  def get_well_depth_key():
5749  """get_well_depth_key() -> FloatKey"""
5750  return _IMP_atom.LennardJones_get_well_depth_key()
5751 
5752  get_well_depth_key = staticmethod(get_well_depth_key)
5753 
5754  def add_attribute(self, *args):
5755  """
5756  add_attribute(LennardJones self, FloatKey k, IMP::Float v, bool opt)
5757  add_attribute(LennardJones self, FloatKey a0, IMP::Float a1)
5758  add_attribute(LennardJones self, IntKey a0, IMP::Int a1)
5759  add_attribute(LennardJones self, FloatsKey a0, IMP::Floats a1)
5760  add_attribute(LennardJones self, IntsKey a0, IMP::Ints a1)
5761  add_attribute(LennardJones self, StringKey a0, IMP::String a1)
5762  add_attribute(LennardJones self, ParticleIndexKey a0, Particle a1)
5763  add_attribute(LennardJones self, ObjectKey a0, Object a1)
5764  """
5765  return _IMP_atom.LennardJones_add_attribute(self, *args)
5766 
5767 
5768  def get_value(self, *args):
5769  """
5770  get_value(LennardJones self, FloatKey a0) -> IMP::Float
5771  get_value(LennardJones self, IntKey a0) -> IMP::Int
5772  get_value(LennardJones self, FloatsKey a0) -> IMP::Floats
5773  get_value(LennardJones self, IntsKey a0) -> IMP::Ints
5774  get_value(LennardJones self, StringKey a0) -> IMP::String
5775  get_value(LennardJones self, ParticleIndexKey a0) -> Particle
5776  get_value(LennardJones self, ObjectKey a0) -> Object
5777  """
5778  return _IMP_atom.LennardJones_get_value(self, *args)
5779 
5780 
5781  def set_value(self, *args):
5782  """
5783  set_value(LennardJones self, FloatKey a0, IMP::Float a1)
5784  set_value(LennardJones self, IntKey a0, IMP::Int a1)
5785  set_value(LennardJones self, FloatsKey a0, IMP::Floats a1)
5786  set_value(LennardJones self, IntsKey a0, IMP::Ints a1)
5787  set_value(LennardJones self, StringKey a0, IMP::String a1)
5788  set_value(LennardJones self, ParticleIndexKey a0, Particle a1)
5789  set_value(LennardJones self, ObjectKey a0, Object a1)
5790  """
5791  return _IMP_atom.LennardJones_set_value(self, *args)
5792 
5793 
5794  def remove_attribute(self, *args):
5795  """
5796  remove_attribute(LennardJones self, FloatKey a0)
5797  remove_attribute(LennardJones self, IntKey a0)
5798  remove_attribute(LennardJones self, FloatsKey a0)
5799  remove_attribute(LennardJones self, IntsKey a0)
5800  remove_attribute(LennardJones self, StringKey a0)
5801  remove_attribute(LennardJones self, ParticleIndexKey a0)
5802  remove_attribute(LennardJones self, ObjectKey a0)
5803  """
5804  return _IMP_atom.LennardJones_remove_attribute(self, *args)
5805 
5806 
5807  def has_attribute(self, *args):
5808  """
5809  has_attribute(LennardJones self, FloatKey a0) -> bool
5810  has_attribute(LennardJones self, IntKey a0) -> bool
5811  has_attribute(LennardJones self, FloatsKey a0) -> bool
5812  has_attribute(LennardJones self, IntsKey a0) -> bool
5813  has_attribute(LennardJones self, StringKey a0) -> bool
5814  has_attribute(LennardJones self, ParticleIndexKey a0) -> bool
5815  has_attribute(LennardJones self, ObjectKey a0) -> bool
5816  """
5817  return _IMP_atom.LennardJones_has_attribute(self, *args)
5818 
5819 
5820  def get_derivative(self, a0):
5821  """get_derivative(LennardJones self, FloatKey a0) -> double"""
5822  return _IMP_atom.LennardJones_get_derivative(self, a0)
5823 
5824 
5825  def get_name(self):
5826  """get_name(LennardJones self) -> std::string"""
5827  return _IMP_atom.LennardJones_get_name(self)
5828 
5829 
5830  def clear_caches(self):
5831  """clear_caches(LennardJones self)"""
5832  return _IMP_atom.LennardJones_clear_caches(self)
5833 
5834 
5835  def set_name(self, a0):
5836  """set_name(LennardJones self, std::string a0)"""
5837  return _IMP_atom.LennardJones_set_name(self, a0)
5838 
5839 
5840  def set_check_level(self, a0):
5841  """set_check_level(LennardJones self, IMP::CheckLevel a0)"""
5842  return _IMP_atom.LennardJones_set_check_level(self, a0)
5843 
5844 
5845  def add_to_derivative(self, a0, a1, a2):
5846  """add_to_derivative(LennardJones self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
5847  return _IMP_atom.LennardJones_add_to_derivative(self, a0, a1, a2)
5848 
5849 
5850  def set_is_optimized(self, a0, a1):
5851  """set_is_optimized(LennardJones self, FloatKey a0, bool a1)"""
5852  return _IMP_atom.LennardJones_set_is_optimized(self, a0, a1)
5853 
5854 
5855  def get_is_optimized(self, a0):
5856  """get_is_optimized(LennardJones self, FloatKey a0) -> bool"""
5857  return _IMP_atom.LennardJones_get_is_optimized(self, a0)
5858 
5859 
5860  def get_check_level(self):
5861  """get_check_level(LennardJones self) -> IMP::CheckLevel"""
5862  return _IMP_atom.LennardJones_get_check_level(self)
5863 
5864 
5865  def __eq__(self, *args):
5866  """
5867  __eq__(LennardJones self, LennardJones o) -> bool
5868  __eq__(LennardJones self, Particle d) -> bool
5869  """
5870  return _IMP_atom.LennardJones___eq__(self, *args)
5871 
5872 
5873  def __ne__(self, *args):
5874  """
5875  __ne__(LennardJones self, LennardJones o) -> bool
5876  __ne__(LennardJones self, Particle d) -> bool
5877  """
5878  return _IMP_atom.LennardJones___ne__(self, *args)
5879 
5880 
5881  def __le__(self, *args):
5882  """
5883  __le__(LennardJones self, LennardJones o) -> bool
5884  __le__(LennardJones self, Particle d) -> bool
5885  """
5886  return _IMP_atom.LennardJones___le__(self, *args)
5887 
5888 
5889  def __lt__(self, *args):
5890  """
5891  __lt__(LennardJones self, LennardJones o) -> bool
5892  __lt__(LennardJones self, Particle d) -> bool
5893  """
5894  return _IMP_atom.LennardJones___lt__(self, *args)
5895 
5896 
5897  def __ge__(self, *args):
5898  """
5899  __ge__(LennardJones self, LennardJones o) -> bool
5900  __ge__(LennardJones self, Particle d) -> bool
5901  """
5902  return _IMP_atom.LennardJones___ge__(self, *args)
5903 
5904 
5905  def __gt__(self, *args):
5906  """
5907  __gt__(LennardJones self, LennardJones o) -> bool
5908  __gt__(LennardJones self, Particle d) -> bool
5909  """
5910  return _IMP_atom.LennardJones___gt__(self, *args)
5911 
5912 
5913  def __hash__(self):
5914  """__hash__(LennardJones self) -> std::size_t"""
5915  return _IMP_atom.LennardJones___hash__(self)
5916 
5917 
5918  def __str__(self):
5919  """__str__(LennardJones self) -> std::string"""
5920  return _IMP_atom.LennardJones___str__(self)
5921 
5922 
5923  def __repr__(self):
5924  """__repr__(LennardJones self) -> std::string"""
5925  return _IMP_atom.LennardJones___repr__(self)
5926 
5927  __swig_destroy__ = _IMP_atom.delete_LennardJones
5928  __del__ = lambda self: None
5929 LennardJones_swigregister = _IMP_atom.LennardJones_swigregister
5930 LennardJones_swigregister(LennardJones)
5931 
5932 def LennardJones_setup_particle(*args):
5933  """
5934  setup_particle(Model m, ParticleIndex pi) -> LennardJones
5935  setup_particle(_ParticleAdaptor decorator) -> LennardJones
5936  setup_particle(Model m, ParticleIndex pi, IMP::Float well_depth) -> LennardJones
5937  LennardJones_setup_particle(_ParticleAdaptor decorator, IMP::Float well_depth) -> LennardJones
5938  """
5939  return _IMP_atom.LennardJones_setup_particle(*args)
5940 
5941 def LennardJones_get_is_setup(*args):
5942  """
5943  get_is_setup(_ParticleAdaptor p) -> bool
5944  LennardJones_get_is_setup(Model m, ParticleIndex pi) -> bool
5945  """
5946  return _IMP_atom.LennardJones_get_is_setup(*args)
5947 
5948 def LennardJones_get_well_depth_key():
5949  """LennardJones_get_well_depth_key() -> FloatKey"""
5950  return _IMP_atom.LennardJones_get_well_depth_key()
5951 
5952 class LennardJonesPairScore(IMP.PairScore):
5953  """Proxy of C++ IMP::atom::LennardJonesPairScore class"""
5954  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
5955 
5956  def __init__(self, f):
5957  """__init__(IMP::atom::LennardJonesPairScore self, SmoothingFunction f) -> LennardJonesPairScore"""
5958  this = _IMP_atom.new_LennardJonesPairScore(f)
5959  try:
5960  self.this.append(this)
5961  except:
5962  self.this = this
5963 
5964  def set_repulsive_weight(self, repulsive_weight):
5965  """set_repulsive_weight(LennardJonesPairScore self, double repulsive_weight)"""
5966  return _IMP_atom.LennardJonesPairScore_set_repulsive_weight(self, repulsive_weight)
5967 
5968 
5969  def get_repulsive_weight(self):
5970  """get_repulsive_weight(LennardJonesPairScore self) -> double"""
5971  return _IMP_atom.LennardJonesPairScore_get_repulsive_weight(self)
5972 
5973 
5974  def set_attractive_weight(self, attractive_weight):
5975  """set_attractive_weight(LennardJonesPairScore self, double attractive_weight)"""
5976  return _IMP_atom.LennardJonesPairScore_set_attractive_weight(self, attractive_weight)
5977 
5978 
5979  def get_attractive_weight(self):
5980  """get_attractive_weight(LennardJonesPairScore self) -> double"""
5981  return _IMP_atom.LennardJonesPairScore_get_attractive_weight(self)
5982 
5983 
5984  def do_get_inputs(self, m, pis):
5985  """do_get_inputs(LennardJonesPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5986  return _IMP_atom.LennardJonesPairScore_do_get_inputs(self, m, pis)
5987 
5988 
5989  def get_version_info(self):
5990  """get_version_info(LennardJonesPairScore self) -> VersionInfo"""
5991  return _IMP_atom.LennardJonesPairScore_get_version_info(self)
5992 
5993 
5994  def __str__(self):
5995  """__str__(LennardJonesPairScore self) -> std::string"""
5996  return _IMP_atom.LennardJonesPairScore___str__(self)
5997 
5998 
5999  def __repr__(self):
6000  """__repr__(LennardJonesPairScore self) -> std::string"""
6001  return _IMP_atom.LennardJonesPairScore___repr__(self)
6002 
6003 
6004  @staticmethod
6005  def get_from(o):
6006  return _object_cast_to_LennardJonesPairScore(o)
6007 
6008 LennardJonesPairScore_swigregister = _IMP_atom.LennardJonesPairScore_swigregister
6009 LennardJonesPairScore_swigregister(LennardJonesPairScore)
6010 
6011 class LinearVelocity(IMP.Decorator):
6012  """Proxy of C++ IMP::atom::LinearVelocity class"""
6013  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6014 
6015  def __init__(self, *args):
6016  """
6017  __init__(IMP::atom::LinearVelocity self) -> LinearVelocity
6018  __init__(IMP::atom::LinearVelocity self, Model m, ParticleIndex id) -> LinearVelocity
6019  __init__(IMP::atom::LinearVelocity self, _ParticleAdaptor d) -> LinearVelocity
6020  """
6021  this = _IMP_atom.new_LinearVelocity(*args)
6022  try:
6023  self.this.append(this)
6024  except:
6025  self.this = this
6026 
6027  def get_is_setup(*args):
6028  """
6029  get_is_setup(Model m, ParticleIndex pi) -> bool
6030  get_is_setup(_ParticleAdaptor p) -> bool
6031  """
6032  return _IMP_atom.LinearVelocity_get_is_setup(*args)
6033 
6034  get_is_setup = staticmethod(get_is_setup)
6035 
6036  def show(self, *args):
6037  """
6038  show(LinearVelocity self, _ostream out)
6039  show(LinearVelocity self)
6040  """
6041  return _IMP_atom.LinearVelocity_show(self, *args)
6042 
6043 
6044  def setup_particle(*args):
6045  """
6046  setup_particle(Model m, ParticleIndex pi) -> LinearVelocity
6047  setup_particle(_ParticleAdaptor decorator) -> LinearVelocity
6048  setup_particle(Model m, ParticleIndex pi, Vector3D v) -> LinearVelocity
6049  setup_particle(_ParticleAdaptor decorator, Vector3D v) -> LinearVelocity
6050  """
6051  return _IMP_atom.LinearVelocity_setup_particle(*args)
6052 
6053  setup_particle = staticmethod(setup_particle)
6054 
6055  def set_velocity(self, v):
6056  """set_velocity(LinearVelocity self, Vector3D v)"""
6057  return _IMP_atom.LinearVelocity_set_velocity(self, v)
6058 
6059 
6060  def get_velocity(self):
6061  """get_velocity(LinearVelocity self) -> Vector3D"""
6062  return _IMP_atom.LinearVelocity_get_velocity(self)
6063 
6064 
6065  def add_attribute(self, *args):
6066  """
6067  add_attribute(LinearVelocity self, FloatKey k, IMP::Float v, bool opt)
6068  add_attribute(LinearVelocity self, FloatKey a0, IMP::Float a1)
6069  add_attribute(LinearVelocity self, IntKey a0, IMP::Int a1)
6070  add_attribute(LinearVelocity self, FloatsKey a0, IMP::Floats a1)
6071  add_attribute(LinearVelocity self, IntsKey a0, IMP::Ints a1)
6072  add_attribute(LinearVelocity self, StringKey a0, IMP::String a1)
6073  add_attribute(LinearVelocity self, ParticleIndexKey a0, Particle a1)
6074  add_attribute(LinearVelocity self, ObjectKey a0, Object a1)
6075  """
6076  return _IMP_atom.LinearVelocity_add_attribute(self, *args)
6077 
6078 
6079  def get_value(self, *args):
6080  """
6081  get_value(LinearVelocity self, FloatKey a0) -> IMP::Float
6082  get_value(LinearVelocity self, IntKey a0) -> IMP::Int
6083  get_value(LinearVelocity self, FloatsKey a0) -> IMP::Floats
6084  get_value(LinearVelocity self, IntsKey a0) -> IMP::Ints
6085  get_value(LinearVelocity self, StringKey a0) -> IMP::String
6086  get_value(LinearVelocity self, ParticleIndexKey a0) -> Particle
6087  get_value(LinearVelocity self, ObjectKey a0) -> Object
6088  """
6089  return _IMP_atom.LinearVelocity_get_value(self, *args)
6090 
6091 
6092  def set_value(self, *args):
6093  """
6094  set_value(LinearVelocity self, FloatKey a0, IMP::Float a1)
6095  set_value(LinearVelocity self, IntKey a0, IMP::Int a1)
6096  set_value(LinearVelocity self, FloatsKey a0, IMP::Floats a1)
6097  set_value(LinearVelocity self, IntsKey a0, IMP::Ints a1)
6098  set_value(LinearVelocity self, StringKey a0, IMP::String a1)
6099  set_value(LinearVelocity self, ParticleIndexKey a0, Particle a1)
6100  set_value(LinearVelocity self, ObjectKey a0, Object a1)
6101  """
6102  return _IMP_atom.LinearVelocity_set_value(self, *args)
6103 
6104 
6105  def remove_attribute(self, *args):
6106  """
6107  remove_attribute(LinearVelocity self, FloatKey a0)
6108  remove_attribute(LinearVelocity self, IntKey a0)
6109  remove_attribute(LinearVelocity self, FloatsKey a0)
6110  remove_attribute(LinearVelocity self, IntsKey a0)
6111  remove_attribute(LinearVelocity self, StringKey a0)
6112  remove_attribute(LinearVelocity self, ParticleIndexKey a0)
6113  remove_attribute(LinearVelocity self, ObjectKey a0)
6114  """
6115  return _IMP_atom.LinearVelocity_remove_attribute(self, *args)
6116 
6117 
6118  def has_attribute(self, *args):
6119  """
6120  has_attribute(LinearVelocity self, FloatKey a0) -> bool
6121  has_attribute(LinearVelocity self, IntKey a0) -> bool
6122  has_attribute(LinearVelocity self, FloatsKey a0) -> bool
6123  has_attribute(LinearVelocity self, IntsKey a0) -> bool
6124  has_attribute(LinearVelocity self, StringKey a0) -> bool
6125  has_attribute(LinearVelocity self, ParticleIndexKey a0) -> bool
6126  has_attribute(LinearVelocity self, ObjectKey a0) -> bool
6127  """
6128  return _IMP_atom.LinearVelocity_has_attribute(self, *args)
6129 
6130 
6131  def get_derivative(self, a0):
6132  """get_derivative(LinearVelocity self, FloatKey a0) -> double"""
6133  return _IMP_atom.LinearVelocity_get_derivative(self, a0)
6134 
6135 
6136  def get_name(self):
6137  """get_name(LinearVelocity self) -> std::string"""
6138  return _IMP_atom.LinearVelocity_get_name(self)
6139 
6140 
6141  def clear_caches(self):
6142  """clear_caches(LinearVelocity self)"""
6143  return _IMP_atom.LinearVelocity_clear_caches(self)
6144 
6145 
6146  def set_name(self, a0):
6147  """set_name(LinearVelocity self, std::string a0)"""
6148  return _IMP_atom.LinearVelocity_set_name(self, a0)
6149 
6150 
6151  def set_check_level(self, a0):
6152  """set_check_level(LinearVelocity self, IMP::CheckLevel a0)"""
6153  return _IMP_atom.LinearVelocity_set_check_level(self, a0)
6154 
6155 
6156  def add_to_derivative(self, a0, a1, a2):
6157  """add_to_derivative(LinearVelocity self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
6158  return _IMP_atom.LinearVelocity_add_to_derivative(self, a0, a1, a2)
6159 
6160 
6161  def set_is_optimized(self, a0, a1):
6162  """set_is_optimized(LinearVelocity self, FloatKey a0, bool a1)"""
6163  return _IMP_atom.LinearVelocity_set_is_optimized(self, a0, a1)
6164 
6165 
6166  def get_is_optimized(self, a0):
6167  """get_is_optimized(LinearVelocity self, FloatKey a0) -> bool"""
6168  return _IMP_atom.LinearVelocity_get_is_optimized(self, a0)
6169 
6170 
6171  def get_check_level(self):
6172  """get_check_level(LinearVelocity self) -> IMP::CheckLevel"""
6173  return _IMP_atom.LinearVelocity_get_check_level(self)
6174 
6175 
6176  def __eq__(self, *args):
6177  """
6178  __eq__(LinearVelocity self, LinearVelocity o) -> bool
6179  __eq__(LinearVelocity self, Particle d) -> bool
6180  """
6181  return _IMP_atom.LinearVelocity___eq__(self, *args)
6182 
6183 
6184  def __ne__(self, *args):
6185  """
6186  __ne__(LinearVelocity self, LinearVelocity o) -> bool
6187  __ne__(LinearVelocity self, Particle d) -> bool
6188  """
6189  return _IMP_atom.LinearVelocity___ne__(self, *args)
6190 
6191 
6192  def __le__(self, *args):
6193  """
6194  __le__(LinearVelocity self, LinearVelocity o) -> bool
6195  __le__(LinearVelocity self, Particle d) -> bool
6196  """
6197  return _IMP_atom.LinearVelocity___le__(self, *args)
6198 
6199 
6200  def __lt__(self, *args):
6201  """
6202  __lt__(LinearVelocity self, LinearVelocity o) -> bool
6203  __lt__(LinearVelocity self, Particle d) -> bool
6204  """
6205  return _IMP_atom.LinearVelocity___lt__(self, *args)
6206 
6207 
6208  def __ge__(self, *args):
6209  """
6210  __ge__(LinearVelocity self, LinearVelocity o) -> bool
6211  __ge__(LinearVelocity self, Particle d) -> bool
6212  """
6213  return _IMP_atom.LinearVelocity___ge__(self, *args)
6214 
6215 
6216  def __gt__(self, *args):
6217  """
6218  __gt__(LinearVelocity self, LinearVelocity o) -> bool
6219  __gt__(LinearVelocity self, Particle d) -> bool
6220  """
6221  return _IMP_atom.LinearVelocity___gt__(self, *args)
6222 
6223 
6224  def __hash__(self):
6225  """__hash__(LinearVelocity self) -> std::size_t"""
6226  return _IMP_atom.LinearVelocity___hash__(self)
6227 
6228 
6229  def __str__(self):
6230  """__str__(LinearVelocity self) -> std::string"""
6231  return _IMP_atom.LinearVelocity___str__(self)
6232 
6233 
6234  def __repr__(self):
6235  """__repr__(LinearVelocity self) -> std::string"""
6236  return _IMP_atom.LinearVelocity___repr__(self)
6237 
6238  __swig_destroy__ = _IMP_atom.delete_LinearVelocity
6239  __del__ = lambda self: None
6240 LinearVelocity_swigregister = _IMP_atom.LinearVelocity_swigregister
6241 LinearVelocity_swigregister(LinearVelocity)
6242 
6243 def LinearVelocity_get_is_setup(*args):
6244  """
6245  get_is_setup(Model m, ParticleIndex pi) -> bool
6246  LinearVelocity_get_is_setup(_ParticleAdaptor p) -> bool
6247  """
6248  return _IMP_atom.LinearVelocity_get_is_setup(*args)
6249 
6250 def LinearVelocity_setup_particle(*args):
6251  """
6252  setup_particle(Model m, ParticleIndex pi) -> LinearVelocity
6253  setup_particle(_ParticleAdaptor decorator) -> LinearVelocity
6254  setup_particle(Model m, ParticleIndex pi, Vector3D v) -> LinearVelocity
6255  LinearVelocity_setup_particle(_ParticleAdaptor decorator, Vector3D v) -> LinearVelocity
6256  """
6257  return _IMP_atom.LinearVelocity_setup_particle(*args)
6258 
6259 class AngularVelocity(IMP.Decorator):
6260  """Proxy of C++ IMP::atom::AngularVelocity class"""
6261  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6262 
6263  def __init__(self, *args):
6264  """
6265  __init__(IMP::atom::AngularVelocity self) -> AngularVelocity
6266  __init__(IMP::atom::AngularVelocity self, Model m, ParticleIndex id) -> AngularVelocity
6267  __init__(IMP::atom::AngularVelocity self, _ParticleAdaptor d) -> AngularVelocity
6268  """
6269  this = _IMP_atom.new_AngularVelocity(*args)
6270  try:
6271  self.this.append(this)
6272  except:
6273  self.this = this
6274 
6275  def get_is_setup(*args):
6276  """
6277  get_is_setup(Model m, ParticleIndex pi) -> bool
6278  get_is_setup(_ParticleAdaptor p) -> bool
6279  """
6280  return _IMP_atom.AngularVelocity_get_is_setup(*args)
6281 
6282  get_is_setup = staticmethod(get_is_setup)
6283 
6284  def show(self, *args):
6285  """
6286  show(AngularVelocity self, _ostream out)
6287  show(AngularVelocity self)
6288  """
6289  return _IMP_atom.AngularVelocity_show(self, *args)
6290 
6291 
6292  def setup_particle(*args):
6293  """
6294  setup_particle(Model m, ParticleIndex pi) -> AngularVelocity
6295  setup_particle(_ParticleAdaptor decorator) -> AngularVelocity
6296  setup_particle(Model m, ParticleIndex pi, Vector4D v) -> AngularVelocity
6297  setup_particle(_ParticleAdaptor decorator, Vector4D v) -> AngularVelocity
6298  """
6299  return _IMP_atom.AngularVelocity_setup_particle(*args)
6300 
6301  setup_particle = staticmethod(setup_particle)
6302 
6303  def set_velocity(self, v):
6304  """set_velocity(AngularVelocity self, Vector4D v)"""
6305  return _IMP_atom.AngularVelocity_set_velocity(self, v)
6306 
6307 
6308  def get_velocity(self):
6309  """get_velocity(AngularVelocity self) -> Vector4D"""
6310  return _IMP_atom.AngularVelocity_get_velocity(self)
6311 
6312 
6313  def add_attribute(self, *args):
6314  """
6315  add_attribute(AngularVelocity self, FloatKey k, IMP::Float v, bool opt)
6316  add_attribute(AngularVelocity self, FloatKey a0, IMP::Float a1)
6317  add_attribute(AngularVelocity self, IntKey a0, IMP::Int a1)
6318  add_attribute(AngularVelocity self, FloatsKey a0, IMP::Floats a1)
6319  add_attribute(AngularVelocity self, IntsKey a0, IMP::Ints a1)
6320  add_attribute(AngularVelocity self, StringKey a0, IMP::String a1)
6321  add_attribute(AngularVelocity self, ParticleIndexKey a0, Particle a1)
6322  add_attribute(AngularVelocity self, ObjectKey a0, Object a1)
6323  """
6324  return _IMP_atom.AngularVelocity_add_attribute(self, *args)
6325 
6326 
6327  def get_value(self, *args):
6328  """
6329  get_value(AngularVelocity self, FloatKey a0) -> IMP::Float
6330  get_value(AngularVelocity self, IntKey a0) -> IMP::Int
6331  get_value(AngularVelocity self, FloatsKey a0) -> IMP::Floats
6332  get_value(AngularVelocity self, IntsKey a0) -> IMP::Ints
6333  get_value(AngularVelocity self, StringKey a0) -> IMP::String
6334  get_value(AngularVelocity self, ParticleIndexKey a0) -> Particle
6335  get_value(AngularVelocity self, ObjectKey a0) -> Object
6336  """
6337  return _IMP_atom.AngularVelocity_get_value(self, *args)
6338 
6339 
6340  def set_value(self, *args):
6341  """
6342  set_value(AngularVelocity self, FloatKey a0, IMP::Float a1)
6343  set_value(AngularVelocity self, IntKey a0, IMP::Int a1)
6344  set_value(AngularVelocity self, FloatsKey a0, IMP::Floats a1)
6345  set_value(AngularVelocity self, IntsKey a0, IMP::Ints a1)
6346  set_value(AngularVelocity self, StringKey a0, IMP::String a1)
6347  set_value(AngularVelocity self, ParticleIndexKey a0, Particle a1)
6348  set_value(AngularVelocity self, ObjectKey a0, Object a1)
6349  """
6350  return _IMP_atom.AngularVelocity_set_value(self, *args)
6351 
6352 
6353  def remove_attribute(self, *args):
6354  """
6355  remove_attribute(AngularVelocity self, FloatKey a0)
6356  remove_attribute(AngularVelocity self, IntKey a0)
6357  remove_attribute(AngularVelocity self, FloatsKey a0)
6358  remove_attribute(AngularVelocity self, IntsKey a0)
6359  remove_attribute(AngularVelocity self, StringKey a0)
6360  remove_attribute(AngularVelocity self, ParticleIndexKey a0)
6361  remove_attribute(AngularVelocity self, ObjectKey a0)
6362  """
6363  return _IMP_atom.AngularVelocity_remove_attribute(self, *args)
6364 
6365 
6366  def has_attribute(self, *args):
6367  """
6368  has_attribute(AngularVelocity self, FloatKey a0) -> bool
6369  has_attribute(AngularVelocity self, IntKey a0) -> bool
6370  has_attribute(AngularVelocity self, FloatsKey a0) -> bool
6371  has_attribute(AngularVelocity self, IntsKey a0) -> bool
6372  has_attribute(AngularVelocity self, StringKey a0) -> bool
6373  has_attribute(AngularVelocity self, ParticleIndexKey a0) -> bool
6374  has_attribute(AngularVelocity self, ObjectKey a0) -> bool
6375  """
6376  return _IMP_atom.AngularVelocity_has_attribute(self, *args)
6377 
6378 
6379  def get_derivative(self, a0):
6380  """get_derivative(AngularVelocity self, FloatKey a0) -> double"""
6381  return _IMP_atom.AngularVelocity_get_derivative(self, a0)
6382 
6383 
6384  def get_name(self):
6385  """get_name(AngularVelocity self) -> std::string"""
6386  return _IMP_atom.AngularVelocity_get_name(self)
6387 
6388 
6389  def clear_caches(self):
6390  """clear_caches(AngularVelocity self)"""
6391  return _IMP_atom.AngularVelocity_clear_caches(self)
6392 
6393 
6394  def set_name(self, a0):
6395  """set_name(AngularVelocity self, std::string a0)"""
6396  return _IMP_atom.AngularVelocity_set_name(self, a0)
6397 
6398 
6399  def set_check_level(self, a0):
6400  """set_check_level(AngularVelocity self, IMP::CheckLevel a0)"""
6401  return _IMP_atom.AngularVelocity_set_check_level(self, a0)
6402 
6403 
6404  def add_to_derivative(self, a0, a1, a2):
6405  """add_to_derivative(AngularVelocity self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
6406  return _IMP_atom.AngularVelocity_add_to_derivative(self, a0, a1, a2)
6407 
6408 
6409  def set_is_optimized(self, a0, a1):
6410  """set_is_optimized(AngularVelocity self, FloatKey a0, bool a1)"""
6411  return _IMP_atom.AngularVelocity_set_is_optimized(self, a0, a1)
6412 
6413 
6414  def get_is_optimized(self, a0):
6415  """get_is_optimized(AngularVelocity self, FloatKey a0) -> bool"""
6416  return _IMP_atom.AngularVelocity_get_is_optimized(self, a0)
6417 
6418 
6419  def get_check_level(self):
6420  """get_check_level(AngularVelocity self) -> IMP::CheckLevel"""
6421  return _IMP_atom.AngularVelocity_get_check_level(self)
6422 
6423 
6424  def __eq__(self, *args):
6425  """
6426  __eq__(AngularVelocity self, AngularVelocity o) -> bool
6427  __eq__(AngularVelocity self, Particle d) -> bool
6428  """
6429  return _IMP_atom.AngularVelocity___eq__(self, *args)
6430 
6431 
6432  def __ne__(self, *args):
6433  """
6434  __ne__(AngularVelocity self, AngularVelocity o) -> bool
6435  __ne__(AngularVelocity self, Particle d) -> bool
6436  """
6437  return _IMP_atom.AngularVelocity___ne__(self, *args)
6438 
6439 
6440  def __le__(self, *args):
6441  """
6442  __le__(AngularVelocity self, AngularVelocity o) -> bool
6443  __le__(AngularVelocity self, Particle d) -> bool
6444  """
6445  return _IMP_atom.AngularVelocity___le__(self, *args)
6446 
6447 
6448  def __lt__(self, *args):
6449  """
6450  __lt__(AngularVelocity self, AngularVelocity o) -> bool
6451  __lt__(AngularVelocity self, Particle d) -> bool
6452  """
6453  return _IMP_atom.AngularVelocity___lt__(self, *args)
6454 
6455 
6456  def __ge__(self, *args):
6457  """
6458  __ge__(AngularVelocity self, AngularVelocity o) -> bool
6459  __ge__(AngularVelocity self, Particle d) -> bool
6460  """
6461  return _IMP_atom.AngularVelocity___ge__(self, *args)
6462 
6463 
6464  def __gt__(self, *args):
6465  """
6466  __gt__(AngularVelocity self, AngularVelocity o) -> bool
6467  __gt__(AngularVelocity self, Particle d) -> bool
6468  """
6469  return _IMP_atom.AngularVelocity___gt__(self, *args)
6470 
6471 
6472  def __hash__(self):
6473  """__hash__(AngularVelocity self) -> std::size_t"""
6474  return _IMP_atom.AngularVelocity___hash__(self)
6475 
6476 
6477  def __str__(self):
6478  """__str__(AngularVelocity self) -> std::string"""
6479  return _IMP_atom.AngularVelocity___str__(self)
6480 
6481 
6482  def __repr__(self):
6483  """__repr__(AngularVelocity self) -> std::string"""
6484  return _IMP_atom.AngularVelocity___repr__(self)
6485 
6486  __swig_destroy__ = _IMP_atom.delete_AngularVelocity
6487  __del__ = lambda self: None
6488 AngularVelocity_swigregister = _IMP_atom.AngularVelocity_swigregister
6489 AngularVelocity_swigregister(AngularVelocity)
6490 
6491 def AngularVelocity_get_is_setup(*args):
6492  """
6493  get_is_setup(Model m, ParticleIndex pi) -> bool
6494  AngularVelocity_get_is_setup(_ParticleAdaptor p) -> bool
6495  """
6496  return _IMP_atom.AngularVelocity_get_is_setup(*args)
6497 
6498 def AngularVelocity_setup_particle(*args):
6499  """
6500  setup_particle(Model m, ParticleIndex pi) -> AngularVelocity
6501  setup_particle(_ParticleAdaptor decorator) -> AngularVelocity
6502  setup_particle(Model m, ParticleIndex pi, Vector4D v) -> AngularVelocity
6503  AngularVelocity_setup_particle(_ParticleAdaptor decorator, Vector4D v) -> AngularVelocity
6504  """
6505  return _IMP_atom.AngularVelocity_setup_particle(*args)
6506 
6507 class MolecularDynamics(Simulator):
6508  """Proxy of C++ IMP::atom::MolecularDynamics class"""
6509  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6510 
6511  def __init__(self, m):
6512  """__init__(IMP::atom::MolecularDynamics self, Model m) -> MolecularDynamics"""
6513  this = _IMP_atom.new_MolecularDynamics(m)
6514  try:
6515  self.this.append(this)
6516  except:
6517  self.this = this
6518 
6519  def get_kinetic_energy(self):
6520  """get_kinetic_energy(MolecularDynamics self) -> IMP::Float"""
6521  return _IMP_atom.MolecularDynamics_get_kinetic_energy(self)
6522 
6523 
6524  def get_kinetic_temperature(self, ekinetic):
6525  """get_kinetic_temperature(MolecularDynamics self, IMP::Float ekinetic) -> IMP::Float"""
6526  return _IMP_atom.MolecularDynamics_get_kinetic_temperature(self, ekinetic)
6527 
6528 
6529  def set_velocity_cap(self, velocity_cap):
6530  """set_velocity_cap(MolecularDynamics self, IMP::Float velocity_cap)"""
6531  return _IMP_atom.MolecularDynamics_set_velocity_cap(self, velocity_cap)
6532 
6533 
6534  def assign_velocities(self, temperature):
6535  """assign_velocities(MolecularDynamics self, IMP::Float temperature)"""
6536  return _IMP_atom.MolecularDynamics_assign_velocities(self, temperature)
6537 
6538 
6539  def setup(self, ps):
6540  """setup(MolecularDynamics self, IMP::ParticleIndexes const & ps)"""
6541  return _IMP_atom.MolecularDynamics_setup(self, ps)
6542 
6543 
6544  def do_step(self, sc, dt):
6545  """do_step(MolecularDynamics self, IMP::ParticleIndexes const & sc, double dt) -> double"""
6546  return _IMP_atom.MolecularDynamics_do_step(self, sc, dt)
6547 
6548 
6549  def get_is_simulation_particle(self, p):
6550  """get_is_simulation_particle(MolecularDynamics self, ParticleIndex p) -> bool"""
6551  return _IMP_atom.MolecularDynamics_get_is_simulation_particle(self, p)
6552 
6553 
6554  def get_version_info(self):
6555  """get_version_info(MolecularDynamics self) -> VersionInfo"""
6556  return _IMP_atom.MolecularDynamics_get_version_info(self)
6557 
6558 
6559  def __str__(self):
6560  """__str__(MolecularDynamics self) -> std::string"""
6561  return _IMP_atom.MolecularDynamics___str__(self)
6562 
6563 
6564  def __repr__(self):
6565  """__repr__(MolecularDynamics self) -> std::string"""
6566  return _IMP_atom.MolecularDynamics___repr__(self)
6567 
6568 
6569  @staticmethod
6570  def get_from(o):
6571  return _object_cast_to_MolecularDynamics(o)
6572 
6573 MolecularDynamics_swigregister = _IMP_atom.MolecularDynamics_swigregister
6574 MolecularDynamics_swigregister(MolecularDynamics)
6575 
6576 class VelocityScalingOptimizerState(IMP.OptimizerState):
6577  """Proxy of C++ IMP::atom::VelocityScalingOptimizerState class"""
6578  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6579 
6580  def __init__(self, m, pis, temperature):
6581  """__init__(IMP::atom::VelocityScalingOptimizerState self, Model m, _ParticleIndexesAdaptor pis, double temperature) -> VelocityScalingOptimizerState"""
6582  this = _IMP_atom.new_VelocityScalingOptimizerState(m, pis, temperature)
6583  try:
6584  self.this.append(this)
6585  except:
6586  self.this = this
6587 
6588  def set_particles(self, pis):
6589  """set_particles(VelocityScalingOptimizerState self, IMP::Particles const & pis)"""
6590  return _IMP_atom.VelocityScalingOptimizerState_set_particles(self, pis)
6591 
6592 
6593  def set_temperature(self, temperature):
6594  """set_temperature(VelocityScalingOptimizerState self, IMP::Float temperature)"""
6595  return _IMP_atom.VelocityScalingOptimizerState_set_temperature(self, temperature)
6596 
6597 
6598  def rescale_velocities(self):
6599  """rescale_velocities(VelocityScalingOptimizerState self)"""
6600  return _IMP_atom.VelocityScalingOptimizerState_rescale_velocities(self)
6601 
6602 
6603  def get_version_info(self):
6604  """get_version_info(VelocityScalingOptimizerState self) -> VersionInfo"""
6605  return _IMP_atom.VelocityScalingOptimizerState_get_version_info(self)
6606 
6607 
6608  def __str__(self):
6609  """__str__(VelocityScalingOptimizerState self) -> std::string"""
6610  return _IMP_atom.VelocityScalingOptimizerState___str__(self)
6611 
6612 
6613  def __repr__(self):
6614  """__repr__(VelocityScalingOptimizerState self) -> std::string"""
6615  return _IMP_atom.VelocityScalingOptimizerState___repr__(self)
6616 
6617 
6618  @staticmethod
6619  def get_from(o):
6620  return _object_cast_to_VelocityScalingOptimizerState(o)
6621 
6622 VelocityScalingOptimizerState_swigregister = _IMP_atom.VelocityScalingOptimizerState_swigregister
6623 VelocityScalingOptimizerState_swigregister(VelocityScalingOptimizerState)
6624 
6625 class Fragment(Hierarchy):
6626  """Proxy of C++ IMP::atom::Fragment class"""
6627  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6628 
6629  def set_residue_indexes(self, o):
6630  """set_residue_indexes(Fragment self, IMP::Ints o)"""
6631  return _IMP_atom.Fragment_set_residue_indexes(self, o)
6632 
6633 
6634  def get_residue_indexes(self):
6635  """get_residue_indexes(Fragment self) -> IMP::Ints"""
6636  return _IMP_atom.Fragment_get_residue_indexes(self)
6637 
6638 
6639  def get_contains_residue(self, rindex):
6640  """get_contains_residue(Fragment self, int rindex) -> bool"""
6641  return _IMP_atom.Fragment_get_contains_residue(self, rindex)
6642 
6643 
6644  def get_contains_any_sorted_residue(self, rinds):
6645  """get_contains_any_sorted_residue(Fragment self, IMP::Ints const & rinds) -> bool"""
6646  return _IMP_atom.Fragment_get_contains_any_sorted_residue(self, rinds)
6647 
6648 
6649  def __init__(self, *args):
6650  """
6651  __init__(IMP::atom::Fragment self) -> Fragment
6652  __init__(IMP::atom::Fragment self, Model m, ParticleIndex id) -> Fragment
6653  __init__(IMP::atom::Fragment self, _ParticleAdaptor d) -> Fragment
6654  """
6655  this = _IMP_atom.new_Fragment(*args)
6656  try:
6657  self.this.append(this)
6658  except:
6659  self.this = this
6660 
6661  def get_is_setup(*args):
6662  """
6663  get_is_setup(Model m, ParticleIndex pi) -> bool
6664  get_is_setup(_ParticleAdaptor p) -> bool
6665  """
6666  return _IMP_atom.Fragment_get_is_setup(*args)
6667 
6668  get_is_setup = staticmethod(get_is_setup)
6669 
6670  def show(self, *args):
6671  """
6672  show(Fragment self, _ostream out)
6673  show(Fragment self)
6674  """
6675  return _IMP_atom.Fragment_show(self, *args)
6676 
6677 
6678  def setup_particle(*args):
6679  """
6680  setup_particle(Model m, ParticleIndex pi) -> Fragment
6681  setup_particle(_ParticleAdaptor decorator) -> Fragment
6682  setup_particle(Model m, ParticleIndex pi, Fragment other) -> Fragment
6683  setup_particle(_ParticleAdaptor decorator, Fragment other) -> Fragment
6684  setup_particle(Model m, ParticleIndex pi, IMP::Ints residue_indexes) -> Fragment
6685  setup_particle(_ParticleAdaptor decorator, IMP::Ints residue_indexes) -> Fragment
6686  """
6687  return _IMP_atom.Fragment_setup_particle(*args)
6688 
6689  setup_particle = staticmethod(setup_particle)
6690 
6691  def add_attribute(self, *args):
6692  """
6693  add_attribute(Fragment self, FloatKey k, IMP::Float v, bool opt)
6694  add_attribute(Fragment self, FloatKey a0, IMP::Float a1)
6695  add_attribute(Fragment self, IntKey a0, IMP::Int a1)
6696  add_attribute(Fragment self, FloatsKey a0, IMP::Floats a1)
6697  add_attribute(Fragment self, IntsKey a0, IMP::Ints a1)
6698  add_attribute(Fragment self, StringKey a0, IMP::String a1)
6699  add_attribute(Fragment self, ParticleIndexKey a0, Particle a1)
6700  add_attribute(Fragment self, ObjectKey a0, Object a1)
6701  """
6702  return _IMP_atom.Fragment_add_attribute(self, *args)
6703 
6704 
6705  def get_value(self, *args):
6706  """
6707  get_value(Fragment self, FloatKey a0) -> IMP::Float
6708  get_value(Fragment self, IntKey a0) -> IMP::Int
6709  get_value(Fragment self, FloatsKey a0) -> IMP::Floats
6710  get_value(Fragment self, IntsKey a0) -> IMP::Ints
6711  get_value(Fragment self, StringKey a0) -> IMP::String
6712  get_value(Fragment self, ParticleIndexKey a0) -> Particle
6713  get_value(Fragment self, ObjectKey a0) -> Object
6714  """
6715  return _IMP_atom.Fragment_get_value(self, *args)
6716 
6717 
6718  def set_value(self, *args):
6719  """
6720  set_value(Fragment self, FloatKey a0, IMP::Float a1)
6721  set_value(Fragment self, IntKey a0, IMP::Int a1)
6722  set_value(Fragment self, FloatsKey a0, IMP::Floats a1)
6723  set_value(Fragment self, IntsKey a0, IMP::Ints a1)
6724  set_value(Fragment self, StringKey a0, IMP::String a1)
6725  set_value(Fragment self, ParticleIndexKey a0, Particle a1)
6726  set_value(Fragment self, ObjectKey a0, Object a1)
6727  """
6728  return _IMP_atom.Fragment_set_value(self, *args)
6729 
6730 
6731  def remove_attribute(self, *args):
6732  """
6733  remove_attribute(Fragment self, FloatKey a0)
6734  remove_attribute(Fragment self, IntKey a0)
6735  remove_attribute(Fragment self, FloatsKey a0)
6736  remove_attribute(Fragment self, IntsKey a0)
6737  remove_attribute(Fragment self, StringKey a0)
6738  remove_attribute(Fragment self, ParticleIndexKey a0)
6739  remove_attribute(Fragment self, ObjectKey a0)
6740  """
6741  return _IMP_atom.Fragment_remove_attribute(self, *args)
6742 
6743 
6744  def has_attribute(self, *args):
6745  """
6746  has_attribute(Fragment self, FloatKey a0) -> bool
6747  has_attribute(Fragment self, IntKey a0) -> bool
6748  has_attribute(Fragment self, FloatsKey a0) -> bool
6749  has_attribute(Fragment self, IntsKey a0) -> bool
6750  has_attribute(Fragment self, StringKey a0) -> bool
6751  has_attribute(Fragment self, ParticleIndexKey a0) -> bool
6752  has_attribute(Fragment self, ObjectKey a0) -> bool
6753  """
6754  return _IMP_atom.Fragment_has_attribute(self, *args)
6755 
6756 
6757  def get_derivative(self, a0):
6758  """get_derivative(Fragment self, FloatKey a0) -> double"""
6759  return _IMP_atom.Fragment_get_derivative(self, a0)
6760 
6761 
6762  def get_name(self):
6763  """get_name(Fragment self) -> std::string"""
6764  return _IMP_atom.Fragment_get_name(self)
6765 
6766 
6767  def clear_caches(self):
6768  """clear_caches(Fragment self)"""
6769  return _IMP_atom.Fragment_clear_caches(self)
6770 
6771 
6772  def set_name(self, a0):
6773  """set_name(Fragment self, std::string a0)"""
6774  return _IMP_atom.Fragment_set_name(self, a0)
6775 
6776 
6777  def set_check_level(self, a0):
6778  """set_check_level(Fragment self, IMP::CheckLevel a0)"""
6779  return _IMP_atom.Fragment_set_check_level(self, a0)
6780 
6781 
6782  def add_to_derivative(self, a0, a1, a2):
6783  """add_to_derivative(Fragment self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
6784  return _IMP_atom.Fragment_add_to_derivative(self, a0, a1, a2)
6785 
6786 
6787  def set_is_optimized(self, a0, a1):
6788  """set_is_optimized(Fragment self, FloatKey a0, bool a1)"""
6789  return _IMP_atom.Fragment_set_is_optimized(self, a0, a1)
6790 
6791 
6792  def get_is_optimized(self, a0):
6793  """get_is_optimized(Fragment self, FloatKey a0) -> bool"""
6794  return _IMP_atom.Fragment_get_is_optimized(self, a0)
6795 
6796 
6797  def get_check_level(self):
6798  """get_check_level(Fragment self) -> IMP::CheckLevel"""
6799  return _IMP_atom.Fragment_get_check_level(self)
6800 
6801 
6802  def __eq__(self, *args):
6803  """
6804  __eq__(Fragment self, Fragment o) -> bool
6805  __eq__(Fragment self, Particle d) -> bool
6806  """
6807  return _IMP_atom.Fragment___eq__(self, *args)
6808 
6809 
6810  def __ne__(self, *args):
6811  """
6812  __ne__(Fragment self, Fragment o) -> bool
6813  __ne__(Fragment self, Particle d) -> bool
6814  """
6815  return _IMP_atom.Fragment___ne__(self, *args)
6816 
6817 
6818  def __le__(self, *args):
6819  """
6820  __le__(Fragment self, Fragment o) -> bool
6821  __le__(Fragment self, Particle d) -> bool
6822  """
6823  return _IMP_atom.Fragment___le__(self, *args)
6824 
6825 
6826  def __lt__(self, *args):
6827  """
6828  __lt__(Fragment self, Fragment o) -> bool
6829  __lt__(Fragment self, Particle d) -> bool
6830  """
6831  return _IMP_atom.Fragment___lt__(self, *args)
6832 
6833 
6834  def __ge__(self, *args):
6835  """
6836  __ge__(Fragment self, Fragment o) -> bool
6837  __ge__(Fragment self, Particle d) -> bool
6838  """
6839  return _IMP_atom.Fragment___ge__(self, *args)
6840 
6841 
6842  def __gt__(self, *args):
6843  """
6844  __gt__(Fragment self, Fragment o) -> bool
6845  __gt__(Fragment self, Particle d) -> bool
6846  """
6847  return _IMP_atom.Fragment___gt__(self, *args)
6848 
6849 
6850  def __hash__(self):
6851  """__hash__(Fragment self) -> std::size_t"""
6852  return _IMP_atom.Fragment___hash__(self)
6853 
6854 
6855  def __str__(self):
6856  """__str__(Fragment self) -> std::string"""
6857  return _IMP_atom.Fragment___str__(self)
6858 
6859 
6860  def __repr__(self):
6861  """__repr__(Fragment self) -> std::string"""
6862  return _IMP_atom.Fragment___repr__(self)
6863 
6864  __swig_destroy__ = _IMP_atom.delete_Fragment
6865  __del__ = lambda self: None
6866 Fragment_swigregister = _IMP_atom.Fragment_swigregister
6867 Fragment_swigregister(Fragment)
6868 
6869 def Fragment_get_is_setup(*args):
6870  """
6871  get_is_setup(Model m, ParticleIndex pi) -> bool
6872  Fragment_get_is_setup(_ParticleAdaptor p) -> bool
6873  """
6874  return _IMP_atom.Fragment_get_is_setup(*args)
6875 
6876 def Fragment_setup_particle(*args):
6877  """
6878  setup_particle(Model m, ParticleIndex pi) -> Fragment
6879  setup_particle(_ParticleAdaptor decorator) -> Fragment
6880  setup_particle(Model m, ParticleIndex pi, Fragment other) -> Fragment
6881  setup_particle(_ParticleAdaptor decorator, Fragment other) -> Fragment
6882  setup_particle(Model m, ParticleIndex pi, IMP::Ints residue_indexes) -> Fragment
6883  Fragment_setup_particle(_ParticleAdaptor decorator, IMP::Ints residue_indexes) -> Fragment
6884  """
6885  return _IMP_atom.Fragment_setup_particle(*args)
6886 
6887 class StereochemistryPairFilter(IMP.PairPredicate):
6888  """Proxy of C++ IMP::atom::StereochemistryPairFilter class"""
6889  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6890 
6891  def __init__(self):
6892  """__init__(IMP::atom::StereochemistryPairFilter self) -> StereochemistryPairFilter"""
6893  this = _IMP_atom.new_StereochemistryPairFilter()
6894  try:
6895  self.this.append(this)
6896  except:
6897  self.this = this
6898 
6899  def set_bonds(self, bonds):
6900  """set_bonds(StereochemistryPairFilter self, IMP::Particles const & bonds)"""
6901  return _IMP_atom.StereochemistryPairFilter_set_bonds(self, bonds)
6902 
6903 
6904  def set_angles(self, angles):
6905  """set_angles(StereochemistryPairFilter self, IMP::Particles const & angles)"""
6906  return _IMP_atom.StereochemistryPairFilter_set_angles(self, angles)
6907 
6908 
6909  def set_dihedrals(self, dihedrals):
6910  """set_dihedrals(StereochemistryPairFilter self, IMP::Particles const & dihedrals)"""
6911  return _IMP_atom.StereochemistryPairFilter_set_dihedrals(self, dihedrals)
6912 
6913 
6914  def do_get_inputs(self, m, pis):
6915  """do_get_inputs(StereochemistryPairFilter self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
6916  return _IMP_atom.StereochemistryPairFilter_do_get_inputs(self, m, pis)
6917 
6918 
6919  def get_value(self, *args):
6920  """
6921  get_value(StereochemistryPairFilter self, IMP::ParticlePair const & a) -> int
6922  get_value(StereochemistryPairFilter self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
6923  """
6924  return _IMP_atom.StereochemistryPairFilter_get_value(self, *args)
6925 
6926 
6927  def get_value_index(self, *args):
6928  """
6929  get_value_index(StereochemistryPairFilter self, Model m, IMP::ParticleIndexPair const & p) -> int
6930  get_value_index(StereochemistryPairFilter self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
6931  """
6932  return _IMP_atom.StereochemistryPairFilter_get_value_index(self, *args)
6933 
6934 
6935  def get_version_info(self):
6936  """get_version_info(StereochemistryPairFilter self) -> VersionInfo"""
6937  return _IMP_atom.StereochemistryPairFilter_get_version_info(self)
6938 
6939 
6940  def __str__(self):
6941  """__str__(StereochemistryPairFilter self) -> std::string"""
6942  return _IMP_atom.StereochemistryPairFilter___str__(self)
6943 
6944 
6945  def __repr__(self):
6946  """__repr__(StereochemistryPairFilter self) -> std::string"""
6947  return _IMP_atom.StereochemistryPairFilter___repr__(self)
6948 
6949 
6950  @staticmethod
6951  def get_from(o):
6952  return _object_cast_to_StereochemistryPairFilter(o)
6953 
6954 StereochemistryPairFilter_swigregister = _IMP_atom.StereochemistryPairFilter_swigregister
6955 StereochemistryPairFilter_swigregister(StereochemistryPairFilter)
6956 
6957 class SoapPairFilter(IMP.PairPredicate):
6958  """Proxy of C++ IMP::atom::SoapPairFilter class"""
6959  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
6960 
6961  def __init__(self, library):
6962  """__init__(IMP::atom::SoapPairFilter self, std::string library) -> SoapPairFilter"""
6963  this = _IMP_atom.new_SoapPairFilter(library)
6964  try:
6965  self.this.append(this)
6966  except:
6967  self.this = this
6968 
6969  def do_get_inputs(self, m, pis):
6970  """do_get_inputs(SoapPairFilter self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
6971  return _IMP_atom.SoapPairFilter_do_get_inputs(self, m, pis)
6972 
6973 
6974  def get_value(self, *args):
6975  """
6976  get_value(SoapPairFilter self, IMP::ParticlePair const & a) -> int
6977  get_value(SoapPairFilter self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
6978  """
6979  return _IMP_atom.SoapPairFilter_get_value(self, *args)
6980 
6981 
6982  def get_value_index(self, *args):
6983  """
6984  get_value_index(SoapPairFilter self, Model m, IMP::ParticleIndexPair const & p) -> int
6985  get_value_index(SoapPairFilter self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
6986  """
6987  return _IMP_atom.SoapPairFilter_get_value_index(self, *args)
6988 
6989 
6990  def get_version_info(self):
6991  """get_version_info(SoapPairFilter self) -> VersionInfo"""
6992  return _IMP_atom.SoapPairFilter_get_version_info(self)
6993 
6994 
6995  def __str__(self):
6996  """__str__(SoapPairFilter self) -> std::string"""
6997  return _IMP_atom.SoapPairFilter___str__(self)
6998 
6999 
7000  def __repr__(self):
7001  """__repr__(SoapPairFilter self) -> std::string"""
7002  return _IMP_atom.SoapPairFilter___repr__(self)
7003 
7004 
7005  @staticmethod
7006  def get_from(o):
7007  return _object_cast_to_SoapPairFilter(o)
7008 
7009 SoapPairFilter_swigregister = _IMP_atom.SoapPairFilter_swigregister
7010 SoapPairFilter_swigregister(SoapPairFilter)
7011 
7012 class Mass(IMP.Decorator):
7013  """Proxy of C++ IMP::atom::Mass class"""
7014  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7015 
7016  def get_mass(self):
7017  """get_mass(Mass self) -> IMP::Float"""
7018  return _IMP_atom.Mass_get_mass(self)
7019 
7020 
7021  def set_mass(self, d):
7022  """set_mass(Mass self, IMP::Float d)"""
7023  return _IMP_atom.Mass_set_mass(self, d)
7024 
7025 
7026  def __init__(self, *args):
7027  """
7028  __init__(IMP::atom::Mass self) -> Mass
7029  __init__(IMP::atom::Mass self, Model m, ParticleIndex id) -> Mass
7030  __init__(IMP::atom::Mass self, _ParticleAdaptor d) -> Mass
7031  """
7032  this = _IMP_atom.new_Mass(*args)
7033  try:
7034  self.this.append(this)
7035  except:
7036  self.this = this
7037 
7038  def get_is_setup(*args):
7039  """
7040  get_is_setup(Model m, ParticleIndex pi) -> bool
7041  get_is_setup(_ParticleAdaptor p) -> bool
7042  """
7043  return _IMP_atom.Mass_get_is_setup(*args)
7044 
7045  get_is_setup = staticmethod(get_is_setup)
7046 
7047  def show(self, *args):
7048  """
7049  show(Mass self, _ostream out)
7050  show(Mass self)
7051  """
7052  return _IMP_atom.Mass_show(self, *args)
7053 
7054 
7055  def setup_particle(*args):
7056  """
7057  setup_particle(Model m, ParticleIndex pi, IMP::Float mass) -> Mass
7058  setup_particle(_ParticleAdaptor decorator, IMP::Float mass) -> Mass
7059  setup_particle(Model m, ParticleIndex pi, Mass other) -> Mass
7060  setup_particle(_ParticleAdaptor decorator, Mass other) -> Mass
7061  """
7062  return _IMP_atom.Mass_setup_particle(*args)
7063 
7064  setup_particle = staticmethod(setup_particle)
7065 
7066  def get_mass_key():
7067  """get_mass_key() -> FloatKey"""
7068  return _IMP_atom.Mass_get_mass_key()
7069 
7070  get_mass_key = staticmethod(get_mass_key)
7071 
7072  def add_attribute(self, *args):
7073  """
7074  add_attribute(Mass self, FloatKey k, IMP::Float v, bool opt)
7075  add_attribute(Mass self, FloatKey a0, IMP::Float a1)
7076  add_attribute(Mass self, IntKey a0, IMP::Int a1)
7077  add_attribute(Mass self, FloatsKey a0, IMP::Floats a1)
7078  add_attribute(Mass self, IntsKey a0, IMP::Ints a1)
7079  add_attribute(Mass self, StringKey a0, IMP::String a1)
7080  add_attribute(Mass self, ParticleIndexKey a0, Particle a1)
7081  add_attribute(Mass self, ObjectKey a0, Object a1)
7082  """
7083  return _IMP_atom.Mass_add_attribute(self, *args)
7084 
7085 
7086  def get_value(self, *args):
7087  """
7088  get_value(Mass self, FloatKey a0) -> IMP::Float
7089  get_value(Mass self, IntKey a0) -> IMP::Int
7090  get_value(Mass self, FloatsKey a0) -> IMP::Floats
7091  get_value(Mass self, IntsKey a0) -> IMP::Ints
7092  get_value(Mass self, StringKey a0) -> IMP::String
7093  get_value(Mass self, ParticleIndexKey a0) -> Particle
7094  get_value(Mass self, ObjectKey a0) -> Object
7095  """
7096  return _IMP_atom.Mass_get_value(self, *args)
7097 
7098 
7099  def set_value(self, *args):
7100  """
7101  set_value(Mass self, FloatKey a0, IMP::Float a1)
7102  set_value(Mass self, IntKey a0, IMP::Int a1)
7103  set_value(Mass self, FloatsKey a0, IMP::Floats a1)
7104  set_value(Mass self, IntsKey a0, IMP::Ints a1)
7105  set_value(Mass self, StringKey a0, IMP::String a1)
7106  set_value(Mass self, ParticleIndexKey a0, Particle a1)
7107  set_value(Mass self, ObjectKey a0, Object a1)
7108  """
7109  return _IMP_atom.Mass_set_value(self, *args)
7110 
7111 
7112  def remove_attribute(self, *args):
7113  """
7114  remove_attribute(Mass self, FloatKey a0)
7115  remove_attribute(Mass self, IntKey a0)
7116  remove_attribute(Mass self, FloatsKey a0)
7117  remove_attribute(Mass self, IntsKey a0)
7118  remove_attribute(Mass self, StringKey a0)
7119  remove_attribute(Mass self, ParticleIndexKey a0)
7120  remove_attribute(Mass self, ObjectKey a0)
7121  """
7122  return _IMP_atom.Mass_remove_attribute(self, *args)
7123 
7124 
7125  def has_attribute(self, *args):
7126  """
7127  has_attribute(Mass self, FloatKey a0) -> bool
7128  has_attribute(Mass self, IntKey a0) -> bool
7129  has_attribute(Mass self, FloatsKey a0) -> bool
7130  has_attribute(Mass self, IntsKey a0) -> bool
7131  has_attribute(Mass self, StringKey a0) -> bool
7132  has_attribute(Mass self, ParticleIndexKey a0) -> bool
7133  has_attribute(Mass self, ObjectKey a0) -> bool
7134  """
7135  return _IMP_atom.Mass_has_attribute(self, *args)
7136 
7137 
7138  def get_derivative(self, a0):
7139  """get_derivative(Mass self, FloatKey a0) -> double"""
7140  return _IMP_atom.Mass_get_derivative(self, a0)
7141 
7142 
7143  def get_name(self):
7144  """get_name(Mass self) -> std::string"""
7145  return _IMP_atom.Mass_get_name(self)
7146 
7147 
7148  def clear_caches(self):
7149  """clear_caches(Mass self)"""
7150  return _IMP_atom.Mass_clear_caches(self)
7151 
7152 
7153  def set_name(self, a0):
7154  """set_name(Mass self, std::string a0)"""
7155  return _IMP_atom.Mass_set_name(self, a0)
7156 
7157 
7158  def set_check_level(self, a0):
7159  """set_check_level(Mass self, IMP::CheckLevel a0)"""
7160  return _IMP_atom.Mass_set_check_level(self, a0)
7161 
7162 
7163  def add_to_derivative(self, a0, a1, a2):
7164  """add_to_derivative(Mass self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
7165  return _IMP_atom.Mass_add_to_derivative(self, a0, a1, a2)
7166 
7167 
7168  def set_is_optimized(self, a0, a1):
7169  """set_is_optimized(Mass self, FloatKey a0, bool a1)"""
7170  return _IMP_atom.Mass_set_is_optimized(self, a0, a1)
7171 
7172 
7173  def get_is_optimized(self, a0):
7174  """get_is_optimized(Mass self, FloatKey a0) -> bool"""
7175  return _IMP_atom.Mass_get_is_optimized(self, a0)
7176 
7177 
7178  def get_check_level(self):
7179  """get_check_level(Mass self) -> IMP::CheckLevel"""
7180  return _IMP_atom.Mass_get_check_level(self)
7181 
7182 
7183  def __eq__(self, *args):
7184  """
7185  __eq__(Mass self, Mass o) -> bool
7186  __eq__(Mass self, Particle d) -> bool
7187  """
7188  return _IMP_atom.Mass___eq__(self, *args)
7189 
7190 
7191  def __ne__(self, *args):
7192  """
7193  __ne__(Mass self, Mass o) -> bool
7194  __ne__(Mass self, Particle d) -> bool
7195  """
7196  return _IMP_atom.Mass___ne__(self, *args)
7197 
7198 
7199  def __le__(self, *args):
7200  """
7201  __le__(Mass self, Mass o) -> bool
7202  __le__(Mass self, Particle d) -> bool
7203  """
7204  return _IMP_atom.Mass___le__(self, *args)
7205 
7206 
7207  def __lt__(self, *args):
7208  """
7209  __lt__(Mass self, Mass o) -> bool
7210  __lt__(Mass self, Particle d) -> bool
7211  """
7212  return _IMP_atom.Mass___lt__(self, *args)
7213 
7214 
7215  def __ge__(self, *args):
7216  """
7217  __ge__(Mass self, Mass o) -> bool
7218  __ge__(Mass self, Particle d) -> bool
7219  """
7220  return _IMP_atom.Mass___ge__(self, *args)
7221 
7222 
7223  def __gt__(self, *args):
7224  """
7225  __gt__(Mass self, Mass o) -> bool
7226  __gt__(Mass self, Particle d) -> bool
7227  """
7228  return _IMP_atom.Mass___gt__(self, *args)
7229 
7230 
7231  def __hash__(self):
7232  """__hash__(Mass self) -> std::size_t"""
7233  return _IMP_atom.Mass___hash__(self)
7234 
7235 
7236  def __str__(self):
7237  """__str__(Mass self) -> std::string"""
7238  return _IMP_atom.Mass___str__(self)
7239 
7240 
7241  def __repr__(self):
7242  """__repr__(Mass self) -> std::string"""
7243  return _IMP_atom.Mass___repr__(self)
7244 
7245  __swig_destroy__ = _IMP_atom.delete_Mass
7246  __del__ = lambda self: None
7247 Mass_swigregister = _IMP_atom.Mass_swigregister
7248 Mass_swigregister(Mass)
7249 
7250 def Mass_get_is_setup(*args):
7251  """
7252  get_is_setup(Model m, ParticleIndex pi) -> bool
7253  Mass_get_is_setup(_ParticleAdaptor p) -> bool
7254  """
7255  return _IMP_atom.Mass_get_is_setup(*args)
7256 
7257 def Mass_setup_particle(*args):
7258  """
7259  setup_particle(Model m, ParticleIndex pi, IMP::Float mass) -> Mass
7260  setup_particle(_ParticleAdaptor decorator, IMP::Float mass) -> Mass
7261  setup_particle(Model m, ParticleIndex pi, Mass other) -> Mass
7262  Mass_setup_particle(_ParticleAdaptor decorator, Mass other) -> Mass
7263  """
7264  return _IMP_atom.Mass_setup_particle(*args)
7265 
7266 def Mass_get_mass_key():
7267  """Mass_get_mass_key() -> FloatKey"""
7268  return _IMP_atom.Mass_get_mass_key()
7269 
7270 class BondedPairFilter(IMP.PairPredicate):
7271  """Proxy of C++ IMP::atom::BondedPairFilter class"""
7272  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7273 
7274  def __init__(self):
7275  """__init__(IMP::atom::BondedPairFilter self) -> BondedPairFilter"""
7276  this = _IMP_atom.new_BondedPairFilter()
7277  try:
7278  self.this.append(this)
7279  except:
7280  self.this = this
7281 
7282  def do_get_inputs(self, m, pis):
7283  """do_get_inputs(BondedPairFilter self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7284  return _IMP_atom.BondedPairFilter_do_get_inputs(self, m, pis)
7285 
7286 
7287  def get_value(self, *args):
7288  """
7289  get_value(BondedPairFilter self, IMP::ParticlePair const & a) -> int
7290  get_value(BondedPairFilter self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
7291  """
7292  return _IMP_atom.BondedPairFilter_get_value(self, *args)
7293 
7294 
7295  def get_value_index(self, *args):
7296  """
7297  get_value_index(BondedPairFilter self, Model m, IMP::ParticleIndexPair const & p) -> int
7298  get_value_index(BondedPairFilter self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
7299  """
7300  return _IMP_atom.BondedPairFilter_get_value_index(self, *args)
7301 
7302 
7303  def get_version_info(self):
7304  """get_version_info(BondedPairFilter self) -> VersionInfo"""
7305  return _IMP_atom.BondedPairFilter_get_version_info(self)
7306 
7307 
7308  def __str__(self):
7309  """__str__(BondedPairFilter self) -> std::string"""
7310  return _IMP_atom.BondedPairFilter___str__(self)
7311 
7312 
7313  def __repr__(self):
7314  """__repr__(BondedPairFilter self) -> std::string"""
7315  return _IMP_atom.BondedPairFilter___repr__(self)
7316 
7317 
7318  @staticmethod
7319  def get_from(o):
7320  return _object_cast_to_BondedPairFilter(o)
7321 
7322 BondedPairFilter_swigregister = _IMP_atom.BondedPairFilter_swigregister
7323 BondedPairFilter_swigregister(BondedPairFilter)
7324 
7325 class Mol2Selector(IMP.Object):
7326  """Proxy of C++ IMP::atom::Mol2Selector class"""
7327  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7328 
7329  def __init__(self, *args, **kwargs):
7330  raise AttributeError("No constructor defined - class is abstract")
7331 
7332  def get_is_selected(self, atom_line):
7333  """get_is_selected(Mol2Selector self, std::string const & atom_line) -> bool"""
7334  return _IMP_atom.Mol2Selector_get_is_selected(self, atom_line)
7335 
7336  __swig_destroy__ = _IMP_atom.delete_Mol2Selector
7337  __del__ = lambda self: None
7338 
7339  def __str__(self):
7340  """__str__(Mol2Selector self) -> std::string"""
7341  return _IMP_atom.Mol2Selector___str__(self)
7342 
7343 
7344  def __repr__(self):
7345  """__repr__(Mol2Selector self) -> std::string"""
7346  return _IMP_atom.Mol2Selector___repr__(self)
7347 
7348 
7349  @staticmethod
7350  def get_from(o):
7351  return _object_cast_to_Mol2Selector(o)
7352 
7353 Mol2Selector_swigregister = _IMP_atom.Mol2Selector_swigregister
7354 Mol2Selector_swigregister(Mol2Selector)
7355 
7356 class AllMol2Selector(Mol2Selector):
7357  """Proxy of C++ IMP::atom::AllMol2Selector class"""
7358  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7359 
7360  def __str__(self):
7361  """__str__(AllMol2Selector self) -> std::string"""
7362  return _IMP_atom.AllMol2Selector___str__(self)
7363 
7364 
7365  def __repr__(self):
7366  """__repr__(AllMol2Selector self) -> std::string"""
7367  return _IMP_atom.AllMol2Selector___repr__(self)
7368 
7369 
7370  @staticmethod
7371  def get_from(o):
7372  return _object_cast_to_AllMol2Selector(o)
7373 
7374 
7375  def __init__(self):
7376  """__init__(IMP::atom::AllMol2Selector self) -> AllMol2Selector"""
7377  this = _IMP_atom.new_AllMol2Selector()
7378  try:
7379  self.this.append(this)
7380  except:
7381  self.this = this
7382  __swig_destroy__ = _IMP_atom.delete_AllMol2Selector
7383  __del__ = lambda self: None
7384 AllMol2Selector_swigregister = _IMP_atom.AllMol2Selector_swigregister
7385 AllMol2Selector_swigregister(AllMol2Selector)
7386 
7387 class NonHydrogenMol2Selector(Mol2Selector):
7388  """Proxy of C++ IMP::atom::NonHydrogenMol2Selector class"""
7389  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7390 
7391  def __str__(self):
7392  """__str__(NonHydrogenMol2Selector self) -> std::string"""
7393  return _IMP_atom.NonHydrogenMol2Selector___str__(self)
7394 
7395 
7396  def __repr__(self):
7397  """__repr__(NonHydrogenMol2Selector self) -> std::string"""
7398  return _IMP_atom.NonHydrogenMol2Selector___repr__(self)
7399 
7400 
7401  @staticmethod
7402  def get_from(o):
7403  return _object_cast_to_NonHydrogenMol2Selector(o)
7404 
7405 
7406  def __init__(self):
7407  """__init__(IMP::atom::NonHydrogenMol2Selector self) -> NonHydrogenMol2Selector"""
7408  this = _IMP_atom.new_NonHydrogenMol2Selector()
7409  try:
7410  self.this.append(this)
7411  except:
7412  self.this = this
7413  __swig_destroy__ = _IMP_atom.delete_NonHydrogenMol2Selector
7414  __del__ = lambda self: None
7415 NonHydrogenMol2Selector_swigregister = _IMP_atom.NonHydrogenMol2Selector_swigregister
7416 NonHydrogenMol2Selector_swigregister(NonHydrogenMol2Selector)
7417 
7418 
7419 def read_mol2(mol2_file, model, mol2sel=None):
7420  """
7421  read_mol2(TextInput mol2_file, Model model, Mol2Selector mol2sel=None) -> Hierarchy
7422  read_mol2(TextInput mol2_file, Model model) -> Hierarchy
7423  """
7424  return _IMP_atom.read_mol2(mol2_file, model, mol2sel)
7425 
7426 def write_mol2(rhd, file_name):
7427  """write_mol2(Hierarchy rhd, TextOutput file_name)"""
7428  return _IMP_atom.write_mol2(rhd, file_name)
7429 class SecondaryStructureResidue(IMP.Decorator):
7430  """Proxy of C++ IMP::atom::SecondaryStructureResidue class"""
7431  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7432 
7433  def __init__(self, *args):
7434  """
7435  __init__(IMP::atom::SecondaryStructureResidue self) -> SecondaryStructureResidue
7436  __init__(IMP::atom::SecondaryStructureResidue self, Model m, ParticleIndex id) -> SecondaryStructureResidue
7437  __init__(IMP::atom::SecondaryStructureResidue self, _ParticleAdaptor d) -> SecondaryStructureResidue
7438  """
7439  this = _IMP_atom.new_SecondaryStructureResidue(*args)
7440  try:
7441  self.this.append(this)
7442  except:
7443  self.this = this
7444 
7445  def show(self, *args):
7446  """
7447  show(SecondaryStructureResidue self, _ostream out)
7448  show(SecondaryStructureResidue self)
7449  """
7450  return _IMP_atom.SecondaryStructureResidue_show(self, *args)
7451 
7452 
7453  def setup_particle(*args):
7454  """
7455  setup_particle(Model m, ParticleIndex pi, IMP::Float prob_helix, IMP::Float prob_strand, IMP::Float prob_coil) -> SecondaryStructureResidue
7456  setup_particle(_ParticleAdaptor decorator, IMP::Float prob_helix, IMP::Float prob_strand, IMP::Float prob_coil) -> SecondaryStructureResidue
7457  setup_particle(Particle res_p) -> SecondaryStructureResidue
7458  """
7459  return _IMP_atom.SecondaryStructureResidue_setup_particle(*args)
7460 
7461  setup_particle = staticmethod(setup_particle)
7462 
7463  def get_is_setup(*args):
7464  """
7465  get_is_setup(_ParticleAdaptor p) -> bool
7466  get_is_setup(Model m, ParticleIndex pi) -> bool
7467  """
7468  return _IMP_atom.SecondaryStructureResidue_get_is_setup(*args)
7469 
7470  get_is_setup = staticmethod(get_is_setup)
7471 
7472  def get_particle(self):
7473  """get_particle(SecondaryStructureResidue self) -> Particle"""
7474  return _IMP_atom.SecondaryStructureResidue_get_particle(self)
7475 
7476 
7477  def get_all_probabilities(self):
7478  """get_all_probabilities(SecondaryStructureResidue self) -> IMP::Floats"""
7479  return _IMP_atom.SecondaryStructureResidue_get_all_probabilities(self)
7480 
7481 
7482  def get_prob_helix(self):
7483  """get_prob_helix(SecondaryStructureResidue self) -> IMP::Float"""
7484  return _IMP_atom.SecondaryStructureResidue_get_prob_helix(self)
7485 
7486 
7487  def set_prob_helix(self, t):
7488  """set_prob_helix(SecondaryStructureResidue self, IMP::Float t)"""
7489  return _IMP_atom.SecondaryStructureResidue_set_prob_helix(self, t)
7490 
7491 
7492  def get_prob_strand(self):
7493  """get_prob_strand(SecondaryStructureResidue self) -> IMP::Float"""
7494  return _IMP_atom.SecondaryStructureResidue_get_prob_strand(self)
7495 
7496 
7497  def set_prob_strand(self, t):
7498  """set_prob_strand(SecondaryStructureResidue self, IMP::Float t)"""
7499  return _IMP_atom.SecondaryStructureResidue_set_prob_strand(self, t)
7500 
7501 
7502  def get_prob_coil(self):
7503  """get_prob_coil(SecondaryStructureResidue self) -> IMP::Float"""
7504  return _IMP_atom.SecondaryStructureResidue_get_prob_coil(self)
7505 
7506 
7507  def set_prob_coil(self, t):
7508  """set_prob_coil(SecondaryStructureResidue self, IMP::Float t)"""
7509  return _IMP_atom.SecondaryStructureResidue_set_prob_coil(self, t)
7510 
7511 
7512  def get_prob_helix_key():
7513  """get_prob_helix_key() -> FloatKey"""
7514  return _IMP_atom.SecondaryStructureResidue_get_prob_helix_key()
7515 
7516  get_prob_helix_key = staticmethod(get_prob_helix_key)
7517 
7518  def get_prob_strand_key():
7519  """get_prob_strand_key() -> FloatKey"""
7520  return _IMP_atom.SecondaryStructureResidue_get_prob_strand_key()
7521 
7522  get_prob_strand_key = staticmethod(get_prob_strand_key)
7523 
7524  def get_prob_coil_key():
7525  """get_prob_coil_key() -> FloatKey"""
7526  return _IMP_atom.SecondaryStructureResidue_get_prob_coil_key()
7527 
7528  get_prob_coil_key = staticmethod(get_prob_coil_key)
7529 
7530  def add_attribute(self, *args):
7531  """
7532  add_attribute(SecondaryStructureResidue self, FloatKey k, IMP::Float v, bool opt)
7533  add_attribute(SecondaryStructureResidue self, FloatKey a0, IMP::Float a1)
7534  add_attribute(SecondaryStructureResidue self, IntKey a0, IMP::Int a1)
7535  add_attribute(SecondaryStructureResidue self, FloatsKey a0, IMP::Floats a1)
7536  add_attribute(SecondaryStructureResidue self, IntsKey a0, IMP::Ints a1)
7537  add_attribute(SecondaryStructureResidue self, StringKey a0, IMP::String a1)
7538  add_attribute(SecondaryStructureResidue self, ParticleIndexKey a0, Particle a1)
7539  add_attribute(SecondaryStructureResidue self, ObjectKey a0, Object a1)
7540  """
7541  return _IMP_atom.SecondaryStructureResidue_add_attribute(self, *args)
7542 
7543 
7544  def get_value(self, *args):
7545  """
7546  get_value(SecondaryStructureResidue self, FloatKey a0) -> IMP::Float
7547  get_value(SecondaryStructureResidue self, IntKey a0) -> IMP::Int
7548  get_value(SecondaryStructureResidue self, FloatsKey a0) -> IMP::Floats
7549  get_value(SecondaryStructureResidue self, IntsKey a0) -> IMP::Ints
7550  get_value(SecondaryStructureResidue self, StringKey a0) -> IMP::String
7551  get_value(SecondaryStructureResidue self, ParticleIndexKey a0) -> Particle
7552  get_value(SecondaryStructureResidue self, ObjectKey a0) -> Object
7553  """
7554  return _IMP_atom.SecondaryStructureResidue_get_value(self, *args)
7555 
7556 
7557  def set_value(self, *args):
7558  """
7559  set_value(SecondaryStructureResidue self, FloatKey a0, IMP::Float a1)
7560  set_value(SecondaryStructureResidue self, IntKey a0, IMP::Int a1)
7561  set_value(SecondaryStructureResidue self, FloatsKey a0, IMP::Floats a1)
7562  set_value(SecondaryStructureResidue self, IntsKey a0, IMP::Ints a1)
7563  set_value(SecondaryStructureResidue self, StringKey a0, IMP::String a1)
7564  set_value(SecondaryStructureResidue self, ParticleIndexKey a0, Particle a1)
7565  set_value(SecondaryStructureResidue self, ObjectKey a0, Object a1)
7566  """
7567  return _IMP_atom.SecondaryStructureResidue_set_value(self, *args)
7568 
7569 
7570  def remove_attribute(self, *args):
7571  """
7572  remove_attribute(SecondaryStructureResidue self, FloatKey a0)
7573  remove_attribute(SecondaryStructureResidue self, IntKey a0)
7574  remove_attribute(SecondaryStructureResidue self, FloatsKey a0)
7575  remove_attribute(SecondaryStructureResidue self, IntsKey a0)
7576  remove_attribute(SecondaryStructureResidue self, StringKey a0)
7577  remove_attribute(SecondaryStructureResidue self, ParticleIndexKey a0)
7578  remove_attribute(SecondaryStructureResidue self, ObjectKey a0)
7579  """
7580  return _IMP_atom.SecondaryStructureResidue_remove_attribute(self, *args)
7581 
7582 
7583  def has_attribute(self, *args):
7584  """
7585  has_attribute(SecondaryStructureResidue self, FloatKey a0) -> bool
7586  has_attribute(SecondaryStructureResidue self, IntKey a0) -> bool
7587  has_attribute(SecondaryStructureResidue self, FloatsKey a0) -> bool
7588  has_attribute(SecondaryStructureResidue self, IntsKey a0) -> bool
7589  has_attribute(SecondaryStructureResidue self, StringKey a0) -> bool
7590  has_attribute(SecondaryStructureResidue self, ParticleIndexKey a0) -> bool
7591  has_attribute(SecondaryStructureResidue self, ObjectKey a0) -> bool
7592  """
7593  return _IMP_atom.SecondaryStructureResidue_has_attribute(self, *args)
7594 
7595 
7596  def get_derivative(self, a0):
7597  """get_derivative(SecondaryStructureResidue self, FloatKey a0) -> double"""
7598  return _IMP_atom.SecondaryStructureResidue_get_derivative(self, a0)
7599 
7600 
7601  def get_name(self):
7602  """get_name(SecondaryStructureResidue self) -> std::string"""
7603  return _IMP_atom.SecondaryStructureResidue_get_name(self)
7604 
7605 
7606  def clear_caches(self):
7607  """clear_caches(SecondaryStructureResidue self)"""
7608  return _IMP_atom.SecondaryStructureResidue_clear_caches(self)
7609 
7610 
7611  def set_name(self, a0):
7612  """set_name(SecondaryStructureResidue self, std::string a0)"""
7613  return _IMP_atom.SecondaryStructureResidue_set_name(self, a0)
7614 
7615 
7616  def set_check_level(self, a0):
7617  """set_check_level(SecondaryStructureResidue self, IMP::CheckLevel a0)"""
7618  return _IMP_atom.SecondaryStructureResidue_set_check_level(self, a0)
7619 
7620 
7621  def add_to_derivative(self, a0, a1, a2):
7622  """add_to_derivative(SecondaryStructureResidue self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
7623  return _IMP_atom.SecondaryStructureResidue_add_to_derivative(self, a0, a1, a2)
7624 
7625 
7626  def set_is_optimized(self, a0, a1):
7627  """set_is_optimized(SecondaryStructureResidue self, FloatKey a0, bool a1)"""
7628  return _IMP_atom.SecondaryStructureResidue_set_is_optimized(self, a0, a1)
7629 
7630 
7631  def get_is_optimized(self, a0):
7632  """get_is_optimized(SecondaryStructureResidue self, FloatKey a0) -> bool"""
7633  return _IMP_atom.SecondaryStructureResidue_get_is_optimized(self, a0)
7634 
7635 
7636  def get_check_level(self):
7637  """get_check_level(SecondaryStructureResidue self) -> IMP::CheckLevel"""
7638  return _IMP_atom.SecondaryStructureResidue_get_check_level(self)
7639 
7640 
7641  def __eq__(self, *args):
7642  """
7643  __eq__(SecondaryStructureResidue self, SecondaryStructureResidue o) -> bool
7644  __eq__(SecondaryStructureResidue self, Particle d) -> bool
7645  """
7646  return _IMP_atom.SecondaryStructureResidue___eq__(self, *args)
7647 
7648 
7649  def __ne__(self, *args):
7650  """
7651  __ne__(SecondaryStructureResidue self, SecondaryStructureResidue o) -> bool
7652  __ne__(SecondaryStructureResidue self, Particle d) -> bool
7653  """
7654  return _IMP_atom.SecondaryStructureResidue___ne__(self, *args)
7655 
7656 
7657  def __le__(self, *args):
7658  """
7659  __le__(SecondaryStructureResidue self, SecondaryStructureResidue o) -> bool
7660  __le__(SecondaryStructureResidue self, Particle d) -> bool
7661  """
7662  return _IMP_atom.SecondaryStructureResidue___le__(self, *args)
7663 
7664 
7665  def __lt__(self, *args):
7666  """
7667  __lt__(SecondaryStructureResidue self, SecondaryStructureResidue o) -> bool
7668  __lt__(SecondaryStructureResidue self, Particle d) -> bool
7669  """
7670  return _IMP_atom.SecondaryStructureResidue___lt__(self, *args)
7671 
7672 
7673  def __ge__(self, *args):
7674  """
7675  __ge__(SecondaryStructureResidue self, SecondaryStructureResidue o) -> bool
7676  __ge__(SecondaryStructureResidue self, Particle d) -> bool
7677  """
7678  return _IMP_atom.SecondaryStructureResidue___ge__(self, *args)
7679 
7680 
7681  def __gt__(self, *args):
7682  """
7683  __gt__(SecondaryStructureResidue self, SecondaryStructureResidue o) -> bool
7684  __gt__(SecondaryStructureResidue self, Particle d) -> bool
7685  """
7686  return _IMP_atom.SecondaryStructureResidue___gt__(self, *args)
7687 
7688 
7689  def __hash__(self):
7690  """__hash__(SecondaryStructureResidue self) -> std::size_t"""
7691  return _IMP_atom.SecondaryStructureResidue___hash__(self)
7692 
7693 
7694  def __str__(self):
7695  """__str__(SecondaryStructureResidue self) -> std::string"""
7696  return _IMP_atom.SecondaryStructureResidue___str__(self)
7697 
7698 
7699  def __repr__(self):
7700  """__repr__(SecondaryStructureResidue self) -> std::string"""
7701  return _IMP_atom.SecondaryStructureResidue___repr__(self)
7702 
7703  __swig_destroy__ = _IMP_atom.delete_SecondaryStructureResidue
7704  __del__ = lambda self: None
7705 SecondaryStructureResidue_swigregister = _IMP_atom.SecondaryStructureResidue_swigregister
7706 SecondaryStructureResidue_swigregister(SecondaryStructureResidue)
7707 
7708 def SecondaryStructureResidue_setup_particle(*args):
7709  """
7710  setup_particle(Model m, ParticleIndex pi, IMP::Float prob_helix, IMP::Float prob_strand, IMP::Float prob_coil) -> SecondaryStructureResidue
7711  setup_particle(_ParticleAdaptor decorator, IMP::Float prob_helix, IMP::Float prob_strand, IMP::Float prob_coil) -> SecondaryStructureResidue
7712  SecondaryStructureResidue_setup_particle(Particle res_p) -> SecondaryStructureResidue
7713  """
7714  return _IMP_atom.SecondaryStructureResidue_setup_particle(*args)
7715 
7716 def SecondaryStructureResidue_get_is_setup(*args):
7717  """
7718  get_is_setup(_ParticleAdaptor p) -> bool
7719  SecondaryStructureResidue_get_is_setup(Model m, ParticleIndex pi) -> bool
7720  """
7721  return _IMP_atom.SecondaryStructureResidue_get_is_setup(*args)
7722 
7723 def SecondaryStructureResidue_get_prob_helix_key():
7724  """SecondaryStructureResidue_get_prob_helix_key() -> FloatKey"""
7725  return _IMP_atom.SecondaryStructureResidue_get_prob_helix_key()
7726 
7727 def SecondaryStructureResidue_get_prob_strand_key():
7728  """SecondaryStructureResidue_get_prob_strand_key() -> FloatKey"""
7729  return _IMP_atom.SecondaryStructureResidue_get_prob_strand_key()
7730 
7731 def SecondaryStructureResidue_get_prob_coil_key():
7732  """SecondaryStructureResidue_get_prob_coil_key() -> FloatKey"""
7733  return _IMP_atom.SecondaryStructureResidue_get_prob_coil_key()
7734 
7735 
7736 def setup_coarse_secondary_structure_residue(ssr_ps, mdl, winner_takes_all_per_res=False):
7737  """
7738  setup_coarse_secondary_structure_residue(IMP::Particles const & ssr_ps, Model mdl, bool winner_takes_all_per_res=False) -> SecondaryStructureResidue
7739  setup_coarse_secondary_structure_residue(IMP::Particles const & ssr_ps, Model mdl) -> SecondaryStructureResidue
7740  """
7741  return _IMP_atom.setup_coarse_secondary_structure_residue(ssr_ps, mdl, winner_takes_all_per_res)
7742 
7743 def setup_coarse_secondary_structure_residues(ssr_ps, mdl, coarse_factor, start_res_num, winner_takes_all_per_res=False):
7744  """
7745  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
7746  setup_coarse_secondary_structure_residues(IMP::Particles const & ssr_ps, Model mdl, int coarse_factor, int start_res_num) -> IMP::atom::SecondaryStructureResidues
7747  """
7748  return _IMP_atom.setup_coarse_secondary_structure_residues(ssr_ps, mdl, coarse_factor, start_res_num, winner_takes_all_per_res)
7749 
7750 def get_secondary_structure_match_score(ssr1, ssr2):
7751  """get_secondary_structure_match_score(SecondaryStructureResidue ssr1, SecondaryStructureResidue ssr2) -> IMP::Float"""
7752  return _IMP_atom.get_secondary_structure_match_score(ssr1, ssr2)
7753 
7754 def read_psipred(*args):
7755  """
7756  read_psipred(TextInput inf, Model mdl) -> IMP::atom::SecondaryStructureResidues
7757  read_psipred(TextInput inf, IMP::Particles ps) -> IMP::atom::SecondaryStructureResidues
7758  """
7759  return _IMP_atom.read_psipred(*args)
7760 class _ADopeBase(IMP.PairScore):
7761  """Proxy of C++ IMP::score_functor::DistancePairScore<(IMP::score_functor::Dope)> class"""
7762  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7763  __repr__ = _swig_repr
7764 
7765  def __init__(self, *args):
7766  """
7767  __init__(IMP::score_functor::DistancePairScore<(IMP::score_functor::Dope)> self, Dope t0, std::string name) -> _ADopeBase
7768  __init__(IMP::score_functor::DistancePairScore<(IMP::score_functor::Dope)> self, Dope t0) -> _ADopeBase
7769  """
7770  this = _IMP_atom.new__ADopeBase(*args)
7771  try:
7772  self.this.append(this)
7773  except:
7774  self.this = this
7775 
7776  def do_get_inputs(self, m, pis):
7777  """do_get_inputs(_ADopeBase self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7778  return _IMP_atom._ADopeBase_do_get_inputs(self, m, pis)
7779 
7780 
7781  def get_score_functor(self):
7782  """get_score_functor(_ADopeBase self) -> Dope"""
7783  return _IMP_atom._ADopeBase_get_score_functor(self)
7784 
7785 
7786  def get_version_info(self):
7787  """get_version_info(_ADopeBase self) -> VersionInfo"""
7788  return _IMP_atom._ADopeBase_get_version_info(self)
7789 
7790 _ADopeBase_swigregister = _IMP_atom._ADopeBase_swigregister
7791 _ADopeBase_swigregister(_ADopeBase)
7792 
7793 class _BDopeBase(IMP.PairScore):
7794  """Proxy of C++ IMP::score_functor::DistancePairScore<(IMP::score_functor::Statistical<(IMP::atom::DopeType,false,true,false)>)> class"""
7795  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7796  __repr__ = _swig_repr
7797 
7798  def __init__(self, *args):
7799  """
7800  __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
7801  __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
7802  """
7803  this = _IMP_atom.new__BDopeBase(*args)
7804  try:
7805  self.this.append(this)
7806  except:
7807  self.this = this
7808 
7809  def do_get_inputs(self, m, pis):
7810  """do_get_inputs(_BDopeBase self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7811  return _IMP_atom._BDopeBase_do_get_inputs(self, m, pis)
7812 
7813 
7814  def get_score_functor(self):
7815  """get_score_functor(_BDopeBase self) -> _DopeBase"""
7816  return _IMP_atom._BDopeBase_get_score_functor(self)
7817 
7818 
7819  def get_version_info(self):
7820  """get_version_info(_BDopeBase self) -> VersionInfo"""
7821  return _IMP_atom._BDopeBase_get_version_info(self)
7822 
7823 _BDopeBase_swigregister = _IMP_atom._BDopeBase_swigregister
7824 _BDopeBase_swigregister(_BDopeBase)
7825 
7826 class _ALoopStatisticalBase(IMP.PairScore):
7827  """Proxy of C++ IMP::score_functor::DistancePairScore<(IMP::score_functor::LoopStatistical)> class"""
7828  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7829  __repr__ = _swig_repr
7830 
7831  def __init__(self, *args):
7832  """
7833  __init__(IMP::score_functor::DistancePairScore<(IMP::score_functor::LoopStatistical)> self, LoopStatistical t0, std::string name) -> _ALoopStatisticalBase
7834  __init__(IMP::score_functor::DistancePairScore<(IMP::score_functor::LoopStatistical)> self, LoopStatistical t0) -> _ALoopStatisticalBase
7835  """
7836  this = _IMP_atom.new__ALoopStatisticalBase(*args)
7837  try:
7838  self.this.append(this)
7839  except:
7840  self.this = this
7841 
7842  def do_get_inputs(self, m, pis):
7843  """do_get_inputs(_ALoopStatisticalBase self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7844  return _IMP_atom._ALoopStatisticalBase_do_get_inputs(self, m, pis)
7845 
7846 
7847  def get_score_functor(self):
7848  """get_score_functor(_ALoopStatisticalBase self) -> LoopStatistical"""
7849  return _IMP_atom._ALoopStatisticalBase_get_score_functor(self)
7850 
7851 
7852  def get_version_info(self):
7853  """get_version_info(_ALoopStatisticalBase self) -> VersionInfo"""
7854  return _IMP_atom._ALoopStatisticalBase_get_version_info(self)
7855 
7856 _ALoopStatisticalBase_swigregister = _IMP_atom._ALoopStatisticalBase_swigregister
7857 _ALoopStatisticalBase_swigregister(_ALoopStatisticalBase)
7858 
7859 class _BLoopStatisticalBase(IMP.PairScore):
7860  """Proxy of C++ IMP::score_functor::DistancePairScore<(IMP::score_functor::Statistical<(IMP::atom::LoopStatisticalType,false,true,false)>)> class"""
7861  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7862  __repr__ = _swig_repr
7863 
7864  def __init__(self, *args):
7865  """
7866  __init__(IMP::score_functor::DistancePairScore<(IMP::score_functor::Statistical<(IMP::atom::LoopStatisticalType,false,true,false)>)> self, IMP::score_functor::DistancePairScore< IMP::score_functor::Statistical< IMP::atom::LoopStatisticalType,false,true,false > >::DistanceScore const & t0, std::string name) -> _BLoopStatisticalBase
7867  __init__(IMP::score_functor::DistancePairScore<(IMP::score_functor::Statistical<(IMP::atom::LoopStatisticalType,false,true,false)>)> self, IMP::score_functor::DistancePairScore< IMP::score_functor::Statistical< IMP::atom::LoopStatisticalType,false,true,false > >::DistanceScore const & t0) -> _BLoopStatisticalBase
7868  """
7869  this = _IMP_atom.new__BLoopStatisticalBase(*args)
7870  try:
7871  self.this.append(this)
7872  except:
7873  self.this = this
7874 
7875  def do_get_inputs(self, m, pis):
7876  """do_get_inputs(_BLoopStatisticalBase self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7877  return _IMP_atom._BLoopStatisticalBase_do_get_inputs(self, m, pis)
7878 
7879 
7880  def get_score_functor(self):
7881  """get_score_functor(_BLoopStatisticalBase self) -> _LoopStatisticalBase"""
7882  return _IMP_atom._BLoopStatisticalBase_get_score_functor(self)
7883 
7884 
7885  def get_version_info(self):
7886  """get_version_info(_BLoopStatisticalBase self) -> VersionInfo"""
7887  return _IMP_atom._BLoopStatisticalBase_get_version_info(self)
7888 
7889 _BLoopStatisticalBase_swigregister = _IMP_atom._BLoopStatisticalBase_swigregister
7890 _BLoopStatisticalBase_swigregister(_BLoopStatisticalBase)
7891 
7892 class _OrientedSoapBase(IMP.PairScore):
7893  """Proxy of C++ IMP::score_functor::DistancePairScoreWithCache<(IMP::score_functor::OrientedSoap)> class"""
7894  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7895  __repr__ = _swig_repr
7896 
7897  def __init__(self, *args):
7898  """
7899  __init__(IMP::score_functor::DistancePairScoreWithCache<(IMP::score_functor::OrientedSoap)> self, IMP::score_functor::DistancePairScoreWithCache< IMP::score_functor::OrientedSoap >::DistanceScore const & t0, std::string name) -> _OrientedSoapBase
7900  __init__(IMP::score_functor::DistancePairScoreWithCache<(IMP::score_functor::OrientedSoap)> self, IMP::score_functor::DistancePairScoreWithCache< IMP::score_functor::OrientedSoap >::DistanceScore const & t0) -> _OrientedSoapBase
7901  """
7902  this = _IMP_atom.new__OrientedSoapBase(*args)
7903  try:
7904  self.this.append(this)
7905  except:
7906  self.this = this
7907 
7908  def do_get_inputs(self, m, pis):
7909  """do_get_inputs(_OrientedSoapBase self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7910  return _IMP_atom._OrientedSoapBase_do_get_inputs(self, m, pis)
7911 
7912 
7913  def get_score_functor(self):
7914  """get_score_functor(_OrientedSoapBase self) -> IMP::score_functor::OrientedSoap &"""
7915  return _IMP_atom._OrientedSoapBase_get_score_functor(self)
7916 
7917 
7918  def get_version_info(self):
7919  """get_version_info(_OrientedSoapBase self) -> VersionInfo"""
7920  return _IMP_atom._OrientedSoapBase_get_version_info(self)
7921 
7922 _OrientedSoapBase_swigregister = _IMP_atom._OrientedSoapBase_swigregister
7923 _OrientedSoapBase_swigregister(_OrientedSoapBase)
7924 
7925 class _SPSFTB(IMP.PairScore):
7926  """Proxy of C++ IMP::score_functor::DistancePairScore<(IMP::score_functor::Statistical<(IMP::atom::ProteinLigandType,true,false)>)> class"""
7927  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7928  __repr__ = _swig_repr
7929 
7930  def __init__(self, *args):
7931  """
7932  __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
7933  __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
7934  """
7935  this = _IMP_atom.new__SPSFTB(*args)
7936  try:
7937  self.this.append(this)
7938  except:
7939  self.this = this
7940 
7941  def do_get_inputs(self, m, pis):
7942  """do_get_inputs(_SPSFTB self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7943  return _IMP_atom._SPSFTB_do_get_inputs(self, m, pis)
7944 
7945 
7946  def get_score_functor(self):
7947  """get_score_functor(_SPSFTB self) -> IMP::score_functor::Statistical< IMP::atom::ProteinLigandType,true,false,false > &"""
7948  return _IMP_atom._SPSFTB_get_score_functor(self)
7949 
7950 
7951  def get_version_info(self):
7952  """get_version_info(_SPSFTB self) -> VersionInfo"""
7953  return _IMP_atom._SPSFTB_get_version_info(self)
7954 
7955 _SPSFTB_swigregister = _IMP_atom._SPSFTB_swigregister
7956 _SPSFTB_swigregister(_SPSFTB)
7957 
7958 class _SPSTF(_SPSFTB):
7959  """Proxy of C++ IMP::core::StatisticalPairScore<(IMP::atom::ProteinLigandType,true,false)> class"""
7960  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7961  __repr__ = _swig_repr
7962 
7963  def __init__(self, *args):
7964  """
7965  __init__(IMP::core::StatisticalPairScore<(IMP::atom::ProteinLigandType,true,false)> self, IntKey k, double threshold, TextInput data_file) -> _SPSTF
7966  __init__(IMP::core::StatisticalPairScore<(IMP::atom::ProteinLigandType,true,false)> self, IntKey k, double threshold, TextInput data_file, unsigned int shift) -> _SPSTF
7967  """
7968  this = _IMP_atom.new__SPSTF(*args)
7969  try:
7970  self.this.append(this)
7971  except:
7972  self.this = this
7973  __swig_destroy__ = _IMP_atom.delete__SPSTF
7974  __del__ = lambda self: None
7975 _SPSTF_swigregister = _IMP_atom._SPSTF_swigregister
7976 _SPSTF_swigregister(_SPSTF)
7977 
7978 class _SPSFT(_BDopeBase):
7979  """Proxy of C++ IMP::core::StatisticalPairScore<(IMP::atom::DopeType,false,true)> class"""
7980  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
7981  __repr__ = _swig_repr
7982 
7983  def __init__(self, *args):
7984  """
7985  __init__(IMP::core::StatisticalPairScore<(IMP::atom::DopeType,false,true)> self, IntKey k, double threshold, TextInput data_file) -> _SPSFT
7986  __init__(IMP::core::StatisticalPairScore<(IMP::atom::DopeType,false,true)> self, IntKey k, double threshold, TextInput data_file, unsigned int shift) -> _SPSFT
7987  """
7988  this = _IMP_atom.new__SPSFT(*args)
7989  try:
7990  self.this.append(this)
7991  except:
7992  self.this = this
7993  __swig_destroy__ = _IMP_atom.delete__SPSFT
7994  __del__ = lambda self: None
7995 _SPSFT_swigregister = _IMP_atom._SPSFT_swigregister
7996 _SPSFT_swigregister(_SPSFT)
7997 
7998 class _SPSFTL(_BLoopStatisticalBase):
7999  """Proxy of C++ IMP::core::StatisticalPairScore<(IMP::atom::LoopStatisticalType,false,true)> class"""
8000  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8001  __repr__ = _swig_repr
8002 
8003  def __init__(self, *args):
8004  """
8005  __init__(IMP::core::StatisticalPairScore<(IMP::atom::LoopStatisticalType,false,true)> self, IntKey k, double threshold, TextInput data_file) -> _SPSFTL
8006  __init__(IMP::core::StatisticalPairScore<(IMP::atom::LoopStatisticalType,false,true)> self, IntKey k, double threshold, TextInput data_file, unsigned int shift) -> _SPSFTL
8007  """
8008  this = _IMP_atom.new__SPSFTL(*args)
8009  try:
8010  self.this.append(this)
8011  except:
8012  self.this = this
8013  __swig_destroy__ = _IMP_atom.delete__SPSFTL
8014  __del__ = lambda self: None
8015 _SPSFTL_swigregister = _IMP_atom._SPSFTL_swigregister
8016 _SPSFTL_swigregister(_SPSFTL)
8017 
8018 class ProteinLigandAtomPairScore(_SPSTF):
8019  """Proxy of C++ IMP::atom::ProteinLigandAtomPairScore class"""
8020  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8021 
8022  def __init__(self, *args):
8023  """
8024  __init__(IMP::atom::ProteinLigandAtomPairScore self, double threshold) -> ProteinLigandAtomPairScore
8025  __init__(IMP::atom::ProteinLigandAtomPairScore self) -> ProteinLigandAtomPairScore
8026  __init__(IMP::atom::ProteinLigandAtomPairScore self, double threshold, TextInput data_file) -> ProteinLigandAtomPairScore
8027  """
8028  this = _IMP_atom.new_ProteinLigandAtomPairScore(*args)
8029  try:
8030  self.this.append(this)
8031  except:
8032  self.this = this
8033 
8034  def get_maximum_distance(self):
8035  """get_maximum_distance(ProteinLigandAtomPairScore self) -> double"""
8036  return _IMP_atom.ProteinLigandAtomPairScore_get_maximum_distance(self)
8037 
8038 
8039  def __str__(self):
8040  """__str__(ProteinLigandAtomPairScore self) -> std::string"""
8041  return _IMP_atom.ProteinLigandAtomPairScore___str__(self)
8042 
8043 
8044  def __repr__(self):
8045  """__repr__(ProteinLigandAtomPairScore self) -> std::string"""
8046  return _IMP_atom.ProteinLigandAtomPairScore___repr__(self)
8047 
8048 
8049  @staticmethod
8050  def get_from(o):
8051  return _object_cast_to_ProteinLigandAtomPairScore(o)
8052 
8053  __swig_destroy__ = _IMP_atom.delete_ProteinLigandAtomPairScore
8054  __del__ = lambda self: None
8055 ProteinLigandAtomPairScore_swigregister = _IMP_atom.ProteinLigandAtomPairScore_swigregister
8056 ProteinLigandAtomPairScore_swigregister(ProteinLigandAtomPairScore)
8057 
8058 class ProteinLigandRestraint(IMP.container.PairsRestraint):
8059  """Proxy of C++ IMP::atom::ProteinLigandRestraint class"""
8060  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8061 
8062  def __init__(self, *args):
8063  """
8064  __init__(IMP::atom::ProteinLigandRestraint self, Hierarchy protein, Hierarchy ligand, double threshold) -> ProteinLigandRestraint
8065  __init__(IMP::atom::ProteinLigandRestraint self, Hierarchy protein, Hierarchy ligand) -> ProteinLigandRestraint
8066  __init__(IMP::atom::ProteinLigandRestraint self, Hierarchy protein, Hierarchy ligand, double threshold, TextInput data_file) -> ProteinLigandRestraint
8067  """
8068  this = _IMP_atom.new_ProteinLigandRestraint(*args)
8069  try:
8070  self.this.append(this)
8071  except:
8072  self.this = this
8073 
8074  def __str__(self):
8075  """__str__(ProteinLigandRestraint self) -> std::string"""
8076  return _IMP_atom.ProteinLigandRestraint___str__(self)
8077 
8078 
8079  def __repr__(self):
8080  """__repr__(ProteinLigandRestraint self) -> std::string"""
8081  return _IMP_atom.ProteinLigandRestraint___repr__(self)
8082 
8083 
8084  @staticmethod
8085  def get_from(o):
8086  return _object_cast_to_ProteinLigandRestraint(o)
8087 
8088  __swig_destroy__ = _IMP_atom.delete_ProteinLigandRestraint
8089  __del__ = lambda self: None
8090 ProteinLigandRestraint_swigregister = _IMP_atom.ProteinLigandRestraint_swigregister
8091 ProteinLigandRestraint_swigregister(ProteinLigandRestraint)
8092 
8093 
8095  """add_protein_ligand_score_data(Hierarchy h)"""
8096  return _IMP_atom.add_protein_ligand_score_data(h)
8097 class AtomType(IMP._Value):
8098  """Proxy of C++ IMP::Key<(8974343)> class"""
8099  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8100 
8101  def __init__(self, *args):
8102  """
8103  __init__(IMP::Key<(8974343)> self) -> AtomType
8104  __init__(IMP::Key<(8974343)> self, std::string const & c, bool is_implicit_add_permitted=True) -> AtomType
8105  __init__(IMP::Key<(8974343)> self, std::string const & c) -> AtomType
8106  __init__(IMP::Key<(8974343)> self, unsigned int i) -> AtomType
8107  """
8108  this = _IMP_atom.new_AtomType(*args)
8109  try:
8110  self.this.append(this)
8111  except:
8112  self.this = this
8113 
8114  def add_key(sc):
8115  """add_key(std::string sc) -> unsigned int"""
8116  return _IMP_atom.AtomType_add_key(sc)
8117 
8118  add_key = staticmethod(add_key)
8119 
8120  def get_key_exists(sc):
8121  """get_key_exists(std::string sc) -> bool"""
8122  return _IMP_atom.AtomType_get_key_exists(sc)
8123 
8124  get_key_exists = staticmethod(get_key_exists)
8125 
8126  def get_string(self):
8127  """get_string(AtomType self) -> std::string const"""
8128  return _IMP_atom.AtomType_get_string(self)
8129 
8130 
8131  def __cmp__(self, o):
8132  """__cmp__(AtomType self, AtomType o) -> int"""
8133  return _IMP_atom.AtomType___cmp__(self, o)
8134 
8135 
8136  def __eq__(self, o):
8137  """__eq__(AtomType self, AtomType o) -> bool"""
8138  return _IMP_atom.AtomType___eq__(self, o)
8139 
8140 
8141  def __ne__(self, o):
8142  """__ne__(AtomType self, AtomType o) -> bool"""
8143  return _IMP_atom.AtomType___ne__(self, o)
8144 
8145 
8146  def __lt__(self, o):
8147  """__lt__(AtomType self, AtomType o) -> bool"""
8148  return _IMP_atom.AtomType___lt__(self, o)
8149 
8150 
8151  def __gt__(self, o):
8152  """__gt__(AtomType self, AtomType o) -> bool"""
8153  return _IMP_atom.AtomType___gt__(self, o)
8154 
8155 
8156  def __ge__(self, o):
8157  """__ge__(AtomType self, AtomType o) -> bool"""
8158  return _IMP_atom.AtomType___ge__(self, o)
8159 
8160 
8161  def __le__(self, o):
8162  """__le__(AtomType self, AtomType o) -> bool"""
8163  return _IMP_atom.AtomType___le__(self, o)
8164 
8165 
8166  def __hash__(self):
8167  """__hash__(AtomType self) -> std::size_t"""
8168  return _IMP_atom.AtomType___hash__(self)
8169 
8170 
8171  def show(self, *args):
8172  """
8173  show(AtomType self, _ostream out)
8174  show(AtomType self)
8175  """
8176  return _IMP_atom.AtomType_show(self, *args)
8177 
8178 
8179  def add_alias(old_key, new_name):
8180  """add_alias(AtomType old_key, std::string new_name) -> AtomType"""
8181  return _IMP_atom.AtomType_add_alias(old_key, new_name)
8182 
8183  add_alias = staticmethod(add_alias)
8184 
8185  def get_number_of_keys():
8186  """get_number_of_keys() -> unsigned int"""
8187  return _IMP_atom.AtomType_get_number_of_keys()
8188 
8189  get_number_of_keys = staticmethod(get_number_of_keys)
8190 
8191  def get_index(self):
8192  """get_index(AtomType self) -> unsigned int"""
8193  return _IMP_atom.AtomType_get_index(self)
8194 
8195 
8196  def show_all(out):
8197  """show_all(_ostream out)"""
8198  return _IMP_atom.AtomType_show_all(out)
8199 
8200  show_all = staticmethod(show_all)
8201 
8202  def get_all_strings():
8203  """get_all_strings() -> IMP::Vector< std::string >"""
8204  return _IMP_atom.AtomType_get_all_strings()
8205 
8206  get_all_strings = staticmethod(get_all_strings)
8207 
8208  def get_number_unique():
8209  """get_number_unique() -> unsigned int"""
8210  return _IMP_atom.AtomType_get_number_unique()
8211 
8212  get_number_unique = staticmethod(get_number_unique)
8213 
8214  def __str__(self):
8215  """__str__(AtomType self) -> std::string"""
8216  return _IMP_atom.AtomType___str__(self)
8217 
8218 
8219  def __repr__(self):
8220  """__repr__(AtomType self) -> std::string"""
8221  return _IMP_atom.AtomType___repr__(self)
8222 
8223  __swig_destroy__ = _IMP_atom.delete_AtomType
8224  __del__ = lambda self: None
8225 AtomType_swigregister = _IMP_atom.AtomType_swigregister
8226 AtomType_swigregister(AtomType)
8227 
8228 def AtomType_add_key(sc):
8229  """AtomType_add_key(std::string sc) -> unsigned int"""
8230  return _IMP_atom.AtomType_add_key(sc)
8231 
8232 def AtomType_get_key_exists(sc):
8233  """AtomType_get_key_exists(std::string sc) -> bool"""
8234  return _IMP_atom.AtomType_get_key_exists(sc)
8235 
8236 def AtomType_add_alias(old_key, new_name):
8237  """AtomType_add_alias(AtomType old_key, std::string new_name) -> AtomType"""
8238  return _IMP_atom.AtomType_add_alias(old_key, new_name)
8239 
8240 def AtomType_get_number_of_keys():
8241  """AtomType_get_number_of_keys() -> unsigned int"""
8242  return _IMP_atom.AtomType_get_number_of_keys()
8243 
8244 def AtomType_show_all(out):
8245  """AtomType_show_all(_ostream out)"""
8246  return _IMP_atom.AtomType_show_all(out)
8247 
8248 def AtomType_get_all_strings():
8249  """AtomType_get_all_strings() -> IMP::Vector< std::string >"""
8250  return _IMP_atom.AtomType_get_all_strings()
8251 
8252 def AtomType_get_number_unique():
8253  """AtomType_get_number_unique() -> unsigned int"""
8254  return _IMP_atom.AtomType_get_number_unique()
8255 
8256 class ResidueType(IMP._Value):
8257  """Proxy of C++ IMP::Key<(90784334)> class"""
8258  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8259 
8260  def __init__(self, *args):
8261  """
8262  __init__(IMP::Key<(90784334)> self) -> ResidueType
8263  __init__(IMP::Key<(90784334)> self, std::string const & c, bool is_implicit_add_permitted=True) -> ResidueType
8264  __init__(IMP::Key<(90784334)> self, std::string const & c) -> ResidueType
8265  __init__(IMP::Key<(90784334)> self, unsigned int i) -> ResidueType
8266  """
8267  this = _IMP_atom.new_ResidueType(*args)
8268  try:
8269  self.this.append(this)
8270  except:
8271  self.this = this
8272 
8273  def add_key(sc):
8274  """add_key(std::string sc) -> unsigned int"""
8275  return _IMP_atom.ResidueType_add_key(sc)
8276 
8277  add_key = staticmethod(add_key)
8278 
8279  def get_key_exists(sc):
8280  """get_key_exists(std::string sc) -> bool"""
8281  return _IMP_atom.ResidueType_get_key_exists(sc)
8282 
8283  get_key_exists = staticmethod(get_key_exists)
8284 
8285  def get_string(self):
8286  """get_string(ResidueType self) -> std::string const"""
8287  return _IMP_atom.ResidueType_get_string(self)
8288 
8289 
8290  def __cmp__(self, o):
8291  """__cmp__(ResidueType self, ResidueType o) -> int"""
8292  return _IMP_atom.ResidueType___cmp__(self, o)
8293 
8294 
8295  def __eq__(self, o):
8296  """__eq__(ResidueType self, ResidueType o) -> bool"""
8297  return _IMP_atom.ResidueType___eq__(self, o)
8298 
8299 
8300  def __ne__(self, o):
8301  """__ne__(ResidueType self, ResidueType o) -> bool"""
8302  return _IMP_atom.ResidueType___ne__(self, o)
8303 
8304 
8305  def __lt__(self, o):
8306  """__lt__(ResidueType self, ResidueType o) -> bool"""
8307  return _IMP_atom.ResidueType___lt__(self, o)
8308 
8309 
8310  def __gt__(self, o):
8311  """__gt__(ResidueType self, ResidueType o) -> bool"""
8312  return _IMP_atom.ResidueType___gt__(self, o)
8313 
8314 
8315  def __ge__(self, o):
8316  """__ge__(ResidueType self, ResidueType o) -> bool"""
8317  return _IMP_atom.ResidueType___ge__(self, o)
8318 
8319 
8320  def __le__(self, o):
8321  """__le__(ResidueType self, ResidueType o) -> bool"""
8322  return _IMP_atom.ResidueType___le__(self, o)
8323 
8324 
8325  def __hash__(self):
8326  """__hash__(ResidueType self) -> std::size_t"""
8327  return _IMP_atom.ResidueType___hash__(self)
8328 
8329 
8330  def show(self, *args):
8331  """
8332  show(ResidueType self, _ostream out)
8333  show(ResidueType self)
8334  """
8335  return _IMP_atom.ResidueType_show(self, *args)
8336 
8337 
8338  def add_alias(old_key, new_name):
8339  """add_alias(ResidueType old_key, std::string new_name) -> ResidueType"""
8340  return _IMP_atom.ResidueType_add_alias(old_key, new_name)
8341 
8342  add_alias = staticmethod(add_alias)
8343 
8344  def get_number_of_keys():
8345  """get_number_of_keys() -> unsigned int"""
8346  return _IMP_atom.ResidueType_get_number_of_keys()
8347 
8348  get_number_of_keys = staticmethod(get_number_of_keys)
8349 
8350  def get_index(self):
8351  """get_index(ResidueType self) -> unsigned int"""
8352  return _IMP_atom.ResidueType_get_index(self)
8353 
8354 
8355  def show_all(out):
8356  """show_all(_ostream out)"""
8357  return _IMP_atom.ResidueType_show_all(out)
8358 
8359  show_all = staticmethod(show_all)
8360 
8361  def get_all_strings():
8362  """get_all_strings() -> IMP::Vector< std::string >"""
8363  return _IMP_atom.ResidueType_get_all_strings()
8364 
8365  get_all_strings = staticmethod(get_all_strings)
8366 
8367  def get_number_unique():
8368  """get_number_unique() -> unsigned int"""
8369  return _IMP_atom.ResidueType_get_number_unique()
8370 
8371  get_number_unique = staticmethod(get_number_unique)
8372 
8373  def __str__(self):
8374  """__str__(ResidueType self) -> std::string"""
8375  return _IMP_atom.ResidueType___str__(self)
8376 
8377 
8378  def __repr__(self):
8379  """__repr__(ResidueType self) -> std::string"""
8380  return _IMP_atom.ResidueType___repr__(self)
8381 
8382  __swig_destroy__ = _IMP_atom.delete_ResidueType
8383  __del__ = lambda self: None
8384 ResidueType_swigregister = _IMP_atom.ResidueType_swigregister
8385 ResidueType_swigregister(ResidueType)
8386 
8387 def ResidueType_add_key(sc):
8388  """ResidueType_add_key(std::string sc) -> unsigned int"""
8389  return _IMP_atom.ResidueType_add_key(sc)
8390 
8391 def ResidueType_get_key_exists(sc):
8392  """ResidueType_get_key_exists(std::string sc) -> bool"""
8393  return _IMP_atom.ResidueType_get_key_exists(sc)
8394 
8395 def ResidueType_add_alias(old_key, new_name):
8396  """ResidueType_add_alias(ResidueType old_key, std::string new_name) -> ResidueType"""
8397  return _IMP_atom.ResidueType_add_alias(old_key, new_name)
8398 
8399 def ResidueType_get_number_of_keys():
8400  """ResidueType_get_number_of_keys() -> unsigned int"""
8401  return _IMP_atom.ResidueType_get_number_of_keys()
8402 
8403 def ResidueType_show_all(out):
8404  """ResidueType_show_all(_ostream out)"""
8405  return _IMP_atom.ResidueType_show_all(out)
8406 
8407 def ResidueType_get_all_strings():
8408  """ResidueType_get_all_strings() -> IMP::Vector< std::string >"""
8409  return _IMP_atom.ResidueType_get_all_strings()
8410 
8411 def ResidueType_get_number_unique():
8412  """ResidueType_get_number_unique() -> unsigned int"""
8413  return _IMP_atom.ResidueType_get_number_unique()
8414 
8415 class ChainType(IMP._Value):
8416  """Proxy of C++ IMP::Key<(90784336)> class"""
8417  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8418 
8419  def __init__(self, *args):
8420  """
8421  __init__(IMP::Key<(90784336)> self) -> ChainType
8422  __init__(IMP::Key<(90784336)> self, std::string const & c, bool is_implicit_add_permitted=True) -> ChainType
8423  __init__(IMP::Key<(90784336)> self, std::string const & c) -> ChainType
8424  __init__(IMP::Key<(90784336)> self, unsigned int i) -> ChainType
8425  """
8426  this = _IMP_atom.new_ChainType(*args)
8427  try:
8428  self.this.append(this)
8429  except:
8430  self.this = this
8431 
8432  def add_key(sc):
8433  """add_key(std::string sc) -> unsigned int"""
8434  return _IMP_atom.ChainType_add_key(sc)
8435 
8436  add_key = staticmethod(add_key)
8437 
8438  def get_key_exists(sc):
8439  """get_key_exists(std::string sc) -> bool"""
8440  return _IMP_atom.ChainType_get_key_exists(sc)
8441 
8442  get_key_exists = staticmethod(get_key_exists)
8443 
8444  def get_string(self):
8445  """get_string(ChainType self) -> std::string const"""
8446  return _IMP_atom.ChainType_get_string(self)
8447 
8448 
8449  def __cmp__(self, o):
8450  """__cmp__(ChainType self, ChainType o) -> int"""
8451  return _IMP_atom.ChainType___cmp__(self, o)
8452 
8453 
8454  def __eq__(self, o):
8455  """__eq__(ChainType self, ChainType o) -> bool"""
8456  return _IMP_atom.ChainType___eq__(self, o)
8457 
8458 
8459  def __ne__(self, o):
8460  """__ne__(ChainType self, ChainType o) -> bool"""
8461  return _IMP_atom.ChainType___ne__(self, o)
8462 
8463 
8464  def __lt__(self, o):
8465  """__lt__(ChainType self, ChainType o) -> bool"""
8466  return _IMP_atom.ChainType___lt__(self, o)
8467 
8468 
8469  def __gt__(self, o):
8470  """__gt__(ChainType self, ChainType o) -> bool"""
8471  return _IMP_atom.ChainType___gt__(self, o)
8472 
8473 
8474  def __ge__(self, o):
8475  """__ge__(ChainType self, ChainType o) -> bool"""
8476  return _IMP_atom.ChainType___ge__(self, o)
8477 
8478 
8479  def __le__(self, o):
8480  """__le__(ChainType self, ChainType o) -> bool"""
8481  return _IMP_atom.ChainType___le__(self, o)
8482 
8483 
8484  def __hash__(self):
8485  """__hash__(ChainType self) -> std::size_t"""
8486  return _IMP_atom.ChainType___hash__(self)
8487 
8488 
8489  def show(self, *args):
8490  """
8491  show(ChainType self, _ostream out)
8492  show(ChainType self)
8493  """
8494  return _IMP_atom.ChainType_show(self, *args)
8495 
8496 
8497  def add_alias(old_key, new_name):
8498  """add_alias(ChainType old_key, std::string new_name) -> ChainType"""
8499  return _IMP_atom.ChainType_add_alias(old_key, new_name)
8500 
8501  add_alias = staticmethod(add_alias)
8502 
8503  def get_number_of_keys():
8504  """get_number_of_keys() -> unsigned int"""
8505  return _IMP_atom.ChainType_get_number_of_keys()
8506 
8507  get_number_of_keys = staticmethod(get_number_of_keys)
8508 
8509  def get_index(self):
8510  """get_index(ChainType self) -> unsigned int"""
8511  return _IMP_atom.ChainType_get_index(self)
8512 
8513 
8514  def show_all(out):
8515  """show_all(_ostream out)"""
8516  return _IMP_atom.ChainType_show_all(out)
8517 
8518  show_all = staticmethod(show_all)
8519 
8520  def get_all_strings():
8521  """get_all_strings() -> IMP::Vector< std::string >"""
8522  return _IMP_atom.ChainType_get_all_strings()
8523 
8524  get_all_strings = staticmethod(get_all_strings)
8525 
8526  def get_number_unique():
8527  """get_number_unique() -> unsigned int"""
8528  return _IMP_atom.ChainType_get_number_unique()
8529 
8530  get_number_unique = staticmethod(get_number_unique)
8531 
8532  def __str__(self):
8533  """__str__(ChainType self) -> std::string"""
8534  return _IMP_atom.ChainType___str__(self)
8535 
8536 
8537  def __repr__(self):
8538  """__repr__(ChainType self) -> std::string"""
8539  return _IMP_atom.ChainType___repr__(self)
8540 
8541  __swig_destroy__ = _IMP_atom.delete_ChainType
8542  __del__ = lambda self: None
8543 ChainType_swigregister = _IMP_atom.ChainType_swigregister
8544 ChainType_swigregister(ChainType)
8545 
8546 def ChainType_add_key(sc):
8547  """ChainType_add_key(std::string sc) -> unsigned int"""
8548  return _IMP_atom.ChainType_add_key(sc)
8549 
8550 def ChainType_get_key_exists(sc):
8551  """ChainType_get_key_exists(std::string sc) -> bool"""
8552  return _IMP_atom.ChainType_get_key_exists(sc)
8553 
8554 def ChainType_add_alias(old_key, new_name):
8555  """ChainType_add_alias(ChainType old_key, std::string new_name) -> ChainType"""
8556  return _IMP_atom.ChainType_add_alias(old_key, new_name)
8557 
8558 def ChainType_get_number_of_keys():
8559  """ChainType_get_number_of_keys() -> unsigned int"""
8560  return _IMP_atom.ChainType_get_number_of_keys()
8561 
8562 def ChainType_show_all(out):
8563  """ChainType_show_all(_ostream out)"""
8564  return _IMP_atom.ChainType_show_all(out)
8565 
8566 def ChainType_get_all_strings():
8567  """ChainType_get_all_strings() -> IMP::Vector< std::string >"""
8568  return _IMP_atom.ChainType_get_all_strings()
8569 
8570 def ChainType_get_number_unique():
8571  """ChainType_get_number_unique() -> unsigned int"""
8572  return _IMP_atom.ChainType_get_number_unique()
8573 
8574 
8575 _IMP_atom.UNKNOWN_ELEMENT_swigconstant(_IMP_atom)
8576 UNKNOWN_ELEMENT = _IMP_atom.UNKNOWN_ELEMENT
8577 
8578 _IMP_atom.OH_swigconstant(_IMP_atom)
8579 OH = _IMP_atom.OH
8580 
8581 _IMP_atom.H2O_swigconstant(_IMP_atom)
8582 H2O = _IMP_atom.H2O
8583 
8584 _IMP_atom.H_swigconstant(_IMP_atom)
8585 H = _IMP_atom.H
8586 
8587 _IMP_atom.He_swigconstant(_IMP_atom)
8588 He = _IMP_atom.He
8589 
8590 _IMP_atom.Li_swigconstant(_IMP_atom)
8591 Li = _IMP_atom.Li
8592 
8593 _IMP_atom.Be_swigconstant(_IMP_atom)
8594 Be = _IMP_atom.Be
8595 
8596 _IMP_atom.B_swigconstant(_IMP_atom)
8597 B = _IMP_atom.B
8598 
8599 _IMP_atom.C_swigconstant(_IMP_atom)
8600 C = _IMP_atom.C
8601 
8602 _IMP_atom.N_swigconstant(_IMP_atom)
8603 N = _IMP_atom.N
8604 
8605 _IMP_atom.O_swigconstant(_IMP_atom)
8606 O = _IMP_atom.O
8607 
8608 _IMP_atom.F_swigconstant(_IMP_atom)
8609 F = _IMP_atom.F
8610 
8611 _IMP_atom.Ne_swigconstant(_IMP_atom)
8612 Ne = _IMP_atom.Ne
8613 
8614 _IMP_atom.Na_swigconstant(_IMP_atom)
8615 Na = _IMP_atom.Na
8616 
8617 _IMP_atom.Mg_swigconstant(_IMP_atom)
8618 Mg = _IMP_atom.Mg
8619 
8620 _IMP_atom.Al_swigconstant(_IMP_atom)
8621 Al = _IMP_atom.Al
8622 
8623 _IMP_atom.Si_swigconstant(_IMP_atom)
8624 Si = _IMP_atom.Si
8625 
8626 _IMP_atom.P_swigconstant(_IMP_atom)
8627 P = _IMP_atom.P
8628 
8629 _IMP_atom.S_swigconstant(_IMP_atom)
8630 S = _IMP_atom.S
8631 
8632 _IMP_atom.Cl_swigconstant(_IMP_atom)
8633 Cl = _IMP_atom.Cl
8634 
8635 _IMP_atom.Ar_swigconstant(_IMP_atom)
8636 Ar = _IMP_atom.Ar
8637 
8638 _IMP_atom.K_swigconstant(_IMP_atom)
8639 K = _IMP_atom.K
8640 
8641 _IMP_atom.Ca_swigconstant(_IMP_atom)
8642 Ca = _IMP_atom.Ca
8643 
8644 _IMP_atom.Sc_swigconstant(_IMP_atom)
8645 Sc = _IMP_atom.Sc
8646 
8647 _IMP_atom.Ti_swigconstant(_IMP_atom)
8648 Ti = _IMP_atom.Ti
8649 
8650 _IMP_atom.V_swigconstant(_IMP_atom)
8651 V = _IMP_atom.V
8652 
8653 _IMP_atom.Cr_swigconstant(_IMP_atom)
8654 Cr = _IMP_atom.Cr
8655 
8656 _IMP_atom.Mn_swigconstant(_IMP_atom)
8657 Mn = _IMP_atom.Mn
8658 
8659 _IMP_atom.Fe_swigconstant(_IMP_atom)
8660 Fe = _IMP_atom.Fe
8661 
8662 _IMP_atom.Co_swigconstant(_IMP_atom)
8663 Co = _IMP_atom.Co
8664 
8665 _IMP_atom.Ni_swigconstant(_IMP_atom)
8666 Ni = _IMP_atom.Ni
8667 
8668 _IMP_atom.Cu_swigconstant(_IMP_atom)
8669 Cu = _IMP_atom.Cu
8670 
8671 _IMP_atom.Zn_swigconstant(_IMP_atom)
8672 Zn = _IMP_atom.Zn
8673 
8674 _IMP_atom.Ga_swigconstant(_IMP_atom)
8675 Ga = _IMP_atom.Ga
8676 
8677 _IMP_atom.Ge_swigconstant(_IMP_atom)
8678 Ge = _IMP_atom.Ge
8679 
8680 _IMP_atom.As_swigconstant(_IMP_atom)
8681 As = _IMP_atom.As
8682 
8683 _IMP_atom.Se_swigconstant(_IMP_atom)
8684 Se = _IMP_atom.Se
8685 
8686 _IMP_atom.Br_swigconstant(_IMP_atom)
8687 Br = _IMP_atom.Br
8688 
8689 _IMP_atom.Kr_swigconstant(_IMP_atom)
8690 Kr = _IMP_atom.Kr
8691 
8692 _IMP_atom.Rb_swigconstant(_IMP_atom)
8693 Rb = _IMP_atom.Rb
8694 
8695 _IMP_atom.Sr_swigconstant(_IMP_atom)
8696 Sr = _IMP_atom.Sr
8697 
8698 _IMP_atom.Y_swigconstant(_IMP_atom)
8699 Y = _IMP_atom.Y
8700 
8701 _IMP_atom.Zr_swigconstant(_IMP_atom)
8702 Zr = _IMP_atom.Zr
8703 
8704 _IMP_atom.Nb_swigconstant(_IMP_atom)
8705 Nb = _IMP_atom.Nb
8706 
8707 _IMP_atom.Mo_swigconstant(_IMP_atom)
8708 Mo = _IMP_atom.Mo
8709 
8710 _IMP_atom.Tc_swigconstant(_IMP_atom)
8711 Tc = _IMP_atom.Tc
8712 
8713 _IMP_atom.Ru_swigconstant(_IMP_atom)
8714 Ru = _IMP_atom.Ru
8715 
8716 _IMP_atom.Rh_swigconstant(_IMP_atom)
8717 Rh = _IMP_atom.Rh
8718 
8719 _IMP_atom.Pd_swigconstant(_IMP_atom)
8720 Pd = _IMP_atom.Pd
8721 
8722 _IMP_atom.Ag_swigconstant(_IMP_atom)
8723 Ag = _IMP_atom.Ag
8724 
8725 _IMP_atom.Cd_swigconstant(_IMP_atom)
8726 Cd = _IMP_atom.Cd
8727 
8728 _IMP_atom.In_swigconstant(_IMP_atom)
8729 In = _IMP_atom.In
8730 
8731 _IMP_atom.Sn_swigconstant(_IMP_atom)
8732 Sn = _IMP_atom.Sn
8733 
8734 _IMP_atom.Sb_swigconstant(_IMP_atom)
8735 Sb = _IMP_atom.Sb
8736 
8737 _IMP_atom.Te_swigconstant(_IMP_atom)
8738 Te = _IMP_atom.Te
8739 
8740 _IMP_atom.I_swigconstant(_IMP_atom)
8741 I = _IMP_atom.I
8742 
8743 _IMP_atom.Xe_swigconstant(_IMP_atom)
8744 Xe = _IMP_atom.Xe
8745 
8746 _IMP_atom.Cs_swigconstant(_IMP_atom)
8747 Cs = _IMP_atom.Cs
8748 
8749 _IMP_atom.Ba_swigconstant(_IMP_atom)
8750 Ba = _IMP_atom.Ba
8751 
8752 _IMP_atom.La_swigconstant(_IMP_atom)
8753 La = _IMP_atom.La
8754 
8755 _IMP_atom.Ce_swigconstant(_IMP_atom)
8756 Ce = _IMP_atom.Ce
8757 
8758 _IMP_atom.Pr_swigconstant(_IMP_atom)
8759 Pr = _IMP_atom.Pr
8760 
8761 _IMP_atom.Nd_swigconstant(_IMP_atom)
8762 Nd = _IMP_atom.Nd
8763 
8764 _IMP_atom.Pm_swigconstant(_IMP_atom)
8765 Pm = _IMP_atom.Pm
8766 
8767 _IMP_atom.Sm_swigconstant(_IMP_atom)
8768 Sm = _IMP_atom.Sm
8769 
8770 _IMP_atom.Eu_swigconstant(_IMP_atom)
8771 Eu = _IMP_atom.Eu
8772 
8773 _IMP_atom.Gd_swigconstant(_IMP_atom)
8774 Gd = _IMP_atom.Gd
8775 
8776 _IMP_atom.Tb_swigconstant(_IMP_atom)
8777 Tb = _IMP_atom.Tb
8778 
8779 _IMP_atom.Dy_swigconstant(_IMP_atom)
8780 Dy = _IMP_atom.Dy
8781 
8782 _IMP_atom.Ho_swigconstant(_IMP_atom)
8783 Ho = _IMP_atom.Ho
8784 
8785 _IMP_atom.Er_swigconstant(_IMP_atom)
8786 Er = _IMP_atom.Er
8787 
8788 _IMP_atom.Tm_swigconstant(_IMP_atom)
8789 Tm = _IMP_atom.Tm
8790 
8791 _IMP_atom.Yb_swigconstant(_IMP_atom)
8792 Yb = _IMP_atom.Yb
8793 
8794 _IMP_atom.Lu_swigconstant(_IMP_atom)
8795 Lu = _IMP_atom.Lu
8796 
8797 _IMP_atom.Hf_swigconstant(_IMP_atom)
8798 Hf = _IMP_atom.Hf
8799 
8800 _IMP_atom.Ta_swigconstant(_IMP_atom)
8801 Ta = _IMP_atom.Ta
8802 
8803 _IMP_atom.W_swigconstant(_IMP_atom)
8804 W = _IMP_atom.W
8805 
8806 _IMP_atom.Re_swigconstant(_IMP_atom)
8807 Re = _IMP_atom.Re
8808 
8809 _IMP_atom.Os_swigconstant(_IMP_atom)
8810 Os = _IMP_atom.Os
8811 
8812 _IMP_atom.Ir_swigconstant(_IMP_atom)
8813 Ir = _IMP_atom.Ir
8814 
8815 _IMP_atom.Pt_swigconstant(_IMP_atom)
8816 Pt = _IMP_atom.Pt
8817 
8818 _IMP_atom.Au_swigconstant(_IMP_atom)
8819 Au = _IMP_atom.Au
8820 
8821 _IMP_atom.Hg_swigconstant(_IMP_atom)
8822 Hg = _IMP_atom.Hg
8823 
8824 _IMP_atom.Tl_swigconstant(_IMP_atom)
8825 Tl = _IMP_atom.Tl
8826 
8827 _IMP_atom.Pb_swigconstant(_IMP_atom)
8828 Pb = _IMP_atom.Pb
8829 
8830 _IMP_atom.Bi_swigconstant(_IMP_atom)
8831 Bi = _IMP_atom.Bi
8832 
8833 _IMP_atom.Po_swigconstant(_IMP_atom)
8834 Po = _IMP_atom.Po
8835 
8836 _IMP_atom.At_swigconstant(_IMP_atom)
8837 At = _IMP_atom.At
8838 
8839 _IMP_atom.Rn_swigconstant(_IMP_atom)
8840 Rn = _IMP_atom.Rn
8841 
8842 _IMP_atom.Fr_swigconstant(_IMP_atom)
8843 Fr = _IMP_atom.Fr
8844 
8845 _IMP_atom.Ra_swigconstant(_IMP_atom)
8846 Ra = _IMP_atom.Ra
8847 
8848 _IMP_atom.Ac_swigconstant(_IMP_atom)
8849 Ac = _IMP_atom.Ac
8850 
8851 _IMP_atom.Th_swigconstant(_IMP_atom)
8852 Th = _IMP_atom.Th
8853 
8854 _IMP_atom.Pa_swigconstant(_IMP_atom)
8855 Pa = _IMP_atom.Pa
8856 
8857 _IMP_atom.U_swigconstant(_IMP_atom)
8858 U = _IMP_atom.U
8859 
8860 _IMP_atom.Np_swigconstant(_IMP_atom)
8861 Np = _IMP_atom.Np
8862 
8863 _IMP_atom.Pu_swigconstant(_IMP_atom)
8864 Pu = _IMP_atom.Pu
8865 
8866 _IMP_atom.Am_swigconstant(_IMP_atom)
8867 Am = _IMP_atom.Am
8868 
8869 _IMP_atom.Cm_swigconstant(_IMP_atom)
8870 Cm = _IMP_atom.Cm
8871 
8872 _IMP_atom.Bk_swigconstant(_IMP_atom)
8873 Bk = _IMP_atom.Bk
8874 
8875 _IMP_atom.Cf_swigconstant(_IMP_atom)
8876 Cf = _IMP_atom.Cf
8877 
8878 _IMP_atom.Es_swigconstant(_IMP_atom)
8879 Es = _IMP_atom.Es
8880 
8881 _IMP_atom.Fm_swigconstant(_IMP_atom)
8882 Fm = _IMP_atom.Fm
8883 
8884 _IMP_atom.Md_swigconstant(_IMP_atom)
8885 Md = _IMP_atom.Md
8886 
8887 _IMP_atom.No_swigconstant(_IMP_atom)
8888 No = _IMP_atom.No
8889 
8890 _IMP_atom.Lr_swigconstant(_IMP_atom)
8891 Lr = _IMP_atom.Lr
8892 
8893 _IMP_atom.Db_swigconstant(_IMP_atom)
8894 Db = _IMP_atom.Db
8895 
8896 _IMP_atom.Jl_swigconstant(_IMP_atom)
8897 Jl = _IMP_atom.Jl
8898 
8899 _IMP_atom.Rf_swigconstant(_IMP_atom)
8900 Rf = _IMP_atom.Rf
8901 
8902 _IMP_atom.NUMBER_OF_ELEMENTS_swigconstant(_IMP_atom)
8903 NUMBER_OF_ELEMENTS = _IMP_atom.NUMBER_OF_ELEMENTS
8904 
8905 def hash_value(e):
8906  """hash_value(IMP::atom::Element e) -> size_t"""
8907  return _IMP_atom.hash_value(e)
8908 class ElementTable(object):
8909  """Proxy of C++ IMP::atom::ElementTable class"""
8910  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8911  __repr__ = _swig_repr
8912 
8913  def __init__(self):
8914  """__init__(IMP::atom::ElementTable self) -> ElementTable"""
8915  this = _IMP_atom.new_ElementTable()
8916  try:
8917  self.this.append(this)
8918  except:
8919  self.this = this
8920 
8921  def get_element(self, s):
8922  """get_element(ElementTable self, std::string const & s) -> IMP::atom::Element"""
8923  return _IMP_atom.ElementTable_get_element(self, s)
8924 
8925 
8926  def get_name(self, e):
8927  """get_name(ElementTable self, IMP::atom::Element e) -> std::string"""
8928  return _IMP_atom.ElementTable_get_name(self, e)
8929 
8930 
8931  def get_mass(self, e):
8932  """get_mass(ElementTable self, IMP::atom::Element e) -> IMP::Float"""
8933  return _IMP_atom.ElementTable_get_mass(self, e)
8934 
8935  __swig_destroy__ = _IMP_atom.delete_ElementTable
8936  __del__ = lambda self: None
8937 ElementTable_swigregister = _IMP_atom.ElementTable_swigregister
8938 ElementTable_swigregister(ElementTable)
8939 
8940 
8941 def get_element_table():
8942  """get_element_table() -> ElementTable"""
8943  return _IMP_atom.get_element_table()
8944 class Atom(Hierarchy):
8945  """Proxy of C++ IMP::atom::Atom class"""
8946  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
8947 
8948  def __init__(self, *args):
8949  """
8950  __init__(IMP::atom::Atom self) -> Atom
8951  __init__(IMP::atom::Atom self, Model m, ParticleIndex id) -> Atom
8952  __init__(IMP::atom::Atom self, _ParticleAdaptor d) -> Atom
8953  """
8954  this = _IMP_atom.new_Atom(*args)
8955  try:
8956  self.this.append(this)
8957  except:
8958  self.this = this
8959 
8960  def show(self, *args):
8961  """
8962  show(Atom self, _ostream out)
8963  show(Atom self)
8964  """
8965  return _IMP_atom.Atom_show(self, *args)
8966 
8967 
8968  def setup_particle(*args):
8969  """
8970  setup_particle(Model m, ParticleIndex pi, Atom other) -> Atom
8971  setup_particle(_ParticleAdaptor decorator, Atom other) -> Atom
8972  setup_particle(Model m, ParticleIndex pi, AtomType atom_type) -> Atom
8973  setup_particle(_ParticleAdaptor decorator, AtomType atom_type) -> Atom
8974  """
8975  return _IMP_atom.Atom_setup_particle(*args)
8976 
8977  setup_particle = staticmethod(setup_particle)
8978 
8979  def get_is_setup(*args):
8980  """
8981  get_is_setup(_ParticleAdaptor p) -> bool
8982  get_is_setup(Model m, ParticleIndex pi) -> bool
8983  """
8984  return _IMP_atom.Atom_get_is_setup(*args)
8985 
8986  get_is_setup = staticmethod(get_is_setup)
8987 
8988  def get_atom_type(self):
8989  """get_atom_type(Atom self) -> AtomType"""
8990  return _IMP_atom.Atom_get_atom_type(self)
8991 
8992 
8993  def set_atom_type(self, t):
8994  """set_atom_type(Atom self, AtomType t)"""
8995  return _IMP_atom.Atom_set_atom_type(self, t)
8996 
8997 
8998  def get_element(self):
8999  """get_element(Atom self) -> IMP::atom::Element"""
9000  return _IMP_atom.Atom_get_element(self)
9001 
9002 
9003  def set_element(self, e):
9004  """set_element(Atom self, IMP::atom::Element e)"""
9005  return _IMP_atom.Atom_set_element(self, e)
9006 
9007 
9008  def get_occupancy(self):
9009  """get_occupancy(Atom self) -> double"""
9010  return _IMP_atom.Atom_get_occupancy(self)
9011 
9012 
9013  def set_occupancy(self, occupancy):
9014  """set_occupancy(Atom self, double occupancy)"""
9015  return _IMP_atom.Atom_set_occupancy(self, occupancy)
9016 
9017 
9018  def get_temperature_factor(self):
9019  """get_temperature_factor(Atom self) -> double"""
9020  return _IMP_atom.Atom_get_temperature_factor(self)
9021 
9022 
9023  def set_temperature_factor(self, tempFactor):
9024  """set_temperature_factor(Atom self, double tempFactor)"""
9025  return _IMP_atom.Atom_set_temperature_factor(self, tempFactor)
9026 
9027 
9028  def get_input_index(self):
9029  """get_input_index(Atom self) -> IMP::Int"""
9030  return _IMP_atom.Atom_get_input_index(self)
9031 
9032 
9033  def set_input_index(self, t):
9034  """set_input_index(Atom self, IMP::Int t)"""
9035  return _IMP_atom.Atom_set_input_index(self, t)
9036 
9037 
9038  def get_atom_type_key():
9039  """get_atom_type_key() -> IntKey"""
9040  return _IMP_atom.Atom_get_atom_type_key()
9041 
9042  get_atom_type_key = staticmethod(get_atom_type_key)
9043 
9044  def get_element_key():
9045  """get_element_key() -> IntKey"""
9046  return _IMP_atom.Atom_get_element_key()
9047 
9048  get_element_key = staticmethod(get_element_key)
9049 
9050  def get_input_index_key():
9051  """get_input_index_key() -> IntKey"""
9052  return _IMP_atom.Atom_get_input_index_key()
9053 
9054  get_input_index_key = staticmethod(get_input_index_key)
9055 
9056  def get_occupancy_key():
9057  """get_occupancy_key() -> FloatKey"""
9058  return _IMP_atom.Atom_get_occupancy_key()
9059 
9060  get_occupancy_key = staticmethod(get_occupancy_key)
9061 
9062  def get_temperature_factor_key():
9063  """get_temperature_factor_key() -> FloatKey"""
9064  return _IMP_atom.Atom_get_temperature_factor_key()
9065 
9066  get_temperature_factor_key = staticmethod(get_temperature_factor_key)
9067 
9068  def add_attribute(self, *args):
9069  """
9070  add_attribute(Atom self, FloatKey k, IMP::Float v, bool opt)
9071  add_attribute(Atom self, FloatKey a0, IMP::Float a1)
9072  add_attribute(Atom self, IntKey a0, IMP::Int a1)
9073  add_attribute(Atom self, FloatsKey a0, IMP::Floats a1)
9074  add_attribute(Atom self, IntsKey a0, IMP::Ints a1)
9075  add_attribute(Atom self, StringKey a0, IMP::String a1)
9076  add_attribute(Atom self, ParticleIndexKey a0, Particle a1)
9077  add_attribute(Atom self, ObjectKey a0, Object a1)
9078  """
9079  return _IMP_atom.Atom_add_attribute(self, *args)
9080 
9081 
9082  def get_value(self, *args):
9083  """
9084  get_value(Atom self, FloatKey a0) -> IMP::Float
9085  get_value(Atom self, IntKey a0) -> IMP::Int
9086  get_value(Atom self, FloatsKey a0) -> IMP::Floats
9087  get_value(Atom self, IntsKey a0) -> IMP::Ints
9088  get_value(Atom self, StringKey a0) -> IMP::String
9089  get_value(Atom self, ParticleIndexKey a0) -> Particle
9090  get_value(Atom self, ObjectKey a0) -> Object
9091  """
9092  return _IMP_atom.Atom_get_value(self, *args)
9093 
9094 
9095  def set_value(self, *args):
9096  """
9097  set_value(Atom self, FloatKey a0, IMP::Float a1)
9098  set_value(Atom self, IntKey a0, IMP::Int a1)
9099  set_value(Atom self, FloatsKey a0, IMP::Floats a1)
9100  set_value(Atom self, IntsKey a0, IMP::Ints a1)
9101  set_value(Atom self, StringKey a0, IMP::String a1)
9102  set_value(Atom self, ParticleIndexKey a0, Particle a1)
9103  set_value(Atom self, ObjectKey a0, Object a1)
9104  """
9105  return _IMP_atom.Atom_set_value(self, *args)
9106 
9107 
9108  def remove_attribute(self, *args):
9109  """
9110  remove_attribute(Atom self, FloatKey a0)
9111  remove_attribute(Atom self, IntKey a0)
9112  remove_attribute(Atom self, FloatsKey a0)
9113  remove_attribute(Atom self, IntsKey a0)
9114  remove_attribute(Atom self, StringKey a0)
9115  remove_attribute(Atom self, ParticleIndexKey a0)
9116  remove_attribute(Atom self, ObjectKey a0)
9117  """
9118  return _IMP_atom.Atom_remove_attribute(self, *args)
9119 
9120 
9121  def has_attribute(self, *args):
9122  """
9123  has_attribute(Atom self, FloatKey a0) -> bool
9124  has_attribute(Atom self, IntKey a0) -> bool
9125  has_attribute(Atom self, FloatsKey a0) -> bool
9126  has_attribute(Atom self, IntsKey a0) -> bool
9127  has_attribute(Atom self, StringKey a0) -> bool
9128  has_attribute(Atom self, ParticleIndexKey a0) -> bool
9129  has_attribute(Atom self, ObjectKey a0) -> bool
9130  """
9131  return _IMP_atom.Atom_has_attribute(self, *args)
9132 
9133 
9134  def get_derivative(self, a0):
9135  """get_derivative(Atom self, FloatKey a0) -> double"""
9136  return _IMP_atom.Atom_get_derivative(self, a0)
9137 
9138 
9139  def get_name(self):
9140  """get_name(Atom self) -> std::string"""
9141  return _IMP_atom.Atom_get_name(self)
9142 
9143 
9144  def clear_caches(self):
9145  """clear_caches(Atom self)"""
9146  return _IMP_atom.Atom_clear_caches(self)
9147 
9148 
9149  def set_name(self, a0):
9150  """set_name(Atom self, std::string a0)"""
9151  return _IMP_atom.Atom_set_name(self, a0)
9152 
9153 
9154  def set_check_level(self, a0):
9155  """set_check_level(Atom self, IMP::CheckLevel a0)"""
9156  return _IMP_atom.Atom_set_check_level(self, a0)
9157 
9158 
9159  def add_to_derivative(self, a0, a1, a2):
9160  """add_to_derivative(Atom self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
9161  return _IMP_atom.Atom_add_to_derivative(self, a0, a1, a2)
9162 
9163 
9164  def set_is_optimized(self, a0, a1):
9165  """set_is_optimized(Atom self, FloatKey a0, bool a1)"""
9166  return _IMP_atom.Atom_set_is_optimized(self, a0, a1)
9167 
9168 
9169  def get_is_optimized(self, a0):
9170  """get_is_optimized(Atom self, FloatKey a0) -> bool"""
9171  return _IMP_atom.Atom_get_is_optimized(self, a0)
9172 
9173 
9174  def get_check_level(self):
9175  """get_check_level(Atom self) -> IMP::CheckLevel"""
9176  return _IMP_atom.Atom_get_check_level(self)
9177 
9178 
9179  def __eq__(self, *args):
9180  """
9181  __eq__(Atom self, Atom o) -> bool
9182  __eq__(Atom self, Particle d) -> bool
9183  """
9184  return _IMP_atom.Atom___eq__(self, *args)
9185 
9186 
9187  def __ne__(self, *args):
9188  """
9189  __ne__(Atom self, Atom o) -> bool
9190  __ne__(Atom self, Particle d) -> bool
9191  """
9192  return _IMP_atom.Atom___ne__(self, *args)
9193 
9194 
9195  def __le__(self, *args):
9196  """
9197  __le__(Atom self, Atom o) -> bool
9198  __le__(Atom self, Particle d) -> bool
9199  """
9200  return _IMP_atom.Atom___le__(self, *args)
9201 
9202 
9203  def __lt__(self, *args):
9204  """
9205  __lt__(Atom self, Atom o) -> bool
9206  __lt__(Atom self, Particle d) -> bool
9207  """
9208  return _IMP_atom.Atom___lt__(self, *args)
9209 
9210 
9211  def __ge__(self, *args):
9212  """
9213  __ge__(Atom self, Atom o) -> bool
9214  __ge__(Atom self, Particle d) -> bool
9215  """
9216  return _IMP_atom.Atom___ge__(self, *args)
9217 
9218 
9219  def __gt__(self, *args):
9220  """
9221  __gt__(Atom self, Atom o) -> bool
9222  __gt__(Atom self, Particle d) -> bool
9223  """
9224  return _IMP_atom.Atom___gt__(self, *args)
9225 
9226 
9227  def __hash__(self):
9228  """__hash__(Atom self) -> std::size_t"""
9229  return _IMP_atom.Atom___hash__(self)
9230 
9231 
9232  def __str__(self):
9233  """__str__(Atom self) -> std::string"""
9234  return _IMP_atom.Atom___str__(self)
9235 
9236 
9237  def __repr__(self):
9238  """__repr__(Atom self) -> std::string"""
9239  return _IMP_atom.Atom___repr__(self)
9240 
9241  __swig_destroy__ = _IMP_atom.delete_Atom
9242  __del__ = lambda self: None
9243 Atom_swigregister = _IMP_atom.Atom_swigregister
9244 Atom_swigregister(Atom)
9245 AT_UNKNOWN = cvar.AT_UNKNOWN
9246 AT_N = cvar.AT_N
9247 AT_CA = cvar.AT_CA
9248 AT_C = cvar.AT_C
9249 AT_O = cvar.AT_O
9250 AT_H = cvar.AT_H
9251 AT_H1 = cvar.AT_H1
9252 AT_H2 = cvar.AT_H2
9253 AT_H3 = cvar.AT_H3
9254 AT_HA = cvar.AT_HA
9255 AT_HA1 = cvar.AT_HA1
9256 AT_HA2 = cvar.AT_HA2
9257 AT_HA3 = cvar.AT_HA3
9258 AT_CB = cvar.AT_CB
9259 AT_HB = cvar.AT_HB
9260 AT_HB1 = cvar.AT_HB1
9261 AT_HB2 = cvar.AT_HB2
9262 AT_HB3 = cvar.AT_HB3
9263 AT_OXT = cvar.AT_OXT
9264 AT_CH3 = cvar.AT_CH3
9265 AT_CH = cvar.AT_CH
9266 AT_CG = cvar.AT_CG
9267 AT_CG1 = cvar.AT_CG1
9268 AT_CG2 = cvar.AT_CG2
9269 AT_HG = cvar.AT_HG
9270 AT_HG1 = cvar.AT_HG1
9271 AT_HG2 = cvar.AT_HG2
9272 AT_HG3 = cvar.AT_HG3
9273 AT_HG11 = cvar.AT_HG11
9274 AT_HG21 = cvar.AT_HG21
9275 AT_HG31 = cvar.AT_HG31
9276 AT_HG12 = cvar.AT_HG12
9277 AT_HG13 = cvar.AT_HG13
9278 AT_HG22 = cvar.AT_HG22
9279 AT_HG23 = cvar.AT_HG23
9280 AT_HG32 = cvar.AT_HG32
9281 AT_OG = cvar.AT_OG
9282 AT_OG1 = cvar.AT_OG1
9283 AT_SG = cvar.AT_SG
9284 AT_CD = cvar.AT_CD
9285 AT_CD1 = cvar.AT_CD1
9286 AT_CD2 = cvar.AT_CD2
9287 AT_HD = cvar.AT_HD
9288 AT_HD1 = cvar.AT_HD1
9289 AT_HD2 = cvar.AT_HD2
9290 AT_HD3 = cvar.AT_HD3
9291 AT_HD11 = cvar.AT_HD11
9292 AT_HD21 = cvar.AT_HD21
9293 AT_HD31 = cvar.AT_HD31
9294 AT_HD12 = cvar.AT_HD12
9295 AT_HD13 = cvar.AT_HD13
9296 AT_HD22 = cvar.AT_HD22
9297 AT_HD23 = cvar.AT_HD23
9298 AT_HD32 = cvar.AT_HD32
9299 AT_SD = cvar.AT_SD
9300 AT_OD1 = cvar.AT_OD1
9301 AT_OD2 = cvar.AT_OD2
9302 AT_ND1 = cvar.AT_ND1
9303 AT_ND2 = cvar.AT_ND2
9304 AT_CE = cvar.AT_CE
9305 AT_CE1 = cvar.AT_CE1
9306 AT_CE2 = cvar.AT_CE2
9307 AT_CE3 = cvar.AT_CE3
9308 AT_HE = cvar.AT_HE
9309 AT_HE1 = cvar.AT_HE1
9310 AT_HE2 = cvar.AT_HE2
9311 AT_HE3 = cvar.AT_HE3
9312 AT_HE21 = cvar.AT_HE21
9313 AT_HE22 = cvar.AT_HE22
9314 AT_OE1 = cvar.AT_OE1
9315 AT_OE2 = cvar.AT_OE2
9316 AT_NE = cvar.AT_NE
9317 AT_NE1 = cvar.AT_NE1
9318 AT_NE2 = cvar.AT_NE2
9319 AT_CZ = cvar.AT_CZ
9320 AT_CZ2 = cvar.AT_CZ2
9321 AT_CZ3 = cvar.AT_CZ3
9322 AT_NZ = cvar.AT_NZ
9323 AT_HZ = cvar.AT_HZ
9324 AT_HZ1 = cvar.AT_HZ1
9325 AT_HZ2 = cvar.AT_HZ2
9326 AT_HZ3 = cvar.AT_HZ3
9327 AT_CH2 = cvar.AT_CH2
9328 AT_NH1 = cvar.AT_NH1
9329 AT_NH2 = cvar.AT_NH2
9330 AT_OH = cvar.AT_OH
9331 AT_HH = cvar.AT_HH
9332 AT_HH11 = cvar.AT_HH11
9333 AT_HH21 = cvar.AT_HH21
9334 AT_HH2 = cvar.AT_HH2
9335 AT_HH12 = cvar.AT_HH12
9336 AT_HH22 = cvar.AT_HH22
9337 AT_HH13 = cvar.AT_HH13
9338 AT_HH23 = cvar.AT_HH23
9339 AT_HH33 = cvar.AT_HH33
9340 AT_P = cvar.AT_P
9341 AT_OP1 = cvar.AT_OP1
9342 AT_OP2 = cvar.AT_OP2
9343 AT_OP3 = cvar.AT_OP3
9344 AT_O5p = cvar.AT_O5p
9345 AT_C5p = cvar.AT_C5p
9346 AT_H5p = cvar.AT_H5p
9347 AT_H5pp = cvar.AT_H5pp
9348 AT_C4p = cvar.AT_C4p
9349 AT_H4p = cvar.AT_H4p
9350 AT_O4p = cvar.AT_O4p
9351 AT_C1p = cvar.AT_C1p
9352 AT_H1p = cvar.AT_H1p
9353 AT_C3p = cvar.AT_C3p
9354 AT_H3p = cvar.AT_H3p
9355 AT_O3p = cvar.AT_O3p
9356 AT_C2p = cvar.AT_C2p
9357 AT_H2p = cvar.AT_H2p
9358 AT_H2pp = cvar.AT_H2pp
9359 AT_O2p = cvar.AT_O2p
9360 AT_HO2p = cvar.AT_HO2p
9361 AT_N9 = cvar.AT_N9
9362 AT_C8 = cvar.AT_C8
9363 AT_H8 = cvar.AT_H8
9364 AT_N7 = cvar.AT_N7
9365 AT_C5 = cvar.AT_C5
9366 AT_C4 = cvar.AT_C4
9367 AT_N3 = cvar.AT_N3
9368 AT_C2 = cvar.AT_C2
9369 AT_N1 = cvar.AT_N1
9370 AT_C6 = cvar.AT_C6
9371 AT_N6 = cvar.AT_N6
9372 AT_H61 = cvar.AT_H61
9373 AT_H62 = cvar.AT_H62
9374 AT_O6 = cvar.AT_O6
9375 AT_N2 = cvar.AT_N2
9376 AT_NT = cvar.AT_NT
9377 AT_H21 = cvar.AT_H21
9378 AT_H22 = cvar.AT_H22
9379 AT_H6 = cvar.AT_H6
9380 AT_H5 = cvar.AT_H5
9381 AT_O2 = cvar.AT_O2
9382 AT_N4 = cvar.AT_N4
9383 AT_H41 = cvar.AT_H41
9384 AT_H42 = cvar.AT_H42
9385 AT_O4 = cvar.AT_O4
9386 AT_C7 = cvar.AT_C7
9387 AT_H71 = cvar.AT_H71
9388 AT_H72 = cvar.AT_H72
9389 AT_H73 = cvar.AT_H73
9390 AT_O1A = cvar.AT_O1A
9391 AT_O2A = cvar.AT_O2A
9392 AT_O3A = cvar.AT_O3A
9393 AT_O1B = cvar.AT_O1B
9394 AT_O2B = cvar.AT_O2B
9395 AT_O3B = cvar.AT_O3B
9396 
9397 def Atom_setup_particle(*args):
9398  """
9399  setup_particle(Model m, ParticleIndex pi, Atom other) -> Atom
9400  setup_particle(_ParticleAdaptor decorator, Atom other) -> Atom
9401  setup_particle(Model m, ParticleIndex pi, AtomType atom_type) -> Atom
9402  Atom_setup_particle(_ParticleAdaptor decorator, AtomType atom_type) -> Atom
9403  """
9404  return _IMP_atom.Atom_setup_particle(*args)
9405 
9406 def Atom_get_is_setup(*args):
9407  """
9408  get_is_setup(_ParticleAdaptor p) -> bool
9409  Atom_get_is_setup(Model m, ParticleIndex pi) -> bool
9410  """
9411  return _IMP_atom.Atom_get_is_setup(*args)
9412 
9413 def Atom_get_atom_type_key():
9414  """Atom_get_atom_type_key() -> IntKey"""
9415  return _IMP_atom.Atom_get_atom_type_key()
9416 
9417 def Atom_get_element_key():
9418  """Atom_get_element_key() -> IntKey"""
9419  return _IMP_atom.Atom_get_element_key()
9420 
9421 def Atom_get_input_index_key():
9422  """Atom_get_input_index_key() -> IntKey"""
9423  return _IMP_atom.Atom_get_input_index_key()
9424 
9425 def Atom_get_occupancy_key():
9426  """Atom_get_occupancy_key() -> FloatKey"""
9427  return _IMP_atom.Atom_get_occupancy_key()
9428 
9429 def Atom_get_temperature_factor_key():
9430  """Atom_get_temperature_factor_key() -> FloatKey"""
9431  return _IMP_atom.Atom_get_temperature_factor_key()
9432 
9433 
9434 def get_residue(*args):
9435  """
9436  get_residue(Hierarchy mhd, unsigned int index) -> Hierarchy
9437  get_residue(Atom d, bool nothrow=False) -> Residue
9438  get_residue(Atom d) -> Residue
9439  """
9440  return _IMP_atom.get_residue(*args)
9441 
9442 def get_atom(rd, at):
9443  """get_atom(Residue rd, AtomType at) -> Atom"""
9444  return _IMP_atom.get_atom(rd, at)
9445 
9446 def add_atom_type(name, e):
9447  """add_atom_type(std::string name, IMP::atom::Element e) -> AtomType"""
9448  return _IMP_atom.add_atom_type(name, e)
9449 
9450 def get_element_for_atom_type(at):
9451  """get_element_for_atom_type(AtomType at) -> IMP::atom::Element"""
9452  return _IMP_atom.get_element_for_atom_type(at)
9453 
9454 def get_atom_type_exists(name):
9455  """get_atom_type_exists(std::string name) -> bool"""
9456  return _IMP_atom.get_atom_type_exists(name)
9457 class Residue(Hierarchy):
9458  """Proxy of C++ IMP::atom::Residue class"""
9459  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9460 
9461  def __init__(self, *args):
9462  """
9463  __init__(IMP::atom::Residue self) -> Residue
9464  __init__(IMP::atom::Residue self, Model m, ParticleIndex id) -> Residue
9465  __init__(IMP::atom::Residue self, _ParticleAdaptor d) -> Residue
9466  """
9467  this = _IMP_atom.new_Residue(*args)
9468  try:
9469  self.this.append(this)
9470  except:
9471  self.this = this
9472 
9473  def show(self, *args):
9474  """
9475  show(Residue self, _ostream out)
9476  show(Residue self)
9477  """
9478  return _IMP_atom.Residue_show(self, *args)
9479 
9480 
9481  def setup_particle(*args):
9482  """
9483  setup_particle(Model m, ParticleIndex pi, ResidueType t, int index, int insertion_code) -> Residue
9484  setup_particle(_ParticleAdaptor decorator, ResidueType t, int index, int insertion_code) -> Residue
9485  setup_particle(Model m, ParticleIndex pi, ResidueType t, int index) -> Residue
9486  setup_particle(_ParticleAdaptor decorator, ResidueType t, int index) -> Residue
9487  setup_particle(Model m, ParticleIndex pi, ResidueType t) -> Residue
9488  setup_particle(_ParticleAdaptor decorator, ResidueType t) -> Residue
9489  setup_particle(Model m, ParticleIndex pi, Residue other) -> Residue
9490  setup_particle(_ParticleAdaptor decorator, Residue other) -> Residue
9491  """
9492  return _IMP_atom.Residue_setup_particle(*args)
9493 
9494  setup_particle = staticmethod(setup_particle)
9495 
9496  def get_is_setup(*args):
9497  """
9498  get_is_setup(_ParticleAdaptor p) -> bool
9499  get_is_setup(Model m, ParticleIndex pi) -> bool
9500  """
9501  return _IMP_atom.Residue_get_is_setup(*args)
9502 
9503  get_is_setup = staticmethod(get_is_setup)
9504 
9505  def get_residue_type(self):
9506  """get_residue_type(Residue self) -> ResidueType"""
9507  return _IMP_atom.Residue_get_residue_type(self)
9508 
9509 
9510  def set_residue_type(self, t):
9511  """set_residue_type(Residue self, ResidueType t)"""
9512  return _IMP_atom.Residue_set_residue_type(self, t)
9513 
9514 
9515  def get_is_protein(self):
9516  """get_is_protein(Residue self) -> bool"""
9517  return _IMP_atom.Residue_get_is_protein(self)
9518 
9519 
9520  def get_is_dna(self):
9521  """get_is_dna(Residue self) -> bool"""
9522  return _IMP_atom.Residue_get_is_dna(self)
9523 
9524 
9525  def get_is_rna(self):
9526  """get_is_rna(Residue self) -> bool"""
9527  return _IMP_atom.Residue_get_is_rna(self)
9528 
9529 
9530  def get_index(self):
9531  """get_index(Residue self) -> IMP::Int"""
9532  return _IMP_atom.Residue_get_index(self)
9533 
9534 
9535  def set_index(self, t):
9536  """set_index(Residue self, IMP::Int t)"""
9537  return _IMP_atom.Residue_set_index(self, t)
9538 
9539 
9540  def get_insertion_code(self):
9541  """get_insertion_code(Residue self) -> char"""
9542  return _IMP_atom.Residue_get_insertion_code(self)
9543 
9544 
9545  def set_insertion_code(self, insertion_code):
9546  """set_insertion_code(Residue self, char insertion_code)"""
9547  return _IMP_atom.Residue_set_insertion_code(self, insertion_code)
9548 
9549 
9550  def get_index_key():
9551  """get_index_key() -> IntKey"""
9552  return _IMP_atom.Residue_get_index_key()
9553 
9554  get_index_key = staticmethod(get_index_key)
9555 
9556  def get_residue_type_key():
9557  """get_residue_type_key() -> IntKey"""
9558  return _IMP_atom.Residue_get_residue_type_key()
9559 
9560  get_residue_type_key = staticmethod(get_residue_type_key)
9561 
9562  def get_insertion_code_key():
9563  """get_insertion_code_key() -> IntKey"""
9564  return _IMP_atom.Residue_get_insertion_code_key()
9565 
9566  get_insertion_code_key = staticmethod(get_insertion_code_key)
9567 
9568  def get_type_changed_key():
9569  """get_type_changed_key() -> TriggerKey"""
9570  return _IMP_atom.Residue_get_type_changed_key()
9571 
9572  get_type_changed_key = staticmethod(get_type_changed_key)
9573 
9574  def add_attribute(self, *args):
9575  """
9576  add_attribute(Residue self, FloatKey k, IMP::Float v, bool opt)
9577  add_attribute(Residue self, FloatKey a0, IMP::Float a1)
9578  add_attribute(Residue self, IntKey a0, IMP::Int a1)
9579  add_attribute(Residue self, FloatsKey a0, IMP::Floats a1)
9580  add_attribute(Residue self, IntsKey a0, IMP::Ints a1)
9581  add_attribute(Residue self, StringKey a0, IMP::String a1)
9582  add_attribute(Residue self, ParticleIndexKey a0, Particle a1)
9583  add_attribute(Residue self, ObjectKey a0, Object a1)
9584  """
9585  return _IMP_atom.Residue_add_attribute(self, *args)
9586 
9587 
9588  def get_value(self, *args):
9589  """
9590  get_value(Residue self, FloatKey a0) -> IMP::Float
9591  get_value(Residue self, IntKey a0) -> IMP::Int
9592  get_value(Residue self, FloatsKey a0) -> IMP::Floats
9593  get_value(Residue self, IntsKey a0) -> IMP::Ints
9594  get_value(Residue self, StringKey a0) -> IMP::String
9595  get_value(Residue self, ParticleIndexKey a0) -> Particle
9596  get_value(Residue self, ObjectKey a0) -> Object
9597  """
9598  return _IMP_atom.Residue_get_value(self, *args)
9599 
9600 
9601  def set_value(self, *args):
9602  """
9603  set_value(Residue self, FloatKey a0, IMP::Float a1)
9604  set_value(Residue self, IntKey a0, IMP::Int a1)
9605  set_value(Residue self, FloatsKey a0, IMP::Floats a1)
9606  set_value(Residue self, IntsKey a0, IMP::Ints a1)
9607  set_value(Residue self, StringKey a0, IMP::String a1)
9608  set_value(Residue self, ParticleIndexKey a0, Particle a1)
9609  set_value(Residue self, ObjectKey a0, Object a1)
9610  """
9611  return _IMP_atom.Residue_set_value(self, *args)
9612 
9613 
9614  def remove_attribute(self, *args):
9615  """
9616  remove_attribute(Residue self, FloatKey a0)
9617  remove_attribute(Residue self, IntKey a0)
9618  remove_attribute(Residue self, FloatsKey a0)
9619  remove_attribute(Residue self, IntsKey a0)
9620  remove_attribute(Residue self, StringKey a0)
9621  remove_attribute(Residue self, ParticleIndexKey a0)
9622  remove_attribute(Residue self, ObjectKey a0)
9623  """
9624  return _IMP_atom.Residue_remove_attribute(self, *args)
9625 
9626 
9627  def has_attribute(self, *args):
9628  """
9629  has_attribute(Residue self, FloatKey a0) -> bool
9630  has_attribute(Residue self, IntKey a0) -> bool
9631  has_attribute(Residue self, FloatsKey a0) -> bool
9632  has_attribute(Residue self, IntsKey a0) -> bool
9633  has_attribute(Residue self, StringKey a0) -> bool
9634  has_attribute(Residue self, ParticleIndexKey a0) -> bool
9635  has_attribute(Residue self, ObjectKey a0) -> bool
9636  """
9637  return _IMP_atom.Residue_has_attribute(self, *args)
9638 
9639 
9640  def get_derivative(self, a0):
9641  """get_derivative(Residue self, FloatKey a0) -> double"""
9642  return _IMP_atom.Residue_get_derivative(self, a0)
9643 
9644 
9645  def get_name(self):
9646  """get_name(Residue self) -> std::string"""
9647  return _IMP_atom.Residue_get_name(self)
9648 
9649 
9650  def clear_caches(self):
9651  """clear_caches(Residue self)"""
9652  return _IMP_atom.Residue_clear_caches(self)
9653 
9654 
9655  def set_name(self, a0):
9656  """set_name(Residue self, std::string a0)"""
9657  return _IMP_atom.Residue_set_name(self, a0)
9658 
9659 
9660  def set_check_level(self, a0):
9661  """set_check_level(Residue self, IMP::CheckLevel a0)"""
9662  return _IMP_atom.Residue_set_check_level(self, a0)
9663 
9664 
9665  def add_to_derivative(self, a0, a1, a2):
9666  """add_to_derivative(Residue self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
9667  return _IMP_atom.Residue_add_to_derivative(self, a0, a1, a2)
9668 
9669 
9670  def set_is_optimized(self, a0, a1):
9671  """set_is_optimized(Residue self, FloatKey a0, bool a1)"""
9672  return _IMP_atom.Residue_set_is_optimized(self, a0, a1)
9673 
9674 
9675  def get_is_optimized(self, a0):
9676  """get_is_optimized(Residue self, FloatKey a0) -> bool"""
9677  return _IMP_atom.Residue_get_is_optimized(self, a0)
9678 
9679 
9680  def get_check_level(self):
9681  """get_check_level(Residue self) -> IMP::CheckLevel"""
9682  return _IMP_atom.Residue_get_check_level(self)
9683 
9684 
9685  def __eq__(self, *args):
9686  """
9687  __eq__(Residue self, Residue o) -> bool
9688  __eq__(Residue self, Particle d) -> bool
9689  """
9690  return _IMP_atom.Residue___eq__(self, *args)
9691 
9692 
9693  def __ne__(self, *args):
9694  """
9695  __ne__(Residue self, Residue o) -> bool
9696  __ne__(Residue self, Particle d) -> bool
9697  """
9698  return _IMP_atom.Residue___ne__(self, *args)
9699 
9700 
9701  def __le__(self, *args):
9702  """
9703  __le__(Residue self, Residue o) -> bool
9704  __le__(Residue self, Particle d) -> bool
9705  """
9706  return _IMP_atom.Residue___le__(self, *args)
9707 
9708 
9709  def __lt__(self, *args):
9710  """
9711  __lt__(Residue self, Residue o) -> bool
9712  __lt__(Residue self, Particle d) -> bool
9713  """
9714  return _IMP_atom.Residue___lt__(self, *args)
9715 
9716 
9717  def __ge__(self, *args):
9718  """
9719  __ge__(Residue self, Residue o) -> bool
9720  __ge__(Residue self, Particle d) -> bool
9721  """
9722  return _IMP_atom.Residue___ge__(self, *args)
9723 
9724 
9725  def __gt__(self, *args):
9726  """
9727  __gt__(Residue self, Residue o) -> bool
9728  __gt__(Residue self, Particle d) -> bool
9729  """
9730  return _IMP_atom.Residue___gt__(self, *args)
9731 
9732 
9733  def __hash__(self):
9734  """__hash__(Residue self) -> std::size_t"""
9735  return _IMP_atom.Residue___hash__(self)
9736 
9737 
9738  def __str__(self):
9739  """__str__(Residue self) -> std::string"""
9740  return _IMP_atom.Residue___str__(self)
9741 
9742 
9743  def __repr__(self):
9744  """__repr__(Residue self) -> std::string"""
9745  return _IMP_atom.Residue___repr__(self)
9746 
9747  __swig_destroy__ = _IMP_atom.delete_Residue
9748  __del__ = lambda self: None
9749 Residue_swigregister = _IMP_atom.Residue_swigregister
9750 Residue_swigregister(Residue)
9751 UNK = cvar.UNK
9752 GLY = cvar.GLY
9753 ALA = cvar.ALA
9754 VAL = cvar.VAL
9755 LEU = cvar.LEU
9756 ILE = cvar.ILE
9757 SER = cvar.SER
9758 THR = cvar.THR
9759 CYS = cvar.CYS
9760 MET = cvar.MET
9761 PRO = cvar.PRO
9762 ASP = cvar.ASP
9763 ASN = cvar.ASN
9764 GLU = cvar.GLU
9765 GLN = cvar.GLN
9766 LYS = cvar.LYS
9767 ARG = cvar.ARG
9768 HIS = cvar.HIS
9769 PHE = cvar.PHE
9770 TYR = cvar.TYR
9771 TRP = cvar.TRP
9772 ACE = cvar.ACE
9773 NH2 = cvar.NH2
9774 MSE = cvar.MSE
9775 ADE = cvar.ADE
9776 URA = cvar.URA
9777 CYT = cvar.CYT
9778 GUA = cvar.GUA
9779 THY = cvar.THY
9780 DADE = cvar.DADE
9781 DURA = cvar.DURA
9782 DCYT = cvar.DCYT
9783 DGUA = cvar.DGUA
9784 DTHY = cvar.DTHY
9785 HOH = cvar.HOH
9786 HEME = cvar.HEME
9787 POP = cvar.POP
9788 
9789 def Residue_setup_particle(*args):
9790  """
9791  setup_particle(Model m, ParticleIndex pi, ResidueType t, int index, int insertion_code) -> Residue
9792  setup_particle(_ParticleAdaptor decorator, ResidueType t, int index, int insertion_code) -> Residue
9793  setup_particle(Model m, ParticleIndex pi, ResidueType t, int index) -> Residue
9794  setup_particle(_ParticleAdaptor decorator, ResidueType t, int index) -> Residue
9795  setup_particle(Model m, ParticleIndex pi, ResidueType t) -> Residue
9796  setup_particle(_ParticleAdaptor decorator, ResidueType t) -> Residue
9797  setup_particle(Model m, ParticleIndex pi, Residue other) -> Residue
9798  Residue_setup_particle(_ParticleAdaptor decorator, Residue other) -> Residue
9799  """
9800  return _IMP_atom.Residue_setup_particle(*args)
9801 
9802 def Residue_get_is_setup(*args):
9803  """
9804  get_is_setup(_ParticleAdaptor p) -> bool
9805  Residue_get_is_setup(Model m, ParticleIndex pi) -> bool
9806  """
9807  return _IMP_atom.Residue_get_is_setup(*args)
9808 
9809 def Residue_get_index_key():
9810  """Residue_get_index_key() -> IntKey"""
9811  return _IMP_atom.Residue_get_index_key()
9812 
9813 def Residue_get_residue_type_key():
9814  """Residue_get_residue_type_key() -> IntKey"""
9815  return _IMP_atom.Residue_get_residue_type_key()
9816 
9817 def Residue_get_insertion_code_key():
9818  """Residue_get_insertion_code_key() -> IntKey"""
9819  return _IMP_atom.Residue_get_insertion_code_key()
9820 
9821 def Residue_get_type_changed_key():
9822  """Residue_get_type_changed_key() -> TriggerKey"""
9823  return _IMP_atom.Residue_get_type_changed_key()
9824 
9825 
9826 def get_next_residue(rd):
9827  """get_next_residue(Residue rd) -> Hierarchy"""
9828  return _IMP_atom.get_next_residue(rd)
9829 
9830 def get_previous_residue(rd):
9831  """get_previous_residue(Residue rd) -> Hierarchy"""
9832  return _IMP_atom.get_previous_residue(rd)
9833 
9834 def get_one_letter_code(c):
9835  """get_one_letter_code(ResidueType c) -> char"""
9836  return _IMP_atom.get_one_letter_code(c)
9837 
9838 _IMP_atom.BALLS_swigconstant(_IMP_atom)
9839 BALLS = _IMP_atom.BALLS
9840 
9841 _IMP_atom.DENSITIES_swigconstant(_IMP_atom)
9842 DENSITIES = _IMP_atom.DENSITIES
9843 class Representation(Hierarchy):
9844  """Proxy of C++ IMP::atom::Representation class"""
9845  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
9846 
9847  def setup_particle(*args):
9848  """
9849  setup_particle(Model m, ParticleIndex pi) -> Representation
9850  setup_particle(_ParticleAdaptor decorator) -> Representation
9851  setup_particle(Model m, ParticleIndex pi, double resolution) -> Representation
9852  setup_particle(_ParticleAdaptor decorator, double resolution) -> Representation
9853  setup_particle(Model m, ParticleIndex pi, Representation other) -> Representation
9854  setup_particle(_ParticleAdaptor decorator, Representation other) -> Representation
9855  """
9856  return _IMP_atom.Representation_setup_particle(*args)
9857 
9858  setup_particle = staticmethod(setup_particle)
9859 
9860  def __init__(self, *args):
9861  """
9862  __init__(IMP::atom::Representation self) -> Representation
9863  __init__(IMP::atom::Representation self, Model m, ParticleIndex id) -> Representation
9864  __init__(IMP::atom::Representation self, _ParticleAdaptor d) -> Representation
9865  """
9866  this = _IMP_atom.new_Representation(*args)
9867  try:
9868  self.this.append(this)
9869  except:
9870  self.this = this
9871 
9872  def show(self, *args):
9873  """
9874  show(Representation self, _ostream out)
9875  show(Representation self)
9876  """
9877  return _IMP_atom.Representation_show(self, *args)
9878 
9879 
9880  def get_is_setup(*args):
9881  """
9882  get_is_setup(_ParticleAdaptor p) -> bool
9883  get_is_setup(Model m, ParticleIndex pi) -> bool
9884  """
9885  return _IMP_atom.Representation_get_is_setup(*args)
9886 
9887  get_is_setup = staticmethod(get_is_setup)
9888 
9889  def get_representation(self, *args):
9890  """
9891  get_representation(Representation self, double resolution, IMP::atom::RepresentationType type) -> Hierarchy
9892  get_representation(Representation self, double resolution) -> Hierarchy
9893  """
9894  return _IMP_atom.Representation_get_representation(self, *args)
9895 
9896 
9897  def get_representations(self, *args):
9898  """
9899  get_representations(Representation self, IMP::atom::RepresentationType type) -> IMP::atom::Hierarchies
9900  get_representations(Representation self) -> IMP::atom::Hierarchies
9901  """
9902  return _IMP_atom.Representation_get_representations(self, *args)
9903 
9904 
9905  def add_representation(self, *args):
9906  """
9907  add_representation(Representation self, _ParticleIndexAdaptor rep, IMP::atom::RepresentationType type, double resolution=-1)
9908  add_representation(Representation self, _ParticleIndexAdaptor rep, IMP::atom::RepresentationType type)
9909  add_representation(Representation self, _ParticleIndexAdaptor rep)
9910  """
9911  return _IMP_atom.Representation_add_representation(self, *args)
9912 
9913 
9914  def get_resolutions(self, *args):
9915  """
9916  get_resolutions(Representation self, IMP::atom::RepresentationType type) -> IMP::Floats
9917  get_resolutions(Representation self) -> IMP::Floats
9918  """
9919  return _IMP_atom.Representation_get_resolutions(self, *args)
9920 
9921 
9922  def remove_representation(self, rep):
9923  """remove_representation(Representation self, _ParticleIndexAdaptor rep)"""
9924  return _IMP_atom.Representation_remove_representation(self, rep)
9925 
9926 
9927  def update_parents(self):
9928  """update_parents(Representation self)"""
9929  return _IMP_atom.Representation_update_parents(self)
9930 
9931 
9932  def add_attribute(self, *args):
9933  """
9934  add_attribute(Representation self, FloatKey k, IMP::Float v, bool opt)
9935  add_attribute(Representation self, FloatKey a0, IMP::Float a1)
9936  add_attribute(Representation self, IntKey a0, IMP::Int a1)
9937  add_attribute(Representation self, FloatsKey a0, IMP::Floats a1)
9938  add_attribute(Representation self, IntsKey a0, IMP::Ints a1)
9939  add_attribute(Representation self, StringKey a0, IMP::String a1)
9940  add_attribute(Representation self, ParticleIndexKey a0, Particle a1)
9941  add_attribute(Representation self, ObjectKey a0, Object a1)
9942  """
9943  return _IMP_atom.Representation_add_attribute(self, *args)
9944 
9945 
9946  def get_value(self, *args):
9947  """
9948  get_value(Representation self, FloatKey a0) -> IMP::Float
9949  get_value(Representation self, IntKey a0) -> IMP::Int
9950  get_value(Representation self, FloatsKey a0) -> IMP::Floats
9951  get_value(Representation self, IntsKey a0) -> IMP::Ints
9952  get_value(Representation self, StringKey a0) -> IMP::String
9953  get_value(Representation self, ParticleIndexKey a0) -> Particle
9954  get_value(Representation self, ObjectKey a0) -> Object
9955  """
9956  return _IMP_atom.Representation_get_value(self, *args)
9957 
9958 
9959  def set_value(self, *args):
9960  """
9961  set_value(Representation self, FloatKey a0, IMP::Float a1)
9962  set_value(Representation self, IntKey a0, IMP::Int a1)
9963  set_value(Representation self, FloatsKey a0, IMP::Floats a1)
9964  set_value(Representation self, IntsKey a0, IMP::Ints a1)
9965  set_value(Representation self, StringKey a0, IMP::String a1)
9966  set_value(Representation self, ParticleIndexKey a0, Particle a1)
9967  set_value(Representation self, ObjectKey a0, Object a1)
9968  """
9969  return _IMP_atom.Representation_set_value(self, *args)
9970 
9971 
9972  def remove_attribute(self, *args):
9973  """
9974  remove_attribute(Representation self, FloatKey a0)
9975  remove_attribute(Representation self, IntKey a0)
9976  remove_attribute(Representation self, FloatsKey a0)
9977  remove_attribute(Representation self, IntsKey a0)
9978  remove_attribute(Representation self, StringKey a0)
9979  remove_attribute(Representation self, ParticleIndexKey a0)
9980  remove_attribute(Representation self, ObjectKey a0)
9981  """
9982  return _IMP_atom.Representation_remove_attribute(self, *args)
9983 
9984 
9985  def has_attribute(self, *args):
9986  """
9987  has_attribute(Representation self, FloatKey a0) -> bool
9988  has_attribute(Representation self, IntKey a0) -> bool
9989  has_attribute(Representation self, FloatsKey a0) -> bool
9990  has_attribute(Representation self, IntsKey a0) -> bool
9991  has_attribute(Representation self, StringKey a0) -> bool
9992  has_attribute(Representation self, ParticleIndexKey a0) -> bool
9993  has_attribute(Representation self, ObjectKey a0) -> bool
9994  """
9995  return _IMP_atom.Representation_has_attribute(self, *args)
9996 
9997 
9998  def get_derivative(self, a0):
9999  """get_derivative(Representation self, FloatKey a0) -> double"""
10000  return _IMP_atom.Representation_get_derivative(self, a0)
10001 
10002 
10003  def get_name(self):
10004  """get_name(Representation self) -> std::string"""
10005  return _IMP_atom.Representation_get_name(self)
10006 
10007 
10008  def clear_caches(self):
10009  """clear_caches(Representation self)"""
10010  return _IMP_atom.Representation_clear_caches(self)
10011 
10012 
10013  def set_name(self, a0):
10014  """set_name(Representation self, std::string a0)"""
10015  return _IMP_atom.Representation_set_name(self, a0)
10016 
10017 
10018  def set_check_level(self, a0):
10019  """set_check_level(Representation self, IMP::CheckLevel a0)"""
10020  return _IMP_atom.Representation_set_check_level(self, a0)
10021 
10022 
10023  def add_to_derivative(self, a0, a1, a2):
10024  """add_to_derivative(Representation self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
10025  return _IMP_atom.Representation_add_to_derivative(self, a0, a1, a2)
10026 
10027 
10028  def set_is_optimized(self, a0, a1):
10029  """set_is_optimized(Representation self, FloatKey a0, bool a1)"""
10030  return _IMP_atom.Representation_set_is_optimized(self, a0, a1)
10031 
10032 
10033  def get_is_optimized(self, a0):
10034  """get_is_optimized(Representation self, FloatKey a0) -> bool"""
10035  return _IMP_atom.Representation_get_is_optimized(self, a0)
10036 
10037 
10038  def get_check_level(self):
10039  """get_check_level(Representation self) -> IMP::CheckLevel"""
10040  return _IMP_atom.Representation_get_check_level(self)
10041 
10042 
10043  def __eq__(self, *args):
10044  """
10045  __eq__(Representation self, Representation o) -> bool
10046  __eq__(Representation self, Particle d) -> bool
10047  """
10048  return _IMP_atom.Representation___eq__(self, *args)
10049 
10050 
10051  def __ne__(self, *args):
10052  """
10053  __ne__(Representation self, Representation o) -> bool
10054  __ne__(Representation self, Particle d) -> bool
10055  """
10056  return _IMP_atom.Representation___ne__(self, *args)
10057 
10058 
10059  def __le__(self, *args):
10060  """
10061  __le__(Representation self, Representation o) -> bool
10062  __le__(Representation self, Particle d) -> bool
10063  """
10064  return _IMP_atom.Representation___le__(self, *args)
10065 
10066 
10067  def __lt__(self, *args):
10068  """
10069  __lt__(Representation self, Representation o) -> bool
10070  __lt__(Representation self, Particle d) -> bool
10071  """
10072  return _IMP_atom.Representation___lt__(self, *args)
10073 
10074 
10075  def __ge__(self, *args):
10076  """
10077  __ge__(Representation self, Representation o) -> bool
10078  __ge__(Representation self, Particle d) -> bool
10079  """
10080  return _IMP_atom.Representation___ge__(self, *args)
10081 
10082 
10083  def __gt__(self, *args):
10084  """
10085  __gt__(Representation self, Representation o) -> bool
10086  __gt__(Representation self, Particle d) -> bool
10087  """
10088  return _IMP_atom.Representation___gt__(self, *args)
10089 
10090 
10091  def __hash__(self):
10092  """__hash__(Representation self) -> std::size_t"""
10093  return _IMP_atom.Representation___hash__(self)
10094 
10095 
10096  def __str__(self):
10097  """__str__(Representation self) -> std::string"""
10098  return _IMP_atom.Representation___str__(self)
10099 
10100 
10101  def __repr__(self):
10102  """__repr__(Representation self) -> std::string"""
10103  return _IMP_atom.Representation___repr__(self)
10104 
10105  __swig_destroy__ = _IMP_atom.delete_Representation
10106  __del__ = lambda self: None
10107 Representation_swigregister = _IMP_atom.Representation_swigregister
10108 Representation_swigregister(Representation)
10109 ALL_RESOLUTIONS = cvar.ALL_RESOLUTIONS
10110 
10111 def Representation_setup_particle(*args):
10112  """
10113  setup_particle(Model m, ParticleIndex pi) -> Representation
10114  setup_particle(_ParticleAdaptor decorator) -> Representation
10115  setup_particle(Model m, ParticleIndex pi, double resolution) -> Representation
10116  setup_particle(_ParticleAdaptor decorator, double resolution) -> Representation
10117  setup_particle(Model m, ParticleIndex pi, Representation other) -> Representation
10118  Representation_setup_particle(_ParticleAdaptor decorator, Representation other) -> Representation
10119  """
10120  return _IMP_atom.Representation_setup_particle(*args)
10121 
10122 def Representation_get_is_setup(*args):
10123  """
10124  get_is_setup(_ParticleAdaptor p) -> bool
10125  Representation_get_is_setup(Model m, ParticleIndex pi) -> bool
10126  """
10127  return _IMP_atom.Representation_get_is_setup(*args)
10128 
10129 
10130 def get_resolution(*args):
10131  """
10132  get_resolution(Model m, ParticleIndex pi) -> double
10133  get_resolution(Hierarchy h) -> double
10134  """
10135  return _IMP_atom.get_resolution(*args)
10136 
10137 def get_representation(h, nothrow=False):
10138  """
10139  get_representation(Hierarchy h, bool nothrow=False) -> Representation
10140  get_representation(Hierarchy h) -> Representation
10141  """
10142  return _IMP_atom.get_representation(h, nothrow)
10143 
10144 def show_with_representations(*args):
10145  """
10146  show_with_representations(Hierarchy h, _ostream out)
10147  show_with_representations(Hierarchy h)
10148  """
10149  return _IMP_atom.show_with_representations(*args)
10150 class State(Hierarchy):
10151  """Proxy of C++ IMP::atom::State class"""
10152  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10153 
10154  def setup_particle(*args):
10155  """
10156  setup_particle(Model m, ParticleIndex pi, unsigned int index) -> State
10157  setup_particle(_ParticleAdaptor decorator, unsigned int index) -> State
10158  setup_particle(Model m, ParticleIndex pi, State other) -> State
10159  setup_particle(_ParticleAdaptor decorator, State other) -> State
10160  """
10161  return _IMP_atom.State_setup_particle(*args)
10162 
10163  setup_particle = staticmethod(setup_particle)
10164 
10165  def __init__(self, *args):
10166  """
10167  __init__(IMP::atom::State self) -> State
10168  __init__(IMP::atom::State self, Model m, ParticleIndex id) -> State
10169  __init__(IMP::atom::State self, _ParticleAdaptor d) -> State
10170  """
10171  this = _IMP_atom.new_State(*args)
10172  try:
10173  self.this.append(this)
10174  except:
10175  self.this = this
10176 
10177  def show(self, *args):
10178  """
10179  show(State self, _ostream out)
10180  show(State self)
10181  """
10182  return _IMP_atom.State_show(self, *args)
10183 
10184 
10185  def get_is_setup(*args):
10186  """
10187  get_is_setup(_ParticleAdaptor p) -> bool
10188  get_is_setup(Model m, ParticleIndex pi) -> bool
10189  """
10190  return _IMP_atom.State_get_is_setup(*args)
10191 
10192  get_is_setup = staticmethod(get_is_setup)
10193 
10194  def get_state_index(self):
10195  """get_state_index(State self) -> unsigned int"""
10196  return _IMP_atom.State_get_state_index(self)
10197 
10198 
10199  def add_attribute(self, *args):
10200  """
10201  add_attribute(State self, FloatKey k, IMP::Float v, bool opt)
10202  add_attribute(State self, FloatKey a0, IMP::Float a1)
10203  add_attribute(State self, IntKey a0, IMP::Int a1)
10204  add_attribute(State self, FloatsKey a0, IMP::Floats a1)
10205  add_attribute(State self, IntsKey a0, IMP::Ints a1)
10206  add_attribute(State self, StringKey a0, IMP::String a1)
10207  add_attribute(State self, ParticleIndexKey a0, Particle a1)
10208  add_attribute(State self, ObjectKey a0, Object a1)
10209  """
10210  return _IMP_atom.State_add_attribute(self, *args)
10211 
10212 
10213  def get_value(self, *args):
10214  """
10215  get_value(State self, FloatKey a0) -> IMP::Float
10216  get_value(State self, IntKey a0) -> IMP::Int
10217  get_value(State self, FloatsKey a0) -> IMP::Floats
10218  get_value(State self, IntsKey a0) -> IMP::Ints
10219  get_value(State self, StringKey a0) -> IMP::String
10220  get_value(State self, ParticleIndexKey a0) -> Particle
10221  get_value(State self, ObjectKey a0) -> Object
10222  """
10223  return _IMP_atom.State_get_value(self, *args)
10224 
10225 
10226  def set_value(self, *args):
10227  """
10228  set_value(State self, FloatKey a0, IMP::Float a1)
10229  set_value(State self, IntKey a0, IMP::Int a1)
10230  set_value(State self, FloatsKey a0, IMP::Floats a1)
10231  set_value(State self, IntsKey a0, IMP::Ints a1)
10232  set_value(State self, StringKey a0, IMP::String a1)
10233  set_value(State self, ParticleIndexKey a0, Particle a1)
10234  set_value(State self, ObjectKey a0, Object a1)
10235  """
10236  return _IMP_atom.State_set_value(self, *args)
10237 
10238 
10239  def remove_attribute(self, *args):
10240  """
10241  remove_attribute(State self, FloatKey a0)
10242  remove_attribute(State self, IntKey a0)
10243  remove_attribute(State self, FloatsKey a0)
10244  remove_attribute(State self, IntsKey a0)
10245  remove_attribute(State self, StringKey a0)
10246  remove_attribute(State self, ParticleIndexKey a0)
10247  remove_attribute(State self, ObjectKey a0)
10248  """
10249  return _IMP_atom.State_remove_attribute(self, *args)
10250 
10251 
10252  def has_attribute(self, *args):
10253  """
10254  has_attribute(State self, FloatKey a0) -> bool
10255  has_attribute(State self, IntKey a0) -> bool
10256  has_attribute(State self, FloatsKey a0) -> bool
10257  has_attribute(State self, IntsKey a0) -> bool
10258  has_attribute(State self, StringKey a0) -> bool
10259  has_attribute(State self, ParticleIndexKey a0) -> bool
10260  has_attribute(State self, ObjectKey a0) -> bool
10261  """
10262  return _IMP_atom.State_has_attribute(self, *args)
10263 
10264 
10265  def get_derivative(self, a0):
10266  """get_derivative(State self, FloatKey a0) -> double"""
10267  return _IMP_atom.State_get_derivative(self, a0)
10268 
10269 
10270  def get_name(self):
10271  """get_name(State self) -> std::string"""
10272  return _IMP_atom.State_get_name(self)
10273 
10274 
10275  def clear_caches(self):
10276  """clear_caches(State self)"""
10277  return _IMP_atom.State_clear_caches(self)
10278 
10279 
10280  def set_name(self, a0):
10281  """set_name(State self, std::string a0)"""
10282  return _IMP_atom.State_set_name(self, a0)
10283 
10284 
10285  def set_check_level(self, a0):
10286  """set_check_level(State self, IMP::CheckLevel a0)"""
10287  return _IMP_atom.State_set_check_level(self, a0)
10288 
10289 
10290  def add_to_derivative(self, a0, a1, a2):
10291  """add_to_derivative(State self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
10292  return _IMP_atom.State_add_to_derivative(self, a0, a1, a2)
10293 
10294 
10295  def set_is_optimized(self, a0, a1):
10296  """set_is_optimized(State self, FloatKey a0, bool a1)"""
10297  return _IMP_atom.State_set_is_optimized(self, a0, a1)
10298 
10299 
10300  def get_is_optimized(self, a0):
10301  """get_is_optimized(State self, FloatKey a0) -> bool"""
10302  return _IMP_atom.State_get_is_optimized(self, a0)
10303 
10304 
10305  def get_check_level(self):
10306  """get_check_level(State self) -> IMP::CheckLevel"""
10307  return _IMP_atom.State_get_check_level(self)
10308 
10309 
10310  def __eq__(self, *args):
10311  """
10312  __eq__(State self, State o) -> bool
10313  __eq__(State self, Particle d) -> bool
10314  """
10315  return _IMP_atom.State___eq__(self, *args)
10316 
10317 
10318  def __ne__(self, *args):
10319  """
10320  __ne__(State self, State o) -> bool
10321  __ne__(State self, Particle d) -> bool
10322  """
10323  return _IMP_atom.State___ne__(self, *args)
10324 
10325 
10326  def __le__(self, *args):
10327  """
10328  __le__(State self, State o) -> bool
10329  __le__(State self, Particle d) -> bool
10330  """
10331  return _IMP_atom.State___le__(self, *args)
10332 
10333 
10334  def __lt__(self, *args):
10335  """
10336  __lt__(State self, State o) -> bool
10337  __lt__(State self, Particle d) -> bool
10338  """
10339  return _IMP_atom.State___lt__(self, *args)
10340 
10341 
10342  def __ge__(self, *args):
10343  """
10344  __ge__(State self, State o) -> bool
10345  __ge__(State self, Particle d) -> bool
10346  """
10347  return _IMP_atom.State___ge__(self, *args)
10348 
10349 
10350  def __gt__(self, *args):
10351  """
10352  __gt__(State self, State o) -> bool
10353  __gt__(State self, Particle d) -> bool
10354  """
10355  return _IMP_atom.State___gt__(self, *args)
10356 
10357 
10358  def __hash__(self):
10359  """__hash__(State self) -> std::size_t"""
10360  return _IMP_atom.State___hash__(self)
10361 
10362 
10363  def __str__(self):
10364  """__str__(State self) -> std::string"""
10365  return _IMP_atom.State___str__(self)
10366 
10367 
10368  def __repr__(self):
10369  """__repr__(State self) -> std::string"""
10370  return _IMP_atom.State___repr__(self)
10371 
10372  __swig_destroy__ = _IMP_atom.delete_State
10373  __del__ = lambda self: None
10374 State_swigregister = _IMP_atom.State_swigregister
10375 State_swigregister(State)
10376 
10377 def State_setup_particle(*args):
10378  """
10379  setup_particle(Model m, ParticleIndex pi, unsigned int index) -> State
10380  setup_particle(_ParticleAdaptor decorator, unsigned int index) -> State
10381  setup_particle(Model m, ParticleIndex pi, State other) -> State
10382  State_setup_particle(_ParticleAdaptor decorator, State other) -> State
10383  """
10384  return _IMP_atom.State_setup_particle(*args)
10385 
10386 def State_get_is_setup(*args):
10387  """
10388  get_is_setup(_ParticleAdaptor p) -> bool
10389  State_get_is_setup(Model m, ParticleIndex pi) -> bool
10390  """
10391  return _IMP_atom.State_get_is_setup(*args)
10392 
10393 
10394 def get_state_index(h):
10395  """get_state_index(Hierarchy h) -> int"""
10396  return _IMP_atom.get_state_index(h)
10397 
10398 def get_phi_dihedral_atoms(rd):
10399  """get_phi_dihedral_atoms(Residue rd) -> IMP::atom::Atoms"""
10400  return _IMP_atom.get_phi_dihedral_atoms(rd)
10401 
10402 def get_psi_dihedral_atoms(rd):
10403  """get_psi_dihedral_atoms(Residue rd) -> IMP::atom::Atoms"""
10404  return _IMP_atom.get_psi_dihedral_atoms(rd)
10405 
10406 def get_omega_dihedral_atoms(rd):
10407  """get_omega_dihedral_atoms(Residue rd) -> IMP::atom::Atoms"""
10408  return _IMP_atom.get_omega_dihedral_atoms(rd)
10409 
10411  """get_chi_dihedral_atom_types(ResidueType rt) -> IMP::Vector< IMP::atom::AtomTypes >"""
10412  return _IMP_atom.get_chi_dihedral_atom_types(rt)
10413 
10414 def get_chi_dihedral_atoms(rd):
10415  """get_chi_dihedral_atoms(Residue rd) -> IMP::Vector< IMP::atom::Atoms >"""
10416  return _IMP_atom.get_chi_dihedral_atoms(rd)
10417 
10419  """get_chi_dihedral_particle_indexes(Residue rd) -> IMP::ParticleIndexQuads"""
10420  return _IMP_atom.get_chi_dihedral_particle_indexes(rd)
10421 class Molecule(Hierarchy):
10422  """Proxy of C++ IMP::atom::Molecule class"""
10423  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10424 
10425  def __init__(self, *args):
10426  """
10427  __init__(IMP::atom::Molecule self) -> Molecule
10428  __init__(IMP::atom::Molecule self, Model m, ParticleIndex id) -> Molecule
10429  __init__(IMP::atom::Molecule self, _ParticleAdaptor d) -> Molecule
10430  """
10431  this = _IMP_atom.new_Molecule(*args)
10432  try:
10433  self.this.append(this)
10434  except:
10435  self.this = this
10436 
10437  def show(self, *args):
10438  """
10439  show(Molecule self, _ostream out)
10440  show(Molecule self)
10441  """
10442  return _IMP_atom.Molecule_show(self, *args)
10443 
10444 
10445  def setup_particle(*args):
10446  """
10447  setup_particle(Model m, ParticleIndex pi) -> Molecule
10448  setup_particle(_ParticleAdaptor decorator) -> Molecule
10449  setup_particle(Model m, ParticleIndex pi, Molecule other) -> Molecule
10450  setup_particle(_ParticleAdaptor decorator, Molecule other) -> Molecule
10451  """
10452  return _IMP_atom.Molecule_setup_particle(*args)
10453 
10454  setup_particle = staticmethod(setup_particle)
10455 
10456  def get_is_setup(*args):
10457  """
10458  get_is_setup(_ParticleAdaptor p) -> bool
10459  get_is_setup(Model m, ParticleIndex pi) -> bool
10460  """
10461  return _IMP_atom.Molecule_get_is_setup(*args)
10462 
10463  get_is_setup = staticmethod(get_is_setup)
10464 
10465  def add_attribute(self, *args):
10466  """
10467  add_attribute(Molecule self, FloatKey k, IMP::Float v, bool opt)
10468  add_attribute(Molecule self, FloatKey a0, IMP::Float a1)
10469  add_attribute(Molecule self, IntKey a0, IMP::Int a1)
10470  add_attribute(Molecule self, FloatsKey a0, IMP::Floats a1)
10471  add_attribute(Molecule self, IntsKey a0, IMP::Ints a1)
10472  add_attribute(Molecule self, StringKey a0, IMP::String a1)
10473  add_attribute(Molecule self, ParticleIndexKey a0, Particle a1)
10474  add_attribute(Molecule self, ObjectKey a0, Object a1)
10475  """
10476  return _IMP_atom.Molecule_add_attribute(self, *args)
10477 
10478 
10479  def get_value(self, *args):
10480  """
10481  get_value(Molecule self, FloatKey a0) -> IMP::Float
10482  get_value(Molecule self, IntKey a0) -> IMP::Int
10483  get_value(Molecule self, FloatsKey a0) -> IMP::Floats
10484  get_value(Molecule self, IntsKey a0) -> IMP::Ints
10485  get_value(Molecule self, StringKey a0) -> IMP::String
10486  get_value(Molecule self, ParticleIndexKey a0) -> Particle
10487  get_value(Molecule self, ObjectKey a0) -> Object
10488  """
10489  return _IMP_atom.Molecule_get_value(self, *args)
10490 
10491 
10492  def set_value(self, *args):
10493  """
10494  set_value(Molecule self, FloatKey a0, IMP::Float a1)
10495  set_value(Molecule self, IntKey a0, IMP::Int a1)
10496  set_value(Molecule self, FloatsKey a0, IMP::Floats a1)
10497  set_value(Molecule self, IntsKey a0, IMP::Ints a1)
10498  set_value(Molecule self, StringKey a0, IMP::String a1)
10499  set_value(Molecule self, ParticleIndexKey a0, Particle a1)
10500  set_value(Molecule self, ObjectKey a0, Object a1)
10501  """
10502  return _IMP_atom.Molecule_set_value(self, *args)
10503 
10504 
10505  def remove_attribute(self, *args):
10506  """
10507  remove_attribute(Molecule self, FloatKey a0)
10508  remove_attribute(Molecule self, IntKey a0)
10509  remove_attribute(Molecule self, FloatsKey a0)
10510  remove_attribute(Molecule self, IntsKey a0)
10511  remove_attribute(Molecule self, StringKey a0)
10512  remove_attribute(Molecule self, ParticleIndexKey a0)
10513  remove_attribute(Molecule self, ObjectKey a0)
10514  """
10515  return _IMP_atom.Molecule_remove_attribute(self, *args)
10516 
10517 
10518  def has_attribute(self, *args):
10519  """
10520  has_attribute(Molecule self, FloatKey a0) -> bool
10521  has_attribute(Molecule self, IntKey a0) -> bool
10522  has_attribute(Molecule self, FloatsKey a0) -> bool
10523  has_attribute(Molecule self, IntsKey a0) -> bool
10524  has_attribute(Molecule self, StringKey a0) -> bool
10525  has_attribute(Molecule self, ParticleIndexKey a0) -> bool
10526  has_attribute(Molecule self, ObjectKey a0) -> bool
10527  """
10528  return _IMP_atom.Molecule_has_attribute(self, *args)
10529 
10530 
10531  def get_derivative(self, a0):
10532  """get_derivative(Molecule self, FloatKey a0) -> double"""
10533  return _IMP_atom.Molecule_get_derivative(self, a0)
10534 
10535 
10536  def get_name(self):
10537  """get_name(Molecule self) -> std::string"""
10538  return _IMP_atom.Molecule_get_name(self)
10539 
10540 
10541  def clear_caches(self):
10542  """clear_caches(Molecule self)"""
10543  return _IMP_atom.Molecule_clear_caches(self)
10544 
10545 
10546  def set_name(self, a0):
10547  """set_name(Molecule self, std::string a0)"""
10548  return _IMP_atom.Molecule_set_name(self, a0)
10549 
10550 
10551  def set_check_level(self, a0):
10552  """set_check_level(Molecule self, IMP::CheckLevel a0)"""
10553  return _IMP_atom.Molecule_set_check_level(self, a0)
10554 
10555 
10556  def add_to_derivative(self, a0, a1, a2):
10557  """add_to_derivative(Molecule self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
10558  return _IMP_atom.Molecule_add_to_derivative(self, a0, a1, a2)
10559 
10560 
10561  def set_is_optimized(self, a0, a1):
10562  """set_is_optimized(Molecule self, FloatKey a0, bool a1)"""
10563  return _IMP_atom.Molecule_set_is_optimized(self, a0, a1)
10564 
10565 
10566  def get_is_optimized(self, a0):
10567  """get_is_optimized(Molecule self, FloatKey a0) -> bool"""
10568  return _IMP_atom.Molecule_get_is_optimized(self, a0)
10569 
10570 
10571  def get_check_level(self):
10572  """get_check_level(Molecule self) -> IMP::CheckLevel"""
10573  return _IMP_atom.Molecule_get_check_level(self)
10574 
10575 
10576  def __eq__(self, *args):
10577  """
10578  __eq__(Molecule self, Molecule o) -> bool
10579  __eq__(Molecule self, Particle d) -> bool
10580  """
10581  return _IMP_atom.Molecule___eq__(self, *args)
10582 
10583 
10584  def __ne__(self, *args):
10585  """
10586  __ne__(Molecule self, Molecule o) -> bool
10587  __ne__(Molecule self, Particle d) -> bool
10588  """
10589  return _IMP_atom.Molecule___ne__(self, *args)
10590 
10591 
10592  def __le__(self, *args):
10593  """
10594  __le__(Molecule self, Molecule o) -> bool
10595  __le__(Molecule self, Particle d) -> bool
10596  """
10597  return _IMP_atom.Molecule___le__(self, *args)
10598 
10599 
10600  def __lt__(self, *args):
10601  """
10602  __lt__(Molecule self, Molecule o) -> bool
10603  __lt__(Molecule self, Particle d) -> bool
10604  """
10605  return _IMP_atom.Molecule___lt__(self, *args)
10606 
10607 
10608  def __ge__(self, *args):
10609  """
10610  __ge__(Molecule self, Molecule o) -> bool
10611  __ge__(Molecule self, Particle d) -> bool
10612  """
10613  return _IMP_atom.Molecule___ge__(self, *args)
10614 
10615 
10616  def __gt__(self, *args):
10617  """
10618  __gt__(Molecule self, Molecule o) -> bool
10619  __gt__(Molecule self, Particle d) -> bool
10620  """
10621  return _IMP_atom.Molecule___gt__(self, *args)
10622 
10623 
10624  def __hash__(self):
10625  """__hash__(Molecule self) -> std::size_t"""
10626  return _IMP_atom.Molecule___hash__(self)
10627 
10628 
10629  def __str__(self):
10630  """__str__(Molecule self) -> std::string"""
10631  return _IMP_atom.Molecule___str__(self)
10632 
10633 
10634  def __repr__(self):
10635  """__repr__(Molecule self) -> std::string"""
10636  return _IMP_atom.Molecule___repr__(self)
10637 
10638  __swig_destroy__ = _IMP_atom.delete_Molecule
10639  __del__ = lambda self: None
10640 Molecule_swigregister = _IMP_atom.Molecule_swigregister
10641 Molecule_swigregister(Molecule)
10642 
10643 def Molecule_setup_particle(*args):
10644  """
10645  setup_particle(Model m, ParticleIndex pi) -> Molecule
10646  setup_particle(_ParticleAdaptor decorator) -> Molecule
10647  setup_particle(Model m, ParticleIndex pi, Molecule other) -> Molecule
10648  Molecule_setup_particle(_ParticleAdaptor decorator, Molecule other) -> Molecule
10649  """
10650  return _IMP_atom.Molecule_setup_particle(*args)
10651 
10652 def Molecule_get_is_setup(*args):
10653  """
10654  get_is_setup(_ParticleAdaptor p) -> bool
10655  Molecule_get_is_setup(Model m, ParticleIndex pi) -> bool
10656  """
10657  return _IMP_atom.Molecule_get_is_setup(*args)
10658 
10659 
10660 def get_molecule_name(h):
10661  """get_molecule_name(Hierarchy h) -> std::string"""
10662  return _IMP_atom.get_molecule_name(h)
10663 class Copy(Molecule):
10664  """Proxy of C++ IMP::atom::Copy class"""
10665  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10666 
10667  def get_copy_index_key():
10668  """get_copy_index_key() -> IntKey"""
10669  return _IMP_atom.Copy_get_copy_index_key()
10670 
10671  get_copy_index_key = staticmethod(get_copy_index_key)
10672 
10673  def __init__(self, *args):
10674  """
10675  __init__(IMP::atom::Copy self) -> Copy
10676  __init__(IMP::atom::Copy self, Model m, ParticleIndex id) -> Copy
10677  __init__(IMP::atom::Copy self, _ParticleAdaptor d) -> Copy
10678  """
10679  this = _IMP_atom.new_Copy(*args)
10680  try:
10681  self.this.append(this)
10682  except:
10683  self.this = this
10684 
10685  def show(self, *args):
10686  """
10687  show(Copy self, _ostream out)
10688  show(Copy self)
10689  """
10690  return _IMP_atom.Copy_show(self, *args)
10691 
10692 
10693  def setup_particle(*args):
10694  """
10695  setup_particle(Model m, ParticleIndex pi, IMP::Int number) -> Copy
10696  setup_particle(_ParticleAdaptor decorator, IMP::Int number) -> Copy
10697  """
10698  return _IMP_atom.Copy_setup_particle(*args)
10699 
10700  setup_particle = staticmethod(setup_particle)
10701 
10702  def get_is_setup(*args):
10703  """
10704  get_is_setup(_ParticleAdaptor p) -> bool
10705  get_is_setup(Model m, ParticleIndex pi) -> bool
10706  """
10707  return _IMP_atom.Copy_get_is_setup(*args)
10708 
10709  get_is_setup = staticmethod(get_is_setup)
10710 
10711  def get_copy_index(self):
10712  """get_copy_index(Copy self) -> int"""
10713  return _IMP_atom.Copy_get_copy_index(self)
10714 
10715 
10716  def add_attribute(self, *args):
10717  """
10718  add_attribute(Copy self, FloatKey k, IMP::Float v, bool opt)
10719  add_attribute(Copy self, FloatKey a0, IMP::Float a1)
10720  add_attribute(Copy self, IntKey a0, IMP::Int a1)
10721  add_attribute(Copy self, FloatsKey a0, IMP::Floats a1)
10722  add_attribute(Copy self, IntsKey a0, IMP::Ints a1)
10723  add_attribute(Copy self, StringKey a0, IMP::String a1)
10724  add_attribute(Copy self, ParticleIndexKey a0, Particle a1)
10725  add_attribute(Copy self, ObjectKey a0, Object a1)
10726  """
10727  return _IMP_atom.Copy_add_attribute(self, *args)
10728 
10729 
10730  def get_value(self, *args):
10731  """
10732  get_value(Copy self, FloatKey a0) -> IMP::Float
10733  get_value(Copy self, IntKey a0) -> IMP::Int
10734  get_value(Copy self, FloatsKey a0) -> IMP::Floats
10735  get_value(Copy self, IntsKey a0) -> IMP::Ints
10736  get_value(Copy self, StringKey a0) -> IMP::String
10737  get_value(Copy self, ParticleIndexKey a0) -> Particle
10738  get_value(Copy self, ObjectKey a0) -> Object
10739  """
10740  return _IMP_atom.Copy_get_value(self, *args)
10741 
10742 
10743  def set_value(self, *args):
10744  """
10745  set_value(Copy self, FloatKey a0, IMP::Float a1)
10746  set_value(Copy self, IntKey a0, IMP::Int a1)
10747  set_value(Copy self, FloatsKey a0, IMP::Floats a1)
10748  set_value(Copy self, IntsKey a0, IMP::Ints a1)
10749  set_value(Copy self, StringKey a0, IMP::String a1)
10750  set_value(Copy self, ParticleIndexKey a0, Particle a1)
10751  set_value(Copy self, ObjectKey a0, Object a1)
10752  """
10753  return _IMP_atom.Copy_set_value(self, *args)
10754 
10755 
10756  def remove_attribute(self, *args):
10757  """
10758  remove_attribute(Copy self, FloatKey a0)
10759  remove_attribute(Copy self, IntKey a0)
10760  remove_attribute(Copy self, FloatsKey a0)
10761  remove_attribute(Copy self, IntsKey a0)
10762  remove_attribute(Copy self, StringKey a0)
10763  remove_attribute(Copy self, ParticleIndexKey a0)
10764  remove_attribute(Copy self, ObjectKey a0)
10765  """
10766  return _IMP_atom.Copy_remove_attribute(self, *args)
10767 
10768 
10769  def has_attribute(self, *args):
10770  """
10771  has_attribute(Copy self, FloatKey a0) -> bool
10772  has_attribute(Copy self, IntKey a0) -> bool
10773  has_attribute(Copy self, FloatsKey a0) -> bool
10774  has_attribute(Copy self, IntsKey a0) -> bool
10775  has_attribute(Copy self, StringKey a0) -> bool
10776  has_attribute(Copy self, ParticleIndexKey a0) -> bool
10777  has_attribute(Copy self, ObjectKey a0) -> bool
10778  """
10779  return _IMP_atom.Copy_has_attribute(self, *args)
10780 
10781 
10782  def get_derivative(self, a0):
10783  """get_derivative(Copy self, FloatKey a0) -> double"""
10784  return _IMP_atom.Copy_get_derivative(self, a0)
10785 
10786 
10787  def get_name(self):
10788  """get_name(Copy self) -> std::string"""
10789  return _IMP_atom.Copy_get_name(self)
10790 
10791 
10792  def clear_caches(self):
10793  """clear_caches(Copy self)"""
10794  return _IMP_atom.Copy_clear_caches(self)
10795 
10796 
10797  def set_name(self, a0):
10798  """set_name(Copy self, std::string a0)"""
10799  return _IMP_atom.Copy_set_name(self, a0)
10800 
10801 
10802  def set_check_level(self, a0):
10803  """set_check_level(Copy self, IMP::CheckLevel a0)"""
10804  return _IMP_atom.Copy_set_check_level(self, a0)
10805 
10806 
10807  def add_to_derivative(self, a0, a1, a2):
10808  """add_to_derivative(Copy self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
10809  return _IMP_atom.Copy_add_to_derivative(self, a0, a1, a2)
10810 
10811 
10812  def set_is_optimized(self, a0, a1):
10813  """set_is_optimized(Copy self, FloatKey a0, bool a1)"""
10814  return _IMP_atom.Copy_set_is_optimized(self, a0, a1)
10815 
10816 
10817  def get_is_optimized(self, a0):
10818  """get_is_optimized(Copy self, FloatKey a0) -> bool"""
10819  return _IMP_atom.Copy_get_is_optimized(self, a0)
10820 
10821 
10822  def get_check_level(self):
10823  """get_check_level(Copy self) -> IMP::CheckLevel"""
10824  return _IMP_atom.Copy_get_check_level(self)
10825 
10826 
10827  def __eq__(self, *args):
10828  """
10829  __eq__(Copy self, Copy o) -> bool
10830  __eq__(Copy self, Particle d) -> bool
10831  """
10832  return _IMP_atom.Copy___eq__(self, *args)
10833 
10834 
10835  def __ne__(self, *args):
10836  """
10837  __ne__(Copy self, Copy o) -> bool
10838  __ne__(Copy self, Particle d) -> bool
10839  """
10840  return _IMP_atom.Copy___ne__(self, *args)
10841 
10842 
10843  def __le__(self, *args):
10844  """
10845  __le__(Copy self, Copy o) -> bool
10846  __le__(Copy self, Particle d) -> bool
10847  """
10848  return _IMP_atom.Copy___le__(self, *args)
10849 
10850 
10851  def __lt__(self, *args):
10852  """
10853  __lt__(Copy self, Copy o) -> bool
10854  __lt__(Copy self, Particle d) -> bool
10855  """
10856  return _IMP_atom.Copy___lt__(self, *args)
10857 
10858 
10859  def __ge__(self, *args):
10860  """
10861  __ge__(Copy self, Copy o) -> bool
10862  __ge__(Copy self, Particle d) -> bool
10863  """
10864  return _IMP_atom.Copy___ge__(self, *args)
10865 
10866 
10867  def __gt__(self, *args):
10868  """
10869  __gt__(Copy self, Copy o) -> bool
10870  __gt__(Copy self, Particle d) -> bool
10871  """
10872  return _IMP_atom.Copy___gt__(self, *args)
10873 
10874 
10875  def __hash__(self):
10876  """__hash__(Copy self) -> std::size_t"""
10877  return _IMP_atom.Copy___hash__(self)
10878 
10879 
10880  def __str__(self):
10881  """__str__(Copy self) -> std::string"""
10882  return _IMP_atom.Copy___str__(self)
10883 
10884 
10885  def __repr__(self):
10886  """__repr__(Copy self) -> std::string"""
10887  return _IMP_atom.Copy___repr__(self)
10888 
10889  __swig_destroy__ = _IMP_atom.delete_Copy
10890  __del__ = lambda self: None
10891 Copy_swigregister = _IMP_atom.Copy_swigregister
10892 Copy_swigregister(Copy)
10893 
10894 def Copy_get_copy_index_key():
10895  """Copy_get_copy_index_key() -> IntKey"""
10896  return _IMP_atom.Copy_get_copy_index_key()
10897 
10898 def Copy_setup_particle(*args):
10899  """
10900  setup_particle(Model m, ParticleIndex pi, IMP::Int number) -> Copy
10901  Copy_setup_particle(_ParticleAdaptor decorator, IMP::Int number) -> Copy
10902  """
10903  return _IMP_atom.Copy_setup_particle(*args)
10904 
10905 def Copy_get_is_setup(*args):
10906  """
10907  get_is_setup(_ParticleAdaptor p) -> bool
10908  Copy_get_is_setup(Model m, ParticleIndex pi) -> bool
10909  """
10910  return _IMP_atom.Copy_get_is_setup(*args)
10911 
10912 
10913 def get_copy_index(h):
10914  """get_copy_index(Hierarchy h) -> int"""
10915  return _IMP_atom.get_copy_index(h)
10916 class Selection(IMP._ParticleIndexesAdaptor):
10917  """Proxy of C++ IMP::atom::Selection class"""
10918  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
10919  NONE = _IMP_atom.Selection_NONE
10920  C = _IMP_atom.Selection_C
10921  N = _IMP_atom.Selection_N
10922 
10923  def __init__(self, *args):
10924  """
10925  __init__(IMP::atom::Selection self) -> Selection
10926  __init__(IMP::atom::Selection self, Hierarchy h) -> Selection
10927  __init__(IMP::atom::Selection self, Particle h) -> Selection
10928  __init__(IMP::atom::Selection self, Model m, IMP::ParticleIndexes const & pis) -> Selection
10929  __init__(IMP::atom::Selection self, IMP::ParticlesTemp const & h) -> Selection
10930  """
10931  this = _IMP_atom.new_Selection(*args)
10932  try:
10933  self.this.append(this)
10934  except:
10935  self.this = this
10936 
10937  def create_clone(self):
10938  """create_clone(Selection self) -> Selection"""
10939  return _IMP_atom.Selection_create_clone(self)
10940 
10941 
10942  def get_hierarchies(self):
10943  """get_hierarchies(Selection self) -> IMP::atom::Hierarchies"""
10944  return _IMP_atom.Selection_get_hierarchies(self)
10945 
10946 
10947  def set_molecules(self, mols):
10948  """set_molecules(Selection self, IMP::Strings mols)"""
10949  return _IMP_atom.Selection_set_molecules(self, mols)
10950 
10951 
10952  def set_resolution(self, r):
10953  """set_resolution(Selection self, double r)"""
10954  return _IMP_atom.Selection_set_resolution(self, r)
10955 
10956 
10957  def set_representation_type(self, t):
10958  """set_representation_type(Selection self, IMP::atom::RepresentationType t)"""
10959  return _IMP_atom.Selection_set_representation_type(self, t)
10960 
10961 
10962  def set_state_index(self, state):
10963  """set_state_index(Selection self, int state)"""
10964  return _IMP_atom.Selection_set_state_index(self, state)
10965 
10966 
10967  def set_state_indexes(self, states):
10968  """set_state_indexes(Selection self, IMP::Ints states)"""
10969  return _IMP_atom.Selection_set_state_indexes(self, states)
10970 
10971 
10972  def set_terminus(self, t):
10973  """set_terminus(Selection self, IMP::atom::Selection::Terminus t)"""
10974  return _IMP_atom.Selection_set_terminus(self, t)
10975 
10976 
10977  def set_element(self, e):
10978  """set_element(Selection self, IMP::atom::Element e)"""
10979  return _IMP_atom.Selection_set_element(self, e)
10980 
10981 
10982  def set_chain_ids(self, chains):
10983  """set_chain_ids(Selection self, IMP::Strings chains)"""
10984  return _IMP_atom.Selection_set_chain_ids(self, chains)
10985 
10986 
10987  def set_chains(self, chains):
10988  """set_chains(Selection self, IMP::Strings chains)"""
10989  return _IMP_atom.Selection_set_chains(self, chains)
10990 
10991 
10992  def set_residue_indexes(self, indexes):
10993  """set_residue_indexes(Selection self, IMP::Ints indexes)"""
10994  return _IMP_atom.Selection_set_residue_indexes(self, indexes)
10995 
10996 
10997  def set_atom_types(self, types):
10998  """set_atom_types(Selection self, IMP::atom::AtomTypes types)"""
10999  return _IMP_atom.Selection_set_atom_types(self, types)
11000 
11001 
11002  def set_residue_types(self, types):
11003  """set_residue_types(Selection self, IMP::atom::ResidueTypes types)"""
11004  return _IMP_atom.Selection_set_residue_types(self, types)
11005 
11006 
11007  def set_domains(self, names):
11008  """set_domains(Selection self, IMP::Strings names)"""
11009  return _IMP_atom.Selection_set_domains(self, names)
11010 
11011 
11012  def set_molecule(self, mol):
11013  """set_molecule(Selection self, std::string mol)"""
11014  return _IMP_atom.Selection_set_molecule(self, mol)
11015 
11016 
11017  def set_chain_id(self, c):
11018  """set_chain_id(Selection self, std::string c)"""
11019  return _IMP_atom.Selection_set_chain_id(self, c)
11020 
11021 
11022  def set_chain(self, c):
11023  """set_chain(Selection self, std::string c)"""
11024  return _IMP_atom.Selection_set_chain(self, c)
11025 
11026 
11027  def set_residue_index(self, i):
11028  """set_residue_index(Selection self, int i)"""
11029  return _IMP_atom.Selection_set_residue_index(self, i)
11030 
11031 
11032  def set_atom_type(self, types):
11033  """set_atom_type(Selection self, AtomType types)"""
11034  return _IMP_atom.Selection_set_atom_type(self, types)
11035 
11036 
11037  def set_residue_type(self, type):
11038  """set_residue_type(Selection self, ResidueType type)"""
11039  return _IMP_atom.Selection_set_residue_type(self, type)
11040 
11041 
11042  def set_domain(self, name):
11043  """set_domain(Selection self, std::string name)"""
11044  return _IMP_atom.Selection_set_domain(self, name)
11045 
11046 
11047  def set_copy_index(self, copy):
11048  """set_copy_index(Selection self, unsigned int copy)"""
11049  return _IMP_atom.Selection_set_copy_index(self, copy)
11050 
11051 
11052  def set_copy_indexes(self, copies):
11053  """set_copy_indexes(Selection self, IMP::Ints copies)"""
11054  return _IMP_atom.Selection_set_copy_indexes(self, copies)
11055 
11056 
11057  def set_particle_type(self, t):
11058  """set_particle_type(Selection self, ParticleType t)"""
11059  return _IMP_atom.Selection_set_particle_type(self, t)
11060 
11061 
11062  def set_particle_types(self, t):
11063  """set_particle_types(Selection self, IMP::core::ParticleTypes t)"""
11064  return _IMP_atom.Selection_set_particle_types(self, t)
11065 
11066 
11067  def set_hierarchy_types(self, types):
11068  """set_hierarchy_types(Selection self, IMP::Ints types)"""
11069  return _IMP_atom.Selection_set_hierarchy_types(self, types)
11070 
11071 
11072  def set_intersection(self, s):
11073  """set_intersection(Selection self, Selection s)"""
11074  return _IMP_atom.Selection_set_intersection(self, s)
11075 
11076 
11077  def set_union(self, s):
11078  """set_union(Selection self, Selection s)"""
11079  return _IMP_atom.Selection_set_union(self, s)
11080 
11081 
11082  def set_symmetric_difference(self, s):
11083  """set_symmetric_difference(Selection self, Selection s)"""
11084  return _IMP_atom.Selection_set_symmetric_difference(self, s)
11085 
11086 
11087  def set_difference(self, s):
11088  """set_difference(Selection self, Selection s)"""
11089  return _IMP_atom.Selection_set_difference(self, s)
11090 
11091 
11092  def get_selected_particles(self, with_representation=True):
11093  """
11094  get_selected_particles(Selection self, bool with_representation=True) -> IMP::ParticlesTemp
11095  get_selected_particles(Selection self) -> IMP::ParticlesTemp
11096  """
11097  return _IMP_atom.Selection_get_selected_particles(self, with_representation)
11098 
11099 
11100  def get_selected_particle_indexes(self, with_representation=True):
11101  """
11102  get_selected_particle_indexes(Selection self, bool with_representation=True) -> IMP::ParticleIndexes
11103  get_selected_particle_indexes(Selection self) -> IMP::ParticleIndexes
11104  """
11105  return _IMP_atom.Selection_get_selected_particle_indexes(self, with_representation)
11106 
11107 
11108  def show(self, *args):
11109  """
11110  show(Selection self, _ostream out)
11111  show(Selection self)
11112  """
11113  return _IMP_atom.Selection_show(self, *args)
11114 
11115 
11116  def __str__(self):
11117  """__str__(Selection self) -> std::string"""
11118  return _IMP_atom.Selection___str__(self)
11119 
11120 
11121  def __repr__(self):
11122  """__repr__(Selection self) -> std::string"""
11123  return _IMP_atom.Selection___repr__(self)
11124 
11125 
11126  def __init__(self, hierarchy=None,
11127  hierarchies=None, **params):
11128  if hierarchy and hierarchies:
11129  raise RuntimeError("You can't pass both hierarchy and hierarchies to Selection")
11130  if hierarchy:
11131  this = _IMP_atom.new_Selection(hierarchy)
11132  try: self.this.append(this)
11133  except: self.this = this
11134  elif hierarchies:
11135  this = _IMP_atom.new_Selection(hierarchies)
11136  try: self.this.append(this)
11137  except: self.this = this
11138  else:
11139  raise ValueError("Either hierarchy or hierarchies must be provided.")
11140  for k in params.keys():
11141  eval("self.set_%s(params[k])"%k)
11142 
11143  def union(self, s):
11144  news = self.create_clone()
11145  news.union_update(s)
11146  return news
11147  def intersection(self, s):
11148  news = self.create_clone()
11149  news.intersection_update(s)
11150  return news
11151  def symmetric_difference(self, s):
11152  news = self.create_clone()
11153  news.symmetric_difference_update(s)
11154  return news
11155  def difference(self, s):
11156  news = self.create_clone()
11157  news.difference_update(s)
11158  return news
11159  def union_update(self, s):
11160  self.set_union(s)
11161  return self
11162  def intersection_update(self, s):
11163  self.set_intersection(s)
11164  return self
11165  def symmetric_difference_update(self, s):
11166  self.set_symmetric_difference(s)
11167  return self
11168  def difference_update(self, s):
11169  self.set_difference(s)
11170  return self
11171  __or__ = union
11172  __and__ = intersection
11173  __xor__ = symmetric_difference
11174  __sub__ = difference
11175  __ior__ = union_update
11176  __iand__ = intersection_update
11177  __ixor__ = symmetric_difference_update
11178  __isub__ = difference_update
11179 
11180  __swig_destroy__ = _IMP_atom.delete_Selection
11181  __del__ = lambda self: None
11182 Selection_swigregister = _IMP_atom.Selection_swigregister
11183 Selection_swigregister(Selection)
11184 
11185 
11186 def create_distance_restraint(*args):
11187  """
11188  create_distance_restraint(Selection n0, Selection n1, double x0, double k, std::string name) -> Restraint
11189  create_distance_restraint(Selection n0, Selection n1, double x0, double k) -> Restraint
11190  """
11191  return _IMP_atom.create_distance_restraint(*args)
11192 
11194  """
11195  create_connectivity_restraint(IMP::atom::Selections const & s, double k, std::string name) -> Restraint
11196  create_connectivity_restraint(IMP::atom::Selections const & s, double k) -> Restraint
11197  create_connectivity_restraint(IMP::atom::Selections const & s, double x0, double k, std::string name) -> Restraint
11198  create_connectivity_restraint(IMP::atom::Selections const & s, double x0, double k) -> Restraint
11199  """
11200  return _IMP_atom.create_connectivity_restraint(*args)
11201 
11203  """
11204  create_internal_connectivity_restraint(Selection s, double k, std::string name) -> Restraint
11205  create_internal_connectivity_restraint(Selection s, double k) -> Restraint
11206  create_internal_connectivity_restraint(Selection s, double x0, double k, std::string name) -> Restraint
11207  create_internal_connectivity_restraint(Selection s, double x0, double k) -> Restraint
11208  """
11209  return _IMP_atom.create_internal_connectivity_restraint(*args)
11210 
11211 def create_cover(*args):
11212  """
11213  create_cover(Selection s, std::string name) -> XYZR
11214  create_cover(Selection s) -> XYZR
11215  """
11216  return _IMP_atom.create_cover(*args)
11217 
11218 def get_mass(*args):
11219  """
11220  get_mass(ResidueType c) -> double
11221  get_mass(Selection s) -> double
11222  """
11223  return _IMP_atom.get_mass(*args)
11224 
11225 def get_volume(s):
11226  """get_volume(Selection s) -> double"""
11227  return _IMP_atom.get_volume(s)
11228 
11229 def get_surface_area(s):
11230  """get_surface_area(Selection s) -> double"""
11231  return _IMP_atom.get_surface_area(s)
11232 
11233 def get_leaves(*args):
11234  """
11235  get_leaves(Hierarchy h) -> IMP::atom::Hierarchies
11236  get_leaves(IMP::atom::Hierarchies const & h) -> IMP::atom::Hierarchies
11237  get_leaves(Selection h) -> IMP::atom::Hierarchies
11238  """
11239  return _IMP_atom.get_leaves(*args)
11240 class SelectionGeometry(IMP.display.Geometry):
11241  """Proxy of C++ IMP::atom::SelectionGeometry class"""
11242  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11243 
11244  def __init__(self, *args):
11245  """
11246  __init__(IMP::atom::SelectionGeometry self, Selection d, std::string name) -> SelectionGeometry
11247  __init__(IMP::atom::SelectionGeometry self, Selection d) -> SelectionGeometry
11248  """
11249  this = _IMP_atom.new_SelectionGeometry(*args)
11250  try:
11251  self.this.append(this)
11252  except:
11253  self.this = this
11254 
11255  def get_version_info(self):
11256  """get_version_info(SelectionGeometry self) -> VersionInfo"""
11257  return _IMP_atom.SelectionGeometry_get_version_info(self)
11258 
11259 
11260  def __str__(self):
11261  """__str__(SelectionGeometry self) -> std::string"""
11262  return _IMP_atom.SelectionGeometry___str__(self)
11263 
11264 
11265  def __repr__(self):
11266  """__repr__(SelectionGeometry self) -> std::string"""
11267  return _IMP_atom.SelectionGeometry___repr__(self)
11268 
11269 
11270  @staticmethod
11271  def get_from(o):
11272  return _object_cast_to_SelectionGeometry(o)
11273 
11274 SelectionGeometry_swigregister = _IMP_atom.SelectionGeometry_swigregister
11275 SelectionGeometry_swigregister(SelectionGeometry)
11276 
11277 
11278 def get_rmsd(*args):
11279  """
11280  get_rmsd(IMP::core::XYZs const & s0, IMP::core::XYZs const & s1) -> double
11281  get_rmsd(Selection s0, Selection s1) -> double
11282  """
11283  return _IMP_atom.get_rmsd(*args)
11284 
11285 def get_rmsd_transforming_first(*args):
11286  """
11287  get_rmsd_transforming_first(Transformation3D tr, IMP::core::XYZs const & s0, IMP::core::XYZs const & s1) -> double
11288  get_rmsd_transforming_first(Transformation3D tr, Selection s0, Selection s1) -> double
11289  """
11290  return _IMP_atom.get_rmsd_transforming_first(*args)
11291 
11292 def get_placement_score(source, target):
11293  """get_placement_score(IMP::core::XYZs const & source, IMP::core::XYZs const & target) -> IMP::FloatPair"""
11294  return _IMP_atom.get_placement_score(source, target)
11295 
11296 def get_component_placement_score(ref1, ref2, mdl1, mdl2):
11297  """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"""
11298  return _IMP_atom.get_component_placement_score(ref1, ref2, mdl1, mdl2)
11299 
11300 def get_pairwise_rmsd_score(ref1, ref2, mdl1, mdl2):
11301  """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"""
11302  return _IMP_atom.get_pairwise_rmsd_score(ref1, ref2, mdl1, mdl2)
11303 
11304 def get_radius_of_gyration(*args):
11305  """
11306  get_radius_of_gyration(Selection s) -> double
11307  get_radius_of_gyration(IMP::ParticlesTemp const & ps, bool weighted=True) -> double
11308  get_radius_of_gyration(IMP::ParticlesTemp const & ps) -> double
11309  """
11310  return _IMP_atom.get_radius_of_gyration(*args)
11311 class ForceFieldParameters(IMP.Object):
11312  """Proxy of C++ IMP::atom::ForceFieldParameters class"""
11313  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11314 
11315  def __init__(self):
11316  """__init__(IMP::atom::ForceFieldParameters self) -> ForceFieldParameters"""
11317  this = _IMP_atom.new_ForceFieldParameters()
11318  try:
11319  self.this.append(this)
11320  except:
11321  self.this = this
11322 
11323  def get_radius(self, atom):
11324  """get_radius(ForceFieldParameters self, Atom atom) -> IMP::Float"""
11325  return _IMP_atom.ForceFieldParameters_get_radius(self, atom)
11326 
11327 
11328  def get_epsilon(self, atom):
11329  """get_epsilon(ForceFieldParameters self, Atom atom) -> IMP::Float"""
11330  return _IMP_atom.ForceFieldParameters_get_epsilon(self, atom)
11331 
11332 
11333  def add_radii(self, *args):
11334  """
11335  add_radii(ForceFieldParameters self, Hierarchy mhd, double scale=1.0, FloatKey radius_key)
11336  add_radii(ForceFieldParameters self, Hierarchy mhd, double scale=1.0)
11337  add_radii(ForceFieldParameters self, Hierarchy mhd)
11338  """
11339  return _IMP_atom.ForceFieldParameters_add_radii(self, *args)
11340 
11341 
11342  def add_well_depths(self, mhd):
11343  """add_well_depths(ForceFieldParameters self, Hierarchy mhd)"""
11344  return _IMP_atom.ForceFieldParameters_add_well_depths(self, mhd)
11345 
11346 
11347  def add_bonds(self, mhd):
11348  """add_bonds(ForceFieldParameters self, Hierarchy mhd)"""
11349  return _IMP_atom.ForceFieldParameters_add_bonds(self, mhd)
11350 
11351  __swig_destroy__ = _IMP_atom.delete_ForceFieldParameters
11352  __del__ = lambda self: None
11353 
11354  def __str__(self):
11355  """__str__(ForceFieldParameters self) -> std::string"""
11356  return _IMP_atom.ForceFieldParameters___str__(self)
11357 
11358 
11359  def __repr__(self):
11360  """__repr__(ForceFieldParameters self) -> std::string"""
11361  return _IMP_atom.ForceFieldParameters___repr__(self)
11362 
11363 
11364  @staticmethod
11365  def get_from(o):
11366  return _object_cast_to_ForceFieldParameters(o)
11367 
11368 ForceFieldParameters_swigregister = _IMP_atom.ForceFieldParameters_swigregister
11369 ForceFieldParameters_swigregister(ForceFieldParameters)
11370 
11371 class CHARMMAtomTopology(object):
11372  """Proxy of C++ IMP::atom::CHARMMAtomTopology class"""
11373  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11374 
11375  def __init__(self, *args):
11376  """
11377  __init__(IMP::atom::CHARMMAtomTopology self, std::string name) -> CHARMMAtomTopology
11378  __init__(IMP::atom::CHARMMAtomTopology self, std::string name, CHARMMAtomTopology other) -> CHARMMAtomTopology
11379  """
11380  this = _IMP_atom.new_CHARMMAtomTopology(*args)
11381  try:
11382  self.this.append(this)
11383  except:
11384  self.this = this
11385 
11386  def get_name(self):
11387  """get_name(CHARMMAtomTopology self) -> std::string"""
11388  return _IMP_atom.CHARMMAtomTopology_get_name(self)
11389 
11390 
11391  def get_charmm_type(self):
11392  """get_charmm_type(CHARMMAtomTopology self) -> std::string"""
11393  return _IMP_atom.CHARMMAtomTopology_get_charmm_type(self)
11394 
11395 
11396  def get_charge(self):
11397  """get_charge(CHARMMAtomTopology self) -> double"""
11398  return _IMP_atom.CHARMMAtomTopology_get_charge(self)
11399 
11400 
11401  def set_charmm_type(self, charmm_type):
11402  """set_charmm_type(CHARMMAtomTopology self, std::string charmm_type)"""
11403  return _IMP_atom.CHARMMAtomTopology_set_charmm_type(self, charmm_type)
11404 
11405 
11406  def set_charge(self, charge):
11407  """set_charge(CHARMMAtomTopology self, double charge)"""
11408  return _IMP_atom.CHARMMAtomTopology_set_charge(self, charge)
11409 
11410 
11411  def show(self, *args):
11412  """
11413  show(CHARMMAtomTopology self, _ostream out)
11414  show(CHARMMAtomTopology self)
11415  """
11416  return _IMP_atom.CHARMMAtomTopology_show(self, *args)
11417 
11418 
11419  def __str__(self):
11420  """__str__(CHARMMAtomTopology self) -> std::string"""
11421  return _IMP_atom.CHARMMAtomTopology___str__(self)
11422 
11423 
11424  def __repr__(self):
11425  """__repr__(CHARMMAtomTopology self) -> std::string"""
11426  return _IMP_atom.CHARMMAtomTopology___repr__(self)
11427 
11428  __swig_destroy__ = _IMP_atom.delete_CHARMMAtomTopology
11429  __del__ = lambda self: None
11430 CHARMMAtomTopology_swigregister = _IMP_atom.CHARMMAtomTopology_swigregister
11431 CHARMMAtomTopology_swigregister(CHARMMAtomTopology)
11432 
11433 class CHARMMBondEndpoint(object):
11434  """Proxy of C++ IMP::atom::CHARMMBondEndpoint class"""
11435  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11436 
11437  def __init__(self, atom_name, residue=None):
11438  """
11439  __init__(IMP::atom::CHARMMBondEndpoint self, std::string atom_name, CHARMMResidueTopology residue=None) -> CHARMMBondEndpoint
11440  __init__(IMP::atom::CHARMMBondEndpoint self, std::string atom_name) -> CHARMMBondEndpoint
11441  """
11442  this = _IMP_atom.new_CHARMMBondEndpoint(atom_name, residue)
11443  try:
11444  self.this.append(this)
11445  except:
11446  self.this = this
11447 
11448  def get_atom_name(self):
11449  """get_atom_name(CHARMMBondEndpoint self) -> std::string"""
11450  return _IMP_atom.CHARMMBondEndpoint_get_atom_name(self)
11451 
11452 
11453  def get_atom(self, current_residue, previous_residue, next_residue, resmap):
11454  """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"""
11455  return _IMP_atom.CHARMMBondEndpoint_get_atom(self, current_residue, previous_residue, next_residue, resmap)
11456 
11457 
11458  def show(self, *args):
11459  """
11460  show(CHARMMBondEndpoint self, _ostream out)
11461  show(CHARMMBondEndpoint self)
11462  """
11463  return _IMP_atom.CHARMMBondEndpoint_show(self, *args)
11464 
11465 
11466  def __str__(self):
11467  """__str__(CHARMMBondEndpoint self) -> std::string"""
11468  return _IMP_atom.CHARMMBondEndpoint___str__(self)
11469 
11470 
11471  def __repr__(self):
11472  """__repr__(CHARMMBondEndpoint self) -> std::string"""
11473  return _IMP_atom.CHARMMBondEndpoint___repr__(self)
11474 
11475  __swig_destroy__ = _IMP_atom.delete_CHARMMBondEndpoint
11476  __del__ = lambda self: None
11477 CHARMMBondEndpoint_swigregister = _IMP_atom.CHARMMBondEndpoint_swigregister
11478 CHARMMBondEndpoint_swigregister(CHARMMBondEndpoint)
11479 
11480 class CHARMMDihedral(object):
11481  """Proxy of C++ IMP::atom::CHARMMConnection<(4)> class"""
11482  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11483  __repr__ = _swig_repr
11484 
11485  def __init__(self, atoms):
11486  """__init__(IMP::atom::CHARMMConnection<(4)> self, IMP::Strings const & atoms) -> CHARMMDihedral"""
11487  this = _IMP_atom.new_CHARMMDihedral(atoms)
11488  try:
11489  self.this.append(this)
11490  except:
11491  self.this = this
11492 
11493  def get_endpoint(self, i):
11494  """get_endpoint(CHARMMDihedral self, unsigned int i) -> CHARMMBondEndpoint"""
11495  return _IMP_atom.CHARMMDihedral_get_endpoint(self, i)
11496 
11497 
11498  def get_contains_atom(self, name):
11499  """get_contains_atom(CHARMMDihedral self, std::string name) -> bool"""
11500  return _IMP_atom.CHARMMDihedral_get_contains_atom(self, name)
11501 
11502 
11503  def show(self, *args):
11504  """
11505  show(CHARMMDihedral self, _ostream out)
11506  show(CHARMMDihedral self)
11507  """
11508  return _IMP_atom.CHARMMDihedral_show(self, *args)
11509 
11510  __swig_destroy__ = _IMP_atom.delete_CHARMMDihedral
11511  __del__ = lambda self: None
11512 CHARMMDihedral_swigregister = _IMP_atom.CHARMMDihedral_swigregister
11513 CHARMMDihedral_swigregister(CHARMMDihedral)
11514 
11515 class CHARMMInternalCoordinate(CHARMMDihedral):
11516  """Proxy of C++ IMP::atom::CHARMMInternalCoordinate class"""
11517  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11518 
11519  def __init__(self, *args):
11520  """
11521  __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
11522  __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
11523  """
11524  this = _IMP_atom.new_CHARMMInternalCoordinate(*args)
11525  try:
11526  self.this.append(this)
11527  except:
11528  self.this = this
11529 
11530  def get_first_distance(self):
11531  """get_first_distance(CHARMMInternalCoordinate self) -> float"""
11532  return _IMP_atom.CHARMMInternalCoordinate_get_first_distance(self)
11533 
11534 
11535  def get_second_distance(self):
11536  """get_second_distance(CHARMMInternalCoordinate self) -> float"""
11537  return _IMP_atom.CHARMMInternalCoordinate_get_second_distance(self)
11538 
11539 
11540  def get_first_angle(self):
11541  """get_first_angle(CHARMMInternalCoordinate self) -> float"""
11542  return _IMP_atom.CHARMMInternalCoordinate_get_first_angle(self)
11543 
11544 
11545  def get_second_angle(self):
11546  """get_second_angle(CHARMMInternalCoordinate self) -> float"""
11547  return _IMP_atom.CHARMMInternalCoordinate_get_second_angle(self)
11548 
11549 
11550  def get_dihedral(self):
11551  """get_dihedral(CHARMMInternalCoordinate self) -> float"""
11552  return _IMP_atom.CHARMMInternalCoordinate_get_dihedral(self)
11553 
11554 
11555  def get_improper(self):
11556  """get_improper(CHARMMInternalCoordinate self) -> bool"""
11557  return _IMP_atom.CHARMMInternalCoordinate_get_improper(self)
11558 
11559 
11560  def show(self, *args):
11561  """
11562  show(CHARMMInternalCoordinate self, _ostream out)
11563  show(CHARMMInternalCoordinate self)
11564  """
11565  return _IMP_atom.CHARMMInternalCoordinate_show(self, *args)
11566 
11567 
11568  def __str__(self):
11569  """__str__(CHARMMInternalCoordinate self) -> std::string"""
11570  return _IMP_atom.CHARMMInternalCoordinate___str__(self)
11571 
11572 
11573  def __repr__(self):
11574  """__repr__(CHARMMInternalCoordinate self) -> std::string"""
11575  return _IMP_atom.CHARMMInternalCoordinate___repr__(self)
11576 
11577  __swig_destroy__ = _IMP_atom.delete_CHARMMInternalCoordinate
11578  __del__ = lambda self: None
11579 CHARMMInternalCoordinate_swigregister = _IMP_atom.CHARMMInternalCoordinate_swigregister
11580 CHARMMInternalCoordinate_swigregister(CHARMMInternalCoordinate)
11581 
11582 class CHARMMResidueTopologyBase(IMP.Object):
11583  """Proxy of C++ IMP::atom::CHARMMResidueTopologyBase class"""
11584  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11585 
11586  def __init__(self, *args, **kwargs):
11587  raise AttributeError("No constructor defined")
11588 
11589  def get_type(self):
11590  """get_type(CHARMMResidueTopologyBase self) -> std::string"""
11591  return _IMP_atom.CHARMMResidueTopologyBase_get_type(self)
11592 
11593 
11594  def get_number_of_atoms(self):
11595  """get_number_of_atoms(CHARMMResidueTopologyBase self) -> unsigned int"""
11596  return _IMP_atom.CHARMMResidueTopologyBase_get_number_of_atoms(self)
11597 
11598 
11599  def add_atom(self, atom):
11600  """add_atom(CHARMMResidueTopologyBase self, CHARMMAtomTopology atom)"""
11601  return _IMP_atom.CHARMMResidueTopologyBase_add_atom(self, atom)
11602 
11603 
11604  def get_atom(self, *args):
11605  """
11606  get_atom(CHARMMResidueTopologyBase self, unsigned int i) -> CHARMMAtomTopology
11607  get_atom(CHARMMResidueTopologyBase self, AtomType type) -> CHARMMAtomTopology
11608  get_atom(CHARMMResidueTopologyBase self, std::string name) -> CHARMMAtomTopology
11609  """
11610  return _IMP_atom.CHARMMResidueTopologyBase_get_atom(self, *args)
11611 
11612 
11613  def get_number_of_bonds(self):
11614  """get_number_of_bonds(CHARMMResidueTopologyBase self) -> unsigned int"""
11615  return _IMP_atom.CHARMMResidueTopologyBase_get_number_of_bonds(self)
11616 
11617 
11618  def add_bond(self, bond):
11619  """add_bond(CHARMMResidueTopologyBase self, CHARMMBond bond)"""
11620  return _IMP_atom.CHARMMResidueTopologyBase_add_bond(self, bond)
11621 
11622 
11623  def get_number_of_angles(self):
11624  """get_number_of_angles(CHARMMResidueTopologyBase self) -> unsigned int"""
11625  return _IMP_atom.CHARMMResidueTopologyBase_get_number_of_angles(self)
11626 
11627 
11628  def add_angle(self, bond):
11629  """add_angle(CHARMMResidueTopologyBase self, CHARMMAngle bond)"""
11630  return _IMP_atom.CHARMMResidueTopologyBase_add_angle(self, bond)
11631 
11632 
11633  def get_number_of_dihedrals(self):
11634  """get_number_of_dihedrals(CHARMMResidueTopologyBase self) -> unsigned int"""
11635  return _IMP_atom.CHARMMResidueTopologyBase_get_number_of_dihedrals(self)
11636 
11637 
11638  def add_dihedral(self, bond):
11639  """add_dihedral(CHARMMResidueTopologyBase self, CHARMMDihedral bond)"""
11640  return _IMP_atom.CHARMMResidueTopologyBase_add_dihedral(self, bond)
11641 
11642 
11643  def get_number_of_impropers(self):
11644  """get_number_of_impropers(CHARMMResidueTopologyBase self) -> unsigned int"""
11645  return _IMP_atom.CHARMMResidueTopologyBase_get_number_of_impropers(self)
11646 
11647 
11648  def add_improper(self, bond):
11649  """add_improper(CHARMMResidueTopologyBase self, CHARMMDihedral bond)"""
11650  return _IMP_atom.CHARMMResidueTopologyBase_add_improper(self, bond)
11651 
11652 
11653  def get_number_of_internal_coordinates(self):
11654  """get_number_of_internal_coordinates(CHARMMResidueTopologyBase self) -> unsigned int"""
11655  return _IMP_atom.CHARMMResidueTopologyBase_get_number_of_internal_coordinates(self)
11656 
11657 
11658  def add_internal_coordinate(self, ic):
11659  """add_internal_coordinate(CHARMMResidueTopologyBase self, CHARMMInternalCoordinate ic)"""
11660  return _IMP_atom.CHARMMResidueTopologyBase_add_internal_coordinate(self, ic)
11661 
11662 
11663  def get_internal_coordinate(self, index):
11664  """get_internal_coordinate(CHARMMResidueTopologyBase self, unsigned int index) -> CHARMMInternalCoordinate"""
11665  return _IMP_atom.CHARMMResidueTopologyBase_get_internal_coordinate(self, index)
11666 
11667 
11668  def get_bond(self, index):
11669  """get_bond(CHARMMResidueTopologyBase self, unsigned int index) -> CHARMMBond"""
11670  return _IMP_atom.CHARMMResidueTopologyBase_get_bond(self, index)
11671 
11672 
11673  def get_angle(self, index):
11674  """get_angle(CHARMMResidueTopologyBase self, unsigned int index) -> CHARMMAngle"""
11675  return _IMP_atom.CHARMMResidueTopologyBase_get_angle(self, index)
11676 
11677 
11678  def get_dihedral(self, index):
11679  """get_dihedral(CHARMMResidueTopologyBase self, unsigned int index) -> CHARMMDihedral"""
11680  return _IMP_atom.CHARMMResidueTopologyBase_get_dihedral(self, index)
11681 
11682 
11683  def get_improper(self, index):
11684  """get_improper(CHARMMResidueTopologyBase self, unsigned int index) -> CHARMMDihedral"""
11685  return _IMP_atom.CHARMMResidueTopologyBase_get_improper(self, index)
11686 
11687 
11688  def get_version_info(self):
11689  """get_version_info(CHARMMResidueTopologyBase self) -> VersionInfo"""
11690  return _IMP_atom.CHARMMResidueTopologyBase_get_version_info(self)
11691 
11692 
11693  def __str__(self):
11694  """__str__(CHARMMResidueTopologyBase self) -> std::string"""
11695  return _IMP_atom.CHARMMResidueTopologyBase___str__(self)
11696 
11697 
11698  def __repr__(self):
11699  """__repr__(CHARMMResidueTopologyBase self) -> std::string"""
11700  return _IMP_atom.CHARMMResidueTopologyBase___repr__(self)
11701 
11702 
11703  @staticmethod
11704  def get_from(o):
11705  return _object_cast_to_CHARMMResidueTopologyBase(o)
11706 
11707 CHARMMResidueTopologyBase_swigregister = _IMP_atom.CHARMMResidueTopologyBase_swigregister
11708 CHARMMResidueTopologyBase_swigregister(CHARMMResidueTopologyBase)
11709 
11710 class CHARMMIdealResidueTopology(CHARMMResidueTopologyBase):
11711  """Proxy of C++ IMP::atom::CHARMMIdealResidueTopology class"""
11712  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11713 
11714  def __init__(self, *args):
11715  """
11716  __init__(IMP::atom::CHARMMIdealResidueTopology self, std::string type) -> CHARMMIdealResidueTopology
11717  __init__(IMP::atom::CHARMMIdealResidueTopology self, ResidueType type) -> CHARMMIdealResidueTopology
11718  """
11719  this = _IMP_atom.new_CHARMMIdealResidueTopology(*args)
11720  try:
11721  self.this.append(this)
11722  except:
11723  self.this = this
11724 
11725  def remove_atom(self, name):
11726  """remove_atom(CHARMMIdealResidueTopology self, std::string name)"""
11727  return _IMP_atom.CHARMMIdealResidueTopology_remove_atom(self, name)
11728 
11729 
11730  def set_default_first_patch(self, patch):
11731  """set_default_first_patch(CHARMMIdealResidueTopology self, std::string patch)"""
11732  return _IMP_atom.CHARMMIdealResidueTopology_set_default_first_patch(self, patch)
11733 
11734 
11735  def set_default_last_patch(self, patch):
11736  """set_default_last_patch(CHARMMIdealResidueTopology self, std::string patch)"""
11737  return _IMP_atom.CHARMMIdealResidueTopology_set_default_last_patch(self, patch)
11738 
11739 
11740  def get_default_first_patch(self):
11741  """get_default_first_patch(CHARMMIdealResidueTopology self) -> std::string"""
11742  return _IMP_atom.CHARMMIdealResidueTopology_get_default_first_patch(self)
11743 
11744 
11745  def get_default_last_patch(self):
11746  """get_default_last_patch(CHARMMIdealResidueTopology self) -> std::string"""
11747  return _IMP_atom.CHARMMIdealResidueTopology_get_default_last_patch(self)
11748 
11749 
11750  def __str__(self):
11751  """__str__(CHARMMIdealResidueTopology self) -> std::string"""
11752  return _IMP_atom.CHARMMIdealResidueTopology___str__(self)
11753 
11754 
11755  def __repr__(self):
11756  """__repr__(CHARMMIdealResidueTopology self) -> std::string"""
11757  return _IMP_atom.CHARMMIdealResidueTopology___repr__(self)
11758 
11759 
11760  @staticmethod
11761  def get_from(o):
11762  return _object_cast_to_CHARMMIdealResidueTopology(o)
11763 
11764 CHARMMIdealResidueTopology_swigregister = _IMP_atom.CHARMMIdealResidueTopology_swigregister
11765 CHARMMIdealResidueTopology_swigregister(CHARMMIdealResidueTopology)
11766 
11767 class CHARMMPatch(CHARMMResidueTopologyBase):
11768  """Proxy of C++ IMP::atom::CHARMMPatch class"""
11769  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11770 
11771  def __init__(self, type):
11772  """__init__(IMP::atom::CHARMMPatch self, std::string type) -> CHARMMPatch"""
11773  this = _IMP_atom.new_CHARMMPatch(type)
11774  try:
11775  self.this.append(this)
11776  except:
11777  self.this = this
11778 
11779  def add_removed_atom(self, name):
11780  """add_removed_atom(CHARMMPatch self, std::string name)"""
11781  return _IMP_atom.CHARMMPatch_add_removed_atom(self, name)
11782 
11783 
11784  def get_number_of_removed_atoms(self):
11785  """get_number_of_removed_atoms(CHARMMPatch self) -> unsigned int"""
11786  return _IMP_atom.CHARMMPatch_get_number_of_removed_atoms(self)
11787 
11788 
11789  def get_removed_atom(self, i):
11790  """get_removed_atom(CHARMMPatch self, unsigned int i) -> std::string"""
11791  return _IMP_atom.CHARMMPatch_get_removed_atom(self, i)
11792 
11793 
11794  def apply(self, *args):
11795  """
11796  apply(CHARMMPatch self, CHARMMResidueTopology res)
11797  apply(CHARMMPatch self, CHARMMResidueTopology res1, CHARMMResidueTopology res2)
11798  """
11799  return _IMP_atom.CHARMMPatch_apply(self, *args)
11800 
11801 
11802  def __str__(self):
11803  """__str__(CHARMMPatch self) -> std::string"""
11804  return _IMP_atom.CHARMMPatch___str__(self)
11805 
11806 
11807  def __repr__(self):
11808  """__repr__(CHARMMPatch self) -> std::string"""
11809  return _IMP_atom.CHARMMPatch___repr__(self)
11810 
11811 
11812  @staticmethod
11813  def get_from(o):
11814  return _object_cast_to_CHARMMPatch(o)
11815 
11816 CHARMMPatch_swigregister = _IMP_atom.CHARMMPatch_swigregister
11817 CHARMMPatch_swigregister(CHARMMPatch)
11818 
11819 class CHARMMResidueTopology(CHARMMIdealResidueTopology):
11820  """Proxy of C++ IMP::atom::CHARMMResidueTopology class"""
11821  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11822 
11823  def __init__(self, *args):
11824  """
11825  __init__(IMP::atom::CHARMMResidueTopology self, ResidueType type) -> CHARMMResidueTopology
11826  __init__(IMP::atom::CHARMMResidueTopology self, CHARMMIdealResidueTopology ideal) -> CHARMMResidueTopology
11827  """
11828  this = _IMP_atom.new_CHARMMResidueTopology(*args)
11829  try:
11830  self.this.append(this)
11831  except:
11832  self.this = this
11833 
11834  def get_patched(self):
11835  """get_patched(CHARMMResidueTopology self) -> bool"""
11836  return _IMP_atom.CHARMMResidueTopology_get_patched(self)
11837 
11838 
11839  def set_patched(self, patched):
11840  """set_patched(CHARMMResidueTopology self, bool patched)"""
11841  return _IMP_atom.CHARMMResidueTopology_set_patched(self, patched)
11842 
11843 
11844  def __str__(self):
11845  """__str__(CHARMMResidueTopology self) -> std::string"""
11846  return _IMP_atom.CHARMMResidueTopology___str__(self)
11847 
11848 
11849  def __repr__(self):
11850  """__repr__(CHARMMResidueTopology self) -> std::string"""
11851  return _IMP_atom.CHARMMResidueTopology___repr__(self)
11852 
11853 
11854  @staticmethod
11855  def get_from(o):
11856  return _object_cast_to_CHARMMResidueTopology(o)
11857 
11858 CHARMMResidueTopology_swigregister = _IMP_atom.CHARMMResidueTopology_swigregister
11859 CHARMMResidueTopology_swigregister(CHARMMResidueTopology)
11860 
11861 class CHARMMAtom(Atom):
11862  """Proxy of C++ IMP::atom::CHARMMAtom class"""
11863  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
11864 
11865  def __init__(self, *args):
11866  """
11867  __init__(IMP::atom::CHARMMAtom self) -> CHARMMAtom
11868  __init__(IMP::atom::CHARMMAtom self, Model m, ParticleIndex id) -> CHARMMAtom
11869  __init__(IMP::atom::CHARMMAtom self, _ParticleAdaptor d) -> CHARMMAtom
11870  """
11871  this = _IMP_atom.new_CHARMMAtom(*args)
11872  try:
11873  self.this.append(this)
11874  except:
11875  self.this = this
11876 
11877  def show(self, *args):
11878  """
11879  show(CHARMMAtom self, _ostream out)
11880  show(CHARMMAtom self)
11881  """
11882  return _IMP_atom.CHARMMAtom_show(self, *args)
11883 
11884 
11885  def setup_particle(*args):
11886  """
11887  setup_particle(Model m, ParticleIndex pi, IMP::String charmm_type) -> CHARMMAtom
11888  setup_particle(_ParticleAdaptor decorator, IMP::String charmm_type) -> CHARMMAtom
11889  """
11890  return _IMP_atom.CHARMMAtom_setup_particle(*args)
11891 
11892  setup_particle = staticmethod(setup_particle)
11893 
11894  def get_charmm_type(self):
11895  """get_charmm_type(CHARMMAtom self) -> IMP::String"""
11896  return _IMP_atom.CHARMMAtom_get_charmm_type(self)
11897 
11898 
11899  def set_charmm_type(self, t):
11900  """set_charmm_type(CHARMMAtom self, IMP::String t)"""
11901  return _IMP_atom.CHARMMAtom_set_charmm_type(self, t)
11902 
11903 
11904  def get_is_setup(*args):
11905  """
11906  get_is_setup(_ParticleAdaptor p) -> bool
11907  get_is_setup(Model m, ParticleIndex pi) -> bool
11908  """
11909  return _IMP_atom.CHARMMAtom_get_is_setup(*args)
11910 
11911  get_is_setup = staticmethod(get_is_setup)
11912 
11913  def get_charmm_type_key():
11914  """get_charmm_type_key() -> StringKey"""
11915  return _IMP_atom.CHARMMAtom_get_charmm_type_key()
11916 
11917  get_charmm_type_key = staticmethod(get_charmm_type_key)
11918 
11919  def add_attribute(self, *args):
11920  """
11921  add_attribute(CHARMMAtom self, FloatKey k, IMP::Float v, bool opt)
11922  add_attribute(CHARMMAtom self, FloatKey a0, IMP::Float a1)
11923  add_attribute(CHARMMAtom self, IntKey a0, IMP::Int a1)
11924  add_attribute(CHARMMAtom self, FloatsKey a0, IMP::Floats a1)
11925  add_attribute(CHARMMAtom self, IntsKey a0, IMP::Ints a1)
11926  add_attribute(CHARMMAtom self, StringKey a0, IMP::String a1)
11927  add_attribute(CHARMMAtom self, ParticleIndexKey a0, Particle a1)
11928  add_attribute(CHARMMAtom self, ObjectKey a0, Object a1)
11929  """
11930  return _IMP_atom.CHARMMAtom_add_attribute(self, *args)
11931 
11932 
11933  def get_value(self, *args):
11934  """
11935  get_value(CHARMMAtom self, FloatKey a0) -> IMP::Float
11936  get_value(CHARMMAtom self, IntKey a0) -> IMP::Int
11937  get_value(CHARMMAtom self, FloatsKey a0) -> IMP::Floats
11938  get_value(CHARMMAtom self, IntsKey a0) -> IMP::Ints
11939  get_value(CHARMMAtom self, StringKey a0) -> IMP::String
11940  get_value(CHARMMAtom self, ParticleIndexKey a0) -> Particle
11941  get_value(CHARMMAtom self, ObjectKey a0) -> Object
11942  """
11943  return _IMP_atom.CHARMMAtom_get_value(self, *args)
11944 
11945 
11946  def set_value(self, *args):
11947  """
11948  set_value(CHARMMAtom self, FloatKey a0, IMP::Float a1)
11949  set_value(CHARMMAtom self, IntKey a0, IMP::Int a1)
11950  set_value(CHARMMAtom self, FloatsKey a0, IMP::Floats a1)
11951  set_value(CHARMMAtom self, IntsKey a0, IMP::Ints a1)
11952  set_value(CHARMMAtom self, StringKey a0, IMP::String a1)
11953  set_value(CHARMMAtom self, ParticleIndexKey a0, Particle a1)
11954  set_value(CHARMMAtom self, ObjectKey a0, Object a1)
11955  """
11956  return _IMP_atom.CHARMMAtom_set_value(self, *args)
11957 
11958 
11959  def remove_attribute(self, *args):
11960  """
11961  remove_attribute(CHARMMAtom self, FloatKey a0)
11962  remove_attribute(CHARMMAtom self, IntKey a0)
11963  remove_attribute(CHARMMAtom self, FloatsKey a0)
11964  remove_attribute(CHARMMAtom self, IntsKey a0)
11965  remove_attribute(CHARMMAtom self, StringKey a0)
11966  remove_attribute(CHARMMAtom self, ParticleIndexKey a0)
11967  remove_attribute(CHARMMAtom self, ObjectKey a0)
11968  """
11969  return _IMP_atom.CHARMMAtom_remove_attribute(self, *args)
11970 
11971 
11972  def has_attribute(self, *args):
11973  """
11974  has_attribute(CHARMMAtom self, FloatKey a0) -> bool
11975  has_attribute(CHARMMAtom self, IntKey a0) -> bool
11976  has_attribute(CHARMMAtom self, FloatsKey a0) -> bool
11977  has_attribute(CHARMMAtom self, IntsKey a0) -> bool
11978  has_attribute(CHARMMAtom self, StringKey a0) -> bool
11979  has_attribute(CHARMMAtom self, ParticleIndexKey a0) -> bool
11980  has_attribute(CHARMMAtom self, ObjectKey a0) -> bool
11981  """
11982  return _IMP_atom.CHARMMAtom_has_attribute(self, *args)
11983 
11984 
11985  def get_derivative(self, a0):
11986  """get_derivative(CHARMMAtom self, FloatKey a0) -> double"""
11987  return _IMP_atom.CHARMMAtom_get_derivative(self, a0)
11988 
11989 
11990  def get_name(self):
11991  """get_name(CHARMMAtom self) -> std::string"""
11992  return _IMP_atom.CHARMMAtom_get_name(self)
11993 
11994 
11995  def clear_caches(self):
11996  """clear_caches(CHARMMAtom self)"""
11997  return _IMP_atom.CHARMMAtom_clear_caches(self)
11998 
11999 
12000  def set_name(self, a0):
12001  """set_name(CHARMMAtom self, std::string a0)"""
12002  return _IMP_atom.CHARMMAtom_set_name(self, a0)
12003 
12004 
12005  def set_check_level(self, a0):
12006  """set_check_level(CHARMMAtom self, IMP::CheckLevel a0)"""
12007  return _IMP_atom.CHARMMAtom_set_check_level(self, a0)
12008 
12009 
12010  def add_to_derivative(self, a0, a1, a2):
12011  """add_to_derivative(CHARMMAtom self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
12012  return _IMP_atom.CHARMMAtom_add_to_derivative(self, a0, a1, a2)
12013 
12014 
12015  def set_is_optimized(self, a0, a1):
12016  """set_is_optimized(CHARMMAtom self, FloatKey a0, bool a1)"""
12017  return _IMP_atom.CHARMMAtom_set_is_optimized(self, a0, a1)
12018 
12019 
12020  def get_is_optimized(self, a0):
12021  """get_is_optimized(CHARMMAtom self, FloatKey a0) -> bool"""
12022  return _IMP_atom.CHARMMAtom_get_is_optimized(self, a0)
12023 
12024 
12025  def get_check_level(self):
12026  """get_check_level(CHARMMAtom self) -> IMP::CheckLevel"""
12027  return _IMP_atom.CHARMMAtom_get_check_level(self)
12028 
12029 
12030  def __eq__(self, *args):
12031  """
12032  __eq__(CHARMMAtom self, CHARMMAtom o) -> bool
12033  __eq__(CHARMMAtom self, Particle d) -> bool
12034  """
12035  return _IMP_atom.CHARMMAtom___eq__(self, *args)
12036 
12037 
12038  def __ne__(self, *args):
12039  """
12040  __ne__(CHARMMAtom self, CHARMMAtom o) -> bool
12041  __ne__(CHARMMAtom self, Particle d) -> bool
12042  """
12043  return _IMP_atom.CHARMMAtom___ne__(self, *args)
12044 
12045 
12046  def __le__(self, *args):
12047  """
12048  __le__(CHARMMAtom self, CHARMMAtom o) -> bool
12049  __le__(CHARMMAtom self, Particle d) -> bool
12050  """
12051  return _IMP_atom.CHARMMAtom___le__(self, *args)
12052 
12053 
12054  def __lt__(self, *args):
12055  """
12056  __lt__(CHARMMAtom self, CHARMMAtom o) -> bool
12057  __lt__(CHARMMAtom self, Particle d) -> bool
12058  """
12059  return _IMP_atom.CHARMMAtom___lt__(self, *args)
12060 
12061 
12062  def __ge__(self, *args):
12063  """
12064  __ge__(CHARMMAtom self, CHARMMAtom o) -> bool
12065  __ge__(CHARMMAtom self, Particle d) -> bool
12066  """
12067  return _IMP_atom.CHARMMAtom___ge__(self, *args)
12068 
12069 
12070  def __gt__(self, *args):
12071  """
12072  __gt__(CHARMMAtom self, CHARMMAtom o) -> bool
12073  __gt__(CHARMMAtom self, Particle d) -> bool
12074  """
12075  return _IMP_atom.CHARMMAtom___gt__(self, *args)
12076 
12077 
12078  def __hash__(self):
12079  """__hash__(CHARMMAtom self) -> std::size_t"""
12080  return _IMP_atom.CHARMMAtom___hash__(self)
12081 
12082 
12083  def __str__(self):
12084  """__str__(CHARMMAtom self) -> std::string"""
12085  return _IMP_atom.CHARMMAtom___str__(self)
12086 
12087 
12088  def __repr__(self):
12089  """__repr__(CHARMMAtom self) -> std::string"""
12090  return _IMP_atom.CHARMMAtom___repr__(self)
12091 
12092  __swig_destroy__ = _IMP_atom.delete_CHARMMAtom
12093  __del__ = lambda self: None
12094 CHARMMAtom_swigregister = _IMP_atom.CHARMMAtom_swigregister
12095 CHARMMAtom_swigregister(CHARMMAtom)
12096 
12097 def CHARMMAtom_setup_particle(*args):
12098  """
12099  setup_particle(Model m, ParticleIndex pi, IMP::String charmm_type) -> CHARMMAtom
12100  CHARMMAtom_setup_particle(_ParticleAdaptor decorator, IMP::String charmm_type) -> CHARMMAtom
12101  """
12102  return _IMP_atom.CHARMMAtom_setup_particle(*args)
12103 
12104 def CHARMMAtom_get_is_setup(*args):
12105  """
12106  get_is_setup(_ParticleAdaptor p) -> bool
12107  CHARMMAtom_get_is_setup(Model m, ParticleIndex pi) -> bool
12108  """
12109  return _IMP_atom.CHARMMAtom_get_is_setup(*args)
12110 
12111 def CHARMMAtom_get_charmm_type_key():
12112  """CHARMMAtom_get_charmm_type_key() -> StringKey"""
12113  return _IMP_atom.CHARMMAtom_get_charmm_type_key()
12114 
12115 
12116 def get_charmm_untyped_atoms(hierarchy):
12117  """get_charmm_untyped_atoms(Hierarchy hierarchy) -> IMP::atom::Atoms"""
12118  return _IMP_atom.get_charmm_untyped_atoms(hierarchy)
12119 
12120 def remove_charmm_untyped_atoms(hierarchy):
12121  """remove_charmm_untyped_atoms(Hierarchy hierarchy)"""
12122  return _IMP_atom.remove_charmm_untyped_atoms(hierarchy)
12123 class CHARMMBondParameters(object):
12124  """Proxy of C++ IMP::atom::CHARMMBondParameters class"""
12125  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12126  force_constant = _swig_property(_IMP_atom.CHARMMBondParameters_force_constant_get, _IMP_atom.CHARMMBondParameters_force_constant_set)
12127  ideal = _swig_property(_IMP_atom.CHARMMBondParameters_ideal_get, _IMP_atom.CHARMMBondParameters_ideal_set)
12128 
12129  def __init__(self):
12130  """__init__(IMP::atom::CHARMMBondParameters self) -> CHARMMBondParameters"""
12131  this = _IMP_atom.new_CHARMMBondParameters()
12132  try:
12133  self.this.append(this)
12134  except:
12135  self.this = this
12136 
12137  def show(self, *args):
12138  """
12139  show(CHARMMBondParameters self, _ostream out)
12140  show(CHARMMBondParameters self)
12141  """
12142  return _IMP_atom.CHARMMBondParameters_show(self, *args)
12143 
12144 
12145  def __str__(self):
12146  """__str__(CHARMMBondParameters self) -> std::string"""
12147  return _IMP_atom.CHARMMBondParameters___str__(self)
12148 
12149 
12150  def __repr__(self):
12151  """__repr__(CHARMMBondParameters self) -> std::string"""
12152  return _IMP_atom.CHARMMBondParameters___repr__(self)
12153 
12154  __swig_destroy__ = _IMP_atom.delete_CHARMMBondParameters
12155  __del__ = lambda self: None
12156 CHARMMBondParameters_swigregister = _IMP_atom.CHARMMBondParameters_swigregister
12157 CHARMMBondParameters_swigregister(CHARMMBondParameters)
12158 
12159 class CHARMMDihedralParameters(object):
12160  """Proxy of C++ IMP::atom::CHARMMDihedralParameters class"""
12161  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12162  force_constant = _swig_property(_IMP_atom.CHARMMDihedralParameters_force_constant_get, _IMP_atom.CHARMMDihedralParameters_force_constant_set)
12163  multiplicity = _swig_property(_IMP_atom.CHARMMDihedralParameters_multiplicity_get, _IMP_atom.CHARMMDihedralParameters_multiplicity_set)
12164  ideal = _swig_property(_IMP_atom.CHARMMDihedralParameters_ideal_get, _IMP_atom.CHARMMDihedralParameters_ideal_set)
12165 
12166  def __init__(self):
12167  """__init__(IMP::atom::CHARMMDihedralParameters self) -> CHARMMDihedralParameters"""
12168  this = _IMP_atom.new_CHARMMDihedralParameters()
12169  try:
12170  self.this.append(this)
12171  except:
12172  self.this = this
12173 
12174  def show(self, *args):
12175  """
12176  show(CHARMMDihedralParameters self, _ostream out)
12177  show(CHARMMDihedralParameters self)
12178  """
12179  return _IMP_atom.CHARMMDihedralParameters_show(self, *args)
12180 
12181 
12182  def __str__(self):
12183  """__str__(CHARMMDihedralParameters self) -> std::string"""
12184  return _IMP_atom.CHARMMDihedralParameters___str__(self)
12185 
12186 
12187  def __repr__(self):
12188  """__repr__(CHARMMDihedralParameters self) -> std::string"""
12189  return _IMP_atom.CHARMMDihedralParameters___repr__(self)
12190 
12191  __swig_destroy__ = _IMP_atom.delete_CHARMMDihedralParameters
12192  __del__ = lambda self: None
12193 CHARMMDihedralParameters_swigregister = _IMP_atom.CHARMMDihedralParameters_swigregister
12194 CHARMMDihedralParameters_swigregister(CHARMMDihedralParameters)
12195 
12196 class CHARMMParameters(ForceFieldParameters):
12197  """Proxy of C++ IMP::atom::CHARMMParameters class"""
12198  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12199 
12200  def __init__(self, *args):
12201  """
12202  __init__(IMP::atom::CHARMMParameters self, TextInput topology_file_name, TextInput par_file_name, bool translate_names_to_pdb=False) -> CHARMMParameters
12203  __init__(IMP::atom::CHARMMParameters self, TextInput topology_file_name, TextInput par_file_name) -> CHARMMParameters
12204  __init__(IMP::atom::CHARMMParameters self, TextInput topology_file_name) -> CHARMMParameters
12205  """
12206  this = _IMP_atom.new_CHARMMParameters(*args)
12207  try:
12208  self.this.append(this)
12209  except:
12210  self.this = this
12211 
12212  def add_residue_topology(self, res):
12213  """add_residue_topology(CHARMMParameters self, CHARMMIdealResidueTopology res)"""
12214  return _IMP_atom.CHARMMParameters_add_residue_topology(self, res)
12215 
12216 
12217  def get_residue_topology(self, type):
12218  """get_residue_topology(CHARMMParameters self, ResidueType type) -> CHARMMIdealResidueTopology"""
12219  return _IMP_atom.CHARMMParameters_get_residue_topology(self, type)
12220 
12221 
12222  def add_patch(self, patch):
12223  """add_patch(CHARMMParameters self, CHARMMPatch patch)"""
12224  return _IMP_atom.CHARMMParameters_add_patch(self, patch)
12225 
12226 
12227  def get_patch(self, name):
12228  """get_patch(CHARMMParameters self, std::string name) -> CHARMMPatch"""
12229  return _IMP_atom.CHARMMParameters_get_patch(self, name)
12230 
12231 
12232  def create_topology(self, hierarchy):
12233  """create_topology(CHARMMParameters self, Hierarchy hierarchy) -> CHARMMTopology"""
12234  return _IMP_atom.CHARMMParameters_create_topology(self, hierarchy)
12235 
12236 
12237  def get_bond_parameters(self, type1, type2):
12238  """get_bond_parameters(CHARMMParameters self, std::string type1, std::string type2) -> CHARMMBondParameters"""
12239  return _IMP_atom.CHARMMParameters_get_bond_parameters(self, type1, type2)
12240 
12241 
12242  def get_angle_parameters(self, type1, type2, type3):
12243  """get_angle_parameters(CHARMMParameters self, std::string type1, std::string type2, std::string type3) -> CHARMMBondParameters"""
12244  return _IMP_atom.CHARMMParameters_get_angle_parameters(self, type1, type2, type3)
12245 
12246 
12247  def get_dihedral_parameters(self, type1, type2, type3, type4):
12248  """get_dihedral_parameters(CHARMMParameters self, std::string type1, std::string type2, std::string type3, std::string type4) -> IMP::atom::CHARMMDihedralParametersList"""
12249  return _IMP_atom.CHARMMParameters_get_dihedral_parameters(self, type1, type2, type3, type4)
12250 
12251 
12252  def get_improper_parameters(self, type1, type2, type3, type4):
12253  """get_improper_parameters(CHARMMParameters self, std::string type1, std::string type2, std::string type3, std::string type4) -> CHARMMDihedralParameters"""
12254  return _IMP_atom.CHARMMParameters_get_improper_parameters(self, type1, type2, type3, type4)
12255 
12256 
12257  def create_angles(self, bonds):
12258  """create_angles(CHARMMParameters self, IMP::Particles bonds) -> IMP::Particles"""
12259  return _IMP_atom.CHARMMParameters_create_angles(self, bonds)
12260 
12261 
12262  def create_dihedrals(self, bonds):
12263  """create_dihedrals(CHARMMParameters self, IMP::Particles bonds) -> IMP::Particles"""
12264  return _IMP_atom.CHARMMParameters_create_dihedrals(self, bonds)
12265 
12266 
12267  def get_version_info(self):
12268  """get_version_info(CHARMMParameters self) -> VersionInfo"""
12269  return _IMP_atom.CHARMMParameters_get_version_info(self)
12270 
12271 
12272  def __str__(self):
12273  """__str__(CHARMMParameters self) -> std::string"""
12274  return _IMP_atom.CHARMMParameters___str__(self)
12275 
12276 
12277  def __repr__(self):
12278  """__repr__(CHARMMParameters self) -> std::string"""
12279  return _IMP_atom.CHARMMParameters___repr__(self)
12280 
12281 
12282  @staticmethod
12283  def get_from(o):
12284  return _object_cast_to_CHARMMParameters(o)
12285 
12286 CHARMMParameters_swigregister = _IMP_atom.CHARMMParameters_swigregister
12287 CHARMMParameters_swigregister(CHARMMParameters)
12288 
12289 
12291  """get_heavy_atom_CHARMM_parameters() -> CHARMMParameters"""
12292  return _IMP_atom.get_heavy_atom_CHARMM_parameters()
12293 
12295  """get_all_atom_CHARMM_parameters() -> CHARMMParameters"""
12296  return _IMP_atom.get_all_atom_CHARMM_parameters()
12297 class CHARMMSegmentTopology(IMP.Object):
12298  """Proxy of C++ IMP::atom::CHARMMSegmentTopology class"""
12299  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12300 
12301  def remove_residue(self, d):
12302  """remove_residue(CHARMMSegmentTopology self, CHARMMResidueTopology d)"""
12303  return _IMP_atom.CHARMMSegmentTopology_remove_residue(self, d)
12304 
12305 
12306  def remove_residues(self, d):
12307  """remove_residues(CHARMMSegmentTopology self, IMP::atom::CHARMMResidueTopologies const & d)"""
12308  return _IMP_atom.CHARMMSegmentTopology_remove_residues(self, d)
12309 
12310 
12311  def set_residues(self, ps):
12312  """set_residues(CHARMMSegmentTopology self, IMP::atom::CHARMMResidueTopologies const & ps)"""
12313  return _IMP_atom.CHARMMSegmentTopology_set_residues(self, ps)
12314 
12315 
12316  def set_residues_order(self, objs):
12317  """set_residues_order(CHARMMSegmentTopology self, IMP::atom::CHARMMResidueTopologies const & objs)"""
12318  return _IMP_atom.CHARMMSegmentTopology_set_residues_order(self, objs)
12319 
12320 
12321  def add_residue(self, obj):
12322  """add_residue(CHARMMSegmentTopology self, CHARMMResidueTopology obj) -> unsigned int"""
12323  return _IMP_atom.CHARMMSegmentTopology_add_residue(self, obj)
12324 
12325 
12326  def add_residues(self, objs):
12327  """add_residues(CHARMMSegmentTopology self, IMP::atom::CHARMMResidueTopologies const & objs)"""
12328  return _IMP_atom.CHARMMSegmentTopology_add_residues(self, objs)
12329 
12330 
12331  def clear_residues(self):
12332  """clear_residues(CHARMMSegmentTopology self)"""
12333  return _IMP_atom.CHARMMSegmentTopology_clear_residues(self)
12334 
12335 
12336  def get_number_of_residues(self):
12337  """get_number_of_residues(CHARMMSegmentTopology self) -> unsigned int"""
12338  return _IMP_atom.CHARMMSegmentTopology_get_number_of_residues(self)
12339 
12340 
12341  def get_has_residues(self):
12342  """get_has_residues(CHARMMSegmentTopology self) -> bool"""
12343  return _IMP_atom.CHARMMSegmentTopology_get_has_residues(self)
12344 
12345 
12346  def get_residue(self, i):
12347  """get_residue(CHARMMSegmentTopology self, unsigned int i) -> CHARMMResidueTopology"""
12348  return _IMP_atom.CHARMMSegmentTopology_get_residue(self, i)
12349 
12350 
12351  def get_residues(self):
12352  """get_residues(CHARMMSegmentTopology self) -> IMP::atom::CHARMMResidueTopologies"""
12353  return _IMP_atom.CHARMMSegmentTopology_get_residues(self)
12354 
12355 
12356  def reserve_residues(self, sz):
12357  """reserve_residues(CHARMMSegmentTopology self, unsigned int sz)"""
12358  return _IMP_atom.CHARMMSegmentTopology_reserve_residues(self, sz)
12359 
12360 
12361  def get_version_info(self):
12362  """get_version_info(CHARMMSegmentTopology self) -> VersionInfo"""
12363  return _IMP_atom.CHARMMSegmentTopology_get_version_info(self)
12364 
12365 
12366  def __init__(self, *args):
12367  """
12368  __init__(IMP::atom::CHARMMSegmentTopology self, std::string name) -> CHARMMSegmentTopology
12369  __init__(IMP::atom::CHARMMSegmentTopology self) -> CHARMMSegmentTopology
12370  """
12371  this = _IMP_atom.new_CHARMMSegmentTopology(*args)
12372  try:
12373  self.this.append(this)
12374  except:
12375  self.this = this
12376 
12377  def apply_default_patches(self, ff):
12378  """apply_default_patches(CHARMMSegmentTopology self, CHARMMParameters ff)"""
12379  return _IMP_atom.CHARMMSegmentTopology_apply_default_patches(self, ff)
12380 
12381 
12382  def __str__(self):
12383  """__str__(CHARMMSegmentTopology self) -> std::string"""
12384  return _IMP_atom.CHARMMSegmentTopology___str__(self)
12385 
12386 
12387  def __repr__(self):
12388  """__repr__(CHARMMSegmentTopology self) -> std::string"""
12389  return _IMP_atom.CHARMMSegmentTopology___repr__(self)
12390 
12391 
12392  @staticmethod
12393  def get_from(o):
12394  return _object_cast_to_CHARMMSegmentTopology(o)
12395 
12396 CHARMMSegmentTopology_swigregister = _IMP_atom.CHARMMSegmentTopology_swigregister
12397 CHARMMSegmentTopology_swigregister(CHARMMSegmentTopology)
12398 
12399 class CHARMMTopology(IMP.Object):
12400  """Proxy of C++ IMP::atom::CHARMMTopology class"""
12401  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12402 
12403  def __init__(self, *args):
12404  """
12405  __init__(IMP::atom::CHARMMTopology self, CHARMMParameters force_field, std::string name) -> CHARMMTopology
12406  __init__(IMP::atom::CHARMMTopology self, CHARMMParameters force_field) -> CHARMMTopology
12407  """
12408  this = _IMP_atom.new_CHARMMTopology(*args)
12409  try:
12410  self.this.append(this)
12411  except:
12412  self.this = this
12413 
12414  def get_parameters(self):
12415  """get_parameters(CHARMMTopology self) -> CHARMMParameters"""
12416  return _IMP_atom.CHARMMTopology_get_parameters(self)
12417 
12418 
12419  def add_sequence(self, sequence):
12420  """add_sequence(CHARMMTopology self, std::string sequence)"""
12421  return _IMP_atom.CHARMMTopology_add_sequence(self, sequence)
12422 
12423 
12424  def apply_default_patches(self):
12425  """apply_default_patches(CHARMMTopology self)"""
12426  return _IMP_atom.CHARMMTopology_apply_default_patches(self)
12427 
12428 
12429  def create_hierarchy(self, model):
12430  """create_hierarchy(CHARMMTopology self, Model model) -> Hierarchy"""
12431  return _IMP_atom.CHARMMTopology_create_hierarchy(self, model)
12432 
12433 
12434  def add_atom_types(self, hierarchy):
12435  """add_atom_types(CHARMMTopology self, Hierarchy hierarchy)"""
12436  return _IMP_atom.CHARMMTopology_add_atom_types(self, hierarchy)
12437 
12438 
12439  def add_coordinates(self, hierarchy):
12440  """add_coordinates(CHARMMTopology self, Hierarchy hierarchy)"""
12441  return _IMP_atom.CHARMMTopology_add_coordinates(self, hierarchy)
12442 
12443 
12444  def add_missing_atoms(self, hierarchy):
12445  """add_missing_atoms(CHARMMTopology self, Hierarchy hierarchy)"""
12446  return _IMP_atom.CHARMMTopology_add_missing_atoms(self, hierarchy)
12447 
12448 
12449  def setup_hierarchy(self, hierarchy):
12450  """setup_hierarchy(CHARMMTopology self, Hierarchy hierarchy)"""
12451  return _IMP_atom.CHARMMTopology_setup_hierarchy(self, hierarchy)
12452 
12453 
12454  def add_charges(self, hierarchy):
12455  """add_charges(CHARMMTopology self, Hierarchy hierarchy)"""
12456  return _IMP_atom.CHARMMTopology_add_charges(self, hierarchy)
12457 
12458 
12459  def add_bonds(self, hierarchy):
12460  """add_bonds(CHARMMTopology self, Hierarchy hierarchy) -> IMP::Particles"""
12461  return _IMP_atom.CHARMMTopology_add_bonds(self, hierarchy)
12462 
12463 
12464  def add_dihedrals(self, hierarchy):
12465  """add_dihedrals(CHARMMTopology self, Hierarchy hierarchy) -> IMP::Particles"""
12466  return _IMP_atom.CHARMMTopology_add_dihedrals(self, hierarchy)
12467 
12468 
12469  def add_impropers(self, hierarchy):
12470  """add_impropers(CHARMMTopology self, Hierarchy hierarchy) -> IMP::Particles"""
12471  return _IMP_atom.CHARMMTopology_add_impropers(self, hierarchy)
12472 
12473 
12474  def remove_segment(self, d):
12475  """remove_segment(CHARMMTopology self, CHARMMSegmentTopology d)"""
12476  return _IMP_atom.CHARMMTopology_remove_segment(self, d)
12477 
12478 
12479  def remove_segments(self, d):
12480  """remove_segments(CHARMMTopology self, IMP::atom::CHARMMSegmentTopologies const & d)"""
12481  return _IMP_atom.CHARMMTopology_remove_segments(self, d)
12482 
12483 
12484  def set_segments(self, ps):
12485  """set_segments(CHARMMTopology self, IMP::atom::CHARMMSegmentTopologies const & ps)"""
12486  return _IMP_atom.CHARMMTopology_set_segments(self, ps)
12487 
12488 
12489  def set_segments_order(self, objs):
12490  """set_segments_order(CHARMMTopology self, IMP::atom::CHARMMSegmentTopologies const & objs)"""
12491  return _IMP_atom.CHARMMTopology_set_segments_order(self, objs)
12492 
12493 
12494  def add_segment(self, obj):
12495  """add_segment(CHARMMTopology self, CHARMMSegmentTopology obj) -> unsigned int"""
12496  return _IMP_atom.CHARMMTopology_add_segment(self, obj)
12497 
12498 
12499  def add_segments(self, objs):
12500  """add_segments(CHARMMTopology self, IMP::atom::CHARMMSegmentTopologies const & objs)"""
12501  return _IMP_atom.CHARMMTopology_add_segments(self, objs)
12502 
12503 
12504  def clear_segments(self):
12505  """clear_segments(CHARMMTopology self)"""
12506  return _IMP_atom.CHARMMTopology_clear_segments(self)
12507 
12508 
12509  def get_number_of_segments(self):
12510  """get_number_of_segments(CHARMMTopology self) -> unsigned int"""
12511  return _IMP_atom.CHARMMTopology_get_number_of_segments(self)
12512 
12513 
12514  def get_has_segments(self):
12515  """get_has_segments(CHARMMTopology self) -> bool"""
12516  return _IMP_atom.CHARMMTopology_get_has_segments(self)
12517 
12518 
12519  def get_segment(self, i):
12520  """get_segment(CHARMMTopology self, unsigned int i) -> CHARMMSegmentTopology"""
12521  return _IMP_atom.CHARMMTopology_get_segment(self, i)
12522 
12523 
12524  def get_segments(self):
12525  """get_segments(CHARMMTopology self) -> IMP::atom::CHARMMSegmentTopologies"""
12526  return _IMP_atom.CHARMMTopology_get_segments(self)
12527 
12528 
12529  def reserve_segments(self, sz):
12530  """reserve_segments(CHARMMTopology self, unsigned int sz)"""
12531  return _IMP_atom.CHARMMTopology_reserve_segments(self, sz)
12532 
12533 
12534  def get_version_info(self):
12535  """get_version_info(CHARMMTopology self) -> VersionInfo"""
12536  return _IMP_atom.CHARMMTopology_get_version_info(self)
12537 
12538 
12539  def __str__(self):
12540  """__str__(CHARMMTopology self) -> std::string"""
12541  return _IMP_atom.CHARMMTopology___str__(self)
12542 
12543 
12544  def __repr__(self):
12545  """__repr__(CHARMMTopology self) -> std::string"""
12546  return _IMP_atom.CHARMMTopology___repr__(self)
12547 
12548 
12549  @staticmethod
12550  def get_from(o):
12551  return _object_cast_to_CHARMMTopology(o)
12552 
12553 CHARMMTopology_swigregister = _IMP_atom.CHARMMTopology_swigregister
12554 CHARMMTopology_swigregister(CHARMMTopology)
12555 
12556 class CHARMMStereochemistryRestraint(IMP.Restraint):
12557  """Proxy of C++ IMP::atom::CHARMMStereochemistryRestraint class"""
12558  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12559 
12560  def __init__(self, *args):
12561  """
12562  __init__(IMP::atom::CHARMMStereochemistryRestraint self, Hierarchy h, CHARMMTopology topology) -> CHARMMStereochemistryRestraint
12563  __init__(IMP::atom::CHARMMStereochemistryRestraint self, Hierarchy h, CHARMMTopology topology, IMP::ParticlesTemp limit_to_these_particles) -> CHARMMStereochemistryRestraint
12564  """
12565  this = _IMP_atom.new_CHARMMStereochemistryRestraint(*args)
12566  try:
12567  self.this.append(this)
12568  except:
12569  self.this = this
12570 
12571  def get_pair_filter(self):
12572  """get_pair_filter(CHARMMStereochemistryRestraint self) -> StereochemistryPairFilter"""
12573  return _IMP_atom.CHARMMStereochemistryRestraint_get_pair_filter(self)
12574 
12575 
12576  def get_full_pair_filter(self):
12577  """get_full_pair_filter(CHARMMStereochemistryRestraint self) -> StereochemistryPairFilter"""
12578  return _IMP_atom.CHARMMStereochemistryRestraint_get_full_pair_filter(self)
12579 
12580 
12581  def do_get_inputs(self):
12582  """do_get_inputs(CHARMMStereochemistryRestraint self) -> IMP::ModelObjectsTemp"""
12583  return _IMP_atom.CHARMMStereochemistryRestraint_do_get_inputs(self)
12584 
12585 
12586  def get_version_info(self):
12587  """get_version_info(CHARMMStereochemistryRestraint self) -> VersionInfo"""
12588  return _IMP_atom.CHARMMStereochemistryRestraint_get_version_info(self)
12589 
12590 
12591  def __str__(self):
12592  """__str__(CHARMMStereochemistryRestraint self) -> std::string"""
12593  return _IMP_atom.CHARMMStereochemistryRestraint___str__(self)
12594 
12595 
12596  def __repr__(self):
12597  """__repr__(CHARMMStereochemistryRestraint self) -> std::string"""
12598  return _IMP_atom.CHARMMStereochemistryRestraint___repr__(self)
12599 
12600 
12601  @staticmethod
12602  def get_from(o):
12603  return _object_cast_to_CHARMMStereochemistryRestraint(o)
12604 
12605 CHARMMStereochemistryRestraint_swigregister = _IMP_atom.CHARMMStereochemistryRestraint_swigregister
12606 CHARMMStereochemistryRestraint_swigregister(CHARMMStereochemistryRestraint)
12607 
12608 
12609 def add_bonds(*args):
12610  """
12611  add_bonds(Hierarchy d, ForceFieldParameters ffp)
12612  add_bonds(Hierarchy d)
12613  """
12614  return _IMP_atom.add_bonds(*args)
12615 
12616 def add_radii(*args):
12617  """
12618  add_radii(Hierarchy d, ForceFieldParameters ffp, FloatKey radius_key)
12619  add_radii(Hierarchy d, ForceFieldParameters ffp)
12620  add_radii(Hierarchy d)
12621  """
12622  return _IMP_atom.add_radii(*args)
12623 
12624 _IMP_atom.ALBER_swigconstant(_IMP_atom)
12625 ALBER = _IMP_atom.ALBER
12626 
12627 _IMP_atom.HARPAZ_swigconstant(_IMP_atom)
12628 HARPAZ = _IMP_atom.HARPAZ
12629 
12630 _IMP_atom.ANDERSSON_swigconstant(_IMP_atom)
12631 ANDERSSON = _IMP_atom.ANDERSSON
12632 
12633 _IMP_atom.TSAI_swigconstant(_IMP_atom)
12634 TSAI = _IMP_atom.TSAI
12635 
12636 _IMP_atom.QUILLIN_swigconstant(_IMP_atom)
12637 QUILLIN = _IMP_atom.QUILLIN
12638 
12639 _IMP_atom.SQUIRE_swigconstant(_IMP_atom)
12640 SQUIRE = _IMP_atom.SQUIRE
12641 
12642 def get_protein_density_from_reference(densityReference):
12643  """get_protein_density_from_reference(IMP::atom::ProteinDensityReference densityReference) -> double"""
12644  return _IMP_atom.get_protein_density_from_reference(densityReference)
12645 
12646 def get_volume_from_mass(*args):
12647  """
12648  get_volume_from_mass(double m, IMP::atom::ProteinDensityReference ref) -> double
12649  get_volume_from_mass(double m) -> double
12650  """
12651  return _IMP_atom.get_volume_from_mass(*args)
12652 
12653 def get_mass_from_volume(*args):
12654  """
12655  get_mass_from_volume(double v, IMP::atom::ProteinDensityReference ref) -> double
12656  get_mass_from_volume(double v) -> double
12657  """
12658  return _IMP_atom.get_mass_from_volume(*args)
12659 
12661  """get_mass_from_number_of_residues(unsigned int num_aa) -> double"""
12662  return _IMP_atom.get_mass_from_number_of_residues(num_aa)
12663 
12665  """get_volume_from_residue_type(ResidueType rt) -> double"""
12666  return _IMP_atom.get_volume_from_residue_type(rt)
12667 
12668 def get_molarity(n, volume):
12669  """get_molarity(double n, double volume) -> double"""
12670  return _IMP_atom.get_molarity(n, volume)
12671 
12672 def get_kd(na, nb, nab, volume):
12673  """get_kd(double na, double nb, double nab, double volume) -> double"""
12674  return _IMP_atom.get_kd(na, nb, nab, volume)
12675 
12676 def get_einstein_diffusion_coefficient(r, temp=-1):
12677  """
12678  get_einstein_diffusion_coefficient(double r, double temp=-1) -> double
12679  get_einstein_diffusion_coefficient(double r) -> double
12680  """
12681  return _IMP_atom.get_einstein_diffusion_coefficient(r, temp)
12682 
12684  """
12685  get_einstein_rotational_diffusion_coefficient(double r, double temp=-1) -> double
12686  get_einstein_rotational_diffusion_coefficient(double r) -> double
12687  """
12688  return _IMP_atom.get_einstein_rotational_diffusion_coefficient(r, temp)
12689 
12690 def get_diffusion_length(*args):
12691  """
12692  get_diffusion_length(double D, double t) -> double
12693  get_diffusion_length(double D, double force, double t, double temp=-1) -> double
12694  get_diffusion_length(double D, double force, double t) -> double
12695  """
12696  return _IMP_atom.get_diffusion_length(*args)
12697 
12698 def get_diffusion_angle(D, dtfs):
12699  """get_diffusion_angle(double D, double dtfs) -> double"""
12700  return _IMP_atom.get_diffusion_angle(D, dtfs)
12701 
12702 def get_diffusion_coefficient(*args):
12703  """
12704  get_diffusion_coefficient(IMP::algebra::Vector3Ds const & displacements, double dt) -> double
12705  get_diffusion_coefficient(IMP::algebra::Vector3Ds const & displacements, IMP::Floats const & dts) -> double
12706  """
12707  return _IMP_atom.get_diffusion_coefficient(*args)
12708 
12709 def get_rotational_diffusion_coefficient(orientations, dt):
12710  """get_rotational_diffusion_coefficient(IMP::algebra::Rotation3Ds const & orientations, double dt) -> double"""
12711  return _IMP_atom.get_rotational_diffusion_coefficient(orientations, dt)
12712 
12713 def get_energy_in_femto_joules(energy_in_kcal_per_mol):
12714  """get_energy_in_femto_joules(double energy_in_kcal_per_mol) -> double"""
12715  return _IMP_atom.get_energy_in_femto_joules(energy_in_kcal_per_mol)
12716 
12717 def get_force_in_femto_newtons(force_in_kcal_per_mol_per_angstrom):
12718  """get_force_in_femto_newtons(double force_in_kcal_per_mol_per_angstrom) -> double"""
12719  return _IMP_atom.get_force_in_femto_newtons(force_in_kcal_per_mol_per_angstrom)
12720 
12721 def get_spring_constant_in_femto_newtons_per_angstrom(k_in_kcal_per_mol_per_angstrom_square):
12722  """get_spring_constant_in_femto_newtons_per_angstrom(double k_in_kcal_per_mol_per_angstrom_square) -> double"""
12723  return _IMP_atom.get_spring_constant_in_femto_newtons_per_angstrom(k_in_kcal_per_mol_per_angstrom_square)
12724 class EzRestraint(IMP.Restraint):
12725  """Proxy of C++ IMP::atom::EzRestraint class"""
12726  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12727 
12728  def __init__(self, m, ps):
12729  """__init__(IMP::atom::EzRestraint self, Model m, _ParticleIndexesAdaptor ps) -> EzRestraint"""
12730  this = _IMP_atom.new_EzRestraint(m, ps)
12731  try:
12732  self.this.append(this)
12733  except:
12734  self.this = this
12735 
12736  def get_version_info(self):
12737  """get_version_info(EzRestraint self) -> VersionInfo"""
12738  return _IMP_atom.EzRestraint_get_version_info(self)
12739 
12740 
12741  def __str__(self):
12742  """__str__(EzRestraint self) -> std::string"""
12743  return _IMP_atom.EzRestraint___str__(self)
12744 
12745 
12746  def __repr__(self):
12747  """__repr__(EzRestraint self) -> std::string"""
12748  return _IMP_atom.EzRestraint___repr__(self)
12749 
12750 
12751  @staticmethod
12752  def get_from(o):
12753  return _object_cast_to_EzRestraint(o)
12754 
12755 EzRestraint_swigregister = _IMP_atom.EzRestraint_swigregister
12756 EzRestraint_swigregister(EzRestraint)
12757 
12758 
12759 def create_protein(*args):
12760  """
12761  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
12762  create_protein(Model m, std::string name, double target_radius, int number_of_residues, int first_residue_index=0, double volume=-1) -> Hierarchy
12763  create_protein(Model m, std::string name, double target_radius, int number_of_residues, int first_residue_index=0) -> Hierarchy
12764  create_protein(Model m, std::string name, double target_radius, int number_of_residues) -> Hierarchy
12765  create_protein(Model m, std::string name, double target_radius, IMP::Ints const domain_boundaries) -> Hierarchy
12766  """
12767  return _IMP_atom.create_protein(*args)
12768 
12770  """
12771  create_simplified_along_backbone(Hierarchy input, int num_res, bool keep_detailed=False) -> Hierarchy
12772  create_simplified_along_backbone(Hierarchy input, int num_res) -> Hierarchy
12773  create_simplified_along_backbone(Chain input, IMP::IntRanges const & residue_segments, bool keep_detailed=False) -> Hierarchy
12774  create_simplified_along_backbone(Chain input, IMP::IntRanges const & residue_segments) -> Hierarchy
12775  """
12776  return _IMP_atom.create_simplified_along_backbone(*args)
12777 
12778 def create_simplified_from_volume(h, resolution):
12779  """create_simplified_from_volume(Hierarchy h, double resolution) -> Hierarchy"""
12780  return _IMP_atom.create_simplified_from_volume(h, resolution)
12781 
12782 def create_simplified_assembly_from_volume(h, resolution):
12783  """create_simplified_assembly_from_volume(Hierarchy h, double resolution) -> Hierarchy"""
12784  return _IMP_atom.create_simplified_assembly_from_volume(h, resolution)
12785 
12786 def get_residue_indexes(h):
12787  """get_residue_indexes(Hierarchy h) -> IMP::Ints"""
12788  return _IMP_atom.get_residue_indexes(h)
12789 
12790 def get_residue_type(*args):
12791  """
12792  get_residue_type(char c) -> ResidueType
12793  get_residue_type(Hierarchy h) -> ResidueType
12794  """
12795  return _IMP_atom.get_residue_type(*args)
12796 
12797 def get_atom_type(h):
12798  """get_atom_type(Hierarchy h) -> AtomType"""
12799  return _IMP_atom.get_atom_type(h)
12800 
12801 def get_domain_name(h):
12802  """get_domain_name(Hierarchy h) -> std::string"""
12803  return _IMP_atom.get_domain_name(h)
12804 
12806  """
12807  create_excluded_volume_restraint(IMP::atom::Selections const & s) -> Restraint
12808  create_excluded_volume_restraint(IMP::atom::Hierarchies const & hs, double resolution=-1) -> Restraint
12809  create_excluded_volume_restraint(IMP::atom::Hierarchies const & hs) -> Restraint
12810  """
12811  return _IMP_atom.create_excluded_volume_restraint(*args)
12812 
12813 def setup_as_approximation(*args):
12814  """
12815  setup_as_approximation(Particle h, IMP::ParticlesTemp const & other, double resolution=-1)
12816  setup_as_approximation(Particle h, IMP::ParticlesTemp const & other)
12817  setup_as_approximation(Hierarchy h, double resolution=-1)
12818  setup_as_approximation(Hierarchy h)
12819  """
12820  return _IMP_atom.setup_as_approximation(*args)
12821 class _HierarchyTreeVertexIndex(object):
12822  """Proxy of C++ IMP::atom::HierarchyTreeVertexIndex class"""
12823  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12824  __repr__ = _swig_repr
12825 
12826  def __init__(self):
12827  """__init__(IMP::atom::HierarchyTreeVertexIndex self) -> _HierarchyTreeVertexIndex"""
12828  this = _IMP_atom.new__HierarchyTreeVertexIndex()
12829  try:
12830  self.this.append(this)
12831  except:
12832  self.this = this
12833  __swig_destroy__ = _IMP_atom.delete__HierarchyTreeVertexIndex
12834  __del__ = lambda self: None
12835 _HierarchyTreeVertexIndex_swigregister = _IMP_atom._HierarchyTreeVertexIndex_swigregister
12836 _HierarchyTreeVertexIndex_swigregister(_HierarchyTreeVertexIndex)
12837 
12838 
12839 def show_as_graphviz(name, out):
12840  """show_as_graphviz(IMP::atom::HierarchyTree const & name, TextOutput out)"""
12841  return _IMP_atom.show_as_graphviz(name, out)
12842 
12843 def get_vertex_index(g):
12844  """get_vertex_index(IMP::atom::HierarchyTree const & g) -> _HierarchyTreeVertexIndex"""
12845  return _IMP_atom.get_vertex_index(g)
12846 
12847 def get_hierarchy_tree(h):
12848  """get_hierarchy_tree(Hierarchy h) -> IMP::atom::HierarchyTree"""
12849  return _IMP_atom.get_hierarchy_tree(h)
12850 class HierarchyGeometry(IMP.display.SingletonGeometry):
12851  """Proxy of C++ IMP::atom::HierarchyGeometry class"""
12852  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12853 
12854  def __init__(self, d, resolution=0):
12855  """
12856  __init__(IMP::atom::HierarchyGeometry self, Hierarchy d, double resolution=0) -> HierarchyGeometry
12857  __init__(IMP::atom::HierarchyGeometry self, Hierarchy d) -> HierarchyGeometry
12858  """
12859  this = _IMP_atom.new_HierarchyGeometry(d, resolution)
12860  try:
12861  self.this.append(this)
12862  except:
12863  self.this = this
12864 
12865  def get_version_info(self):
12866  """get_version_info(HierarchyGeometry self) -> VersionInfo"""
12867  return _IMP_atom.HierarchyGeometry_get_version_info(self)
12868 
12869 
12870  def __str__(self):
12871  """__str__(HierarchyGeometry self) -> std::string"""
12872  return _IMP_atom.HierarchyGeometry___str__(self)
12873 
12874 
12875  def __repr__(self):
12876  """__repr__(HierarchyGeometry self) -> std::string"""
12877  return _IMP_atom.HierarchyGeometry___repr__(self)
12878 
12879 
12880  @staticmethod
12881  def get_from(o):
12882  return _object_cast_to_HierarchyGeometry(o)
12883 
12884 HierarchyGeometry_swigregister = _IMP_atom.HierarchyGeometry_swigregister
12885 HierarchyGeometry_swigregister(HierarchyGeometry)
12886 
12887 class HierarchiesGeometry(IMP.display.SingletonsGeometry):
12888  """Proxy of C++ IMP::atom::HierarchiesGeometry class"""
12889  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12890 
12891  def __init__(self, sc, resolution=-1):
12892  """
12893  __init__(IMP::atom::HierarchiesGeometry self, SingletonContainer sc, double resolution=-1) -> HierarchiesGeometry
12894  __init__(IMP::atom::HierarchiesGeometry self, SingletonContainer sc) -> HierarchiesGeometry
12895  """
12896  this = _IMP_atom.new_HierarchiesGeometry(sc, resolution)
12897  try:
12898  self.this.append(this)
12899  except:
12900  self.this = this
12901 
12902  def get_version_info(self):
12903  """get_version_info(HierarchiesGeometry self) -> VersionInfo"""
12904  return _IMP_atom.HierarchiesGeometry_get_version_info(self)
12905 
12906 
12907  def __str__(self):
12908  """__str__(HierarchiesGeometry self) -> std::string"""
12909  return _IMP_atom.HierarchiesGeometry___str__(self)
12910 
12911 
12912  def __repr__(self):
12913  """__repr__(HierarchiesGeometry self) -> std::string"""
12914  return _IMP_atom.HierarchiesGeometry___repr__(self)
12915 
12916 
12917  @staticmethod
12918  def get_from(o):
12919  return _object_cast_to_HierarchiesGeometry(o)
12920 
12921 HierarchiesGeometry_swigregister = _IMP_atom.HierarchiesGeometry_swigregister
12922 HierarchiesGeometry_swigregister(HierarchiesGeometry)
12923 
12924 
12925 def transform(*args):
12926  """
12927  transform(Hierarchy h, Transformation3D tr)
12928  transform(Hierarchy h, Transformation3D tr)
12929  """
12930  return _IMP_atom.transform(*args)
12931 class DopePairScore(_ADopeBase):
12932  """Proxy of C++ IMP::atom::DopePairScore class"""
12933  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12934 
12935  def __init__(self, *args):
12936  """
12937  __init__(IMP::atom::DopePairScore self, double threshold) -> DopePairScore
12938  __init__(IMP::atom::DopePairScore self) -> DopePairScore
12939  __init__(IMP::atom::DopePairScore self, double threshold, TextInput data_file) -> DopePairScore
12940  """
12941  this = _IMP_atom.new_DopePairScore(*args)
12942  try:
12943  self.this.append(this)
12944  except:
12945  self.this = this
12946 
12947  def __str__(self):
12948  """__str__(DopePairScore self) -> std::string"""
12949  return _IMP_atom.DopePairScore___str__(self)
12950 
12951 
12952  def __repr__(self):
12953  """__repr__(DopePairScore self) -> std::string"""
12954  return _IMP_atom.DopePairScore___repr__(self)
12955 
12956 
12957  @staticmethod
12958  def get_from(o):
12959  return _object_cast_to_DopePairScore(o)
12960 
12961  __swig_destroy__ = _IMP_atom.delete_DopePairScore
12962  __del__ = lambda self: None
12963 DopePairScore_swigregister = _IMP_atom.DopePairScore_swigregister
12964 DopePairScore_swigregister(DopePairScore)
12965 
12966 
12967 def add_dope_score_data(h):
12968  """add_dope_score_data(Hierarchy h)"""
12969  return _IMP_atom.add_dope_score_data(h)
12970 class LoopStatisticalPairScore(_ALoopStatisticalBase):
12971  """Proxy of C++ IMP::atom::LoopStatisticalPairScore class"""
12972  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
12973 
12974  def __init__(self, *args):
12975  """
12976  __init__(IMP::atom::LoopStatisticalPairScore self, double threshold) -> LoopStatisticalPairScore
12977  __init__(IMP::atom::LoopStatisticalPairScore self) -> LoopStatisticalPairScore
12978  __init__(IMP::atom::LoopStatisticalPairScore self, double threshold, TextInput data_file) -> LoopStatisticalPairScore
12979  """
12980  this = _IMP_atom.new_LoopStatisticalPairScore(*args)
12981  try:
12982  self.this.append(this)
12983  except:
12984  self.this = this
12985 
12986  def __str__(self):
12987  """__str__(LoopStatisticalPairScore self) -> std::string"""
12988  return _IMP_atom.LoopStatisticalPairScore___str__(self)
12989 
12990 
12991  def __repr__(self):
12992  """__repr__(LoopStatisticalPairScore self) -> std::string"""
12993  return _IMP_atom.LoopStatisticalPairScore___repr__(self)
12994 
12995 
12996  @staticmethod
12997  def get_from(o):
12998  return _object_cast_to_LoopStatisticalPairScore(o)
12999 
13000  __swig_destroy__ = _IMP_atom.delete_LoopStatisticalPairScore
13001  __del__ = lambda self: None
13002 LoopStatisticalPairScore_swigregister = _IMP_atom.LoopStatisticalPairScore_swigregister
13003 LoopStatisticalPairScore_swigregister(LoopStatisticalPairScore)
13004 
13005 
13007  """add_loop_statistical_score_data(Hierarchy h)"""
13008  return _IMP_atom.add_loop_statistical_score_data(h)
13009 class OrientedSoapPairScore(_OrientedSoapBase):
13010  """Proxy of C++ IMP::atom::OrientedSoapPairScore class"""
13011  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
13012 
13013  def __init__(self, library):
13014  """__init__(IMP::atom::OrientedSoapPairScore self, std::string library) -> OrientedSoapPairScore"""
13015  this = _IMP_atom.new_OrientedSoapPairScore(library)
13016  try:
13017  self.this.append(this)
13018  except:
13019  self.this = this
13020 
13021  def get_pair_filter(self):
13022  """get_pair_filter(OrientedSoapPairScore self) -> SoapPairFilter"""
13023  return _IMP_atom.OrientedSoapPairScore_get_pair_filter(self)
13024 
13025 
13026  def __str__(self):
13027  """__str__(OrientedSoapPairScore self) -> std::string"""
13028  return _IMP_atom.OrientedSoapPairScore___str__(self)
13029 
13030 
13031  def __repr__(self):
13032  """__repr__(OrientedSoapPairScore self) -> std::string"""
13033  return _IMP_atom.OrientedSoapPairScore___repr__(self)
13034 
13035 
13036  @staticmethod
13037  def get_from(o):
13038  return _object_cast_to_OrientedSoapPairScore(o)
13039 
13040  __swig_destroy__ = _IMP_atom.delete_OrientedSoapPairScore
13041  __del__ = lambda self: None
13042 OrientedSoapPairScore_swigregister = _IMP_atom.OrientedSoapPairScore_swigregister
13043 OrientedSoapPairScore_swigregister(OrientedSoapPairScore)
13044 
13045 class SameResiduePairFilter(IMP.PairPredicate):
13046  """Proxy of C++ IMP::atom::SameResiduePairFilter class"""
13047  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
13048 
13049  def __init__(self):
13050  """__init__(IMP::atom::SameResiduePairFilter self) -> SameResiduePairFilter"""
13051  this = _IMP_atom.new_SameResiduePairFilter()
13052  try:
13053  self.this.append(this)
13054  except:
13055  self.this = this
13056 
13057  def do_get_inputs(self, m, pis):
13058  """do_get_inputs(SameResiduePairFilter self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
13059  return _IMP_atom.SameResiduePairFilter_do_get_inputs(self, m, pis)
13060 
13061 
13062  def get_value(self, *args):
13063  """
13064  get_value(SameResiduePairFilter self, IMP::ParticlePair const & a) -> int
13065  get_value(SameResiduePairFilter self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
13066  """
13067  return _IMP_atom.SameResiduePairFilter_get_value(self, *args)
13068 
13069 
13070  def get_value_index(self, *args):
13071  """
13072  get_value_index(SameResiduePairFilter self, Model m, IMP::ParticleIndexPair const & p) -> int
13073  get_value_index(SameResiduePairFilter self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
13074  """
13075  return _IMP_atom.SameResiduePairFilter_get_value_index(self, *args)
13076 
13077 
13078  def get_version_info(self):
13079  """get_version_info(SameResiduePairFilter self) -> VersionInfo"""
13080  return _IMP_atom.SameResiduePairFilter_get_version_info(self)
13081 
13082 
13083  def __str__(self):
13084  """__str__(SameResiduePairFilter self) -> std::string"""
13085  return _IMP_atom.SameResiduePairFilter___str__(self)
13086 
13087 
13088  def __repr__(self):
13089  """__repr__(SameResiduePairFilter self) -> std::string"""
13090  return _IMP_atom.SameResiduePairFilter___repr__(self)
13091 
13092 
13093  @staticmethod
13094  def get_from(o):
13095  return _object_cast_to_SameResiduePairFilter(o)
13096 
13097 SameResiduePairFilter_swigregister = _IMP_atom.SameResiduePairFilter_swigregister
13098 SameResiduePairFilter_swigregister(SameResiduePairFilter)
13099 
13100 class RemoveRigidMotionOptimizerState(IMP.OptimizerState):
13101  """Proxy of C++ IMP::atom::RemoveRigidMotionOptimizerState class"""
13102  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
13103 
13104  def __init__(self, m, pis):
13105  """__init__(IMP::atom::RemoveRigidMotionOptimizerState self, Model m, _ParticleIndexesAdaptor pis) -> RemoveRigidMotionOptimizerState"""
13106  this = _IMP_atom.new_RemoveRigidMotionOptimizerState(m, pis)
13107  try:
13108  self.this.append(this)
13109  except:
13110  self.this = this
13111 
13112  def set_particles(self, pis):
13113  """set_particles(RemoveRigidMotionOptimizerState self, IMP::Particles const & pis)"""
13114  return _IMP_atom.RemoveRigidMotionOptimizerState_set_particles(self, pis)
13115 
13116 
13117  def remove_rigid_motion(self):
13118  """remove_rigid_motion(RemoveRigidMotionOptimizerState self)"""
13119  return _IMP_atom.RemoveRigidMotionOptimizerState_remove_rigid_motion(self)
13120 
13121 
13122  def get_version_info(self):
13123  """get_version_info(RemoveRigidMotionOptimizerState self) -> VersionInfo"""
13124  return _IMP_atom.RemoveRigidMotionOptimizerState_get_version_info(self)
13125 
13126 
13127  def __str__(self):
13128  """__str__(RemoveRigidMotionOptimizerState self) -> std::string"""
13129  return _IMP_atom.RemoveRigidMotionOptimizerState___str__(self)
13130 
13131 
13132  def __repr__(self):
13133  """__repr__(RemoveRigidMotionOptimizerState self) -> std::string"""
13134  return _IMP_atom.RemoveRigidMotionOptimizerState___repr__(self)
13135 
13136 
13137  @staticmethod
13138  def get_from(o):
13139  return _object_cast_to_RemoveRigidMotionOptimizerState(o)
13140 
13141 RemoveRigidMotionOptimizerState_swigregister = _IMP_atom.RemoveRigidMotionOptimizerState_swigregister
13142 RemoveRigidMotionOptimizerState_swigregister(RemoveRigidMotionOptimizerState)
13143 
13144 class BerendsenThermostatOptimizerState(IMP.OptimizerState):
13145  """Proxy of C++ IMP::atom::BerendsenThermostatOptimizerState class"""
13146  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
13147 
13148  def __init__(self, pis, temperature, tau):
13149  """__init__(IMP::atom::BerendsenThermostatOptimizerState self, IMP::Particles const & pis, double temperature, double tau) -> BerendsenThermostatOptimizerState"""
13150  this = _IMP_atom.new_BerendsenThermostatOptimizerState(pis, temperature, tau)
13151  try:
13152  self.this.append(this)
13153  except:
13154  self.this = this
13155 
13156  def set_particles(self, pis):
13157  """set_particles(BerendsenThermostatOptimizerState self, IMP::Particles const & pis)"""
13158  return _IMP_atom.BerendsenThermostatOptimizerState_set_particles(self, pis)
13159 
13160 
13161  def get_temperature(self):
13162  """get_temperature(BerendsenThermostatOptimizerState self) -> double"""
13163  return _IMP_atom.BerendsenThermostatOptimizerState_get_temperature(self)
13164 
13165 
13166  def get_tau(self):
13167  """get_tau(BerendsenThermostatOptimizerState self) -> double"""
13168  return _IMP_atom.BerendsenThermostatOptimizerState_get_tau(self)
13169 
13170 
13171  def set_temperature(self, temperature):
13172  """set_temperature(BerendsenThermostatOptimizerState self, double temperature)"""
13173  return _IMP_atom.BerendsenThermostatOptimizerState_set_temperature(self, temperature)
13174 
13175 
13176  def set_tau(self, tau):
13177  """set_tau(BerendsenThermostatOptimizerState self, double tau)"""
13178  return _IMP_atom.BerendsenThermostatOptimizerState_set_tau(self, tau)
13179 
13180 
13181  def rescale_velocities(self):
13182  """rescale_velocities(BerendsenThermostatOptimizerState self)"""
13183  return _IMP_atom.BerendsenThermostatOptimizerState_rescale_velocities(self)
13184 
13185 
13186  def get_version_info(self):
13187  """get_version_info(BerendsenThermostatOptimizerState self) -> VersionInfo"""
13188  return _IMP_atom.BerendsenThermostatOptimizerState_get_version_info(self)
13189 
13190 
13191  def __str__(self):
13192  """__str__(BerendsenThermostatOptimizerState self) -> std::string"""
13193  return _IMP_atom.BerendsenThermostatOptimizerState___str__(self)
13194 
13195 
13196  def __repr__(self):
13197  """__repr__(BerendsenThermostatOptimizerState self) -> std::string"""
13198  return _IMP_atom.BerendsenThermostatOptimizerState___repr__(self)
13199 
13200 
13201  @staticmethod
13202  def get_from(o):
13203  return _object_cast_to_BerendsenThermostatOptimizerState(o)
13204 
13205 BerendsenThermostatOptimizerState_swigregister = _IMP_atom.BerendsenThermostatOptimizerState_swigregister
13206 BerendsenThermostatOptimizerState_swigregister(BerendsenThermostatOptimizerState)
13207 
13208 class LangevinThermostatOptimizerState(IMP.OptimizerState):
13209  """Proxy of C++ IMP::atom::LangevinThermostatOptimizerState class"""
13210  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
13211 
13212  def __init__(self, m, pis, temperature, gamma):
13213  """__init__(IMP::atom::LangevinThermostatOptimizerState self, Model m, _ParticleIndexesAdaptor pis, double temperature, double gamma) -> LangevinThermostatOptimizerState"""
13214  this = _IMP_atom.new_LangevinThermostatOptimizerState(m, pis, temperature, gamma)
13215  try:
13216  self.this.append(this)
13217  except:
13218  self.this = this
13219 
13220  def set_particles(self, pis):
13221  """set_particles(LangevinThermostatOptimizerState self, IMP::Particles const & pis)"""
13222  return _IMP_atom.LangevinThermostatOptimizerState_set_particles(self, pis)
13223 
13224 
13225  def get_temperature(self):
13226  """get_temperature(LangevinThermostatOptimizerState self) -> double"""
13227  return _IMP_atom.LangevinThermostatOptimizerState_get_temperature(self)
13228 
13229 
13230  def get_gamma(self):
13231  """get_gamma(LangevinThermostatOptimizerState self) -> double"""
13232  return _IMP_atom.LangevinThermostatOptimizerState_get_gamma(self)
13233 
13234 
13235  def set_temperature(self, temperature):
13236  """set_temperature(LangevinThermostatOptimizerState self, double temperature)"""
13237  return _IMP_atom.LangevinThermostatOptimizerState_set_temperature(self, temperature)
13238 
13239 
13240  def set_gamma(self, gamma):
13241  """set_gamma(LangevinThermostatOptimizerState self, double gamma)"""
13242  return _IMP_atom.LangevinThermostatOptimizerState_set_gamma(self, gamma)
13243 
13244 
13245  def rescale_velocities(self):
13246  """rescale_velocities(LangevinThermostatOptimizerState self)"""
13247  return _IMP_atom.LangevinThermostatOptimizerState_rescale_velocities(self)
13248 
13249 
13250  def get_version_info(self):
13251  """get_version_info(LangevinThermostatOptimizerState self) -> VersionInfo"""
13252  return _IMP_atom.LangevinThermostatOptimizerState_get_version_info(self)
13253 
13254 
13255  def __str__(self):
13256  """__str__(LangevinThermostatOptimizerState self) -> std::string"""
13257  return _IMP_atom.LangevinThermostatOptimizerState___str__(self)
13258 
13259 
13260  def __repr__(self):
13261  """__repr__(LangevinThermostatOptimizerState self) -> std::string"""
13262  return _IMP_atom.LangevinThermostatOptimizerState___repr__(self)
13263 
13264 
13265  @staticmethod
13266  def get_from(o):
13267  return _object_cast_to_LangevinThermostatOptimizerState(o)
13268 
13269 LangevinThermostatOptimizerState_swigregister = _IMP_atom.LangevinThermostatOptimizerState_swigregister
13270 LangevinThermostatOptimizerState_swigregister(LangevinThermostatOptimizerState)
13271 
13272 class PDBSelector(IMP.Object):
13273  """Proxy of C++ IMP::atom::PDBSelector class"""
13274  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
13275 
13276  def __init__(self, name):
13277  """__init__(IMP::atom::PDBSelector self, std::string name) -> PDBSelector"""
13278  if self.__class__ == PDBSelector:
13279  _self = None
13280  else:
13281  _self = self
13282  this = _IMP_atom.new_PDBSelector(_self, name)
13283  try:
13284  self.this.append(this)
13285  except:
13286  self.this = this
13287 
13288  if self.__class__ != PDBSelector:
13289  _director_objects.register(self)
13290 
13291 
13292 
13293 
13294  def get_is_selected(self, pdb_line):
13295  """get_is_selected(PDBSelector self, std::string const & pdb_line) -> bool"""
13296  return _IMP_atom.PDBSelector_get_is_selected(self, pdb_line)
13297 
13298  __swig_destroy__ = _IMP_atom.delete_PDBSelector
13299  __del__ = lambda self: None
13300 
13301  def __str__(self):
13302  """__str__(PDBSelector self) -> std::string"""
13303  return _IMP_atom.PDBSelector___str__(self)
13304 
13305 
13306  def __repr__(self):
13307  """__repr__(PDBSelector self) -> std::string"""
13308  return _IMP_atom.PDBSelector___repr__(self)
13309 
13310 
13311  @staticmethod
13312  def get_from(o):
13313  return _object_cast_to_PDBSelector(o)
13314 
13315 
13316  def get_type_name(self):
13317  return self.__class__.__name__
13318  def do_show(self, out):
13319  pass
13320  def get_version_info(self):
13321  if"IMP::atom" == "IMP":
13322  return VersionInfo(self.__module__,
13323  __import__(self.__module__).get_module_version())
13324  else:
13325  return IMP.VersionInfo(self.__module__,
13326  __import__(self.__module__).get_module_version())
13327  @staticmethod
13328  def get_from(o):
13329  return _object_cast_to_PDBSelector(o)
13330 
13331 
13332  def __and__(self, s):
13333  return AndPDBSelector(self, s)
13334  def __or__(self, s):
13335  return OrPDBSelector(self, s)
13336  def __xor__(self, s):
13337  return XorPDBSelector(self, s)
13338  def __invert__(self):
13339  return NotPDBSelector(self)
13340  def __sub__(self, s):
13341  return AndPDBSelector(self, NotPDBSelector(s))
13342 
13343  def __disown__(self):
13344  self.this.disown()
13345  _IMP_atom.disown_PDBSelector(self)
13346  return weakref_proxy(self)
13347 
13348  def do_destroy(self):
13349  """do_destroy(PDBSelector self)"""
13350  return _IMP_atom.PDBSelector_do_destroy(self)
13351 
13352 PDBSelector_swigregister = _IMP_atom.PDBSelector_swigregister
13353 PDBSelector_swigregister(PDBSelector)
13354 
13355 class NonAlternativePDBSelector(PDBSelector):
13356  """Proxy of C++ IMP::atom::NonAlternativePDBSelector class"""
13357  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
13358 
13359  def __init__(self, *args):
13360  """
13361  __init__(IMP::atom::NonAlternativePDBSelector self, std::string name) -> NonAlternativePDBSelector
13362  __init__(IMP::atom::NonAlternativePDBSelector self) -> NonAlternativePDBSelector
13363  """
13364  this = _IMP_atom.new_NonAlternativePDBSelector(*args)
13365  try:
13366  self.this.append(this)
13367  except:
13368  self.this = this
13369 
13370  def get_version_info(self):
13371  """get_version_info(NonAlternativePDBSelector self) -> VersionInfo"""
13372  return _IMP_atom.NonAlternativePDBSelector_get_version_info(self)
13373 
13374 
13375  def __str__(self):
13376  """__str__(NonAlternativePDBSelector self) -> std::string"""
13377  return _IMP_atom.NonAlternativePDBSelector___str__(self)
13378 
13379 
13380  def __repr__(self):
13381  """__repr__(NonAlternativePDBSelector self) -> std::string"""
13382  return _IMP_atom.NonAlternativePDBSelector___repr__(self)
13383 
13384 
13385  @staticmethod
13386  def get_from(o):
13387  return _object_cast_to_NonAlternativePDBSelector(o)
13388 
13389 NonAlternativePDBSelector_swigregister = _IMP_atom.NonAlternativePDBSelector_swigregister
13390 NonAlternativePDBSelector_swigregister(NonAlternativePDBSelector)
13391 
13392 class ATOMPDBSelector(NonAlternativePDBSelector):
13393  """Proxy of C++ IMP::atom::ATOMPDBSelector class"""
13394  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
13395 
13396  def __init__(self, *args):
13397  """
13398  __init__(IMP::atom::ATOMPDBSelector self, std::string name) -> ATOMPDBSelector
13399  __init__(IMP::atom::ATOMPDBSelector self) -> ATOMPDBSelector
13400  """
13401  this = _IMP_atom.new_ATOMPDBSelector(*args)
13402  try:
13403  self.this.append(this)
13404  except:
13405  self.this = this
13406 
13407  def __str__(self):
13408  """__str__(ATOMPDBSelector self) -> std::string"""
13409  return _IMP_atom.ATOMPDBSelector___str__(self)
13410 
13411 
13412  def __repr__(self):
13413  """__repr__(ATOMPDBSelector self) -> std::string"""
13414  return _IMP_atom.ATOMPDBSelector___repr__(self)
13415 
13416 
13417  @staticmethod
13418  def get_from(o):
13419  return _object_cast_to_ATOMPDBSelector(o)
13420 
13421 ATOMPDBSelector_swigregister = _IMP_atom.ATOMPDBSelector_swigregister
13422 ATOMPDBSelector_swigregister(ATOMPDBSelector)
13423 
13424 class CAlphaPDBSelector(NonAlternativePDBSelector):
13425  """Proxy of C++ IMP::atom::CAlphaPDBSelector class"""
13426  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
13427 
13428  def __init__(self, *args):
13429  """
13430  __init__(IMP::atom::CAlphaPDBSelector self, std::string name) -> CAlphaPDBSelector
13431  __init__(IMP::atom::CAlphaPDBSelector self) -> CAlphaPDBSelector
13432  """
13433  this = _IMP_atom.new_CAlphaPDBSelector(*args)
13434  try:
13435  self.this.append(this)
13436  except:
13437  self.this = this
13438 
13439  def __str__(self):
13440  """__str__(CAlphaPDBSelector self) -> std::string"""
13441  return _IMP_atom.CAlphaPDBSelector___str__(self)
13442 
13443 
13444  def __repr__(self):
13445  """__repr__(CAlphaPDBSelector self) -> std::string"""
13446  return _IMP_atom.CAlphaPDBSelector___repr__(self)
13447 
13448 
13449  @staticmethod
13450  def get_from(o):
13451  return _object_cast_to_CAlphaPDBSelector(o)
13452 
13453 CAlphaPDBSelector_swigregister = _IMP_atom.CAlphaPDBSelector_swigregister
13454 CAlphaPDBSelector_swigregister(CAlphaPDBSelector)
13455 
13456 class CBetaPDBSelector(NonAlternativePDBSelector):
13457  """Proxy of C++ IMP::atom::CBetaPDBSelector class"""
13458  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
13459 
13460  def __init__(self, *args):
13461  """
13462  __init__(IMP::atom::CBetaPDBSelector self, std::string name) -> CBetaPDBSelector
13463  __init__(IMP::atom::CBetaPDBSelector self) -> CBetaPDBSelector
13464  """
13465  this = _IMP_atom.new_CBetaPDBSelector(*args)
13466  try:
13467  self.this.append(this)
13468  except:
13469  self.this = this
13470 
13471  def __str__(self):
13472  """__str__(CBetaPDBSelector self) -> std::string"""
13473  return _IMP_atom.CBetaPDBSelector___str__(self)
13474 
13475 
13476  def __repr__(self):
13477  """__repr__(CBetaPDBSelector self) -> std::string"""
13478  return _IMP_atom.CBetaPDBSelector___repr__(self)
13479 
13480 
13481  @staticmethod
13482  def get_from(o):
13483  return _object_cast_to_CBetaPDBSelector(o)
13484 
13485 CBetaPDBSelector_swigregister = _IMP_atom.CBetaPDBSelector_swigregister
13486 CBetaPDBSelector_swigregister(CBetaPDBSelector)
13487 
13488 class AtomTypePDBSelector(PDBSelector):
13489  """Proxy of C++ IMP::atom::AtomTypePDBSelector class"""
13490  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
13491 
13492  def __init__(self, *args):
13493  """
13494  __init__(IMP::atom::AtomTypePDBSelector self, IMP::Strings atom_types, std::string name) -> AtomTypePDBSelector
13495  __init__(IMP::atom::AtomTypePDBSelector self, IMP::Strings atom_types) -> AtomTypePDBSelector
13496  """
13497  this = _IMP_atom.new_AtomTypePDBSelector(*args)
13498  try:
13499  self.this.append(this)
13500  except:
13501  self.this = this
13502 
13503  def get_version_info(self):
13504  """get_version_info(AtomTypePDBSelector self) -> VersionInfo"""
13505  return _IMP_atom.AtomTypePDBSelector_get_version_info(self)
13506 
13507 
13508  def __str__(self):
13509  """__str__(AtomTypePDBSelector self) -> std::string"""
13510  return _IMP_atom.AtomTypePDBSelector___str__(self)
13511 
13512 
13513  def __repr__(self):
13514  """__repr__(AtomTypePDBSelector self) -> std::string"""
13515  return _IMP_atom.AtomTypePDBSelector___repr__(self)
13516 
13517 
13518  @staticmethod
13519  def get_from(o):
13520  return _object_cast_to_AtomTypePDBSelector(o)
13521 
13522 AtomTypePDBSelector_swigregister = _IMP_atom.AtomTypePDBSelector_swigregister
13523 AtomTypePDBSelector_swigregister(AtomTypePDBSelector)
13524 
13525 class ResidueTypePDBSelector(PDBSelector):
13526  """Proxy of C++ IMP::atom::ResidueTypePDBSelector class"""
13527  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
13528 
13529  def __init__(self, *args):
13530  """
13531  __init__(IMP::atom::ResidueTypePDBSelector self, IMP::Strings residue_types, std::string name) -> ResidueTypePDBSelector
13532  __init__(IMP::atom::ResidueTypePDBSelector self, IMP::Strings residue_types) -> ResidueTypePDBSelector
13533  """
13534  this = _IMP_atom.new_ResidueTypePDBSelector(*args)
13535  try:
13536  self.this.append(this)
13537  except:
13538  self.this = this
13539 
13540  def get_version_info(self):
13541  """get_version_info(ResidueTypePDBSelector self) -> VersionInfo"""
13542  return _IMP_atom.ResidueTypePDBSelector_get_version_info(self)
13543 
13544 
13545  def __str__(self):
13546  """__str__(ResidueTypePDBSelector self) -> std::string"""
13547  return _IMP_atom.ResidueTypePDBSelector___str__(self)
13548 
13549 
13550  def __repr__(self):
13551  """__repr__(ResidueTypePDBSelector self) -> std::string"""
13552  return _IMP_atom.ResidueTypePDBSelector___repr__(self)
13553 
13554 
13555  @staticmethod
13556  def get_from(o):
13557  return _object_cast_to_ResidueTypePDBSelector(o)
13558 
13559 ResidueTypePDBSelector_swigregister = _IMP_atom.ResidueTypePDBSelector_swigregister
13560 ResidueTypePDBSelector_swigregister(ResidueTypePDBSelector)
13561 
13562 class CPDBSelector(NonAlternativePDBSelector):
13563  """Proxy of C++ IMP::atom::CPDBSelector class"""
13564  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
13565 
13566  def __init__(self, *args):
13567  """
13568  __init__(IMP::atom::CPDBSelector self, std::string name) -> CPDBSelector
13569  __init__(IMP::atom::CPDBSelector self) -> CPDBSelector
13570  """
13571  this = _IMP_atom.new_CPDBSelector(*args)
13572  try:
13573  self.this.append(this)
13574  except:
13575  self.this = this
13576 
13577  def __str__(self):
13578  """__str__(CPDBSelector self) -> std::string"""
13579  return _IMP_atom.CPDBSelector___str__(self)
13580 
13581 
13582  def __repr__(self):
13583  """__repr__(CPDBSelector self) -> std::string"""
13584  return _IMP_atom.CPDBSelector___repr__(self)
13585 
13586 
13587  @staticmethod
13588  def get_from(o):
13589  return _object_cast_to_CPDBSelector(o)
13590 
13591 CPDBSelector_swigregister = _IMP_atom.CPDBSelector_swigregister
13592 CPDBSelector_swigregister(CPDBSelector)
13593 
13594 class NPDBSelector(NonAlternativePDBSelector):
13595  """Proxy of C++ IMP::atom::NPDBSelector class"""
13596  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
13597 
13598  def __init__(self, *args):
13599  """
13600  __init__(IMP::atom::NPDBSelector self, std::string name) -> NPDBSelector
13601  __init__(IMP::atom::NPDBSelector self) -> NPDBSelector
13602  """
13603  this = _IMP_atom.new_NPDBSelector(*args)
13604  try:
13605  self.this.append(this)
13606  except:
13607  self.this = this
13608 
13609  def __str__(self):
13610  """__str__(NPDBSelector self) -> std::string"""
13611  return _IMP_atom.NPDBSelector___str__(self)
13612 
13613 
13614  def __repr__(self):
13615  """__repr__(NPDBSelector self) -> std::string"""
13616  return _IMP_atom.NPDBSelector___repr__(self)
13617 
13618 
13619  @staticmethod
13620  def get_from(o):
13621  return _object_cast_to_NPDBSelector(o)
13622 
13623 NPDBSelector_swigregister = _IMP_atom.NPDBSelector_swigregister
13624 NPDBSelector_swigregister(NPDBSelector)
13625 
13626 class AllPDBSelector(PDBSelector):
13627  """Proxy of C++ IMP::atom::AllPDBSelector class"""
13628  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
13629 
13630  def __init__(self, *args):
13631  """
13632  __init__(IMP::atom::AllPDBSelector self, std::string name) -> AllPDBSelector
13633  __init__(IMP::atom::AllPDBSelector self) -> AllPDBSelector
13634  """
13635  this = _IMP_atom.new_AllPDBSelector(*args)
13636  try:
13637  self.this.append(this)
13638  except:
13639  self.this = this
13640 
13641  def get_version_info(self):
13642  """get_version_info(AllPDBSelector self) -> VersionInfo"""
13643  return _IMP_atom.AllPDBSelector_get_version_info(self)
13644 
13645 
13646  def __str__(self):
13647  """__str__(AllPDBSelector self) -> std::string"""
13648  return _IMP_atom.AllPDBSelector___str__(self)
13649 
13650 
13651  def __repr__(self):
13652  """__repr__(AllPDBSelector self) -> std::string"""
13653  return _IMP_atom.AllPDBSelector___repr__(self)
13654 
13655 
13656  @staticmethod
13657  def get_from(o):
13658  return _object_cast_to_AllPDBSelector(o)
13659 
13660 AllPDBSelector_swigregister = _IMP_atom.AllPDBSelector_swigregister
13661 AllPDBSelector_swigregister(AllPDBSelector)
13662 
13663 class ChainPDBSelector(NonAlternativePDBSelector):
13664  """Proxy of C++ IMP::atom::ChainPDBSelector class"""
13665  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
13666 
13667  def __init__(self, *args):
13668  """
13669  __init__(IMP::atom::ChainPDBSelector self, std::string const & chains, std::string name) -> ChainPDBSelector
13670  __init__(IMP::atom::ChainPDBSelector self, std::string const & chains) -> ChainPDBSelector
13671  """
13672  this = _IMP_atom.new_ChainPDBSelector(*args)
13673  try:
13674  self.this.append(this)
13675  except:
13676  self.this = this
13677 
13678  def __str__(self):
13679  """__str__(ChainPDBSelector self) -> std::string"""
13680  return _IMP_atom.ChainPDBSelector___str__(self)
13681 
13682 
13683  def __repr__(self):
13684  """__repr__(ChainPDBSelector self) -> std::string"""
13685  return _IMP_atom.ChainPDBSelector___repr__(self)
13686 
13687 
13688  @staticmethod
13689  def get_from(o):
13690  return _object_cast_to_ChainPDBSelector(o)
13691 
13692 ChainPDBSelector_swigregister = _IMP_atom.ChainPDBSelector_swigregister
13693 ChainPDBSelector_swigregister(ChainPDBSelector)
13694 
13695 class WaterPDBSelector(NonAlternativePDBSelector):
13696  """Proxy of C++ IMP::atom::WaterPDBSelector class"""
13697  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
13698 
13699  def __init__(self, *args):
13700  """
13701  __init__(IMP::atom::WaterPDBSelector self, std::string name) -> WaterPDBSelector
13702  __init__(IMP::atom::WaterPDBSelector self) -> WaterPDBSelector
13703  """
13704  this = _IMP_atom.new_WaterPDBSelector(*args)
13705  try:
13706  self.this.append(this)
13707  except:
13708  self.this = this
13709 
13710  def __str__(self):
13711  """__str__(WaterPDBSelector self) -> std::string"""
13712  return _IMP_atom.WaterPDBSelector___str__(self)
13713 
13714 
13715  def __repr__(self):
13716  """__repr__(WaterPDBSelector self) -> std::string"""
13717  return _IMP_atom.WaterPDBSelector___repr__(self)
13718 
13719 
13720  @staticmethod
13721  def get_from(o):
13722  return _object_cast_to_WaterPDBSelector(o)
13723 
13724 WaterPDBSelector_swigregister = _IMP_atom.WaterPDBSelector_swigregister
13725 WaterPDBSelector_swigregister(WaterPDBSelector)
13726 
13727 class HydrogenPDBSelector(NonAlternativePDBSelector):
13728  """Proxy of C++ IMP::atom::HydrogenPDBSelector class"""
13729  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
13730 
13731  def __init__(self, *args):
13732  """
13733  __init__(IMP::atom::HydrogenPDBSelector self, std::string name) -> HydrogenPDBSelector
13734  __init__(IMP::atom::HydrogenPDBSelector self) -> HydrogenPDBSelector
13735  """
13736  this = _IMP_atom.new_HydrogenPDBSelector(*args)
13737  try:
13738  self.this.append(this)
13739  except:
13740  self.this = this
13741 
13742  def __str__(self):
13743  """__str__(HydrogenPDBSelector self) -> std::string"""
13744  return _IMP_atom.HydrogenPDBSelector___str__(self)
13745 
13746 
13747  def __repr__(self):
13748  """__repr__(HydrogenPDBSelector self) -> std::string"""
13749  return _IMP_atom.HydrogenPDBSelector___repr__(self)
13750 
13751 
13752  @staticmethod
13753  def get_from(o):
13754  return _object_cast_to_HydrogenPDBSelector(o)
13755 
13756 HydrogenPDBSelector_swigregister = _IMP_atom.HydrogenPDBSelector_swigregister
13757 HydrogenPDBSelector_swigregister(HydrogenPDBSelector)
13758 
13759 class NonWaterNonHydrogenPDBSelector(NonAlternativePDBSelector):
13760  """Proxy of C++ IMP::atom::NonWaterNonHydrogenPDBSelector class"""
13761  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
13762 
13763  def __init__(self, *args):
13764  """
13765  __init__(IMP::atom::NonWaterNonHydrogenPDBSelector self, std::string name) -> NonWaterNonHydrogenPDBSelector
13766  __init__(IMP::atom::NonWaterNonHydrogenPDBSelector self) -> NonWaterNonHydrogenPDBSelector
13767  """
13768  this = _IMP_atom.new_NonWaterNonHydrogenPDBSelector(*args)
13769  try:
13770  self.this.append(this)
13771  except:
13772  self.this = this
13773 
13774  def __str__(self):
13775  """__str__(NonWaterNonHydrogenPDBSelector self) -> std::string"""
13776  return _IMP_atom.NonWaterNonHydrogenPDBSelector___str__(self)
13777 
13778 
13779  def __repr__(self):
13780  """__repr__(NonWaterNonHydrogenPDBSelector self) -> std::string"""
13781  return _IMP_atom.NonWaterNonHydrogenPDBSelector___repr__(self)
13782 
13783 
13784  @staticmethod
13785  def get_from(o):
13786  return _object_cast_to_NonWaterNonHydrogenPDBSelector(o)
13787 
13788 NonWaterNonHydrogenPDBSelector_swigregister = _IMP_atom.NonWaterNonHydrogenPDBSelector_swigregister
13789 NonWaterNonHydrogenPDBSelector_swigregister(NonWaterNonHydrogenPDBSelector)
13790 
13791 class NonHydrogenPDBSelector(NonAlternativePDBSelector):
13792  """Proxy of C++ IMP::atom::NonHydrogenPDBSelector class"""
13793  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
13794 
13795  def __init__(self, *args):
13796  """
13797  __init__(IMP::atom::NonHydrogenPDBSelector self, std::string name) -> NonHydrogenPDBSelector
13798  __init__(IMP::atom::NonHydrogenPDBSelector self) -> NonHydrogenPDBSelector
13799  """
13800  this = _IMP_atom.new_NonHydrogenPDBSelector(*args)
13801  try:
13802  self.this.append(this)
13803  except:
13804  self.this = this
13805 
13806  def __str__(self):
13807  """__str__(NonHydrogenPDBSelector self) -> std::string"""
13808  return _IMP_atom.NonHydrogenPDBSelector___str__(self)
13809 
13810 
13811  def __repr__(self):
13812  """__repr__(NonHydrogenPDBSelector self) -> std::string"""
13813  return _IMP_atom.NonHydrogenPDBSelector___repr__(self)
13814 
13815 
13816  @staticmethod
13817  def get_from(o):
13818  return _object_cast_to_NonHydrogenPDBSelector(o)
13819 
13820 NonHydrogenPDBSelector_swigregister = _IMP_atom.NonHydrogenPDBSelector_swigregister
13821 NonHydrogenPDBSelector_swigregister(NonHydrogenPDBSelector)
13822 
13823 class NonWaterPDBSelector(NonAlternativePDBSelector):
13824  """Proxy of C++ IMP::atom::NonWaterPDBSelector class"""
13825  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
13826 
13827  def __init__(self, *args):
13828  """
13829  __init__(IMP::atom::NonWaterPDBSelector self, std::string name) -> NonWaterPDBSelector
13830  __init__(IMP::atom::NonWaterPDBSelector self) -> NonWaterPDBSelector
13831  """
13832  this = _IMP_atom.new_NonWaterPDBSelector(*args)
13833  try:
13834  self.this.append(this)
13835  except:
13836  self.this = this
13837 
13838  def __str__(self):
13839  """__str__(NonWaterPDBSelector self) -> std::string"""
13840  return _IMP_atom.NonWaterPDBSelector___str__(self)
13841 
13842 
13843  def __repr__(self):
13844  """__repr__(NonWaterPDBSelector self) -> std::string"""
13845  return _IMP_atom.NonWaterPDBSelector___repr__(self)
13846 
13847 
13848  @staticmethod
13849  def get_from(o):
13850  return _object_cast_to_NonWaterPDBSelector(o)
13851 
13852 NonWaterPDBSelector_swigregister = _IMP_atom.NonWaterPDBSelector_swigregister
13853 NonWaterPDBSelector_swigregister(NonWaterPDBSelector)
13854 
13855 class BackbonePDBSelector(NonWaterNonHydrogenPDBSelector):
13856  """Proxy of C++ IMP::atom::BackbonePDBSelector class"""
13857  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
13858 
13859  def __init__(self, *args):
13860  """
13861  __init__(IMP::atom::BackbonePDBSelector self, std::string name) -> BackbonePDBSelector
13862  __init__(IMP::atom::BackbonePDBSelector self) -> BackbonePDBSelector
13863  """
13864  this = _IMP_atom.new_BackbonePDBSelector(*args)
13865  try:
13866  self.this.append(this)
13867  except:
13868  self.this = this
13869 
13870  def __str__(self):
13871  """__str__(BackbonePDBSelector self) -> std::string"""
13872  return _IMP_atom.BackbonePDBSelector___str__(self)
13873 
13874 
13875  def __repr__(self):
13876  """__repr__(BackbonePDBSelector self) -> std::string"""
13877  return _IMP_atom.BackbonePDBSelector___repr__(self)
13878 
13879 
13880  @staticmethod
13881  def get_from(o):
13882  return _object_cast_to_BackbonePDBSelector(o)
13883 
13884 BackbonePDBSelector_swigregister = _IMP_atom.BackbonePDBSelector_swigregister
13885 BackbonePDBSelector_swigregister(BackbonePDBSelector)
13886 
13887 class PPDBSelector(NonAlternativePDBSelector):
13888  """Proxy of C++ IMP::atom::PPDBSelector class"""
13889  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
13890 
13891  def __init__(self, *args):
13892  """
13893  __init__(IMP::atom::PPDBSelector self, std::string name) -> PPDBSelector
13894  __init__(IMP::atom::PPDBSelector self) -> PPDBSelector
13895  """
13896  this = _IMP_atom.new_PPDBSelector(*args)
13897  try:
13898  self.this.append(this)
13899  except:
13900  self.this = this
13901 
13902  def __str__(self):
13903  """__str__(PPDBSelector self) -> std::string"""
13904  return _IMP_atom.PPDBSelector___str__(self)
13905 
13906 
13907  def __repr__(self):
13908  """__repr__(PPDBSelector self) -> std::string"""
13909  return _IMP_atom.PPDBSelector___repr__(self)
13910 
13911 
13912  @staticmethod
13913  def get_from(o):
13914  return _object_cast_to_PPDBSelector(o)
13915 
13916 PPDBSelector_swigregister = _IMP_atom.PPDBSelector_swigregister
13917 PPDBSelector_swigregister(PPDBSelector)
13918 
13919 class AndPDBSelector(PDBSelector):
13920  """Proxy of C++ IMP::atom::AndPDBSelector class"""
13921  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
13922 
13923  def get_version_info(self):
13924  """get_version_info(AndPDBSelector self) -> VersionInfo"""
13925  return _IMP_atom.AndPDBSelector_get_version_info(self)
13926 
13927 
13928  def __init__(self, a, b):
13929  """__init__(IMP::atom::AndPDBSelector self, PDBSelector a, PDBSelector b) -> AndPDBSelector"""
13930  this = _IMP_atom.new_AndPDBSelector(a, b)
13931  try:
13932  self.this.append(this)
13933  except:
13934  self.this = this
13935 
13936  def __str__(self):
13937  """__str__(AndPDBSelector self) -> std::string"""
13938  return _IMP_atom.AndPDBSelector___str__(self)
13939 
13940 
13941  def __repr__(self):
13942  """__repr__(AndPDBSelector self) -> std::string"""
13943  return _IMP_atom.AndPDBSelector___repr__(self)
13944 
13945 
13946  @staticmethod
13947  def get_from(o):
13948  return _object_cast_to_AndPDBSelector(o)
13949 
13950 AndPDBSelector_swigregister = _IMP_atom.AndPDBSelector_swigregister
13951 AndPDBSelector_swigregister(AndPDBSelector)
13952 
13953 class OrPDBSelector(PDBSelector):
13954  """Proxy of C++ IMP::atom::OrPDBSelector class"""
13955  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
13956 
13957  def get_version_info(self):
13958  """get_version_info(OrPDBSelector self) -> VersionInfo"""
13959  return _IMP_atom.OrPDBSelector_get_version_info(self)
13960 
13961 
13962  def __init__(self, a, b):
13963  """__init__(IMP::atom::OrPDBSelector self, PDBSelector a, PDBSelector b) -> OrPDBSelector"""
13964  this = _IMP_atom.new_OrPDBSelector(a, b)
13965  try:
13966  self.this.append(this)
13967  except:
13968  self.this = this
13969 
13970  def __str__(self):
13971  """__str__(OrPDBSelector self) -> std::string"""
13972  return _IMP_atom.OrPDBSelector___str__(self)
13973 
13974 
13975  def __repr__(self):
13976  """__repr__(OrPDBSelector self) -> std::string"""
13977  return _IMP_atom.OrPDBSelector___repr__(self)
13978 
13979 
13980  @staticmethod
13981  def get_from(o):
13982  return _object_cast_to_OrPDBSelector(o)
13983 
13984 OrPDBSelector_swigregister = _IMP_atom.OrPDBSelector_swigregister
13985 OrPDBSelector_swigregister(OrPDBSelector)
13986 
13987 class XorPDBSelector(PDBSelector):
13988  """Proxy of C++ IMP::atom::XorPDBSelector class"""
13989  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
13990 
13991  def get_version_info(self):
13992  """get_version_info(XorPDBSelector self) -> VersionInfo"""
13993  return _IMP_atom.XorPDBSelector_get_version_info(self)
13994 
13995 
13996  def __init__(self, a, b):
13997  """__init__(IMP::atom::XorPDBSelector self, PDBSelector a, PDBSelector b) -> XorPDBSelector"""
13998  this = _IMP_atom.new_XorPDBSelector(a, b)
13999  try:
14000  self.this.append(this)
14001  except:
14002  self.this = this
14003 
14004  def __str__(self):
14005  """__str__(XorPDBSelector self) -> std::string"""
14006  return _IMP_atom.XorPDBSelector___str__(self)
14007 
14008 
14009  def __repr__(self):
14010  """__repr__(XorPDBSelector self) -> std::string"""
14011  return _IMP_atom.XorPDBSelector___repr__(self)
14012 
14013 
14014  @staticmethod
14015  def get_from(o):
14016  return _object_cast_to_XorPDBSelector(o)
14017 
14018 XorPDBSelector_swigregister = _IMP_atom.XorPDBSelector_swigregister
14019 XorPDBSelector_swigregister(XorPDBSelector)
14020 
14021 class NotPDBSelector(PDBSelector):
14022  """Proxy of C++ IMP::atom::NotPDBSelector class"""
14023  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
14024 
14025  def get_version_info(self):
14026  """get_version_info(NotPDBSelector self) -> VersionInfo"""
14027  return _IMP_atom.NotPDBSelector_get_version_info(self)
14028 
14029 
14030  def __init__(self, a):
14031  """__init__(IMP::atom::NotPDBSelector self, PDBSelector a) -> NotPDBSelector"""
14032  this = _IMP_atom.new_NotPDBSelector(a)
14033  try:
14034  self.this.append(this)
14035  except:
14036  self.this = this
14037 
14038  def __str__(self):
14039  """__str__(NotPDBSelector self) -> std::string"""
14040  return _IMP_atom.NotPDBSelector___str__(self)
14041 
14042 
14043  def __repr__(self):
14044  """__repr__(NotPDBSelector self) -> std::string"""
14045  return _IMP_atom.NotPDBSelector___repr__(self)
14046 
14047 
14048  @staticmethod
14049  def get_from(o):
14050  return _object_cast_to_NotPDBSelector(o)
14051 
14052 NotPDBSelector_swigregister = _IMP_atom.NotPDBSelector_swigregister
14053 NotPDBSelector_swigregister(NotPDBSelector)
14054 
14055 
14056 def get_default_pdb_selector():
14057  """get_default_pdb_selector() -> PDBSelector"""
14058  return _IMP_atom.get_default_pdb_selector()
14059 
14060 def read_pdb(*args):
14061  """
14062  read_pdb(TextInput input, Model model, PDBSelector selector, bool select_first_model=True, bool no_radii=False) -> Hierarchy
14063  read_pdb(TextInput input, Model model, PDBSelector selector, bool select_first_model=True) -> Hierarchy
14064  read_pdb(TextInput input, Model model, PDBSelector selector) -> Hierarchy
14065  read_pdb(TextInput input, Model model) -> Hierarchy
14066  read_pdb(TextInput input, int model, Hierarchy h)
14067  """
14068  return _IMP_atom.read_pdb(*args)
14069 
14070 def read_multimodel_pdb(*args):
14071  """
14072  read_multimodel_pdb(TextInput input, Model model, PDBSelector selector, bool noradii=False) -> IMP::atom::Hierarchies
14073  read_multimodel_pdb(TextInput input, Model model, PDBSelector selector) -> IMP::atom::Hierarchies
14074  read_multimodel_pdb(TextInput input, Model model) -> IMP::atom::Hierarchies
14075  """
14076  return _IMP_atom.read_multimodel_pdb(*args)
14077 
14078 def write_pdb(mhd, out, model=1):
14079  """
14080  write_pdb(Selection mhd, TextOutput out, unsigned int model=1)
14081  write_pdb(Selection mhd, TextOutput out)
14082  """
14083  return _IMP_atom.write_pdb(mhd, out, model)
14084 
14085 def write_pdb_of_c_alphas(mhd, out, model=1):
14086  """
14087  write_pdb_of_c_alphas(Selection mhd, TextOutput out, unsigned int model=1)
14088  write_pdb_of_c_alphas(Selection mhd, TextOutput out)
14089  """
14090  return _IMP_atom.write_pdb_of_c_alphas(mhd, out, model)
14091 
14092 def write_multimodel_pdb(mhd, out):
14093  """write_multimodel_pdb(IMP::atom::Hierarchies const & mhd, TextOutput out)"""
14094  return _IMP_atom.write_multimodel_pdb(mhd, out)
14095 
14096 def get_pdb_string(*args):
14097  """
14098  get_pdb_string(Vector3D v, int index=-1, AtomType at, ResidueType rt, char chain, int res_index=1, char res_icode, double occupancy=1.00, double tempFactor=0.00, IMP::atom::Element e) -> std::string
14099  get_pdb_string(Vector3D v, int index=-1, AtomType at, ResidueType rt, char chain, int res_index=1, char res_icode, double occupancy=1.00, double tempFactor=0.00) -> std::string
14100  get_pdb_string(Vector3D v, int index=-1, AtomType at, ResidueType rt, char chain, int res_index=1, char res_icode, double occupancy=1.00) -> std::string
14101  get_pdb_string(Vector3D v, int index=-1, AtomType at, ResidueType rt, char chain, int res_index=1, char res_icode) -> std::string
14102  get_pdb_string(Vector3D v, int index=-1, AtomType at, ResidueType rt, char chain, int res_index=1) -> std::string
14103  get_pdb_string(Vector3D v, int index=-1, AtomType at, ResidueType rt, char chain) -> std::string
14104  get_pdb_string(Vector3D v, int index=-1, AtomType at, ResidueType rt) -> std::string
14105  get_pdb_string(Vector3D v, int index=-1, AtomType at) -> std::string
14106  get_pdb_string(Vector3D v, int index=-1) -> std::string
14107  get_pdb_string(Vector3D v) -> std::string
14108  """
14109  return _IMP_atom.get_pdb_string(*args)
14110 
14111 def get_pdb_conect_record_string(arg1, arg2):
14112  """get_pdb_conect_record_string(int arg1, int arg2) -> std::string"""
14113  return _IMP_atom.get_pdb_conect_record_string(arg1, arg2)
14114 class WritePDBOptimizerState(IMP.OptimizerState):
14115  """Proxy of C++ IMP::atom::WritePDBOptimizerState class"""
14116  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
14117 
14118  def __init__(self, *args):
14119  """
14120  __init__(IMP::atom::WritePDBOptimizerState self, Model m, _ParticleIndexesAdaptor pis, std::string filename) -> WritePDBOptimizerState
14121  __init__(IMP::atom::WritePDBOptimizerState self, IMP::atom::Hierarchies const mh, std::string filename) -> WritePDBOptimizerState
14122  """
14123  this = _IMP_atom.new_WritePDBOptimizerState(*args)
14124  try:
14125  self.this.append(this)
14126  except:
14127  self.this = this
14128 
14129  def get_version_info(self):
14130  """get_version_info(WritePDBOptimizerState self) -> VersionInfo"""
14131  return _IMP_atom.WritePDBOptimizerState_get_version_info(self)
14132 
14133 
14134  def __str__(self):
14135  """__str__(WritePDBOptimizerState self) -> std::string"""
14136  return _IMP_atom.WritePDBOptimizerState___str__(self)
14137 
14138 
14139  def __repr__(self):
14140  """__repr__(WritePDBOptimizerState self) -> std::string"""
14141  return _IMP_atom.WritePDBOptimizerState___repr__(self)
14142 
14143 
14144  @staticmethod
14145  def get_from(o):
14146  return _object_cast_to_WritePDBOptimizerState(o)
14147 
14148 WritePDBOptimizerState_swigregister = _IMP_atom.WritePDBOptimizerState_swigregister
14149 WritePDBOptimizerState_swigregister(WritePDBOptimizerState)
14150 
14151 
14152 def read_multimodel_mmcif(*args):
14153  """
14154  read_multimodel_mmcif(TextInput input, Model model, PDBSelector selector, bool noradii=False) -> IMP::atom::Hierarchies
14155  read_multimodel_mmcif(TextInput input, Model model, PDBSelector selector) -> IMP::atom::Hierarchies
14156  read_multimodel_mmcif(TextInput input, Model model) -> IMP::atom::Hierarchies
14157  """
14158  return _IMP_atom.read_multimodel_mmcif(*args)
14159 
14160 def read_mmcif(*args):
14161  """
14162  read_mmcif(TextInput input, Model model, PDBSelector selector, bool select_first_model=True, bool noradii=False) -> Hierarchy
14163  read_mmcif(TextInput input, Model model, PDBSelector selector, bool select_first_model=True) -> Hierarchy
14164  read_mmcif(TextInput input, Model model, PDBSelector selector) -> Hierarchy
14165  read_mmcif(TextInput input, Model model) -> Hierarchy
14166  """
14167  return _IMP_atom.read_mmcif(*args)
14168 
14169 def read_pdb_or_mmcif(*args):
14170  """
14171  read_pdb_or_mmcif(TextInput input, Model model, PDBSelector selector, bool select_first_model=True, bool noradii=False) -> Hierarchy
14172  read_pdb_or_mmcif(TextInput input, Model model, PDBSelector selector, bool select_first_model=True) -> Hierarchy
14173  read_pdb_or_mmcif(TextInput input, Model model, PDBSelector selector) -> Hierarchy
14174  read_pdb_or_mmcif(TextInput input, Model model) -> Hierarchy
14175  """
14176  return _IMP_atom.read_pdb_or_mmcif(*args)
14177 
14178 def read_multimodel_pdb_or_mmcif(*args):
14179  """
14180  read_multimodel_pdb_or_mmcif(TextInput input, Model model, PDBSelector selector, bool noradii=False) -> IMP::atom::Hierarchies
14181  read_multimodel_pdb_or_mmcif(TextInput input, Model model, PDBSelector selector) -> IMP::atom::Hierarchies
14182  read_multimodel_pdb_or_mmcif(TextInput input, Model model) -> IMP::atom::Hierarchies
14183  """
14184  return _IMP_atom.read_multimodel_pdb_or_mmcif(*args)
14185 
14186 def get_kt(T):
14187  """get_kt(double T) -> double"""
14188  return _IMP_atom.get_kt(T)
14189 class CAAngleRestraint(IMP.Restraint):
14190  """Proxy of C++ IMP::atom::CAAngleRestraint class"""
14191  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
14192 
14193  def __init__(self, m, p1, p2, p3, phi0, score):
14194  """__init__(IMP::atom::CAAngleRestraint self, Model m, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2, _ParticleIndexAdaptor p3, IMP::Floats phi0, IMP::Floats score) -> CAAngleRestraint"""
14195  this = _IMP_atom.new_CAAngleRestraint(m, p1, p2, p3, phi0, score)
14196  try:
14197  self.this.append(this)
14198  except:
14199  self.this = this
14200 
14201  def do_get_inputs(self):
14202  """do_get_inputs(CAAngleRestraint self) -> IMP::ModelObjectsTemp"""
14203  return _IMP_atom.CAAngleRestraint_do_get_inputs(self)
14204 
14205 
14206  def get_version_info(self):
14207  """get_version_info(CAAngleRestraint self) -> VersionInfo"""
14208  return _IMP_atom.CAAngleRestraint_get_version_info(self)
14209 
14210 
14211  def __str__(self):
14212  """__str__(CAAngleRestraint self) -> std::string"""
14213  return _IMP_atom.CAAngleRestraint___str__(self)
14214 
14215 
14216  def __repr__(self):
14217  """__repr__(CAAngleRestraint self) -> std::string"""
14218  return _IMP_atom.CAAngleRestraint___repr__(self)
14219 
14220 
14221  @staticmethod
14222  def get_from(o):
14223  return _object_cast_to_CAAngleRestraint(o)
14224 
14225 CAAngleRestraint_swigregister = _IMP_atom.CAAngleRestraint_swigregister
14226 CAAngleRestraint_swigregister(CAAngleRestraint)
14227 
14228 class CADihedralRestraint(IMP.Restraint):
14229  """Proxy of C++ IMP::atom::CADihedralRestraint class"""
14230  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
14231 
14232  def __init__(self, m, p1, p2, p3, p4, p5, phi0, phi1, score):
14233  """__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"""
14234  this = _IMP_atom.new_CADihedralRestraint(m, p1, p2, p3, p4, p5, phi0, phi1, score)
14235  try:
14236  self.this.append(this)
14237  except:
14238  self.this = this
14239 
14240  def do_get_inputs(self):
14241  """do_get_inputs(CADihedralRestraint self) -> IMP::ModelObjectsTemp"""
14242  return _IMP_atom.CADihedralRestraint_do_get_inputs(self)
14243 
14244 
14245  def get_version_info(self):
14246  """get_version_info(CADihedralRestraint self) -> VersionInfo"""
14247  return _IMP_atom.CADihedralRestraint_get_version_info(self)
14248 
14249 
14250  def __str__(self):
14251  """__str__(CADihedralRestraint self) -> std::string"""
14252  return _IMP_atom.CADihedralRestraint___str__(self)
14253 
14254 
14255  def __repr__(self):
14256  """__repr__(CADihedralRestraint self) -> std::string"""
14257  return _IMP_atom.CADihedralRestraint___repr__(self)
14258 
14259 
14260  @staticmethod
14261  def get_from(o):
14262  return _object_cast_to_CADihedralRestraint(o)
14263 
14264 CADihedralRestraint_swigregister = _IMP_atom.CADihedralRestraint_swigregister
14265 CADihedralRestraint_swigregister(CADihedralRestraint)
14266 
14267 class StructureSource(IMP.Decorator):
14268  """Proxy of C++ IMP::atom::StructureSource class"""
14269  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
14270 
14271  def get_source_id(self):
14272  """get_source_id(StructureSource self) -> std::string"""
14273  return _IMP_atom.StructureSource_get_source_id(self)
14274 
14275 
14276  def get_source_chain_id(self):
14277  """get_source_chain_id(StructureSource self) -> std::string"""
14278  return _IMP_atom.StructureSource_get_source_chain_id(self)
14279 
14280 
14281  def set_source_id(self, source_id):
14282  """set_source_id(StructureSource self, std::string source_id)"""
14283  return _IMP_atom.StructureSource_set_source_id(self, source_id)
14284 
14285 
14286  def set_source_chain_id(self, source_chain_id):
14287  """set_source_chain_id(StructureSource self, std::string source_chain_id)"""
14288  return _IMP_atom.StructureSource_set_source_chain_id(self, source_chain_id)
14289 
14290 
14291  def __init__(self, *args):
14292  """
14293  __init__(IMP::atom::StructureSource self) -> StructureSource
14294  __init__(IMP::atom::StructureSource self, Model m, ParticleIndex id) -> StructureSource
14295  __init__(IMP::atom::StructureSource self, _ParticleAdaptor d) -> StructureSource
14296  """
14297  this = _IMP_atom.new_StructureSource(*args)
14298  try:
14299  self.this.append(this)
14300  except:
14301  self.this = this
14302 
14303  def get_is_setup(*args):
14304  """
14305  get_is_setup(Model m, ParticleIndex pi) -> bool
14306  get_is_setup(_ParticleAdaptor p) -> bool
14307  """
14308  return _IMP_atom.StructureSource_get_is_setup(*args)
14309 
14310  get_is_setup = staticmethod(get_is_setup)
14311 
14312  def show(self, *args):
14313  """
14314  show(StructureSource self, _ostream out)
14315  show(StructureSource self)
14316  """
14317  return _IMP_atom.StructureSource_show(self, *args)
14318 
14319 
14320  def setup_particle(*args):
14321  """
14322  setup_particle(Model m, ParticleIndex pi, std::string source_id, std::string source_chain_id) -> StructureSource
14323  setup_particle(_ParticleAdaptor decorator, std::string source_id, std::string source_chain_id) -> StructureSource
14324  """
14325  return _IMP_atom.StructureSource_setup_particle(*args)
14326 
14327  setup_particle = staticmethod(setup_particle)
14328 
14329  def add_attribute(self, *args):
14330  """
14331  add_attribute(StructureSource self, FloatKey k, IMP::Float v, bool opt)
14332  add_attribute(StructureSource self, FloatKey a0, IMP::Float a1)
14333  add_attribute(StructureSource self, IntKey a0, IMP::Int a1)
14334  add_attribute(StructureSource self, FloatsKey a0, IMP::Floats a1)
14335  add_attribute(StructureSource self, IntsKey a0, IMP::Ints a1)
14336  add_attribute(StructureSource self, StringKey a0, IMP::String a1)
14337  add_attribute(StructureSource self, ParticleIndexKey a0, Particle a1)
14338  add_attribute(StructureSource self, ObjectKey a0, Object a1)
14339  """
14340  return _IMP_atom.StructureSource_add_attribute(self, *args)
14341 
14342 
14343  def get_value(self, *args):
14344  """
14345  get_value(StructureSource self, FloatKey a0) -> IMP::Float
14346  get_value(StructureSource self, IntKey a0) -> IMP::Int
14347  get_value(StructureSource self, FloatsKey a0) -> IMP::Floats
14348  get_value(StructureSource self, IntsKey a0) -> IMP::Ints
14349  get_value(StructureSource self, StringKey a0) -> IMP::String
14350  get_value(StructureSource self, ParticleIndexKey a0) -> Particle
14351  get_value(StructureSource self, ObjectKey a0) -> Object
14352  """
14353  return _IMP_atom.StructureSource_get_value(self, *args)
14354 
14355 
14356  def set_value(self, *args):
14357  """
14358  set_value(StructureSource self, FloatKey a0, IMP::Float a1)
14359  set_value(StructureSource self, IntKey a0, IMP::Int a1)
14360  set_value(StructureSource self, FloatsKey a0, IMP::Floats a1)
14361  set_value(StructureSource self, IntsKey a0, IMP::Ints a1)
14362  set_value(StructureSource self, StringKey a0, IMP::String a1)
14363  set_value(StructureSource self, ParticleIndexKey a0, Particle a1)
14364  set_value(StructureSource self, ObjectKey a0, Object a1)
14365  """
14366  return _IMP_atom.StructureSource_set_value(self, *args)
14367 
14368 
14369  def remove_attribute(self, *args):
14370  """
14371  remove_attribute(StructureSource self, FloatKey a0)
14372  remove_attribute(StructureSource self, IntKey a0)
14373  remove_attribute(StructureSource self, FloatsKey a0)
14374  remove_attribute(StructureSource self, IntsKey a0)
14375  remove_attribute(StructureSource self, StringKey a0)
14376  remove_attribute(StructureSource self, ParticleIndexKey a0)
14377  remove_attribute(StructureSource self, ObjectKey a0)
14378  """
14379  return _IMP_atom.StructureSource_remove_attribute(self, *args)
14380 
14381 
14382  def has_attribute(self, *args):
14383  """
14384  has_attribute(StructureSource self, FloatKey a0) -> bool
14385  has_attribute(StructureSource self, IntKey a0) -> bool
14386  has_attribute(StructureSource self, FloatsKey a0) -> bool
14387  has_attribute(StructureSource self, IntsKey a0) -> bool
14388  has_attribute(StructureSource self, StringKey a0) -> bool
14389  has_attribute(StructureSource self, ParticleIndexKey a0) -> bool
14390  has_attribute(StructureSource self, ObjectKey a0) -> bool
14391  """
14392  return _IMP_atom.StructureSource_has_attribute(self, *args)
14393 
14394 
14395  def get_derivative(self, a0):
14396  """get_derivative(StructureSource self, FloatKey a0) -> double"""
14397  return _IMP_atom.StructureSource_get_derivative(self, a0)
14398 
14399 
14400  def get_name(self):
14401  """get_name(StructureSource self) -> std::string"""
14402  return _IMP_atom.StructureSource_get_name(self)
14403 
14404 
14405  def clear_caches(self):
14406  """clear_caches(StructureSource self)"""
14407  return _IMP_atom.StructureSource_clear_caches(self)
14408 
14409 
14410  def set_name(self, a0):
14411  """set_name(StructureSource self, std::string a0)"""
14412  return _IMP_atom.StructureSource_set_name(self, a0)
14413 
14414 
14415  def set_check_level(self, a0):
14416  """set_check_level(StructureSource self, IMP::CheckLevel a0)"""
14417  return _IMP_atom.StructureSource_set_check_level(self, a0)
14418 
14419 
14420  def add_to_derivative(self, a0, a1, a2):
14421  """add_to_derivative(StructureSource self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
14422  return _IMP_atom.StructureSource_add_to_derivative(self, a0, a1, a2)
14423 
14424 
14425  def set_is_optimized(self, a0, a1):
14426  """set_is_optimized(StructureSource self, FloatKey a0, bool a1)"""
14427  return _IMP_atom.StructureSource_set_is_optimized(self, a0, a1)
14428 
14429 
14430  def get_is_optimized(self, a0):
14431  """get_is_optimized(StructureSource self, FloatKey a0) -> bool"""
14432  return _IMP_atom.StructureSource_get_is_optimized(self, a0)
14433 
14434 
14435  def get_check_level(self):
14436  """get_check_level(StructureSource self) -> IMP::CheckLevel"""
14437  return _IMP_atom.StructureSource_get_check_level(self)
14438 
14439 
14440  def __eq__(self, *args):
14441  """
14442  __eq__(StructureSource self, StructureSource o) -> bool
14443  __eq__(StructureSource self, Particle d) -> bool
14444  """
14445  return _IMP_atom.StructureSource___eq__(self, *args)
14446 
14447 
14448  def __ne__(self, *args):
14449  """
14450  __ne__(StructureSource self, StructureSource o) -> bool
14451  __ne__(StructureSource self, Particle d) -> bool
14452  """
14453  return _IMP_atom.StructureSource___ne__(self, *args)
14454 
14455 
14456  def __le__(self, *args):
14457  """
14458  __le__(StructureSource self, StructureSource o) -> bool
14459  __le__(StructureSource self, Particle d) -> bool
14460  """
14461  return _IMP_atom.StructureSource___le__(self, *args)
14462 
14463 
14464  def __lt__(self, *args):
14465  """
14466  __lt__(StructureSource self, StructureSource o) -> bool
14467  __lt__(StructureSource self, Particle d) -> bool
14468  """
14469  return _IMP_atom.StructureSource___lt__(self, *args)
14470 
14471 
14472  def __ge__(self, *args):
14473  """
14474  __ge__(StructureSource self, StructureSource o) -> bool
14475  __ge__(StructureSource self, Particle d) -> bool
14476  """
14477  return _IMP_atom.StructureSource___ge__(self, *args)
14478 
14479 
14480  def __gt__(self, *args):
14481  """
14482  __gt__(StructureSource self, StructureSource o) -> bool
14483  __gt__(StructureSource self, Particle d) -> bool
14484  """
14485  return _IMP_atom.StructureSource___gt__(self, *args)
14486 
14487 
14488  def __hash__(self):
14489  """__hash__(StructureSource self) -> std::size_t"""
14490  return _IMP_atom.StructureSource___hash__(self)
14491 
14492 
14493  def __str__(self):
14494  """__str__(StructureSource self) -> std::string"""
14495  return _IMP_atom.StructureSource___str__(self)
14496 
14497 
14498  def __repr__(self):
14499  """__repr__(StructureSource self) -> std::string"""
14500  return _IMP_atom.StructureSource___repr__(self)
14501 
14502  __swig_destroy__ = _IMP_atom.delete_StructureSource
14503  __del__ = lambda self: None
14504 StructureSource_swigregister = _IMP_atom.StructureSource_swigregister
14505 StructureSource_swigregister(StructureSource)
14506 
14507 def StructureSource_get_is_setup(*args):
14508  """
14509  get_is_setup(Model m, ParticleIndex pi) -> bool
14510  StructureSource_get_is_setup(_ParticleAdaptor p) -> bool
14511  """
14512  return _IMP_atom.StructureSource_get_is_setup(*args)
14513 
14514 def StructureSource_setup_particle(*args):
14515  """
14516  setup_particle(Model m, ParticleIndex pi, std::string source_id, std::string source_chain_id) -> StructureSource
14517  StructureSource_setup_particle(_ParticleAdaptor decorator, std::string source_id, std::string source_chain_id) -> StructureSource
14518  """
14519  return _IMP_atom.StructureSource_setup_particle(*args)
14520 
14521 
14522 def __lshift__(*args):
14523  """
14524  __lshift__(_ostream out, Bonded n) -> _ostream
14525  __lshift__(_ostream out, Bond n) -> _ostream
14526  __lshift__(_ostream out, Hierarchy n) -> _ostream
14527  __lshift__(_ostream out, Angle n) -> _ostream
14528  __lshift__(_ostream out, Dihedral n) -> _ostream
14529  __lshift__(_ostream out, CenterOfMass n) -> _ostream
14530  __lshift__(_ostream out, Diffusion n) -> _ostream
14531  __lshift__(_ostream out, RigidBodyDiffusion n) -> _ostream
14532  __lshift__(_ostream out, TAMDParticle n) -> _ostream
14533  __lshift__(_ostream out, Chain n) -> _ostream
14534  __lshift__(_ostream out, Charged n) -> _ostream
14535  __lshift__(_ostream out, Domain n) -> _ostream
14536  __lshift__(_ostream out, LennardJones n) -> _ostream
14537  __lshift__(_ostream out, Fragment n) -> _ostream
14538  __lshift__(_ostream out, SecondaryStructureResidue n) -> _ostream
14539  __lshift__(_ostream out, Atom n) -> _ostream
14540  __lshift__(_ostream out, Residue n) -> _ostream
14541  __lshift__(_ostream out, Representation n) -> _ostream
14542  __lshift__(_ostream out, State n) -> _ostream
14543  __lshift__(_ostream out, Molecule n) -> _ostream
14544  __lshift__(_ostream out, Copy n) -> _ostream
14545  __lshift__(_ostream out, StructureSource n) -> _ostream
14546  """
14547  return _IMP_atom.__lshift__(*args)
14548 class HelixRestraint(IMP.Restraint):
14549  """Proxy of C++ IMP::atom::HelixRestraint class"""
14550  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
14551 
14552  def __init__(self, rs, ideal=True):
14553  """
14554  __init__(IMP::atom::HelixRestraint self, IMP::atom::Residues rs, bool ideal=True) -> HelixRestraint
14555  __init__(IMP::atom::HelixRestraint self, IMP::atom::Residues rs) -> HelixRestraint
14556  """
14557  this = _IMP_atom.new_HelixRestraint(rs, ideal)
14558  try:
14559  self.this.append(this)
14560  except:
14561  self.this = this
14562 
14563  def get_number_of_bonds(self):
14564  """get_number_of_bonds(HelixRestraint self) -> int"""
14565  return _IMP_atom.HelixRestraint_get_number_of_bonds(self)
14566 
14567 
14568  def get_number_of_dihedrals(self):
14569  """get_number_of_dihedrals(HelixRestraint self) -> int"""
14570  return _IMP_atom.HelixRestraint_get_number_of_dihedrals(self)
14571 
14572 
14573  def do_get_inputs(self):
14574  """do_get_inputs(HelixRestraint self) -> IMP::ModelObjectsTemp"""
14575  return _IMP_atom.HelixRestraint_do_get_inputs(self)
14576 
14577 
14578  def get_version_info(self):
14579  """get_version_info(HelixRestraint self) -> VersionInfo"""
14580  return _IMP_atom.HelixRestraint_get_version_info(self)
14581 
14582 
14583  def __str__(self):
14584  """__str__(HelixRestraint self) -> std::string"""
14585  return _IMP_atom.HelixRestraint___str__(self)
14586 
14587 
14588  def __repr__(self):
14589  """__repr__(HelixRestraint self) -> std::string"""
14590  return _IMP_atom.HelixRestraint___repr__(self)
14591 
14592 
14593  @staticmethod
14594  def get_from(o):
14595  return _object_cast_to_HelixRestraint(o)
14596 
14597 HelixRestraint_swigregister = _IMP_atom.HelixRestraint_swigregister
14598 HelixRestraint_swigregister(HelixRestraint)
14599 
14600 
14602  """get_transformation_aligning_first_to_second(Selection s1, Selection s2) -> Transformation3D"""
14603  return _IMP_atom.get_transformation_aligning_first_to_second(s1, s2)
14604 
14605 def show_molecular_hierarchy(*args):
14606  """
14607  show_molecular_hierarchy(Hierarchy h, _ostream out) -> _ostream
14608  show_molecular_hierarchy(Hierarchy h) -> _ostream
14609  """
14610  return _IMP_atom.show_molecular_hierarchy(*args)
14611 class CHARMMBond(object):
14612  """Proxy of C++ IMP::atom::CHARMMConnection<(2)> class"""
14613  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
14614  __repr__ = _swig_repr
14615 
14616  def __init__(self, atoms):
14617  """__init__(IMP::atom::CHARMMConnection<(2)> self, IMP::Strings const & atoms) -> CHARMMBond"""
14618  this = _IMP_atom.new_CHARMMBond(atoms)
14619  try:
14620  self.this.append(this)
14621  except:
14622  self.this = this
14623 
14624  def get_endpoint(self, i):
14625  """get_endpoint(CHARMMBond self, unsigned int i) -> CHARMMBondEndpoint"""
14626  return _IMP_atom.CHARMMBond_get_endpoint(self, i)
14627 
14628 
14629  def get_contains_atom(self, name):
14630  """get_contains_atom(CHARMMBond self, std::string name) -> bool"""
14631  return _IMP_atom.CHARMMBond_get_contains_atom(self, name)
14632 
14633 
14634  def show(self, *args):
14635  """
14636  show(CHARMMBond self, _ostream out)
14637  show(CHARMMBond self)
14638  """
14639  return _IMP_atom.CHARMMBond_show(self, *args)
14640 
14641  __swig_destroy__ = _IMP_atom.delete_CHARMMBond
14642  __del__ = lambda self: None
14643 CHARMMBond_swigregister = _IMP_atom.CHARMMBond_swigregister
14644 CHARMMBond_swigregister(CHARMMBond)
14645 
14646 class CHARMMAngle(object):
14647  """Proxy of C++ IMP::atom::CHARMMConnection<(3)> class"""
14648  thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
14649  __repr__ = _swig_repr
14650 
14651  def __init__(self, atoms):
14652  """__init__(IMP::atom::CHARMMConnection<(3)> self, IMP::Strings const & atoms) -> CHARMMAngle"""
14653  this = _IMP_atom.new_CHARMMAngle(atoms)
14654  try:
14655  self.this.append(this)
14656  except:
14657  self.this = this
14658 
14659  def get_endpoint(self, i):
14660  """get_endpoint(CHARMMAngle self, unsigned int i) -> CHARMMBondEndpoint"""
14661  return _IMP_atom.CHARMMAngle_get_endpoint(self, i)
14662 
14663 
14664  def get_contains_atom(self, name):
14665  """get_contains_atom(CHARMMAngle self, std::string name) -> bool"""
14666  return _IMP_atom.CHARMMAngle_get_contains_atom(self, name)
14667 
14668 
14669  def show(self, *args):
14670  """
14671  show(CHARMMAngle self, _ostream out)
14672  show(CHARMMAngle self)
14673  """
14674  return _IMP_atom.CHARMMAngle_show(self, *args)
14675 
14676  __swig_destroy__ = _IMP_atom.delete_CHARMMAngle
14677  __del__ = lambda self: None
14678 CHARMMAngle_swigregister = _IMP_atom.CHARMMAngle_swigregister
14679 CHARMMAngle_swigregister(CHARMMAngle)
14680 
14681 
14682 def _get_native_overlap_cpp(m1, m2, threshold):
14683  """_get_native_overlap_cpp(IMP::Vector< IMP::algebra::VectorD< 3 > > const & m1, IMP::Vector< IMP::algebra::VectorD< 3 > > const & m2, double threshold) -> double"""
14684  return _IMP_atom._get_native_overlap_cpp(m1, m2, threshold)
14685 
14686 def _get_drmsd_cpp(m0, m1):
14687  """_get_drmsd_cpp(IMP::Vector< IMP::algebra::VectorD< 3 > > const & m0, IMP::Vector< IMP::algebra::VectorD< 3 > > const & m1) -> double"""
14688  return _IMP_atom._get_drmsd_cpp(m0, m1)
14689 
14690 def _get_drmsd_Q_cpp(m0, m1, threshold):
14691  """_get_drmsd_Q_cpp(IMP::Vector< IMP::algebra::VectorD< 3 > > const & m0, IMP::Vector< IMP::algebra::VectorD< 3 > > const & m1, double threshold) -> double"""
14692  return _IMP_atom._get_drmsd_Q_cpp(m0, m1, threshold)
14693 
14694 def _get_drms_cpp(m1, m2):
14695  """_get_drms_cpp(IMP::Vector< IMP::algebra::VectorD< 3 > > const & m1, IMP::Vector< IMP::algebra::VectorD< 3 > > const & m2) -> double"""
14696  return _IMP_atom._get_drms_cpp(m1, m2)
14697 
14698 def _get_rigid_bodies_drms_cpp(m1, m2, ranges):
14699  """_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"""
14700  return _IMP_atom._get_rigid_bodies_drms_cpp(m1, m2, ranges)
14701 
14702 def get_native_overlap(a, b, d):
14703  va= [IMP.algebra.get_vector(x) for x in a]
14704  vb= [IMP.algebra.get_vector(x) for x in b]
14705  return _get_native_overlap_cpp(va, vb, d)
14706 
14707 def get_drmsd(a, b):
14708  va= [IMP.algebra.get_vector(x) for x in a]
14709  vb= [IMP.algebra.get_vector(x) for x in b]
14710  return _get_drmsd_cpp(va, vb)
14711 
14712 def get_drms(a, b):
14713  va= [IMP.algebra.get_vector(x) for x in a]
14714  vb= [IMP.algebra.get_vector(x) for x in b]
14715  return _get_drms_cpp(va, vb)
14716 
14717 def get_drmsd_Q(a, b, t):
14718  va= [IMP.algebra.get_vector(x) for x in a]
14719  vb= [IMP.algebra.get_vector(x) for x in b]
14720  return _get_drmsd_Q_cpp(va, vb, t)
14721 
14722 def get_rigid_bodies_drms(a, b, ranges):
14723  va= [IMP.algebra.get_vector(x) for x in a]
14724  vb= [IMP.algebra.get_vector(x) for x in b]
14725 #rs = [IMP.IntRange(r[0],r[1]) for r in ranges]
14726  return _get_rigid_bodies_drms_cpp(va, vb, ranges)
14727 
14728 
14729 
14730 def get_module_version():
14731  """get_module_version() -> std::string const"""
14732  return _IMP_atom.get_module_version()
14733 
14734 def get_example_path(fname):
14735  """get_example_path(std::string fname) -> std::string"""
14736  return _IMP_atom.get_example_path(fname)
14737 
14738 def get_data_path(fname):
14739  """get_data_path(std::string fname) -> std::string"""
14740  return _IMP_atom.get_data_path(fname)
14741 
14742 from . import _version_check
14743 _version_check.check_version(get_module_version())
14744 __version__ = get_module_version()
14745 
14746 
14747 
A base class for geometry contained in particles.
A base class for modifiers of ParticlesTemp.
AtomType add_atom_type(std::string name, Element e)
Create a new AtomType.
double get_kt(double T)
Return kT for a given temperature in units of [kcal/mol].
double get_volume_from_residue_type(ResidueType rt)
Return an estimate for the volume of a given residue.
Hierarchy read_pdb_or_mmcif(TextInput input, Model *model, PDBSelector *selector=get_default_pdb_selector(), bool select_first_model=true)
Read all the molecules in the first model of the PDB or mmCIF file.
Definition: mmcif.h:40
Abstract class for scoring object(s) of type ParticleIndexPair.
Definition: PairScore.h:42
A shared container for Pairs.
Definition: PairContainer.h:37
CHARMMParameters * get_heavy_atom_CHARMM_parameters()
double get_einstein_rotational_diffusion_coefficient(double r, double temp=-1)
Hierarchy read_mmcif(TextInput input, Model *model, PDBSelector *selector=get_default_pdb_selector(), bool select_first_model=true)
Read all the molecules in the first model of the mmCIF file.
Float get_secondary_structure_match_score(SecondaryStructureResidue ssr1, SecondaryStructureResidue ssr2)
Compares the secondary structure probabilities of two residues.
double get_rigid_bodies_drms(const Vector3DsOrXYZs0 &m1, const Vector3DsOrXYZs1 &m2, const IMP::IntRanges &ranges)
DRMS between two sets of rigid bodies.
Chain get_chain(Hierarchy h)
Get the containing chain or Chain() if there is none.
CheckLevel get_check_level()
Get the current audit mode.
Definition: exception.h:80
Vector< AtomTypes > get_chi_dihedral_atom_types(ResidueType rt)
setup
Definition: setup.py:1
Atoms get_phi_dihedral_atoms(Residue rd)
Return the atoms comprising the phi dihedral.
void show_molecular_hierarchy(Hierarchy h)
Print out the molecular hierarchy.
double get_drms(const Vector3DsOrXYZs0 &m1, const Vector3DsOrXYZs1 &m2)
void remove_charmm_untyped_atoms(Hierarchy hierarchy)
Remove any atom from the Hierarchy that does not have a CHARMM type.
double get_protein_density_from_reference(ProteinDensityReference densityReference)
void show_with_representations(Hierarchy h, std::ostream &out=std::cout)
Traverse through the tree and show atom info, including representations.
Hierarchy create_simplified_from_volume(Hierarchy h, double resolution)
void add_particles(RMF::FileHandle fh, const ParticlesTemp &hs)
double get_spring_constant_in_femto_newtons_per_angstrom(double k_in_kcal_per_mol_per_angstrom_square)
Convert spring constant from kcal/mol/A^2 to femtonewton/A.
double get_native_overlap(const Vector3DsOrXYZs0 &m1, const Vector3DsOrXYZs1 &m2, double threshold)
Computes the native overlap between two sets of 3D points.
Various classes to hold sets of particles.
The base class for geometry.
IMP::core::RigidBody create_compatible_rigid_body(Hierarchy h, Hierarchy reference)
Rigidify a molecule or collection of molecules.
Hierarchy create_simplified_along_backbone(Hierarchy input, int num_res, bool keep_detailed=false)
double get_drmsd(const Vector3DsOrXYZs0 &m0, const Vector3DsOrXYZs1 &m1)
Calculate distance the root mean square deviation between two sets of 3D points.
Definition: atom/distance.h:49
Vector< VectorD< D > > get_vertices(const BoundingBoxD< D > &bb)
Return a list of the 2^D bounding points for the bounding box.
Definition: BoundingBoxD.h:274
double get_mass(ResidueType c)
Get the mass from the residue type.
void add_radii(Hierarchy d, const ForceFieldParameters *ffp=get_all_atom_CHARMM_parameters(), FloatKey radius_key=FloatKey("radius"))
Add vdW radius from given force field.
A base class for geometry from a set of particles.
double get_dihedral(XYZ a, XYZ b, XYZ c, XYZ d)
Compute the dihedral angle (in radians) between the four particles.
double get_mass_from_number_of_residues(unsigned int num_aa)
Estimate the mass of a protein from the number of amino acids.
Make CGAL functionality available to IMP.
Provenance create_clone(Provenance p)
Clone provenance (including previous provenance)
Atoms get_omega_dihedral_atoms(Residue rd)
Return the atoms comprising the omega dihedral.
ParticleIndexQuads get_chi_dihedral_particle_indexes(Residue rd)
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)
Get the particles from a list of indexes.
double get_mass_from_volume(double v, ProteinDensityReference ref=ALBER)
Estimate the mass of a protein from its volume.
void destroy_bond(Bond b)
Destroy the bond connecting two particles.
HierarchyTree get_hierarchy_tree(Hierarchy h)
Get a graph for the passed Hierarchy.
void add_particle(RMF::FileHandle fh, Particle *hs)
Atoms get_charmm_untyped_atoms(Hierarchy hierarchy)
Get all atoms in the Hierarchy that do not have CHARMM types.
std::string get_data_path(std::string file_name)
Return the full path to one of this module's data files.
char get_one_letter_code(ResidueType c)
Get the 1-letter amino acid code from the residue type.
Atom get_atom(Residue rd, AtomType at)
Return a particle atom from the residue.
Composable functors to implement scores via compile-time composition.
double get_angle(const Line3D &a, const Line3D &b)
Get angle in radians between two lines around their closest points.
Restraint * create_excluded_volume_restraint(const Hierarchies &hs, double resolution=-1)
Bond create_custom_bond(Bonded a, Bonded b, Float length, Float stiffness=-1)
Connect the two wrapped particles by a custom bond.
void write_pdb_of_c_alphas(const Selection &mhd, TextOutput out, unsigned int model=1)
Write a hierarchy to a PDB as C_alpha atoms.
Hierarchies read_multimodel_mmcif(TextInput input, Model *model, PDBSelector *selector=get_default_pdb_selector())
Read all models from the mmCIF file.
double get_kd(double na, double nb, double nab, double volume)
Definition: estimates.h:101
double get_diffusion_angle(double D, double dtfs)
IMP::algebra::Transformation3D get_transformation_aligning_first_to_second(const Vector3DsOrXYZs0 &source, const Vector3DsOrXYZs1 &target)
Compute the rigid transform bringing the first point set to the second.
bool get_atom_type_exists(std::string name)
Return true if that atom type already exists.
double get_volume(const BoundingBoxD< D > &bb)
See BoundingBoxD.
Definition: BoundingBoxD.h:163
FloatPair get_component_placement_score(const core::XYZs &ref1, const core::XYZs &ref2, const core::XYZs &mdl1, const core::XYZs &mdl2)
Measure the difference between two placements of the same set of points.
void transform(Hierarchy h, const algebra::Transformation3D &tr)
Transform a hierarchy. This is aware of rigid bodies.
core::XYZR create_cover(const Selection &s, std::string name=std::string())
double get_volume_from_mass(double m, ProteinDensityReference ref=ALBER)
Estimate the volume of a protein from its mass.
Ints get_index(const ParticlesTemp &particles, const Subset &subset, const Subsets &excluded)
Common base class for heavy weight IMP objects.
Definition: Object.h:106
Hierarchy create_protein(Model *m, std::string name, double target_radius, int number_of_residues, int first_residue_index=0, double volume=-1)
Create a coarse grained molecule.
Atoms get_psi_dihedral_atoms(Residue rd)
Return the atoms comprising the psi dihedral.
Abstract class for scoring object(s) of type ParticleIndex.
ParticlesTemp get_order(const Subset &s, const SubsetFilterTables &sft)
Bond create_bond(Bonded a, Bonded b, Int t)
Connect the two wrapped particles by a bond.
double get_rotational_diffusion_coefficient(const algebra::Rotation3Ds &orientations, double dt)
Base class for all optimizers.
Definition: Optimizer.h:46
double get_rmsd(const Vector3DsOrXYZs0 &m1, const Vector3DsOrXYZs1 &m2)
Hierarchy get_previous_residue(Residue rd)
Return the residue from the same chain with one lower index.
SecondaryStructureResidue setup_coarse_secondary_structure_residue(const Particles &ssr_ps, Model *mdl, bool winner_takes_all_per_res=false)
Coarsen some SecondaryStructureResidues.
double get_molarity(double n, double volume)
Definition: estimates.h:92
boost::graph HierarchyTree
A graph for representing a Hierarchy so you can view it nicely.
Hierarchy read_mol2(TextInput mol2_file, Model *model, Mol2Selector *mol2sel=nullptr)
Create a hierarchy from a Mol2 file.
Version and module information for Objects.
Definition: VersionInfo.h:28
double get_radius_of_gyration(const Vector3Ds &ps)
Return the radius of gyration of a set of points.
Definition: Vector3D.h:77
A decorator for a particle with x,y,z coordinates.
Definition: XYZ.h:30
void add_loop_statistical_score_data(atom::Hierarchy h)
Restraint * create_internal_connectivity_restraint(const Selection &s, double k, std::string name="Connectivity%1%")
Create a restraint connecting the selection.
void write_mol2(Hierarchy rhd, TextOutput file_name)
Write a ligand hierarchy as a mol2 file.
Hierarchy read_pdb(TextInput input, Model *model, PDBSelector *selector=get_default_pdb_selector(), bool select_first_model=true)
Read all the molecules in the first model of the PDB file.
int get_state_index(Hierarchy h)
Walk up the hierarchy to find the current state.
SecondaryStructureResidues setup_coarse_secondary_structure_residues(const Particles &ssr_ps, Model *mdl, int coarse_factor, int start_res_num, bool winner_takes_all_per_res=false)
void add_protein_ligand_score_data(Hierarchy h)
Interface to specialized Particle types (e.g. atoms)
Definition: Decorator.h:118
std::string get_molecule_name(Hierarchy h)
std::ostream & show(Hierarchy h, std::ostream &out=std::cout)
Print the hierarchy using a given decorator to display each node.
Vector< Atoms > get_chi_dihedral_atoms(Residue rd)
Hierarchies read_multimodel_pdb_or_mmcif(TextInput input, Model *model, PDBSelector *selector=get_default_pdb_selector())
Read all models from the PDB or mmCIF file.
Definition: mmcif.h:60
double get_pairwise_rmsd_score(const core::XYZs &ref1, const core::XYZs &ref2, const core::XYZs &mdl1, const core::XYZs &mdl2)
Measure the RMSD between two placements of the same set of points.
double get_force_in_femto_newtons(double force_in_kcal_per_mol_per_angstrom)
Convert force from kcal/mol/A to femtonewtons.
Basic functionality that is expected to be used by a wide variety of IMP users.
Abstract predicate function.
Definition: PairPredicate.h:31
General purpose algebraic and geometric methods that are expected to be used by a wide variety of IMP...
Hierarchies read_multimodel_pdb(TextInput input, Model *model, PDBSelector *selector=get_default_pdb_selector())
std::string get_example_path(std::string file_name)
Return the full path to one of this module's example files.
Residue get_residue(Atom d, bool nothrow=false)
Return the Residue containing this atom.
Shared optimizer state that is invoked upon commitment of new coordinates.
Hierarchy get_root(Hierarchy h)
Return the root of the hierarchy.
Abstract class to implement hierarchical methods.
Definition: Refiner.h:34
void add_dope_score_data(atom::Hierarchy h)
Bond get_bond(Bonded a, Bonded b)
Get the bond between two particles.
std::string show_graphviz(Graph g)
Restraint * create_distance_restraint(const Selection &n0, const Selection &n1, double x0, double k, std::string name="Distance%1%")
Representation get_representation(Hierarchy h, bool nothrow=false)
Return the Representation object containing this hierarchy.
FloatPair get_placement_score(const core::XYZs &source, const core::XYZs &target)
Measure the difference between two placements of the same set of points.
void write_multimodel_pdb(const Hierarchies &mhd, TextOutput out)
int get_copy_index(Hierarchy h)
Walk up the hierarchy to find the current copy index.
A decorator for helping deal with a generalized hierarchy.
double get_maximum_time_step_estimate(BrownianDynamics *bd)
double get_diffusion_coefficient(const algebra::Vector3Ds &displacements, double dt)
double get_surface_area(const Geometry &)
Compute the surface area of any volumetric object.
double get_resolution(Model *m, ParticleIndex pi)
Estimate the resolution of the hierarchy as used by Representation.
double get_rmsd_transforming_first(const Transformation3D &tr, const Vector3DsOrXYZs0 &m1, const Vector3DsOrXYZs1 &m2)
Calculate the root mean square deviation between two sets of 3D points.
Hierarchy create_simplified_assembly_from_volume(Hierarchy h, double resolution)
Output IMP model data in various file formats.
std::string get_chain_id(Hierarchy h)
Walk up the hierarchy to determine the chain id.
IMP::core::RigidBody create_rigid_body(const Hierarchies &h, std::string name=std::string("created rigid body"))
Rigidify a molecule or collection of molecules.
CHARMMParameters * get_all_atom_CHARMM_parameters()
Hierarchies get_leaves(const Selection &h)
double get_einstein_diffusion_coefficient(double r, double temp=-1)
double get_drmsd_Q(const Vector3DsOrXYZs0 &m0, const Vector3DsOrXYZs1 &m1, double threshold)
Definition: atom/distance.h:85
DensityMap * get_segment(DensityMap *map_to_segment, int nx_start, int nx_end, int ny_start, int ny_end, int nz_start, int nz_end)
Get a segment of the map according to xyz indexes.
Applies a PairScore to each Pair in a list.
Hierarchy get_next_residue(Residue rd)
Return the residue from the same chain with one higher index.
Restraint * create_connectivity_restraint(const Selections &s, double k, std::string name="Connectivity%1%")
Create a restraint connecting the selections.
void add_bonds(Hierarchy d, const ForceFieldParameters *ffp=get_all_atom_CHARMM_parameters())
Add bonds using definitions from given force field parameters.
void set_check_level(CheckLevel tf)
Control runtime checks in the code.
Definition: exception.h:72
double get_diffusion_length(double D, double t)
std::string get_module_version()
Return the version of this module, as a string.
A restraint is a term in an IMP ScoringFunction.
Definition: Restraint.h:53
A decorator for a particle with x,y,z coordinates and a radius.
Definition: XYZR.h:27