11 from __future__
import print_function, division, absolute_import
17 from sys
import version_info
18 if version_info >= (2, 6, 0):
19 def swig_import_helper():
20 from os.path
import dirname
24 fp, pathname, description = imp.find_module(
'_IMP_atom', [dirname(__file__)])
30 _mod = imp.load_module(
'_IMP_atom', fp, pathname, description)
34 _IMP_atom = swig_import_helper()
35 del swig_import_helper
40 _swig_property = property
45 def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
46 if (name ==
"thisown"):
47 return self.this.own(value)
49 if type(value).__name__ ==
'SwigPyObject':
50 self.__dict__[name] = value
52 method = class_type.__swig_setmethods__.get(name,
None)
54 return method(self, value)
56 object.__setattr__(self, name, value)
58 raise AttributeError(
"You cannot add attributes to %s" % self)
61 def _swig_setattr(self, class_type, name, value):
62 return _swig_setattr_nondynamic(self, class_type, name, value, 0)
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)
72 return object.__getattr__(self, name)
74 raise AttributeError(name)
76 def _swig_getattr(self, class_type, name):
77 return _swig_getattr_nondynamic(self, class_type, name, 0)
82 strthis =
"proxy of " + self.this.__repr__()
85 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
90 except AttributeError:
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)
104 raise AttributeError(
"You cannot add attributes to %s" % self)
110 weakref_proxy = weakref.proxy
112 weakref_proxy =
lambda x: x
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')
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
126 """value(IMP_ATOM_SwigPyIterator self) -> PyObject *"""
127 return _IMP_atom.IMP_ATOM_SwigPyIterator_value(self)
132 incr(IMP_ATOM_SwigPyIterator self, size_t n=1) -> IMP_ATOM_SwigPyIterator
133 incr(IMP_ATOM_SwigPyIterator self) -> IMP_ATOM_SwigPyIterator
135 return _IMP_atom.IMP_ATOM_SwigPyIterator_incr(self, n)
140 decr(IMP_ATOM_SwigPyIterator self, size_t n=1) -> IMP_ATOM_SwigPyIterator
141 decr(IMP_ATOM_SwigPyIterator self) -> IMP_ATOM_SwigPyIterator
143 return _IMP_atom.IMP_ATOM_SwigPyIterator_decr(self, n)
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)
152 """equal(IMP_ATOM_SwigPyIterator self, IMP_ATOM_SwigPyIterator x) -> bool"""
153 return _IMP_atom.IMP_ATOM_SwigPyIterator_equal(self, x)
157 """copy(IMP_ATOM_SwigPyIterator self) -> IMP_ATOM_SwigPyIterator"""
158 return _IMP_atom.IMP_ATOM_SwigPyIterator_copy(self)
162 """next(IMP_ATOM_SwigPyIterator self) -> PyObject *"""
163 return _IMP_atom.IMP_ATOM_SwigPyIterator_next(self)
167 """__next__(IMP_ATOM_SwigPyIterator self) -> PyObject *"""
168 return _IMP_atom.IMP_ATOM_SwigPyIterator___next__(self)
172 """previous(IMP_ATOM_SwigPyIterator self) -> PyObject *"""
173 return _IMP_atom.IMP_ATOM_SwigPyIterator_previous(self)
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)
182 """__eq__(IMP_ATOM_SwigPyIterator self, IMP_ATOM_SwigPyIterator x) -> bool"""
183 return _IMP_atom.IMP_ATOM_SwigPyIterator___eq__(self, x)
187 """__ne__(IMP_ATOM_SwigPyIterator self, IMP_ATOM_SwigPyIterator x) -> bool"""
188 return _IMP_atom.IMP_ATOM_SwigPyIterator___ne__(self, x)
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)
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)
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)
206 def __sub__(self, *args):
208 __sub__(IMP_ATOM_SwigPyIterator self, ptrdiff_t n) -> IMP_ATOM_SwigPyIterator
209 __sub__(IMP_ATOM_SwigPyIterator self, IMP_ATOM_SwigPyIterator x) -> ptrdiff_t
211 return _IMP_atom.IMP_ATOM_SwigPyIterator___sub__(self, *args)
215 IMP_ATOM_SwigPyIterator_swigregister = _IMP_atom.IMP_ATOM_SwigPyIterator_swigregister
216 IMP_ATOM_SwigPyIterator_swigregister(IMP_ATOM_SwigPyIterator)
225 _IMP_atom.IMP_DEBUG_swigconstant(_IMP_atom)
226 IMP_DEBUG = _IMP_atom.IMP_DEBUG
228 _IMP_atom.IMP_RELEASE_swigconstant(_IMP_atom)
229 IMP_RELEASE = _IMP_atom.IMP_RELEASE
231 _IMP_atom.IMP_SILENT_swigconstant(_IMP_atom)
232 IMP_SILENT = _IMP_atom.IMP_SILENT
234 _IMP_atom.IMP_PROGRESS_swigconstant(_IMP_atom)
235 IMP_PROGRESS = _IMP_atom.IMP_PROGRESS
237 _IMP_atom.IMP_TERSE_swigconstant(_IMP_atom)
238 IMP_TERSE = _IMP_atom.IMP_TERSE
240 _IMP_atom.IMP_VERBOSE_swigconstant(_IMP_atom)
241 IMP_VERBOSE = _IMP_atom.IMP_VERBOSE
243 _IMP_atom.IMP_MEMORY_swigconstant(_IMP_atom)
244 IMP_MEMORY = _IMP_atom.IMP_MEMORY
246 _IMP_atom.IMP_NONE_swigconstant(_IMP_atom)
247 IMP_NONE = _IMP_atom.IMP_NONE
249 _IMP_atom.IMP_USAGE_swigconstant(_IMP_atom)
250 IMP_USAGE = _IMP_atom.IMP_USAGE
252 _IMP_atom.IMP_INTERNAL_swigconstant(_IMP_atom)
253 IMP_INTERNAL = _IMP_atom.IMP_INTERNAL
255 _IMP_atom.IMP_KERNEL_HAS_LOG4CXX_swigconstant(_IMP_atom)
256 IMP_KERNEL_HAS_LOG4CXX = _IMP_atom.IMP_KERNEL_HAS_LOG4CXX
258 _IMP_atom.IMP_COMPILER_HAS_DEBUG_VECTOR_swigconstant(_IMP_atom)
259 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_atom.IMP_COMPILER_HAS_DEBUG_VECTOR
261 _IMP_atom.IMP_COMPILER_HAS_RANDOM_SHUFFLE_swigconstant(_IMP_atom)
262 IMP_COMPILER_HAS_RANDOM_SHUFFLE = _IMP_atom.IMP_COMPILER_HAS_RANDOM_SHUFFLE
264 _IMP_atom.IMP_COMPILER_HAS_THREE_WAY_swigconstant(_IMP_atom)
265 IMP_COMPILER_HAS_THREE_WAY = _IMP_atom.IMP_COMPILER_HAS_THREE_WAY
267 _IMP_atom.IMP_KERNEL_HAS_BOOST_RANDOM_swigconstant(_IMP_atom)
268 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_atom.IMP_KERNEL_HAS_BOOST_RANDOM
270 _IMP_atom.IMP_KERNEL_HAS_NUMPY_swigconstant(_IMP_atom)
271 IMP_KERNEL_HAS_NUMPY = _IMP_atom.IMP_KERNEL_HAS_NUMPY
273 _IMP_atom.IMP_KERNEL_HAS_GPERFTOOLS_swigconstant(_IMP_atom)
274 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_atom.IMP_KERNEL_HAS_GPERFTOOLS
276 _IMP_atom.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER_swigconstant(_IMP_atom)
277 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_atom.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
279 _IMP_atom.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER_swigconstant(_IMP_atom)
280 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_atom.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
282 _IMP_atom.IMPKERNEL_SHOW_WARNINGS_swigconstant(_IMP_atom)
283 IMPKERNEL_SHOW_WARNINGS = _IMP_atom.IMPKERNEL_SHOW_WARNINGS
286 class _DirectorObjects(object):
287 """@internal Simple class to keep references to director objects
288 to prevent premature deletion."""
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)
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]
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()
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')
315 def __init__(self, *args, **kwargs):
316 raise AttributeError(
"No constructor defined")
317 __repr__ = _swig_repr
319 def write(self, osa_buf):
320 """write(_ostream self, char const * osa_buf)"""
321 return _IMP_atom._ostream_write(self, osa_buf)
323 _ostream_swigregister = _IMP_atom._ostream_swigregister
324 _ostream_swigregister(_ostream)
327 _IMP_atom.IMP_HAS_NOEXCEPT_swigconstant(_IMP_atom)
328 IMP_HAS_NOEXCEPT = _IMP_atom.IMP_HAS_NOEXCEPT
330 _IMP_atom.IMP_C_OPEN_BINARY_swigconstant(_IMP_atom)
331 IMP_C_OPEN_BINARY = _IMP_atom.IMP_C_OPEN_BINARY
334 _IMP_atom.IMP_CGAL_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_atom)
335 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_atom.IMP_CGAL_HAS_BOOST_FILESYSTEM
337 _IMP_atom.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_atom)
338 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_atom.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
340 _IMP_atom.IMP_CGAL_HAS_BOOST_RANDOM_swigconstant(_IMP_atom)
341 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_atom.IMP_CGAL_HAS_BOOST_RANDOM
343 _IMP_atom.IMP_CGAL_HAS_BOOST_SYSTEM_swigconstant(_IMP_atom)
344 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_atom.IMP_CGAL_HAS_BOOST_SYSTEM
346 _IMP_atom.IMP_CGAL_HAS_NUMPY_swigconstant(_IMP_atom)
347 IMP_CGAL_HAS_NUMPY = _IMP_atom.IMP_CGAL_HAS_NUMPY
349 _IMP_atom.IMPCGAL_SHOW_WARNINGS_swigconstant(_IMP_atom)
350 IMPCGAL_SHOW_WARNINGS = _IMP_atom.IMPCGAL_SHOW_WARNINGS
353 _IMP_atom.IMP_ALGEBRA_HAS_IMP_CGAL_swigconstant(_IMP_atom)
354 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_atom.IMP_ALGEBRA_HAS_IMP_CGAL
356 _IMP_atom.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_atom)
357 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_atom.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
359 _IMP_atom.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_atom)
360 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_atom.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
362 _IMP_atom.IMP_ALGEBRA_HAS_BOOST_RANDOM_swigconstant(_IMP_atom)
363 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_atom.IMP_ALGEBRA_HAS_BOOST_RANDOM
365 _IMP_atom.IMP_ALGEBRA_HAS_BOOST_SYSTEM_swigconstant(_IMP_atom)
366 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_atom.IMP_ALGEBRA_HAS_BOOST_SYSTEM
368 _IMP_atom.IMP_ALGEBRA_HAS_CGAL_swigconstant(_IMP_atom)
369 IMP_ALGEBRA_HAS_CGAL = _IMP_atom.IMP_ALGEBRA_HAS_CGAL
371 _IMP_atom.IMP_ALGEBRA_HAS_NUMPY_swigconstant(_IMP_atom)
372 IMP_ALGEBRA_HAS_NUMPY = _IMP_atom.IMP_ALGEBRA_HAS_NUMPY
374 _IMP_atom.IMP_ALGEBRA_HAS_ANN_swigconstant(_IMP_atom)
375 IMP_ALGEBRA_HAS_ANN = _IMP_atom.IMP_ALGEBRA_HAS_ANN
377 _IMP_atom.IMPALGEBRA_SHOW_WARNINGS_swigconstant(_IMP_atom)
378 IMPALGEBRA_SHOW_WARNINGS = _IMP_atom.IMPALGEBRA_SHOW_WARNINGS
381 _IMP_atom.IMP_DISPLAY_HAS_IMP_CGAL_swigconstant(_IMP_atom)
382 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_atom.IMP_DISPLAY_HAS_IMP_CGAL
384 _IMP_atom.IMP_DISPLAY_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_atom)
385 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_atom.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
387 _IMP_atom.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_atom)
388 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_atom.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
390 _IMP_atom.IMP_DISPLAY_HAS_BOOST_RANDOM_swigconstant(_IMP_atom)
391 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_atom.IMP_DISPLAY_HAS_BOOST_RANDOM
393 _IMP_atom.IMP_DISPLAY_HAS_BOOST_SYSTEM_swigconstant(_IMP_atom)
394 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_atom.IMP_DISPLAY_HAS_BOOST_SYSTEM
396 _IMP_atom.IMP_DISPLAY_HAS_CGAL_swigconstant(_IMP_atom)
397 IMP_DISPLAY_HAS_CGAL = _IMP_atom.IMP_DISPLAY_HAS_CGAL
399 _IMP_atom.IMP_DISPLAY_HAS_NUMPY_swigconstant(_IMP_atom)
400 IMP_DISPLAY_HAS_NUMPY = _IMP_atom.IMP_DISPLAY_HAS_NUMPY
402 _IMP_atom.IMPDISPLAY_SHOW_WARNINGS_swigconstant(_IMP_atom)
403 IMPDISPLAY_SHOW_WARNINGS = _IMP_atom.IMPDISPLAY_SHOW_WARNINGS
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
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
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
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
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
421 _IMP_atom.IMP_SCORE_FUNCTOR_HAS_CGAL_swigconstant(_IMP_atom)
422 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_atom.IMP_SCORE_FUNCTOR_HAS_CGAL
424 _IMP_atom.IMP_SCORE_FUNCTOR_HAS_HDF5_swigconstant(_IMP_atom)
425 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_atom.IMP_SCORE_FUNCTOR_HAS_HDF5
427 _IMP_atom.IMP_SCORE_FUNCTOR_HAS_NUMPY_swigconstant(_IMP_atom)
428 IMP_SCORE_FUNCTOR_HAS_NUMPY = _IMP_atom.IMP_SCORE_FUNCTOR_HAS_NUMPY
430 _IMP_atom.IMPSCOREFUNCTOR_SHOW_WARNINGS_swigconstant(_IMP_atom)
431 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_atom.IMPSCOREFUNCTOR_SHOW_WARNINGS
434 _IMP_atom.IMP_CORE_HAS_IMP_CGAL_swigconstant(_IMP_atom)
435 IMP_CORE_HAS_IMP_CGAL = _IMP_atom.IMP_CORE_HAS_IMP_CGAL
437 _IMP_atom.IMP_CORE_HAS_IMP_KERNEL_swigconstant(_IMP_atom)
438 IMP_CORE_HAS_IMP_KERNEL = _IMP_atom.IMP_CORE_HAS_IMP_KERNEL
440 _IMP_atom.IMP_CORE_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_atom)
441 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_atom.IMP_CORE_HAS_BOOST_FILESYSTEM
443 _IMP_atom.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_atom)
444 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_atom.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
446 _IMP_atom.IMP_CORE_HAS_BOOST_RANDOM_swigconstant(_IMP_atom)
447 IMP_CORE_HAS_BOOST_RANDOM = _IMP_atom.IMP_CORE_HAS_BOOST_RANDOM
449 _IMP_atom.IMP_CORE_HAS_BOOST_SYSTEM_swigconstant(_IMP_atom)
450 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_atom.IMP_CORE_HAS_BOOST_SYSTEM
452 _IMP_atom.IMP_CORE_HAS_CGAL_swigconstant(_IMP_atom)
453 IMP_CORE_HAS_CGAL = _IMP_atom.IMP_CORE_HAS_CGAL
455 _IMP_atom.IMP_CORE_HAS_HDF5_swigconstant(_IMP_atom)
456 IMP_CORE_HAS_HDF5 = _IMP_atom.IMP_CORE_HAS_HDF5
458 _IMP_atom.IMP_CORE_HAS_NUMPY_swigconstant(_IMP_atom)
459 IMP_CORE_HAS_NUMPY = _IMP_atom.IMP_CORE_HAS_NUMPY
461 _IMP_atom.IMPCORE_SHOW_WARNINGS_swigconstant(_IMP_atom)
462 IMPCORE_SHOW_WARNINGS = _IMP_atom.IMPCORE_SHOW_WARNINGS
465 _IMP_atom.IMP_CONTAINER_HAS_IMP_ALGEBRA_swigconstant(_IMP_atom)
466 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_atom.IMP_CONTAINER_HAS_IMP_ALGEBRA
468 _IMP_atom.IMP_CONTAINER_HAS_IMP_CGAL_swigconstant(_IMP_atom)
469 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_atom.IMP_CONTAINER_HAS_IMP_CGAL
471 _IMP_atom.IMP_CONTAINER_HAS_IMP_DISPLAY_swigconstant(_IMP_atom)
472 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_atom.IMP_CONTAINER_HAS_IMP_DISPLAY
474 _IMP_atom.IMP_CONTAINER_HAS_IMP_KERNEL_swigconstant(_IMP_atom)
475 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_atom.IMP_CONTAINER_HAS_IMP_KERNEL
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
480 _IMP_atom.IMP_CONTAINER_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_atom)
481 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_atom.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
483 _IMP_atom.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_atom)
484 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_atom.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
486 _IMP_atom.IMP_CONTAINER_HAS_BOOST_RANDOM_swigconstant(_IMP_atom)
487 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_atom.IMP_CONTAINER_HAS_BOOST_RANDOM
489 _IMP_atom.IMP_CONTAINER_HAS_BOOST_SYSTEM_swigconstant(_IMP_atom)
490 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_atom.IMP_CONTAINER_HAS_BOOST_SYSTEM
492 _IMP_atom.IMP_CONTAINER_HAS_CGAL_swigconstant(_IMP_atom)
493 IMP_CONTAINER_HAS_CGAL = _IMP_atom.IMP_CONTAINER_HAS_CGAL
495 _IMP_atom.IMP_CONTAINER_HAS_HDF5_swigconstant(_IMP_atom)
496 IMP_CONTAINER_HAS_HDF5 = _IMP_atom.IMP_CONTAINER_HAS_HDF5
498 _IMP_atom.IMP_CONTAINER_HAS_NUMPY_swigconstant(_IMP_atom)
499 IMP_CONTAINER_HAS_NUMPY = _IMP_atom.IMP_CONTAINER_HAS_NUMPY
501 _IMP_atom.IMP_CONTAINER_HAS_PYTHON_IHM_swigconstant(_IMP_atom)
502 IMP_CONTAINER_HAS_PYTHON_IHM = _IMP_atom.IMP_CONTAINER_HAS_PYTHON_IHM
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
507 _IMP_atom.IMP_CONTAINER_HAS_ROBIN_MAP_swigconstant(_IMP_atom)
508 IMP_CONTAINER_HAS_ROBIN_MAP = _IMP_atom.IMP_CONTAINER_HAS_ROBIN_MAP
510 _IMP_atom.IMPCONTAINER_SHOW_WARNINGS_swigconstant(_IMP_atom)
511 IMPCONTAINER_SHOW_WARNINGS = _IMP_atom.IMPCONTAINER_SHOW_WARNINGS
514 _IMP_atom.IMP_ATOM_HAS_IMP_CGAL_swigconstant(_IMP_atom)
515 IMP_ATOM_HAS_IMP_CGAL = _IMP_atom.IMP_ATOM_HAS_IMP_CGAL
517 _IMP_atom.IMP_ATOM_HAS_IMP_KERNEL_swigconstant(_IMP_atom)
518 IMP_ATOM_HAS_IMP_KERNEL = _IMP_atom.IMP_ATOM_HAS_IMP_KERNEL
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
523 _IMP_atom.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_atom)
524 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_atom.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
526 _IMP_atom.IMP_ATOM_HAS_BOOST_RANDOM_swigconstant(_IMP_atom)
527 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_atom.IMP_ATOM_HAS_BOOST_RANDOM
529 _IMP_atom.IMP_ATOM_HAS_BOOST_REGEX_swigconstant(_IMP_atom)
530 IMP_ATOM_HAS_BOOST_REGEX = _IMP_atom.IMP_ATOM_HAS_BOOST_REGEX
532 _IMP_atom.IMP_ATOM_HAS_BOOST_SYSTEM_swigconstant(_IMP_atom)
533 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_atom.IMP_ATOM_HAS_BOOST_SYSTEM
535 _IMP_atom.IMP_ATOM_HAS_CGAL_swigconstant(_IMP_atom)
536 IMP_ATOM_HAS_CGAL = _IMP_atom.IMP_ATOM_HAS_CGAL
538 _IMP_atom.IMP_ATOM_HAS_HDF5_swigconstant(_IMP_atom)
539 IMP_ATOM_HAS_HDF5 = _IMP_atom.IMP_ATOM_HAS_HDF5
541 _IMP_atom.IMP_ATOM_HAS_NUMPY_swigconstant(_IMP_atom)
542 IMP_ATOM_HAS_NUMPY = _IMP_atom.IMP_ATOM_HAS_NUMPY
544 _IMP_atom.IMP_ATOM_HAS_PYTHON_IHM_swigconstant(_IMP_atom)
545 IMP_ATOM_HAS_PYTHON_IHM = _IMP_atom.IMP_ATOM_HAS_PYTHON_IHM
547 _IMP_atom.IMPATOM_SHOW_WARNINGS_swigconstant(_IMP_atom)
548 IMPATOM_SHOW_WARNINGS = _IMP_atom.IMPATOM_SHOW_WARNINGS
550 _IMP_atom.IMP_ATOM_TYPE_INDEX_swigconstant(_IMP_atom)
551 IMP_ATOM_TYPE_INDEX = _IMP_atom.IMP_ATOM_TYPE_INDEX
553 _IMP_atom.IMP_RESIDUE_TYPE_INDEX_swigconstant(_IMP_atom)
554 IMP_RESIDUE_TYPE_INDEX = _IMP_atom.IMP_RESIDUE_TYPE_INDEX
556 _IMP_atom.IMP_HIERARCHY_TYPE_INDEX_swigconstant(_IMP_atom)
557 IMP_HIERARCHY_TYPE_INDEX = _IMP_atom.IMP_HIERARCHY_TYPE_INDEX
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
567 """__init__(IMP::internal::BoostDigraph<(IMP::atom::HierarchyTree,IMP::atom::Hierarchy,IMP::atom::ShowHierarchyTreeVertex)> self) -> HierarchyTree"""
568 this = _IMP_atom.new_HierarchyTree()
570 self.this.append(this)
575 """get_graph(HierarchyTree self) -> IMP::atom::HierarchyTree const &"""
576 return _IMP_atom.HierarchyTree_get_graph(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)
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)
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)
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)
601 show_graphviz(HierarchyTree self, _ostream out)
602 show_graphviz(HierarchyTree self)
604 return _IMP_atom.HierarchyTree_show_graphviz(self, *args)
607 def get_graphviz_string(self):
608 """get_graphviz_string(HierarchyTree self) -> std::string"""
609 return _IMP_atom.HierarchyTree_get_graphviz_string(self)
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)
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)
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)
626 __swig_destroy__ = _IMP_atom.delete_HierarchyTree
627 __del__ =
lambda self:
None
628 HierarchyTree_swigregister = _IMP_atom.HierarchyTree_swigregister
629 HierarchyTree_swigregister(HierarchyTree)
632 _value_types.append(
"HierarchyTree")
635 _object_types.append(
"PDBSelector")
638 def _object_cast_to_PDBSelector(o):
639 """_object_cast_to_PDBSelector(Object o) -> PDBSelector"""
640 return _IMP_atom._object_cast_to_PDBSelector(o)
643 return [Angle(x)
for x
in l]
644 _plural_types.append(
"Angles")
647 _value_types.append(
"Angle")
651 return [Atom(x)
for x
in l]
652 _plural_types.append(
"Atoms")
655 _value_types.append(
"Atom")
659 return [Bond(x)
for x
in l]
660 _plural_types.append(
"Bonds")
663 _value_types.append(
"Bond")
667 return [Bonded(x)
for x
in l]
668 _plural_types.append(
"Bondeds")
671 _value_types.append(
"Bonded")
674 def CHARMMAtomList(l=[]):
675 return [CHARMMAtom(x)
for x
in l]
676 _plural_types.append(
"CHARMMAtomList")
679 _value_types.append(
"CHARMMAtom")
683 return [Chain(x)
for x
in l]
684 _plural_types.append(
"Chains")
687 _value_types.append(
"Chain")
690 def CenterOfMasses(l=[]):
691 return [CenterOfMass(x)
for x
in l]
692 _plural_types.append(
"CenterOfMasses")
695 _value_types.append(
"CenterOfMass")
699 return [Charged(x)
for x
in l]
700 _plural_types.append(
"Chargeds")
703 _value_types.append(
"Charged")
706 def Diffusions(l=[]):
707 return [Diffusion(x)
for x
in l]
708 _plural_types.append(
"Diffusions")
711 _value_types.append(
"Diffusion")
714 def RigidBodyDiffusions(l=[]):
715 return [RigidBodyDiffusion(x)
for x
in l]
716 _plural_types.append(
"RigidBodyDiffusions")
719 _value_types.append(
"RigidBodyDiffusion")
722 def TAMDParticles(l=[]):
723 return [TAMDParticle(x)
for x
in l]
724 _plural_types.append(
"TAMDParticles")
727 _value_types.append(
"TAMDParticle")
730 def TAMDCentroids(l=[]):
731 return [TAMDCentroid(x)
for x
in l]
732 _plural_types.append(
"TAMDCentroids")
735 _value_types.append(
"TAMDCentroid")
739 return [Dihedral(x)
for x
in l]
740 _plural_types.append(
"Dihedrals")
743 _value_types.append(
"Dihedral")
747 return [Domain(x)
for x
in l]
748 _plural_types.append(
"Domains")
751 _value_types.append(
"Domain")
755 return [Fragment(x)
for x
in l]
756 _plural_types.append(
"Fragments")
759 _value_types.append(
"Fragment")
762 def Hierarchies(l=[]):
763 return [Hierarchy(x)
for x
in l]
764 _plural_types.append(
"Hierarchies")
767 _value_types.append(
"Hierarchy")
770 def LennardJonesList(l=[]):
771 return [LennardJones(x)
for x
in l]
772 _plural_types.append(
"LennardJonesList")
775 _value_types.append(
"LennardJones")
779 return [Mass(x)
for x
in l]
780 _plural_types.append(
"Masses")
783 _value_types.append(
"Mass")
786 def LinearVelocities(l=[]):
787 return [LinearVelocity(x)
for x
in l]
788 _plural_types.append(
"LinearVelocities")
791 _value_types.append(
"LinearVelocity")
794 def AngularVelocities(l=[]):
795 return [AngularVelocity(x)
for x
in l]
796 _plural_types.append(
"AngularVelocities")
799 _value_types.append(
"AngularVelocity")
803 return [Molecule(x)
for x
in l]
804 _plural_types.append(
"Molecules")
807 _value_types.append(
"Molecule")
811 return [Residue(x)
for x
in l]
812 _plural_types.append(
"Residues")
815 _value_types.append(
"Residue")
818 def Representations(l=[]):
819 return [Representation(x)
for x
in l]
820 _plural_types.append(
"Representations")
823 _value_types.append(
"Representation")
827 return [State(x)
for x
in l]
828 _plural_types.append(
"States")
831 _value_types.append(
"State")
835 return [Copy(x)
for x
in l]
836 _plural_types.append(
"Copies")
839 _value_types.append(
"Copy")
842 def SecondaryStructureResidues(l=[]):
843 return [SecondaryStructureResidue(x)
for x
in l]
844 _plural_types.append(
"SecondaryStructureResidues")
847 _value_types.append(
"SecondaryStructureResidue")
850 def StructureSources(l=[]):
851 return [StructureSource(x)
for x
in l]
852 _plural_types.append(
"StructureSources")
855 _value_types.append(
"StructureSource")
858 _object_types.append(
"Simulator")
861 def _object_cast_to_Simulator(o):
862 """_object_cast_to_Simulator(Object o) -> Simulator"""
863 return _IMP_atom._object_cast_to_Simulator(o)
865 _object_types.append(
"ATOMPDBSelector")
868 def _object_cast_to_ATOMPDBSelector(o):
869 """_object_cast_to_ATOMPDBSelector(Object o) -> ATOMPDBSelector"""
870 return _IMP_atom._object_cast_to_ATOMPDBSelector(o)
872 _object_types.append(
"AllMol2Selector")
875 def _object_cast_to_AllMol2Selector(o):
876 """_object_cast_to_AllMol2Selector(Object o) -> AllMol2Selector"""
877 return _IMP_atom._object_cast_to_AllMol2Selector(o)
879 _object_types.append(
"AllPDBSelector")
882 def _object_cast_to_AllPDBSelector(o):
883 """_object_cast_to_AllPDBSelector(Object o) -> AllPDBSelector"""
884 return _IMP_atom._object_cast_to_AllPDBSelector(o)
886 _object_types.append(
"AndPDBSelector")
889 def _object_cast_to_AndPDBSelector(o):
890 """_object_cast_to_AndPDBSelector(Object o) -> AndPDBSelector"""
891 return _IMP_atom._object_cast_to_AndPDBSelector(o)
893 _object_types.append(
"XorPDBSelector")
896 def _object_cast_to_XorPDBSelector(o):
897 """_object_cast_to_XorPDBSelector(Object o) -> XorPDBSelector"""
898 return _IMP_atom._object_cast_to_XorPDBSelector(o)
900 _object_types.append(
"ResidueTypePDBSelector")
903 def _object_cast_to_ResidueTypePDBSelector(o):
904 """_object_cast_to_ResidueTypePDBSelector(Object o) -> ResidueTypePDBSelector"""
905 return _IMP_atom._object_cast_to_ResidueTypePDBSelector(o)
907 _object_types.append(
"AtomTypePDBSelector")
910 def _object_cast_to_AtomTypePDBSelector(o):
911 """_object_cast_to_AtomTypePDBSelector(Object o) -> AtomTypePDBSelector"""
912 return _IMP_atom._object_cast_to_AtomTypePDBSelector(o)
914 _object_types.append(
"AngleSingletonScore")
917 def _object_cast_to_AngleSingletonScore(o):
918 """_object_cast_to_AngleSingletonScore(Object o) -> AngleSingletonScore"""
919 return _IMP_atom._object_cast_to_AngleSingletonScore(o)
921 _object_types.append(
"BondEndpointsRefiner")
924 def _object_cast_to_BondEndpointsRefiner(o):
925 """_object_cast_to_BondEndpointsRefiner(Object o) -> BondEndpointsRefiner"""
926 return _IMP_atom._object_cast_to_BondEndpointsRefiner(o)
928 _object_types.append(
"BondPairContainer")
931 def _object_cast_to_BondPairContainer(o):
932 """_object_cast_to_BondPairContainer(Object o) -> BondPairContainer"""
933 return _IMP_atom._object_cast_to_BondPairContainer(o)
935 _object_types.append(
"BondSingletonScore")
938 def _object_cast_to_BondSingletonScore(o):
939 """_object_cast_to_BondSingletonScore(Object o) -> BondSingletonScore"""
940 return _IMP_atom._object_cast_to_BondSingletonScore(o)
942 _object_types.append(
"BondedPairFilter")
945 def _object_cast_to_BondedPairFilter(o):
946 """_object_cast_to_BondedPairFilter(Object o) -> BondedPairFilter"""
947 return _IMP_atom._object_cast_to_BondedPairFilter(o)
949 _object_types.append(
"BrownianDynamics")
952 def _object_cast_to_BrownianDynamics(o):
953 """_object_cast_to_BrownianDynamics(Object o) -> BrownianDynamics"""
954 return _IMP_atom._object_cast_to_BrownianDynamics(o)
956 _object_types.append(
"BrownianDynamicsTAMD")
959 def _object_cast_to_BrownianDynamicsTAMD(o):
960 """_object_cast_to_BrownianDynamicsTAMD(Object o) -> BrownianDynamicsTAMD"""
961 return _IMP_atom._object_cast_to_BrownianDynamicsTAMD(o)
963 _object_types.append(
"CAlphaPDBSelector")
966 def _object_cast_to_CAlphaPDBSelector(o):
967 """_object_cast_to_CAlphaPDBSelector(Object o) -> CAlphaPDBSelector"""
968 return _IMP_atom._object_cast_to_CAlphaPDBSelector(o)
970 _object_types.append(
"CBetaPDBSelector")
973 def _object_cast_to_CBetaPDBSelector(o):
974 """_object_cast_to_CBetaPDBSelector(Object o) -> CBetaPDBSelector"""
975 return _IMP_atom._object_cast_to_CBetaPDBSelector(o)
977 _object_types.append(
"BackbonePDBSelector")
980 def _object_cast_to_BackbonePDBSelector(o):
981 """_object_cast_to_BackbonePDBSelector(Object o) -> BackbonePDBSelector"""
982 return _IMP_atom._object_cast_to_BackbonePDBSelector(o)
984 _object_types.append(
"CHARMMParameters")
987 def _object_cast_to_CHARMMParameters(o):
988 """_object_cast_to_CHARMMParameters(Object o) -> CHARMMParameters"""
989 return _IMP_atom._object_cast_to_CHARMMParameters(o)
991 _object_types.append(
"CHARMMResidueTopology")
994 def _object_cast_to_CHARMMResidueTopology(o):
995 """_object_cast_to_CHARMMResidueTopology(Object o) -> CHARMMResidueTopology"""
996 return _IMP_atom._object_cast_to_CHARMMResidueTopology(o)
998 _object_types.append(
"CHARMMSegmentTopology")
1001 def _object_cast_to_CHARMMSegmentTopology(o):
1002 """_object_cast_to_CHARMMSegmentTopology(Object o) -> CHARMMSegmentTopology"""
1003 return _IMP_atom._object_cast_to_CHARMMSegmentTopology(o)
1005 _object_types.append(
"CHARMMStereochemistryRestraint")
1008 def _object_cast_to_CHARMMStereochemistryRestraint(o):
1009 """_object_cast_to_CHARMMStereochemistryRestraint(Object o) -> CHARMMStereochemistryRestraint"""
1010 return _IMP_atom._object_cast_to_CHARMMStereochemistryRestraint(o)
1012 _object_types.append(
"CHARMMTopology")
1015 def _object_cast_to_CHARMMTopology(o):
1016 """_object_cast_to_CHARMMTopology(Object o) -> CHARMMTopology"""
1017 return _IMP_atom._object_cast_to_CHARMMTopology(o)
1019 _object_types.append(
"CPDBSelector")
1022 def _object_cast_to_CPDBSelector(o):
1023 """_object_cast_to_CPDBSelector(Object o) -> CPDBSelector"""
1024 return _IMP_atom._object_cast_to_CPDBSelector(o)
1026 _object_types.append(
"ChainPDBSelector")
1029 def _object_cast_to_ChainPDBSelector(o):
1030 """_object_cast_to_ChainPDBSelector(Object o) -> ChainPDBSelector"""
1031 return _IMP_atom._object_cast_to_ChainPDBSelector(o)
1033 _object_types.append(
"CoulombPairScore")
1036 def _object_cast_to_CoulombPairScore(o):
1037 """_object_cast_to_CoulombPairScore(Object o) -> CoulombPairScore"""
1038 return _IMP_atom._object_cast_to_CoulombPairScore(o)
1040 _object_types.append(
"CoverBond")
1043 def _object_cast_to_CoverBond(o):
1044 """_object_cast_to_CoverBond(Object o) -> CoverBond"""
1045 return _IMP_atom._object_cast_to_CoverBond(o)
1047 _object_types.append(
"DihedralSingletonScore")
1050 def _object_cast_to_DihedralSingletonScore(o):
1051 """_object_cast_to_DihedralSingletonScore(Object o) -> DihedralSingletonScore"""
1052 return _IMP_atom._object_cast_to_DihedralSingletonScore(o)
1054 _object_types.append(
"DopePairScore")
1057 def _object_cast_to_DopePairScore(o):
1058 """_object_cast_to_DopePairScore(Object o) -> DopePairScore"""
1059 return _IMP_atom._object_cast_to_DopePairScore(o)
1061 _object_types.append(
"LoopStatisticalPairScore")
1064 def _object_cast_to_LoopStatisticalPairScore(o):
1065 """_object_cast_to_LoopStatisticalPairScore(Object o) -> LoopStatisticalPairScore"""
1066 return _IMP_atom._object_cast_to_LoopStatisticalPairScore(o)
1068 _object_types.append(
"OrientedSoapPairScore")
1071 def _object_cast_to_OrientedSoapPairScore(o):
1072 """_object_cast_to_OrientedSoapPairScore(Object o) -> OrientedSoapPairScore"""
1073 return _IMP_atom._object_cast_to_OrientedSoapPairScore(o)
1075 _object_types.append(
"EzRestraint")
1078 def _object_cast_to_EzRestraint(o):
1079 """_object_cast_to_EzRestraint(Object o) -> EzRestraint"""
1080 return _IMP_atom._object_cast_to_EzRestraint(o)
1082 _object_types.append(
"ForceFieldParameters")
1085 def _object_cast_to_ForceFieldParameters(o):
1086 """_object_cast_to_ForceFieldParameters(Object o) -> ForceFieldParameters"""
1087 return _IMP_atom._object_cast_to_ForceFieldParameters(o)
1089 _object_types.append(
"ForceSwitch")
1092 def _object_cast_to_ForceSwitch(o):
1093 """_object_cast_to_ForceSwitch(Object o) -> ForceSwitch"""
1094 return _IMP_atom._object_cast_to_ForceSwitch(o)
1096 _object_types.append(
"HydrogenPDBSelector")
1099 def _object_cast_to_HydrogenPDBSelector(o):
1100 """_object_cast_to_HydrogenPDBSelector(Object o) -> HydrogenPDBSelector"""
1101 return _IMP_atom._object_cast_to_HydrogenPDBSelector(o)
1103 _object_types.append(
"ImproperSingletonScore")
1106 def _object_cast_to_ImproperSingletonScore(o):
1107 """_object_cast_to_ImproperSingletonScore(Object o) -> ImproperSingletonScore"""
1108 return _IMP_atom._object_cast_to_ImproperSingletonScore(o)
1110 _object_types.append(
"LennardJonesPairScore")
1113 def _object_cast_to_LennardJonesPairScore(o):
1114 """_object_cast_to_LennardJonesPairScore(Object o) -> LennardJonesPairScore"""
1115 return _IMP_atom._object_cast_to_LennardJonesPairScore(o)
1117 _object_types.append(
"Mol2Selector")
1120 def _object_cast_to_Mol2Selector(o):
1121 """_object_cast_to_Mol2Selector(Object o) -> Mol2Selector"""
1122 return _IMP_atom._object_cast_to_Mol2Selector(o)
1124 _object_types.append(
"MolecularDynamics")
1127 def _object_cast_to_MolecularDynamics(o):
1128 """_object_cast_to_MolecularDynamics(Object o) -> MolecularDynamics"""
1129 return _IMP_atom._object_cast_to_MolecularDynamics(o)
1131 _object_types.append(
"NPDBSelector")
1134 def _object_cast_to_NPDBSelector(o):
1135 """_object_cast_to_NPDBSelector(Object o) -> NPDBSelector"""
1136 return _IMP_atom._object_cast_to_NPDBSelector(o)
1138 _object_types.append(
"NonAlternativePDBSelector")
1141 def _object_cast_to_NonAlternativePDBSelector(o):
1142 """_object_cast_to_NonAlternativePDBSelector(Object o) -> NonAlternativePDBSelector"""
1143 return _IMP_atom._object_cast_to_NonAlternativePDBSelector(o)
1145 _object_types.append(
"NonHydrogenMol2Selector")
1148 def _object_cast_to_NonHydrogenMol2Selector(o):
1149 """_object_cast_to_NonHydrogenMol2Selector(Object o) -> NonHydrogenMol2Selector"""
1150 return _IMP_atom._object_cast_to_NonHydrogenMol2Selector(o)
1152 _object_types.append(
"NonHydrogenPDBSelector")
1155 def _object_cast_to_NonHydrogenPDBSelector(o):
1156 """_object_cast_to_NonHydrogenPDBSelector(Object o) -> NonHydrogenPDBSelector"""
1157 return _IMP_atom._object_cast_to_NonHydrogenPDBSelector(o)
1159 _object_types.append(
"NonWaterNonHydrogenPDBSelector")
1162 def _object_cast_to_NonWaterNonHydrogenPDBSelector(o):
1163 """_object_cast_to_NonWaterNonHydrogenPDBSelector(Object o) -> NonWaterNonHydrogenPDBSelector"""
1164 return _IMP_atom._object_cast_to_NonWaterNonHydrogenPDBSelector(o)
1166 _object_types.append(
"NonWaterPDBSelector")
1169 def _object_cast_to_NonWaterPDBSelector(o):
1170 """_object_cast_to_NonWaterPDBSelector(Object o) -> NonWaterPDBSelector"""
1171 return _IMP_atom._object_cast_to_NonWaterPDBSelector(o)
1173 _object_types.append(
"NotPDBSelector")
1176 def _object_cast_to_NotPDBSelector(o):
1177 """_object_cast_to_NotPDBSelector(Object o) -> NotPDBSelector"""
1178 return _IMP_atom._object_cast_to_NotPDBSelector(o)
1180 _object_types.append(
"OrPDBSelector")
1183 def _object_cast_to_OrPDBSelector(o):
1184 """_object_cast_to_OrPDBSelector(Object o) -> OrPDBSelector"""
1185 return _IMP_atom._object_cast_to_OrPDBSelector(o)
1187 _object_types.append(
"PPDBSelector")
1190 def _object_cast_to_PPDBSelector(o):
1191 """_object_cast_to_PPDBSelector(Object o) -> PPDBSelector"""
1192 return _IMP_atom._object_cast_to_PPDBSelector(o)
1194 _object_types.append(
"ProteinLigandAtomPairScore")
1197 def _object_cast_to_ProteinLigandAtomPairScore(o):
1198 """_object_cast_to_ProteinLigandAtomPairScore(Object o) -> ProteinLigandAtomPairScore"""
1199 return _IMP_atom._object_cast_to_ProteinLigandAtomPairScore(o)
1201 _object_types.append(
"ProteinLigandRestraint")
1204 def _object_cast_to_ProteinLigandRestraint(o):
1205 """_object_cast_to_ProteinLigandRestraint(Object o) -> ProteinLigandRestraint"""
1206 return _IMP_atom._object_cast_to_ProteinLigandRestraint(o)
1208 _object_types.append(
"SameResiduePairFilter")
1211 def _object_cast_to_SameResiduePairFilter(o):
1212 """_object_cast_to_SameResiduePairFilter(Object o) -> SameResiduePairFilter"""
1213 return _IMP_atom._object_cast_to_SameResiduePairFilter(o)
1215 _object_types.append(
"SoapPairFilter")
1218 def _object_cast_to_SoapPairFilter(o):
1219 """_object_cast_to_SoapPairFilter(Object o) -> SoapPairFilter"""
1220 return _IMP_atom._object_cast_to_SoapPairFilter(o)
1222 _object_types.append(
"SmoothingFunction")
1225 def _object_cast_to_SmoothingFunction(o):
1226 """_object_cast_to_SmoothingFunction(Object o) -> SmoothingFunction"""
1227 return _IMP_atom._object_cast_to_SmoothingFunction(o)
1229 _object_types.append(
"StereochemistryPairFilter")
1232 def _object_cast_to_StereochemistryPairFilter(o):
1233 """_object_cast_to_StereochemistryPairFilter(Object o) -> StereochemistryPairFilter"""
1234 return _IMP_atom._object_cast_to_StereochemistryPairFilter(o)
1236 _object_types.append(
"VelocityScalingOptimizerState")
1239 def _object_cast_to_VelocityScalingOptimizerState(o):
1240 """_object_cast_to_VelocityScalingOptimizerState(Object o) -> VelocityScalingOptimizerState"""
1241 return _IMP_atom._object_cast_to_VelocityScalingOptimizerState(o)
1243 _object_types.append(
"WaterPDBSelector")
1246 def _object_cast_to_WaterPDBSelector(o):
1247 """_object_cast_to_WaterPDBSelector(Object o) -> WaterPDBSelector"""
1248 return _IMP_atom._object_cast_to_WaterPDBSelector(o)
1250 _object_types.append(
"WritePDBOptimizerState")
1253 def _object_cast_to_WritePDBOptimizerState(o):
1254 """_object_cast_to_WritePDBOptimizerState(Object o) -> WritePDBOptimizerState"""
1255 return _IMP_atom._object_cast_to_WritePDBOptimizerState(o)
1258 _plural_types.append(
"AtomTypes")
1259 _value_types.append(
"AtomType")
1262 CHARMMAtomTopologies=list
1263 _plural_types.append(
"CHARMMAtomTopologies")
1264 _value_types.append(
"CHARMMAtomTopology")
1267 CHARMMBondEndpoints=list
1268 _plural_types.append(
"CHARMMBondEndpoints")
1269 _value_types.append(
"CHARMMBondEndpoint")
1272 CHARMMBondParametersList=list
1273 _plural_types.append(
"CHARMMBondParametersList")
1274 _value_types.append(
"CHARMMBondParameters")
1277 CHARMMDihedralParametersList=list
1278 _plural_types.append(
"CHARMMDihedralParametersList")
1279 _value_types.append(
"CHARMMDihedralParameters")
1282 _object_types.append(
"CHARMMIdealResidueTopology")
1285 def _object_cast_to_CHARMMIdealResidueTopology(o):
1286 """_object_cast_to_CHARMMIdealResidueTopology(Object o) -> CHARMMIdealResidueTopology"""
1287 return _IMP_atom._object_cast_to_CHARMMIdealResidueTopology(o)
1289 CHARMMInternalCoordinates=list
1290 _plural_types.append(
"CHARMMInternalCoordinates")
1291 _value_types.append(
"CHARMMInternalCoordinate")
1294 _object_types.append(
"CHARMMPatch")
1297 def _object_cast_to_CHARMMPatch(o):
1298 """_object_cast_to_CHARMMPatch(Object o) -> CHARMMPatch"""
1299 return _IMP_atom._object_cast_to_CHARMMPatch(o)
1301 _object_types.append(
"CHARMMResidueTopologyBase")
1304 def _object_cast_to_CHARMMResidueTopologyBase(o):
1305 """_object_cast_to_CHARMMResidueTopologyBase(Object o) -> CHARMMResidueTopologyBase"""
1306 return _IMP_atom._object_cast_to_CHARMMResidueTopologyBase(o)
1309 _plural_types.append(
"ResidueTypes")
1310 _value_types.append(
"ResidueType")
1314 _plural_types.append(
"ChainTypes")
1315 _value_types.append(
"ChainType")
1319 _plural_types.append(
"Selections")
1320 _value_types.append(
"Selection")
1323 _object_types.append(
"RemoveRigidMotionOptimizerState")
1326 def _object_cast_to_RemoveRigidMotionOptimizerState(o):
1327 """_object_cast_to_RemoveRigidMotionOptimizerState(Object o) -> RemoveRigidMotionOptimizerState"""
1328 return _IMP_atom._object_cast_to_RemoveRigidMotionOptimizerState(o)
1330 _object_types.append(
"BerendsenThermostatOptimizerState")
1333 def _object_cast_to_BerendsenThermostatOptimizerState(o):
1334 """_object_cast_to_BerendsenThermostatOptimizerState(Object o) -> BerendsenThermostatOptimizerState"""
1335 return _IMP_atom._object_cast_to_BerendsenThermostatOptimizerState(o)
1337 _object_types.append(
"LangevinThermostatOptimizerState")
1340 def _object_cast_to_LangevinThermostatOptimizerState(o):
1341 """_object_cast_to_LangevinThermostatOptimizerState(Object o) -> LangevinThermostatOptimizerState"""
1342 return _IMP_atom._object_cast_to_LangevinThermostatOptimizerState(o)
1344 _object_types.append(
"SelectionGeometry")
1347 def _object_cast_to_SelectionGeometry(o):
1348 """_object_cast_to_SelectionGeometry(Object o) -> SelectionGeometry"""
1349 return _IMP_atom._object_cast_to_SelectionGeometry(o)
1351 _object_types.append(
"HierarchyGeometry")
1354 def _object_cast_to_HierarchyGeometry(o):
1355 """_object_cast_to_HierarchyGeometry(Object o) -> HierarchyGeometry"""
1356 return _IMP_atom._object_cast_to_HierarchyGeometry(o)
1358 _object_types.append(
"HierarchiesGeometry")
1361 def _object_cast_to_HierarchiesGeometry(o):
1362 """_object_cast_to_HierarchiesGeometry(Object o) -> HierarchiesGeometry"""
1363 return _IMP_atom._object_cast_to_HierarchiesGeometry(o)
1365 _object_types.append(
"BondGeometry")
1368 def _object_cast_to_BondGeometry(o):
1369 """_object_cast_to_BondGeometry(Object o) -> BondGeometry"""
1370 return _IMP_atom._object_cast_to_BondGeometry(o)
1372 _object_types.append(
"BondsGeometry")
1375 def _object_cast_to_BondsGeometry(o):
1376 """_object_cast_to_BondsGeometry(Object o) -> BondsGeometry"""
1377 return _IMP_atom._object_cast_to_BondsGeometry(o)
1379 _object_types.append(
"CAAngleRestraint")
1382 def _object_cast_to_CAAngleRestraint(o):
1383 """_object_cast_to_CAAngleRestraint(Object o) -> CAAngleRestraint"""
1384 return _IMP_atom._object_cast_to_CAAngleRestraint(o)
1386 _object_types.append(
"CADihedralRestraint")
1389 def _object_cast_to_CADihedralRestraint(o):
1390 """_object_cast_to_CADihedralRestraint(Object o) -> CADihedralRestraint"""
1391 return _IMP_atom._object_cast_to_CADihedralRestraint(o)
1393 _object_types.append(
"HelixRestraint")
1396 def _object_cast_to_HelixRestraint(o):
1397 """_object_cast_to_HelixRestraint(Object o) -> HelixRestraint"""
1398 return _IMP_atom._object_cast_to_HelixRestraint(o)
1400 CHARMMDihedrals=list
1401 _plural_types.append(
"CHARMMDihedrals")
1402 _value_types.append(
"CHARMMDihedral")
1406 _plural_types.append(
"CHARMMBonds")
1407 _value_types.append(
"CHARMMBond")
1411 _plural_types.append(
"CHARMMAngles")
1412 _value_types.append(
"CHARMMAngle")
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')
1418 def __init__(self, *args):
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
1424 this = _IMP_atom.new_Bond(*args)
1426 self.this.append(this)
1430 def show(self, *args):
1432 show(Bond self, _ostream out)
1435 return _IMP_atom.Bond_show(self, *args)
1438 def get_is_setup(*args):
1440 get_is_setup(_ParticleAdaptor p) -> bool
1441 get_is_setup(Model m, ParticleIndex pi) -> bool
1443 return _IMP_atom.Bond_get_is_setup(*args)
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
1457 def get_bonded(self, i):
1458 """get_bonded(Bond self, unsigned int i) -> Bonded"""
1459 return _IMP_atom.Bond_get_bonded(self, i)
1463 """get_type(Bond self) -> IMP::Int"""
1464 return _IMP_atom.Bond_get_type(self)
1467 def set_type(self, t):
1468 """set_type(Bond self, IMP::Int t)"""
1469 return _IMP_atom.Bond_set_type(self, t)
1473 """get_order(Bond self) -> IMP::Int"""
1474 return _IMP_atom.Bond_get_order(self)
1477 def set_order(self, t):
1478 """set_order(Bond self, IMP::Int t)"""
1479 return _IMP_atom.Bond_set_order(self, t)
1482 def get_length(self):
1483 """get_length(Bond self) -> IMP::Float"""
1484 return _IMP_atom.Bond_get_length(self)
1487 def set_length(self, t):
1488 """set_length(Bond self, IMP::Float t)"""
1489 return _IMP_atom.Bond_set_length(self, t)
1492 def get_stiffness(self):
1493 """get_stiffness(Bond self) -> IMP::Float"""
1494 return _IMP_atom.Bond_get_stiffness(self)
1497 def set_stiffness(self, t):
1498 """set_stiffness(Bond self, IMP::Float t)"""
1499 return _IMP_atom.Bond_set_stiffness(self, t)
1502 def get_length_key():
1503 """get_length_key() -> FloatKey"""
1504 return _IMP_atom.Bond_get_length_key()
1506 get_length_key = staticmethod(get_length_key)
1508 def add_attribute(self, *args):
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)
1519 return _IMP_atom.Bond_add_attribute(self, *args)
1522 def get_value(self, *args):
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
1532 return _IMP_atom.Bond_get_value(self, *args)
1535 def set_value(self, *args):
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)
1545 return _IMP_atom.Bond_set_value(self, *args)
1548 def remove_attribute(self, *args):
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)
1558 return _IMP_atom.Bond_remove_attribute(self, *args)
1561 def has_attribute(self, *args):
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
1571 return _IMP_atom.Bond_has_attribute(self, *args)
1574 def get_derivative(self, a0):
1575 """get_derivative(Bond self, FloatKey a0) -> double"""
1576 return _IMP_atom.Bond_get_derivative(self, a0)
1580 """get_name(Bond self) -> std::string"""
1581 return _IMP_atom.Bond_get_name(self)
1584 def clear_caches(self):
1585 """clear_caches(Bond self)"""
1586 return _IMP_atom.Bond_clear_caches(self)
1589 def set_name(self, a0):
1590 """set_name(Bond self, std::string a0)"""
1591 return _IMP_atom.Bond_set_name(self, a0)
1595 """set_check_level(Bond self, IMP::CheckLevel a0)"""
1596 return _IMP_atom.Bond_set_check_level(self, a0)
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)
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)
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)
1615 """get_check_level(Bond self) -> IMP::CheckLevel"""
1616 return _IMP_atom.Bond_get_check_level(self)
1619 def __eq__(self, *args):
1621 __eq__(Bond self, Bond o) -> bool
1622 __eq__(Bond self, Particle d) -> bool
1624 return _IMP_atom.Bond___eq__(self, *args)
1627 def __ne__(self, *args):
1629 __ne__(Bond self, Bond o) -> bool
1630 __ne__(Bond self, Particle d) -> bool
1632 return _IMP_atom.Bond___ne__(self, *args)
1635 def __le__(self, *args):
1637 __le__(Bond self, Bond o) -> bool
1638 __le__(Bond self, Particle d) -> bool
1640 return _IMP_atom.Bond___le__(self, *args)
1643 def __lt__(self, *args):
1645 __lt__(Bond self, Bond o) -> bool
1646 __lt__(Bond self, Particle d) -> bool
1648 return _IMP_atom.Bond___lt__(self, *args)
1651 def __ge__(self, *args):
1653 __ge__(Bond self, Bond o) -> bool
1654 __ge__(Bond self, Particle d) -> bool
1656 return _IMP_atom.Bond___ge__(self, *args)
1659 def __gt__(self, *args):
1661 __gt__(Bond self, Bond o) -> bool
1662 __gt__(Bond self, Particle d) -> bool
1664 return _IMP_atom.Bond___gt__(self, *args)
1668 """__hash__(Bond self) -> std::size_t"""
1669 return _IMP_atom.Bond___hash__(self)
1673 """__str__(Bond self) -> std::string"""
1674 return _IMP_atom.Bond___str__(self)
1678 """__repr__(Bond self) -> std::string"""
1679 return _IMP_atom.Bond___repr__(self)
1681 __swig_destroy__ = _IMP_atom.delete_Bond
1682 __del__ =
lambda self:
None
1683 Bond_swigregister = _IMP_atom.Bond_swigregister
1684 Bond_swigregister(Bond)
1686 def Bond_get_is_setup(*args):
1688 get_is_setup(_ParticleAdaptor p) -> bool
1689 Bond_get_is_setup(Model m, ParticleIndex pi) -> bool
1691 return _IMP_atom.Bond_get_is_setup(*args)
1693 def Bond_get_length_key():
1694 """Bond_get_length_key() -> FloatKey"""
1695 return _IMP_atom.Bond_get_length_key()
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')
1701 def __init__(self, *args):
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
1707 this = _IMP_atom.new_Bonded(*args)
1709 self.this.append(this)
1713 def show(self, *args):
1715 show(Bonded self, _ostream out)
1718 return _IMP_atom.Bonded_show(self, *args)
1721 def setup_particle(*args):
1723 setup_particle(Model m, ParticleIndex pi) -> Bonded
1724 setup_particle(_ParticleAdaptor decorator) -> Bonded
1726 return _IMP_atom.Bonded_setup_particle(*args)
1728 setup_particle = staticmethod(setup_particle)
1730 def get_is_setup(*args):
1732 get_is_setup(_ParticleAdaptor p) -> bool
1733 get_is_setup(Model m, ParticleIndex pi) -> bool
1735 return _IMP_atom.Bonded_get_is_setup(*args)
1737 get_is_setup = staticmethod(get_is_setup)
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)
1744 def get_bond_indexes(self):
1745 """get_bond_indexes(Bonded self) -> IMP::ParticleIndexes"""
1746 return _IMP_atom.Bonded_get_bond_indexes(self)
1750 """get_bond(Bonded self, unsigned int i) -> Bond"""
1751 return _IMP_atom.Bonded_get_bond(self, i)
1754 def get_bonded(self, i):
1755 """get_bonded(Bonded self, unsigned int i) -> Bonded"""
1756 return _IMP_atom.Bonded_get_bonded(self, i)
1759 def add_attribute(self, *args):
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)
1770 return _IMP_atom.Bonded_add_attribute(self, *args)
1773 def get_value(self, *args):
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
1783 return _IMP_atom.Bonded_get_value(self, *args)
1786 def set_value(self, *args):
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)
1796 return _IMP_atom.Bonded_set_value(self, *args)
1799 def remove_attribute(self, *args):
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)
1809 return _IMP_atom.Bonded_remove_attribute(self, *args)
1812 def has_attribute(self, *args):
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
1822 return _IMP_atom.Bonded_has_attribute(self, *args)
1825 def get_derivative(self, a0):
1826 """get_derivative(Bonded self, FloatKey a0) -> double"""
1827 return _IMP_atom.Bonded_get_derivative(self, a0)
1831 """get_name(Bonded self) -> std::string"""
1832 return _IMP_atom.Bonded_get_name(self)
1835 def clear_caches(self):
1836 """clear_caches(Bonded self)"""
1837 return _IMP_atom.Bonded_clear_caches(self)
1840 def set_name(self, a0):
1841 """set_name(Bonded self, std::string a0)"""
1842 return _IMP_atom.Bonded_set_name(self, a0)
1846 """set_check_level(Bonded self, IMP::CheckLevel a0)"""
1847 return _IMP_atom.Bonded_set_check_level(self, a0)
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)
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)
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)
1866 """get_check_level(Bonded self) -> IMP::CheckLevel"""
1867 return _IMP_atom.Bonded_get_check_level(self)
1870 def __eq__(self, *args):
1872 __eq__(Bonded self, Bonded o) -> bool
1873 __eq__(Bonded self, Particle d) -> bool
1875 return _IMP_atom.Bonded___eq__(self, *args)
1878 def __ne__(self, *args):
1880 __ne__(Bonded self, Bonded o) -> bool
1881 __ne__(Bonded self, Particle d) -> bool
1883 return _IMP_atom.Bonded___ne__(self, *args)
1886 def __le__(self, *args):
1888 __le__(Bonded self, Bonded o) -> bool
1889 __le__(Bonded self, Particle d) -> bool
1891 return _IMP_atom.Bonded___le__(self, *args)
1894 def __lt__(self, *args):
1896 __lt__(Bonded self, Bonded o) -> bool
1897 __lt__(Bonded self, Particle d) -> bool
1899 return _IMP_atom.Bonded___lt__(self, *args)
1902 def __ge__(self, *args):
1904 __ge__(Bonded self, Bonded o) -> bool
1905 __ge__(Bonded self, Particle d) -> bool
1907 return _IMP_atom.Bonded___ge__(self, *args)
1910 def __gt__(self, *args):
1912 __gt__(Bonded self, Bonded o) -> bool
1913 __gt__(Bonded self, Particle d) -> bool
1915 return _IMP_atom.Bonded___gt__(self, *args)
1919 """__hash__(Bonded self) -> std::size_t"""
1920 return _IMP_atom.Bonded___hash__(self)
1924 """__str__(Bonded self) -> std::string"""
1925 return _IMP_atom.Bonded___str__(self)
1929 """__repr__(Bonded self) -> std::string"""
1930 return _IMP_atom.Bonded___repr__(self)
1932 __swig_destroy__ = _IMP_atom.delete_Bonded
1933 __del__ =
lambda self:
None
1934 Bonded_swigregister = _IMP_atom.Bonded_swigregister
1935 Bonded_swigregister(Bonded)
1937 def Bonded_setup_particle(*args):
1939 setup_particle(Model m, ParticleIndex pi) -> Bonded
1940 Bonded_setup_particle(_ParticleAdaptor decorator) -> Bonded
1942 return _IMP_atom.Bonded_setup_particle(*args)
1944 def Bonded_get_is_setup(*args):
1946 get_is_setup(_ParticleAdaptor p) -> bool
1947 Bonded_get_is_setup(Model m, ParticleIndex pi) -> bool
1949 return _IMP_atom.Bonded_get_is_setup(*args)
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
1957 return _IMP_atom.create_custom_bond(a, b, length, stiffness)
1961 create_bond(Bonded a, Bonded b, IMP::Int t) -> Bond
1962 create_bond(Bonded a, Bonded b, Bond o) -> Bond
1964 return _IMP_atom.create_bond(*args)
1967 """destroy_bond(Bond b)"""
1968 return _IMP_atom.destroy_bond(b)
1971 """get_bond(Bonded a, Bonded b) -> Bond"""
1972 return _IMP_atom.get_bond(a, b)
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')
1977 def __init__(self, *args):
1979 __init__(IMP::atom::BondGeometry self, Particle p) -> BondGeometry
1980 __init__(IMP::atom::BondGeometry self, Bond d) -> BondGeometry
1982 this = _IMP_atom.new_BondGeometry(*args)
1984 self.this.append(this)
1988 def get_version_info(self):
1989 """get_version_info(BondGeometry self) -> VersionInfo"""
1990 return _IMP_atom.BondGeometry_get_version_info(self)
1994 """__str__(BondGeometry self) -> std::string"""
1995 return _IMP_atom.BondGeometry___str__(self)
1999 """__repr__(BondGeometry self) -> std::string"""
2000 return _IMP_atom.BondGeometry___repr__(self)
2005 return _object_cast_to_BondGeometry(o)
2007 BondGeometry_swigregister = _IMP_atom.BondGeometry_swigregister
2008 BondGeometry_swigregister(BondGeometry)
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')
2014 def __init__(self, sc):
2015 """__init__(IMP::atom::BondsGeometry self, SingletonContainer sc) -> BondsGeometry"""
2016 this = _IMP_atom.new_BondsGeometry(sc)
2018 self.this.append(this)
2022 def get_version_info(self):
2023 """get_version_info(BondsGeometry self) -> VersionInfo"""
2024 return _IMP_atom.BondsGeometry_get_version_info(self)
2028 """__str__(BondsGeometry self) -> std::string"""
2029 return _IMP_atom.BondsGeometry___str__(self)
2033 """__repr__(BondsGeometry self) -> std::string"""
2034 return _IMP_atom.BondsGeometry___repr__(self)
2039 return _object_cast_to_BondsGeometry(o)
2041 BondsGeometry_swigregister = _IMP_atom.BondsGeometry_swigregister
2042 BondsGeometry_swigregister(BondsGeometry)
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')
2048 def __init__(self, *args):
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
2055 this = _IMP_atom.new_Hierarchy(*args)
2057 self.this.append(this)
2061 def setup_particle(*args):
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
2068 return _IMP_atom.Hierarchy_setup_particle(*args)
2070 setup_particle = staticmethod(setup_particle)
2072 def get_is_setup(*args):
2074 get_is_setup(Particle p) -> bool
2075 get_is_setup(Model m, ParticleIndex p) -> bool
2077 return _IMP_atom.Hierarchy_get_is_setup(*args)
2079 get_is_setup = staticmethod(get_is_setup)
2081 def get_is_valid(self, print_info=False):
2083 get_is_valid(Hierarchy self, bool print_info=False) -> bool
2084 get_is_valid(Hierarchy self) -> bool
2086 return _IMP_atom.Hierarchy_get_is_valid(self, print_info)
2089 def add_child(self, o):
2090 """add_child(Hierarchy self, Hierarchy o)"""
2091 return _IMP_atom.Hierarchy_add_child(self, o)
2094 def get_child(self, i):
2095 """get_child(Hierarchy self, unsigned int i) -> Hierarchy"""
2096 return _IMP_atom.Hierarchy_get_child(self, i)
2099 def get_children(self):
2100 """get_children(Hierarchy self) -> IMP::atom::Hierarchies"""
2101 return _IMP_atom.Hierarchy_get_children(self)
2104 def get_parent(self):
2105 """get_parent(Hierarchy self) -> Hierarchy"""
2106 return _IMP_atom.Hierarchy_get_parent(self)
2110 """get_traits() -> HierarchyTraits"""
2111 return _IMP_atom.Hierarchy_get_traits()
2113 get_traits = staticmethod(get_traits)
2115 def show(self, *args):
2117 show(Hierarchy self, _ostream out, std::string delimiter)
2118 show(Hierarchy self, _ostream out)
2119 show(Hierarchy self)
2121 return _IMP_atom.Hierarchy_show(self, *args)
2124 def add_attribute(self, *args):
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)
2135 return _IMP_atom.Hierarchy_add_attribute(self, *args)
2138 def get_value(self, *args):
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
2148 return _IMP_atom.Hierarchy_get_value(self, *args)
2151 def set_value(self, *args):
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)
2161 return _IMP_atom.Hierarchy_set_value(self, *args)
2164 def remove_attribute(self, *args):
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)
2174 return _IMP_atom.Hierarchy_remove_attribute(self, *args)
2177 def has_attribute(self, *args):
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
2187 return _IMP_atom.Hierarchy_has_attribute(self, *args)
2190 def get_derivative(self, a0):
2191 """get_derivative(Hierarchy self, FloatKey a0) -> double"""
2192 return _IMP_atom.Hierarchy_get_derivative(self, a0)
2196 """get_name(Hierarchy self) -> std::string"""
2197 return _IMP_atom.Hierarchy_get_name(self)
2200 def clear_caches(self):
2201 """clear_caches(Hierarchy self)"""
2202 return _IMP_atom.Hierarchy_clear_caches(self)
2205 def set_name(self, a0):
2206 """set_name(Hierarchy self, std::string a0)"""
2207 return _IMP_atom.Hierarchy_set_name(self, a0)
2211 """set_check_level(Hierarchy self, IMP::CheckLevel a0)"""
2212 return _IMP_atom.Hierarchy_set_check_level(self, a0)
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)
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)
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)
2231 """get_check_level(Hierarchy self) -> IMP::CheckLevel"""
2232 return _IMP_atom.Hierarchy_get_check_level(self)
2235 def __eq__(self, *args):
2237 __eq__(Hierarchy self, Hierarchy o) -> bool
2238 __eq__(Hierarchy self, Particle d) -> bool
2240 return _IMP_atom.Hierarchy___eq__(self, *args)
2243 def __ne__(self, *args):
2245 __ne__(Hierarchy self, Hierarchy o) -> bool
2246 __ne__(Hierarchy self, Particle d) -> bool
2248 return _IMP_atom.Hierarchy___ne__(self, *args)
2251 def __le__(self, *args):
2253 __le__(Hierarchy self, Hierarchy o) -> bool
2254 __le__(Hierarchy self, Particle d) -> bool
2256 return _IMP_atom.Hierarchy___le__(self, *args)
2259 def __lt__(self, *args):
2261 __lt__(Hierarchy self, Hierarchy o) -> bool
2262 __lt__(Hierarchy self, Particle d) -> bool
2264 return _IMP_atom.Hierarchy___lt__(self, *args)
2267 def __ge__(self, *args):
2269 __ge__(Hierarchy self, Hierarchy o) -> bool
2270 __ge__(Hierarchy self, Particle d) -> bool
2272 return _IMP_atom.Hierarchy___ge__(self, *args)
2275 def __gt__(self, *args):
2277 __gt__(Hierarchy self, Hierarchy o) -> bool
2278 __gt__(Hierarchy self, Particle d) -> bool
2280 return _IMP_atom.Hierarchy___gt__(self, *args)
2284 """__hash__(Hierarchy self) -> std::size_t"""
2285 return _IMP_atom.Hierarchy___hash__(self)
2289 """__str__(Hierarchy self) -> std::string"""
2290 return _IMP_atom.Hierarchy___str__(self)
2294 """__repr__(Hierarchy self) -> std::string"""
2295 return _IMP_atom.Hierarchy___repr__(self)
2297 __swig_destroy__ = _IMP_atom.delete_Hierarchy
2298 __del__ =
lambda self:
None
2299 Hierarchy_swigregister = _IMP_atom.Hierarchy_swigregister
2300 Hierarchy_swigregister(Hierarchy)
2302 def Hierarchy_setup_particle(*args):
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
2309 return _IMP_atom.Hierarchy_setup_particle(*args)
2311 def Hierarchy_get_is_setup(*args):
2313 get_is_setup(Particle p) -> bool
2314 Hierarchy_get_is_setup(Model m, ParticleIndex p) -> bool
2316 return _IMP_atom.Hierarchy_get_is_setup(*args)
2318 def Hierarchy_get_traits():
2319 """Hierarchy_get_traits() -> HierarchyTraits"""
2320 return _IMP_atom.Hierarchy_get_traits()
2323 _IMP_atom.ATOM_TYPE_swigconstant(_IMP_atom)
2324 ATOM_TYPE = _IMP_atom.ATOM_TYPE
2326 _IMP_atom.RESIDUE_TYPE_swigconstant(_IMP_atom)
2327 RESIDUE_TYPE = _IMP_atom.RESIDUE_TYPE
2329 _IMP_atom.CHAIN_TYPE_swigconstant(_IMP_atom)
2330 CHAIN_TYPE = _IMP_atom.CHAIN_TYPE
2332 _IMP_atom.MOLECULE_TYPE_swigconstant(_IMP_atom)
2333 MOLECULE_TYPE = _IMP_atom.MOLECULE_TYPE
2335 _IMP_atom.DOMAIN_TYPE_swigconstant(_IMP_atom)
2336 DOMAIN_TYPE = _IMP_atom.DOMAIN_TYPE
2338 _IMP_atom.FRAGMENT_TYPE_swigconstant(_IMP_atom)
2339 FRAGMENT_TYPE = _IMP_atom.FRAGMENT_TYPE
2341 _IMP_atom.XYZ_TYPE_swigconstant(_IMP_atom)
2342 XYZ_TYPE = _IMP_atom.XYZ_TYPE
2344 _IMP_atom.XYZR_TYPE_swigconstant(_IMP_atom)
2345 XYZR_TYPE = _IMP_atom.XYZR_TYPE
2347 _IMP_atom.MASS_TYPE_swigconstant(_IMP_atom)
2348 MASS_TYPE = _IMP_atom.MASS_TYPE
2350 _IMP_atom.STATE_TYPE_swigconstant(_IMP_atom)
2351 STATE_TYPE = _IMP_atom.STATE_TYPE
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)
2357 def create_fragment(ps):
2358 """create_fragment(IMP::atom::Hierarchies const & ps) -> Hierarchy"""
2359 return _IMP_atom.create_fragment(ps)
2361 def get_internal_bonds(mhd):
2362 """get_internal_bonds(Hierarchy mhd) -> IMP::atom::Bonds"""
2363 return _IMP_atom.get_internal_bonds(mhd)
2366 """get_root(Hierarchy h) -> Hierarchy"""
2367 return _IMP_atom.get_root(h)
2371 show(Hierarchy h, _ostream out)
2374 return _IMP_atom.show(*args)
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
2382 return _IMP_atom.create_rigid_body(*args)
2385 """create_compatible_rigid_body(Hierarchy h, Hierarchy reference) -> RigidBody"""
2386 return _IMP_atom.create_compatible_rigid_body(h, reference)
2388 def get_is_heterogen(h):
2389 """get_is_heterogen(Hierarchy h) -> bool"""
2390 return _IMP_atom.get_is_heterogen(h)
2393 """create_clone(Hierarchy d) -> Hierarchy"""
2394 return _IMP_atom.create_clone(d)
2396 def create_clone_one(d):
2397 """create_clone_one(Hierarchy d) -> Hierarchy"""
2398 return _IMP_atom.create_clone_one(d)
2401 """destroy(Hierarchy d)"""
2402 return _IMP_atom.destroy(d)
2404 def get_bounding_box(h):
2405 """get_bounding_box(Hierarchy h) -> BoundingBox3D"""
2406 return _IMP_atom.get_bounding_box(h)
2408 def get_bounding_sphere(h):
2409 """get_bounding_sphere(Hierarchy h) -> Sphere3D"""
2410 return _IMP_atom.get_bounding_sphere(h)
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')
2415 def __init__(self, *args):
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
2421 this = _IMP_atom.new_Angle(*args)
2423 self.this.append(this)
2427 def show(self, *args):
2429 show(Angle self, _ostream out)
2432 return _IMP_atom.Angle_show(self, *args)
2435 def setup_particle(*args):
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
2440 return _IMP_atom.Angle_setup_particle(*args)
2442 setup_particle = staticmethod(setup_particle)
2444 def get_is_setup(*args):
2446 get_is_setup(_ParticleAdaptor p) -> bool
2447 get_is_setup(Model m, ParticleIndex pi) -> bool
2449 return _IMP_atom.Angle_get_is_setup(*args)
2451 get_is_setup = staticmethod(get_is_setup)
2453 def get_particle(self, *args):
2455 get_particle(Angle self) -> Particle
2456 get_particle(Angle self, unsigned int i) -> Particle
2458 return _IMP_atom.Angle_get_particle(self, *args)
2461 def get_ideal(self):
2462 """get_ideal(Angle self) -> IMP::Float"""
2463 return _IMP_atom.Angle_get_ideal(self)
2466 def set_ideal(self, t):
2467 """set_ideal(Angle self, IMP::Float t)"""
2468 return _IMP_atom.Angle_set_ideal(self, t)
2471 def get_stiffness(self):
2472 """get_stiffness(Angle self) -> IMP::Float"""
2473 return _IMP_atom.Angle_get_stiffness(self)
2476 def set_stiffness(self, t):
2477 """set_stiffness(Angle self, IMP::Float t)"""
2478 return _IMP_atom.Angle_set_stiffness(self, t)
2481 def get_particle_key(i):
2482 """get_particle_key(unsigned int i) -> ParticleIndexKey"""
2483 return _IMP_atom.Angle_get_particle_key(i)
2485 get_particle_key = staticmethod(get_particle_key)
2487 def get_ideal_key():
2488 """get_ideal_key() -> FloatKey"""
2489 return _IMP_atom.Angle_get_ideal_key()
2491 get_ideal_key = staticmethod(get_ideal_key)
2493 def get_stiffness_key():
2494 """get_stiffness_key() -> FloatKey"""
2495 return _IMP_atom.Angle_get_stiffness_key()
2497 get_stiffness_key = staticmethod(get_stiffness_key)
2499 def add_attribute(self, *args):
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)
2510 return _IMP_atom.Angle_add_attribute(self, *args)
2513 def get_value(self, *args):
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
2523 return _IMP_atom.Angle_get_value(self, *args)
2526 def set_value(self, *args):
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)
2536 return _IMP_atom.Angle_set_value(self, *args)
2539 def remove_attribute(self, *args):
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)
2549 return _IMP_atom.Angle_remove_attribute(self, *args)
2552 def has_attribute(self, *args):
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
2562 return _IMP_atom.Angle_has_attribute(self, *args)
2565 def get_derivative(self, a0):
2566 """get_derivative(Angle self, FloatKey a0) -> double"""
2567 return _IMP_atom.Angle_get_derivative(self, a0)
2571 """get_name(Angle self) -> std::string"""
2572 return _IMP_atom.Angle_get_name(self)
2575 def clear_caches(self):
2576 """clear_caches(Angle self)"""
2577 return _IMP_atom.Angle_clear_caches(self)
2580 def set_name(self, a0):
2581 """set_name(Angle self, std::string a0)"""
2582 return _IMP_atom.Angle_set_name(self, a0)
2586 """set_check_level(Angle self, IMP::CheckLevel a0)"""
2587 return _IMP_atom.Angle_set_check_level(self, a0)
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)
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)
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)
2606 """get_check_level(Angle self) -> IMP::CheckLevel"""
2607 return _IMP_atom.Angle_get_check_level(self)
2610 def __eq__(self, *args):
2612 __eq__(Angle self, Angle o) -> bool
2613 __eq__(Angle self, Particle d) -> bool
2615 return _IMP_atom.Angle___eq__(self, *args)
2618 def __ne__(self, *args):
2620 __ne__(Angle self, Angle o) -> bool
2621 __ne__(Angle self, Particle d) -> bool
2623 return _IMP_atom.Angle___ne__(self, *args)
2626 def __le__(self, *args):
2628 __le__(Angle self, Angle o) -> bool
2629 __le__(Angle self, Particle d) -> bool
2631 return _IMP_atom.Angle___le__(self, *args)
2634 def __lt__(self, *args):
2636 __lt__(Angle self, Angle o) -> bool
2637 __lt__(Angle self, Particle d) -> bool
2639 return _IMP_atom.Angle___lt__(self, *args)
2642 def __ge__(self, *args):
2644 __ge__(Angle self, Angle o) -> bool
2645 __ge__(Angle self, Particle d) -> bool
2647 return _IMP_atom.Angle___ge__(self, *args)
2650 def __gt__(self, *args):
2652 __gt__(Angle self, Angle o) -> bool
2653 __gt__(Angle self, Particle d) -> bool
2655 return _IMP_atom.Angle___gt__(self, *args)
2659 """__hash__(Angle self) -> std::size_t"""
2660 return _IMP_atom.Angle___hash__(self)
2664 """__str__(Angle self) -> std::string"""
2665 return _IMP_atom.Angle___str__(self)
2669 """__repr__(Angle self) -> std::string"""
2670 return _IMP_atom.Angle___repr__(self)
2672 __swig_destroy__ = _IMP_atom.delete_Angle
2673 __del__ =
lambda self:
None
2674 Angle_swigregister = _IMP_atom.Angle_swigregister
2675 Angle_swigregister(Angle)
2677 def Angle_setup_particle(*args):
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
2682 return _IMP_atom.Angle_setup_particle(*args)
2684 def Angle_get_is_setup(*args):
2686 get_is_setup(_ParticleAdaptor p) -> bool
2687 Angle_get_is_setup(Model m, ParticleIndex pi) -> bool
2689 return _IMP_atom.Angle_get_is_setup(*args)
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)
2695 def Angle_get_ideal_key():
2696 """Angle_get_ideal_key() -> FloatKey"""
2697 return _IMP_atom.Angle_get_ideal_key()
2699 def Angle_get_stiffness_key():
2700 """Angle_get_stiffness_key() -> FloatKey"""
2701 return _IMP_atom.Angle_get_stiffness_key()
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')
2707 def __init__(self, *args):
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
2713 this = _IMP_atom.new_Dihedral(*args)
2715 self.this.append(this)
2719 def show(self, *args):
2721 show(Dihedral self, _ostream out)
2724 return _IMP_atom.Dihedral_show(self, *args)
2727 def setup_particle(*args):
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
2732 return _IMP_atom.Dihedral_setup_particle(*args)
2734 setup_particle = staticmethod(setup_particle)
2736 def get_is_setup(*args):
2738 get_is_setup(_ParticleAdaptor p) -> bool
2739 get_is_setup(Model m, ParticleIndex pi) -> bool
2741 return _IMP_atom.Dihedral_get_is_setup(*args)
2743 get_is_setup = staticmethod(get_is_setup)
2745 def get_particle(self, *args):
2747 get_particle(Dihedral self) -> Particle
2748 get_particle(Dihedral self, unsigned int i) -> Particle
2750 return _IMP_atom.Dihedral_get_particle(self, *args)
2753 def get_ideal(self):
2754 """get_ideal(Dihedral self) -> IMP::Float"""
2755 return _IMP_atom.Dihedral_get_ideal(self)
2758 def set_ideal(self, t):
2759 """set_ideal(Dihedral self, IMP::Float t)"""
2760 return _IMP_atom.Dihedral_set_ideal(self, t)
2763 def get_multiplicity(self):
2764 """get_multiplicity(Dihedral self) -> IMP::Int"""
2765 return _IMP_atom.Dihedral_get_multiplicity(self)
2768 def set_multiplicity(self, t):
2769 """set_multiplicity(Dihedral self, IMP::Int t)"""
2770 return _IMP_atom.Dihedral_set_multiplicity(self, t)
2773 def get_stiffness(self):
2774 """get_stiffness(Dihedral self) -> IMP::Float"""
2775 return _IMP_atom.Dihedral_get_stiffness(self)
2778 def set_stiffness(self, t):
2779 """set_stiffness(Dihedral self, IMP::Float t)"""
2780 return _IMP_atom.Dihedral_set_stiffness(self, t)
2783 def get_particle_key(i):
2784 """get_particle_key(unsigned int i) -> ParticleIndexKey"""
2785 return _IMP_atom.Dihedral_get_particle_key(i)
2787 get_particle_key = staticmethod(get_particle_key)
2789 def get_ideal_key():
2790 """get_ideal_key() -> FloatKey"""
2791 return _IMP_atom.Dihedral_get_ideal_key()
2793 get_ideal_key = staticmethod(get_ideal_key)
2795 def get_multiplicity_key():
2796 """get_multiplicity_key() -> IntKey"""
2797 return _IMP_atom.Dihedral_get_multiplicity_key()
2799 get_multiplicity_key = staticmethod(get_multiplicity_key)
2801 def get_stiffness_key():
2802 """get_stiffness_key() -> FloatKey"""
2803 return _IMP_atom.Dihedral_get_stiffness_key()
2805 get_stiffness_key = staticmethod(get_stiffness_key)
2807 def add_attribute(self, *args):
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)
2818 return _IMP_atom.Dihedral_add_attribute(self, *args)
2821 def get_value(self, *args):
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
2831 return _IMP_atom.Dihedral_get_value(self, *args)
2834 def set_value(self, *args):
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)
2844 return _IMP_atom.Dihedral_set_value(self, *args)
2847 def remove_attribute(self, *args):
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)
2857 return _IMP_atom.Dihedral_remove_attribute(self, *args)
2860 def has_attribute(self, *args):
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
2870 return _IMP_atom.Dihedral_has_attribute(self, *args)
2873 def get_derivative(self, a0):
2874 """get_derivative(Dihedral self, FloatKey a0) -> double"""
2875 return _IMP_atom.Dihedral_get_derivative(self, a0)
2879 """get_name(Dihedral self) -> std::string"""
2880 return _IMP_atom.Dihedral_get_name(self)
2883 def clear_caches(self):
2884 """clear_caches(Dihedral self)"""
2885 return _IMP_atom.Dihedral_clear_caches(self)
2888 def set_name(self, a0):
2889 """set_name(Dihedral self, std::string a0)"""
2890 return _IMP_atom.Dihedral_set_name(self, a0)
2894 """set_check_level(Dihedral self, IMP::CheckLevel a0)"""
2895 return _IMP_atom.Dihedral_set_check_level(self, a0)
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)
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)
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)
2914 """get_check_level(Dihedral self) -> IMP::CheckLevel"""
2915 return _IMP_atom.Dihedral_get_check_level(self)
2918 def __eq__(self, *args):
2920 __eq__(Dihedral self, Dihedral o) -> bool
2921 __eq__(Dihedral self, Particle d) -> bool
2923 return _IMP_atom.Dihedral___eq__(self, *args)
2926 def __ne__(self, *args):
2928 __ne__(Dihedral self, Dihedral o) -> bool
2929 __ne__(Dihedral self, Particle d) -> bool
2931 return _IMP_atom.Dihedral___ne__(self, *args)
2934 def __le__(self, *args):
2936 __le__(Dihedral self, Dihedral o) -> bool
2937 __le__(Dihedral self, Particle d) -> bool
2939 return _IMP_atom.Dihedral___le__(self, *args)
2942 def __lt__(self, *args):
2944 __lt__(Dihedral self, Dihedral o) -> bool
2945 __lt__(Dihedral self, Particle d) -> bool
2947 return _IMP_atom.Dihedral___lt__(self, *args)
2950 def __ge__(self, *args):
2952 __ge__(Dihedral self, Dihedral o) -> bool
2953 __ge__(Dihedral self, Particle d) -> bool
2955 return _IMP_atom.Dihedral___ge__(self, *args)
2958 def __gt__(self, *args):
2960 __gt__(Dihedral self, Dihedral o) -> bool
2961 __gt__(Dihedral self, Particle d) -> bool
2963 return _IMP_atom.Dihedral___gt__(self, *args)
2967 """__hash__(Dihedral self) -> std::size_t"""
2968 return _IMP_atom.Dihedral___hash__(self)
2972 """__str__(Dihedral self) -> std::string"""
2973 return _IMP_atom.Dihedral___str__(self)
2977 """__repr__(Dihedral self) -> std::string"""
2978 return _IMP_atom.Dihedral___repr__(self)
2980 __swig_destroy__ = _IMP_atom.delete_Dihedral
2981 __del__ =
lambda self:
None
2982 Dihedral_swigregister = _IMP_atom.Dihedral_swigregister
2983 Dihedral_swigregister(Dihedral)
2985 def Dihedral_setup_particle(*args):
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
2990 return _IMP_atom.Dihedral_setup_particle(*args)
2992 def Dihedral_get_is_setup(*args):
2994 get_is_setup(_ParticleAdaptor p) -> bool
2995 Dihedral_get_is_setup(Model m, ParticleIndex pi) -> bool
2997 return _IMP_atom.Dihedral_get_is_setup(*args)
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)
3003 def Dihedral_get_ideal_key():
3004 """Dihedral_get_ideal_key() -> FloatKey"""
3005 return _IMP_atom.Dihedral_get_ideal_key()
3007 def Dihedral_get_multiplicity_key():
3008 """Dihedral_get_multiplicity_key() -> IntKey"""
3009 return _IMP_atom.Dihedral_get_multiplicity_key()
3011 def Dihedral_get_stiffness_key():
3012 """Dihedral_get_stiffness_key() -> FloatKey"""
3013 return _IMP_atom.Dihedral_get_stiffness_key()
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')
3019 def __init__(self, *args, **kwargs):
3020 raise AttributeError(
"No constructor defined - class is abstract")
3022 def __call__(self, *args):
3024 __call__(SmoothingFunction self, double score, double distance) -> double
3025 __call__(SmoothingFunction self, double score, double deriv, double distance) -> IMP::DerivativePair
3027 return _IMP_atom.SmoothingFunction___call__(self, *args)
3029 __swig_destroy__ = _IMP_atom.delete_SmoothingFunction
3030 __del__ =
lambda self:
None
3033 """__str__(SmoothingFunction self) -> std::string"""
3034 return _IMP_atom.SmoothingFunction___str__(self)
3038 """__repr__(SmoothingFunction self) -> std::string"""
3039 return _IMP_atom.SmoothingFunction___repr__(self)
3044 return _object_cast_to_SmoothingFunction(o)
3046 SmoothingFunction_swigregister = _IMP_atom.SmoothingFunction_swigregister
3047 SmoothingFunction_swigregister(SmoothingFunction)
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')
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)
3057 self.this.append(this)
3061 def __call__(self, *args):
3063 __call__(ForceSwitch self, double score, double distance) -> double
3064 __call__(ForceSwitch self, double score, double deriv, double distance) -> IMP::DerivativePair
3066 return _IMP_atom.ForceSwitch___call__(self, *args)
3069 def get_version_info(self):
3070 """get_version_info(ForceSwitch self) -> VersionInfo"""
3071 return _IMP_atom.ForceSwitch_get_version_info(self)
3075 """__str__(ForceSwitch self) -> std::string"""
3076 return _IMP_atom.ForceSwitch___str__(self)
3080 """__repr__(ForceSwitch self) -> std::string"""
3081 return _IMP_atom.ForceSwitch___repr__(self)
3086 return _object_cast_to_ForceSwitch(o)
3088 ForceSwitch_swigregister = _IMP_atom.ForceSwitch_swigregister
3089 ForceSwitch_swigregister(ForceSwitch)
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')
3095 def __init__(self, f):
3096 """__init__(IMP::atom::AngleSingletonScore self, UnaryFunction f) -> AngleSingletonScore"""
3097 this = _IMP_atom.new_AngleSingletonScore(f)
3099 self.this.append(this)
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)
3108 def get_version_info(self):
3109 """get_version_info(AngleSingletonScore self) -> VersionInfo"""
3110 return _IMP_atom.AngleSingletonScore_get_version_info(self)
3114 """__str__(AngleSingletonScore self) -> std::string"""
3115 return _IMP_atom.AngleSingletonScore___str__(self)
3119 """__repr__(AngleSingletonScore self) -> std::string"""
3120 return _IMP_atom.AngleSingletonScore___repr__(self)
3125 return _object_cast_to_AngleSingletonScore(o)
3127 AngleSingletonScore_swigregister = _IMP_atom.AngleSingletonScore_swigregister
3128 AngleSingletonScore_swigregister(AngleSingletonScore)
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')
3135 """__init__(IMP::atom::BondEndpointsRefiner self) -> BondEndpointsRefiner"""
3136 this = _IMP_atom.new_BondEndpointsRefiner()
3138 self.this.append(this)
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)
3147 def get_version_info(self):
3148 """get_version_info(BondEndpointsRefiner self) -> VersionInfo"""
3149 return _IMP_atom.BondEndpointsRefiner_get_version_info(self)
3153 """__str__(BondEndpointsRefiner self) -> std::string"""
3154 return _IMP_atom.BondEndpointsRefiner___str__(self)
3158 """__repr__(BondEndpointsRefiner self) -> std::string"""
3159 return _IMP_atom.BondEndpointsRefiner___repr__(self)
3164 return _object_cast_to_BondEndpointsRefiner(o)
3166 BondEndpointsRefiner_swigregister = _IMP_atom.BondEndpointsRefiner_swigregister
3167 BondEndpointsRefiner_swigregister(BondEndpointsRefiner)
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')
3173 def __init__(self, sc):
3174 """__init__(IMP::atom::BondPairContainer self, SingletonContainer sc) -> BondPairContainer"""
3175 this = _IMP_atom.new_BondPairContainer(sc)
3177 self.this.append(this)
3181 def do_get_inputs(self):
3182 """do_get_inputs(BondPairContainer self) -> IMP::ModelObjectsTemp"""
3183 return _IMP_atom.BondPairContainer_do_get_inputs(self)
3186 def do_apply(self, sm):
3187 """do_apply(BondPairContainer self, PairModifier sm)"""
3188 return _IMP_atom.BondPairContainer_do_apply(self, sm)
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)
3196 def get_version_info(self):
3197 """get_version_info(BondPairContainer self) -> VersionInfo"""
3198 return _IMP_atom.BondPairContainer_get_version_info(self)
3202 """__str__(BondPairContainer self) -> std::string"""
3203 return _IMP_atom.BondPairContainer___str__(self)
3207 """__repr__(BondPairContainer self) -> std::string"""
3208 return _IMP_atom.BondPairContainer___repr__(self)
3213 return _object_cast_to_BondPairContainer(o)
3215 BondPairContainer_swigregister = _IMP_atom.BondPairContainer_swigregister
3216 BondPairContainer_swigregister(BondPairContainer)
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')
3222 def __init__(self, f):
3223 """__init__(IMP::atom::BondSingletonScore self, UnaryFunction f) -> BondSingletonScore"""
3224 this = _IMP_atom.new_BondSingletonScore(f)
3226 self.this.append(this)
3230 def get_unary_function(self):
3231 """get_unary_function(BondSingletonScore self) -> UnaryFunction"""
3232 return _IMP_atom.BondSingletonScore_get_unary_function(self)
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)
3240 def get_version_info(self):
3241 """get_version_info(BondSingletonScore self) -> VersionInfo"""
3242 return _IMP_atom.BondSingletonScore_get_version_info(self)
3246 """__str__(BondSingletonScore self) -> std::string"""
3247 return _IMP_atom.BondSingletonScore___str__(self)
3251 """__repr__(BondSingletonScore self) -> std::string"""
3252 return _IMP_atom.BondSingletonScore___repr__(self)
3257 return _object_cast_to_BondSingletonScore(o)
3259 BondSingletonScore_swigregister = _IMP_atom.BondSingletonScore_swigregister
3260 BondSingletonScore_swigregister(BondSingletonScore)
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')
3267 """__init__(IMP::atom::DihedralSingletonScore self) -> DihedralSingletonScore"""
3268 this = _IMP_atom.new_DihedralSingletonScore()
3270 self.this.append(this)
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)
3279 def get_version_info(self):
3280 """get_version_info(DihedralSingletonScore self) -> VersionInfo"""
3281 return _IMP_atom.DihedralSingletonScore_get_version_info(self)
3285 """__str__(DihedralSingletonScore self) -> std::string"""
3286 return _IMP_atom.DihedralSingletonScore___str__(self)
3290 """__repr__(DihedralSingletonScore self) -> std::string"""
3291 return _IMP_atom.DihedralSingletonScore___repr__(self)
3296 return _object_cast_to_DihedralSingletonScore(o)
3298 DihedralSingletonScore_swigregister = _IMP_atom.DihedralSingletonScore_swigregister
3299 DihedralSingletonScore_swigregister(DihedralSingletonScore)
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')
3305 def __init__(self, f):
3306 """__init__(IMP::atom::ImproperSingletonScore self, UnaryFunction f) -> ImproperSingletonScore"""
3307 this = _IMP_atom.new_ImproperSingletonScore(f)
3309 self.this.append(this)
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)
3318 def get_version_info(self):
3319 """get_version_info(ImproperSingletonScore self) -> VersionInfo"""
3320 return _IMP_atom.ImproperSingletonScore_get_version_info(self)
3324 """__str__(ImproperSingletonScore self) -> std::string"""
3325 return _IMP_atom.ImproperSingletonScore___str__(self)
3329 """__repr__(ImproperSingletonScore self) -> std::string"""
3330 return _IMP_atom.ImproperSingletonScore___repr__(self)
3335 return _object_cast_to_ImproperSingletonScore(o)
3337 ImproperSingletonScore_swigregister = _IMP_atom.ImproperSingletonScore_swigregister
3338 ImproperSingletonScore_swigregister(ImproperSingletonScore)
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')
3344 def get_constraint(self):
3345 """get_constraint(CenterOfMass self) -> Constraint"""
3346 return _IMP_atom.CenterOfMass_get_constraint(self)
3350 """get_mass(CenterOfMass self) -> IMP::Float"""
3351 return _IMP_atom.CenterOfMass_get_mass(self)
3354 def get_coordinate(self, i):
3355 """get_coordinate(CenterOfMass self, int i) -> IMP::Float"""
3356 return _IMP_atom.CenterOfMass_get_coordinate(self, i)
3359 def get_coordinates(self):
3360 """get_coordinates(CenterOfMass self) -> Vector3D"""
3361 return _IMP_atom.CenterOfMass_get_coordinates(self)
3364 def __init__(self, *args):
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
3370 this = _IMP_atom.new_CenterOfMass(*args)
3372 self.this.append(this)
3376 def show(self, *args):
3378 show(CenterOfMass self, _ostream out)
3379 show(CenterOfMass self)
3381 return _IMP_atom.CenterOfMass_show(self, *args)
3384 def setup_particle(*args):
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
3391 return _IMP_atom.CenterOfMass_setup_particle(*args)
3393 setup_particle = staticmethod(setup_particle)
3395 def teardown_particle(com):
3396 """teardown_particle(CenterOfMass com)"""
3397 return _IMP_atom.CenterOfMass_teardown_particle(com)
3399 teardown_particle = staticmethod(teardown_particle)
3401 def get_is_setup(*args):
3403 get_is_setup(_ParticleAdaptor p) -> bool
3404 get_is_setup(Model m, ParticleIndex pi) -> bool
3406 return _IMP_atom.CenterOfMass_get_is_setup(*args)
3408 get_is_setup = staticmethod(get_is_setup)
3410 def add_attribute(self, *args):
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)
3421 return _IMP_atom.CenterOfMass_add_attribute(self, *args)
3424 def get_value(self, *args):
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
3434 return _IMP_atom.CenterOfMass_get_value(self, *args)
3437 def set_value(self, *args):
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)
3447 return _IMP_atom.CenterOfMass_set_value(self, *args)
3450 def remove_attribute(self, *args):
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)
3460 return _IMP_atom.CenterOfMass_remove_attribute(self, *args)
3463 def has_attribute(self, *args):
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
3473 return _IMP_atom.CenterOfMass_has_attribute(self, *args)
3476 def get_derivative(self, a0):
3477 """get_derivative(CenterOfMass self, FloatKey a0) -> double"""
3478 return _IMP_atom.CenterOfMass_get_derivative(self, a0)
3482 """get_name(CenterOfMass self) -> std::string"""
3483 return _IMP_atom.CenterOfMass_get_name(self)
3486 def clear_caches(self):
3487 """clear_caches(CenterOfMass self)"""
3488 return _IMP_atom.CenterOfMass_clear_caches(self)
3491 def set_name(self, a0):
3492 """set_name(CenterOfMass self, std::string a0)"""
3493 return _IMP_atom.CenterOfMass_set_name(self, a0)
3497 """set_check_level(CenterOfMass self, IMP::CheckLevel a0)"""
3498 return _IMP_atom.CenterOfMass_set_check_level(self, a0)
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)
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)
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)
3517 """get_check_level(CenterOfMass self) -> IMP::CheckLevel"""
3518 return _IMP_atom.CenterOfMass_get_check_level(self)
3521 def __eq__(self, *args):
3523 __eq__(CenterOfMass self, CenterOfMass o) -> bool
3524 __eq__(CenterOfMass self, Particle d) -> bool
3526 return _IMP_atom.CenterOfMass___eq__(self, *args)
3529 def __ne__(self, *args):
3531 __ne__(CenterOfMass self, CenterOfMass o) -> bool
3532 __ne__(CenterOfMass self, Particle d) -> bool
3534 return _IMP_atom.CenterOfMass___ne__(self, *args)
3537 def __le__(self, *args):
3539 __le__(CenterOfMass self, CenterOfMass o) -> bool
3540 __le__(CenterOfMass self, Particle d) -> bool
3542 return _IMP_atom.CenterOfMass___le__(self, *args)
3545 def __lt__(self, *args):
3547 __lt__(CenterOfMass self, CenterOfMass o) -> bool
3548 __lt__(CenterOfMass self, Particle d) -> bool
3550 return _IMP_atom.CenterOfMass___lt__(self, *args)
3553 def __ge__(self, *args):
3555 __ge__(CenterOfMass self, CenterOfMass o) -> bool
3556 __ge__(CenterOfMass self, Particle d) -> bool
3558 return _IMP_atom.CenterOfMass___ge__(self, *args)
3561 def __gt__(self, *args):
3563 __gt__(CenterOfMass self, CenterOfMass o) -> bool
3564 __gt__(CenterOfMass self, Particle d) -> bool
3566 return _IMP_atom.CenterOfMass___gt__(self, *args)
3570 """__hash__(CenterOfMass self) -> std::size_t"""
3571 return _IMP_atom.CenterOfMass___hash__(self)
3575 """__str__(CenterOfMass self) -> std::string"""
3576 return _IMP_atom.CenterOfMass___str__(self)
3580 """__repr__(CenterOfMass self) -> std::string"""
3581 return _IMP_atom.CenterOfMass___repr__(self)
3583 __swig_destroy__ = _IMP_atom.delete_CenterOfMass
3584 __del__ =
lambda self:
None
3585 CenterOfMass_swigregister = _IMP_atom.CenterOfMass_swigregister
3586 CenterOfMass_swigregister(CenterOfMass)
3588 def CenterOfMass_setup_particle(*args):
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
3595 return _IMP_atom.CenterOfMass_setup_particle(*args)
3597 def CenterOfMass_teardown_particle(com):
3598 """CenterOfMass_teardown_particle(CenterOfMass com)"""
3599 return _IMP_atom.CenterOfMass_teardown_particle(com)
3601 def CenterOfMass_get_is_setup(*args):
3603 get_is_setup(_ParticleAdaptor p) -> bool
3604 CenterOfMass_get_is_setup(Model m, ParticleIndex pi) -> bool
3606 return _IMP_atom.CenterOfMass_get_is_setup(*args)
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')
3613 """__init__(IMP::atom::CoverBond self) -> CoverBond"""
3614 this = _IMP_atom.new_CoverBond()
3616 self.this.append(this)
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)
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)
3630 def get_version_info(self):
3631 """get_version_info(CoverBond self) -> VersionInfo"""
3632 return _IMP_atom.CoverBond_get_version_info(self)
3636 """__str__(CoverBond self) -> std::string"""
3637 return _IMP_atom.CoverBond___str__(self)
3641 """__repr__(CoverBond self) -> std::string"""
3642 return _IMP_atom.CoverBond___repr__(self)
3647 return _object_cast_to_CoverBond(o)
3649 CoverBond_swigregister = _IMP_atom.CoverBond_swigregister
3650 CoverBond_swigregister(CoverBond)
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')
3656 def __init__(self, *args):
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
3662 if self.__class__ == Simulator:
3666 this = _IMP_atom.new_Simulator(_self, *args)
3668 self.this.append(this)
3672 if self.__class__ != Simulator:
3673 _director_objects.register(self)
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)
3683 def simulate_wave(self, time_in_fs, max_time_step_factor=10.0, base=1.5):
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
3689 return _IMP_atom.Simulator_simulate_wave(self, time_in_fs, max_time_step_factor, base)
3692 def get_temperature(self):
3693 """get_temperature(Simulator self) -> double"""
3694 return _IMP_atom.Simulator_get_temperature(self)
3697 def set_temperature(self, d):
3698 """set_temperature(Simulator self, double d)"""
3699 return _IMP_atom.Simulator_set_temperature(self, d)
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)
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)
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)
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)
3723 """get_kt(Simulator self) -> double"""
3724 return _IMP_atom.Simulator_get_kt(self)
3727 def get_current_time(self):
3728 """get_current_time(Simulator self) -> double"""
3729 return _IMP_atom.Simulator_get_current_time(self)
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)
3737 def get_simulation_particles(self):
3738 """get_simulation_particles(Simulator self) -> IMP::ParticlesTemp"""
3739 return _IMP_atom.Simulator_get_simulation_particles(self)
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)
3747 def remove_particle(self, d):
3748 """remove_particle(Simulator self, Particle d)"""
3749 return _IMP_atom.Simulator_remove_particle(self, d)
3752 def remove_particles(self, d):
3753 """remove_particles(Simulator self, IMP::Particles const & d)"""
3754 return _IMP_atom.Simulator_remove_particles(self, d)
3757 def set_particles(self, ps):
3758 """set_particles(Simulator self, IMP::Particles const & ps)"""
3759 return _IMP_atom.Simulator_set_particles(self, ps)
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)
3768 """add_particle(Simulator self, Particle obj) -> unsigned int"""
3769 return _IMP_atom.Simulator_add_particle(self, obj)
3773 """add_particles(Simulator self, IMP::Particles const & objs)"""
3774 return _IMP_atom.Simulator_add_particles(self, objs)
3777 def clear_particles(self):
3778 """clear_particles(Simulator self)"""
3779 return _IMP_atom.Simulator_clear_particles(self)
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)
3787 def get_has_particles(self):
3788 """get_has_particles(Simulator self) -> bool"""
3789 return _IMP_atom.Simulator_get_has_particles(self)
3792 def get_particle(self, i):
3793 """get_particle(Simulator self, unsigned int i) -> Particle"""
3794 return _IMP_atom.Simulator_get_particle(self, i)
3798 """get_particles(Simulator self) -> IMP::Particles"""
3799 return _IMP_atom.Simulator_get_particles(self)
3802 def reserve_particles(self, sz):
3803 """reserve_particles(Simulator self, unsigned int sz)"""
3804 return _IMP_atom.Simulator_reserve_particles(self, sz)
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)
3812 def setup(self, arg0):
3813 """setup(Simulator self, IMP::ParticleIndexes const & arg0)"""
3814 return _IMP_atom.Simulator_setup(self, arg0)
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)
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)
3827 def do_simulate(self, time):
3828 """do_simulate(Simulator self, double time) -> double"""
3829 return _IMP_atom.Simulator_do_simulate(self, time)
3832 def do_simulate_wave(self, time_in_fs, max_time_step_factor=10.0, base=1.5):
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
3838 return _IMP_atom.Simulator_do_simulate_wave(self, time_in_fs, max_time_step_factor, base)
3842 """__str__(Simulator self) -> std::string"""
3843 return _IMP_atom.Simulator___str__(self)
3847 """__repr__(Simulator self) -> std::string"""
3848 return _IMP_atom.Simulator___repr__(self)
3853 return _object_cast_to_Simulator(o)
3856 def get_type_name(self):
3857 return self.__class__.__name__
3858 def do_show(self, out):
3860 def get_version_info(self):
3861 if"IMP::atom" ==
"IMP":
3862 return VersionInfo(self.__module__,
3869 return _object_cast_to_Simulator(o)
3871 __swig_destroy__ = _IMP_atom.delete_Simulator
3872 __del__ =
lambda self:
None
3873 def __disown__(self):
3875 _IMP_atom.disown_Simulator(self)
3876 return weakref_proxy(self)
3878 def do_destroy(self):
3879 """do_destroy(Simulator self)"""
3880 return _IMP_atom.Simulator_do_destroy(self)
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)
3888 def do_get_inputs(self):
3889 """do_get_inputs(Simulator self) -> IMP::ModelObjectsTemp"""
3890 return _IMP_atom.Simulator_do_get_inputs(self)
3893 def do_get_outputs(self):
3894 """do_get_outputs(Simulator self) -> IMP::ModelObjectsTemp"""
3895 return _IMP_atom.Simulator_do_get_outputs(self)
3898 def do_get_interactions(self):
3899 """do_get_interactions(Simulator self) -> IMP::ModelObjectsTemps"""
3900 return _IMP_atom.Simulator_do_get_interactions(self)
3902 Simulator_swigregister = _IMP_atom.Simulator_swigregister
3903 Simulator_swigregister(Simulator)
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')
3912 def __init__(self, *args):
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
3919 this = _IMP_atom.new_BrownianDynamics(*args)
3921 self.this.append(this)
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)
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)
3935 def get_version_info(self):
3936 """get_version_info(BrownianDynamics self) -> VersionInfo"""
3937 return _IMP_atom.BrownianDynamics_get_version_info(self)
3941 """__str__(BrownianDynamics self) -> std::string"""
3942 return _IMP_atom.BrownianDynamics___str__(self)
3946 """__repr__(BrownianDynamics self) -> std::string"""
3947 return _IMP_atom.BrownianDynamics___repr__(self)
3952 return _object_cast_to_BrownianDynamics(o)
3954 BrownianDynamics_swigregister = _IMP_atom.BrownianDynamics_swigregister
3955 BrownianDynamics_swigregister(BrownianDynamics)
3959 """get_maximum_time_step_estimate(BrownianDynamics bd) -> double"""
3960 return _IMP_atom.get_maximum_time_step_estimate(bd)
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')
3969 def __init__(self, *args):
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
3975 this = _IMP_atom.new_BrownianDynamicsTAMD(*args)
3977 self.this.append(this)
3982 """__str__(BrownianDynamicsTAMD self) -> std::string"""
3983 return _IMP_atom.BrownianDynamicsTAMD___str__(self)
3987 """__repr__(BrownianDynamicsTAMD self) -> std::string"""
3988 return _IMP_atom.BrownianDynamicsTAMD___repr__(self)
3993 return _object_cast_to_BrownianDynamicsTAMD(o)
3995 __swig_destroy__ = _IMP_atom.delete_BrownianDynamicsTAMD
3996 __del__ =
lambda self:
None
3997 BrownianDynamicsTAMD_swigregister = _IMP_atom.BrownianDynamicsTAMD_swigregister
3998 BrownianDynamicsTAMD_swigregister(BrownianDynamicsTAMD)
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')
4004 def __init__(self, *args):
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
4010 this = _IMP_atom.new_Diffusion(*args)
4012 self.this.append(this)
4016 def show(self, *args):
4018 show(Diffusion self, _ostream out)
4019 show(Diffusion self)
4021 return _IMP_atom.Diffusion_show(self, *args)
4024 def setup_particle(*args):
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
4033 return _IMP_atom.Diffusion_setup_particle(*args)
4035 setup_particle = staticmethod(setup_particle)
4037 def get_is_setup(*args):
4039 get_is_setup(_ParticleAdaptor p) -> bool
4040 get_is_setup(Model m, ParticleIndex p) -> bool
4042 return _IMP_atom.Diffusion_get_is_setup(*args)
4044 get_is_setup = staticmethod(get_is_setup)
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)
4052 """get_diffusion_coefficient(Diffusion self) -> double"""
4053 return _IMP_atom.Diffusion_get_diffusion_coefficient(self)
4056 def get_diffusion_coefficient_key():
4057 """get_diffusion_coefficient_key() -> FloatKey"""
4058 return _IMP_atom.Diffusion_get_diffusion_coefficient_key()
4060 get_diffusion_coefficient_key = staticmethod(get_diffusion_coefficient_key)
4062 def add_attribute(self, *args):
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)
4073 return _IMP_atom.Diffusion_add_attribute(self, *args)
4076 def get_value(self, *args):
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
4086 return _IMP_atom.Diffusion_get_value(self, *args)
4089 def set_value(self, *args):
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)
4099 return _IMP_atom.Diffusion_set_value(self, *args)
4102 def remove_attribute(self, *args):
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)
4112 return _IMP_atom.Diffusion_remove_attribute(self, *args)
4115 def has_attribute(self, *args):
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
4125 return _IMP_atom.Diffusion_has_attribute(self, *args)
4128 def get_derivative(self, a0):
4129 """get_derivative(Diffusion self, FloatKey a0) -> double"""
4130 return _IMP_atom.Diffusion_get_derivative(self, a0)
4134 """get_name(Diffusion self) -> std::string"""
4135 return _IMP_atom.Diffusion_get_name(self)
4138 def clear_caches(self):
4139 """clear_caches(Diffusion self)"""
4140 return _IMP_atom.Diffusion_clear_caches(self)
4143 def set_name(self, a0):
4144 """set_name(Diffusion self, std::string a0)"""
4145 return _IMP_atom.Diffusion_set_name(self, a0)
4149 """set_check_level(Diffusion self, IMP::CheckLevel a0)"""
4150 return _IMP_atom.Diffusion_set_check_level(self, a0)
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)
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)
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)
4169 """get_check_level(Diffusion self) -> IMP::CheckLevel"""
4170 return _IMP_atom.Diffusion_get_check_level(self)
4173 def __eq__(self, *args):
4175 __eq__(Diffusion self, Diffusion o) -> bool
4176 __eq__(Diffusion self, Particle d) -> bool
4178 return _IMP_atom.Diffusion___eq__(self, *args)
4181 def __ne__(self, *args):
4183 __ne__(Diffusion self, Diffusion o) -> bool
4184 __ne__(Diffusion self, Particle d) -> bool
4186 return _IMP_atom.Diffusion___ne__(self, *args)
4189 def __le__(self, *args):
4191 __le__(Diffusion self, Diffusion o) -> bool
4192 __le__(Diffusion self, Particle d) -> bool
4194 return _IMP_atom.Diffusion___le__(self, *args)
4197 def __lt__(self, *args):
4199 __lt__(Diffusion self, Diffusion o) -> bool
4200 __lt__(Diffusion self, Particle d) -> bool
4202 return _IMP_atom.Diffusion___lt__(self, *args)
4205 def __ge__(self, *args):
4207 __ge__(Diffusion self, Diffusion o) -> bool
4208 __ge__(Diffusion self, Particle d) -> bool
4210 return _IMP_atom.Diffusion___ge__(self, *args)
4213 def __gt__(self, *args):
4215 __gt__(Diffusion self, Diffusion o) -> bool
4216 __gt__(Diffusion self, Particle d) -> bool
4218 return _IMP_atom.Diffusion___gt__(self, *args)
4222 """__hash__(Diffusion self) -> std::size_t"""
4223 return _IMP_atom.Diffusion___hash__(self)
4227 """__str__(Diffusion self) -> std::string"""
4228 return _IMP_atom.Diffusion___str__(self)
4232 """__repr__(Diffusion self) -> std::string"""
4233 return _IMP_atom.Diffusion___repr__(self)
4235 __swig_destroy__ = _IMP_atom.delete_Diffusion
4236 __del__ =
lambda self:
None
4237 Diffusion_swigregister = _IMP_atom.Diffusion_swigregister
4238 Diffusion_swigregister(Diffusion)
4240 def Diffusion_setup_particle(*args):
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
4249 return _IMP_atom.Diffusion_setup_particle(*args)
4251 def Diffusion_get_is_setup(*args):
4253 get_is_setup(_ParticleAdaptor p) -> bool
4254 Diffusion_get_is_setup(Model m, ParticleIndex p) -> bool
4256 return _IMP_atom.Diffusion_get_is_setup(*args)
4258 def Diffusion_get_diffusion_coefficient_key():
4259 """Diffusion_get_diffusion_coefficient_key() -> FloatKey"""
4260 return _IMP_atom.Diffusion_get_diffusion_coefficient_key()
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')
4270 def __init__(self, *args):
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
4276 this = _IMP_atom.new_RigidBodyDiffusion(*args)
4278 self.this.append(this)
4282 def show(self, *args):
4284 show(RigidBodyDiffusion self, _ostream out)
4285 show(RigidBodyDiffusion self)
4287 return _IMP_atom.RigidBodyDiffusion_show(self, *args)
4290 def setup_particle(*args):
4292 setup_particle(Model m, ParticleIndex pi) -> RigidBodyDiffusion
4293 setup_particle(_ParticleAdaptor decorator) -> RigidBodyDiffusion
4295 return _IMP_atom.RigidBodyDiffusion_setup_particle(*args)
4297 setup_particle = staticmethod(setup_particle)
4300 """get_rotational_diffusion_coefficient(RigidBodyDiffusion self) -> double"""
4301 return _IMP_atom.RigidBodyDiffusion_get_rotational_diffusion_coefficient(self)
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)
4309 def get_is_setup(*args):
4311 get_is_setup(_ParticleAdaptor p) -> bool
4312 get_is_setup(Model m, ParticleIndex p) -> bool
4314 return _IMP_atom.RigidBodyDiffusion_get_is_setup(*args)
4316 get_is_setup = staticmethod(get_is_setup)
4318 def get_rotational_diffusion_coefficient_key():
4319 """get_rotational_diffusion_coefficient_key() -> FloatKey"""
4320 return _IMP_atom.RigidBodyDiffusion_get_rotational_diffusion_coefficient_key()
4322 get_rotational_diffusion_coefficient_key = staticmethod(get_rotational_diffusion_coefficient_key)
4324 def add_attribute(self, *args):
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)
4335 return _IMP_atom.RigidBodyDiffusion_add_attribute(self, *args)
4338 def get_value(self, *args):
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
4348 return _IMP_atom.RigidBodyDiffusion_get_value(self, *args)
4351 def set_value(self, *args):
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)
4361 return _IMP_atom.RigidBodyDiffusion_set_value(self, *args)
4364 def remove_attribute(self, *args):
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)
4374 return _IMP_atom.RigidBodyDiffusion_remove_attribute(self, *args)
4377 def has_attribute(self, *args):
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
4387 return _IMP_atom.RigidBodyDiffusion_has_attribute(self, *args)
4390 def get_derivative(self, a0):
4391 """get_derivative(RigidBodyDiffusion self, FloatKey a0) -> double"""
4392 return _IMP_atom.RigidBodyDiffusion_get_derivative(self, a0)
4396 """get_name(RigidBodyDiffusion self) -> std::string"""
4397 return _IMP_atom.RigidBodyDiffusion_get_name(self)
4400 def clear_caches(self):
4401 """clear_caches(RigidBodyDiffusion self)"""
4402 return _IMP_atom.RigidBodyDiffusion_clear_caches(self)
4405 def set_name(self, a0):
4406 """set_name(RigidBodyDiffusion self, std::string a0)"""
4407 return _IMP_atom.RigidBodyDiffusion_set_name(self, a0)
4411 """set_check_level(RigidBodyDiffusion self, IMP::CheckLevel a0)"""
4412 return _IMP_atom.RigidBodyDiffusion_set_check_level(self, a0)
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)
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)
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)
4431 """get_check_level(RigidBodyDiffusion self) -> IMP::CheckLevel"""
4432 return _IMP_atom.RigidBodyDiffusion_get_check_level(self)
4435 def __eq__(self, *args):
4437 __eq__(RigidBodyDiffusion self, RigidBodyDiffusion o) -> bool
4438 __eq__(RigidBodyDiffusion self, Particle d) -> bool
4440 return _IMP_atom.RigidBodyDiffusion___eq__(self, *args)
4443 def __ne__(self, *args):
4445 __ne__(RigidBodyDiffusion self, RigidBodyDiffusion o) -> bool
4446 __ne__(RigidBodyDiffusion self, Particle d) -> bool
4448 return _IMP_atom.RigidBodyDiffusion___ne__(self, *args)
4451 def __le__(self, *args):
4453 __le__(RigidBodyDiffusion self, RigidBodyDiffusion o) -> bool
4454 __le__(RigidBodyDiffusion self, Particle d) -> bool
4456 return _IMP_atom.RigidBodyDiffusion___le__(self, *args)
4459 def __lt__(self, *args):
4461 __lt__(RigidBodyDiffusion self, RigidBodyDiffusion o) -> bool
4462 __lt__(RigidBodyDiffusion self, Particle d) -> bool
4464 return _IMP_atom.RigidBodyDiffusion___lt__(self, *args)
4467 def __ge__(self, *args):
4469 __ge__(RigidBodyDiffusion self, RigidBodyDiffusion o) -> bool
4470 __ge__(RigidBodyDiffusion self, Particle d) -> bool
4472 return _IMP_atom.RigidBodyDiffusion___ge__(self, *args)
4475 def __gt__(self, *args):
4477 __gt__(RigidBodyDiffusion self, RigidBodyDiffusion o) -> bool
4478 __gt__(RigidBodyDiffusion self, Particle d) -> bool
4480 return _IMP_atom.RigidBodyDiffusion___gt__(self, *args)
4484 """__hash__(RigidBodyDiffusion self) -> std::size_t"""
4485 return _IMP_atom.RigidBodyDiffusion___hash__(self)
4489 """__str__(RigidBodyDiffusion self) -> std::string"""
4490 return _IMP_atom.RigidBodyDiffusion___str__(self)
4494 """__repr__(RigidBodyDiffusion self) -> std::string"""
4495 return _IMP_atom.RigidBodyDiffusion___repr__(self)
4497 __swig_destroy__ = _IMP_atom.delete_RigidBodyDiffusion
4498 __del__ =
lambda self:
None
4499 RigidBodyDiffusion_swigregister = _IMP_atom.RigidBodyDiffusion_swigregister
4500 RigidBodyDiffusion_swigregister(RigidBodyDiffusion)
4502 def RigidBodyDiffusion_setup_particle(*args):
4504 setup_particle(Model m, ParticleIndex pi) -> RigidBodyDiffusion
4505 RigidBodyDiffusion_setup_particle(_ParticleAdaptor decorator) -> RigidBodyDiffusion
4507 return _IMP_atom.RigidBodyDiffusion_setup_particle(*args)
4509 def RigidBodyDiffusion_get_is_setup(*args):
4511 get_is_setup(_ParticleAdaptor p) -> bool
4512 RigidBodyDiffusion_get_is_setup(Model m, ParticleIndex p) -> bool
4514 return _IMP_atom.RigidBodyDiffusion_get_is_setup(*args)
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()
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')
4524 def __init__(self, *args):
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
4530 this = _IMP_atom.new_TAMDParticle(*args)
4532 self.this.append(this)
4536 def show(self, *args):
4538 show(TAMDParticle self, _ostream out)
4539 show(TAMDParticle self)
4541 return _IMP_atom.TAMDParticle_show(self, *args)
4544 def setup_particle(*args):
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
4551 return _IMP_atom.TAMDParticle_setup_particle(*args)
4553 setup_particle = staticmethod(setup_particle)
4555 def get_is_setup(*args):
4557 get_is_setup(_ParticleAdaptor p) -> bool
4558 get_is_setup(Model m, ParticleIndex p) -> bool
4560 return _IMP_atom.TAMDParticle_get_is_setup(*args)
4562 get_is_setup = staticmethod(get_is_setup)
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)
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)
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)
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)
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)
4589 def update_coordinates_from_ref(self):
4590 """update_coordinates_from_ref(TAMDParticle self)"""
4591 return _IMP_atom.TAMDParticle_update_coordinates_from_ref(self)
4594 def get_temperature_scale_factor_key():
4595 """get_temperature_scale_factor_key() -> FloatKey"""
4596 return _IMP_atom.TAMDParticle_get_temperature_scale_factor_key()
4598 get_temperature_scale_factor_key = staticmethod(get_temperature_scale_factor_key)
4600 def get_friction_scale_factor_key():
4601 """get_friction_scale_factor_key() -> FloatKey"""
4602 return _IMP_atom.TAMDParticle_get_friction_scale_factor_key()
4604 get_friction_scale_factor_key = staticmethod(get_friction_scale_factor_key)
4606 def get_reference_particle_index_key():
4607 """get_reference_particle_index_key() -> ParticleIndexKey"""
4608 return _IMP_atom.TAMDParticle_get_reference_particle_index_key()
4610 get_reference_particle_index_key = staticmethod(get_reference_particle_index_key)
4612 def add_attribute(self, *args):
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)
4623 return _IMP_atom.TAMDParticle_add_attribute(self, *args)
4626 def get_value(self, *args):
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
4636 return _IMP_atom.TAMDParticle_get_value(self, *args)
4639 def set_value(self, *args):
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)
4649 return _IMP_atom.TAMDParticle_set_value(self, *args)
4652 def remove_attribute(self, *args):
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)
4662 return _IMP_atom.TAMDParticle_remove_attribute(self, *args)
4665 def has_attribute(self, *args):
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
4675 return _IMP_atom.TAMDParticle_has_attribute(self, *args)
4678 def get_derivative(self, a0):
4679 """get_derivative(TAMDParticle self, FloatKey a0) -> double"""
4680 return _IMP_atom.TAMDParticle_get_derivative(self, a0)
4684 """get_name(TAMDParticle self) -> std::string"""
4685 return _IMP_atom.TAMDParticle_get_name(self)
4688 def clear_caches(self):
4689 """clear_caches(TAMDParticle self)"""
4690 return _IMP_atom.TAMDParticle_clear_caches(self)
4693 def set_name(self, a0):
4694 """set_name(TAMDParticle self, std::string a0)"""
4695 return _IMP_atom.TAMDParticle_set_name(self, a0)
4699 """set_check_level(TAMDParticle self, IMP::CheckLevel a0)"""
4700 return _IMP_atom.TAMDParticle_set_check_level(self, a0)
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)
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)
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)
4719 """get_check_level(TAMDParticle self) -> IMP::CheckLevel"""
4720 return _IMP_atom.TAMDParticle_get_check_level(self)
4723 def __eq__(self, *args):
4725 __eq__(TAMDParticle self, TAMDParticle o) -> bool
4726 __eq__(TAMDParticle self, Particle d) -> bool
4728 return _IMP_atom.TAMDParticle___eq__(self, *args)
4731 def __ne__(self, *args):
4733 __ne__(TAMDParticle self, TAMDParticle o) -> bool
4734 __ne__(TAMDParticle self, Particle d) -> bool
4736 return _IMP_atom.TAMDParticle___ne__(self, *args)
4739 def __le__(self, *args):
4741 __le__(TAMDParticle self, TAMDParticle o) -> bool
4742 __le__(TAMDParticle self, Particle d) -> bool
4744 return _IMP_atom.TAMDParticle___le__(self, *args)
4747 def __lt__(self, *args):
4749 __lt__(TAMDParticle self, TAMDParticle o) -> bool
4750 __lt__(TAMDParticle self, Particle d) -> bool
4752 return _IMP_atom.TAMDParticle___lt__(self, *args)
4755 def __ge__(self, *args):
4757 __ge__(TAMDParticle self, TAMDParticle o) -> bool
4758 __ge__(TAMDParticle self, Particle d) -> bool
4760 return _IMP_atom.TAMDParticle___ge__(self, *args)
4763 def __gt__(self, *args):
4765 __gt__(TAMDParticle self, TAMDParticle o) -> bool
4766 __gt__(TAMDParticle self, Particle d) -> bool
4768 return _IMP_atom.TAMDParticle___gt__(self, *args)
4772 """__hash__(TAMDParticle self) -> std::size_t"""
4773 return _IMP_atom.TAMDParticle___hash__(self)
4777 """__str__(TAMDParticle self) -> std::string"""
4778 return _IMP_atom.TAMDParticle___str__(self)
4782 """__repr__(TAMDParticle self) -> std::string"""
4783 return _IMP_atom.TAMDParticle___repr__(self)
4785 __swig_destroy__ = _IMP_atom.delete_TAMDParticle
4786 __del__ =
lambda self:
None
4787 TAMDParticle_swigregister = _IMP_atom.TAMDParticle_swigregister
4788 TAMDParticle_swigregister(TAMDParticle)
4790 def TAMDParticle_setup_particle(*args):
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
4797 return _IMP_atom.TAMDParticle_setup_particle(*args)
4799 def TAMDParticle_get_is_setup(*args):
4801 get_is_setup(_ParticleAdaptor p) -> bool
4802 TAMDParticle_get_is_setup(Model m, ParticleIndex p) -> bool
4804 return _IMP_atom.TAMDParticle_get_is_setup(*args)
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()
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()
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()
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')
4822 def __init__(self, *args):
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
4828 this = _IMP_atom.new_Chain(*args)
4830 self.this.append(this)
4834 def show(self, *args):
4836 show(Chain self, _ostream out)
4839 return _IMP_atom.Chain_show(self, *args)
4842 def setup_particle(*args):
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
4851 return _IMP_atom.Chain_setup_particle(*args)
4853 setup_particle = staticmethod(setup_particle)
4855 def get_is_setup(*args):
4857 get_is_setup(_ParticleAdaptor p) -> bool
4858 get_is_setup(Model m, ParticleIndex pi) -> bool
4860 return _IMP_atom.Chain_get_is_setup(*args)
4862 get_is_setup = staticmethod(get_is_setup)
4865 """get_id(Chain self) -> std::string"""
4866 return _IMP_atom.Chain_get_id(self)
4869 def set_id(self, c):
4870 """set_id(Chain self, std::string c)"""
4871 return _IMP_atom.Chain_set_id(self, c)
4874 def get_sequence(self):
4875 """get_sequence(Chain self) -> std::string"""
4876 return _IMP_atom.Chain_get_sequence(self)
4879 def set_sequence(self, sequence):
4880 """set_sequence(Chain self, std::string sequence)"""
4881 return _IMP_atom.Chain_set_sequence(self, sequence)
4884 def get_chain_type(self):
4885 """get_chain_type(Chain self) -> ChainType"""
4886 return _IMP_atom.Chain_get_chain_type(self)
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)
4895 """get_id_key() -> StringKey"""
4896 return _IMP_atom.Chain_get_id_key()
4898 get_id_key = staticmethod(get_id_key)
4900 def get_sequence_key():
4901 """get_sequence_key() -> StringKey"""
4902 return _IMP_atom.Chain_get_sequence_key()
4904 get_sequence_key = staticmethod(get_sequence_key)
4906 def get_chain_type_key():
4907 """get_chain_type_key() -> IntKey"""
4908 return _IMP_atom.Chain_get_chain_type_key()
4910 get_chain_type_key = staticmethod(get_chain_type_key)
4912 def add_attribute(self, *args):
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)
4923 return _IMP_atom.Chain_add_attribute(self, *args)
4926 def get_value(self, *args):
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
4936 return _IMP_atom.Chain_get_value(self, *args)
4939 def set_value(self, *args):
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)
4949 return _IMP_atom.Chain_set_value(self, *args)
4952 def remove_attribute(self, *args):
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)
4962 return _IMP_atom.Chain_remove_attribute(self, *args)
4965 def has_attribute(self, *args):
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
4975 return _IMP_atom.Chain_has_attribute(self, *args)
4978 def get_derivative(self, a0):
4979 """get_derivative(Chain self, FloatKey a0) -> double"""
4980 return _IMP_atom.Chain_get_derivative(self, a0)
4984 """get_name(Chain self) -> std::string"""
4985 return _IMP_atom.Chain_get_name(self)
4988 def clear_caches(self):
4989 """clear_caches(Chain self)"""
4990 return _IMP_atom.Chain_clear_caches(self)
4993 def set_name(self, a0):
4994 """set_name(Chain self, std::string a0)"""
4995 return _IMP_atom.Chain_set_name(self, a0)
4999 """set_check_level(Chain self, IMP::CheckLevel a0)"""
5000 return _IMP_atom.Chain_set_check_level(self, a0)
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)
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)
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)
5019 """get_check_level(Chain self) -> IMP::CheckLevel"""
5020 return _IMP_atom.Chain_get_check_level(self)
5023 def __eq__(self, *args):
5025 __eq__(Chain self, Chain o) -> bool
5026 __eq__(Chain self, Particle d) -> bool
5028 return _IMP_atom.Chain___eq__(self, *args)
5031 def __ne__(self, *args):
5033 __ne__(Chain self, Chain o) -> bool
5034 __ne__(Chain self, Particle d) -> bool
5036 return _IMP_atom.Chain___ne__(self, *args)
5039 def __le__(self, *args):
5041 __le__(Chain self, Chain o) -> bool
5042 __le__(Chain self, Particle d) -> bool
5044 return _IMP_atom.Chain___le__(self, *args)
5047 def __lt__(self, *args):
5049 __lt__(Chain self, Chain o) -> bool
5050 __lt__(Chain self, Particle d) -> bool
5052 return _IMP_atom.Chain___lt__(self, *args)
5055 def __ge__(self, *args):
5057 __ge__(Chain self, Chain o) -> bool
5058 __ge__(Chain self, Particle d) -> bool
5060 return _IMP_atom.Chain___ge__(self, *args)
5063 def __gt__(self, *args):
5065 __gt__(Chain self, Chain o) -> bool
5066 __gt__(Chain self, Particle d) -> bool
5068 return _IMP_atom.Chain___gt__(self, *args)
5072 """__hash__(Chain self) -> std::size_t"""
5073 return _IMP_atom.Chain___hash__(self)
5077 """__str__(Chain self) -> std::string"""
5078 return _IMP_atom.Chain___str__(self)
5082 """__repr__(Chain self) -> std::string"""
5083 return _IMP_atom.Chain___repr__(self)
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
5101 def Chain_setup_particle(*args):
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
5110 return _IMP_atom.Chain_setup_particle(*args)
5112 def Chain_get_is_setup(*args):
5114 get_is_setup(_ParticleAdaptor p) -> bool
5115 Chain_get_is_setup(Model m, ParticleIndex pi) -> bool
5117 return _IMP_atom.Chain_get_is_setup(*args)
5119 def Chain_get_id_key():
5120 """Chain_get_id_key() -> StringKey"""
5121 return _IMP_atom.Chain_get_id_key()
5123 def Chain_get_sequence_key():
5124 """Chain_get_sequence_key() -> StringKey"""
5125 return _IMP_atom.Chain_get_sequence_key()
5127 def Chain_get_chain_type_key():
5128 """Chain_get_chain_type_key() -> IntKey"""
5129 return _IMP_atom.Chain_get_chain_type_key()
5133 """get_chain(Hierarchy h) -> Chain"""
5134 return _IMP_atom.get_chain(h)
5137 """get_chain_id(Hierarchy h) -> std::string"""
5138 return _IMP_atom.get_chain_id(h)
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')
5143 def __init__(self, *args):
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
5149 this = _IMP_atom.new_Charged(*args)
5151 self.this.append(this)
5155 def show(self, *args):
5157 show(Charged self, _ostream out)
5160 return _IMP_atom.Charged_show(self, *args)
5163 def setup_particle(*args):
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
5170 return _IMP_atom.Charged_setup_particle(*args)
5172 setup_particle = staticmethod(setup_particle)
5174 def get_charge(self):
5175 """get_charge(Charged self) -> IMP::Float"""
5176 return _IMP_atom.Charged_get_charge(self)
5179 def set_charge(self, t):
5180 """set_charge(Charged self, IMP::Float t)"""
5181 return _IMP_atom.Charged_set_charge(self, t)
5184 def get_is_setup(*args):
5186 get_is_setup(_ParticleAdaptor p) -> bool
5187 get_is_setup(Model m, ParticleIndex pi) -> bool
5189 return _IMP_atom.Charged_get_is_setup(*args)
5191 get_is_setup = staticmethod(get_is_setup)
5193 def get_charge_key():
5194 """get_charge_key() -> FloatKey"""
5195 return _IMP_atom.Charged_get_charge_key()
5197 get_charge_key = staticmethod(get_charge_key)
5199 def add_attribute(self, *args):
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)
5210 return _IMP_atom.Charged_add_attribute(self, *args)
5213 def get_value(self, *args):
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
5223 return _IMP_atom.Charged_get_value(self, *args)
5226 def set_value(self, *args):
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)
5236 return _IMP_atom.Charged_set_value(self, *args)
5239 def remove_attribute(self, *args):
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)
5249 return _IMP_atom.Charged_remove_attribute(self, *args)
5252 def has_attribute(self, *args):
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
5262 return _IMP_atom.Charged_has_attribute(self, *args)
5265 def get_derivative(self, a0):
5266 """get_derivative(Charged self, FloatKey a0) -> double"""
5267 return _IMP_atom.Charged_get_derivative(self, a0)
5271 """get_name(Charged self) -> std::string"""
5272 return _IMP_atom.Charged_get_name(self)
5275 def clear_caches(self):
5276 """clear_caches(Charged self)"""
5277 return _IMP_atom.Charged_clear_caches(self)
5280 def set_name(self, a0):
5281 """set_name(Charged self, std::string a0)"""
5282 return _IMP_atom.Charged_set_name(self, a0)
5286 """set_check_level(Charged self, IMP::CheckLevel a0)"""
5287 return _IMP_atom.Charged_set_check_level(self, a0)
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)
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)
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)
5306 """get_check_level(Charged self) -> IMP::CheckLevel"""
5307 return _IMP_atom.Charged_get_check_level(self)
5310 def __eq__(self, *args):
5312 __eq__(Charged self, Charged o) -> bool
5313 __eq__(Charged self, Particle d) -> bool
5315 return _IMP_atom.Charged___eq__(self, *args)
5318 def __ne__(self, *args):
5320 __ne__(Charged self, Charged o) -> bool
5321 __ne__(Charged self, Particle d) -> bool
5323 return _IMP_atom.Charged___ne__(self, *args)
5326 def __le__(self, *args):
5328 __le__(Charged self, Charged o) -> bool
5329 __le__(Charged self, Particle d) -> bool
5331 return _IMP_atom.Charged___le__(self, *args)
5334 def __lt__(self, *args):
5336 __lt__(Charged self, Charged o) -> bool
5337 __lt__(Charged self, Particle d) -> bool
5339 return _IMP_atom.Charged___lt__(self, *args)
5342 def __ge__(self, *args):
5344 __ge__(Charged self, Charged o) -> bool
5345 __ge__(Charged self, Particle d) -> bool
5347 return _IMP_atom.Charged___ge__(self, *args)
5350 def __gt__(self, *args):
5352 __gt__(Charged self, Charged o) -> bool
5353 __gt__(Charged self, Particle d) -> bool
5355 return _IMP_atom.Charged___gt__(self, *args)
5359 """__hash__(Charged self) -> std::size_t"""
5360 return _IMP_atom.Charged___hash__(self)
5364 """__str__(Charged self) -> std::string"""
5365 return _IMP_atom.Charged___str__(self)
5369 """__repr__(Charged self) -> std::string"""
5370 return _IMP_atom.Charged___repr__(self)
5372 __swig_destroy__ = _IMP_atom.delete_Charged
5373 __del__ =
lambda self:
None
5374 Charged_swigregister = _IMP_atom.Charged_swigregister
5375 Charged_swigregister(Charged)
5377 def Charged_setup_particle(*args):
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
5384 return _IMP_atom.Charged_setup_particle(*args)
5386 def Charged_get_is_setup(*args):
5388 get_is_setup(_ParticleAdaptor p) -> bool
5389 Charged_get_is_setup(Model m, ParticleIndex pi) -> bool
5391 return _IMP_atom.Charged_get_is_setup(*args)
5393 def Charged_get_charge_key():
5394 """Charged_get_charge_key() -> FloatKey"""
5395 return _IMP_atom.Charged_get_charge_key()
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')
5401 def __init__(self, f):
5402 """__init__(IMP::atom::CoulombPairScore self, SmoothingFunction f) -> CoulombPairScore"""
5403 this = _IMP_atom.new_CoulombPairScore(f)
5405 self.this.append(this)
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)
5414 def get_relative_dielectric(self):
5415 """get_relative_dielectric(CoulombPairScore self) -> double"""
5416 return _IMP_atom.CoulombPairScore_get_relative_dielectric(self)
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)
5424 def get_version_info(self):
5425 """get_version_info(CoulombPairScore self) -> VersionInfo"""
5426 return _IMP_atom.CoulombPairScore_get_version_info(self)
5430 """__str__(CoulombPairScore self) -> std::string"""
5431 return _IMP_atom.CoulombPairScore___str__(self)
5435 """__repr__(CoulombPairScore self) -> std::string"""
5436 return _IMP_atom.CoulombPairScore___repr__(self)
5441 return _object_cast_to_CoulombPairScore(o)
5443 CoulombPairScore_swigregister = _IMP_atom.CoulombPairScore_swigregister
5444 CoulombPairScore_swigregister(CoulombPairScore)
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')
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)
5455 def get_index_range(self):
5456 """get_index_range(Domain self) -> IMP::IntRange"""
5457 return _IMP_atom.Domain_get_index_range(self)
5460 def __init__(self, *args):
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
5466 this = _IMP_atom.new_Domain(*args)
5468 self.this.append(this)
5472 def get_is_setup(*args):
5474 get_is_setup(Model m, ParticleIndex pi) -> bool
5475 get_is_setup(_ParticleAdaptor p) -> bool
5477 return _IMP_atom.Domain_get_is_setup(*args)
5479 get_is_setup = staticmethod(get_is_setup)
5481 def show(self, *args):
5483 show(Domain self, _ostream out)
5486 return _IMP_atom.Domain_show(self, *args)
5489 def setup_particle(*args):
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
5496 return _IMP_atom.Domain_setup_particle(*args)
5498 setup_particle = staticmethod(setup_particle)
5500 def add_attribute(self, *args):
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)
5511 return _IMP_atom.Domain_add_attribute(self, *args)
5514 def get_value(self, *args):
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
5524 return _IMP_atom.Domain_get_value(self, *args)
5527 def set_value(self, *args):
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)
5537 return _IMP_atom.Domain_set_value(self, *args)
5540 def remove_attribute(self, *args):
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)
5550 return _IMP_atom.Domain_remove_attribute(self, *args)
5553 def has_attribute(self, *args):
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
5563 return _IMP_atom.Domain_has_attribute(self, *args)
5566 def get_derivative(self, a0):
5567 """get_derivative(Domain self, FloatKey a0) -> double"""
5568 return _IMP_atom.Domain_get_derivative(self, a0)
5572 """get_name(Domain self) -> std::string"""
5573 return _IMP_atom.Domain_get_name(self)
5576 def clear_caches(self):
5577 """clear_caches(Domain self)"""
5578 return _IMP_atom.Domain_clear_caches(self)
5581 def set_name(self, a0):
5582 """set_name(Domain self, std::string a0)"""
5583 return _IMP_atom.Domain_set_name(self, a0)
5587 """set_check_level(Domain self, IMP::CheckLevel a0)"""
5588 return _IMP_atom.Domain_set_check_level(self, a0)
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)
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)
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)
5607 """get_check_level(Domain self) -> IMP::CheckLevel"""
5608 return _IMP_atom.Domain_get_check_level(self)
5611 def __eq__(self, *args):
5613 __eq__(Domain self, Domain o) -> bool
5614 __eq__(Domain self, Particle d) -> bool
5616 return _IMP_atom.Domain___eq__(self, *args)
5619 def __ne__(self, *args):
5621 __ne__(Domain self, Domain o) -> bool
5622 __ne__(Domain self, Particle d) -> bool
5624 return _IMP_atom.Domain___ne__(self, *args)
5627 def __le__(self, *args):
5629 __le__(Domain self, Domain o) -> bool
5630 __le__(Domain self, Particle d) -> bool
5632 return _IMP_atom.Domain___le__(self, *args)
5635 def __lt__(self, *args):
5637 __lt__(Domain self, Domain o) -> bool
5638 __lt__(Domain self, Particle d) -> bool
5640 return _IMP_atom.Domain___lt__(self, *args)
5643 def __ge__(self, *args):
5645 __ge__(Domain self, Domain o) -> bool
5646 __ge__(Domain self, Particle d) -> bool
5648 return _IMP_atom.Domain___ge__(self, *args)
5651 def __gt__(self, *args):
5653 __gt__(Domain self, Domain o) -> bool
5654 __gt__(Domain self, Particle d) -> bool
5656 return _IMP_atom.Domain___gt__(self, *args)
5660 """__hash__(Domain self) -> std::size_t"""
5661 return _IMP_atom.Domain___hash__(self)
5665 """__str__(Domain self) -> std::string"""
5666 return _IMP_atom.Domain___str__(self)
5670 """__repr__(Domain self) -> std::string"""
5671 return _IMP_atom.Domain___repr__(self)
5673 __swig_destroy__ = _IMP_atom.delete_Domain
5674 __del__ =
lambda self:
None
5675 Domain_swigregister = _IMP_atom.Domain_swigregister
5676 Domain_swigregister(Domain)
5678 def Domain_get_is_setup(*args):
5680 get_is_setup(Model m, ParticleIndex pi) -> bool
5681 Domain_get_is_setup(_ParticleAdaptor p) -> bool
5683 return _IMP_atom.Domain_get_is_setup(*args)
5685 def Domain_setup_particle(*args):
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
5692 return _IMP_atom.Domain_setup_particle(*args)
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')
5698 def __init__(self, *args):
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
5704 this = _IMP_atom.new_LennardJones(*args)
5706 self.this.append(this)
5710 def show(self, *args):
5712 show(LennardJones self, _ostream out)
5713 show(LennardJones self)
5715 return _IMP_atom.LennardJones_show(self, *args)
5718 def setup_particle(*args):
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
5725 return _IMP_atom.LennardJones_setup_particle(*args)
5727 setup_particle = staticmethod(setup_particle)
5729 def get_well_depth(self):
5730 """get_well_depth(LennardJones self) -> IMP::Float"""
5731 return _IMP_atom.LennardJones_get_well_depth(self)
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)
5739 def get_is_setup(*args):
5741 get_is_setup(_ParticleAdaptor p) -> bool
5742 get_is_setup(Model m, ParticleIndex pi) -> bool
5744 return _IMP_atom.LennardJones_get_is_setup(*args)
5746 get_is_setup = staticmethod(get_is_setup)
5748 def get_well_depth_key():
5749 """get_well_depth_key() -> FloatKey"""
5750 return _IMP_atom.LennardJones_get_well_depth_key()
5752 get_well_depth_key = staticmethod(get_well_depth_key)
5754 def add_attribute(self, *args):
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)
5765 return _IMP_atom.LennardJones_add_attribute(self, *args)
5768 def get_value(self, *args):
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
5778 return _IMP_atom.LennardJones_get_value(self, *args)
5781 def set_value(self, *args):
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)
5791 return _IMP_atom.LennardJones_set_value(self, *args)
5794 def remove_attribute(self, *args):
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)
5804 return _IMP_atom.LennardJones_remove_attribute(self, *args)
5807 def has_attribute(self, *args):
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
5817 return _IMP_atom.LennardJones_has_attribute(self, *args)
5820 def get_derivative(self, a0):
5821 """get_derivative(LennardJones self, FloatKey a0) -> double"""
5822 return _IMP_atom.LennardJones_get_derivative(self, a0)
5826 """get_name(LennardJones self) -> std::string"""
5827 return _IMP_atom.LennardJones_get_name(self)
5830 def clear_caches(self):
5831 """clear_caches(LennardJones self)"""
5832 return _IMP_atom.LennardJones_clear_caches(self)
5835 def set_name(self, a0):
5836 """set_name(LennardJones self, std::string a0)"""
5837 return _IMP_atom.LennardJones_set_name(self, a0)
5841 """set_check_level(LennardJones self, IMP::CheckLevel a0)"""
5842 return _IMP_atom.LennardJones_set_check_level(self, a0)
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)
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)
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)
5861 """get_check_level(LennardJones self) -> IMP::CheckLevel"""
5862 return _IMP_atom.LennardJones_get_check_level(self)
5865 def __eq__(self, *args):
5867 __eq__(LennardJones self, LennardJones o) -> bool
5868 __eq__(LennardJones self, Particle d) -> bool
5870 return _IMP_atom.LennardJones___eq__(self, *args)
5873 def __ne__(self, *args):
5875 __ne__(LennardJones self, LennardJones o) -> bool
5876 __ne__(LennardJones self, Particle d) -> bool
5878 return _IMP_atom.LennardJones___ne__(self, *args)
5881 def __le__(self, *args):
5883 __le__(LennardJones self, LennardJones o) -> bool
5884 __le__(LennardJones self, Particle d) -> bool
5886 return _IMP_atom.LennardJones___le__(self, *args)
5889 def __lt__(self, *args):
5891 __lt__(LennardJones self, LennardJones o) -> bool
5892 __lt__(LennardJones self, Particle d) -> bool
5894 return _IMP_atom.LennardJones___lt__(self, *args)
5897 def __ge__(self, *args):
5899 __ge__(LennardJones self, LennardJones o) -> bool
5900 __ge__(LennardJones self, Particle d) -> bool
5902 return _IMP_atom.LennardJones___ge__(self, *args)
5905 def __gt__(self, *args):
5907 __gt__(LennardJones self, LennardJones o) -> bool
5908 __gt__(LennardJones self, Particle d) -> bool
5910 return _IMP_atom.LennardJones___gt__(self, *args)
5914 """__hash__(LennardJones self) -> std::size_t"""
5915 return _IMP_atom.LennardJones___hash__(self)
5919 """__str__(LennardJones self) -> std::string"""
5920 return _IMP_atom.LennardJones___str__(self)
5924 """__repr__(LennardJones self) -> std::string"""
5925 return _IMP_atom.LennardJones___repr__(self)
5927 __swig_destroy__ = _IMP_atom.delete_LennardJones
5928 __del__ =
lambda self:
None
5929 LennardJones_swigregister = _IMP_atom.LennardJones_swigregister
5930 LennardJones_swigregister(LennardJones)
5932 def LennardJones_setup_particle(*args):
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
5939 return _IMP_atom.LennardJones_setup_particle(*args)
5941 def LennardJones_get_is_setup(*args):
5943 get_is_setup(_ParticleAdaptor p) -> bool
5944 LennardJones_get_is_setup(Model m, ParticleIndex pi) -> bool
5946 return _IMP_atom.LennardJones_get_is_setup(*args)
5948 def LennardJones_get_well_depth_key():
5949 """LennardJones_get_well_depth_key() -> FloatKey"""
5950 return _IMP_atom.LennardJones_get_well_depth_key()
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')
5956 def __init__(self, f):
5957 """__init__(IMP::atom::LennardJonesPairScore self, SmoothingFunction f) -> LennardJonesPairScore"""
5958 this = _IMP_atom.new_LennardJonesPairScore(f)
5960 self.this.append(this)
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)
5969 def get_repulsive_weight(self):
5970 """get_repulsive_weight(LennardJonesPairScore self) -> double"""
5971 return _IMP_atom.LennardJonesPairScore_get_repulsive_weight(self)
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)
5979 def get_attractive_weight(self):
5980 """get_attractive_weight(LennardJonesPairScore self) -> double"""
5981 return _IMP_atom.LennardJonesPairScore_get_attractive_weight(self)
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)
5989 def get_version_info(self):
5990 """get_version_info(LennardJonesPairScore self) -> VersionInfo"""
5991 return _IMP_atom.LennardJonesPairScore_get_version_info(self)
5995 """__str__(LennardJonesPairScore self) -> std::string"""
5996 return _IMP_atom.LennardJonesPairScore___str__(self)
6000 """__repr__(LennardJonesPairScore self) -> std::string"""
6001 return _IMP_atom.LennardJonesPairScore___repr__(self)
6006 return _object_cast_to_LennardJonesPairScore(o)
6008 LennardJonesPairScore_swigregister = _IMP_atom.LennardJonesPairScore_swigregister
6009 LennardJonesPairScore_swigregister(LennardJonesPairScore)
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')
6015 def __init__(self, *args):
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
6021 this = _IMP_atom.new_LinearVelocity(*args)
6023 self.this.append(this)
6027 def get_is_setup(*args):
6029 get_is_setup(Model m, ParticleIndex pi) -> bool
6030 get_is_setup(_ParticleAdaptor p) -> bool
6032 return _IMP_atom.LinearVelocity_get_is_setup(*args)
6034 get_is_setup = staticmethod(get_is_setup)
6036 def show(self, *args):
6038 show(LinearVelocity self, _ostream out)
6039 show(LinearVelocity self)
6041 return _IMP_atom.LinearVelocity_show(self, *args)
6044 def setup_particle(*args):
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
6051 return _IMP_atom.LinearVelocity_setup_particle(*args)
6053 setup_particle = staticmethod(setup_particle)
6055 def set_velocity(self, v):
6056 """set_velocity(LinearVelocity self, Vector3D v)"""
6057 return _IMP_atom.LinearVelocity_set_velocity(self, v)
6060 def get_velocity(self):
6061 """get_velocity(LinearVelocity self) -> Vector3D"""
6062 return _IMP_atom.LinearVelocity_get_velocity(self)
6065 def add_attribute(self, *args):
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)
6076 return _IMP_atom.LinearVelocity_add_attribute(self, *args)
6079 def get_value(self, *args):
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
6089 return _IMP_atom.LinearVelocity_get_value(self, *args)
6092 def set_value(self, *args):
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)
6102 return _IMP_atom.LinearVelocity_set_value(self, *args)
6105 def remove_attribute(self, *args):
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)
6115 return _IMP_atom.LinearVelocity_remove_attribute(self, *args)
6118 def has_attribute(self, *args):
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
6128 return _IMP_atom.LinearVelocity_has_attribute(self, *args)
6131 def get_derivative(self, a0):
6132 """get_derivative(LinearVelocity self, FloatKey a0) -> double"""
6133 return _IMP_atom.LinearVelocity_get_derivative(self, a0)
6137 """get_name(LinearVelocity self) -> std::string"""
6138 return _IMP_atom.LinearVelocity_get_name(self)
6141 def clear_caches(self):
6142 """clear_caches(LinearVelocity self)"""
6143 return _IMP_atom.LinearVelocity_clear_caches(self)
6146 def set_name(self, a0):
6147 """set_name(LinearVelocity self, std::string a0)"""
6148 return _IMP_atom.LinearVelocity_set_name(self, a0)
6152 """set_check_level(LinearVelocity self, IMP::CheckLevel a0)"""
6153 return _IMP_atom.LinearVelocity_set_check_level(self, a0)
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)
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)
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)
6172 """get_check_level(LinearVelocity self) -> IMP::CheckLevel"""
6173 return _IMP_atom.LinearVelocity_get_check_level(self)
6176 def __eq__(self, *args):
6178 __eq__(LinearVelocity self, LinearVelocity o) -> bool
6179 __eq__(LinearVelocity self, Particle d) -> bool
6181 return _IMP_atom.LinearVelocity___eq__(self, *args)
6184 def __ne__(self, *args):
6186 __ne__(LinearVelocity self, LinearVelocity o) -> bool
6187 __ne__(LinearVelocity self, Particle d) -> bool
6189 return _IMP_atom.LinearVelocity___ne__(self, *args)
6192 def __le__(self, *args):
6194 __le__(LinearVelocity self, LinearVelocity o) -> bool
6195 __le__(LinearVelocity self, Particle d) -> bool
6197 return _IMP_atom.LinearVelocity___le__(self, *args)
6200 def __lt__(self, *args):
6202 __lt__(LinearVelocity self, LinearVelocity o) -> bool
6203 __lt__(LinearVelocity self, Particle d) -> bool
6205 return _IMP_atom.LinearVelocity___lt__(self, *args)
6208 def __ge__(self, *args):
6210 __ge__(LinearVelocity self, LinearVelocity o) -> bool
6211 __ge__(LinearVelocity self, Particle d) -> bool
6213 return _IMP_atom.LinearVelocity___ge__(self, *args)
6216 def __gt__(self, *args):
6218 __gt__(LinearVelocity self, LinearVelocity o) -> bool
6219 __gt__(LinearVelocity self, Particle d) -> bool
6221 return _IMP_atom.LinearVelocity___gt__(self, *args)
6225 """__hash__(LinearVelocity self) -> std::size_t"""
6226 return _IMP_atom.LinearVelocity___hash__(self)
6230 """__str__(LinearVelocity self) -> std::string"""
6231 return _IMP_atom.LinearVelocity___str__(self)
6235 """__repr__(LinearVelocity self) -> std::string"""
6236 return _IMP_atom.LinearVelocity___repr__(self)
6238 __swig_destroy__ = _IMP_atom.delete_LinearVelocity
6239 __del__ =
lambda self:
None
6240 LinearVelocity_swigregister = _IMP_atom.LinearVelocity_swigregister
6241 LinearVelocity_swigregister(LinearVelocity)
6243 def LinearVelocity_get_is_setup(*args):
6245 get_is_setup(Model m, ParticleIndex pi) -> bool
6246 LinearVelocity_get_is_setup(_ParticleAdaptor p) -> bool
6248 return _IMP_atom.LinearVelocity_get_is_setup(*args)
6250 def LinearVelocity_setup_particle(*args):
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
6257 return _IMP_atom.LinearVelocity_setup_particle(*args)
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')
6263 def __init__(self, *args):
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
6269 this = _IMP_atom.new_AngularVelocity(*args)
6271 self.this.append(this)
6275 def get_is_setup(*args):
6277 get_is_setup(Model m, ParticleIndex pi) -> bool
6278 get_is_setup(_ParticleAdaptor p) -> bool
6280 return _IMP_atom.AngularVelocity_get_is_setup(*args)
6282 get_is_setup = staticmethod(get_is_setup)
6284 def show(self, *args):
6286 show(AngularVelocity self, _ostream out)
6287 show(AngularVelocity self)
6289 return _IMP_atom.AngularVelocity_show(self, *args)
6292 def setup_particle(*args):
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
6299 return _IMP_atom.AngularVelocity_setup_particle(*args)
6301 setup_particle = staticmethod(setup_particle)
6303 def set_velocity(self, v):
6304 """set_velocity(AngularVelocity self, Vector4D v)"""
6305 return _IMP_atom.AngularVelocity_set_velocity(self, v)
6308 def get_velocity(self):
6309 """get_velocity(AngularVelocity self) -> Vector4D"""
6310 return _IMP_atom.AngularVelocity_get_velocity(self)
6313 def add_attribute(self, *args):
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)
6324 return _IMP_atom.AngularVelocity_add_attribute(self, *args)
6327 def get_value(self, *args):
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
6337 return _IMP_atom.AngularVelocity_get_value(self, *args)
6340 def set_value(self, *args):
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)
6350 return _IMP_atom.AngularVelocity_set_value(self, *args)
6353 def remove_attribute(self, *args):
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)
6363 return _IMP_atom.AngularVelocity_remove_attribute(self, *args)
6366 def has_attribute(self, *args):
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
6376 return _IMP_atom.AngularVelocity_has_attribute(self, *args)
6379 def get_derivative(self, a0):
6380 """get_derivative(AngularVelocity self, FloatKey a0) -> double"""
6381 return _IMP_atom.AngularVelocity_get_derivative(self, a0)
6385 """get_name(AngularVelocity self) -> std::string"""
6386 return _IMP_atom.AngularVelocity_get_name(self)
6389 def clear_caches(self):
6390 """clear_caches(AngularVelocity self)"""
6391 return _IMP_atom.AngularVelocity_clear_caches(self)
6394 def set_name(self, a0):
6395 """set_name(AngularVelocity self, std::string a0)"""
6396 return _IMP_atom.AngularVelocity_set_name(self, a0)
6400 """set_check_level(AngularVelocity self, IMP::CheckLevel a0)"""
6401 return _IMP_atom.AngularVelocity_set_check_level(self, a0)
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)
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)
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)
6420 """get_check_level(AngularVelocity self) -> IMP::CheckLevel"""
6421 return _IMP_atom.AngularVelocity_get_check_level(self)
6424 def __eq__(self, *args):
6426 __eq__(AngularVelocity self, AngularVelocity o) -> bool
6427 __eq__(AngularVelocity self, Particle d) -> bool
6429 return _IMP_atom.AngularVelocity___eq__(self, *args)
6432 def __ne__(self, *args):
6434 __ne__(AngularVelocity self, AngularVelocity o) -> bool
6435 __ne__(AngularVelocity self, Particle d) -> bool
6437 return _IMP_atom.AngularVelocity___ne__(self, *args)
6440 def __le__(self, *args):
6442 __le__(AngularVelocity self, AngularVelocity o) -> bool
6443 __le__(AngularVelocity self, Particle d) -> bool
6445 return _IMP_atom.AngularVelocity___le__(self, *args)
6448 def __lt__(self, *args):
6450 __lt__(AngularVelocity self, AngularVelocity o) -> bool
6451 __lt__(AngularVelocity self, Particle d) -> bool
6453 return _IMP_atom.AngularVelocity___lt__(self, *args)
6456 def __ge__(self, *args):
6458 __ge__(AngularVelocity self, AngularVelocity o) -> bool
6459 __ge__(AngularVelocity self, Particle d) -> bool
6461 return _IMP_atom.AngularVelocity___ge__(self, *args)
6464 def __gt__(self, *args):
6466 __gt__(AngularVelocity self, AngularVelocity o) -> bool
6467 __gt__(AngularVelocity self, Particle d) -> bool
6469 return _IMP_atom.AngularVelocity___gt__(self, *args)
6473 """__hash__(AngularVelocity self) -> std::size_t"""
6474 return _IMP_atom.AngularVelocity___hash__(self)
6478 """__str__(AngularVelocity self) -> std::string"""
6479 return _IMP_atom.AngularVelocity___str__(self)
6483 """__repr__(AngularVelocity self) -> std::string"""
6484 return _IMP_atom.AngularVelocity___repr__(self)
6486 __swig_destroy__ = _IMP_atom.delete_AngularVelocity
6487 __del__ =
lambda self:
None
6488 AngularVelocity_swigregister = _IMP_atom.AngularVelocity_swigregister
6489 AngularVelocity_swigregister(AngularVelocity)
6491 def AngularVelocity_get_is_setup(*args):
6493 get_is_setup(Model m, ParticleIndex pi) -> bool
6494 AngularVelocity_get_is_setup(_ParticleAdaptor p) -> bool
6496 return _IMP_atom.AngularVelocity_get_is_setup(*args)
6498 def AngularVelocity_setup_particle(*args):
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
6505 return _IMP_atom.AngularVelocity_setup_particle(*args)
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')
6511 def __init__(self, m):
6512 """__init__(IMP::atom::MolecularDynamics self, Model m) -> MolecularDynamics"""
6513 this = _IMP_atom.new_MolecularDynamics(m)
6515 self.this.append(this)
6519 def get_kinetic_energy(self):
6520 """get_kinetic_energy(MolecularDynamics self) -> IMP::Float"""
6521 return _IMP_atom.MolecularDynamics_get_kinetic_energy(self)
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)
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)
6534 def assign_velocities(self, temperature):
6535 """assign_velocities(MolecularDynamics self, IMP::Float temperature)"""
6536 return _IMP_atom.MolecularDynamics_assign_velocities(self, temperature)
6539 def setup(self, ps):
6540 """setup(MolecularDynamics self, IMP::ParticleIndexes const & ps)"""
6541 return _IMP_atom.MolecularDynamics_setup(self, ps)
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)
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)
6554 def get_version_info(self):
6555 """get_version_info(MolecularDynamics self) -> VersionInfo"""
6556 return _IMP_atom.MolecularDynamics_get_version_info(self)
6560 """__str__(MolecularDynamics self) -> std::string"""
6561 return _IMP_atom.MolecularDynamics___str__(self)
6565 """__repr__(MolecularDynamics self) -> std::string"""
6566 return _IMP_atom.MolecularDynamics___repr__(self)
6571 return _object_cast_to_MolecularDynamics(o)
6573 MolecularDynamics_swigregister = _IMP_atom.MolecularDynamics_swigregister
6574 MolecularDynamics_swigregister(MolecularDynamics)
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')
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)
6584 self.this.append(this)
6588 def set_particles(self, pis):
6589 """set_particles(VelocityScalingOptimizerState self, IMP::Particles const & pis)"""
6590 return _IMP_atom.VelocityScalingOptimizerState_set_particles(self, pis)
6593 def set_temperature(self, temperature):
6594 """set_temperature(VelocityScalingOptimizerState self, IMP::Float temperature)"""
6595 return _IMP_atom.VelocityScalingOptimizerState_set_temperature(self, temperature)
6598 def rescale_velocities(self):
6599 """rescale_velocities(VelocityScalingOptimizerState self)"""
6600 return _IMP_atom.VelocityScalingOptimizerState_rescale_velocities(self)
6603 def get_version_info(self):
6604 """get_version_info(VelocityScalingOptimizerState self) -> VersionInfo"""
6605 return _IMP_atom.VelocityScalingOptimizerState_get_version_info(self)
6609 """__str__(VelocityScalingOptimizerState self) -> std::string"""
6610 return _IMP_atom.VelocityScalingOptimizerState___str__(self)
6614 """__repr__(VelocityScalingOptimizerState self) -> std::string"""
6615 return _IMP_atom.VelocityScalingOptimizerState___repr__(self)
6620 return _object_cast_to_VelocityScalingOptimizerState(o)
6622 VelocityScalingOptimizerState_swigregister = _IMP_atom.VelocityScalingOptimizerState_swigregister
6623 VelocityScalingOptimizerState_swigregister(VelocityScalingOptimizerState)
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')
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)
6634 def get_residue_indexes(self):
6635 """get_residue_indexes(Fragment self) -> IMP::Ints"""
6636 return _IMP_atom.Fragment_get_residue_indexes(self)
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)
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)
6649 def __init__(self, *args):
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
6655 this = _IMP_atom.new_Fragment(*args)
6657 self.this.append(this)
6661 def get_is_setup(*args):
6663 get_is_setup(Model m, ParticleIndex pi) -> bool
6664 get_is_setup(_ParticleAdaptor p) -> bool
6666 return _IMP_atom.Fragment_get_is_setup(*args)
6668 get_is_setup = staticmethod(get_is_setup)
6670 def show(self, *args):
6672 show(Fragment self, _ostream out)
6675 return _IMP_atom.Fragment_show(self, *args)
6678 def setup_particle(*args):
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
6687 return _IMP_atom.Fragment_setup_particle(*args)
6689 setup_particle = staticmethod(setup_particle)
6691 def add_attribute(self, *args):
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)
6702 return _IMP_atom.Fragment_add_attribute(self, *args)
6705 def get_value(self, *args):
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
6715 return _IMP_atom.Fragment_get_value(self, *args)
6718 def set_value(self, *args):
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)
6728 return _IMP_atom.Fragment_set_value(self, *args)
6731 def remove_attribute(self, *args):
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)
6741 return _IMP_atom.Fragment_remove_attribute(self, *args)
6744 def has_attribute(self, *args):
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
6754 return _IMP_atom.Fragment_has_attribute(self, *args)
6757 def get_derivative(self, a0):
6758 """get_derivative(Fragment self, FloatKey a0) -> double"""
6759 return _IMP_atom.Fragment_get_derivative(self, a0)
6763 """get_name(Fragment self) -> std::string"""
6764 return _IMP_atom.Fragment_get_name(self)
6767 def clear_caches(self):
6768 """clear_caches(Fragment self)"""
6769 return _IMP_atom.Fragment_clear_caches(self)
6772 def set_name(self, a0):
6773 """set_name(Fragment self, std::string a0)"""
6774 return _IMP_atom.Fragment_set_name(self, a0)
6778 """set_check_level(Fragment self, IMP::CheckLevel a0)"""
6779 return _IMP_atom.Fragment_set_check_level(self, a0)
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)
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)
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)
6798 """get_check_level(Fragment self) -> IMP::CheckLevel"""
6799 return _IMP_atom.Fragment_get_check_level(self)
6802 def __eq__(self, *args):
6804 __eq__(Fragment self, Fragment o) -> bool
6805 __eq__(Fragment self, Particle d) -> bool
6807 return _IMP_atom.Fragment___eq__(self, *args)
6810 def __ne__(self, *args):
6812 __ne__(Fragment self, Fragment o) -> bool
6813 __ne__(Fragment self, Particle d) -> bool
6815 return _IMP_atom.Fragment___ne__(self, *args)
6818 def __le__(self, *args):
6820 __le__(Fragment self, Fragment o) -> bool
6821 __le__(Fragment self, Particle d) -> bool
6823 return _IMP_atom.Fragment___le__(self, *args)
6826 def __lt__(self, *args):
6828 __lt__(Fragment self, Fragment o) -> bool
6829 __lt__(Fragment self, Particle d) -> bool
6831 return _IMP_atom.Fragment___lt__(self, *args)
6834 def __ge__(self, *args):
6836 __ge__(Fragment self, Fragment o) -> bool
6837 __ge__(Fragment self, Particle d) -> bool
6839 return _IMP_atom.Fragment___ge__(self, *args)
6842 def __gt__(self, *args):
6844 __gt__(Fragment self, Fragment o) -> bool
6845 __gt__(Fragment self, Particle d) -> bool
6847 return _IMP_atom.Fragment___gt__(self, *args)
6851 """__hash__(Fragment self) -> std::size_t"""
6852 return _IMP_atom.Fragment___hash__(self)
6856 """__str__(Fragment self) -> std::string"""
6857 return _IMP_atom.Fragment___str__(self)
6861 """__repr__(Fragment self) -> std::string"""
6862 return _IMP_atom.Fragment___repr__(self)
6864 __swig_destroy__ = _IMP_atom.delete_Fragment
6865 __del__ =
lambda self:
None
6866 Fragment_swigregister = _IMP_atom.Fragment_swigregister
6867 Fragment_swigregister(Fragment)
6869 def Fragment_get_is_setup(*args):
6871 get_is_setup(Model m, ParticleIndex pi) -> bool
6872 Fragment_get_is_setup(_ParticleAdaptor p) -> bool
6874 return _IMP_atom.Fragment_get_is_setup(*args)
6876 def Fragment_setup_particle(*args):
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
6885 return _IMP_atom.Fragment_setup_particle(*args)
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')
6892 """__init__(IMP::atom::StereochemistryPairFilter self) -> StereochemistryPairFilter"""
6893 this = _IMP_atom.new_StereochemistryPairFilter()
6895 self.this.append(this)
6899 def set_bonds(self, bonds):
6900 """set_bonds(StereochemistryPairFilter self, IMP::Particles const & bonds)"""
6901 return _IMP_atom.StereochemistryPairFilter_set_bonds(self, bonds)
6904 def set_angles(self, angles):
6905 """set_angles(StereochemistryPairFilter self, IMP::Particles const & angles)"""
6906 return _IMP_atom.StereochemistryPairFilter_set_angles(self, angles)
6909 def set_dihedrals(self, dihedrals):
6910 """set_dihedrals(StereochemistryPairFilter self, IMP::Particles const & dihedrals)"""
6911 return _IMP_atom.StereochemistryPairFilter_set_dihedrals(self, dihedrals)
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)
6919 def get_value(self, *args):
6921 get_value(StereochemistryPairFilter self, IMP::ParticlePair const & a) -> int
6922 get_value(StereochemistryPairFilter self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
6924 return _IMP_atom.StereochemistryPairFilter_get_value(self, *args)
6927 def get_value_index(self, *args):
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
6932 return _IMP_atom.StereochemistryPairFilter_get_value_index(self, *args)
6935 def get_version_info(self):
6936 """get_version_info(StereochemistryPairFilter self) -> VersionInfo"""
6937 return _IMP_atom.StereochemistryPairFilter_get_version_info(self)
6941 """__str__(StereochemistryPairFilter self) -> std::string"""
6942 return _IMP_atom.StereochemistryPairFilter___str__(self)
6946 """__repr__(StereochemistryPairFilter self) -> std::string"""
6947 return _IMP_atom.StereochemistryPairFilter___repr__(self)
6952 return _object_cast_to_StereochemistryPairFilter(o)
6954 StereochemistryPairFilter_swigregister = _IMP_atom.StereochemistryPairFilter_swigregister
6955 StereochemistryPairFilter_swigregister(StereochemistryPairFilter)
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')
6961 def __init__(self, library):
6962 """__init__(IMP::atom::SoapPairFilter self, std::string library) -> SoapPairFilter"""
6963 this = _IMP_atom.new_SoapPairFilter(library)
6965 self.this.append(this)
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)
6974 def get_value(self, *args):
6976 get_value(SoapPairFilter self, IMP::ParticlePair const & a) -> int
6977 get_value(SoapPairFilter self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
6979 return _IMP_atom.SoapPairFilter_get_value(self, *args)
6982 def get_value_index(self, *args):
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
6987 return _IMP_atom.SoapPairFilter_get_value_index(self, *args)
6990 def get_version_info(self):
6991 """get_version_info(SoapPairFilter self) -> VersionInfo"""
6992 return _IMP_atom.SoapPairFilter_get_version_info(self)
6996 """__str__(SoapPairFilter self) -> std::string"""
6997 return _IMP_atom.SoapPairFilter___str__(self)
7001 """__repr__(SoapPairFilter self) -> std::string"""
7002 return _IMP_atom.SoapPairFilter___repr__(self)
7007 return _object_cast_to_SoapPairFilter(o)
7009 SoapPairFilter_swigregister = _IMP_atom.SoapPairFilter_swigregister
7010 SoapPairFilter_swigregister(SoapPairFilter)
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')
7017 """get_mass(Mass self) -> IMP::Float"""
7018 return _IMP_atom.Mass_get_mass(self)
7021 def set_mass(self, d):
7022 """set_mass(Mass self, IMP::Float d)"""
7023 return _IMP_atom.Mass_set_mass(self, d)
7026 def __init__(self, *args):
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
7032 this = _IMP_atom.new_Mass(*args)
7034 self.this.append(this)
7038 def get_is_setup(*args):
7040 get_is_setup(Model m, ParticleIndex pi) -> bool
7041 get_is_setup(_ParticleAdaptor p) -> bool
7043 return _IMP_atom.Mass_get_is_setup(*args)
7045 get_is_setup = staticmethod(get_is_setup)
7047 def show(self, *args):
7049 show(Mass self, _ostream out)
7052 return _IMP_atom.Mass_show(self, *args)
7055 def setup_particle(*args):
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
7062 return _IMP_atom.Mass_setup_particle(*args)
7064 setup_particle = staticmethod(setup_particle)
7067 """get_mass_key() -> FloatKey"""
7068 return _IMP_atom.Mass_get_mass_key()
7070 get_mass_key = staticmethod(get_mass_key)
7072 def add_attribute(self, *args):
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)
7083 return _IMP_atom.Mass_add_attribute(self, *args)
7086 def get_value(self, *args):
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
7096 return _IMP_atom.Mass_get_value(self, *args)
7099 def set_value(self, *args):
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)
7109 return _IMP_atom.Mass_set_value(self, *args)
7112 def remove_attribute(self, *args):
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)
7122 return _IMP_atom.Mass_remove_attribute(self, *args)
7125 def has_attribute(self, *args):
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
7135 return _IMP_atom.Mass_has_attribute(self, *args)
7138 def get_derivative(self, a0):
7139 """get_derivative(Mass self, FloatKey a0) -> double"""
7140 return _IMP_atom.Mass_get_derivative(self, a0)
7144 """get_name(Mass self) -> std::string"""
7145 return _IMP_atom.Mass_get_name(self)
7148 def clear_caches(self):
7149 """clear_caches(Mass self)"""
7150 return _IMP_atom.Mass_clear_caches(self)
7153 def set_name(self, a0):
7154 """set_name(Mass self, std::string a0)"""
7155 return _IMP_atom.Mass_set_name(self, a0)
7159 """set_check_level(Mass self, IMP::CheckLevel a0)"""
7160 return _IMP_atom.Mass_set_check_level(self, a0)
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)
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)
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)
7179 """get_check_level(Mass self) -> IMP::CheckLevel"""
7180 return _IMP_atom.Mass_get_check_level(self)
7183 def __eq__(self, *args):
7185 __eq__(Mass self, Mass o) -> bool
7186 __eq__(Mass self, Particle d) -> bool
7188 return _IMP_atom.Mass___eq__(self, *args)
7191 def __ne__(self, *args):
7193 __ne__(Mass self, Mass o) -> bool
7194 __ne__(Mass self, Particle d) -> bool
7196 return _IMP_atom.Mass___ne__(self, *args)
7199 def __le__(self, *args):
7201 __le__(Mass self, Mass o) -> bool
7202 __le__(Mass self, Particle d) -> bool
7204 return _IMP_atom.Mass___le__(self, *args)
7207 def __lt__(self, *args):
7209 __lt__(Mass self, Mass o) -> bool
7210 __lt__(Mass self, Particle d) -> bool
7212 return _IMP_atom.Mass___lt__(self, *args)
7215 def __ge__(self, *args):
7217 __ge__(Mass self, Mass o) -> bool
7218 __ge__(Mass self, Particle d) -> bool
7220 return _IMP_atom.Mass___ge__(self, *args)
7223 def __gt__(self, *args):
7225 __gt__(Mass self, Mass o) -> bool
7226 __gt__(Mass self, Particle d) -> bool
7228 return _IMP_atom.Mass___gt__(self, *args)
7232 """__hash__(Mass self) -> std::size_t"""
7233 return _IMP_atom.Mass___hash__(self)
7237 """__str__(Mass self) -> std::string"""
7238 return _IMP_atom.Mass___str__(self)
7242 """__repr__(Mass self) -> std::string"""
7243 return _IMP_atom.Mass___repr__(self)
7245 __swig_destroy__ = _IMP_atom.delete_Mass
7246 __del__ =
lambda self:
None
7247 Mass_swigregister = _IMP_atom.Mass_swigregister
7248 Mass_swigregister(Mass)
7250 def Mass_get_is_setup(*args):
7252 get_is_setup(Model m, ParticleIndex pi) -> bool
7253 Mass_get_is_setup(_ParticleAdaptor p) -> bool
7255 return _IMP_atom.Mass_get_is_setup(*args)
7257 def Mass_setup_particle(*args):
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
7264 return _IMP_atom.Mass_setup_particle(*args)
7266 def Mass_get_mass_key():
7267 """Mass_get_mass_key() -> FloatKey"""
7268 return _IMP_atom.Mass_get_mass_key()
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')
7275 """__init__(IMP::atom::BondedPairFilter self) -> BondedPairFilter"""
7276 this = _IMP_atom.new_BondedPairFilter()
7278 self.this.append(this)
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)
7287 def get_value(self, *args):
7289 get_value(BondedPairFilter self, IMP::ParticlePair const & a) -> int
7290 get_value(BondedPairFilter self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
7292 return _IMP_atom.BondedPairFilter_get_value(self, *args)
7295 def get_value_index(self, *args):
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
7300 return _IMP_atom.BondedPairFilter_get_value_index(self, *args)
7303 def get_version_info(self):
7304 """get_version_info(BondedPairFilter self) -> VersionInfo"""
7305 return _IMP_atom.BondedPairFilter_get_version_info(self)
7309 """__str__(BondedPairFilter self) -> std::string"""
7310 return _IMP_atom.BondedPairFilter___str__(self)
7314 """__repr__(BondedPairFilter self) -> std::string"""
7315 return _IMP_atom.BondedPairFilter___repr__(self)
7320 return _object_cast_to_BondedPairFilter(o)
7322 BondedPairFilter_swigregister = _IMP_atom.BondedPairFilter_swigregister
7323 BondedPairFilter_swigregister(BondedPairFilter)
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')
7329 def __init__(self, *args, **kwargs):
7330 raise AttributeError(
"No constructor defined - class is abstract")
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)
7336 __swig_destroy__ = _IMP_atom.delete_Mol2Selector
7337 __del__ =
lambda self:
None
7340 """__str__(Mol2Selector self) -> std::string"""
7341 return _IMP_atom.Mol2Selector___str__(self)
7345 """__repr__(Mol2Selector self) -> std::string"""
7346 return _IMP_atom.Mol2Selector___repr__(self)
7351 return _object_cast_to_Mol2Selector(o)
7353 Mol2Selector_swigregister = _IMP_atom.Mol2Selector_swigregister
7354 Mol2Selector_swigregister(Mol2Selector)
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')
7361 """__str__(AllMol2Selector self) -> std::string"""
7362 return _IMP_atom.AllMol2Selector___str__(self)
7366 """__repr__(AllMol2Selector self) -> std::string"""
7367 return _IMP_atom.AllMol2Selector___repr__(self)
7372 return _object_cast_to_AllMol2Selector(o)
7376 """__init__(IMP::atom::AllMol2Selector self) -> AllMol2Selector"""
7377 this = _IMP_atom.new_AllMol2Selector()
7379 self.this.append(this)
7382 __swig_destroy__ = _IMP_atom.delete_AllMol2Selector
7383 __del__ =
lambda self:
None
7384 AllMol2Selector_swigregister = _IMP_atom.AllMol2Selector_swigregister
7385 AllMol2Selector_swigregister(AllMol2Selector)
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')
7392 """__str__(NonHydrogenMol2Selector self) -> std::string"""
7393 return _IMP_atom.NonHydrogenMol2Selector___str__(self)
7397 """__repr__(NonHydrogenMol2Selector self) -> std::string"""
7398 return _IMP_atom.NonHydrogenMol2Selector___repr__(self)
7403 return _object_cast_to_NonHydrogenMol2Selector(o)
7407 """__init__(IMP::atom::NonHydrogenMol2Selector self) -> NonHydrogenMol2Selector"""
7408 this = _IMP_atom.new_NonHydrogenMol2Selector()
7410 self.this.append(this)
7413 __swig_destroy__ = _IMP_atom.delete_NonHydrogenMol2Selector
7414 __del__ =
lambda self:
None
7415 NonHydrogenMol2Selector_swigregister = _IMP_atom.NonHydrogenMol2Selector_swigregister
7416 NonHydrogenMol2Selector_swigregister(NonHydrogenMol2Selector)
7419 def read_mol2(mol2_file, model, mol2sel=None):
7421 read_mol2(TextInput mol2_file, Model model, Mol2Selector mol2sel=None) -> Hierarchy
7422 read_mol2(TextInput mol2_file, Model model) -> Hierarchy
7424 return _IMP_atom.read_mol2(mol2_file, model, mol2sel)
7427 """write_mol2(Hierarchy rhd, TextOutput file_name)"""
7428 return _IMP_atom.write_mol2(rhd, file_name)
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')
7433 def __init__(self, *args):
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
7439 this = _IMP_atom.new_SecondaryStructureResidue(*args)
7441 self.this.append(this)
7445 def show(self, *args):
7447 show(SecondaryStructureResidue self, _ostream out)
7448 show(SecondaryStructureResidue self)
7450 return _IMP_atom.SecondaryStructureResidue_show(self, *args)
7453 def setup_particle(*args):
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
7459 return _IMP_atom.SecondaryStructureResidue_setup_particle(*args)
7461 setup_particle = staticmethod(setup_particle)
7463 def get_is_setup(*args):
7465 get_is_setup(_ParticleAdaptor p) -> bool
7466 get_is_setup(Model m, ParticleIndex pi) -> bool
7468 return _IMP_atom.SecondaryStructureResidue_get_is_setup(*args)
7470 get_is_setup = staticmethod(get_is_setup)
7472 def get_particle(self):
7473 """get_particle(SecondaryStructureResidue self) -> Particle"""
7474 return _IMP_atom.SecondaryStructureResidue_get_particle(self)
7477 def get_all_probabilities(self):
7478 """get_all_probabilities(SecondaryStructureResidue self) -> IMP::Floats"""
7479 return _IMP_atom.SecondaryStructureResidue_get_all_probabilities(self)
7482 def get_prob_helix(self):
7483 """get_prob_helix(SecondaryStructureResidue self) -> IMP::Float"""
7484 return _IMP_atom.SecondaryStructureResidue_get_prob_helix(self)
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)
7492 def get_prob_strand(self):
7493 """get_prob_strand(SecondaryStructureResidue self) -> IMP::Float"""
7494 return _IMP_atom.SecondaryStructureResidue_get_prob_strand(self)
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)
7502 def get_prob_coil(self):
7503 """get_prob_coil(SecondaryStructureResidue self) -> IMP::Float"""
7504 return _IMP_atom.SecondaryStructureResidue_get_prob_coil(self)
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)
7512 def get_prob_helix_key():
7513 """get_prob_helix_key() -> FloatKey"""
7514 return _IMP_atom.SecondaryStructureResidue_get_prob_helix_key()
7516 get_prob_helix_key = staticmethod(get_prob_helix_key)
7518 def get_prob_strand_key():
7519 """get_prob_strand_key() -> FloatKey"""
7520 return _IMP_atom.SecondaryStructureResidue_get_prob_strand_key()
7522 get_prob_strand_key = staticmethod(get_prob_strand_key)
7524 def get_prob_coil_key():
7525 """get_prob_coil_key() -> FloatKey"""
7526 return _IMP_atom.SecondaryStructureResidue_get_prob_coil_key()
7528 get_prob_coil_key = staticmethod(get_prob_coil_key)
7530 def add_attribute(self, *args):
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)
7541 return _IMP_atom.SecondaryStructureResidue_add_attribute(self, *args)
7544 def get_value(self, *args):
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
7554 return _IMP_atom.SecondaryStructureResidue_get_value(self, *args)
7557 def set_value(self, *args):
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)
7567 return _IMP_atom.SecondaryStructureResidue_set_value(self, *args)
7570 def remove_attribute(self, *args):
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)
7580 return _IMP_atom.SecondaryStructureResidue_remove_attribute(self, *args)
7583 def has_attribute(self, *args):
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
7593 return _IMP_atom.SecondaryStructureResidue_has_attribute(self, *args)
7596 def get_derivative(self, a0):
7597 """get_derivative(SecondaryStructureResidue self, FloatKey a0) -> double"""
7598 return _IMP_atom.SecondaryStructureResidue_get_derivative(self, a0)
7602 """get_name(SecondaryStructureResidue self) -> std::string"""
7603 return _IMP_atom.SecondaryStructureResidue_get_name(self)
7606 def clear_caches(self):
7607 """clear_caches(SecondaryStructureResidue self)"""
7608 return _IMP_atom.SecondaryStructureResidue_clear_caches(self)
7611 def set_name(self, a0):
7612 """set_name(SecondaryStructureResidue self, std::string a0)"""
7613 return _IMP_atom.SecondaryStructureResidue_set_name(self, a0)
7617 """set_check_level(SecondaryStructureResidue self, IMP::CheckLevel a0)"""
7618 return _IMP_atom.SecondaryStructureResidue_set_check_level(self, a0)
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)
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)
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)
7637 """get_check_level(SecondaryStructureResidue self) -> IMP::CheckLevel"""
7638 return _IMP_atom.SecondaryStructureResidue_get_check_level(self)
7641 def __eq__(self, *args):
7643 __eq__(SecondaryStructureResidue self, SecondaryStructureResidue o) -> bool
7644 __eq__(SecondaryStructureResidue self, Particle d) -> bool
7646 return _IMP_atom.SecondaryStructureResidue___eq__(self, *args)
7649 def __ne__(self, *args):
7651 __ne__(SecondaryStructureResidue self, SecondaryStructureResidue o) -> bool
7652 __ne__(SecondaryStructureResidue self, Particle d) -> bool
7654 return _IMP_atom.SecondaryStructureResidue___ne__(self, *args)
7657 def __le__(self, *args):
7659 __le__(SecondaryStructureResidue self, SecondaryStructureResidue o) -> bool
7660 __le__(SecondaryStructureResidue self, Particle d) -> bool
7662 return _IMP_atom.SecondaryStructureResidue___le__(self, *args)
7665 def __lt__(self, *args):
7667 __lt__(SecondaryStructureResidue self, SecondaryStructureResidue o) -> bool
7668 __lt__(SecondaryStructureResidue self, Particle d) -> bool
7670 return _IMP_atom.SecondaryStructureResidue___lt__(self, *args)
7673 def __ge__(self, *args):
7675 __ge__(SecondaryStructureResidue self, SecondaryStructureResidue o) -> bool
7676 __ge__(SecondaryStructureResidue self, Particle d) -> bool
7678 return _IMP_atom.SecondaryStructureResidue___ge__(self, *args)
7681 def __gt__(self, *args):
7683 __gt__(SecondaryStructureResidue self, SecondaryStructureResidue o) -> bool
7684 __gt__(SecondaryStructureResidue self, Particle d) -> bool
7686 return _IMP_atom.SecondaryStructureResidue___gt__(self, *args)
7690 """__hash__(SecondaryStructureResidue self) -> std::size_t"""
7691 return _IMP_atom.SecondaryStructureResidue___hash__(self)
7695 """__str__(SecondaryStructureResidue self) -> std::string"""
7696 return _IMP_atom.SecondaryStructureResidue___str__(self)
7700 """__repr__(SecondaryStructureResidue self) -> std::string"""
7701 return _IMP_atom.SecondaryStructureResidue___repr__(self)
7703 __swig_destroy__ = _IMP_atom.delete_SecondaryStructureResidue
7704 __del__ =
lambda self:
None
7705 SecondaryStructureResidue_swigregister = _IMP_atom.SecondaryStructureResidue_swigregister
7706 SecondaryStructureResidue_swigregister(SecondaryStructureResidue)
7708 def SecondaryStructureResidue_setup_particle(*args):
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
7714 return _IMP_atom.SecondaryStructureResidue_setup_particle(*args)
7716 def SecondaryStructureResidue_get_is_setup(*args):
7718 get_is_setup(_ParticleAdaptor p) -> bool
7719 SecondaryStructureResidue_get_is_setup(Model m, ParticleIndex pi) -> bool
7721 return _IMP_atom.SecondaryStructureResidue_get_is_setup(*args)
7723 def SecondaryStructureResidue_get_prob_helix_key():
7724 """SecondaryStructureResidue_get_prob_helix_key() -> FloatKey"""
7725 return _IMP_atom.SecondaryStructureResidue_get_prob_helix_key()
7727 def SecondaryStructureResidue_get_prob_strand_key():
7728 """SecondaryStructureResidue_get_prob_strand_key() -> FloatKey"""
7729 return _IMP_atom.SecondaryStructureResidue_get_prob_strand_key()
7731 def SecondaryStructureResidue_get_prob_coil_key():
7732 """SecondaryStructureResidue_get_prob_coil_key() -> FloatKey"""
7733 return _IMP_atom.SecondaryStructureResidue_get_prob_coil_key()
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
7741 return _IMP_atom.setup_coarse_secondary_structure_residue(ssr_ps, mdl, winner_takes_all_per_res)
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
7748 return _IMP_atom.setup_coarse_secondary_structure_residues(ssr_ps, mdl, coarse_factor, start_res_num, winner_takes_all_per_res)
7751 """get_secondary_structure_match_score(SecondaryStructureResidue ssr1, SecondaryStructureResidue ssr2) -> IMP::Float"""
7752 return _IMP_atom.get_secondary_structure_match_score(ssr1, ssr2)
7754 def read_psipred(*args):
7756 read_psipred(TextInput inf, Model mdl) -> IMP::atom::SecondaryStructureResidues
7757 read_psipred(TextInput inf, IMP::Particles ps) -> IMP::atom::SecondaryStructureResidues
7759 return _IMP_atom.read_psipred(*args)
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
7765 def __init__(self, *args):
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
7770 this = _IMP_atom.new__ADopeBase(*args)
7772 self.this.append(this)
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)
7781 def get_score_functor(self):
7782 """get_score_functor(_ADopeBase self) -> Dope"""
7783 return _IMP_atom._ADopeBase_get_score_functor(self)
7786 def get_version_info(self):
7787 """get_version_info(_ADopeBase self) -> VersionInfo"""
7788 return _IMP_atom._ADopeBase_get_version_info(self)
7790 _ADopeBase_swigregister = _IMP_atom._ADopeBase_swigregister
7791 _ADopeBase_swigregister(_ADopeBase)
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
7798 def __init__(self, *args):
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
7803 this = _IMP_atom.new__BDopeBase(*args)
7805 self.this.append(this)
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)
7814 def get_score_functor(self):
7815 """get_score_functor(_BDopeBase self) -> _DopeBase"""
7816 return _IMP_atom._BDopeBase_get_score_functor(self)
7819 def get_version_info(self):
7820 """get_version_info(_BDopeBase self) -> VersionInfo"""
7821 return _IMP_atom._BDopeBase_get_version_info(self)
7823 _BDopeBase_swigregister = _IMP_atom._BDopeBase_swigregister
7824 _BDopeBase_swigregister(_BDopeBase)
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
7831 def __init__(self, *args):
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
7836 this = _IMP_atom.new__ALoopStatisticalBase(*args)
7838 self.this.append(this)
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)
7847 def get_score_functor(self):
7848 """get_score_functor(_ALoopStatisticalBase self) -> LoopStatistical"""
7849 return _IMP_atom._ALoopStatisticalBase_get_score_functor(self)
7852 def get_version_info(self):
7853 """get_version_info(_ALoopStatisticalBase self) -> VersionInfo"""
7854 return _IMP_atom._ALoopStatisticalBase_get_version_info(self)
7856 _ALoopStatisticalBase_swigregister = _IMP_atom._ALoopStatisticalBase_swigregister
7857 _ALoopStatisticalBase_swigregister(_ALoopStatisticalBase)
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
7864 def __init__(self, *args):
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
7869 this = _IMP_atom.new__BLoopStatisticalBase(*args)
7871 self.this.append(this)
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)
7880 def get_score_functor(self):
7881 """get_score_functor(_BLoopStatisticalBase self) -> _LoopStatisticalBase"""
7882 return _IMP_atom._BLoopStatisticalBase_get_score_functor(self)
7885 def get_version_info(self):
7886 """get_version_info(_BLoopStatisticalBase self) -> VersionInfo"""
7887 return _IMP_atom._BLoopStatisticalBase_get_version_info(self)
7889 _BLoopStatisticalBase_swigregister = _IMP_atom._BLoopStatisticalBase_swigregister
7890 _BLoopStatisticalBase_swigregister(_BLoopStatisticalBase)
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
7897 def __init__(self, *args):
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
7902 this = _IMP_atom.new__OrientedSoapBase(*args)
7904 self.this.append(this)
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)
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)
7918 def get_version_info(self):
7919 """get_version_info(_OrientedSoapBase self) -> VersionInfo"""
7920 return _IMP_atom._OrientedSoapBase_get_version_info(self)
7922 _OrientedSoapBase_swigregister = _IMP_atom._OrientedSoapBase_swigregister
7923 _OrientedSoapBase_swigregister(_OrientedSoapBase)
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
7930 def __init__(self, *args):
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
7935 this = _IMP_atom.new__SPSFTB(*args)
7937 self.this.append(this)
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)
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)
7951 def get_version_info(self):
7952 """get_version_info(_SPSFTB self) -> VersionInfo"""
7953 return _IMP_atom._SPSFTB_get_version_info(self)
7955 _SPSFTB_swigregister = _IMP_atom._SPSFTB_swigregister
7956 _SPSFTB_swigregister(_SPSFTB)
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
7963 def __init__(self, *args):
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
7968 this = _IMP_atom.new__SPSTF(*args)
7970 self.this.append(this)
7973 __swig_destroy__ = _IMP_atom.delete__SPSTF
7974 __del__ =
lambda self:
None
7975 _SPSTF_swigregister = _IMP_atom._SPSTF_swigregister
7976 _SPSTF_swigregister(_SPSTF)
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
7983 def __init__(self, *args):
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
7988 this = _IMP_atom.new__SPSFT(*args)
7990 self.this.append(this)
7993 __swig_destroy__ = _IMP_atom.delete__SPSFT
7994 __del__ =
lambda self:
None
7995 _SPSFT_swigregister = _IMP_atom._SPSFT_swigregister
7996 _SPSFT_swigregister(_SPSFT)
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
8003 def __init__(self, *args):
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
8008 this = _IMP_atom.new__SPSFTL(*args)
8010 self.this.append(this)
8013 __swig_destroy__ = _IMP_atom.delete__SPSFTL
8014 __del__ =
lambda self:
None
8015 _SPSFTL_swigregister = _IMP_atom._SPSFTL_swigregister
8016 _SPSFTL_swigregister(_SPSFTL)
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')
8022 def __init__(self, *args):
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
8028 this = _IMP_atom.new_ProteinLigandAtomPairScore(*args)
8030 self.this.append(this)
8034 def get_maximum_distance(self):
8035 """get_maximum_distance(ProteinLigandAtomPairScore self) -> double"""
8036 return _IMP_atom.ProteinLigandAtomPairScore_get_maximum_distance(self)
8040 """__str__(ProteinLigandAtomPairScore self) -> std::string"""
8041 return _IMP_atom.ProteinLigandAtomPairScore___str__(self)
8045 """__repr__(ProteinLigandAtomPairScore self) -> std::string"""
8046 return _IMP_atom.ProteinLigandAtomPairScore___repr__(self)
8051 return _object_cast_to_ProteinLigandAtomPairScore(o)
8053 __swig_destroy__ = _IMP_atom.delete_ProteinLigandAtomPairScore
8054 __del__ =
lambda self:
None
8055 ProteinLigandAtomPairScore_swigregister = _IMP_atom.ProteinLigandAtomPairScore_swigregister
8056 ProteinLigandAtomPairScore_swigregister(ProteinLigandAtomPairScore)
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')
8062 def __init__(self, *args):
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
8068 this = _IMP_atom.new_ProteinLigandRestraint(*args)
8070 self.this.append(this)
8075 """__str__(ProteinLigandRestraint self) -> std::string"""
8076 return _IMP_atom.ProteinLigandRestraint___str__(self)
8080 """__repr__(ProteinLigandRestraint self) -> std::string"""
8081 return _IMP_atom.ProteinLigandRestraint___repr__(self)
8086 return _object_cast_to_ProteinLigandRestraint(o)
8088 __swig_destroy__ = _IMP_atom.delete_ProteinLigandRestraint
8089 __del__ =
lambda self:
None
8090 ProteinLigandRestraint_swigregister = _IMP_atom.ProteinLigandRestraint_swigregister
8091 ProteinLigandRestraint_swigregister(ProteinLigandRestraint)
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')
8101 def __init__(self, *args):
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
8108 this = _IMP_atom.new_AtomType(*args)
8110 self.this.append(this)
8115 """add_key(std::string sc) -> unsigned int"""
8116 return _IMP_atom.AtomType_add_key(sc)
8118 add_key = staticmethod(add_key)
8120 def get_key_exists(sc):
8121 """get_key_exists(std::string sc) -> bool"""
8122 return _IMP_atom.AtomType_get_key_exists(sc)
8124 get_key_exists = staticmethod(get_key_exists)
8126 def get_string(self):
8127 """get_string(AtomType self) -> std::string const"""
8128 return _IMP_atom.AtomType_get_string(self)
8131 def __cmp__(self, o):
8132 """__cmp__(AtomType self, AtomType o) -> int"""
8133 return _IMP_atom.AtomType___cmp__(self, o)
8136 def __eq__(self, o):
8137 """__eq__(AtomType self, AtomType o) -> bool"""
8138 return _IMP_atom.AtomType___eq__(self, o)
8141 def __ne__(self, o):
8142 """__ne__(AtomType self, AtomType o) -> bool"""
8143 return _IMP_atom.AtomType___ne__(self, o)
8146 def __lt__(self, o):
8147 """__lt__(AtomType self, AtomType o) -> bool"""
8148 return _IMP_atom.AtomType___lt__(self, o)
8151 def __gt__(self, o):
8152 """__gt__(AtomType self, AtomType o) -> bool"""
8153 return _IMP_atom.AtomType___gt__(self, o)
8156 def __ge__(self, o):
8157 """__ge__(AtomType self, AtomType o) -> bool"""
8158 return _IMP_atom.AtomType___ge__(self, o)
8161 def __le__(self, o):
8162 """__le__(AtomType self, AtomType o) -> bool"""
8163 return _IMP_atom.AtomType___le__(self, o)
8167 """__hash__(AtomType self) -> std::size_t"""
8168 return _IMP_atom.AtomType___hash__(self)
8171 def show(self, *args):
8173 show(AtomType self, _ostream out)
8176 return _IMP_atom.AtomType_show(self, *args)
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)
8183 add_alias = staticmethod(add_alias)
8185 def get_number_of_keys():
8186 """get_number_of_keys() -> unsigned int"""
8187 return _IMP_atom.AtomType_get_number_of_keys()
8189 get_number_of_keys = staticmethod(get_number_of_keys)
8192 """get_index(AtomType self) -> unsigned int"""
8193 return _IMP_atom.AtomType_get_index(self)
8197 """show_all(_ostream out)"""
8198 return _IMP_atom.AtomType_show_all(out)
8200 show_all = staticmethod(show_all)
8202 def get_all_strings():
8203 """get_all_strings() -> IMP::Vector< std::string >"""
8204 return _IMP_atom.AtomType_get_all_strings()
8206 get_all_strings = staticmethod(get_all_strings)
8208 def get_number_unique():
8209 """get_number_unique() -> unsigned int"""
8210 return _IMP_atom.AtomType_get_number_unique()
8212 get_number_unique = staticmethod(get_number_unique)
8215 """__str__(AtomType self) -> std::string"""
8216 return _IMP_atom.AtomType___str__(self)
8220 """__repr__(AtomType self) -> std::string"""
8221 return _IMP_atom.AtomType___repr__(self)
8223 __swig_destroy__ = _IMP_atom.delete_AtomType
8224 __del__ =
lambda self:
None
8225 AtomType_swigregister = _IMP_atom.AtomType_swigregister
8226 AtomType_swigregister(AtomType)
8228 def AtomType_add_key(sc):
8229 """AtomType_add_key(std::string sc) -> unsigned int"""
8230 return _IMP_atom.AtomType_add_key(sc)
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)
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)
8240 def AtomType_get_number_of_keys():
8241 """AtomType_get_number_of_keys() -> unsigned int"""
8242 return _IMP_atom.AtomType_get_number_of_keys()
8244 def AtomType_show_all(out):
8245 """AtomType_show_all(_ostream out)"""
8246 return _IMP_atom.AtomType_show_all(out)
8248 def AtomType_get_all_strings():
8249 """AtomType_get_all_strings() -> IMP::Vector< std::string >"""
8250 return _IMP_atom.AtomType_get_all_strings()
8252 def AtomType_get_number_unique():
8253 """AtomType_get_number_unique() -> unsigned int"""
8254 return _IMP_atom.AtomType_get_number_unique()
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')
8260 def __init__(self, *args):
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
8267 this = _IMP_atom.new_ResidueType(*args)
8269 self.this.append(this)
8274 """add_key(std::string sc) -> unsigned int"""
8275 return _IMP_atom.ResidueType_add_key(sc)
8277 add_key = staticmethod(add_key)
8279 def get_key_exists(sc):
8280 """get_key_exists(std::string sc) -> bool"""
8281 return _IMP_atom.ResidueType_get_key_exists(sc)
8283 get_key_exists = staticmethod(get_key_exists)
8285 def get_string(self):
8286 """get_string(ResidueType self) -> std::string const"""
8287 return _IMP_atom.ResidueType_get_string(self)
8290 def __cmp__(self, o):
8291 """__cmp__(ResidueType self, ResidueType o) -> int"""
8292 return _IMP_atom.ResidueType___cmp__(self, o)
8295 def __eq__(self, o):
8296 """__eq__(ResidueType self, ResidueType o) -> bool"""
8297 return _IMP_atom.ResidueType___eq__(self, o)
8300 def __ne__(self, o):
8301 """__ne__(ResidueType self, ResidueType o) -> bool"""
8302 return _IMP_atom.ResidueType___ne__(self, o)
8305 def __lt__(self, o):
8306 """__lt__(ResidueType self, ResidueType o) -> bool"""
8307 return _IMP_atom.ResidueType___lt__(self, o)
8310 def __gt__(self, o):
8311 """__gt__(ResidueType self, ResidueType o) -> bool"""
8312 return _IMP_atom.ResidueType___gt__(self, o)
8315 def __ge__(self, o):
8316 """__ge__(ResidueType self, ResidueType o) -> bool"""
8317 return _IMP_atom.ResidueType___ge__(self, o)
8320 def __le__(self, o):
8321 """__le__(ResidueType self, ResidueType o) -> bool"""
8322 return _IMP_atom.ResidueType___le__(self, o)
8326 """__hash__(ResidueType self) -> std::size_t"""
8327 return _IMP_atom.ResidueType___hash__(self)
8330 def show(self, *args):
8332 show(ResidueType self, _ostream out)
8333 show(ResidueType self)
8335 return _IMP_atom.ResidueType_show(self, *args)
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)
8342 add_alias = staticmethod(add_alias)
8344 def get_number_of_keys():
8345 """get_number_of_keys() -> unsigned int"""
8346 return _IMP_atom.ResidueType_get_number_of_keys()
8348 get_number_of_keys = staticmethod(get_number_of_keys)
8351 """get_index(ResidueType self) -> unsigned int"""
8352 return _IMP_atom.ResidueType_get_index(self)
8356 """show_all(_ostream out)"""
8357 return _IMP_atom.ResidueType_show_all(out)
8359 show_all = staticmethod(show_all)
8361 def get_all_strings():
8362 """get_all_strings() -> IMP::Vector< std::string >"""
8363 return _IMP_atom.ResidueType_get_all_strings()
8365 get_all_strings = staticmethod(get_all_strings)
8367 def get_number_unique():
8368 """get_number_unique() -> unsigned int"""
8369 return _IMP_atom.ResidueType_get_number_unique()
8371 get_number_unique = staticmethod(get_number_unique)
8374 """__str__(ResidueType self) -> std::string"""
8375 return _IMP_atom.ResidueType___str__(self)
8379 """__repr__(ResidueType self) -> std::string"""
8380 return _IMP_atom.ResidueType___repr__(self)
8382 __swig_destroy__ = _IMP_atom.delete_ResidueType
8383 __del__ =
lambda self:
None
8384 ResidueType_swigregister = _IMP_atom.ResidueType_swigregister
8385 ResidueType_swigregister(ResidueType)
8387 def ResidueType_add_key(sc):
8388 """ResidueType_add_key(std::string sc) -> unsigned int"""
8389 return _IMP_atom.ResidueType_add_key(sc)
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)
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)
8399 def ResidueType_get_number_of_keys():
8400 """ResidueType_get_number_of_keys() -> unsigned int"""
8401 return _IMP_atom.ResidueType_get_number_of_keys()
8403 def ResidueType_show_all(out):
8404 """ResidueType_show_all(_ostream out)"""
8405 return _IMP_atom.ResidueType_show_all(out)
8407 def ResidueType_get_all_strings():
8408 """ResidueType_get_all_strings() -> IMP::Vector< std::string >"""
8409 return _IMP_atom.ResidueType_get_all_strings()
8411 def ResidueType_get_number_unique():
8412 """ResidueType_get_number_unique() -> unsigned int"""
8413 return _IMP_atom.ResidueType_get_number_unique()
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')
8419 def __init__(self, *args):
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
8426 this = _IMP_atom.new_ChainType(*args)
8428 self.this.append(this)
8433 """add_key(std::string sc) -> unsigned int"""
8434 return _IMP_atom.ChainType_add_key(sc)
8436 add_key = staticmethod(add_key)
8438 def get_key_exists(sc):
8439 """get_key_exists(std::string sc) -> bool"""
8440 return _IMP_atom.ChainType_get_key_exists(sc)
8442 get_key_exists = staticmethod(get_key_exists)
8444 def get_string(self):
8445 """get_string(ChainType self) -> std::string const"""
8446 return _IMP_atom.ChainType_get_string(self)
8449 def __cmp__(self, o):
8450 """__cmp__(ChainType self, ChainType o) -> int"""
8451 return _IMP_atom.ChainType___cmp__(self, o)
8454 def __eq__(self, o):
8455 """__eq__(ChainType self, ChainType o) -> bool"""
8456 return _IMP_atom.ChainType___eq__(self, o)
8459 def __ne__(self, o):
8460 """__ne__(ChainType self, ChainType o) -> bool"""
8461 return _IMP_atom.ChainType___ne__(self, o)
8464 def __lt__(self, o):
8465 """__lt__(ChainType self, ChainType o) -> bool"""
8466 return _IMP_atom.ChainType___lt__(self, o)
8469 def __gt__(self, o):
8470 """__gt__(ChainType self, ChainType o) -> bool"""
8471 return _IMP_atom.ChainType___gt__(self, o)
8474 def __ge__(self, o):
8475 """__ge__(ChainType self, ChainType o) -> bool"""
8476 return _IMP_atom.ChainType___ge__(self, o)
8479 def __le__(self, o):
8480 """__le__(ChainType self, ChainType o) -> bool"""
8481 return _IMP_atom.ChainType___le__(self, o)
8485 """__hash__(ChainType self) -> std::size_t"""
8486 return _IMP_atom.ChainType___hash__(self)
8489 def show(self, *args):
8491 show(ChainType self, _ostream out)
8492 show(ChainType self)
8494 return _IMP_atom.ChainType_show(self, *args)
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)
8501 add_alias = staticmethod(add_alias)
8503 def get_number_of_keys():
8504 """get_number_of_keys() -> unsigned int"""
8505 return _IMP_atom.ChainType_get_number_of_keys()
8507 get_number_of_keys = staticmethod(get_number_of_keys)
8510 """get_index(ChainType self) -> unsigned int"""
8511 return _IMP_atom.ChainType_get_index(self)
8515 """show_all(_ostream out)"""
8516 return _IMP_atom.ChainType_show_all(out)
8518 show_all = staticmethod(show_all)
8520 def get_all_strings():
8521 """get_all_strings() -> IMP::Vector< std::string >"""
8522 return _IMP_atom.ChainType_get_all_strings()
8524 get_all_strings = staticmethod(get_all_strings)
8526 def get_number_unique():
8527 """get_number_unique() -> unsigned int"""
8528 return _IMP_atom.ChainType_get_number_unique()
8530 get_number_unique = staticmethod(get_number_unique)
8533 """__str__(ChainType self) -> std::string"""
8534 return _IMP_atom.ChainType___str__(self)
8538 """__repr__(ChainType self) -> std::string"""
8539 return _IMP_atom.ChainType___repr__(self)
8541 __swig_destroy__ = _IMP_atom.delete_ChainType
8542 __del__ =
lambda self:
None
8543 ChainType_swigregister = _IMP_atom.ChainType_swigregister
8544 ChainType_swigregister(ChainType)
8546 def ChainType_add_key(sc):
8547 """ChainType_add_key(std::string sc) -> unsigned int"""
8548 return _IMP_atom.ChainType_add_key(sc)
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)
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)
8558 def ChainType_get_number_of_keys():
8559 """ChainType_get_number_of_keys() -> unsigned int"""
8560 return _IMP_atom.ChainType_get_number_of_keys()
8562 def ChainType_show_all(out):
8563 """ChainType_show_all(_ostream out)"""
8564 return _IMP_atom.ChainType_show_all(out)
8566 def ChainType_get_all_strings():
8567 """ChainType_get_all_strings() -> IMP::Vector< std::string >"""
8568 return _IMP_atom.ChainType_get_all_strings()
8570 def ChainType_get_number_unique():
8571 """ChainType_get_number_unique() -> unsigned int"""
8572 return _IMP_atom.ChainType_get_number_unique()
8575 _IMP_atom.UNKNOWN_ELEMENT_swigconstant(_IMP_atom)
8576 UNKNOWN_ELEMENT = _IMP_atom.UNKNOWN_ELEMENT
8578 _IMP_atom.OH_swigconstant(_IMP_atom)
8581 _IMP_atom.H2O_swigconstant(_IMP_atom)
8584 _IMP_atom.H_swigconstant(_IMP_atom)
8587 _IMP_atom.He_swigconstant(_IMP_atom)
8590 _IMP_atom.Li_swigconstant(_IMP_atom)
8593 _IMP_atom.Be_swigconstant(_IMP_atom)
8596 _IMP_atom.B_swigconstant(_IMP_atom)
8599 _IMP_atom.C_swigconstant(_IMP_atom)
8602 _IMP_atom.N_swigconstant(_IMP_atom)
8605 _IMP_atom.O_swigconstant(_IMP_atom)
8608 _IMP_atom.F_swigconstant(_IMP_atom)
8611 _IMP_atom.Ne_swigconstant(_IMP_atom)
8614 _IMP_atom.Na_swigconstant(_IMP_atom)
8617 _IMP_atom.Mg_swigconstant(_IMP_atom)
8620 _IMP_atom.Al_swigconstant(_IMP_atom)
8623 _IMP_atom.Si_swigconstant(_IMP_atom)
8626 _IMP_atom.P_swigconstant(_IMP_atom)
8629 _IMP_atom.S_swigconstant(_IMP_atom)
8632 _IMP_atom.Cl_swigconstant(_IMP_atom)
8635 _IMP_atom.Ar_swigconstant(_IMP_atom)
8638 _IMP_atom.K_swigconstant(_IMP_atom)
8641 _IMP_atom.Ca_swigconstant(_IMP_atom)
8644 _IMP_atom.Sc_swigconstant(_IMP_atom)
8647 _IMP_atom.Ti_swigconstant(_IMP_atom)
8650 _IMP_atom.V_swigconstant(_IMP_atom)
8653 _IMP_atom.Cr_swigconstant(_IMP_atom)
8656 _IMP_atom.Mn_swigconstant(_IMP_atom)
8659 _IMP_atom.Fe_swigconstant(_IMP_atom)
8662 _IMP_atom.Co_swigconstant(_IMP_atom)
8665 _IMP_atom.Ni_swigconstant(_IMP_atom)
8668 _IMP_atom.Cu_swigconstant(_IMP_atom)
8671 _IMP_atom.Zn_swigconstant(_IMP_atom)
8674 _IMP_atom.Ga_swigconstant(_IMP_atom)
8677 _IMP_atom.Ge_swigconstant(_IMP_atom)
8680 _IMP_atom.As_swigconstant(_IMP_atom)
8683 _IMP_atom.Se_swigconstant(_IMP_atom)
8686 _IMP_atom.Br_swigconstant(_IMP_atom)
8689 _IMP_atom.Kr_swigconstant(_IMP_atom)
8692 _IMP_atom.Rb_swigconstant(_IMP_atom)
8695 _IMP_atom.Sr_swigconstant(_IMP_atom)
8698 _IMP_atom.Y_swigconstant(_IMP_atom)
8701 _IMP_atom.Zr_swigconstant(_IMP_atom)
8704 _IMP_atom.Nb_swigconstant(_IMP_atom)
8707 _IMP_atom.Mo_swigconstant(_IMP_atom)
8710 _IMP_atom.Tc_swigconstant(_IMP_atom)
8713 _IMP_atom.Ru_swigconstant(_IMP_atom)
8716 _IMP_atom.Rh_swigconstant(_IMP_atom)
8719 _IMP_atom.Pd_swigconstant(_IMP_atom)
8722 _IMP_atom.Ag_swigconstant(_IMP_atom)
8725 _IMP_atom.Cd_swigconstant(_IMP_atom)
8728 _IMP_atom.In_swigconstant(_IMP_atom)
8731 _IMP_atom.Sn_swigconstant(_IMP_atom)
8734 _IMP_atom.Sb_swigconstant(_IMP_atom)
8737 _IMP_atom.Te_swigconstant(_IMP_atom)
8740 _IMP_atom.I_swigconstant(_IMP_atom)
8743 _IMP_atom.Xe_swigconstant(_IMP_atom)
8746 _IMP_atom.Cs_swigconstant(_IMP_atom)
8749 _IMP_atom.Ba_swigconstant(_IMP_atom)
8752 _IMP_atom.La_swigconstant(_IMP_atom)
8755 _IMP_atom.Ce_swigconstant(_IMP_atom)
8758 _IMP_atom.Pr_swigconstant(_IMP_atom)
8761 _IMP_atom.Nd_swigconstant(_IMP_atom)
8764 _IMP_atom.Pm_swigconstant(_IMP_atom)
8767 _IMP_atom.Sm_swigconstant(_IMP_atom)
8770 _IMP_atom.Eu_swigconstant(_IMP_atom)
8773 _IMP_atom.Gd_swigconstant(_IMP_atom)
8776 _IMP_atom.Tb_swigconstant(_IMP_atom)
8779 _IMP_atom.Dy_swigconstant(_IMP_atom)
8782 _IMP_atom.Ho_swigconstant(_IMP_atom)
8785 _IMP_atom.Er_swigconstant(_IMP_atom)
8788 _IMP_atom.Tm_swigconstant(_IMP_atom)
8791 _IMP_atom.Yb_swigconstant(_IMP_atom)
8794 _IMP_atom.Lu_swigconstant(_IMP_atom)
8797 _IMP_atom.Hf_swigconstant(_IMP_atom)
8800 _IMP_atom.Ta_swigconstant(_IMP_atom)
8803 _IMP_atom.W_swigconstant(_IMP_atom)
8806 _IMP_atom.Re_swigconstant(_IMP_atom)
8809 _IMP_atom.Os_swigconstant(_IMP_atom)
8812 _IMP_atom.Ir_swigconstant(_IMP_atom)
8815 _IMP_atom.Pt_swigconstant(_IMP_atom)
8818 _IMP_atom.Au_swigconstant(_IMP_atom)
8821 _IMP_atom.Hg_swigconstant(_IMP_atom)
8824 _IMP_atom.Tl_swigconstant(_IMP_atom)
8827 _IMP_atom.Pb_swigconstant(_IMP_atom)
8830 _IMP_atom.Bi_swigconstant(_IMP_atom)
8833 _IMP_atom.Po_swigconstant(_IMP_atom)
8836 _IMP_atom.At_swigconstant(_IMP_atom)
8839 _IMP_atom.Rn_swigconstant(_IMP_atom)
8842 _IMP_atom.Fr_swigconstant(_IMP_atom)
8845 _IMP_atom.Ra_swigconstant(_IMP_atom)
8848 _IMP_atom.Ac_swigconstant(_IMP_atom)
8851 _IMP_atom.Th_swigconstant(_IMP_atom)
8854 _IMP_atom.Pa_swigconstant(_IMP_atom)
8857 _IMP_atom.U_swigconstant(_IMP_atom)
8860 _IMP_atom.Np_swigconstant(_IMP_atom)
8863 _IMP_atom.Pu_swigconstant(_IMP_atom)
8866 _IMP_atom.Am_swigconstant(_IMP_atom)
8869 _IMP_atom.Cm_swigconstant(_IMP_atom)
8872 _IMP_atom.Bk_swigconstant(_IMP_atom)
8875 _IMP_atom.Cf_swigconstant(_IMP_atom)
8878 _IMP_atom.Es_swigconstant(_IMP_atom)
8881 _IMP_atom.Fm_swigconstant(_IMP_atom)
8884 _IMP_atom.Md_swigconstant(_IMP_atom)
8887 _IMP_atom.No_swigconstant(_IMP_atom)
8890 _IMP_atom.Lr_swigconstant(_IMP_atom)
8893 _IMP_atom.Db_swigconstant(_IMP_atom)
8896 _IMP_atom.Jl_swigconstant(_IMP_atom)
8899 _IMP_atom.Rf_swigconstant(_IMP_atom)
8902 _IMP_atom.NUMBER_OF_ELEMENTS_swigconstant(_IMP_atom)
8903 NUMBER_OF_ELEMENTS = _IMP_atom.NUMBER_OF_ELEMENTS
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
8914 """__init__(IMP::atom::ElementTable self) -> ElementTable"""
8915 this = _IMP_atom.new_ElementTable()
8917 self.this.append(this)
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)
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)
8932 """get_mass(ElementTable self, IMP::atom::Element e) -> IMP::Float"""
8933 return _IMP_atom.ElementTable_get_mass(self, e)
8935 __swig_destroy__ = _IMP_atom.delete_ElementTable
8936 __del__ =
lambda self:
None
8937 ElementTable_swigregister = _IMP_atom.ElementTable_swigregister
8938 ElementTable_swigregister(ElementTable)
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')
8948 def __init__(self, *args):
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
8954 this = _IMP_atom.new_Atom(*args)
8956 self.this.append(this)
8960 def show(self, *args):
8962 show(Atom self, _ostream out)
8965 return _IMP_atom.Atom_show(self, *args)
8968 def setup_particle(*args):
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
8975 return _IMP_atom.Atom_setup_particle(*args)
8977 setup_particle = staticmethod(setup_particle)
8979 def get_is_setup(*args):
8981 get_is_setup(_ParticleAdaptor p) -> bool
8982 get_is_setup(Model m, ParticleIndex pi) -> bool
8984 return _IMP_atom.Atom_get_is_setup(*args)
8986 get_is_setup = staticmethod(get_is_setup)
8988 def get_atom_type(self):
8989 """get_atom_type(Atom self) -> AtomType"""
8990 return _IMP_atom.Atom_get_atom_type(self)
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)
8998 def get_element(self):
8999 """get_element(Atom self) -> IMP::atom::Element"""
9000 return _IMP_atom.Atom_get_element(self)
9003 def set_element(self, e):
9004 """set_element(Atom self, IMP::atom::Element e)"""
9005 return _IMP_atom.Atom_set_element(self, e)
9008 def get_occupancy(self):
9009 """get_occupancy(Atom self) -> double"""
9010 return _IMP_atom.Atom_get_occupancy(self)
9013 def set_occupancy(self, occupancy):
9014 """set_occupancy(Atom self, double occupancy)"""
9015 return _IMP_atom.Atom_set_occupancy(self, occupancy)
9018 def get_temperature_factor(self):
9019 """get_temperature_factor(Atom self) -> double"""
9020 return _IMP_atom.Atom_get_temperature_factor(self)
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)
9028 def get_input_index(self):
9029 """get_input_index(Atom self) -> IMP::Int"""
9030 return _IMP_atom.Atom_get_input_index(self)
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)
9038 def get_atom_type_key():
9039 """get_atom_type_key() -> IntKey"""
9040 return _IMP_atom.Atom_get_atom_type_key()
9042 get_atom_type_key = staticmethod(get_atom_type_key)
9044 def get_element_key():
9045 """get_element_key() -> IntKey"""
9046 return _IMP_atom.Atom_get_element_key()
9048 get_element_key = staticmethod(get_element_key)
9050 def get_input_index_key():
9051 """get_input_index_key() -> IntKey"""
9052 return _IMP_atom.Atom_get_input_index_key()
9054 get_input_index_key = staticmethod(get_input_index_key)
9056 def get_occupancy_key():
9057 """get_occupancy_key() -> FloatKey"""
9058 return _IMP_atom.Atom_get_occupancy_key()
9060 get_occupancy_key = staticmethod(get_occupancy_key)
9062 def get_temperature_factor_key():
9063 """get_temperature_factor_key() -> FloatKey"""
9064 return _IMP_atom.Atom_get_temperature_factor_key()
9066 get_temperature_factor_key = staticmethod(get_temperature_factor_key)
9068 def add_attribute(self, *args):
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)
9079 return _IMP_atom.Atom_add_attribute(self, *args)
9082 def get_value(self, *args):
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
9092 return _IMP_atom.Atom_get_value(self, *args)
9095 def set_value(self, *args):
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)
9105 return _IMP_atom.Atom_set_value(self, *args)
9108 def remove_attribute(self, *args):
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)
9118 return _IMP_atom.Atom_remove_attribute(self, *args)
9121 def has_attribute(self, *args):
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
9131 return _IMP_atom.Atom_has_attribute(self, *args)
9134 def get_derivative(self, a0):
9135 """get_derivative(Atom self, FloatKey a0) -> double"""
9136 return _IMP_atom.Atom_get_derivative(self, a0)
9140 """get_name(Atom self) -> std::string"""
9141 return _IMP_atom.Atom_get_name(self)
9144 def clear_caches(self):
9145 """clear_caches(Atom self)"""
9146 return _IMP_atom.Atom_clear_caches(self)
9149 def set_name(self, a0):
9150 """set_name(Atom self, std::string a0)"""
9151 return _IMP_atom.Atom_set_name(self, a0)
9155 """set_check_level(Atom self, IMP::CheckLevel a0)"""
9156 return _IMP_atom.Atom_set_check_level(self, a0)
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)
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)
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)
9175 """get_check_level(Atom self) -> IMP::CheckLevel"""
9176 return _IMP_atom.Atom_get_check_level(self)
9179 def __eq__(self, *args):
9181 __eq__(Atom self, Atom o) -> bool
9182 __eq__(Atom self, Particle d) -> bool
9184 return _IMP_atom.Atom___eq__(self, *args)
9187 def __ne__(self, *args):
9189 __ne__(Atom self, Atom o) -> bool
9190 __ne__(Atom self, Particle d) -> bool
9192 return _IMP_atom.Atom___ne__(self, *args)
9195 def __le__(self, *args):
9197 __le__(Atom self, Atom o) -> bool
9198 __le__(Atom self, Particle d) -> bool
9200 return _IMP_atom.Atom___le__(self, *args)
9203 def __lt__(self, *args):
9205 __lt__(Atom self, Atom o) -> bool
9206 __lt__(Atom self, Particle d) -> bool
9208 return _IMP_atom.Atom___lt__(self, *args)
9211 def __ge__(self, *args):
9213 __ge__(Atom self, Atom o) -> bool
9214 __ge__(Atom self, Particle d) -> bool
9216 return _IMP_atom.Atom___ge__(self, *args)
9219 def __gt__(self, *args):
9221 __gt__(Atom self, Atom o) -> bool
9222 __gt__(Atom self, Particle d) -> bool
9224 return _IMP_atom.Atom___gt__(self, *args)
9228 """__hash__(Atom self) -> std::size_t"""
9229 return _IMP_atom.Atom___hash__(self)
9233 """__str__(Atom self) -> std::string"""
9234 return _IMP_atom.Atom___str__(self)
9238 """__repr__(Atom self) -> std::string"""
9239 return _IMP_atom.Atom___repr__(self)
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
9255 AT_HA1 = cvar.AT_HA1
9256 AT_HA2 = cvar.AT_HA2
9257 AT_HA3 = cvar.AT_HA3
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
9267 AT_CG1 = cvar.AT_CG1
9268 AT_CG2 = cvar.AT_CG2
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
9282 AT_OG1 = cvar.AT_OG1
9285 AT_CD1 = cvar.AT_CD1
9286 AT_CD2 = cvar.AT_CD2
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
9300 AT_OD1 = cvar.AT_OD1
9301 AT_OD2 = cvar.AT_OD2
9302 AT_ND1 = cvar.AT_ND1
9303 AT_ND2 = cvar.AT_ND2
9305 AT_CE1 = cvar.AT_CE1
9306 AT_CE2 = cvar.AT_CE2
9307 AT_CE3 = cvar.AT_CE3
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
9317 AT_NE1 = cvar.AT_NE1
9318 AT_NE2 = cvar.AT_NE2
9320 AT_CZ2 = cvar.AT_CZ2
9321 AT_CZ3 = cvar.AT_CZ3
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
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
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
9372 AT_H61 = cvar.AT_H61
9373 AT_H62 = cvar.AT_H62
9377 AT_H21 = cvar.AT_H21
9378 AT_H22 = cvar.AT_H22
9383 AT_H41 = cvar.AT_H41
9384 AT_H42 = cvar.AT_H42
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
9397 def Atom_setup_particle(*args):
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
9404 return _IMP_atom.Atom_setup_particle(*args)
9406 def Atom_get_is_setup(*args):
9408 get_is_setup(_ParticleAdaptor p) -> bool
9409 Atom_get_is_setup(Model m, ParticleIndex pi) -> bool
9411 return _IMP_atom.Atom_get_is_setup(*args)
9413 def Atom_get_atom_type_key():
9414 """Atom_get_atom_type_key() -> IntKey"""
9415 return _IMP_atom.Atom_get_atom_type_key()
9417 def Atom_get_element_key():
9418 """Atom_get_element_key() -> IntKey"""
9419 return _IMP_atom.Atom_get_element_key()
9421 def Atom_get_input_index_key():
9422 """Atom_get_input_index_key() -> IntKey"""
9423 return _IMP_atom.Atom_get_input_index_key()
9425 def Atom_get_occupancy_key():
9426 """Atom_get_occupancy_key() -> FloatKey"""
9427 return _IMP_atom.Atom_get_occupancy_key()
9429 def Atom_get_temperature_factor_key():
9430 """Atom_get_temperature_factor_key() -> FloatKey"""
9431 return _IMP_atom.Atom_get_temperature_factor_key()
9436 get_residue(Hierarchy mhd, unsigned int index) -> Hierarchy
9437 get_residue(Atom d, bool nothrow=False) -> Residue
9438 get_residue(Atom d) -> Residue
9440 return _IMP_atom.get_residue(*args)
9443 """get_atom(Residue rd, AtomType at) -> Atom"""
9444 return _IMP_atom.get_atom(rd, at)
9447 """add_atom_type(std::string name, IMP::atom::Element e) -> AtomType"""
9448 return _IMP_atom.add_atom_type(name, e)
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)
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')
9461 def __init__(self, *args):
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
9467 this = _IMP_atom.new_Residue(*args)
9469 self.this.append(this)
9473 def show(self, *args):
9475 show(Residue self, _ostream out)
9478 return _IMP_atom.Residue_show(self, *args)
9481 def setup_particle(*args):
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
9492 return _IMP_atom.Residue_setup_particle(*args)
9494 setup_particle = staticmethod(setup_particle)
9496 def get_is_setup(*args):
9498 get_is_setup(_ParticleAdaptor p) -> bool
9499 get_is_setup(Model m, ParticleIndex pi) -> bool
9501 return _IMP_atom.Residue_get_is_setup(*args)
9503 get_is_setup = staticmethod(get_is_setup)
9505 def get_residue_type(self):
9506 """get_residue_type(Residue self) -> ResidueType"""
9507 return _IMP_atom.Residue_get_residue_type(self)
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)
9515 def get_is_protein(self):
9516 """get_is_protein(Residue self) -> bool"""
9517 return _IMP_atom.Residue_get_is_protein(self)
9520 def get_is_dna(self):
9521 """get_is_dna(Residue self) -> bool"""
9522 return _IMP_atom.Residue_get_is_dna(self)
9525 def get_is_rna(self):
9526 """get_is_rna(Residue self) -> bool"""
9527 return _IMP_atom.Residue_get_is_rna(self)
9531 """get_index(Residue self) -> IMP::Int"""
9532 return _IMP_atom.Residue_get_index(self)
9535 def set_index(self, t):
9536 """set_index(Residue self, IMP::Int t)"""
9537 return _IMP_atom.Residue_set_index(self, t)
9540 def get_insertion_code(self):
9541 """get_insertion_code(Residue self) -> char"""
9542 return _IMP_atom.Residue_get_insertion_code(self)
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)
9550 def get_index_key():
9551 """get_index_key() -> IntKey"""
9552 return _IMP_atom.Residue_get_index_key()
9554 get_index_key = staticmethod(get_index_key)
9556 def get_residue_type_key():
9557 """get_residue_type_key() -> IntKey"""
9558 return _IMP_atom.Residue_get_residue_type_key()
9560 get_residue_type_key = staticmethod(get_residue_type_key)
9562 def get_insertion_code_key():
9563 """get_insertion_code_key() -> IntKey"""
9564 return _IMP_atom.Residue_get_insertion_code_key()
9566 get_insertion_code_key = staticmethod(get_insertion_code_key)
9568 def get_type_changed_key():
9569 """get_type_changed_key() -> TriggerKey"""
9570 return _IMP_atom.Residue_get_type_changed_key()
9572 get_type_changed_key = staticmethod(get_type_changed_key)
9574 def add_attribute(self, *args):
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)
9585 return _IMP_atom.Residue_add_attribute(self, *args)
9588 def get_value(self, *args):
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
9598 return _IMP_atom.Residue_get_value(self, *args)
9601 def set_value(self, *args):
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)
9611 return _IMP_atom.Residue_set_value(self, *args)
9614 def remove_attribute(self, *args):
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)
9624 return _IMP_atom.Residue_remove_attribute(self, *args)
9627 def has_attribute(self, *args):
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
9637 return _IMP_atom.Residue_has_attribute(self, *args)
9640 def get_derivative(self, a0):
9641 """get_derivative(Residue self, FloatKey a0) -> double"""
9642 return _IMP_atom.Residue_get_derivative(self, a0)
9646 """get_name(Residue self) -> std::string"""
9647 return _IMP_atom.Residue_get_name(self)
9650 def clear_caches(self):
9651 """clear_caches(Residue self)"""
9652 return _IMP_atom.Residue_clear_caches(self)
9655 def set_name(self, a0):
9656 """set_name(Residue self, std::string a0)"""
9657 return _IMP_atom.Residue_set_name(self, a0)
9661 """set_check_level(Residue self, IMP::CheckLevel a0)"""
9662 return _IMP_atom.Residue_set_check_level(self, a0)
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)
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)
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)
9681 """get_check_level(Residue self) -> IMP::CheckLevel"""
9682 return _IMP_atom.Residue_get_check_level(self)
9685 def __eq__(self, *args):
9687 __eq__(Residue self, Residue o) -> bool
9688 __eq__(Residue self, Particle d) -> bool
9690 return _IMP_atom.Residue___eq__(self, *args)
9693 def __ne__(self, *args):
9695 __ne__(Residue self, Residue o) -> bool
9696 __ne__(Residue self, Particle d) -> bool
9698 return _IMP_atom.Residue___ne__(self, *args)
9701 def __le__(self, *args):
9703 __le__(Residue self, Residue o) -> bool
9704 __le__(Residue self, Particle d) -> bool
9706 return _IMP_atom.Residue___le__(self, *args)
9709 def __lt__(self, *args):
9711 __lt__(Residue self, Residue o) -> bool
9712 __lt__(Residue self, Particle d) -> bool
9714 return _IMP_atom.Residue___lt__(self, *args)
9717 def __ge__(self, *args):
9719 __ge__(Residue self, Residue o) -> bool
9720 __ge__(Residue self, Particle d) -> bool
9722 return _IMP_atom.Residue___ge__(self, *args)
9725 def __gt__(self, *args):
9727 __gt__(Residue self, Residue o) -> bool
9728 __gt__(Residue self, Particle d) -> bool
9730 return _IMP_atom.Residue___gt__(self, *args)
9734 """__hash__(Residue self) -> std::size_t"""
9735 return _IMP_atom.Residue___hash__(self)
9739 """__str__(Residue self) -> std::string"""
9740 return _IMP_atom.Residue___str__(self)
9744 """__repr__(Residue self) -> std::string"""
9745 return _IMP_atom.Residue___repr__(self)
9747 __swig_destroy__ = _IMP_atom.delete_Residue
9748 __del__ =
lambda self:
None
9749 Residue_swigregister = _IMP_atom.Residue_swigregister
9750 Residue_swigregister(Residue)
9789 def Residue_setup_particle(*args):
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
9800 return _IMP_atom.Residue_setup_particle(*args)
9802 def Residue_get_is_setup(*args):
9804 get_is_setup(_ParticleAdaptor p) -> bool
9805 Residue_get_is_setup(Model m, ParticleIndex pi) -> bool
9807 return _IMP_atom.Residue_get_is_setup(*args)
9809 def Residue_get_index_key():
9810 """Residue_get_index_key() -> IntKey"""
9811 return _IMP_atom.Residue_get_index_key()
9813 def Residue_get_residue_type_key():
9814 """Residue_get_residue_type_key() -> IntKey"""
9815 return _IMP_atom.Residue_get_residue_type_key()
9817 def Residue_get_insertion_code_key():
9818 """Residue_get_insertion_code_key() -> IntKey"""
9819 return _IMP_atom.Residue_get_insertion_code_key()
9821 def Residue_get_type_changed_key():
9822 """Residue_get_type_changed_key() -> TriggerKey"""
9823 return _IMP_atom.Residue_get_type_changed_key()
9827 """get_next_residue(Residue rd) -> Hierarchy"""
9828 return _IMP_atom.get_next_residue(rd)
9831 """get_previous_residue(Residue rd) -> Hierarchy"""
9832 return _IMP_atom.get_previous_residue(rd)
9835 """get_one_letter_code(ResidueType c) -> char"""
9836 return _IMP_atom.get_one_letter_code(c)
9838 _IMP_atom.BALLS_swigconstant(_IMP_atom)
9839 BALLS = _IMP_atom.BALLS
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')
9847 def setup_particle(*args):
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
9856 return _IMP_atom.Representation_setup_particle(*args)
9858 setup_particle = staticmethod(setup_particle)
9860 def __init__(self, *args):
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
9866 this = _IMP_atom.new_Representation(*args)
9868 self.this.append(this)
9872 def show(self, *args):
9874 show(Representation self, _ostream out)
9875 show(Representation self)
9877 return _IMP_atom.Representation_show(self, *args)
9880 def get_is_setup(*args):
9882 get_is_setup(_ParticleAdaptor p) -> bool
9883 get_is_setup(Model m, ParticleIndex pi) -> bool
9885 return _IMP_atom.Representation_get_is_setup(*args)
9887 get_is_setup = staticmethod(get_is_setup)
9891 get_representation(Representation self, double resolution, IMP::atom::RepresentationType type) -> Hierarchy
9892 get_representation(Representation self, double resolution) -> Hierarchy
9894 return _IMP_atom.Representation_get_representation(self, *args)
9897 def get_representations(self, *args):
9899 get_representations(Representation self, IMP::atom::RepresentationType type) -> IMP::atom::Hierarchies
9900 get_representations(Representation self) -> IMP::atom::Hierarchies
9902 return _IMP_atom.Representation_get_representations(self, *args)
9905 def add_representation(self, *args):
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)
9911 return _IMP_atom.Representation_add_representation(self, *args)
9914 def get_resolutions(self, *args):
9916 get_resolutions(Representation self, IMP::atom::RepresentationType type) -> IMP::Floats
9917 get_resolutions(Representation self) -> IMP::Floats
9919 return _IMP_atom.Representation_get_resolutions(self, *args)
9922 def remove_representation(self, rep):
9923 """remove_representation(Representation self, _ParticleIndexAdaptor rep)"""
9924 return _IMP_atom.Representation_remove_representation(self, rep)
9927 def update_parents(self):
9928 """update_parents(Representation self)"""
9929 return _IMP_atom.Representation_update_parents(self)
9932 def add_attribute(self, *args):
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)
9943 return _IMP_atom.Representation_add_attribute(self, *args)
9946 def get_value(self, *args):
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
9956 return _IMP_atom.Representation_get_value(self, *args)
9959 def set_value(self, *args):
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)
9969 return _IMP_atom.Representation_set_value(self, *args)
9972 def remove_attribute(self, *args):
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)
9982 return _IMP_atom.Representation_remove_attribute(self, *args)
9985 def has_attribute(self, *args):
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
9995 return _IMP_atom.Representation_has_attribute(self, *args)
9998 def get_derivative(self, a0):
9999 """get_derivative(Representation self, FloatKey a0) -> double"""
10000 return _IMP_atom.Representation_get_derivative(self, a0)
10003 def get_name(self):
10004 """get_name(Representation self) -> std::string"""
10005 return _IMP_atom.Representation_get_name(self)
10008 def clear_caches(self):
10009 """clear_caches(Representation self)"""
10010 return _IMP_atom.Representation_clear_caches(self)
10013 def set_name(self, a0):
10014 """set_name(Representation self, std::string a0)"""
10015 return _IMP_atom.Representation_set_name(self, a0)
10019 """set_check_level(Representation self, IMP::CheckLevel a0)"""
10020 return _IMP_atom.Representation_set_check_level(self, a0)
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)
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)
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)
10039 """get_check_level(Representation self) -> IMP::CheckLevel"""
10040 return _IMP_atom.Representation_get_check_level(self)
10043 def __eq__(self, *args):
10045 __eq__(Representation self, Representation o) -> bool
10046 __eq__(Representation self, Particle d) -> bool
10048 return _IMP_atom.Representation___eq__(self, *args)
10051 def __ne__(self, *args):
10053 __ne__(Representation self, Representation o) -> bool
10054 __ne__(Representation self, Particle d) -> bool
10056 return _IMP_atom.Representation___ne__(self, *args)
10059 def __le__(self, *args):
10061 __le__(Representation self, Representation o) -> bool
10062 __le__(Representation self, Particle d) -> bool
10064 return _IMP_atom.Representation___le__(self, *args)
10067 def __lt__(self, *args):
10069 __lt__(Representation self, Representation o) -> bool
10070 __lt__(Representation self, Particle d) -> bool
10072 return _IMP_atom.Representation___lt__(self, *args)
10075 def __ge__(self, *args):
10077 __ge__(Representation self, Representation o) -> bool
10078 __ge__(Representation self, Particle d) -> bool
10080 return _IMP_atom.Representation___ge__(self, *args)
10083 def __gt__(self, *args):
10085 __gt__(Representation self, Representation o) -> bool
10086 __gt__(Representation self, Particle d) -> bool
10088 return _IMP_atom.Representation___gt__(self, *args)
10091 def __hash__(self):
10092 """__hash__(Representation self) -> std::size_t"""
10093 return _IMP_atom.Representation___hash__(self)
10097 """__str__(Representation self) -> std::string"""
10098 return _IMP_atom.Representation___str__(self)
10101 def __repr__(self):
10102 """__repr__(Representation self) -> std::string"""
10103 return _IMP_atom.Representation___repr__(self)
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
10111 def Representation_setup_particle(*args):
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
10120 return _IMP_atom.Representation_setup_particle(*args)
10122 def Representation_get_is_setup(*args):
10124 get_is_setup(_ParticleAdaptor p) -> bool
10125 Representation_get_is_setup(Model m, ParticleIndex pi) -> bool
10127 return _IMP_atom.Representation_get_is_setup(*args)
10132 get_resolution(Model m, ParticleIndex pi) -> double
10133 get_resolution(Hierarchy h) -> double
10135 return _IMP_atom.get_resolution(*args)
10139 get_representation(Hierarchy h, bool nothrow=False) -> Representation
10140 get_representation(Hierarchy h) -> Representation
10142 return _IMP_atom.get_representation(h, nothrow)
10146 show_with_representations(Hierarchy h, _ostream out)
10147 show_with_representations(Hierarchy h)
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')
10154 def setup_particle(*args):
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
10161 return _IMP_atom.State_setup_particle(*args)
10163 setup_particle = staticmethod(setup_particle)
10165 def __init__(self, *args):
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
10171 this = _IMP_atom.new_State(*args)
10173 self.this.append(this)
10177 def show(self, *args):
10179 show(State self, _ostream out)
10182 return _IMP_atom.State_show(self, *args)
10185 def get_is_setup(*args):
10187 get_is_setup(_ParticleAdaptor p) -> bool
10188 get_is_setup(Model m, ParticleIndex pi) -> bool
10190 return _IMP_atom.State_get_is_setup(*args)
10192 get_is_setup = staticmethod(get_is_setup)
10195 """get_state_index(State self) -> unsigned int"""
10196 return _IMP_atom.State_get_state_index(self)
10199 def add_attribute(self, *args):
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)
10210 return _IMP_atom.State_add_attribute(self, *args)
10213 def get_value(self, *args):
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
10223 return _IMP_atom.State_get_value(self, *args)
10226 def set_value(self, *args):
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)
10236 return _IMP_atom.State_set_value(self, *args)
10239 def remove_attribute(self, *args):
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)
10249 return _IMP_atom.State_remove_attribute(self, *args)
10252 def has_attribute(self, *args):
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
10262 return _IMP_atom.State_has_attribute(self, *args)
10265 def get_derivative(self, a0):
10266 """get_derivative(State self, FloatKey a0) -> double"""
10267 return _IMP_atom.State_get_derivative(self, a0)
10270 def get_name(self):
10271 """get_name(State self) -> std::string"""
10272 return _IMP_atom.State_get_name(self)
10275 def clear_caches(self):
10276 """clear_caches(State self)"""
10277 return _IMP_atom.State_clear_caches(self)
10280 def set_name(self, a0):
10281 """set_name(State self, std::string a0)"""
10282 return _IMP_atom.State_set_name(self, a0)
10286 """set_check_level(State self, IMP::CheckLevel a0)"""
10287 return _IMP_atom.State_set_check_level(self, a0)
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)
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)
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)
10306 """get_check_level(State self) -> IMP::CheckLevel"""
10307 return _IMP_atom.State_get_check_level(self)
10310 def __eq__(self, *args):
10312 __eq__(State self, State o) -> bool
10313 __eq__(State self, Particle d) -> bool
10315 return _IMP_atom.State___eq__(self, *args)
10318 def __ne__(self, *args):
10320 __ne__(State self, State o) -> bool
10321 __ne__(State self, Particle d) -> bool
10323 return _IMP_atom.State___ne__(self, *args)
10326 def __le__(self, *args):
10328 __le__(State self, State o) -> bool
10329 __le__(State self, Particle d) -> bool
10331 return _IMP_atom.State___le__(self, *args)
10334 def __lt__(self, *args):
10336 __lt__(State self, State o) -> bool
10337 __lt__(State self, Particle d) -> bool
10339 return _IMP_atom.State___lt__(self, *args)
10342 def __ge__(self, *args):
10344 __ge__(State self, State o) -> bool
10345 __ge__(State self, Particle d) -> bool
10347 return _IMP_atom.State___ge__(self, *args)
10350 def __gt__(self, *args):
10352 __gt__(State self, State o) -> bool
10353 __gt__(State self, Particle d) -> bool
10355 return _IMP_atom.State___gt__(self, *args)
10358 def __hash__(self):
10359 """__hash__(State self) -> std::size_t"""
10360 return _IMP_atom.State___hash__(self)
10364 """__str__(State self) -> std::string"""
10365 return _IMP_atom.State___str__(self)
10368 def __repr__(self):
10369 """__repr__(State self) -> std::string"""
10370 return _IMP_atom.State___repr__(self)
10372 __swig_destroy__ = _IMP_atom.delete_State
10373 __del__ =
lambda self:
None
10374 State_swigregister = _IMP_atom.State_swigregister
10375 State_swigregister(State)
10377 def State_setup_particle(*args):
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
10384 return _IMP_atom.State_setup_particle(*args)
10386 def State_get_is_setup(*args):
10388 get_is_setup(_ParticleAdaptor p) -> bool
10389 State_get_is_setup(Model m, ParticleIndex pi) -> bool
10391 return _IMP_atom.State_get_is_setup(*args)
10395 """get_state_index(Hierarchy h) -> int"""
10396 return _IMP_atom.get_state_index(h)
10399 """get_phi_dihedral_atoms(Residue rd) -> IMP::atom::Atoms"""
10400 return _IMP_atom.get_phi_dihedral_atoms(rd)
10403 """get_psi_dihedral_atoms(Residue rd) -> IMP::atom::Atoms"""
10404 return _IMP_atom.get_psi_dihedral_atoms(rd)
10407 """get_omega_dihedral_atoms(Residue rd) -> IMP::atom::Atoms"""
10408 return _IMP_atom.get_omega_dihedral_atoms(rd)
10411 """get_chi_dihedral_atom_types(ResidueType rt) -> IMP::Vector< IMP::atom::AtomTypes >"""
10412 return _IMP_atom.get_chi_dihedral_atom_types(rt)
10415 """get_chi_dihedral_atoms(Residue rd) -> IMP::Vector< IMP::atom::Atoms >"""
10416 return _IMP_atom.get_chi_dihedral_atoms(rd)
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')
10425 def __init__(self, *args):
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
10431 this = _IMP_atom.new_Molecule(*args)
10433 self.this.append(this)
10437 def show(self, *args):
10439 show(Molecule self, _ostream out)
10440 show(Molecule self)
10442 return _IMP_atom.Molecule_show(self, *args)
10445 def setup_particle(*args):
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
10452 return _IMP_atom.Molecule_setup_particle(*args)
10454 setup_particle = staticmethod(setup_particle)
10456 def get_is_setup(*args):
10458 get_is_setup(_ParticleAdaptor p) -> bool
10459 get_is_setup(Model m, ParticleIndex pi) -> bool
10461 return _IMP_atom.Molecule_get_is_setup(*args)
10463 get_is_setup = staticmethod(get_is_setup)
10465 def add_attribute(self, *args):
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)
10476 return _IMP_atom.Molecule_add_attribute(self, *args)
10479 def get_value(self, *args):
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
10489 return _IMP_atom.Molecule_get_value(self, *args)
10492 def set_value(self, *args):
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)
10502 return _IMP_atom.Molecule_set_value(self, *args)
10505 def remove_attribute(self, *args):
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)
10515 return _IMP_atom.Molecule_remove_attribute(self, *args)
10518 def has_attribute(self, *args):
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
10528 return _IMP_atom.Molecule_has_attribute(self, *args)
10531 def get_derivative(self, a0):
10532 """get_derivative(Molecule self, FloatKey a0) -> double"""
10533 return _IMP_atom.Molecule_get_derivative(self, a0)
10536 def get_name(self):
10537 """get_name(Molecule self) -> std::string"""
10538 return _IMP_atom.Molecule_get_name(self)
10541 def clear_caches(self):
10542 """clear_caches(Molecule self)"""
10543 return _IMP_atom.Molecule_clear_caches(self)
10546 def set_name(self, a0):
10547 """set_name(Molecule self, std::string a0)"""
10548 return _IMP_atom.Molecule_set_name(self, a0)
10552 """set_check_level(Molecule self, IMP::CheckLevel a0)"""
10553 return _IMP_atom.Molecule_set_check_level(self, a0)
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)
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)
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)
10572 """get_check_level(Molecule self) -> IMP::CheckLevel"""
10573 return _IMP_atom.Molecule_get_check_level(self)
10576 def __eq__(self, *args):
10578 __eq__(Molecule self, Molecule o) -> bool
10579 __eq__(Molecule self, Particle d) -> bool
10581 return _IMP_atom.Molecule___eq__(self, *args)
10584 def __ne__(self, *args):
10586 __ne__(Molecule self, Molecule o) -> bool
10587 __ne__(Molecule self, Particle d) -> bool
10589 return _IMP_atom.Molecule___ne__(self, *args)
10592 def __le__(self, *args):
10594 __le__(Molecule self, Molecule o) -> bool
10595 __le__(Molecule self, Particle d) -> bool
10597 return _IMP_atom.Molecule___le__(self, *args)
10600 def __lt__(self, *args):
10602 __lt__(Molecule self, Molecule o) -> bool
10603 __lt__(Molecule self, Particle d) -> bool
10605 return _IMP_atom.Molecule___lt__(self, *args)
10608 def __ge__(self, *args):
10610 __ge__(Molecule self, Molecule o) -> bool
10611 __ge__(Molecule self, Particle d) -> bool
10613 return _IMP_atom.Molecule___ge__(self, *args)
10616 def __gt__(self, *args):
10618 __gt__(Molecule self, Molecule o) -> bool
10619 __gt__(Molecule self, Particle d) -> bool
10621 return _IMP_atom.Molecule___gt__(self, *args)
10624 def __hash__(self):
10625 """__hash__(Molecule self) -> std::size_t"""
10626 return _IMP_atom.Molecule___hash__(self)
10630 """__str__(Molecule self) -> std::string"""
10631 return _IMP_atom.Molecule___str__(self)
10634 def __repr__(self):
10635 """__repr__(Molecule self) -> std::string"""
10636 return _IMP_atom.Molecule___repr__(self)
10638 __swig_destroy__ = _IMP_atom.delete_Molecule
10639 __del__ =
lambda self:
None
10640 Molecule_swigregister = _IMP_atom.Molecule_swigregister
10641 Molecule_swigregister(Molecule)
10643 def Molecule_setup_particle(*args):
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
10650 return _IMP_atom.Molecule_setup_particle(*args)
10652 def Molecule_get_is_setup(*args):
10654 get_is_setup(_ParticleAdaptor p) -> bool
10655 Molecule_get_is_setup(Model m, ParticleIndex pi) -> bool
10657 return _IMP_atom.Molecule_get_is_setup(*args)
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')
10667 def get_copy_index_key():
10668 """get_copy_index_key() -> IntKey"""
10669 return _IMP_atom.Copy_get_copy_index_key()
10671 get_copy_index_key = staticmethod(get_copy_index_key)
10673 def __init__(self, *args):
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
10679 this = _IMP_atom.new_Copy(*args)
10681 self.this.append(this)
10685 def show(self, *args):
10687 show(Copy self, _ostream out)
10690 return _IMP_atom.Copy_show(self, *args)
10693 def setup_particle(*args):
10695 setup_particle(Model m, ParticleIndex pi, IMP::Int number) -> Copy
10696 setup_particle(_ParticleAdaptor decorator, IMP::Int number) -> Copy
10698 return _IMP_atom.Copy_setup_particle(*args)
10700 setup_particle = staticmethod(setup_particle)
10702 def get_is_setup(*args):
10704 get_is_setup(_ParticleAdaptor p) -> bool
10705 get_is_setup(Model m, ParticleIndex pi) -> bool
10707 return _IMP_atom.Copy_get_is_setup(*args)
10709 get_is_setup = staticmethod(get_is_setup)
10712 """get_copy_index(Copy self) -> int"""
10713 return _IMP_atom.Copy_get_copy_index(self)
10716 def add_attribute(self, *args):
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)
10727 return _IMP_atom.Copy_add_attribute(self, *args)
10730 def get_value(self, *args):
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
10740 return _IMP_atom.Copy_get_value(self, *args)
10743 def set_value(self, *args):
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)
10753 return _IMP_atom.Copy_set_value(self, *args)
10756 def remove_attribute(self, *args):
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)
10766 return _IMP_atom.Copy_remove_attribute(self, *args)
10769 def has_attribute(self, *args):
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
10779 return _IMP_atom.Copy_has_attribute(self, *args)
10782 def get_derivative(self, a0):
10783 """get_derivative(Copy self, FloatKey a0) -> double"""
10784 return _IMP_atom.Copy_get_derivative(self, a0)
10787 def get_name(self):
10788 """get_name(Copy self) -> std::string"""
10789 return _IMP_atom.Copy_get_name(self)
10792 def clear_caches(self):
10793 """clear_caches(Copy self)"""
10794 return _IMP_atom.Copy_clear_caches(self)
10797 def set_name(self, a0):
10798 """set_name(Copy self, std::string a0)"""
10799 return _IMP_atom.Copy_set_name(self, a0)
10803 """set_check_level(Copy self, IMP::CheckLevel a0)"""
10804 return _IMP_atom.Copy_set_check_level(self, a0)
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)
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)
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)
10823 """get_check_level(Copy self) -> IMP::CheckLevel"""
10824 return _IMP_atom.Copy_get_check_level(self)
10827 def __eq__(self, *args):
10829 __eq__(Copy self, Copy o) -> bool
10830 __eq__(Copy self, Particle d) -> bool
10832 return _IMP_atom.Copy___eq__(self, *args)
10835 def __ne__(self, *args):
10837 __ne__(Copy self, Copy o) -> bool
10838 __ne__(Copy self, Particle d) -> bool
10840 return _IMP_atom.Copy___ne__(self, *args)
10843 def __le__(self, *args):
10845 __le__(Copy self, Copy o) -> bool
10846 __le__(Copy self, Particle d) -> bool
10848 return _IMP_atom.Copy___le__(self, *args)
10851 def __lt__(self, *args):
10853 __lt__(Copy self, Copy o) -> bool
10854 __lt__(Copy self, Particle d) -> bool
10856 return _IMP_atom.Copy___lt__(self, *args)
10859 def __ge__(self, *args):
10861 __ge__(Copy self, Copy o) -> bool
10862 __ge__(Copy self, Particle d) -> bool
10864 return _IMP_atom.Copy___ge__(self, *args)
10867 def __gt__(self, *args):
10869 __gt__(Copy self, Copy o) -> bool
10870 __gt__(Copy self, Particle d) -> bool
10872 return _IMP_atom.Copy___gt__(self, *args)
10875 def __hash__(self):
10876 """__hash__(Copy self) -> std::size_t"""
10877 return _IMP_atom.Copy___hash__(self)
10881 """__str__(Copy self) -> std::string"""
10882 return _IMP_atom.Copy___str__(self)
10885 def __repr__(self):
10886 """__repr__(Copy self) -> std::string"""
10887 return _IMP_atom.Copy___repr__(self)
10889 __swig_destroy__ = _IMP_atom.delete_Copy
10890 __del__ =
lambda self:
None
10891 Copy_swigregister = _IMP_atom.Copy_swigregister
10892 Copy_swigregister(Copy)
10894 def Copy_get_copy_index_key():
10895 """Copy_get_copy_index_key() -> IntKey"""
10896 return _IMP_atom.Copy_get_copy_index_key()
10898 def Copy_setup_particle(*args):
10900 setup_particle(Model m, ParticleIndex pi, IMP::Int number) -> Copy
10901 Copy_setup_particle(_ParticleAdaptor decorator, IMP::Int number) -> Copy
10903 return _IMP_atom.Copy_setup_particle(*args)
10905 def Copy_get_is_setup(*args):
10907 get_is_setup(_ParticleAdaptor p) -> bool
10908 Copy_get_is_setup(Model m, ParticleIndex pi) -> bool
10910 return _IMP_atom.Copy_get_is_setup(*args)
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
10923 def __init__(self, *args):
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
10931 this = _IMP_atom.new_Selection(*args)
10933 self.this.append(this)
10938 """create_clone(Selection self) -> Selection"""
10939 return _IMP_atom.Selection_create_clone(self)
10942 def get_hierarchies(self):
10943 """get_hierarchies(Selection self) -> IMP::atom::Hierarchies"""
10944 return _IMP_atom.Selection_get_hierarchies(self)
10947 def set_molecules(self, mols):
10948 """set_molecules(Selection self, IMP::Strings mols)"""
10949 return _IMP_atom.Selection_set_molecules(self, mols)
10952 def set_resolution(self, r):
10953 """set_resolution(Selection self, double r)"""
10954 return _IMP_atom.Selection_set_resolution(self, r)
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)
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)
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)
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)
10977 def set_element(self, e):
10978 """set_element(Selection self, IMP::atom::Element e)"""
10979 return _IMP_atom.Selection_set_element(self, e)
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)
10987 def set_chains(self, chains):
10988 """set_chains(Selection self, IMP::Strings chains)"""
10989 return _IMP_atom.Selection_set_chains(self, chains)
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)
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)
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)
11007 def set_domains(self, names):
11008 """set_domains(Selection self, IMP::Strings names)"""
11009 return _IMP_atom.Selection_set_domains(self, names)
11012 def set_molecule(self, mol):
11013 """set_molecule(Selection self, std::string mol)"""
11014 return _IMP_atom.Selection_set_molecule(self, mol)
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)
11022 def set_chain(self, c):
11023 """set_chain(Selection self, std::string c)"""
11024 return _IMP_atom.Selection_set_chain(self, c)
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)
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)
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)
11042 def set_domain(self, name):
11043 """set_domain(Selection self, std::string name)"""
11044 return _IMP_atom.Selection_set_domain(self, name)
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)
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)
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)
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)
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)
11072 def set_intersection(self, s):
11073 """set_intersection(Selection self, Selection s)"""
11074 return _IMP_atom.Selection_set_intersection(self, s)
11077 def set_union(self, s):
11078 """set_union(Selection self, Selection s)"""
11079 return _IMP_atom.Selection_set_union(self, s)
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)
11087 def set_difference(self, s):
11088 """set_difference(Selection self, Selection s)"""
11089 return _IMP_atom.Selection_set_difference(self, s)
11092 def get_selected_particles(self, with_representation=True):
11094 get_selected_particles(Selection self, bool with_representation=True) -> IMP::ParticlesTemp
11095 get_selected_particles(Selection self) -> IMP::ParticlesTemp
11097 return _IMP_atom.Selection_get_selected_particles(self, with_representation)
11100 def get_selected_particle_indexes(self, with_representation=True):
11102 get_selected_particle_indexes(Selection self, bool with_representation=True) -> IMP::ParticleIndexes
11103 get_selected_particle_indexes(Selection self) -> IMP::ParticleIndexes
11105 return _IMP_atom.Selection_get_selected_particle_indexes(self, with_representation)
11108 def show(self, *args):
11110 show(Selection self, _ostream out)
11111 show(Selection self)
11113 return _IMP_atom.Selection_show(self, *args)
11117 """__str__(Selection self) -> std::string"""
11118 return _IMP_atom.Selection___str__(self)
11121 def __repr__(self):
11122 """__repr__(Selection self) -> std::string"""
11123 return _IMP_atom.Selection___repr__(self)
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")
11131 this = _IMP_atom.new_Selection(hierarchy)
11132 try: self.this.append(this)
11133 except: self.this = this
11135 this = _IMP_atom.new_Selection(hierarchies)
11136 try: self.this.append(this)
11137 except: self.this = this
11139 raise ValueError(
"Either hierarchy or hierarchies must be provided.")
11140 for k
in params.keys():
11141 eval(
"self.set_%s(params[k])"%k)
11143 def union(self, s):
11144 news = self.create_clone()
11145 news.union_update(s)
11147 def intersection(self, s):
11148 news = self.create_clone()
11149 news.intersection_update(s)
11151 def symmetric_difference(self, s):
11152 news = self.create_clone()
11153 news.symmetric_difference_update(s)
11155 def difference(self, s):
11156 news = self.create_clone()
11157 news.difference_update(s)
11159 def union_update(self, s):
11162 def intersection_update(self, s):
11163 self.set_intersection(s)
11165 def symmetric_difference_update(self, s):
11166 self.set_symmetric_difference(s)
11168 def difference_update(self, s):
11169 self.set_difference(s)
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
11180 __swig_destroy__ = _IMP_atom.delete_Selection
11181 __del__ =
lambda self:
None
11182 Selection_swigregister = _IMP_atom.Selection_swigregister
11183 Selection_swigregister(Selection)
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
11191 return _IMP_atom.create_distance_restraint(*args)
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
11200 return _IMP_atom.create_connectivity_restraint(*args)
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
11209 return _IMP_atom.create_internal_connectivity_restraint(*args)
11213 create_cover(Selection s, std::string name) -> XYZR
11214 create_cover(Selection s) -> XYZR
11216 return _IMP_atom.create_cover(*args)
11220 get_mass(ResidueType c) -> double
11221 get_mass(Selection s) -> double
11223 return _IMP_atom.get_mass(*args)
11226 """get_volume(Selection s) -> double"""
11227 return _IMP_atom.get_volume(s)
11230 """get_surface_area(Selection s) -> double"""
11231 return _IMP_atom.get_surface_area(s)
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
11239 return _IMP_atom.get_leaves(*args)
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')
11244 def __init__(self, *args):
11246 __init__(IMP::atom::SelectionGeometry self, Selection d, std::string name) -> SelectionGeometry
11247 __init__(IMP::atom::SelectionGeometry self, Selection d) -> SelectionGeometry
11249 this = _IMP_atom.new_SelectionGeometry(*args)
11251 self.this.append(this)
11255 def get_version_info(self):
11256 """get_version_info(SelectionGeometry self) -> VersionInfo"""
11257 return _IMP_atom.SelectionGeometry_get_version_info(self)
11261 """__str__(SelectionGeometry self) -> std::string"""
11262 return _IMP_atom.SelectionGeometry___str__(self)
11265 def __repr__(self):
11266 """__repr__(SelectionGeometry self) -> std::string"""
11267 return _IMP_atom.SelectionGeometry___repr__(self)
11272 return _object_cast_to_SelectionGeometry(o)
11274 SelectionGeometry_swigregister = _IMP_atom.SelectionGeometry_swigregister
11275 SelectionGeometry_swigregister(SelectionGeometry)
11280 get_rmsd(IMP::core::XYZs const & s0, IMP::core::XYZs const & s1) -> double
11281 get_rmsd(Selection s0, Selection s1) -> double
11283 return _IMP_atom.get_rmsd(*args)
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
11290 return _IMP_atom.get_rmsd_transforming_first(*args)
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)
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)
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)
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
11310 return _IMP_atom.get_radius_of_gyration(*args)
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')
11315 def __init__(self):
11316 """__init__(IMP::atom::ForceFieldParameters self) -> ForceFieldParameters"""
11317 this = _IMP_atom.new_ForceFieldParameters()
11319 self.this.append(this)
11323 def get_radius(self, atom):
11324 """get_radius(ForceFieldParameters self, Atom atom) -> IMP::Float"""
11325 return _IMP_atom.ForceFieldParameters_get_radius(self, atom)
11328 def get_epsilon(self, atom):
11329 """get_epsilon(ForceFieldParameters self, Atom atom) -> IMP::Float"""
11330 return _IMP_atom.ForceFieldParameters_get_epsilon(self, atom)
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)
11339 return _IMP_atom.ForceFieldParameters_add_radii(self, *args)
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)
11348 """add_bonds(ForceFieldParameters self, Hierarchy mhd)"""
11349 return _IMP_atom.ForceFieldParameters_add_bonds(self, mhd)
11351 __swig_destroy__ = _IMP_atom.delete_ForceFieldParameters
11352 __del__ =
lambda self:
None
11355 """__str__(ForceFieldParameters self) -> std::string"""
11356 return _IMP_atom.ForceFieldParameters___str__(self)
11359 def __repr__(self):
11360 """__repr__(ForceFieldParameters self) -> std::string"""
11361 return _IMP_atom.ForceFieldParameters___repr__(self)
11366 return _object_cast_to_ForceFieldParameters(o)
11368 ForceFieldParameters_swigregister = _IMP_atom.ForceFieldParameters_swigregister
11369 ForceFieldParameters_swigregister(ForceFieldParameters)
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')
11375 def __init__(self, *args):
11377 __init__(IMP::atom::CHARMMAtomTopology self, std::string name) -> CHARMMAtomTopology
11378 __init__(IMP::atom::CHARMMAtomTopology self, std::string name, CHARMMAtomTopology other) -> CHARMMAtomTopology
11380 this = _IMP_atom.new_CHARMMAtomTopology(*args)
11382 self.this.append(this)
11386 def get_name(self):
11387 """get_name(CHARMMAtomTopology self) -> std::string"""
11388 return _IMP_atom.CHARMMAtomTopology_get_name(self)
11391 def get_charmm_type(self):
11392 """get_charmm_type(CHARMMAtomTopology self) -> std::string"""
11393 return _IMP_atom.CHARMMAtomTopology_get_charmm_type(self)
11396 def get_charge(self):
11397 """get_charge(CHARMMAtomTopology self) -> double"""
11398 return _IMP_atom.CHARMMAtomTopology_get_charge(self)
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)
11406 def set_charge(self, charge):
11407 """set_charge(CHARMMAtomTopology self, double charge)"""
11408 return _IMP_atom.CHARMMAtomTopology_set_charge(self, charge)
11411 def show(self, *args):
11413 show(CHARMMAtomTopology self, _ostream out)
11414 show(CHARMMAtomTopology self)
11416 return _IMP_atom.CHARMMAtomTopology_show(self, *args)
11420 """__str__(CHARMMAtomTopology self) -> std::string"""
11421 return _IMP_atom.CHARMMAtomTopology___str__(self)
11424 def __repr__(self):
11425 """__repr__(CHARMMAtomTopology self) -> std::string"""
11426 return _IMP_atom.CHARMMAtomTopology___repr__(self)
11428 __swig_destroy__ = _IMP_atom.delete_CHARMMAtomTopology
11429 __del__ =
lambda self:
None
11430 CHARMMAtomTopology_swigregister = _IMP_atom.CHARMMAtomTopology_swigregister
11431 CHARMMAtomTopology_swigregister(CHARMMAtomTopology)
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')
11437 def __init__(self, atom_name, residue=None):
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
11442 this = _IMP_atom.new_CHARMMBondEndpoint(atom_name, residue)
11444 self.this.append(this)
11448 def get_atom_name(self):
11449 """get_atom_name(CHARMMBondEndpoint self) -> std::string"""
11450 return _IMP_atom.CHARMMBondEndpoint_get_atom_name(self)
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)
11458 def show(self, *args):
11460 show(CHARMMBondEndpoint self, _ostream out)
11461 show(CHARMMBondEndpoint self)
11463 return _IMP_atom.CHARMMBondEndpoint_show(self, *args)
11467 """__str__(CHARMMBondEndpoint self) -> std::string"""
11468 return _IMP_atom.CHARMMBondEndpoint___str__(self)
11471 def __repr__(self):
11472 """__repr__(CHARMMBondEndpoint self) -> std::string"""
11473 return _IMP_atom.CHARMMBondEndpoint___repr__(self)
11475 __swig_destroy__ = _IMP_atom.delete_CHARMMBondEndpoint
11476 __del__ =
lambda self:
None
11477 CHARMMBondEndpoint_swigregister = _IMP_atom.CHARMMBondEndpoint_swigregister
11478 CHARMMBondEndpoint_swigregister(CHARMMBondEndpoint)
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
11485 def __init__(self, atoms):
11486 """__init__(IMP::atom::CHARMMConnection<(4)> self, IMP::Strings const & atoms) -> CHARMMDihedral"""
11487 this = _IMP_atom.new_CHARMMDihedral(atoms)
11489 self.this.append(this)
11493 def get_endpoint(self, i):
11494 """get_endpoint(CHARMMDihedral self, unsigned int i) -> CHARMMBondEndpoint"""
11495 return _IMP_atom.CHARMMDihedral_get_endpoint(self, i)
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)
11503 def show(self, *args):
11505 show(CHARMMDihedral self, _ostream out)
11506 show(CHARMMDihedral self)
11508 return _IMP_atom.CHARMMDihedral_show(self, *args)
11510 __swig_destroy__ = _IMP_atom.delete_CHARMMDihedral
11511 __del__ =
lambda self:
None
11512 CHARMMDihedral_swigregister = _IMP_atom.CHARMMDihedral_swigregister
11513 CHARMMDihedral_swigregister(CHARMMDihedral)
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')
11519 def __init__(self, *args):
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
11524 this = _IMP_atom.new_CHARMMInternalCoordinate(*args)
11526 self.this.append(this)
11530 def get_first_distance(self):
11531 """get_first_distance(CHARMMInternalCoordinate self) -> float"""
11532 return _IMP_atom.CHARMMInternalCoordinate_get_first_distance(self)
11535 def get_second_distance(self):
11536 """get_second_distance(CHARMMInternalCoordinate self) -> float"""
11537 return _IMP_atom.CHARMMInternalCoordinate_get_second_distance(self)
11540 def get_first_angle(self):
11541 """get_first_angle(CHARMMInternalCoordinate self) -> float"""
11542 return _IMP_atom.CHARMMInternalCoordinate_get_first_angle(self)
11545 def get_second_angle(self):
11546 """get_second_angle(CHARMMInternalCoordinate self) -> float"""
11547 return _IMP_atom.CHARMMInternalCoordinate_get_second_angle(self)
11551 """get_dihedral(CHARMMInternalCoordinate self) -> float"""
11552 return _IMP_atom.CHARMMInternalCoordinate_get_dihedral(self)
11555 def get_improper(self):
11556 """get_improper(CHARMMInternalCoordinate self) -> bool"""
11557 return _IMP_atom.CHARMMInternalCoordinate_get_improper(self)
11560 def show(self, *args):
11562 show(CHARMMInternalCoordinate self, _ostream out)
11563 show(CHARMMInternalCoordinate self)
11565 return _IMP_atom.CHARMMInternalCoordinate_show(self, *args)
11569 """__str__(CHARMMInternalCoordinate self) -> std::string"""
11570 return _IMP_atom.CHARMMInternalCoordinate___str__(self)
11573 def __repr__(self):
11574 """__repr__(CHARMMInternalCoordinate self) -> std::string"""
11575 return _IMP_atom.CHARMMInternalCoordinate___repr__(self)
11577 __swig_destroy__ = _IMP_atom.delete_CHARMMInternalCoordinate
11578 __del__ =
lambda self:
None
11579 CHARMMInternalCoordinate_swigregister = _IMP_atom.CHARMMInternalCoordinate_swigregister
11580 CHARMMInternalCoordinate_swigregister(CHARMMInternalCoordinate)
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')
11586 def __init__(self, *args, **kwargs):
11587 raise AttributeError(
"No constructor defined")
11589 def get_type(self):
11590 """get_type(CHARMMResidueTopologyBase self) -> std::string"""
11591 return _IMP_atom.CHARMMResidueTopologyBase_get_type(self)
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)
11599 def add_atom(self, atom):
11600 """add_atom(CHARMMResidueTopologyBase self, CHARMMAtomTopology atom)"""
11601 return _IMP_atom.CHARMMResidueTopologyBase_add_atom(self, atom)
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
11610 return _IMP_atom.CHARMMResidueTopologyBase_get_atom(self, *args)
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)
11618 def add_bond(self, bond):
11619 """add_bond(CHARMMResidueTopologyBase self, CHARMMBond bond)"""
11620 return _IMP_atom.CHARMMResidueTopologyBase_add_bond(self, bond)
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)
11628 def add_angle(self, bond):
11629 """add_angle(CHARMMResidueTopologyBase self, CHARMMAngle bond)"""
11630 return _IMP_atom.CHARMMResidueTopologyBase_add_angle(self, bond)
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)
11638 def add_dihedral(self, bond):
11639 """add_dihedral(CHARMMResidueTopologyBase self, CHARMMDihedral bond)"""
11640 return _IMP_atom.CHARMMResidueTopologyBase_add_dihedral(self, bond)
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)
11648 def add_improper(self, bond):
11649 """add_improper(CHARMMResidueTopologyBase self, CHARMMDihedral bond)"""
11650 return _IMP_atom.CHARMMResidueTopologyBase_add_improper(self, bond)
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)
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)
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)
11669 """get_bond(CHARMMResidueTopologyBase self, unsigned int index) -> CHARMMBond"""
11670 return _IMP_atom.CHARMMResidueTopologyBase_get_bond(self, index)
11674 """get_angle(CHARMMResidueTopologyBase self, unsigned int index) -> CHARMMAngle"""
11675 return _IMP_atom.CHARMMResidueTopologyBase_get_angle(self, index)
11679 """get_dihedral(CHARMMResidueTopologyBase self, unsigned int index) -> CHARMMDihedral"""
11680 return _IMP_atom.CHARMMResidueTopologyBase_get_dihedral(self, index)
11683 def get_improper(self, index):
11684 """get_improper(CHARMMResidueTopologyBase self, unsigned int index) -> CHARMMDihedral"""
11685 return _IMP_atom.CHARMMResidueTopologyBase_get_improper(self, index)
11688 def get_version_info(self):
11689 """get_version_info(CHARMMResidueTopologyBase self) -> VersionInfo"""
11690 return _IMP_atom.CHARMMResidueTopologyBase_get_version_info(self)
11694 """__str__(CHARMMResidueTopologyBase self) -> std::string"""
11695 return _IMP_atom.CHARMMResidueTopologyBase___str__(self)
11698 def __repr__(self):
11699 """__repr__(CHARMMResidueTopologyBase self) -> std::string"""
11700 return _IMP_atom.CHARMMResidueTopologyBase___repr__(self)
11705 return _object_cast_to_CHARMMResidueTopologyBase(o)
11707 CHARMMResidueTopologyBase_swigregister = _IMP_atom.CHARMMResidueTopologyBase_swigregister
11708 CHARMMResidueTopologyBase_swigregister(CHARMMResidueTopologyBase)
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')
11714 def __init__(self, *args):
11716 __init__(IMP::atom::CHARMMIdealResidueTopology self, std::string type) -> CHARMMIdealResidueTopology
11717 __init__(IMP::atom::CHARMMIdealResidueTopology self, ResidueType type) -> CHARMMIdealResidueTopology
11719 this = _IMP_atom.new_CHARMMIdealResidueTopology(*args)
11721 self.this.append(this)
11725 def remove_atom(self, name):
11726 """remove_atom(CHARMMIdealResidueTopology self, std::string name)"""
11727 return _IMP_atom.CHARMMIdealResidueTopology_remove_atom(self, name)
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)
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)
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)
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)
11751 """__str__(CHARMMIdealResidueTopology self) -> std::string"""
11752 return _IMP_atom.CHARMMIdealResidueTopology___str__(self)
11755 def __repr__(self):
11756 """__repr__(CHARMMIdealResidueTopology self) -> std::string"""
11757 return _IMP_atom.CHARMMIdealResidueTopology___repr__(self)
11762 return _object_cast_to_CHARMMIdealResidueTopology(o)
11764 CHARMMIdealResidueTopology_swigregister = _IMP_atom.CHARMMIdealResidueTopology_swigregister
11765 CHARMMIdealResidueTopology_swigregister(CHARMMIdealResidueTopology)
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')
11771 def __init__(self, type):
11772 """__init__(IMP::atom::CHARMMPatch self, std::string type) -> CHARMMPatch"""
11773 this = _IMP_atom.new_CHARMMPatch(type)
11775 self.this.append(this)
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)
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)
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)
11794 def apply(self, *args):
11796 apply(CHARMMPatch self, CHARMMResidueTopology res)
11797 apply(CHARMMPatch self, CHARMMResidueTopology res1, CHARMMResidueTopology res2)
11799 return _IMP_atom.CHARMMPatch_apply(self, *args)
11803 """__str__(CHARMMPatch self) -> std::string"""
11804 return _IMP_atom.CHARMMPatch___str__(self)
11807 def __repr__(self):
11808 """__repr__(CHARMMPatch self) -> std::string"""
11809 return _IMP_atom.CHARMMPatch___repr__(self)
11814 return _object_cast_to_CHARMMPatch(o)
11816 CHARMMPatch_swigregister = _IMP_atom.CHARMMPatch_swigregister
11817 CHARMMPatch_swigregister(CHARMMPatch)
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')
11823 def __init__(self, *args):
11825 __init__(IMP::atom::CHARMMResidueTopology self, ResidueType type) -> CHARMMResidueTopology
11826 __init__(IMP::atom::CHARMMResidueTopology self, CHARMMIdealResidueTopology ideal) -> CHARMMResidueTopology
11828 this = _IMP_atom.new_CHARMMResidueTopology(*args)
11830 self.this.append(this)
11834 def get_patched(self):
11835 """get_patched(CHARMMResidueTopology self) -> bool"""
11836 return _IMP_atom.CHARMMResidueTopology_get_patched(self)
11839 def set_patched(self, patched):
11840 """set_patched(CHARMMResidueTopology self, bool patched)"""
11841 return _IMP_atom.CHARMMResidueTopology_set_patched(self, patched)
11845 """__str__(CHARMMResidueTopology self) -> std::string"""
11846 return _IMP_atom.CHARMMResidueTopology___str__(self)
11849 def __repr__(self):
11850 """__repr__(CHARMMResidueTopology self) -> std::string"""
11851 return _IMP_atom.CHARMMResidueTopology___repr__(self)
11856 return _object_cast_to_CHARMMResidueTopology(o)
11858 CHARMMResidueTopology_swigregister = _IMP_atom.CHARMMResidueTopology_swigregister
11859 CHARMMResidueTopology_swigregister(CHARMMResidueTopology)
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')
11865 def __init__(self, *args):
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
11871 this = _IMP_atom.new_CHARMMAtom(*args)
11873 self.this.append(this)
11877 def show(self, *args):
11879 show(CHARMMAtom self, _ostream out)
11880 show(CHARMMAtom self)
11882 return _IMP_atom.CHARMMAtom_show(self, *args)
11885 def setup_particle(*args):
11887 setup_particle(Model m, ParticleIndex pi, IMP::String charmm_type) -> CHARMMAtom
11888 setup_particle(_ParticleAdaptor decorator, IMP::String charmm_type) -> CHARMMAtom
11890 return _IMP_atom.CHARMMAtom_setup_particle(*args)
11892 setup_particle = staticmethod(setup_particle)
11894 def get_charmm_type(self):
11895 """get_charmm_type(CHARMMAtom self) -> IMP::String"""
11896 return _IMP_atom.CHARMMAtom_get_charmm_type(self)
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)
11904 def get_is_setup(*args):
11906 get_is_setup(_ParticleAdaptor p) -> bool
11907 get_is_setup(Model m, ParticleIndex pi) -> bool
11909 return _IMP_atom.CHARMMAtom_get_is_setup(*args)
11911 get_is_setup = staticmethod(get_is_setup)
11913 def get_charmm_type_key():
11914 """get_charmm_type_key() -> StringKey"""
11915 return _IMP_atom.CHARMMAtom_get_charmm_type_key()
11917 get_charmm_type_key = staticmethod(get_charmm_type_key)
11919 def add_attribute(self, *args):
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)
11930 return _IMP_atom.CHARMMAtom_add_attribute(self, *args)
11933 def get_value(self, *args):
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
11943 return _IMP_atom.CHARMMAtom_get_value(self, *args)
11946 def set_value(self, *args):
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)
11956 return _IMP_atom.CHARMMAtom_set_value(self, *args)
11959 def remove_attribute(self, *args):
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)
11969 return _IMP_atom.CHARMMAtom_remove_attribute(self, *args)
11972 def has_attribute(self, *args):
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
11982 return _IMP_atom.CHARMMAtom_has_attribute(self, *args)
11985 def get_derivative(self, a0):
11986 """get_derivative(CHARMMAtom self, FloatKey a0) -> double"""
11987 return _IMP_atom.CHARMMAtom_get_derivative(self, a0)
11990 def get_name(self):
11991 """get_name(CHARMMAtom self) -> std::string"""
11992 return _IMP_atom.CHARMMAtom_get_name(self)
11995 def clear_caches(self):
11996 """clear_caches(CHARMMAtom self)"""
11997 return _IMP_atom.CHARMMAtom_clear_caches(self)
12000 def set_name(self, a0):
12001 """set_name(CHARMMAtom self, std::string a0)"""
12002 return _IMP_atom.CHARMMAtom_set_name(self, a0)
12006 """set_check_level(CHARMMAtom self, IMP::CheckLevel a0)"""
12007 return _IMP_atom.CHARMMAtom_set_check_level(self, a0)
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)
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)
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)
12026 """get_check_level(CHARMMAtom self) -> IMP::CheckLevel"""
12027 return _IMP_atom.CHARMMAtom_get_check_level(self)
12030 def __eq__(self, *args):
12032 __eq__(CHARMMAtom self, CHARMMAtom o) -> bool
12033 __eq__(CHARMMAtom self, Particle d) -> bool
12035 return _IMP_atom.CHARMMAtom___eq__(self, *args)
12038 def __ne__(self, *args):
12040 __ne__(CHARMMAtom self, CHARMMAtom o) -> bool
12041 __ne__(CHARMMAtom self, Particle d) -> bool
12043 return _IMP_atom.CHARMMAtom___ne__(self, *args)
12046 def __le__(self, *args):
12048 __le__(CHARMMAtom self, CHARMMAtom o) -> bool
12049 __le__(CHARMMAtom self, Particle d) -> bool
12051 return _IMP_atom.CHARMMAtom___le__(self, *args)
12054 def __lt__(self, *args):
12056 __lt__(CHARMMAtom self, CHARMMAtom o) -> bool
12057 __lt__(CHARMMAtom self, Particle d) -> bool
12059 return _IMP_atom.CHARMMAtom___lt__(self, *args)
12062 def __ge__(self, *args):
12064 __ge__(CHARMMAtom self, CHARMMAtom o) -> bool
12065 __ge__(CHARMMAtom self, Particle d) -> bool
12067 return _IMP_atom.CHARMMAtom___ge__(self, *args)
12070 def __gt__(self, *args):
12072 __gt__(CHARMMAtom self, CHARMMAtom o) -> bool
12073 __gt__(CHARMMAtom self, Particle d) -> bool
12075 return _IMP_atom.CHARMMAtom___gt__(self, *args)
12078 def __hash__(self):
12079 """__hash__(CHARMMAtom self) -> std::size_t"""
12080 return _IMP_atom.CHARMMAtom___hash__(self)
12084 """__str__(CHARMMAtom self) -> std::string"""
12085 return _IMP_atom.CHARMMAtom___str__(self)
12088 def __repr__(self):
12089 """__repr__(CHARMMAtom self) -> std::string"""
12090 return _IMP_atom.CHARMMAtom___repr__(self)
12092 __swig_destroy__ = _IMP_atom.delete_CHARMMAtom
12093 __del__ =
lambda self:
None
12094 CHARMMAtom_swigregister = _IMP_atom.CHARMMAtom_swigregister
12095 CHARMMAtom_swigregister(CHARMMAtom)
12097 def CHARMMAtom_setup_particle(*args):
12099 setup_particle(Model m, ParticleIndex pi, IMP::String charmm_type) -> CHARMMAtom
12100 CHARMMAtom_setup_particle(_ParticleAdaptor decorator, IMP::String charmm_type) -> CHARMMAtom
12102 return _IMP_atom.CHARMMAtom_setup_particle(*args)
12104 def CHARMMAtom_get_is_setup(*args):
12106 get_is_setup(_ParticleAdaptor p) -> bool
12107 CHARMMAtom_get_is_setup(Model m, ParticleIndex pi) -> bool
12109 return _IMP_atom.CHARMMAtom_get_is_setup(*args)
12111 def CHARMMAtom_get_charmm_type_key():
12112 """CHARMMAtom_get_charmm_type_key() -> StringKey"""
12113 return _IMP_atom.CHARMMAtom_get_charmm_type_key()
12117 """get_charmm_untyped_atoms(Hierarchy hierarchy) -> IMP::atom::Atoms"""
12118 return _IMP_atom.get_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)
12129 def __init__(self):
12130 """__init__(IMP::atom::CHARMMBondParameters self) -> CHARMMBondParameters"""
12131 this = _IMP_atom.new_CHARMMBondParameters()
12133 self.this.append(this)
12137 def show(self, *args):
12139 show(CHARMMBondParameters self, _ostream out)
12140 show(CHARMMBondParameters self)
12142 return _IMP_atom.CHARMMBondParameters_show(self, *args)
12146 """__str__(CHARMMBondParameters self) -> std::string"""
12147 return _IMP_atom.CHARMMBondParameters___str__(self)
12150 def __repr__(self):
12151 """__repr__(CHARMMBondParameters self) -> std::string"""
12152 return _IMP_atom.CHARMMBondParameters___repr__(self)
12154 __swig_destroy__ = _IMP_atom.delete_CHARMMBondParameters
12155 __del__ =
lambda self:
None
12156 CHARMMBondParameters_swigregister = _IMP_atom.CHARMMBondParameters_swigregister
12157 CHARMMBondParameters_swigregister(CHARMMBondParameters)
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)
12166 def __init__(self):
12167 """__init__(IMP::atom::CHARMMDihedralParameters self) -> CHARMMDihedralParameters"""
12168 this = _IMP_atom.new_CHARMMDihedralParameters()
12170 self.this.append(this)
12174 def show(self, *args):
12176 show(CHARMMDihedralParameters self, _ostream out)
12177 show(CHARMMDihedralParameters self)
12179 return _IMP_atom.CHARMMDihedralParameters_show(self, *args)
12183 """__str__(CHARMMDihedralParameters self) -> std::string"""
12184 return _IMP_atom.CHARMMDihedralParameters___str__(self)
12187 def __repr__(self):
12188 """__repr__(CHARMMDihedralParameters self) -> std::string"""
12189 return _IMP_atom.CHARMMDihedralParameters___repr__(self)
12191 __swig_destroy__ = _IMP_atom.delete_CHARMMDihedralParameters
12192 __del__ =
lambda self:
None
12193 CHARMMDihedralParameters_swigregister = _IMP_atom.CHARMMDihedralParameters_swigregister
12194 CHARMMDihedralParameters_swigregister(CHARMMDihedralParameters)
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')
12200 def __init__(self, *args):
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
12206 this = _IMP_atom.new_CHARMMParameters(*args)
12208 self.this.append(this)
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)
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)
12222 def add_patch(self, patch):
12223 """add_patch(CHARMMParameters self, CHARMMPatch patch)"""
12224 return _IMP_atom.CHARMMParameters_add_patch(self, patch)
12227 def get_patch(self, name):
12228 """get_patch(CHARMMParameters self, std::string name) -> CHARMMPatch"""
12229 return _IMP_atom.CHARMMParameters_get_patch(self, name)
12232 def create_topology(self, hierarchy):
12233 """create_topology(CHARMMParameters self, Hierarchy hierarchy) -> CHARMMTopology"""
12234 return _IMP_atom.CHARMMParameters_create_topology(self, hierarchy)
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)
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)
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)
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)
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)
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)
12267 def get_version_info(self):
12268 """get_version_info(CHARMMParameters self) -> VersionInfo"""
12269 return _IMP_atom.CHARMMParameters_get_version_info(self)
12273 """__str__(CHARMMParameters self) -> std::string"""
12274 return _IMP_atom.CHARMMParameters___str__(self)
12277 def __repr__(self):
12278 """__repr__(CHARMMParameters self) -> std::string"""
12279 return _IMP_atom.CHARMMParameters___repr__(self)
12284 return _object_cast_to_CHARMMParameters(o)
12286 CHARMMParameters_swigregister = _IMP_atom.CHARMMParameters_swigregister
12287 CHARMMParameters_swigregister(CHARMMParameters)
12291 """get_heavy_atom_CHARMM_parameters() -> CHARMMParameters"""
12292 return _IMP_atom.get_heavy_atom_CHARMM_parameters()
12295 """get_all_atom_CHARMM_parameters() -> CHARMMParameters"""
12296 return _IMP_atom.get_all_atom_CHARMM_parameters()
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')
12301 def remove_residue(self, d):
12302 """remove_residue(CHARMMSegmentTopology self, CHARMMResidueTopology d)"""
12303 return _IMP_atom.CHARMMSegmentTopology_remove_residue(self, d)
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)
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)
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)
12321 def add_residue(self, obj):
12322 """add_residue(CHARMMSegmentTopology self, CHARMMResidueTopology obj) -> unsigned int"""
12323 return _IMP_atom.CHARMMSegmentTopology_add_residue(self, obj)
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)
12331 def clear_residues(self):
12332 """clear_residues(CHARMMSegmentTopology self)"""
12333 return _IMP_atom.CHARMMSegmentTopology_clear_residues(self)
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)
12341 def get_has_residues(self):
12342 """get_has_residues(CHARMMSegmentTopology self) -> bool"""
12343 return _IMP_atom.CHARMMSegmentTopology_get_has_residues(self)
12347 """get_residue(CHARMMSegmentTopology self, unsigned int i) -> CHARMMResidueTopology"""
12348 return _IMP_atom.CHARMMSegmentTopology_get_residue(self, i)
12351 def get_residues(self):
12352 """get_residues(CHARMMSegmentTopology self) -> IMP::atom::CHARMMResidueTopologies"""
12353 return _IMP_atom.CHARMMSegmentTopology_get_residues(self)
12356 def reserve_residues(self, sz):
12357 """reserve_residues(CHARMMSegmentTopology self, unsigned int sz)"""
12358 return _IMP_atom.CHARMMSegmentTopology_reserve_residues(self, sz)
12361 def get_version_info(self):
12362 """get_version_info(CHARMMSegmentTopology self) -> VersionInfo"""
12363 return _IMP_atom.CHARMMSegmentTopology_get_version_info(self)
12366 def __init__(self, *args):
12368 __init__(IMP::atom::CHARMMSegmentTopology self, std::string name) -> CHARMMSegmentTopology
12369 __init__(IMP::atom::CHARMMSegmentTopology self) -> CHARMMSegmentTopology
12371 this = _IMP_atom.new_CHARMMSegmentTopology(*args)
12373 self.this.append(this)
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)
12383 """__str__(CHARMMSegmentTopology self) -> std::string"""
12384 return _IMP_atom.CHARMMSegmentTopology___str__(self)
12387 def __repr__(self):
12388 """__repr__(CHARMMSegmentTopology self) -> std::string"""
12389 return _IMP_atom.CHARMMSegmentTopology___repr__(self)
12394 return _object_cast_to_CHARMMSegmentTopology(o)
12396 CHARMMSegmentTopology_swigregister = _IMP_atom.CHARMMSegmentTopology_swigregister
12397 CHARMMSegmentTopology_swigregister(CHARMMSegmentTopology)
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')
12403 def __init__(self, *args):
12405 __init__(IMP::atom::CHARMMTopology self, CHARMMParameters force_field, std::string name) -> CHARMMTopology
12406 __init__(IMP::atom::CHARMMTopology self, CHARMMParameters force_field) -> CHARMMTopology
12408 this = _IMP_atom.new_CHARMMTopology(*args)
12410 self.this.append(this)
12414 def get_parameters(self):
12415 """get_parameters(CHARMMTopology self) -> CHARMMParameters"""
12416 return _IMP_atom.CHARMMTopology_get_parameters(self)
12419 def add_sequence(self, sequence):
12420 """add_sequence(CHARMMTopology self, std::string sequence)"""
12421 return _IMP_atom.CHARMMTopology_add_sequence(self, sequence)
12424 def apply_default_patches(self):
12425 """apply_default_patches(CHARMMTopology self)"""
12426 return _IMP_atom.CHARMMTopology_apply_default_patches(self)
12429 def create_hierarchy(self, model):
12430 """create_hierarchy(CHARMMTopology self, Model model) -> Hierarchy"""
12431 return _IMP_atom.CHARMMTopology_create_hierarchy(self, model)
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)
12439 def add_coordinates(self, hierarchy):
12440 """add_coordinates(CHARMMTopology self, Hierarchy hierarchy)"""
12441 return _IMP_atom.CHARMMTopology_add_coordinates(self, hierarchy)
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)
12449 def setup_hierarchy(self, hierarchy):
12450 """setup_hierarchy(CHARMMTopology self, Hierarchy hierarchy)"""
12451 return _IMP_atom.CHARMMTopology_setup_hierarchy(self, hierarchy)
12454 def add_charges(self, hierarchy):
12455 """add_charges(CHARMMTopology self, Hierarchy hierarchy)"""
12456 return _IMP_atom.CHARMMTopology_add_charges(self, hierarchy)
12460 """add_bonds(CHARMMTopology self, Hierarchy hierarchy) -> IMP::Particles"""
12461 return _IMP_atom.CHARMMTopology_add_bonds(self, hierarchy)
12464 def add_dihedrals(self, hierarchy):
12465 """add_dihedrals(CHARMMTopology self, Hierarchy hierarchy) -> IMP::Particles"""
12466 return _IMP_atom.CHARMMTopology_add_dihedrals(self, hierarchy)
12469 def add_impropers(self, hierarchy):
12470 """add_impropers(CHARMMTopology self, Hierarchy hierarchy) -> IMP::Particles"""
12471 return _IMP_atom.CHARMMTopology_add_impropers(self, hierarchy)
12474 def remove_segment(self, d):
12475 """remove_segment(CHARMMTopology self, CHARMMSegmentTopology d)"""
12476 return _IMP_atom.CHARMMTopology_remove_segment(self, d)
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)
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)
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)
12494 def add_segment(self, obj):
12495 """add_segment(CHARMMTopology self, CHARMMSegmentTopology obj) -> unsigned int"""
12496 return _IMP_atom.CHARMMTopology_add_segment(self, obj)
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)
12504 def clear_segments(self):
12505 """clear_segments(CHARMMTopology self)"""
12506 return _IMP_atom.CHARMMTopology_clear_segments(self)
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)
12514 def get_has_segments(self):
12515 """get_has_segments(CHARMMTopology self) -> bool"""
12516 return _IMP_atom.CHARMMTopology_get_has_segments(self)
12520 """get_segment(CHARMMTopology self, unsigned int i) -> CHARMMSegmentTopology"""
12521 return _IMP_atom.CHARMMTopology_get_segment(self, i)
12524 def get_segments(self):
12525 """get_segments(CHARMMTopology self) -> IMP::atom::CHARMMSegmentTopologies"""
12526 return _IMP_atom.CHARMMTopology_get_segments(self)
12529 def reserve_segments(self, sz):
12530 """reserve_segments(CHARMMTopology self, unsigned int sz)"""
12531 return _IMP_atom.CHARMMTopology_reserve_segments(self, sz)
12534 def get_version_info(self):
12535 """get_version_info(CHARMMTopology self) -> VersionInfo"""
12536 return _IMP_atom.CHARMMTopology_get_version_info(self)
12540 """__str__(CHARMMTopology self) -> std::string"""
12541 return _IMP_atom.CHARMMTopology___str__(self)
12544 def __repr__(self):
12545 """__repr__(CHARMMTopology self) -> std::string"""
12546 return _IMP_atom.CHARMMTopology___repr__(self)
12551 return _object_cast_to_CHARMMTopology(o)
12553 CHARMMTopology_swigregister = _IMP_atom.CHARMMTopology_swigregister
12554 CHARMMTopology_swigregister(CHARMMTopology)
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')
12560 def __init__(self, *args):
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
12565 this = _IMP_atom.new_CHARMMStereochemistryRestraint(*args)
12567 self.this.append(this)
12571 def get_pair_filter(self):
12572 """get_pair_filter(CHARMMStereochemistryRestraint self) -> StereochemistryPairFilter"""
12573 return _IMP_atom.CHARMMStereochemistryRestraint_get_pair_filter(self)
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)
12581 def do_get_inputs(self):
12582 """do_get_inputs(CHARMMStereochemistryRestraint self) -> IMP::ModelObjectsTemp"""
12583 return _IMP_atom.CHARMMStereochemistryRestraint_do_get_inputs(self)
12586 def get_version_info(self):
12587 """get_version_info(CHARMMStereochemistryRestraint self) -> VersionInfo"""
12588 return _IMP_atom.CHARMMStereochemistryRestraint_get_version_info(self)
12592 """__str__(CHARMMStereochemistryRestraint self) -> std::string"""
12593 return _IMP_atom.CHARMMStereochemistryRestraint___str__(self)
12596 def __repr__(self):
12597 """__repr__(CHARMMStereochemistryRestraint self) -> std::string"""
12598 return _IMP_atom.CHARMMStereochemistryRestraint___repr__(self)
12603 return _object_cast_to_CHARMMStereochemistryRestraint(o)
12605 CHARMMStereochemistryRestraint_swigregister = _IMP_atom.CHARMMStereochemistryRestraint_swigregister
12606 CHARMMStereochemistryRestraint_swigregister(CHARMMStereochemistryRestraint)
12611 add_bonds(Hierarchy d, ForceFieldParameters ffp)
12612 add_bonds(Hierarchy d)
12614 return _IMP_atom.add_bonds(*args)
12618 add_radii(Hierarchy d, ForceFieldParameters ffp, FloatKey radius_key)
12619 add_radii(Hierarchy d, ForceFieldParameters ffp)
12620 add_radii(Hierarchy d)
12622 return _IMP_atom.add_radii(*args)
12624 _IMP_atom.ALBER_swigconstant(_IMP_atom)
12625 ALBER = _IMP_atom.ALBER
12627 _IMP_atom.HARPAZ_swigconstant(_IMP_atom)
12628 HARPAZ = _IMP_atom.HARPAZ
12630 _IMP_atom.ANDERSSON_swigconstant(_IMP_atom)
12631 ANDERSSON = _IMP_atom.ANDERSSON
12633 _IMP_atom.TSAI_swigconstant(_IMP_atom)
12634 TSAI = _IMP_atom.TSAI
12636 _IMP_atom.QUILLIN_swigconstant(_IMP_atom)
12637 QUILLIN = _IMP_atom.QUILLIN
12639 _IMP_atom.SQUIRE_swigconstant(_IMP_atom)
12640 SQUIRE = _IMP_atom.SQUIRE
12643 """get_protein_density_from_reference(IMP::atom::ProteinDensityReference densityReference) -> double"""
12644 return _IMP_atom.get_protein_density_from_reference(densityReference)
12648 get_volume_from_mass(double m, IMP::atom::ProteinDensityReference ref) -> double
12649 get_volume_from_mass(double m) -> double
12651 return _IMP_atom.get_volume_from_mass(*args)
12655 get_mass_from_volume(double v, IMP::atom::ProteinDensityReference ref) -> double
12656 get_mass_from_volume(double v) -> double
12658 return _IMP_atom.get_mass_from_volume(*args)
12661 """get_mass_from_number_of_residues(unsigned int num_aa) -> double"""
12662 return _IMP_atom.get_mass_from_number_of_residues(num_aa)
12665 """get_volume_from_residue_type(ResidueType rt) -> double"""
12666 return _IMP_atom.get_volume_from_residue_type(rt)
12669 """get_molarity(double n, double volume) -> double"""
12670 return _IMP_atom.get_molarity(n, volume)
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)
12678 get_einstein_diffusion_coefficient(double r, double temp=-1) -> double
12679 get_einstein_diffusion_coefficient(double r) -> double
12681 return _IMP_atom.get_einstein_diffusion_coefficient(r, temp)
12685 get_einstein_rotational_diffusion_coefficient(double r, double temp=-1) -> double
12686 get_einstein_rotational_diffusion_coefficient(double r) -> double
12688 return _IMP_atom.get_einstein_rotational_diffusion_coefficient(r, temp)
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
12696 return _IMP_atom.get_diffusion_length(*args)
12699 """get_diffusion_angle(double D, double dtfs) -> double"""
12700 return _IMP_atom.get_diffusion_angle(D, dtfs)
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
12707 return _IMP_atom.get_diffusion_coefficient(*args)
12710 """get_rotational_diffusion_coefficient(IMP::algebra::Rotation3Ds const & orientations, double dt) -> double"""
12711 return _IMP_atom.get_rotational_diffusion_coefficient(orientations, dt)
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)
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)
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)
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')
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)
12732 self.this.append(this)
12736 def get_version_info(self):
12737 """get_version_info(EzRestraint self) -> VersionInfo"""
12738 return _IMP_atom.EzRestraint_get_version_info(self)
12742 """__str__(EzRestraint self) -> std::string"""
12743 return _IMP_atom.EzRestraint___str__(self)
12746 def __repr__(self):
12747 """__repr__(EzRestraint self) -> std::string"""
12748 return _IMP_atom.EzRestraint___repr__(self)
12753 return _object_cast_to_EzRestraint(o)
12755 EzRestraint_swigregister = _IMP_atom.EzRestraint_swigregister
12756 EzRestraint_swigregister(EzRestraint)
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
12767 return _IMP_atom.create_protein(*args)
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
12776 return _IMP_atom.create_simplified_along_backbone(*args)
12779 """create_simplified_from_volume(Hierarchy h, double resolution) -> Hierarchy"""
12780 return _IMP_atom.create_simplified_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)
12786 def get_residue_indexes(h):
12787 """get_residue_indexes(Hierarchy h) -> IMP::Ints"""
12788 return _IMP_atom.get_residue_indexes(h)
12790 def get_residue_type(*args):
12792 get_residue_type(char c) -> ResidueType
12793 get_residue_type(Hierarchy h) -> ResidueType
12795 return _IMP_atom.get_residue_type(*args)
12797 def get_atom_type(h):
12798 """get_atom_type(Hierarchy h) -> AtomType"""
12799 return _IMP_atom.get_atom_type(h)
12801 def get_domain_name(h):
12802 """get_domain_name(Hierarchy h) -> std::string"""
12803 return _IMP_atom.get_domain_name(h)
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
12811 return _IMP_atom.create_excluded_volume_restraint(*args)
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)
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
12826 def __init__(self):
12827 """__init__(IMP::atom::HierarchyTreeVertexIndex self) -> _HierarchyTreeVertexIndex"""
12828 this = _IMP_atom.new__HierarchyTreeVertexIndex()
12830 self.this.append(this)
12833 __swig_destroy__ = _IMP_atom.delete__HierarchyTreeVertexIndex
12834 __del__ =
lambda self:
None
12835 _HierarchyTreeVertexIndex_swigregister = _IMP_atom._HierarchyTreeVertexIndex_swigregister
12836 _HierarchyTreeVertexIndex_swigregister(_HierarchyTreeVertexIndex)
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)
12843 def get_vertex_index(g):
12844 """get_vertex_index(IMP::atom::HierarchyTree const & g) -> _HierarchyTreeVertexIndex"""
12845 return _IMP_atom.get_vertex_index(g)
12848 """get_hierarchy_tree(Hierarchy h) -> IMP::atom::HierarchyTree"""
12849 return _IMP_atom.get_hierarchy_tree(h)
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')
12854 def __init__(self, d, resolution=0):
12856 __init__(IMP::atom::HierarchyGeometry self, Hierarchy d, double resolution=0) -> HierarchyGeometry
12857 __init__(IMP::atom::HierarchyGeometry self, Hierarchy d) -> HierarchyGeometry
12859 this = _IMP_atom.new_HierarchyGeometry(d, resolution)
12861 self.this.append(this)
12865 def get_version_info(self):
12866 """get_version_info(HierarchyGeometry self) -> VersionInfo"""
12867 return _IMP_atom.HierarchyGeometry_get_version_info(self)
12871 """__str__(HierarchyGeometry self) -> std::string"""
12872 return _IMP_atom.HierarchyGeometry___str__(self)
12875 def __repr__(self):
12876 """__repr__(HierarchyGeometry self) -> std::string"""
12877 return _IMP_atom.HierarchyGeometry___repr__(self)
12882 return _object_cast_to_HierarchyGeometry(o)
12884 HierarchyGeometry_swigregister = _IMP_atom.HierarchyGeometry_swigregister
12885 HierarchyGeometry_swigregister(HierarchyGeometry)
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')
12891 def __init__(self, sc, resolution=-1):
12893 __init__(IMP::atom::HierarchiesGeometry self, SingletonContainer sc, double resolution=-1) -> HierarchiesGeometry
12894 __init__(IMP::atom::HierarchiesGeometry self, SingletonContainer sc) -> HierarchiesGeometry
12896 this = _IMP_atom.new_HierarchiesGeometry(sc, resolution)
12898 self.this.append(this)
12902 def get_version_info(self):
12903 """get_version_info(HierarchiesGeometry self) -> VersionInfo"""
12904 return _IMP_atom.HierarchiesGeometry_get_version_info(self)
12908 """__str__(HierarchiesGeometry self) -> std::string"""
12909 return _IMP_atom.HierarchiesGeometry___str__(self)
12912 def __repr__(self):
12913 """__repr__(HierarchiesGeometry self) -> std::string"""
12914 return _IMP_atom.HierarchiesGeometry___repr__(self)
12919 return _object_cast_to_HierarchiesGeometry(o)
12921 HierarchiesGeometry_swigregister = _IMP_atom.HierarchiesGeometry_swigregister
12922 HierarchiesGeometry_swigregister(HierarchiesGeometry)
12927 transform(Hierarchy h, Transformation3D tr)
12928 transform(Hierarchy h, Transformation3D tr)
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')
12935 def __init__(self, *args):
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
12941 this = _IMP_atom.new_DopePairScore(*args)
12943 self.this.append(this)
12948 """__str__(DopePairScore self) -> std::string"""
12949 return _IMP_atom.DopePairScore___str__(self)
12952 def __repr__(self):
12953 """__repr__(DopePairScore self) -> std::string"""
12954 return _IMP_atom.DopePairScore___repr__(self)
12959 return _object_cast_to_DopePairScore(o)
12961 __swig_destroy__ = _IMP_atom.delete_DopePairScore
12962 __del__ =
lambda self:
None
12963 DopePairScore_swigregister = _IMP_atom.DopePairScore_swigregister
12964 DopePairScore_swigregister(DopePairScore)
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')
12974 def __init__(self, *args):
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
12980 this = _IMP_atom.new_LoopStatisticalPairScore(*args)
12982 self.this.append(this)
12987 """__str__(LoopStatisticalPairScore self) -> std::string"""
12988 return _IMP_atom.LoopStatisticalPairScore___str__(self)
12991 def __repr__(self):
12992 """__repr__(LoopStatisticalPairScore self) -> std::string"""
12993 return _IMP_atom.LoopStatisticalPairScore___repr__(self)
12998 return _object_cast_to_LoopStatisticalPairScore(o)
13000 __swig_destroy__ = _IMP_atom.delete_LoopStatisticalPairScore
13001 __del__ =
lambda self:
None
13002 LoopStatisticalPairScore_swigregister = _IMP_atom.LoopStatisticalPairScore_swigregister
13003 LoopStatisticalPairScore_swigregister(LoopStatisticalPairScore)
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')
13013 def __init__(self, library):
13014 """__init__(IMP::atom::OrientedSoapPairScore self, std::string library) -> OrientedSoapPairScore"""
13015 this = _IMP_atom.new_OrientedSoapPairScore(library)
13017 self.this.append(this)
13021 def get_pair_filter(self):
13022 """get_pair_filter(OrientedSoapPairScore self) -> SoapPairFilter"""
13023 return _IMP_atom.OrientedSoapPairScore_get_pair_filter(self)
13027 """__str__(OrientedSoapPairScore self) -> std::string"""
13028 return _IMP_atom.OrientedSoapPairScore___str__(self)
13031 def __repr__(self):
13032 """__repr__(OrientedSoapPairScore self) -> std::string"""
13033 return _IMP_atom.OrientedSoapPairScore___repr__(self)
13038 return _object_cast_to_OrientedSoapPairScore(o)
13040 __swig_destroy__ = _IMP_atom.delete_OrientedSoapPairScore
13041 __del__ =
lambda self:
None
13042 OrientedSoapPairScore_swigregister = _IMP_atom.OrientedSoapPairScore_swigregister
13043 OrientedSoapPairScore_swigregister(OrientedSoapPairScore)
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')
13049 def __init__(self):
13050 """__init__(IMP::atom::SameResiduePairFilter self) -> SameResiduePairFilter"""
13051 this = _IMP_atom.new_SameResiduePairFilter()
13053 self.this.append(this)
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)
13062 def get_value(self, *args):
13064 get_value(SameResiduePairFilter self, IMP::ParticlePair const & a) -> int
13065 get_value(SameResiduePairFilter self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
13067 return _IMP_atom.SameResiduePairFilter_get_value(self, *args)
13070 def get_value_index(self, *args):
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
13075 return _IMP_atom.SameResiduePairFilter_get_value_index(self, *args)
13078 def get_version_info(self):
13079 """get_version_info(SameResiduePairFilter self) -> VersionInfo"""
13080 return _IMP_atom.SameResiduePairFilter_get_version_info(self)
13084 """__str__(SameResiduePairFilter self) -> std::string"""
13085 return _IMP_atom.SameResiduePairFilter___str__(self)
13088 def __repr__(self):
13089 """__repr__(SameResiduePairFilter self) -> std::string"""
13090 return _IMP_atom.SameResiduePairFilter___repr__(self)
13095 return _object_cast_to_SameResiduePairFilter(o)
13097 SameResiduePairFilter_swigregister = _IMP_atom.SameResiduePairFilter_swigregister
13098 SameResiduePairFilter_swigregister(SameResiduePairFilter)
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')
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)
13108 self.this.append(this)
13112 def set_particles(self, pis):
13113 """set_particles(RemoveRigidMotionOptimizerState self, IMP::Particles const & pis)"""
13114 return _IMP_atom.RemoveRigidMotionOptimizerState_set_particles(self, pis)
13117 def remove_rigid_motion(self):
13118 """remove_rigid_motion(RemoveRigidMotionOptimizerState self)"""
13119 return _IMP_atom.RemoveRigidMotionOptimizerState_remove_rigid_motion(self)
13122 def get_version_info(self):
13123 """get_version_info(RemoveRigidMotionOptimizerState self) -> VersionInfo"""
13124 return _IMP_atom.RemoveRigidMotionOptimizerState_get_version_info(self)
13128 """__str__(RemoveRigidMotionOptimizerState self) -> std::string"""
13129 return _IMP_atom.RemoveRigidMotionOptimizerState___str__(self)
13132 def __repr__(self):
13133 """__repr__(RemoveRigidMotionOptimizerState self) -> std::string"""
13134 return _IMP_atom.RemoveRigidMotionOptimizerState___repr__(self)
13139 return _object_cast_to_RemoveRigidMotionOptimizerState(o)
13141 RemoveRigidMotionOptimizerState_swigregister = _IMP_atom.RemoveRigidMotionOptimizerState_swigregister
13142 RemoveRigidMotionOptimizerState_swigregister(RemoveRigidMotionOptimizerState)
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')
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)
13152 self.this.append(this)
13156 def set_particles(self, pis):
13157 """set_particles(BerendsenThermostatOptimizerState self, IMP::Particles const & pis)"""
13158 return _IMP_atom.BerendsenThermostatOptimizerState_set_particles(self, pis)
13161 def get_temperature(self):
13162 """get_temperature(BerendsenThermostatOptimizerState self) -> double"""
13163 return _IMP_atom.BerendsenThermostatOptimizerState_get_temperature(self)
13167 """get_tau(BerendsenThermostatOptimizerState self) -> double"""
13168 return _IMP_atom.BerendsenThermostatOptimizerState_get_tau(self)
13171 def set_temperature(self, temperature):
13172 """set_temperature(BerendsenThermostatOptimizerState self, double temperature)"""
13173 return _IMP_atom.BerendsenThermostatOptimizerState_set_temperature(self, temperature)
13176 def set_tau(self, tau):
13177 """set_tau(BerendsenThermostatOptimizerState self, double tau)"""
13178 return _IMP_atom.BerendsenThermostatOptimizerState_set_tau(self, tau)
13181 def rescale_velocities(self):
13182 """rescale_velocities(BerendsenThermostatOptimizerState self)"""
13183 return _IMP_atom.BerendsenThermostatOptimizerState_rescale_velocities(self)
13186 def get_version_info(self):
13187 """get_version_info(BerendsenThermostatOptimizerState self) -> VersionInfo"""
13188 return _IMP_atom.BerendsenThermostatOptimizerState_get_version_info(self)
13192 """__str__(BerendsenThermostatOptimizerState self) -> std::string"""
13193 return _IMP_atom.BerendsenThermostatOptimizerState___str__(self)
13196 def __repr__(self):
13197 """__repr__(BerendsenThermostatOptimizerState self) -> std::string"""
13198 return _IMP_atom.BerendsenThermostatOptimizerState___repr__(self)
13203 return _object_cast_to_BerendsenThermostatOptimizerState(o)
13205 BerendsenThermostatOptimizerState_swigregister = _IMP_atom.BerendsenThermostatOptimizerState_swigregister
13206 BerendsenThermostatOptimizerState_swigregister(BerendsenThermostatOptimizerState)
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')
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)
13216 self.this.append(this)
13220 def set_particles(self, pis):
13221 """set_particles(LangevinThermostatOptimizerState self, IMP::Particles const & pis)"""
13222 return _IMP_atom.LangevinThermostatOptimizerState_set_particles(self, pis)
13225 def get_temperature(self):
13226 """get_temperature(LangevinThermostatOptimizerState self) -> double"""
13227 return _IMP_atom.LangevinThermostatOptimizerState_get_temperature(self)
13230 def get_gamma(self):
13231 """get_gamma(LangevinThermostatOptimizerState self) -> double"""
13232 return _IMP_atom.LangevinThermostatOptimizerState_get_gamma(self)
13235 def set_temperature(self, temperature):
13236 """set_temperature(LangevinThermostatOptimizerState self, double temperature)"""
13237 return _IMP_atom.LangevinThermostatOptimizerState_set_temperature(self, temperature)
13240 def set_gamma(self, gamma):
13241 """set_gamma(LangevinThermostatOptimizerState self, double gamma)"""
13242 return _IMP_atom.LangevinThermostatOptimizerState_set_gamma(self, gamma)
13245 def rescale_velocities(self):
13246 """rescale_velocities(LangevinThermostatOptimizerState self)"""
13247 return _IMP_atom.LangevinThermostatOptimizerState_rescale_velocities(self)
13250 def get_version_info(self):
13251 """get_version_info(LangevinThermostatOptimizerState self) -> VersionInfo"""
13252 return _IMP_atom.LangevinThermostatOptimizerState_get_version_info(self)
13256 """__str__(LangevinThermostatOptimizerState self) -> std::string"""
13257 return _IMP_atom.LangevinThermostatOptimizerState___str__(self)
13260 def __repr__(self):
13261 """__repr__(LangevinThermostatOptimizerState self) -> std::string"""
13262 return _IMP_atom.LangevinThermostatOptimizerState___repr__(self)
13267 return _object_cast_to_LangevinThermostatOptimizerState(o)
13269 LangevinThermostatOptimizerState_swigregister = _IMP_atom.LangevinThermostatOptimizerState_swigregister
13270 LangevinThermostatOptimizerState_swigregister(LangevinThermostatOptimizerState)
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')
13276 def __init__(self, name):
13277 """__init__(IMP::atom::PDBSelector self, std::string name) -> PDBSelector"""
13278 if self.__class__ == PDBSelector:
13282 this = _IMP_atom.new_PDBSelector(_self, name)
13284 self.this.append(this)
13288 if self.__class__ != PDBSelector:
13289 _director_objects.register(self)
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)
13298 __swig_destroy__ = _IMP_atom.delete_PDBSelector
13299 __del__ =
lambda self:
None
13302 """__str__(PDBSelector self) -> std::string"""
13303 return _IMP_atom.PDBSelector___str__(self)
13306 def __repr__(self):
13307 """__repr__(PDBSelector self) -> std::string"""
13308 return _IMP_atom.PDBSelector___repr__(self)
13313 return _object_cast_to_PDBSelector(o)
13316 def get_type_name(self):
13317 return self.__class__.__name__
13318 def do_show(self, out):
13320 def get_version_info(self):
13321 if"IMP::atom" ==
"IMP":
13322 return VersionInfo(self.__module__,
13329 return _object_cast_to_PDBSelector(o)
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))
13343 def __disown__(self):
13345 _IMP_atom.disown_PDBSelector(self)
13346 return weakref_proxy(self)
13348 def do_destroy(self):
13349 """do_destroy(PDBSelector self)"""
13350 return _IMP_atom.PDBSelector_do_destroy(self)
13352 PDBSelector_swigregister = _IMP_atom.PDBSelector_swigregister
13353 PDBSelector_swigregister(PDBSelector)
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')
13359 def __init__(self, *args):
13361 __init__(IMP::atom::NonAlternativePDBSelector self, std::string name) -> NonAlternativePDBSelector
13362 __init__(IMP::atom::NonAlternativePDBSelector self) -> NonAlternativePDBSelector
13364 this = _IMP_atom.new_NonAlternativePDBSelector(*args)
13366 self.this.append(this)
13370 def get_version_info(self):
13371 """get_version_info(NonAlternativePDBSelector self) -> VersionInfo"""
13372 return _IMP_atom.NonAlternativePDBSelector_get_version_info(self)
13376 """__str__(NonAlternativePDBSelector self) -> std::string"""
13377 return _IMP_atom.NonAlternativePDBSelector___str__(self)
13380 def __repr__(self):
13381 """__repr__(NonAlternativePDBSelector self) -> std::string"""
13382 return _IMP_atom.NonAlternativePDBSelector___repr__(self)
13387 return _object_cast_to_NonAlternativePDBSelector(o)
13389 NonAlternativePDBSelector_swigregister = _IMP_atom.NonAlternativePDBSelector_swigregister
13390 NonAlternativePDBSelector_swigregister(NonAlternativePDBSelector)
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')
13396 def __init__(self, *args):
13398 __init__(IMP::atom::ATOMPDBSelector self, std::string name) -> ATOMPDBSelector
13399 __init__(IMP::atom::ATOMPDBSelector self) -> ATOMPDBSelector
13401 this = _IMP_atom.new_ATOMPDBSelector(*args)
13403 self.this.append(this)
13408 """__str__(ATOMPDBSelector self) -> std::string"""
13409 return _IMP_atom.ATOMPDBSelector___str__(self)
13412 def __repr__(self):
13413 """__repr__(ATOMPDBSelector self) -> std::string"""
13414 return _IMP_atom.ATOMPDBSelector___repr__(self)
13419 return _object_cast_to_ATOMPDBSelector(o)
13421 ATOMPDBSelector_swigregister = _IMP_atom.ATOMPDBSelector_swigregister
13422 ATOMPDBSelector_swigregister(ATOMPDBSelector)
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')
13428 def __init__(self, *args):
13430 __init__(IMP::atom::CAlphaPDBSelector self, std::string name) -> CAlphaPDBSelector
13431 __init__(IMP::atom::CAlphaPDBSelector self) -> CAlphaPDBSelector
13433 this = _IMP_atom.new_CAlphaPDBSelector(*args)
13435 self.this.append(this)
13440 """__str__(CAlphaPDBSelector self) -> std::string"""
13441 return _IMP_atom.CAlphaPDBSelector___str__(self)
13444 def __repr__(self):
13445 """__repr__(CAlphaPDBSelector self) -> std::string"""
13446 return _IMP_atom.CAlphaPDBSelector___repr__(self)
13451 return _object_cast_to_CAlphaPDBSelector(o)
13453 CAlphaPDBSelector_swigregister = _IMP_atom.CAlphaPDBSelector_swigregister
13454 CAlphaPDBSelector_swigregister(CAlphaPDBSelector)
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')
13460 def __init__(self, *args):
13462 __init__(IMP::atom::CBetaPDBSelector self, std::string name) -> CBetaPDBSelector
13463 __init__(IMP::atom::CBetaPDBSelector self) -> CBetaPDBSelector
13465 this = _IMP_atom.new_CBetaPDBSelector(*args)
13467 self.this.append(this)
13472 """__str__(CBetaPDBSelector self) -> std::string"""
13473 return _IMP_atom.CBetaPDBSelector___str__(self)
13476 def __repr__(self):
13477 """__repr__(CBetaPDBSelector self) -> std::string"""
13478 return _IMP_atom.CBetaPDBSelector___repr__(self)
13483 return _object_cast_to_CBetaPDBSelector(o)
13485 CBetaPDBSelector_swigregister = _IMP_atom.CBetaPDBSelector_swigregister
13486 CBetaPDBSelector_swigregister(CBetaPDBSelector)
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')
13492 def __init__(self, *args):
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
13497 this = _IMP_atom.new_AtomTypePDBSelector(*args)
13499 self.this.append(this)
13503 def get_version_info(self):
13504 """get_version_info(AtomTypePDBSelector self) -> VersionInfo"""
13505 return _IMP_atom.AtomTypePDBSelector_get_version_info(self)
13509 """__str__(AtomTypePDBSelector self) -> std::string"""
13510 return _IMP_atom.AtomTypePDBSelector___str__(self)
13513 def __repr__(self):
13514 """__repr__(AtomTypePDBSelector self) -> std::string"""
13515 return _IMP_atom.AtomTypePDBSelector___repr__(self)
13520 return _object_cast_to_AtomTypePDBSelector(o)
13522 AtomTypePDBSelector_swigregister = _IMP_atom.AtomTypePDBSelector_swigregister
13523 AtomTypePDBSelector_swigregister(AtomTypePDBSelector)
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')
13529 def __init__(self, *args):
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
13534 this = _IMP_atom.new_ResidueTypePDBSelector(*args)
13536 self.this.append(this)
13540 def get_version_info(self):
13541 """get_version_info(ResidueTypePDBSelector self) -> VersionInfo"""
13542 return _IMP_atom.ResidueTypePDBSelector_get_version_info(self)
13546 """__str__(ResidueTypePDBSelector self) -> std::string"""
13547 return _IMP_atom.ResidueTypePDBSelector___str__(self)
13550 def __repr__(self):
13551 """__repr__(ResidueTypePDBSelector self) -> std::string"""
13552 return _IMP_atom.ResidueTypePDBSelector___repr__(self)
13557 return _object_cast_to_ResidueTypePDBSelector(o)
13559 ResidueTypePDBSelector_swigregister = _IMP_atom.ResidueTypePDBSelector_swigregister
13560 ResidueTypePDBSelector_swigregister(ResidueTypePDBSelector)
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')
13566 def __init__(self, *args):
13568 __init__(IMP::atom::CPDBSelector self, std::string name) -> CPDBSelector
13569 __init__(IMP::atom::CPDBSelector self) -> CPDBSelector
13571 this = _IMP_atom.new_CPDBSelector(*args)
13573 self.this.append(this)
13578 """__str__(CPDBSelector self) -> std::string"""
13579 return _IMP_atom.CPDBSelector___str__(self)
13582 def __repr__(self):
13583 """__repr__(CPDBSelector self) -> std::string"""
13584 return _IMP_atom.CPDBSelector___repr__(self)
13589 return _object_cast_to_CPDBSelector(o)
13591 CPDBSelector_swigregister = _IMP_atom.CPDBSelector_swigregister
13592 CPDBSelector_swigregister(CPDBSelector)
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')
13598 def __init__(self, *args):
13600 __init__(IMP::atom::NPDBSelector self, std::string name) -> NPDBSelector
13601 __init__(IMP::atom::NPDBSelector self) -> NPDBSelector
13603 this = _IMP_atom.new_NPDBSelector(*args)
13605 self.this.append(this)
13610 """__str__(NPDBSelector self) -> std::string"""
13611 return _IMP_atom.NPDBSelector___str__(self)
13614 def __repr__(self):
13615 """__repr__(NPDBSelector self) -> std::string"""
13616 return _IMP_atom.NPDBSelector___repr__(self)
13621 return _object_cast_to_NPDBSelector(o)
13623 NPDBSelector_swigregister = _IMP_atom.NPDBSelector_swigregister
13624 NPDBSelector_swigregister(NPDBSelector)
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')
13630 def __init__(self, *args):
13632 __init__(IMP::atom::AllPDBSelector self, std::string name) -> AllPDBSelector
13633 __init__(IMP::atom::AllPDBSelector self) -> AllPDBSelector
13635 this = _IMP_atom.new_AllPDBSelector(*args)
13637 self.this.append(this)
13641 def get_version_info(self):
13642 """get_version_info(AllPDBSelector self) -> VersionInfo"""
13643 return _IMP_atom.AllPDBSelector_get_version_info(self)
13647 """__str__(AllPDBSelector self) -> std::string"""
13648 return _IMP_atom.AllPDBSelector___str__(self)
13651 def __repr__(self):
13652 """__repr__(AllPDBSelector self) -> std::string"""
13653 return _IMP_atom.AllPDBSelector___repr__(self)
13658 return _object_cast_to_AllPDBSelector(o)
13660 AllPDBSelector_swigregister = _IMP_atom.AllPDBSelector_swigregister
13661 AllPDBSelector_swigregister(AllPDBSelector)
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')
13667 def __init__(self, *args):
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
13672 this = _IMP_atom.new_ChainPDBSelector(*args)
13674 self.this.append(this)
13679 """__str__(ChainPDBSelector self) -> std::string"""
13680 return _IMP_atom.ChainPDBSelector___str__(self)
13683 def __repr__(self):
13684 """__repr__(ChainPDBSelector self) -> std::string"""
13685 return _IMP_atom.ChainPDBSelector___repr__(self)
13690 return _object_cast_to_ChainPDBSelector(o)
13692 ChainPDBSelector_swigregister = _IMP_atom.ChainPDBSelector_swigregister
13693 ChainPDBSelector_swigregister(ChainPDBSelector)
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')
13699 def __init__(self, *args):
13701 __init__(IMP::atom::WaterPDBSelector self, std::string name) -> WaterPDBSelector
13702 __init__(IMP::atom::WaterPDBSelector self) -> WaterPDBSelector
13704 this = _IMP_atom.new_WaterPDBSelector(*args)
13706 self.this.append(this)
13711 """__str__(WaterPDBSelector self) -> std::string"""
13712 return _IMP_atom.WaterPDBSelector___str__(self)
13715 def __repr__(self):
13716 """__repr__(WaterPDBSelector self) -> std::string"""
13717 return _IMP_atom.WaterPDBSelector___repr__(self)
13722 return _object_cast_to_WaterPDBSelector(o)
13724 WaterPDBSelector_swigregister = _IMP_atom.WaterPDBSelector_swigregister
13725 WaterPDBSelector_swigregister(WaterPDBSelector)
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')
13731 def __init__(self, *args):
13733 __init__(IMP::atom::HydrogenPDBSelector self, std::string name) -> HydrogenPDBSelector
13734 __init__(IMP::atom::HydrogenPDBSelector self) -> HydrogenPDBSelector
13736 this = _IMP_atom.new_HydrogenPDBSelector(*args)
13738 self.this.append(this)
13743 """__str__(HydrogenPDBSelector self) -> std::string"""
13744 return _IMP_atom.HydrogenPDBSelector___str__(self)
13747 def __repr__(self):
13748 """__repr__(HydrogenPDBSelector self) -> std::string"""
13749 return _IMP_atom.HydrogenPDBSelector___repr__(self)
13754 return _object_cast_to_HydrogenPDBSelector(o)
13756 HydrogenPDBSelector_swigregister = _IMP_atom.HydrogenPDBSelector_swigregister
13757 HydrogenPDBSelector_swigregister(HydrogenPDBSelector)
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')
13763 def __init__(self, *args):
13765 __init__(IMP::atom::NonWaterNonHydrogenPDBSelector self, std::string name) -> NonWaterNonHydrogenPDBSelector
13766 __init__(IMP::atom::NonWaterNonHydrogenPDBSelector self) -> NonWaterNonHydrogenPDBSelector
13768 this = _IMP_atom.new_NonWaterNonHydrogenPDBSelector(*args)
13770 self.this.append(this)
13775 """__str__(NonWaterNonHydrogenPDBSelector self) -> std::string"""
13776 return _IMP_atom.NonWaterNonHydrogenPDBSelector___str__(self)
13779 def __repr__(self):
13780 """__repr__(NonWaterNonHydrogenPDBSelector self) -> std::string"""
13781 return _IMP_atom.NonWaterNonHydrogenPDBSelector___repr__(self)
13786 return _object_cast_to_NonWaterNonHydrogenPDBSelector(o)
13788 NonWaterNonHydrogenPDBSelector_swigregister = _IMP_atom.NonWaterNonHydrogenPDBSelector_swigregister
13789 NonWaterNonHydrogenPDBSelector_swigregister(NonWaterNonHydrogenPDBSelector)
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')
13795 def __init__(self, *args):
13797 __init__(IMP::atom::NonHydrogenPDBSelector self, std::string name) -> NonHydrogenPDBSelector
13798 __init__(IMP::atom::NonHydrogenPDBSelector self) -> NonHydrogenPDBSelector
13800 this = _IMP_atom.new_NonHydrogenPDBSelector(*args)
13802 self.this.append(this)
13807 """__str__(NonHydrogenPDBSelector self) -> std::string"""
13808 return _IMP_atom.NonHydrogenPDBSelector___str__(self)
13811 def __repr__(self):
13812 """__repr__(NonHydrogenPDBSelector self) -> std::string"""
13813 return _IMP_atom.NonHydrogenPDBSelector___repr__(self)
13818 return _object_cast_to_NonHydrogenPDBSelector(o)
13820 NonHydrogenPDBSelector_swigregister = _IMP_atom.NonHydrogenPDBSelector_swigregister
13821 NonHydrogenPDBSelector_swigregister(NonHydrogenPDBSelector)
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')
13827 def __init__(self, *args):
13829 __init__(IMP::atom::NonWaterPDBSelector self, std::string name) -> NonWaterPDBSelector
13830 __init__(IMP::atom::NonWaterPDBSelector self) -> NonWaterPDBSelector
13832 this = _IMP_atom.new_NonWaterPDBSelector(*args)
13834 self.this.append(this)
13839 """__str__(NonWaterPDBSelector self) -> std::string"""
13840 return _IMP_atom.NonWaterPDBSelector___str__(self)
13843 def __repr__(self):
13844 """__repr__(NonWaterPDBSelector self) -> std::string"""
13845 return _IMP_atom.NonWaterPDBSelector___repr__(self)
13850 return _object_cast_to_NonWaterPDBSelector(o)
13852 NonWaterPDBSelector_swigregister = _IMP_atom.NonWaterPDBSelector_swigregister
13853 NonWaterPDBSelector_swigregister(NonWaterPDBSelector)
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')
13859 def __init__(self, *args):
13861 __init__(IMP::atom::BackbonePDBSelector self, std::string name) -> BackbonePDBSelector
13862 __init__(IMP::atom::BackbonePDBSelector self) -> BackbonePDBSelector
13864 this = _IMP_atom.new_BackbonePDBSelector(*args)
13866 self.this.append(this)
13871 """__str__(BackbonePDBSelector self) -> std::string"""
13872 return _IMP_atom.BackbonePDBSelector___str__(self)
13875 def __repr__(self):
13876 """__repr__(BackbonePDBSelector self) -> std::string"""
13877 return _IMP_atom.BackbonePDBSelector___repr__(self)
13882 return _object_cast_to_BackbonePDBSelector(o)
13884 BackbonePDBSelector_swigregister = _IMP_atom.BackbonePDBSelector_swigregister
13885 BackbonePDBSelector_swigregister(BackbonePDBSelector)
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')
13891 def __init__(self, *args):
13893 __init__(IMP::atom::PPDBSelector self, std::string name) -> PPDBSelector
13894 __init__(IMP::atom::PPDBSelector self) -> PPDBSelector
13896 this = _IMP_atom.new_PPDBSelector(*args)
13898 self.this.append(this)
13903 """__str__(PPDBSelector self) -> std::string"""
13904 return _IMP_atom.PPDBSelector___str__(self)
13907 def __repr__(self):
13908 """__repr__(PPDBSelector self) -> std::string"""
13909 return _IMP_atom.PPDBSelector___repr__(self)
13914 return _object_cast_to_PPDBSelector(o)
13916 PPDBSelector_swigregister = _IMP_atom.PPDBSelector_swigregister
13917 PPDBSelector_swigregister(PPDBSelector)
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')
13923 def get_version_info(self):
13924 """get_version_info(AndPDBSelector self) -> VersionInfo"""
13925 return _IMP_atom.AndPDBSelector_get_version_info(self)
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)
13932 self.this.append(this)
13937 """__str__(AndPDBSelector self) -> std::string"""
13938 return _IMP_atom.AndPDBSelector___str__(self)
13941 def __repr__(self):
13942 """__repr__(AndPDBSelector self) -> std::string"""
13943 return _IMP_atom.AndPDBSelector___repr__(self)
13948 return _object_cast_to_AndPDBSelector(o)
13950 AndPDBSelector_swigregister = _IMP_atom.AndPDBSelector_swigregister
13951 AndPDBSelector_swigregister(AndPDBSelector)
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')
13957 def get_version_info(self):
13958 """get_version_info(OrPDBSelector self) -> VersionInfo"""
13959 return _IMP_atom.OrPDBSelector_get_version_info(self)
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)
13966 self.this.append(this)
13971 """__str__(OrPDBSelector self) -> std::string"""
13972 return _IMP_atom.OrPDBSelector___str__(self)
13975 def __repr__(self):
13976 """__repr__(OrPDBSelector self) -> std::string"""
13977 return _IMP_atom.OrPDBSelector___repr__(self)
13982 return _object_cast_to_OrPDBSelector(o)
13984 OrPDBSelector_swigregister = _IMP_atom.OrPDBSelector_swigregister
13985 OrPDBSelector_swigregister(OrPDBSelector)
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')
13991 def get_version_info(self):
13992 """get_version_info(XorPDBSelector self) -> VersionInfo"""
13993 return _IMP_atom.XorPDBSelector_get_version_info(self)
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)
14000 self.this.append(this)
14005 """__str__(XorPDBSelector self) -> std::string"""
14006 return _IMP_atom.XorPDBSelector___str__(self)
14009 def __repr__(self):
14010 """__repr__(XorPDBSelector self) -> std::string"""
14011 return _IMP_atom.XorPDBSelector___repr__(self)
14016 return _object_cast_to_XorPDBSelector(o)
14018 XorPDBSelector_swigregister = _IMP_atom.XorPDBSelector_swigregister
14019 XorPDBSelector_swigregister(XorPDBSelector)
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')
14025 def get_version_info(self):
14026 """get_version_info(NotPDBSelector self) -> VersionInfo"""
14027 return _IMP_atom.NotPDBSelector_get_version_info(self)
14030 def __init__(self, a):
14031 """__init__(IMP::atom::NotPDBSelector self, PDBSelector a) -> NotPDBSelector"""
14032 this = _IMP_atom.new_NotPDBSelector(a)
14034 self.this.append(this)
14039 """__str__(NotPDBSelector self) -> std::string"""
14040 return _IMP_atom.NotPDBSelector___str__(self)
14043 def __repr__(self):
14044 """__repr__(NotPDBSelector self) -> std::string"""
14045 return _IMP_atom.NotPDBSelector___repr__(self)
14050 return _object_cast_to_NotPDBSelector(o)
14052 NotPDBSelector_swigregister = _IMP_atom.NotPDBSelector_swigregister
14053 NotPDBSelector_swigregister(NotPDBSelector)
14056 def get_default_pdb_selector():
14057 """get_default_pdb_selector() -> PDBSelector"""
14058 return _IMP_atom.get_default_pdb_selector()
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)
14068 return _IMP_atom.read_pdb(*args)
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
14076 return _IMP_atom.read_multimodel_pdb(*args)
14080 write_pdb(Selection mhd, TextOutput out, unsigned int model=1)
14081 write_pdb(Selection mhd, TextOutput out)
14083 return _IMP_atom.write_pdb(mhd, out, model)
14087 write_pdb_of_c_alphas(Selection mhd, TextOutput out, unsigned int model=1)
14088 write_pdb_of_c_alphas(Selection mhd, TextOutput out)
14090 return _IMP_atom.write_pdb_of_c_alphas(mhd, out, model)
14093 """write_multimodel_pdb(IMP::atom::Hierarchies const & mhd, TextOutput out)"""
14094 return _IMP_atom.write_multimodel_pdb(mhd, out)
14096 def get_pdb_string(*args):
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
14109 return _IMP_atom.get_pdb_string(*args)
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)
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')
14118 def __init__(self, *args):
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
14123 this = _IMP_atom.new_WritePDBOptimizerState(*args)
14125 self.this.append(this)
14129 def get_version_info(self):
14130 """get_version_info(WritePDBOptimizerState self) -> VersionInfo"""
14131 return _IMP_atom.WritePDBOptimizerState_get_version_info(self)
14135 """__str__(WritePDBOptimizerState self) -> std::string"""
14136 return _IMP_atom.WritePDBOptimizerState___str__(self)
14139 def __repr__(self):
14140 """__repr__(WritePDBOptimizerState self) -> std::string"""
14141 return _IMP_atom.WritePDBOptimizerState___repr__(self)
14146 return _object_cast_to_WritePDBOptimizerState(o)
14148 WritePDBOptimizerState_swigregister = _IMP_atom.WritePDBOptimizerState_swigregister
14149 WritePDBOptimizerState_swigregister(WritePDBOptimizerState)
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
14158 return _IMP_atom.read_multimodel_mmcif(*args)
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
14167 return _IMP_atom.read_mmcif(*args)
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
14176 return _IMP_atom.read_pdb_or_mmcif(*args)
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
14184 return _IMP_atom.read_multimodel_pdb_or_mmcif(*args)
14187 """get_kt(double T) -> double"""
14188 return _IMP_atom.get_kt(T)
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')
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)
14197 self.this.append(this)
14201 def do_get_inputs(self):
14202 """do_get_inputs(CAAngleRestraint self) -> IMP::ModelObjectsTemp"""
14203 return _IMP_atom.CAAngleRestraint_do_get_inputs(self)
14206 def get_version_info(self):
14207 """get_version_info(CAAngleRestraint self) -> VersionInfo"""
14208 return _IMP_atom.CAAngleRestraint_get_version_info(self)
14212 """__str__(CAAngleRestraint self) -> std::string"""
14213 return _IMP_atom.CAAngleRestraint___str__(self)
14216 def __repr__(self):
14217 """__repr__(CAAngleRestraint self) -> std::string"""
14218 return _IMP_atom.CAAngleRestraint___repr__(self)
14223 return _object_cast_to_CAAngleRestraint(o)
14225 CAAngleRestraint_swigregister = _IMP_atom.CAAngleRestraint_swigregister
14226 CAAngleRestraint_swigregister(CAAngleRestraint)
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')
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)
14236 self.this.append(this)
14240 def do_get_inputs(self):
14241 """do_get_inputs(CADihedralRestraint self) -> IMP::ModelObjectsTemp"""
14242 return _IMP_atom.CADihedralRestraint_do_get_inputs(self)
14245 def get_version_info(self):
14246 """get_version_info(CADihedralRestraint self) -> VersionInfo"""
14247 return _IMP_atom.CADihedralRestraint_get_version_info(self)
14251 """__str__(CADihedralRestraint self) -> std::string"""
14252 return _IMP_atom.CADihedralRestraint___str__(self)
14255 def __repr__(self):
14256 """__repr__(CADihedralRestraint self) -> std::string"""
14257 return _IMP_atom.CADihedralRestraint___repr__(self)
14262 return _object_cast_to_CADihedralRestraint(o)
14264 CADihedralRestraint_swigregister = _IMP_atom.CADihedralRestraint_swigregister
14265 CADihedralRestraint_swigregister(CADihedralRestraint)
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')
14271 def get_source_id(self):
14272 """get_source_id(StructureSource self) -> std::string"""
14273 return _IMP_atom.StructureSource_get_source_id(self)
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)
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)
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)
14291 def __init__(self, *args):
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
14297 this = _IMP_atom.new_StructureSource(*args)
14299 self.this.append(this)
14303 def get_is_setup(*args):
14305 get_is_setup(Model m, ParticleIndex pi) -> bool
14306 get_is_setup(_ParticleAdaptor p) -> bool
14308 return _IMP_atom.StructureSource_get_is_setup(*args)
14310 get_is_setup = staticmethod(get_is_setup)
14312 def show(self, *args):
14314 show(StructureSource self, _ostream out)
14315 show(StructureSource self)
14317 return _IMP_atom.StructureSource_show(self, *args)
14320 def setup_particle(*args):
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
14325 return _IMP_atom.StructureSource_setup_particle(*args)
14327 setup_particle = staticmethod(setup_particle)
14329 def add_attribute(self, *args):
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)
14340 return _IMP_atom.StructureSource_add_attribute(self, *args)
14343 def get_value(self, *args):
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
14353 return _IMP_atom.StructureSource_get_value(self, *args)
14356 def set_value(self, *args):
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)
14366 return _IMP_atom.StructureSource_set_value(self, *args)
14369 def remove_attribute(self, *args):
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)
14379 return _IMP_atom.StructureSource_remove_attribute(self, *args)
14382 def has_attribute(self, *args):
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
14392 return _IMP_atom.StructureSource_has_attribute(self, *args)
14395 def get_derivative(self, a0):
14396 """get_derivative(StructureSource self, FloatKey a0) -> double"""
14397 return _IMP_atom.StructureSource_get_derivative(self, a0)
14400 def get_name(self):
14401 """get_name(StructureSource self) -> std::string"""
14402 return _IMP_atom.StructureSource_get_name(self)
14405 def clear_caches(self):
14406 """clear_caches(StructureSource self)"""
14407 return _IMP_atom.StructureSource_clear_caches(self)
14410 def set_name(self, a0):
14411 """set_name(StructureSource self, std::string a0)"""
14412 return _IMP_atom.StructureSource_set_name(self, a0)
14416 """set_check_level(StructureSource self, IMP::CheckLevel a0)"""
14417 return _IMP_atom.StructureSource_set_check_level(self, a0)
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)
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)
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)
14436 """get_check_level(StructureSource self) -> IMP::CheckLevel"""
14437 return _IMP_atom.StructureSource_get_check_level(self)
14440 def __eq__(self, *args):
14442 __eq__(StructureSource self, StructureSource o) -> bool
14443 __eq__(StructureSource self, Particle d) -> bool
14445 return _IMP_atom.StructureSource___eq__(self, *args)
14448 def __ne__(self, *args):
14450 __ne__(StructureSource self, StructureSource o) -> bool
14451 __ne__(StructureSource self, Particle d) -> bool
14453 return _IMP_atom.StructureSource___ne__(self, *args)
14456 def __le__(self, *args):
14458 __le__(StructureSource self, StructureSource o) -> bool
14459 __le__(StructureSource self, Particle d) -> bool
14461 return _IMP_atom.StructureSource___le__(self, *args)
14464 def __lt__(self, *args):
14466 __lt__(StructureSource self, StructureSource o) -> bool
14467 __lt__(StructureSource self, Particle d) -> bool
14469 return _IMP_atom.StructureSource___lt__(self, *args)
14472 def __ge__(self, *args):
14474 __ge__(StructureSource self, StructureSource o) -> bool
14475 __ge__(StructureSource self, Particle d) -> bool
14477 return _IMP_atom.StructureSource___ge__(self, *args)
14480 def __gt__(self, *args):
14482 __gt__(StructureSource self, StructureSource o) -> bool
14483 __gt__(StructureSource self, Particle d) -> bool
14485 return _IMP_atom.StructureSource___gt__(self, *args)
14488 def __hash__(self):
14489 """__hash__(StructureSource self) -> std::size_t"""
14490 return _IMP_atom.StructureSource___hash__(self)
14494 """__str__(StructureSource self) -> std::string"""
14495 return _IMP_atom.StructureSource___str__(self)
14498 def __repr__(self):
14499 """__repr__(StructureSource self) -> std::string"""
14500 return _IMP_atom.StructureSource___repr__(self)
14502 __swig_destroy__ = _IMP_atom.delete_StructureSource
14503 __del__ =
lambda self:
None
14504 StructureSource_swigregister = _IMP_atom.StructureSource_swigregister
14505 StructureSource_swigregister(StructureSource)
14507 def StructureSource_get_is_setup(*args):
14509 get_is_setup(Model m, ParticleIndex pi) -> bool
14510 StructureSource_get_is_setup(_ParticleAdaptor p) -> bool
14512 return _IMP_atom.StructureSource_get_is_setup(*args)
14514 def StructureSource_setup_particle(*args):
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
14519 return _IMP_atom.StructureSource_setup_particle(*args)
14522 def __lshift__(*args):
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
14547 return _IMP_atom.__lshift__(*args)
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')
14552 def __init__(self, rs, ideal=True):
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
14557 this = _IMP_atom.new_HelixRestraint(rs, ideal)
14559 self.this.append(this)
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)
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)
14573 def do_get_inputs(self):
14574 """do_get_inputs(HelixRestraint self) -> IMP::ModelObjectsTemp"""
14575 return _IMP_atom.HelixRestraint_do_get_inputs(self)
14578 def get_version_info(self):
14579 """get_version_info(HelixRestraint self) -> VersionInfo"""
14580 return _IMP_atom.HelixRestraint_get_version_info(self)
14584 """__str__(HelixRestraint self) -> std::string"""
14585 return _IMP_atom.HelixRestraint___str__(self)
14588 def __repr__(self):
14589 """__repr__(HelixRestraint self) -> std::string"""
14590 return _IMP_atom.HelixRestraint___repr__(self)
14595 return _object_cast_to_HelixRestraint(o)
14597 HelixRestraint_swigregister = _IMP_atom.HelixRestraint_swigregister
14598 HelixRestraint_swigregister(HelixRestraint)
14602 """get_transformation_aligning_first_to_second(Selection s1, Selection s2) -> Transformation3D"""
14603 return _IMP_atom.get_transformation_aligning_first_to_second(s1, s2)
14607 show_molecular_hierarchy(Hierarchy h, _ostream out) -> _ostream
14608 show_molecular_hierarchy(Hierarchy h) -> _ostream
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
14616 def __init__(self, atoms):
14617 """__init__(IMP::atom::CHARMMConnection<(2)> self, IMP::Strings const & atoms) -> CHARMMBond"""
14618 this = _IMP_atom.new_CHARMMBond(atoms)
14620 self.this.append(this)
14624 def get_endpoint(self, i):
14625 """get_endpoint(CHARMMBond self, unsigned int i) -> CHARMMBondEndpoint"""
14626 return _IMP_atom.CHARMMBond_get_endpoint(self, i)
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)
14634 def show(self, *args):
14636 show(CHARMMBond self, _ostream out)
14637 show(CHARMMBond self)
14639 return _IMP_atom.CHARMMBond_show(self, *args)
14641 __swig_destroy__ = _IMP_atom.delete_CHARMMBond
14642 __del__ =
lambda self:
None
14643 CHARMMBond_swigregister = _IMP_atom.CHARMMBond_swigregister
14644 CHARMMBond_swigregister(CHARMMBond)
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
14651 def __init__(self, atoms):
14652 """__init__(IMP::atom::CHARMMConnection<(3)> self, IMP::Strings const & atoms) -> CHARMMAngle"""
14653 this = _IMP_atom.new_CHARMMAngle(atoms)
14655 self.this.append(this)
14659 def get_endpoint(self, i):
14660 """get_endpoint(CHARMMAngle self, unsigned int i) -> CHARMMBondEndpoint"""
14661 return _IMP_atom.CHARMMAngle_get_endpoint(self, i)
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)
14669 def show(self, *args):
14671 show(CHARMMAngle self, _ostream out)
14672 show(CHARMMAngle self)
14674 return _IMP_atom.CHARMMAngle_show(self, *args)
14676 __swig_destroy__ = _IMP_atom.delete_CHARMMAngle
14677 __del__ =
lambda self:
None
14678 CHARMMAngle_swigregister = _IMP_atom.CHARMMAngle_swigregister
14679 CHARMMAngle_swigregister(CHARMMAngle)
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)
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)
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)
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)
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)
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)
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)
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)
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)
14723 va= [IMP.algebra.get_vector(x)
for x
in a]
14724 vb= [IMP.algebra.get_vector(x)
for x
in b]
14726 return _get_rigid_bodies_drms_cpp(va, vb, ranges)
14731 """get_module_version() -> std::string const"""
14732 return _IMP_atom.get_module_version()
14735 """get_example_path(std::string fname) -> std::string"""
14736 return _IMP_atom.get_example_path(fname)
14739 """get_data_path(std::string fname) -> std::string"""
14740 return _IMP_atom.get_data_path(fname)
14742 from .
import _version_check
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.
Abstract class for scoring object(s) of type ParticleIndexPair.
A shared container for Pairs.
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.
Vector< AtomTypes > get_chi_dihedral_atom_types(ResidueType rt)
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.
Vector< VectorD< D > > get_vertices(const BoundingBoxD< D > &bb)
Return a list of the 2^D bounding points for the bounding box.
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)
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.
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.
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.
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)
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.
double get_radius_of_gyration(const Vector3Ds &ps)
Return the radius of gyration of a set of points.
A decorator for a particle with x,y,z coordinates.
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)
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.
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.
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.
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)
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.
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.
A decorator for a particle with x,y,z coordinates and a radius.