10 from __future__
import print_function, division, absolute_import
15 from sys
import version_info
16 if version_info >= (2, 6, 0):
17 def swig_import_helper():
18 from os.path
import dirname
22 fp, pathname, description = imp.find_module(
'_IMP_atom', [dirname(__file__)])
28 _mod = imp.load_module(
'_IMP_atom', fp, pathname, description)
32 _IMP_atom = swig_import_helper()
33 del swig_import_helper
38 _swig_property = property
43 def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
44 if (name ==
"thisown"):
45 return self.this.own(value)
47 if type(value).__name__ ==
'SwigPyObject':
48 self.__dict__[name] = value
50 method = class_type.__swig_setmethods__.get(name,
None)
52 return method(self, value)
54 object.__setattr__(self, name, value)
56 raise AttributeError(
"You cannot add attributes to %s" % self)
59 def _swig_setattr(self, class_type, name, value):
60 return _swig_setattr_nondynamic(self, class_type, name, value, 0)
63 def _swig_getattr_nondynamic(self, class_type, name, static=1):
64 if (name ==
"thisown"):
65 return self.this.own()
66 method = class_type.__swig_getmethods__.get(name,
None)
70 return object.__getattr__(self, name)
72 raise AttributeError(name)
74 def _swig_getattr(self, class_type, name):
75 return _swig_getattr_nondynamic(self, class_type, name, 0)
80 strthis =
"proxy of " + self.this.__repr__()
83 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
88 except AttributeError:
95 def _swig_setattr_nondynamic_method(set):
96 def set_attr(self, name, value):
97 if (name ==
"thisown"):
98 return self.this.own(value)
99 if hasattr(self, name)
or (name ==
"this"):
100 set(self, name, value)
102 raise AttributeError(
"You cannot add attributes to %s" % self)
108 weakref_proxy = weakref.proxy
110 weakref_proxy =
lambda x: x
113 class IMP_ATOM_SwigPyIterator(object):
114 """Proxy of C++ swig::IMP_ATOM_SwigPyIterator class."""
116 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
118 def __init__(self, *args, **kwargs):
119 raise AttributeError(
"No constructor defined - class is abstract")
120 __repr__ = _swig_repr
121 __swig_destroy__ = _IMP_atom.delete_IMP_ATOM_SwigPyIterator
122 __del__ =
lambda self:
None
125 """value(IMP_ATOM_SwigPyIterator self) -> PyObject *"""
126 return _IMP_atom.IMP_ATOM_SwigPyIterator_value(self)
131 incr(IMP_ATOM_SwigPyIterator self, size_t n=1) -> IMP_ATOM_SwigPyIterator
132 incr(IMP_ATOM_SwigPyIterator self) -> IMP_ATOM_SwigPyIterator
134 return _IMP_atom.IMP_ATOM_SwigPyIterator_incr(self, n)
139 decr(IMP_ATOM_SwigPyIterator self, size_t n=1) -> IMP_ATOM_SwigPyIterator
140 decr(IMP_ATOM_SwigPyIterator self) -> IMP_ATOM_SwigPyIterator
142 return _IMP_atom.IMP_ATOM_SwigPyIterator_decr(self, n)
145 def distance(self, x):
146 """distance(IMP_ATOM_SwigPyIterator self, IMP_ATOM_SwigPyIterator x) -> ptrdiff_t"""
147 return _IMP_atom.IMP_ATOM_SwigPyIterator_distance(self, x)
151 """equal(IMP_ATOM_SwigPyIterator self, IMP_ATOM_SwigPyIterator x) -> bool"""
152 return _IMP_atom.IMP_ATOM_SwigPyIterator_equal(self, x)
156 """copy(IMP_ATOM_SwigPyIterator self) -> IMP_ATOM_SwigPyIterator"""
157 return _IMP_atom.IMP_ATOM_SwigPyIterator_copy(self)
161 """next(IMP_ATOM_SwigPyIterator self) -> PyObject *"""
162 return _IMP_atom.IMP_ATOM_SwigPyIterator_next(self)
166 """__next__(IMP_ATOM_SwigPyIterator self) -> PyObject *"""
167 return _IMP_atom.IMP_ATOM_SwigPyIterator___next__(self)
171 """previous(IMP_ATOM_SwigPyIterator self) -> PyObject *"""
172 return _IMP_atom.IMP_ATOM_SwigPyIterator_previous(self)
175 def advance(self, n):
176 """advance(IMP_ATOM_SwigPyIterator self, ptrdiff_t n) -> IMP_ATOM_SwigPyIterator"""
177 return _IMP_atom.IMP_ATOM_SwigPyIterator_advance(self, n)
181 """__eq__(IMP_ATOM_SwigPyIterator self, IMP_ATOM_SwigPyIterator x) -> bool"""
182 return _IMP_atom.IMP_ATOM_SwigPyIterator___eq__(self, x)
186 """__ne__(IMP_ATOM_SwigPyIterator self, IMP_ATOM_SwigPyIterator x) -> bool"""
187 return _IMP_atom.IMP_ATOM_SwigPyIterator___ne__(self, x)
190 def __iadd__(self, n):
191 """__iadd__(IMP_ATOM_SwigPyIterator self, ptrdiff_t n) -> IMP_ATOM_SwigPyIterator"""
192 return _IMP_atom.IMP_ATOM_SwigPyIterator___iadd__(self, n)
195 def __isub__(self, n):
196 """__isub__(IMP_ATOM_SwigPyIterator self, ptrdiff_t n) -> IMP_ATOM_SwigPyIterator"""
197 return _IMP_atom.IMP_ATOM_SwigPyIterator___isub__(self, n)
200 def __add__(self, n):
201 """__add__(IMP_ATOM_SwigPyIterator self, ptrdiff_t n) -> IMP_ATOM_SwigPyIterator"""
202 return _IMP_atom.IMP_ATOM_SwigPyIterator___add__(self, n)
205 def __sub__(self, *args):
207 __sub__(IMP_ATOM_SwigPyIterator self, ptrdiff_t n) -> IMP_ATOM_SwigPyIterator
208 __sub__(IMP_ATOM_SwigPyIterator self, IMP_ATOM_SwigPyIterator x) -> ptrdiff_t
210 return _IMP_atom.IMP_ATOM_SwigPyIterator___sub__(self, *args)
214 IMP_ATOM_SwigPyIterator_swigregister = _IMP_atom.IMP_ATOM_SwigPyIterator_swigregister
215 IMP_ATOM_SwigPyIterator_swigregister(IMP_ATOM_SwigPyIterator)
224 _IMP_atom.IMP_DEBUG_swigconstant(_IMP_atom)
225 IMP_DEBUG = _IMP_atom.IMP_DEBUG
227 _IMP_atom.IMP_RELEASE_swigconstant(_IMP_atom)
228 IMP_RELEASE = _IMP_atom.IMP_RELEASE
230 _IMP_atom.IMP_SILENT_swigconstant(_IMP_atom)
231 IMP_SILENT = _IMP_atom.IMP_SILENT
233 _IMP_atom.IMP_PROGRESS_swigconstant(_IMP_atom)
234 IMP_PROGRESS = _IMP_atom.IMP_PROGRESS
236 _IMP_atom.IMP_TERSE_swigconstant(_IMP_atom)
237 IMP_TERSE = _IMP_atom.IMP_TERSE
239 _IMP_atom.IMP_VERBOSE_swigconstant(_IMP_atom)
240 IMP_VERBOSE = _IMP_atom.IMP_VERBOSE
242 _IMP_atom.IMP_MEMORY_swigconstant(_IMP_atom)
243 IMP_MEMORY = _IMP_atom.IMP_MEMORY
245 _IMP_atom.IMP_NONE_swigconstant(_IMP_atom)
246 IMP_NONE = _IMP_atom.IMP_NONE
248 _IMP_atom.IMP_USAGE_swigconstant(_IMP_atom)
249 IMP_USAGE = _IMP_atom.IMP_USAGE
251 _IMP_atom.IMP_INTERNAL_swigconstant(_IMP_atom)
252 IMP_INTERNAL = _IMP_atom.IMP_INTERNAL
254 _IMP_atom.IMP_KERNEL_HAS_LOG4CXX_swigconstant(_IMP_atom)
255 IMP_KERNEL_HAS_LOG4CXX = _IMP_atom.IMP_KERNEL_HAS_LOG4CXX
257 _IMP_atom.IMP_COMPILER_HAS_AUTO_swigconstant(_IMP_atom)
258 IMP_COMPILER_HAS_AUTO = _IMP_atom.IMP_COMPILER_HAS_AUTO
260 _IMP_atom.IMP_COMPILER_HAS_DEBUG_VECTOR_swigconstant(_IMP_atom)
261 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_atom.IMP_COMPILER_HAS_DEBUG_VECTOR
263 _IMP_atom.IMP_COMPILER_HAS_UNIQUE_PTR_swigconstant(_IMP_atom)
264 IMP_COMPILER_HAS_UNIQUE_PTR = _IMP_atom.IMP_COMPILER_HAS_UNIQUE_PTR
266 _IMP_atom.IMP_KERNEL_HAS_BOOST_RANDOM_swigconstant(_IMP_atom)
267 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_atom.IMP_KERNEL_HAS_BOOST_RANDOM
269 _IMP_atom.IMP_KERNEL_HAS_GPERFTOOLS_swigconstant(_IMP_atom)
270 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_atom.IMP_KERNEL_HAS_GPERFTOOLS
272 _IMP_atom.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER_swigconstant(_IMP_atom)
273 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_atom.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
275 _IMP_atom.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER_swigconstant(_IMP_atom)
276 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_atom.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
278 _IMP_atom.IMPKERNEL_SHOW_WARNINGS_swigconstant(_IMP_atom)
279 IMPKERNEL_SHOW_WARNINGS = _IMP_atom.IMPKERNEL_SHOW_WARNINGS
282 class _DirectorObjects(object):
283 """@internal Simple class to keep references to director objects
284 to prevent premature deletion."""
287 def register(self, obj):
288 """Take a reference to a director object; will only work for
289 refcounted C++ classes"""
290 if hasattr(obj,
'get_ref_count'):
291 self._objects.append(obj)
293 """Only drop our reference and allow cleanup by Python if no other
294 Python references exist (we hold 3 references: one in self._objects,
295 one in x, and one in the argument list for getrefcount) *and* no
296 other C++ references exist (the Python object always holds one)"""
297 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
298 or x.get_ref_count() > 1]
302 def get_object_count(self):
303 """Get number of director objects (useful for testing only)"""
304 return len(self._objects)
305 _director_objects = _DirectorObjects()
307 class _ostream(object):
308 """Proxy of C++ std::ostream class."""
310 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
312 def __init__(self, *args, **kwargs):
313 raise AttributeError(
"No constructor defined")
314 __repr__ = _swig_repr
316 def write(self, osa_buf):
317 """write(_ostream self, char const * osa_buf)"""
318 return _IMP_atom._ostream_write(self, osa_buf)
320 _ostream_swigregister = _IMP_atom._ostream_swigregister
321 _ostream_swigregister(_ostream)
324 _IMP_atom.IMP_COMPILER_HAS_OVERRIDE_swigconstant(_IMP_atom)
325 IMP_COMPILER_HAS_OVERRIDE = _IMP_atom.IMP_COMPILER_HAS_OVERRIDE
327 _IMP_atom.IMP_COMPILER_HAS_FINAL_swigconstant(_IMP_atom)
328 IMP_COMPILER_HAS_FINAL = _IMP_atom.IMP_COMPILER_HAS_FINAL
330 _IMP_atom.IMP_HAS_NOEXCEPT_swigconstant(_IMP_atom)
331 IMP_HAS_NOEXCEPT = _IMP_atom.IMP_HAS_NOEXCEPT
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.IMPCGAL_SHOW_WARNINGS_swigconstant(_IMP_atom)
347 IMPCGAL_SHOW_WARNINGS = _IMP_atom.IMPCGAL_SHOW_WARNINGS
350 _IMP_atom.IMP_ALGEBRA_HAS_IMP_CGAL_swigconstant(_IMP_atom)
351 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_atom.IMP_ALGEBRA_HAS_IMP_CGAL
353 _IMP_atom.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_atom)
354 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_atom.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
356 _IMP_atom.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_atom)
357 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_atom.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
359 _IMP_atom.IMP_ALGEBRA_HAS_BOOST_RANDOM_swigconstant(_IMP_atom)
360 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_atom.IMP_ALGEBRA_HAS_BOOST_RANDOM
362 _IMP_atom.IMP_ALGEBRA_HAS_BOOST_SYSTEM_swigconstant(_IMP_atom)
363 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_atom.IMP_ALGEBRA_HAS_BOOST_SYSTEM
365 _IMP_atom.IMP_ALGEBRA_HAS_CGAL_swigconstant(_IMP_atom)
366 IMP_ALGEBRA_HAS_CGAL = _IMP_atom.IMP_ALGEBRA_HAS_CGAL
368 _IMP_atom.IMP_ALGEBRA_HAS_ANN_swigconstant(_IMP_atom)
369 IMP_ALGEBRA_HAS_ANN = _IMP_atom.IMP_ALGEBRA_HAS_ANN
371 _IMP_atom.IMPALGEBRA_SHOW_WARNINGS_swigconstant(_IMP_atom)
372 IMPALGEBRA_SHOW_WARNINGS = _IMP_atom.IMPALGEBRA_SHOW_WARNINGS
375 _IMP_atom.IMP_DISPLAY_HAS_IMP_CGAL_swigconstant(_IMP_atom)
376 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_atom.IMP_DISPLAY_HAS_IMP_CGAL
378 _IMP_atom.IMP_DISPLAY_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_atom)
379 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_atom.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
381 _IMP_atom.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_atom)
382 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_atom.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
384 _IMP_atom.IMP_DISPLAY_HAS_BOOST_RANDOM_swigconstant(_IMP_atom)
385 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_atom.IMP_DISPLAY_HAS_BOOST_RANDOM
387 _IMP_atom.IMP_DISPLAY_HAS_BOOST_SYSTEM_swigconstant(_IMP_atom)
388 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_atom.IMP_DISPLAY_HAS_BOOST_SYSTEM
390 _IMP_atom.IMP_DISPLAY_HAS_CGAL_swigconstant(_IMP_atom)
391 IMP_DISPLAY_HAS_CGAL = _IMP_atom.IMP_DISPLAY_HAS_CGAL
393 _IMP_atom.IMPDISPLAY_SHOW_WARNINGS_swigconstant(_IMP_atom)
394 IMPDISPLAY_SHOW_WARNINGS = _IMP_atom.IMPDISPLAY_SHOW_WARNINGS
397 _IMP_atom.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL_swigconstant(_IMP_atom)
398 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_atom.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
400 _IMP_atom.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_atom)
401 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_atom.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
403 _IMP_atom.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_atom)
404 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_atom.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
406 _IMP_atom.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM_swigconstant(_IMP_atom)
407 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_atom.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
409 _IMP_atom.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM_swigconstant(_IMP_atom)
410 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_atom.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
412 _IMP_atom.IMP_SCORE_FUNCTOR_HAS_CGAL_swigconstant(_IMP_atom)
413 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_atom.IMP_SCORE_FUNCTOR_HAS_CGAL
415 _IMP_atom.IMP_SCORE_FUNCTOR_HAS_HDF5_swigconstant(_IMP_atom)
416 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_atom.IMP_SCORE_FUNCTOR_HAS_HDF5
418 _IMP_atom.IMPSCOREFUNCTOR_SHOW_WARNINGS_swigconstant(_IMP_atom)
419 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_atom.IMPSCOREFUNCTOR_SHOW_WARNINGS
422 _IMP_atom.IMP_CORE_HAS_IMP_CGAL_swigconstant(_IMP_atom)
423 IMP_CORE_HAS_IMP_CGAL = _IMP_atom.IMP_CORE_HAS_IMP_CGAL
425 _IMP_atom.IMP_CORE_HAS_IMP_KERNEL_swigconstant(_IMP_atom)
426 IMP_CORE_HAS_IMP_KERNEL = _IMP_atom.IMP_CORE_HAS_IMP_KERNEL
428 _IMP_atom.IMP_CORE_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_atom)
429 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_atom.IMP_CORE_HAS_BOOST_FILESYSTEM
431 _IMP_atom.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_atom)
432 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_atom.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
434 _IMP_atom.IMP_CORE_HAS_BOOST_RANDOM_swigconstant(_IMP_atom)
435 IMP_CORE_HAS_BOOST_RANDOM = _IMP_atom.IMP_CORE_HAS_BOOST_RANDOM
437 _IMP_atom.IMP_CORE_HAS_BOOST_SYSTEM_swigconstant(_IMP_atom)
438 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_atom.IMP_CORE_HAS_BOOST_SYSTEM
440 _IMP_atom.IMP_CORE_HAS_CGAL_swigconstant(_IMP_atom)
441 IMP_CORE_HAS_CGAL = _IMP_atom.IMP_CORE_HAS_CGAL
443 _IMP_atom.IMP_CORE_HAS_HDF5_swigconstant(_IMP_atom)
444 IMP_CORE_HAS_HDF5 = _IMP_atom.IMP_CORE_HAS_HDF5
446 _IMP_atom.IMPCORE_SHOW_WARNINGS_swigconstant(_IMP_atom)
447 IMPCORE_SHOW_WARNINGS = _IMP_atom.IMPCORE_SHOW_WARNINGS
450 _IMP_atom.IMP_CONTAINER_HAS_IMP_ALGEBRA_swigconstant(_IMP_atom)
451 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_atom.IMP_CONTAINER_HAS_IMP_ALGEBRA
453 _IMP_atom.IMP_CONTAINER_HAS_IMP_CGAL_swigconstant(_IMP_atom)
454 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_atom.IMP_CONTAINER_HAS_IMP_CGAL
456 _IMP_atom.IMP_CONTAINER_HAS_IMP_DISPLAY_swigconstant(_IMP_atom)
457 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_atom.IMP_CONTAINER_HAS_IMP_DISPLAY
459 _IMP_atom.IMP_CONTAINER_HAS_IMP_KERNEL_swigconstant(_IMP_atom)
460 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_atom.IMP_CONTAINER_HAS_IMP_KERNEL
462 _IMP_atom.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_atom)
463 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_atom.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
465 _IMP_atom.IMP_CONTAINER_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_atom)
466 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_atom.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
468 _IMP_atom.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_atom)
469 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_atom.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
471 _IMP_atom.IMP_CONTAINER_HAS_BOOST_RANDOM_swigconstant(_IMP_atom)
472 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_atom.IMP_CONTAINER_HAS_BOOST_RANDOM
474 _IMP_atom.IMP_CONTAINER_HAS_BOOST_SYSTEM_swigconstant(_IMP_atom)
475 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_atom.IMP_CONTAINER_HAS_BOOST_SYSTEM
477 _IMP_atom.IMP_CONTAINER_HAS_CGAL_swigconstant(_IMP_atom)
478 IMP_CONTAINER_HAS_CGAL = _IMP_atom.IMP_CONTAINER_HAS_CGAL
480 _IMP_atom.IMP_CONTAINER_HAS_HDF5_swigconstant(_IMP_atom)
481 IMP_CONTAINER_HAS_HDF5 = _IMP_atom.IMP_CONTAINER_HAS_HDF5
483 _IMP_atom.IMPCONTAINER_SHOW_WARNINGS_swigconstant(_IMP_atom)
484 IMPCONTAINER_SHOW_WARNINGS = _IMP_atom.IMPCONTAINER_SHOW_WARNINGS
487 _IMP_atom.IMP_ATOM_HAS_IMP_CGAL_swigconstant(_IMP_atom)
488 IMP_ATOM_HAS_IMP_CGAL = _IMP_atom.IMP_ATOM_HAS_IMP_CGAL
490 _IMP_atom.IMP_ATOM_HAS_IMP_KERNEL_swigconstant(_IMP_atom)
491 IMP_ATOM_HAS_IMP_KERNEL = _IMP_atom.IMP_ATOM_HAS_IMP_KERNEL
493 _IMP_atom.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_atom)
494 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_atom.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
496 _IMP_atom.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_atom)
497 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_atom.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
499 _IMP_atom.IMP_ATOM_HAS_BOOST_RANDOM_swigconstant(_IMP_atom)
500 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_atom.IMP_ATOM_HAS_BOOST_RANDOM
502 _IMP_atom.IMP_ATOM_HAS_BOOST_REGEX_swigconstant(_IMP_atom)
503 IMP_ATOM_HAS_BOOST_REGEX = _IMP_atom.IMP_ATOM_HAS_BOOST_REGEX
505 _IMP_atom.IMP_ATOM_HAS_BOOST_SYSTEM_swigconstant(_IMP_atom)
506 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_atom.IMP_ATOM_HAS_BOOST_SYSTEM
508 _IMP_atom.IMP_ATOM_HAS_CGAL_swigconstant(_IMP_atom)
509 IMP_ATOM_HAS_CGAL = _IMP_atom.IMP_ATOM_HAS_CGAL
511 _IMP_atom.IMP_ATOM_HAS_HDF5_swigconstant(_IMP_atom)
512 IMP_ATOM_HAS_HDF5 = _IMP_atom.IMP_ATOM_HAS_HDF5
514 _IMP_atom.IMPATOM_SHOW_WARNINGS_swigconstant(_IMP_atom)
515 IMPATOM_SHOW_WARNINGS = _IMP_atom.IMPATOM_SHOW_WARNINGS
517 _IMP_atom.IMP_ATOM_TYPE_INDEX_swigconstant(_IMP_atom)
518 IMP_ATOM_TYPE_INDEX = _IMP_atom.IMP_ATOM_TYPE_INDEX
520 _IMP_atom.IMP_RESIDUE_TYPE_INDEX_swigconstant(_IMP_atom)
521 IMP_RESIDUE_TYPE_INDEX = _IMP_atom.IMP_RESIDUE_TYPE_INDEX
523 _IMP_atom.IMP_HIERARCHY_TYPE_INDEX_swigconstant(_IMP_atom)
524 IMP_HIERARCHY_TYPE_INDEX = _IMP_atom.IMP_HIERARCHY_TYPE_INDEX
526 """Proxy of C++ IMP::internal::BoostDigraph<(IMP::atom::HierarchyTree,IMP::atom::Hierarchy,IMP::atom::ShowHierarchyTreeVertex)> class."""
528 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
529 __repr__ = _swig_repr
532 """__init__(IMP::internal::BoostDigraph<(IMP::atom::HierarchyTree,IMP::atom::Hierarchy,IMP::atom::ShowHierarchyTreeVertex)> self) -> HierarchyTree"""
533 this = _IMP_atom.new_HierarchyTree()
535 self.this.append(this)
540 """get_graph(HierarchyTree self) -> IMP::atom::HierarchyTree const &"""
541 return _IMP_atom.HierarchyTree_get_graph(self)
545 """get_vertices(HierarchyTree self) -> IMP::internal::BoostDigraph< IMP::atom::HierarchyTree,IMP::atom::Hierarchy,IMP::atom::ShowHierarchyTreeVertex >::VertexDescriptors"""
546 return _IMP_atom.HierarchyTree_get_vertices(self)
549 def get_vertex_name(self, i):
550 """get_vertex_name(HierarchyTree self, IMP::internal::BoostDigraph< IMP::atom::HierarchyTree,IMP::atom::Hierarchy,IMP::atom::ShowHierarchyTreeVertex >::VertexDescriptor i) -> Hierarchy"""
551 return _IMP_atom.HierarchyTree_get_vertex_name(self, i)
554 def get_in_neighbors(self, v):
555 """get_in_neighbors(HierarchyTree self, IMP::internal::BoostDigraph< IMP::atom::HierarchyTree,IMP::atom::Hierarchy,IMP::atom::ShowHierarchyTreeVertex >::VertexDescriptor v) -> IMP::internal::BoostDigraph< IMP::atom::HierarchyTree,IMP::atom::Hierarchy,IMP::atom::ShowHierarchyTreeVertex >::VertexDescriptors"""
556 return _IMP_atom.HierarchyTree_get_in_neighbors(self, v)
559 def get_out_neighbors(self, v):
560 """get_out_neighbors(HierarchyTree self, IMP::internal::BoostDigraph< IMP::atom::HierarchyTree,IMP::atom::Hierarchy,IMP::atom::ShowHierarchyTreeVertex >::VertexDescriptor v) -> IMP::internal::BoostDigraph< IMP::atom::HierarchyTree,IMP::atom::Hierarchy,IMP::atom::ShowHierarchyTreeVertex >::VertexDescriptors"""
561 return _IMP_atom.HierarchyTree_get_out_neighbors(self, v)
566 show_graphviz(HierarchyTree self, _ostream out)
567 show_graphviz(HierarchyTree self)
569 return _IMP_atom.HierarchyTree_show_graphviz(self, *args)
572 def get_graphviz_string(self):
573 """get_graphviz_string(HierarchyTree self) -> std::string"""
574 return _IMP_atom.HierarchyTree_get_graphviz_string(self)
577 def add_edge(self, v0, v1):
578 """add_edge(HierarchyTree self, IMP::internal::BoostDigraph< IMP::atom::HierarchyTree,IMP::atom::Hierarchy,IMP::atom::ShowHierarchyTreeVertex >::VertexDescriptor v0, IMP::internal::BoostDigraph< IMP::atom::HierarchyTree,IMP::atom::Hierarchy,IMP::atom::ShowHierarchyTreeVertex >::VertexDescriptor v1)"""
579 return _IMP_atom.HierarchyTree_add_edge(self, v0, v1)
582 def add_vertex(self, l):
583 """add_vertex(HierarchyTree self, Hierarchy l) -> IMP::internal::BoostDigraph< IMP::atom::HierarchyTree,IMP::atom::Hierarchy,IMP::atom::ShowHierarchyTreeVertex >::VertexDescriptor"""
584 return _IMP_atom.HierarchyTree_add_vertex(self, l)
587 def remove_vertex(self, l):
588 """remove_vertex(HierarchyTree self, IMP::internal::BoostDigraph< IMP::atom::HierarchyTree,IMP::atom::Hierarchy,IMP::atom::ShowHierarchyTreeVertex >::VertexDescriptor l)"""
589 return _IMP_atom.HierarchyTree_remove_vertex(self, l)
591 __swig_destroy__ = _IMP_atom.delete_HierarchyTree
592 __del__ =
lambda self:
None
593 HierarchyTree_swigregister = _IMP_atom.HierarchyTree_swigregister
594 HierarchyTree_swigregister(HierarchyTree)
597 _value_types.append(
"HierarchyTree")
600 _object_types.append(
"PDBSelector")
603 def _object_cast_to_PDBSelector(o):
604 """_object_cast_to_PDBSelector(Object o) -> PDBSelector"""
605 return _IMP_atom._object_cast_to_PDBSelector(o)
608 return [Angle(x)
for x
in l]
609 _plural_types.append(
"Angles")
612 _value_types.append(
"Angle")
616 return [Atom(x)
for x
in l]
617 _plural_types.append(
"Atoms")
620 _value_types.append(
"Atom")
624 return [Bond(x)
for x
in l]
625 _plural_types.append(
"Bonds")
628 _value_types.append(
"Bond")
632 return [Bonded(x)
for x
in l]
633 _plural_types.append(
"Bondeds")
636 _value_types.append(
"Bonded")
639 def CHARMMAtomList(l=[]):
640 return [CHARMMAtom(x)
for x
in l]
641 _plural_types.append(
"CHARMMAtomList")
644 _value_types.append(
"CHARMMAtom")
648 return [Chain(x)
for x
in l]
649 _plural_types.append(
"Chains")
652 _value_types.append(
"Chain")
655 def CenterOfMasses(l=[]):
656 return [CenterOfMass(x)
for x
in l]
657 _plural_types.append(
"CenterOfMasses")
660 _value_types.append(
"CenterOfMass")
664 return [Charged(x)
for x
in l]
665 _plural_types.append(
"Chargeds")
668 _value_types.append(
"Charged")
671 def Diffusions(l=[]):
672 return [Diffusion(x)
for x
in l]
673 _plural_types.append(
"Diffusions")
676 _value_types.append(
"Diffusion")
679 def RigidBodyDiffusions(l=[]):
680 return [RigidBodyDiffusion(x)
for x
in l]
681 _plural_types.append(
"RigidBodyDiffusions")
684 _value_types.append(
"RigidBodyDiffusion")
687 def TAMDParticles(l=[]):
688 return [TAMDParticle(x)
for x
in l]
689 _plural_types.append(
"TAMDParticles")
692 _value_types.append(
"TAMDParticle")
695 def TAMDCentroids(l=[]):
696 return [TAMDCentroid(x)
for x
in l]
697 _plural_types.append(
"TAMDCentroids")
700 _value_types.append(
"TAMDCentroid")
704 return [Dihedral(x)
for x
in l]
705 _plural_types.append(
"Dihedrals")
708 _value_types.append(
"Dihedral")
712 return [Domain(x)
for x
in l]
713 _plural_types.append(
"Domains")
716 _value_types.append(
"Domain")
720 return [Fragment(x)
for x
in l]
721 _plural_types.append(
"Fragments")
724 _value_types.append(
"Fragment")
727 def Hierarchies(l=[]):
728 return [Hierarchy(x)
for x
in l]
729 _plural_types.append(
"Hierarchies")
732 _value_types.append(
"Hierarchy")
735 def LennardJonesList(l=[]):
736 return [LennardJones(x)
for x
in l]
737 _plural_types.append(
"LennardJonesList")
740 _value_types.append(
"LennardJones")
744 return [Mass(x)
for x
in l]
745 _plural_types.append(
"Masses")
748 _value_types.append(
"Mass")
751 def LinearVelocities(l=[]):
752 return [LinearVelocity(x)
for x
in l]
753 _plural_types.append(
"LinearVelocities")
756 _value_types.append(
"LinearVelocity")
759 def AngularVelocities(l=[]):
760 return [AngularVelocity(x)
for x
in l]
761 _plural_types.append(
"AngularVelocities")
764 _value_types.append(
"AngularVelocity")
768 return [Molecule(x)
for x
in l]
769 _plural_types.append(
"Molecules")
772 _value_types.append(
"Molecule")
776 return [Residue(x)
for x
in l]
777 _plural_types.append(
"Residues")
780 _value_types.append(
"Residue")
783 def Representations(l=[]):
784 return [Representation(x)
for x
in l]
785 _plural_types.append(
"Representations")
788 _value_types.append(
"Representation")
792 return [State(x)
for x
in l]
793 _plural_types.append(
"States")
796 _value_types.append(
"State")
800 return [Copy(x)
for x
in l]
801 _plural_types.append(
"Copies")
804 _value_types.append(
"Copy")
807 def SecondaryStructureResidues(l=[]):
808 return [SecondaryStructureResidue(x)
for x
in l]
809 _plural_types.append(
"SecondaryStructureResidues")
812 _value_types.append(
"SecondaryStructureResidue")
815 def StructureSources(l=[]):
816 return [StructureSource(x)
for x
in l]
817 _plural_types.append(
"StructureSources")
820 _value_types.append(
"StructureSource")
823 _object_types.append(
"Simulator")
826 def _object_cast_to_Simulator(o):
827 """_object_cast_to_Simulator(Object o) -> Simulator"""
828 return _IMP_atom._object_cast_to_Simulator(o)
830 _object_types.append(
"ATOMPDBSelector")
833 def _object_cast_to_ATOMPDBSelector(o):
834 """_object_cast_to_ATOMPDBSelector(Object o) -> ATOMPDBSelector"""
835 return _IMP_atom._object_cast_to_ATOMPDBSelector(o)
837 _object_types.append(
"AllMol2Selector")
840 def _object_cast_to_AllMol2Selector(o):
841 """_object_cast_to_AllMol2Selector(Object o) -> AllMol2Selector"""
842 return _IMP_atom._object_cast_to_AllMol2Selector(o)
844 _object_types.append(
"AllPDBSelector")
847 def _object_cast_to_AllPDBSelector(o):
848 """_object_cast_to_AllPDBSelector(Object o) -> AllPDBSelector"""
849 return _IMP_atom._object_cast_to_AllPDBSelector(o)
851 _object_types.append(
"AndPDBSelector")
854 def _object_cast_to_AndPDBSelector(o):
855 """_object_cast_to_AndPDBSelector(Object o) -> AndPDBSelector"""
856 return _IMP_atom._object_cast_to_AndPDBSelector(o)
858 _object_types.append(
"XorPDBSelector")
861 def _object_cast_to_XorPDBSelector(o):
862 """_object_cast_to_XorPDBSelector(Object o) -> XorPDBSelector"""
863 return _IMP_atom._object_cast_to_XorPDBSelector(o)
865 _object_types.append(
"ResidueTypePDBSelector")
868 def _object_cast_to_ResidueTypePDBSelector(o):
869 """_object_cast_to_ResidueTypePDBSelector(Object o) -> ResidueTypePDBSelector"""
870 return _IMP_atom._object_cast_to_ResidueTypePDBSelector(o)
872 _object_types.append(
"AtomTypePDBSelector")
875 def _object_cast_to_AtomTypePDBSelector(o):
876 """_object_cast_to_AtomTypePDBSelector(Object o) -> AtomTypePDBSelector"""
877 return _IMP_atom._object_cast_to_AtomTypePDBSelector(o)
879 _object_types.append(
"AngleSingletonScore")
882 def _object_cast_to_AngleSingletonScore(o):
883 """_object_cast_to_AngleSingletonScore(Object o) -> AngleSingletonScore"""
884 return _IMP_atom._object_cast_to_AngleSingletonScore(o)
886 _object_types.append(
"BondEndpointsRefiner")
889 def _object_cast_to_BondEndpointsRefiner(o):
890 """_object_cast_to_BondEndpointsRefiner(Object o) -> BondEndpointsRefiner"""
891 return _IMP_atom._object_cast_to_BondEndpointsRefiner(o)
893 _object_types.append(
"BondPairContainer")
896 def _object_cast_to_BondPairContainer(o):
897 """_object_cast_to_BondPairContainer(Object o) -> BondPairContainer"""
898 return _IMP_atom._object_cast_to_BondPairContainer(o)
900 _object_types.append(
"BondSingletonScore")
903 def _object_cast_to_BondSingletonScore(o):
904 """_object_cast_to_BondSingletonScore(Object o) -> BondSingletonScore"""
905 return _IMP_atom._object_cast_to_BondSingletonScore(o)
907 _object_types.append(
"BondedPairFilter")
910 def _object_cast_to_BondedPairFilter(o):
911 """_object_cast_to_BondedPairFilter(Object o) -> BondedPairFilter"""
912 return _IMP_atom._object_cast_to_BondedPairFilter(o)
914 _object_types.append(
"BrownianDynamics")
917 def _object_cast_to_BrownianDynamics(o):
918 """_object_cast_to_BrownianDynamics(Object o) -> BrownianDynamics"""
919 return _IMP_atom._object_cast_to_BrownianDynamics(o)
921 _object_types.append(
"BrownianDynamicsTAMD")
924 def _object_cast_to_BrownianDynamicsTAMD(o):
925 """_object_cast_to_BrownianDynamicsTAMD(Object o) -> BrownianDynamicsTAMD"""
926 return _IMP_atom._object_cast_to_BrownianDynamicsTAMD(o)
928 _object_types.append(
"CAlphaPDBSelector")
931 def _object_cast_to_CAlphaPDBSelector(o):
932 """_object_cast_to_CAlphaPDBSelector(Object o) -> CAlphaPDBSelector"""
933 return _IMP_atom._object_cast_to_CAlphaPDBSelector(o)
935 _object_types.append(
"CBetaPDBSelector")
938 def _object_cast_to_CBetaPDBSelector(o):
939 """_object_cast_to_CBetaPDBSelector(Object o) -> CBetaPDBSelector"""
940 return _IMP_atom._object_cast_to_CBetaPDBSelector(o)
942 _object_types.append(
"BackbonePDBSelector")
945 def _object_cast_to_BackbonePDBSelector(o):
946 """_object_cast_to_BackbonePDBSelector(Object o) -> BackbonePDBSelector"""
947 return _IMP_atom._object_cast_to_BackbonePDBSelector(o)
949 _object_types.append(
"CHARMMParameters")
952 def _object_cast_to_CHARMMParameters(o):
953 """_object_cast_to_CHARMMParameters(Object o) -> CHARMMParameters"""
954 return _IMP_atom._object_cast_to_CHARMMParameters(o)
956 _object_types.append(
"CHARMMResidueTopology")
959 def _object_cast_to_CHARMMResidueTopology(o):
960 """_object_cast_to_CHARMMResidueTopology(Object o) -> CHARMMResidueTopology"""
961 return _IMP_atom._object_cast_to_CHARMMResidueTopology(o)
963 _object_types.append(
"CHARMMSegmentTopology")
966 def _object_cast_to_CHARMMSegmentTopology(o):
967 """_object_cast_to_CHARMMSegmentTopology(Object o) -> CHARMMSegmentTopology"""
968 return _IMP_atom._object_cast_to_CHARMMSegmentTopology(o)
970 _object_types.append(
"CHARMMStereochemistryRestraint")
973 def _object_cast_to_CHARMMStereochemistryRestraint(o):
974 """_object_cast_to_CHARMMStereochemistryRestraint(Object o) -> CHARMMStereochemistryRestraint"""
975 return _IMP_atom._object_cast_to_CHARMMStereochemistryRestraint(o)
977 _object_types.append(
"CHARMMTopology")
980 def _object_cast_to_CHARMMTopology(o):
981 """_object_cast_to_CHARMMTopology(Object o) -> CHARMMTopology"""
982 return _IMP_atom._object_cast_to_CHARMMTopology(o)
984 _object_types.append(
"CPDBSelector")
987 def _object_cast_to_CPDBSelector(o):
988 """_object_cast_to_CPDBSelector(Object o) -> CPDBSelector"""
989 return _IMP_atom._object_cast_to_CPDBSelector(o)
991 _object_types.append(
"ChainPDBSelector")
994 def _object_cast_to_ChainPDBSelector(o):
995 """_object_cast_to_ChainPDBSelector(Object o) -> ChainPDBSelector"""
996 return _IMP_atom._object_cast_to_ChainPDBSelector(o)
998 _object_types.append(
"CoulombPairScore")
1001 def _object_cast_to_CoulombPairScore(o):
1002 """_object_cast_to_CoulombPairScore(Object o) -> CoulombPairScore"""
1003 return _IMP_atom._object_cast_to_CoulombPairScore(o)
1005 _object_types.append(
"CoverBond")
1008 def _object_cast_to_CoverBond(o):
1009 """_object_cast_to_CoverBond(Object o) -> CoverBond"""
1010 return _IMP_atom._object_cast_to_CoverBond(o)
1012 _object_types.append(
"DihedralSingletonScore")
1015 def _object_cast_to_DihedralSingletonScore(o):
1016 """_object_cast_to_DihedralSingletonScore(Object o) -> DihedralSingletonScore"""
1017 return _IMP_atom._object_cast_to_DihedralSingletonScore(o)
1019 _object_types.append(
"DopePairScore")
1022 def _object_cast_to_DopePairScore(o):
1023 """_object_cast_to_DopePairScore(Object o) -> DopePairScore"""
1024 return _IMP_atom._object_cast_to_DopePairScore(o)
1026 _object_types.append(
"OrientedSoapPairScore")
1029 def _object_cast_to_OrientedSoapPairScore(o):
1030 """_object_cast_to_OrientedSoapPairScore(Object o) -> OrientedSoapPairScore"""
1031 return _IMP_atom._object_cast_to_OrientedSoapPairScore(o)
1033 _object_types.append(
"EzRestraint")
1036 def _object_cast_to_EzRestraint(o):
1037 """_object_cast_to_EzRestraint(Object o) -> EzRestraint"""
1038 return _IMP_atom._object_cast_to_EzRestraint(o)
1040 _object_types.append(
"ForceFieldParameters")
1043 def _object_cast_to_ForceFieldParameters(o):
1044 """_object_cast_to_ForceFieldParameters(Object o) -> ForceFieldParameters"""
1045 return _IMP_atom._object_cast_to_ForceFieldParameters(o)
1047 _object_types.append(
"ForceSwitch")
1050 def _object_cast_to_ForceSwitch(o):
1051 """_object_cast_to_ForceSwitch(Object o) -> ForceSwitch"""
1052 return _IMP_atom._object_cast_to_ForceSwitch(o)
1054 _object_types.append(
"HydrogenPDBSelector")
1057 def _object_cast_to_HydrogenPDBSelector(o):
1058 """_object_cast_to_HydrogenPDBSelector(Object o) -> HydrogenPDBSelector"""
1059 return _IMP_atom._object_cast_to_HydrogenPDBSelector(o)
1061 _object_types.append(
"ImproperSingletonScore")
1064 def _object_cast_to_ImproperSingletonScore(o):
1065 """_object_cast_to_ImproperSingletonScore(Object o) -> ImproperSingletonScore"""
1066 return _IMP_atom._object_cast_to_ImproperSingletonScore(o)
1068 _object_types.append(
"LennardJonesPairScore")
1071 def _object_cast_to_LennardJonesPairScore(o):
1072 """_object_cast_to_LennardJonesPairScore(Object o) -> LennardJonesPairScore"""
1073 return _IMP_atom._object_cast_to_LennardJonesPairScore(o)
1075 _object_types.append(
"Mol2Selector")
1078 def _object_cast_to_Mol2Selector(o):
1079 """_object_cast_to_Mol2Selector(Object o) -> Mol2Selector"""
1080 return _IMP_atom._object_cast_to_Mol2Selector(o)
1082 _object_types.append(
"MolecularDynamics")
1085 def _object_cast_to_MolecularDynamics(o):
1086 """_object_cast_to_MolecularDynamics(Object o) -> MolecularDynamics"""
1087 return _IMP_atom._object_cast_to_MolecularDynamics(o)
1089 _object_types.append(
"NPDBSelector")
1092 def _object_cast_to_NPDBSelector(o):
1093 """_object_cast_to_NPDBSelector(Object o) -> NPDBSelector"""
1094 return _IMP_atom._object_cast_to_NPDBSelector(o)
1096 _object_types.append(
"NonAlternativePDBSelector")
1099 def _object_cast_to_NonAlternativePDBSelector(o):
1100 """_object_cast_to_NonAlternativePDBSelector(Object o) -> NonAlternativePDBSelector"""
1101 return _IMP_atom._object_cast_to_NonAlternativePDBSelector(o)
1103 _object_types.append(
"NonHydrogenMol2Selector")
1106 def _object_cast_to_NonHydrogenMol2Selector(o):
1107 """_object_cast_to_NonHydrogenMol2Selector(Object o) -> NonHydrogenMol2Selector"""
1108 return _IMP_atom._object_cast_to_NonHydrogenMol2Selector(o)
1110 _object_types.append(
"NonWaterNonHydrogenPDBSelector")
1113 def _object_cast_to_NonWaterNonHydrogenPDBSelector(o):
1114 """_object_cast_to_NonWaterNonHydrogenPDBSelector(Object o) -> NonWaterNonHydrogenPDBSelector"""
1115 return _IMP_atom._object_cast_to_NonWaterNonHydrogenPDBSelector(o)
1117 _object_types.append(
"NonWaterPDBSelector")
1120 def _object_cast_to_NonWaterPDBSelector(o):
1121 """_object_cast_to_NonWaterPDBSelector(Object o) -> NonWaterPDBSelector"""
1122 return _IMP_atom._object_cast_to_NonWaterPDBSelector(o)
1124 _object_types.append(
"NotPDBSelector")
1127 def _object_cast_to_NotPDBSelector(o):
1128 """_object_cast_to_NotPDBSelector(Object o) -> NotPDBSelector"""
1129 return _IMP_atom._object_cast_to_NotPDBSelector(o)
1131 _object_types.append(
"OrPDBSelector")
1134 def _object_cast_to_OrPDBSelector(o):
1135 """_object_cast_to_OrPDBSelector(Object o) -> OrPDBSelector"""
1136 return _IMP_atom._object_cast_to_OrPDBSelector(o)
1138 _object_types.append(
"PPDBSelector")
1141 def _object_cast_to_PPDBSelector(o):
1142 """_object_cast_to_PPDBSelector(Object o) -> PPDBSelector"""
1143 return _IMP_atom._object_cast_to_PPDBSelector(o)
1145 _object_types.append(
"ProteinLigandAtomPairScore")
1148 def _object_cast_to_ProteinLigandAtomPairScore(o):
1149 """_object_cast_to_ProteinLigandAtomPairScore(Object o) -> ProteinLigandAtomPairScore"""
1150 return _IMP_atom._object_cast_to_ProteinLigandAtomPairScore(o)
1152 _object_types.append(
"ProteinLigandRestraint")
1155 def _object_cast_to_ProteinLigandRestraint(o):
1156 """_object_cast_to_ProteinLigandRestraint(Object o) -> ProteinLigandRestraint"""
1157 return _IMP_atom._object_cast_to_ProteinLigandRestraint(o)
1159 _object_types.append(
"SameResiduePairFilter")
1162 def _object_cast_to_SameResiduePairFilter(o):
1163 """_object_cast_to_SameResiduePairFilter(Object o) -> SameResiduePairFilter"""
1164 return _IMP_atom._object_cast_to_SameResiduePairFilter(o)
1166 _object_types.append(
"SoapPairFilter")
1169 def _object_cast_to_SoapPairFilter(o):
1170 """_object_cast_to_SoapPairFilter(Object o) -> SoapPairFilter"""
1171 return _IMP_atom._object_cast_to_SoapPairFilter(o)
1173 _object_types.append(
"SmoothingFunction")
1176 def _object_cast_to_SmoothingFunction(o):
1177 """_object_cast_to_SmoothingFunction(Object o) -> SmoothingFunction"""
1178 return _IMP_atom._object_cast_to_SmoothingFunction(o)
1180 _object_types.append(
"StereochemistryPairFilter")
1183 def _object_cast_to_StereochemistryPairFilter(o):
1184 """_object_cast_to_StereochemistryPairFilter(Object o) -> StereochemistryPairFilter"""
1185 return _IMP_atom._object_cast_to_StereochemistryPairFilter(o)
1187 _object_types.append(
"VelocityScalingOptimizerState")
1190 def _object_cast_to_VelocityScalingOptimizerState(o):
1191 """_object_cast_to_VelocityScalingOptimizerState(Object o) -> VelocityScalingOptimizerState"""
1192 return _IMP_atom._object_cast_to_VelocityScalingOptimizerState(o)
1194 _object_types.append(
"WaterPDBSelector")
1197 def _object_cast_to_WaterPDBSelector(o):
1198 """_object_cast_to_WaterPDBSelector(Object o) -> WaterPDBSelector"""
1199 return _IMP_atom._object_cast_to_WaterPDBSelector(o)
1201 _object_types.append(
"WritePDBOptimizerState")
1204 def _object_cast_to_WritePDBOptimizerState(o):
1205 """_object_cast_to_WritePDBOptimizerState(Object o) -> WritePDBOptimizerState"""
1206 return _IMP_atom._object_cast_to_WritePDBOptimizerState(o)
1209 _plural_types.append(
"AtomTypes")
1210 _value_types.append(
"AtomType")
1213 CHARMMAtomTopologies=list
1214 _plural_types.append(
"CHARMMAtomTopologies")
1215 _value_types.append(
"CHARMMAtomTopology")
1218 CHARMMBondEndpoints=list
1219 _plural_types.append(
"CHARMMBondEndpoints")
1220 _value_types.append(
"CHARMMBondEndpoint")
1223 CHARMMBondParametersList=list
1224 _plural_types.append(
"CHARMMBondParametersList")
1225 _value_types.append(
"CHARMMBondParameters")
1228 CHARMMDihedralParametersList=list
1229 _plural_types.append(
"CHARMMDihedralParametersList")
1230 _value_types.append(
"CHARMMDihedralParameters")
1233 _object_types.append(
"CHARMMIdealResidueTopology")
1236 def _object_cast_to_CHARMMIdealResidueTopology(o):
1237 """_object_cast_to_CHARMMIdealResidueTopology(Object o) -> CHARMMIdealResidueTopology"""
1238 return _IMP_atom._object_cast_to_CHARMMIdealResidueTopology(o)
1240 CHARMMInternalCoordinates=list
1241 _plural_types.append(
"CHARMMInternalCoordinates")
1242 _value_types.append(
"CHARMMInternalCoordinate")
1245 _object_types.append(
"CHARMMPatch")
1248 def _object_cast_to_CHARMMPatch(o):
1249 """_object_cast_to_CHARMMPatch(Object o) -> CHARMMPatch"""
1250 return _IMP_atom._object_cast_to_CHARMMPatch(o)
1252 _object_types.append(
"CHARMMResidueTopologyBase")
1255 def _object_cast_to_CHARMMResidueTopologyBase(o):
1256 """_object_cast_to_CHARMMResidueTopologyBase(Object o) -> CHARMMResidueTopologyBase"""
1257 return _IMP_atom._object_cast_to_CHARMMResidueTopologyBase(o)
1260 _plural_types.append(
"ResidueTypes")
1261 _value_types.append(
"ResidueType")
1265 _plural_types.append(
"Selections")
1266 _value_types.append(
"Selection")
1269 _object_types.append(
"RemoveRigidMotionOptimizerState")
1272 def _object_cast_to_RemoveRigidMotionOptimizerState(o):
1273 """_object_cast_to_RemoveRigidMotionOptimizerState(Object o) -> RemoveRigidMotionOptimizerState"""
1274 return _IMP_atom._object_cast_to_RemoveRigidMotionOptimizerState(o)
1276 _object_types.append(
"BerendsenThermostatOptimizerState")
1279 def _object_cast_to_BerendsenThermostatOptimizerState(o):
1280 """_object_cast_to_BerendsenThermostatOptimizerState(Object o) -> BerendsenThermostatOptimizerState"""
1281 return _IMP_atom._object_cast_to_BerendsenThermostatOptimizerState(o)
1283 _object_types.append(
"LangevinThermostatOptimizerState")
1286 def _object_cast_to_LangevinThermostatOptimizerState(o):
1287 """_object_cast_to_LangevinThermostatOptimizerState(Object o) -> LangevinThermostatOptimizerState"""
1288 return _IMP_atom._object_cast_to_LangevinThermostatOptimizerState(o)
1290 _object_types.append(
"SelectionGeometry")
1293 def _object_cast_to_SelectionGeometry(o):
1294 """_object_cast_to_SelectionGeometry(Object o) -> SelectionGeometry"""
1295 return _IMP_atom._object_cast_to_SelectionGeometry(o)
1297 _object_types.append(
"HierarchyGeometry")
1300 def _object_cast_to_HierarchyGeometry(o):
1301 """_object_cast_to_HierarchyGeometry(Object o) -> HierarchyGeometry"""
1302 return _IMP_atom._object_cast_to_HierarchyGeometry(o)
1304 _object_types.append(
"HierarchiesGeometry")
1307 def _object_cast_to_HierarchiesGeometry(o):
1308 """_object_cast_to_HierarchiesGeometry(Object o) -> HierarchiesGeometry"""
1309 return _IMP_atom._object_cast_to_HierarchiesGeometry(o)
1311 _object_types.append(
"BondGeometry")
1314 def _object_cast_to_BondGeometry(o):
1315 """_object_cast_to_BondGeometry(Object o) -> BondGeometry"""
1316 return _IMP_atom._object_cast_to_BondGeometry(o)
1318 _object_types.append(
"BondsGeometry")
1321 def _object_cast_to_BondsGeometry(o):
1322 """_object_cast_to_BondsGeometry(Object o) -> BondsGeometry"""
1323 return _IMP_atom._object_cast_to_BondsGeometry(o)
1325 _object_types.append(
"CAAngleRestraint")
1328 def _object_cast_to_CAAngleRestraint(o):
1329 """_object_cast_to_CAAngleRestraint(Object o) -> CAAngleRestraint"""
1330 return _IMP_atom._object_cast_to_CAAngleRestraint(o)
1332 _object_types.append(
"CADihedralRestraint")
1335 def _object_cast_to_CADihedralRestraint(o):
1336 """_object_cast_to_CADihedralRestraint(Object o) -> CADihedralRestraint"""
1337 return _IMP_atom._object_cast_to_CADihedralRestraint(o)
1339 CHARMMDihedrals=list
1340 _plural_types.append(
"CHARMMDihedrals")
1341 _value_types.append(
"CHARMMDihedral")
1345 _plural_types.append(
"CHARMMBonds")
1346 _value_types.append(
"CHARMMBond")
1350 _plural_types.append(
"CHARMMAngles")
1351 _value_types.append(
"CHARMMAngle")
1354 """Proxy of C++ IMP::atom::Bond class."""
1356 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1358 def __init__(self, *args):
1360 __init__(IMP::atom::Bond self) -> Bond
1361 __init__(IMP::atom::Bond self, Model m, ParticleIndex id) -> Bond
1362 __init__(IMP::atom::Bond self, _ParticleAdaptor d) -> Bond
1364 this = _IMP_atom.new_Bond(*args)
1366 self.this.append(this)
1370 def show(self, *args):
1372 show(Bond self, _ostream out)
1375 return _IMP_atom.Bond_show(self, *args)
1378 def get_is_setup(*args):
1380 get_is_setup(_ParticleAdaptor p) -> bool
1381 get_is_setup(Model m, ParticleIndex pi) -> bool
1383 return _IMP_atom.Bond_get_is_setup(*args)
1385 get_is_setup = staticmethod(get_is_setup)
1386 UNKNOWN = _IMP_atom.Bond_UNKNOWN
1387 NONBIOLOGICAL = _IMP_atom.Bond_NONBIOLOGICAL
1388 SINGLE = _IMP_atom.Bond_SINGLE
1389 DOUBLE = _IMP_atom.Bond_DOUBLE
1390 TRIPLE = _IMP_atom.Bond_TRIPLE
1391 HYDROGEN = _IMP_atom.Bond_HYDROGEN
1392 SALT = _IMP_atom.Bond_SALT
1393 PEPTIDE = _IMP_atom.Bond_PEPTIDE
1394 AMIDE = _IMP_atom.Bond_AMIDE
1395 AROMATIC = _IMP_atom.Bond_AROMATIC
1397 def get_bonded(self, i):
1398 """get_bonded(Bond self, unsigned int i) -> Bonded"""
1399 return _IMP_atom.Bond_get_bonded(self, i)
1403 """get_type(Bond self) -> IMP::Int"""
1404 return _IMP_atom.Bond_get_type(self)
1407 def set_type(self, t):
1408 """set_type(Bond self, IMP::Int t)"""
1409 return _IMP_atom.Bond_set_type(self, t)
1413 """get_order(Bond self) -> IMP::Int"""
1414 return _IMP_atom.Bond_get_order(self)
1417 def set_order(self, t):
1418 """set_order(Bond self, IMP::Int t)"""
1419 return _IMP_atom.Bond_set_order(self, t)
1422 def get_length(self):
1423 """get_length(Bond self) -> IMP::Float"""
1424 return _IMP_atom.Bond_get_length(self)
1427 def set_length(self, t):
1428 """set_length(Bond self, IMP::Float t)"""
1429 return _IMP_atom.Bond_set_length(self, t)
1432 def get_stiffness(self):
1433 """get_stiffness(Bond self) -> IMP::Float"""
1434 return _IMP_atom.Bond_get_stiffness(self)
1437 def set_stiffness(self, t):
1438 """set_stiffness(Bond self, IMP::Float t)"""
1439 return _IMP_atom.Bond_set_stiffness(self, t)
1442 def get_length_key():
1443 """get_length_key() -> FloatKey"""
1444 return _IMP_atom.Bond_get_length_key()
1446 get_length_key = staticmethod(get_length_key)
1448 def add_attribute(self, *args):
1450 add_attribute(Bond self, FloatKey k, IMP::Float v, bool opt)
1451 add_attribute(Bond self, FloatKey a0, IMP::Float a1)
1452 add_attribute(Bond self, IntKey a0, IMP::Int a1)
1453 add_attribute(Bond self, StringKey a0, IMP::String a1)
1454 add_attribute(Bond self, ParticleIndexKey a0, Particle a1)
1455 add_attribute(Bond self, ObjectKey a0, Object a1)
1457 return _IMP_atom.Bond_add_attribute(self, *args)
1460 def get_value(self, *args):
1462 get_value(Bond self, FloatKey a0) -> IMP::Float
1463 get_value(Bond self, IntKey a0) -> IMP::Int
1464 get_value(Bond self, StringKey a0) -> IMP::String
1465 get_value(Bond self, ParticleIndexKey a0) -> Particle
1466 get_value(Bond self, ObjectKey a0) -> Object
1468 return _IMP_atom.Bond_get_value(self, *args)
1471 def set_value(self, *args):
1473 set_value(Bond self, FloatKey a0, IMP::Float a1)
1474 set_value(Bond self, IntKey a0, IMP::Int a1)
1475 set_value(Bond self, StringKey a0, IMP::String a1)
1476 set_value(Bond self, ParticleIndexKey a0, Particle a1)
1477 set_value(Bond self, ObjectKey a0, Object a1)
1479 return _IMP_atom.Bond_set_value(self, *args)
1482 def remove_attribute(self, *args):
1484 remove_attribute(Bond self, FloatKey a0)
1485 remove_attribute(Bond self, IntKey a0)
1486 remove_attribute(Bond self, StringKey a0)
1487 remove_attribute(Bond self, ParticleIndexKey a0)
1488 remove_attribute(Bond self, ObjectKey a0)
1490 return _IMP_atom.Bond_remove_attribute(self, *args)
1493 def has_attribute(self, *args):
1495 has_attribute(Bond self, FloatKey a0) -> bool
1496 has_attribute(Bond self, IntKey a0) -> bool
1497 has_attribute(Bond self, StringKey a0) -> bool
1498 has_attribute(Bond self, ParticleIndexKey a0) -> bool
1499 has_attribute(Bond self, ObjectKey a0) -> bool
1501 return _IMP_atom.Bond_has_attribute(self, *args)
1504 def get_derivative(self, a0):
1505 """get_derivative(Bond self, FloatKey a0) -> double"""
1506 return _IMP_atom.Bond_get_derivative(self, a0)
1510 """get_name(Bond self) -> std::string"""
1511 return _IMP_atom.Bond_get_name(self)
1514 def clear_caches(self):
1515 """clear_caches(Bond self)"""
1516 return _IMP_atom.Bond_clear_caches(self)
1519 def set_name(self, a0):
1520 """set_name(Bond self, std::string a0)"""
1521 return _IMP_atom.Bond_set_name(self, a0)
1525 """set_check_level(Bond self, IMP::CheckLevel a0)"""
1526 return _IMP_atom.Bond_set_check_level(self, a0)
1529 def add_to_derivative(self, a0, a1, a2):
1530 """add_to_derivative(Bond self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1531 return _IMP_atom.Bond_add_to_derivative(self, a0, a1, a2)
1534 def set_is_optimized(self, a0, a1):
1535 """set_is_optimized(Bond self, FloatKey a0, bool a1)"""
1536 return _IMP_atom.Bond_set_is_optimized(self, a0, a1)
1539 def get_is_optimized(self, a0):
1540 """get_is_optimized(Bond self, FloatKey a0) -> bool"""
1541 return _IMP_atom.Bond_get_is_optimized(self, a0)
1545 """get_check_level(Bond self) -> IMP::CheckLevel"""
1546 return _IMP_atom.Bond_get_check_level(self)
1549 def __eq__(self, *args):
1551 __eq__(Bond self, Bond o) -> bool
1552 __eq__(Bond self, Particle d) -> bool
1554 return _IMP_atom.Bond___eq__(self, *args)
1557 def __ne__(self, *args):
1559 __ne__(Bond self, Bond o) -> bool
1560 __ne__(Bond self, Particle d) -> bool
1562 return _IMP_atom.Bond___ne__(self, *args)
1565 def __le__(self, *args):
1567 __le__(Bond self, Bond o) -> bool
1568 __le__(Bond self, Particle d) -> bool
1570 return _IMP_atom.Bond___le__(self, *args)
1573 def __lt__(self, *args):
1575 __lt__(Bond self, Bond o) -> bool
1576 __lt__(Bond self, Particle d) -> bool
1578 return _IMP_atom.Bond___lt__(self, *args)
1581 def __ge__(self, *args):
1583 __ge__(Bond self, Bond o) -> bool
1584 __ge__(Bond self, Particle d) -> bool
1586 return _IMP_atom.Bond___ge__(self, *args)
1589 def __gt__(self, *args):
1591 __gt__(Bond self, Bond o) -> bool
1592 __gt__(Bond self, Particle d) -> bool
1594 return _IMP_atom.Bond___gt__(self, *args)
1598 """__hash__(Bond self) -> std::size_t"""
1599 return _IMP_atom.Bond___hash__(self)
1603 """__str__(Bond self) -> std::string"""
1604 return _IMP_atom.Bond___str__(self)
1608 """__repr__(Bond self) -> std::string"""
1609 return _IMP_atom.Bond___repr__(self)
1611 __swig_destroy__ = _IMP_atom.delete_Bond
1612 __del__ =
lambda self:
None
1613 Bond_swigregister = _IMP_atom.Bond_swigregister
1614 Bond_swigregister(Bond)
1616 def Bond_get_is_setup(*args):
1618 get_is_setup(_ParticleAdaptor p) -> bool
1619 Bond_get_is_setup(Model m, ParticleIndex pi) -> bool
1621 return _IMP_atom.Bond_get_is_setup(*args)
1623 def Bond_get_length_key():
1624 """Bond_get_length_key() -> FloatKey"""
1625 return _IMP_atom.Bond_get_length_key()
1628 """Proxy of C++ IMP::atom::Bonded class."""
1630 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1632 def __init__(self, *args):
1634 __init__(IMP::atom::Bonded self) -> Bonded
1635 __init__(IMP::atom::Bonded self, Model m, ParticleIndex id) -> Bonded
1636 __init__(IMP::atom::Bonded self, _ParticleAdaptor d) -> Bonded
1638 this = _IMP_atom.new_Bonded(*args)
1640 self.this.append(this)
1644 def show(self, *args):
1646 show(Bonded self, _ostream out)
1649 return _IMP_atom.Bonded_show(self, *args)
1652 def setup_particle(*args):
1654 setup_particle(Model m, ParticleIndex pi) -> Bonded
1655 setup_particle(_ParticleAdaptor decorator) -> Bonded
1657 return _IMP_atom.Bonded_setup_particle(*args)
1659 setup_particle = staticmethod(setup_particle)
1661 def get_is_setup(*args):
1663 get_is_setup(_ParticleAdaptor p) -> bool
1664 get_is_setup(Model m, ParticleIndex pi) -> bool
1666 return _IMP_atom.Bonded_get_is_setup(*args)
1668 get_is_setup = staticmethod(get_is_setup)
1670 def get_number_of_bonds(self):
1671 """get_number_of_bonds(Bonded self) -> unsigned int"""
1672 return _IMP_atom.Bonded_get_number_of_bonds(self)
1675 def get_bond_indexes(self):
1676 """get_bond_indexes(Bonded self) -> IMP::ParticleIndexes"""
1677 return _IMP_atom.Bonded_get_bond_indexes(self)
1681 """get_bond(Bonded self, unsigned int i) -> Bond"""
1682 return _IMP_atom.Bonded_get_bond(self, i)
1685 def get_bonded(self, i):
1686 """get_bonded(Bonded self, unsigned int i) -> Bonded"""
1687 return _IMP_atom.Bonded_get_bonded(self, i)
1690 def add_attribute(self, *args):
1692 add_attribute(Bonded self, FloatKey k, IMP::Float v, bool opt)
1693 add_attribute(Bonded self, FloatKey a0, IMP::Float a1)
1694 add_attribute(Bonded self, IntKey a0, IMP::Int a1)
1695 add_attribute(Bonded self, StringKey a0, IMP::String a1)
1696 add_attribute(Bonded self, ParticleIndexKey a0, Particle a1)
1697 add_attribute(Bonded self, ObjectKey a0, Object a1)
1699 return _IMP_atom.Bonded_add_attribute(self, *args)
1702 def get_value(self, *args):
1704 get_value(Bonded self, FloatKey a0) -> IMP::Float
1705 get_value(Bonded self, IntKey a0) -> IMP::Int
1706 get_value(Bonded self, StringKey a0) -> IMP::String
1707 get_value(Bonded self, ParticleIndexKey a0) -> Particle
1708 get_value(Bonded self, ObjectKey a0) -> Object
1710 return _IMP_atom.Bonded_get_value(self, *args)
1713 def set_value(self, *args):
1715 set_value(Bonded self, FloatKey a0, IMP::Float a1)
1716 set_value(Bonded self, IntKey a0, IMP::Int a1)
1717 set_value(Bonded self, StringKey a0, IMP::String a1)
1718 set_value(Bonded self, ParticleIndexKey a0, Particle a1)
1719 set_value(Bonded self, ObjectKey a0, Object a1)
1721 return _IMP_atom.Bonded_set_value(self, *args)
1724 def remove_attribute(self, *args):
1726 remove_attribute(Bonded self, FloatKey a0)
1727 remove_attribute(Bonded self, IntKey a0)
1728 remove_attribute(Bonded self, StringKey a0)
1729 remove_attribute(Bonded self, ParticleIndexKey a0)
1730 remove_attribute(Bonded self, ObjectKey a0)
1732 return _IMP_atom.Bonded_remove_attribute(self, *args)
1735 def has_attribute(self, *args):
1737 has_attribute(Bonded self, FloatKey a0) -> bool
1738 has_attribute(Bonded self, IntKey a0) -> bool
1739 has_attribute(Bonded self, StringKey a0) -> bool
1740 has_attribute(Bonded self, ParticleIndexKey a0) -> bool
1741 has_attribute(Bonded self, ObjectKey a0) -> bool
1743 return _IMP_atom.Bonded_has_attribute(self, *args)
1746 def get_derivative(self, a0):
1747 """get_derivative(Bonded self, FloatKey a0) -> double"""
1748 return _IMP_atom.Bonded_get_derivative(self, a0)
1752 """get_name(Bonded self) -> std::string"""
1753 return _IMP_atom.Bonded_get_name(self)
1756 def clear_caches(self):
1757 """clear_caches(Bonded self)"""
1758 return _IMP_atom.Bonded_clear_caches(self)
1761 def set_name(self, a0):
1762 """set_name(Bonded self, std::string a0)"""
1763 return _IMP_atom.Bonded_set_name(self, a0)
1767 """set_check_level(Bonded self, IMP::CheckLevel a0)"""
1768 return _IMP_atom.Bonded_set_check_level(self, a0)
1771 def add_to_derivative(self, a0, a1, a2):
1772 """add_to_derivative(Bonded self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1773 return _IMP_atom.Bonded_add_to_derivative(self, a0, a1, a2)
1776 def set_is_optimized(self, a0, a1):
1777 """set_is_optimized(Bonded self, FloatKey a0, bool a1)"""
1778 return _IMP_atom.Bonded_set_is_optimized(self, a0, a1)
1781 def get_is_optimized(self, a0):
1782 """get_is_optimized(Bonded self, FloatKey a0) -> bool"""
1783 return _IMP_atom.Bonded_get_is_optimized(self, a0)
1787 """get_check_level(Bonded self) -> IMP::CheckLevel"""
1788 return _IMP_atom.Bonded_get_check_level(self)
1791 def __eq__(self, *args):
1793 __eq__(Bonded self, Bonded o) -> bool
1794 __eq__(Bonded self, Particle d) -> bool
1796 return _IMP_atom.Bonded___eq__(self, *args)
1799 def __ne__(self, *args):
1801 __ne__(Bonded self, Bonded o) -> bool
1802 __ne__(Bonded self, Particle d) -> bool
1804 return _IMP_atom.Bonded___ne__(self, *args)
1807 def __le__(self, *args):
1809 __le__(Bonded self, Bonded o) -> bool
1810 __le__(Bonded self, Particle d) -> bool
1812 return _IMP_atom.Bonded___le__(self, *args)
1815 def __lt__(self, *args):
1817 __lt__(Bonded self, Bonded o) -> bool
1818 __lt__(Bonded self, Particle d) -> bool
1820 return _IMP_atom.Bonded___lt__(self, *args)
1823 def __ge__(self, *args):
1825 __ge__(Bonded self, Bonded o) -> bool
1826 __ge__(Bonded self, Particle d) -> bool
1828 return _IMP_atom.Bonded___ge__(self, *args)
1831 def __gt__(self, *args):
1833 __gt__(Bonded self, Bonded o) -> bool
1834 __gt__(Bonded self, Particle d) -> bool
1836 return _IMP_atom.Bonded___gt__(self, *args)
1840 """__hash__(Bonded self) -> std::size_t"""
1841 return _IMP_atom.Bonded___hash__(self)
1845 """__str__(Bonded self) -> std::string"""
1846 return _IMP_atom.Bonded___str__(self)
1850 """__repr__(Bonded self) -> std::string"""
1851 return _IMP_atom.Bonded___repr__(self)
1853 __swig_destroy__ = _IMP_atom.delete_Bonded
1854 __del__ =
lambda self:
None
1855 Bonded_swigregister = _IMP_atom.Bonded_swigregister
1856 Bonded_swigregister(Bonded)
1858 def Bonded_setup_particle(*args):
1860 setup_particle(Model m, ParticleIndex pi) -> Bonded
1861 Bonded_setup_particle(_ParticleAdaptor decorator) -> Bonded
1863 return _IMP_atom.Bonded_setup_particle(*args)
1865 def Bonded_get_is_setup(*args):
1867 get_is_setup(_ParticleAdaptor p) -> bool
1868 Bonded_get_is_setup(Model m, ParticleIndex pi) -> bool
1870 return _IMP_atom.Bonded_get_is_setup(*args)
1875 create_custom_bond(Bonded a, Bonded b, IMP::Float length, IMP::Float stiffness=-1) -> Bond
1876 create_custom_bond(Bonded a, Bonded b, IMP::Float length) -> Bond
1878 return _IMP_atom.create_custom_bond(a, b, length, stiffness)
1882 create_bond(Bonded a, Bonded b, IMP::Int t) -> Bond
1883 create_bond(Bonded a, Bonded b, Bond o) -> Bond
1885 return _IMP_atom.create_bond(*args)
1888 """destroy_bond(Bond b)"""
1889 return _IMP_atom.destroy_bond(b)
1892 """get_bond(Bonded a, Bonded b) -> Bond"""
1893 return _IMP_atom.get_bond(a, b)
1895 """Proxy of C++ IMP::atom::BondGeometry class."""
1897 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1899 def __init__(self, *args):
1901 __init__(IMP::atom::BondGeometry self, Particle p) -> BondGeometry
1902 __init__(IMP::atom::BondGeometry self, Bond d) -> BondGeometry
1904 this = _IMP_atom.new_BondGeometry(*args)
1906 self.this.append(this)
1910 def get_version_info(self):
1911 """get_version_info(BondGeometry self) -> VersionInfo"""
1912 return _IMP_atom.BondGeometry_get_version_info(self)
1916 """__str__(BondGeometry self) -> std::string"""
1917 return _IMP_atom.BondGeometry___str__(self)
1921 """__repr__(BondGeometry self) -> std::string"""
1922 return _IMP_atom.BondGeometry___repr__(self)
1927 return _object_cast_to_BondGeometry(o)
1929 BondGeometry_swigregister = _IMP_atom.BondGeometry_swigregister
1930 BondGeometry_swigregister(BondGeometry)
1933 """Proxy of C++ IMP::atom::BondsGeometry class."""
1935 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1937 def __init__(self, sc):
1938 """__init__(IMP::atom::BondsGeometry self, SingletonContainer sc) -> BondsGeometry"""
1939 this = _IMP_atom.new_BondsGeometry(sc)
1941 self.this.append(this)
1945 def get_version_info(self):
1946 """get_version_info(BondsGeometry self) -> VersionInfo"""
1947 return _IMP_atom.BondsGeometry_get_version_info(self)
1951 """__str__(BondsGeometry self) -> std::string"""
1952 return _IMP_atom.BondsGeometry___str__(self)
1956 """__repr__(BondsGeometry self) -> std::string"""
1957 return _IMP_atom.BondsGeometry___repr__(self)
1962 return _object_cast_to_BondsGeometry(o)
1964 BondsGeometry_swigregister = _IMP_atom.BondsGeometry_swigregister
1965 BondsGeometry_swigregister(BondsGeometry)
1968 """Proxy of C++ IMP::atom::Hierarchy class."""
1970 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1972 def __init__(self, *args):
1974 __init__(IMP::atom::Hierarchy self, Model m, ParticleIndex pi) -> Hierarchy
1975 __init__(IMP::atom::Hierarchy self, _ParticleAdaptor pi) -> Hierarchy
1976 __init__(IMP::atom::Hierarchy self) -> Hierarchy
1977 __init__(IMP::atom::Hierarchy self, Hierarchy h) -> Hierarchy
1979 this = _IMP_atom.new_Hierarchy(*args)
1981 self.this.append(this)
1985 def setup_particle(*args):
1987 setup_particle(Particle p, _ParticleIndexesAdaptor children) -> Hierarchy
1988 setup_particle(Particle p) -> Hierarchy
1989 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor children) -> Hierarchy
1990 setup_particle(Model m, ParticleIndex pi) -> Hierarchy
1992 return _IMP_atom.Hierarchy_setup_particle(*args)
1994 setup_particle = staticmethod(setup_particle)
1996 def get_is_setup(*args):
1998 get_is_setup(Particle p) -> bool
1999 get_is_setup(Model m, ParticleIndex p) -> bool
2001 return _IMP_atom.Hierarchy_get_is_setup(*args)
2003 get_is_setup = staticmethod(get_is_setup)
2005 def get_is_valid(self, print_info=False):
2007 get_is_valid(Hierarchy self, bool print_info=False) -> bool
2008 get_is_valid(Hierarchy self) -> bool
2010 return _IMP_atom.Hierarchy_get_is_valid(self, print_info)
2013 def add_child(self, o):
2014 """add_child(Hierarchy self, Hierarchy o)"""
2015 return _IMP_atom.Hierarchy_add_child(self, o)
2018 def get_child(self, i):
2019 """get_child(Hierarchy self, unsigned int i) -> Hierarchy"""
2020 return _IMP_atom.Hierarchy_get_child(self, i)
2023 def get_children(self):
2024 """get_children(Hierarchy self) -> IMP::atom::Hierarchies"""
2025 return _IMP_atom.Hierarchy_get_children(self)
2028 def get_parent(self):
2029 """get_parent(Hierarchy self) -> Hierarchy"""
2030 return _IMP_atom.Hierarchy_get_parent(self)
2033 def get_as_atom(self):
2034 """get_as_atom(Hierarchy self) -> Atom"""
2035 return _IMP_atom.Hierarchy_get_as_atom(self)
2038 def get_as_residue(self):
2039 """get_as_residue(Hierarchy self) -> Residue"""
2040 return _IMP_atom.Hierarchy_get_as_residue(self)
2043 def get_as_chain(self):
2044 """get_as_chain(Hierarchy self) -> Chain"""
2045 return _IMP_atom.Hierarchy_get_as_chain(self)
2048 def get_as_molecule(self):
2049 """get_as_molecule(Hierarchy self) -> Molecule"""
2050 return _IMP_atom.Hierarchy_get_as_molecule(self)
2053 def get_as_domain(self):
2054 """get_as_domain(Hierarchy self) -> Domain"""
2055 return _IMP_atom.Hierarchy_get_as_domain(self)
2058 def get_as_fragment(self):
2059 """get_as_fragment(Hierarchy self) -> Fragment"""
2060 return _IMP_atom.Hierarchy_get_as_fragment(self)
2063 def get_as_xyz(self):
2064 """get_as_xyz(Hierarchy self) -> XYZ"""
2065 return _IMP_atom.Hierarchy_get_as_xyz(self)
2068 def get_as_xyzr(self):
2069 """get_as_xyzr(Hierarchy self) -> XYZR"""
2070 return _IMP_atom.Hierarchy_get_as_xyzr(self)
2073 def get_as_mass(self):
2074 """get_as_mass(Hierarchy self) -> Mass"""
2075 return _IMP_atom.Hierarchy_get_as_mass(self)
2078 def get_as_state(self):
2079 """get_as_state(Hierarchy self) -> State"""
2080 return _IMP_atom.Hierarchy_get_as_state(self)
2084 """get_traits() -> HierarchyTraits"""
2085 return _IMP_atom.Hierarchy_get_traits()
2087 get_traits = staticmethod(get_traits)
2089 def show(self, *args):
2091 show(Hierarchy self, _ostream out, std::string delimiter)
2092 show(Hierarchy self, _ostream out)
2093 show(Hierarchy self)
2095 return _IMP_atom.Hierarchy_show(self, *args)
2098 def add_attribute(self, *args):
2100 add_attribute(Hierarchy self, FloatKey k, IMP::Float v, bool opt)
2101 add_attribute(Hierarchy self, FloatKey a0, IMP::Float a1)
2102 add_attribute(Hierarchy self, IntKey a0, IMP::Int a1)
2103 add_attribute(Hierarchy self, StringKey a0, IMP::String a1)
2104 add_attribute(Hierarchy self, ParticleIndexKey a0, Particle a1)
2105 add_attribute(Hierarchy self, ObjectKey a0, Object a1)
2107 return _IMP_atom.Hierarchy_add_attribute(self, *args)
2110 def get_value(self, *args):
2112 get_value(Hierarchy self, FloatKey a0) -> IMP::Float
2113 get_value(Hierarchy self, IntKey a0) -> IMP::Int
2114 get_value(Hierarchy self, StringKey a0) -> IMP::String
2115 get_value(Hierarchy self, ParticleIndexKey a0) -> Particle
2116 get_value(Hierarchy self, ObjectKey a0) -> Object
2118 return _IMP_atom.Hierarchy_get_value(self, *args)
2121 def set_value(self, *args):
2123 set_value(Hierarchy self, FloatKey a0, IMP::Float a1)
2124 set_value(Hierarchy self, IntKey a0, IMP::Int a1)
2125 set_value(Hierarchy self, StringKey a0, IMP::String a1)
2126 set_value(Hierarchy self, ParticleIndexKey a0, Particle a1)
2127 set_value(Hierarchy self, ObjectKey a0, Object a1)
2129 return _IMP_atom.Hierarchy_set_value(self, *args)
2132 def remove_attribute(self, *args):
2134 remove_attribute(Hierarchy self, FloatKey a0)
2135 remove_attribute(Hierarchy self, IntKey a0)
2136 remove_attribute(Hierarchy self, StringKey a0)
2137 remove_attribute(Hierarchy self, ParticleIndexKey a0)
2138 remove_attribute(Hierarchy self, ObjectKey a0)
2140 return _IMP_atom.Hierarchy_remove_attribute(self, *args)
2143 def has_attribute(self, *args):
2145 has_attribute(Hierarchy self, FloatKey a0) -> bool
2146 has_attribute(Hierarchy self, IntKey a0) -> bool
2147 has_attribute(Hierarchy self, StringKey a0) -> bool
2148 has_attribute(Hierarchy self, ParticleIndexKey a0) -> bool
2149 has_attribute(Hierarchy self, ObjectKey a0) -> bool
2151 return _IMP_atom.Hierarchy_has_attribute(self, *args)
2154 def get_derivative(self, a0):
2155 """get_derivative(Hierarchy self, FloatKey a0) -> double"""
2156 return _IMP_atom.Hierarchy_get_derivative(self, a0)
2160 """get_name(Hierarchy self) -> std::string"""
2161 return _IMP_atom.Hierarchy_get_name(self)
2164 def clear_caches(self):
2165 """clear_caches(Hierarchy self)"""
2166 return _IMP_atom.Hierarchy_clear_caches(self)
2169 def set_name(self, a0):
2170 """set_name(Hierarchy self, std::string a0)"""
2171 return _IMP_atom.Hierarchy_set_name(self, a0)
2175 """set_check_level(Hierarchy self, IMP::CheckLevel a0)"""
2176 return _IMP_atom.Hierarchy_set_check_level(self, a0)
2179 def add_to_derivative(self, a0, a1, a2):
2180 """add_to_derivative(Hierarchy self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2181 return _IMP_atom.Hierarchy_add_to_derivative(self, a0, a1, a2)
2184 def set_is_optimized(self, a0, a1):
2185 """set_is_optimized(Hierarchy self, FloatKey a0, bool a1)"""
2186 return _IMP_atom.Hierarchy_set_is_optimized(self, a0, a1)
2189 def get_is_optimized(self, a0):
2190 """get_is_optimized(Hierarchy self, FloatKey a0) -> bool"""
2191 return _IMP_atom.Hierarchy_get_is_optimized(self, a0)
2195 """get_check_level(Hierarchy self) -> IMP::CheckLevel"""
2196 return _IMP_atom.Hierarchy_get_check_level(self)
2199 def __eq__(self, *args):
2201 __eq__(Hierarchy self, Hierarchy o) -> bool
2202 __eq__(Hierarchy self, Particle d) -> bool
2204 return _IMP_atom.Hierarchy___eq__(self, *args)
2207 def __ne__(self, *args):
2209 __ne__(Hierarchy self, Hierarchy o) -> bool
2210 __ne__(Hierarchy self, Particle d) -> bool
2212 return _IMP_atom.Hierarchy___ne__(self, *args)
2215 def __le__(self, *args):
2217 __le__(Hierarchy self, Hierarchy o) -> bool
2218 __le__(Hierarchy self, Particle d) -> bool
2220 return _IMP_atom.Hierarchy___le__(self, *args)
2223 def __lt__(self, *args):
2225 __lt__(Hierarchy self, Hierarchy o) -> bool
2226 __lt__(Hierarchy self, Particle d) -> bool
2228 return _IMP_atom.Hierarchy___lt__(self, *args)
2231 def __ge__(self, *args):
2233 __ge__(Hierarchy self, Hierarchy o) -> bool
2234 __ge__(Hierarchy self, Particle d) -> bool
2236 return _IMP_atom.Hierarchy___ge__(self, *args)
2239 def __gt__(self, *args):
2241 __gt__(Hierarchy self, Hierarchy o) -> bool
2242 __gt__(Hierarchy self, Particle d) -> bool
2244 return _IMP_atom.Hierarchy___gt__(self, *args)
2248 """__hash__(Hierarchy self) -> std::size_t"""
2249 return _IMP_atom.Hierarchy___hash__(self)
2253 """__str__(Hierarchy self) -> std::string"""
2254 return _IMP_atom.Hierarchy___str__(self)
2258 """__repr__(Hierarchy self) -> std::string"""
2259 return _IMP_atom.Hierarchy___repr__(self)
2261 __swig_destroy__ = _IMP_atom.delete_Hierarchy
2262 __del__ =
lambda self:
None
2263 Hierarchy_swigregister = _IMP_atom.Hierarchy_swigregister
2264 Hierarchy_swigregister(Hierarchy)
2266 def Hierarchy_setup_particle(*args):
2268 setup_particle(Particle p, _ParticleIndexesAdaptor children) -> Hierarchy
2269 setup_particle(Particle p) -> Hierarchy
2270 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor children) -> Hierarchy
2271 Hierarchy_setup_particle(Model m, ParticleIndex pi) -> Hierarchy
2273 return _IMP_atom.Hierarchy_setup_particle(*args)
2275 def Hierarchy_get_is_setup(*args):
2277 get_is_setup(Particle p) -> bool
2278 Hierarchy_get_is_setup(Model m, ParticleIndex p) -> bool
2280 return _IMP_atom.Hierarchy_get_is_setup(*args)
2282 def Hierarchy_get_traits():
2283 """Hierarchy_get_traits() -> HierarchyTraits"""
2284 return _IMP_atom.Hierarchy_get_traits()
2287 _IMP_atom.ATOM_TYPE_swigconstant(_IMP_atom)
2288 ATOM_TYPE = _IMP_atom.ATOM_TYPE
2290 _IMP_atom.RESIDUE_TYPE_swigconstant(_IMP_atom)
2291 RESIDUE_TYPE = _IMP_atom.RESIDUE_TYPE
2293 _IMP_atom.CHAIN_TYPE_swigconstant(_IMP_atom)
2294 CHAIN_TYPE = _IMP_atom.CHAIN_TYPE
2296 _IMP_atom.MOLECULE_TYPE_swigconstant(_IMP_atom)
2297 MOLECULE_TYPE = _IMP_atom.MOLECULE_TYPE
2299 _IMP_atom.DOMAIN_TYPE_swigconstant(_IMP_atom)
2300 DOMAIN_TYPE = _IMP_atom.DOMAIN_TYPE
2302 _IMP_atom.FRAGMENT_TYPE_swigconstant(_IMP_atom)
2303 FRAGMENT_TYPE = _IMP_atom.FRAGMENT_TYPE
2305 _IMP_atom.XYZ_TYPE_swigconstant(_IMP_atom)
2306 XYZ_TYPE = _IMP_atom.XYZ_TYPE
2308 _IMP_atom.XYZR_TYPE_swigconstant(_IMP_atom)
2309 XYZR_TYPE = _IMP_atom.XYZR_TYPE
2311 _IMP_atom.MASS_TYPE_swigconstant(_IMP_atom)
2312 MASS_TYPE = _IMP_atom.MASS_TYPE
2314 _IMP_atom.STATE_TYPE_swigconstant(_IMP_atom)
2315 STATE_TYPE = _IMP_atom.STATE_TYPE
2317 def get_by_type(mhd, t):
2318 """get_by_type(Hierarchy mhd, IMP::atom::GetByType t) -> IMP::atom::Hierarchies"""
2319 return _IMP_atom.get_by_type(mhd, t)
2321 def create_fragment(ps):
2322 """create_fragment(IMP::atom::Hierarchies const & ps) -> Hierarchy"""
2323 return _IMP_atom.create_fragment(ps)
2325 def get_internal_bonds(mhd):
2326 """get_internal_bonds(Hierarchy mhd) -> IMP::atom::Bonds"""
2327 return _IMP_atom.get_internal_bonds(mhd)
2330 """get_root(Hierarchy h) -> Hierarchy"""
2331 return _IMP_atom.get_root(h)
2335 show(Hierarchy h, _ostream out)
2338 return _IMP_atom.show(*args)
2342 create_rigid_body(IMP::atom::Hierarchies const & h, std::string name) -> RigidBody
2343 create_rigid_body(IMP::atom::Hierarchies const & h) -> RigidBody
2344 create_rigid_body(Hierarchy h) -> RigidBody
2346 return _IMP_atom.create_rigid_body(*args)
2349 """create_compatible_rigid_body(Hierarchy h, Hierarchy reference) -> RigidBody"""
2350 return _IMP_atom.create_compatible_rigid_body(h, reference)
2352 def setup_as_rigid_body(h):
2353 """setup_as_rigid_body(Hierarchy h) -> RigidBody"""
2354 return _IMP_atom.setup_as_rigid_body(h)
2356 def get_is_heterogen(h):
2357 """get_is_heterogen(Hierarchy h) -> bool"""
2358 return _IMP_atom.get_is_heterogen(h)
2360 def create_clone(d):
2361 """create_clone(Hierarchy d) -> Hierarchy"""
2362 return _IMP_atom.create_clone(d)
2364 def create_clone_one(d):
2365 """create_clone_one(Hierarchy d) -> Hierarchy"""
2366 return _IMP_atom.create_clone_one(d)
2369 """destroy(Hierarchy d)"""
2370 return _IMP_atom.destroy(d)
2372 def get_bounding_box(h):
2373 """get_bounding_box(Hierarchy h) -> BoundingBox3D"""
2374 return _IMP_atom.get_bounding_box(h)
2376 def get_bounding_sphere(h):
2377 """get_bounding_sphere(Hierarchy h) -> Sphere3D"""
2378 return _IMP_atom.get_bounding_sphere(h)
2380 """Proxy of C++ IMP::atom::Angle class."""
2382 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2384 def __init__(self, *args):
2386 __init__(IMP::atom::Angle self) -> Angle
2387 __init__(IMP::atom::Angle self, Model m, ParticleIndex id) -> Angle
2388 __init__(IMP::atom::Angle self, _ParticleAdaptor d) -> Angle
2390 this = _IMP_atom.new_Angle(*args)
2392 self.this.append(this)
2396 def show(self, *args):
2398 show(Angle self, _ostream out)
2401 return _IMP_atom.Angle_show(self, *args)
2404 def setup_particle(*args):
2406 setup_particle(Model m, ParticleIndex pi, XYZ a, XYZ b, XYZ c) -> Angle
2407 setup_particle(_ParticleAdaptor decorator, XYZ a, XYZ b, XYZ c) -> Angle
2409 return _IMP_atom.Angle_setup_particle(*args)
2411 setup_particle = staticmethod(setup_particle)
2413 def get_is_setup(*args):
2415 get_is_setup(_ParticleAdaptor p) -> bool
2416 get_is_setup(Model m, ParticleIndex pi) -> bool
2418 return _IMP_atom.Angle_get_is_setup(*args)
2420 get_is_setup = staticmethod(get_is_setup)
2422 def get_particle(self, *args):
2424 get_particle(Angle self) -> Particle
2425 get_particle(Angle self, unsigned int i) -> Particle
2427 return _IMP_atom.Angle_get_particle(self, *args)
2430 def get_ideal(self):
2431 """get_ideal(Angle self) -> IMP::Float"""
2432 return _IMP_atom.Angle_get_ideal(self)
2435 def set_ideal(self, t):
2436 """set_ideal(Angle self, IMP::Float t)"""
2437 return _IMP_atom.Angle_set_ideal(self, t)
2440 def get_stiffness(self):
2441 """get_stiffness(Angle self) -> IMP::Float"""
2442 return _IMP_atom.Angle_get_stiffness(self)
2445 def set_stiffness(self, t):
2446 """set_stiffness(Angle self, IMP::Float t)"""
2447 return _IMP_atom.Angle_set_stiffness(self, t)
2450 def get_particle_key(i):
2451 """get_particle_key(unsigned int i) -> ParticleIndexKey"""
2452 return _IMP_atom.Angle_get_particle_key(i)
2454 get_particle_key = staticmethod(get_particle_key)
2456 def get_ideal_key():
2457 """get_ideal_key() -> FloatKey"""
2458 return _IMP_atom.Angle_get_ideal_key()
2460 get_ideal_key = staticmethod(get_ideal_key)
2462 def get_stiffness_key():
2463 """get_stiffness_key() -> FloatKey"""
2464 return _IMP_atom.Angle_get_stiffness_key()
2466 get_stiffness_key = staticmethod(get_stiffness_key)
2468 def add_attribute(self, *args):
2470 add_attribute(Angle self, FloatKey k, IMP::Float v, bool opt)
2471 add_attribute(Angle self, FloatKey a0, IMP::Float a1)
2472 add_attribute(Angle self, IntKey a0, IMP::Int a1)
2473 add_attribute(Angle self, StringKey a0, IMP::String a1)
2474 add_attribute(Angle self, ParticleIndexKey a0, Particle a1)
2475 add_attribute(Angle self, ObjectKey a0, Object a1)
2477 return _IMP_atom.Angle_add_attribute(self, *args)
2480 def get_value(self, *args):
2482 get_value(Angle self, FloatKey a0) -> IMP::Float
2483 get_value(Angle self, IntKey a0) -> IMP::Int
2484 get_value(Angle self, StringKey a0) -> IMP::String
2485 get_value(Angle self, ParticleIndexKey a0) -> Particle
2486 get_value(Angle self, ObjectKey a0) -> Object
2488 return _IMP_atom.Angle_get_value(self, *args)
2491 def set_value(self, *args):
2493 set_value(Angle self, FloatKey a0, IMP::Float a1)
2494 set_value(Angle self, IntKey a0, IMP::Int a1)
2495 set_value(Angle self, StringKey a0, IMP::String a1)
2496 set_value(Angle self, ParticleIndexKey a0, Particle a1)
2497 set_value(Angle self, ObjectKey a0, Object a1)
2499 return _IMP_atom.Angle_set_value(self, *args)
2502 def remove_attribute(self, *args):
2504 remove_attribute(Angle self, FloatKey a0)
2505 remove_attribute(Angle self, IntKey a0)
2506 remove_attribute(Angle self, StringKey a0)
2507 remove_attribute(Angle self, ParticleIndexKey a0)
2508 remove_attribute(Angle self, ObjectKey a0)
2510 return _IMP_atom.Angle_remove_attribute(self, *args)
2513 def has_attribute(self, *args):
2515 has_attribute(Angle self, FloatKey a0) -> bool
2516 has_attribute(Angle self, IntKey a0) -> bool
2517 has_attribute(Angle self, StringKey a0) -> bool
2518 has_attribute(Angle self, ParticleIndexKey a0) -> bool
2519 has_attribute(Angle self, ObjectKey a0) -> bool
2521 return _IMP_atom.Angle_has_attribute(self, *args)
2524 def get_derivative(self, a0):
2525 """get_derivative(Angle self, FloatKey a0) -> double"""
2526 return _IMP_atom.Angle_get_derivative(self, a0)
2530 """get_name(Angle self) -> std::string"""
2531 return _IMP_atom.Angle_get_name(self)
2534 def clear_caches(self):
2535 """clear_caches(Angle self)"""
2536 return _IMP_atom.Angle_clear_caches(self)
2539 def set_name(self, a0):
2540 """set_name(Angle self, std::string a0)"""
2541 return _IMP_atom.Angle_set_name(self, a0)
2545 """set_check_level(Angle self, IMP::CheckLevel a0)"""
2546 return _IMP_atom.Angle_set_check_level(self, a0)
2549 def add_to_derivative(self, a0, a1, a2):
2550 """add_to_derivative(Angle self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2551 return _IMP_atom.Angle_add_to_derivative(self, a0, a1, a2)
2554 def set_is_optimized(self, a0, a1):
2555 """set_is_optimized(Angle self, FloatKey a0, bool a1)"""
2556 return _IMP_atom.Angle_set_is_optimized(self, a0, a1)
2559 def get_is_optimized(self, a0):
2560 """get_is_optimized(Angle self, FloatKey a0) -> bool"""
2561 return _IMP_atom.Angle_get_is_optimized(self, a0)
2565 """get_check_level(Angle self) -> IMP::CheckLevel"""
2566 return _IMP_atom.Angle_get_check_level(self)
2569 def __eq__(self, *args):
2571 __eq__(Angle self, Angle o) -> bool
2572 __eq__(Angle self, Particle d) -> bool
2574 return _IMP_atom.Angle___eq__(self, *args)
2577 def __ne__(self, *args):
2579 __ne__(Angle self, Angle o) -> bool
2580 __ne__(Angle self, Particle d) -> bool
2582 return _IMP_atom.Angle___ne__(self, *args)
2585 def __le__(self, *args):
2587 __le__(Angle self, Angle o) -> bool
2588 __le__(Angle self, Particle d) -> bool
2590 return _IMP_atom.Angle___le__(self, *args)
2593 def __lt__(self, *args):
2595 __lt__(Angle self, Angle o) -> bool
2596 __lt__(Angle self, Particle d) -> bool
2598 return _IMP_atom.Angle___lt__(self, *args)
2601 def __ge__(self, *args):
2603 __ge__(Angle self, Angle o) -> bool
2604 __ge__(Angle self, Particle d) -> bool
2606 return _IMP_atom.Angle___ge__(self, *args)
2609 def __gt__(self, *args):
2611 __gt__(Angle self, Angle o) -> bool
2612 __gt__(Angle self, Particle d) -> bool
2614 return _IMP_atom.Angle___gt__(self, *args)
2618 """__hash__(Angle self) -> std::size_t"""
2619 return _IMP_atom.Angle___hash__(self)
2623 """__str__(Angle self) -> std::string"""
2624 return _IMP_atom.Angle___str__(self)
2628 """__repr__(Angle self) -> std::string"""
2629 return _IMP_atom.Angle___repr__(self)
2631 __swig_destroy__ = _IMP_atom.delete_Angle
2632 __del__ =
lambda self:
None
2633 Angle_swigregister = _IMP_atom.Angle_swigregister
2634 Angle_swigregister(Angle)
2636 def Angle_setup_particle(*args):
2638 setup_particle(Model m, ParticleIndex pi, XYZ a, XYZ b, XYZ c) -> Angle
2639 Angle_setup_particle(_ParticleAdaptor decorator, XYZ a, XYZ b, XYZ c) -> Angle
2641 return _IMP_atom.Angle_setup_particle(*args)
2643 def Angle_get_is_setup(*args):
2645 get_is_setup(_ParticleAdaptor p) -> bool
2646 Angle_get_is_setup(Model m, ParticleIndex pi) -> bool
2648 return _IMP_atom.Angle_get_is_setup(*args)
2650 def Angle_get_particle_key(i):
2651 """Angle_get_particle_key(unsigned int i) -> ParticleIndexKey"""
2652 return _IMP_atom.Angle_get_particle_key(i)
2654 def Angle_get_ideal_key():
2655 """Angle_get_ideal_key() -> FloatKey"""
2656 return _IMP_atom.Angle_get_ideal_key()
2658 def Angle_get_stiffness_key():
2659 """Angle_get_stiffness_key() -> FloatKey"""
2660 return _IMP_atom.Angle_get_stiffness_key()
2663 """Proxy of C++ IMP::atom::Dihedral class."""
2665 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2667 def __init__(self, *args):
2669 __init__(IMP::atom::Dihedral self) -> Dihedral
2670 __init__(IMP::atom::Dihedral self, Model m, ParticleIndex id) -> Dihedral
2671 __init__(IMP::atom::Dihedral self, _ParticleAdaptor d) -> Dihedral
2673 this = _IMP_atom.new_Dihedral(*args)
2675 self.this.append(this)
2679 def show(self, *args):
2681 show(Dihedral self, _ostream out)
2684 return _IMP_atom.Dihedral_show(self, *args)
2687 def setup_particle(*args):
2689 setup_particle(Model m, ParticleIndex pi, XYZ a, XYZ b, XYZ c, XYZ d) -> Dihedral
2690 setup_particle(_ParticleAdaptor decorator, XYZ a, XYZ b, XYZ c, XYZ d) -> Dihedral
2692 return _IMP_atom.Dihedral_setup_particle(*args)
2694 setup_particle = staticmethod(setup_particle)
2696 def get_is_setup(*args):
2698 get_is_setup(_ParticleAdaptor p) -> bool
2699 get_is_setup(Model m, ParticleIndex pi) -> bool
2701 return _IMP_atom.Dihedral_get_is_setup(*args)
2703 get_is_setup = staticmethod(get_is_setup)
2705 def get_particle(self, *args):
2707 get_particle(Dihedral self) -> Particle
2708 get_particle(Dihedral self, unsigned int i) -> Particle
2710 return _IMP_atom.Dihedral_get_particle(self, *args)
2713 def get_ideal(self):
2714 """get_ideal(Dihedral self) -> IMP::Float"""
2715 return _IMP_atom.Dihedral_get_ideal(self)
2718 def set_ideal(self, t):
2719 """set_ideal(Dihedral self, IMP::Float t)"""
2720 return _IMP_atom.Dihedral_set_ideal(self, t)
2723 def get_multiplicity(self):
2724 """get_multiplicity(Dihedral self) -> IMP::Int"""
2725 return _IMP_atom.Dihedral_get_multiplicity(self)
2728 def set_multiplicity(self, t):
2729 """set_multiplicity(Dihedral self, IMP::Int t)"""
2730 return _IMP_atom.Dihedral_set_multiplicity(self, t)
2733 def get_stiffness(self):
2734 """get_stiffness(Dihedral self) -> IMP::Float"""
2735 return _IMP_atom.Dihedral_get_stiffness(self)
2738 def set_stiffness(self, t):
2739 """set_stiffness(Dihedral self, IMP::Float t)"""
2740 return _IMP_atom.Dihedral_set_stiffness(self, t)
2743 def get_particle_key(i):
2744 """get_particle_key(unsigned int i) -> ParticleIndexKey"""
2745 return _IMP_atom.Dihedral_get_particle_key(i)
2747 get_particle_key = staticmethod(get_particle_key)
2749 def get_ideal_key():
2750 """get_ideal_key() -> FloatKey"""
2751 return _IMP_atom.Dihedral_get_ideal_key()
2753 get_ideal_key = staticmethod(get_ideal_key)
2755 def get_multiplicity_key():
2756 """get_multiplicity_key() -> IntKey"""
2757 return _IMP_atom.Dihedral_get_multiplicity_key()
2759 get_multiplicity_key = staticmethod(get_multiplicity_key)
2761 def get_stiffness_key():
2762 """get_stiffness_key() -> FloatKey"""
2763 return _IMP_atom.Dihedral_get_stiffness_key()
2765 get_stiffness_key = staticmethod(get_stiffness_key)
2767 def add_attribute(self, *args):
2769 add_attribute(Dihedral self, FloatKey k, IMP::Float v, bool opt)
2770 add_attribute(Dihedral self, FloatKey a0, IMP::Float a1)
2771 add_attribute(Dihedral self, IntKey a0, IMP::Int a1)
2772 add_attribute(Dihedral self, StringKey a0, IMP::String a1)
2773 add_attribute(Dihedral self, ParticleIndexKey a0, Particle a1)
2774 add_attribute(Dihedral self, ObjectKey a0, Object a1)
2776 return _IMP_atom.Dihedral_add_attribute(self, *args)
2779 def get_value(self, *args):
2781 get_value(Dihedral self, FloatKey a0) -> IMP::Float
2782 get_value(Dihedral self, IntKey a0) -> IMP::Int
2783 get_value(Dihedral self, StringKey a0) -> IMP::String
2784 get_value(Dihedral self, ParticleIndexKey a0) -> Particle
2785 get_value(Dihedral self, ObjectKey a0) -> Object
2787 return _IMP_atom.Dihedral_get_value(self, *args)
2790 def set_value(self, *args):
2792 set_value(Dihedral self, FloatKey a0, IMP::Float a1)
2793 set_value(Dihedral self, IntKey a0, IMP::Int a1)
2794 set_value(Dihedral self, StringKey a0, IMP::String a1)
2795 set_value(Dihedral self, ParticleIndexKey a0, Particle a1)
2796 set_value(Dihedral self, ObjectKey a0, Object a1)
2798 return _IMP_atom.Dihedral_set_value(self, *args)
2801 def remove_attribute(self, *args):
2803 remove_attribute(Dihedral self, FloatKey a0)
2804 remove_attribute(Dihedral self, IntKey a0)
2805 remove_attribute(Dihedral self, StringKey a0)
2806 remove_attribute(Dihedral self, ParticleIndexKey a0)
2807 remove_attribute(Dihedral self, ObjectKey a0)
2809 return _IMP_atom.Dihedral_remove_attribute(self, *args)
2812 def has_attribute(self, *args):
2814 has_attribute(Dihedral self, FloatKey a0) -> bool
2815 has_attribute(Dihedral self, IntKey a0) -> bool
2816 has_attribute(Dihedral self, StringKey a0) -> bool
2817 has_attribute(Dihedral self, ParticleIndexKey a0) -> bool
2818 has_attribute(Dihedral self, ObjectKey a0) -> bool
2820 return _IMP_atom.Dihedral_has_attribute(self, *args)
2823 def get_derivative(self, a0):
2824 """get_derivative(Dihedral self, FloatKey a0) -> double"""
2825 return _IMP_atom.Dihedral_get_derivative(self, a0)
2829 """get_name(Dihedral self) -> std::string"""
2830 return _IMP_atom.Dihedral_get_name(self)
2833 def clear_caches(self):
2834 """clear_caches(Dihedral self)"""
2835 return _IMP_atom.Dihedral_clear_caches(self)
2838 def set_name(self, a0):
2839 """set_name(Dihedral self, std::string a0)"""
2840 return _IMP_atom.Dihedral_set_name(self, a0)
2844 """set_check_level(Dihedral self, IMP::CheckLevel a0)"""
2845 return _IMP_atom.Dihedral_set_check_level(self, a0)
2848 def add_to_derivative(self, a0, a1, a2):
2849 """add_to_derivative(Dihedral self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2850 return _IMP_atom.Dihedral_add_to_derivative(self, a0, a1, a2)
2853 def set_is_optimized(self, a0, a1):
2854 """set_is_optimized(Dihedral self, FloatKey a0, bool a1)"""
2855 return _IMP_atom.Dihedral_set_is_optimized(self, a0, a1)
2858 def get_is_optimized(self, a0):
2859 """get_is_optimized(Dihedral self, FloatKey a0) -> bool"""
2860 return _IMP_atom.Dihedral_get_is_optimized(self, a0)
2864 """get_check_level(Dihedral self) -> IMP::CheckLevel"""
2865 return _IMP_atom.Dihedral_get_check_level(self)
2868 def __eq__(self, *args):
2870 __eq__(Dihedral self, Dihedral o) -> bool
2871 __eq__(Dihedral self, Particle d) -> bool
2873 return _IMP_atom.Dihedral___eq__(self, *args)
2876 def __ne__(self, *args):
2878 __ne__(Dihedral self, Dihedral o) -> bool
2879 __ne__(Dihedral self, Particle d) -> bool
2881 return _IMP_atom.Dihedral___ne__(self, *args)
2884 def __le__(self, *args):
2886 __le__(Dihedral self, Dihedral o) -> bool
2887 __le__(Dihedral self, Particle d) -> bool
2889 return _IMP_atom.Dihedral___le__(self, *args)
2892 def __lt__(self, *args):
2894 __lt__(Dihedral self, Dihedral o) -> bool
2895 __lt__(Dihedral self, Particle d) -> bool
2897 return _IMP_atom.Dihedral___lt__(self, *args)
2900 def __ge__(self, *args):
2902 __ge__(Dihedral self, Dihedral o) -> bool
2903 __ge__(Dihedral self, Particle d) -> bool
2905 return _IMP_atom.Dihedral___ge__(self, *args)
2908 def __gt__(self, *args):
2910 __gt__(Dihedral self, Dihedral o) -> bool
2911 __gt__(Dihedral self, Particle d) -> bool
2913 return _IMP_atom.Dihedral___gt__(self, *args)
2917 """__hash__(Dihedral self) -> std::size_t"""
2918 return _IMP_atom.Dihedral___hash__(self)
2922 """__str__(Dihedral self) -> std::string"""
2923 return _IMP_atom.Dihedral___str__(self)
2927 """__repr__(Dihedral self) -> std::string"""
2928 return _IMP_atom.Dihedral___repr__(self)
2930 __swig_destroy__ = _IMP_atom.delete_Dihedral
2931 __del__ =
lambda self:
None
2932 Dihedral_swigregister = _IMP_atom.Dihedral_swigregister
2933 Dihedral_swigregister(Dihedral)
2935 def Dihedral_setup_particle(*args):
2937 setup_particle(Model m, ParticleIndex pi, XYZ a, XYZ b, XYZ c, XYZ d) -> Dihedral
2938 Dihedral_setup_particle(_ParticleAdaptor decorator, XYZ a, XYZ b, XYZ c, XYZ d) -> Dihedral
2940 return _IMP_atom.Dihedral_setup_particle(*args)
2942 def Dihedral_get_is_setup(*args):
2944 get_is_setup(_ParticleAdaptor p) -> bool
2945 Dihedral_get_is_setup(Model m, ParticleIndex pi) -> bool
2947 return _IMP_atom.Dihedral_get_is_setup(*args)
2949 def Dihedral_get_particle_key(i):
2950 """Dihedral_get_particle_key(unsigned int i) -> ParticleIndexKey"""
2951 return _IMP_atom.Dihedral_get_particle_key(i)
2953 def Dihedral_get_ideal_key():
2954 """Dihedral_get_ideal_key() -> FloatKey"""
2955 return _IMP_atom.Dihedral_get_ideal_key()
2957 def Dihedral_get_multiplicity_key():
2958 """Dihedral_get_multiplicity_key() -> IntKey"""
2959 return _IMP_atom.Dihedral_get_multiplicity_key()
2961 def Dihedral_get_stiffness_key():
2962 """Dihedral_get_stiffness_key() -> FloatKey"""
2963 return _IMP_atom.Dihedral_get_stiffness_key()
2966 """Proxy of C++ IMP::atom::SmoothingFunction class."""
2968 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2970 def __init__(self, *args, **kwargs):
2971 raise AttributeError(
"No constructor defined - class is abstract")
2973 def __call__(self, *args):
2975 __call__(SmoothingFunction self, double score, double distance) -> double
2976 __call__(SmoothingFunction self, double score, double deriv, double distance) -> IMP::DerivativePair
2978 return _IMP_atom.SmoothingFunction___call__(self, *args)
2980 __swig_destroy__ = _IMP_atom.delete_SmoothingFunction
2981 __del__ =
lambda self:
None
2984 """__str__(SmoothingFunction self) -> std::string"""
2985 return _IMP_atom.SmoothingFunction___str__(self)
2989 """__repr__(SmoothingFunction self) -> std::string"""
2990 return _IMP_atom.SmoothingFunction___repr__(self)
2995 return _object_cast_to_SmoothingFunction(o)
2997 SmoothingFunction_swigregister = _IMP_atom.SmoothingFunction_swigregister
2998 SmoothingFunction_swigregister(SmoothingFunction)
3000 class ForceSwitch(SmoothingFunction):
3001 """Proxy of C++ IMP::atom::ForceSwitch class."""
3003 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3005 def __init__(self, min_distance, max_distance):
3006 """__init__(IMP::atom::ForceSwitch self, double min_distance, double max_distance) -> ForceSwitch"""
3007 this = _IMP_atom.new_ForceSwitch(min_distance, max_distance)
3009 self.this.append(this)
3013 def __call__(self, *args):
3015 __call__(ForceSwitch self, double score, double distance) -> double
3016 __call__(ForceSwitch self, double score, double deriv, double distance) -> IMP::DerivativePair
3018 return _IMP_atom.ForceSwitch___call__(self, *args)
3021 def get_version_info(self):
3022 """get_version_info(ForceSwitch self) -> VersionInfo"""
3023 return _IMP_atom.ForceSwitch_get_version_info(self)
3027 """__str__(ForceSwitch self) -> std::string"""
3028 return _IMP_atom.ForceSwitch___str__(self)
3032 """__repr__(ForceSwitch self) -> std::string"""
3033 return _IMP_atom.ForceSwitch___repr__(self)
3038 return _object_cast_to_ForceSwitch(o)
3040 ForceSwitch_swigregister = _IMP_atom.ForceSwitch_swigregister
3041 ForceSwitch_swigregister(ForceSwitch)
3044 """Proxy of C++ IMP::atom::AngleSingletonScore class."""
3046 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3048 def __init__(self, f):
3049 """__init__(IMP::atom::AngleSingletonScore self, UnaryFunction f) -> AngleSingletonScore"""
3050 this = _IMP_atom.new_AngleSingletonScore(f)
3052 self.this.append(this)
3056 def do_get_inputs(self, m, pis):
3057 """do_get_inputs(AngleSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3058 return _IMP_atom.AngleSingletonScore_do_get_inputs(self, m, pis)
3061 def get_version_info(self):
3062 """get_version_info(AngleSingletonScore self) -> VersionInfo"""
3063 return _IMP_atom.AngleSingletonScore_get_version_info(self)
3067 """__str__(AngleSingletonScore self) -> std::string"""
3068 return _IMP_atom.AngleSingletonScore___str__(self)
3072 """__repr__(AngleSingletonScore self) -> std::string"""
3073 return _IMP_atom.AngleSingletonScore___repr__(self)
3078 return _object_cast_to_AngleSingletonScore(o)
3080 AngleSingletonScore_swigregister = _IMP_atom.AngleSingletonScore_swigregister
3081 AngleSingletonScore_swigregister(AngleSingletonScore)
3084 """Proxy of C++ IMP::atom::BondEndpointsRefiner class."""
3086 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3089 """__init__(IMP::atom::BondEndpointsRefiner self) -> BondEndpointsRefiner"""
3090 this = _IMP_atom.new_BondEndpointsRefiner()
3092 self.this.append(this)
3096 def do_get_inputs(self, m, pis):
3097 """do_get_inputs(BondEndpointsRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3098 return _IMP_atom.BondEndpointsRefiner_do_get_inputs(self, m, pis)
3101 def get_version_info(self):
3102 """get_version_info(BondEndpointsRefiner self) -> VersionInfo"""
3103 return _IMP_atom.BondEndpointsRefiner_get_version_info(self)
3107 """__str__(BondEndpointsRefiner self) -> std::string"""
3108 return _IMP_atom.BondEndpointsRefiner___str__(self)
3112 """__repr__(BondEndpointsRefiner self) -> std::string"""
3113 return _IMP_atom.BondEndpointsRefiner___repr__(self)
3118 return _object_cast_to_BondEndpointsRefiner(o)
3120 BondEndpointsRefiner_swigregister = _IMP_atom.BondEndpointsRefiner_swigregister
3121 BondEndpointsRefiner_swigregister(BondEndpointsRefiner)
3124 """Proxy of C++ IMP::atom::BondPairContainer class."""
3126 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3128 def __init__(self, sc):
3129 """__init__(IMP::atom::BondPairContainer self, SingletonContainer sc) -> BondPairContainer"""
3130 this = _IMP_atom.new_BondPairContainer(sc)
3132 self.this.append(this)
3136 def do_get_inputs(self):
3137 """do_get_inputs(BondPairContainer self) -> IMP::ModelObjectsTemp"""
3138 return _IMP_atom.BondPairContainer_do_get_inputs(self)
3141 def do_apply(self, sm):
3142 """do_apply(BondPairContainer self, PairModifier sm)"""
3143 return _IMP_atom.BondPairContainer_do_apply(self, sm)
3146 def get_version_info(self):
3147 """get_version_info(BondPairContainer self) -> VersionInfo"""
3148 return _IMP_atom.BondPairContainer_get_version_info(self)
3152 """__str__(BondPairContainer self) -> std::string"""
3153 return _IMP_atom.BondPairContainer___str__(self)
3157 """__repr__(BondPairContainer self) -> std::string"""
3158 return _IMP_atom.BondPairContainer___repr__(self)
3163 return _object_cast_to_BondPairContainer(o)
3165 BondPairContainer_swigregister = _IMP_atom.BondPairContainer_swigregister
3166 BondPairContainer_swigregister(BondPairContainer)
3169 """Proxy of C++ IMP::atom::BondSingletonScore 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, f):
3174 """__init__(IMP::atom::BondSingletonScore self, UnaryFunction f) -> BondSingletonScore"""
3175 this = _IMP_atom.new_BondSingletonScore(f)
3177 self.this.append(this)
3181 def get_unary_function(self):
3182 """get_unary_function(BondSingletonScore self) -> UnaryFunction"""
3183 return _IMP_atom.BondSingletonScore_get_unary_function(self)
3186 def do_get_inputs(self, m, pis):
3187 """do_get_inputs(BondSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3188 return _IMP_atom.BondSingletonScore_do_get_inputs(self, m, pis)
3191 def get_version_info(self):
3192 """get_version_info(BondSingletonScore self) -> VersionInfo"""
3193 return _IMP_atom.BondSingletonScore_get_version_info(self)
3197 """__str__(BondSingletonScore self) -> std::string"""
3198 return _IMP_atom.BondSingletonScore___str__(self)
3202 """__repr__(BondSingletonScore self) -> std::string"""
3203 return _IMP_atom.BondSingletonScore___repr__(self)
3208 return _object_cast_to_BondSingletonScore(o)
3210 BondSingletonScore_swigregister = _IMP_atom.BondSingletonScore_swigregister
3211 BondSingletonScore_swigregister(BondSingletonScore)
3214 """Proxy of C++ IMP::atom::DihedralSingletonScore class."""
3216 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3219 """__init__(IMP::atom::DihedralSingletonScore self) -> DihedralSingletonScore"""
3220 this = _IMP_atom.new_DihedralSingletonScore()
3222 self.this.append(this)
3226 def do_get_inputs(self, m, pis):
3227 """do_get_inputs(DihedralSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3228 return _IMP_atom.DihedralSingletonScore_do_get_inputs(self, m, pis)
3231 def get_version_info(self):
3232 """get_version_info(DihedralSingletonScore self) -> VersionInfo"""
3233 return _IMP_atom.DihedralSingletonScore_get_version_info(self)
3237 """__str__(DihedralSingletonScore self) -> std::string"""
3238 return _IMP_atom.DihedralSingletonScore___str__(self)
3242 """__repr__(DihedralSingletonScore self) -> std::string"""
3243 return _IMP_atom.DihedralSingletonScore___repr__(self)
3248 return _object_cast_to_DihedralSingletonScore(o)
3250 DihedralSingletonScore_swigregister = _IMP_atom.DihedralSingletonScore_swigregister
3251 DihedralSingletonScore_swigregister(DihedralSingletonScore)
3254 """Proxy of C++ IMP::atom::ImproperSingletonScore class."""
3256 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3258 def __init__(self, f):
3259 """__init__(IMP::atom::ImproperSingletonScore self, UnaryFunction f) -> ImproperSingletonScore"""
3260 this = _IMP_atom.new_ImproperSingletonScore(f)
3262 self.this.append(this)
3266 def do_get_inputs(self, m, pis):
3267 """do_get_inputs(ImproperSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3268 return _IMP_atom.ImproperSingletonScore_do_get_inputs(self, m, pis)
3271 def get_version_info(self):
3272 """get_version_info(ImproperSingletonScore self) -> VersionInfo"""
3273 return _IMP_atom.ImproperSingletonScore_get_version_info(self)
3277 """__str__(ImproperSingletonScore self) -> std::string"""
3278 return _IMP_atom.ImproperSingletonScore___str__(self)
3282 """__repr__(ImproperSingletonScore self) -> std::string"""
3283 return _IMP_atom.ImproperSingletonScore___repr__(self)
3288 return _object_cast_to_ImproperSingletonScore(o)
3290 ImproperSingletonScore_swigregister = _IMP_atom.ImproperSingletonScore_swigregister
3291 ImproperSingletonScore_swigregister(ImproperSingletonScore)
3294 """Proxy of C++ IMP::atom::CenterOfMass class."""
3296 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3298 def get_constraint(self):
3299 """get_constraint(CenterOfMass self) -> Constraint"""
3300 return _IMP_atom.CenterOfMass_get_constraint(self)
3304 """get_mass(CenterOfMass self) -> IMP::Float"""
3305 return _IMP_atom.CenterOfMass_get_mass(self)
3308 def get_coordinate(self, i):
3309 """get_coordinate(CenterOfMass self, int i) -> IMP::Float"""
3310 return _IMP_atom.CenterOfMass_get_coordinate(self, i)
3313 def get_coordinates(self):
3314 """get_coordinates(CenterOfMass self) -> Vector3D"""
3315 return _IMP_atom.CenterOfMass_get_coordinates(self)
3318 def __init__(self, *args):
3320 __init__(IMP::atom::CenterOfMass self) -> CenterOfMass
3321 __init__(IMP::atom::CenterOfMass self, Model m, ParticleIndex id) -> CenterOfMass
3322 __init__(IMP::atom::CenterOfMass self, _ParticleAdaptor d) -> CenterOfMass
3324 this = _IMP_atom.new_CenterOfMass(*args)
3326 self.this.append(this)
3330 def show(self, *args):
3332 show(CenterOfMass self, _ostream out)
3333 show(CenterOfMass self)
3335 return _IMP_atom.CenterOfMass_show(self, *args)
3338 def setup_particle(*args):
3340 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor members) -> CenterOfMass
3341 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> CenterOfMass
3342 setup_particle(Model m, ParticleIndex pi, Refiner refiner) -> CenterOfMass
3343 setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> CenterOfMass
3345 return _IMP_atom.CenterOfMass_setup_particle(*args)
3347 setup_particle = staticmethod(setup_particle)
3349 def get_is_setup(*args):
3351 get_is_setup(_ParticleAdaptor p) -> bool
3352 get_is_setup(Model m, ParticleIndex pi) -> bool
3354 return _IMP_atom.CenterOfMass_get_is_setup(*args)
3356 get_is_setup = staticmethod(get_is_setup)
3358 def add_attribute(self, *args):
3360 add_attribute(CenterOfMass self, FloatKey k, IMP::Float v, bool opt)
3361 add_attribute(CenterOfMass self, FloatKey a0, IMP::Float a1)
3362 add_attribute(CenterOfMass self, IntKey a0, IMP::Int a1)
3363 add_attribute(CenterOfMass self, StringKey a0, IMP::String a1)
3364 add_attribute(CenterOfMass self, ParticleIndexKey a0, Particle a1)
3365 add_attribute(CenterOfMass self, ObjectKey a0, Object a1)
3367 return _IMP_atom.CenterOfMass_add_attribute(self, *args)
3370 def get_value(self, *args):
3372 get_value(CenterOfMass self, FloatKey a0) -> IMP::Float
3373 get_value(CenterOfMass self, IntKey a0) -> IMP::Int
3374 get_value(CenterOfMass self, StringKey a0) -> IMP::String
3375 get_value(CenterOfMass self, ParticleIndexKey a0) -> Particle
3376 get_value(CenterOfMass self, ObjectKey a0) -> Object
3378 return _IMP_atom.CenterOfMass_get_value(self, *args)
3381 def set_value(self, *args):
3383 set_value(CenterOfMass self, FloatKey a0, IMP::Float a1)
3384 set_value(CenterOfMass self, IntKey a0, IMP::Int a1)
3385 set_value(CenterOfMass self, StringKey a0, IMP::String a1)
3386 set_value(CenterOfMass self, ParticleIndexKey a0, Particle a1)
3387 set_value(CenterOfMass self, ObjectKey a0, Object a1)
3389 return _IMP_atom.CenterOfMass_set_value(self, *args)
3392 def remove_attribute(self, *args):
3394 remove_attribute(CenterOfMass self, FloatKey a0)
3395 remove_attribute(CenterOfMass self, IntKey a0)
3396 remove_attribute(CenterOfMass self, StringKey a0)
3397 remove_attribute(CenterOfMass self, ParticleIndexKey a0)
3398 remove_attribute(CenterOfMass self, ObjectKey a0)
3400 return _IMP_atom.CenterOfMass_remove_attribute(self, *args)
3403 def has_attribute(self, *args):
3405 has_attribute(CenterOfMass self, FloatKey a0) -> bool
3406 has_attribute(CenterOfMass self, IntKey a0) -> bool
3407 has_attribute(CenterOfMass self, StringKey a0) -> bool
3408 has_attribute(CenterOfMass self, ParticleIndexKey a0) -> bool
3409 has_attribute(CenterOfMass self, ObjectKey a0) -> bool
3411 return _IMP_atom.CenterOfMass_has_attribute(self, *args)
3414 def get_derivative(self, a0):
3415 """get_derivative(CenterOfMass self, FloatKey a0) -> double"""
3416 return _IMP_atom.CenterOfMass_get_derivative(self, a0)
3420 """get_name(CenterOfMass self) -> std::string"""
3421 return _IMP_atom.CenterOfMass_get_name(self)
3424 def clear_caches(self):
3425 """clear_caches(CenterOfMass self)"""
3426 return _IMP_atom.CenterOfMass_clear_caches(self)
3429 def set_name(self, a0):
3430 """set_name(CenterOfMass self, std::string a0)"""
3431 return _IMP_atom.CenterOfMass_set_name(self, a0)
3435 """set_check_level(CenterOfMass self, IMP::CheckLevel a0)"""
3436 return _IMP_atom.CenterOfMass_set_check_level(self, a0)
3439 def add_to_derivative(self, a0, a1, a2):
3440 """add_to_derivative(CenterOfMass self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
3441 return _IMP_atom.CenterOfMass_add_to_derivative(self, a0, a1, a2)
3444 def set_is_optimized(self, a0, a1):
3445 """set_is_optimized(CenterOfMass self, FloatKey a0, bool a1)"""
3446 return _IMP_atom.CenterOfMass_set_is_optimized(self, a0, a1)
3449 def get_is_optimized(self, a0):
3450 """get_is_optimized(CenterOfMass self, FloatKey a0) -> bool"""
3451 return _IMP_atom.CenterOfMass_get_is_optimized(self, a0)
3455 """get_check_level(CenterOfMass self) -> IMP::CheckLevel"""
3456 return _IMP_atom.CenterOfMass_get_check_level(self)
3459 def __eq__(self, *args):
3461 __eq__(CenterOfMass self, CenterOfMass o) -> bool
3462 __eq__(CenterOfMass self, Particle d) -> bool
3464 return _IMP_atom.CenterOfMass___eq__(self, *args)
3467 def __ne__(self, *args):
3469 __ne__(CenterOfMass self, CenterOfMass o) -> bool
3470 __ne__(CenterOfMass self, Particle d) -> bool
3472 return _IMP_atom.CenterOfMass___ne__(self, *args)
3475 def __le__(self, *args):
3477 __le__(CenterOfMass self, CenterOfMass o) -> bool
3478 __le__(CenterOfMass self, Particle d) -> bool
3480 return _IMP_atom.CenterOfMass___le__(self, *args)
3483 def __lt__(self, *args):
3485 __lt__(CenterOfMass self, CenterOfMass o) -> bool
3486 __lt__(CenterOfMass self, Particle d) -> bool
3488 return _IMP_atom.CenterOfMass___lt__(self, *args)
3491 def __ge__(self, *args):
3493 __ge__(CenterOfMass self, CenterOfMass o) -> bool
3494 __ge__(CenterOfMass self, Particle d) -> bool
3496 return _IMP_atom.CenterOfMass___ge__(self, *args)
3499 def __gt__(self, *args):
3501 __gt__(CenterOfMass self, CenterOfMass o) -> bool
3502 __gt__(CenterOfMass self, Particle d) -> bool
3504 return _IMP_atom.CenterOfMass___gt__(self, *args)
3508 """__hash__(CenterOfMass self) -> std::size_t"""
3509 return _IMP_atom.CenterOfMass___hash__(self)
3513 """__str__(CenterOfMass self) -> std::string"""
3514 return _IMP_atom.CenterOfMass___str__(self)
3518 """__repr__(CenterOfMass self) -> std::string"""
3519 return _IMP_atom.CenterOfMass___repr__(self)
3521 __swig_destroy__ = _IMP_atom.delete_CenterOfMass
3522 __del__ =
lambda self:
None
3523 CenterOfMass_swigregister = _IMP_atom.CenterOfMass_swigregister
3524 CenterOfMass_swigregister(CenterOfMass)
3526 def CenterOfMass_setup_particle(*args):
3528 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor members) -> CenterOfMass
3529 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> CenterOfMass
3530 setup_particle(Model m, ParticleIndex pi, Refiner refiner) -> CenterOfMass
3531 CenterOfMass_setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> CenterOfMass
3533 return _IMP_atom.CenterOfMass_setup_particle(*args)
3535 def CenterOfMass_get_is_setup(*args):
3537 get_is_setup(_ParticleAdaptor p) -> bool
3538 CenterOfMass_get_is_setup(Model m, ParticleIndex pi) -> bool
3540 return _IMP_atom.CenterOfMass_get_is_setup(*args)
3543 """Proxy of C++ IMP::atom::CoverBond class."""
3545 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3548 """__init__(IMP::atom::CoverBond self) -> CoverBond"""
3549 this = _IMP_atom.new_CoverBond()
3551 self.this.append(this)
3555 def do_get_inputs(self, m, pis):
3556 """do_get_inputs(CoverBond self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3557 return _IMP_atom.CoverBond_do_get_inputs(self, m, pis)
3560 def do_get_outputs(self, m, pis):
3561 """do_get_outputs(CoverBond self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3562 return _IMP_atom.CoverBond_do_get_outputs(self, m, pis)
3565 def get_version_info(self):
3566 """get_version_info(CoverBond self) -> VersionInfo"""
3567 return _IMP_atom.CoverBond_get_version_info(self)
3571 """__str__(CoverBond self) -> std::string"""
3572 return _IMP_atom.CoverBond___str__(self)
3576 """__repr__(CoverBond self) -> std::string"""
3577 return _IMP_atom.CoverBond___repr__(self)
3582 return _object_cast_to_CoverBond(o)
3584 CoverBond_swigregister = _IMP_atom.CoverBond_swigregister
3585 CoverBond_swigregister(CoverBond)
3588 """Proxy of C++ IMP::atom::Simulator class."""
3590 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3592 def __init__(self, *args):
3594 __init__(IMP::atom::Simulator self, Model m, std::string name, double wave_factor=1.0) -> Simulator
3595 __init__(IMP::atom::Simulator self, Model m, std::string name) -> Simulator
3596 __init__(IMP::atom::Simulator self, Model m) -> Simulator
3598 if self.__class__ == Simulator:
3602 this = _IMP_atom.new_Simulator(_self, *args)
3604 self.this.append(this)
3608 if self.__class__ != Simulator:
3609 _director_objects.register(self)
3614 def simulate(self, time_in_fs):
3615 """simulate(Simulator self, double time_in_fs) -> double"""
3616 return _IMP_atom.Simulator_simulate(self, time_in_fs)
3619 def simulate_wave(self, time_in_fs, max_time_step_factor=10.0, base=1.5):
3621 simulate_wave(Simulator self, double time_in_fs, double max_time_step_factor=10.0, double base=1.5) -> double
3622 simulate_wave(Simulator self, double time_in_fs, double max_time_step_factor=10.0) -> double
3623 simulate_wave(Simulator self, double time_in_fs) -> double
3625 return _IMP_atom.Simulator_simulate_wave(self, time_in_fs, max_time_step_factor, base)
3628 def get_temperature(self):
3629 """get_temperature(Simulator self) -> double"""
3630 return _IMP_atom.Simulator_get_temperature(self)
3633 def set_temperature(self, d):
3634 """set_temperature(Simulator self, double d)"""
3635 return _IMP_atom.Simulator_set_temperature(self, d)
3638 def set_maximum_time_step(self, ts):
3639 """set_maximum_time_step(Simulator self, double ts)"""
3640 return _IMP_atom.Simulator_set_maximum_time_step(self, ts)
3643 def get_maximum_time_step(self):
3644 """get_maximum_time_step(Simulator self) -> double"""
3645 return _IMP_atom.Simulator_get_maximum_time_step(self)
3648 def get_last_time_step(self):
3649 """get_last_time_step(Simulator self) -> double"""
3650 return _IMP_atom.Simulator_get_last_time_step(self)
3653 def set_time_step(self, ts):
3654 """set_time_step(Simulator self, double ts)"""
3655 return _IMP_atom.Simulator_set_time_step(self, ts)
3659 """get_kt(Simulator self) -> double"""
3660 return _IMP_atom.Simulator_get_kt(self)
3663 def get_current_time(self):
3664 """get_current_time(Simulator self) -> double"""
3665 return _IMP_atom.Simulator_get_current_time(self)
3668 def set_current_time(self, ct):
3669 """set_current_time(Simulator self, double ct)"""
3670 return _IMP_atom.Simulator_set_current_time(self, ct)
3673 def get_simulation_particles(self):
3674 """get_simulation_particles(Simulator self) -> IMP::ParticlesTemp"""
3675 return _IMP_atom.Simulator_get_simulation_particles(self)
3678 def get_simulation_particle_indexes(self):
3679 """get_simulation_particle_indexes(Simulator self) -> IMP::ParticleIndexes"""
3680 return _IMP_atom.Simulator_get_simulation_particle_indexes(self)
3683 def remove_particle(self, d):
3684 """remove_particle(Simulator self, Particle d)"""
3685 return _IMP_atom.Simulator_remove_particle(self, d)
3688 def remove_particles(self, d):
3689 """remove_particles(Simulator self, IMP::Particles const & d)"""
3690 return _IMP_atom.Simulator_remove_particles(self, d)
3693 def set_particles(self, ps):
3694 """set_particles(Simulator self, IMP::Particles const & ps)"""
3695 return _IMP_atom.Simulator_set_particles(self, ps)
3698 def set_particles_order(self, objs):
3699 """set_particles_order(Simulator self, IMP::Particles const & objs)"""
3700 return _IMP_atom.Simulator_set_particles_order(self, objs)
3704 """add_particle(Simulator self, Particle obj) -> unsigned int"""
3705 return _IMP_atom.Simulator_add_particle(self, obj)
3709 """add_particles(Simulator self, IMP::Particles const & objs)"""
3710 return _IMP_atom.Simulator_add_particles(self, objs)
3713 def clear_particles(self):
3714 """clear_particles(Simulator self)"""
3715 return _IMP_atom.Simulator_clear_particles(self)
3718 def get_number_of_particles(self):
3719 """get_number_of_particles(Simulator self) -> unsigned int"""
3720 return _IMP_atom.Simulator_get_number_of_particles(self)
3723 def get_has_particles(self):
3724 """get_has_particles(Simulator self) -> bool"""
3725 return _IMP_atom.Simulator_get_has_particles(self)
3728 def get_particle(self, i):
3729 """get_particle(Simulator self, unsigned int i) -> Particle"""
3730 return _IMP_atom.Simulator_get_particle(self, i)
3734 """get_particles(Simulator self) -> IMP::Particles"""
3735 return _IMP_atom.Simulator_get_particles(self)
3738 def reserve_particles(self, sz):
3739 """reserve_particles(Simulator self, unsigned int sz)"""
3740 return _IMP_atom.Simulator_reserve_particles(self, sz)
3743 def do_optimize(self, max_steps):
3744 """do_optimize(Simulator self, unsigned int max_steps) -> IMP::Float"""
3745 return _IMP_atom.Simulator_do_optimize(self, max_steps)
3748 def setup(self, arg0):
3749 """setup(Simulator self, IMP::ParticleIndexes const & arg0)"""
3750 return _IMP_atom.Simulator_setup(self, arg0)
3753 def do_step(self, sc, dt):
3754 """do_step(Simulator self, IMP::ParticleIndexes const & sc, double dt) -> double"""
3755 return _IMP_atom.Simulator_do_step(self, sc, dt)
3758 def get_is_simulation_particle(self, p):
3759 """get_is_simulation_particle(Simulator self, ParticleIndex p) -> bool"""
3760 return _IMP_atom.Simulator_get_is_simulation_particle(self, p)
3763 def do_simulate(self, time):
3764 """do_simulate(Simulator self, double time) -> double"""
3765 return _IMP_atom.Simulator_do_simulate(self, time)
3768 def do_simulate_wave(self, time_in_fs, max_time_step_factor=10.0, base=1.5):
3770 do_simulate_wave(Simulator self, double time_in_fs, double max_time_step_factor=10.0, double base=1.5) -> double
3771 do_simulate_wave(Simulator self, double time_in_fs, double max_time_step_factor=10.0) -> double
3772 do_simulate_wave(Simulator self, double time_in_fs) -> double
3774 return _IMP_atom.Simulator_do_simulate_wave(self, time_in_fs, max_time_step_factor, base)
3778 """__str__(Simulator self) -> std::string"""
3779 return _IMP_atom.Simulator___str__(self)
3783 """__repr__(Simulator self) -> std::string"""
3784 return _IMP_atom.Simulator___repr__(self)
3789 return _object_cast_to_Simulator(o)
3792 def get_type_name(self):
3793 return self.__class__.__name__
3794 def do_show(self, out):
3796 def get_version_info(self):
3797 if"IMP::atom" ==
"IMP":
3798 return VersionInfo(self.__module__,
3799 __import__(self.__module__).get_module_version())
3802 __import__(self.__module__).get_module_version())
3805 return _object_cast_to_Simulator(o)
3807 __swig_destroy__ = _IMP_atom.delete_Simulator
3808 __del__ =
lambda self:
None
3809 def __disown__(self):
3811 _IMP_atom.disown_Simulator(self)
3812 return weakref_proxy(self)
3814 def do_destroy(self):
3815 """do_destroy(Simulator self)"""
3816 return _IMP_atom.Simulator_do_destroy(self)
3819 def handle_set_has_required_score_states(self, arg0):
3820 """handle_set_has_required_score_states(Simulator self, bool arg0)"""
3821 return _IMP_atom.Simulator_handle_set_has_required_score_states(self, arg0)
3824 def do_get_inputs(self):
3825 """do_get_inputs(Simulator self) -> IMP::ModelObjectsTemp"""
3826 return _IMP_atom.Simulator_do_get_inputs(self)
3829 def do_get_outputs(self):
3830 """do_get_outputs(Simulator self) -> IMP::ModelObjectsTemp"""
3831 return _IMP_atom.Simulator_do_get_outputs(self)
3834 def do_get_interactions(self):
3835 """do_get_interactions(Simulator self) -> IMP::ModelObjectsTemps"""
3836 return _IMP_atom.Simulator_do_get_interactions(self)
3838 Simulator_swigregister = _IMP_atom.Simulator_swigregister
3839 Simulator_swigregister(Simulator)
3842 def get_energy_in_femto_joules(energy_in_kcal_per_mol):
3843 """get_energy_in_femto_joules(double energy_in_kcal_per_mol) -> double"""
3844 return _IMP_atom.get_energy_in_femto_joules(energy_in_kcal_per_mol)
3847 """get_force_in_femto_newtons(double force_in_kcal_per_mol_per_angstrom) -> double"""
3848 return _IMP_atom.get_force_in_femto_newtons(force_in_kcal_per_mol_per_angstrom)
3851 """get_spring_constant_in_femto_newtons_per_angstrom(double k_in_kcal_per_mol_per_angstrom_square) -> double"""
3852 return _IMP_atom.get_spring_constant_in_femto_newtons_per_angstrom(k_in_kcal_per_mol_per_angstrom_square)
3854 _IMP_atom.IMP_ATOM_DEFAULT_BD_RANDOM_POOL_SIZE_swigconstant(_IMP_atom)
3855 IMP_ATOM_DEFAULT_BD_RANDOM_POOL_SIZE = _IMP_atom.IMP_ATOM_DEFAULT_BD_RANDOM_POOL_SIZE
3856 class BrownianDynamics(Simulator):
3857 """Proxy of C++ IMP::atom::BrownianDynamics class."""
3859 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3861 def __init__(self, *args):
3863 __init__(IMP::atom::BrownianDynamics self, Model m, std::string name, double wave_factor=1.0, unsigned int random_pool_size=500) -> BrownianDynamics
3864 __init__(IMP::atom::BrownianDynamics self, Model m, std::string name, double wave_factor=1.0) -> BrownianDynamics
3865 __init__(IMP::atom::BrownianDynamics self, Model m, std::string name) -> BrownianDynamics
3866 __init__(IMP::atom::BrownianDynamics self, Model m) -> BrownianDynamics
3868 this = _IMP_atom.new_BrownianDynamics(*args)
3870 self.this.append(this)
3874 def set_maximum_move(self, ms):
3875 """set_maximum_move(BrownianDynamics self, double ms)"""
3876 return _IMP_atom.BrownianDynamics_set_maximum_move(self, ms)
3879 def set_use_stochastic_runge_kutta(self, tf):
3880 """set_use_stochastic_runge_kutta(BrownianDynamics self, bool tf)"""
3881 return _IMP_atom.BrownianDynamics_set_use_stochastic_runge_kutta(self, tf)
3884 def get_version_info(self):
3885 """get_version_info(BrownianDynamics self) -> VersionInfo"""
3886 return _IMP_atom.BrownianDynamics_get_version_info(self)
3890 """__str__(BrownianDynamics self) -> std::string"""
3891 return _IMP_atom.BrownianDynamics___str__(self)
3895 """__repr__(BrownianDynamics self) -> std::string"""
3896 return _IMP_atom.BrownianDynamics___repr__(self)
3901 return _object_cast_to_BrownianDynamics(o)
3903 BrownianDynamics_swigregister = _IMP_atom.BrownianDynamics_swigregister
3904 BrownianDynamics_swigregister(BrownianDynamics)
3908 """get_maximum_time_step_estimate(BrownianDynamics bd) -> double"""
3909 return _IMP_atom.get_maximum_time_step_estimate(bd)
3911 def get_harmonic_sigma(D, f):
3912 """get_harmonic_sigma(double D, double f) -> double"""
3913 return _IMP_atom.get_harmonic_sigma(D, f)
3914 class BrownianDynamicsTAMD(BrownianDynamics):
3915 """Proxy of C++ IMP::atom::BrownianDynamicsTAMD class."""
3917 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3919 def __init__(self, *args):
3921 __init__(IMP::atom::BrownianDynamicsTAMD self, Model m, std::string name, double wave_factor=1.0) -> BrownianDynamicsTAMD
3922 __init__(IMP::atom::BrownianDynamicsTAMD self, Model m, std::string name) -> BrownianDynamicsTAMD
3923 __init__(IMP::atom::BrownianDynamicsTAMD self, Model m) -> BrownianDynamicsTAMD
3925 this = _IMP_atom.new_BrownianDynamicsTAMD(*args)
3927 self.this.append(this)
3932 """__str__(BrownianDynamicsTAMD self) -> std::string"""
3933 return _IMP_atom.BrownianDynamicsTAMD___str__(self)
3937 """__repr__(BrownianDynamicsTAMD self) -> std::string"""
3938 return _IMP_atom.BrownianDynamicsTAMD___repr__(self)
3943 return _object_cast_to_BrownianDynamicsTAMD(o)
3945 __swig_destroy__ = _IMP_atom.delete_BrownianDynamicsTAMD
3946 __del__ =
lambda self:
None
3947 BrownianDynamicsTAMD_swigregister = _IMP_atom.BrownianDynamicsTAMD_swigregister
3948 BrownianDynamicsTAMD_swigregister(BrownianDynamicsTAMD)
3951 """Proxy of C++ IMP::atom::Diffusion class."""
3953 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3955 def __init__(self, *args):
3957 __init__(IMP::atom::Diffusion self) -> Diffusion
3958 __init__(IMP::atom::Diffusion self, Model m, ParticleIndex id) -> Diffusion
3959 __init__(IMP::atom::Diffusion self, _ParticleAdaptor d) -> Diffusion
3961 this = _IMP_atom.new_Diffusion(*args)
3963 self.this.append(this)
3967 def show(self, *args):
3969 show(Diffusion self, _ostream out)
3970 show(Diffusion self)
3972 return _IMP_atom.Diffusion_show(self, *args)
3975 def setup_particle(*args):
3977 setup_particle(Model m, ParticleIndex pi, IMP::Float D) -> Diffusion
3978 setup_particle(_ParticleAdaptor decorator, IMP::Float D) -> Diffusion
3979 setup_particle(Model m, ParticleIndex pi, Vector3D v, IMP::Float D) -> Diffusion
3980 setup_particle(_ParticleAdaptor decorator, Vector3D v, IMP::Float D) -> Diffusion
3981 setup_particle(Model m, ParticleIndex pi) -> Diffusion
3982 setup_particle(_ParticleAdaptor decorator) -> Diffusion
3984 return _IMP_atom.Diffusion_setup_particle(*args)
3986 setup_particle = staticmethod(setup_particle)
3988 def get_is_setup(*args):
3990 get_is_setup(_ParticleAdaptor p) -> bool
3991 get_is_setup(Model m, ParticleIndex p) -> bool
3993 return _IMP_atom.Diffusion_get_is_setup(*args)
3995 get_is_setup = staticmethod(get_is_setup)
3997 def set_diffusion_coefficient(self, d):
3998 """set_diffusion_coefficient(Diffusion self, double d)"""
3999 return _IMP_atom.Diffusion_set_diffusion_coefficient(self, d)
4003 """get_diffusion_coefficient(Diffusion self) -> double"""
4004 return _IMP_atom.Diffusion_get_diffusion_coefficient(self)
4007 def get_diffusion_coefficient_key():
4008 """get_diffusion_coefficient_key() -> FloatKey"""
4009 return _IMP_atom.Diffusion_get_diffusion_coefficient_key()
4011 get_diffusion_coefficient_key = staticmethod(get_diffusion_coefficient_key)
4013 def add_attribute(self, *args):
4015 add_attribute(Diffusion self, FloatKey k, IMP::Float v, bool opt)
4016 add_attribute(Diffusion self, FloatKey a0, IMP::Float a1)
4017 add_attribute(Diffusion self, IntKey a0, IMP::Int a1)
4018 add_attribute(Diffusion self, StringKey a0, IMP::String a1)
4019 add_attribute(Diffusion self, ParticleIndexKey a0, Particle a1)
4020 add_attribute(Diffusion self, ObjectKey a0, Object a1)
4022 return _IMP_atom.Diffusion_add_attribute(self, *args)
4025 def get_value(self, *args):
4027 get_value(Diffusion self, FloatKey a0) -> IMP::Float
4028 get_value(Diffusion self, IntKey a0) -> IMP::Int
4029 get_value(Diffusion self, StringKey a0) -> IMP::String
4030 get_value(Diffusion self, ParticleIndexKey a0) -> Particle
4031 get_value(Diffusion self, ObjectKey a0) -> Object
4033 return _IMP_atom.Diffusion_get_value(self, *args)
4036 def set_value(self, *args):
4038 set_value(Diffusion self, FloatKey a0, IMP::Float a1)
4039 set_value(Diffusion self, IntKey a0, IMP::Int a1)
4040 set_value(Diffusion self, StringKey a0, IMP::String a1)
4041 set_value(Diffusion self, ParticleIndexKey a0, Particle a1)
4042 set_value(Diffusion self, ObjectKey a0, Object a1)
4044 return _IMP_atom.Diffusion_set_value(self, *args)
4047 def remove_attribute(self, *args):
4049 remove_attribute(Diffusion self, FloatKey a0)
4050 remove_attribute(Diffusion self, IntKey a0)
4051 remove_attribute(Diffusion self, StringKey a0)
4052 remove_attribute(Diffusion self, ParticleIndexKey a0)
4053 remove_attribute(Diffusion self, ObjectKey a0)
4055 return _IMP_atom.Diffusion_remove_attribute(self, *args)
4058 def has_attribute(self, *args):
4060 has_attribute(Diffusion self, FloatKey a0) -> bool
4061 has_attribute(Diffusion self, IntKey a0) -> bool
4062 has_attribute(Diffusion self, StringKey a0) -> bool
4063 has_attribute(Diffusion self, ParticleIndexKey a0) -> bool
4064 has_attribute(Diffusion self, ObjectKey a0) -> bool
4066 return _IMP_atom.Diffusion_has_attribute(self, *args)
4069 def get_derivative(self, a0):
4070 """get_derivative(Diffusion self, FloatKey a0) -> double"""
4071 return _IMP_atom.Diffusion_get_derivative(self, a0)
4075 """get_name(Diffusion self) -> std::string"""
4076 return _IMP_atom.Diffusion_get_name(self)
4079 def clear_caches(self):
4080 """clear_caches(Diffusion self)"""
4081 return _IMP_atom.Diffusion_clear_caches(self)
4084 def set_name(self, a0):
4085 """set_name(Diffusion self, std::string a0)"""
4086 return _IMP_atom.Diffusion_set_name(self, a0)
4090 """set_check_level(Diffusion self, IMP::CheckLevel a0)"""
4091 return _IMP_atom.Diffusion_set_check_level(self, a0)
4094 def add_to_derivative(self, a0, a1, a2):
4095 """add_to_derivative(Diffusion self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
4096 return _IMP_atom.Diffusion_add_to_derivative(self, a0, a1, a2)
4099 def set_is_optimized(self, a0, a1):
4100 """set_is_optimized(Diffusion self, FloatKey a0, bool a1)"""
4101 return _IMP_atom.Diffusion_set_is_optimized(self, a0, a1)
4104 def get_is_optimized(self, a0):
4105 """get_is_optimized(Diffusion self, FloatKey a0) -> bool"""
4106 return _IMP_atom.Diffusion_get_is_optimized(self, a0)
4110 """get_check_level(Diffusion self) -> IMP::CheckLevel"""
4111 return _IMP_atom.Diffusion_get_check_level(self)
4114 def __eq__(self, *args):
4116 __eq__(Diffusion self, Diffusion o) -> bool
4117 __eq__(Diffusion self, Particle d) -> bool
4119 return _IMP_atom.Diffusion___eq__(self, *args)
4122 def __ne__(self, *args):
4124 __ne__(Diffusion self, Diffusion o) -> bool
4125 __ne__(Diffusion self, Particle d) -> bool
4127 return _IMP_atom.Diffusion___ne__(self, *args)
4130 def __le__(self, *args):
4132 __le__(Diffusion self, Diffusion o) -> bool
4133 __le__(Diffusion self, Particle d) -> bool
4135 return _IMP_atom.Diffusion___le__(self, *args)
4138 def __lt__(self, *args):
4140 __lt__(Diffusion self, Diffusion o) -> bool
4141 __lt__(Diffusion self, Particle d) -> bool
4143 return _IMP_atom.Diffusion___lt__(self, *args)
4146 def __ge__(self, *args):
4148 __ge__(Diffusion self, Diffusion o) -> bool
4149 __ge__(Diffusion self, Particle d) -> bool
4151 return _IMP_atom.Diffusion___ge__(self, *args)
4154 def __gt__(self, *args):
4156 __gt__(Diffusion self, Diffusion o) -> bool
4157 __gt__(Diffusion self, Particle d) -> bool
4159 return _IMP_atom.Diffusion___gt__(self, *args)
4163 """__hash__(Diffusion self) -> std::size_t"""
4164 return _IMP_atom.Diffusion___hash__(self)
4168 """__str__(Diffusion self) -> std::string"""
4169 return _IMP_atom.Diffusion___str__(self)
4173 """__repr__(Diffusion self) -> std::string"""
4174 return _IMP_atom.Diffusion___repr__(self)
4176 __swig_destroy__ = _IMP_atom.delete_Diffusion
4177 __del__ =
lambda self:
None
4178 Diffusion_swigregister = _IMP_atom.Diffusion_swigregister
4179 Diffusion_swigregister(Diffusion)
4181 def Diffusion_setup_particle(*args):
4183 setup_particle(Model m, ParticleIndex pi, IMP::Float D) -> Diffusion
4184 setup_particle(_ParticleAdaptor decorator, IMP::Float D) -> Diffusion
4185 setup_particle(Model m, ParticleIndex pi, Vector3D v, IMP::Float D) -> Diffusion
4186 setup_particle(_ParticleAdaptor decorator, Vector3D v, IMP::Float D) -> Diffusion
4187 setup_particle(Model m, ParticleIndex pi) -> Diffusion
4188 Diffusion_setup_particle(_ParticleAdaptor decorator) -> Diffusion
4190 return _IMP_atom.Diffusion_setup_particle(*args)
4192 def Diffusion_get_is_setup(*args):
4194 get_is_setup(_ParticleAdaptor p) -> bool
4195 Diffusion_get_is_setup(Model m, ParticleIndex p) -> bool
4197 return _IMP_atom.Diffusion_get_is_setup(*args)
4199 def Diffusion_get_diffusion_coefficient_key():
4200 """Diffusion_get_diffusion_coefficient_key() -> FloatKey"""
4201 return _IMP_atom.Diffusion_get_diffusion_coefficient_key()
4204 def get_diffusion_coefficient_from_cm2_per_second(din):
4205 """get_diffusion_coefficient_from_cm2_per_second(double din) -> double"""
4206 return _IMP_atom.get_diffusion_coefficient_from_cm2_per_second(din)
4207 class RigidBodyDiffusion(Diffusion):
4208 """Proxy of C++ IMP::atom::RigidBodyDiffusion class."""
4210 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4212 def __init__(self, *args):
4214 __init__(IMP::atom::RigidBodyDiffusion self) -> RigidBodyDiffusion
4215 __init__(IMP::atom::RigidBodyDiffusion self, Model m, ParticleIndex id) -> RigidBodyDiffusion
4216 __init__(IMP::atom::RigidBodyDiffusion self, _ParticleAdaptor d) -> RigidBodyDiffusion
4218 this = _IMP_atom.new_RigidBodyDiffusion(*args)
4220 self.this.append(this)
4224 def show(self, *args):
4226 show(RigidBodyDiffusion self, _ostream out)
4227 show(RigidBodyDiffusion self)
4229 return _IMP_atom.RigidBodyDiffusion_show(self, *args)
4232 def setup_particle(*args):
4234 setup_particle(Model m, ParticleIndex pi) -> RigidBodyDiffusion
4235 setup_particle(_ParticleAdaptor decorator) -> RigidBodyDiffusion
4237 return _IMP_atom.RigidBodyDiffusion_setup_particle(*args)
4239 setup_particle = staticmethod(setup_particle)
4242 """get_rotational_diffusion_coefficient(RigidBodyDiffusion self) -> double"""
4243 return _IMP_atom.RigidBodyDiffusion_get_rotational_diffusion_coefficient(self)
4246 def set_rotational_diffusion_coefficient(self, d):
4247 """set_rotational_diffusion_coefficient(RigidBodyDiffusion self, double d)"""
4248 return _IMP_atom.RigidBodyDiffusion_set_rotational_diffusion_coefficient(self, d)
4251 def get_is_setup(*args):
4253 get_is_setup(_ParticleAdaptor p) -> bool
4254 get_is_setup(Model m, ParticleIndex p) -> bool
4256 return _IMP_atom.RigidBodyDiffusion_get_is_setup(*args)
4258 get_is_setup = staticmethod(get_is_setup)
4260 def get_rotational_diffusion_coefficient_key():
4261 """get_rotational_diffusion_coefficient_key() -> FloatKey"""
4262 return _IMP_atom.RigidBodyDiffusion_get_rotational_diffusion_coefficient_key()
4264 get_rotational_diffusion_coefficient_key = staticmethod(get_rotational_diffusion_coefficient_key)
4266 def add_attribute(self, *args):
4268 add_attribute(RigidBodyDiffusion self, FloatKey k, IMP::Float v, bool opt)
4269 add_attribute(RigidBodyDiffusion self, FloatKey a0, IMP::Float a1)
4270 add_attribute(RigidBodyDiffusion self, IntKey a0, IMP::Int a1)
4271 add_attribute(RigidBodyDiffusion self, StringKey a0, IMP::String a1)
4272 add_attribute(RigidBodyDiffusion self, ParticleIndexKey a0, Particle a1)
4273 add_attribute(RigidBodyDiffusion self, ObjectKey a0, Object a1)
4275 return _IMP_atom.RigidBodyDiffusion_add_attribute(self, *args)
4278 def get_value(self, *args):
4280 get_value(RigidBodyDiffusion self, FloatKey a0) -> IMP::Float
4281 get_value(RigidBodyDiffusion self, IntKey a0) -> IMP::Int
4282 get_value(RigidBodyDiffusion self, StringKey a0) -> IMP::String
4283 get_value(RigidBodyDiffusion self, ParticleIndexKey a0) -> Particle
4284 get_value(RigidBodyDiffusion self, ObjectKey a0) -> Object
4286 return _IMP_atom.RigidBodyDiffusion_get_value(self, *args)
4289 def set_value(self, *args):
4291 set_value(RigidBodyDiffusion self, FloatKey a0, IMP::Float a1)
4292 set_value(RigidBodyDiffusion self, IntKey a0, IMP::Int a1)
4293 set_value(RigidBodyDiffusion self, StringKey a0, IMP::String a1)
4294 set_value(RigidBodyDiffusion self, ParticleIndexKey a0, Particle a1)
4295 set_value(RigidBodyDiffusion self, ObjectKey a0, Object a1)
4297 return _IMP_atom.RigidBodyDiffusion_set_value(self, *args)
4300 def remove_attribute(self, *args):
4302 remove_attribute(RigidBodyDiffusion self, FloatKey a0)
4303 remove_attribute(RigidBodyDiffusion self, IntKey a0)
4304 remove_attribute(RigidBodyDiffusion self, StringKey a0)
4305 remove_attribute(RigidBodyDiffusion self, ParticleIndexKey a0)
4306 remove_attribute(RigidBodyDiffusion self, ObjectKey a0)
4308 return _IMP_atom.RigidBodyDiffusion_remove_attribute(self, *args)
4311 def has_attribute(self, *args):
4313 has_attribute(RigidBodyDiffusion self, FloatKey a0) -> bool
4314 has_attribute(RigidBodyDiffusion self, IntKey a0) -> bool
4315 has_attribute(RigidBodyDiffusion self, StringKey a0) -> bool
4316 has_attribute(RigidBodyDiffusion self, ParticleIndexKey a0) -> bool
4317 has_attribute(RigidBodyDiffusion self, ObjectKey a0) -> bool
4319 return _IMP_atom.RigidBodyDiffusion_has_attribute(self, *args)
4322 def get_derivative(self, a0):
4323 """get_derivative(RigidBodyDiffusion self, FloatKey a0) -> double"""
4324 return _IMP_atom.RigidBodyDiffusion_get_derivative(self, a0)
4328 """get_name(RigidBodyDiffusion self) -> std::string"""
4329 return _IMP_atom.RigidBodyDiffusion_get_name(self)
4332 def clear_caches(self):
4333 """clear_caches(RigidBodyDiffusion self)"""
4334 return _IMP_atom.RigidBodyDiffusion_clear_caches(self)
4337 def set_name(self, a0):
4338 """set_name(RigidBodyDiffusion self, std::string a0)"""
4339 return _IMP_atom.RigidBodyDiffusion_set_name(self, a0)
4343 """set_check_level(RigidBodyDiffusion self, IMP::CheckLevel a0)"""
4344 return _IMP_atom.RigidBodyDiffusion_set_check_level(self, a0)
4347 def add_to_derivative(self, a0, a1, a2):
4348 """add_to_derivative(RigidBodyDiffusion self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
4349 return _IMP_atom.RigidBodyDiffusion_add_to_derivative(self, a0, a1, a2)
4352 def set_is_optimized(self, a0, a1):
4353 """set_is_optimized(RigidBodyDiffusion self, FloatKey a0, bool a1)"""
4354 return _IMP_atom.RigidBodyDiffusion_set_is_optimized(self, a0, a1)
4357 def get_is_optimized(self, a0):
4358 """get_is_optimized(RigidBodyDiffusion self, FloatKey a0) -> bool"""
4359 return _IMP_atom.RigidBodyDiffusion_get_is_optimized(self, a0)
4363 """get_check_level(RigidBodyDiffusion self) -> IMP::CheckLevel"""
4364 return _IMP_atom.RigidBodyDiffusion_get_check_level(self)
4367 def __eq__(self, *args):
4369 __eq__(RigidBodyDiffusion self, RigidBodyDiffusion o) -> bool
4370 __eq__(RigidBodyDiffusion self, Particle d) -> bool
4372 return _IMP_atom.RigidBodyDiffusion___eq__(self, *args)
4375 def __ne__(self, *args):
4377 __ne__(RigidBodyDiffusion self, RigidBodyDiffusion o) -> bool
4378 __ne__(RigidBodyDiffusion self, Particle d) -> bool
4380 return _IMP_atom.RigidBodyDiffusion___ne__(self, *args)
4383 def __le__(self, *args):
4385 __le__(RigidBodyDiffusion self, RigidBodyDiffusion o) -> bool
4386 __le__(RigidBodyDiffusion self, Particle d) -> bool
4388 return _IMP_atom.RigidBodyDiffusion___le__(self, *args)
4391 def __lt__(self, *args):
4393 __lt__(RigidBodyDiffusion self, RigidBodyDiffusion o) -> bool
4394 __lt__(RigidBodyDiffusion self, Particle d) -> bool
4396 return _IMP_atom.RigidBodyDiffusion___lt__(self, *args)
4399 def __ge__(self, *args):
4401 __ge__(RigidBodyDiffusion self, RigidBodyDiffusion o) -> bool
4402 __ge__(RigidBodyDiffusion self, Particle d) -> bool
4404 return _IMP_atom.RigidBodyDiffusion___ge__(self, *args)
4407 def __gt__(self, *args):
4409 __gt__(RigidBodyDiffusion self, RigidBodyDiffusion o) -> bool
4410 __gt__(RigidBodyDiffusion self, Particle d) -> bool
4412 return _IMP_atom.RigidBodyDiffusion___gt__(self, *args)
4416 """__hash__(RigidBodyDiffusion self) -> std::size_t"""
4417 return _IMP_atom.RigidBodyDiffusion___hash__(self)
4421 """__str__(RigidBodyDiffusion self) -> std::string"""
4422 return _IMP_atom.RigidBodyDiffusion___str__(self)
4426 """__repr__(RigidBodyDiffusion self) -> std::string"""
4427 return _IMP_atom.RigidBodyDiffusion___repr__(self)
4429 __swig_destroy__ = _IMP_atom.delete_RigidBodyDiffusion
4430 __del__ =
lambda self:
None
4431 RigidBodyDiffusion_swigregister = _IMP_atom.RigidBodyDiffusion_swigregister
4432 RigidBodyDiffusion_swigregister(RigidBodyDiffusion)
4434 def RigidBodyDiffusion_setup_particle(*args):
4436 setup_particle(Model m, ParticleIndex pi) -> RigidBodyDiffusion
4437 RigidBodyDiffusion_setup_particle(_ParticleAdaptor decorator) -> RigidBodyDiffusion
4439 return _IMP_atom.RigidBodyDiffusion_setup_particle(*args)
4441 def RigidBodyDiffusion_get_is_setup(*args):
4443 get_is_setup(_ParticleAdaptor p) -> bool
4444 RigidBodyDiffusion_get_is_setup(Model m, ParticleIndex p) -> bool
4446 return _IMP_atom.RigidBodyDiffusion_get_is_setup(*args)
4448 def RigidBodyDiffusion_get_rotational_diffusion_coefficient_key():
4449 """RigidBodyDiffusion_get_rotational_diffusion_coefficient_key() -> FloatKey"""
4450 return _IMP_atom.RigidBodyDiffusion_get_rotational_diffusion_coefficient_key()
4453 """Proxy of C++ IMP::atom::TAMDParticle class."""
4455 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4457 def __init__(self, *args):
4459 __init__(IMP::atom::TAMDParticle self) -> TAMDParticle
4460 __init__(IMP::atom::TAMDParticle self, Model m, ParticleIndex id) -> TAMDParticle
4461 __init__(IMP::atom::TAMDParticle self, _ParticleAdaptor d) -> TAMDParticle
4463 this = _IMP_atom.new_TAMDParticle(*args)
4465 self.this.append(this)
4469 def show(self, *args):
4471 show(TAMDParticle self, _ostream out)
4472 show(TAMDParticle self)
4474 return _IMP_atom.TAMDParticle_show(self, *args)
4477 def setup_particle(*args):
4479 setup_particle(Model m, ParticleIndex pi, ParticleIndex pi_ref, IMP::Float tsf, IMP::Float fsf) -> TAMDParticle
4480 setup_particle(_ParticleAdaptor decorator, ParticleIndex pi_ref, IMP::Float tsf, IMP::Float fsf) -> TAMDParticle
4481 setup_particle(Model m, ParticleIndex pi, Particle p_ref, IMP::Float tsf, IMP::Float fsf) -> TAMDParticle
4482 setup_particle(_ParticleAdaptor decorator, Particle p_ref, IMP::Float tsf, IMP::Float fsf) -> TAMDParticle
4484 return _IMP_atom.TAMDParticle_setup_particle(*args)
4486 setup_particle = staticmethod(setup_particle)
4488 def get_is_setup(*args):
4490 get_is_setup(_ParticleAdaptor p) -> bool
4491 get_is_setup(Model m, ParticleIndex p) -> bool
4493 return _IMP_atom.TAMDParticle_get_is_setup(*args)
4495 get_is_setup = staticmethod(get_is_setup)
4497 def get_reference_particle_index(self):
4498 """get_reference_particle_index(TAMDParticle self) -> ParticleIndex"""
4499 return _IMP_atom.TAMDParticle_get_reference_particle_index(self)
4502 def set_temperature_scale_factor(self, tsf):
4503 """set_temperature_scale_factor(TAMDParticle self, float tsf)"""
4504 return _IMP_atom.TAMDParticle_set_temperature_scale_factor(self, tsf)
4507 def get_temperature_scale_factor(self):
4508 """get_temperature_scale_factor(TAMDParticle self) -> double"""
4509 return _IMP_atom.TAMDParticle_get_temperature_scale_factor(self)
4512 def set_friction_scale_factor(self, tsf):
4513 """set_friction_scale_factor(TAMDParticle self, float tsf)"""
4514 return _IMP_atom.TAMDParticle_set_friction_scale_factor(self, tsf)
4517 def get_friction_scale_factor(self):
4518 """get_friction_scale_factor(TAMDParticle self) -> double"""
4519 return _IMP_atom.TAMDParticle_get_friction_scale_factor(self)
4522 def update_coordinates_from_ref(self):
4523 """update_coordinates_from_ref(TAMDParticle self)"""
4524 return _IMP_atom.TAMDParticle_update_coordinates_from_ref(self)
4527 def get_temperature_scale_factor_key():
4528 """get_temperature_scale_factor_key() -> FloatKey"""
4529 return _IMP_atom.TAMDParticle_get_temperature_scale_factor_key()
4531 get_temperature_scale_factor_key = staticmethod(get_temperature_scale_factor_key)
4533 def get_friction_scale_factor_key():
4534 """get_friction_scale_factor_key() -> FloatKey"""
4535 return _IMP_atom.TAMDParticle_get_friction_scale_factor_key()
4537 get_friction_scale_factor_key = staticmethod(get_friction_scale_factor_key)
4539 def get_reference_particle_index_key():
4540 """get_reference_particle_index_key() -> ParticleIndexKey"""
4541 return _IMP_atom.TAMDParticle_get_reference_particle_index_key()
4543 get_reference_particle_index_key = staticmethod(get_reference_particle_index_key)
4545 def add_attribute(self, *args):
4547 add_attribute(TAMDParticle self, FloatKey k, IMP::Float v, bool opt)
4548 add_attribute(TAMDParticle self, FloatKey a0, IMP::Float a1)
4549 add_attribute(TAMDParticle self, IntKey a0, IMP::Int a1)
4550 add_attribute(TAMDParticle self, StringKey a0, IMP::String a1)
4551 add_attribute(TAMDParticle self, ParticleIndexKey a0, Particle a1)
4552 add_attribute(TAMDParticle self, ObjectKey a0, Object a1)
4554 return _IMP_atom.TAMDParticle_add_attribute(self, *args)
4557 def get_value(self, *args):
4559 get_value(TAMDParticle self, FloatKey a0) -> IMP::Float
4560 get_value(TAMDParticle self, IntKey a0) -> IMP::Int
4561 get_value(TAMDParticle self, StringKey a0) -> IMP::String
4562 get_value(TAMDParticle self, ParticleIndexKey a0) -> Particle
4563 get_value(TAMDParticle self, ObjectKey a0) -> Object
4565 return _IMP_atom.TAMDParticle_get_value(self, *args)
4568 def set_value(self, *args):
4570 set_value(TAMDParticle self, FloatKey a0, IMP::Float a1)
4571 set_value(TAMDParticle self, IntKey a0, IMP::Int a1)
4572 set_value(TAMDParticle self, StringKey a0, IMP::String a1)
4573 set_value(TAMDParticle self, ParticleIndexKey a0, Particle a1)
4574 set_value(TAMDParticle self, ObjectKey a0, Object a1)
4576 return _IMP_atom.TAMDParticle_set_value(self, *args)
4579 def remove_attribute(self, *args):
4581 remove_attribute(TAMDParticle self, FloatKey a0)
4582 remove_attribute(TAMDParticle self, IntKey a0)
4583 remove_attribute(TAMDParticle self, StringKey a0)
4584 remove_attribute(TAMDParticle self, ParticleIndexKey a0)
4585 remove_attribute(TAMDParticle self, ObjectKey a0)
4587 return _IMP_atom.TAMDParticle_remove_attribute(self, *args)
4590 def has_attribute(self, *args):
4592 has_attribute(TAMDParticle self, FloatKey a0) -> bool
4593 has_attribute(TAMDParticle self, IntKey a0) -> bool
4594 has_attribute(TAMDParticle self, StringKey a0) -> bool
4595 has_attribute(TAMDParticle self, ParticleIndexKey a0) -> bool
4596 has_attribute(TAMDParticle self, ObjectKey a0) -> bool
4598 return _IMP_atom.TAMDParticle_has_attribute(self, *args)
4601 def get_derivative(self, a0):
4602 """get_derivative(TAMDParticle self, FloatKey a0) -> double"""
4603 return _IMP_atom.TAMDParticle_get_derivative(self, a0)
4607 """get_name(TAMDParticle self) -> std::string"""
4608 return _IMP_atom.TAMDParticle_get_name(self)
4611 def clear_caches(self):
4612 """clear_caches(TAMDParticle self)"""
4613 return _IMP_atom.TAMDParticle_clear_caches(self)
4616 def set_name(self, a0):
4617 """set_name(TAMDParticle self, std::string a0)"""
4618 return _IMP_atom.TAMDParticle_set_name(self, a0)
4622 """set_check_level(TAMDParticle self, IMP::CheckLevel a0)"""
4623 return _IMP_atom.TAMDParticle_set_check_level(self, a0)
4626 def add_to_derivative(self, a0, a1, a2):
4627 """add_to_derivative(TAMDParticle self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
4628 return _IMP_atom.TAMDParticle_add_to_derivative(self, a0, a1, a2)
4631 def set_is_optimized(self, a0, a1):
4632 """set_is_optimized(TAMDParticle self, FloatKey a0, bool a1)"""
4633 return _IMP_atom.TAMDParticle_set_is_optimized(self, a0, a1)
4636 def get_is_optimized(self, a0):
4637 """get_is_optimized(TAMDParticle self, FloatKey a0) -> bool"""
4638 return _IMP_atom.TAMDParticle_get_is_optimized(self, a0)
4642 """get_check_level(TAMDParticle self) -> IMP::CheckLevel"""
4643 return _IMP_atom.TAMDParticle_get_check_level(self)
4646 def __eq__(self, *args):
4648 __eq__(TAMDParticle self, TAMDParticle o) -> bool
4649 __eq__(TAMDParticle self, Particle d) -> bool
4651 return _IMP_atom.TAMDParticle___eq__(self, *args)
4654 def __ne__(self, *args):
4656 __ne__(TAMDParticle self, TAMDParticle o) -> bool
4657 __ne__(TAMDParticle self, Particle d) -> bool
4659 return _IMP_atom.TAMDParticle___ne__(self, *args)
4662 def __le__(self, *args):
4664 __le__(TAMDParticle self, TAMDParticle o) -> bool
4665 __le__(TAMDParticle self, Particle d) -> bool
4667 return _IMP_atom.TAMDParticle___le__(self, *args)
4670 def __lt__(self, *args):
4672 __lt__(TAMDParticle self, TAMDParticle o) -> bool
4673 __lt__(TAMDParticle self, Particle d) -> bool
4675 return _IMP_atom.TAMDParticle___lt__(self, *args)
4678 def __ge__(self, *args):
4680 __ge__(TAMDParticle self, TAMDParticle o) -> bool
4681 __ge__(TAMDParticle self, Particle d) -> bool
4683 return _IMP_atom.TAMDParticle___ge__(self, *args)
4686 def __gt__(self, *args):
4688 __gt__(TAMDParticle self, TAMDParticle o) -> bool
4689 __gt__(TAMDParticle self, Particle d) -> bool
4691 return _IMP_atom.TAMDParticle___gt__(self, *args)
4695 """__hash__(TAMDParticle self) -> std::size_t"""
4696 return _IMP_atom.TAMDParticle___hash__(self)
4700 """__str__(TAMDParticle self) -> std::string"""
4701 return _IMP_atom.TAMDParticle___str__(self)
4705 """__repr__(TAMDParticle self) -> std::string"""
4706 return _IMP_atom.TAMDParticle___repr__(self)
4708 __swig_destroy__ = _IMP_atom.delete_TAMDParticle
4709 __del__ =
lambda self:
None
4710 TAMDParticle_swigregister = _IMP_atom.TAMDParticle_swigregister
4711 TAMDParticle_swigregister(TAMDParticle)
4713 def TAMDParticle_setup_particle(*args):
4715 setup_particle(Model m, ParticleIndex pi, ParticleIndex pi_ref, IMP::Float tsf, IMP::Float fsf) -> TAMDParticle
4716 setup_particle(_ParticleAdaptor decorator, ParticleIndex pi_ref, IMP::Float tsf, IMP::Float fsf) -> TAMDParticle
4717 setup_particle(Model m, ParticleIndex pi, Particle p_ref, IMP::Float tsf, IMP::Float fsf) -> TAMDParticle
4718 TAMDParticle_setup_particle(_ParticleAdaptor decorator, Particle p_ref, IMP::Float tsf, IMP::Float fsf) -> TAMDParticle
4720 return _IMP_atom.TAMDParticle_setup_particle(*args)
4722 def TAMDParticle_get_is_setup(*args):
4724 get_is_setup(_ParticleAdaptor p) -> bool
4725 TAMDParticle_get_is_setup(Model m, ParticleIndex p) -> bool
4727 return _IMP_atom.TAMDParticle_get_is_setup(*args)
4729 def TAMDParticle_get_temperature_scale_factor_key():
4730 """TAMDParticle_get_temperature_scale_factor_key() -> FloatKey"""
4731 return _IMP_atom.TAMDParticle_get_temperature_scale_factor_key()
4733 def TAMDParticle_get_friction_scale_factor_key():
4734 """TAMDParticle_get_friction_scale_factor_key() -> FloatKey"""
4735 return _IMP_atom.TAMDParticle_get_friction_scale_factor_key()
4737 def TAMDParticle_get_reference_particle_index_key():
4738 """TAMDParticle_get_reference_particle_index_key() -> ParticleIndexKey"""
4739 return _IMP_atom.TAMDParticle_get_reference_particle_index_key()
4741 class Chain(Hierarchy):
4742 """Proxy of C++ IMP::atom::Chain class."""
4744 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4746 def __init__(self, *args):
4748 __init__(IMP::atom::Chain self) -> Chain
4749 __init__(IMP::atom::Chain self, Model m, ParticleIndex id) -> Chain
4750 __init__(IMP::atom::Chain self, _ParticleAdaptor d) -> Chain
4752 this = _IMP_atom.new_Chain(*args)
4754 self.this.append(this)
4758 def show(self, *args):
4760 show(Chain self, _ostream out)
4763 return _IMP_atom.Chain_show(self, *args)
4766 def setup_particle(*args):
4768 setup_particle(Model m, ParticleIndex pi, std::string id) -> Chain
4769 setup_particle(_ParticleAdaptor decorator, std::string id) -> Chain
4770 setup_particle(Model m, ParticleIndex pi, char id) -> Chain
4771 setup_particle(_ParticleAdaptor decorator, char id) -> Chain
4772 setup_particle(Model m, ParticleIndex pi, Chain other) -> Chain
4773 setup_particle(_ParticleAdaptor decorator, Chain other) -> Chain
4775 return _IMP_atom.Chain_setup_particle(*args)
4777 setup_particle = staticmethod(setup_particle)
4779 def get_is_setup(*args):
4781 get_is_setup(_ParticleAdaptor p) -> bool
4782 get_is_setup(Model m, ParticleIndex pi) -> bool
4784 return _IMP_atom.Chain_get_is_setup(*args)
4786 get_is_setup = staticmethod(get_is_setup)
4789 """get_id(Chain self) -> std::string"""
4790 return _IMP_atom.Chain_get_id(self)
4793 def set_id(self, c):
4794 """set_id(Chain self, std::string c)"""
4795 return _IMP_atom.Chain_set_id(self, c)
4799 """get_id_key() -> StringKey"""
4800 return _IMP_atom.Chain_get_id_key()
4802 get_id_key = staticmethod(get_id_key)
4804 def add_attribute(self, *args):
4806 add_attribute(Chain self, FloatKey k, IMP::Float v, bool opt)
4807 add_attribute(Chain self, FloatKey a0, IMP::Float a1)
4808 add_attribute(Chain self, IntKey a0, IMP::Int a1)
4809 add_attribute(Chain self, StringKey a0, IMP::String a1)
4810 add_attribute(Chain self, ParticleIndexKey a0, Particle a1)
4811 add_attribute(Chain self, ObjectKey a0, Object a1)
4813 return _IMP_atom.Chain_add_attribute(self, *args)
4816 def get_value(self, *args):
4818 get_value(Chain self, FloatKey a0) -> IMP::Float
4819 get_value(Chain self, IntKey a0) -> IMP::Int
4820 get_value(Chain self, StringKey a0) -> IMP::String
4821 get_value(Chain self, ParticleIndexKey a0) -> Particle
4822 get_value(Chain self, ObjectKey a0) -> Object
4824 return _IMP_atom.Chain_get_value(self, *args)
4827 def set_value(self, *args):
4829 set_value(Chain self, FloatKey a0, IMP::Float a1)
4830 set_value(Chain self, IntKey a0, IMP::Int a1)
4831 set_value(Chain self, StringKey a0, IMP::String a1)
4832 set_value(Chain self, ParticleIndexKey a0, Particle a1)
4833 set_value(Chain self, ObjectKey a0, Object a1)
4835 return _IMP_atom.Chain_set_value(self, *args)
4838 def remove_attribute(self, *args):
4840 remove_attribute(Chain self, FloatKey a0)
4841 remove_attribute(Chain self, IntKey a0)
4842 remove_attribute(Chain self, StringKey a0)
4843 remove_attribute(Chain self, ParticleIndexKey a0)
4844 remove_attribute(Chain self, ObjectKey a0)
4846 return _IMP_atom.Chain_remove_attribute(self, *args)
4849 def has_attribute(self, *args):
4851 has_attribute(Chain self, FloatKey a0) -> bool
4852 has_attribute(Chain self, IntKey a0) -> bool
4853 has_attribute(Chain self, StringKey a0) -> bool
4854 has_attribute(Chain self, ParticleIndexKey a0) -> bool
4855 has_attribute(Chain self, ObjectKey a0) -> bool
4857 return _IMP_atom.Chain_has_attribute(self, *args)
4860 def get_derivative(self, a0):
4861 """get_derivative(Chain self, FloatKey a0) -> double"""
4862 return _IMP_atom.Chain_get_derivative(self, a0)
4866 """get_name(Chain self) -> std::string"""
4867 return _IMP_atom.Chain_get_name(self)
4870 def clear_caches(self):
4871 """clear_caches(Chain self)"""
4872 return _IMP_atom.Chain_clear_caches(self)
4875 def set_name(self, a0):
4876 """set_name(Chain self, std::string a0)"""
4877 return _IMP_atom.Chain_set_name(self, a0)
4881 """set_check_level(Chain self, IMP::CheckLevel a0)"""
4882 return _IMP_atom.Chain_set_check_level(self, a0)
4885 def add_to_derivative(self, a0, a1, a2):
4886 """add_to_derivative(Chain self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
4887 return _IMP_atom.Chain_add_to_derivative(self, a0, a1, a2)
4890 def set_is_optimized(self, a0, a1):
4891 """set_is_optimized(Chain self, FloatKey a0, bool a1)"""
4892 return _IMP_atom.Chain_set_is_optimized(self, a0, a1)
4895 def get_is_optimized(self, a0):
4896 """get_is_optimized(Chain self, FloatKey a0) -> bool"""
4897 return _IMP_atom.Chain_get_is_optimized(self, a0)
4901 """get_check_level(Chain self) -> IMP::CheckLevel"""
4902 return _IMP_atom.Chain_get_check_level(self)
4905 def __eq__(self, *args):
4907 __eq__(Chain self, Chain o) -> bool
4908 __eq__(Chain self, Particle d) -> bool
4910 return _IMP_atom.Chain___eq__(self, *args)
4913 def __ne__(self, *args):
4915 __ne__(Chain self, Chain o) -> bool
4916 __ne__(Chain self, Particle d) -> bool
4918 return _IMP_atom.Chain___ne__(self, *args)
4921 def __le__(self, *args):
4923 __le__(Chain self, Chain o) -> bool
4924 __le__(Chain self, Particle d) -> bool
4926 return _IMP_atom.Chain___le__(self, *args)
4929 def __lt__(self, *args):
4931 __lt__(Chain self, Chain o) -> bool
4932 __lt__(Chain self, Particle d) -> bool
4934 return _IMP_atom.Chain___lt__(self, *args)
4937 def __ge__(self, *args):
4939 __ge__(Chain self, Chain o) -> bool
4940 __ge__(Chain self, Particle d) -> bool
4942 return _IMP_atom.Chain___ge__(self, *args)
4945 def __gt__(self, *args):
4947 __gt__(Chain self, Chain o) -> bool
4948 __gt__(Chain self, Particle d) -> bool
4950 return _IMP_atom.Chain___gt__(self, *args)
4954 """__hash__(Chain self) -> std::size_t"""
4955 return _IMP_atom.Chain___hash__(self)
4959 """__str__(Chain self) -> std::string"""
4960 return _IMP_atom.Chain___str__(self)
4964 """__repr__(Chain self) -> std::string"""
4965 return _IMP_atom.Chain___repr__(self)
4967 __swig_destroy__ = _IMP_atom.delete_Chain
4968 __del__ =
lambda self:
None
4969 Chain_swigregister = _IMP_atom.Chain_swigregister
4970 Chain_swigregister(Chain)
4972 def Chain_setup_particle(*args):
4974 setup_particle(Model m, ParticleIndex pi, std::string id) -> Chain
4975 setup_particle(_ParticleAdaptor decorator, std::string id) -> Chain
4976 setup_particle(Model m, ParticleIndex pi, char id) -> Chain
4977 setup_particle(_ParticleAdaptor decorator, char id) -> Chain
4978 setup_particle(Model m, ParticleIndex pi, Chain other) -> Chain
4979 Chain_setup_particle(_ParticleAdaptor decorator, Chain other) -> Chain
4981 return _IMP_atom.Chain_setup_particle(*args)
4983 def Chain_get_is_setup(*args):
4985 get_is_setup(_ParticleAdaptor p) -> bool
4986 Chain_get_is_setup(Model m, ParticleIndex pi) -> bool
4988 return _IMP_atom.Chain_get_is_setup(*args)
4990 def Chain_get_id_key():
4991 """Chain_get_id_key() -> StringKey"""
4992 return _IMP_atom.Chain_get_id_key()
4996 """get_chain(Hierarchy h) -> Chain"""
4997 return _IMP_atom.get_chain(h)
5000 """get_chain_id(Hierarchy h) -> std::string"""
5001 return _IMP_atom.get_chain_id(h)
5003 """Proxy of C++ IMP::atom::Charged class."""
5005 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5007 def __init__(self, *args):
5009 __init__(IMP::atom::Charged self) -> Charged
5010 __init__(IMP::atom::Charged self, Model m, ParticleIndex id) -> Charged
5011 __init__(IMP::atom::Charged self, _ParticleAdaptor d) -> Charged
5013 this = _IMP_atom.new_Charged(*args)
5015 self.this.append(this)
5019 def show(self, *args):
5021 show(Charged self, _ostream out)
5024 return _IMP_atom.Charged_show(self, *args)
5027 def setup_particle(*args):
5029 setup_particle(Model m, ParticleIndex pi, IMP::Float charge) -> Charged
5030 setup_particle(_ParticleAdaptor decorator, IMP::Float charge) -> Charged
5031 setup_particle(Model m, ParticleIndex pi, Vector3D v, IMP::Float charge) -> Charged
5032 setup_particle(_ParticleAdaptor decorator, Vector3D v, IMP::Float charge) -> Charged
5034 return _IMP_atom.Charged_setup_particle(*args)
5036 setup_particle = staticmethod(setup_particle)
5038 def get_charge(self):
5039 """get_charge(Charged self) -> IMP::Float"""
5040 return _IMP_atom.Charged_get_charge(self)
5043 def set_charge(self, t):
5044 """set_charge(Charged self, IMP::Float t)"""
5045 return _IMP_atom.Charged_set_charge(self, t)
5048 def get_is_setup(*args):
5050 get_is_setup(_ParticleAdaptor p) -> bool
5051 get_is_setup(Model m, ParticleIndex pi) -> bool
5053 return _IMP_atom.Charged_get_is_setup(*args)
5055 get_is_setup = staticmethod(get_is_setup)
5057 def get_charge_key():
5058 """get_charge_key() -> FloatKey"""
5059 return _IMP_atom.Charged_get_charge_key()
5061 get_charge_key = staticmethod(get_charge_key)
5063 def add_attribute(self, *args):
5065 add_attribute(Charged self, FloatKey k, IMP::Float v, bool opt)
5066 add_attribute(Charged self, FloatKey a0, IMP::Float a1)
5067 add_attribute(Charged self, IntKey a0, IMP::Int a1)
5068 add_attribute(Charged self, StringKey a0, IMP::String a1)
5069 add_attribute(Charged self, ParticleIndexKey a0, Particle a1)
5070 add_attribute(Charged self, ObjectKey a0, Object a1)
5072 return _IMP_atom.Charged_add_attribute(self, *args)
5075 def get_value(self, *args):
5077 get_value(Charged self, FloatKey a0) -> IMP::Float
5078 get_value(Charged self, IntKey a0) -> IMP::Int
5079 get_value(Charged self, StringKey a0) -> IMP::String
5080 get_value(Charged self, ParticleIndexKey a0) -> Particle
5081 get_value(Charged self, ObjectKey a0) -> Object
5083 return _IMP_atom.Charged_get_value(self, *args)
5086 def set_value(self, *args):
5088 set_value(Charged self, FloatKey a0, IMP::Float a1)
5089 set_value(Charged self, IntKey a0, IMP::Int a1)
5090 set_value(Charged self, StringKey a0, IMP::String a1)
5091 set_value(Charged self, ParticleIndexKey a0, Particle a1)
5092 set_value(Charged self, ObjectKey a0, Object a1)
5094 return _IMP_atom.Charged_set_value(self, *args)
5097 def remove_attribute(self, *args):
5099 remove_attribute(Charged self, FloatKey a0)
5100 remove_attribute(Charged self, IntKey a0)
5101 remove_attribute(Charged self, StringKey a0)
5102 remove_attribute(Charged self, ParticleIndexKey a0)
5103 remove_attribute(Charged self, ObjectKey a0)
5105 return _IMP_atom.Charged_remove_attribute(self, *args)
5108 def has_attribute(self, *args):
5110 has_attribute(Charged self, FloatKey a0) -> bool
5111 has_attribute(Charged self, IntKey a0) -> bool
5112 has_attribute(Charged self, StringKey a0) -> bool
5113 has_attribute(Charged self, ParticleIndexKey a0) -> bool
5114 has_attribute(Charged self, ObjectKey a0) -> bool
5116 return _IMP_atom.Charged_has_attribute(self, *args)
5119 def get_derivative(self, a0):
5120 """get_derivative(Charged self, FloatKey a0) -> double"""
5121 return _IMP_atom.Charged_get_derivative(self, a0)
5125 """get_name(Charged self) -> std::string"""
5126 return _IMP_atom.Charged_get_name(self)
5129 def clear_caches(self):
5130 """clear_caches(Charged self)"""
5131 return _IMP_atom.Charged_clear_caches(self)
5134 def set_name(self, a0):
5135 """set_name(Charged self, std::string a0)"""
5136 return _IMP_atom.Charged_set_name(self, a0)
5140 """set_check_level(Charged self, IMP::CheckLevel a0)"""
5141 return _IMP_atom.Charged_set_check_level(self, a0)
5144 def add_to_derivative(self, a0, a1, a2):
5145 """add_to_derivative(Charged self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
5146 return _IMP_atom.Charged_add_to_derivative(self, a0, a1, a2)
5149 def set_is_optimized(self, a0, a1):
5150 """set_is_optimized(Charged self, FloatKey a0, bool a1)"""
5151 return _IMP_atom.Charged_set_is_optimized(self, a0, a1)
5154 def get_is_optimized(self, a0):
5155 """get_is_optimized(Charged self, FloatKey a0) -> bool"""
5156 return _IMP_atom.Charged_get_is_optimized(self, a0)
5160 """get_check_level(Charged self) -> IMP::CheckLevel"""
5161 return _IMP_atom.Charged_get_check_level(self)
5164 def __eq__(self, *args):
5166 __eq__(Charged self, Charged o) -> bool
5167 __eq__(Charged self, Particle d) -> bool
5169 return _IMP_atom.Charged___eq__(self, *args)
5172 def __ne__(self, *args):
5174 __ne__(Charged self, Charged o) -> bool
5175 __ne__(Charged self, Particle d) -> bool
5177 return _IMP_atom.Charged___ne__(self, *args)
5180 def __le__(self, *args):
5182 __le__(Charged self, Charged o) -> bool
5183 __le__(Charged self, Particle d) -> bool
5185 return _IMP_atom.Charged___le__(self, *args)
5188 def __lt__(self, *args):
5190 __lt__(Charged self, Charged o) -> bool
5191 __lt__(Charged self, Particle d) -> bool
5193 return _IMP_atom.Charged___lt__(self, *args)
5196 def __ge__(self, *args):
5198 __ge__(Charged self, Charged o) -> bool
5199 __ge__(Charged self, Particle d) -> bool
5201 return _IMP_atom.Charged___ge__(self, *args)
5204 def __gt__(self, *args):
5206 __gt__(Charged self, Charged o) -> bool
5207 __gt__(Charged self, Particle d) -> bool
5209 return _IMP_atom.Charged___gt__(self, *args)
5213 """__hash__(Charged self) -> std::size_t"""
5214 return _IMP_atom.Charged___hash__(self)
5218 """__str__(Charged self) -> std::string"""
5219 return _IMP_atom.Charged___str__(self)
5223 """__repr__(Charged self) -> std::string"""
5224 return _IMP_atom.Charged___repr__(self)
5226 __swig_destroy__ = _IMP_atom.delete_Charged
5227 __del__ =
lambda self:
None
5228 Charged_swigregister = _IMP_atom.Charged_swigregister
5229 Charged_swigregister(Charged)
5231 def Charged_setup_particle(*args):
5233 setup_particle(Model m, ParticleIndex pi, IMP::Float charge) -> Charged
5234 setup_particle(_ParticleAdaptor decorator, IMP::Float charge) -> Charged
5235 setup_particle(Model m, ParticleIndex pi, Vector3D v, IMP::Float charge) -> Charged
5236 Charged_setup_particle(_ParticleAdaptor decorator, Vector3D v, IMP::Float charge) -> Charged
5238 return _IMP_atom.Charged_setup_particle(*args)
5240 def Charged_get_is_setup(*args):
5242 get_is_setup(_ParticleAdaptor p) -> bool
5243 Charged_get_is_setup(Model m, ParticleIndex pi) -> bool
5245 return _IMP_atom.Charged_get_is_setup(*args)
5247 def Charged_get_charge_key():
5248 """Charged_get_charge_key() -> FloatKey"""
5249 return _IMP_atom.Charged_get_charge_key()
5252 """Proxy of C++ IMP::atom::CoulombPairScore class."""
5254 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5256 def __init__(self, f):
5257 """__init__(IMP::atom::CoulombPairScore self, SmoothingFunction f) -> CoulombPairScore"""
5258 this = _IMP_atom.new_CoulombPairScore(f)
5260 self.this.append(this)
5264 def set_relative_dielectric(self, relative_dielectric):
5265 """set_relative_dielectric(CoulombPairScore self, double relative_dielectric)"""
5266 return _IMP_atom.CoulombPairScore_set_relative_dielectric(self, relative_dielectric)
5269 def get_relative_dielectric(self):
5270 """get_relative_dielectric(CoulombPairScore self) -> double"""
5271 return _IMP_atom.CoulombPairScore_get_relative_dielectric(self)
5274 def do_get_inputs(self, m, pis):
5275 """do_get_inputs(CoulombPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5276 return _IMP_atom.CoulombPairScore_do_get_inputs(self, m, pis)
5279 def get_version_info(self):
5280 """get_version_info(CoulombPairScore self) -> VersionInfo"""
5281 return _IMP_atom.CoulombPairScore_get_version_info(self)
5285 """__str__(CoulombPairScore self) -> std::string"""
5286 return _IMP_atom.CoulombPairScore___str__(self)
5290 """__repr__(CoulombPairScore self) -> std::string"""
5291 return _IMP_atom.CoulombPairScore___repr__(self)
5296 return _object_cast_to_CoulombPairScore(o)
5298 CoulombPairScore_swigregister = _IMP_atom.CoulombPairScore_swigregister
5299 CoulombPairScore_swigregister(CoulombPairScore)
5301 class Domain(Hierarchy):
5302 """Proxy of C++ IMP::atom::Domain class."""
5304 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5306 def set_index_range(self, ir):
5307 """set_index_range(Domain self, IMP::IntRange ir)"""
5308 return _IMP_atom.Domain_set_index_range(self, ir)
5311 def get_index_range(self):
5312 """get_index_range(Domain self) -> IMP::IntRange"""
5313 return _IMP_atom.Domain_get_index_range(self)
5316 def __init__(self, *args):
5318 __init__(IMP::atom::Domain self) -> Domain
5319 __init__(IMP::atom::Domain self, Model m, ParticleIndex id) -> Domain
5320 __init__(IMP::atom::Domain self, _ParticleAdaptor d) -> Domain
5322 this = _IMP_atom.new_Domain(*args)
5324 self.this.append(this)
5328 def get_is_setup(*args):
5330 get_is_setup(Model m, ParticleIndex pi) -> bool
5331 get_is_setup(_ParticleAdaptor p) -> bool
5333 return _IMP_atom.Domain_get_is_setup(*args)
5335 get_is_setup = staticmethod(get_is_setup)
5337 def show(self, *args):
5339 show(Domain self, _ostream out)
5342 return _IMP_atom.Domain_show(self, *args)
5345 def setup_particle(*args):
5347 setup_particle(Model m, ParticleIndex pi, Domain other) -> Domain
5348 setup_particle(_ParticleAdaptor decorator, Domain other) -> Domain
5349 setup_particle(Model m, ParticleIndex pi, IMP::IntRange residues) -> Domain
5350 setup_particle(_ParticleAdaptor decorator, IMP::IntRange residues) -> Domain
5352 return _IMP_atom.Domain_setup_particle(*args)
5354 setup_particle = staticmethod(setup_particle)
5356 def add_attribute(self, *args):
5358 add_attribute(Domain self, FloatKey k, IMP::Float v, bool opt)
5359 add_attribute(Domain self, FloatKey a0, IMP::Float a1)
5360 add_attribute(Domain self, IntKey a0, IMP::Int a1)
5361 add_attribute(Domain self, StringKey a0, IMP::String a1)
5362 add_attribute(Domain self, ParticleIndexKey a0, Particle a1)
5363 add_attribute(Domain self, ObjectKey a0, Object a1)
5365 return _IMP_atom.Domain_add_attribute(self, *args)
5368 def get_value(self, *args):
5370 get_value(Domain self, FloatKey a0) -> IMP::Float
5371 get_value(Domain self, IntKey a0) -> IMP::Int
5372 get_value(Domain self, StringKey a0) -> IMP::String
5373 get_value(Domain self, ParticleIndexKey a0) -> Particle
5374 get_value(Domain self, ObjectKey a0) -> Object
5376 return _IMP_atom.Domain_get_value(self, *args)
5379 def set_value(self, *args):
5381 set_value(Domain self, FloatKey a0, IMP::Float a1)
5382 set_value(Domain self, IntKey a0, IMP::Int a1)
5383 set_value(Domain self, StringKey a0, IMP::String a1)
5384 set_value(Domain self, ParticleIndexKey a0, Particle a1)
5385 set_value(Domain self, ObjectKey a0, Object a1)
5387 return _IMP_atom.Domain_set_value(self, *args)
5390 def remove_attribute(self, *args):
5392 remove_attribute(Domain self, FloatKey a0)
5393 remove_attribute(Domain self, IntKey a0)
5394 remove_attribute(Domain self, StringKey a0)
5395 remove_attribute(Domain self, ParticleIndexKey a0)
5396 remove_attribute(Domain self, ObjectKey a0)
5398 return _IMP_atom.Domain_remove_attribute(self, *args)
5401 def has_attribute(self, *args):
5403 has_attribute(Domain self, FloatKey a0) -> bool
5404 has_attribute(Domain self, IntKey a0) -> bool
5405 has_attribute(Domain self, StringKey a0) -> bool
5406 has_attribute(Domain self, ParticleIndexKey a0) -> bool
5407 has_attribute(Domain self, ObjectKey a0) -> bool
5409 return _IMP_atom.Domain_has_attribute(self, *args)
5412 def get_derivative(self, a0):
5413 """get_derivative(Domain self, FloatKey a0) -> double"""
5414 return _IMP_atom.Domain_get_derivative(self, a0)
5418 """get_name(Domain self) -> std::string"""
5419 return _IMP_atom.Domain_get_name(self)
5422 def clear_caches(self):
5423 """clear_caches(Domain self)"""
5424 return _IMP_atom.Domain_clear_caches(self)
5427 def set_name(self, a0):
5428 """set_name(Domain self, std::string a0)"""
5429 return _IMP_atom.Domain_set_name(self, a0)
5433 """set_check_level(Domain self, IMP::CheckLevel a0)"""
5434 return _IMP_atom.Domain_set_check_level(self, a0)
5437 def add_to_derivative(self, a0, a1, a2):
5438 """add_to_derivative(Domain self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
5439 return _IMP_atom.Domain_add_to_derivative(self, a0, a1, a2)
5442 def set_is_optimized(self, a0, a1):
5443 """set_is_optimized(Domain self, FloatKey a0, bool a1)"""
5444 return _IMP_atom.Domain_set_is_optimized(self, a0, a1)
5447 def get_is_optimized(self, a0):
5448 """get_is_optimized(Domain self, FloatKey a0) -> bool"""
5449 return _IMP_atom.Domain_get_is_optimized(self, a0)
5453 """get_check_level(Domain self) -> IMP::CheckLevel"""
5454 return _IMP_atom.Domain_get_check_level(self)
5457 def __eq__(self, *args):
5459 __eq__(Domain self, Domain o) -> bool
5460 __eq__(Domain self, Particle d) -> bool
5462 return _IMP_atom.Domain___eq__(self, *args)
5465 def __ne__(self, *args):
5467 __ne__(Domain self, Domain o) -> bool
5468 __ne__(Domain self, Particle d) -> bool
5470 return _IMP_atom.Domain___ne__(self, *args)
5473 def __le__(self, *args):
5475 __le__(Domain self, Domain o) -> bool
5476 __le__(Domain self, Particle d) -> bool
5478 return _IMP_atom.Domain___le__(self, *args)
5481 def __lt__(self, *args):
5483 __lt__(Domain self, Domain o) -> bool
5484 __lt__(Domain self, Particle d) -> bool
5486 return _IMP_atom.Domain___lt__(self, *args)
5489 def __ge__(self, *args):
5491 __ge__(Domain self, Domain o) -> bool
5492 __ge__(Domain self, Particle d) -> bool
5494 return _IMP_atom.Domain___ge__(self, *args)
5497 def __gt__(self, *args):
5499 __gt__(Domain self, Domain o) -> bool
5500 __gt__(Domain self, Particle d) -> bool
5502 return _IMP_atom.Domain___gt__(self, *args)
5506 """__hash__(Domain self) -> std::size_t"""
5507 return _IMP_atom.Domain___hash__(self)
5511 """__str__(Domain self) -> std::string"""
5512 return _IMP_atom.Domain___str__(self)
5516 """__repr__(Domain self) -> std::string"""
5517 return _IMP_atom.Domain___repr__(self)
5519 __swig_destroy__ = _IMP_atom.delete_Domain
5520 __del__ =
lambda self:
None
5521 Domain_swigregister = _IMP_atom.Domain_swigregister
5522 Domain_swigregister(Domain)
5524 def Domain_get_is_setup(*args):
5526 get_is_setup(Model m, ParticleIndex pi) -> bool
5527 Domain_get_is_setup(_ParticleAdaptor p) -> bool
5529 return _IMP_atom.Domain_get_is_setup(*args)
5531 def Domain_setup_particle(*args):
5533 setup_particle(Model m, ParticleIndex pi, Domain other) -> Domain
5534 setup_particle(_ParticleAdaptor decorator, Domain other) -> Domain
5535 setup_particle(Model m, ParticleIndex pi, IMP::IntRange residues) -> Domain
5536 Domain_setup_particle(_ParticleAdaptor decorator, IMP::IntRange residues) -> Domain
5538 return _IMP_atom.Domain_setup_particle(*args)
5541 """Proxy of C++ IMP::atom::LennardJones class."""
5543 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5545 def __init__(self, *args):
5547 __init__(IMP::atom::LennardJones self) -> LennardJones
5548 __init__(IMP::atom::LennardJones self, Model m, ParticleIndex id) -> LennardJones
5549 __init__(IMP::atom::LennardJones self, _ParticleAdaptor d) -> LennardJones
5551 this = _IMP_atom.new_LennardJones(*args)
5553 self.this.append(this)
5557 def show(self, *args):
5559 show(LennardJones self, _ostream out)
5560 show(LennardJones self)
5562 return _IMP_atom.LennardJones_show(self, *args)
5565 def setup_particle(*args):
5567 setup_particle(Model m, ParticleIndex pi) -> LennardJones
5568 setup_particle(_ParticleAdaptor decorator) -> LennardJones
5569 setup_particle(Model m, ParticleIndex pi, IMP::Float well_depth) -> LennardJones
5570 setup_particle(_ParticleAdaptor decorator, IMP::Float well_depth) -> LennardJones
5572 return _IMP_atom.LennardJones_setup_particle(*args)
5574 setup_particle = staticmethod(setup_particle)
5576 def get_well_depth(self):
5577 """get_well_depth(LennardJones self) -> IMP::Float"""
5578 return _IMP_atom.LennardJones_get_well_depth(self)
5581 def set_well_depth(self, well_depth):
5582 """set_well_depth(LennardJones self, IMP::Float well_depth)"""
5583 return _IMP_atom.LennardJones_set_well_depth(self, well_depth)
5586 def get_is_setup(*args):
5588 get_is_setup(_ParticleAdaptor p) -> bool
5589 get_is_setup(Model m, ParticleIndex pi) -> bool
5591 return _IMP_atom.LennardJones_get_is_setup(*args)
5593 get_is_setup = staticmethod(get_is_setup)
5595 def get_well_depth_key():
5596 """get_well_depth_key() -> FloatKey"""
5597 return _IMP_atom.LennardJones_get_well_depth_key()
5599 get_well_depth_key = staticmethod(get_well_depth_key)
5601 def add_attribute(self, *args):
5603 add_attribute(LennardJones self, FloatKey k, IMP::Float v, bool opt)
5604 add_attribute(LennardJones self, FloatKey a0, IMP::Float a1)
5605 add_attribute(LennardJones self, IntKey a0, IMP::Int a1)
5606 add_attribute(LennardJones self, StringKey a0, IMP::String a1)
5607 add_attribute(LennardJones self, ParticleIndexKey a0, Particle a1)
5608 add_attribute(LennardJones self, ObjectKey a0, Object a1)
5610 return _IMP_atom.LennardJones_add_attribute(self, *args)
5613 def get_value(self, *args):
5615 get_value(LennardJones self, FloatKey a0) -> IMP::Float
5616 get_value(LennardJones self, IntKey a0) -> IMP::Int
5617 get_value(LennardJones self, StringKey a0) -> IMP::String
5618 get_value(LennardJones self, ParticleIndexKey a0) -> Particle
5619 get_value(LennardJones self, ObjectKey a0) -> Object
5621 return _IMP_atom.LennardJones_get_value(self, *args)
5624 def set_value(self, *args):
5626 set_value(LennardJones self, FloatKey a0, IMP::Float a1)
5627 set_value(LennardJones self, IntKey a0, IMP::Int a1)
5628 set_value(LennardJones self, StringKey a0, IMP::String a1)
5629 set_value(LennardJones self, ParticleIndexKey a0, Particle a1)
5630 set_value(LennardJones self, ObjectKey a0, Object a1)
5632 return _IMP_atom.LennardJones_set_value(self, *args)
5635 def remove_attribute(self, *args):
5637 remove_attribute(LennardJones self, FloatKey a0)
5638 remove_attribute(LennardJones self, IntKey a0)
5639 remove_attribute(LennardJones self, StringKey a0)
5640 remove_attribute(LennardJones self, ParticleIndexKey a0)
5641 remove_attribute(LennardJones self, ObjectKey a0)
5643 return _IMP_atom.LennardJones_remove_attribute(self, *args)
5646 def has_attribute(self, *args):
5648 has_attribute(LennardJones self, FloatKey a0) -> bool
5649 has_attribute(LennardJones self, IntKey a0) -> bool
5650 has_attribute(LennardJones self, StringKey a0) -> bool
5651 has_attribute(LennardJones self, ParticleIndexKey a0) -> bool
5652 has_attribute(LennardJones self, ObjectKey a0) -> bool
5654 return _IMP_atom.LennardJones_has_attribute(self, *args)
5657 def get_derivative(self, a0):
5658 """get_derivative(LennardJones self, FloatKey a0) -> double"""
5659 return _IMP_atom.LennardJones_get_derivative(self, a0)
5663 """get_name(LennardJones self) -> std::string"""
5664 return _IMP_atom.LennardJones_get_name(self)
5667 def clear_caches(self):
5668 """clear_caches(LennardJones self)"""
5669 return _IMP_atom.LennardJones_clear_caches(self)
5672 def set_name(self, a0):
5673 """set_name(LennardJones self, std::string a0)"""
5674 return _IMP_atom.LennardJones_set_name(self, a0)
5678 """set_check_level(LennardJones self, IMP::CheckLevel a0)"""
5679 return _IMP_atom.LennardJones_set_check_level(self, a0)
5682 def add_to_derivative(self, a0, a1, a2):
5683 """add_to_derivative(LennardJones self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
5684 return _IMP_atom.LennardJones_add_to_derivative(self, a0, a1, a2)
5687 def set_is_optimized(self, a0, a1):
5688 """set_is_optimized(LennardJones self, FloatKey a0, bool a1)"""
5689 return _IMP_atom.LennardJones_set_is_optimized(self, a0, a1)
5692 def get_is_optimized(self, a0):
5693 """get_is_optimized(LennardJones self, FloatKey a0) -> bool"""
5694 return _IMP_atom.LennardJones_get_is_optimized(self, a0)
5698 """get_check_level(LennardJones self) -> IMP::CheckLevel"""
5699 return _IMP_atom.LennardJones_get_check_level(self)
5702 def __eq__(self, *args):
5704 __eq__(LennardJones self, LennardJones o) -> bool
5705 __eq__(LennardJones self, Particle d) -> bool
5707 return _IMP_atom.LennardJones___eq__(self, *args)
5710 def __ne__(self, *args):
5712 __ne__(LennardJones self, LennardJones o) -> bool
5713 __ne__(LennardJones self, Particle d) -> bool
5715 return _IMP_atom.LennardJones___ne__(self, *args)
5718 def __le__(self, *args):
5720 __le__(LennardJones self, LennardJones o) -> bool
5721 __le__(LennardJones self, Particle d) -> bool
5723 return _IMP_atom.LennardJones___le__(self, *args)
5726 def __lt__(self, *args):
5728 __lt__(LennardJones self, LennardJones o) -> bool
5729 __lt__(LennardJones self, Particle d) -> bool
5731 return _IMP_atom.LennardJones___lt__(self, *args)
5734 def __ge__(self, *args):
5736 __ge__(LennardJones self, LennardJones o) -> bool
5737 __ge__(LennardJones self, Particle d) -> bool
5739 return _IMP_atom.LennardJones___ge__(self, *args)
5742 def __gt__(self, *args):
5744 __gt__(LennardJones self, LennardJones o) -> bool
5745 __gt__(LennardJones self, Particle d) -> bool
5747 return _IMP_atom.LennardJones___gt__(self, *args)
5751 """__hash__(LennardJones self) -> std::size_t"""
5752 return _IMP_atom.LennardJones___hash__(self)
5756 """__str__(LennardJones self) -> std::string"""
5757 return _IMP_atom.LennardJones___str__(self)
5761 """__repr__(LennardJones self) -> std::string"""
5762 return _IMP_atom.LennardJones___repr__(self)
5764 __swig_destroy__ = _IMP_atom.delete_LennardJones
5765 __del__ =
lambda self:
None
5766 LennardJones_swigregister = _IMP_atom.LennardJones_swigregister
5767 LennardJones_swigregister(LennardJones)
5769 def LennardJones_setup_particle(*args):
5771 setup_particle(Model m, ParticleIndex pi) -> LennardJones
5772 setup_particle(_ParticleAdaptor decorator) -> LennardJones
5773 setup_particle(Model m, ParticleIndex pi, IMP::Float well_depth) -> LennardJones
5774 LennardJones_setup_particle(_ParticleAdaptor decorator, IMP::Float well_depth) -> LennardJones
5776 return _IMP_atom.LennardJones_setup_particle(*args)
5778 def LennardJones_get_is_setup(*args):
5780 get_is_setup(_ParticleAdaptor p) -> bool
5781 LennardJones_get_is_setup(Model m, ParticleIndex pi) -> bool
5783 return _IMP_atom.LennardJones_get_is_setup(*args)
5785 def LennardJones_get_well_depth_key():
5786 """LennardJones_get_well_depth_key() -> FloatKey"""
5787 return _IMP_atom.LennardJones_get_well_depth_key()
5790 """Proxy of C++ IMP::atom::LennardJonesPairScore class."""
5792 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5794 def __init__(self, f):
5795 """__init__(IMP::atom::LennardJonesPairScore self, SmoothingFunction f) -> LennardJonesPairScore"""
5796 this = _IMP_atom.new_LennardJonesPairScore(f)
5798 self.this.append(this)
5802 def set_repulsive_weight(self, repulsive_weight):
5803 """set_repulsive_weight(LennardJonesPairScore self, double repulsive_weight)"""
5804 return _IMP_atom.LennardJonesPairScore_set_repulsive_weight(self, repulsive_weight)
5807 def get_repulsive_weight(self):
5808 """get_repulsive_weight(LennardJonesPairScore self) -> double"""
5809 return _IMP_atom.LennardJonesPairScore_get_repulsive_weight(self)
5812 def set_attractive_weight(self, attractive_weight):
5813 """set_attractive_weight(LennardJonesPairScore self, double attractive_weight)"""
5814 return _IMP_atom.LennardJonesPairScore_set_attractive_weight(self, attractive_weight)
5817 def get_attractive_weight(self):
5818 """get_attractive_weight(LennardJonesPairScore self) -> double"""
5819 return _IMP_atom.LennardJonesPairScore_get_attractive_weight(self)
5822 def do_get_inputs(self, m, pis):
5823 """do_get_inputs(LennardJonesPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5824 return _IMP_atom.LennardJonesPairScore_do_get_inputs(self, m, pis)
5827 def get_version_info(self):
5828 """get_version_info(LennardJonesPairScore self) -> VersionInfo"""
5829 return _IMP_atom.LennardJonesPairScore_get_version_info(self)
5833 """__str__(LennardJonesPairScore self) -> std::string"""
5834 return _IMP_atom.LennardJonesPairScore___str__(self)
5838 """__repr__(LennardJonesPairScore self) -> std::string"""
5839 return _IMP_atom.LennardJonesPairScore___repr__(self)
5844 return _object_cast_to_LennardJonesPairScore(o)
5846 LennardJonesPairScore_swigregister = _IMP_atom.LennardJonesPairScore_swigregister
5847 LennardJonesPairScore_swigregister(LennardJonesPairScore)
5850 """Proxy of C++ IMP::atom::LinearVelocity class."""
5852 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5854 def get_velocity_key(i):
5855 """get_velocity_key(unsigned int i) -> FloatKey"""
5856 return _IMP_atom.LinearVelocity_get_velocity_key(i)
5858 get_velocity_key = staticmethod(get_velocity_key)
5860 def __init__(self, *args):
5862 __init__(IMP::atom::LinearVelocity self) -> LinearVelocity
5863 __init__(IMP::atom::LinearVelocity self, Model m, ParticleIndex id) -> LinearVelocity
5864 __init__(IMP::atom::LinearVelocity self, _ParticleAdaptor d) -> LinearVelocity
5866 this = _IMP_atom.new_LinearVelocity(*args)
5868 self.this.append(this)
5872 def get_is_setup(*args):
5874 get_is_setup(Model m, ParticleIndex pi) -> bool
5875 get_is_setup(_ParticleAdaptor p) -> bool
5877 return _IMP_atom.LinearVelocity_get_is_setup(*args)
5879 get_is_setup = staticmethod(get_is_setup)
5881 def show(self, *args):
5883 show(LinearVelocity self, _ostream out)
5884 show(LinearVelocity self)
5886 return _IMP_atom.LinearVelocity_show(self, *args)
5889 def setup_particle(*args):
5891 setup_particle(Model m, ParticleIndex pi) -> LinearVelocity
5892 setup_particle(_ParticleAdaptor decorator) -> LinearVelocity
5893 setup_particle(Model m, ParticleIndex pi, Vector3D v) -> LinearVelocity
5894 setup_particle(_ParticleAdaptor decorator, Vector3D v) -> LinearVelocity
5896 return _IMP_atom.LinearVelocity_setup_particle(*args)
5898 setup_particle = staticmethod(setup_particle)
5900 def set_velocity(self, v):
5901 """set_velocity(LinearVelocity self, Vector3D v)"""
5902 return _IMP_atom.LinearVelocity_set_velocity(self, v)
5905 def get_velocity(self):
5906 """get_velocity(LinearVelocity self) -> Vector3D"""
5907 return _IMP_atom.LinearVelocity_get_velocity(self)
5910 def add_attribute(self, *args):
5912 add_attribute(LinearVelocity self, FloatKey k, IMP::Float v, bool opt)
5913 add_attribute(LinearVelocity self, FloatKey a0, IMP::Float a1)
5914 add_attribute(LinearVelocity self, IntKey a0, IMP::Int a1)
5915 add_attribute(LinearVelocity self, StringKey a0, IMP::String a1)
5916 add_attribute(LinearVelocity self, ParticleIndexKey a0, Particle a1)
5917 add_attribute(LinearVelocity self, ObjectKey a0, Object a1)
5919 return _IMP_atom.LinearVelocity_add_attribute(self, *args)
5922 def get_value(self, *args):
5924 get_value(LinearVelocity self, FloatKey a0) -> IMP::Float
5925 get_value(LinearVelocity self, IntKey a0) -> IMP::Int
5926 get_value(LinearVelocity self, StringKey a0) -> IMP::String
5927 get_value(LinearVelocity self, ParticleIndexKey a0) -> Particle
5928 get_value(LinearVelocity self, ObjectKey a0) -> Object
5930 return _IMP_atom.LinearVelocity_get_value(self, *args)
5933 def set_value(self, *args):
5935 set_value(LinearVelocity self, FloatKey a0, IMP::Float a1)
5936 set_value(LinearVelocity self, IntKey a0, IMP::Int a1)
5937 set_value(LinearVelocity self, StringKey a0, IMP::String a1)
5938 set_value(LinearVelocity self, ParticleIndexKey a0, Particle a1)
5939 set_value(LinearVelocity self, ObjectKey a0, Object a1)
5941 return _IMP_atom.LinearVelocity_set_value(self, *args)
5944 def remove_attribute(self, *args):
5946 remove_attribute(LinearVelocity self, FloatKey a0)
5947 remove_attribute(LinearVelocity self, IntKey a0)
5948 remove_attribute(LinearVelocity self, StringKey a0)
5949 remove_attribute(LinearVelocity self, ParticleIndexKey a0)
5950 remove_attribute(LinearVelocity self, ObjectKey a0)
5952 return _IMP_atom.LinearVelocity_remove_attribute(self, *args)
5955 def has_attribute(self, *args):
5957 has_attribute(LinearVelocity self, FloatKey a0) -> bool
5958 has_attribute(LinearVelocity self, IntKey a0) -> bool
5959 has_attribute(LinearVelocity self, StringKey a0) -> bool
5960 has_attribute(LinearVelocity self, ParticleIndexKey a0) -> bool
5961 has_attribute(LinearVelocity self, ObjectKey a0) -> bool
5963 return _IMP_atom.LinearVelocity_has_attribute(self, *args)
5966 def get_derivative(self, a0):
5967 """get_derivative(LinearVelocity self, FloatKey a0) -> double"""
5968 return _IMP_atom.LinearVelocity_get_derivative(self, a0)
5972 """get_name(LinearVelocity self) -> std::string"""
5973 return _IMP_atom.LinearVelocity_get_name(self)
5976 def clear_caches(self):
5977 """clear_caches(LinearVelocity self)"""
5978 return _IMP_atom.LinearVelocity_clear_caches(self)
5981 def set_name(self, a0):
5982 """set_name(LinearVelocity self, std::string a0)"""
5983 return _IMP_atom.LinearVelocity_set_name(self, a0)
5987 """set_check_level(LinearVelocity self, IMP::CheckLevel a0)"""
5988 return _IMP_atom.LinearVelocity_set_check_level(self, a0)
5991 def add_to_derivative(self, a0, a1, a2):
5992 """add_to_derivative(LinearVelocity self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
5993 return _IMP_atom.LinearVelocity_add_to_derivative(self, a0, a1, a2)
5996 def set_is_optimized(self, a0, a1):
5997 """set_is_optimized(LinearVelocity self, FloatKey a0, bool a1)"""
5998 return _IMP_atom.LinearVelocity_set_is_optimized(self, a0, a1)
6001 def get_is_optimized(self, a0):
6002 """get_is_optimized(LinearVelocity self, FloatKey a0) -> bool"""
6003 return _IMP_atom.LinearVelocity_get_is_optimized(self, a0)
6007 """get_check_level(LinearVelocity self) -> IMP::CheckLevel"""
6008 return _IMP_atom.LinearVelocity_get_check_level(self)
6011 def __eq__(self, *args):
6013 __eq__(LinearVelocity self, LinearVelocity o) -> bool
6014 __eq__(LinearVelocity self, Particle d) -> bool
6016 return _IMP_atom.LinearVelocity___eq__(self, *args)
6019 def __ne__(self, *args):
6021 __ne__(LinearVelocity self, LinearVelocity o) -> bool
6022 __ne__(LinearVelocity self, Particle d) -> bool
6024 return _IMP_atom.LinearVelocity___ne__(self, *args)
6027 def __le__(self, *args):
6029 __le__(LinearVelocity self, LinearVelocity o) -> bool
6030 __le__(LinearVelocity self, Particle d) -> bool
6032 return _IMP_atom.LinearVelocity___le__(self, *args)
6035 def __lt__(self, *args):
6037 __lt__(LinearVelocity self, LinearVelocity o) -> bool
6038 __lt__(LinearVelocity self, Particle d) -> bool
6040 return _IMP_atom.LinearVelocity___lt__(self, *args)
6043 def __ge__(self, *args):
6045 __ge__(LinearVelocity self, LinearVelocity o) -> bool
6046 __ge__(LinearVelocity self, Particle d) -> bool
6048 return _IMP_atom.LinearVelocity___ge__(self, *args)
6051 def __gt__(self, *args):
6053 __gt__(LinearVelocity self, LinearVelocity o) -> bool
6054 __gt__(LinearVelocity self, Particle d) -> bool
6056 return _IMP_atom.LinearVelocity___gt__(self, *args)
6060 """__hash__(LinearVelocity self) -> std::size_t"""
6061 return _IMP_atom.LinearVelocity___hash__(self)
6065 """__str__(LinearVelocity self) -> std::string"""
6066 return _IMP_atom.LinearVelocity___str__(self)
6070 """__repr__(LinearVelocity self) -> std::string"""
6071 return _IMP_atom.LinearVelocity___repr__(self)
6073 __swig_destroy__ = _IMP_atom.delete_LinearVelocity
6074 __del__ =
lambda self:
None
6075 LinearVelocity_swigregister = _IMP_atom.LinearVelocity_swigregister
6076 LinearVelocity_swigregister(LinearVelocity)
6078 def LinearVelocity_get_velocity_key(i):
6079 """LinearVelocity_get_velocity_key(unsigned int i) -> FloatKey"""
6080 return _IMP_atom.LinearVelocity_get_velocity_key(i)
6082 def LinearVelocity_get_is_setup(*args):
6084 get_is_setup(Model m, ParticleIndex pi) -> bool
6085 LinearVelocity_get_is_setup(_ParticleAdaptor p) -> bool
6087 return _IMP_atom.LinearVelocity_get_is_setup(*args)
6089 def LinearVelocity_setup_particle(*args):
6091 setup_particle(Model m, ParticleIndex pi) -> LinearVelocity
6092 setup_particle(_ParticleAdaptor decorator) -> LinearVelocity
6093 setup_particle(Model m, ParticleIndex pi, Vector3D v) -> LinearVelocity
6094 LinearVelocity_setup_particle(_ParticleAdaptor decorator, Vector3D v) -> LinearVelocity
6096 return _IMP_atom.LinearVelocity_setup_particle(*args)
6099 """Proxy of C++ IMP::atom::AngularVelocity class."""
6101 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6103 def get_velocity_key(i):
6104 """get_velocity_key(unsigned int i) -> FloatKey"""
6105 return _IMP_atom.AngularVelocity_get_velocity_key(i)
6107 get_velocity_key = staticmethod(get_velocity_key)
6109 def __init__(self, *args):
6111 __init__(IMP::atom::AngularVelocity self) -> AngularVelocity
6112 __init__(IMP::atom::AngularVelocity self, Model m, ParticleIndex id) -> AngularVelocity
6113 __init__(IMP::atom::AngularVelocity self, _ParticleAdaptor d) -> AngularVelocity
6115 this = _IMP_atom.new_AngularVelocity(*args)
6117 self.this.append(this)
6121 def get_is_setup(*args):
6123 get_is_setup(Model m, ParticleIndex pi) -> bool
6124 get_is_setup(_ParticleAdaptor p) -> bool
6126 return _IMP_atom.AngularVelocity_get_is_setup(*args)
6128 get_is_setup = staticmethod(get_is_setup)
6130 def show(self, *args):
6132 show(AngularVelocity self, _ostream out)
6133 show(AngularVelocity self)
6135 return _IMP_atom.AngularVelocity_show(self, *args)
6138 def setup_particle(*args):
6140 setup_particle(Model m, ParticleIndex pi) -> AngularVelocity
6141 setup_particle(_ParticleAdaptor decorator) -> AngularVelocity
6142 setup_particle(Model m, ParticleIndex pi, Vector4D v) -> AngularVelocity
6143 setup_particle(_ParticleAdaptor decorator, Vector4D v) -> AngularVelocity
6145 return _IMP_atom.AngularVelocity_setup_particle(*args)
6147 setup_particle = staticmethod(setup_particle)
6149 def set_velocity(self, v):
6150 """set_velocity(AngularVelocity self, Vector4D v)"""
6151 return _IMP_atom.AngularVelocity_set_velocity(self, v)
6154 def get_velocity(self):
6155 """get_velocity(AngularVelocity self) -> Vector4D"""
6156 return _IMP_atom.AngularVelocity_get_velocity(self)
6159 def add_attribute(self, *args):
6161 add_attribute(AngularVelocity self, FloatKey k, IMP::Float v, bool opt)
6162 add_attribute(AngularVelocity self, FloatKey a0, IMP::Float a1)
6163 add_attribute(AngularVelocity self, IntKey a0, IMP::Int a1)
6164 add_attribute(AngularVelocity self, StringKey a0, IMP::String a1)
6165 add_attribute(AngularVelocity self, ParticleIndexKey a0, Particle a1)
6166 add_attribute(AngularVelocity self, ObjectKey a0, Object a1)
6168 return _IMP_atom.AngularVelocity_add_attribute(self, *args)
6171 def get_value(self, *args):
6173 get_value(AngularVelocity self, FloatKey a0) -> IMP::Float
6174 get_value(AngularVelocity self, IntKey a0) -> IMP::Int
6175 get_value(AngularVelocity self, StringKey a0) -> IMP::String
6176 get_value(AngularVelocity self, ParticleIndexKey a0) -> Particle
6177 get_value(AngularVelocity self, ObjectKey a0) -> Object
6179 return _IMP_atom.AngularVelocity_get_value(self, *args)
6182 def set_value(self, *args):
6184 set_value(AngularVelocity self, FloatKey a0, IMP::Float a1)
6185 set_value(AngularVelocity self, IntKey a0, IMP::Int a1)
6186 set_value(AngularVelocity self, StringKey a0, IMP::String a1)
6187 set_value(AngularVelocity self, ParticleIndexKey a0, Particle a1)
6188 set_value(AngularVelocity self, ObjectKey a0, Object a1)
6190 return _IMP_atom.AngularVelocity_set_value(self, *args)
6193 def remove_attribute(self, *args):
6195 remove_attribute(AngularVelocity self, FloatKey a0)
6196 remove_attribute(AngularVelocity self, IntKey a0)
6197 remove_attribute(AngularVelocity self, StringKey a0)
6198 remove_attribute(AngularVelocity self, ParticleIndexKey a0)
6199 remove_attribute(AngularVelocity self, ObjectKey a0)
6201 return _IMP_atom.AngularVelocity_remove_attribute(self, *args)
6204 def has_attribute(self, *args):
6206 has_attribute(AngularVelocity self, FloatKey a0) -> bool
6207 has_attribute(AngularVelocity self, IntKey a0) -> bool
6208 has_attribute(AngularVelocity self, StringKey a0) -> bool
6209 has_attribute(AngularVelocity self, ParticleIndexKey a0) -> bool
6210 has_attribute(AngularVelocity self, ObjectKey a0) -> bool
6212 return _IMP_atom.AngularVelocity_has_attribute(self, *args)
6215 def get_derivative(self, a0):
6216 """get_derivative(AngularVelocity self, FloatKey a0) -> double"""
6217 return _IMP_atom.AngularVelocity_get_derivative(self, a0)
6221 """get_name(AngularVelocity self) -> std::string"""
6222 return _IMP_atom.AngularVelocity_get_name(self)
6225 def clear_caches(self):
6226 """clear_caches(AngularVelocity self)"""
6227 return _IMP_atom.AngularVelocity_clear_caches(self)
6230 def set_name(self, a0):
6231 """set_name(AngularVelocity self, std::string a0)"""
6232 return _IMP_atom.AngularVelocity_set_name(self, a0)
6236 """set_check_level(AngularVelocity self, IMP::CheckLevel a0)"""
6237 return _IMP_atom.AngularVelocity_set_check_level(self, a0)
6240 def add_to_derivative(self, a0, a1, a2):
6241 """add_to_derivative(AngularVelocity self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
6242 return _IMP_atom.AngularVelocity_add_to_derivative(self, a0, a1, a2)
6245 def set_is_optimized(self, a0, a1):
6246 """set_is_optimized(AngularVelocity self, FloatKey a0, bool a1)"""
6247 return _IMP_atom.AngularVelocity_set_is_optimized(self, a0, a1)
6250 def get_is_optimized(self, a0):
6251 """get_is_optimized(AngularVelocity self, FloatKey a0) -> bool"""
6252 return _IMP_atom.AngularVelocity_get_is_optimized(self, a0)
6256 """get_check_level(AngularVelocity self) -> IMP::CheckLevel"""
6257 return _IMP_atom.AngularVelocity_get_check_level(self)
6260 def __eq__(self, *args):
6262 __eq__(AngularVelocity self, AngularVelocity o) -> bool
6263 __eq__(AngularVelocity self, Particle d) -> bool
6265 return _IMP_atom.AngularVelocity___eq__(self, *args)
6268 def __ne__(self, *args):
6270 __ne__(AngularVelocity self, AngularVelocity o) -> bool
6271 __ne__(AngularVelocity self, Particle d) -> bool
6273 return _IMP_atom.AngularVelocity___ne__(self, *args)
6276 def __le__(self, *args):
6278 __le__(AngularVelocity self, AngularVelocity o) -> bool
6279 __le__(AngularVelocity self, Particle d) -> bool
6281 return _IMP_atom.AngularVelocity___le__(self, *args)
6284 def __lt__(self, *args):
6286 __lt__(AngularVelocity self, AngularVelocity o) -> bool
6287 __lt__(AngularVelocity self, Particle d) -> bool
6289 return _IMP_atom.AngularVelocity___lt__(self, *args)
6292 def __ge__(self, *args):
6294 __ge__(AngularVelocity self, AngularVelocity o) -> bool
6295 __ge__(AngularVelocity self, Particle d) -> bool
6297 return _IMP_atom.AngularVelocity___ge__(self, *args)
6300 def __gt__(self, *args):
6302 __gt__(AngularVelocity self, AngularVelocity o) -> bool
6303 __gt__(AngularVelocity self, Particle d) -> bool
6305 return _IMP_atom.AngularVelocity___gt__(self, *args)
6309 """__hash__(AngularVelocity self) -> std::size_t"""
6310 return _IMP_atom.AngularVelocity___hash__(self)
6314 """__str__(AngularVelocity self) -> std::string"""
6315 return _IMP_atom.AngularVelocity___str__(self)
6319 """__repr__(AngularVelocity self) -> std::string"""
6320 return _IMP_atom.AngularVelocity___repr__(self)
6322 __swig_destroy__ = _IMP_atom.delete_AngularVelocity
6323 __del__ =
lambda self:
None
6324 AngularVelocity_swigregister = _IMP_atom.AngularVelocity_swigregister
6325 AngularVelocity_swigregister(AngularVelocity)
6327 def AngularVelocity_get_velocity_key(i):
6328 """AngularVelocity_get_velocity_key(unsigned int i) -> FloatKey"""
6329 return _IMP_atom.AngularVelocity_get_velocity_key(i)
6331 def AngularVelocity_get_is_setup(*args):
6333 get_is_setup(Model m, ParticleIndex pi) -> bool
6334 AngularVelocity_get_is_setup(_ParticleAdaptor p) -> bool
6336 return _IMP_atom.AngularVelocity_get_is_setup(*args)
6338 def AngularVelocity_setup_particle(*args):
6340 setup_particle(Model m, ParticleIndex pi) -> AngularVelocity
6341 setup_particle(_ParticleAdaptor decorator) -> AngularVelocity
6342 setup_particle(Model m, ParticleIndex pi, Vector4D v) -> AngularVelocity
6343 AngularVelocity_setup_particle(_ParticleAdaptor decorator, Vector4D v) -> AngularVelocity
6345 return _IMP_atom.AngularVelocity_setup_particle(*args)
6347 class MolecularDynamics(Simulator):
6348 """Proxy of C++ IMP::atom::MolecularDynamics class."""
6350 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6352 def __init__(self, m):
6353 """__init__(IMP::atom::MolecularDynamics self, Model m) -> MolecularDynamics"""
6354 this = _IMP_atom.new_MolecularDynamics(m)
6356 self.this.append(this)
6360 def get_kinetic_energy(self):
6361 """get_kinetic_energy(MolecularDynamics self) -> IMP::Float"""
6362 return _IMP_atom.MolecularDynamics_get_kinetic_energy(self)
6365 def get_kinetic_temperature(self, ekinetic):
6366 """get_kinetic_temperature(MolecularDynamics self, IMP::Float ekinetic) -> IMP::Float"""
6367 return _IMP_atom.MolecularDynamics_get_kinetic_temperature(self, ekinetic)
6370 def set_velocity_cap(self, velocity_cap):
6371 """set_velocity_cap(MolecularDynamics self, IMP::Float velocity_cap)"""
6372 return _IMP_atom.MolecularDynamics_set_velocity_cap(self, velocity_cap)
6375 def assign_velocities(self, temperature):
6376 """assign_velocities(MolecularDynamics self, IMP::Float temperature)"""
6377 return _IMP_atom.MolecularDynamics_assign_velocities(self, temperature)
6380 def setup(self, ps):
6381 """setup(MolecularDynamics self, IMP::ParticleIndexes const & ps)"""
6382 return _IMP_atom.MolecularDynamics_setup(self, ps)
6385 def do_step(self, sc, dt):
6386 """do_step(MolecularDynamics self, IMP::ParticleIndexes const & sc, double dt) -> double"""
6387 return _IMP_atom.MolecularDynamics_do_step(self, sc, dt)
6390 def get_is_simulation_particle(self, p):
6391 """get_is_simulation_particle(MolecularDynamics self, ParticleIndex p) -> bool"""
6392 return _IMP_atom.MolecularDynamics_get_is_simulation_particle(self, p)
6395 def get_version_info(self):
6396 """get_version_info(MolecularDynamics self) -> VersionInfo"""
6397 return _IMP_atom.MolecularDynamics_get_version_info(self)
6401 """__str__(MolecularDynamics self) -> std::string"""
6402 return _IMP_atom.MolecularDynamics___str__(self)
6406 """__repr__(MolecularDynamics self) -> std::string"""
6407 return _IMP_atom.MolecularDynamics___repr__(self)
6412 return _object_cast_to_MolecularDynamics(o)
6414 MolecularDynamics_swigregister = _IMP_atom.MolecularDynamics_swigregister
6415 MolecularDynamics_swigregister(MolecularDynamics)
6418 """Proxy of C++ IMP::atom::VelocityScalingOptimizerState class."""
6420 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6422 def __init__(self, m, pis, temperature):
6423 """__init__(IMP::atom::VelocityScalingOptimizerState self, Model m, _ParticleIndexesAdaptor pis, double temperature) -> VelocityScalingOptimizerState"""
6424 this = _IMP_atom.new_VelocityScalingOptimizerState(m, pis, temperature)
6426 self.this.append(this)
6430 def set_particles(self, pis):
6431 """set_particles(VelocityScalingOptimizerState self, IMP::Particles const & pis)"""
6432 return _IMP_atom.VelocityScalingOptimizerState_set_particles(self, pis)
6435 def set_temperature(self, temperature):
6436 """set_temperature(VelocityScalingOptimizerState self, IMP::Float temperature)"""
6437 return _IMP_atom.VelocityScalingOptimizerState_set_temperature(self, temperature)
6440 def rescale_velocities(self):
6441 """rescale_velocities(VelocityScalingOptimizerState self)"""
6442 return _IMP_atom.VelocityScalingOptimizerState_rescale_velocities(self)
6445 def get_version_info(self):
6446 """get_version_info(VelocityScalingOptimizerState self) -> VersionInfo"""
6447 return _IMP_atom.VelocityScalingOptimizerState_get_version_info(self)
6451 """__str__(VelocityScalingOptimizerState self) -> std::string"""
6452 return _IMP_atom.VelocityScalingOptimizerState___str__(self)
6456 """__repr__(VelocityScalingOptimizerState self) -> std::string"""
6457 return _IMP_atom.VelocityScalingOptimizerState___repr__(self)
6462 return _object_cast_to_VelocityScalingOptimizerState(o)
6464 VelocityScalingOptimizerState_swigregister = _IMP_atom.VelocityScalingOptimizerState_swigregister
6465 VelocityScalingOptimizerState_swigregister(VelocityScalingOptimizerState)
6467 class Fragment(Hierarchy):
6468 """Proxy of C++ IMP::atom::Fragment class."""
6470 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6472 def set_residue_indexes(self, o):
6473 """set_residue_indexes(Fragment self, IMP::Ints o)"""
6474 return _IMP_atom.Fragment_set_residue_indexes(self, o)
6477 def get_residue_indexes(self):
6478 """get_residue_indexes(Fragment self) -> IMP::Ints"""
6479 return _IMP_atom.Fragment_get_residue_indexes(self)
6482 def get_contains_residue(self, rindex):
6483 """get_contains_residue(Fragment self, int rindex) -> bool"""
6484 return _IMP_atom.Fragment_get_contains_residue(self, rindex)
6487 def __init__(self, *args):
6489 __init__(IMP::atom::Fragment self) -> Fragment
6490 __init__(IMP::atom::Fragment self, Model m, ParticleIndex id) -> Fragment
6491 __init__(IMP::atom::Fragment self, _ParticleAdaptor d) -> Fragment
6493 this = _IMP_atom.new_Fragment(*args)
6495 self.this.append(this)
6499 def get_is_setup(*args):
6501 get_is_setup(Model m, ParticleIndex pi) -> bool
6502 get_is_setup(_ParticleAdaptor p) -> bool
6504 return _IMP_atom.Fragment_get_is_setup(*args)
6506 get_is_setup = staticmethod(get_is_setup)
6508 def show(self, *args):
6510 show(Fragment self, _ostream out)
6513 return _IMP_atom.Fragment_show(self, *args)
6516 def setup_particle(*args):
6518 setup_particle(Model m, ParticleIndex pi) -> Fragment
6519 setup_particle(_ParticleAdaptor decorator) -> Fragment
6520 setup_particle(Model m, ParticleIndex pi, Fragment other) -> Fragment
6521 setup_particle(_ParticleAdaptor decorator, Fragment other) -> Fragment
6522 setup_particle(Model m, ParticleIndex pi, IMP::Ints residue_indexes) -> Fragment
6523 setup_particle(_ParticleAdaptor decorator, IMP::Ints residue_indexes) -> Fragment
6525 return _IMP_atom.Fragment_setup_particle(*args)
6527 setup_particle = staticmethod(setup_particle)
6529 def add_attribute(self, *args):
6531 add_attribute(Fragment self, FloatKey k, IMP::Float v, bool opt)
6532 add_attribute(Fragment self, FloatKey a0, IMP::Float a1)
6533 add_attribute(Fragment self, IntKey a0, IMP::Int a1)
6534 add_attribute(Fragment self, StringKey a0, IMP::String a1)
6535 add_attribute(Fragment self, ParticleIndexKey a0, Particle a1)
6536 add_attribute(Fragment self, ObjectKey a0, Object a1)
6538 return _IMP_atom.Fragment_add_attribute(self, *args)
6541 def get_value(self, *args):
6543 get_value(Fragment self, FloatKey a0) -> IMP::Float
6544 get_value(Fragment self, IntKey a0) -> IMP::Int
6545 get_value(Fragment self, StringKey a0) -> IMP::String
6546 get_value(Fragment self, ParticleIndexKey a0) -> Particle
6547 get_value(Fragment self, ObjectKey a0) -> Object
6549 return _IMP_atom.Fragment_get_value(self, *args)
6552 def set_value(self, *args):
6554 set_value(Fragment self, FloatKey a0, IMP::Float a1)
6555 set_value(Fragment self, IntKey a0, IMP::Int a1)
6556 set_value(Fragment self, StringKey a0, IMP::String a1)
6557 set_value(Fragment self, ParticleIndexKey a0, Particle a1)
6558 set_value(Fragment self, ObjectKey a0, Object a1)
6560 return _IMP_atom.Fragment_set_value(self, *args)
6563 def remove_attribute(self, *args):
6565 remove_attribute(Fragment self, FloatKey a0)
6566 remove_attribute(Fragment self, IntKey a0)
6567 remove_attribute(Fragment self, StringKey a0)
6568 remove_attribute(Fragment self, ParticleIndexKey a0)
6569 remove_attribute(Fragment self, ObjectKey a0)
6571 return _IMP_atom.Fragment_remove_attribute(self, *args)
6574 def has_attribute(self, *args):
6576 has_attribute(Fragment self, FloatKey a0) -> bool
6577 has_attribute(Fragment self, IntKey a0) -> bool
6578 has_attribute(Fragment self, StringKey a0) -> bool
6579 has_attribute(Fragment self, ParticleIndexKey a0) -> bool
6580 has_attribute(Fragment self, ObjectKey a0) -> bool
6582 return _IMP_atom.Fragment_has_attribute(self, *args)
6585 def get_derivative(self, a0):
6586 """get_derivative(Fragment self, FloatKey a0) -> double"""
6587 return _IMP_atom.Fragment_get_derivative(self, a0)
6591 """get_name(Fragment self) -> std::string"""
6592 return _IMP_atom.Fragment_get_name(self)
6595 def clear_caches(self):
6596 """clear_caches(Fragment self)"""
6597 return _IMP_atom.Fragment_clear_caches(self)
6600 def set_name(self, a0):
6601 """set_name(Fragment self, std::string a0)"""
6602 return _IMP_atom.Fragment_set_name(self, a0)
6606 """set_check_level(Fragment self, IMP::CheckLevel a0)"""
6607 return _IMP_atom.Fragment_set_check_level(self, a0)
6610 def add_to_derivative(self, a0, a1, a2):
6611 """add_to_derivative(Fragment self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
6612 return _IMP_atom.Fragment_add_to_derivative(self, a0, a1, a2)
6615 def set_is_optimized(self, a0, a1):
6616 """set_is_optimized(Fragment self, FloatKey a0, bool a1)"""
6617 return _IMP_atom.Fragment_set_is_optimized(self, a0, a1)
6620 def get_is_optimized(self, a0):
6621 """get_is_optimized(Fragment self, FloatKey a0) -> bool"""
6622 return _IMP_atom.Fragment_get_is_optimized(self, a0)
6626 """get_check_level(Fragment self) -> IMP::CheckLevel"""
6627 return _IMP_atom.Fragment_get_check_level(self)
6630 def __eq__(self, *args):
6632 __eq__(Fragment self, Fragment o) -> bool
6633 __eq__(Fragment self, Particle d) -> bool
6635 return _IMP_atom.Fragment___eq__(self, *args)
6638 def __ne__(self, *args):
6640 __ne__(Fragment self, Fragment o) -> bool
6641 __ne__(Fragment self, Particle d) -> bool
6643 return _IMP_atom.Fragment___ne__(self, *args)
6646 def __le__(self, *args):
6648 __le__(Fragment self, Fragment o) -> bool
6649 __le__(Fragment self, Particle d) -> bool
6651 return _IMP_atom.Fragment___le__(self, *args)
6654 def __lt__(self, *args):
6656 __lt__(Fragment self, Fragment o) -> bool
6657 __lt__(Fragment self, Particle d) -> bool
6659 return _IMP_atom.Fragment___lt__(self, *args)
6662 def __ge__(self, *args):
6664 __ge__(Fragment self, Fragment o) -> bool
6665 __ge__(Fragment self, Particle d) -> bool
6667 return _IMP_atom.Fragment___ge__(self, *args)
6670 def __gt__(self, *args):
6672 __gt__(Fragment self, Fragment o) -> bool
6673 __gt__(Fragment self, Particle d) -> bool
6675 return _IMP_atom.Fragment___gt__(self, *args)
6679 """__hash__(Fragment self) -> std::size_t"""
6680 return _IMP_atom.Fragment___hash__(self)
6684 """__str__(Fragment self) -> std::string"""
6685 return _IMP_atom.Fragment___str__(self)
6689 """__repr__(Fragment self) -> std::string"""
6690 return _IMP_atom.Fragment___repr__(self)
6692 __swig_destroy__ = _IMP_atom.delete_Fragment
6693 __del__ =
lambda self:
None
6694 Fragment_swigregister = _IMP_atom.Fragment_swigregister
6695 Fragment_swigregister(Fragment)
6697 def Fragment_get_is_setup(*args):
6699 get_is_setup(Model m, ParticleIndex pi) -> bool
6700 Fragment_get_is_setup(_ParticleAdaptor p) -> bool
6702 return _IMP_atom.Fragment_get_is_setup(*args)
6704 def Fragment_setup_particle(*args):
6706 setup_particle(Model m, ParticleIndex pi) -> Fragment
6707 setup_particle(_ParticleAdaptor decorator) -> Fragment
6708 setup_particle(Model m, ParticleIndex pi, Fragment other) -> Fragment
6709 setup_particle(_ParticleAdaptor decorator, Fragment other) -> Fragment
6710 setup_particle(Model m, ParticleIndex pi, IMP::Ints residue_indexes) -> Fragment
6711 Fragment_setup_particle(_ParticleAdaptor decorator, IMP::Ints residue_indexes) -> Fragment
6713 return _IMP_atom.Fragment_setup_particle(*args)
6716 """Proxy of C++ IMP::atom::StereochemistryPairFilter class."""
6718 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6721 """__init__(IMP::atom::StereochemistryPairFilter self) -> StereochemistryPairFilter"""
6722 this = _IMP_atom.new_StereochemistryPairFilter()
6724 self.this.append(this)
6728 def set_bonds(self, bonds):
6729 """set_bonds(StereochemistryPairFilter self, IMP::Particles const & bonds)"""
6730 return _IMP_atom.StereochemistryPairFilter_set_bonds(self, bonds)
6733 def set_angles(self, angles):
6734 """set_angles(StereochemistryPairFilter self, IMP::Particles const & angles)"""
6735 return _IMP_atom.StereochemistryPairFilter_set_angles(self, angles)
6738 def set_dihedrals(self, dihedrals):
6739 """set_dihedrals(StereochemistryPairFilter self, IMP::Particles const & dihedrals)"""
6740 return _IMP_atom.StereochemistryPairFilter_set_dihedrals(self, dihedrals)
6743 def do_get_inputs(self, m, pis):
6744 """do_get_inputs(StereochemistryPairFilter self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
6745 return _IMP_atom.StereochemistryPairFilter_do_get_inputs(self, m, pis)
6748 def get_value(self, *args):
6750 get_value(StereochemistryPairFilter self, IMP::ParticlePair const & a) -> int
6751 get_value(StereochemistryPairFilter self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
6753 return _IMP_atom.StereochemistryPairFilter_get_value(self, *args)
6756 def get_value_index(self, *args):
6758 get_value_index(StereochemistryPairFilter self, Model m, IMP::ParticleIndexPair const & p) -> int
6759 get_value_index(StereochemistryPairFilter self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
6761 return _IMP_atom.StereochemistryPairFilter_get_value_index(self, *args)
6764 def get_version_info(self):
6765 """get_version_info(StereochemistryPairFilter self) -> VersionInfo"""
6766 return _IMP_atom.StereochemistryPairFilter_get_version_info(self)
6770 """__str__(StereochemistryPairFilter self) -> std::string"""
6771 return _IMP_atom.StereochemistryPairFilter___str__(self)
6775 """__repr__(StereochemistryPairFilter self) -> std::string"""
6776 return _IMP_atom.StereochemistryPairFilter___repr__(self)
6781 return _object_cast_to_StereochemistryPairFilter(o)
6783 StereochemistryPairFilter_swigregister = _IMP_atom.StereochemistryPairFilter_swigregister
6784 StereochemistryPairFilter_swigregister(StereochemistryPairFilter)
6787 """Proxy of C++ IMP::atom::SoapPairFilter class."""
6789 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6791 def __init__(self, library):
6792 """__init__(IMP::atom::SoapPairFilter self, std::string library) -> SoapPairFilter"""
6793 this = _IMP_atom.new_SoapPairFilter(library)
6795 self.this.append(this)
6799 def do_get_inputs(self, m, pis):
6800 """do_get_inputs(SoapPairFilter self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
6801 return _IMP_atom.SoapPairFilter_do_get_inputs(self, m, pis)
6804 def get_value(self, *args):
6806 get_value(SoapPairFilter self, IMP::ParticlePair const & a) -> int
6807 get_value(SoapPairFilter self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
6809 return _IMP_atom.SoapPairFilter_get_value(self, *args)
6812 def get_value_index(self, *args):
6814 get_value_index(SoapPairFilter self, Model m, IMP::ParticleIndexPair const & p) -> int
6815 get_value_index(SoapPairFilter self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
6817 return _IMP_atom.SoapPairFilter_get_value_index(self, *args)
6820 def get_version_info(self):
6821 """get_version_info(SoapPairFilter self) -> VersionInfo"""
6822 return _IMP_atom.SoapPairFilter_get_version_info(self)
6826 """__str__(SoapPairFilter self) -> std::string"""
6827 return _IMP_atom.SoapPairFilter___str__(self)
6831 """__repr__(SoapPairFilter self) -> std::string"""
6832 return _IMP_atom.SoapPairFilter___repr__(self)
6837 return _object_cast_to_SoapPairFilter(o)
6839 SoapPairFilter_swigregister = _IMP_atom.SoapPairFilter_swigregister
6840 SoapPairFilter_swigregister(SoapPairFilter)
6843 """Proxy of C++ IMP::atom::Mass class."""
6845 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6848 """get_mass(Mass self) -> IMP::Float"""
6849 return _IMP_atom.Mass_get_mass(self)
6852 def set_mass(self, d):
6853 """set_mass(Mass self, IMP::Float d)"""
6854 return _IMP_atom.Mass_set_mass(self, d)
6857 def __init__(self, *args):
6859 __init__(IMP::atom::Mass self) -> Mass
6860 __init__(IMP::atom::Mass self, Model m, ParticleIndex id) -> Mass
6861 __init__(IMP::atom::Mass self, _ParticleAdaptor d) -> Mass
6863 this = _IMP_atom.new_Mass(*args)
6865 self.this.append(this)
6869 def get_is_setup(*args):
6871 get_is_setup(Model m, ParticleIndex pi) -> bool
6872 get_is_setup(_ParticleAdaptor p) -> bool
6874 return _IMP_atom.Mass_get_is_setup(*args)
6876 get_is_setup = staticmethod(get_is_setup)
6878 def show(self, *args):
6880 show(Mass self, _ostream out)
6883 return _IMP_atom.Mass_show(self, *args)
6886 def setup_particle(*args):
6888 setup_particle(Model m, ParticleIndex pi, IMP::Float mass) -> Mass
6889 setup_particle(_ParticleAdaptor decorator, IMP::Float mass) -> Mass
6891 return _IMP_atom.Mass_setup_particle(*args)
6893 setup_particle = staticmethod(setup_particle)
6896 """get_mass_key() -> FloatKey"""
6897 return _IMP_atom.Mass_get_mass_key()
6899 get_mass_key = staticmethod(get_mass_key)
6901 def add_attribute(self, *args):
6903 add_attribute(Mass self, FloatKey k, IMP::Float v, bool opt)
6904 add_attribute(Mass self, FloatKey a0, IMP::Float a1)
6905 add_attribute(Mass self, IntKey a0, IMP::Int a1)
6906 add_attribute(Mass self, StringKey a0, IMP::String a1)
6907 add_attribute(Mass self, ParticleIndexKey a0, Particle a1)
6908 add_attribute(Mass self, ObjectKey a0, Object a1)
6910 return _IMP_atom.Mass_add_attribute(self, *args)
6913 def get_value(self, *args):
6915 get_value(Mass self, FloatKey a0) -> IMP::Float
6916 get_value(Mass self, IntKey a0) -> IMP::Int
6917 get_value(Mass self, StringKey a0) -> IMP::String
6918 get_value(Mass self, ParticleIndexKey a0) -> Particle
6919 get_value(Mass self, ObjectKey a0) -> Object
6921 return _IMP_atom.Mass_get_value(self, *args)
6924 def set_value(self, *args):
6926 set_value(Mass self, FloatKey a0, IMP::Float a1)
6927 set_value(Mass self, IntKey a0, IMP::Int a1)
6928 set_value(Mass self, StringKey a0, IMP::String a1)
6929 set_value(Mass self, ParticleIndexKey a0, Particle a1)
6930 set_value(Mass self, ObjectKey a0, Object a1)
6932 return _IMP_atom.Mass_set_value(self, *args)
6935 def remove_attribute(self, *args):
6937 remove_attribute(Mass self, FloatKey a0)
6938 remove_attribute(Mass self, IntKey a0)
6939 remove_attribute(Mass self, StringKey a0)
6940 remove_attribute(Mass self, ParticleIndexKey a0)
6941 remove_attribute(Mass self, ObjectKey a0)
6943 return _IMP_atom.Mass_remove_attribute(self, *args)
6946 def has_attribute(self, *args):
6948 has_attribute(Mass self, FloatKey a0) -> bool
6949 has_attribute(Mass self, IntKey a0) -> bool
6950 has_attribute(Mass self, StringKey a0) -> bool
6951 has_attribute(Mass self, ParticleIndexKey a0) -> bool
6952 has_attribute(Mass self, ObjectKey a0) -> bool
6954 return _IMP_atom.Mass_has_attribute(self, *args)
6957 def get_derivative(self, a0):
6958 """get_derivative(Mass self, FloatKey a0) -> double"""
6959 return _IMP_atom.Mass_get_derivative(self, a0)
6963 """get_name(Mass self) -> std::string"""
6964 return _IMP_atom.Mass_get_name(self)
6967 def clear_caches(self):
6968 """clear_caches(Mass self)"""
6969 return _IMP_atom.Mass_clear_caches(self)
6972 def set_name(self, a0):
6973 """set_name(Mass self, std::string a0)"""
6974 return _IMP_atom.Mass_set_name(self, a0)
6978 """set_check_level(Mass self, IMP::CheckLevel a0)"""
6979 return _IMP_atom.Mass_set_check_level(self, a0)
6982 def add_to_derivative(self, a0, a1, a2):
6983 """add_to_derivative(Mass self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
6984 return _IMP_atom.Mass_add_to_derivative(self, a0, a1, a2)
6987 def set_is_optimized(self, a0, a1):
6988 """set_is_optimized(Mass self, FloatKey a0, bool a1)"""
6989 return _IMP_atom.Mass_set_is_optimized(self, a0, a1)
6992 def get_is_optimized(self, a0):
6993 """get_is_optimized(Mass self, FloatKey a0) -> bool"""
6994 return _IMP_atom.Mass_get_is_optimized(self, a0)
6998 """get_check_level(Mass self) -> IMP::CheckLevel"""
6999 return _IMP_atom.Mass_get_check_level(self)
7002 def __eq__(self, *args):
7004 __eq__(Mass self, Mass o) -> bool
7005 __eq__(Mass self, Particle d) -> bool
7007 return _IMP_atom.Mass___eq__(self, *args)
7010 def __ne__(self, *args):
7012 __ne__(Mass self, Mass o) -> bool
7013 __ne__(Mass self, Particle d) -> bool
7015 return _IMP_atom.Mass___ne__(self, *args)
7018 def __le__(self, *args):
7020 __le__(Mass self, Mass o) -> bool
7021 __le__(Mass self, Particle d) -> bool
7023 return _IMP_atom.Mass___le__(self, *args)
7026 def __lt__(self, *args):
7028 __lt__(Mass self, Mass o) -> bool
7029 __lt__(Mass self, Particle d) -> bool
7031 return _IMP_atom.Mass___lt__(self, *args)
7034 def __ge__(self, *args):
7036 __ge__(Mass self, Mass o) -> bool
7037 __ge__(Mass self, Particle d) -> bool
7039 return _IMP_atom.Mass___ge__(self, *args)
7042 def __gt__(self, *args):
7044 __gt__(Mass self, Mass o) -> bool
7045 __gt__(Mass self, Particle d) -> bool
7047 return _IMP_atom.Mass___gt__(self, *args)
7051 """__hash__(Mass self) -> std::size_t"""
7052 return _IMP_atom.Mass___hash__(self)
7056 """__str__(Mass self) -> std::string"""
7057 return _IMP_atom.Mass___str__(self)
7061 """__repr__(Mass self) -> std::string"""
7062 return _IMP_atom.Mass___repr__(self)
7064 __swig_destroy__ = _IMP_atom.delete_Mass
7065 __del__ =
lambda self:
None
7066 Mass_swigregister = _IMP_atom.Mass_swigregister
7067 Mass_swigregister(Mass)
7069 def Mass_get_is_setup(*args):
7071 get_is_setup(Model m, ParticleIndex pi) -> bool
7072 Mass_get_is_setup(_ParticleAdaptor p) -> bool
7074 return _IMP_atom.Mass_get_is_setup(*args)
7076 def Mass_setup_particle(*args):
7078 setup_particle(Model m, ParticleIndex pi, IMP::Float mass) -> Mass
7079 Mass_setup_particle(_ParticleAdaptor decorator, IMP::Float mass) -> Mass
7081 return _IMP_atom.Mass_setup_particle(*args)
7083 def Mass_get_mass_key():
7084 """Mass_get_mass_key() -> FloatKey"""
7085 return _IMP_atom.Mass_get_mass_key()
7088 """Proxy of C++ IMP::atom::BondedPairFilter class."""
7090 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7093 """__init__(IMP::atom::BondedPairFilter self) -> BondedPairFilter"""
7094 this = _IMP_atom.new_BondedPairFilter()
7096 self.this.append(this)
7100 def do_get_inputs(self, m, pis):
7101 """do_get_inputs(BondedPairFilter self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7102 return _IMP_atom.BondedPairFilter_do_get_inputs(self, m, pis)
7105 def get_value(self, *args):
7107 get_value(BondedPairFilter self, IMP::ParticlePair const & a) -> int
7108 get_value(BondedPairFilter self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
7110 return _IMP_atom.BondedPairFilter_get_value(self, *args)
7113 def get_value_index(self, *args):
7115 get_value_index(BondedPairFilter self, Model m, IMP::ParticleIndexPair const & p) -> int
7116 get_value_index(BondedPairFilter self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
7118 return _IMP_atom.BondedPairFilter_get_value_index(self, *args)
7121 def get_version_info(self):
7122 """get_version_info(BondedPairFilter self) -> VersionInfo"""
7123 return _IMP_atom.BondedPairFilter_get_version_info(self)
7127 """__str__(BondedPairFilter self) -> std::string"""
7128 return _IMP_atom.BondedPairFilter___str__(self)
7132 """__repr__(BondedPairFilter self) -> std::string"""
7133 return _IMP_atom.BondedPairFilter___repr__(self)
7138 return _object_cast_to_BondedPairFilter(o)
7140 BondedPairFilter_swigregister = _IMP_atom.BondedPairFilter_swigregister
7141 BondedPairFilter_swigregister(BondedPairFilter)
7144 """Proxy of C++ IMP::atom::Mol2Selector class."""
7146 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7148 def __init__(self, *args, **kwargs):
7149 raise AttributeError(
"No constructor defined - class is abstract")
7151 def get_is_selected(self, atom_line):
7152 """get_is_selected(Mol2Selector self, std::string const & atom_line) -> bool"""
7153 return _IMP_atom.Mol2Selector_get_is_selected(self, atom_line)
7155 __swig_destroy__ = _IMP_atom.delete_Mol2Selector
7156 __del__ =
lambda self:
None
7159 """__str__(Mol2Selector self) -> std::string"""
7160 return _IMP_atom.Mol2Selector___str__(self)
7164 """__repr__(Mol2Selector self) -> std::string"""
7165 return _IMP_atom.Mol2Selector___repr__(self)
7170 return _object_cast_to_Mol2Selector(o)
7172 Mol2Selector_swigregister = _IMP_atom.Mol2Selector_swigregister
7173 Mol2Selector_swigregister(Mol2Selector)
7175 class AllMol2Selector(Mol2Selector):
7176 """Proxy of C++ IMP::atom::AllMol2Selector class."""
7178 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7181 """__str__(AllMol2Selector self) -> std::string"""
7182 return _IMP_atom.AllMol2Selector___str__(self)
7186 """__repr__(AllMol2Selector self) -> std::string"""
7187 return _IMP_atom.AllMol2Selector___repr__(self)
7192 return _object_cast_to_AllMol2Selector(o)
7196 """__init__(IMP::atom::AllMol2Selector self) -> AllMol2Selector"""
7197 this = _IMP_atom.new_AllMol2Selector()
7199 self.this.append(this)
7202 __swig_destroy__ = _IMP_atom.delete_AllMol2Selector
7203 __del__ =
lambda self:
None
7204 AllMol2Selector_swigregister = _IMP_atom.AllMol2Selector_swigregister
7205 AllMol2Selector_swigregister(AllMol2Selector)
7207 class NonHydrogenMol2Selector(Mol2Selector):
7208 """Proxy of C++ IMP::atom::NonHydrogenMol2Selector class."""
7210 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7213 """__str__(NonHydrogenMol2Selector self) -> std::string"""
7214 return _IMP_atom.NonHydrogenMol2Selector___str__(self)
7218 """__repr__(NonHydrogenMol2Selector self) -> std::string"""
7219 return _IMP_atom.NonHydrogenMol2Selector___repr__(self)
7224 return _object_cast_to_NonHydrogenMol2Selector(o)
7228 """__init__(IMP::atom::NonHydrogenMol2Selector self) -> NonHydrogenMol2Selector"""
7229 this = _IMP_atom.new_NonHydrogenMol2Selector()
7231 self.this.append(this)
7234 __swig_destroy__ = _IMP_atom.delete_NonHydrogenMol2Selector
7235 __del__ =
lambda self:
None
7236 NonHydrogenMol2Selector_swigregister = _IMP_atom.NonHydrogenMol2Selector_swigregister
7237 NonHydrogenMol2Selector_swigregister(NonHydrogenMol2Selector)
7240 def read_mol2(mol2_file, model, mol2sel=None):
7242 read_mol2(TextInput mol2_file, Model model, Mol2Selector mol2sel=None) -> Hierarchy
7243 read_mol2(TextInput mol2_file, Model model) -> Hierarchy
7245 return _IMP_atom.read_mol2(mol2_file, model, mol2sel)
7248 """write_mol2(Hierarchy rhd, TextOutput file_name)"""
7249 return _IMP_atom.write_mol2(rhd, file_name)
7251 """Proxy of C++ IMP::atom::SecondaryStructureResidue class."""
7253 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7255 def __init__(self, *args):
7257 __init__(IMP::atom::SecondaryStructureResidue self) -> SecondaryStructureResidue
7258 __init__(IMP::atom::SecondaryStructureResidue self, Model m, ParticleIndex id) -> SecondaryStructureResidue
7259 __init__(IMP::atom::SecondaryStructureResidue self, _ParticleAdaptor d) -> SecondaryStructureResidue
7261 this = _IMP_atom.new_SecondaryStructureResidue(*args)
7263 self.this.append(this)
7267 def show(self, *args):
7269 show(SecondaryStructureResidue self, _ostream out)
7270 show(SecondaryStructureResidue self)
7272 return _IMP_atom.SecondaryStructureResidue_show(self, *args)
7275 def setup_particle(*args):
7277 setup_particle(Model m, ParticleIndex pi, IMP::Float prob_helix, IMP::Float prob_strand, IMP::Float prob_coil) -> SecondaryStructureResidue
7278 setup_particle(_ParticleAdaptor decorator, IMP::Float prob_helix, IMP::Float prob_strand, IMP::Float prob_coil) -> SecondaryStructureResidue
7279 setup_particle(Particle res_p) -> SecondaryStructureResidue
7281 return _IMP_atom.SecondaryStructureResidue_setup_particle(*args)
7283 setup_particle = staticmethod(setup_particle)
7285 def get_is_setup(*args):
7287 get_is_setup(_ParticleAdaptor p) -> bool
7288 get_is_setup(Model m, ParticleIndex pi) -> bool
7290 return _IMP_atom.SecondaryStructureResidue_get_is_setup(*args)
7292 get_is_setup = staticmethod(get_is_setup)
7294 def get_particle(self):
7295 """get_particle(SecondaryStructureResidue self) -> Particle"""
7296 return _IMP_atom.SecondaryStructureResidue_get_particle(self)
7299 def get_all_probabilities(self):
7300 """get_all_probabilities(SecondaryStructureResidue self) -> IMP::Floats"""
7301 return _IMP_atom.SecondaryStructureResidue_get_all_probabilities(self)
7304 def get_prob_helix(self):
7305 """get_prob_helix(SecondaryStructureResidue self) -> IMP::Float"""
7306 return _IMP_atom.SecondaryStructureResidue_get_prob_helix(self)
7309 def set_prob_helix(self, t):
7310 """set_prob_helix(SecondaryStructureResidue self, IMP::Float t)"""
7311 return _IMP_atom.SecondaryStructureResidue_set_prob_helix(self, t)
7314 def get_prob_strand(self):
7315 """get_prob_strand(SecondaryStructureResidue self) -> IMP::Float"""
7316 return _IMP_atom.SecondaryStructureResidue_get_prob_strand(self)
7319 def set_prob_strand(self, t):
7320 """set_prob_strand(SecondaryStructureResidue self, IMP::Float t)"""
7321 return _IMP_atom.SecondaryStructureResidue_set_prob_strand(self, t)
7324 def get_prob_coil(self):
7325 """get_prob_coil(SecondaryStructureResidue self) -> IMP::Float"""
7326 return _IMP_atom.SecondaryStructureResidue_get_prob_coil(self)
7329 def set_prob_coil(self, t):
7330 """set_prob_coil(SecondaryStructureResidue self, IMP::Float t)"""
7331 return _IMP_atom.SecondaryStructureResidue_set_prob_coil(self, t)
7334 def get_prob_helix_key():
7335 """get_prob_helix_key() -> FloatKey"""
7336 return _IMP_atom.SecondaryStructureResidue_get_prob_helix_key()
7338 get_prob_helix_key = staticmethod(get_prob_helix_key)
7340 def get_prob_strand_key():
7341 """get_prob_strand_key() -> FloatKey"""
7342 return _IMP_atom.SecondaryStructureResidue_get_prob_strand_key()
7344 get_prob_strand_key = staticmethod(get_prob_strand_key)
7346 def get_prob_coil_key():
7347 """get_prob_coil_key() -> FloatKey"""
7348 return _IMP_atom.SecondaryStructureResidue_get_prob_coil_key()
7350 get_prob_coil_key = staticmethod(get_prob_coil_key)
7352 def add_attribute(self, *args):
7354 add_attribute(SecondaryStructureResidue self, FloatKey k, IMP::Float v, bool opt)
7355 add_attribute(SecondaryStructureResidue self, FloatKey a0, IMP::Float a1)
7356 add_attribute(SecondaryStructureResidue self, IntKey a0, IMP::Int a1)
7357 add_attribute(SecondaryStructureResidue self, StringKey a0, IMP::String a1)
7358 add_attribute(SecondaryStructureResidue self, ParticleIndexKey a0, Particle a1)
7359 add_attribute(SecondaryStructureResidue self, ObjectKey a0, Object a1)
7361 return _IMP_atom.SecondaryStructureResidue_add_attribute(self, *args)
7364 def get_value(self, *args):
7366 get_value(SecondaryStructureResidue self, FloatKey a0) -> IMP::Float
7367 get_value(SecondaryStructureResidue self, IntKey a0) -> IMP::Int
7368 get_value(SecondaryStructureResidue self, StringKey a0) -> IMP::String
7369 get_value(SecondaryStructureResidue self, ParticleIndexKey a0) -> Particle
7370 get_value(SecondaryStructureResidue self, ObjectKey a0) -> Object
7372 return _IMP_atom.SecondaryStructureResidue_get_value(self, *args)
7375 def set_value(self, *args):
7377 set_value(SecondaryStructureResidue self, FloatKey a0, IMP::Float a1)
7378 set_value(SecondaryStructureResidue self, IntKey a0, IMP::Int a1)
7379 set_value(SecondaryStructureResidue self, StringKey a0, IMP::String a1)
7380 set_value(SecondaryStructureResidue self, ParticleIndexKey a0, Particle a1)
7381 set_value(SecondaryStructureResidue self, ObjectKey a0, Object a1)
7383 return _IMP_atom.SecondaryStructureResidue_set_value(self, *args)
7386 def remove_attribute(self, *args):
7388 remove_attribute(SecondaryStructureResidue self, FloatKey a0)
7389 remove_attribute(SecondaryStructureResidue self, IntKey a0)
7390 remove_attribute(SecondaryStructureResidue self, StringKey a0)
7391 remove_attribute(SecondaryStructureResidue self, ParticleIndexKey a0)
7392 remove_attribute(SecondaryStructureResidue self, ObjectKey a0)
7394 return _IMP_atom.SecondaryStructureResidue_remove_attribute(self, *args)
7397 def has_attribute(self, *args):
7399 has_attribute(SecondaryStructureResidue self, FloatKey a0) -> bool
7400 has_attribute(SecondaryStructureResidue self, IntKey a0) -> bool
7401 has_attribute(SecondaryStructureResidue self, StringKey a0) -> bool
7402 has_attribute(SecondaryStructureResidue self, ParticleIndexKey a0) -> bool
7403 has_attribute(SecondaryStructureResidue self, ObjectKey a0) -> bool
7405 return _IMP_atom.SecondaryStructureResidue_has_attribute(self, *args)
7408 def get_derivative(self, a0):
7409 """get_derivative(SecondaryStructureResidue self, FloatKey a0) -> double"""
7410 return _IMP_atom.SecondaryStructureResidue_get_derivative(self, a0)
7414 """get_name(SecondaryStructureResidue self) -> std::string"""
7415 return _IMP_atom.SecondaryStructureResidue_get_name(self)
7418 def clear_caches(self):
7419 """clear_caches(SecondaryStructureResidue self)"""
7420 return _IMP_atom.SecondaryStructureResidue_clear_caches(self)
7423 def set_name(self, a0):
7424 """set_name(SecondaryStructureResidue self, std::string a0)"""
7425 return _IMP_atom.SecondaryStructureResidue_set_name(self, a0)
7429 """set_check_level(SecondaryStructureResidue self, IMP::CheckLevel a0)"""
7430 return _IMP_atom.SecondaryStructureResidue_set_check_level(self, a0)
7433 def add_to_derivative(self, a0, a1, a2):
7434 """add_to_derivative(SecondaryStructureResidue self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
7435 return _IMP_atom.SecondaryStructureResidue_add_to_derivative(self, a0, a1, a2)
7438 def set_is_optimized(self, a0, a1):
7439 """set_is_optimized(SecondaryStructureResidue self, FloatKey a0, bool a1)"""
7440 return _IMP_atom.SecondaryStructureResidue_set_is_optimized(self, a0, a1)
7443 def get_is_optimized(self, a0):
7444 """get_is_optimized(SecondaryStructureResidue self, FloatKey a0) -> bool"""
7445 return _IMP_atom.SecondaryStructureResidue_get_is_optimized(self, a0)
7449 """get_check_level(SecondaryStructureResidue self) -> IMP::CheckLevel"""
7450 return _IMP_atom.SecondaryStructureResidue_get_check_level(self)
7453 def __eq__(self, *args):
7455 __eq__(SecondaryStructureResidue self, SecondaryStructureResidue o) -> bool
7456 __eq__(SecondaryStructureResidue self, Particle d) -> bool
7458 return _IMP_atom.SecondaryStructureResidue___eq__(self, *args)
7461 def __ne__(self, *args):
7463 __ne__(SecondaryStructureResidue self, SecondaryStructureResidue o) -> bool
7464 __ne__(SecondaryStructureResidue self, Particle d) -> bool
7466 return _IMP_atom.SecondaryStructureResidue___ne__(self, *args)
7469 def __le__(self, *args):
7471 __le__(SecondaryStructureResidue self, SecondaryStructureResidue o) -> bool
7472 __le__(SecondaryStructureResidue self, Particle d) -> bool
7474 return _IMP_atom.SecondaryStructureResidue___le__(self, *args)
7477 def __lt__(self, *args):
7479 __lt__(SecondaryStructureResidue self, SecondaryStructureResidue o) -> bool
7480 __lt__(SecondaryStructureResidue self, Particle d) -> bool
7482 return _IMP_atom.SecondaryStructureResidue___lt__(self, *args)
7485 def __ge__(self, *args):
7487 __ge__(SecondaryStructureResidue self, SecondaryStructureResidue o) -> bool
7488 __ge__(SecondaryStructureResidue self, Particle d) -> bool
7490 return _IMP_atom.SecondaryStructureResidue___ge__(self, *args)
7493 def __gt__(self, *args):
7495 __gt__(SecondaryStructureResidue self, SecondaryStructureResidue o) -> bool
7496 __gt__(SecondaryStructureResidue self, Particle d) -> bool
7498 return _IMP_atom.SecondaryStructureResidue___gt__(self, *args)
7502 """__hash__(SecondaryStructureResidue self) -> std::size_t"""
7503 return _IMP_atom.SecondaryStructureResidue___hash__(self)
7507 """__str__(SecondaryStructureResidue self) -> std::string"""
7508 return _IMP_atom.SecondaryStructureResidue___str__(self)
7512 """__repr__(SecondaryStructureResidue self) -> std::string"""
7513 return _IMP_atom.SecondaryStructureResidue___repr__(self)
7515 __swig_destroy__ = _IMP_atom.delete_SecondaryStructureResidue
7516 __del__ =
lambda self:
None
7517 SecondaryStructureResidue_swigregister = _IMP_atom.SecondaryStructureResidue_swigregister
7518 SecondaryStructureResidue_swigregister(SecondaryStructureResidue)
7520 def SecondaryStructureResidue_setup_particle(*args):
7522 setup_particle(Model m, ParticleIndex pi, IMP::Float prob_helix, IMP::Float prob_strand, IMP::Float prob_coil) -> SecondaryStructureResidue
7523 setup_particle(_ParticleAdaptor decorator, IMP::Float prob_helix, IMP::Float prob_strand, IMP::Float prob_coil) -> SecondaryStructureResidue
7524 SecondaryStructureResidue_setup_particle(Particle res_p) -> SecondaryStructureResidue
7526 return _IMP_atom.SecondaryStructureResidue_setup_particle(*args)
7528 def SecondaryStructureResidue_get_is_setup(*args):
7530 get_is_setup(_ParticleAdaptor p) -> bool
7531 SecondaryStructureResidue_get_is_setup(Model m, ParticleIndex pi) -> bool
7533 return _IMP_atom.SecondaryStructureResidue_get_is_setup(*args)
7535 def SecondaryStructureResidue_get_prob_helix_key():
7536 """SecondaryStructureResidue_get_prob_helix_key() -> FloatKey"""
7537 return _IMP_atom.SecondaryStructureResidue_get_prob_helix_key()
7539 def SecondaryStructureResidue_get_prob_strand_key():
7540 """SecondaryStructureResidue_get_prob_strand_key() -> FloatKey"""
7541 return _IMP_atom.SecondaryStructureResidue_get_prob_strand_key()
7543 def SecondaryStructureResidue_get_prob_coil_key():
7544 """SecondaryStructureResidue_get_prob_coil_key() -> FloatKey"""
7545 return _IMP_atom.SecondaryStructureResidue_get_prob_coil_key()
7550 setup_coarse_secondary_structure_residue(IMP::Particles const & ssr_ps, Model mdl, bool winner_takes_all_per_res=False) -> SecondaryStructureResidue
7551 setup_coarse_secondary_structure_residue(IMP::Particles const & ssr_ps, Model mdl) -> SecondaryStructureResidue
7553 return _IMP_atom.setup_coarse_secondary_structure_residue(ssr_ps, mdl, winner_takes_all_per_res)
7557 setup_coarse_secondary_structure_residues(IMP::Particles const & ssr_ps, Model mdl, int coarse_factor, int start_res_num, bool winner_takes_all_per_res=False) -> IMP::atom::SecondaryStructureResidues
7558 setup_coarse_secondary_structure_residues(IMP::Particles const & ssr_ps, Model mdl, int coarse_factor, int start_res_num) -> IMP::atom::SecondaryStructureResidues
7560 return _IMP_atom.setup_coarse_secondary_structure_residues(ssr_ps, mdl, coarse_factor, start_res_num, winner_takes_all_per_res)
7563 """get_secondary_structure_match_score(SecondaryStructureResidue ssr1, SecondaryStructureResidue ssr2) -> IMP::Float"""
7564 return _IMP_atom.get_secondary_structure_match_score(ssr1, ssr2)
7566 def read_psipred(*args):
7568 read_psipred(TextInput inf, Model mdl) -> IMP::atom::SecondaryStructureResidues
7569 read_psipred(TextInput inf, IMP::Particles ps) -> IMP::atom::SecondaryStructureResidues
7571 return _IMP_atom.read_psipred(*args)
7573 """Proxy of C++ IMP::score_functor::DistancePairScore<(IMP::score_functor::Dope)> class."""
7575 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7576 __repr__ = _swig_repr
7578 def __init__(self, *args):
7580 __init__(IMP::score_functor::DistancePairScore<(IMP::score_functor::Dope)> self, Dope t0, std::string name) -> _ADopeBase
7581 __init__(IMP::score_functor::DistancePairScore<(IMP::score_functor::Dope)> self, Dope t0) -> _ADopeBase
7583 this = _IMP_atom.new__ADopeBase(*args)
7585 self.this.append(this)
7589 def do_get_inputs(self, m, pis):
7590 """do_get_inputs(_ADopeBase self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7591 return _IMP_atom._ADopeBase_do_get_inputs(self, m, pis)
7594 def get_score_functor(self):
7595 """get_score_functor(_ADopeBase self) -> Dope"""
7596 return _IMP_atom._ADopeBase_get_score_functor(self)
7599 def get_version_info(self):
7600 """get_version_info(_ADopeBase self) -> VersionInfo"""
7601 return _IMP_atom._ADopeBase_get_version_info(self)
7603 _ADopeBase_swigregister = _IMP_atom._ADopeBase_swigregister
7604 _ADopeBase_swigregister(_ADopeBase)
7607 """Proxy of C++ IMP::score_functor::DistancePairScore<(IMP::score_functor::Statistical<(IMP::atom::DopeType,false,true,false)>)> class."""
7609 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7610 __repr__ = _swig_repr
7612 def __init__(self, *args):
7614 __init__(IMP::score_functor::DistancePairScore<(IMP::score_functor::Statistical<(IMP::atom::DopeType,false,true,false)>)> self, IMP::score_functor::DistancePairScore< IMP::score_functor::Statistical< IMP::atom::DopeType,false,true,false > >::DistanceScore const & t0, std::string name) -> _BDopeBase
7615 __init__(IMP::score_functor::DistancePairScore<(IMP::score_functor::Statistical<(IMP::atom::DopeType,false,true,false)>)> self, IMP::score_functor::DistancePairScore< IMP::score_functor::Statistical< IMP::atom::DopeType,false,true,false > >::DistanceScore const & t0) -> _BDopeBase
7617 this = _IMP_atom.new__BDopeBase(*args)
7619 self.this.append(this)
7623 def do_get_inputs(self, m, pis):
7624 """do_get_inputs(_BDopeBase self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7625 return _IMP_atom._BDopeBase_do_get_inputs(self, m, pis)
7628 def get_score_functor(self):
7629 """get_score_functor(_BDopeBase self) -> _DopeBase"""
7630 return _IMP_atom._BDopeBase_get_score_functor(self)
7633 def get_version_info(self):
7634 """get_version_info(_BDopeBase self) -> VersionInfo"""
7635 return _IMP_atom._BDopeBase_get_version_info(self)
7637 _BDopeBase_swigregister = _IMP_atom._BDopeBase_swigregister
7638 _BDopeBase_swigregister(_BDopeBase)
7641 """Proxy of C++ IMP::score_functor::DistancePairScore<(IMP::score_functor::OrientedSoap)> class."""
7643 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7644 __repr__ = _swig_repr
7646 def __init__(self, *args):
7648 __init__(IMP::score_functor::DistancePairScore<(IMP::score_functor::OrientedSoap)> self, IMP::score_functor::DistancePairScore< IMP::score_functor::OrientedSoap >::DistanceScore const & t0, std::string name) -> _OrientedSoapBase
7649 __init__(IMP::score_functor::DistancePairScore<(IMP::score_functor::OrientedSoap)> self, IMP::score_functor::DistancePairScore< IMP::score_functor::OrientedSoap >::DistanceScore const & t0) -> _OrientedSoapBase
7651 this = _IMP_atom.new__OrientedSoapBase(*args)
7653 self.this.append(this)
7657 def do_get_inputs(self, m, pis):
7658 """do_get_inputs(_OrientedSoapBase self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7659 return _IMP_atom._OrientedSoapBase_do_get_inputs(self, m, pis)
7662 def get_score_functor(self):
7663 """get_score_functor(_OrientedSoapBase self) -> IMP::score_functor::OrientedSoap &"""
7664 return _IMP_atom._OrientedSoapBase_get_score_functor(self)
7667 def get_version_info(self):
7668 """get_version_info(_OrientedSoapBase self) -> VersionInfo"""
7669 return _IMP_atom._OrientedSoapBase_get_version_info(self)
7671 _OrientedSoapBase_swigregister = _IMP_atom._OrientedSoapBase_swigregister
7672 _OrientedSoapBase_swigregister(_OrientedSoapBase)
7675 """Proxy of C++ IMP::score_functor::DistancePairScore<(IMP::score_functor::Statistical<(IMP::atom::ProteinLigandType,true,false)>)> class."""
7677 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7678 __repr__ = _swig_repr
7680 def __init__(self, *args):
7682 __init__(IMP::score_functor::DistancePairScore<(IMP::score_functor::Statistical<(IMP::atom::ProteinLigandType,true,false)>)> self, IMP::score_functor::DistancePairScore< IMP::score_functor::Statistical< IMP::atom::ProteinLigandType,true,false > >::DistanceScore const & t0, std::string name) -> _SPSFTB
7683 __init__(IMP::score_functor::DistancePairScore<(IMP::score_functor::Statistical<(IMP::atom::ProteinLigandType,true,false)>)> self, IMP::score_functor::DistancePairScore< IMP::score_functor::Statistical< IMP::atom::ProteinLigandType,true,false > >::DistanceScore const & t0) -> _SPSFTB
7685 this = _IMP_atom.new__SPSFTB(*args)
7687 self.this.append(this)
7691 def do_get_inputs(self, m, pis):
7692 """do_get_inputs(_SPSFTB self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7693 return _IMP_atom._SPSFTB_do_get_inputs(self, m, pis)
7696 def get_score_functor(self):
7697 """get_score_functor(_SPSFTB self) -> IMP::score_functor::Statistical< IMP::atom::ProteinLigandType,true,false,false > &"""
7698 return _IMP_atom._SPSFTB_get_score_functor(self)
7701 def get_version_info(self):
7702 """get_version_info(_SPSFTB self) -> VersionInfo"""
7703 return _IMP_atom._SPSFTB_get_version_info(self)
7705 _SPSFTB_swigregister = _IMP_atom._SPSFTB_swigregister
7706 _SPSFTB_swigregister(_SPSFTB)
7708 class _SPSTF(_SPSFTB):
7709 """Proxy of C++ IMP::core::StatisticalPairScore<(IMP::atom::ProteinLigandType,true,false)> class."""
7711 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7712 __repr__ = _swig_repr
7714 def __init__(self, *args):
7716 __init__(IMP::core::StatisticalPairScore<(IMP::atom::ProteinLigandType,true,false)> self, IntKey k, double threshold, TextInput data_file) -> _SPSTF
7717 __init__(IMP::core::StatisticalPairScore<(IMP::atom::ProteinLigandType,true,false)> self, IntKey k, double threshold, TextInput data_file, unsigned int shift) -> _SPSTF
7719 this = _IMP_atom.new__SPSTF(*args)
7721 self.this.append(this)
7724 __swig_destroy__ = _IMP_atom.delete__SPSTF
7725 __del__ =
lambda self:
None
7726 _SPSTF_swigregister = _IMP_atom._SPSTF_swigregister
7727 _SPSTF_swigregister(_SPSTF)
7729 class _SPSFT(_BDopeBase):
7730 """Proxy of C++ IMP::core::StatisticalPairScore<(IMP::atom::DopeType,false,true)> class."""
7732 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7733 __repr__ = _swig_repr
7735 def __init__(self, *args):
7737 __init__(IMP::core::StatisticalPairScore<(IMP::atom::DopeType,false,true)> self, IntKey k, double threshold, TextInput data_file) -> _SPSFT
7738 __init__(IMP::core::StatisticalPairScore<(IMP::atom::DopeType,false,true)> self, IntKey k, double threshold, TextInput data_file, unsigned int shift) -> _SPSFT
7740 this = _IMP_atom.new__SPSFT(*args)
7742 self.this.append(this)
7745 __swig_destroy__ = _IMP_atom.delete__SPSFT
7746 __del__ =
lambda self:
None
7747 _SPSFT_swigregister = _IMP_atom._SPSFT_swigregister
7748 _SPSFT_swigregister(_SPSFT)
7750 class ProteinLigandAtomPairScore(_SPSTF):
7751 """Proxy of C++ IMP::atom::ProteinLigandAtomPairScore class."""
7753 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7755 def __init__(self, *args):
7757 __init__(IMP::atom::ProteinLigandAtomPairScore self, double threshold) -> ProteinLigandAtomPairScore
7758 __init__(IMP::atom::ProteinLigandAtomPairScore self) -> ProteinLigandAtomPairScore
7759 __init__(IMP::atom::ProteinLigandAtomPairScore self, double threshold, TextInput data_file) -> ProteinLigandAtomPairScore
7761 this = _IMP_atom.new_ProteinLigandAtomPairScore(*args)
7763 self.this.append(this)
7767 def get_maximum_distance(self):
7768 """get_maximum_distance(ProteinLigandAtomPairScore self) -> double"""
7769 return _IMP_atom.ProteinLigandAtomPairScore_get_maximum_distance(self)
7773 """__str__(ProteinLigandAtomPairScore self) -> std::string"""
7774 return _IMP_atom.ProteinLigandAtomPairScore___str__(self)
7778 """__repr__(ProteinLigandAtomPairScore self) -> std::string"""
7779 return _IMP_atom.ProteinLigandAtomPairScore___repr__(self)
7784 return _object_cast_to_ProteinLigandAtomPairScore(o)
7786 __swig_destroy__ = _IMP_atom.delete_ProteinLigandAtomPairScore
7787 __del__ =
lambda self:
None
7788 ProteinLigandAtomPairScore_swigregister = _IMP_atom.ProteinLigandAtomPairScore_swigregister
7789 ProteinLigandAtomPairScore_swigregister(ProteinLigandAtomPairScore)
7792 """Proxy of C++ IMP::atom::ProteinLigandRestraint class."""
7794 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7796 def __init__(self, *args):
7798 __init__(IMP::atom::ProteinLigandRestraint self, Hierarchy protein, Hierarchy ligand, double threshold) -> ProteinLigandRestraint
7799 __init__(IMP::atom::ProteinLigandRestraint self, Hierarchy protein, Hierarchy ligand) -> ProteinLigandRestraint
7800 __init__(IMP::atom::ProteinLigandRestraint self, Hierarchy protein, Hierarchy ligand, double threshold, TextInput data_file) -> ProteinLigandRestraint
7802 this = _IMP_atom.new_ProteinLigandRestraint(*args)
7804 self.this.append(this)
7809 """__str__(ProteinLigandRestraint self) -> std::string"""
7810 return _IMP_atom.ProteinLigandRestraint___str__(self)
7814 """__repr__(ProteinLigandRestraint self) -> std::string"""
7815 return _IMP_atom.ProteinLigandRestraint___repr__(self)
7820 return _object_cast_to_ProteinLigandRestraint(o)
7822 __swig_destroy__ = _IMP_atom.delete_ProteinLigandRestraint
7823 __del__ =
lambda self:
None
7824 ProteinLigandRestraint_swigregister = _IMP_atom.ProteinLigandRestraint_swigregister
7825 ProteinLigandRestraint_swigregister(ProteinLigandRestraint)
7829 """add_protein_ligand_score_data(Hierarchy h)"""
7830 return _IMP_atom.add_protein_ligand_score_data(h)
7831 class AtomType(IMP._Value):
7832 """Proxy of C++ IMP::Key<(8974343,false)> class."""
7834 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7836 def __init__(self, *args):
7838 __init__(IMP::Key<(8974343,false)> self) -> AtomType
7839 __init__(IMP::Key<(8974343,false)> self, std::string c) -> AtomType
7840 __init__(IMP::Key<(8974343,false)> self, unsigned int i) -> AtomType
7842 this = _IMP_atom.new_AtomType(*args)
7844 self.this.append(this)
7849 """add_key(std::string sc) -> unsigned int"""
7850 return _IMP_atom.AtomType_add_key(sc)
7852 add_key = staticmethod(add_key)
7854 def get_key_exists(sc):
7855 """get_key_exists(std::string sc) -> bool"""
7856 return _IMP_atom.AtomType_get_key_exists(sc)
7858 get_key_exists = staticmethod(get_key_exists)
7860 def get_string(self):
7861 """get_string(AtomType self) -> std::string const"""
7862 return _IMP_atom.AtomType_get_string(self)
7865 def __cmp__(self, o):
7866 """__cmp__(AtomType self, AtomType o) -> int"""
7867 return _IMP_atom.AtomType___cmp__(self, o)
7870 def __eq__(self, o):
7871 """__eq__(AtomType self, AtomType o) -> bool"""
7872 return _IMP_atom.AtomType___eq__(self, o)
7875 def __ne__(self, o):
7876 """__ne__(AtomType self, AtomType o) -> bool"""
7877 return _IMP_atom.AtomType___ne__(self, o)
7880 def __lt__(self, o):
7881 """__lt__(AtomType self, AtomType o) -> bool"""
7882 return _IMP_atom.AtomType___lt__(self, o)
7885 def __gt__(self, o):
7886 """__gt__(AtomType self, AtomType o) -> bool"""
7887 return _IMP_atom.AtomType___gt__(self, o)
7890 def __ge__(self, o):
7891 """__ge__(AtomType self, AtomType o) -> bool"""
7892 return _IMP_atom.AtomType___ge__(self, o)
7895 def __le__(self, o):
7896 """__le__(AtomType self, AtomType o) -> bool"""
7897 return _IMP_atom.AtomType___le__(self, o)
7901 """__hash__(AtomType self) -> std::size_t"""
7902 return _IMP_atom.AtomType___hash__(self)
7905 def show(self, *args):
7907 show(AtomType self, _ostream out)
7910 return _IMP_atom.AtomType_show(self, *args)
7913 def add_alias(old_key, new_name):
7914 """add_alias(AtomType old_key, std::string new_name) -> AtomType"""
7915 return _IMP_atom.AtomType_add_alias(old_key, new_name)
7917 add_alias = staticmethod(add_alias)
7920 """get_index(AtomType self) -> unsigned int"""
7921 return _IMP_atom.AtomType_get_index(self)
7925 """show_all(_ostream out)"""
7926 return _IMP_atom.AtomType_show_all(out)
7928 show_all = staticmethod(show_all)
7930 def get_all_strings():
7931 """get_all_strings() -> IMP::Vector< std::string >"""
7932 return _IMP_atom.AtomType_get_all_strings()
7934 get_all_strings = staticmethod(get_all_strings)
7936 def get_number_unique():
7937 """get_number_unique() -> unsigned int"""
7938 return _IMP_atom.AtomType_get_number_unique()
7940 get_number_unique = staticmethod(get_number_unique)
7943 """__str__(AtomType self) -> std::string"""
7944 return _IMP_atom.AtomType___str__(self)
7948 """__repr__(AtomType self) -> std::string"""
7949 return _IMP_atom.AtomType___repr__(self)
7951 __swig_destroy__ = _IMP_atom.delete_AtomType
7952 __del__ =
lambda self:
None
7953 AtomType_swigregister = _IMP_atom.AtomType_swigregister
7954 AtomType_swigregister(AtomType)
7956 def AtomType_add_key(sc):
7957 """AtomType_add_key(std::string sc) -> unsigned int"""
7958 return _IMP_atom.AtomType_add_key(sc)
7960 def AtomType_get_key_exists(sc):
7961 """AtomType_get_key_exists(std::string sc) -> bool"""
7962 return _IMP_atom.AtomType_get_key_exists(sc)
7964 def AtomType_add_alias(old_key, new_name):
7965 """AtomType_add_alias(AtomType old_key, std::string new_name) -> AtomType"""
7966 return _IMP_atom.AtomType_add_alias(old_key, new_name)
7968 def AtomType_show_all(out):
7969 """AtomType_show_all(_ostream out)"""
7970 return _IMP_atom.AtomType_show_all(out)
7972 def AtomType_get_all_strings():
7973 """AtomType_get_all_strings() -> IMP::Vector< std::string >"""
7974 return _IMP_atom.AtomType_get_all_strings()
7976 def AtomType_get_number_unique():
7977 """AtomType_get_number_unique() -> unsigned int"""
7978 return _IMP_atom.AtomType_get_number_unique()
7980 class ResidueType(IMP._Value):
7981 """Proxy of C++ IMP::Key<(90784334,true)> class."""
7983 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7985 def __init__(self, *args):
7987 __init__(IMP::Key<(90784334,true)> self) -> ResidueType
7988 __init__(IMP::Key<(90784334,true)> self, std::string c) -> ResidueType
7989 __init__(IMP::Key<(90784334,true)> self, unsigned int i) -> ResidueType
7991 this = _IMP_atom.new_ResidueType(*args)
7993 self.this.append(this)
7998 """add_key(std::string sc) -> unsigned int"""
7999 return _IMP_atom.ResidueType_add_key(sc)
8001 add_key = staticmethod(add_key)
8003 def get_key_exists(sc):
8004 """get_key_exists(std::string sc) -> bool"""
8005 return _IMP_atom.ResidueType_get_key_exists(sc)
8007 get_key_exists = staticmethod(get_key_exists)
8009 def get_string(self):
8010 """get_string(ResidueType self) -> std::string const"""
8011 return _IMP_atom.ResidueType_get_string(self)
8014 def __cmp__(self, o):
8015 """__cmp__(ResidueType self, ResidueType o) -> int"""
8016 return _IMP_atom.ResidueType___cmp__(self, o)
8019 def __eq__(self, o):
8020 """__eq__(ResidueType self, ResidueType o) -> bool"""
8021 return _IMP_atom.ResidueType___eq__(self, o)
8024 def __ne__(self, o):
8025 """__ne__(ResidueType self, ResidueType o) -> bool"""
8026 return _IMP_atom.ResidueType___ne__(self, o)
8029 def __lt__(self, o):
8030 """__lt__(ResidueType self, ResidueType o) -> bool"""
8031 return _IMP_atom.ResidueType___lt__(self, o)
8034 def __gt__(self, o):
8035 """__gt__(ResidueType self, ResidueType o) -> bool"""
8036 return _IMP_atom.ResidueType___gt__(self, o)
8039 def __ge__(self, o):
8040 """__ge__(ResidueType self, ResidueType o) -> bool"""
8041 return _IMP_atom.ResidueType___ge__(self, o)
8044 def __le__(self, o):
8045 """__le__(ResidueType self, ResidueType o) -> bool"""
8046 return _IMP_atom.ResidueType___le__(self, o)
8050 """__hash__(ResidueType self) -> std::size_t"""
8051 return _IMP_atom.ResidueType___hash__(self)
8054 def show(self, *args):
8056 show(ResidueType self, _ostream out)
8057 show(ResidueType self)
8059 return _IMP_atom.ResidueType_show(self, *args)
8062 def add_alias(old_key, new_name):
8063 """add_alias(ResidueType old_key, std::string new_name) -> ResidueType"""
8064 return _IMP_atom.ResidueType_add_alias(old_key, new_name)
8066 add_alias = staticmethod(add_alias)
8069 """get_index(ResidueType self) -> unsigned int"""
8070 return _IMP_atom.ResidueType_get_index(self)
8074 """show_all(_ostream out)"""
8075 return _IMP_atom.ResidueType_show_all(out)
8077 show_all = staticmethod(show_all)
8079 def get_all_strings():
8080 """get_all_strings() -> IMP::Vector< std::string >"""
8081 return _IMP_atom.ResidueType_get_all_strings()
8083 get_all_strings = staticmethod(get_all_strings)
8085 def get_number_unique():
8086 """get_number_unique() -> unsigned int"""
8087 return _IMP_atom.ResidueType_get_number_unique()
8089 get_number_unique = staticmethod(get_number_unique)
8092 """__str__(ResidueType self) -> std::string"""
8093 return _IMP_atom.ResidueType___str__(self)
8097 """__repr__(ResidueType self) -> std::string"""
8098 return _IMP_atom.ResidueType___repr__(self)
8100 __swig_destroy__ = _IMP_atom.delete_ResidueType
8101 __del__ =
lambda self:
None
8102 ResidueType_swigregister = _IMP_atom.ResidueType_swigregister
8103 ResidueType_swigregister(ResidueType)
8105 def ResidueType_add_key(sc):
8106 """ResidueType_add_key(std::string sc) -> unsigned int"""
8107 return _IMP_atom.ResidueType_add_key(sc)
8109 def ResidueType_get_key_exists(sc):
8110 """ResidueType_get_key_exists(std::string sc) -> bool"""
8111 return _IMP_atom.ResidueType_get_key_exists(sc)
8113 def ResidueType_add_alias(old_key, new_name):
8114 """ResidueType_add_alias(ResidueType old_key, std::string new_name) -> ResidueType"""
8115 return _IMP_atom.ResidueType_add_alias(old_key, new_name)
8117 def ResidueType_show_all(out):
8118 """ResidueType_show_all(_ostream out)"""
8119 return _IMP_atom.ResidueType_show_all(out)
8121 def ResidueType_get_all_strings():
8122 """ResidueType_get_all_strings() -> IMP::Vector< std::string >"""
8123 return _IMP_atom.ResidueType_get_all_strings()
8125 def ResidueType_get_number_unique():
8126 """ResidueType_get_number_unique() -> unsigned int"""
8127 return _IMP_atom.ResidueType_get_number_unique()
8130 _IMP_atom.UNKNOWN_ELEMENT_swigconstant(_IMP_atom)
8131 UNKNOWN_ELEMENT = _IMP_atom.UNKNOWN_ELEMENT
8133 _IMP_atom.OH_swigconstant(_IMP_atom)
8136 _IMP_atom.H2O_swigconstant(_IMP_atom)
8139 _IMP_atom.H_swigconstant(_IMP_atom)
8142 _IMP_atom.He_swigconstant(_IMP_atom)
8145 _IMP_atom.Li_swigconstant(_IMP_atom)
8148 _IMP_atom.Be_swigconstant(_IMP_atom)
8151 _IMP_atom.B_swigconstant(_IMP_atom)
8154 _IMP_atom.C_swigconstant(_IMP_atom)
8157 _IMP_atom.N_swigconstant(_IMP_atom)
8160 _IMP_atom.O_swigconstant(_IMP_atom)
8163 _IMP_atom.F_swigconstant(_IMP_atom)
8166 _IMP_atom.Ne_swigconstant(_IMP_atom)
8169 _IMP_atom.Na_swigconstant(_IMP_atom)
8172 _IMP_atom.Mg_swigconstant(_IMP_atom)
8175 _IMP_atom.Al_swigconstant(_IMP_atom)
8178 _IMP_atom.Si_swigconstant(_IMP_atom)
8181 _IMP_atom.P_swigconstant(_IMP_atom)
8184 _IMP_atom.S_swigconstant(_IMP_atom)
8187 _IMP_atom.Cl_swigconstant(_IMP_atom)
8190 _IMP_atom.Ar_swigconstant(_IMP_atom)
8193 _IMP_atom.K_swigconstant(_IMP_atom)
8196 _IMP_atom.Ca_swigconstant(_IMP_atom)
8199 _IMP_atom.Sc_swigconstant(_IMP_atom)
8202 _IMP_atom.Ti_swigconstant(_IMP_atom)
8205 _IMP_atom.V_swigconstant(_IMP_atom)
8208 _IMP_atom.Cr_swigconstant(_IMP_atom)
8211 _IMP_atom.Mn_swigconstant(_IMP_atom)
8214 _IMP_atom.Fe_swigconstant(_IMP_atom)
8217 _IMP_atom.Co_swigconstant(_IMP_atom)
8220 _IMP_atom.Ni_swigconstant(_IMP_atom)
8223 _IMP_atom.Cu_swigconstant(_IMP_atom)
8226 _IMP_atom.Zn_swigconstant(_IMP_atom)
8229 _IMP_atom.Ga_swigconstant(_IMP_atom)
8232 _IMP_atom.Ge_swigconstant(_IMP_atom)
8235 _IMP_atom.As_swigconstant(_IMP_atom)
8238 _IMP_atom.Se_swigconstant(_IMP_atom)
8241 _IMP_atom.Br_swigconstant(_IMP_atom)
8244 _IMP_atom.Kr_swigconstant(_IMP_atom)
8247 _IMP_atom.Rb_swigconstant(_IMP_atom)
8250 _IMP_atom.Sr_swigconstant(_IMP_atom)
8253 _IMP_atom.Y_swigconstant(_IMP_atom)
8256 _IMP_atom.Zr_swigconstant(_IMP_atom)
8259 _IMP_atom.Nb_swigconstant(_IMP_atom)
8262 _IMP_atom.Mo_swigconstant(_IMP_atom)
8265 _IMP_atom.Tc_swigconstant(_IMP_atom)
8268 _IMP_atom.Ru_swigconstant(_IMP_atom)
8271 _IMP_atom.Rh_swigconstant(_IMP_atom)
8274 _IMP_atom.Pd_swigconstant(_IMP_atom)
8277 _IMP_atom.Ag_swigconstant(_IMP_atom)
8280 _IMP_atom.Cd_swigconstant(_IMP_atom)
8283 _IMP_atom.In_swigconstant(_IMP_atom)
8286 _IMP_atom.Sn_swigconstant(_IMP_atom)
8289 _IMP_atom.Sb_swigconstant(_IMP_atom)
8292 _IMP_atom.Te_swigconstant(_IMP_atom)
8295 _IMP_atom.I_swigconstant(_IMP_atom)
8298 _IMP_atom.Xe_swigconstant(_IMP_atom)
8301 _IMP_atom.Cs_swigconstant(_IMP_atom)
8304 _IMP_atom.Ba_swigconstant(_IMP_atom)
8307 _IMP_atom.La_swigconstant(_IMP_atom)
8310 _IMP_atom.Ce_swigconstant(_IMP_atom)
8313 _IMP_atom.Pr_swigconstant(_IMP_atom)
8316 _IMP_atom.Nd_swigconstant(_IMP_atom)
8319 _IMP_atom.Pm_swigconstant(_IMP_atom)
8322 _IMP_atom.Sm_swigconstant(_IMP_atom)
8325 _IMP_atom.Eu_swigconstant(_IMP_atom)
8328 _IMP_atom.Gd_swigconstant(_IMP_atom)
8331 _IMP_atom.Tb_swigconstant(_IMP_atom)
8334 _IMP_atom.Dy_swigconstant(_IMP_atom)
8337 _IMP_atom.Ho_swigconstant(_IMP_atom)
8340 _IMP_atom.Er_swigconstant(_IMP_atom)
8343 _IMP_atom.Tm_swigconstant(_IMP_atom)
8346 _IMP_atom.Yb_swigconstant(_IMP_atom)
8349 _IMP_atom.Lu_swigconstant(_IMP_atom)
8352 _IMP_atom.Hf_swigconstant(_IMP_atom)
8355 _IMP_atom.Ta_swigconstant(_IMP_atom)
8358 _IMP_atom.W_swigconstant(_IMP_atom)
8361 _IMP_atom.Re_swigconstant(_IMP_atom)
8364 _IMP_atom.Os_swigconstant(_IMP_atom)
8367 _IMP_atom.Ir_swigconstant(_IMP_atom)
8370 _IMP_atom.Pt_swigconstant(_IMP_atom)
8373 _IMP_atom.Au_swigconstant(_IMP_atom)
8376 _IMP_atom.Hg_swigconstant(_IMP_atom)
8379 _IMP_atom.Tl_swigconstant(_IMP_atom)
8382 _IMP_atom.Pb_swigconstant(_IMP_atom)
8385 _IMP_atom.Bi_swigconstant(_IMP_atom)
8388 _IMP_atom.Po_swigconstant(_IMP_atom)
8391 _IMP_atom.At_swigconstant(_IMP_atom)
8394 _IMP_atom.Rn_swigconstant(_IMP_atom)
8397 _IMP_atom.Fr_swigconstant(_IMP_atom)
8400 _IMP_atom.Ra_swigconstant(_IMP_atom)
8403 _IMP_atom.Ac_swigconstant(_IMP_atom)
8406 _IMP_atom.Th_swigconstant(_IMP_atom)
8409 _IMP_atom.Pa_swigconstant(_IMP_atom)
8412 _IMP_atom.U_swigconstant(_IMP_atom)
8415 _IMP_atom.Np_swigconstant(_IMP_atom)
8418 _IMP_atom.Pu_swigconstant(_IMP_atom)
8421 _IMP_atom.Am_swigconstant(_IMP_atom)
8424 _IMP_atom.Cm_swigconstant(_IMP_atom)
8427 _IMP_atom.Bk_swigconstant(_IMP_atom)
8430 _IMP_atom.Cf_swigconstant(_IMP_atom)
8433 _IMP_atom.Es_swigconstant(_IMP_atom)
8436 _IMP_atom.Fm_swigconstant(_IMP_atom)
8439 _IMP_atom.Md_swigconstant(_IMP_atom)
8442 _IMP_atom.No_swigconstant(_IMP_atom)
8445 _IMP_atom.Lr_swigconstant(_IMP_atom)
8448 _IMP_atom.Db_swigconstant(_IMP_atom)
8451 _IMP_atom.Jl_swigconstant(_IMP_atom)
8454 _IMP_atom.Rf_swigconstant(_IMP_atom)
8457 _IMP_atom.NUMBER_OF_ELEMENTS_swigconstant(_IMP_atom)
8458 NUMBER_OF_ELEMENTS = _IMP_atom.NUMBER_OF_ELEMENTS
8461 """hash_value(IMP::atom::Element e) -> size_t"""
8462 return _IMP_atom.hash_value(e)
8463 class ElementTable(object):
8464 """Proxy of C++ IMP::atom::ElementTable class."""
8466 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8467 __repr__ = _swig_repr
8470 """__init__(IMP::atom::ElementTable self) -> ElementTable"""
8471 this = _IMP_atom.new_ElementTable()
8473 self.this.append(this)
8477 def get_element(self, s):
8478 """get_element(ElementTable self, std::string const & s) -> IMP::atom::Element"""
8479 return _IMP_atom.ElementTable_get_element(self, s)
8482 def get_name(self, e):
8483 """get_name(ElementTable self, IMP::atom::Element e) -> std::string"""
8484 return _IMP_atom.ElementTable_get_name(self, e)
8488 """get_mass(ElementTable self, IMP::atom::Element e) -> IMP::Float"""
8489 return _IMP_atom.ElementTable_get_mass(self, e)
8491 __swig_destroy__ = _IMP_atom.delete_ElementTable
8492 __del__ =
lambda self:
None
8493 ElementTable_swigregister = _IMP_atom.ElementTable_swigregister
8494 ElementTable_swigregister(ElementTable)
8497 def get_element_table():
8498 """get_element_table() -> ElementTable"""
8499 return _IMP_atom.get_element_table()
8500 class Atom(Hierarchy):
8501 """Proxy of C++ IMP::atom::Atom class."""
8503 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8505 def __init__(self, *args):
8507 __init__(IMP::atom::Atom self) -> Atom
8508 __init__(IMP::atom::Atom self, Model m, ParticleIndex id) -> Atom
8509 __init__(IMP::atom::Atom self, _ParticleAdaptor d) -> Atom
8511 this = _IMP_atom.new_Atom(*args)
8513 self.this.append(this)
8517 def show(self, *args):
8519 show(Atom self, _ostream out)
8522 return _IMP_atom.Atom_show(self, *args)
8525 def setup_particle(*args):
8527 setup_particle(Model m, ParticleIndex pi, Atom other) -> Atom
8528 setup_particle(_ParticleAdaptor decorator, Atom other) -> Atom
8529 setup_particle(Model m, ParticleIndex pi, AtomType atom_type) -> Atom
8530 setup_particle(_ParticleAdaptor decorator, AtomType atom_type) -> Atom
8532 return _IMP_atom.Atom_setup_particle(*args)
8534 setup_particle = staticmethod(setup_particle)
8536 def get_is_setup(*args):
8538 get_is_setup(_ParticleAdaptor p) -> bool
8539 get_is_setup(Model m, ParticleIndex pi) -> bool
8541 return _IMP_atom.Atom_get_is_setup(*args)
8543 get_is_setup = staticmethod(get_is_setup)
8545 def get_atom_type(self):
8546 """get_atom_type(Atom self) -> AtomType"""
8547 return _IMP_atom.Atom_get_atom_type(self)
8550 def set_atom_type(self, t):
8551 """set_atom_type(Atom self, AtomType t)"""
8552 return _IMP_atom.Atom_set_atom_type(self, t)
8555 def get_element(self):
8556 """get_element(Atom self) -> IMP::atom::Element"""
8557 return _IMP_atom.Atom_get_element(self)
8560 def set_element(self, e):
8561 """set_element(Atom self, IMP::atom::Element e)"""
8562 return _IMP_atom.Atom_set_element(self, e)
8565 def get_occupancy(self):
8566 """get_occupancy(Atom self) -> double"""
8567 return _IMP_atom.Atom_get_occupancy(self)
8570 def set_occupancy(self, occupancy):
8571 """set_occupancy(Atom self, double occupancy)"""
8572 return _IMP_atom.Atom_set_occupancy(self, occupancy)
8575 def get_temperature_factor(self):
8576 """get_temperature_factor(Atom self) -> double"""
8577 return _IMP_atom.Atom_get_temperature_factor(self)
8580 def set_temperature_factor(self, tempFactor):
8581 """set_temperature_factor(Atom self, double tempFactor)"""
8582 return _IMP_atom.Atom_set_temperature_factor(self, tempFactor)
8585 def get_input_index(self):
8586 """get_input_index(Atom self) -> IMP::Int"""
8587 return _IMP_atom.Atom_get_input_index(self)
8590 def set_input_index(self, t):
8591 """set_input_index(Atom self, IMP::Int t)"""
8592 return _IMP_atom.Atom_set_input_index(self, t)
8595 def get_atom_type_key():
8596 """get_atom_type_key() -> IntKey"""
8597 return _IMP_atom.Atom_get_atom_type_key()
8599 get_atom_type_key = staticmethod(get_atom_type_key)
8601 def get_element_key():
8602 """get_element_key() -> IntKey"""
8603 return _IMP_atom.Atom_get_element_key()
8605 get_element_key = staticmethod(get_element_key)
8607 def get_input_index_key():
8608 """get_input_index_key() -> IntKey"""
8609 return _IMP_atom.Atom_get_input_index_key()
8611 get_input_index_key = staticmethod(get_input_index_key)
8613 def get_occupancy_key():
8614 """get_occupancy_key() -> FloatKey"""
8615 return _IMP_atom.Atom_get_occupancy_key()
8617 get_occupancy_key = staticmethod(get_occupancy_key)
8619 def get_temperature_factor_key():
8620 """get_temperature_factor_key() -> FloatKey"""
8621 return _IMP_atom.Atom_get_temperature_factor_key()
8623 get_temperature_factor_key = staticmethod(get_temperature_factor_key)
8625 def add_attribute(self, *args):
8627 add_attribute(Atom self, FloatKey k, IMP::Float v, bool opt)
8628 add_attribute(Atom self, FloatKey a0, IMP::Float a1)
8629 add_attribute(Atom self, IntKey a0, IMP::Int a1)
8630 add_attribute(Atom self, StringKey a0, IMP::String a1)
8631 add_attribute(Atom self, ParticleIndexKey a0, Particle a1)
8632 add_attribute(Atom self, ObjectKey a0, Object a1)
8634 return _IMP_atom.Atom_add_attribute(self, *args)
8637 def get_value(self, *args):
8639 get_value(Atom self, FloatKey a0) -> IMP::Float
8640 get_value(Atom self, IntKey a0) -> IMP::Int
8641 get_value(Atom self, StringKey a0) -> IMP::String
8642 get_value(Atom self, ParticleIndexKey a0) -> Particle
8643 get_value(Atom self, ObjectKey a0) -> Object
8645 return _IMP_atom.Atom_get_value(self, *args)
8648 def set_value(self, *args):
8650 set_value(Atom self, FloatKey a0, IMP::Float a1)
8651 set_value(Atom self, IntKey a0, IMP::Int a1)
8652 set_value(Atom self, StringKey a0, IMP::String a1)
8653 set_value(Atom self, ParticleIndexKey a0, Particle a1)
8654 set_value(Atom self, ObjectKey a0, Object a1)
8656 return _IMP_atom.Atom_set_value(self, *args)
8659 def remove_attribute(self, *args):
8661 remove_attribute(Atom self, FloatKey a0)
8662 remove_attribute(Atom self, IntKey a0)
8663 remove_attribute(Atom self, StringKey a0)
8664 remove_attribute(Atom self, ParticleIndexKey a0)
8665 remove_attribute(Atom self, ObjectKey a0)
8667 return _IMP_atom.Atom_remove_attribute(self, *args)
8670 def has_attribute(self, *args):
8672 has_attribute(Atom self, FloatKey a0) -> bool
8673 has_attribute(Atom self, IntKey a0) -> bool
8674 has_attribute(Atom self, StringKey a0) -> bool
8675 has_attribute(Atom self, ParticleIndexKey a0) -> bool
8676 has_attribute(Atom self, ObjectKey a0) -> bool
8678 return _IMP_atom.Atom_has_attribute(self, *args)
8681 def get_derivative(self, a0):
8682 """get_derivative(Atom self, FloatKey a0) -> double"""
8683 return _IMP_atom.Atom_get_derivative(self, a0)
8687 """get_name(Atom self) -> std::string"""
8688 return _IMP_atom.Atom_get_name(self)
8691 def clear_caches(self):
8692 """clear_caches(Atom self)"""
8693 return _IMP_atom.Atom_clear_caches(self)
8696 def set_name(self, a0):
8697 """set_name(Atom self, std::string a0)"""
8698 return _IMP_atom.Atom_set_name(self, a0)
8702 """set_check_level(Atom self, IMP::CheckLevel a0)"""
8703 return _IMP_atom.Atom_set_check_level(self, a0)
8706 def add_to_derivative(self, a0, a1, a2):
8707 """add_to_derivative(Atom self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
8708 return _IMP_atom.Atom_add_to_derivative(self, a0, a1, a2)
8711 def set_is_optimized(self, a0, a1):
8712 """set_is_optimized(Atom self, FloatKey a0, bool a1)"""
8713 return _IMP_atom.Atom_set_is_optimized(self, a0, a1)
8716 def get_is_optimized(self, a0):
8717 """get_is_optimized(Atom self, FloatKey a0) -> bool"""
8718 return _IMP_atom.Atom_get_is_optimized(self, a0)
8722 """get_check_level(Atom self) -> IMP::CheckLevel"""
8723 return _IMP_atom.Atom_get_check_level(self)
8726 def __eq__(self, *args):
8728 __eq__(Atom self, Atom o) -> bool
8729 __eq__(Atom self, Particle d) -> bool
8731 return _IMP_atom.Atom___eq__(self, *args)
8734 def __ne__(self, *args):
8736 __ne__(Atom self, Atom o) -> bool
8737 __ne__(Atom self, Particle d) -> bool
8739 return _IMP_atom.Atom___ne__(self, *args)
8742 def __le__(self, *args):
8744 __le__(Atom self, Atom o) -> bool
8745 __le__(Atom self, Particle d) -> bool
8747 return _IMP_atom.Atom___le__(self, *args)
8750 def __lt__(self, *args):
8752 __lt__(Atom self, Atom o) -> bool
8753 __lt__(Atom self, Particle d) -> bool
8755 return _IMP_atom.Atom___lt__(self, *args)
8758 def __ge__(self, *args):
8760 __ge__(Atom self, Atom o) -> bool
8761 __ge__(Atom self, Particle d) -> bool
8763 return _IMP_atom.Atom___ge__(self, *args)
8766 def __gt__(self, *args):
8768 __gt__(Atom self, Atom o) -> bool
8769 __gt__(Atom self, Particle d) -> bool
8771 return _IMP_atom.Atom___gt__(self, *args)
8775 """__hash__(Atom self) -> std::size_t"""
8776 return _IMP_atom.Atom___hash__(self)
8780 """__str__(Atom self) -> std::string"""
8781 return _IMP_atom.Atom___str__(self)
8785 """__repr__(Atom self) -> std::string"""
8786 return _IMP_atom.Atom___repr__(self)
8788 __swig_destroy__ = _IMP_atom.delete_Atom
8789 __del__ =
lambda self:
None
8790 Atom_swigregister = _IMP_atom.Atom_swigregister
8791 Atom_swigregister(Atom)
8792 cvar = _IMP_atom.cvar
8793 AT_UNKNOWN = cvar.AT_UNKNOWN
8803 AT_HA1 = cvar.AT_HA1
8804 AT_HA2 = cvar.AT_HA2
8805 AT_HA3 = cvar.AT_HA3
8808 AT_HB1 = cvar.AT_HB1
8809 AT_HB2 = cvar.AT_HB2
8810 AT_HB3 = cvar.AT_HB3
8811 AT_OXT = cvar.AT_OXT
8812 AT_CH3 = cvar.AT_CH3
8815 AT_CG1 = cvar.AT_CG1
8816 AT_CG2 = cvar.AT_CG2
8818 AT_HG1 = cvar.AT_HG1
8819 AT_HG2 = cvar.AT_HG2
8820 AT_HG3 = cvar.AT_HG3
8821 AT_HG11 = cvar.AT_HG11
8822 AT_HG21 = cvar.AT_HG21
8823 AT_HG31 = cvar.AT_HG31
8824 AT_HG12 = cvar.AT_HG12
8825 AT_HG13 = cvar.AT_HG13
8826 AT_HG22 = cvar.AT_HG22
8827 AT_HG23 = cvar.AT_HG23
8828 AT_HG32 = cvar.AT_HG32
8830 AT_OG1 = cvar.AT_OG1
8833 AT_CD1 = cvar.AT_CD1
8834 AT_CD2 = cvar.AT_CD2
8836 AT_HD1 = cvar.AT_HD1
8837 AT_HD2 = cvar.AT_HD2
8838 AT_HD3 = cvar.AT_HD3
8839 AT_HD11 = cvar.AT_HD11
8840 AT_HD21 = cvar.AT_HD21
8841 AT_HD31 = cvar.AT_HD31
8842 AT_HD12 = cvar.AT_HD12
8843 AT_HD13 = cvar.AT_HD13
8844 AT_HD22 = cvar.AT_HD22
8845 AT_HD23 = cvar.AT_HD23
8846 AT_HD32 = cvar.AT_HD32
8848 AT_OD1 = cvar.AT_OD1
8849 AT_OD2 = cvar.AT_OD2
8850 AT_ND1 = cvar.AT_ND1
8851 AT_ND2 = cvar.AT_ND2
8853 AT_CE1 = cvar.AT_CE1
8854 AT_CE2 = cvar.AT_CE2
8855 AT_CE3 = cvar.AT_CE3
8857 AT_HE1 = cvar.AT_HE1
8858 AT_HE2 = cvar.AT_HE2
8859 AT_HE3 = cvar.AT_HE3
8860 AT_HE21 = cvar.AT_HE21
8861 AT_HE22 = cvar.AT_HE22
8862 AT_OE1 = cvar.AT_OE1
8863 AT_OE2 = cvar.AT_OE2
8865 AT_NE1 = cvar.AT_NE1
8866 AT_NE2 = cvar.AT_NE2
8868 AT_CZ2 = cvar.AT_CZ2
8869 AT_CZ3 = cvar.AT_CZ3
8872 AT_HZ1 = cvar.AT_HZ1
8873 AT_HZ2 = cvar.AT_HZ2
8874 AT_HZ3 = cvar.AT_HZ3
8875 AT_CH2 = cvar.AT_CH2
8876 AT_NH1 = cvar.AT_NH1
8877 AT_NH2 = cvar.AT_NH2
8880 AT_HH11 = cvar.AT_HH11
8881 AT_HH21 = cvar.AT_HH21
8882 AT_HH2 = cvar.AT_HH2
8883 AT_HH12 = cvar.AT_HH12
8884 AT_HH22 = cvar.AT_HH22
8885 AT_HH13 = cvar.AT_HH13
8886 AT_HH23 = cvar.AT_HH23
8887 AT_HH33 = cvar.AT_HH33
8889 AT_OP1 = cvar.AT_OP1
8890 AT_OP2 = cvar.AT_OP2
8891 AT_OP3 = cvar.AT_OP3
8892 AT_O5p = cvar.AT_O5p
8893 AT_C5p = cvar.AT_C5p
8894 AT_H5p = cvar.AT_H5p
8895 AT_H5pp = cvar.AT_H5pp
8896 AT_C4p = cvar.AT_C4p
8897 AT_H4p = cvar.AT_H4p
8898 AT_O4p = cvar.AT_O4p
8899 AT_C1p = cvar.AT_C1p
8900 AT_H1p = cvar.AT_H1p
8901 AT_C3p = cvar.AT_C3p
8902 AT_H3p = cvar.AT_H3p
8903 AT_O3p = cvar.AT_O3p
8904 AT_C2p = cvar.AT_C2p
8905 AT_H2p = cvar.AT_H2p
8906 AT_H2pp = cvar.AT_H2pp
8907 AT_O2p = cvar.AT_O2p
8908 AT_HO2p = cvar.AT_HO2p
8920 AT_H61 = cvar.AT_H61
8921 AT_H62 = cvar.AT_H62
8925 AT_H21 = cvar.AT_H21
8926 AT_H22 = cvar.AT_H22
8931 AT_H41 = cvar.AT_H41
8932 AT_H42 = cvar.AT_H42
8935 AT_H71 = cvar.AT_H71
8936 AT_H72 = cvar.AT_H72
8937 AT_H73 = cvar.AT_H73
8938 AT_O1A = cvar.AT_O1A
8939 AT_O2A = cvar.AT_O2A
8940 AT_O3A = cvar.AT_O3A
8941 AT_O1B = cvar.AT_O1B
8942 AT_O2B = cvar.AT_O2B
8943 AT_O3B = cvar.AT_O3B
8945 def Atom_setup_particle(*args):
8947 setup_particle(Model m, ParticleIndex pi, Atom other) -> Atom
8948 setup_particle(_ParticleAdaptor decorator, Atom other) -> Atom
8949 setup_particle(Model m, ParticleIndex pi, AtomType atom_type) -> Atom
8950 Atom_setup_particle(_ParticleAdaptor decorator, AtomType atom_type) -> Atom
8952 return _IMP_atom.Atom_setup_particle(*args)
8954 def Atom_get_is_setup(*args):
8956 get_is_setup(_ParticleAdaptor p) -> bool
8957 Atom_get_is_setup(Model m, ParticleIndex pi) -> bool
8959 return _IMP_atom.Atom_get_is_setup(*args)
8961 def Atom_get_atom_type_key():
8962 """Atom_get_atom_type_key() -> IntKey"""
8963 return _IMP_atom.Atom_get_atom_type_key()
8965 def Atom_get_element_key():
8966 """Atom_get_element_key() -> IntKey"""
8967 return _IMP_atom.Atom_get_element_key()
8969 def Atom_get_input_index_key():
8970 """Atom_get_input_index_key() -> IntKey"""
8971 return _IMP_atom.Atom_get_input_index_key()
8973 def Atom_get_occupancy_key():
8974 """Atom_get_occupancy_key() -> FloatKey"""
8975 return _IMP_atom.Atom_get_occupancy_key()
8977 def Atom_get_temperature_factor_key():
8978 """Atom_get_temperature_factor_key() -> FloatKey"""
8979 return _IMP_atom.Atom_get_temperature_factor_key()
8984 get_residue(Hierarchy mhd, unsigned int index) -> Hierarchy
8985 get_residue(Atom d, bool nothrow=False) -> Residue
8986 get_residue(Atom d) -> Residue
8988 return _IMP_atom.get_residue(*args)
8991 """get_atom(Residue rd, AtomType at) -> Atom"""
8992 return _IMP_atom.get_atom(rd, at)
8995 """add_atom_type(std::string name, IMP::atom::Element e) -> AtomType"""
8996 return _IMP_atom.add_atom_type(name, e)
8998 def get_element_for_atom_type(at):
8999 """get_element_for_atom_type(AtomType at) -> IMP::atom::Element"""
9000 return _IMP_atom.get_element_for_atom_type(at)
9003 """get_atom_type_exists(std::string name) -> bool"""
9004 return _IMP_atom.get_atom_type_exists(name)
9005 class Residue(Hierarchy):
9006 """Proxy of C++ IMP::atom::Residue class."""
9008 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9010 def __init__(self, *args):
9012 __init__(IMP::atom::Residue self) -> Residue
9013 __init__(IMP::atom::Residue self, Model m, ParticleIndex id) -> Residue
9014 __init__(IMP::atom::Residue self, _ParticleAdaptor d) -> Residue
9016 this = _IMP_atom.new_Residue(*args)
9018 self.this.append(this)
9022 def show(self, *args):
9024 show(Residue self, _ostream out)
9027 return _IMP_atom.Residue_show(self, *args)
9030 def setup_particle(*args):
9032 setup_particle(Model m, ParticleIndex pi, ResidueType t, int index, int insertion_code) -> Residue
9033 setup_particle(_ParticleAdaptor decorator, ResidueType t, int index, int insertion_code) -> Residue
9034 setup_particle(Model m, ParticleIndex pi, ResidueType t, int index) -> Residue
9035 setup_particle(_ParticleAdaptor decorator, ResidueType t, int index) -> Residue
9036 setup_particle(Model m, ParticleIndex pi, ResidueType t) -> Residue
9037 setup_particle(_ParticleAdaptor decorator, ResidueType t) -> Residue
9038 setup_particle(Model m, ParticleIndex pi, Residue other) -> Residue
9039 setup_particle(_ParticleAdaptor decorator, Residue other) -> Residue
9041 return _IMP_atom.Residue_setup_particle(*args)
9043 setup_particle = staticmethod(setup_particle)
9045 def get_is_setup(*args):
9047 get_is_setup(_ParticleAdaptor p) -> bool
9048 get_is_setup(Model m, ParticleIndex pi) -> bool
9050 return _IMP_atom.Residue_get_is_setup(*args)
9052 get_is_setup = staticmethod(get_is_setup)
9054 def get_residue_type(self):
9055 """get_residue_type(Residue self) -> ResidueType"""
9056 return _IMP_atom.Residue_get_residue_type(self)
9059 def set_residue_type(self, t):
9060 """set_residue_type(Residue self, ResidueType t)"""
9061 return _IMP_atom.Residue_set_residue_type(self, t)
9064 def get_is_protein(self):
9065 """get_is_protein(Residue self) -> bool"""
9066 return _IMP_atom.Residue_get_is_protein(self)
9069 def get_is_dna(self):
9070 """get_is_dna(Residue self) -> bool"""
9071 return _IMP_atom.Residue_get_is_dna(self)
9074 def get_is_rna(self):
9075 """get_is_rna(Residue self) -> bool"""
9076 return _IMP_atom.Residue_get_is_rna(self)
9080 """get_index(Residue self) -> IMP::Int"""
9081 return _IMP_atom.Residue_get_index(self)
9084 def set_index(self, t):
9085 """set_index(Residue self, IMP::Int t)"""
9086 return _IMP_atom.Residue_set_index(self, t)
9089 def get_insertion_code(self):
9090 """get_insertion_code(Residue self) -> char"""
9091 return _IMP_atom.Residue_get_insertion_code(self)
9094 def set_insertion_code(self, insertion_code):
9095 """set_insertion_code(Residue self, char insertion_code)"""
9096 return _IMP_atom.Residue_set_insertion_code(self, insertion_code)
9099 def get_index_key():
9100 """get_index_key() -> IntKey"""
9101 return _IMP_atom.Residue_get_index_key()
9103 get_index_key = staticmethod(get_index_key)
9105 def get_residue_type_key():
9106 """get_residue_type_key() -> IntKey"""
9107 return _IMP_atom.Residue_get_residue_type_key()
9109 get_residue_type_key = staticmethod(get_residue_type_key)
9111 def get_insertion_code_key():
9112 """get_insertion_code_key() -> IntKey"""
9113 return _IMP_atom.Residue_get_insertion_code_key()
9115 get_insertion_code_key = staticmethod(get_insertion_code_key)
9117 def add_attribute(self, *args):
9119 add_attribute(Residue self, FloatKey k, IMP::Float v, bool opt)
9120 add_attribute(Residue self, FloatKey a0, IMP::Float a1)
9121 add_attribute(Residue self, IntKey a0, IMP::Int a1)
9122 add_attribute(Residue self, StringKey a0, IMP::String a1)
9123 add_attribute(Residue self, ParticleIndexKey a0, Particle a1)
9124 add_attribute(Residue self, ObjectKey a0, Object a1)
9126 return _IMP_atom.Residue_add_attribute(self, *args)
9129 def get_value(self, *args):
9131 get_value(Residue self, FloatKey a0) -> IMP::Float
9132 get_value(Residue self, IntKey a0) -> IMP::Int
9133 get_value(Residue self, StringKey a0) -> IMP::String
9134 get_value(Residue self, ParticleIndexKey a0) -> Particle
9135 get_value(Residue self, ObjectKey a0) -> Object
9137 return _IMP_atom.Residue_get_value(self, *args)
9140 def set_value(self, *args):
9142 set_value(Residue self, FloatKey a0, IMP::Float a1)
9143 set_value(Residue self, IntKey a0, IMP::Int a1)
9144 set_value(Residue self, StringKey a0, IMP::String a1)
9145 set_value(Residue self, ParticleIndexKey a0, Particle a1)
9146 set_value(Residue self, ObjectKey a0, Object a1)
9148 return _IMP_atom.Residue_set_value(self, *args)
9151 def remove_attribute(self, *args):
9153 remove_attribute(Residue self, FloatKey a0)
9154 remove_attribute(Residue self, IntKey a0)
9155 remove_attribute(Residue self, StringKey a0)
9156 remove_attribute(Residue self, ParticleIndexKey a0)
9157 remove_attribute(Residue self, ObjectKey a0)
9159 return _IMP_atom.Residue_remove_attribute(self, *args)
9162 def has_attribute(self, *args):
9164 has_attribute(Residue self, FloatKey a0) -> bool
9165 has_attribute(Residue self, IntKey a0) -> bool
9166 has_attribute(Residue self, StringKey a0) -> bool
9167 has_attribute(Residue self, ParticleIndexKey a0) -> bool
9168 has_attribute(Residue self, ObjectKey a0) -> bool
9170 return _IMP_atom.Residue_has_attribute(self, *args)
9173 def get_derivative(self, a0):
9174 """get_derivative(Residue self, FloatKey a0) -> double"""
9175 return _IMP_atom.Residue_get_derivative(self, a0)
9179 """get_name(Residue self) -> std::string"""
9180 return _IMP_atom.Residue_get_name(self)
9183 def clear_caches(self):
9184 """clear_caches(Residue self)"""
9185 return _IMP_atom.Residue_clear_caches(self)
9188 def set_name(self, a0):
9189 """set_name(Residue self, std::string a0)"""
9190 return _IMP_atom.Residue_set_name(self, a0)
9194 """set_check_level(Residue self, IMP::CheckLevel a0)"""
9195 return _IMP_atom.Residue_set_check_level(self, a0)
9198 def add_to_derivative(self, a0, a1, a2):
9199 """add_to_derivative(Residue self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
9200 return _IMP_atom.Residue_add_to_derivative(self, a0, a1, a2)
9203 def set_is_optimized(self, a0, a1):
9204 """set_is_optimized(Residue self, FloatKey a0, bool a1)"""
9205 return _IMP_atom.Residue_set_is_optimized(self, a0, a1)
9208 def get_is_optimized(self, a0):
9209 """get_is_optimized(Residue self, FloatKey a0) -> bool"""
9210 return _IMP_atom.Residue_get_is_optimized(self, a0)
9214 """get_check_level(Residue self) -> IMP::CheckLevel"""
9215 return _IMP_atom.Residue_get_check_level(self)
9218 def __eq__(self, *args):
9220 __eq__(Residue self, Residue o) -> bool
9221 __eq__(Residue self, Particle d) -> bool
9223 return _IMP_atom.Residue___eq__(self, *args)
9226 def __ne__(self, *args):
9228 __ne__(Residue self, Residue o) -> bool
9229 __ne__(Residue self, Particle d) -> bool
9231 return _IMP_atom.Residue___ne__(self, *args)
9234 def __le__(self, *args):
9236 __le__(Residue self, Residue o) -> bool
9237 __le__(Residue self, Particle d) -> bool
9239 return _IMP_atom.Residue___le__(self, *args)
9242 def __lt__(self, *args):
9244 __lt__(Residue self, Residue o) -> bool
9245 __lt__(Residue self, Particle d) -> bool
9247 return _IMP_atom.Residue___lt__(self, *args)
9250 def __ge__(self, *args):
9252 __ge__(Residue self, Residue o) -> bool
9253 __ge__(Residue self, Particle d) -> bool
9255 return _IMP_atom.Residue___ge__(self, *args)
9258 def __gt__(self, *args):
9260 __gt__(Residue self, Residue o) -> bool
9261 __gt__(Residue self, Particle d) -> bool
9263 return _IMP_atom.Residue___gt__(self, *args)
9267 """__hash__(Residue self) -> std::size_t"""
9268 return _IMP_atom.Residue___hash__(self)
9272 """__str__(Residue self) -> std::string"""
9273 return _IMP_atom.Residue___str__(self)
9277 """__repr__(Residue self) -> std::string"""
9278 return _IMP_atom.Residue___repr__(self)
9280 __swig_destroy__ = _IMP_atom.delete_Residue
9281 __del__ =
lambda self:
None
9282 Residue_swigregister = _IMP_atom.Residue_swigregister
9283 Residue_swigregister(Residue)
9320 def Residue_setup_particle(*args):
9322 setup_particle(Model m, ParticleIndex pi, ResidueType t, int index, int insertion_code) -> Residue
9323 setup_particle(_ParticleAdaptor decorator, ResidueType t, int index, int insertion_code) -> Residue
9324 setup_particle(Model m, ParticleIndex pi, ResidueType t, int index) -> Residue
9325 setup_particle(_ParticleAdaptor decorator, ResidueType t, int index) -> Residue
9326 setup_particle(Model m, ParticleIndex pi, ResidueType t) -> Residue
9327 setup_particle(_ParticleAdaptor decorator, ResidueType t) -> Residue
9328 setup_particle(Model m, ParticleIndex pi, Residue other) -> Residue
9329 Residue_setup_particle(_ParticleAdaptor decorator, Residue other) -> Residue
9331 return _IMP_atom.Residue_setup_particle(*args)
9333 def Residue_get_is_setup(*args):
9335 get_is_setup(_ParticleAdaptor p) -> bool
9336 Residue_get_is_setup(Model m, ParticleIndex pi) -> bool
9338 return _IMP_atom.Residue_get_is_setup(*args)
9340 def Residue_get_index_key():
9341 """Residue_get_index_key() -> IntKey"""
9342 return _IMP_atom.Residue_get_index_key()
9344 def Residue_get_residue_type_key():
9345 """Residue_get_residue_type_key() -> IntKey"""
9346 return _IMP_atom.Residue_get_residue_type_key()
9348 def Residue_get_insertion_code_key():
9349 """Residue_get_insertion_code_key() -> IntKey"""
9350 return _IMP_atom.Residue_get_insertion_code_key()
9354 """get_next_residue(Residue rd) -> Hierarchy"""
9355 return _IMP_atom.get_next_residue(rd)
9358 """get_previous_residue(Residue rd) -> Hierarchy"""
9359 return _IMP_atom.get_previous_residue(rd)
9362 """get_one_letter_code(ResidueType c) -> char"""
9363 return _IMP_atom.get_one_letter_code(c)
9365 _IMP_atom.BALLS_swigconstant(_IMP_atom)
9366 BALLS = _IMP_atom.BALLS
9368 _IMP_atom.DENSITIES_swigconstant(_IMP_atom)
9369 DENSITIES = _IMP_atom.DENSITIES
9370 class Representation(Hierarchy):
9371 """Proxy of C++ IMP::atom::Representation class."""
9373 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9375 def setup_particle(*args):
9377 setup_particle(Model m, ParticleIndex pi) -> Representation
9378 setup_particle(_ParticleAdaptor decorator) -> Representation
9379 setup_particle(Model m, ParticleIndex pi, double resolution) -> Representation
9380 setup_particle(_ParticleAdaptor decorator, double resolution) -> Representation
9382 return _IMP_atom.Representation_setup_particle(*args)
9384 setup_particle = staticmethod(setup_particle)
9386 def __init__(self, *args):
9388 __init__(IMP::atom::Representation self) -> Representation
9389 __init__(IMP::atom::Representation self, Model m, ParticleIndex id) -> Representation
9390 __init__(IMP::atom::Representation self, _ParticleAdaptor d) -> Representation
9392 this = _IMP_atom.new_Representation(*args)
9394 self.this.append(this)
9398 def show(self, *args):
9400 show(Representation self, _ostream out)
9401 show(Representation self)
9403 return _IMP_atom.Representation_show(self, *args)
9406 def get_is_setup(*args):
9408 get_is_setup(_ParticleAdaptor p) -> bool
9409 get_is_setup(Model m, ParticleIndex pi) -> bool
9411 return _IMP_atom.Representation_get_is_setup(*args)
9413 get_is_setup = staticmethod(get_is_setup)
9417 get_representation(Representation self, double resolution, IMP::atom::RepresentationType type) -> Hierarchy
9418 get_representation(Representation self, double resolution) -> Hierarchy
9420 return _IMP_atom.Representation_get_representation(self, *args)
9423 def get_representations(self, *args):
9425 get_representations(Representation self, IMP::atom::RepresentationType type) -> IMP::atom::Hierarchies
9426 get_representations(Representation self) -> IMP::atom::Hierarchies
9428 return _IMP_atom.Representation_get_representations(self, *args)
9431 def add_representation(self, *args):
9433 add_representation(Representation self, _ParticleIndexAdaptor rep, IMP::atom::RepresentationType type, double resolution=-1)
9434 add_representation(Representation self, _ParticleIndexAdaptor rep, IMP::atom::RepresentationType type)
9435 add_representation(Representation self, _ParticleIndexAdaptor rep)
9437 return _IMP_atom.Representation_add_representation(self, *args)
9440 def get_resolutions(self, *args):
9442 get_resolutions(Representation self, IMP::atom::RepresentationType type) -> IMP::Floats
9443 get_resolutions(Representation self) -> IMP::Floats
9445 return _IMP_atom.Representation_get_resolutions(self, *args)
9448 def add_attribute(self, *args):
9450 add_attribute(Representation self, FloatKey k, IMP::Float v, bool opt)
9451 add_attribute(Representation self, FloatKey a0, IMP::Float a1)
9452 add_attribute(Representation self, IntKey a0, IMP::Int a1)
9453 add_attribute(Representation self, StringKey a0, IMP::String a1)
9454 add_attribute(Representation self, ParticleIndexKey a0, Particle a1)
9455 add_attribute(Representation self, ObjectKey a0, Object a1)
9457 return _IMP_atom.Representation_add_attribute(self, *args)
9460 def get_value(self, *args):
9462 get_value(Representation self, FloatKey a0) -> IMP::Float
9463 get_value(Representation self, IntKey a0) -> IMP::Int
9464 get_value(Representation self, StringKey a0) -> IMP::String
9465 get_value(Representation self, ParticleIndexKey a0) -> Particle
9466 get_value(Representation self, ObjectKey a0) -> Object
9468 return _IMP_atom.Representation_get_value(self, *args)
9471 def set_value(self, *args):
9473 set_value(Representation self, FloatKey a0, IMP::Float a1)
9474 set_value(Representation self, IntKey a0, IMP::Int a1)
9475 set_value(Representation self, StringKey a0, IMP::String a1)
9476 set_value(Representation self, ParticleIndexKey a0, Particle a1)
9477 set_value(Representation self, ObjectKey a0, Object a1)
9479 return _IMP_atom.Representation_set_value(self, *args)
9482 def remove_attribute(self, *args):
9484 remove_attribute(Representation self, FloatKey a0)
9485 remove_attribute(Representation self, IntKey a0)
9486 remove_attribute(Representation self, StringKey a0)
9487 remove_attribute(Representation self, ParticleIndexKey a0)
9488 remove_attribute(Representation self, ObjectKey a0)
9490 return _IMP_atom.Representation_remove_attribute(self, *args)
9493 def has_attribute(self, *args):
9495 has_attribute(Representation self, FloatKey a0) -> bool
9496 has_attribute(Representation self, IntKey a0) -> bool
9497 has_attribute(Representation self, StringKey a0) -> bool
9498 has_attribute(Representation self, ParticleIndexKey a0) -> bool
9499 has_attribute(Representation self, ObjectKey a0) -> bool
9501 return _IMP_atom.Representation_has_attribute(self, *args)
9504 def get_derivative(self, a0):
9505 """get_derivative(Representation self, FloatKey a0) -> double"""
9506 return _IMP_atom.Representation_get_derivative(self, a0)
9510 """get_name(Representation self) -> std::string"""
9511 return _IMP_atom.Representation_get_name(self)
9514 def clear_caches(self):
9515 """clear_caches(Representation self)"""
9516 return _IMP_atom.Representation_clear_caches(self)
9519 def set_name(self, a0):
9520 """set_name(Representation self, std::string a0)"""
9521 return _IMP_atom.Representation_set_name(self, a0)
9525 """set_check_level(Representation self, IMP::CheckLevel a0)"""
9526 return _IMP_atom.Representation_set_check_level(self, a0)
9529 def add_to_derivative(self, a0, a1, a2):
9530 """add_to_derivative(Representation self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
9531 return _IMP_atom.Representation_add_to_derivative(self, a0, a1, a2)
9534 def set_is_optimized(self, a0, a1):
9535 """set_is_optimized(Representation self, FloatKey a0, bool a1)"""
9536 return _IMP_atom.Representation_set_is_optimized(self, a0, a1)
9539 def get_is_optimized(self, a0):
9540 """get_is_optimized(Representation self, FloatKey a0) -> bool"""
9541 return _IMP_atom.Representation_get_is_optimized(self, a0)
9545 """get_check_level(Representation self) -> IMP::CheckLevel"""
9546 return _IMP_atom.Representation_get_check_level(self)
9549 def __eq__(self, *args):
9551 __eq__(Representation self, Representation o) -> bool
9552 __eq__(Representation self, Particle d) -> bool
9554 return _IMP_atom.Representation___eq__(self, *args)
9557 def __ne__(self, *args):
9559 __ne__(Representation self, Representation o) -> bool
9560 __ne__(Representation self, Particle d) -> bool
9562 return _IMP_atom.Representation___ne__(self, *args)
9565 def __le__(self, *args):
9567 __le__(Representation self, Representation o) -> bool
9568 __le__(Representation self, Particle d) -> bool
9570 return _IMP_atom.Representation___le__(self, *args)
9573 def __lt__(self, *args):
9575 __lt__(Representation self, Representation o) -> bool
9576 __lt__(Representation self, Particle d) -> bool
9578 return _IMP_atom.Representation___lt__(self, *args)
9581 def __ge__(self, *args):
9583 __ge__(Representation self, Representation o) -> bool
9584 __ge__(Representation self, Particle d) -> bool
9586 return _IMP_atom.Representation___ge__(self, *args)
9589 def __gt__(self, *args):
9591 __gt__(Representation self, Representation o) -> bool
9592 __gt__(Representation self, Particle d) -> bool
9594 return _IMP_atom.Representation___gt__(self, *args)
9598 """__hash__(Representation self) -> std::size_t"""
9599 return _IMP_atom.Representation___hash__(self)
9603 """__str__(Representation self) -> std::string"""
9604 return _IMP_atom.Representation___str__(self)
9608 """__repr__(Representation self) -> std::string"""
9609 return _IMP_atom.Representation___repr__(self)
9611 __swig_destroy__ = _IMP_atom.delete_Representation
9612 __del__ =
lambda self:
None
9613 Representation_swigregister = _IMP_atom.Representation_swigregister
9614 Representation_swigregister(Representation)
9615 ALL_RESOLUTIONS = cvar.ALL_RESOLUTIONS
9617 def Representation_setup_particle(*args):
9619 setup_particle(Model m, ParticleIndex pi) -> Representation
9620 setup_particle(_ParticleAdaptor decorator) -> Representation
9621 setup_particle(Model m, ParticleIndex pi, double resolution) -> Representation
9622 Representation_setup_particle(_ParticleAdaptor decorator, double resolution) -> Representation
9624 return _IMP_atom.Representation_setup_particle(*args)
9626 def Representation_get_is_setup(*args):
9628 get_is_setup(_ParticleAdaptor p) -> bool
9629 Representation_get_is_setup(Model m, ParticleIndex pi) -> bool
9631 return _IMP_atom.Representation_get_is_setup(*args)
9636 get_resolution(Model m, ParticleIndex pi) -> double
9637 get_resolution(Hierarchy h) -> double
9639 return _IMP_atom.get_resolution(*args)
9643 get_representation(Hierarchy h, bool nothrow=False) -> Representation
9644 get_representation(Hierarchy h) -> Representation
9646 return _IMP_atom.get_representation(h, nothrow)
9650 show_with_representations(Hierarchy h, _ostream out)
9651 show_with_representations(Hierarchy h)
9653 return _IMP_atom.show_with_representations(*args)
9654 class State(Hierarchy):
9655 """Proxy of C++ IMP::atom::State class."""
9657 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9659 def setup_particle(*args):
9661 setup_particle(Model m, ParticleIndex pi, unsigned int index) -> State
9662 setup_particle(_ParticleAdaptor decorator, unsigned int index) -> State
9664 return _IMP_atom.State_setup_particle(*args)
9666 setup_particle = staticmethod(setup_particle)
9668 def __init__(self, *args):
9670 __init__(IMP::atom::State self) -> State
9671 __init__(IMP::atom::State self, Model m, ParticleIndex id) -> State
9672 __init__(IMP::atom::State self, _ParticleAdaptor d) -> State
9674 this = _IMP_atom.new_State(*args)
9676 self.this.append(this)
9680 def show(self, *args):
9682 show(State self, _ostream out)
9685 return _IMP_atom.State_show(self, *args)
9688 def get_is_setup(*args):
9690 get_is_setup(_ParticleAdaptor p) -> bool
9691 get_is_setup(Model m, ParticleIndex pi) -> bool
9693 return _IMP_atom.State_get_is_setup(*args)
9695 get_is_setup = staticmethod(get_is_setup)
9698 """get_state_index(State self) -> unsigned int"""
9699 return _IMP_atom.State_get_state_index(self)
9702 def add_attribute(self, *args):
9704 add_attribute(State self, FloatKey k, IMP::Float v, bool opt)
9705 add_attribute(State self, FloatKey a0, IMP::Float a1)
9706 add_attribute(State self, IntKey a0, IMP::Int a1)
9707 add_attribute(State self, StringKey a0, IMP::String a1)
9708 add_attribute(State self, ParticleIndexKey a0, Particle a1)
9709 add_attribute(State self, ObjectKey a0, Object a1)
9711 return _IMP_atom.State_add_attribute(self, *args)
9714 def get_value(self, *args):
9716 get_value(State self, FloatKey a0) -> IMP::Float
9717 get_value(State self, IntKey a0) -> IMP::Int
9718 get_value(State self, StringKey a0) -> IMP::String
9719 get_value(State self, ParticleIndexKey a0) -> Particle
9720 get_value(State self, ObjectKey a0) -> Object
9722 return _IMP_atom.State_get_value(self, *args)
9725 def set_value(self, *args):
9727 set_value(State self, FloatKey a0, IMP::Float a1)
9728 set_value(State self, IntKey a0, IMP::Int a1)
9729 set_value(State self, StringKey a0, IMP::String a1)
9730 set_value(State self, ParticleIndexKey a0, Particle a1)
9731 set_value(State self, ObjectKey a0, Object a1)
9733 return _IMP_atom.State_set_value(self, *args)
9736 def remove_attribute(self, *args):
9738 remove_attribute(State self, FloatKey a0)
9739 remove_attribute(State self, IntKey a0)
9740 remove_attribute(State self, StringKey a0)
9741 remove_attribute(State self, ParticleIndexKey a0)
9742 remove_attribute(State self, ObjectKey a0)
9744 return _IMP_atom.State_remove_attribute(self, *args)
9747 def has_attribute(self, *args):
9749 has_attribute(State self, FloatKey a0) -> bool
9750 has_attribute(State self, IntKey a0) -> bool
9751 has_attribute(State self, StringKey a0) -> bool
9752 has_attribute(State self, ParticleIndexKey a0) -> bool
9753 has_attribute(State self, ObjectKey a0) -> bool
9755 return _IMP_atom.State_has_attribute(self, *args)
9758 def get_derivative(self, a0):
9759 """get_derivative(State self, FloatKey a0) -> double"""
9760 return _IMP_atom.State_get_derivative(self, a0)
9764 """get_name(State self) -> std::string"""
9765 return _IMP_atom.State_get_name(self)
9768 def clear_caches(self):
9769 """clear_caches(State self)"""
9770 return _IMP_atom.State_clear_caches(self)
9773 def set_name(self, a0):
9774 """set_name(State self, std::string a0)"""
9775 return _IMP_atom.State_set_name(self, a0)
9779 """set_check_level(State self, IMP::CheckLevel a0)"""
9780 return _IMP_atom.State_set_check_level(self, a0)
9783 def add_to_derivative(self, a0, a1, a2):
9784 """add_to_derivative(State self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
9785 return _IMP_atom.State_add_to_derivative(self, a0, a1, a2)
9788 def set_is_optimized(self, a0, a1):
9789 """set_is_optimized(State self, FloatKey a0, bool a1)"""
9790 return _IMP_atom.State_set_is_optimized(self, a0, a1)
9793 def get_is_optimized(self, a0):
9794 """get_is_optimized(State self, FloatKey a0) -> bool"""
9795 return _IMP_atom.State_get_is_optimized(self, a0)
9799 """get_check_level(State self) -> IMP::CheckLevel"""
9800 return _IMP_atom.State_get_check_level(self)
9803 def __eq__(self, *args):
9805 __eq__(State self, State o) -> bool
9806 __eq__(State self, Particle d) -> bool
9808 return _IMP_atom.State___eq__(self, *args)
9811 def __ne__(self, *args):
9813 __ne__(State self, State o) -> bool
9814 __ne__(State self, Particle d) -> bool
9816 return _IMP_atom.State___ne__(self, *args)
9819 def __le__(self, *args):
9821 __le__(State self, State o) -> bool
9822 __le__(State self, Particle d) -> bool
9824 return _IMP_atom.State___le__(self, *args)
9827 def __lt__(self, *args):
9829 __lt__(State self, State o) -> bool
9830 __lt__(State self, Particle d) -> bool
9832 return _IMP_atom.State___lt__(self, *args)
9835 def __ge__(self, *args):
9837 __ge__(State self, State o) -> bool
9838 __ge__(State self, Particle d) -> bool
9840 return _IMP_atom.State___ge__(self, *args)
9843 def __gt__(self, *args):
9845 __gt__(State self, State o) -> bool
9846 __gt__(State self, Particle d) -> bool
9848 return _IMP_atom.State___gt__(self, *args)
9852 """__hash__(State self) -> std::size_t"""
9853 return _IMP_atom.State___hash__(self)
9857 """__str__(State self) -> std::string"""
9858 return _IMP_atom.State___str__(self)
9862 """__repr__(State self) -> std::string"""
9863 return _IMP_atom.State___repr__(self)
9865 __swig_destroy__ = _IMP_atom.delete_State
9866 __del__ =
lambda self:
None
9867 State_swigregister = _IMP_atom.State_swigregister
9868 State_swigregister(State)
9870 def State_setup_particle(*args):
9872 setup_particle(Model m, ParticleIndex pi, unsigned int index) -> State
9873 State_setup_particle(_ParticleAdaptor decorator, unsigned int index) -> State
9875 return _IMP_atom.State_setup_particle(*args)
9877 def State_get_is_setup(*args):
9879 get_is_setup(_ParticleAdaptor p) -> bool
9880 State_get_is_setup(Model m, ParticleIndex pi) -> bool
9882 return _IMP_atom.State_get_is_setup(*args)
9886 """get_state_index(Hierarchy h) -> int"""
9887 return _IMP_atom.get_state_index(h)
9890 """get_phi_dihedral_atoms(Residue rd) -> IMP::atom::Atoms"""
9891 return _IMP_atom.get_phi_dihedral_atoms(rd)
9894 """get_psi_dihedral_atoms(Residue rd) -> IMP::atom::Atoms"""
9895 return _IMP_atom.get_psi_dihedral_atoms(rd)
9896 class Molecule(Hierarchy):
9897 """Proxy of C++ IMP::atom::Molecule class."""
9899 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9901 def __init__(self, *args):
9903 __init__(IMP::atom::Molecule self) -> Molecule
9904 __init__(IMP::atom::Molecule self, Model m, ParticleIndex id) -> Molecule
9905 __init__(IMP::atom::Molecule self, _ParticleAdaptor d) -> Molecule
9907 this = _IMP_atom.new_Molecule(*args)
9909 self.this.append(this)
9913 def show(self, *args):
9915 show(Molecule self, _ostream out)
9918 return _IMP_atom.Molecule_show(self, *args)
9921 def setup_particle(*args):
9923 setup_particle(Model m, ParticleIndex pi) -> Molecule
9924 setup_particle(_ParticleAdaptor decorator) -> Molecule
9925 setup_particle(Model m, ParticleIndex pi, Molecule other) -> Molecule
9926 setup_particle(_ParticleAdaptor decorator, Molecule other) -> Molecule
9928 return _IMP_atom.Molecule_setup_particle(*args)
9930 setup_particle = staticmethod(setup_particle)
9932 def get_is_setup(*args):
9934 get_is_setup(_ParticleAdaptor p) -> bool
9935 get_is_setup(Model m, ParticleIndex pi) -> bool
9937 return _IMP_atom.Molecule_get_is_setup(*args)
9939 get_is_setup = staticmethod(get_is_setup)
9941 def add_attribute(self, *args):
9943 add_attribute(Molecule self, FloatKey k, IMP::Float v, bool opt)
9944 add_attribute(Molecule self, FloatKey a0, IMP::Float a1)
9945 add_attribute(Molecule self, IntKey a0, IMP::Int a1)
9946 add_attribute(Molecule self, StringKey a0, IMP::String a1)
9947 add_attribute(Molecule self, ParticleIndexKey a0, Particle a1)
9948 add_attribute(Molecule self, ObjectKey a0, Object a1)
9950 return _IMP_atom.Molecule_add_attribute(self, *args)
9953 def get_value(self, *args):
9955 get_value(Molecule self, FloatKey a0) -> IMP::Float
9956 get_value(Molecule self, IntKey a0) -> IMP::Int
9957 get_value(Molecule self, StringKey a0) -> IMP::String
9958 get_value(Molecule self, ParticleIndexKey a0) -> Particle
9959 get_value(Molecule self, ObjectKey a0) -> Object
9961 return _IMP_atom.Molecule_get_value(self, *args)
9964 def set_value(self, *args):
9966 set_value(Molecule self, FloatKey a0, IMP::Float a1)
9967 set_value(Molecule self, IntKey a0, IMP::Int a1)
9968 set_value(Molecule self, StringKey a0, IMP::String a1)
9969 set_value(Molecule self, ParticleIndexKey a0, Particle a1)
9970 set_value(Molecule self, ObjectKey a0, Object a1)
9972 return _IMP_atom.Molecule_set_value(self, *args)
9975 def remove_attribute(self, *args):
9977 remove_attribute(Molecule self, FloatKey a0)
9978 remove_attribute(Molecule self, IntKey a0)
9979 remove_attribute(Molecule self, StringKey a0)
9980 remove_attribute(Molecule self, ParticleIndexKey a0)
9981 remove_attribute(Molecule self, ObjectKey a0)
9983 return _IMP_atom.Molecule_remove_attribute(self, *args)
9986 def has_attribute(self, *args):
9988 has_attribute(Molecule self, FloatKey a0) -> bool
9989 has_attribute(Molecule self, IntKey a0) -> bool
9990 has_attribute(Molecule self, StringKey a0) -> bool
9991 has_attribute(Molecule self, ParticleIndexKey a0) -> bool
9992 has_attribute(Molecule self, ObjectKey a0) -> bool
9994 return _IMP_atom.Molecule_has_attribute(self, *args)
9997 def get_derivative(self, a0):
9998 """get_derivative(Molecule self, FloatKey a0) -> double"""
9999 return _IMP_atom.Molecule_get_derivative(self, a0)
10002 def get_name(self):
10003 """get_name(Molecule self) -> std::string"""
10004 return _IMP_atom.Molecule_get_name(self)
10007 def clear_caches(self):
10008 """clear_caches(Molecule self)"""
10009 return _IMP_atom.Molecule_clear_caches(self)
10012 def set_name(self, a0):
10013 """set_name(Molecule self, std::string a0)"""
10014 return _IMP_atom.Molecule_set_name(self, a0)
10018 """set_check_level(Molecule self, IMP::CheckLevel a0)"""
10019 return _IMP_atom.Molecule_set_check_level(self, a0)
10022 def add_to_derivative(self, a0, a1, a2):
10023 """add_to_derivative(Molecule self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
10024 return _IMP_atom.Molecule_add_to_derivative(self, a0, a1, a2)
10027 def set_is_optimized(self, a0, a1):
10028 """set_is_optimized(Molecule self, FloatKey a0, bool a1)"""
10029 return _IMP_atom.Molecule_set_is_optimized(self, a0, a1)
10032 def get_is_optimized(self, a0):
10033 """get_is_optimized(Molecule self, FloatKey a0) -> bool"""
10034 return _IMP_atom.Molecule_get_is_optimized(self, a0)
10038 """get_check_level(Molecule self) -> IMP::CheckLevel"""
10039 return _IMP_atom.Molecule_get_check_level(self)
10042 def __eq__(self, *args):
10044 __eq__(Molecule self, Molecule o) -> bool
10045 __eq__(Molecule self, Particle d) -> bool
10047 return _IMP_atom.Molecule___eq__(self, *args)
10050 def __ne__(self, *args):
10052 __ne__(Molecule self, Molecule o) -> bool
10053 __ne__(Molecule self, Particle d) -> bool
10055 return _IMP_atom.Molecule___ne__(self, *args)
10058 def __le__(self, *args):
10060 __le__(Molecule self, Molecule o) -> bool
10061 __le__(Molecule self, Particle d) -> bool
10063 return _IMP_atom.Molecule___le__(self, *args)
10066 def __lt__(self, *args):
10068 __lt__(Molecule self, Molecule o) -> bool
10069 __lt__(Molecule self, Particle d) -> bool
10071 return _IMP_atom.Molecule___lt__(self, *args)
10074 def __ge__(self, *args):
10076 __ge__(Molecule self, Molecule o) -> bool
10077 __ge__(Molecule self, Particle d) -> bool
10079 return _IMP_atom.Molecule___ge__(self, *args)
10082 def __gt__(self, *args):
10084 __gt__(Molecule self, Molecule o) -> bool
10085 __gt__(Molecule self, Particle d) -> bool
10087 return _IMP_atom.Molecule___gt__(self, *args)
10090 def __hash__(self):
10091 """__hash__(Molecule self) -> std::size_t"""
10092 return _IMP_atom.Molecule___hash__(self)
10096 """__str__(Molecule self) -> std::string"""
10097 return _IMP_atom.Molecule___str__(self)
10100 def __repr__(self):
10101 """__repr__(Molecule self) -> std::string"""
10102 return _IMP_atom.Molecule___repr__(self)
10104 __swig_destroy__ = _IMP_atom.delete_Molecule
10105 __del__ =
lambda self:
None
10106 Molecule_swigregister = _IMP_atom.Molecule_swigregister
10107 Molecule_swigregister(Molecule)
10109 def Molecule_setup_particle(*args):
10111 setup_particle(Model m, ParticleIndex pi) -> Molecule
10112 setup_particle(_ParticleAdaptor decorator) -> Molecule
10113 setup_particle(Model m, ParticleIndex pi, Molecule other) -> Molecule
10114 Molecule_setup_particle(_ParticleAdaptor decorator, Molecule other) -> Molecule
10116 return _IMP_atom.Molecule_setup_particle(*args)
10118 def Molecule_get_is_setup(*args):
10120 get_is_setup(_ParticleAdaptor p) -> bool
10121 Molecule_get_is_setup(Model m, ParticleIndex pi) -> bool
10123 return _IMP_atom.Molecule_get_is_setup(*args)
10127 """get_molecule_name(Hierarchy h) -> std::string"""
10128 return _IMP_atom.get_molecule_name(h)
10129 class Copy(Molecule):
10130 """Proxy of C++ IMP::atom::Copy class."""
10132 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10134 def get_copy_index_key():
10135 """get_copy_index_key() -> IntKey"""
10136 return _IMP_atom.Copy_get_copy_index_key()
10138 get_copy_index_key = staticmethod(get_copy_index_key)
10140 def __init__(self, *args):
10142 __init__(IMP::atom::Copy self) -> Copy
10143 __init__(IMP::atom::Copy self, Model m, ParticleIndex id) -> Copy
10144 __init__(IMP::atom::Copy self, _ParticleAdaptor d) -> Copy
10146 this = _IMP_atom.new_Copy(*args)
10148 self.this.append(this)
10152 def show(self, *args):
10154 show(Copy self, _ostream out)
10157 return _IMP_atom.Copy_show(self, *args)
10160 def setup_particle(*args):
10162 setup_particle(Model m, ParticleIndex pi, IMP::Int number) -> Copy
10163 setup_particle(_ParticleAdaptor decorator, IMP::Int number) -> Copy
10165 return _IMP_atom.Copy_setup_particle(*args)
10167 setup_particle = staticmethod(setup_particle)
10169 def get_is_setup(*args):
10171 get_is_setup(_ParticleAdaptor p) -> bool
10172 get_is_setup(Model m, ParticleIndex pi) -> bool
10174 return _IMP_atom.Copy_get_is_setup(*args)
10176 get_is_setup = staticmethod(get_is_setup)
10179 """get_copy_index(Copy self) -> int"""
10180 return _IMP_atom.Copy_get_copy_index(self)
10183 def add_attribute(self, *args):
10185 add_attribute(Copy self, FloatKey k, IMP::Float v, bool opt)
10186 add_attribute(Copy self, FloatKey a0, IMP::Float a1)
10187 add_attribute(Copy self, IntKey a0, IMP::Int a1)
10188 add_attribute(Copy self, StringKey a0, IMP::String a1)
10189 add_attribute(Copy self, ParticleIndexKey a0, Particle a1)
10190 add_attribute(Copy self, ObjectKey a0, Object a1)
10192 return _IMP_atom.Copy_add_attribute(self, *args)
10195 def get_value(self, *args):
10197 get_value(Copy self, FloatKey a0) -> IMP::Float
10198 get_value(Copy self, IntKey a0) -> IMP::Int
10199 get_value(Copy self, StringKey a0) -> IMP::String
10200 get_value(Copy self, ParticleIndexKey a0) -> Particle
10201 get_value(Copy self, ObjectKey a0) -> Object
10203 return _IMP_atom.Copy_get_value(self, *args)
10206 def set_value(self, *args):
10208 set_value(Copy self, FloatKey a0, IMP::Float a1)
10209 set_value(Copy self, IntKey a0, IMP::Int a1)
10210 set_value(Copy self, StringKey a0, IMP::String a1)
10211 set_value(Copy self, ParticleIndexKey a0, Particle a1)
10212 set_value(Copy self, ObjectKey a0, Object a1)
10214 return _IMP_atom.Copy_set_value(self, *args)
10217 def remove_attribute(self, *args):
10219 remove_attribute(Copy self, FloatKey a0)
10220 remove_attribute(Copy self, IntKey a0)
10221 remove_attribute(Copy self, StringKey a0)
10222 remove_attribute(Copy self, ParticleIndexKey a0)
10223 remove_attribute(Copy self, ObjectKey a0)
10225 return _IMP_atom.Copy_remove_attribute(self, *args)
10228 def has_attribute(self, *args):
10230 has_attribute(Copy self, FloatKey a0) -> bool
10231 has_attribute(Copy self, IntKey a0) -> bool
10232 has_attribute(Copy self, StringKey a0) -> bool
10233 has_attribute(Copy self, ParticleIndexKey a0) -> bool
10234 has_attribute(Copy self, ObjectKey a0) -> bool
10236 return _IMP_atom.Copy_has_attribute(self, *args)
10239 def get_derivative(self, a0):
10240 """get_derivative(Copy self, FloatKey a0) -> double"""
10241 return _IMP_atom.Copy_get_derivative(self, a0)
10244 def get_name(self):
10245 """get_name(Copy self) -> std::string"""
10246 return _IMP_atom.Copy_get_name(self)
10249 def clear_caches(self):
10250 """clear_caches(Copy self)"""
10251 return _IMP_atom.Copy_clear_caches(self)
10254 def set_name(self, a0):
10255 """set_name(Copy self, std::string a0)"""
10256 return _IMP_atom.Copy_set_name(self, a0)
10260 """set_check_level(Copy self, IMP::CheckLevel a0)"""
10261 return _IMP_atom.Copy_set_check_level(self, a0)
10264 def add_to_derivative(self, a0, a1, a2):
10265 """add_to_derivative(Copy self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
10266 return _IMP_atom.Copy_add_to_derivative(self, a0, a1, a2)
10269 def set_is_optimized(self, a0, a1):
10270 """set_is_optimized(Copy self, FloatKey a0, bool a1)"""
10271 return _IMP_atom.Copy_set_is_optimized(self, a0, a1)
10274 def get_is_optimized(self, a0):
10275 """get_is_optimized(Copy self, FloatKey a0) -> bool"""
10276 return _IMP_atom.Copy_get_is_optimized(self, a0)
10280 """get_check_level(Copy self) -> IMP::CheckLevel"""
10281 return _IMP_atom.Copy_get_check_level(self)
10284 def __eq__(self, *args):
10286 __eq__(Copy self, Copy o) -> bool
10287 __eq__(Copy self, Particle d) -> bool
10289 return _IMP_atom.Copy___eq__(self, *args)
10292 def __ne__(self, *args):
10294 __ne__(Copy self, Copy o) -> bool
10295 __ne__(Copy self, Particle d) -> bool
10297 return _IMP_atom.Copy___ne__(self, *args)
10300 def __le__(self, *args):
10302 __le__(Copy self, Copy o) -> bool
10303 __le__(Copy self, Particle d) -> bool
10305 return _IMP_atom.Copy___le__(self, *args)
10308 def __lt__(self, *args):
10310 __lt__(Copy self, Copy o) -> bool
10311 __lt__(Copy self, Particle d) -> bool
10313 return _IMP_atom.Copy___lt__(self, *args)
10316 def __ge__(self, *args):
10318 __ge__(Copy self, Copy o) -> bool
10319 __ge__(Copy self, Particle d) -> bool
10321 return _IMP_atom.Copy___ge__(self, *args)
10324 def __gt__(self, *args):
10326 __gt__(Copy self, Copy o) -> bool
10327 __gt__(Copy self, Particle d) -> bool
10329 return _IMP_atom.Copy___gt__(self, *args)
10332 def __hash__(self):
10333 """__hash__(Copy self) -> std::size_t"""
10334 return _IMP_atom.Copy___hash__(self)
10338 """__str__(Copy self) -> std::string"""
10339 return _IMP_atom.Copy___str__(self)
10342 def __repr__(self):
10343 """__repr__(Copy self) -> std::string"""
10344 return _IMP_atom.Copy___repr__(self)
10346 __swig_destroy__ = _IMP_atom.delete_Copy
10347 __del__ =
lambda self:
None
10348 Copy_swigregister = _IMP_atom.Copy_swigregister
10349 Copy_swigregister(Copy)
10351 def Copy_get_copy_index_key():
10352 """Copy_get_copy_index_key() -> IntKey"""
10353 return _IMP_atom.Copy_get_copy_index_key()
10355 def Copy_setup_particle(*args):
10357 setup_particle(Model m, ParticleIndex pi, IMP::Int number) -> Copy
10358 Copy_setup_particle(_ParticleAdaptor decorator, IMP::Int number) -> Copy
10360 return _IMP_atom.Copy_setup_particle(*args)
10362 def Copy_get_is_setup(*args):
10364 get_is_setup(_ParticleAdaptor p) -> bool
10365 Copy_get_is_setup(Model m, ParticleIndex pi) -> bool
10367 return _IMP_atom.Copy_get_is_setup(*args)
10371 """get_copy_index(Hierarchy h) -> int"""
10372 return _IMP_atom.get_copy_index(h)
10373 class Selection(IMP._ParticleIndexesAdaptor):
10374 """Proxy of C++ IMP::atom::Selection class."""
10376 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10377 NONE = _IMP_atom.Selection_NONE
10378 C = _IMP_atom.Selection_C
10379 N = _IMP_atom.Selection_N
10381 def __init__(self, *args):
10383 __init__(IMP::atom::Selection self) -> Selection
10384 __init__(IMP::atom::Selection self, Hierarchy h) -> Selection
10385 __init__(IMP::atom::Selection self, Particle h) -> Selection
10386 __init__(IMP::atom::Selection self, Model m, IMP::ParticleIndexes const & pis) -> Selection
10387 __init__(IMP::atom::Selection self, IMP::ParticlesTemp const & h) -> Selection
10389 this = _IMP_atom.new_Selection(*args)
10391 self.this.append(this)
10395 def create_clone(self):
10396 """create_clone(Selection self) -> Selection"""
10397 return _IMP_atom.Selection_create_clone(self)
10400 def get_hierarchies(self):
10401 """get_hierarchies(Selection self) -> IMP::atom::Hierarchies"""
10402 return _IMP_atom.Selection_get_hierarchies(self)
10405 def set_molecules(self, mols):
10406 """set_molecules(Selection self, IMP::Strings mols)"""
10407 return _IMP_atom.Selection_set_molecules(self, mols)
10410 def set_resolution(self, r):
10411 """set_resolution(Selection self, double r)"""
10412 return _IMP_atom.Selection_set_resolution(self, r)
10415 def set_representation_type(self, t):
10416 """set_representation_type(Selection self, IMP::atom::RepresentationType t)"""
10417 return _IMP_atom.Selection_set_representation_type(self, t)
10420 def set_state_index(self, state):
10421 """set_state_index(Selection self, int state)"""
10422 return _IMP_atom.Selection_set_state_index(self, state)
10425 def set_state_indexes(self, states):
10426 """set_state_indexes(Selection self, IMP::Ints states)"""
10427 return _IMP_atom.Selection_set_state_indexes(self, states)
10430 def set_terminus(self, t):
10431 """set_terminus(Selection self, IMP::atom::Selection::Terminus t)"""
10432 return _IMP_atom.Selection_set_terminus(self, t)
10435 def set_element(self, e):
10436 """set_element(Selection self, IMP::atom::Element e)"""
10437 return _IMP_atom.Selection_set_element(self, e)
10440 def set_chain_ids(self, chains):
10441 """set_chain_ids(Selection self, IMP::Strings chains)"""
10442 return _IMP_atom.Selection_set_chain_ids(self, chains)
10445 def set_chains(self, chains):
10446 """set_chains(Selection self, IMP::Strings chains)"""
10447 return _IMP_atom.Selection_set_chains(self, chains)
10450 def set_residue_indexes(self, indexes):
10451 """set_residue_indexes(Selection self, IMP::Ints indexes)"""
10452 return _IMP_atom.Selection_set_residue_indexes(self, indexes)
10455 def set_atom_types(self, types):
10456 """set_atom_types(Selection self, IMP::atom::AtomTypes types)"""
10457 return _IMP_atom.Selection_set_atom_types(self, types)
10460 def set_residue_types(self, types):
10461 """set_residue_types(Selection self, IMP::atom::ResidueTypes types)"""
10462 return _IMP_atom.Selection_set_residue_types(self, types)
10465 def set_domains(self, names):
10466 """set_domains(Selection self, IMP::Strings names)"""
10467 return _IMP_atom.Selection_set_domains(self, names)
10470 def set_molecule(self, mol):
10471 """set_molecule(Selection self, std::string mol)"""
10472 return _IMP_atom.Selection_set_molecule(self, mol)
10475 def set_chain_id(self, c):
10476 """set_chain_id(Selection self, std::string c)"""
10477 return _IMP_atom.Selection_set_chain_id(self, c)
10480 def set_chain(self, c):
10481 """set_chain(Selection self, std::string c)"""
10482 return _IMP_atom.Selection_set_chain(self, c)
10485 def set_residue_index(self, i):
10486 """set_residue_index(Selection self, int i)"""
10487 return _IMP_atom.Selection_set_residue_index(self, i)
10490 def set_atom_type(self, types):
10491 """set_atom_type(Selection self, AtomType types)"""
10492 return _IMP_atom.Selection_set_atom_type(self, types)
10495 def set_residue_type(self, type):
10496 """set_residue_type(Selection self, ResidueType type)"""
10497 return _IMP_atom.Selection_set_residue_type(self, type)
10500 def set_domain(self, name):
10501 """set_domain(Selection self, std::string name)"""
10502 return _IMP_atom.Selection_set_domain(self, name)
10505 def set_copy_index(self, copy):
10506 """set_copy_index(Selection self, unsigned int copy)"""
10507 return _IMP_atom.Selection_set_copy_index(self, copy)
10510 def set_copy_indexes(self, copies):
10511 """set_copy_indexes(Selection self, IMP::Ints copies)"""
10512 return _IMP_atom.Selection_set_copy_indexes(self, copies)
10515 def set_particle_type(self, t):
10516 """set_particle_type(Selection self, ParticleType t)"""
10517 return _IMP_atom.Selection_set_particle_type(self, t)
10520 def set_particle_types(self, t):
10521 """set_particle_types(Selection self, IMP::core::ParticleTypes t)"""
10522 return _IMP_atom.Selection_set_particle_types(self, t)
10525 def set_hierarchy_types(self, types):
10526 """set_hierarchy_types(Selection self, IMP::Ints types)"""
10527 return _IMP_atom.Selection_set_hierarchy_types(self, types)
10530 def set_intersection(self, s):
10531 """set_intersection(Selection self, Selection s)"""
10532 return _IMP_atom.Selection_set_intersection(self, s)
10535 def set_union(self, s):
10536 """set_union(Selection self, Selection s)"""
10537 return _IMP_atom.Selection_set_union(self, s)
10540 def set_symmetric_difference(self, s):
10541 """set_symmetric_difference(Selection self, Selection s)"""
10542 return _IMP_atom.Selection_set_symmetric_difference(self, s)
10545 def set_difference(self, s):
10546 """set_difference(Selection self, Selection s)"""
10547 return _IMP_atom.Selection_set_difference(self, s)
10550 def get_selected_particles(self, with_representation=True):
10552 get_selected_particles(Selection self, bool with_representation=True) -> IMP::ParticlesTemp
10553 get_selected_particles(Selection self) -> IMP::ParticlesTemp
10555 return _IMP_atom.Selection_get_selected_particles(self, with_representation)
10558 def get_selected_particle_indexes(self, with_representation=True):
10560 get_selected_particle_indexes(Selection self, bool with_representation=True) -> IMP::ParticleIndexes
10561 get_selected_particle_indexes(Selection self) -> IMP::ParticleIndexes
10563 return _IMP_atom.Selection_get_selected_particle_indexes(self, with_representation)
10566 def show(self, *args):
10568 show(Selection self, _ostream out)
10569 show(Selection self)
10571 return _IMP_atom.Selection_show(self, *args)
10575 """__str__(Selection self) -> std::string"""
10576 return _IMP_atom.Selection___str__(self)
10579 def __repr__(self):
10580 """__repr__(Selection self) -> std::string"""
10581 return _IMP_atom.Selection___repr__(self)
10584 def __init__(self, hierarchy=None,
10585 hierarchies=
None, **params):
10586 if hierarchy
and hierarchies:
10587 raise RuntimeError(
"You can't pass both hierarchy and hierarchies to Selection")
10589 this = _IMP_atom.new_Selection(hierarchy)
10590 try: self.this.append(this)
10591 except: self.this = this
10593 this = _IMP_atom.new_Selection(hierarchies)
10594 try: self.this.append(this)
10595 except: self.this = this
10597 raise ValueError(
"Either hierarchy or hierarchies must be provided.")
10598 for k
in params.keys():
10599 eval(
"self.set_%s(params[k])"%k)
10601 def union(self, s):
10602 news = self.create_clone()
10603 news.union_update(s)
10605 def intersection(self, s):
10606 news = self.create_clone()
10607 news.intersection_update(s)
10609 def symmetric_difference(self, s):
10610 news = self.create_clone()
10611 news.symmetric_difference_update(s)
10613 def difference(self, s):
10614 news = self.create_clone()
10615 news.difference_update(s)
10617 def union_update(self, s):
10620 def intersection_update(self, s):
10621 self.set_intersection(s)
10623 def symmetric_difference_update(self, s):
10624 self.set_symmetric_difference(s)
10626 def difference_update(self, s):
10627 self.set_difference(s)
10630 __and__ = intersection
10631 __xor__ = symmetric_difference
10632 __sub__ = difference
10633 __ior__ = union_update
10634 __iand__ = intersection_update
10635 __ixor__ = symmetric_difference_update
10636 __isub__ = difference_update
10638 __swig_destroy__ = _IMP_atom.delete_Selection
10639 __del__ =
lambda self:
None
10640 Selection_swigregister = _IMP_atom.Selection_swigregister
10641 Selection_swigregister(Selection)
10646 create_distance_restraint(Selection n0, Selection n1, double x0, double k, std::string name) -> Restraint
10647 create_distance_restraint(Selection n0, Selection n1, double x0, double k) -> Restraint
10649 return _IMP_atom.create_distance_restraint(*args)
10653 create_connectivity_restraint(IMP::atom::Selections const & s, double k, std::string name) -> Restraint
10654 create_connectivity_restraint(IMP::atom::Selections const & s, double k) -> Restraint
10655 create_connectivity_restraint(IMP::atom::Selections const & s, double x0, double k, std::string name) -> Restraint
10656 create_connectivity_restraint(IMP::atom::Selections const & s, double x0, double k) -> Restraint
10658 return _IMP_atom.create_connectivity_restraint(*args)
10662 create_internal_connectivity_restraint(Selection s, double k, std::string name) -> Restraint
10663 create_internal_connectivity_restraint(Selection s, double k) -> Restraint
10664 create_internal_connectivity_restraint(Selection s, double x0, double k, std::string name) -> Restraint
10665 create_internal_connectivity_restraint(Selection s, double x0, double k) -> Restraint
10667 return _IMP_atom.create_internal_connectivity_restraint(*args)
10671 create_cover(Selection s, std::string name) -> XYZR
10672 create_cover(Selection s) -> XYZR
10674 return _IMP_atom.create_cover(*args)
10678 get_mass(ResidueType c) -> double
10679 get_mass(Selection s) -> double
10681 return _IMP_atom.get_mass(*args)
10684 """get_volume(Selection s) -> double"""
10685 return _IMP_atom.get_volume(s)
10688 """get_surface_area(Selection s) -> double"""
10689 return _IMP_atom.get_surface_area(s)
10693 get_leaves(Hierarchy h) -> IMP::atom::Hierarchies
10694 get_leaves(IMP::atom::Hierarchies const & h) -> IMP::atom::Hierarchies
10695 get_leaves(Selection h) -> IMP::atom::Hierarchies
10697 return _IMP_atom.get_leaves(*args)
10699 """Proxy of C++ IMP::atom::SelectionGeometry class."""
10701 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10703 def __init__(self, *args):
10705 __init__(IMP::atom::SelectionGeometry self, Selection d, std::string name) -> SelectionGeometry
10706 __init__(IMP::atom::SelectionGeometry self, Selection d) -> SelectionGeometry
10708 this = _IMP_atom.new_SelectionGeometry(*args)
10710 self.this.append(this)
10714 def get_version_info(self):
10715 """get_version_info(SelectionGeometry self) -> VersionInfo"""
10716 return _IMP_atom.SelectionGeometry_get_version_info(self)
10720 """__str__(SelectionGeometry self) -> std::string"""
10721 return _IMP_atom.SelectionGeometry___str__(self)
10724 def __repr__(self):
10725 """__repr__(SelectionGeometry self) -> std::string"""
10726 return _IMP_atom.SelectionGeometry___repr__(self)
10731 return _object_cast_to_SelectionGeometry(o)
10733 SelectionGeometry_swigregister = _IMP_atom.SelectionGeometry_swigregister
10734 SelectionGeometry_swigregister(SelectionGeometry)
10739 get_rmsd(IMP::core::XYZs const & s0, IMP::core::XYZs const & s1) -> double
10740 get_rmsd(Selection s0, Selection s1) -> double
10742 return _IMP_atom.get_rmsd(*args)
10746 get_rmsd_transforming_first(Transformation3D tr, IMP::core::XYZs const & s0, IMP::core::XYZs const & s1) -> double
10747 get_rmsd_transforming_first(Transformation3D tr, Selection s0, Selection s1) -> double
10749 return _IMP_atom.get_rmsd_transforming_first(*args)
10752 """get_placement_score(IMP::core::XYZs const & source, IMP::core::XYZs const & target) -> IMP::FloatPair"""
10753 return _IMP_atom.get_placement_score(source, target)
10756 """get_component_placement_score(IMP::core::XYZs const & ref1, IMP::core::XYZs const & ref2, IMP::core::XYZs const & mdl1, IMP::core::XYZs const & mdl2) -> IMP::FloatPair"""
10757 return _IMP_atom.get_component_placement_score(ref1, ref2, mdl1, mdl2)
10760 """get_pairwise_rmsd_score(IMP::core::XYZs const & ref1, IMP::core::XYZs const & ref2, IMP::core::XYZs const & mdl1, IMP::core::XYZs const & mdl2) -> double"""
10761 return _IMP_atom.get_pairwise_rmsd_score(ref1, ref2, mdl1, mdl2)
10765 get_radius_of_gyration(Selection s) -> double
10766 get_radius_of_gyration(IMP::ParticlesTemp const & ps) -> double
10768 return _IMP_atom.get_radius_of_gyration(*args)
10770 """Proxy of C++ IMP::atom::ForceFieldParameters class."""
10772 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10774 def __init__(self):
10775 """__init__(IMP::atom::ForceFieldParameters self) -> ForceFieldParameters"""
10776 this = _IMP_atom.new_ForceFieldParameters()
10778 self.this.append(this)
10782 def get_radius(self, atom):
10783 """get_radius(ForceFieldParameters self, Atom atom) -> IMP::Float"""
10784 return _IMP_atom.ForceFieldParameters_get_radius(self, atom)
10787 def get_epsilon(self, atom):
10788 """get_epsilon(ForceFieldParameters self, Atom atom) -> IMP::Float"""
10789 return _IMP_atom.ForceFieldParameters_get_epsilon(self, atom)
10794 add_radii(ForceFieldParameters self, Hierarchy mhd, double scale=1.0, FloatKey radius_key)
10795 add_radii(ForceFieldParameters self, Hierarchy mhd, double scale=1.0)
10796 add_radii(ForceFieldParameters self, Hierarchy mhd)
10798 return _IMP_atom.ForceFieldParameters_add_radii(self, *args)
10801 def add_well_depths(self, mhd):
10802 """add_well_depths(ForceFieldParameters self, Hierarchy mhd)"""
10803 return _IMP_atom.ForceFieldParameters_add_well_depths(self, mhd)
10807 """add_bonds(ForceFieldParameters self, Hierarchy mhd)"""
10808 return _IMP_atom.ForceFieldParameters_add_bonds(self, mhd)
10810 __swig_destroy__ = _IMP_atom.delete_ForceFieldParameters
10811 __del__ =
lambda self:
None
10814 """__str__(ForceFieldParameters self) -> std::string"""
10815 return _IMP_atom.ForceFieldParameters___str__(self)
10818 def __repr__(self):
10819 """__repr__(ForceFieldParameters self) -> std::string"""
10820 return _IMP_atom.ForceFieldParameters___repr__(self)
10825 return _object_cast_to_ForceFieldParameters(o)
10827 ForceFieldParameters_swigregister = _IMP_atom.ForceFieldParameters_swigregister
10828 ForceFieldParameters_swigregister(ForceFieldParameters)
10830 class CHARMMAtomTopology(object):
10831 """Proxy of C++ IMP::atom::CHARMMAtomTopology class."""
10833 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10835 def __init__(self, *args):
10837 __init__(IMP::atom::CHARMMAtomTopology self, std::string name) -> CHARMMAtomTopology
10838 __init__(IMP::atom::CHARMMAtomTopology self, std::string name, CHARMMAtomTopology other) -> CHARMMAtomTopology
10840 this = _IMP_atom.new_CHARMMAtomTopology(*args)
10842 self.this.append(this)
10846 def get_name(self):
10847 """get_name(CHARMMAtomTopology self) -> std::string"""
10848 return _IMP_atom.CHARMMAtomTopology_get_name(self)
10851 def get_charmm_type(self):
10852 """get_charmm_type(CHARMMAtomTopology self) -> std::string"""
10853 return _IMP_atom.CHARMMAtomTopology_get_charmm_type(self)
10856 def get_charge(self):
10857 """get_charge(CHARMMAtomTopology self) -> double"""
10858 return _IMP_atom.CHARMMAtomTopology_get_charge(self)
10861 def set_charmm_type(self, charmm_type):
10862 """set_charmm_type(CHARMMAtomTopology self, std::string charmm_type)"""
10863 return _IMP_atom.CHARMMAtomTopology_set_charmm_type(self, charmm_type)
10866 def set_charge(self, charge):
10867 """set_charge(CHARMMAtomTopology self, double charge)"""
10868 return _IMP_atom.CHARMMAtomTopology_set_charge(self, charge)
10871 def show(self, *args):
10873 show(CHARMMAtomTopology self, _ostream out)
10874 show(CHARMMAtomTopology self)
10876 return _IMP_atom.CHARMMAtomTopology_show(self, *args)
10880 """__str__(CHARMMAtomTopology self) -> std::string"""
10881 return _IMP_atom.CHARMMAtomTopology___str__(self)
10884 def __repr__(self):
10885 """__repr__(CHARMMAtomTopology self) -> std::string"""
10886 return _IMP_atom.CHARMMAtomTopology___repr__(self)
10888 __swig_destroy__ = _IMP_atom.delete_CHARMMAtomTopology
10889 __del__ =
lambda self:
None
10890 CHARMMAtomTopology_swigregister = _IMP_atom.CHARMMAtomTopology_swigregister
10891 CHARMMAtomTopology_swigregister(CHARMMAtomTopology)
10893 class CHARMMBondEndpoint(object):
10894 """Proxy of C++ IMP::atom::CHARMMBondEndpoint class."""
10896 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10898 def __init__(self, atom_name, residue=None):
10900 __init__(IMP::atom::CHARMMBondEndpoint self, std::string atom_name, CHARMMResidueTopology residue=None) -> CHARMMBondEndpoint
10901 __init__(IMP::atom::CHARMMBondEndpoint self, std::string atom_name) -> CHARMMBondEndpoint
10903 this = _IMP_atom.new_CHARMMBondEndpoint(atom_name, residue)
10905 self.this.append(this)
10909 def get_atom_name(self):
10910 """get_atom_name(CHARMMBondEndpoint self) -> std::string"""
10911 return _IMP_atom.CHARMMBondEndpoint_get_atom_name(self)
10914 def get_atom(self, current_residue, previous_residue, next_residue, resmap):
10915 """get_atom(CHARMMBondEndpoint self, CHARMMResidueTopology current_residue, CHARMMResidueTopology previous_residue, CHARMMResidueTopology next_residue, std::map< IMP::atom::CHARMMResidueTopology const *,IMP::atom::Hierarchy > const & resmap) -> Atom"""
10916 return _IMP_atom.CHARMMBondEndpoint_get_atom(self, current_residue, previous_residue, next_residue, resmap)
10919 def show(self, *args):
10921 show(CHARMMBondEndpoint self, _ostream out)
10922 show(CHARMMBondEndpoint self)
10924 return _IMP_atom.CHARMMBondEndpoint_show(self, *args)
10928 """__str__(CHARMMBondEndpoint self) -> std::string"""
10929 return _IMP_atom.CHARMMBondEndpoint___str__(self)
10932 def __repr__(self):
10933 """__repr__(CHARMMBondEndpoint self) -> std::string"""
10934 return _IMP_atom.CHARMMBondEndpoint___repr__(self)
10936 __swig_destroy__ = _IMP_atom.delete_CHARMMBondEndpoint
10937 __del__ =
lambda self:
None
10938 CHARMMBondEndpoint_swigregister = _IMP_atom.CHARMMBondEndpoint_swigregister
10939 CHARMMBondEndpoint_swigregister(CHARMMBondEndpoint)
10941 class CHARMMDihedral(object):
10942 """Proxy of C++ IMP::atom::CHARMMConnection<(4)> class."""
10944 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10945 __repr__ = _swig_repr
10947 def __init__(self, atoms):
10948 """__init__(IMP::atom::CHARMMConnection<(4)> self, IMP::Strings const & atoms) -> CHARMMDihedral"""
10949 this = _IMP_atom.new_CHARMMDihedral(atoms)
10951 self.this.append(this)
10955 def get_endpoint(self, i):
10956 """get_endpoint(CHARMMDihedral self, unsigned int i) -> CHARMMBondEndpoint"""
10957 return _IMP_atom.CHARMMDihedral_get_endpoint(self, i)
10960 def get_contains_atom(self, name):
10961 """get_contains_atom(CHARMMDihedral self, std::string name) -> bool"""
10962 return _IMP_atom.CHARMMDihedral_get_contains_atom(self, name)
10965 def show(self, *args):
10967 show(CHARMMDihedral self, _ostream out)
10968 show(CHARMMDihedral self)
10970 return _IMP_atom.CHARMMDihedral_show(self, *args)
10972 __swig_destroy__ = _IMP_atom.delete_CHARMMDihedral
10973 __del__ =
lambda self:
None
10974 CHARMMDihedral_swigregister = _IMP_atom.CHARMMDihedral_swigregister
10975 CHARMMDihedral_swigregister(CHARMMDihedral)
10977 class CHARMMInternalCoordinate(CHARMMDihedral):
10978 """Proxy of C++ IMP::atom::CHARMMInternalCoordinate class."""
10980 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10982 def __init__(self, *args):
10984 __init__(IMP::atom::CHARMMInternalCoordinate self, IMP::Strings const & atoms, float first_distance, float first_angle, float dihedral, float second_angle, float second_distance, bool improper) -> CHARMMInternalCoordinate
10985 __init__(IMP::atom::CHARMMInternalCoordinate self, IMP::Vector< IMP::atom::CHARMMBondEndpoint > const endpoints, float first_distance, float first_angle, float dihedral, float second_angle, float second_distance, bool improper) -> CHARMMInternalCoordinate
10987 this = _IMP_atom.new_CHARMMInternalCoordinate(*args)
10989 self.this.append(this)
10993 def get_first_distance(self):
10994 """get_first_distance(CHARMMInternalCoordinate self) -> float"""
10995 return _IMP_atom.CHARMMInternalCoordinate_get_first_distance(self)
10998 def get_second_distance(self):
10999 """get_second_distance(CHARMMInternalCoordinate self) -> float"""
11000 return _IMP_atom.CHARMMInternalCoordinate_get_second_distance(self)
11003 def get_first_angle(self):
11004 """get_first_angle(CHARMMInternalCoordinate self) -> float"""
11005 return _IMP_atom.CHARMMInternalCoordinate_get_first_angle(self)
11008 def get_second_angle(self):
11009 """get_second_angle(CHARMMInternalCoordinate self) -> float"""
11010 return _IMP_atom.CHARMMInternalCoordinate_get_second_angle(self)
11014 """get_dihedral(CHARMMInternalCoordinate self) -> float"""
11015 return _IMP_atom.CHARMMInternalCoordinate_get_dihedral(self)
11018 def get_improper(self):
11019 """get_improper(CHARMMInternalCoordinate self) -> bool"""
11020 return _IMP_atom.CHARMMInternalCoordinate_get_improper(self)
11023 def show(self, *args):
11025 show(CHARMMInternalCoordinate self, _ostream out)
11026 show(CHARMMInternalCoordinate self)
11028 return _IMP_atom.CHARMMInternalCoordinate_show(self, *args)
11032 """__str__(CHARMMInternalCoordinate self) -> std::string"""
11033 return _IMP_atom.CHARMMInternalCoordinate___str__(self)
11036 def __repr__(self):
11037 """__repr__(CHARMMInternalCoordinate self) -> std::string"""
11038 return _IMP_atom.CHARMMInternalCoordinate___repr__(self)
11040 __swig_destroy__ = _IMP_atom.delete_CHARMMInternalCoordinate
11041 __del__ =
lambda self:
None
11042 CHARMMInternalCoordinate_swigregister = _IMP_atom.CHARMMInternalCoordinate_swigregister
11043 CHARMMInternalCoordinate_swigregister(CHARMMInternalCoordinate)
11045 class CHARMMResidueTopologyBase(
IMP.Object):
11046 """Proxy of C++ IMP::atom::CHARMMResidueTopologyBase class."""
11048 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11050 def __init__(self, *args, **kwargs):
11051 raise AttributeError(
"No constructor defined")
11053 def get_type(self):
11054 """get_type(CHARMMResidueTopologyBase self) -> std::string"""
11055 return _IMP_atom.CHARMMResidueTopologyBase_get_type(self)
11058 def get_number_of_atoms(self):
11059 """get_number_of_atoms(CHARMMResidueTopologyBase self) -> unsigned int"""
11060 return _IMP_atom.CHARMMResidueTopologyBase_get_number_of_atoms(self)
11063 def add_atom(self, atom):
11064 """add_atom(CHARMMResidueTopologyBase self, CHARMMAtomTopology atom)"""
11065 return _IMP_atom.CHARMMResidueTopologyBase_add_atom(self, atom)
11070 get_atom(CHARMMResidueTopologyBase self, unsigned int i) -> CHARMMAtomTopology
11071 get_atom(CHARMMResidueTopologyBase self, AtomType type) -> CHARMMAtomTopology
11072 get_atom(CHARMMResidueTopologyBase self, std::string name) -> CHARMMAtomTopology
11074 return _IMP_atom.CHARMMResidueTopologyBase_get_atom(self, *args)
11077 def get_number_of_bonds(self):
11078 """get_number_of_bonds(CHARMMResidueTopologyBase self) -> unsigned int"""
11079 return _IMP_atom.CHARMMResidueTopologyBase_get_number_of_bonds(self)
11082 def add_bond(self, bond):
11083 """add_bond(CHARMMResidueTopologyBase self, IMP::atom::CHARMMBond const & bond)"""
11084 return _IMP_atom.CHARMMResidueTopologyBase_add_bond(self, bond)
11087 def get_number_of_angles(self):
11088 """get_number_of_angles(CHARMMResidueTopologyBase self) -> unsigned int"""
11089 return _IMP_atom.CHARMMResidueTopologyBase_get_number_of_angles(self)
11092 def add_angle(self, bond):
11093 """add_angle(CHARMMResidueTopologyBase self, IMP::atom::CHARMMAngle const & bond)"""
11094 return _IMP_atom.CHARMMResidueTopologyBase_add_angle(self, bond)
11097 def get_number_of_dihedrals(self):
11098 """get_number_of_dihedrals(CHARMMResidueTopologyBase self) -> unsigned int"""
11099 return _IMP_atom.CHARMMResidueTopologyBase_get_number_of_dihedrals(self)
11102 def add_dihedral(self, bond):
11103 """add_dihedral(CHARMMResidueTopologyBase self, CHARMMDihedral bond)"""
11104 return _IMP_atom.CHARMMResidueTopologyBase_add_dihedral(self, bond)
11107 def get_number_of_impropers(self):
11108 """get_number_of_impropers(CHARMMResidueTopologyBase self) -> unsigned int"""
11109 return _IMP_atom.CHARMMResidueTopologyBase_get_number_of_impropers(self)
11112 def add_improper(self, bond):
11113 """add_improper(CHARMMResidueTopologyBase self, CHARMMDihedral bond)"""
11114 return _IMP_atom.CHARMMResidueTopologyBase_add_improper(self, bond)
11117 def get_number_of_internal_coordinates(self):
11118 """get_number_of_internal_coordinates(CHARMMResidueTopologyBase self) -> unsigned int"""
11119 return _IMP_atom.CHARMMResidueTopologyBase_get_number_of_internal_coordinates(self)
11122 def add_internal_coordinate(self, ic):
11123 """add_internal_coordinate(CHARMMResidueTopologyBase self, CHARMMInternalCoordinate ic)"""
11124 return _IMP_atom.CHARMMResidueTopologyBase_add_internal_coordinate(self, ic)
11127 def get_internal_coordinate(self, index):
11128 """get_internal_coordinate(CHARMMResidueTopologyBase self, unsigned int index) -> CHARMMInternalCoordinate"""
11129 return _IMP_atom.CHARMMResidueTopologyBase_get_internal_coordinate(self, index)
11133 """get_bond(CHARMMResidueTopologyBase self, unsigned int index) -> IMP::atom::CHARMMBond const &"""
11134 return _IMP_atom.CHARMMResidueTopologyBase_get_bond(self, index)
11137 def get_angle(self, index):
11138 """get_angle(CHARMMResidueTopologyBase self, unsigned int index) -> IMP::atom::CHARMMAngle const &"""
11139 return _IMP_atom.CHARMMResidueTopologyBase_get_angle(self, index)
11143 """get_dihedral(CHARMMResidueTopologyBase self, unsigned int index) -> CHARMMDihedral"""
11144 return _IMP_atom.CHARMMResidueTopologyBase_get_dihedral(self, index)
11147 def get_improper(self, index):
11148 """get_improper(CHARMMResidueTopologyBase self, unsigned int index) -> CHARMMDihedral"""
11149 return _IMP_atom.CHARMMResidueTopologyBase_get_improper(self, index)
11152 def get_version_info(self):
11153 """get_version_info(CHARMMResidueTopologyBase self) -> VersionInfo"""
11154 return _IMP_atom.CHARMMResidueTopologyBase_get_version_info(self)
11158 """__str__(CHARMMResidueTopologyBase self) -> std::string"""
11159 return _IMP_atom.CHARMMResidueTopologyBase___str__(self)
11162 def __repr__(self):
11163 """__repr__(CHARMMResidueTopologyBase self) -> std::string"""
11164 return _IMP_atom.CHARMMResidueTopologyBase___repr__(self)
11169 return _object_cast_to_CHARMMResidueTopologyBase(o)
11171 CHARMMResidueTopologyBase_swigregister = _IMP_atom.CHARMMResidueTopologyBase_swigregister
11172 CHARMMResidueTopologyBase_swigregister(CHARMMResidueTopologyBase)
11174 class CHARMMIdealResidueTopology(CHARMMResidueTopologyBase):
11175 """Proxy of C++ IMP::atom::CHARMMIdealResidueTopology class."""
11177 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11179 def __init__(self, *args):
11181 __init__(IMP::atom::CHARMMIdealResidueTopology self, std::string type) -> CHARMMIdealResidueTopology
11182 __init__(IMP::atom::CHARMMIdealResidueTopology self, ResidueType type) -> CHARMMIdealResidueTopology
11184 this = _IMP_atom.new_CHARMMIdealResidueTopology(*args)
11186 self.this.append(this)
11190 def remove_atom(self, name):
11191 """remove_atom(CHARMMIdealResidueTopology self, std::string name)"""
11192 return _IMP_atom.CHARMMIdealResidueTopology_remove_atom(self, name)
11195 def set_default_first_patch(self, patch):
11196 """set_default_first_patch(CHARMMIdealResidueTopology self, std::string patch)"""
11197 return _IMP_atom.CHARMMIdealResidueTopology_set_default_first_patch(self, patch)
11200 def set_default_last_patch(self, patch):
11201 """set_default_last_patch(CHARMMIdealResidueTopology self, std::string patch)"""
11202 return _IMP_atom.CHARMMIdealResidueTopology_set_default_last_patch(self, patch)
11205 def get_default_first_patch(self):
11206 """get_default_first_patch(CHARMMIdealResidueTopology self) -> std::string"""
11207 return _IMP_atom.CHARMMIdealResidueTopology_get_default_first_patch(self)
11210 def get_default_last_patch(self):
11211 """get_default_last_patch(CHARMMIdealResidueTopology self) -> std::string"""
11212 return _IMP_atom.CHARMMIdealResidueTopology_get_default_last_patch(self)
11216 """__str__(CHARMMIdealResidueTopology self) -> std::string"""
11217 return _IMP_atom.CHARMMIdealResidueTopology___str__(self)
11220 def __repr__(self):
11221 """__repr__(CHARMMIdealResidueTopology self) -> std::string"""
11222 return _IMP_atom.CHARMMIdealResidueTopology___repr__(self)
11227 return _object_cast_to_CHARMMIdealResidueTopology(o)
11229 CHARMMIdealResidueTopology_swigregister = _IMP_atom.CHARMMIdealResidueTopology_swigregister
11230 CHARMMIdealResidueTopology_swigregister(CHARMMIdealResidueTopology)
11232 class CHARMMPatch(CHARMMResidueTopologyBase):
11233 """Proxy of C++ IMP::atom::CHARMMPatch class."""
11235 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11237 def __init__(self, type):
11238 """__init__(IMP::atom::CHARMMPatch self, std::string type) -> CHARMMPatch"""
11239 this = _IMP_atom.new_CHARMMPatch(type)
11241 self.this.append(this)
11245 def add_removed_atom(self, name):
11246 """add_removed_atom(CHARMMPatch self, std::string name)"""
11247 return _IMP_atom.CHARMMPatch_add_removed_atom(self, name)
11250 def get_number_of_removed_atoms(self):
11251 """get_number_of_removed_atoms(CHARMMPatch self) -> unsigned int"""
11252 return _IMP_atom.CHARMMPatch_get_number_of_removed_atoms(self)
11255 def get_removed_atom(self, i):
11256 """get_removed_atom(CHARMMPatch self, unsigned int i) -> std::string"""
11257 return _IMP_atom.CHARMMPatch_get_removed_atom(self, i)
11260 def apply(self, *args):
11262 apply(CHARMMPatch self, CHARMMResidueTopology res)
11263 apply(CHARMMPatch self, CHARMMResidueTopology res1, CHARMMResidueTopology res2)
11265 return _IMP_atom.CHARMMPatch_apply(self, *args)
11269 """__str__(CHARMMPatch self) -> std::string"""
11270 return _IMP_atom.CHARMMPatch___str__(self)
11273 def __repr__(self):
11274 """__repr__(CHARMMPatch self) -> std::string"""
11275 return _IMP_atom.CHARMMPatch___repr__(self)
11280 return _object_cast_to_CHARMMPatch(o)
11282 CHARMMPatch_swigregister = _IMP_atom.CHARMMPatch_swigregister
11283 CHARMMPatch_swigregister(CHARMMPatch)
11285 class CHARMMResidueTopology(CHARMMIdealResidueTopology):
11286 """Proxy of C++ IMP::atom::CHARMMResidueTopology class."""
11288 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11290 def __init__(self, *args):
11292 __init__(IMP::atom::CHARMMResidueTopology self, ResidueType type) -> CHARMMResidueTopology
11293 __init__(IMP::atom::CHARMMResidueTopology self, CHARMMIdealResidueTopology ideal) -> CHARMMResidueTopology
11295 this = _IMP_atom.new_CHARMMResidueTopology(*args)
11297 self.this.append(this)
11301 def get_patched(self):
11302 """get_patched(CHARMMResidueTopology self) -> bool"""
11303 return _IMP_atom.CHARMMResidueTopology_get_patched(self)
11306 def set_patched(self, patched):
11307 """set_patched(CHARMMResidueTopology self, bool patched)"""
11308 return _IMP_atom.CHARMMResidueTopology_set_patched(self, patched)
11312 """__str__(CHARMMResidueTopology self) -> std::string"""
11313 return _IMP_atom.CHARMMResidueTopology___str__(self)
11316 def __repr__(self):
11317 """__repr__(CHARMMResidueTopology self) -> std::string"""
11318 return _IMP_atom.CHARMMResidueTopology___repr__(self)
11323 return _object_cast_to_CHARMMResidueTopology(o)
11325 CHARMMResidueTopology_swigregister = _IMP_atom.CHARMMResidueTopology_swigregister
11326 CHARMMResidueTopology_swigregister(CHARMMResidueTopology)
11328 class CHARMMAtom(Atom):
11329 """Proxy of C++ IMP::atom::CHARMMAtom class."""
11331 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11333 def __init__(self, *args):
11335 __init__(IMP::atom::CHARMMAtom self) -> CHARMMAtom
11336 __init__(IMP::atom::CHARMMAtom self, Model m, ParticleIndex id) -> CHARMMAtom
11337 __init__(IMP::atom::CHARMMAtom self, _ParticleAdaptor d) -> CHARMMAtom
11339 this = _IMP_atom.new_CHARMMAtom(*args)
11341 self.this.append(this)
11345 def show(self, *args):
11347 show(CHARMMAtom self, _ostream out)
11348 show(CHARMMAtom self)
11350 return _IMP_atom.CHARMMAtom_show(self, *args)
11353 def setup_particle(*args):
11355 setup_particle(Model m, ParticleIndex pi, IMP::String charmm_type) -> CHARMMAtom
11356 setup_particle(_ParticleAdaptor decorator, IMP::String charmm_type) -> CHARMMAtom
11358 return _IMP_atom.CHARMMAtom_setup_particle(*args)
11360 setup_particle = staticmethod(setup_particle)
11362 def get_charmm_type(self):
11363 """get_charmm_type(CHARMMAtom self) -> IMP::String"""
11364 return _IMP_atom.CHARMMAtom_get_charmm_type(self)
11367 def set_charmm_type(self, t):
11368 """set_charmm_type(CHARMMAtom self, IMP::String t)"""
11369 return _IMP_atom.CHARMMAtom_set_charmm_type(self, t)
11372 def get_is_setup(*args):
11374 get_is_setup(_ParticleAdaptor p) -> bool
11375 get_is_setup(Model m, ParticleIndex pi) -> bool
11377 return _IMP_atom.CHARMMAtom_get_is_setup(*args)
11379 get_is_setup = staticmethod(get_is_setup)
11381 def get_charmm_type_key():
11382 """get_charmm_type_key() -> StringKey"""
11383 return _IMP_atom.CHARMMAtom_get_charmm_type_key()
11385 get_charmm_type_key = staticmethod(get_charmm_type_key)
11387 def add_attribute(self, *args):
11389 add_attribute(CHARMMAtom self, FloatKey k, IMP::Float v, bool opt)
11390 add_attribute(CHARMMAtom self, FloatKey a0, IMP::Float a1)
11391 add_attribute(CHARMMAtom self, IntKey a0, IMP::Int a1)
11392 add_attribute(CHARMMAtom self, StringKey a0, IMP::String a1)
11393 add_attribute(CHARMMAtom self, ParticleIndexKey a0, Particle a1)
11394 add_attribute(CHARMMAtom self, ObjectKey a0, Object a1)
11396 return _IMP_atom.CHARMMAtom_add_attribute(self, *args)
11399 def get_value(self, *args):
11401 get_value(CHARMMAtom self, FloatKey a0) -> IMP::Float
11402 get_value(CHARMMAtom self, IntKey a0) -> IMP::Int
11403 get_value(CHARMMAtom self, StringKey a0) -> IMP::String
11404 get_value(CHARMMAtom self, ParticleIndexKey a0) -> Particle
11405 get_value(CHARMMAtom self, ObjectKey a0) -> Object
11407 return _IMP_atom.CHARMMAtom_get_value(self, *args)
11410 def set_value(self, *args):
11412 set_value(CHARMMAtom self, FloatKey a0, IMP::Float a1)
11413 set_value(CHARMMAtom self, IntKey a0, IMP::Int a1)
11414 set_value(CHARMMAtom self, StringKey a0, IMP::String a1)
11415 set_value(CHARMMAtom self, ParticleIndexKey a0, Particle a1)
11416 set_value(CHARMMAtom self, ObjectKey a0, Object a1)
11418 return _IMP_atom.CHARMMAtom_set_value(self, *args)
11421 def remove_attribute(self, *args):
11423 remove_attribute(CHARMMAtom self, FloatKey a0)
11424 remove_attribute(CHARMMAtom self, IntKey a0)
11425 remove_attribute(CHARMMAtom self, StringKey a0)
11426 remove_attribute(CHARMMAtom self, ParticleIndexKey a0)
11427 remove_attribute(CHARMMAtom self, ObjectKey a0)
11429 return _IMP_atom.CHARMMAtom_remove_attribute(self, *args)
11432 def has_attribute(self, *args):
11434 has_attribute(CHARMMAtom self, FloatKey a0) -> bool
11435 has_attribute(CHARMMAtom self, IntKey a0) -> bool
11436 has_attribute(CHARMMAtom self, StringKey a0) -> bool
11437 has_attribute(CHARMMAtom self, ParticleIndexKey a0) -> bool
11438 has_attribute(CHARMMAtom self, ObjectKey a0) -> bool
11440 return _IMP_atom.CHARMMAtom_has_attribute(self, *args)
11443 def get_derivative(self, a0):
11444 """get_derivative(CHARMMAtom self, FloatKey a0) -> double"""
11445 return _IMP_atom.CHARMMAtom_get_derivative(self, a0)
11448 def get_name(self):
11449 """get_name(CHARMMAtom self) -> std::string"""
11450 return _IMP_atom.CHARMMAtom_get_name(self)
11453 def clear_caches(self):
11454 """clear_caches(CHARMMAtom self)"""
11455 return _IMP_atom.CHARMMAtom_clear_caches(self)
11458 def set_name(self, a0):
11459 """set_name(CHARMMAtom self, std::string a0)"""
11460 return _IMP_atom.CHARMMAtom_set_name(self, a0)
11464 """set_check_level(CHARMMAtom self, IMP::CheckLevel a0)"""
11465 return _IMP_atom.CHARMMAtom_set_check_level(self, a0)
11468 def add_to_derivative(self, a0, a1, a2):
11469 """add_to_derivative(CHARMMAtom self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
11470 return _IMP_atom.CHARMMAtom_add_to_derivative(self, a0, a1, a2)
11473 def set_is_optimized(self, a0, a1):
11474 """set_is_optimized(CHARMMAtom self, FloatKey a0, bool a1)"""
11475 return _IMP_atom.CHARMMAtom_set_is_optimized(self, a0, a1)
11478 def get_is_optimized(self, a0):
11479 """get_is_optimized(CHARMMAtom self, FloatKey a0) -> bool"""
11480 return _IMP_atom.CHARMMAtom_get_is_optimized(self, a0)
11484 """get_check_level(CHARMMAtom self) -> IMP::CheckLevel"""
11485 return _IMP_atom.CHARMMAtom_get_check_level(self)
11488 def __eq__(self, *args):
11490 __eq__(CHARMMAtom self, CHARMMAtom o) -> bool
11491 __eq__(CHARMMAtom self, Particle d) -> bool
11493 return _IMP_atom.CHARMMAtom___eq__(self, *args)
11496 def __ne__(self, *args):
11498 __ne__(CHARMMAtom self, CHARMMAtom o) -> bool
11499 __ne__(CHARMMAtom self, Particle d) -> bool
11501 return _IMP_atom.CHARMMAtom___ne__(self, *args)
11504 def __le__(self, *args):
11506 __le__(CHARMMAtom self, CHARMMAtom o) -> bool
11507 __le__(CHARMMAtom self, Particle d) -> bool
11509 return _IMP_atom.CHARMMAtom___le__(self, *args)
11512 def __lt__(self, *args):
11514 __lt__(CHARMMAtom self, CHARMMAtom o) -> bool
11515 __lt__(CHARMMAtom self, Particle d) -> bool
11517 return _IMP_atom.CHARMMAtom___lt__(self, *args)
11520 def __ge__(self, *args):
11522 __ge__(CHARMMAtom self, CHARMMAtom o) -> bool
11523 __ge__(CHARMMAtom self, Particle d) -> bool
11525 return _IMP_atom.CHARMMAtom___ge__(self, *args)
11528 def __gt__(self, *args):
11530 __gt__(CHARMMAtom self, CHARMMAtom o) -> bool
11531 __gt__(CHARMMAtom self, Particle d) -> bool
11533 return _IMP_atom.CHARMMAtom___gt__(self, *args)
11536 def __hash__(self):
11537 """__hash__(CHARMMAtom self) -> std::size_t"""
11538 return _IMP_atom.CHARMMAtom___hash__(self)
11542 """__str__(CHARMMAtom self) -> std::string"""
11543 return _IMP_atom.CHARMMAtom___str__(self)
11546 def __repr__(self):
11547 """__repr__(CHARMMAtom self) -> std::string"""
11548 return _IMP_atom.CHARMMAtom___repr__(self)
11550 __swig_destroy__ = _IMP_atom.delete_CHARMMAtom
11551 __del__ =
lambda self:
None
11552 CHARMMAtom_swigregister = _IMP_atom.CHARMMAtom_swigregister
11553 CHARMMAtom_swigregister(CHARMMAtom)
11555 def CHARMMAtom_setup_particle(*args):
11557 setup_particle(Model m, ParticleIndex pi, IMP::String charmm_type) -> CHARMMAtom
11558 CHARMMAtom_setup_particle(_ParticleAdaptor decorator, IMP::String charmm_type) -> CHARMMAtom
11560 return _IMP_atom.CHARMMAtom_setup_particle(*args)
11562 def CHARMMAtom_get_is_setup(*args):
11564 get_is_setup(_ParticleAdaptor p) -> bool
11565 CHARMMAtom_get_is_setup(Model m, ParticleIndex pi) -> bool
11567 return _IMP_atom.CHARMMAtom_get_is_setup(*args)
11569 def CHARMMAtom_get_charmm_type_key():
11570 """CHARMMAtom_get_charmm_type_key() -> StringKey"""
11571 return _IMP_atom.CHARMMAtom_get_charmm_type_key()
11575 """get_charmm_untyped_atoms(Hierarchy hierarchy) -> IMP::atom::Atoms"""
11576 return _IMP_atom.get_charmm_untyped_atoms(hierarchy)
11579 """remove_charmm_untyped_atoms(Hierarchy hierarchy)"""
11580 return _IMP_atom.remove_charmm_untyped_atoms(hierarchy)
11581 class CHARMMBondParameters(object):
11582 """Proxy of C++ IMP::atom::CHARMMBondParameters class."""
11584 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11585 force_constant = _swig_property(_IMP_atom.CHARMMBondParameters_force_constant_get, _IMP_atom.CHARMMBondParameters_force_constant_set)
11586 ideal = _swig_property(_IMP_atom.CHARMMBondParameters_ideal_get, _IMP_atom.CHARMMBondParameters_ideal_set)
11588 def __init__(self):
11589 """__init__(IMP::atom::CHARMMBondParameters self) -> CHARMMBondParameters"""
11590 this = _IMP_atom.new_CHARMMBondParameters()
11592 self.this.append(this)
11596 def show(self, *args):
11598 show(CHARMMBondParameters self, _ostream out)
11599 show(CHARMMBondParameters self)
11601 return _IMP_atom.CHARMMBondParameters_show(self, *args)
11605 """__str__(CHARMMBondParameters self) -> std::string"""
11606 return _IMP_atom.CHARMMBondParameters___str__(self)
11609 def __repr__(self):
11610 """__repr__(CHARMMBondParameters self) -> std::string"""
11611 return _IMP_atom.CHARMMBondParameters___repr__(self)
11613 __swig_destroy__ = _IMP_atom.delete_CHARMMBondParameters
11614 __del__ =
lambda self:
None
11615 CHARMMBondParameters_swigregister = _IMP_atom.CHARMMBondParameters_swigregister
11616 CHARMMBondParameters_swigregister(CHARMMBondParameters)
11618 class CHARMMDihedralParameters(object):
11619 """Proxy of C++ IMP::atom::CHARMMDihedralParameters class."""
11621 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11622 force_constant = _swig_property(_IMP_atom.CHARMMDihedralParameters_force_constant_get, _IMP_atom.CHARMMDihedralParameters_force_constant_set)
11623 multiplicity = _swig_property(_IMP_atom.CHARMMDihedralParameters_multiplicity_get, _IMP_atom.CHARMMDihedralParameters_multiplicity_set)
11624 ideal = _swig_property(_IMP_atom.CHARMMDihedralParameters_ideal_get, _IMP_atom.CHARMMDihedralParameters_ideal_set)
11626 def __init__(self):
11627 """__init__(IMP::atom::CHARMMDihedralParameters self) -> CHARMMDihedralParameters"""
11628 this = _IMP_atom.new_CHARMMDihedralParameters()
11630 self.this.append(this)
11634 def show(self, *args):
11636 show(CHARMMDihedralParameters self, _ostream out)
11637 show(CHARMMDihedralParameters self)
11639 return _IMP_atom.CHARMMDihedralParameters_show(self, *args)
11643 """__str__(CHARMMDihedralParameters self) -> std::string"""
11644 return _IMP_atom.CHARMMDihedralParameters___str__(self)
11647 def __repr__(self):
11648 """__repr__(CHARMMDihedralParameters self) -> std::string"""
11649 return _IMP_atom.CHARMMDihedralParameters___repr__(self)
11651 __swig_destroy__ = _IMP_atom.delete_CHARMMDihedralParameters
11652 __del__ =
lambda self:
None
11653 CHARMMDihedralParameters_swigregister = _IMP_atom.CHARMMDihedralParameters_swigregister
11654 CHARMMDihedralParameters_swigregister(CHARMMDihedralParameters)
11656 class CHARMMParameters(ForceFieldParameters):
11657 """Proxy of C++ IMP::atom::CHARMMParameters class."""
11659 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11661 def __init__(self, *args):
11663 __init__(IMP::atom::CHARMMParameters self, TextInput topology_file_name, TextInput par_file_name, bool translate_names_to_pdb=False) -> CHARMMParameters
11664 __init__(IMP::atom::CHARMMParameters self, TextInput topology_file_name, TextInput par_file_name) -> CHARMMParameters
11665 __init__(IMP::atom::CHARMMParameters self, TextInput topology_file_name) -> CHARMMParameters
11667 this = _IMP_atom.new_CHARMMParameters(*args)
11669 self.this.append(this)
11673 def add_residue_topology(self, res):
11674 """add_residue_topology(CHARMMParameters self, CHARMMIdealResidueTopology res)"""
11675 return _IMP_atom.CHARMMParameters_add_residue_topology(self, res)
11678 def get_residue_topology(self, type):
11679 """get_residue_topology(CHARMMParameters self, ResidueType type) -> CHARMMIdealResidueTopology"""
11680 return _IMP_atom.CHARMMParameters_get_residue_topology(self, type)
11683 def add_patch(self, patch):
11684 """add_patch(CHARMMParameters self, CHARMMPatch patch)"""
11685 return _IMP_atom.CHARMMParameters_add_patch(self, patch)
11688 def get_patch(self, name):
11689 """get_patch(CHARMMParameters self, std::string name) -> CHARMMPatch"""
11690 return _IMP_atom.CHARMMParameters_get_patch(self, name)
11693 def create_topology(self, hierarchy):
11694 """create_topology(CHARMMParameters self, Hierarchy hierarchy) -> CHARMMTopology"""
11695 return _IMP_atom.CHARMMParameters_create_topology(self, hierarchy)
11698 def get_bond_parameters(self, type1, type2):
11699 """get_bond_parameters(CHARMMParameters self, std::string type1, std::string type2) -> CHARMMBondParameters"""
11700 return _IMP_atom.CHARMMParameters_get_bond_parameters(self, type1, type2)
11703 def get_angle_parameters(self, type1, type2, type3):
11704 """get_angle_parameters(CHARMMParameters self, std::string type1, std::string type2, std::string type3) -> CHARMMBondParameters"""
11705 return _IMP_atom.CHARMMParameters_get_angle_parameters(self, type1, type2, type3)
11708 def get_dihedral_parameters(self, type1, type2, type3, type4):
11709 """get_dihedral_parameters(CHARMMParameters self, std::string type1, std::string type2, std::string type3, std::string type4) -> IMP::atom::CHARMMDihedralParametersList"""
11710 return _IMP_atom.CHARMMParameters_get_dihedral_parameters(self, type1, type2, type3, type4)
11713 def get_improper_parameters(self, type1, type2, type3, type4):
11714 """get_improper_parameters(CHARMMParameters self, std::string type1, std::string type2, std::string type3, std::string type4) -> CHARMMDihedralParameters"""
11715 return _IMP_atom.CHARMMParameters_get_improper_parameters(self, type1, type2, type3, type4)
11718 def create_angles(self, bonds):
11719 """create_angles(CHARMMParameters self, IMP::Particles bonds) -> IMP::Particles"""
11720 return _IMP_atom.CHARMMParameters_create_angles(self, bonds)
11723 def create_dihedrals(self, bonds):
11724 """create_dihedrals(CHARMMParameters self, IMP::Particles bonds) -> IMP::Particles"""
11725 return _IMP_atom.CHARMMParameters_create_dihedrals(self, bonds)
11728 def get_version_info(self):
11729 """get_version_info(CHARMMParameters self) -> VersionInfo"""
11730 return _IMP_atom.CHARMMParameters_get_version_info(self)
11734 """__str__(CHARMMParameters self) -> std::string"""
11735 return _IMP_atom.CHARMMParameters___str__(self)
11738 def __repr__(self):
11739 """__repr__(CHARMMParameters self) -> std::string"""
11740 return _IMP_atom.CHARMMParameters___repr__(self)
11745 return _object_cast_to_CHARMMParameters(o)
11747 CHARMMParameters_swigregister = _IMP_atom.CHARMMParameters_swigregister
11748 CHARMMParameters_swigregister(CHARMMParameters)
11752 """get_heavy_atom_CHARMM_parameters() -> CHARMMParameters"""
11753 return _IMP_atom.get_heavy_atom_CHARMM_parameters()
11756 """get_all_atom_CHARMM_parameters() -> CHARMMParameters"""
11757 return _IMP_atom.get_all_atom_CHARMM_parameters()
11759 """Proxy of C++ IMP::atom::CHARMMSegmentTopology class."""
11761 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11763 def remove_residue(self, d):
11764 """remove_residue(CHARMMSegmentTopology self, CHARMMResidueTopology d)"""
11765 return _IMP_atom.CHARMMSegmentTopology_remove_residue(self, d)
11768 def remove_residues(self, d):
11769 """remove_residues(CHARMMSegmentTopology self, IMP::atom::CHARMMResidueTopologies const & d)"""
11770 return _IMP_atom.CHARMMSegmentTopology_remove_residues(self, d)
11773 def set_residues(self, ps):
11774 """set_residues(CHARMMSegmentTopology self, IMP::atom::CHARMMResidueTopologies const & ps)"""
11775 return _IMP_atom.CHARMMSegmentTopology_set_residues(self, ps)
11778 def set_residues_order(self, objs):
11779 """set_residues_order(CHARMMSegmentTopology self, IMP::atom::CHARMMResidueTopologies const & objs)"""
11780 return _IMP_atom.CHARMMSegmentTopology_set_residues_order(self, objs)
11783 def add_residue(self, obj):
11784 """add_residue(CHARMMSegmentTopology self, CHARMMResidueTopology obj) -> unsigned int"""
11785 return _IMP_atom.CHARMMSegmentTopology_add_residue(self, obj)
11788 def add_residues(self, objs):
11789 """add_residues(CHARMMSegmentTopology self, IMP::atom::CHARMMResidueTopologies const & objs)"""
11790 return _IMP_atom.CHARMMSegmentTopology_add_residues(self, objs)
11793 def clear_residues(self):
11794 """clear_residues(CHARMMSegmentTopology self)"""
11795 return _IMP_atom.CHARMMSegmentTopology_clear_residues(self)
11798 def get_number_of_residues(self):
11799 """get_number_of_residues(CHARMMSegmentTopology self) -> unsigned int"""
11800 return _IMP_atom.CHARMMSegmentTopology_get_number_of_residues(self)
11803 def get_has_residues(self):
11804 """get_has_residues(CHARMMSegmentTopology self) -> bool"""
11805 return _IMP_atom.CHARMMSegmentTopology_get_has_residues(self)
11809 """get_residue(CHARMMSegmentTopology self, unsigned int i) -> CHARMMResidueTopology"""
11810 return _IMP_atom.CHARMMSegmentTopology_get_residue(self, i)
11813 def get_residues(self):
11814 """get_residues(CHARMMSegmentTopology self) -> IMP::atom::CHARMMResidueTopologies"""
11815 return _IMP_atom.CHARMMSegmentTopology_get_residues(self)
11818 def reserve_residues(self, sz):
11819 """reserve_residues(CHARMMSegmentTopology self, unsigned int sz)"""
11820 return _IMP_atom.CHARMMSegmentTopology_reserve_residues(self, sz)
11823 def get_version_info(self):
11824 """get_version_info(CHARMMSegmentTopology self) -> VersionInfo"""
11825 return _IMP_atom.CHARMMSegmentTopology_get_version_info(self)
11828 def __init__(self, *args):
11830 __init__(IMP::atom::CHARMMSegmentTopology self, std::string name) -> CHARMMSegmentTopology
11831 __init__(IMP::atom::CHARMMSegmentTopology self) -> CHARMMSegmentTopology
11833 this = _IMP_atom.new_CHARMMSegmentTopology(*args)
11835 self.this.append(this)
11839 def apply_default_patches(self, ff):
11840 """apply_default_patches(CHARMMSegmentTopology self, CHARMMParameters ff)"""
11841 return _IMP_atom.CHARMMSegmentTopology_apply_default_patches(self, ff)
11845 """__str__(CHARMMSegmentTopology self) -> std::string"""
11846 return _IMP_atom.CHARMMSegmentTopology___str__(self)
11849 def __repr__(self):
11850 """__repr__(CHARMMSegmentTopology self) -> std::string"""
11851 return _IMP_atom.CHARMMSegmentTopology___repr__(self)
11856 return _object_cast_to_CHARMMSegmentTopology(o)
11858 CHARMMSegmentTopology_swigregister = _IMP_atom.CHARMMSegmentTopology_swigregister
11859 CHARMMSegmentTopology_swigregister(CHARMMSegmentTopology)
11862 """Proxy of C++ IMP::atom::CHARMMTopology class."""
11864 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11866 def __init__(self, *args):
11868 __init__(IMP::atom::CHARMMTopology self, CHARMMParameters force_field, std::string name) -> CHARMMTopology
11869 __init__(IMP::atom::CHARMMTopology self, CHARMMParameters force_field) -> CHARMMTopology
11871 this = _IMP_atom.new_CHARMMTopology(*args)
11873 self.this.append(this)
11877 def get_parameters(self):
11878 """get_parameters(CHARMMTopology self) -> CHARMMParameters"""
11879 return _IMP_atom.CHARMMTopology_get_parameters(self)
11882 def add_sequence(self, sequence):
11883 """add_sequence(CHARMMTopology self, std::string sequence)"""
11884 return _IMP_atom.CHARMMTopology_add_sequence(self, sequence)
11887 def apply_default_patches(self):
11888 """apply_default_patches(CHARMMTopology self)"""
11889 return _IMP_atom.CHARMMTopology_apply_default_patches(self)
11892 def create_hierarchy(self, model):
11893 """create_hierarchy(CHARMMTopology self, Model model) -> Hierarchy"""
11894 return _IMP_atom.CHARMMTopology_create_hierarchy(self, model)
11897 def add_atom_types(self, hierarchy):
11898 """add_atom_types(CHARMMTopology self, Hierarchy hierarchy)"""
11899 return _IMP_atom.CHARMMTopology_add_atom_types(self, hierarchy)
11902 def add_coordinates(self, hierarchy):
11903 """add_coordinates(CHARMMTopology self, Hierarchy hierarchy)"""
11904 return _IMP_atom.CHARMMTopology_add_coordinates(self, hierarchy)
11907 def add_missing_atoms(self, hierarchy):
11908 """add_missing_atoms(CHARMMTopology self, Hierarchy hierarchy)"""
11909 return _IMP_atom.CHARMMTopology_add_missing_atoms(self, hierarchy)
11912 def setup_hierarchy(self, hierarchy):
11913 """setup_hierarchy(CHARMMTopology self, Hierarchy hierarchy)"""
11914 return _IMP_atom.CHARMMTopology_setup_hierarchy(self, hierarchy)
11917 def add_charges(self, hierarchy):
11918 """add_charges(CHARMMTopology self, Hierarchy hierarchy)"""
11919 return _IMP_atom.CHARMMTopology_add_charges(self, hierarchy)
11923 """add_bonds(CHARMMTopology self, Hierarchy hierarchy) -> IMP::Particles"""
11924 return _IMP_atom.CHARMMTopology_add_bonds(self, hierarchy)
11927 def add_dihedrals(self, hierarchy):
11928 """add_dihedrals(CHARMMTopology self, Hierarchy hierarchy) -> IMP::Particles"""
11929 return _IMP_atom.CHARMMTopology_add_dihedrals(self, hierarchy)
11932 def add_impropers(self, hierarchy):
11933 """add_impropers(CHARMMTopology self, Hierarchy hierarchy) -> IMP::Particles"""
11934 return _IMP_atom.CHARMMTopology_add_impropers(self, hierarchy)
11937 def remove_segment(self, d):
11938 """remove_segment(CHARMMTopology self, CHARMMSegmentTopology d)"""
11939 return _IMP_atom.CHARMMTopology_remove_segment(self, d)
11942 def remove_segments(self, d):
11943 """remove_segments(CHARMMTopology self, IMP::atom::CHARMMSegmentTopologies const & d)"""
11944 return _IMP_atom.CHARMMTopology_remove_segments(self, d)
11947 def set_segments(self, ps):
11948 """set_segments(CHARMMTopology self, IMP::atom::CHARMMSegmentTopologies const & ps)"""
11949 return _IMP_atom.CHARMMTopology_set_segments(self, ps)
11952 def set_segments_order(self, objs):
11953 """set_segments_order(CHARMMTopology self, IMP::atom::CHARMMSegmentTopologies const & objs)"""
11954 return _IMP_atom.CHARMMTopology_set_segments_order(self, objs)
11957 def add_segment(self, obj):
11958 """add_segment(CHARMMTopology self, CHARMMSegmentTopology obj) -> unsigned int"""
11959 return _IMP_atom.CHARMMTopology_add_segment(self, obj)
11962 def add_segments(self, objs):
11963 """add_segments(CHARMMTopology self, IMP::atom::CHARMMSegmentTopologies const & objs)"""
11964 return _IMP_atom.CHARMMTopology_add_segments(self, objs)
11967 def clear_segments(self):
11968 """clear_segments(CHARMMTopology self)"""
11969 return _IMP_atom.CHARMMTopology_clear_segments(self)
11972 def get_number_of_segments(self):
11973 """get_number_of_segments(CHARMMTopology self) -> unsigned int"""
11974 return _IMP_atom.CHARMMTopology_get_number_of_segments(self)
11977 def get_has_segments(self):
11978 """get_has_segments(CHARMMTopology self) -> bool"""
11979 return _IMP_atom.CHARMMTopology_get_has_segments(self)
11983 """get_segment(CHARMMTopology self, unsigned int i) -> CHARMMSegmentTopology"""
11984 return _IMP_atom.CHARMMTopology_get_segment(self, i)
11987 def get_segments(self):
11988 """get_segments(CHARMMTopology self) -> IMP::atom::CHARMMSegmentTopologies"""
11989 return _IMP_atom.CHARMMTopology_get_segments(self)
11992 def reserve_segments(self, sz):
11993 """reserve_segments(CHARMMTopology self, unsigned int sz)"""
11994 return _IMP_atom.CHARMMTopology_reserve_segments(self, sz)
11997 def get_version_info(self):
11998 """get_version_info(CHARMMTopology self) -> VersionInfo"""
11999 return _IMP_atom.CHARMMTopology_get_version_info(self)
12003 """__str__(CHARMMTopology self) -> std::string"""
12004 return _IMP_atom.CHARMMTopology___str__(self)
12007 def __repr__(self):
12008 """__repr__(CHARMMTopology self) -> std::string"""
12009 return _IMP_atom.CHARMMTopology___repr__(self)
12014 return _object_cast_to_CHARMMTopology(o)
12016 CHARMMTopology_swigregister = _IMP_atom.CHARMMTopology_swigregister
12017 CHARMMTopology_swigregister(CHARMMTopology)
12020 """Proxy of C++ IMP::atom::CHARMMStereochemistryRestraint class."""
12022 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12024 def __init__(self, *args):
12026 __init__(IMP::atom::CHARMMStereochemistryRestraint self, Hierarchy h, CHARMMTopology topology) -> CHARMMStereochemistryRestraint
12027 __init__(IMP::atom::CHARMMStereochemistryRestraint self, Hierarchy h, CHARMMTopology topology, IMP::ParticlesTemp limit_to_these_particles) -> CHARMMStereochemistryRestraint
12029 this = _IMP_atom.new_CHARMMStereochemistryRestraint(*args)
12031 self.this.append(this)
12035 def get_pair_filter(self):
12036 """get_pair_filter(CHARMMStereochemistryRestraint self) -> StereochemistryPairFilter"""
12037 return _IMP_atom.CHARMMStereochemistryRestraint_get_pair_filter(self)
12040 def get_full_pair_filter(self):
12041 """get_full_pair_filter(CHARMMStereochemistryRestraint self) -> StereochemistryPairFilter"""
12042 return _IMP_atom.CHARMMStereochemistryRestraint_get_full_pair_filter(self)
12045 def do_get_inputs(self):
12046 """do_get_inputs(CHARMMStereochemistryRestraint self) -> IMP::ModelObjectsTemp"""
12047 return _IMP_atom.CHARMMStereochemistryRestraint_do_get_inputs(self)
12050 def get_version_info(self):
12051 """get_version_info(CHARMMStereochemistryRestraint self) -> VersionInfo"""
12052 return _IMP_atom.CHARMMStereochemistryRestraint_get_version_info(self)
12056 """__str__(CHARMMStereochemistryRestraint self) -> std::string"""
12057 return _IMP_atom.CHARMMStereochemistryRestraint___str__(self)
12060 def __repr__(self):
12061 """__repr__(CHARMMStereochemistryRestraint self) -> std::string"""
12062 return _IMP_atom.CHARMMStereochemistryRestraint___repr__(self)
12067 return _object_cast_to_CHARMMStereochemistryRestraint(o)
12069 CHARMMStereochemistryRestraint_swigregister = _IMP_atom.CHARMMStereochemistryRestraint_swigregister
12070 CHARMMStereochemistryRestraint_swigregister(CHARMMStereochemistryRestraint)
12075 add_bonds(Hierarchy d, ForceFieldParameters ffp)
12076 add_bonds(Hierarchy d)
12078 return _IMP_atom.add_bonds(*args)
12082 add_radii(Hierarchy d, ForceFieldParameters ffp, FloatKey radius_key)
12083 add_radii(Hierarchy d, ForceFieldParameters ffp)
12084 add_radii(Hierarchy d)
12086 return _IMP_atom.add_radii(*args)
12088 _IMP_atom.ALBER_swigconstant(_IMP_atom)
12089 ALBER = _IMP_atom.ALBER
12091 _IMP_atom.HARPAZ_swigconstant(_IMP_atom)
12092 HARPAZ = _IMP_atom.HARPAZ
12094 _IMP_atom.ANDERSSON_swigconstant(_IMP_atom)
12095 ANDERSSON = _IMP_atom.ANDERSSON
12097 _IMP_atom.TSAI_swigconstant(_IMP_atom)
12098 TSAI = _IMP_atom.TSAI
12100 _IMP_atom.QUILLIN_swigconstant(_IMP_atom)
12101 QUILLIN = _IMP_atom.QUILLIN
12103 _IMP_atom.SQUIRE_swigconstant(_IMP_atom)
12104 SQUIRE = _IMP_atom.SQUIRE
12107 """get_protein_density_from_reference(IMP::atom::ProteinDensityReference densityReference) -> double"""
12108 return _IMP_atom.get_protein_density_from_reference(densityReference)
12112 get_volume_from_mass(double m, IMP::atom::ProteinDensityReference ref) -> double
12113 get_volume_from_mass(double m) -> double
12115 return _IMP_atom.get_volume_from_mass(*args)
12119 get_mass_from_volume(double v, IMP::atom::ProteinDensityReference ref) -> double
12120 get_mass_from_volume(double v) -> double
12122 return _IMP_atom.get_mass_from_volume(*args)
12125 """get_mass_from_number_of_residues(unsigned int num_aa) -> double"""
12126 return _IMP_atom.get_mass_from_number_of_residues(num_aa)
12129 """get_volume_from_residue_type(ResidueType rt) -> double"""
12130 return _IMP_atom.get_volume_from_residue_type(rt)
12133 """get_molarity(double n, double volume) -> double"""
12134 return _IMP_atom.get_molarity(n, volume)
12136 def get_kd(na, nb, nab, volume):
12137 """get_kd(double na, double nb, double nab, double volume) -> double"""
12138 return _IMP_atom.get_kd(na, nb, nab, volume)
12141 """get_einstein_diffusion_coefficient(double r) -> double"""
12142 return _IMP_atom.get_einstein_diffusion_coefficient(r)
12145 """get_einstein_rotational_diffusion_coefficient(double r) -> double"""
12146 return _IMP_atom.get_einstein_rotational_diffusion_coefficient(r)
12150 get_diffusion_length(double D, double t) -> double
12151 get_diffusion_length(double D, double force, double t, double temp=273) -> double
12152 get_diffusion_length(double D, double force, double t) -> double
12154 return _IMP_atom.get_diffusion_length(*args)
12157 """get_diffusion_angle(double D, double dtfs) -> double"""
12158 return _IMP_atom.get_diffusion_angle(D, dtfs)
12161 """get_diffusion_coefficient(IMP::algebra::Vector3Ds const & displacements, double dt) -> double"""
12162 return _IMP_atom.get_diffusion_coefficient(displacements, dt)
12165 """get_rotational_diffusion_coefficient(IMP::algebra::Rotation3Ds const & displacements, double dt) -> double"""
12166 return _IMP_atom.get_rotational_diffusion_coefficient(displacements, dt)
12168 """Proxy of C++ IMP::atom::EzRestraint class."""
12170 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12172 def __init__(self, m, ps):
12173 """__init__(IMP::atom::EzRestraint self, Model m, _ParticleIndexesAdaptor ps) -> EzRestraint"""
12174 this = _IMP_atom.new_EzRestraint(m, ps)
12176 self.this.append(this)
12180 def get_version_info(self):
12181 """get_version_info(EzRestraint self) -> VersionInfo"""
12182 return _IMP_atom.EzRestraint_get_version_info(self)
12186 """__str__(EzRestraint self) -> std::string"""
12187 return _IMP_atom.EzRestraint___str__(self)
12190 def __repr__(self):
12191 """__repr__(EzRestraint self) -> std::string"""
12192 return _IMP_atom.EzRestraint___repr__(self)
12197 return _object_cast_to_EzRestraint(o)
12199 EzRestraint_swigregister = _IMP_atom.EzRestraint_swigregister
12200 EzRestraint_swigregister(EzRestraint)
12205 create_protein(Model m, std::string name, double target_radius, int number_of_residues, int first_residue_index=0, double volume=-1, bool ismol=True) -> Hierarchy
12206 create_protein(Model m, std::string name, double target_radius, int number_of_residues, int first_residue_index=0, double volume=-1) -> Hierarchy
12207 create_protein(Model m, std::string name, double target_radius, int number_of_residues, int first_residue_index=0) -> Hierarchy
12208 create_protein(Model m, std::string name, double target_radius, int number_of_residues) -> Hierarchy
12209 create_protein(Model m, std::string name, double target_radius, IMP::Ints const domain_boundaries) -> Hierarchy
12211 return _IMP_atom.create_protein(*args)
12215 create_simplified_along_backbone(Hierarchy input, int num_res, bool keep_detailed=False) -> Hierarchy
12216 create_simplified_along_backbone(Hierarchy input, int num_res) -> Hierarchy
12217 create_simplified_along_backbone(Chain input, IMP::IntRanges const & residue_segments, bool keep_detailed=False) -> Hierarchy
12218 create_simplified_along_backbone(Chain input, IMP::IntRanges const & residue_segments) -> Hierarchy
12220 return _IMP_atom.create_simplified_along_backbone(*args)
12223 """create_simplified_from_volume(Hierarchy h, double resolution) -> Hierarchy"""
12224 return _IMP_atom.create_simplified_from_volume(h, resolution)
12227 """create_simplified_assembly_from_volume(Hierarchy h, double resolution) -> Hierarchy"""
12228 return _IMP_atom.create_simplified_assembly_from_volume(h, resolution)
12230 def get_residue_indexes(h):
12231 """get_residue_indexes(Hierarchy h) -> IMP::Ints"""
12232 return _IMP_atom.get_residue_indexes(h)
12234 def get_residue_type(*args):
12236 get_residue_type(char c) -> ResidueType
12237 get_residue_type(Hierarchy h) -> ResidueType
12239 return _IMP_atom.get_residue_type(*args)
12241 def get_atom_type(h):
12242 """get_atom_type(Hierarchy h) -> AtomType"""
12243 return _IMP_atom.get_atom_type(h)
12245 def get_domain_name(h):
12246 """get_domain_name(Hierarchy h) -> std::string"""
12247 return _IMP_atom.get_domain_name(h)
12251 create_excluded_volume_restraint(IMP::atom::Selections const & s) -> Restraint
12252 create_excluded_volume_restraint(IMP::atom::Hierarchies const & hs, double resolution=-1) -> Restraint
12253 create_excluded_volume_restraint(IMP::atom::Hierarchies const & hs) -> Restraint
12255 return _IMP_atom.create_excluded_volume_restraint(*args)
12259 setup_as_approximation(Particle h, IMP::ParticlesTemp const & other, double resolution=-1)
12260 setup_as_approximation(Particle h, IMP::ParticlesTemp const & other)
12261 setup_as_approximation(Hierarchy h, double resolution=-1)
12262 setup_as_approximation(Hierarchy h)
12264 return _IMP_atom.setup_as_approximation(*args)
12265 class _HierarchyTreeVertexIndex(object):
12266 """Proxy of C++ IMP::atom::HierarchyTreeVertexIndex class."""
12268 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12269 __repr__ = _swig_repr
12271 def __init__(self):
12272 """__init__(IMP::atom::HierarchyTreeVertexIndex self) -> _HierarchyTreeVertexIndex"""
12273 this = _IMP_atom.new__HierarchyTreeVertexIndex()
12275 self.this.append(this)
12278 __swig_destroy__ = _IMP_atom.delete__HierarchyTreeVertexIndex
12279 __del__ =
lambda self:
None
12280 _HierarchyTreeVertexIndex_swigregister = _IMP_atom._HierarchyTreeVertexIndex_swigregister
12281 _HierarchyTreeVertexIndex_swigregister(_HierarchyTreeVertexIndex)
12284 def show_as_graphviz(name, out):
12285 """show_as_graphviz(IMP::atom::HierarchyTree const & name, TextOutput out)"""
12286 return _IMP_atom.show_as_graphviz(name, out)
12288 def get_vertex_index(g):
12289 """get_vertex_index(IMP::atom::HierarchyTree const & g) -> _HierarchyTreeVertexIndex"""
12290 return _IMP_atom.get_vertex_index(g)
12293 """get_hierarchy_tree(Hierarchy h) -> IMP::atom::HierarchyTree"""
12294 return _IMP_atom.get_hierarchy_tree(h)
12296 """Proxy of C++ IMP::atom::HierarchyGeometry class."""
12298 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12300 def __init__(self, d, resolution=0):
12302 __init__(IMP::atom::HierarchyGeometry self, Hierarchy d, double resolution=0) -> HierarchyGeometry
12303 __init__(IMP::atom::HierarchyGeometry self, Hierarchy d) -> HierarchyGeometry
12305 this = _IMP_atom.new_HierarchyGeometry(d, resolution)
12307 self.this.append(this)
12311 def get_version_info(self):
12312 """get_version_info(HierarchyGeometry self) -> VersionInfo"""
12313 return _IMP_atom.HierarchyGeometry_get_version_info(self)
12317 """__str__(HierarchyGeometry self) -> std::string"""
12318 return _IMP_atom.HierarchyGeometry___str__(self)
12321 def __repr__(self):
12322 """__repr__(HierarchyGeometry self) -> std::string"""
12323 return _IMP_atom.HierarchyGeometry___repr__(self)
12328 return _object_cast_to_HierarchyGeometry(o)
12330 HierarchyGeometry_swigregister = _IMP_atom.HierarchyGeometry_swigregister
12331 HierarchyGeometry_swigregister(HierarchyGeometry)
12334 """Proxy of C++ IMP::atom::HierarchiesGeometry class."""
12336 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12338 def __init__(self, sc, resolution=-1):
12340 __init__(IMP::atom::HierarchiesGeometry self, SingletonContainer sc, double resolution=-1) -> HierarchiesGeometry
12341 __init__(IMP::atom::HierarchiesGeometry self, SingletonContainer sc) -> HierarchiesGeometry
12343 this = _IMP_atom.new_HierarchiesGeometry(sc, resolution)
12345 self.this.append(this)
12349 def get_version_info(self):
12350 """get_version_info(HierarchiesGeometry self) -> VersionInfo"""
12351 return _IMP_atom.HierarchiesGeometry_get_version_info(self)
12355 """__str__(HierarchiesGeometry self) -> std::string"""
12356 return _IMP_atom.HierarchiesGeometry___str__(self)
12359 def __repr__(self):
12360 """__repr__(HierarchiesGeometry self) -> std::string"""
12361 return _IMP_atom.HierarchiesGeometry___repr__(self)
12366 return _object_cast_to_HierarchiesGeometry(o)
12368 HierarchiesGeometry_swigregister = _IMP_atom.HierarchiesGeometry_swigregister
12369 HierarchiesGeometry_swigregister(HierarchiesGeometry)
12374 transform(Hierarchy h, Transformation3D tr)
12375 transform(Hierarchy h, Transformation3D tr)
12377 return _IMP_atom.transform(*args)
12378 class DopePairScore(_ADopeBase):
12379 """Proxy of C++ IMP::atom::DopePairScore class."""
12381 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12383 def __init__(self, *args):
12385 __init__(IMP::atom::DopePairScore self, double threshold) -> DopePairScore
12386 __init__(IMP::atom::DopePairScore self) -> DopePairScore
12387 __init__(IMP::atom::DopePairScore self, double threshold, TextInput data_file) -> DopePairScore
12389 this = _IMP_atom.new_DopePairScore(*args)
12391 self.this.append(this)
12396 """__str__(DopePairScore self) -> std::string"""
12397 return _IMP_atom.DopePairScore___str__(self)
12400 def __repr__(self):
12401 """__repr__(DopePairScore self) -> std::string"""
12402 return _IMP_atom.DopePairScore___repr__(self)
12407 return _object_cast_to_DopePairScore(o)
12409 __swig_destroy__ = _IMP_atom.delete_DopePairScore
12410 __del__ =
lambda self:
None
12411 DopePairScore_swigregister = _IMP_atom.DopePairScore_swigregister
12412 DopePairScore_swigregister(DopePairScore)
12416 """add_dope_score_data(Hierarchy h)"""
12417 return _IMP_atom.add_dope_score_data(h)
12418 class OrientedSoapPairScore(_OrientedSoapBase):
12419 """Proxy of C++ IMP::atom::OrientedSoapPairScore class."""
12421 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12423 def __init__(self, library):
12424 """__init__(IMP::atom::OrientedSoapPairScore self, std::string library) -> OrientedSoapPairScore"""
12425 this = _IMP_atom.new_OrientedSoapPairScore(library)
12427 self.this.append(this)
12431 def get_pair_filter(self):
12432 """get_pair_filter(OrientedSoapPairScore self) -> SoapPairFilter"""
12433 return _IMP_atom.OrientedSoapPairScore_get_pair_filter(self)
12437 """__str__(OrientedSoapPairScore self) -> std::string"""
12438 return _IMP_atom.OrientedSoapPairScore___str__(self)
12441 def __repr__(self):
12442 """__repr__(OrientedSoapPairScore self) -> std::string"""
12443 return _IMP_atom.OrientedSoapPairScore___repr__(self)
12448 return _object_cast_to_OrientedSoapPairScore(o)
12450 __swig_destroy__ = _IMP_atom.delete_OrientedSoapPairScore
12451 __del__ =
lambda self:
None
12452 OrientedSoapPairScore_swigregister = _IMP_atom.OrientedSoapPairScore_swigregister
12453 OrientedSoapPairScore_swigregister(OrientedSoapPairScore)
12456 """Proxy of C++ IMP::atom::SameResiduePairFilter class."""
12458 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12460 def __init__(self):
12461 """__init__(IMP::atom::SameResiduePairFilter self) -> SameResiduePairFilter"""
12462 this = _IMP_atom.new_SameResiduePairFilter()
12464 self.this.append(this)
12468 def do_get_inputs(self, m, pis):
12469 """do_get_inputs(SameResiduePairFilter self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
12470 return _IMP_atom.SameResiduePairFilter_do_get_inputs(self, m, pis)
12473 def get_value(self, *args):
12475 get_value(SameResiduePairFilter self, IMP::ParticlePair const & a) -> int
12476 get_value(SameResiduePairFilter self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
12478 return _IMP_atom.SameResiduePairFilter_get_value(self, *args)
12481 def get_value_index(self, *args):
12483 get_value_index(SameResiduePairFilter self, Model m, IMP::ParticleIndexPair const & p) -> int
12484 get_value_index(SameResiduePairFilter self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
12486 return _IMP_atom.SameResiduePairFilter_get_value_index(self, *args)
12489 def get_version_info(self):
12490 """get_version_info(SameResiduePairFilter self) -> VersionInfo"""
12491 return _IMP_atom.SameResiduePairFilter_get_version_info(self)
12495 """__str__(SameResiduePairFilter self) -> std::string"""
12496 return _IMP_atom.SameResiduePairFilter___str__(self)
12499 def __repr__(self):
12500 """__repr__(SameResiduePairFilter self) -> std::string"""
12501 return _IMP_atom.SameResiduePairFilter___repr__(self)
12506 return _object_cast_to_SameResiduePairFilter(o)
12508 SameResiduePairFilter_swigregister = _IMP_atom.SameResiduePairFilter_swigregister
12509 SameResiduePairFilter_swigregister(SameResiduePairFilter)
12512 """Proxy of C++ IMP::atom::RemoveRigidMotionOptimizerState class."""
12514 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12516 def __init__(self, m, pis):
12517 """__init__(IMP::atom::RemoveRigidMotionOptimizerState self, Model m, _ParticleIndexesAdaptor pis) -> RemoveRigidMotionOptimizerState"""
12518 this = _IMP_atom.new_RemoveRigidMotionOptimizerState(m, pis)
12520 self.this.append(this)
12524 def set_particles(self, pis):
12525 """set_particles(RemoveRigidMotionOptimizerState self, IMP::Particles const & pis)"""
12526 return _IMP_atom.RemoveRigidMotionOptimizerState_set_particles(self, pis)
12529 def remove_rigid_motion(self):
12530 """remove_rigid_motion(RemoveRigidMotionOptimizerState self)"""
12531 return _IMP_atom.RemoveRigidMotionOptimizerState_remove_rigid_motion(self)
12534 def get_version_info(self):
12535 """get_version_info(RemoveRigidMotionOptimizerState self) -> VersionInfo"""
12536 return _IMP_atom.RemoveRigidMotionOptimizerState_get_version_info(self)
12540 """__str__(RemoveRigidMotionOptimizerState self) -> std::string"""
12541 return _IMP_atom.RemoveRigidMotionOptimizerState___str__(self)
12544 def __repr__(self):
12545 """__repr__(RemoveRigidMotionOptimizerState self) -> std::string"""
12546 return _IMP_atom.RemoveRigidMotionOptimizerState___repr__(self)
12551 return _object_cast_to_RemoveRigidMotionOptimizerState(o)
12553 RemoveRigidMotionOptimizerState_swigregister = _IMP_atom.RemoveRigidMotionOptimizerState_swigregister
12554 RemoveRigidMotionOptimizerState_swigregister(RemoveRigidMotionOptimizerState)
12557 """Proxy of C++ IMP::atom::BerendsenThermostatOptimizerState class."""
12559 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12561 def __init__(self, pis, temperature, tau):
12562 """__init__(IMP::atom::BerendsenThermostatOptimizerState self, IMP::Particles const & pis, double temperature, double tau) -> BerendsenThermostatOptimizerState"""
12563 this = _IMP_atom.new_BerendsenThermostatOptimizerState(pis, temperature, tau)
12565 self.this.append(this)
12569 def set_particles(self, pis):
12570 """set_particles(BerendsenThermostatOptimizerState self, IMP::Particles const & pis)"""
12571 return _IMP_atom.BerendsenThermostatOptimizerState_set_particles(self, pis)
12574 def get_temperature(self):
12575 """get_temperature(BerendsenThermostatOptimizerState self) -> double"""
12576 return _IMP_atom.BerendsenThermostatOptimizerState_get_temperature(self)
12580 """get_tau(BerendsenThermostatOptimizerState self) -> double"""
12581 return _IMP_atom.BerendsenThermostatOptimizerState_get_tau(self)
12584 def set_temperature(self, temperature):
12585 """set_temperature(BerendsenThermostatOptimizerState self, double temperature)"""
12586 return _IMP_atom.BerendsenThermostatOptimizerState_set_temperature(self, temperature)
12589 def set_tau(self, tau):
12590 """set_tau(BerendsenThermostatOptimizerState self, double tau)"""
12591 return _IMP_atom.BerendsenThermostatOptimizerState_set_tau(self, tau)
12594 def rescale_velocities(self):
12595 """rescale_velocities(BerendsenThermostatOptimizerState self)"""
12596 return _IMP_atom.BerendsenThermostatOptimizerState_rescale_velocities(self)
12599 def get_version_info(self):
12600 """get_version_info(BerendsenThermostatOptimizerState self) -> VersionInfo"""
12601 return _IMP_atom.BerendsenThermostatOptimizerState_get_version_info(self)
12605 """__str__(BerendsenThermostatOptimizerState self) -> std::string"""
12606 return _IMP_atom.BerendsenThermostatOptimizerState___str__(self)
12609 def __repr__(self):
12610 """__repr__(BerendsenThermostatOptimizerState self) -> std::string"""
12611 return _IMP_atom.BerendsenThermostatOptimizerState___repr__(self)
12616 return _object_cast_to_BerendsenThermostatOptimizerState(o)
12618 BerendsenThermostatOptimizerState_swigregister = _IMP_atom.BerendsenThermostatOptimizerState_swigregister
12619 BerendsenThermostatOptimizerState_swigregister(BerendsenThermostatOptimizerState)
12622 """Proxy of C++ IMP::atom::LangevinThermostatOptimizerState class."""
12624 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12626 def __init__(self, m, pis, temperature, gamma):
12627 """__init__(IMP::atom::LangevinThermostatOptimizerState self, Model m, _ParticleIndexesAdaptor pis, double temperature, double gamma) -> LangevinThermostatOptimizerState"""
12628 this = _IMP_atom.new_LangevinThermostatOptimizerState(m, pis, temperature, gamma)
12630 self.this.append(this)
12634 def set_particles(self, pis):
12635 """set_particles(LangevinThermostatOptimizerState self, IMP::Particles const & pis)"""
12636 return _IMP_atom.LangevinThermostatOptimizerState_set_particles(self, pis)
12639 def get_temperature(self):
12640 """get_temperature(LangevinThermostatOptimizerState self) -> double"""
12641 return _IMP_atom.LangevinThermostatOptimizerState_get_temperature(self)
12644 def get_gamma(self):
12645 """get_gamma(LangevinThermostatOptimizerState self) -> double"""
12646 return _IMP_atom.LangevinThermostatOptimizerState_get_gamma(self)
12649 def set_temperature(self, temperature):
12650 """set_temperature(LangevinThermostatOptimizerState self, double temperature)"""
12651 return _IMP_atom.LangevinThermostatOptimizerState_set_temperature(self, temperature)
12654 def set_gamma(self, gamma):
12655 """set_gamma(LangevinThermostatOptimizerState self, double gamma)"""
12656 return _IMP_atom.LangevinThermostatOptimizerState_set_gamma(self, gamma)
12659 def rescale_velocities(self):
12660 """rescale_velocities(LangevinThermostatOptimizerState self)"""
12661 return _IMP_atom.LangevinThermostatOptimizerState_rescale_velocities(self)
12664 def get_version_info(self):
12665 """get_version_info(LangevinThermostatOptimizerState self) -> VersionInfo"""
12666 return _IMP_atom.LangevinThermostatOptimizerState_get_version_info(self)
12670 """__str__(LangevinThermostatOptimizerState self) -> std::string"""
12671 return _IMP_atom.LangevinThermostatOptimizerState___str__(self)
12674 def __repr__(self):
12675 """__repr__(LangevinThermostatOptimizerState self) -> std::string"""
12676 return _IMP_atom.LangevinThermostatOptimizerState___repr__(self)
12681 return _object_cast_to_LangevinThermostatOptimizerState(o)
12683 LangevinThermostatOptimizerState_swigregister = _IMP_atom.LangevinThermostatOptimizerState_swigregister
12684 LangevinThermostatOptimizerState_swigregister(LangevinThermostatOptimizerState)
12687 """Proxy of C++ IMP::atom::PDBSelector class."""
12689 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12691 def __init__(self, name):
12692 """__init__(IMP::atom::PDBSelector self, std::string name) -> PDBSelector"""
12693 if self.__class__ == PDBSelector:
12697 this = _IMP_atom.new_PDBSelector(_self, name)
12699 self.this.append(this)
12703 if self.__class__ != PDBSelector:
12704 _director_objects.register(self)
12709 def get_is_selected(self, pdb_line):
12710 """get_is_selected(PDBSelector self, std::string const & pdb_line) -> bool"""
12711 return _IMP_atom.PDBSelector_get_is_selected(self, pdb_line)
12713 __swig_destroy__ = _IMP_atom.delete_PDBSelector
12714 __del__ =
lambda self:
None
12717 """__str__(PDBSelector self) -> std::string"""
12718 return _IMP_atom.PDBSelector___str__(self)
12721 def __repr__(self):
12722 """__repr__(PDBSelector self) -> std::string"""
12723 return _IMP_atom.PDBSelector___repr__(self)
12728 return _object_cast_to_PDBSelector(o)
12731 def get_type_name(self):
12732 return self.__class__.__name__
12733 def do_show(self, out):
12735 def get_version_info(self):
12736 if"IMP::atom" ==
"IMP":
12737 return VersionInfo(self.__module__,
12738 __import__(self.__module__).get_module_version())
12741 __import__(self.__module__).get_module_version())
12744 return _object_cast_to_PDBSelector(o)
12747 def __and__(self, s):
12748 return AndPDBSelector(self, s)
12749 def __or__(self, s):
12750 return OrPDBSelector(self, s)
12751 def __xor__(self, s):
12752 return XorPDBSelector(self, s)
12753 def __invert__(self):
12754 return NotPDBSelector(self)
12755 def __sub__(self, s):
12756 return AndPDBSelector(self, NotPDBSelector(s))
12758 def __disown__(self):
12760 _IMP_atom.disown_PDBSelector(self)
12761 return weakref_proxy(self)
12763 def do_destroy(self):
12764 """do_destroy(PDBSelector self)"""
12765 return _IMP_atom.PDBSelector_do_destroy(self)
12767 PDBSelector_swigregister = _IMP_atom.PDBSelector_swigregister
12768 PDBSelector_swigregister(PDBSelector)
12770 class NonAlternativePDBSelector(PDBSelector):
12771 """Proxy of C++ IMP::atom::NonAlternativePDBSelector class."""
12773 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12775 def __init__(self, *args):
12777 __init__(IMP::atom::NonAlternativePDBSelector self, std::string name) -> NonAlternativePDBSelector
12778 __init__(IMP::atom::NonAlternativePDBSelector self) -> NonAlternativePDBSelector
12780 this = _IMP_atom.new_NonAlternativePDBSelector(*args)
12782 self.this.append(this)
12786 def get_version_info(self):
12787 """get_version_info(NonAlternativePDBSelector self) -> VersionInfo"""
12788 return _IMP_atom.NonAlternativePDBSelector_get_version_info(self)
12792 """__str__(NonAlternativePDBSelector self) -> std::string"""
12793 return _IMP_atom.NonAlternativePDBSelector___str__(self)
12796 def __repr__(self):
12797 """__repr__(NonAlternativePDBSelector self) -> std::string"""
12798 return _IMP_atom.NonAlternativePDBSelector___repr__(self)
12803 return _object_cast_to_NonAlternativePDBSelector(o)
12805 NonAlternativePDBSelector_swigregister = _IMP_atom.NonAlternativePDBSelector_swigregister
12806 NonAlternativePDBSelector_swigregister(NonAlternativePDBSelector)
12808 class ATOMPDBSelector(NonAlternativePDBSelector):
12809 """Proxy of C++ IMP::atom::ATOMPDBSelector class."""
12811 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12813 def __init__(self, *args):
12815 __init__(IMP::atom::ATOMPDBSelector self, std::string name) -> ATOMPDBSelector
12816 __init__(IMP::atom::ATOMPDBSelector self) -> ATOMPDBSelector
12818 this = _IMP_atom.new_ATOMPDBSelector(*args)
12820 self.this.append(this)
12825 """__str__(ATOMPDBSelector self) -> std::string"""
12826 return _IMP_atom.ATOMPDBSelector___str__(self)
12829 def __repr__(self):
12830 """__repr__(ATOMPDBSelector self) -> std::string"""
12831 return _IMP_atom.ATOMPDBSelector___repr__(self)
12836 return _object_cast_to_ATOMPDBSelector(o)
12838 ATOMPDBSelector_swigregister = _IMP_atom.ATOMPDBSelector_swigregister
12839 ATOMPDBSelector_swigregister(ATOMPDBSelector)
12841 class CAlphaPDBSelector(NonAlternativePDBSelector):
12842 """Proxy of C++ IMP::atom::CAlphaPDBSelector class."""
12844 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12846 def __init__(self, *args):
12848 __init__(IMP::atom::CAlphaPDBSelector self, std::string name) -> CAlphaPDBSelector
12849 __init__(IMP::atom::CAlphaPDBSelector self) -> CAlphaPDBSelector
12851 this = _IMP_atom.new_CAlphaPDBSelector(*args)
12853 self.this.append(this)
12858 """__str__(CAlphaPDBSelector self) -> std::string"""
12859 return _IMP_atom.CAlphaPDBSelector___str__(self)
12862 def __repr__(self):
12863 """__repr__(CAlphaPDBSelector self) -> std::string"""
12864 return _IMP_atom.CAlphaPDBSelector___repr__(self)
12869 return _object_cast_to_CAlphaPDBSelector(o)
12871 CAlphaPDBSelector_swigregister = _IMP_atom.CAlphaPDBSelector_swigregister
12872 CAlphaPDBSelector_swigregister(CAlphaPDBSelector)
12874 class CBetaPDBSelector(NonAlternativePDBSelector):
12875 """Proxy of C++ IMP::atom::CBetaPDBSelector class."""
12877 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12879 def __init__(self, *args):
12881 __init__(IMP::atom::CBetaPDBSelector self, std::string name) -> CBetaPDBSelector
12882 __init__(IMP::atom::CBetaPDBSelector self) -> CBetaPDBSelector
12884 this = _IMP_atom.new_CBetaPDBSelector(*args)
12886 self.this.append(this)
12891 """__str__(CBetaPDBSelector self) -> std::string"""
12892 return _IMP_atom.CBetaPDBSelector___str__(self)
12895 def __repr__(self):
12896 """__repr__(CBetaPDBSelector self) -> std::string"""
12897 return _IMP_atom.CBetaPDBSelector___repr__(self)
12902 return _object_cast_to_CBetaPDBSelector(o)
12904 CBetaPDBSelector_swigregister = _IMP_atom.CBetaPDBSelector_swigregister
12905 CBetaPDBSelector_swigregister(CBetaPDBSelector)
12907 class AtomTypePDBSelector(PDBSelector):
12908 """Proxy of C++ IMP::atom::AtomTypePDBSelector class."""
12910 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12912 def __init__(self, *args):
12914 __init__(IMP::atom::AtomTypePDBSelector self, IMP::Strings atom_types, std::string name) -> AtomTypePDBSelector
12915 __init__(IMP::atom::AtomTypePDBSelector self, IMP::Strings atom_types) -> AtomTypePDBSelector
12917 this = _IMP_atom.new_AtomTypePDBSelector(*args)
12919 self.this.append(this)
12923 def get_version_info(self):
12924 """get_version_info(AtomTypePDBSelector self) -> VersionInfo"""
12925 return _IMP_atom.AtomTypePDBSelector_get_version_info(self)
12929 """__str__(AtomTypePDBSelector self) -> std::string"""
12930 return _IMP_atom.AtomTypePDBSelector___str__(self)
12933 def __repr__(self):
12934 """__repr__(AtomTypePDBSelector self) -> std::string"""
12935 return _IMP_atom.AtomTypePDBSelector___repr__(self)
12940 return _object_cast_to_AtomTypePDBSelector(o)
12942 AtomTypePDBSelector_swigregister = _IMP_atom.AtomTypePDBSelector_swigregister
12943 AtomTypePDBSelector_swigregister(AtomTypePDBSelector)
12945 class ResidueTypePDBSelector(PDBSelector):
12946 """Proxy of C++ IMP::atom::ResidueTypePDBSelector class."""
12948 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12950 def __init__(self, *args):
12952 __init__(IMP::atom::ResidueTypePDBSelector self, IMP::Strings residue_types, std::string name) -> ResidueTypePDBSelector
12953 __init__(IMP::atom::ResidueTypePDBSelector self, IMP::Strings residue_types) -> ResidueTypePDBSelector
12955 this = _IMP_atom.new_ResidueTypePDBSelector(*args)
12957 self.this.append(this)
12961 def get_version_info(self):
12962 """get_version_info(ResidueTypePDBSelector self) -> VersionInfo"""
12963 return _IMP_atom.ResidueTypePDBSelector_get_version_info(self)
12967 """__str__(ResidueTypePDBSelector self) -> std::string"""
12968 return _IMP_atom.ResidueTypePDBSelector___str__(self)
12971 def __repr__(self):
12972 """__repr__(ResidueTypePDBSelector self) -> std::string"""
12973 return _IMP_atom.ResidueTypePDBSelector___repr__(self)
12978 return _object_cast_to_ResidueTypePDBSelector(o)
12980 ResidueTypePDBSelector_swigregister = _IMP_atom.ResidueTypePDBSelector_swigregister
12981 ResidueTypePDBSelector_swigregister(ResidueTypePDBSelector)
12983 class CPDBSelector(NonAlternativePDBSelector):
12984 """Proxy of C++ IMP::atom::CPDBSelector class."""
12986 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12988 def __init__(self, *args):
12990 __init__(IMP::atom::CPDBSelector self, std::string name) -> CPDBSelector
12991 __init__(IMP::atom::CPDBSelector self) -> CPDBSelector
12993 this = _IMP_atom.new_CPDBSelector(*args)
12995 self.this.append(this)
13000 """__str__(CPDBSelector self) -> std::string"""
13001 return _IMP_atom.CPDBSelector___str__(self)
13004 def __repr__(self):
13005 """__repr__(CPDBSelector self) -> std::string"""
13006 return _IMP_atom.CPDBSelector___repr__(self)
13011 return _object_cast_to_CPDBSelector(o)
13013 CPDBSelector_swigregister = _IMP_atom.CPDBSelector_swigregister
13014 CPDBSelector_swigregister(CPDBSelector)
13016 class NPDBSelector(NonAlternativePDBSelector):
13017 """Proxy of C++ IMP::atom::NPDBSelector class."""
13019 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13021 def __init__(self, *args):
13023 __init__(IMP::atom::NPDBSelector self, std::string name) -> NPDBSelector
13024 __init__(IMP::atom::NPDBSelector self) -> NPDBSelector
13026 this = _IMP_atom.new_NPDBSelector(*args)
13028 self.this.append(this)
13033 """__str__(NPDBSelector self) -> std::string"""
13034 return _IMP_atom.NPDBSelector___str__(self)
13037 def __repr__(self):
13038 """__repr__(NPDBSelector self) -> std::string"""
13039 return _IMP_atom.NPDBSelector___repr__(self)
13044 return _object_cast_to_NPDBSelector(o)
13046 NPDBSelector_swigregister = _IMP_atom.NPDBSelector_swigregister
13047 NPDBSelector_swigregister(NPDBSelector)
13049 class AllPDBSelector(PDBSelector):
13050 """Proxy of C++ IMP::atom::AllPDBSelector class."""
13052 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13054 def __init__(self, *args):
13056 __init__(IMP::atom::AllPDBSelector self, std::string name) -> AllPDBSelector
13057 __init__(IMP::atom::AllPDBSelector self) -> AllPDBSelector
13059 this = _IMP_atom.new_AllPDBSelector(*args)
13061 self.this.append(this)
13065 def get_version_info(self):
13066 """get_version_info(AllPDBSelector self) -> VersionInfo"""
13067 return _IMP_atom.AllPDBSelector_get_version_info(self)
13071 """__str__(AllPDBSelector self) -> std::string"""
13072 return _IMP_atom.AllPDBSelector___str__(self)
13075 def __repr__(self):
13076 """__repr__(AllPDBSelector self) -> std::string"""
13077 return _IMP_atom.AllPDBSelector___repr__(self)
13082 return _object_cast_to_AllPDBSelector(o)
13084 AllPDBSelector_swigregister = _IMP_atom.AllPDBSelector_swigregister
13085 AllPDBSelector_swigregister(AllPDBSelector)
13087 class ChainPDBSelector(NonAlternativePDBSelector):
13088 """Proxy of C++ IMP::atom::ChainPDBSelector class."""
13090 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13092 def __init__(self, *args):
13094 __init__(IMP::atom::ChainPDBSelector self, std::string const & chains, std::string name) -> ChainPDBSelector
13095 __init__(IMP::atom::ChainPDBSelector self, std::string const & chains) -> ChainPDBSelector
13097 this = _IMP_atom.new_ChainPDBSelector(*args)
13099 self.this.append(this)
13104 """__str__(ChainPDBSelector self) -> std::string"""
13105 return _IMP_atom.ChainPDBSelector___str__(self)
13108 def __repr__(self):
13109 """__repr__(ChainPDBSelector self) -> std::string"""
13110 return _IMP_atom.ChainPDBSelector___repr__(self)
13115 return _object_cast_to_ChainPDBSelector(o)
13117 ChainPDBSelector_swigregister = _IMP_atom.ChainPDBSelector_swigregister
13118 ChainPDBSelector_swigregister(ChainPDBSelector)
13120 class WaterPDBSelector(NonAlternativePDBSelector):
13121 """Proxy of C++ IMP::atom::WaterPDBSelector class."""
13123 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13125 def __init__(self, *args):
13127 __init__(IMP::atom::WaterPDBSelector self, std::string name) -> WaterPDBSelector
13128 __init__(IMP::atom::WaterPDBSelector self) -> WaterPDBSelector
13130 this = _IMP_atom.new_WaterPDBSelector(*args)
13132 self.this.append(this)
13137 """__str__(WaterPDBSelector self) -> std::string"""
13138 return _IMP_atom.WaterPDBSelector___str__(self)
13141 def __repr__(self):
13142 """__repr__(WaterPDBSelector self) -> std::string"""
13143 return _IMP_atom.WaterPDBSelector___repr__(self)
13148 return _object_cast_to_WaterPDBSelector(o)
13150 WaterPDBSelector_swigregister = _IMP_atom.WaterPDBSelector_swigregister
13151 WaterPDBSelector_swigregister(WaterPDBSelector)
13153 class HydrogenPDBSelector(NonAlternativePDBSelector):
13154 """Proxy of C++ IMP::atom::HydrogenPDBSelector class."""
13156 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13158 def __init__(self, *args):
13160 __init__(IMP::atom::HydrogenPDBSelector self, std::string name) -> HydrogenPDBSelector
13161 __init__(IMP::atom::HydrogenPDBSelector self) -> HydrogenPDBSelector
13163 this = _IMP_atom.new_HydrogenPDBSelector(*args)
13165 self.this.append(this)
13170 """__str__(HydrogenPDBSelector self) -> std::string"""
13171 return _IMP_atom.HydrogenPDBSelector___str__(self)
13174 def __repr__(self):
13175 """__repr__(HydrogenPDBSelector self) -> std::string"""
13176 return _IMP_atom.HydrogenPDBSelector___repr__(self)
13181 return _object_cast_to_HydrogenPDBSelector(o)
13183 HydrogenPDBSelector_swigregister = _IMP_atom.HydrogenPDBSelector_swigregister
13184 HydrogenPDBSelector_swigregister(HydrogenPDBSelector)
13186 class NonWaterNonHydrogenPDBSelector(NonAlternativePDBSelector):
13187 """Proxy of C++ IMP::atom::NonWaterNonHydrogenPDBSelector class."""
13189 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13191 def __init__(self, *args):
13193 __init__(IMP::atom::NonWaterNonHydrogenPDBSelector self, std::string name) -> NonWaterNonHydrogenPDBSelector
13194 __init__(IMP::atom::NonWaterNonHydrogenPDBSelector self) -> NonWaterNonHydrogenPDBSelector
13196 this = _IMP_atom.new_NonWaterNonHydrogenPDBSelector(*args)
13198 self.this.append(this)
13203 """__str__(NonWaterNonHydrogenPDBSelector self) -> std::string"""
13204 return _IMP_atom.NonWaterNonHydrogenPDBSelector___str__(self)
13207 def __repr__(self):
13208 """__repr__(NonWaterNonHydrogenPDBSelector self) -> std::string"""
13209 return _IMP_atom.NonWaterNonHydrogenPDBSelector___repr__(self)
13214 return _object_cast_to_NonWaterNonHydrogenPDBSelector(o)
13216 NonWaterNonHydrogenPDBSelector_swigregister = _IMP_atom.NonWaterNonHydrogenPDBSelector_swigregister
13217 NonWaterNonHydrogenPDBSelector_swigregister(NonWaterNonHydrogenPDBSelector)
13219 class NonWaterPDBSelector(NonAlternativePDBSelector):
13220 """Proxy of C++ IMP::atom::NonWaterPDBSelector class."""
13222 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13224 def __init__(self, *args):
13226 __init__(IMP::atom::NonWaterPDBSelector self, std::string name) -> NonWaterPDBSelector
13227 __init__(IMP::atom::NonWaterPDBSelector self) -> NonWaterPDBSelector
13229 this = _IMP_atom.new_NonWaterPDBSelector(*args)
13231 self.this.append(this)
13236 """__str__(NonWaterPDBSelector self) -> std::string"""
13237 return _IMP_atom.NonWaterPDBSelector___str__(self)
13240 def __repr__(self):
13241 """__repr__(NonWaterPDBSelector self) -> std::string"""
13242 return _IMP_atom.NonWaterPDBSelector___repr__(self)
13247 return _object_cast_to_NonWaterPDBSelector(o)
13249 NonWaterPDBSelector_swigregister = _IMP_atom.NonWaterPDBSelector_swigregister
13250 NonWaterPDBSelector_swigregister(NonWaterPDBSelector)
13252 class BackbonePDBSelector(NonWaterNonHydrogenPDBSelector):
13253 """Proxy of C++ IMP::atom::BackbonePDBSelector class."""
13255 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13257 def __init__(self, *args):
13259 __init__(IMP::atom::BackbonePDBSelector self, std::string name) -> BackbonePDBSelector
13260 __init__(IMP::atom::BackbonePDBSelector self) -> BackbonePDBSelector
13262 this = _IMP_atom.new_BackbonePDBSelector(*args)
13264 self.this.append(this)
13269 """__str__(BackbonePDBSelector self) -> std::string"""
13270 return _IMP_atom.BackbonePDBSelector___str__(self)
13273 def __repr__(self):
13274 """__repr__(BackbonePDBSelector self) -> std::string"""
13275 return _IMP_atom.BackbonePDBSelector___repr__(self)
13280 return _object_cast_to_BackbonePDBSelector(o)
13282 BackbonePDBSelector_swigregister = _IMP_atom.BackbonePDBSelector_swigregister
13283 BackbonePDBSelector_swigregister(BackbonePDBSelector)
13285 class PPDBSelector(NonAlternativePDBSelector):
13286 """Proxy of C++ IMP::atom::PPDBSelector class."""
13288 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13290 def __init__(self, *args):
13292 __init__(IMP::atom::PPDBSelector self, std::string name) -> PPDBSelector
13293 __init__(IMP::atom::PPDBSelector self) -> PPDBSelector
13295 this = _IMP_atom.new_PPDBSelector(*args)
13297 self.this.append(this)
13302 """__str__(PPDBSelector self) -> std::string"""
13303 return _IMP_atom.PPDBSelector___str__(self)
13306 def __repr__(self):
13307 """__repr__(PPDBSelector self) -> std::string"""
13308 return _IMP_atom.PPDBSelector___repr__(self)
13313 return _object_cast_to_PPDBSelector(o)
13315 PPDBSelector_swigregister = _IMP_atom.PPDBSelector_swigregister
13316 PPDBSelector_swigregister(PPDBSelector)
13318 class AndPDBSelector(PDBSelector):
13319 """Proxy of C++ IMP::atom::AndPDBSelector class."""
13321 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13323 def get_version_info(self):
13324 """get_version_info(AndPDBSelector self) -> VersionInfo"""
13325 return _IMP_atom.AndPDBSelector_get_version_info(self)
13328 def __init__(self, a, b):
13329 """__init__(IMP::atom::AndPDBSelector self, PDBSelector a, PDBSelector b) -> AndPDBSelector"""
13330 this = _IMP_atom.new_AndPDBSelector(a, b)
13332 self.this.append(this)
13337 """__str__(AndPDBSelector self) -> std::string"""
13338 return _IMP_atom.AndPDBSelector___str__(self)
13341 def __repr__(self):
13342 """__repr__(AndPDBSelector self) -> std::string"""
13343 return _IMP_atom.AndPDBSelector___repr__(self)
13348 return _object_cast_to_AndPDBSelector(o)
13350 AndPDBSelector_swigregister = _IMP_atom.AndPDBSelector_swigregister
13351 AndPDBSelector_swigregister(AndPDBSelector)
13353 class OrPDBSelector(PDBSelector):
13354 """Proxy of C++ IMP::atom::OrPDBSelector class."""
13356 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13358 def get_version_info(self):
13359 """get_version_info(OrPDBSelector self) -> VersionInfo"""
13360 return _IMP_atom.OrPDBSelector_get_version_info(self)
13363 def __init__(self, a, b):
13364 """__init__(IMP::atom::OrPDBSelector self, PDBSelector a, PDBSelector b) -> OrPDBSelector"""
13365 this = _IMP_atom.new_OrPDBSelector(a, b)
13367 self.this.append(this)
13372 """__str__(OrPDBSelector self) -> std::string"""
13373 return _IMP_atom.OrPDBSelector___str__(self)
13376 def __repr__(self):
13377 """__repr__(OrPDBSelector self) -> std::string"""
13378 return _IMP_atom.OrPDBSelector___repr__(self)
13383 return _object_cast_to_OrPDBSelector(o)
13385 OrPDBSelector_swigregister = _IMP_atom.OrPDBSelector_swigregister
13386 OrPDBSelector_swigregister(OrPDBSelector)
13388 class XorPDBSelector(PDBSelector):
13389 """Proxy of C++ IMP::atom::XorPDBSelector class."""
13391 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13393 def get_version_info(self):
13394 """get_version_info(XorPDBSelector self) -> VersionInfo"""
13395 return _IMP_atom.XorPDBSelector_get_version_info(self)
13398 def __init__(self, a, b):
13399 """__init__(IMP::atom::XorPDBSelector self, PDBSelector a, PDBSelector b) -> XorPDBSelector"""
13400 this = _IMP_atom.new_XorPDBSelector(a, b)
13402 self.this.append(this)
13407 """__str__(XorPDBSelector self) -> std::string"""
13408 return _IMP_atom.XorPDBSelector___str__(self)
13411 def __repr__(self):
13412 """__repr__(XorPDBSelector self) -> std::string"""
13413 return _IMP_atom.XorPDBSelector___repr__(self)
13418 return _object_cast_to_XorPDBSelector(o)
13420 XorPDBSelector_swigregister = _IMP_atom.XorPDBSelector_swigregister
13421 XorPDBSelector_swigregister(XorPDBSelector)
13423 class NotPDBSelector(PDBSelector):
13424 """Proxy of C++ IMP::atom::NotPDBSelector class."""
13426 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13428 def get_version_info(self):
13429 """get_version_info(NotPDBSelector self) -> VersionInfo"""
13430 return _IMP_atom.NotPDBSelector_get_version_info(self)
13433 def __init__(self, a):
13434 """__init__(IMP::atom::NotPDBSelector self, PDBSelector a) -> NotPDBSelector"""
13435 this = _IMP_atom.new_NotPDBSelector(a)
13437 self.this.append(this)
13442 """__str__(NotPDBSelector self) -> std::string"""
13443 return _IMP_atom.NotPDBSelector___str__(self)
13446 def __repr__(self):
13447 """__repr__(NotPDBSelector self) -> std::string"""
13448 return _IMP_atom.NotPDBSelector___repr__(self)
13453 return _object_cast_to_NotPDBSelector(o)
13455 NotPDBSelector_swigregister = _IMP_atom.NotPDBSelector_swigregister
13456 NotPDBSelector_swigregister(NotPDBSelector)
13459 def get_default_pdb_selector():
13460 """get_default_pdb_selector() -> PDBSelector"""
13461 return _IMP_atom.get_default_pdb_selector()
13465 read_pdb(TextInput input, Model model, PDBSelector selector, bool select_first_model=True, bool no_radii=False) -> Hierarchy
13466 read_pdb(TextInput input, Model model, PDBSelector selector, bool select_first_model=True) -> Hierarchy
13467 read_pdb(TextInput input, Model model, PDBSelector selector) -> Hierarchy
13468 read_pdb(TextInput input, Model model) -> Hierarchy
13469 read_pdb(TextInput input, int model, Hierarchy h)
13471 return _IMP_atom.read_pdb(*args)
13475 read_multimodel_pdb(TextInput input, Model model, PDBSelector selector, bool noradii=False) -> IMP::atom::Hierarchies
13476 read_multimodel_pdb(TextInput input, Model model, PDBSelector selector) -> IMP::atom::Hierarchies
13477 read_multimodel_pdb(TextInput input, Model model) -> IMP::atom::Hierarchies
13479 return _IMP_atom.read_multimodel_pdb(*args)
13483 write_pdb(Selection mhd, TextOutput out, unsigned int model=1)
13484 write_pdb(Selection mhd, TextOutput out)
13486 return _IMP_atom.write_pdb(mhd, out, model)
13490 write_pdb_of_c_alphas(Selection mhd, TextOutput out, unsigned int model=1)
13491 write_pdb_of_c_alphas(Selection mhd, TextOutput out)
13493 return _IMP_atom.write_pdb_of_c_alphas(mhd, out, model)
13496 """write_multimodel_pdb(IMP::atom::Hierarchies const & mhd, TextOutput out)"""
13497 return _IMP_atom.write_multimodel_pdb(mhd, out)
13499 def get_pdb_string(*args):
13501 get_pdb_string(Vector3D v, int index=-1, AtomType at, ResidueType rt, char chain, int res_index=1, char res_icode, double occpancy=1.00, double tempFactor=0.00, IMP::atom::Element e) -> std::string
13502 get_pdb_string(Vector3D v, int index=-1, AtomType at, ResidueType rt, char chain, int res_index=1, char res_icode, double occpancy=1.00, double tempFactor=0.00) -> std::string
13503 get_pdb_string(Vector3D v, int index=-1, AtomType at, ResidueType rt, char chain, int res_index=1, char res_icode, double occpancy=1.00) -> std::string
13504 get_pdb_string(Vector3D v, int index=-1, AtomType at, ResidueType rt, char chain, int res_index=1, char res_icode) -> std::string
13505 get_pdb_string(Vector3D v, int index=-1, AtomType at, ResidueType rt, char chain, int res_index=1) -> std::string
13506 get_pdb_string(Vector3D v, int index=-1, AtomType at, ResidueType rt, char chain) -> std::string
13507 get_pdb_string(Vector3D v, int index=-1, AtomType at, ResidueType rt) -> std::string
13508 get_pdb_string(Vector3D v, int index=-1, AtomType at) -> std::string
13509 get_pdb_string(Vector3D v, int index=-1) -> std::string
13510 get_pdb_string(Vector3D v) -> std::string
13512 return _IMP_atom.get_pdb_string(*args)
13514 def get_pdb_conect_record_string(arg1, arg2):
13515 """get_pdb_conect_record_string(int arg1, int arg2) -> std::string"""
13516 return _IMP_atom.get_pdb_conect_record_string(arg1, arg2)
13518 """Proxy of C++ IMP::atom::WritePDBOptimizerState class."""
13520 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13522 def __init__(self, *args):
13524 __init__(IMP::atom::WritePDBOptimizerState self, Model m, _ParticleIndexesAdaptor pis, std::string filename) -> WritePDBOptimizerState
13525 __init__(IMP::atom::WritePDBOptimizerState self, IMP::atom::Hierarchies const mh, std::string filename) -> WritePDBOptimizerState
13527 this = _IMP_atom.new_WritePDBOptimizerState(*args)
13529 self.this.append(this)
13533 def get_version_info(self):
13534 """get_version_info(WritePDBOptimizerState self) -> VersionInfo"""
13535 return _IMP_atom.WritePDBOptimizerState_get_version_info(self)
13539 """__str__(WritePDBOptimizerState self) -> std::string"""
13540 return _IMP_atom.WritePDBOptimizerState___str__(self)
13543 def __repr__(self):
13544 """__repr__(WritePDBOptimizerState self) -> std::string"""
13545 return _IMP_atom.WritePDBOptimizerState___repr__(self)
13550 return _object_cast_to_WritePDBOptimizerState(o)
13552 WritePDBOptimizerState_swigregister = _IMP_atom.WritePDBOptimizerState_swigregister
13553 WritePDBOptimizerState_swigregister(WritePDBOptimizerState)
13557 """get_kt(double T) -> double"""
13558 return _IMP_atom.get_kt(T)
13560 """Proxy of C++ IMP::atom::CAAngleRestraint class."""
13562 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13564 def __init__(self, m, p1, p2, p3, phi0, score):
13565 """__init__(IMP::atom::CAAngleRestraint self, Model m, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2, _ParticleIndexAdaptor p3, IMP::Floats phi0, IMP::Floats score) -> CAAngleRestraint"""
13566 this = _IMP_atom.new_CAAngleRestraint(m, p1, p2, p3, phi0, score)
13568 self.this.append(this)
13572 def do_get_inputs(self):
13573 """do_get_inputs(CAAngleRestraint self) -> IMP::ModelObjectsTemp"""
13574 return _IMP_atom.CAAngleRestraint_do_get_inputs(self)
13577 def get_version_info(self):
13578 """get_version_info(CAAngleRestraint self) -> VersionInfo"""
13579 return _IMP_atom.CAAngleRestraint_get_version_info(self)
13583 """__str__(CAAngleRestraint self) -> std::string"""
13584 return _IMP_atom.CAAngleRestraint___str__(self)
13587 def __repr__(self):
13588 """__repr__(CAAngleRestraint self) -> std::string"""
13589 return _IMP_atom.CAAngleRestraint___repr__(self)
13594 return _object_cast_to_CAAngleRestraint(o)
13596 CAAngleRestraint_swigregister = _IMP_atom.CAAngleRestraint_swigregister
13597 CAAngleRestraint_swigregister(CAAngleRestraint)
13600 """Proxy of C++ IMP::atom::CADihedralRestraint class."""
13602 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13604 def __init__(self, m, p1, p2, p3, p4, p5, phi0, phi1, score):
13605 """__init__(IMP::atom::CADihedralRestraint self, Model m, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2, _ParticleIndexAdaptor p3, _ParticleIndexAdaptor p4, _ParticleIndexAdaptor p5, IMP::Floats phi0, IMP::Floats phi1, IMP::Floats score) -> CADihedralRestraint"""
13606 this = _IMP_atom.new_CADihedralRestraint(m, p1, p2, p3, p4, p5, phi0, phi1, score)
13608 self.this.append(this)
13612 def do_get_inputs(self):
13613 """do_get_inputs(CADihedralRestraint self) -> IMP::ModelObjectsTemp"""
13614 return _IMP_atom.CADihedralRestraint_do_get_inputs(self)
13617 def get_version_info(self):
13618 """get_version_info(CADihedralRestraint self) -> VersionInfo"""
13619 return _IMP_atom.CADihedralRestraint_get_version_info(self)
13623 """__str__(CADihedralRestraint self) -> std::string"""
13624 return _IMP_atom.CADihedralRestraint___str__(self)
13627 def __repr__(self):
13628 """__repr__(CADihedralRestraint self) -> std::string"""
13629 return _IMP_atom.CADihedralRestraint___repr__(self)
13634 return _object_cast_to_CADihedralRestraint(o)
13636 CADihedralRestraint_swigregister = _IMP_atom.CADihedralRestraint_swigregister
13637 CADihedralRestraint_swigregister(CADihedralRestraint)
13640 """Proxy of C++ IMP::atom::StructureSource class."""
13642 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13644 def get_source_id(self):
13645 """get_source_id(StructureSource self) -> std::string"""
13646 return _IMP_atom.StructureSource_get_source_id(self)
13649 def get_source_chain_id(self):
13650 """get_source_chain_id(StructureSource self) -> std::string"""
13651 return _IMP_atom.StructureSource_get_source_chain_id(self)
13654 def set_source_id(self, source_id):
13655 """set_source_id(StructureSource self, std::string source_id)"""
13656 return _IMP_atom.StructureSource_set_source_id(self, source_id)
13659 def set_source_chain_id(self, source_chain_id):
13660 """set_source_chain_id(StructureSource self, std::string source_chain_id)"""
13661 return _IMP_atom.StructureSource_set_source_chain_id(self, source_chain_id)
13664 def __init__(self, *args):
13666 __init__(IMP::atom::StructureSource self) -> StructureSource
13667 __init__(IMP::atom::StructureSource self, Model m, ParticleIndex id) -> StructureSource
13668 __init__(IMP::atom::StructureSource self, _ParticleAdaptor d) -> StructureSource
13670 this = _IMP_atom.new_StructureSource(*args)
13672 self.this.append(this)
13676 def get_is_setup(*args):
13678 get_is_setup(Model m, ParticleIndex pi) -> bool
13679 get_is_setup(_ParticleAdaptor p) -> bool
13681 return _IMP_atom.StructureSource_get_is_setup(*args)
13683 get_is_setup = staticmethod(get_is_setup)
13685 def show(self, *args):
13687 show(StructureSource self, _ostream out)
13688 show(StructureSource self)
13690 return _IMP_atom.StructureSource_show(self, *args)
13693 def setup_particle(*args):
13695 setup_particle(Model m, ParticleIndex pi, std::string source_id, std::string source_chain_id) -> StructureSource
13696 setup_particle(_ParticleAdaptor decorator, std::string source_id, std::string source_chain_id) -> StructureSource
13698 return _IMP_atom.StructureSource_setup_particle(*args)
13700 setup_particle = staticmethod(setup_particle)
13702 def add_attribute(self, *args):
13704 add_attribute(StructureSource self, FloatKey k, IMP::Float v, bool opt)
13705 add_attribute(StructureSource self, FloatKey a0, IMP::Float a1)
13706 add_attribute(StructureSource self, IntKey a0, IMP::Int a1)
13707 add_attribute(StructureSource self, StringKey a0, IMP::String a1)
13708 add_attribute(StructureSource self, ParticleIndexKey a0, Particle a1)
13709 add_attribute(StructureSource self, ObjectKey a0, Object a1)
13711 return _IMP_atom.StructureSource_add_attribute(self, *args)
13714 def get_value(self, *args):
13716 get_value(StructureSource self, FloatKey a0) -> IMP::Float
13717 get_value(StructureSource self, IntKey a0) -> IMP::Int
13718 get_value(StructureSource self, StringKey a0) -> IMP::String
13719 get_value(StructureSource self, ParticleIndexKey a0) -> Particle
13720 get_value(StructureSource self, ObjectKey a0) -> Object
13722 return _IMP_atom.StructureSource_get_value(self, *args)
13725 def set_value(self, *args):
13727 set_value(StructureSource self, FloatKey a0, IMP::Float a1)
13728 set_value(StructureSource self, IntKey a0, IMP::Int a1)
13729 set_value(StructureSource self, StringKey a0, IMP::String a1)
13730 set_value(StructureSource self, ParticleIndexKey a0, Particle a1)
13731 set_value(StructureSource self, ObjectKey a0, Object a1)
13733 return _IMP_atom.StructureSource_set_value(self, *args)
13736 def remove_attribute(self, *args):
13738 remove_attribute(StructureSource self, FloatKey a0)
13739 remove_attribute(StructureSource self, IntKey a0)
13740 remove_attribute(StructureSource self, StringKey a0)
13741 remove_attribute(StructureSource self, ParticleIndexKey a0)
13742 remove_attribute(StructureSource self, ObjectKey a0)
13744 return _IMP_atom.StructureSource_remove_attribute(self, *args)
13747 def has_attribute(self, *args):
13749 has_attribute(StructureSource self, FloatKey a0) -> bool
13750 has_attribute(StructureSource self, IntKey a0) -> bool
13751 has_attribute(StructureSource self, StringKey a0) -> bool
13752 has_attribute(StructureSource self, ParticleIndexKey a0) -> bool
13753 has_attribute(StructureSource self, ObjectKey a0) -> bool
13755 return _IMP_atom.StructureSource_has_attribute(self, *args)
13758 def get_derivative(self, a0):
13759 """get_derivative(StructureSource self, FloatKey a0) -> double"""
13760 return _IMP_atom.StructureSource_get_derivative(self, a0)
13763 def get_name(self):
13764 """get_name(StructureSource self) -> std::string"""
13765 return _IMP_atom.StructureSource_get_name(self)
13768 def clear_caches(self):
13769 """clear_caches(StructureSource self)"""
13770 return _IMP_atom.StructureSource_clear_caches(self)
13773 def set_name(self, a0):
13774 """set_name(StructureSource self, std::string a0)"""
13775 return _IMP_atom.StructureSource_set_name(self, a0)
13779 """set_check_level(StructureSource self, IMP::CheckLevel a0)"""
13780 return _IMP_atom.StructureSource_set_check_level(self, a0)
13783 def add_to_derivative(self, a0, a1, a2):
13784 """add_to_derivative(StructureSource self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
13785 return _IMP_atom.StructureSource_add_to_derivative(self, a0, a1, a2)
13788 def set_is_optimized(self, a0, a1):
13789 """set_is_optimized(StructureSource self, FloatKey a0, bool a1)"""
13790 return _IMP_atom.StructureSource_set_is_optimized(self, a0, a1)
13793 def get_is_optimized(self, a0):
13794 """get_is_optimized(StructureSource self, FloatKey a0) -> bool"""
13795 return _IMP_atom.StructureSource_get_is_optimized(self, a0)
13799 """get_check_level(StructureSource self) -> IMP::CheckLevel"""
13800 return _IMP_atom.StructureSource_get_check_level(self)
13803 def __eq__(self, *args):
13805 __eq__(StructureSource self, StructureSource o) -> bool
13806 __eq__(StructureSource self, Particle d) -> bool
13808 return _IMP_atom.StructureSource___eq__(self, *args)
13811 def __ne__(self, *args):
13813 __ne__(StructureSource self, StructureSource o) -> bool
13814 __ne__(StructureSource self, Particle d) -> bool
13816 return _IMP_atom.StructureSource___ne__(self, *args)
13819 def __le__(self, *args):
13821 __le__(StructureSource self, StructureSource o) -> bool
13822 __le__(StructureSource self, Particle d) -> bool
13824 return _IMP_atom.StructureSource___le__(self, *args)
13827 def __lt__(self, *args):
13829 __lt__(StructureSource self, StructureSource o) -> bool
13830 __lt__(StructureSource self, Particle d) -> bool
13832 return _IMP_atom.StructureSource___lt__(self, *args)
13835 def __ge__(self, *args):
13837 __ge__(StructureSource self, StructureSource o) -> bool
13838 __ge__(StructureSource self, Particle d) -> bool
13840 return _IMP_atom.StructureSource___ge__(self, *args)
13843 def __gt__(self, *args):
13845 __gt__(StructureSource self, StructureSource o) -> bool
13846 __gt__(StructureSource self, Particle d) -> bool
13848 return _IMP_atom.StructureSource___gt__(self, *args)
13851 def __hash__(self):
13852 """__hash__(StructureSource self) -> std::size_t"""
13853 return _IMP_atom.StructureSource___hash__(self)
13857 """__str__(StructureSource self) -> std::string"""
13858 return _IMP_atom.StructureSource___str__(self)
13861 def __repr__(self):
13862 """__repr__(StructureSource self) -> std::string"""
13863 return _IMP_atom.StructureSource___repr__(self)
13865 __swig_destroy__ = _IMP_atom.delete_StructureSource
13866 __del__ =
lambda self:
None
13867 StructureSource_swigregister = _IMP_atom.StructureSource_swigregister
13868 StructureSource_swigregister(StructureSource)
13870 def StructureSource_get_is_setup(*args):
13872 get_is_setup(Model m, ParticleIndex pi) -> bool
13873 StructureSource_get_is_setup(_ParticleAdaptor p) -> bool
13875 return _IMP_atom.StructureSource_get_is_setup(*args)
13877 def StructureSource_setup_particle(*args):
13879 setup_particle(Model m, ParticleIndex pi, std::string source_id, std::string source_chain_id) -> StructureSource
13880 StructureSource_setup_particle(_ParticleAdaptor decorator, std::string source_id, std::string source_chain_id) -> StructureSource
13882 return _IMP_atom.StructureSource_setup_particle(*args)
13885 def __lshift__(*args):
13887 __lshift__(_ostream out, Bonded n) -> _ostream
13888 __lshift__(_ostream out, Bond n) -> _ostream
13889 __lshift__(_ostream out, Hierarchy n) -> _ostream
13890 __lshift__(_ostream out, Angle n) -> _ostream
13891 __lshift__(_ostream out, Dihedral n) -> _ostream
13892 __lshift__(_ostream out, CenterOfMass n) -> _ostream
13893 __lshift__(_ostream out, Diffusion n) -> _ostream
13894 __lshift__(_ostream out, RigidBodyDiffusion n) -> _ostream
13895 __lshift__(_ostream out, TAMDParticle n) -> _ostream
13896 __lshift__(_ostream out, Chain n) -> _ostream
13897 __lshift__(_ostream out, Charged n) -> _ostream
13898 __lshift__(_ostream out, Domain n) -> _ostream
13899 __lshift__(_ostream out, LennardJones n) -> _ostream
13900 __lshift__(_ostream out, Fragment n) -> _ostream
13901 __lshift__(_ostream out, SecondaryStructureResidue n) -> _ostream
13902 __lshift__(_ostream out, Atom n) -> _ostream
13903 __lshift__(_ostream out, Residue n) -> _ostream
13904 __lshift__(_ostream out, Representation n) -> _ostream
13905 __lshift__(_ostream out, State n) -> _ostream
13906 __lshift__(_ostream out, Molecule n) -> _ostream
13907 __lshift__(_ostream out, Copy n) -> _ostream
13908 __lshift__(_ostream out, StructureSource n) -> _ostream
13910 return _IMP_atom.__lshift__(*args)
13914 show_molecular_hierarchy(Hierarchy h, _ostream out) -> _ostream
13915 show_molecular_hierarchy(Hierarchy h) -> _ostream
13917 return _IMP_atom.show_molecular_hierarchy(*args)
13918 class CHARMMBond(object):
13919 """Proxy of C++ IMP::atom::CHARMMConnection<(2)> class."""
13921 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13922 __repr__ = _swig_repr
13924 def __init__(self, atoms):
13925 """__init__(IMP::atom::CHARMMConnection<(2)> self, IMP::Strings const & atoms) -> CHARMMBond"""
13926 this = _IMP_atom.new_CHARMMBond(atoms)
13928 self.this.append(this)
13932 def get_endpoint(self, i):
13933 """get_endpoint(CHARMMBond self, unsigned int i) -> CHARMMBondEndpoint"""
13934 return _IMP_atom.CHARMMBond_get_endpoint(self, i)
13937 def get_contains_atom(self, name):
13938 """get_contains_atom(CHARMMBond self, std::string name) -> bool"""
13939 return _IMP_atom.CHARMMBond_get_contains_atom(self, name)
13942 def show(self, *args):
13944 show(CHARMMBond self, _ostream out)
13945 show(CHARMMBond self)
13947 return _IMP_atom.CHARMMBond_show(self, *args)
13949 __swig_destroy__ = _IMP_atom.delete_CHARMMBond
13950 __del__ =
lambda self:
None
13951 CHARMMBond_swigregister = _IMP_atom.CHARMMBond_swigregister
13952 CHARMMBond_swigregister(CHARMMBond)
13954 class CHARMMAngle(object):
13955 """Proxy of C++ IMP::atom::CHARMMConnection<(3)> class."""
13957 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13958 __repr__ = _swig_repr
13960 def __init__(self, atoms):
13961 """__init__(IMP::atom::CHARMMConnection<(3)> self, IMP::Strings const & atoms) -> CHARMMAngle"""
13962 this = _IMP_atom.new_CHARMMAngle(atoms)
13964 self.this.append(this)
13968 def get_endpoint(self, i):
13969 """get_endpoint(CHARMMAngle self, unsigned int i) -> CHARMMBondEndpoint"""
13970 return _IMP_atom.CHARMMAngle_get_endpoint(self, i)
13973 def get_contains_atom(self, name):
13974 """get_contains_atom(CHARMMAngle self, std::string name) -> bool"""
13975 return _IMP_atom.CHARMMAngle_get_contains_atom(self, name)
13978 def show(self, *args):
13980 show(CHARMMAngle self, _ostream out)
13981 show(CHARMMAngle self)
13983 return _IMP_atom.CHARMMAngle_show(self, *args)
13985 __swig_destroy__ = _IMP_atom.delete_CHARMMAngle
13986 __del__ =
lambda self:
None
13987 CHARMMAngle_swigregister = _IMP_atom.CHARMMAngle_swigregister
13988 CHARMMAngle_swigregister(CHARMMAngle)
13991 def _get_native_overlap_cpp(m1, m2, threshold):
13992 """_get_native_overlap_cpp(IMP::Vector< IMP::algebra::VectorD< 3 > > const & m1, IMP::Vector< IMP::algebra::VectorD< 3 > > const & m2, double threshold) -> double"""
13993 return _IMP_atom._get_native_overlap_cpp(m1, m2, threshold)
13995 def _get_drmsd_cpp(m0, m1):
13996 """_get_drmsd_cpp(IMP::Vector< IMP::algebra::VectorD< 3 > > const & m0, IMP::Vector< IMP::algebra::VectorD< 3 > > const & m1) -> double"""
13997 return _IMP_atom._get_drmsd_cpp(m0, m1)
13999 def _get_drmsd_Q_cpp(m0, m1, threshold):
14000 """_get_drmsd_Q_cpp(IMP::Vector< IMP::algebra::VectorD< 3 > > const & m0, IMP::Vector< IMP::algebra::VectorD< 3 > > const & m1, double threshold) -> double"""
14001 return _IMP_atom._get_drmsd_Q_cpp(m0, m1, threshold)
14003 def _get_drms_cpp(m1, m2):
14004 """_get_drms_cpp(IMP::Vector< IMP::algebra::VectorD< 3 > > const & m1, IMP::Vector< IMP::algebra::VectorD< 3 > > const & m2) -> double"""
14005 return _IMP_atom._get_drms_cpp(m1, m2)
14007 def _get_rigid_bodies_drms_cpp(m1, m2, ranges):
14008 """_get_rigid_bodies_drms_cpp(IMP::Vector< IMP::algebra::VectorD< 3 > > const & m1, IMP::Vector< IMP::algebra::VectorD< 3 > > const & m2, IMP::IntRanges const & ranges) -> double"""
14009 return _IMP_atom._get_rigid_bodies_drms_cpp(m1, m2, ranges)
14012 va= [IMP.algebra.get_vector(x)
for x
in a]
14013 vb= [IMP.algebra.get_vector(x)
for x
in b]
14014 return _get_native_overlap_cpp(va, vb, d)
14017 va= [IMP.algebra.get_vector(x)
for x
in a]
14018 vb= [IMP.algebra.get_vector(x)
for x
in b]
14019 return _get_drmsd_cpp(va, vb)
14022 va= [IMP.algebra.get_vector(x)
for x
in a]
14023 vb= [IMP.algebra.get_vector(x)
for x
in b]
14024 return _get_drms_cpp(va, vb)
14027 va= [IMP.algebra.get_vector(x)
for x
in a]
14028 vb= [IMP.algebra.get_vector(x)
for x
in b]
14029 return _get_drmsd_Q_cpp(va, vb, t)
14032 va= [IMP.algebra.get_vector(x)
for x
in a]
14033 vb= [IMP.algebra.get_vector(x)
for x
in b]
14035 return _get_rigid_bodies_drms_cpp(va, vb, ranges)
14039 def get_module_version():
14040 """get_module_version() -> std::string const"""
14041 return _IMP_atom.get_module_version()
14044 """get_example_path(std::string fname) -> std::string"""
14045 return _IMP_atom.get_example_path(fname)
14048 """get_data_path(std::string fname) -> std::string"""
14049 return _IMP_atom.get_data_path(fname)
14051 from .
import _version_check
14052 _version_check.check_version(get_module_version())
14053 __version__ = get_module_version()
A base class for geometry contained in particles.
A base class for modifiers of ParticlesTemp.
AtomType add_atom_type(std::string name, Element e)
Create a new AtomType.
double get_kt(double T)
Return kT for a given temperature in units of [kcal/mol/K].
double get_volume_from_residue_type(ResidueType rt)
Return an estimate for the volume of a given residue.
Abstract class for scoring object(s) of type ParticleIndexPair.
A shared container for Pairs.
CHARMMParameters * get_heavy_atom_CHARMM_parameters()
Float get_secondary_structure_match_score(SecondaryStructureResidue ssr1, SecondaryStructureResidue ssr2)
Compares the secondary structure probabilities of two residues.
double get_rigid_bodies_drms(const Vector3DsOrXYZs0 &m1, const Vector3DsOrXYZs1 &m2, const IMP::IntRanges &ranges)
DRMS between two sets of rigid bodies.
Chain get_chain(Hierarchy h)
CheckLevel get_check_level()
Get the current audit mode.
Atoms get_phi_dihedral_atoms(Residue rd)
Return the atoms comprising the phi dihedral.
void show_molecular_hierarchy(Hierarchy h)
Print out the molecular hierarchy.
double get_drms(const Vector3DsOrXYZs0 &m1, const Vector3DsOrXYZs1 &m2)
double get_einstein_rotational_diffusion_coefficient(double r)
void remove_charmm_untyped_atoms(Hierarchy hierarchy)
Remove any atom from the Hierarchy that does not have a CHARMM type.
double get_protein_density_from_reference(ProteinDensityReference densityReference)
void show_with_representations(Hierarchy h, std::ostream &out=std::cout)
Traverse through the tree and show atom info, including representations.
Hierarchy create_simplified_from_volume(Hierarchy h, double resolution)
void add_particles(RMF::FileHandle fh, const ParticlesTemp &hs)
double get_spring_constant_in_femto_newtons_per_angstrom(double k_in_kcal_per_mol_per_angstrom_square)
Convert spring constant from kcal/mol/A^2 to femtonewton/A.
double get_native_overlap(const Vector3DsOrXYZs0 &m1, const Vector3DsOrXYZs1 &m2, double threshold)
Computes the native overlap between two sets of 3D points.
Various classes to hold sets of particles.
The base class for geometry.
IMP::core::RigidBody create_compatible_rigid_body(Hierarchy h, Hierarchy reference)
Rigidify a molecule or collection of molecules.
Hierarchy create_simplified_along_backbone(Hierarchy input, int num_res, bool keep_detailed=false)
double get_drmsd(const Vector3DsOrXYZs0 &m0, const Vector3DsOrXYZs1 &m1)
Calculate distance the root mean square deviation between two sets of 3D points.
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"))
A base class for geometry from a set of particles.
double get_dihedral(XYZ a, XYZ b, XYZ c, XYZ d)
Compute the dihedral angle (in radians) between the four particles.
double get_mass_from_number_of_residues(unsigned int num_aa)
Estimate the mass of a protein from the number of amino acids.
Make CGAL functionality available to IMP.
void write_pdb(const Selection &mhd, TextOutput out, unsigned int model=1)
void setup_as_approximation(Particle *h, const ParticlesTemp &other)
ParticlesTemp get_particles(Model *m, const ParticleIndexes &ps)
double get_mass_from_volume(double v, ProteinDensityReference ref=ALBER)
Estimate the mass of a protein from its volume.
void destroy_bond(Bond b)
Destroy the bond connecting two particles.
HierarchyTree get_hierarchy_tree(Hierarchy h)
Get a graph for the passed Hierarchy.
void add_particle(RMF::FileHandle fh, Particle *hs)
Atoms get_charmm_untyped_atoms(Hierarchy hierarchy)
Get all atoms in the Hierarchy that do not have CHARMM types.
std::string get_data_path(std::string file_name)
Return the full path to one of this module's data files.
char get_one_letter_code(ResidueType c)
Get the 1-letter amino acid code from the residue type.
Atom get_atom(Residue rd, AtomType at)
Return a particle atom from the residue.
Composable functors to implement scores via compile-time composition.
Restraint * create_excluded_volume_restraint(const Hierarchies &hs, double resolution=-1)
Bond create_custom_bond(Bonded a, Bonded b, Float length, Float stiffness=-1)
Connect the two wrapped particles by a custom bond.
void write_pdb_of_c_alphas(const Selection &mhd, TextOutput out, unsigned int model=1)
Write a hierarchy to a PDB as C_alpha atoms.
double get_kd(double na, double nb, double nab, double volume)
double get_diffusion_angle(double D, double dtfs)
bool get_atom_type_exists(std::string name)
Return true if that atom type already exists.
double get_volume(const BoundingBoxD< D > &bb)
See BoundingBoxD.
double get_rotational_diffusion_coefficient(const algebra::Rotation3Ds &displacements, double dt)
FloatPair get_component_placement_score(const core::XYZs &ref1, const core::XYZs &ref2, const core::XYZs &mdl1, const core::XYZs &mdl2)
Measure the difference between two placements of the same set of points.
void transform(Hierarchy h, const algebra::Transformation3D &tr)
Transform a hierarchy. This is aware of rigid bodies.
core::XYZR create_cover(const Selection &s, std::string name=std::string())
double get_volume_from_mass(double m, ProteinDensityReference ref=ALBER)
Estimate the volume of a protein from its mass.
Ints get_index(const ParticlesTemp &particles, const Subset &subset, const Subsets &excluded)
Common base class for heavy weight IMP objects.
Hierarchy create_protein(Model *m, std::string name, double target_radius, int number_of_residues, int first_residue_index=0, double volume=-1)
Create a coarse grained molecule.
Atoms get_psi_dihedral_atoms(Residue rd)
Return the atoms comprising the psi dihedral.
Abstract class for scoring object(s) of type ParticleIndex.
ParticlesTemp get_order(const Subset &s, const SubsetFilterTables &sft)
Bond create_bond(Bonded a, Bonded b, Int t)
Connect the two wrapped particles by a bond.
Base class for all optimizers.
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.
Restraint * create_internal_connectivity_restraint(const Selection &s, double k, std::string name="Connectivity%1%")
Create a restraint connecting the selection.
void write_mol2(Hierarchy rhd, TextOutput file_name)
Write a ligand hierarchy as a mol2 file.
Hierarchy read_pdb(TextInput input, Model *model, PDBSelector *selector=get_default_pdb_selector(), bool select_first_model=true)
int get_state_index(Hierarchy h)
Walk up the hierarchy to find the current state.
SecondaryStructureResidues setup_coarse_secondary_structure_residues(const Particles &ssr_ps, Model *mdl, int coarse_factor, int start_res_num, bool winner_takes_all_per_res=false)
void add_protein_ligand_score_data(Hierarchy h)
Interface to specialized Particle types (e.g. atoms)
std::string get_molecule_name(Hierarchy h)
std::ostream & show(Hierarchy h, std::ostream &out=std::cout)
Print the hierarchy using a given decorator to display each node.
double get_pairwise_rmsd_score(const core::XYZs &ref1, const core::XYZs &ref2, const core::XYZs &mdl1, const core::XYZs &mdl2)
Measure the RMSD between two placements of the same set of points.
double get_force_in_femto_newtons(double force_in_kcal_per_mol_per_angstrom)
Convert force from kcal/mol/A to femtonewtons.
Basic functionality that is expected to be used by a wide variety of IMP users.
Abstract predicate function.
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)
IMP::core::RigidBody create_rigid_body(const Hierarchies &h, std::string name=std::string("created rigid body"))
Rigidify a molecule or collection of molecules.
CHARMMParameters * get_all_atom_CHARMM_parameters()
Hierarchies get_leaves(const Selection &h)
double get_drmsd_Q(const Vector3DsOrXYZs0 &m0, const Vector3DsOrXYZs1 &m1, double threshold)
DensityMap * get_segment(DensityMap *map_to_segment, int nx_start, int nx_end, int ny_start, int ny_end, int nz_start, int nz_end)
Get a segment of the map according to xyz indexes.
Applies a PairScore to each Pair in a list.
Hierarchy get_next_residue(Residue rd)
Return the residue from the same chain with one higher index.
Restraint * create_connectivity_restraint(const Selections &s, double k, std::string name="Connectivity%1%")
Create a restraint connecting the selections.
void add_bonds(Hierarchy d, const ForceFieldParameters *ffp=get_all_atom_CHARMM_parameters())
void set_check_level(CheckLevel tf)
Control runtime checks in the code.
double get_diffusion_length(double D, double t)
double get_einstein_diffusion_coefficient(double r)
A restraint is a term in an IMP ScoringFunction.
A decorator for a particle with x,y,z coordinates and a radius.