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"""
115 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
117 def __init__(self, *args, **kwargs):
118 raise AttributeError(
"No constructor defined - class is abstract")
119 __repr__ = _swig_repr
120 __swig_destroy__ = _IMP_atom.delete_IMP_ATOM_SwigPyIterator
121 __del__ =
lambda self:
None
124 """value(IMP_ATOM_SwigPyIterator self) -> PyObject *"""
125 return _IMP_atom.IMP_ATOM_SwigPyIterator_value(self)
130 incr(IMP_ATOM_SwigPyIterator self, size_t n=1) -> IMP_ATOM_SwigPyIterator
131 incr(IMP_ATOM_SwigPyIterator self) -> IMP_ATOM_SwigPyIterator
133 return _IMP_atom.IMP_ATOM_SwigPyIterator_incr(self, n)
138 decr(IMP_ATOM_SwigPyIterator self, size_t n=1) -> IMP_ATOM_SwigPyIterator
139 decr(IMP_ATOM_SwigPyIterator self) -> IMP_ATOM_SwigPyIterator
141 return _IMP_atom.IMP_ATOM_SwigPyIterator_decr(self, n)
144 def distance(self, x):
145 """distance(IMP_ATOM_SwigPyIterator self, IMP_ATOM_SwigPyIterator x) -> ptrdiff_t"""
146 return _IMP_atom.IMP_ATOM_SwigPyIterator_distance(self, x)
150 """equal(IMP_ATOM_SwigPyIterator self, IMP_ATOM_SwigPyIterator x) -> bool"""
151 return _IMP_atom.IMP_ATOM_SwigPyIterator_equal(self, x)
155 """copy(IMP_ATOM_SwigPyIterator self) -> IMP_ATOM_SwigPyIterator"""
156 return _IMP_atom.IMP_ATOM_SwigPyIterator_copy(self)
160 """next(IMP_ATOM_SwigPyIterator self) -> PyObject *"""
161 return _IMP_atom.IMP_ATOM_SwigPyIterator_next(self)
165 """__next__(IMP_ATOM_SwigPyIterator self) -> PyObject *"""
166 return _IMP_atom.IMP_ATOM_SwigPyIterator___next__(self)
170 """previous(IMP_ATOM_SwigPyIterator self) -> PyObject *"""
171 return _IMP_atom.IMP_ATOM_SwigPyIterator_previous(self)
174 def advance(self, n):
175 """advance(IMP_ATOM_SwigPyIterator self, ptrdiff_t n) -> IMP_ATOM_SwigPyIterator"""
176 return _IMP_atom.IMP_ATOM_SwigPyIterator_advance(self, n)
180 """__eq__(IMP_ATOM_SwigPyIterator self, IMP_ATOM_SwigPyIterator x) -> bool"""
181 return _IMP_atom.IMP_ATOM_SwigPyIterator___eq__(self, x)
185 """__ne__(IMP_ATOM_SwigPyIterator self, IMP_ATOM_SwigPyIterator x) -> bool"""
186 return _IMP_atom.IMP_ATOM_SwigPyIterator___ne__(self, x)
189 def __iadd__(self, n):
190 """__iadd__(IMP_ATOM_SwigPyIterator self, ptrdiff_t n) -> IMP_ATOM_SwigPyIterator"""
191 return _IMP_atom.IMP_ATOM_SwigPyIterator___iadd__(self, n)
194 def __isub__(self, n):
195 """__isub__(IMP_ATOM_SwigPyIterator self, ptrdiff_t n) -> IMP_ATOM_SwigPyIterator"""
196 return _IMP_atom.IMP_ATOM_SwigPyIterator___isub__(self, n)
199 def __add__(self, n):
200 """__add__(IMP_ATOM_SwigPyIterator self, ptrdiff_t n) -> IMP_ATOM_SwigPyIterator"""
201 return _IMP_atom.IMP_ATOM_SwigPyIterator___add__(self, n)
204 def __sub__(self, *args):
206 __sub__(IMP_ATOM_SwigPyIterator self, ptrdiff_t n) -> IMP_ATOM_SwigPyIterator
207 __sub__(IMP_ATOM_SwigPyIterator self, IMP_ATOM_SwigPyIterator x) -> ptrdiff_t
209 return _IMP_atom.IMP_ATOM_SwigPyIterator___sub__(self, *args)
213 IMP_ATOM_SwigPyIterator_swigregister = _IMP_atom.IMP_ATOM_SwigPyIterator_swigregister
214 IMP_ATOM_SwigPyIterator_swigregister(IMP_ATOM_SwigPyIterator)
222 _IMP_atom.IMP_DEBUG_swigconstant(_IMP_atom)
223 IMP_DEBUG = _IMP_atom.IMP_DEBUG
225 _IMP_atom.IMP_RELEASE_swigconstant(_IMP_atom)
226 IMP_RELEASE = _IMP_atom.IMP_RELEASE
228 _IMP_atom.IMP_SILENT_swigconstant(_IMP_atom)
229 IMP_SILENT = _IMP_atom.IMP_SILENT
231 _IMP_atom.IMP_PROGRESS_swigconstant(_IMP_atom)
232 IMP_PROGRESS = _IMP_atom.IMP_PROGRESS
234 _IMP_atom.IMP_TERSE_swigconstant(_IMP_atom)
235 IMP_TERSE = _IMP_atom.IMP_TERSE
237 _IMP_atom.IMP_VERBOSE_swigconstant(_IMP_atom)
238 IMP_VERBOSE = _IMP_atom.IMP_VERBOSE
240 _IMP_atom.IMP_MEMORY_swigconstant(_IMP_atom)
241 IMP_MEMORY = _IMP_atom.IMP_MEMORY
243 _IMP_atom.IMP_NONE_swigconstant(_IMP_atom)
244 IMP_NONE = _IMP_atom.IMP_NONE
246 _IMP_atom.IMP_USAGE_swigconstant(_IMP_atom)
247 IMP_USAGE = _IMP_atom.IMP_USAGE
249 _IMP_atom.IMP_INTERNAL_swigconstant(_IMP_atom)
250 IMP_INTERNAL = _IMP_atom.IMP_INTERNAL
252 _IMP_atom.IMP_KERNEL_HAS_LOG4CXX_swigconstant(_IMP_atom)
253 IMP_KERNEL_HAS_LOG4CXX = _IMP_atom.IMP_KERNEL_HAS_LOG4CXX
255 _IMP_atom.IMP_COMPILER_HAS_AUTO_swigconstant(_IMP_atom)
256 IMP_COMPILER_HAS_AUTO = _IMP_atom.IMP_COMPILER_HAS_AUTO
258 _IMP_atom.IMP_COMPILER_HAS_DEBUG_VECTOR_swigconstant(_IMP_atom)
259 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_atom.IMP_COMPILER_HAS_DEBUG_VECTOR
261 _IMP_atom.IMP_KERNEL_HAS_BOOST_RANDOM_swigconstant(_IMP_atom)
262 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_atom.IMP_KERNEL_HAS_BOOST_RANDOM
264 _IMP_atom.IMP_KERNEL_HAS_GPERFTOOLS_swigconstant(_IMP_atom)
265 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_atom.IMP_KERNEL_HAS_GPERFTOOLS
267 _IMP_atom.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER_swigconstant(_IMP_atom)
268 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_atom.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
270 _IMP_atom.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER_swigconstant(_IMP_atom)
271 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_atom.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
273 _IMP_atom.IMPKERNEL_SHOW_WARNINGS_swigconstant(_IMP_atom)
274 IMPKERNEL_SHOW_WARNINGS = _IMP_atom.IMPKERNEL_SHOW_WARNINGS
276 class _DirectorObjects(object):
277 """@internal Simple class to keep references to director objects
278 to prevent premature deletion."""
281 def register(self, obj):
282 """Take a reference to a director object; will only work for
283 refcounted C++ classes"""
284 if hasattr(obj,
'get_ref_count'):
285 self._objects.append(obj)
287 """Only drop our reference and allow cleanup by Python if no other
288 Python references exist (we hold 3 references: one in self._objects,
289 one in x, and one in the argument list for getrefcount) *and* no
290 other C++ references exist (the Python object always holds one)"""
291 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
292 or x.get_ref_count() > 1]
296 def get_object_count(self):
297 """Get number of director objects (useful for testing only)"""
298 return len(self._objects)
299 _director_objects = _DirectorObjects()
301 class _ostream(object):
302 """Proxy of C++ std::ostream class"""
303 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
305 def __init__(self, *args, **kwargs):
306 raise AttributeError(
"No constructor defined")
307 __repr__ = _swig_repr
309 def write(self, osa_buf):
310 """write(_ostream self, char const * osa_buf)"""
311 return _IMP_atom._ostream_write(self, osa_buf)
313 _ostream_swigregister = _IMP_atom._ostream_swigregister
314 _ostream_swigregister(_ostream)
317 _IMP_atom.IMP_COMPILER_HAS_OVERRIDE_swigconstant(_IMP_atom)
318 IMP_COMPILER_HAS_OVERRIDE = _IMP_atom.IMP_COMPILER_HAS_OVERRIDE
320 _IMP_atom.IMP_COMPILER_HAS_FINAL_swigconstant(_IMP_atom)
321 IMP_COMPILER_HAS_FINAL = _IMP_atom.IMP_COMPILER_HAS_FINAL
323 _IMP_atom.IMP_HAS_NOEXCEPT_swigconstant(_IMP_atom)
324 IMP_HAS_NOEXCEPT = _IMP_atom.IMP_HAS_NOEXCEPT
327 _IMP_atom.IMP_CGAL_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_atom)
328 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_atom.IMP_CGAL_HAS_BOOST_FILESYSTEM
330 _IMP_atom.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_atom)
331 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_atom.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
333 _IMP_atom.IMP_CGAL_HAS_BOOST_RANDOM_swigconstant(_IMP_atom)
334 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_atom.IMP_CGAL_HAS_BOOST_RANDOM
336 _IMP_atom.IMP_CGAL_HAS_BOOST_SYSTEM_swigconstant(_IMP_atom)
337 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_atom.IMP_CGAL_HAS_BOOST_SYSTEM
339 _IMP_atom.IMPCGAL_SHOW_WARNINGS_swigconstant(_IMP_atom)
340 IMPCGAL_SHOW_WARNINGS = _IMP_atom.IMPCGAL_SHOW_WARNINGS
343 _IMP_atom.IMP_ALGEBRA_HAS_IMP_CGAL_swigconstant(_IMP_atom)
344 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_atom.IMP_ALGEBRA_HAS_IMP_CGAL
346 _IMP_atom.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_atom)
347 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_atom.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
349 _IMP_atom.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_atom)
350 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_atom.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
352 _IMP_atom.IMP_ALGEBRA_HAS_BOOST_RANDOM_swigconstant(_IMP_atom)
353 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_atom.IMP_ALGEBRA_HAS_BOOST_RANDOM
355 _IMP_atom.IMP_ALGEBRA_HAS_BOOST_SYSTEM_swigconstant(_IMP_atom)
356 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_atom.IMP_ALGEBRA_HAS_BOOST_SYSTEM
358 _IMP_atom.IMP_ALGEBRA_HAS_CGAL_swigconstant(_IMP_atom)
359 IMP_ALGEBRA_HAS_CGAL = _IMP_atom.IMP_ALGEBRA_HAS_CGAL
361 _IMP_atom.IMP_ALGEBRA_HAS_ANN_swigconstant(_IMP_atom)
362 IMP_ALGEBRA_HAS_ANN = _IMP_atom.IMP_ALGEBRA_HAS_ANN
364 _IMP_atom.IMPALGEBRA_SHOW_WARNINGS_swigconstant(_IMP_atom)
365 IMPALGEBRA_SHOW_WARNINGS = _IMP_atom.IMPALGEBRA_SHOW_WARNINGS
368 _IMP_atom.IMP_DISPLAY_HAS_IMP_CGAL_swigconstant(_IMP_atom)
369 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_atom.IMP_DISPLAY_HAS_IMP_CGAL
371 _IMP_atom.IMP_DISPLAY_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_atom)
372 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_atom.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
374 _IMP_atom.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_atom)
375 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_atom.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
377 _IMP_atom.IMP_DISPLAY_HAS_BOOST_RANDOM_swigconstant(_IMP_atom)
378 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_atom.IMP_DISPLAY_HAS_BOOST_RANDOM
380 _IMP_atom.IMP_DISPLAY_HAS_BOOST_SYSTEM_swigconstant(_IMP_atom)
381 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_atom.IMP_DISPLAY_HAS_BOOST_SYSTEM
383 _IMP_atom.IMP_DISPLAY_HAS_CGAL_swigconstant(_IMP_atom)
384 IMP_DISPLAY_HAS_CGAL = _IMP_atom.IMP_DISPLAY_HAS_CGAL
386 _IMP_atom.IMPDISPLAY_SHOW_WARNINGS_swigconstant(_IMP_atom)
387 IMPDISPLAY_SHOW_WARNINGS = _IMP_atom.IMPDISPLAY_SHOW_WARNINGS
390 _IMP_atom.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL_swigconstant(_IMP_atom)
391 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_atom.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
393 _IMP_atom.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_atom)
394 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_atom.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
396 _IMP_atom.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_atom)
397 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_atom.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
399 _IMP_atom.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM_swigconstant(_IMP_atom)
400 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_atom.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
402 _IMP_atom.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM_swigconstant(_IMP_atom)
403 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_atom.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
405 _IMP_atom.IMP_SCORE_FUNCTOR_HAS_CGAL_swigconstant(_IMP_atom)
406 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_atom.IMP_SCORE_FUNCTOR_HAS_CGAL
408 _IMP_atom.IMP_SCORE_FUNCTOR_HAS_HDF5_swigconstant(_IMP_atom)
409 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_atom.IMP_SCORE_FUNCTOR_HAS_HDF5
411 _IMP_atom.IMPSCOREFUNCTOR_SHOW_WARNINGS_swigconstant(_IMP_atom)
412 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_atom.IMPSCOREFUNCTOR_SHOW_WARNINGS
415 _IMP_atom.IMP_CORE_HAS_IMP_CGAL_swigconstant(_IMP_atom)
416 IMP_CORE_HAS_IMP_CGAL = _IMP_atom.IMP_CORE_HAS_IMP_CGAL
418 _IMP_atom.IMP_CORE_HAS_IMP_KERNEL_swigconstant(_IMP_atom)
419 IMP_CORE_HAS_IMP_KERNEL = _IMP_atom.IMP_CORE_HAS_IMP_KERNEL
421 _IMP_atom.IMP_CORE_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_atom)
422 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_atom.IMP_CORE_HAS_BOOST_FILESYSTEM
424 _IMP_atom.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_atom)
425 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_atom.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
427 _IMP_atom.IMP_CORE_HAS_BOOST_RANDOM_swigconstant(_IMP_atom)
428 IMP_CORE_HAS_BOOST_RANDOM = _IMP_atom.IMP_CORE_HAS_BOOST_RANDOM
430 _IMP_atom.IMP_CORE_HAS_BOOST_SYSTEM_swigconstant(_IMP_atom)
431 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_atom.IMP_CORE_HAS_BOOST_SYSTEM
433 _IMP_atom.IMP_CORE_HAS_CGAL_swigconstant(_IMP_atom)
434 IMP_CORE_HAS_CGAL = _IMP_atom.IMP_CORE_HAS_CGAL
436 _IMP_atom.IMP_CORE_HAS_HDF5_swigconstant(_IMP_atom)
437 IMP_CORE_HAS_HDF5 = _IMP_atom.IMP_CORE_HAS_HDF5
439 _IMP_atom.IMPCORE_SHOW_WARNINGS_swigconstant(_IMP_atom)
440 IMPCORE_SHOW_WARNINGS = _IMP_atom.IMPCORE_SHOW_WARNINGS
443 _IMP_atom.IMP_CONTAINER_HAS_IMP_ALGEBRA_swigconstant(_IMP_atom)
444 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_atom.IMP_CONTAINER_HAS_IMP_ALGEBRA
446 _IMP_atom.IMP_CONTAINER_HAS_IMP_CGAL_swigconstant(_IMP_atom)
447 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_atom.IMP_CONTAINER_HAS_IMP_CGAL
449 _IMP_atom.IMP_CONTAINER_HAS_IMP_DISPLAY_swigconstant(_IMP_atom)
450 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_atom.IMP_CONTAINER_HAS_IMP_DISPLAY
452 _IMP_atom.IMP_CONTAINER_HAS_IMP_KERNEL_swigconstant(_IMP_atom)
453 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_atom.IMP_CONTAINER_HAS_IMP_KERNEL
455 _IMP_atom.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_atom)
456 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_atom.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
458 _IMP_atom.IMP_CONTAINER_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_atom)
459 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_atom.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
461 _IMP_atom.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_atom)
462 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_atom.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
464 _IMP_atom.IMP_CONTAINER_HAS_BOOST_RANDOM_swigconstant(_IMP_atom)
465 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_atom.IMP_CONTAINER_HAS_BOOST_RANDOM
467 _IMP_atom.IMP_CONTAINER_HAS_BOOST_SYSTEM_swigconstant(_IMP_atom)
468 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_atom.IMP_CONTAINER_HAS_BOOST_SYSTEM
470 _IMP_atom.IMP_CONTAINER_HAS_CGAL_swigconstant(_IMP_atom)
471 IMP_CONTAINER_HAS_CGAL = _IMP_atom.IMP_CONTAINER_HAS_CGAL
473 _IMP_atom.IMP_CONTAINER_HAS_HDF5_swigconstant(_IMP_atom)
474 IMP_CONTAINER_HAS_HDF5 = _IMP_atom.IMP_CONTAINER_HAS_HDF5
476 _IMP_atom.IMPCONTAINER_SHOW_WARNINGS_swigconstant(_IMP_atom)
477 IMPCONTAINER_SHOW_WARNINGS = _IMP_atom.IMPCONTAINER_SHOW_WARNINGS
480 _IMP_atom.IMP_ATOM_HAS_IMP_CGAL_swigconstant(_IMP_atom)
481 IMP_ATOM_HAS_IMP_CGAL = _IMP_atom.IMP_ATOM_HAS_IMP_CGAL
483 _IMP_atom.IMP_ATOM_HAS_IMP_KERNEL_swigconstant(_IMP_atom)
484 IMP_ATOM_HAS_IMP_KERNEL = _IMP_atom.IMP_ATOM_HAS_IMP_KERNEL
486 _IMP_atom.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_atom)
487 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_atom.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
489 _IMP_atom.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_atom)
490 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_atom.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
492 _IMP_atom.IMP_ATOM_HAS_BOOST_RANDOM_swigconstant(_IMP_atom)
493 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_atom.IMP_ATOM_HAS_BOOST_RANDOM
495 _IMP_atom.IMP_ATOM_HAS_BOOST_REGEX_swigconstant(_IMP_atom)
496 IMP_ATOM_HAS_BOOST_REGEX = _IMP_atom.IMP_ATOM_HAS_BOOST_REGEX
498 _IMP_atom.IMP_ATOM_HAS_BOOST_SYSTEM_swigconstant(_IMP_atom)
499 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_atom.IMP_ATOM_HAS_BOOST_SYSTEM
501 _IMP_atom.IMP_ATOM_HAS_CGAL_swigconstant(_IMP_atom)
502 IMP_ATOM_HAS_CGAL = _IMP_atom.IMP_ATOM_HAS_CGAL
504 _IMP_atom.IMP_ATOM_HAS_HDF5_swigconstant(_IMP_atom)
505 IMP_ATOM_HAS_HDF5 = _IMP_atom.IMP_ATOM_HAS_HDF5
507 _IMP_atom.IMPATOM_SHOW_WARNINGS_swigconstant(_IMP_atom)
508 IMPATOM_SHOW_WARNINGS = _IMP_atom.IMPATOM_SHOW_WARNINGS
510 _IMP_atom.IMP_ATOM_TYPE_INDEX_swigconstant(_IMP_atom)
511 IMP_ATOM_TYPE_INDEX = _IMP_atom.IMP_ATOM_TYPE_INDEX
513 _IMP_atom.IMP_RESIDUE_TYPE_INDEX_swigconstant(_IMP_atom)
514 IMP_RESIDUE_TYPE_INDEX = _IMP_atom.IMP_RESIDUE_TYPE_INDEX
516 _IMP_atom.IMP_HIERARCHY_TYPE_INDEX_swigconstant(_IMP_atom)
517 IMP_HIERARCHY_TYPE_INDEX = _IMP_atom.IMP_HIERARCHY_TYPE_INDEX
519 """Proxy of C++ IMP::internal::BoostDigraph<(IMP::atom::HierarchyTree,IMP::atom::Hierarchy,IMP::atom::ShowHierarchyTreeVertex)> class"""
520 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
521 __repr__ = _swig_repr
524 """__init__(IMP::internal::BoostDigraph<(IMP::atom::HierarchyTree,IMP::atom::Hierarchy,IMP::atom::ShowHierarchyTreeVertex)> self) -> HierarchyTree"""
525 this = _IMP_atom.new_HierarchyTree()
527 self.this.append(this)
532 """get_graph(HierarchyTree self) -> IMP::atom::HierarchyTree const &"""
533 return _IMP_atom.HierarchyTree_get_graph(self)
537 """get_vertices(HierarchyTree self) -> IMP::internal::BoostDigraph< IMP::atom::HierarchyTree,IMP::atom::Hierarchy,IMP::atom::ShowHierarchyTreeVertex >::VertexDescriptors"""
538 return _IMP_atom.HierarchyTree_get_vertices(self)
541 def get_vertex_name(self, i):
542 """get_vertex_name(HierarchyTree self, IMP::internal::BoostDigraph< IMP::atom::HierarchyTree,IMP::atom::Hierarchy,IMP::atom::ShowHierarchyTreeVertex >::VertexDescriptor i) -> Hierarchy"""
543 return _IMP_atom.HierarchyTree_get_vertex_name(self, i)
546 def get_in_neighbors(self, v):
547 """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"""
548 return _IMP_atom.HierarchyTree_get_in_neighbors(self, v)
551 def get_out_neighbors(self, v):
552 """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"""
553 return _IMP_atom.HierarchyTree_get_out_neighbors(self, v)
558 show_graphviz(HierarchyTree self, _ostream out)
559 show_graphviz(HierarchyTree self)
561 return _IMP_atom.HierarchyTree_show_graphviz(self, *args)
564 def get_graphviz_string(self):
565 """get_graphviz_string(HierarchyTree self) -> std::string"""
566 return _IMP_atom.HierarchyTree_get_graphviz_string(self)
569 def add_edge(self, v0, v1):
570 """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)"""
571 return _IMP_atom.HierarchyTree_add_edge(self, v0, v1)
574 def add_vertex(self, l):
575 """add_vertex(HierarchyTree self, Hierarchy l) -> IMP::internal::BoostDigraph< IMP::atom::HierarchyTree,IMP::atom::Hierarchy,IMP::atom::ShowHierarchyTreeVertex >::VertexDescriptor"""
576 return _IMP_atom.HierarchyTree_add_vertex(self, l)
579 def remove_vertex(self, l):
580 """remove_vertex(HierarchyTree self, IMP::internal::BoostDigraph< IMP::atom::HierarchyTree,IMP::atom::Hierarchy,IMP::atom::ShowHierarchyTreeVertex >::VertexDescriptor l)"""
581 return _IMP_atom.HierarchyTree_remove_vertex(self, l)
583 __swig_destroy__ = _IMP_atom.delete_HierarchyTree
584 __del__ =
lambda self:
None
585 HierarchyTree_swigregister = _IMP_atom.HierarchyTree_swigregister
586 HierarchyTree_swigregister(HierarchyTree)
588 _value_types.append(
"HierarchyTree")
590 _object_types.append(
"PDBSelector")
593 def _object_cast_to_PDBSelector(o):
594 """_object_cast_to_PDBSelector(Object o) -> PDBSelector"""
595 return _IMP_atom._object_cast_to_PDBSelector(o)
597 return [Angle(x)
for x
in l]
598 _plural_types.append(
"Angles")
600 _value_types.append(
"Angle")
603 return [Atom(x)
for x
in l]
604 _plural_types.append(
"Atoms")
606 _value_types.append(
"Atom")
609 return [Bond(x)
for x
in l]
610 _plural_types.append(
"Bonds")
612 _value_types.append(
"Bond")
615 return [Bonded(x)
for x
in l]
616 _plural_types.append(
"Bondeds")
618 _value_types.append(
"Bonded")
620 def CHARMMAtomList(l=[]):
621 return [CHARMMAtom(x)
for x
in l]
622 _plural_types.append(
"CHARMMAtomList")
624 _value_types.append(
"CHARMMAtom")
627 return [Chain(x)
for x
in l]
628 _plural_types.append(
"Chains")
630 _value_types.append(
"Chain")
632 def CenterOfMasses(l=[]):
633 return [CenterOfMass(x)
for x
in l]
634 _plural_types.append(
"CenterOfMasses")
636 _value_types.append(
"CenterOfMass")
639 return [Charged(x)
for x
in l]
640 _plural_types.append(
"Chargeds")
642 _value_types.append(
"Charged")
644 def Diffusions(l=[]):
645 return [Diffusion(x)
for x
in l]
646 _plural_types.append(
"Diffusions")
648 _value_types.append(
"Diffusion")
650 def RigidBodyDiffusions(l=[]):
651 return [RigidBodyDiffusion(x)
for x
in l]
652 _plural_types.append(
"RigidBodyDiffusions")
654 _value_types.append(
"RigidBodyDiffusion")
656 def TAMDParticles(l=[]):
657 return [TAMDParticle(x)
for x
in l]
658 _plural_types.append(
"TAMDParticles")
660 _value_types.append(
"TAMDParticle")
662 def TAMDCentroids(l=[]):
663 return [TAMDCentroid(x)
for x
in l]
664 _plural_types.append(
"TAMDCentroids")
666 _value_types.append(
"TAMDCentroid")
669 return [Dihedral(x)
for x
in l]
670 _plural_types.append(
"Dihedrals")
672 _value_types.append(
"Dihedral")
675 return [Domain(x)
for x
in l]
676 _plural_types.append(
"Domains")
678 _value_types.append(
"Domain")
681 return [Fragment(x)
for x
in l]
682 _plural_types.append(
"Fragments")
684 _value_types.append(
"Fragment")
686 def Hierarchies(l=[]):
687 return [Hierarchy(x)
for x
in l]
688 _plural_types.append(
"Hierarchies")
690 _value_types.append(
"Hierarchy")
692 def LennardJonesList(l=[]):
693 return [LennardJones(x)
for x
in l]
694 _plural_types.append(
"LennardJonesList")
696 _value_types.append(
"LennardJones")
699 return [Mass(x)
for x
in l]
700 _plural_types.append(
"Masses")
702 _value_types.append(
"Mass")
704 def LinearVelocities(l=[]):
705 return [LinearVelocity(x)
for x
in l]
706 _plural_types.append(
"LinearVelocities")
708 _value_types.append(
"LinearVelocity")
710 def AngularVelocities(l=[]):
711 return [AngularVelocity(x)
for x
in l]
712 _plural_types.append(
"AngularVelocities")
714 _value_types.append(
"AngularVelocity")
717 return [Molecule(x)
for x
in l]
718 _plural_types.append(
"Molecules")
720 _value_types.append(
"Molecule")
723 return [Residue(x)
for x
in l]
724 _plural_types.append(
"Residues")
726 _value_types.append(
"Residue")
728 def Representations(l=[]):
729 return [Representation(x)
for x
in l]
730 _plural_types.append(
"Representations")
732 _value_types.append(
"Representation")
735 return [State(x)
for x
in l]
736 _plural_types.append(
"States")
738 _value_types.append(
"State")
741 return [Copy(x)
for x
in l]
742 _plural_types.append(
"Copies")
744 _value_types.append(
"Copy")
746 def SecondaryStructureResidues(l=[]):
747 return [SecondaryStructureResidue(x)
for x
in l]
748 _plural_types.append(
"SecondaryStructureResidues")
750 _value_types.append(
"SecondaryStructureResidue")
752 def StructureSources(l=[]):
753 return [StructureSource(x)
for x
in l]
754 _plural_types.append(
"StructureSources")
756 _value_types.append(
"StructureSource")
758 _object_types.append(
"Simulator")
761 def _object_cast_to_Simulator(o):
762 """_object_cast_to_Simulator(Object o) -> Simulator"""
763 return _IMP_atom._object_cast_to_Simulator(o)
764 _object_types.append(
"ATOMPDBSelector")
767 def _object_cast_to_ATOMPDBSelector(o):
768 """_object_cast_to_ATOMPDBSelector(Object o) -> ATOMPDBSelector"""
769 return _IMP_atom._object_cast_to_ATOMPDBSelector(o)
770 _object_types.append(
"AllMol2Selector")
773 def _object_cast_to_AllMol2Selector(o):
774 """_object_cast_to_AllMol2Selector(Object o) -> AllMol2Selector"""
775 return _IMP_atom._object_cast_to_AllMol2Selector(o)
776 _object_types.append(
"AllPDBSelector")
779 def _object_cast_to_AllPDBSelector(o):
780 """_object_cast_to_AllPDBSelector(Object o) -> AllPDBSelector"""
781 return _IMP_atom._object_cast_to_AllPDBSelector(o)
782 _object_types.append(
"AndPDBSelector")
785 def _object_cast_to_AndPDBSelector(o):
786 """_object_cast_to_AndPDBSelector(Object o) -> AndPDBSelector"""
787 return _IMP_atom._object_cast_to_AndPDBSelector(o)
788 _object_types.append(
"AngleSingletonScore")
791 def _object_cast_to_AngleSingletonScore(o):
792 """_object_cast_to_AngleSingletonScore(Object o) -> AngleSingletonScore"""
793 return _IMP_atom._object_cast_to_AngleSingletonScore(o)
794 _object_types.append(
"BondEndpointsRefiner")
797 def _object_cast_to_BondEndpointsRefiner(o):
798 """_object_cast_to_BondEndpointsRefiner(Object o) -> BondEndpointsRefiner"""
799 return _IMP_atom._object_cast_to_BondEndpointsRefiner(o)
800 _object_types.append(
"BondPairContainer")
803 def _object_cast_to_BondPairContainer(o):
804 """_object_cast_to_BondPairContainer(Object o) -> BondPairContainer"""
805 return _IMP_atom._object_cast_to_BondPairContainer(o)
806 _object_types.append(
"BondSingletonScore")
809 def _object_cast_to_BondSingletonScore(o):
810 """_object_cast_to_BondSingletonScore(Object o) -> BondSingletonScore"""
811 return _IMP_atom._object_cast_to_BondSingletonScore(o)
812 _object_types.append(
"BondedPairFilter")
815 def _object_cast_to_BondedPairFilter(o):
816 """_object_cast_to_BondedPairFilter(Object o) -> BondedPairFilter"""
817 return _IMP_atom._object_cast_to_BondedPairFilter(o)
818 _object_types.append(
"BrownianDynamics")
821 def _object_cast_to_BrownianDynamics(o):
822 """_object_cast_to_BrownianDynamics(Object o) -> BrownianDynamics"""
823 return _IMP_atom._object_cast_to_BrownianDynamics(o)
824 _object_types.append(
"BrownianDynamicsTAMD")
827 def _object_cast_to_BrownianDynamicsTAMD(o):
828 """_object_cast_to_BrownianDynamicsTAMD(Object o) -> BrownianDynamicsTAMD"""
829 return _IMP_atom._object_cast_to_BrownianDynamicsTAMD(o)
830 _object_types.append(
"CAlphaPDBSelector")
833 def _object_cast_to_CAlphaPDBSelector(o):
834 """_object_cast_to_CAlphaPDBSelector(Object o) -> CAlphaPDBSelector"""
835 return _IMP_atom._object_cast_to_CAlphaPDBSelector(o)
836 _object_types.append(
"CBetaPDBSelector")
839 def _object_cast_to_CBetaPDBSelector(o):
840 """_object_cast_to_CBetaPDBSelector(Object o) -> CBetaPDBSelector"""
841 return _IMP_atom._object_cast_to_CBetaPDBSelector(o)
842 _object_types.append(
"BackbonePDBSelector")
845 def _object_cast_to_BackbonePDBSelector(o):
846 """_object_cast_to_BackbonePDBSelector(Object o) -> BackbonePDBSelector"""
847 return _IMP_atom._object_cast_to_BackbonePDBSelector(o)
848 _object_types.append(
"CHARMMParameters")
851 def _object_cast_to_CHARMMParameters(o):
852 """_object_cast_to_CHARMMParameters(Object o) -> CHARMMParameters"""
853 return _IMP_atom._object_cast_to_CHARMMParameters(o)
854 _object_types.append(
"CHARMMResidueTopology")
857 def _object_cast_to_CHARMMResidueTopology(o):
858 """_object_cast_to_CHARMMResidueTopology(Object o) -> CHARMMResidueTopology"""
859 return _IMP_atom._object_cast_to_CHARMMResidueTopology(o)
860 _object_types.append(
"CHARMMSegmentTopology")
863 def _object_cast_to_CHARMMSegmentTopology(o):
864 """_object_cast_to_CHARMMSegmentTopology(Object o) -> CHARMMSegmentTopology"""
865 return _IMP_atom._object_cast_to_CHARMMSegmentTopology(o)
866 _object_types.append(
"CHARMMStereochemistryRestraint")
869 def _object_cast_to_CHARMMStereochemistryRestraint(o):
870 """_object_cast_to_CHARMMStereochemistryRestraint(Object o) -> CHARMMStereochemistryRestraint"""
871 return _IMP_atom._object_cast_to_CHARMMStereochemistryRestraint(o)
872 _object_types.append(
"CHARMMTopology")
875 def _object_cast_to_CHARMMTopology(o):
876 """_object_cast_to_CHARMMTopology(Object o) -> CHARMMTopology"""
877 return _IMP_atom._object_cast_to_CHARMMTopology(o)
878 _object_types.append(
"CPDBSelector")
881 def _object_cast_to_CPDBSelector(o):
882 """_object_cast_to_CPDBSelector(Object o) -> CPDBSelector"""
883 return _IMP_atom._object_cast_to_CPDBSelector(o)
884 _object_types.append(
"ChainPDBSelector")
887 def _object_cast_to_ChainPDBSelector(o):
888 """_object_cast_to_ChainPDBSelector(Object o) -> ChainPDBSelector"""
889 return _IMP_atom._object_cast_to_ChainPDBSelector(o)
890 _object_types.append(
"CoulombPairScore")
893 def _object_cast_to_CoulombPairScore(o):
894 """_object_cast_to_CoulombPairScore(Object o) -> CoulombPairScore"""
895 return _IMP_atom._object_cast_to_CoulombPairScore(o)
896 _object_types.append(
"CoverBond")
899 def _object_cast_to_CoverBond(o):
900 """_object_cast_to_CoverBond(Object o) -> CoverBond"""
901 return _IMP_atom._object_cast_to_CoverBond(o)
902 _object_types.append(
"DihedralSingletonScore")
905 def _object_cast_to_DihedralSingletonScore(o):
906 """_object_cast_to_DihedralSingletonScore(Object o) -> DihedralSingletonScore"""
907 return _IMP_atom._object_cast_to_DihedralSingletonScore(o)
908 _object_types.append(
"DopePairScore")
911 def _object_cast_to_DopePairScore(o):
912 """_object_cast_to_DopePairScore(Object o) -> DopePairScore"""
913 return _IMP_atom._object_cast_to_DopePairScore(o)
914 _object_types.append(
"OrientedSoapPairScore")
917 def _object_cast_to_OrientedSoapPairScore(o):
918 """_object_cast_to_OrientedSoapPairScore(Object o) -> OrientedSoapPairScore"""
919 return _IMP_atom._object_cast_to_OrientedSoapPairScore(o)
920 _object_types.append(
"EzRestraint")
923 def _object_cast_to_EzRestraint(o):
924 """_object_cast_to_EzRestraint(Object o) -> EzRestraint"""
925 return _IMP_atom._object_cast_to_EzRestraint(o)
926 _object_types.append(
"ForceFieldParameters")
929 def _object_cast_to_ForceFieldParameters(o):
930 """_object_cast_to_ForceFieldParameters(Object o) -> ForceFieldParameters"""
931 return _IMP_atom._object_cast_to_ForceFieldParameters(o)
932 _object_types.append(
"ForceSwitch")
935 def _object_cast_to_ForceSwitch(o):
936 """_object_cast_to_ForceSwitch(Object o) -> ForceSwitch"""
937 return _IMP_atom._object_cast_to_ForceSwitch(o)
938 _object_types.append(
"HydrogenPDBSelector")
941 def _object_cast_to_HydrogenPDBSelector(o):
942 """_object_cast_to_HydrogenPDBSelector(Object o) -> HydrogenPDBSelector"""
943 return _IMP_atom._object_cast_to_HydrogenPDBSelector(o)
944 _object_types.append(
"ImproperSingletonScore")
947 def _object_cast_to_ImproperSingletonScore(o):
948 """_object_cast_to_ImproperSingletonScore(Object o) -> ImproperSingletonScore"""
949 return _IMP_atom._object_cast_to_ImproperSingletonScore(o)
950 _object_types.append(
"LennardJonesPairScore")
953 def _object_cast_to_LennardJonesPairScore(o):
954 """_object_cast_to_LennardJonesPairScore(Object o) -> LennardJonesPairScore"""
955 return _IMP_atom._object_cast_to_LennardJonesPairScore(o)
956 _object_types.append(
"Mol2Selector")
959 def _object_cast_to_Mol2Selector(o):
960 """_object_cast_to_Mol2Selector(Object o) -> Mol2Selector"""
961 return _IMP_atom._object_cast_to_Mol2Selector(o)
962 _object_types.append(
"MolecularDynamics")
965 def _object_cast_to_MolecularDynamics(o):
966 """_object_cast_to_MolecularDynamics(Object o) -> MolecularDynamics"""
967 return _IMP_atom._object_cast_to_MolecularDynamics(o)
968 _object_types.append(
"NPDBSelector")
971 def _object_cast_to_NPDBSelector(o):
972 """_object_cast_to_NPDBSelector(Object o) -> NPDBSelector"""
973 return _IMP_atom._object_cast_to_NPDBSelector(o)
974 _object_types.append(
"NonAlternativePDBSelector")
977 def _object_cast_to_NonAlternativePDBSelector(o):
978 """_object_cast_to_NonAlternativePDBSelector(Object o) -> NonAlternativePDBSelector"""
979 return _IMP_atom._object_cast_to_NonAlternativePDBSelector(o)
980 _object_types.append(
"NonHydrogenMol2Selector")
983 def _object_cast_to_NonHydrogenMol2Selector(o):
984 """_object_cast_to_NonHydrogenMol2Selector(Object o) -> NonHydrogenMol2Selector"""
985 return _IMP_atom._object_cast_to_NonHydrogenMol2Selector(o)
986 _object_types.append(
"NonWaterNonHydrogenPDBSelector")
989 def _object_cast_to_NonWaterNonHydrogenPDBSelector(o):
990 """_object_cast_to_NonWaterNonHydrogenPDBSelector(Object o) -> NonWaterNonHydrogenPDBSelector"""
991 return _IMP_atom._object_cast_to_NonWaterNonHydrogenPDBSelector(o)
992 _object_types.append(
"NonWaterPDBSelector")
995 def _object_cast_to_NonWaterPDBSelector(o):
996 """_object_cast_to_NonWaterPDBSelector(Object o) -> NonWaterPDBSelector"""
997 return _IMP_atom._object_cast_to_NonWaterPDBSelector(o)
998 _object_types.append(
"NotPDBSelector")
1001 def _object_cast_to_NotPDBSelector(o):
1002 """_object_cast_to_NotPDBSelector(Object o) -> NotPDBSelector"""
1003 return _IMP_atom._object_cast_to_NotPDBSelector(o)
1004 _object_types.append(
"OrPDBSelector")
1007 def _object_cast_to_OrPDBSelector(o):
1008 """_object_cast_to_OrPDBSelector(Object o) -> OrPDBSelector"""
1009 return _IMP_atom._object_cast_to_OrPDBSelector(o)
1010 _object_types.append(
"PPDBSelector")
1013 def _object_cast_to_PPDBSelector(o):
1014 """_object_cast_to_PPDBSelector(Object o) -> PPDBSelector"""
1015 return _IMP_atom._object_cast_to_PPDBSelector(o)
1016 _object_types.append(
"ProteinLigandAtomPairScore")
1019 def _object_cast_to_ProteinLigandAtomPairScore(o):
1020 """_object_cast_to_ProteinLigandAtomPairScore(Object o) -> ProteinLigandAtomPairScore"""
1021 return _IMP_atom._object_cast_to_ProteinLigandAtomPairScore(o)
1022 _object_types.append(
"ProteinLigandRestraint")
1025 def _object_cast_to_ProteinLigandRestraint(o):
1026 """_object_cast_to_ProteinLigandRestraint(Object o) -> ProteinLigandRestraint"""
1027 return _IMP_atom._object_cast_to_ProteinLigandRestraint(o)
1028 _object_types.append(
"SameResiduePairFilter")
1031 def _object_cast_to_SameResiduePairFilter(o):
1032 """_object_cast_to_SameResiduePairFilter(Object o) -> SameResiduePairFilter"""
1033 return _IMP_atom._object_cast_to_SameResiduePairFilter(o)
1034 _object_types.append(
"SoapPairFilter")
1037 def _object_cast_to_SoapPairFilter(o):
1038 """_object_cast_to_SoapPairFilter(Object o) -> SoapPairFilter"""
1039 return _IMP_atom._object_cast_to_SoapPairFilter(o)
1040 _object_types.append(
"SmoothingFunction")
1043 def _object_cast_to_SmoothingFunction(o):
1044 """_object_cast_to_SmoothingFunction(Object o) -> SmoothingFunction"""
1045 return _IMP_atom._object_cast_to_SmoothingFunction(o)
1046 _object_types.append(
"StereochemistryPairFilter")
1049 def _object_cast_to_StereochemistryPairFilter(o):
1050 """_object_cast_to_StereochemistryPairFilter(Object o) -> StereochemistryPairFilter"""
1051 return _IMP_atom._object_cast_to_StereochemistryPairFilter(o)
1052 _object_types.append(
"VelocityScalingOptimizerState")
1055 def _object_cast_to_VelocityScalingOptimizerState(o):
1056 """_object_cast_to_VelocityScalingOptimizerState(Object o) -> VelocityScalingOptimizerState"""
1057 return _IMP_atom._object_cast_to_VelocityScalingOptimizerState(o)
1058 _object_types.append(
"WaterPDBSelector")
1061 def _object_cast_to_WaterPDBSelector(o):
1062 """_object_cast_to_WaterPDBSelector(Object o) -> WaterPDBSelector"""
1063 return _IMP_atom._object_cast_to_WaterPDBSelector(o)
1064 _object_types.append(
"WritePDBOptimizerState")
1067 def _object_cast_to_WritePDBOptimizerState(o):
1068 """_object_cast_to_WritePDBOptimizerState(Object o) -> WritePDBOptimizerState"""
1069 return _IMP_atom._object_cast_to_WritePDBOptimizerState(o)
1071 _plural_types.append(
"AtomTypes")
1072 _value_types.append(
"AtomType")
1074 CHARMMAtomTopologies=list
1075 _plural_types.append(
"CHARMMAtomTopologies")
1076 _value_types.append(
"CHARMMAtomTopology")
1078 CHARMMBondEndpoints=list
1079 _plural_types.append(
"CHARMMBondEndpoints")
1080 _value_types.append(
"CHARMMBondEndpoint")
1082 CHARMMBondParametersList=list
1083 _plural_types.append(
"CHARMMBondParametersList")
1084 _value_types.append(
"CHARMMBondParameters")
1086 CHARMMDihedralParametersList=list
1087 _plural_types.append(
"CHARMMDihedralParametersList")
1088 _value_types.append(
"CHARMMDihedralParameters")
1090 _object_types.append(
"CHARMMIdealResidueTopology")
1093 def _object_cast_to_CHARMMIdealResidueTopology(o):
1094 """_object_cast_to_CHARMMIdealResidueTopology(Object o) -> CHARMMIdealResidueTopology"""
1095 return _IMP_atom._object_cast_to_CHARMMIdealResidueTopology(o)
1096 CHARMMInternalCoordinates=list
1097 _plural_types.append(
"CHARMMInternalCoordinates")
1098 _value_types.append(
"CHARMMInternalCoordinate")
1100 _object_types.append(
"CHARMMPatch")
1103 def _object_cast_to_CHARMMPatch(o):
1104 """_object_cast_to_CHARMMPatch(Object o) -> CHARMMPatch"""
1105 return _IMP_atom._object_cast_to_CHARMMPatch(o)
1106 _object_types.append(
"CHARMMResidueTopologyBase")
1109 def _object_cast_to_CHARMMResidueTopologyBase(o):
1110 """_object_cast_to_CHARMMResidueTopologyBase(Object o) -> CHARMMResidueTopologyBase"""
1111 return _IMP_atom._object_cast_to_CHARMMResidueTopologyBase(o)
1113 _plural_types.append(
"ResidueTypes")
1114 _value_types.append(
"ResidueType")
1117 _plural_types.append(
"Selections")
1118 _value_types.append(
"Selection")
1120 _object_types.append(
"RemoveRigidMotionOptimizerState")
1123 def _object_cast_to_RemoveRigidMotionOptimizerState(o):
1124 """_object_cast_to_RemoveRigidMotionOptimizerState(Object o) -> RemoveRigidMotionOptimizerState"""
1125 return _IMP_atom._object_cast_to_RemoveRigidMotionOptimizerState(o)
1126 _object_types.append(
"BerendsenThermostatOptimizerState")
1129 def _object_cast_to_BerendsenThermostatOptimizerState(o):
1130 """_object_cast_to_BerendsenThermostatOptimizerState(Object o) -> BerendsenThermostatOptimizerState"""
1131 return _IMP_atom._object_cast_to_BerendsenThermostatOptimizerState(o)
1132 _object_types.append(
"LangevinThermostatOptimizerState")
1135 def _object_cast_to_LangevinThermostatOptimizerState(o):
1136 """_object_cast_to_LangevinThermostatOptimizerState(Object o) -> LangevinThermostatOptimizerState"""
1137 return _IMP_atom._object_cast_to_LangevinThermostatOptimizerState(o)
1138 _object_types.append(
"SelectionGeometry")
1141 def _object_cast_to_SelectionGeometry(o):
1142 """_object_cast_to_SelectionGeometry(Object o) -> SelectionGeometry"""
1143 return _IMP_atom._object_cast_to_SelectionGeometry(o)
1144 _object_types.append(
"HierarchyGeometry")
1147 def _object_cast_to_HierarchyGeometry(o):
1148 """_object_cast_to_HierarchyGeometry(Object o) -> HierarchyGeometry"""
1149 return _IMP_atom._object_cast_to_HierarchyGeometry(o)
1150 _object_types.append(
"HierarchiesGeometry")
1153 def _object_cast_to_HierarchiesGeometry(o):
1154 """_object_cast_to_HierarchiesGeometry(Object o) -> HierarchiesGeometry"""
1155 return _IMP_atom._object_cast_to_HierarchiesGeometry(o)
1156 _object_types.append(
"BondGeometry")
1159 def _object_cast_to_BondGeometry(o):
1160 """_object_cast_to_BondGeometry(Object o) -> BondGeometry"""
1161 return _IMP_atom._object_cast_to_BondGeometry(o)
1162 _object_types.append(
"BondsGeometry")
1165 def _object_cast_to_BondsGeometry(o):
1166 """_object_cast_to_BondsGeometry(Object o) -> BondsGeometry"""
1167 return _IMP_atom._object_cast_to_BondsGeometry(o)
1168 _object_types.append(
"CAAngleRestraint")
1171 def _object_cast_to_CAAngleRestraint(o):
1172 """_object_cast_to_CAAngleRestraint(Object o) -> CAAngleRestraint"""
1173 return _IMP_atom._object_cast_to_CAAngleRestraint(o)
1174 _object_types.append(
"CADihedralRestraint")
1177 def _object_cast_to_CADihedralRestraint(o):
1178 """_object_cast_to_CADihedralRestraint(Object o) -> CADihedralRestraint"""
1179 return _IMP_atom._object_cast_to_CADihedralRestraint(o)
1180 CHARMMDihedrals=list
1181 _plural_types.append(
"CHARMMDihedrals")
1182 _value_types.append(
"CHARMMDihedral")
1185 _plural_types.append(
"CHARMMBonds")
1186 _value_types.append(
"CHARMMBond")
1189 _plural_types.append(
"CHARMMAngles")
1190 _value_types.append(
"CHARMMAngle")
1193 """Proxy of C++ IMP::atom::Bond class"""
1194 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1196 def __init__(self, *args):
1198 __init__(IMP::atom::Bond self) -> Bond
1199 __init__(IMP::atom::Bond self, Model m, ParticleIndex id) -> Bond
1200 __init__(IMP::atom::Bond self, _ParticleAdaptor d) -> Bond
1202 this = _IMP_atom.new_Bond(*args)
1204 self.this.append(this)
1208 def show(self, *args):
1210 show(Bond self, _ostream out)
1213 return _IMP_atom.Bond_show(self, *args)
1216 def get_is_setup(*args):
1218 get_is_setup(_ParticleAdaptor p) -> bool
1219 get_is_setup(Model m, ParticleIndex pi) -> bool
1221 return _IMP_atom.Bond_get_is_setup(*args)
1223 get_is_setup = staticmethod(get_is_setup)
1224 UNKNOWN = _IMP_atom.Bond_UNKNOWN
1225 NONBIOLOGICAL = _IMP_atom.Bond_NONBIOLOGICAL
1226 SINGLE = _IMP_atom.Bond_SINGLE
1227 DOUBLE = _IMP_atom.Bond_DOUBLE
1228 TRIPLE = _IMP_atom.Bond_TRIPLE
1229 HYDROGEN = _IMP_atom.Bond_HYDROGEN
1230 SALT = _IMP_atom.Bond_SALT
1231 PEPTIDE = _IMP_atom.Bond_PEPTIDE
1232 AMIDE = _IMP_atom.Bond_AMIDE
1233 AROMATIC = _IMP_atom.Bond_AROMATIC
1235 def get_bonded(self, i):
1236 """get_bonded(Bond self, unsigned int i) -> Bonded"""
1237 return _IMP_atom.Bond_get_bonded(self, i)
1241 """get_type(Bond self) -> IMP::Int"""
1242 return _IMP_atom.Bond_get_type(self)
1245 def set_type(self, t):
1246 """set_type(Bond self, IMP::Int t)"""
1247 return _IMP_atom.Bond_set_type(self, t)
1251 """get_order(Bond self) -> IMP::Int"""
1252 return _IMP_atom.Bond_get_order(self)
1255 def set_order(self, t):
1256 """set_order(Bond self, IMP::Int t)"""
1257 return _IMP_atom.Bond_set_order(self, t)
1260 def get_length(self):
1261 """get_length(Bond self) -> IMP::Float"""
1262 return _IMP_atom.Bond_get_length(self)
1265 def set_length(self, t):
1266 """set_length(Bond self, IMP::Float t)"""
1267 return _IMP_atom.Bond_set_length(self, t)
1270 def get_stiffness(self):
1271 """get_stiffness(Bond self) -> IMP::Float"""
1272 return _IMP_atom.Bond_get_stiffness(self)
1275 def set_stiffness(self, t):
1276 """set_stiffness(Bond self, IMP::Float t)"""
1277 return _IMP_atom.Bond_set_stiffness(self, t)
1280 def get_length_key():
1281 """get_length_key() -> FloatKey"""
1282 return _IMP_atom.Bond_get_length_key()
1284 get_length_key = staticmethod(get_length_key)
1286 def add_attribute(self, *args):
1288 add_attribute(Bond self, FloatKey k, IMP::Float v, bool opt)
1289 add_attribute(Bond self, FloatKey a0, IMP::Float a1)
1290 add_attribute(Bond self, IntKey a0, IMP::Int a1)
1291 add_attribute(Bond self, StringKey a0, IMP::String a1)
1292 add_attribute(Bond self, ParticleIndexKey a0, Particle a1)
1293 add_attribute(Bond self, ObjectKey a0, Object a1)
1295 return _IMP_atom.Bond_add_attribute(self, *args)
1298 def get_value(self, *args):
1300 get_value(Bond self, FloatKey a0) -> IMP::Float
1301 get_value(Bond self, IntKey a0) -> IMP::Int
1302 get_value(Bond self, StringKey a0) -> IMP::String
1303 get_value(Bond self, ParticleIndexKey a0) -> Particle
1304 get_value(Bond self, ObjectKey a0) -> Object
1306 return _IMP_atom.Bond_get_value(self, *args)
1309 def set_value(self, *args):
1311 set_value(Bond self, FloatKey a0, IMP::Float a1)
1312 set_value(Bond self, IntKey a0, IMP::Int a1)
1313 set_value(Bond self, StringKey a0, IMP::String a1)
1314 set_value(Bond self, ParticleIndexKey a0, Particle a1)
1315 set_value(Bond self, ObjectKey a0, Object a1)
1317 return _IMP_atom.Bond_set_value(self, *args)
1320 def remove_attribute(self, *args):
1322 remove_attribute(Bond self, FloatKey a0)
1323 remove_attribute(Bond self, IntKey a0)
1324 remove_attribute(Bond self, StringKey a0)
1325 remove_attribute(Bond self, ParticleIndexKey a0)
1326 remove_attribute(Bond self, ObjectKey a0)
1328 return _IMP_atom.Bond_remove_attribute(self, *args)
1331 def has_attribute(self, *args):
1333 has_attribute(Bond self, FloatKey a0) -> bool
1334 has_attribute(Bond self, IntKey a0) -> bool
1335 has_attribute(Bond self, StringKey a0) -> bool
1336 has_attribute(Bond self, ParticleIndexKey a0) -> bool
1337 has_attribute(Bond self, ObjectKey a0) -> bool
1339 return _IMP_atom.Bond_has_attribute(self, *args)
1342 def get_derivative(self, a0):
1343 """get_derivative(Bond self, FloatKey a0) -> double"""
1344 return _IMP_atom.Bond_get_derivative(self, a0)
1348 """get_name(Bond self) -> std::string"""
1349 return _IMP_atom.Bond_get_name(self)
1352 def clear_caches(self):
1353 """clear_caches(Bond self)"""
1354 return _IMP_atom.Bond_clear_caches(self)
1357 def set_name(self, a0):
1358 """set_name(Bond self, std::string a0)"""
1359 return _IMP_atom.Bond_set_name(self, a0)
1363 """set_check_level(Bond self, IMP::CheckLevel a0)"""
1364 return _IMP_atom.Bond_set_check_level(self, a0)
1367 def add_to_derivative(self, a0, a1, a2):
1368 """add_to_derivative(Bond self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1369 return _IMP_atom.Bond_add_to_derivative(self, a0, a1, a2)
1372 def set_is_optimized(self, a0, a1):
1373 """set_is_optimized(Bond self, FloatKey a0, bool a1)"""
1374 return _IMP_atom.Bond_set_is_optimized(self, a0, a1)
1377 def get_is_optimized(self, a0):
1378 """get_is_optimized(Bond self, FloatKey a0) -> bool"""
1379 return _IMP_atom.Bond_get_is_optimized(self, a0)
1383 """get_check_level(Bond self) -> IMP::CheckLevel"""
1384 return _IMP_atom.Bond_get_check_level(self)
1387 def __eq__(self, *args):
1389 __eq__(Bond self, Bond o) -> bool
1390 __eq__(Bond self, Particle d) -> bool
1392 return _IMP_atom.Bond___eq__(self, *args)
1395 def __ne__(self, *args):
1397 __ne__(Bond self, Bond o) -> bool
1398 __ne__(Bond self, Particle d) -> bool
1400 return _IMP_atom.Bond___ne__(self, *args)
1403 def __le__(self, *args):
1405 __le__(Bond self, Bond o) -> bool
1406 __le__(Bond self, Particle d) -> bool
1408 return _IMP_atom.Bond___le__(self, *args)
1411 def __lt__(self, *args):
1413 __lt__(Bond self, Bond o) -> bool
1414 __lt__(Bond self, Particle d) -> bool
1416 return _IMP_atom.Bond___lt__(self, *args)
1419 def __ge__(self, *args):
1421 __ge__(Bond self, Bond o) -> bool
1422 __ge__(Bond self, Particle d) -> bool
1424 return _IMP_atom.Bond___ge__(self, *args)
1427 def __gt__(self, *args):
1429 __gt__(Bond self, Bond o) -> bool
1430 __gt__(Bond self, Particle d) -> bool
1432 return _IMP_atom.Bond___gt__(self, *args)
1436 """__hash__(Bond self) -> std::size_t"""
1437 return _IMP_atom.Bond___hash__(self)
1441 """__str__(Bond self) -> std::string"""
1442 return _IMP_atom.Bond___str__(self)
1446 """__repr__(Bond self) -> std::string"""
1447 return _IMP_atom.Bond___repr__(self)
1449 __swig_destroy__ = _IMP_atom.delete_Bond
1450 __del__ =
lambda self:
None
1451 Bond_swigregister = _IMP_atom.Bond_swigregister
1452 Bond_swigregister(Bond)
1454 def Bond_get_is_setup(*args):
1456 get_is_setup(_ParticleAdaptor p) -> bool
1457 Bond_get_is_setup(Model m, ParticleIndex pi) -> bool
1459 return _IMP_atom.Bond_get_is_setup(*args)
1461 def Bond_get_length_key():
1462 """Bond_get_length_key() -> FloatKey"""
1463 return _IMP_atom.Bond_get_length_key()
1466 """Proxy of C++ IMP::atom::Bonded class"""
1467 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1469 def __init__(self, *args):
1471 __init__(IMP::atom::Bonded self) -> Bonded
1472 __init__(IMP::atom::Bonded self, Model m, ParticleIndex id) -> Bonded
1473 __init__(IMP::atom::Bonded self, _ParticleAdaptor d) -> Bonded
1475 this = _IMP_atom.new_Bonded(*args)
1477 self.this.append(this)
1481 def show(self, *args):
1483 show(Bonded self, _ostream out)
1486 return _IMP_atom.Bonded_show(self, *args)
1489 def setup_particle(*args):
1491 setup_particle(Model m, ParticleIndex pi) -> Bonded
1492 setup_particle(_ParticleAdaptor decorator) -> Bonded
1494 return _IMP_atom.Bonded_setup_particle(*args)
1496 setup_particle = staticmethod(setup_particle)
1498 def get_is_setup(*args):
1500 get_is_setup(_ParticleAdaptor p) -> bool
1501 get_is_setup(Model m, ParticleIndex pi) -> bool
1503 return _IMP_atom.Bonded_get_is_setup(*args)
1505 get_is_setup = staticmethod(get_is_setup)
1507 def get_number_of_bonds(self):
1508 """get_number_of_bonds(Bonded self) -> unsigned int"""
1509 return _IMP_atom.Bonded_get_number_of_bonds(self)
1512 def get_bond_indexes(self):
1513 """get_bond_indexes(Bonded self) -> IMP::ParticleIndexes"""
1514 return _IMP_atom.Bonded_get_bond_indexes(self)
1518 """get_bond(Bonded self, unsigned int i) -> Bond"""
1519 return _IMP_atom.Bonded_get_bond(self, i)
1522 def get_bonded(self, i):
1523 """get_bonded(Bonded self, unsigned int i) -> Bonded"""
1524 return _IMP_atom.Bonded_get_bonded(self, i)
1527 def add_attribute(self, *args):
1529 add_attribute(Bonded self, FloatKey k, IMP::Float v, bool opt)
1530 add_attribute(Bonded self, FloatKey a0, IMP::Float a1)
1531 add_attribute(Bonded self, IntKey a0, IMP::Int a1)
1532 add_attribute(Bonded self, StringKey a0, IMP::String a1)
1533 add_attribute(Bonded self, ParticleIndexKey a0, Particle a1)
1534 add_attribute(Bonded self, ObjectKey a0, Object a1)
1536 return _IMP_atom.Bonded_add_attribute(self, *args)
1539 def get_value(self, *args):
1541 get_value(Bonded self, FloatKey a0) -> IMP::Float
1542 get_value(Bonded self, IntKey a0) -> IMP::Int
1543 get_value(Bonded self, StringKey a0) -> IMP::String
1544 get_value(Bonded self, ParticleIndexKey a0) -> Particle
1545 get_value(Bonded self, ObjectKey a0) -> Object
1547 return _IMP_atom.Bonded_get_value(self, *args)
1550 def set_value(self, *args):
1552 set_value(Bonded self, FloatKey a0, IMP::Float a1)
1553 set_value(Bonded self, IntKey a0, IMP::Int a1)
1554 set_value(Bonded self, StringKey a0, IMP::String a1)
1555 set_value(Bonded self, ParticleIndexKey a0, Particle a1)
1556 set_value(Bonded self, ObjectKey a0, Object a1)
1558 return _IMP_atom.Bonded_set_value(self, *args)
1561 def remove_attribute(self, *args):
1563 remove_attribute(Bonded self, FloatKey a0)
1564 remove_attribute(Bonded self, IntKey a0)
1565 remove_attribute(Bonded self, StringKey a0)
1566 remove_attribute(Bonded self, ParticleIndexKey a0)
1567 remove_attribute(Bonded self, ObjectKey a0)
1569 return _IMP_atom.Bonded_remove_attribute(self, *args)
1572 def has_attribute(self, *args):
1574 has_attribute(Bonded self, FloatKey a0) -> bool
1575 has_attribute(Bonded self, IntKey a0) -> bool
1576 has_attribute(Bonded self, StringKey a0) -> bool
1577 has_attribute(Bonded self, ParticleIndexKey a0) -> bool
1578 has_attribute(Bonded self, ObjectKey a0) -> bool
1580 return _IMP_atom.Bonded_has_attribute(self, *args)
1583 def get_derivative(self, a0):
1584 """get_derivative(Bonded self, FloatKey a0) -> double"""
1585 return _IMP_atom.Bonded_get_derivative(self, a0)
1589 """get_name(Bonded self) -> std::string"""
1590 return _IMP_atom.Bonded_get_name(self)
1593 def clear_caches(self):
1594 """clear_caches(Bonded self)"""
1595 return _IMP_atom.Bonded_clear_caches(self)
1598 def set_name(self, a0):
1599 """set_name(Bonded self, std::string a0)"""
1600 return _IMP_atom.Bonded_set_name(self, a0)
1604 """set_check_level(Bonded self, IMP::CheckLevel a0)"""
1605 return _IMP_atom.Bonded_set_check_level(self, a0)
1608 def add_to_derivative(self, a0, a1, a2):
1609 """add_to_derivative(Bonded self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1610 return _IMP_atom.Bonded_add_to_derivative(self, a0, a1, a2)
1613 def set_is_optimized(self, a0, a1):
1614 """set_is_optimized(Bonded self, FloatKey a0, bool a1)"""
1615 return _IMP_atom.Bonded_set_is_optimized(self, a0, a1)
1618 def get_is_optimized(self, a0):
1619 """get_is_optimized(Bonded self, FloatKey a0) -> bool"""
1620 return _IMP_atom.Bonded_get_is_optimized(self, a0)
1624 """get_check_level(Bonded self) -> IMP::CheckLevel"""
1625 return _IMP_atom.Bonded_get_check_level(self)
1628 def __eq__(self, *args):
1630 __eq__(Bonded self, Bonded o) -> bool
1631 __eq__(Bonded self, Particle d) -> bool
1633 return _IMP_atom.Bonded___eq__(self, *args)
1636 def __ne__(self, *args):
1638 __ne__(Bonded self, Bonded o) -> bool
1639 __ne__(Bonded self, Particle d) -> bool
1641 return _IMP_atom.Bonded___ne__(self, *args)
1644 def __le__(self, *args):
1646 __le__(Bonded self, Bonded o) -> bool
1647 __le__(Bonded self, Particle d) -> bool
1649 return _IMP_atom.Bonded___le__(self, *args)
1652 def __lt__(self, *args):
1654 __lt__(Bonded self, Bonded o) -> bool
1655 __lt__(Bonded self, Particle d) -> bool
1657 return _IMP_atom.Bonded___lt__(self, *args)
1660 def __ge__(self, *args):
1662 __ge__(Bonded self, Bonded o) -> bool
1663 __ge__(Bonded self, Particle d) -> bool
1665 return _IMP_atom.Bonded___ge__(self, *args)
1668 def __gt__(self, *args):
1670 __gt__(Bonded self, Bonded o) -> bool
1671 __gt__(Bonded self, Particle d) -> bool
1673 return _IMP_atom.Bonded___gt__(self, *args)
1677 """__hash__(Bonded self) -> std::size_t"""
1678 return _IMP_atom.Bonded___hash__(self)
1682 """__str__(Bonded self) -> std::string"""
1683 return _IMP_atom.Bonded___str__(self)
1687 """__repr__(Bonded self) -> std::string"""
1688 return _IMP_atom.Bonded___repr__(self)
1690 __swig_destroy__ = _IMP_atom.delete_Bonded
1691 __del__ =
lambda self:
None
1692 Bonded_swigregister = _IMP_atom.Bonded_swigregister
1693 Bonded_swigregister(Bonded)
1695 def Bonded_setup_particle(*args):
1697 setup_particle(Model m, ParticleIndex pi) -> Bonded
1698 Bonded_setup_particle(_ParticleAdaptor decorator) -> Bonded
1700 return _IMP_atom.Bonded_setup_particle(*args)
1702 def Bonded_get_is_setup(*args):
1704 get_is_setup(_ParticleAdaptor p) -> bool
1705 Bonded_get_is_setup(Model m, ParticleIndex pi) -> bool
1707 return _IMP_atom.Bonded_get_is_setup(*args)
1712 create_custom_bond(Bonded a, Bonded b, IMP::Float length, IMP::Float stiffness=-1) -> Bond
1713 create_custom_bond(Bonded a, Bonded b, IMP::Float length) -> Bond
1715 return _IMP_atom.create_custom_bond(a, b, length, stiffness)
1719 create_bond(Bonded a, Bonded b, IMP::Int t) -> Bond
1720 create_bond(Bonded a, Bonded b, Bond o) -> Bond
1722 return _IMP_atom.create_bond(*args)
1725 """destroy_bond(Bond b)"""
1726 return _IMP_atom.destroy_bond(b)
1729 """get_bond(Bonded a, Bonded b) -> Bond"""
1730 return _IMP_atom.get_bond(a, b)
1732 """Proxy of C++ IMP::atom::BondGeometry class"""
1733 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1735 def __init__(self, *args):
1737 __init__(IMP::atom::BondGeometry self, Particle p) -> BondGeometry
1738 __init__(IMP::atom::BondGeometry self, Bond d) -> BondGeometry
1740 this = _IMP_atom.new_BondGeometry(*args)
1742 self.this.append(this)
1746 def get_version_info(self):
1747 """get_version_info(BondGeometry self) -> VersionInfo"""
1748 return _IMP_atom.BondGeometry_get_version_info(self)
1752 """__str__(BondGeometry self) -> std::string"""
1753 return _IMP_atom.BondGeometry___str__(self)
1757 """__repr__(BondGeometry self) -> std::string"""
1758 return _IMP_atom.BondGeometry___repr__(self)
1761 return _object_cast_to_BondGeometry(o)
1762 get_from = staticmethod(get_from)
1764 BondGeometry_swigregister = _IMP_atom.BondGeometry_swigregister
1765 BondGeometry_swigregister(BondGeometry)
1768 """Proxy of C++ IMP::atom::BondsGeometry class"""
1769 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1771 def __init__(self, sc):
1772 """__init__(IMP::atom::BondsGeometry self, SingletonContainer sc) -> BondsGeometry"""
1773 this = _IMP_atom.new_BondsGeometry(sc)
1775 self.this.append(this)
1779 def get_version_info(self):
1780 """get_version_info(BondsGeometry self) -> VersionInfo"""
1781 return _IMP_atom.BondsGeometry_get_version_info(self)
1785 """__str__(BondsGeometry self) -> std::string"""
1786 return _IMP_atom.BondsGeometry___str__(self)
1790 """__repr__(BondsGeometry self) -> std::string"""
1791 return _IMP_atom.BondsGeometry___repr__(self)
1794 return _object_cast_to_BondsGeometry(o)
1795 get_from = staticmethod(get_from)
1797 BondsGeometry_swigregister = _IMP_atom.BondsGeometry_swigregister
1798 BondsGeometry_swigregister(BondsGeometry)
1801 """Proxy of C++ IMP::atom::Hierarchy class"""
1802 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1804 def particle_is_instance(*args):
1806 particle_is_instance(Particle p) -> bool
1807 particle_is_instance(Model m, ParticleIndex p) -> bool
1809 return _IMP_atom.Hierarchy_particle_is_instance(*args)
1811 particle_is_instance = staticmethod(particle_is_instance)
1813 def __init__(self, *args):
1815 __init__(IMP::atom::Hierarchy self, Model m, ParticleIndex pi) -> Hierarchy
1816 __init__(IMP::atom::Hierarchy self, _ParticleAdaptor pi) -> Hierarchy
1817 __init__(IMP::atom::Hierarchy self) -> Hierarchy
1818 __init__(IMP::atom::Hierarchy self, Hierarchy h) -> Hierarchy
1820 this = _IMP_atom.new_Hierarchy(*args)
1822 self.this.append(this)
1826 def setup_particle(*args):
1828 setup_particle(Particle p, _ParticleIndexesAdaptor children) -> Hierarchy
1829 setup_particle(Particle p) -> Hierarchy
1830 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor children) -> Hierarchy
1831 setup_particle(Model m, ParticleIndex pi) -> Hierarchy
1833 return _IMP_atom.Hierarchy_setup_particle(*args)
1835 setup_particle = staticmethod(setup_particle)
1837 def get_is_setup(*args):
1839 get_is_setup(Particle p) -> bool
1840 get_is_setup(Model m, ParticleIndex p) -> bool
1842 return _IMP_atom.Hierarchy_get_is_setup(*args)
1844 get_is_setup = staticmethod(get_is_setup)
1846 def get_is_valid(self, print_info):
1847 """get_is_valid(Hierarchy self, bool print_info) -> bool"""
1848 return _IMP_atom.Hierarchy_get_is_valid(self, print_info)
1851 def add_child(self, o):
1852 """add_child(Hierarchy self, Hierarchy o)"""
1853 return _IMP_atom.Hierarchy_add_child(self, o)
1856 def get_child(self, i):
1857 """get_child(Hierarchy self, unsigned int i) -> Hierarchy"""
1858 return _IMP_atom.Hierarchy_get_child(self, i)
1861 def get_children(self):
1862 """get_children(Hierarchy self) -> IMP::atom::Hierarchies"""
1863 return _IMP_atom.Hierarchy_get_children(self)
1866 def get_parent(self):
1867 """get_parent(Hierarchy self) -> Hierarchy"""
1868 return _IMP_atom.Hierarchy_get_parent(self)
1871 def get_as_atom(self):
1872 """get_as_atom(Hierarchy self) -> Atom"""
1873 return _IMP_atom.Hierarchy_get_as_atom(self)
1876 def get_as_residue(self):
1877 """get_as_residue(Hierarchy self) -> Residue"""
1878 return _IMP_atom.Hierarchy_get_as_residue(self)
1881 def get_as_chain(self):
1882 """get_as_chain(Hierarchy self) -> Chain"""
1883 return _IMP_atom.Hierarchy_get_as_chain(self)
1886 def get_as_molecule(self):
1887 """get_as_molecule(Hierarchy self) -> Molecule"""
1888 return _IMP_atom.Hierarchy_get_as_molecule(self)
1891 def get_as_domain(self):
1892 """get_as_domain(Hierarchy self) -> Domain"""
1893 return _IMP_atom.Hierarchy_get_as_domain(self)
1896 def get_as_fragment(self):
1897 """get_as_fragment(Hierarchy self) -> Fragment"""
1898 return _IMP_atom.Hierarchy_get_as_fragment(self)
1901 def get_as_xyz(self):
1902 """get_as_xyz(Hierarchy self) -> XYZ"""
1903 return _IMP_atom.Hierarchy_get_as_xyz(self)
1906 def get_as_xyzr(self):
1907 """get_as_xyzr(Hierarchy self) -> XYZR"""
1908 return _IMP_atom.Hierarchy_get_as_xyzr(self)
1911 def get_as_mass(self):
1912 """get_as_mass(Hierarchy self) -> Mass"""
1913 return _IMP_atom.Hierarchy_get_as_mass(self)
1916 def get_as_state(self):
1917 """get_as_state(Hierarchy self) -> State"""
1918 return _IMP_atom.Hierarchy_get_as_state(self)
1922 """get_traits() -> HierarchyTraits"""
1923 return _IMP_atom.Hierarchy_get_traits()
1925 get_traits = staticmethod(get_traits)
1927 def show(self, *args):
1929 show(Hierarchy self, _ostream out, std::string delimiter)
1930 show(Hierarchy self, _ostream out)
1931 show(Hierarchy self)
1933 return _IMP_atom.Hierarchy_show(self, *args)
1936 def add_attribute(self, *args):
1938 add_attribute(Hierarchy self, FloatKey k, IMP::Float v, bool opt)
1939 add_attribute(Hierarchy self, FloatKey a0, IMP::Float a1)
1940 add_attribute(Hierarchy self, IntKey a0, IMP::Int a1)
1941 add_attribute(Hierarchy self, StringKey a0, IMP::String a1)
1942 add_attribute(Hierarchy self, ParticleIndexKey a0, Particle a1)
1943 add_attribute(Hierarchy self, ObjectKey a0, Object a1)
1945 return _IMP_atom.Hierarchy_add_attribute(self, *args)
1948 def get_value(self, *args):
1950 get_value(Hierarchy self, FloatKey a0) -> IMP::Float
1951 get_value(Hierarchy self, IntKey a0) -> IMP::Int
1952 get_value(Hierarchy self, StringKey a0) -> IMP::String
1953 get_value(Hierarchy self, ParticleIndexKey a0) -> Particle
1954 get_value(Hierarchy self, ObjectKey a0) -> Object
1956 return _IMP_atom.Hierarchy_get_value(self, *args)
1959 def set_value(self, *args):
1961 set_value(Hierarchy self, FloatKey a0, IMP::Float a1)
1962 set_value(Hierarchy self, IntKey a0, IMP::Int a1)
1963 set_value(Hierarchy self, StringKey a0, IMP::String a1)
1964 set_value(Hierarchy self, ParticleIndexKey a0, Particle a1)
1965 set_value(Hierarchy self, ObjectKey a0, Object a1)
1967 return _IMP_atom.Hierarchy_set_value(self, *args)
1970 def remove_attribute(self, *args):
1972 remove_attribute(Hierarchy self, FloatKey a0)
1973 remove_attribute(Hierarchy self, IntKey a0)
1974 remove_attribute(Hierarchy self, StringKey a0)
1975 remove_attribute(Hierarchy self, ParticleIndexKey a0)
1976 remove_attribute(Hierarchy self, ObjectKey a0)
1978 return _IMP_atom.Hierarchy_remove_attribute(self, *args)
1981 def has_attribute(self, *args):
1983 has_attribute(Hierarchy self, FloatKey a0) -> bool
1984 has_attribute(Hierarchy self, IntKey a0) -> bool
1985 has_attribute(Hierarchy self, StringKey a0) -> bool
1986 has_attribute(Hierarchy self, ParticleIndexKey a0) -> bool
1987 has_attribute(Hierarchy self, ObjectKey a0) -> bool
1989 return _IMP_atom.Hierarchy_has_attribute(self, *args)
1992 def get_derivative(self, a0):
1993 """get_derivative(Hierarchy self, FloatKey a0) -> double"""
1994 return _IMP_atom.Hierarchy_get_derivative(self, a0)
1998 """get_name(Hierarchy self) -> std::string"""
1999 return _IMP_atom.Hierarchy_get_name(self)
2002 def clear_caches(self):
2003 """clear_caches(Hierarchy self)"""
2004 return _IMP_atom.Hierarchy_clear_caches(self)
2007 def set_name(self, a0):
2008 """set_name(Hierarchy self, std::string a0)"""
2009 return _IMP_atom.Hierarchy_set_name(self, a0)
2013 """set_check_level(Hierarchy self, IMP::CheckLevel a0)"""
2014 return _IMP_atom.Hierarchy_set_check_level(self, a0)
2017 def add_to_derivative(self, a0, a1, a2):
2018 """add_to_derivative(Hierarchy self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2019 return _IMP_atom.Hierarchy_add_to_derivative(self, a0, a1, a2)
2022 def set_is_optimized(self, a0, a1):
2023 """set_is_optimized(Hierarchy self, FloatKey a0, bool a1)"""
2024 return _IMP_atom.Hierarchy_set_is_optimized(self, a0, a1)
2027 def get_is_optimized(self, a0):
2028 """get_is_optimized(Hierarchy self, FloatKey a0) -> bool"""
2029 return _IMP_atom.Hierarchy_get_is_optimized(self, a0)
2033 """get_check_level(Hierarchy self) -> IMP::CheckLevel"""
2034 return _IMP_atom.Hierarchy_get_check_level(self)
2037 def __eq__(self, *args):
2039 __eq__(Hierarchy self, Hierarchy o) -> bool
2040 __eq__(Hierarchy self, Particle d) -> bool
2042 return _IMP_atom.Hierarchy___eq__(self, *args)
2045 def __ne__(self, *args):
2047 __ne__(Hierarchy self, Hierarchy o) -> bool
2048 __ne__(Hierarchy self, Particle d) -> bool
2050 return _IMP_atom.Hierarchy___ne__(self, *args)
2053 def __le__(self, *args):
2055 __le__(Hierarchy self, Hierarchy o) -> bool
2056 __le__(Hierarchy self, Particle d) -> bool
2058 return _IMP_atom.Hierarchy___le__(self, *args)
2061 def __lt__(self, *args):
2063 __lt__(Hierarchy self, Hierarchy o) -> bool
2064 __lt__(Hierarchy self, Particle d) -> bool
2066 return _IMP_atom.Hierarchy___lt__(self, *args)
2069 def __ge__(self, *args):
2071 __ge__(Hierarchy self, Hierarchy o) -> bool
2072 __ge__(Hierarchy self, Particle d) -> bool
2074 return _IMP_atom.Hierarchy___ge__(self, *args)
2077 def __gt__(self, *args):
2079 __gt__(Hierarchy self, Hierarchy o) -> bool
2080 __gt__(Hierarchy self, Particle d) -> bool
2082 return _IMP_atom.Hierarchy___gt__(self, *args)
2086 """__hash__(Hierarchy self) -> std::size_t"""
2087 return _IMP_atom.Hierarchy___hash__(self)
2091 """__str__(Hierarchy self) -> std::string"""
2092 return _IMP_atom.Hierarchy___str__(self)
2096 """__repr__(Hierarchy self) -> std::string"""
2097 return _IMP_atom.Hierarchy___repr__(self)
2099 __swig_destroy__ = _IMP_atom.delete_Hierarchy
2100 __del__ =
lambda self:
None
2101 Hierarchy_swigregister = _IMP_atom.Hierarchy_swigregister
2102 Hierarchy_swigregister(Hierarchy)
2104 def Hierarchy_particle_is_instance(*args):
2106 particle_is_instance(Particle p) -> bool
2107 Hierarchy_particle_is_instance(Model m, ParticleIndex p) -> bool
2109 return _IMP_atom.Hierarchy_particle_is_instance(*args)
2111 def Hierarchy_setup_particle(*args):
2113 setup_particle(Particle p, _ParticleIndexesAdaptor children) -> Hierarchy
2114 setup_particle(Particle p) -> Hierarchy
2115 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor children) -> Hierarchy
2116 Hierarchy_setup_particle(Model m, ParticleIndex pi) -> Hierarchy
2118 return _IMP_atom.Hierarchy_setup_particle(*args)
2120 def Hierarchy_get_is_setup(*args):
2122 get_is_setup(Particle p) -> bool
2123 Hierarchy_get_is_setup(Model m, ParticleIndex p) -> bool
2125 return _IMP_atom.Hierarchy_get_is_setup(*args)
2127 def Hierarchy_get_traits():
2128 """Hierarchy_get_traits() -> HierarchyTraits"""
2129 return _IMP_atom.Hierarchy_get_traits()
2132 _IMP_atom.ATOM_TYPE_swigconstant(_IMP_atom)
2133 ATOM_TYPE = _IMP_atom.ATOM_TYPE
2135 _IMP_atom.RESIDUE_TYPE_swigconstant(_IMP_atom)
2136 RESIDUE_TYPE = _IMP_atom.RESIDUE_TYPE
2138 _IMP_atom.CHAIN_TYPE_swigconstant(_IMP_atom)
2139 CHAIN_TYPE = _IMP_atom.CHAIN_TYPE
2141 _IMP_atom.MOLECULE_TYPE_swigconstant(_IMP_atom)
2142 MOLECULE_TYPE = _IMP_atom.MOLECULE_TYPE
2144 _IMP_atom.DOMAIN_TYPE_swigconstant(_IMP_atom)
2145 DOMAIN_TYPE = _IMP_atom.DOMAIN_TYPE
2147 _IMP_atom.FRAGMENT_TYPE_swigconstant(_IMP_atom)
2148 FRAGMENT_TYPE = _IMP_atom.FRAGMENT_TYPE
2150 _IMP_atom.XYZ_TYPE_swigconstant(_IMP_atom)
2151 XYZ_TYPE = _IMP_atom.XYZ_TYPE
2153 _IMP_atom.XYZR_TYPE_swigconstant(_IMP_atom)
2154 XYZR_TYPE = _IMP_atom.XYZR_TYPE
2156 _IMP_atom.MASS_TYPE_swigconstant(_IMP_atom)
2157 MASS_TYPE = _IMP_atom.MASS_TYPE
2159 _IMP_atom.STATE_TYPE_swigconstant(_IMP_atom)
2160 STATE_TYPE = _IMP_atom.STATE_TYPE
2163 """get_by_type(Hierarchy mhd, IMP::atom::GetByType t) -> IMP::atom::Hierarchies"""
2164 return _IMP_atom.get_by_type(mhd, t)
2167 """create_fragment(IMP::atom::Hierarchies const & ps) -> Hierarchy"""
2168 return _IMP_atom.create_fragment(ps)
2171 """get_internal_bonds(Hierarchy mhd) -> IMP::atom::Bonds"""
2172 return _IMP_atom.get_internal_bonds(mhd)
2175 """get_root(Hierarchy h) -> Hierarchy"""
2176 return _IMP_atom.get_root(h)
2180 show(Hierarchy h, _ostream out)
2183 return _IMP_atom.show(*args)
2187 create_rigid_body(IMP::atom::Hierarchies const & h, std::string name) -> RigidBody
2188 create_rigid_body(IMP::atom::Hierarchies const & h) -> RigidBody
2189 create_rigid_body(Hierarchy h) -> RigidBody
2191 return _IMP_atom.create_rigid_body(*args)
2194 """create_compatible_rigid_body(Hierarchy h, Hierarchy reference) -> RigidBody"""
2195 return _IMP_atom.create_compatible_rigid_body(h, reference)
2197 def setup_as_rigid_body(h):
2198 """setup_as_rigid_body(Hierarchy h) -> RigidBody"""
2199 return _IMP_atom.setup_as_rigid_body(h)
2202 """get_is_heterogen(Hierarchy h) -> bool"""
2203 return _IMP_atom.get_is_heterogen(h)
2206 """create_clone(Hierarchy d) -> Hierarchy"""
2207 return _IMP_atom.create_clone(d)
2210 """create_clone_one(Hierarchy d) -> Hierarchy"""
2211 return _IMP_atom.create_clone_one(d)
2214 """destroy(Hierarchy d)"""
2215 return _IMP_atom.destroy(d)
2217 def get_bounding_box(h):
2218 """get_bounding_box(Hierarchy h) -> BoundingBox3D"""
2219 return _IMP_atom.get_bounding_box(h)
2222 """get_bounding_sphere(Hierarchy h) -> Sphere3D"""
2223 return _IMP_atom.get_bounding_sphere(h)
2225 """Proxy of C++ IMP::atom::Angle class"""
2226 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2228 def __init__(self, *args):
2230 __init__(IMP::atom::Angle self) -> Angle
2231 __init__(IMP::atom::Angle self, Model m, ParticleIndex id) -> Angle
2232 __init__(IMP::atom::Angle self, _ParticleAdaptor d) -> Angle
2234 this = _IMP_atom.new_Angle(*args)
2236 self.this.append(this)
2240 def show(self, *args):
2242 show(Angle self, _ostream out)
2245 return _IMP_atom.Angle_show(self, *args)
2248 def setup_particle(*args):
2250 setup_particle(Model m, ParticleIndex pi, XYZ a, XYZ b, XYZ c) -> Angle
2251 setup_particle(_ParticleAdaptor decorator, XYZ a, XYZ b, XYZ c) -> Angle
2253 return _IMP_atom.Angle_setup_particle(*args)
2255 setup_particle = staticmethod(setup_particle)
2257 def get_is_setup(*args):
2259 get_is_setup(_ParticleAdaptor p) -> bool
2260 get_is_setup(Model m, ParticleIndex pi) -> bool
2262 return _IMP_atom.Angle_get_is_setup(*args)
2264 get_is_setup = staticmethod(get_is_setup)
2266 def get_particle(self, *args):
2268 get_particle(Angle self) -> Particle
2269 get_particle(Angle self, unsigned int i) -> Particle
2271 return _IMP_atom.Angle_get_particle(self, *args)
2274 def get_ideal(self):
2275 """get_ideal(Angle self) -> IMP::Float"""
2276 return _IMP_atom.Angle_get_ideal(self)
2279 def set_ideal(self, t):
2280 """set_ideal(Angle self, IMP::Float t)"""
2281 return _IMP_atom.Angle_set_ideal(self, t)
2284 def get_stiffness(self):
2285 """get_stiffness(Angle self) -> IMP::Float"""
2286 return _IMP_atom.Angle_get_stiffness(self)
2289 def set_stiffness(self, t):
2290 """set_stiffness(Angle self, IMP::Float t)"""
2291 return _IMP_atom.Angle_set_stiffness(self, t)
2294 def get_particle_key(i):
2295 """get_particle_key(unsigned int i) -> ParticleIndexKey"""
2296 return _IMP_atom.Angle_get_particle_key(i)
2298 get_particle_key = staticmethod(get_particle_key)
2300 def get_ideal_key():
2301 """get_ideal_key() -> FloatKey"""
2302 return _IMP_atom.Angle_get_ideal_key()
2304 get_ideal_key = staticmethod(get_ideal_key)
2306 def get_stiffness_key():
2307 """get_stiffness_key() -> FloatKey"""
2308 return _IMP_atom.Angle_get_stiffness_key()
2310 get_stiffness_key = staticmethod(get_stiffness_key)
2312 def add_attribute(self, *args):
2314 add_attribute(Angle self, FloatKey k, IMP::Float v, bool opt)
2315 add_attribute(Angle self, FloatKey a0, IMP::Float a1)
2316 add_attribute(Angle self, IntKey a0, IMP::Int a1)
2317 add_attribute(Angle self, StringKey a0, IMP::String a1)
2318 add_attribute(Angle self, ParticleIndexKey a0, Particle a1)
2319 add_attribute(Angle self, ObjectKey a0, Object a1)
2321 return _IMP_atom.Angle_add_attribute(self, *args)
2324 def get_value(self, *args):
2326 get_value(Angle self, FloatKey a0) -> IMP::Float
2327 get_value(Angle self, IntKey a0) -> IMP::Int
2328 get_value(Angle self, StringKey a0) -> IMP::String
2329 get_value(Angle self, ParticleIndexKey a0) -> Particle
2330 get_value(Angle self, ObjectKey a0) -> Object
2332 return _IMP_atom.Angle_get_value(self, *args)
2335 def set_value(self, *args):
2337 set_value(Angle self, FloatKey a0, IMP::Float a1)
2338 set_value(Angle self, IntKey a0, IMP::Int a1)
2339 set_value(Angle self, StringKey a0, IMP::String a1)
2340 set_value(Angle self, ParticleIndexKey a0, Particle a1)
2341 set_value(Angle self, ObjectKey a0, Object a1)
2343 return _IMP_atom.Angle_set_value(self, *args)
2346 def remove_attribute(self, *args):
2348 remove_attribute(Angle self, FloatKey a0)
2349 remove_attribute(Angle self, IntKey a0)
2350 remove_attribute(Angle self, StringKey a0)
2351 remove_attribute(Angle self, ParticleIndexKey a0)
2352 remove_attribute(Angle self, ObjectKey a0)
2354 return _IMP_atom.Angle_remove_attribute(self, *args)
2357 def has_attribute(self, *args):
2359 has_attribute(Angle self, FloatKey a0) -> bool
2360 has_attribute(Angle self, IntKey a0) -> bool
2361 has_attribute(Angle self, StringKey a0) -> bool
2362 has_attribute(Angle self, ParticleIndexKey a0) -> bool
2363 has_attribute(Angle self, ObjectKey a0) -> bool
2365 return _IMP_atom.Angle_has_attribute(self, *args)
2368 def get_derivative(self, a0):
2369 """get_derivative(Angle self, FloatKey a0) -> double"""
2370 return _IMP_atom.Angle_get_derivative(self, a0)
2374 """get_name(Angle self) -> std::string"""
2375 return _IMP_atom.Angle_get_name(self)
2378 def clear_caches(self):
2379 """clear_caches(Angle self)"""
2380 return _IMP_atom.Angle_clear_caches(self)
2383 def set_name(self, a0):
2384 """set_name(Angle self, std::string a0)"""
2385 return _IMP_atom.Angle_set_name(self, a0)
2389 """set_check_level(Angle self, IMP::CheckLevel a0)"""
2390 return _IMP_atom.Angle_set_check_level(self, a0)
2393 def add_to_derivative(self, a0, a1, a2):
2394 """add_to_derivative(Angle self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2395 return _IMP_atom.Angle_add_to_derivative(self, a0, a1, a2)
2398 def set_is_optimized(self, a0, a1):
2399 """set_is_optimized(Angle self, FloatKey a0, bool a1)"""
2400 return _IMP_atom.Angle_set_is_optimized(self, a0, a1)
2403 def get_is_optimized(self, a0):
2404 """get_is_optimized(Angle self, FloatKey a0) -> bool"""
2405 return _IMP_atom.Angle_get_is_optimized(self, a0)
2409 """get_check_level(Angle self) -> IMP::CheckLevel"""
2410 return _IMP_atom.Angle_get_check_level(self)
2413 def __eq__(self, *args):
2415 __eq__(Angle self, Angle o) -> bool
2416 __eq__(Angle self, Particle d) -> bool
2418 return _IMP_atom.Angle___eq__(self, *args)
2421 def __ne__(self, *args):
2423 __ne__(Angle self, Angle o) -> bool
2424 __ne__(Angle self, Particle d) -> bool
2426 return _IMP_atom.Angle___ne__(self, *args)
2429 def __le__(self, *args):
2431 __le__(Angle self, Angle o) -> bool
2432 __le__(Angle self, Particle d) -> bool
2434 return _IMP_atom.Angle___le__(self, *args)
2437 def __lt__(self, *args):
2439 __lt__(Angle self, Angle o) -> bool
2440 __lt__(Angle self, Particle d) -> bool
2442 return _IMP_atom.Angle___lt__(self, *args)
2445 def __ge__(self, *args):
2447 __ge__(Angle self, Angle o) -> bool
2448 __ge__(Angle self, Particle d) -> bool
2450 return _IMP_atom.Angle___ge__(self, *args)
2453 def __gt__(self, *args):
2455 __gt__(Angle self, Angle o) -> bool
2456 __gt__(Angle self, Particle d) -> bool
2458 return _IMP_atom.Angle___gt__(self, *args)
2462 """__hash__(Angle self) -> std::size_t"""
2463 return _IMP_atom.Angle___hash__(self)
2467 """__str__(Angle self) -> std::string"""
2468 return _IMP_atom.Angle___str__(self)
2472 """__repr__(Angle self) -> std::string"""
2473 return _IMP_atom.Angle___repr__(self)
2475 __swig_destroy__ = _IMP_atom.delete_Angle
2476 __del__ =
lambda self:
None
2477 Angle_swigregister = _IMP_atom.Angle_swigregister
2478 Angle_swigregister(Angle)
2480 def Angle_setup_particle(*args):
2482 setup_particle(Model m, ParticleIndex pi, XYZ a, XYZ b, XYZ c) -> Angle
2483 Angle_setup_particle(_ParticleAdaptor decorator, XYZ a, XYZ b, XYZ c) -> Angle
2485 return _IMP_atom.Angle_setup_particle(*args)
2487 def Angle_get_is_setup(*args):
2489 get_is_setup(_ParticleAdaptor p) -> bool
2490 Angle_get_is_setup(Model m, ParticleIndex pi) -> bool
2492 return _IMP_atom.Angle_get_is_setup(*args)
2494 def Angle_get_particle_key(i):
2495 """Angle_get_particle_key(unsigned int i) -> ParticleIndexKey"""
2496 return _IMP_atom.Angle_get_particle_key(i)
2498 def Angle_get_ideal_key():
2499 """Angle_get_ideal_key() -> FloatKey"""
2500 return _IMP_atom.Angle_get_ideal_key()
2502 def Angle_get_stiffness_key():
2503 """Angle_get_stiffness_key() -> FloatKey"""
2504 return _IMP_atom.Angle_get_stiffness_key()
2507 """Proxy of C++ IMP::atom::Dihedral class"""
2508 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2510 def __init__(self, *args):
2512 __init__(IMP::atom::Dihedral self) -> Dihedral
2513 __init__(IMP::atom::Dihedral self, Model m, ParticleIndex id) -> Dihedral
2514 __init__(IMP::atom::Dihedral self, _ParticleAdaptor d) -> Dihedral
2516 this = _IMP_atom.new_Dihedral(*args)
2518 self.this.append(this)
2522 def show(self, *args):
2524 show(Dihedral self, _ostream out)
2527 return _IMP_atom.Dihedral_show(self, *args)
2530 def setup_particle(*args):
2532 setup_particle(Model m, ParticleIndex pi, XYZ a, XYZ b, XYZ c, XYZ d) -> Dihedral
2533 setup_particle(_ParticleAdaptor decorator, XYZ a, XYZ b, XYZ c, XYZ d) -> Dihedral
2535 return _IMP_atom.Dihedral_setup_particle(*args)
2537 setup_particle = staticmethod(setup_particle)
2539 def get_is_setup(*args):
2541 get_is_setup(_ParticleAdaptor p) -> bool
2542 get_is_setup(Model m, ParticleIndex pi) -> bool
2544 return _IMP_atom.Dihedral_get_is_setup(*args)
2546 get_is_setup = staticmethod(get_is_setup)
2548 def get_particle(self, *args):
2550 get_particle(Dihedral self) -> Particle
2551 get_particle(Dihedral self, unsigned int i) -> Particle
2553 return _IMP_atom.Dihedral_get_particle(self, *args)
2556 def get_ideal(self):
2557 """get_ideal(Dihedral self) -> IMP::Float"""
2558 return _IMP_atom.Dihedral_get_ideal(self)
2561 def set_ideal(self, t):
2562 """set_ideal(Dihedral self, IMP::Float t)"""
2563 return _IMP_atom.Dihedral_set_ideal(self, t)
2566 def get_multiplicity(self):
2567 """get_multiplicity(Dihedral self) -> IMP::Int"""
2568 return _IMP_atom.Dihedral_get_multiplicity(self)
2571 def set_multiplicity(self, t):
2572 """set_multiplicity(Dihedral self, IMP::Int t)"""
2573 return _IMP_atom.Dihedral_set_multiplicity(self, t)
2576 def get_stiffness(self):
2577 """get_stiffness(Dihedral self) -> IMP::Float"""
2578 return _IMP_atom.Dihedral_get_stiffness(self)
2581 def set_stiffness(self, t):
2582 """set_stiffness(Dihedral self, IMP::Float t)"""
2583 return _IMP_atom.Dihedral_set_stiffness(self, t)
2586 def get_particle_key(i):
2587 """get_particle_key(unsigned int i) -> ParticleIndexKey"""
2588 return _IMP_atom.Dihedral_get_particle_key(i)
2590 get_particle_key = staticmethod(get_particle_key)
2592 def get_ideal_key():
2593 """get_ideal_key() -> FloatKey"""
2594 return _IMP_atom.Dihedral_get_ideal_key()
2596 get_ideal_key = staticmethod(get_ideal_key)
2598 def get_multiplicity_key():
2599 """get_multiplicity_key() -> IntKey"""
2600 return _IMP_atom.Dihedral_get_multiplicity_key()
2602 get_multiplicity_key = staticmethod(get_multiplicity_key)
2604 def get_stiffness_key():
2605 """get_stiffness_key() -> FloatKey"""
2606 return _IMP_atom.Dihedral_get_stiffness_key()
2608 get_stiffness_key = staticmethod(get_stiffness_key)
2610 def add_attribute(self, *args):
2612 add_attribute(Dihedral self, FloatKey k, IMP::Float v, bool opt)
2613 add_attribute(Dihedral self, FloatKey a0, IMP::Float a1)
2614 add_attribute(Dihedral self, IntKey a0, IMP::Int a1)
2615 add_attribute(Dihedral self, StringKey a0, IMP::String a1)
2616 add_attribute(Dihedral self, ParticleIndexKey a0, Particle a1)
2617 add_attribute(Dihedral self, ObjectKey a0, Object a1)
2619 return _IMP_atom.Dihedral_add_attribute(self, *args)
2622 def get_value(self, *args):
2624 get_value(Dihedral self, FloatKey a0) -> IMP::Float
2625 get_value(Dihedral self, IntKey a0) -> IMP::Int
2626 get_value(Dihedral self, StringKey a0) -> IMP::String
2627 get_value(Dihedral self, ParticleIndexKey a0) -> Particle
2628 get_value(Dihedral self, ObjectKey a0) -> Object
2630 return _IMP_atom.Dihedral_get_value(self, *args)
2633 def set_value(self, *args):
2635 set_value(Dihedral self, FloatKey a0, IMP::Float a1)
2636 set_value(Dihedral self, IntKey a0, IMP::Int a1)
2637 set_value(Dihedral self, StringKey a0, IMP::String a1)
2638 set_value(Dihedral self, ParticleIndexKey a0, Particle a1)
2639 set_value(Dihedral self, ObjectKey a0, Object a1)
2641 return _IMP_atom.Dihedral_set_value(self, *args)
2644 def remove_attribute(self, *args):
2646 remove_attribute(Dihedral self, FloatKey a0)
2647 remove_attribute(Dihedral self, IntKey a0)
2648 remove_attribute(Dihedral self, StringKey a0)
2649 remove_attribute(Dihedral self, ParticleIndexKey a0)
2650 remove_attribute(Dihedral self, ObjectKey a0)
2652 return _IMP_atom.Dihedral_remove_attribute(self, *args)
2655 def has_attribute(self, *args):
2657 has_attribute(Dihedral self, FloatKey a0) -> bool
2658 has_attribute(Dihedral self, IntKey a0) -> bool
2659 has_attribute(Dihedral self, StringKey a0) -> bool
2660 has_attribute(Dihedral self, ParticleIndexKey a0) -> bool
2661 has_attribute(Dihedral self, ObjectKey a0) -> bool
2663 return _IMP_atom.Dihedral_has_attribute(self, *args)
2666 def get_derivative(self, a0):
2667 """get_derivative(Dihedral self, FloatKey a0) -> double"""
2668 return _IMP_atom.Dihedral_get_derivative(self, a0)
2672 """get_name(Dihedral self) -> std::string"""
2673 return _IMP_atom.Dihedral_get_name(self)
2676 def clear_caches(self):
2677 """clear_caches(Dihedral self)"""
2678 return _IMP_atom.Dihedral_clear_caches(self)
2681 def set_name(self, a0):
2682 """set_name(Dihedral self, std::string a0)"""
2683 return _IMP_atom.Dihedral_set_name(self, a0)
2687 """set_check_level(Dihedral self, IMP::CheckLevel a0)"""
2688 return _IMP_atom.Dihedral_set_check_level(self, a0)
2691 def add_to_derivative(self, a0, a1, a2):
2692 """add_to_derivative(Dihedral self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2693 return _IMP_atom.Dihedral_add_to_derivative(self, a0, a1, a2)
2696 def set_is_optimized(self, a0, a1):
2697 """set_is_optimized(Dihedral self, FloatKey a0, bool a1)"""
2698 return _IMP_atom.Dihedral_set_is_optimized(self, a0, a1)
2701 def get_is_optimized(self, a0):
2702 """get_is_optimized(Dihedral self, FloatKey a0) -> bool"""
2703 return _IMP_atom.Dihedral_get_is_optimized(self, a0)
2707 """get_check_level(Dihedral self) -> IMP::CheckLevel"""
2708 return _IMP_atom.Dihedral_get_check_level(self)
2711 def __eq__(self, *args):
2713 __eq__(Dihedral self, Dihedral o) -> bool
2714 __eq__(Dihedral self, Particle d) -> bool
2716 return _IMP_atom.Dihedral___eq__(self, *args)
2719 def __ne__(self, *args):
2721 __ne__(Dihedral self, Dihedral o) -> bool
2722 __ne__(Dihedral self, Particle d) -> bool
2724 return _IMP_atom.Dihedral___ne__(self, *args)
2727 def __le__(self, *args):
2729 __le__(Dihedral self, Dihedral o) -> bool
2730 __le__(Dihedral self, Particle d) -> bool
2732 return _IMP_atom.Dihedral___le__(self, *args)
2735 def __lt__(self, *args):
2737 __lt__(Dihedral self, Dihedral o) -> bool
2738 __lt__(Dihedral self, Particle d) -> bool
2740 return _IMP_atom.Dihedral___lt__(self, *args)
2743 def __ge__(self, *args):
2745 __ge__(Dihedral self, Dihedral o) -> bool
2746 __ge__(Dihedral self, Particle d) -> bool
2748 return _IMP_atom.Dihedral___ge__(self, *args)
2751 def __gt__(self, *args):
2753 __gt__(Dihedral self, Dihedral o) -> bool
2754 __gt__(Dihedral self, Particle d) -> bool
2756 return _IMP_atom.Dihedral___gt__(self, *args)
2760 """__hash__(Dihedral self) -> std::size_t"""
2761 return _IMP_atom.Dihedral___hash__(self)
2765 """__str__(Dihedral self) -> std::string"""
2766 return _IMP_atom.Dihedral___str__(self)
2770 """__repr__(Dihedral self) -> std::string"""
2771 return _IMP_atom.Dihedral___repr__(self)
2773 __swig_destroy__ = _IMP_atom.delete_Dihedral
2774 __del__ =
lambda self:
None
2775 Dihedral_swigregister = _IMP_atom.Dihedral_swigregister
2776 Dihedral_swigregister(Dihedral)
2778 def Dihedral_setup_particle(*args):
2780 setup_particle(Model m, ParticleIndex pi, XYZ a, XYZ b, XYZ c, XYZ d) -> Dihedral
2781 Dihedral_setup_particle(_ParticleAdaptor decorator, XYZ a, XYZ b, XYZ c, XYZ d) -> Dihedral
2783 return _IMP_atom.Dihedral_setup_particle(*args)
2785 def Dihedral_get_is_setup(*args):
2787 get_is_setup(_ParticleAdaptor p) -> bool
2788 Dihedral_get_is_setup(Model m, ParticleIndex pi) -> bool
2790 return _IMP_atom.Dihedral_get_is_setup(*args)
2792 def Dihedral_get_particle_key(i):
2793 """Dihedral_get_particle_key(unsigned int i) -> ParticleIndexKey"""
2794 return _IMP_atom.Dihedral_get_particle_key(i)
2796 def Dihedral_get_ideal_key():
2797 """Dihedral_get_ideal_key() -> FloatKey"""
2798 return _IMP_atom.Dihedral_get_ideal_key()
2800 def Dihedral_get_multiplicity_key():
2801 """Dihedral_get_multiplicity_key() -> IntKey"""
2802 return _IMP_atom.Dihedral_get_multiplicity_key()
2804 def Dihedral_get_stiffness_key():
2805 """Dihedral_get_stiffness_key() -> FloatKey"""
2806 return _IMP_atom.Dihedral_get_stiffness_key()
2809 """Proxy of C++ IMP::atom::SmoothingFunction class"""
2810 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2812 def __init__(self, *args, **kwargs):
2813 raise AttributeError(
"No constructor defined - class is abstract")
2815 def __call__(self, *args):
2817 __call__(SmoothingFunction self, double score, double distance) -> double
2818 __call__(SmoothingFunction self, double score, double deriv, double distance) -> IMP::DerivativePair
2820 return _IMP_atom.SmoothingFunction___call__(self, *args)
2822 __swig_destroy__ = _IMP_atom.delete_SmoothingFunction
2823 __del__ =
lambda self:
None
2826 """__str__(SmoothingFunction self) -> std::string"""
2827 return _IMP_atom.SmoothingFunction___str__(self)
2831 """__repr__(SmoothingFunction self) -> std::string"""
2832 return _IMP_atom.SmoothingFunction___repr__(self)
2835 return _object_cast_to_SmoothingFunction(o)
2836 get_from = staticmethod(get_from)
2838 SmoothingFunction_swigregister = _IMP_atom.SmoothingFunction_swigregister
2839 SmoothingFunction_swigregister(SmoothingFunction)
2841 class ForceSwitch(SmoothingFunction):
2842 """Proxy of C++ IMP::atom::ForceSwitch class"""
2843 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2845 def __init__(self, min_distance, max_distance):
2846 """__init__(IMP::atom::ForceSwitch self, double min_distance, double max_distance) -> ForceSwitch"""
2847 this = _IMP_atom.new_ForceSwitch(min_distance, max_distance)
2849 self.this.append(this)
2853 def __call__(self, *args):
2855 __call__(ForceSwitch self, double score, double distance) -> double
2856 __call__(ForceSwitch self, double score, double deriv, double distance) -> IMP::DerivativePair
2858 return _IMP_atom.ForceSwitch___call__(self, *args)
2861 def get_version_info(self):
2862 """get_version_info(ForceSwitch self) -> VersionInfo"""
2863 return _IMP_atom.ForceSwitch_get_version_info(self)
2867 """__str__(ForceSwitch self) -> std::string"""
2868 return _IMP_atom.ForceSwitch___str__(self)
2872 """__repr__(ForceSwitch self) -> std::string"""
2873 return _IMP_atom.ForceSwitch___repr__(self)
2876 return _object_cast_to_ForceSwitch(o)
2877 get_from = staticmethod(get_from)
2879 ForceSwitch_swigregister = _IMP_atom.ForceSwitch_swigregister
2880 ForceSwitch_swigregister(ForceSwitch)
2883 """Proxy of C++ IMP::atom::AngleSingletonScore class"""
2884 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2886 def __init__(self, f):
2887 """__init__(IMP::atom::AngleSingletonScore self, UnaryFunction f) -> AngleSingletonScore"""
2888 this = _IMP_atom.new_AngleSingletonScore(f)
2890 self.this.append(this)
2894 def do_get_inputs(self, m, pis):
2895 """do_get_inputs(AngleSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
2896 return _IMP_atom.AngleSingletonScore_do_get_inputs(self, m, pis)
2899 def get_version_info(self):
2900 """get_version_info(AngleSingletonScore self) -> VersionInfo"""
2901 return _IMP_atom.AngleSingletonScore_get_version_info(self)
2905 """__str__(AngleSingletonScore self) -> std::string"""
2906 return _IMP_atom.AngleSingletonScore___str__(self)
2910 """__repr__(AngleSingletonScore self) -> std::string"""
2911 return _IMP_atom.AngleSingletonScore___repr__(self)
2914 return _object_cast_to_AngleSingletonScore(o)
2915 get_from = staticmethod(get_from)
2917 AngleSingletonScore_swigregister = _IMP_atom.AngleSingletonScore_swigregister
2918 AngleSingletonScore_swigregister(AngleSingletonScore)
2921 """Proxy of C++ IMP::atom::BondEndpointsRefiner class"""
2922 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2925 """__init__(IMP::atom::BondEndpointsRefiner self) -> BondEndpointsRefiner"""
2926 this = _IMP_atom.new_BondEndpointsRefiner()
2928 self.this.append(this)
2932 def do_get_inputs(self, m, pis):
2933 """do_get_inputs(BondEndpointsRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
2934 return _IMP_atom.BondEndpointsRefiner_do_get_inputs(self, m, pis)
2937 def get_version_info(self):
2938 """get_version_info(BondEndpointsRefiner self) -> VersionInfo"""
2939 return _IMP_atom.BondEndpointsRefiner_get_version_info(self)
2943 """__str__(BondEndpointsRefiner self) -> std::string"""
2944 return _IMP_atom.BondEndpointsRefiner___str__(self)
2948 """__repr__(BondEndpointsRefiner self) -> std::string"""
2949 return _IMP_atom.BondEndpointsRefiner___repr__(self)
2952 return _object_cast_to_BondEndpointsRefiner(o)
2953 get_from = staticmethod(get_from)
2955 BondEndpointsRefiner_swigregister = _IMP_atom.BondEndpointsRefiner_swigregister
2956 BondEndpointsRefiner_swigregister(BondEndpointsRefiner)
2959 """Proxy of C++ IMP::atom::BondPairContainer class"""
2960 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2962 def __init__(self, sc):
2963 """__init__(IMP::atom::BondPairContainer self, SingletonContainer sc) -> BondPairContainer"""
2964 this = _IMP_atom.new_BondPairContainer(sc)
2966 self.this.append(this)
2970 def do_get_inputs(self):
2971 """do_get_inputs(BondPairContainer self) -> IMP::ModelObjectsTemp"""
2972 return _IMP_atom.BondPairContainer_do_get_inputs(self)
2975 def do_apply(self, sm):
2976 """do_apply(BondPairContainer self, PairModifier sm)"""
2977 return _IMP_atom.BondPairContainer_do_apply(self, sm)
2980 def get_version_info(self):
2981 """get_version_info(BondPairContainer self) -> VersionInfo"""
2982 return _IMP_atom.BondPairContainer_get_version_info(self)
2986 """__str__(BondPairContainer self) -> std::string"""
2987 return _IMP_atom.BondPairContainer___str__(self)
2991 """__repr__(BondPairContainer self) -> std::string"""
2992 return _IMP_atom.BondPairContainer___repr__(self)
2995 return _object_cast_to_BondPairContainer(o)
2996 get_from = staticmethod(get_from)
2998 BondPairContainer_swigregister = _IMP_atom.BondPairContainer_swigregister
2999 BondPairContainer_swigregister(BondPairContainer)
3002 """Proxy of C++ IMP::atom::BondSingletonScore 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, f):
3006 """__init__(IMP::atom::BondSingletonScore self, UnaryFunction f) -> BondSingletonScore"""
3007 this = _IMP_atom.new_BondSingletonScore(f)
3009 self.this.append(this)
3013 def get_unary_function(self):
3014 """get_unary_function(BondSingletonScore self) -> UnaryFunction"""
3015 return _IMP_atom.BondSingletonScore_get_unary_function(self)
3018 def do_get_inputs(self, m, pis):
3019 """do_get_inputs(BondSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3020 return _IMP_atom.BondSingletonScore_do_get_inputs(self, m, pis)
3023 def get_version_info(self):
3024 """get_version_info(BondSingletonScore self) -> VersionInfo"""
3025 return _IMP_atom.BondSingletonScore_get_version_info(self)
3029 """__str__(BondSingletonScore self) -> std::string"""
3030 return _IMP_atom.BondSingletonScore___str__(self)
3034 """__repr__(BondSingletonScore self) -> std::string"""
3035 return _IMP_atom.BondSingletonScore___repr__(self)
3038 return _object_cast_to_BondSingletonScore(o)
3039 get_from = staticmethod(get_from)
3041 BondSingletonScore_swigregister = _IMP_atom.BondSingletonScore_swigregister
3042 BondSingletonScore_swigregister(BondSingletonScore)
3045 """Proxy of C++ IMP::atom::DihedralSingletonScore class"""
3046 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3049 """__init__(IMP::atom::DihedralSingletonScore self) -> DihedralSingletonScore"""
3050 this = _IMP_atom.new_DihedralSingletonScore()
3052 self.this.append(this)
3056 def do_get_inputs(self, m, pis):
3057 """do_get_inputs(DihedralSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3058 return _IMP_atom.DihedralSingletonScore_do_get_inputs(self, m, pis)
3061 def get_version_info(self):
3062 """get_version_info(DihedralSingletonScore self) -> VersionInfo"""
3063 return _IMP_atom.DihedralSingletonScore_get_version_info(self)
3067 """__str__(DihedralSingletonScore self) -> std::string"""
3068 return _IMP_atom.DihedralSingletonScore___str__(self)
3072 """__repr__(DihedralSingletonScore self) -> std::string"""
3073 return _IMP_atom.DihedralSingletonScore___repr__(self)
3076 return _object_cast_to_DihedralSingletonScore(o)
3077 get_from = staticmethod(get_from)
3079 DihedralSingletonScore_swigregister = _IMP_atom.DihedralSingletonScore_swigregister
3080 DihedralSingletonScore_swigregister(DihedralSingletonScore)
3083 """Proxy of C++ IMP::atom::ImproperSingletonScore class"""
3084 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3086 def __init__(self, f):
3087 """__init__(IMP::atom::ImproperSingletonScore self, UnaryFunction f) -> ImproperSingletonScore"""
3088 this = _IMP_atom.new_ImproperSingletonScore(f)
3090 self.this.append(this)
3094 def do_get_inputs(self, m, pis):
3095 """do_get_inputs(ImproperSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3096 return _IMP_atom.ImproperSingletonScore_do_get_inputs(self, m, pis)
3099 def get_version_info(self):
3100 """get_version_info(ImproperSingletonScore self) -> VersionInfo"""
3101 return _IMP_atom.ImproperSingletonScore_get_version_info(self)
3105 """__str__(ImproperSingletonScore self) -> std::string"""
3106 return _IMP_atom.ImproperSingletonScore___str__(self)
3110 """__repr__(ImproperSingletonScore self) -> std::string"""
3111 return _IMP_atom.ImproperSingletonScore___repr__(self)
3114 return _object_cast_to_ImproperSingletonScore(o)
3115 get_from = staticmethod(get_from)
3117 ImproperSingletonScore_swigregister = _IMP_atom.ImproperSingletonScore_swigregister
3118 ImproperSingletonScore_swigregister(ImproperSingletonScore)
3121 """Proxy of C++ IMP::atom::CenterOfMass class"""
3122 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3124 def get_constraint(self):
3125 """get_constraint(CenterOfMass self) -> Constraint"""
3126 return _IMP_atom.CenterOfMass_get_constraint(self)
3130 """get_mass(CenterOfMass self) -> IMP::Float"""
3131 return _IMP_atom.CenterOfMass_get_mass(self)
3134 def get_coordinate(self, i):
3135 """get_coordinate(CenterOfMass self, int i) -> IMP::Float"""
3136 return _IMP_atom.CenterOfMass_get_coordinate(self, i)
3139 def get_coordinates(self):
3140 """get_coordinates(CenterOfMass self) -> Vector3D"""
3141 return _IMP_atom.CenterOfMass_get_coordinates(self)
3144 def __init__(self, *args):
3146 __init__(IMP::atom::CenterOfMass self) -> CenterOfMass
3147 __init__(IMP::atom::CenterOfMass self, Model m, ParticleIndex id) -> CenterOfMass
3148 __init__(IMP::atom::CenterOfMass self, _ParticleAdaptor d) -> CenterOfMass
3150 this = _IMP_atom.new_CenterOfMass(*args)
3152 self.this.append(this)
3156 def show(self, *args):
3158 show(CenterOfMass self, _ostream out)
3159 show(CenterOfMass self)
3161 return _IMP_atom.CenterOfMass_show(self, *args)
3164 def setup_particle(*args):
3166 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor members) -> CenterOfMass
3167 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> CenterOfMass
3168 setup_particle(Model m, ParticleIndex pi, Refiner refiner) -> CenterOfMass
3169 setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> CenterOfMass
3171 return _IMP_atom.CenterOfMass_setup_particle(*args)
3173 setup_particle = staticmethod(setup_particle)
3175 def get_is_setup(*args):
3177 get_is_setup(_ParticleAdaptor p) -> bool
3178 get_is_setup(Model m, ParticleIndex pi) -> bool
3180 return _IMP_atom.CenterOfMass_get_is_setup(*args)
3182 get_is_setup = staticmethod(get_is_setup)
3184 def add_attribute(self, *args):
3186 add_attribute(CenterOfMass self, FloatKey k, IMP::Float v, bool opt)
3187 add_attribute(CenterOfMass self, FloatKey a0, IMP::Float a1)
3188 add_attribute(CenterOfMass self, IntKey a0, IMP::Int a1)
3189 add_attribute(CenterOfMass self, StringKey a0, IMP::String a1)
3190 add_attribute(CenterOfMass self, ParticleIndexKey a0, Particle a1)
3191 add_attribute(CenterOfMass self, ObjectKey a0, Object a1)
3193 return _IMP_atom.CenterOfMass_add_attribute(self, *args)
3196 def get_value(self, *args):
3198 get_value(CenterOfMass self, FloatKey a0) -> IMP::Float
3199 get_value(CenterOfMass self, IntKey a0) -> IMP::Int
3200 get_value(CenterOfMass self, StringKey a0) -> IMP::String
3201 get_value(CenterOfMass self, ParticleIndexKey a0) -> Particle
3202 get_value(CenterOfMass self, ObjectKey a0) -> Object
3204 return _IMP_atom.CenterOfMass_get_value(self, *args)
3207 def set_value(self, *args):
3209 set_value(CenterOfMass self, FloatKey a0, IMP::Float a1)
3210 set_value(CenterOfMass self, IntKey a0, IMP::Int a1)
3211 set_value(CenterOfMass self, StringKey a0, IMP::String a1)
3212 set_value(CenterOfMass self, ParticleIndexKey a0, Particle a1)
3213 set_value(CenterOfMass self, ObjectKey a0, Object a1)
3215 return _IMP_atom.CenterOfMass_set_value(self, *args)
3218 def remove_attribute(self, *args):
3220 remove_attribute(CenterOfMass self, FloatKey a0)
3221 remove_attribute(CenterOfMass self, IntKey a0)
3222 remove_attribute(CenterOfMass self, StringKey a0)
3223 remove_attribute(CenterOfMass self, ParticleIndexKey a0)
3224 remove_attribute(CenterOfMass self, ObjectKey a0)
3226 return _IMP_atom.CenterOfMass_remove_attribute(self, *args)
3229 def has_attribute(self, *args):
3231 has_attribute(CenterOfMass self, FloatKey a0) -> bool
3232 has_attribute(CenterOfMass self, IntKey a0) -> bool
3233 has_attribute(CenterOfMass self, StringKey a0) -> bool
3234 has_attribute(CenterOfMass self, ParticleIndexKey a0) -> bool
3235 has_attribute(CenterOfMass self, ObjectKey a0) -> bool
3237 return _IMP_atom.CenterOfMass_has_attribute(self, *args)
3240 def get_derivative(self, a0):
3241 """get_derivative(CenterOfMass self, FloatKey a0) -> double"""
3242 return _IMP_atom.CenterOfMass_get_derivative(self, a0)
3246 """get_name(CenterOfMass self) -> std::string"""
3247 return _IMP_atom.CenterOfMass_get_name(self)
3250 def clear_caches(self):
3251 """clear_caches(CenterOfMass self)"""
3252 return _IMP_atom.CenterOfMass_clear_caches(self)
3255 def set_name(self, a0):
3256 """set_name(CenterOfMass self, std::string a0)"""
3257 return _IMP_atom.CenterOfMass_set_name(self, a0)
3261 """set_check_level(CenterOfMass self, IMP::CheckLevel a0)"""
3262 return _IMP_atom.CenterOfMass_set_check_level(self, a0)
3265 def add_to_derivative(self, a0, a1, a2):
3266 """add_to_derivative(CenterOfMass self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
3267 return _IMP_atom.CenterOfMass_add_to_derivative(self, a0, a1, a2)
3270 def set_is_optimized(self, a0, a1):
3271 """set_is_optimized(CenterOfMass self, FloatKey a0, bool a1)"""
3272 return _IMP_atom.CenterOfMass_set_is_optimized(self, a0, a1)
3275 def get_is_optimized(self, a0):
3276 """get_is_optimized(CenterOfMass self, FloatKey a0) -> bool"""
3277 return _IMP_atom.CenterOfMass_get_is_optimized(self, a0)
3281 """get_check_level(CenterOfMass self) -> IMP::CheckLevel"""
3282 return _IMP_atom.CenterOfMass_get_check_level(self)
3285 def __eq__(self, *args):
3287 __eq__(CenterOfMass self, CenterOfMass o) -> bool
3288 __eq__(CenterOfMass self, Particle d) -> bool
3290 return _IMP_atom.CenterOfMass___eq__(self, *args)
3293 def __ne__(self, *args):
3295 __ne__(CenterOfMass self, CenterOfMass o) -> bool
3296 __ne__(CenterOfMass self, Particle d) -> bool
3298 return _IMP_atom.CenterOfMass___ne__(self, *args)
3301 def __le__(self, *args):
3303 __le__(CenterOfMass self, CenterOfMass o) -> bool
3304 __le__(CenterOfMass self, Particle d) -> bool
3306 return _IMP_atom.CenterOfMass___le__(self, *args)
3309 def __lt__(self, *args):
3311 __lt__(CenterOfMass self, CenterOfMass o) -> bool
3312 __lt__(CenterOfMass self, Particle d) -> bool
3314 return _IMP_atom.CenterOfMass___lt__(self, *args)
3317 def __ge__(self, *args):
3319 __ge__(CenterOfMass self, CenterOfMass o) -> bool
3320 __ge__(CenterOfMass self, Particle d) -> bool
3322 return _IMP_atom.CenterOfMass___ge__(self, *args)
3325 def __gt__(self, *args):
3327 __gt__(CenterOfMass self, CenterOfMass o) -> bool
3328 __gt__(CenterOfMass self, Particle d) -> bool
3330 return _IMP_atom.CenterOfMass___gt__(self, *args)
3334 """__hash__(CenterOfMass self) -> std::size_t"""
3335 return _IMP_atom.CenterOfMass___hash__(self)
3339 """__str__(CenterOfMass self) -> std::string"""
3340 return _IMP_atom.CenterOfMass___str__(self)
3344 """__repr__(CenterOfMass self) -> std::string"""
3345 return _IMP_atom.CenterOfMass___repr__(self)
3347 __swig_destroy__ = _IMP_atom.delete_CenterOfMass
3348 __del__ =
lambda self:
None
3349 CenterOfMass_swigregister = _IMP_atom.CenterOfMass_swigregister
3350 CenterOfMass_swigregister(CenterOfMass)
3352 def CenterOfMass_setup_particle(*args):
3354 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor members) -> CenterOfMass
3355 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> CenterOfMass
3356 setup_particle(Model m, ParticleIndex pi, Refiner refiner) -> CenterOfMass
3357 CenterOfMass_setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> CenterOfMass
3359 return _IMP_atom.CenterOfMass_setup_particle(*args)
3361 def CenterOfMass_get_is_setup(*args):
3363 get_is_setup(_ParticleAdaptor p) -> bool
3364 CenterOfMass_get_is_setup(Model m, ParticleIndex pi) -> bool
3366 return _IMP_atom.CenterOfMass_get_is_setup(*args)
3369 """Proxy of C++ IMP::atom::CoverBond class"""
3370 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3373 """__init__(IMP::atom::CoverBond self) -> CoverBond"""
3374 this = _IMP_atom.new_CoverBond()
3376 self.this.append(this)
3380 def do_get_inputs(self, m, pis):
3381 """do_get_inputs(CoverBond self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3382 return _IMP_atom.CoverBond_do_get_inputs(self, m, pis)
3385 def do_get_outputs(self, m, pis):
3386 """do_get_outputs(CoverBond self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3387 return _IMP_atom.CoverBond_do_get_outputs(self, m, pis)
3390 def get_version_info(self):
3391 """get_version_info(CoverBond self) -> VersionInfo"""
3392 return _IMP_atom.CoverBond_get_version_info(self)
3396 """__str__(CoverBond self) -> std::string"""
3397 return _IMP_atom.CoverBond___str__(self)
3401 """__repr__(CoverBond self) -> std::string"""
3402 return _IMP_atom.CoverBond___repr__(self)
3405 return _object_cast_to_CoverBond(o)
3406 get_from = staticmethod(get_from)
3408 CoverBond_swigregister = _IMP_atom.CoverBond_swigregister
3409 CoverBond_swigregister(CoverBond)
3412 """Proxy of C++ IMP::atom::Simulator class"""
3413 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3415 def __init__(self, *args):
3417 __init__(IMP::atom::Simulator self, Model m, std::string name, double wave_factor=1.0) -> Simulator
3418 __init__(IMP::atom::Simulator self, Model m, std::string name) -> Simulator
3419 __init__(IMP::atom::Simulator self, Model m) -> Simulator
3421 if self.__class__ == Simulator:
3425 this = _IMP_atom.new_Simulator(_self, *args)
3427 self.this.append(this)
3430 if self.__class__ != Simulator:
3431 _director_objects.register(self)
3436 def simulate(self, time_in_fs):
3437 """simulate(Simulator self, double time_in_fs) -> double"""
3438 return _IMP_atom.Simulator_simulate(self, time_in_fs)
3441 def simulate_wave(self, time_in_fs, max_time_step_factor=10.0, base=1.5):
3443 simulate_wave(Simulator self, double time_in_fs, double max_time_step_factor=10.0, double base=1.5) -> double
3444 simulate_wave(Simulator self, double time_in_fs, double max_time_step_factor=10.0) -> double
3445 simulate_wave(Simulator self, double time_in_fs) -> double
3447 return _IMP_atom.Simulator_simulate_wave(self, time_in_fs, max_time_step_factor, base)
3450 def get_temperature(self):
3451 """get_temperature(Simulator self) -> double"""
3452 return _IMP_atom.Simulator_get_temperature(self)
3455 def set_temperature(self, d):
3456 """set_temperature(Simulator self, double d)"""
3457 return _IMP_atom.Simulator_set_temperature(self, d)
3460 def set_maximum_time_step(self, ts):
3461 """set_maximum_time_step(Simulator self, double ts)"""
3462 return _IMP_atom.Simulator_set_maximum_time_step(self, ts)
3465 def get_maximum_time_step(self):
3466 """get_maximum_time_step(Simulator self) -> double"""
3467 return _IMP_atom.Simulator_get_maximum_time_step(self)
3470 def get_last_time_step(self):
3471 """get_last_time_step(Simulator self) -> double"""
3472 return _IMP_atom.Simulator_get_last_time_step(self)
3475 def set_time_step(self, ts):
3476 """set_time_step(Simulator self, double ts)"""
3477 return _IMP_atom.Simulator_set_time_step(self, ts)
3481 """get_kt(Simulator self) -> double"""
3482 return _IMP_atom.Simulator_get_kt(self)
3485 def get_current_time(self):
3486 """get_current_time(Simulator self) -> double"""
3487 return _IMP_atom.Simulator_get_current_time(self)
3490 def set_current_time(self, ct):
3491 """set_current_time(Simulator self, double ct)"""
3492 return _IMP_atom.Simulator_set_current_time(self, ct)
3495 def get_simulation_particles(self):
3496 """get_simulation_particles(Simulator self) -> IMP::ParticlesTemp"""
3497 return _IMP_atom.Simulator_get_simulation_particles(self)
3500 def get_simulation_particle_indexes(self):
3501 """get_simulation_particle_indexes(Simulator self) -> IMP::ParticleIndexes"""
3502 return _IMP_atom.Simulator_get_simulation_particle_indexes(self)
3505 def remove_particle(self, d):
3506 """remove_particle(Simulator self, Particle d)"""
3507 return _IMP_atom.Simulator_remove_particle(self, d)
3510 def remove_particles(self, d):
3511 """remove_particles(Simulator self, IMP::Particles const & d)"""
3512 return _IMP_atom.Simulator_remove_particles(self, d)
3515 def set_particles(self, ps):
3516 """set_particles(Simulator self, IMP::Particles const & ps)"""
3517 return _IMP_atom.Simulator_set_particles(self, ps)
3520 def set_particles_order(self, objs):
3521 """set_particles_order(Simulator self, IMP::Particles const & objs)"""
3522 return _IMP_atom.Simulator_set_particles_order(self, objs)
3526 """add_particle(Simulator self, Particle obj) -> unsigned int"""
3527 return _IMP_atom.Simulator_add_particle(self, obj)
3531 """add_particles(Simulator self, IMP::Particles const & objs)"""
3532 return _IMP_atom.Simulator_add_particles(self, objs)
3535 def clear_particles(self):
3536 """clear_particles(Simulator self)"""
3537 return _IMP_atom.Simulator_clear_particles(self)
3540 def get_number_of_particles(self):
3541 """get_number_of_particles(Simulator self) -> unsigned int"""
3542 return _IMP_atom.Simulator_get_number_of_particles(self)
3545 def get_has_particles(self):
3546 """get_has_particles(Simulator self) -> bool"""
3547 return _IMP_atom.Simulator_get_has_particles(self)
3550 def get_particle(self, i):
3551 """get_particle(Simulator self, unsigned int i) -> Particle"""
3552 return _IMP_atom.Simulator_get_particle(self, i)
3556 """get_particles(Simulator self) -> IMP::Particles"""
3557 return _IMP_atom.Simulator_get_particles(self)
3560 def reserve_particles(self, sz):
3561 """reserve_particles(Simulator self, unsigned int sz)"""
3562 return _IMP_atom.Simulator_reserve_particles(self, sz)
3565 def do_optimize(self, max_steps):
3566 """do_optimize(Simulator self, unsigned int max_steps) -> IMP::Float"""
3567 return _IMP_atom.Simulator_do_optimize(self, max_steps)
3570 def setup(self, arg0):
3571 """setup(Simulator self, IMP::ParticleIndexes const & arg0)"""
3572 return _IMP_atom.Simulator_setup(self, arg0)
3575 def do_step(self, sc, dt):
3576 """do_step(Simulator self, IMP::ParticleIndexes const & sc, double dt) -> double"""
3577 return _IMP_atom.Simulator_do_step(self, sc, dt)
3580 def get_is_simulation_particle(self, p):
3581 """get_is_simulation_particle(Simulator self, ParticleIndex p) -> bool"""
3582 return _IMP_atom.Simulator_get_is_simulation_particle(self, p)
3585 def do_simulate(self, time):
3586 """do_simulate(Simulator self, double time) -> double"""
3587 return _IMP_atom.Simulator_do_simulate(self, time)
3590 def do_simulate_wave(self, time_in_fs, max_time_step_factor=10.0, base=1.5):
3592 do_simulate_wave(Simulator self, double time_in_fs, double max_time_step_factor=10.0, double base=1.5) -> double
3593 do_simulate_wave(Simulator self, double time_in_fs, double max_time_step_factor=10.0) -> double
3594 do_simulate_wave(Simulator self, double time_in_fs) -> double
3596 return _IMP_atom.Simulator_do_simulate_wave(self, time_in_fs, max_time_step_factor, base)
3600 """__str__(Simulator self) -> std::string"""
3601 return _IMP_atom.Simulator___str__(self)
3605 """__repr__(Simulator self) -> std::string"""
3606 return _IMP_atom.Simulator___repr__(self)
3609 return _object_cast_to_Simulator(o)
3610 get_from = staticmethod(get_from)
3612 def get_type_name(self):
3613 return self.__class__.__name__
3614 def do_show(self, out):
3616 def get_version_info(self):
3617 if"IMP::atom" ==
"IMP":
3618 return VersionInfo(self.__module__,
3619 __import__(self.__module__).get_module_version())
3622 __import__(self.__module__).get_module_version())
3624 return _object_cast_to_Simulator(o)
3625 get_from = staticmethod(get_from)
3627 __swig_destroy__ = _IMP_atom.delete_Simulator
3628 __del__ =
lambda self:
None
3629 def __disown__(self):
3631 _IMP_atom.disown_Simulator(self)
3632 return weakref_proxy(self)
3634 def do_destroy(self):
3635 """do_destroy(Simulator self)"""
3636 return _IMP_atom.Simulator_do_destroy(self)
3639 def handle_set_has_required_score_states(self, arg0):
3640 """handle_set_has_required_score_states(Simulator self, bool arg0)"""
3641 return _IMP_atom.Simulator_handle_set_has_required_score_states(self, arg0)
3644 def do_get_inputs(self):
3645 """do_get_inputs(Simulator self) -> IMP::ModelObjectsTemp"""
3646 return _IMP_atom.Simulator_do_get_inputs(self)
3649 def do_get_outputs(self):
3650 """do_get_outputs(Simulator self) -> IMP::ModelObjectsTemp"""
3651 return _IMP_atom.Simulator_do_get_outputs(self)
3654 def do_get_interactions(self):
3655 """do_get_interactions(Simulator self) -> IMP::ModelObjectsTemps"""
3656 return _IMP_atom.Simulator_do_get_interactions(self)
3658 Simulator_swigregister = _IMP_atom.Simulator_swigregister
3659 Simulator_swigregister(Simulator)
3662 def get_energy_in_femto_joules(energy_in_kcal_per_mol):
3663 """get_energy_in_femto_joules(double energy_in_kcal_per_mol) -> double"""
3664 return _IMP_atom.get_energy_in_femto_joules(energy_in_kcal_per_mol)
3666 def get_force_in_femto_newtons(force_in_kcal_per_mol_per_angstrom):
3667 """get_force_in_femto_newtons(double force_in_kcal_per_mol_per_angstrom) -> double"""
3668 return _IMP_atom.get_force_in_femto_newtons(force_in_kcal_per_mol_per_angstrom)
3670 def get_spring_constant_in_femto_newtons_per_angstrom(k_in_kcal_per_mol_per_angstrom_square):
3671 """get_spring_constant_in_femto_newtons_per_angstrom(double k_in_kcal_per_mol_per_angstrom_square) -> double"""
3672 return _IMP_atom.get_spring_constant_in_femto_newtons_per_angstrom(k_in_kcal_per_mol_per_angstrom_square)
3674 _IMP_atom.IMP_ATOM_DEFAULT_BD_RANDOM_POOL_SIZE_swigconstant(_IMP_atom)
3675 IMP_ATOM_DEFAULT_BD_RANDOM_POOL_SIZE = _IMP_atom.IMP_ATOM_DEFAULT_BD_RANDOM_POOL_SIZE
3676 class BrownianDynamics(Simulator):
3677 """Proxy of C++ IMP::atom::BrownianDynamics class"""
3678 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3680 def __init__(self, *args):
3682 __init__(IMP::atom::BrownianDynamics self, Model m, std::string name, double wave_factor=1.0, unsigned int random_pool_size=500) -> BrownianDynamics
3683 __init__(IMP::atom::BrownianDynamics self, Model m, std::string name, double wave_factor=1.0) -> BrownianDynamics
3684 __init__(IMP::atom::BrownianDynamics self, Model m, std::string name) -> BrownianDynamics
3685 __init__(IMP::atom::BrownianDynamics self, Model m) -> BrownianDynamics
3687 this = _IMP_atom.new_BrownianDynamics(*args)
3689 self.this.append(this)
3693 def set_maximum_move(self, ms):
3694 """set_maximum_move(BrownianDynamics self, double ms)"""
3695 return _IMP_atom.BrownianDynamics_set_maximum_move(self, ms)
3698 def set_use_stochastic_runge_kutta(self, tf):
3699 """set_use_stochastic_runge_kutta(BrownianDynamics self, bool tf)"""
3700 return _IMP_atom.BrownianDynamics_set_use_stochastic_runge_kutta(self, tf)
3703 def get_version_info(self):
3704 """get_version_info(BrownianDynamics self) -> VersionInfo"""
3705 return _IMP_atom.BrownianDynamics_get_version_info(self)
3709 """__str__(BrownianDynamics self) -> std::string"""
3710 return _IMP_atom.BrownianDynamics___str__(self)
3714 """__repr__(BrownianDynamics self) -> std::string"""
3715 return _IMP_atom.BrownianDynamics___repr__(self)
3718 return _object_cast_to_BrownianDynamics(o)
3719 get_from = staticmethod(get_from)
3721 BrownianDynamics_swigregister = _IMP_atom.BrownianDynamics_swigregister
3722 BrownianDynamics_swigregister(BrownianDynamics)
3726 """get_maximum_time_step_estimate(BrownianDynamics bd) -> double"""
3727 return _IMP_atom.get_maximum_time_step_estimate(bd)
3729 def get_harmonic_sigma(D, f):
3730 """get_harmonic_sigma(double D, double f) -> double"""
3731 return _IMP_atom.get_harmonic_sigma(D, f)
3732 class BrownianDynamicsTAMD(BrownianDynamics):
3733 """Proxy of C++ IMP::atom::BrownianDynamicsTAMD class"""
3734 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3736 def __init__(self, *args):
3738 __init__(IMP::atom::BrownianDynamicsTAMD self, Model m, std::string name, double wave_factor=1.0) -> BrownianDynamicsTAMD
3739 __init__(IMP::atom::BrownianDynamicsTAMD self, Model m, std::string name) -> BrownianDynamicsTAMD
3740 __init__(IMP::atom::BrownianDynamicsTAMD self, Model m) -> BrownianDynamicsTAMD
3742 this = _IMP_atom.new_BrownianDynamicsTAMD(*args)
3744 self.this.append(this)
3749 """__str__(BrownianDynamicsTAMD self) -> std::string"""
3750 return _IMP_atom.BrownianDynamicsTAMD___str__(self)
3754 """__repr__(BrownianDynamicsTAMD self) -> std::string"""
3755 return _IMP_atom.BrownianDynamicsTAMD___repr__(self)
3758 return _object_cast_to_BrownianDynamicsTAMD(o)
3759 get_from = staticmethod(get_from)
3761 __swig_destroy__ = _IMP_atom.delete_BrownianDynamicsTAMD
3762 __del__ =
lambda self:
None
3763 BrownianDynamicsTAMD_swigregister = _IMP_atom.BrownianDynamicsTAMD_swigregister
3764 BrownianDynamicsTAMD_swigregister(BrownianDynamicsTAMD)
3767 """Proxy of C++ IMP::atom::Diffusion class"""
3768 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3770 def __init__(self, *args):
3772 __init__(IMP::atom::Diffusion self) -> Diffusion
3773 __init__(IMP::atom::Diffusion self, Model m, ParticleIndex id) -> Diffusion
3774 __init__(IMP::atom::Diffusion self, _ParticleAdaptor d) -> Diffusion
3776 this = _IMP_atom.new_Diffusion(*args)
3778 self.this.append(this)
3782 def show(self, *args):
3784 show(Diffusion self, _ostream out)
3785 show(Diffusion self)
3787 return _IMP_atom.Diffusion_show(self, *args)
3790 def setup_particle(*args):
3792 setup_particle(Model m, ParticleIndex pi, IMP::Float D) -> Diffusion
3793 setup_particle(_ParticleAdaptor decorator, IMP::Float D) -> Diffusion
3794 setup_particle(Model m, ParticleIndex pi, Vector3D v, IMP::Float D) -> Diffusion
3795 setup_particle(_ParticleAdaptor decorator, Vector3D v, IMP::Float D) -> Diffusion
3796 setup_particle(Model m, ParticleIndex pi) -> Diffusion
3797 setup_particle(_ParticleAdaptor decorator) -> Diffusion
3799 return _IMP_atom.Diffusion_setup_particle(*args)
3801 setup_particle = staticmethod(setup_particle)
3803 def get_is_setup(*args):
3805 get_is_setup(_ParticleAdaptor p) -> bool
3806 get_is_setup(Model m, ParticleIndex p) -> bool
3808 return _IMP_atom.Diffusion_get_is_setup(*args)
3810 get_is_setup = staticmethod(get_is_setup)
3812 def set_diffusion_coefficient(self, d):
3813 """set_diffusion_coefficient(Diffusion self, double d)"""
3814 return _IMP_atom.Diffusion_set_diffusion_coefficient(self, d)
3818 """get_diffusion_coefficient(Diffusion self) -> double"""
3819 return _IMP_atom.Diffusion_get_diffusion_coefficient(self)
3822 def get_diffusion_coefficient_key():
3823 """get_diffusion_coefficient_key() -> FloatKey"""
3824 return _IMP_atom.Diffusion_get_diffusion_coefficient_key()
3826 get_diffusion_coefficient_key = staticmethod(get_diffusion_coefficient_key)
3828 def add_attribute(self, *args):
3830 add_attribute(Diffusion self, FloatKey k, IMP::Float v, bool opt)
3831 add_attribute(Diffusion self, FloatKey a0, IMP::Float a1)
3832 add_attribute(Diffusion self, IntKey a0, IMP::Int a1)
3833 add_attribute(Diffusion self, StringKey a0, IMP::String a1)
3834 add_attribute(Diffusion self, ParticleIndexKey a0, Particle a1)
3835 add_attribute(Diffusion self, ObjectKey a0, Object a1)
3837 return _IMP_atom.Diffusion_add_attribute(self, *args)
3840 def get_value(self, *args):
3842 get_value(Diffusion self, FloatKey a0) -> IMP::Float
3843 get_value(Diffusion self, IntKey a0) -> IMP::Int
3844 get_value(Diffusion self, StringKey a0) -> IMP::String
3845 get_value(Diffusion self, ParticleIndexKey a0) -> Particle
3846 get_value(Diffusion self, ObjectKey a0) -> Object
3848 return _IMP_atom.Diffusion_get_value(self, *args)
3851 def set_value(self, *args):
3853 set_value(Diffusion self, FloatKey a0, IMP::Float a1)
3854 set_value(Diffusion self, IntKey a0, IMP::Int a1)
3855 set_value(Diffusion self, StringKey a0, IMP::String a1)
3856 set_value(Diffusion self, ParticleIndexKey a0, Particle a1)
3857 set_value(Diffusion self, ObjectKey a0, Object a1)
3859 return _IMP_atom.Diffusion_set_value(self, *args)
3862 def remove_attribute(self, *args):
3864 remove_attribute(Diffusion self, FloatKey a0)
3865 remove_attribute(Diffusion self, IntKey a0)
3866 remove_attribute(Diffusion self, StringKey a0)
3867 remove_attribute(Diffusion self, ParticleIndexKey a0)
3868 remove_attribute(Diffusion self, ObjectKey a0)
3870 return _IMP_atom.Diffusion_remove_attribute(self, *args)
3873 def has_attribute(self, *args):
3875 has_attribute(Diffusion self, FloatKey a0) -> bool
3876 has_attribute(Diffusion self, IntKey a0) -> bool
3877 has_attribute(Diffusion self, StringKey a0) -> bool
3878 has_attribute(Diffusion self, ParticleIndexKey a0) -> bool
3879 has_attribute(Diffusion self, ObjectKey a0) -> bool
3881 return _IMP_atom.Diffusion_has_attribute(self, *args)
3884 def get_derivative(self, a0):
3885 """get_derivative(Diffusion self, FloatKey a0) -> double"""
3886 return _IMP_atom.Diffusion_get_derivative(self, a0)
3890 """get_name(Diffusion self) -> std::string"""
3891 return _IMP_atom.Diffusion_get_name(self)
3894 def clear_caches(self):
3895 """clear_caches(Diffusion self)"""
3896 return _IMP_atom.Diffusion_clear_caches(self)
3899 def set_name(self, a0):
3900 """set_name(Diffusion self, std::string a0)"""
3901 return _IMP_atom.Diffusion_set_name(self, a0)
3905 """set_check_level(Diffusion self, IMP::CheckLevel a0)"""
3906 return _IMP_atom.Diffusion_set_check_level(self, a0)
3909 def add_to_derivative(self, a0, a1, a2):
3910 """add_to_derivative(Diffusion self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
3911 return _IMP_atom.Diffusion_add_to_derivative(self, a0, a1, a2)
3914 def set_is_optimized(self, a0, a1):
3915 """set_is_optimized(Diffusion self, FloatKey a0, bool a1)"""
3916 return _IMP_atom.Diffusion_set_is_optimized(self, a0, a1)
3919 def get_is_optimized(self, a0):
3920 """get_is_optimized(Diffusion self, FloatKey a0) -> bool"""
3921 return _IMP_atom.Diffusion_get_is_optimized(self, a0)
3925 """get_check_level(Diffusion self) -> IMP::CheckLevel"""
3926 return _IMP_atom.Diffusion_get_check_level(self)
3929 def __eq__(self, *args):
3931 __eq__(Diffusion self, Diffusion o) -> bool
3932 __eq__(Diffusion self, Particle d) -> bool
3934 return _IMP_atom.Diffusion___eq__(self, *args)
3937 def __ne__(self, *args):
3939 __ne__(Diffusion self, Diffusion o) -> bool
3940 __ne__(Diffusion self, Particle d) -> bool
3942 return _IMP_atom.Diffusion___ne__(self, *args)
3945 def __le__(self, *args):
3947 __le__(Diffusion self, Diffusion o) -> bool
3948 __le__(Diffusion self, Particle d) -> bool
3950 return _IMP_atom.Diffusion___le__(self, *args)
3953 def __lt__(self, *args):
3955 __lt__(Diffusion self, Diffusion o) -> bool
3956 __lt__(Diffusion self, Particle d) -> bool
3958 return _IMP_atom.Diffusion___lt__(self, *args)
3961 def __ge__(self, *args):
3963 __ge__(Diffusion self, Diffusion o) -> bool
3964 __ge__(Diffusion self, Particle d) -> bool
3966 return _IMP_atom.Diffusion___ge__(self, *args)
3969 def __gt__(self, *args):
3971 __gt__(Diffusion self, Diffusion o) -> bool
3972 __gt__(Diffusion self, Particle d) -> bool
3974 return _IMP_atom.Diffusion___gt__(self, *args)
3978 """__hash__(Diffusion self) -> std::size_t"""
3979 return _IMP_atom.Diffusion___hash__(self)
3983 """__str__(Diffusion self) -> std::string"""
3984 return _IMP_atom.Diffusion___str__(self)
3988 """__repr__(Diffusion self) -> std::string"""
3989 return _IMP_atom.Diffusion___repr__(self)
3991 __swig_destroy__ = _IMP_atom.delete_Diffusion
3992 __del__ =
lambda self:
None
3993 Diffusion_swigregister = _IMP_atom.Diffusion_swigregister
3994 Diffusion_swigregister(Diffusion)
3996 def Diffusion_setup_particle(*args):
3998 setup_particle(Model m, ParticleIndex pi, IMP::Float D) -> Diffusion
3999 setup_particle(_ParticleAdaptor decorator, IMP::Float D) -> Diffusion
4000 setup_particle(Model m, ParticleIndex pi, Vector3D v, IMP::Float D) -> Diffusion
4001 setup_particle(_ParticleAdaptor decorator, Vector3D v, IMP::Float D) -> Diffusion
4002 setup_particle(Model m, ParticleIndex pi) -> Diffusion
4003 Diffusion_setup_particle(_ParticleAdaptor decorator) -> Diffusion
4005 return _IMP_atom.Diffusion_setup_particle(*args)
4007 def Diffusion_get_is_setup(*args):
4009 get_is_setup(_ParticleAdaptor p) -> bool
4010 Diffusion_get_is_setup(Model m, ParticleIndex p) -> bool
4012 return _IMP_atom.Diffusion_get_is_setup(*args)
4014 def Diffusion_get_diffusion_coefficient_key():
4015 """Diffusion_get_diffusion_coefficient_key() -> FloatKey"""
4016 return _IMP_atom.Diffusion_get_diffusion_coefficient_key()
4019 def get_diffusion_coefficient_from_cm2_per_second(din):
4020 """get_diffusion_coefficient_from_cm2_per_second(double din) -> double"""
4021 return _IMP_atom.get_diffusion_coefficient_from_cm2_per_second(din)
4022 class RigidBodyDiffusion(Diffusion):
4023 """Proxy of C++ IMP::atom::RigidBodyDiffusion class"""
4024 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4026 def __init__(self, *args):
4028 __init__(IMP::atom::RigidBodyDiffusion self) -> RigidBodyDiffusion
4029 __init__(IMP::atom::RigidBodyDiffusion self, Model m, ParticleIndex id) -> RigidBodyDiffusion
4030 __init__(IMP::atom::RigidBodyDiffusion self, _ParticleAdaptor d) -> RigidBodyDiffusion
4032 this = _IMP_atom.new_RigidBodyDiffusion(*args)
4034 self.this.append(this)
4038 def show(self, *args):
4040 show(RigidBodyDiffusion self, _ostream out)
4041 show(RigidBodyDiffusion self)
4043 return _IMP_atom.RigidBodyDiffusion_show(self, *args)
4046 def setup_particle(*args):
4048 setup_particle(Model m, ParticleIndex pi) -> RigidBodyDiffusion
4049 setup_particle(_ParticleAdaptor decorator) -> RigidBodyDiffusion
4051 return _IMP_atom.RigidBodyDiffusion_setup_particle(*args)
4053 setup_particle = staticmethod(setup_particle)
4056 """get_rotational_diffusion_coefficient(RigidBodyDiffusion self) -> double"""
4057 return _IMP_atom.RigidBodyDiffusion_get_rotational_diffusion_coefficient(self)
4060 def set_rotational_diffusion_coefficient(self, d):
4061 """set_rotational_diffusion_coefficient(RigidBodyDiffusion self, double d)"""
4062 return _IMP_atom.RigidBodyDiffusion_set_rotational_diffusion_coefficient(self, d)
4065 def get_is_setup(*args):
4067 get_is_setup(_ParticleAdaptor p) -> bool
4068 get_is_setup(Model m, ParticleIndex p) -> bool
4070 return _IMP_atom.RigidBodyDiffusion_get_is_setup(*args)
4072 get_is_setup = staticmethod(get_is_setup)
4074 def get_rotational_diffusion_coefficient_key():
4075 """get_rotational_diffusion_coefficient_key() -> FloatKey"""
4076 return _IMP_atom.RigidBodyDiffusion_get_rotational_diffusion_coefficient_key()
4078 get_rotational_diffusion_coefficient_key = staticmethod(get_rotational_diffusion_coefficient_key)
4080 def add_attribute(self, *args):
4082 add_attribute(RigidBodyDiffusion self, FloatKey k, IMP::Float v, bool opt)
4083 add_attribute(RigidBodyDiffusion self, FloatKey a0, IMP::Float a1)
4084 add_attribute(RigidBodyDiffusion self, IntKey a0, IMP::Int a1)
4085 add_attribute(RigidBodyDiffusion self, StringKey a0, IMP::String a1)
4086 add_attribute(RigidBodyDiffusion self, ParticleIndexKey a0, Particle a1)
4087 add_attribute(RigidBodyDiffusion self, ObjectKey a0, Object a1)
4089 return _IMP_atom.RigidBodyDiffusion_add_attribute(self, *args)
4092 def get_value(self, *args):
4094 get_value(RigidBodyDiffusion self, FloatKey a0) -> IMP::Float
4095 get_value(RigidBodyDiffusion self, IntKey a0) -> IMP::Int
4096 get_value(RigidBodyDiffusion self, StringKey a0) -> IMP::String
4097 get_value(RigidBodyDiffusion self, ParticleIndexKey a0) -> Particle
4098 get_value(RigidBodyDiffusion self, ObjectKey a0) -> Object
4100 return _IMP_atom.RigidBodyDiffusion_get_value(self, *args)
4103 def set_value(self, *args):
4105 set_value(RigidBodyDiffusion self, FloatKey a0, IMP::Float a1)
4106 set_value(RigidBodyDiffusion self, IntKey a0, IMP::Int a1)
4107 set_value(RigidBodyDiffusion self, StringKey a0, IMP::String a1)
4108 set_value(RigidBodyDiffusion self, ParticleIndexKey a0, Particle a1)
4109 set_value(RigidBodyDiffusion self, ObjectKey a0, Object a1)
4111 return _IMP_atom.RigidBodyDiffusion_set_value(self, *args)
4114 def remove_attribute(self, *args):
4116 remove_attribute(RigidBodyDiffusion self, FloatKey a0)
4117 remove_attribute(RigidBodyDiffusion self, IntKey a0)
4118 remove_attribute(RigidBodyDiffusion self, StringKey a0)
4119 remove_attribute(RigidBodyDiffusion self, ParticleIndexKey a0)
4120 remove_attribute(RigidBodyDiffusion self, ObjectKey a0)
4122 return _IMP_atom.RigidBodyDiffusion_remove_attribute(self, *args)
4125 def has_attribute(self, *args):
4127 has_attribute(RigidBodyDiffusion self, FloatKey a0) -> bool
4128 has_attribute(RigidBodyDiffusion self, IntKey a0) -> bool
4129 has_attribute(RigidBodyDiffusion self, StringKey a0) -> bool
4130 has_attribute(RigidBodyDiffusion self, ParticleIndexKey a0) -> bool
4131 has_attribute(RigidBodyDiffusion self, ObjectKey a0) -> bool
4133 return _IMP_atom.RigidBodyDiffusion_has_attribute(self, *args)
4136 def get_derivative(self, a0):
4137 """get_derivative(RigidBodyDiffusion self, FloatKey a0) -> double"""
4138 return _IMP_atom.RigidBodyDiffusion_get_derivative(self, a0)
4142 """get_name(RigidBodyDiffusion self) -> std::string"""
4143 return _IMP_atom.RigidBodyDiffusion_get_name(self)
4146 def clear_caches(self):
4147 """clear_caches(RigidBodyDiffusion self)"""
4148 return _IMP_atom.RigidBodyDiffusion_clear_caches(self)
4151 def set_name(self, a0):
4152 """set_name(RigidBodyDiffusion self, std::string a0)"""
4153 return _IMP_atom.RigidBodyDiffusion_set_name(self, a0)
4157 """set_check_level(RigidBodyDiffusion self, IMP::CheckLevel a0)"""
4158 return _IMP_atom.RigidBodyDiffusion_set_check_level(self, a0)
4161 def add_to_derivative(self, a0, a1, a2):
4162 """add_to_derivative(RigidBodyDiffusion self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
4163 return _IMP_atom.RigidBodyDiffusion_add_to_derivative(self, a0, a1, a2)
4166 def set_is_optimized(self, a0, a1):
4167 """set_is_optimized(RigidBodyDiffusion self, FloatKey a0, bool a1)"""
4168 return _IMP_atom.RigidBodyDiffusion_set_is_optimized(self, a0, a1)
4171 def get_is_optimized(self, a0):
4172 """get_is_optimized(RigidBodyDiffusion self, FloatKey a0) -> bool"""
4173 return _IMP_atom.RigidBodyDiffusion_get_is_optimized(self, a0)
4177 """get_check_level(RigidBodyDiffusion self) -> IMP::CheckLevel"""
4178 return _IMP_atom.RigidBodyDiffusion_get_check_level(self)
4181 def __eq__(self, *args):
4183 __eq__(RigidBodyDiffusion self, RigidBodyDiffusion o) -> bool
4184 __eq__(RigidBodyDiffusion self, Particle d) -> bool
4186 return _IMP_atom.RigidBodyDiffusion___eq__(self, *args)
4189 def __ne__(self, *args):
4191 __ne__(RigidBodyDiffusion self, RigidBodyDiffusion o) -> bool
4192 __ne__(RigidBodyDiffusion self, Particle d) -> bool
4194 return _IMP_atom.RigidBodyDiffusion___ne__(self, *args)
4197 def __le__(self, *args):
4199 __le__(RigidBodyDiffusion self, RigidBodyDiffusion o) -> bool
4200 __le__(RigidBodyDiffusion self, Particle d) -> bool
4202 return _IMP_atom.RigidBodyDiffusion___le__(self, *args)
4205 def __lt__(self, *args):
4207 __lt__(RigidBodyDiffusion self, RigidBodyDiffusion o) -> bool
4208 __lt__(RigidBodyDiffusion self, Particle d) -> bool
4210 return _IMP_atom.RigidBodyDiffusion___lt__(self, *args)
4213 def __ge__(self, *args):
4215 __ge__(RigidBodyDiffusion self, RigidBodyDiffusion o) -> bool
4216 __ge__(RigidBodyDiffusion self, Particle d) -> bool
4218 return _IMP_atom.RigidBodyDiffusion___ge__(self, *args)
4221 def __gt__(self, *args):
4223 __gt__(RigidBodyDiffusion self, RigidBodyDiffusion o) -> bool
4224 __gt__(RigidBodyDiffusion self, Particle d) -> bool
4226 return _IMP_atom.RigidBodyDiffusion___gt__(self, *args)
4230 """__hash__(RigidBodyDiffusion self) -> std::size_t"""
4231 return _IMP_atom.RigidBodyDiffusion___hash__(self)
4235 """__str__(RigidBodyDiffusion self) -> std::string"""
4236 return _IMP_atom.RigidBodyDiffusion___str__(self)
4240 """__repr__(RigidBodyDiffusion self) -> std::string"""
4241 return _IMP_atom.RigidBodyDiffusion___repr__(self)
4243 __swig_destroy__ = _IMP_atom.delete_RigidBodyDiffusion
4244 __del__ =
lambda self:
None
4245 RigidBodyDiffusion_swigregister = _IMP_atom.RigidBodyDiffusion_swigregister
4246 RigidBodyDiffusion_swigregister(RigidBodyDiffusion)
4248 def RigidBodyDiffusion_setup_particle(*args):
4250 setup_particle(Model m, ParticleIndex pi) -> RigidBodyDiffusion
4251 RigidBodyDiffusion_setup_particle(_ParticleAdaptor decorator) -> RigidBodyDiffusion
4253 return _IMP_atom.RigidBodyDiffusion_setup_particle(*args)
4255 def RigidBodyDiffusion_get_is_setup(*args):
4257 get_is_setup(_ParticleAdaptor p) -> bool
4258 RigidBodyDiffusion_get_is_setup(Model m, ParticleIndex p) -> bool
4260 return _IMP_atom.RigidBodyDiffusion_get_is_setup(*args)
4262 def RigidBodyDiffusion_get_rotational_diffusion_coefficient_key():
4263 """RigidBodyDiffusion_get_rotational_diffusion_coefficient_key() -> FloatKey"""
4264 return _IMP_atom.RigidBodyDiffusion_get_rotational_diffusion_coefficient_key()
4267 """Proxy of C++ IMP::atom::TAMDParticle class"""
4268 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4270 def __init__(self, *args):
4272 __init__(IMP::atom::TAMDParticle self) -> TAMDParticle
4273 __init__(IMP::atom::TAMDParticle self, Model m, ParticleIndex id) -> TAMDParticle
4274 __init__(IMP::atom::TAMDParticle self, _ParticleAdaptor d) -> TAMDParticle
4276 this = _IMP_atom.new_TAMDParticle(*args)
4278 self.this.append(this)
4282 def show(self, *args):
4284 show(TAMDParticle self, _ostream out)
4285 show(TAMDParticle self)
4287 return _IMP_atom.TAMDParticle_show(self, *args)
4290 def setup_particle(*args):
4292 setup_particle(Model m, ParticleIndex pi, ParticleIndex pi_ref, IMP::Float tsf, IMP::Float fsf) -> TAMDParticle
4293 setup_particle(_ParticleAdaptor decorator, ParticleIndex pi_ref, IMP::Float tsf, IMP::Float fsf) -> TAMDParticle
4294 setup_particle(Model m, ParticleIndex pi, Particle p_ref, IMP::Float tsf, IMP::Float fsf) -> TAMDParticle
4295 setup_particle(_ParticleAdaptor decorator, Particle p_ref, IMP::Float tsf, IMP::Float fsf) -> TAMDParticle
4297 return _IMP_atom.TAMDParticle_setup_particle(*args)
4299 setup_particle = staticmethod(setup_particle)
4301 def get_is_setup(*args):
4303 get_is_setup(_ParticleAdaptor p) -> bool
4304 get_is_setup(Model m, ParticleIndex p) -> bool
4306 return _IMP_atom.TAMDParticle_get_is_setup(*args)
4308 get_is_setup = staticmethod(get_is_setup)
4310 def get_reference_particle_index(self):
4311 """get_reference_particle_index(TAMDParticle self) -> ParticleIndex"""
4312 return _IMP_atom.TAMDParticle_get_reference_particle_index(self)
4315 def set_temperature_scale_factor(self, tsf):
4316 """set_temperature_scale_factor(TAMDParticle self, float tsf)"""
4317 return _IMP_atom.TAMDParticle_set_temperature_scale_factor(self, tsf)
4320 def get_temperature_scale_factor(self):
4321 """get_temperature_scale_factor(TAMDParticle self) -> double"""
4322 return _IMP_atom.TAMDParticle_get_temperature_scale_factor(self)
4325 def set_friction_scale_factor(self, tsf):
4326 """set_friction_scale_factor(TAMDParticle self, float tsf)"""
4327 return _IMP_atom.TAMDParticle_set_friction_scale_factor(self, tsf)
4330 def get_friction_scale_factor(self):
4331 """get_friction_scale_factor(TAMDParticle self) -> double"""
4332 return _IMP_atom.TAMDParticle_get_friction_scale_factor(self)
4335 def update_coordinates_from_ref(self):
4336 """update_coordinates_from_ref(TAMDParticle self)"""
4337 return _IMP_atom.TAMDParticle_update_coordinates_from_ref(self)
4340 def get_temperature_scale_factor_key():
4341 """get_temperature_scale_factor_key() -> FloatKey"""
4342 return _IMP_atom.TAMDParticle_get_temperature_scale_factor_key()
4344 get_temperature_scale_factor_key = staticmethod(get_temperature_scale_factor_key)
4346 def get_friction_scale_factor_key():
4347 """get_friction_scale_factor_key() -> FloatKey"""
4348 return _IMP_atom.TAMDParticle_get_friction_scale_factor_key()
4350 get_friction_scale_factor_key = staticmethod(get_friction_scale_factor_key)
4352 def get_reference_particle_index_key():
4353 """get_reference_particle_index_key() -> ParticleIndexKey"""
4354 return _IMP_atom.TAMDParticle_get_reference_particle_index_key()
4356 get_reference_particle_index_key = staticmethod(get_reference_particle_index_key)
4358 def add_attribute(self, *args):
4360 add_attribute(TAMDParticle self, FloatKey k, IMP::Float v, bool opt)
4361 add_attribute(TAMDParticle self, FloatKey a0, IMP::Float a1)
4362 add_attribute(TAMDParticle self, IntKey a0, IMP::Int a1)
4363 add_attribute(TAMDParticle self, StringKey a0, IMP::String a1)
4364 add_attribute(TAMDParticle self, ParticleIndexKey a0, Particle a1)
4365 add_attribute(TAMDParticle self, ObjectKey a0, Object a1)
4367 return _IMP_atom.TAMDParticle_add_attribute(self, *args)
4370 def get_value(self, *args):
4372 get_value(TAMDParticle self, FloatKey a0) -> IMP::Float
4373 get_value(TAMDParticle self, IntKey a0) -> IMP::Int
4374 get_value(TAMDParticle self, StringKey a0) -> IMP::String
4375 get_value(TAMDParticle self, ParticleIndexKey a0) -> Particle
4376 get_value(TAMDParticle self, ObjectKey a0) -> Object
4378 return _IMP_atom.TAMDParticle_get_value(self, *args)
4381 def set_value(self, *args):
4383 set_value(TAMDParticle self, FloatKey a0, IMP::Float a1)
4384 set_value(TAMDParticle self, IntKey a0, IMP::Int a1)
4385 set_value(TAMDParticle self, StringKey a0, IMP::String a1)
4386 set_value(TAMDParticle self, ParticleIndexKey a0, Particle a1)
4387 set_value(TAMDParticle self, ObjectKey a0, Object a1)
4389 return _IMP_atom.TAMDParticle_set_value(self, *args)
4392 def remove_attribute(self, *args):
4394 remove_attribute(TAMDParticle self, FloatKey a0)
4395 remove_attribute(TAMDParticle self, IntKey a0)
4396 remove_attribute(TAMDParticle self, StringKey a0)
4397 remove_attribute(TAMDParticle self, ParticleIndexKey a0)
4398 remove_attribute(TAMDParticle self, ObjectKey a0)
4400 return _IMP_atom.TAMDParticle_remove_attribute(self, *args)
4403 def has_attribute(self, *args):
4405 has_attribute(TAMDParticle self, FloatKey a0) -> bool
4406 has_attribute(TAMDParticle self, IntKey a0) -> bool
4407 has_attribute(TAMDParticle self, StringKey a0) -> bool
4408 has_attribute(TAMDParticle self, ParticleIndexKey a0) -> bool
4409 has_attribute(TAMDParticle self, ObjectKey a0) -> bool
4411 return _IMP_atom.TAMDParticle_has_attribute(self, *args)
4414 def get_derivative(self, a0):
4415 """get_derivative(TAMDParticle self, FloatKey a0) -> double"""
4416 return _IMP_atom.TAMDParticle_get_derivative(self, a0)
4420 """get_name(TAMDParticle self) -> std::string"""
4421 return _IMP_atom.TAMDParticle_get_name(self)
4424 def clear_caches(self):
4425 """clear_caches(TAMDParticle self)"""
4426 return _IMP_atom.TAMDParticle_clear_caches(self)
4429 def set_name(self, a0):
4430 """set_name(TAMDParticle self, std::string a0)"""
4431 return _IMP_atom.TAMDParticle_set_name(self, a0)
4435 """set_check_level(TAMDParticle self, IMP::CheckLevel a0)"""
4436 return _IMP_atom.TAMDParticle_set_check_level(self, a0)
4439 def add_to_derivative(self, a0, a1, a2):
4440 """add_to_derivative(TAMDParticle self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
4441 return _IMP_atom.TAMDParticle_add_to_derivative(self, a0, a1, a2)
4444 def set_is_optimized(self, a0, a1):
4445 """set_is_optimized(TAMDParticle self, FloatKey a0, bool a1)"""
4446 return _IMP_atom.TAMDParticle_set_is_optimized(self, a0, a1)
4449 def get_is_optimized(self, a0):
4450 """get_is_optimized(TAMDParticle self, FloatKey a0) -> bool"""
4451 return _IMP_atom.TAMDParticle_get_is_optimized(self, a0)
4455 """get_check_level(TAMDParticle self) -> IMP::CheckLevel"""
4456 return _IMP_atom.TAMDParticle_get_check_level(self)
4459 def __eq__(self, *args):
4461 __eq__(TAMDParticle self, TAMDParticle o) -> bool
4462 __eq__(TAMDParticle self, Particle d) -> bool
4464 return _IMP_atom.TAMDParticle___eq__(self, *args)
4467 def __ne__(self, *args):
4469 __ne__(TAMDParticle self, TAMDParticle o) -> bool
4470 __ne__(TAMDParticle self, Particle d) -> bool
4472 return _IMP_atom.TAMDParticle___ne__(self, *args)
4475 def __le__(self, *args):
4477 __le__(TAMDParticle self, TAMDParticle o) -> bool
4478 __le__(TAMDParticle self, Particle d) -> bool
4480 return _IMP_atom.TAMDParticle___le__(self, *args)
4483 def __lt__(self, *args):
4485 __lt__(TAMDParticle self, TAMDParticle o) -> bool
4486 __lt__(TAMDParticle self, Particle d) -> bool
4488 return _IMP_atom.TAMDParticle___lt__(self, *args)
4491 def __ge__(self, *args):
4493 __ge__(TAMDParticle self, TAMDParticle o) -> bool
4494 __ge__(TAMDParticle self, Particle d) -> bool
4496 return _IMP_atom.TAMDParticle___ge__(self, *args)
4499 def __gt__(self, *args):
4501 __gt__(TAMDParticle self, TAMDParticle o) -> bool
4502 __gt__(TAMDParticle self, Particle d) -> bool
4504 return _IMP_atom.TAMDParticle___gt__(self, *args)
4508 """__hash__(TAMDParticle self) -> std::size_t"""
4509 return _IMP_atom.TAMDParticle___hash__(self)
4513 """__str__(TAMDParticle self) -> std::string"""
4514 return _IMP_atom.TAMDParticle___str__(self)
4518 """__repr__(TAMDParticle self) -> std::string"""
4519 return _IMP_atom.TAMDParticle___repr__(self)
4521 __swig_destroy__ = _IMP_atom.delete_TAMDParticle
4522 __del__ =
lambda self:
None
4523 TAMDParticle_swigregister = _IMP_atom.TAMDParticle_swigregister
4524 TAMDParticle_swigregister(TAMDParticle)
4526 def TAMDParticle_setup_particle(*args):
4528 setup_particle(Model m, ParticleIndex pi, ParticleIndex pi_ref, IMP::Float tsf, IMP::Float fsf) -> TAMDParticle
4529 setup_particle(_ParticleAdaptor decorator, ParticleIndex pi_ref, IMP::Float tsf, IMP::Float fsf) -> TAMDParticle
4530 setup_particle(Model m, ParticleIndex pi, Particle p_ref, IMP::Float tsf, IMP::Float fsf) -> TAMDParticle
4531 TAMDParticle_setup_particle(_ParticleAdaptor decorator, Particle p_ref, IMP::Float tsf, IMP::Float fsf) -> TAMDParticle
4533 return _IMP_atom.TAMDParticle_setup_particle(*args)
4535 def TAMDParticle_get_is_setup(*args):
4537 get_is_setup(_ParticleAdaptor p) -> bool
4538 TAMDParticle_get_is_setup(Model m, ParticleIndex p) -> bool
4540 return _IMP_atom.TAMDParticle_get_is_setup(*args)
4542 def TAMDParticle_get_temperature_scale_factor_key():
4543 """TAMDParticle_get_temperature_scale_factor_key() -> FloatKey"""
4544 return _IMP_atom.TAMDParticle_get_temperature_scale_factor_key()
4546 def TAMDParticle_get_friction_scale_factor_key():
4547 """TAMDParticle_get_friction_scale_factor_key() -> FloatKey"""
4548 return _IMP_atom.TAMDParticle_get_friction_scale_factor_key()
4550 def TAMDParticle_get_reference_particle_index_key():
4551 """TAMDParticle_get_reference_particle_index_key() -> ParticleIndexKey"""
4552 return _IMP_atom.TAMDParticle_get_reference_particle_index_key()
4554 class Chain(Hierarchy):
4555 """Proxy of C++ IMP::atom::Chain class"""
4556 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4558 def __init__(self, *args):
4560 __init__(IMP::atom::Chain self) -> Chain
4561 __init__(IMP::atom::Chain self, Model m, ParticleIndex id) -> Chain
4562 __init__(IMP::atom::Chain self, _ParticleAdaptor d) -> Chain
4564 this = _IMP_atom.new_Chain(*args)
4566 self.this.append(this)
4570 def show(self, *args):
4572 show(Chain self, _ostream out)
4575 return _IMP_atom.Chain_show(self, *args)
4578 def setup_particle(*args):
4580 setup_particle(Model m, ParticleIndex pi, std::string id) -> Chain
4581 setup_particle(_ParticleAdaptor decorator, std::string id) -> Chain
4582 setup_particle(Model m, ParticleIndex pi, char id) -> Chain
4583 setup_particle(_ParticleAdaptor decorator, char id) -> Chain
4584 setup_particle(Model m, ParticleIndex pi, Chain other) -> Chain
4585 setup_particle(_ParticleAdaptor decorator, Chain other) -> Chain
4587 return _IMP_atom.Chain_setup_particle(*args)
4589 setup_particle = staticmethod(setup_particle)
4591 def get_is_setup(*args):
4593 get_is_setup(_ParticleAdaptor p) -> bool
4594 get_is_setup(Model m, ParticleIndex pi) -> bool
4596 return _IMP_atom.Chain_get_is_setup(*args)
4598 get_is_setup = staticmethod(get_is_setup)
4601 """get_id(Chain self) -> std::string"""
4602 return _IMP_atom.Chain_get_id(self)
4605 def set_id(self, c):
4606 """set_id(Chain self, std::string c)"""
4607 return _IMP_atom.Chain_set_id(self, c)
4611 """get_id_key() -> StringKey"""
4612 return _IMP_atom.Chain_get_id_key()
4614 get_id_key = staticmethod(get_id_key)
4616 def add_attribute(self, *args):
4618 add_attribute(Chain self, FloatKey k, IMP::Float v, bool opt)
4619 add_attribute(Chain self, FloatKey a0, IMP::Float a1)
4620 add_attribute(Chain self, IntKey a0, IMP::Int a1)
4621 add_attribute(Chain self, StringKey a0, IMP::String a1)
4622 add_attribute(Chain self, ParticleIndexKey a0, Particle a1)
4623 add_attribute(Chain self, ObjectKey a0, Object a1)
4625 return _IMP_atom.Chain_add_attribute(self, *args)
4628 def get_value(self, *args):
4630 get_value(Chain self, FloatKey a0) -> IMP::Float
4631 get_value(Chain self, IntKey a0) -> IMP::Int
4632 get_value(Chain self, StringKey a0) -> IMP::String
4633 get_value(Chain self, ParticleIndexKey a0) -> Particle
4634 get_value(Chain self, ObjectKey a0) -> Object
4636 return _IMP_atom.Chain_get_value(self, *args)
4639 def set_value(self, *args):
4641 set_value(Chain self, FloatKey a0, IMP::Float a1)
4642 set_value(Chain self, IntKey a0, IMP::Int a1)
4643 set_value(Chain self, StringKey a0, IMP::String a1)
4644 set_value(Chain self, ParticleIndexKey a0, Particle a1)
4645 set_value(Chain self, ObjectKey a0, Object a1)
4647 return _IMP_atom.Chain_set_value(self, *args)
4650 def remove_attribute(self, *args):
4652 remove_attribute(Chain self, FloatKey a0)
4653 remove_attribute(Chain self, IntKey a0)
4654 remove_attribute(Chain self, StringKey a0)
4655 remove_attribute(Chain self, ParticleIndexKey a0)
4656 remove_attribute(Chain self, ObjectKey a0)
4658 return _IMP_atom.Chain_remove_attribute(self, *args)
4661 def has_attribute(self, *args):
4663 has_attribute(Chain self, FloatKey a0) -> bool
4664 has_attribute(Chain self, IntKey a0) -> bool
4665 has_attribute(Chain self, StringKey a0) -> bool
4666 has_attribute(Chain self, ParticleIndexKey a0) -> bool
4667 has_attribute(Chain self, ObjectKey a0) -> bool
4669 return _IMP_atom.Chain_has_attribute(self, *args)
4672 def get_derivative(self, a0):
4673 """get_derivative(Chain self, FloatKey a0) -> double"""
4674 return _IMP_atom.Chain_get_derivative(self, a0)
4678 """get_name(Chain self) -> std::string"""
4679 return _IMP_atom.Chain_get_name(self)
4682 def clear_caches(self):
4683 """clear_caches(Chain self)"""
4684 return _IMP_atom.Chain_clear_caches(self)
4687 def set_name(self, a0):
4688 """set_name(Chain self, std::string a0)"""
4689 return _IMP_atom.Chain_set_name(self, a0)
4693 """set_check_level(Chain self, IMP::CheckLevel a0)"""
4694 return _IMP_atom.Chain_set_check_level(self, a0)
4697 def add_to_derivative(self, a0, a1, a2):
4698 """add_to_derivative(Chain self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
4699 return _IMP_atom.Chain_add_to_derivative(self, a0, a1, a2)
4702 def set_is_optimized(self, a0, a1):
4703 """set_is_optimized(Chain self, FloatKey a0, bool a1)"""
4704 return _IMP_atom.Chain_set_is_optimized(self, a0, a1)
4707 def get_is_optimized(self, a0):
4708 """get_is_optimized(Chain self, FloatKey a0) -> bool"""
4709 return _IMP_atom.Chain_get_is_optimized(self, a0)
4713 """get_check_level(Chain self) -> IMP::CheckLevel"""
4714 return _IMP_atom.Chain_get_check_level(self)
4717 def __eq__(self, *args):
4719 __eq__(Chain self, Chain o) -> bool
4720 __eq__(Chain self, Particle d) -> bool
4722 return _IMP_atom.Chain___eq__(self, *args)
4725 def __ne__(self, *args):
4727 __ne__(Chain self, Chain o) -> bool
4728 __ne__(Chain self, Particle d) -> bool
4730 return _IMP_atom.Chain___ne__(self, *args)
4733 def __le__(self, *args):
4735 __le__(Chain self, Chain o) -> bool
4736 __le__(Chain self, Particle d) -> bool
4738 return _IMP_atom.Chain___le__(self, *args)
4741 def __lt__(self, *args):
4743 __lt__(Chain self, Chain o) -> bool
4744 __lt__(Chain self, Particle d) -> bool
4746 return _IMP_atom.Chain___lt__(self, *args)
4749 def __ge__(self, *args):
4751 __ge__(Chain self, Chain o) -> bool
4752 __ge__(Chain self, Particle d) -> bool
4754 return _IMP_atom.Chain___ge__(self, *args)
4757 def __gt__(self, *args):
4759 __gt__(Chain self, Chain o) -> bool
4760 __gt__(Chain self, Particle d) -> bool
4762 return _IMP_atom.Chain___gt__(self, *args)
4766 """__hash__(Chain self) -> std::size_t"""
4767 return _IMP_atom.Chain___hash__(self)
4771 """__str__(Chain self) -> std::string"""
4772 return _IMP_atom.Chain___str__(self)
4776 """__repr__(Chain self) -> std::string"""
4777 return _IMP_atom.Chain___repr__(self)
4779 __swig_destroy__ = _IMP_atom.delete_Chain
4780 __del__ =
lambda self:
None
4781 Chain_swigregister = _IMP_atom.Chain_swigregister
4782 Chain_swigregister(Chain)
4784 def Chain_setup_particle(*args):
4786 setup_particle(Model m, ParticleIndex pi, std::string id) -> Chain
4787 setup_particle(_ParticleAdaptor decorator, std::string id) -> Chain
4788 setup_particle(Model m, ParticleIndex pi, char id) -> Chain
4789 setup_particle(_ParticleAdaptor decorator, char id) -> Chain
4790 setup_particle(Model m, ParticleIndex pi, Chain other) -> Chain
4791 Chain_setup_particle(_ParticleAdaptor decorator, Chain other) -> Chain
4793 return _IMP_atom.Chain_setup_particle(*args)
4795 def Chain_get_is_setup(*args):
4797 get_is_setup(_ParticleAdaptor p) -> bool
4798 Chain_get_is_setup(Model m, ParticleIndex pi) -> bool
4800 return _IMP_atom.Chain_get_is_setup(*args)
4802 def Chain_get_id_key():
4803 """Chain_get_id_key() -> StringKey"""
4804 return _IMP_atom.Chain_get_id_key()
4808 """get_chain(Hierarchy h) -> Chain"""
4809 return _IMP_atom.get_chain(h)
4812 """get_chain_id(Hierarchy h) -> std::string"""
4813 return _IMP_atom.get_chain_id(h)
4815 """Proxy of C++ IMP::atom::Charged class"""
4816 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4818 def __init__(self, *args):
4820 __init__(IMP::atom::Charged self) -> Charged
4821 __init__(IMP::atom::Charged self, Model m, ParticleIndex id) -> Charged
4822 __init__(IMP::atom::Charged self, _ParticleAdaptor d) -> Charged
4824 this = _IMP_atom.new_Charged(*args)
4826 self.this.append(this)
4830 def show(self, *args):
4832 show(Charged self, _ostream out)
4835 return _IMP_atom.Charged_show(self, *args)
4838 def setup_particle(*args):
4840 setup_particle(Model m, ParticleIndex pi, IMP::Float charge) -> Charged
4841 setup_particle(_ParticleAdaptor decorator, IMP::Float charge) -> Charged
4842 setup_particle(Model m, ParticleIndex pi, Vector3D v, IMP::Float charge) -> Charged
4843 setup_particle(_ParticleAdaptor decorator, Vector3D v, IMP::Float charge) -> Charged
4845 return _IMP_atom.Charged_setup_particle(*args)
4847 setup_particle = staticmethod(setup_particle)
4849 def get_charge(self):
4850 """get_charge(Charged self) -> IMP::Float"""
4851 return _IMP_atom.Charged_get_charge(self)
4854 def set_charge(self, t):
4855 """set_charge(Charged self, IMP::Float t)"""
4856 return _IMP_atom.Charged_set_charge(self, t)
4859 def get_is_setup(*args):
4861 get_is_setup(_ParticleAdaptor p) -> bool
4862 get_is_setup(Model m, ParticleIndex pi) -> bool
4864 return _IMP_atom.Charged_get_is_setup(*args)
4866 get_is_setup = staticmethod(get_is_setup)
4868 def get_charge_key():
4869 """get_charge_key() -> FloatKey"""
4870 return _IMP_atom.Charged_get_charge_key()
4872 get_charge_key = staticmethod(get_charge_key)
4874 def add_attribute(self, *args):
4876 add_attribute(Charged self, FloatKey k, IMP::Float v, bool opt)
4877 add_attribute(Charged self, FloatKey a0, IMP::Float a1)
4878 add_attribute(Charged self, IntKey a0, IMP::Int a1)
4879 add_attribute(Charged self, StringKey a0, IMP::String a1)
4880 add_attribute(Charged self, ParticleIndexKey a0, Particle a1)
4881 add_attribute(Charged self, ObjectKey a0, Object a1)
4883 return _IMP_atom.Charged_add_attribute(self, *args)
4886 def get_value(self, *args):
4888 get_value(Charged self, FloatKey a0) -> IMP::Float
4889 get_value(Charged self, IntKey a0) -> IMP::Int
4890 get_value(Charged self, StringKey a0) -> IMP::String
4891 get_value(Charged self, ParticleIndexKey a0) -> Particle
4892 get_value(Charged self, ObjectKey a0) -> Object
4894 return _IMP_atom.Charged_get_value(self, *args)
4897 def set_value(self, *args):
4899 set_value(Charged self, FloatKey a0, IMP::Float a1)
4900 set_value(Charged self, IntKey a0, IMP::Int a1)
4901 set_value(Charged self, StringKey a0, IMP::String a1)
4902 set_value(Charged self, ParticleIndexKey a0, Particle a1)
4903 set_value(Charged self, ObjectKey a0, Object a1)
4905 return _IMP_atom.Charged_set_value(self, *args)
4908 def remove_attribute(self, *args):
4910 remove_attribute(Charged self, FloatKey a0)
4911 remove_attribute(Charged self, IntKey a0)
4912 remove_attribute(Charged self, StringKey a0)
4913 remove_attribute(Charged self, ParticleIndexKey a0)
4914 remove_attribute(Charged self, ObjectKey a0)
4916 return _IMP_atom.Charged_remove_attribute(self, *args)
4919 def has_attribute(self, *args):
4921 has_attribute(Charged self, FloatKey a0) -> bool
4922 has_attribute(Charged self, IntKey a0) -> bool
4923 has_attribute(Charged self, StringKey a0) -> bool
4924 has_attribute(Charged self, ParticleIndexKey a0) -> bool
4925 has_attribute(Charged self, ObjectKey a0) -> bool
4927 return _IMP_atom.Charged_has_attribute(self, *args)
4930 def get_derivative(self, a0):
4931 """get_derivative(Charged self, FloatKey a0) -> double"""
4932 return _IMP_atom.Charged_get_derivative(self, a0)
4936 """get_name(Charged self) -> std::string"""
4937 return _IMP_atom.Charged_get_name(self)
4940 def clear_caches(self):
4941 """clear_caches(Charged self)"""
4942 return _IMP_atom.Charged_clear_caches(self)
4945 def set_name(self, a0):
4946 """set_name(Charged self, std::string a0)"""
4947 return _IMP_atom.Charged_set_name(self, a0)
4951 """set_check_level(Charged self, IMP::CheckLevel a0)"""
4952 return _IMP_atom.Charged_set_check_level(self, a0)
4955 def add_to_derivative(self, a0, a1, a2):
4956 """add_to_derivative(Charged self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
4957 return _IMP_atom.Charged_add_to_derivative(self, a0, a1, a2)
4960 def set_is_optimized(self, a0, a1):
4961 """set_is_optimized(Charged self, FloatKey a0, bool a1)"""
4962 return _IMP_atom.Charged_set_is_optimized(self, a0, a1)
4965 def get_is_optimized(self, a0):
4966 """get_is_optimized(Charged self, FloatKey a0) -> bool"""
4967 return _IMP_atom.Charged_get_is_optimized(self, a0)
4971 """get_check_level(Charged self) -> IMP::CheckLevel"""
4972 return _IMP_atom.Charged_get_check_level(self)
4975 def __eq__(self, *args):
4977 __eq__(Charged self, Charged o) -> bool
4978 __eq__(Charged self, Particle d) -> bool
4980 return _IMP_atom.Charged___eq__(self, *args)
4983 def __ne__(self, *args):
4985 __ne__(Charged self, Charged o) -> bool
4986 __ne__(Charged self, Particle d) -> bool
4988 return _IMP_atom.Charged___ne__(self, *args)
4991 def __le__(self, *args):
4993 __le__(Charged self, Charged o) -> bool
4994 __le__(Charged self, Particle d) -> bool
4996 return _IMP_atom.Charged___le__(self, *args)
4999 def __lt__(self, *args):
5001 __lt__(Charged self, Charged o) -> bool
5002 __lt__(Charged self, Particle d) -> bool
5004 return _IMP_atom.Charged___lt__(self, *args)
5007 def __ge__(self, *args):
5009 __ge__(Charged self, Charged o) -> bool
5010 __ge__(Charged self, Particle d) -> bool
5012 return _IMP_atom.Charged___ge__(self, *args)
5015 def __gt__(self, *args):
5017 __gt__(Charged self, Charged o) -> bool
5018 __gt__(Charged self, Particle d) -> bool
5020 return _IMP_atom.Charged___gt__(self, *args)
5024 """__hash__(Charged self) -> std::size_t"""
5025 return _IMP_atom.Charged___hash__(self)
5029 """__str__(Charged self) -> std::string"""
5030 return _IMP_atom.Charged___str__(self)
5034 """__repr__(Charged self) -> std::string"""
5035 return _IMP_atom.Charged___repr__(self)
5037 __swig_destroy__ = _IMP_atom.delete_Charged
5038 __del__ =
lambda self:
None
5039 Charged_swigregister = _IMP_atom.Charged_swigregister
5040 Charged_swigregister(Charged)
5042 def Charged_setup_particle(*args):
5044 setup_particle(Model m, ParticleIndex pi, IMP::Float charge) -> Charged
5045 setup_particle(_ParticleAdaptor decorator, IMP::Float charge) -> Charged
5046 setup_particle(Model m, ParticleIndex pi, Vector3D v, IMP::Float charge) -> Charged
5047 Charged_setup_particle(_ParticleAdaptor decorator, Vector3D v, IMP::Float charge) -> Charged
5049 return _IMP_atom.Charged_setup_particle(*args)
5051 def Charged_get_is_setup(*args):
5053 get_is_setup(_ParticleAdaptor p) -> bool
5054 Charged_get_is_setup(Model m, ParticleIndex pi) -> bool
5056 return _IMP_atom.Charged_get_is_setup(*args)
5058 def Charged_get_charge_key():
5059 """Charged_get_charge_key() -> FloatKey"""
5060 return _IMP_atom.Charged_get_charge_key()
5063 """Proxy of C++ IMP::atom::CoulombPairScore class"""
5064 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5066 def __init__(self, f):
5067 """__init__(IMP::atom::CoulombPairScore self, SmoothingFunction f) -> CoulombPairScore"""
5068 this = _IMP_atom.new_CoulombPairScore(f)
5070 self.this.append(this)
5074 def set_relative_dielectric(self, relative_dielectric):
5075 """set_relative_dielectric(CoulombPairScore self, double relative_dielectric)"""
5076 return _IMP_atom.CoulombPairScore_set_relative_dielectric(self, relative_dielectric)
5079 def get_relative_dielectric(self):
5080 """get_relative_dielectric(CoulombPairScore self) -> double"""
5081 return _IMP_atom.CoulombPairScore_get_relative_dielectric(self)
5084 def do_get_inputs(self, m, pis):
5085 """do_get_inputs(CoulombPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5086 return _IMP_atom.CoulombPairScore_do_get_inputs(self, m, pis)
5089 def get_version_info(self):
5090 """get_version_info(CoulombPairScore self) -> VersionInfo"""
5091 return _IMP_atom.CoulombPairScore_get_version_info(self)
5095 """__str__(CoulombPairScore self) -> std::string"""
5096 return _IMP_atom.CoulombPairScore___str__(self)
5100 """__repr__(CoulombPairScore self) -> std::string"""
5101 return _IMP_atom.CoulombPairScore___repr__(self)
5104 return _object_cast_to_CoulombPairScore(o)
5105 get_from = staticmethod(get_from)
5107 CoulombPairScore_swigregister = _IMP_atom.CoulombPairScore_swigregister
5108 CoulombPairScore_swigregister(CoulombPairScore)
5110 class Domain(Hierarchy):
5111 """Proxy of C++ IMP::atom::Domain class"""
5112 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5114 def set_index_range(self, ir):
5115 """set_index_range(Domain self, IMP::IntRange ir)"""
5116 return _IMP_atom.Domain_set_index_range(self, ir)
5119 def get_index_range(self):
5120 """get_index_range(Domain self) -> IMP::IntRange"""
5121 return _IMP_atom.Domain_get_index_range(self)
5124 def __init__(self, *args):
5126 __init__(IMP::atom::Domain self) -> Domain
5127 __init__(IMP::atom::Domain self, Model m, ParticleIndex id) -> Domain
5128 __init__(IMP::atom::Domain self, _ParticleAdaptor d) -> Domain
5130 this = _IMP_atom.new_Domain(*args)
5132 self.this.append(this)
5136 def get_is_setup(*args):
5138 get_is_setup(Model m, ParticleIndex pi) -> bool
5139 get_is_setup(_ParticleAdaptor p) -> bool
5141 return _IMP_atom.Domain_get_is_setup(*args)
5143 get_is_setup = staticmethod(get_is_setup)
5145 def show(self, *args):
5147 show(Domain self, _ostream out)
5150 return _IMP_atom.Domain_show(self, *args)
5153 def setup_particle(*args):
5155 setup_particle(Model m, ParticleIndex pi, Domain other) -> Domain
5156 setup_particle(_ParticleAdaptor decorator, Domain other) -> Domain
5157 setup_particle(Model m, ParticleIndex pi, IMP::IntRange residues) -> Domain
5158 setup_particle(_ParticleAdaptor decorator, IMP::IntRange residues) -> Domain
5160 return _IMP_atom.Domain_setup_particle(*args)
5162 setup_particle = staticmethod(setup_particle)
5164 def add_attribute(self, *args):
5166 add_attribute(Domain self, FloatKey k, IMP::Float v, bool opt)
5167 add_attribute(Domain self, FloatKey a0, IMP::Float a1)
5168 add_attribute(Domain self, IntKey a0, IMP::Int a1)
5169 add_attribute(Domain self, StringKey a0, IMP::String a1)
5170 add_attribute(Domain self, ParticleIndexKey a0, Particle a1)
5171 add_attribute(Domain self, ObjectKey a0, Object a1)
5173 return _IMP_atom.Domain_add_attribute(self, *args)
5176 def get_value(self, *args):
5178 get_value(Domain self, FloatKey a0) -> IMP::Float
5179 get_value(Domain self, IntKey a0) -> IMP::Int
5180 get_value(Domain self, StringKey a0) -> IMP::String
5181 get_value(Domain self, ParticleIndexKey a0) -> Particle
5182 get_value(Domain self, ObjectKey a0) -> Object
5184 return _IMP_atom.Domain_get_value(self, *args)
5187 def set_value(self, *args):
5189 set_value(Domain self, FloatKey a0, IMP::Float a1)
5190 set_value(Domain self, IntKey a0, IMP::Int a1)
5191 set_value(Domain self, StringKey a0, IMP::String a1)
5192 set_value(Domain self, ParticleIndexKey a0, Particle a1)
5193 set_value(Domain self, ObjectKey a0, Object a1)
5195 return _IMP_atom.Domain_set_value(self, *args)
5198 def remove_attribute(self, *args):
5200 remove_attribute(Domain self, FloatKey a0)
5201 remove_attribute(Domain self, IntKey a0)
5202 remove_attribute(Domain self, StringKey a0)
5203 remove_attribute(Domain self, ParticleIndexKey a0)
5204 remove_attribute(Domain self, ObjectKey a0)
5206 return _IMP_atom.Domain_remove_attribute(self, *args)
5209 def has_attribute(self, *args):
5211 has_attribute(Domain self, FloatKey a0) -> bool
5212 has_attribute(Domain self, IntKey a0) -> bool
5213 has_attribute(Domain self, StringKey a0) -> bool
5214 has_attribute(Domain self, ParticleIndexKey a0) -> bool
5215 has_attribute(Domain self, ObjectKey a0) -> bool
5217 return _IMP_atom.Domain_has_attribute(self, *args)
5220 def get_derivative(self, a0):
5221 """get_derivative(Domain self, FloatKey a0) -> double"""
5222 return _IMP_atom.Domain_get_derivative(self, a0)
5226 """get_name(Domain self) -> std::string"""
5227 return _IMP_atom.Domain_get_name(self)
5230 def clear_caches(self):
5231 """clear_caches(Domain self)"""
5232 return _IMP_atom.Domain_clear_caches(self)
5235 def set_name(self, a0):
5236 """set_name(Domain self, std::string a0)"""
5237 return _IMP_atom.Domain_set_name(self, a0)
5241 """set_check_level(Domain self, IMP::CheckLevel a0)"""
5242 return _IMP_atom.Domain_set_check_level(self, a0)
5245 def add_to_derivative(self, a0, a1, a2):
5246 """add_to_derivative(Domain self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
5247 return _IMP_atom.Domain_add_to_derivative(self, a0, a1, a2)
5250 def set_is_optimized(self, a0, a1):
5251 """set_is_optimized(Domain self, FloatKey a0, bool a1)"""
5252 return _IMP_atom.Domain_set_is_optimized(self, a0, a1)
5255 def get_is_optimized(self, a0):
5256 """get_is_optimized(Domain self, FloatKey a0) -> bool"""
5257 return _IMP_atom.Domain_get_is_optimized(self, a0)
5261 """get_check_level(Domain self) -> IMP::CheckLevel"""
5262 return _IMP_atom.Domain_get_check_level(self)
5265 def __eq__(self, *args):
5267 __eq__(Domain self, Domain o) -> bool
5268 __eq__(Domain self, Particle d) -> bool
5270 return _IMP_atom.Domain___eq__(self, *args)
5273 def __ne__(self, *args):
5275 __ne__(Domain self, Domain o) -> bool
5276 __ne__(Domain self, Particle d) -> bool
5278 return _IMP_atom.Domain___ne__(self, *args)
5281 def __le__(self, *args):
5283 __le__(Domain self, Domain o) -> bool
5284 __le__(Domain self, Particle d) -> bool
5286 return _IMP_atom.Domain___le__(self, *args)
5289 def __lt__(self, *args):
5291 __lt__(Domain self, Domain o) -> bool
5292 __lt__(Domain self, Particle d) -> bool
5294 return _IMP_atom.Domain___lt__(self, *args)
5297 def __ge__(self, *args):
5299 __ge__(Domain self, Domain o) -> bool
5300 __ge__(Domain self, Particle d) -> bool
5302 return _IMP_atom.Domain___ge__(self, *args)
5305 def __gt__(self, *args):
5307 __gt__(Domain self, Domain o) -> bool
5308 __gt__(Domain self, Particle d) -> bool
5310 return _IMP_atom.Domain___gt__(self, *args)
5314 """__hash__(Domain self) -> std::size_t"""
5315 return _IMP_atom.Domain___hash__(self)
5319 """__str__(Domain self) -> std::string"""
5320 return _IMP_atom.Domain___str__(self)
5324 """__repr__(Domain self) -> std::string"""
5325 return _IMP_atom.Domain___repr__(self)
5327 __swig_destroy__ = _IMP_atom.delete_Domain
5328 __del__ =
lambda self:
None
5329 Domain_swigregister = _IMP_atom.Domain_swigregister
5330 Domain_swigregister(Domain)
5332 def Domain_get_is_setup(*args):
5334 get_is_setup(Model m, ParticleIndex pi) -> bool
5335 Domain_get_is_setup(_ParticleAdaptor p) -> bool
5337 return _IMP_atom.Domain_get_is_setup(*args)
5339 def Domain_setup_particle(*args):
5341 setup_particle(Model m, ParticleIndex pi, Domain other) -> Domain
5342 setup_particle(_ParticleAdaptor decorator, Domain other) -> Domain
5343 setup_particle(Model m, ParticleIndex pi, IMP::IntRange residues) -> Domain
5344 Domain_setup_particle(_ParticleAdaptor decorator, IMP::IntRange residues) -> Domain
5346 return _IMP_atom.Domain_setup_particle(*args)
5349 """Proxy of C++ IMP::atom::LennardJones class"""
5350 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5352 def __init__(self, *args):
5354 __init__(IMP::atom::LennardJones self) -> LennardJones
5355 __init__(IMP::atom::LennardJones self, Model m, ParticleIndex id) -> LennardJones
5356 __init__(IMP::atom::LennardJones self, _ParticleAdaptor d) -> LennardJones
5358 this = _IMP_atom.new_LennardJones(*args)
5360 self.this.append(this)
5364 def show(self, *args):
5366 show(LennardJones self, _ostream out)
5367 show(LennardJones self)
5369 return _IMP_atom.LennardJones_show(self, *args)
5372 def setup_particle(*args):
5374 setup_particle(Model m, ParticleIndex pi) -> LennardJones
5375 setup_particle(_ParticleAdaptor decorator) -> LennardJones
5376 setup_particle(Model m, ParticleIndex pi, IMP::Float well_depth) -> LennardJones
5377 setup_particle(_ParticleAdaptor decorator, IMP::Float well_depth) -> LennardJones
5379 return _IMP_atom.LennardJones_setup_particle(*args)
5381 setup_particle = staticmethod(setup_particle)
5383 def get_well_depth(self):
5384 """get_well_depth(LennardJones self) -> IMP::Float"""
5385 return _IMP_atom.LennardJones_get_well_depth(self)
5388 def set_well_depth(self, well_depth):
5389 """set_well_depth(LennardJones self, IMP::Float well_depth)"""
5390 return _IMP_atom.LennardJones_set_well_depth(self, well_depth)
5393 def get_is_setup(*args):
5395 get_is_setup(_ParticleAdaptor p) -> bool
5396 get_is_setup(Model m, ParticleIndex pi) -> bool
5398 return _IMP_atom.LennardJones_get_is_setup(*args)
5400 get_is_setup = staticmethod(get_is_setup)
5402 def get_well_depth_key():
5403 """get_well_depth_key() -> FloatKey"""
5404 return _IMP_atom.LennardJones_get_well_depth_key()
5406 get_well_depth_key = staticmethod(get_well_depth_key)
5408 def add_attribute(self, *args):
5410 add_attribute(LennardJones self, FloatKey k, IMP::Float v, bool opt)
5411 add_attribute(LennardJones self, FloatKey a0, IMP::Float a1)
5412 add_attribute(LennardJones self, IntKey a0, IMP::Int a1)
5413 add_attribute(LennardJones self, StringKey a0, IMP::String a1)
5414 add_attribute(LennardJones self, ParticleIndexKey a0, Particle a1)
5415 add_attribute(LennardJones self, ObjectKey a0, Object a1)
5417 return _IMP_atom.LennardJones_add_attribute(self, *args)
5420 def get_value(self, *args):
5422 get_value(LennardJones self, FloatKey a0) -> IMP::Float
5423 get_value(LennardJones self, IntKey a0) -> IMP::Int
5424 get_value(LennardJones self, StringKey a0) -> IMP::String
5425 get_value(LennardJones self, ParticleIndexKey a0) -> Particle
5426 get_value(LennardJones self, ObjectKey a0) -> Object
5428 return _IMP_atom.LennardJones_get_value(self, *args)
5431 def set_value(self, *args):
5433 set_value(LennardJones self, FloatKey a0, IMP::Float a1)
5434 set_value(LennardJones self, IntKey a0, IMP::Int a1)
5435 set_value(LennardJones self, StringKey a0, IMP::String a1)
5436 set_value(LennardJones self, ParticleIndexKey a0, Particle a1)
5437 set_value(LennardJones self, ObjectKey a0, Object a1)
5439 return _IMP_atom.LennardJones_set_value(self, *args)
5442 def remove_attribute(self, *args):
5444 remove_attribute(LennardJones self, FloatKey a0)
5445 remove_attribute(LennardJones self, IntKey a0)
5446 remove_attribute(LennardJones self, StringKey a0)
5447 remove_attribute(LennardJones self, ParticleIndexKey a0)
5448 remove_attribute(LennardJones self, ObjectKey a0)
5450 return _IMP_atom.LennardJones_remove_attribute(self, *args)
5453 def has_attribute(self, *args):
5455 has_attribute(LennardJones self, FloatKey a0) -> bool
5456 has_attribute(LennardJones self, IntKey a0) -> bool
5457 has_attribute(LennardJones self, StringKey a0) -> bool
5458 has_attribute(LennardJones self, ParticleIndexKey a0) -> bool
5459 has_attribute(LennardJones self, ObjectKey a0) -> bool
5461 return _IMP_atom.LennardJones_has_attribute(self, *args)
5464 def get_derivative(self, a0):
5465 """get_derivative(LennardJones self, FloatKey a0) -> double"""
5466 return _IMP_atom.LennardJones_get_derivative(self, a0)
5470 """get_name(LennardJones self) -> std::string"""
5471 return _IMP_atom.LennardJones_get_name(self)
5474 def clear_caches(self):
5475 """clear_caches(LennardJones self)"""
5476 return _IMP_atom.LennardJones_clear_caches(self)
5479 def set_name(self, a0):
5480 """set_name(LennardJones self, std::string a0)"""
5481 return _IMP_atom.LennardJones_set_name(self, a0)
5485 """set_check_level(LennardJones self, IMP::CheckLevel a0)"""
5486 return _IMP_atom.LennardJones_set_check_level(self, a0)
5489 def add_to_derivative(self, a0, a1, a2):
5490 """add_to_derivative(LennardJones self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
5491 return _IMP_atom.LennardJones_add_to_derivative(self, a0, a1, a2)
5494 def set_is_optimized(self, a0, a1):
5495 """set_is_optimized(LennardJones self, FloatKey a0, bool a1)"""
5496 return _IMP_atom.LennardJones_set_is_optimized(self, a0, a1)
5499 def get_is_optimized(self, a0):
5500 """get_is_optimized(LennardJones self, FloatKey a0) -> bool"""
5501 return _IMP_atom.LennardJones_get_is_optimized(self, a0)
5505 """get_check_level(LennardJones self) -> IMP::CheckLevel"""
5506 return _IMP_atom.LennardJones_get_check_level(self)
5509 def __eq__(self, *args):
5511 __eq__(LennardJones self, LennardJones o) -> bool
5512 __eq__(LennardJones self, Particle d) -> bool
5514 return _IMP_atom.LennardJones___eq__(self, *args)
5517 def __ne__(self, *args):
5519 __ne__(LennardJones self, LennardJones o) -> bool
5520 __ne__(LennardJones self, Particle d) -> bool
5522 return _IMP_atom.LennardJones___ne__(self, *args)
5525 def __le__(self, *args):
5527 __le__(LennardJones self, LennardJones o) -> bool
5528 __le__(LennardJones self, Particle d) -> bool
5530 return _IMP_atom.LennardJones___le__(self, *args)
5533 def __lt__(self, *args):
5535 __lt__(LennardJones self, LennardJones o) -> bool
5536 __lt__(LennardJones self, Particle d) -> bool
5538 return _IMP_atom.LennardJones___lt__(self, *args)
5541 def __ge__(self, *args):
5543 __ge__(LennardJones self, LennardJones o) -> bool
5544 __ge__(LennardJones self, Particle d) -> bool
5546 return _IMP_atom.LennardJones___ge__(self, *args)
5549 def __gt__(self, *args):
5551 __gt__(LennardJones self, LennardJones o) -> bool
5552 __gt__(LennardJones self, Particle d) -> bool
5554 return _IMP_atom.LennardJones___gt__(self, *args)
5558 """__hash__(LennardJones self) -> std::size_t"""
5559 return _IMP_atom.LennardJones___hash__(self)
5563 """__str__(LennardJones self) -> std::string"""
5564 return _IMP_atom.LennardJones___str__(self)
5568 """__repr__(LennardJones self) -> std::string"""
5569 return _IMP_atom.LennardJones___repr__(self)
5571 __swig_destroy__ = _IMP_atom.delete_LennardJones
5572 __del__ =
lambda self:
None
5573 LennardJones_swigregister = _IMP_atom.LennardJones_swigregister
5574 LennardJones_swigregister(LennardJones)
5576 def LennardJones_setup_particle(*args):
5578 setup_particle(Model m, ParticleIndex pi) -> LennardJones
5579 setup_particle(_ParticleAdaptor decorator) -> LennardJones
5580 setup_particle(Model m, ParticleIndex pi, IMP::Float well_depth) -> LennardJones
5581 LennardJones_setup_particle(_ParticleAdaptor decorator, IMP::Float well_depth) -> LennardJones
5583 return _IMP_atom.LennardJones_setup_particle(*args)
5585 def LennardJones_get_is_setup(*args):
5587 get_is_setup(_ParticleAdaptor p) -> bool
5588 LennardJones_get_is_setup(Model m, ParticleIndex pi) -> bool
5590 return _IMP_atom.LennardJones_get_is_setup(*args)
5592 def LennardJones_get_well_depth_key():
5593 """LennardJones_get_well_depth_key() -> FloatKey"""
5594 return _IMP_atom.LennardJones_get_well_depth_key()
5597 """Proxy of C++ IMP::atom::LennardJonesPairScore class"""
5598 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5600 def __init__(self, f):
5601 """__init__(IMP::atom::LennardJonesPairScore self, SmoothingFunction f) -> LennardJonesPairScore"""
5602 this = _IMP_atom.new_LennardJonesPairScore(f)
5604 self.this.append(this)
5608 def set_repulsive_weight(self, repulsive_weight):
5609 """set_repulsive_weight(LennardJonesPairScore self, double repulsive_weight)"""
5610 return _IMP_atom.LennardJonesPairScore_set_repulsive_weight(self, repulsive_weight)
5613 def get_repulsive_weight(self):
5614 """get_repulsive_weight(LennardJonesPairScore self) -> double"""
5615 return _IMP_atom.LennardJonesPairScore_get_repulsive_weight(self)
5618 def set_attractive_weight(self, attractive_weight):
5619 """set_attractive_weight(LennardJonesPairScore self, double attractive_weight)"""
5620 return _IMP_atom.LennardJonesPairScore_set_attractive_weight(self, attractive_weight)
5623 def get_attractive_weight(self):
5624 """get_attractive_weight(LennardJonesPairScore self) -> double"""
5625 return _IMP_atom.LennardJonesPairScore_get_attractive_weight(self)
5628 def do_get_inputs(self, m, pis):
5629 """do_get_inputs(LennardJonesPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5630 return _IMP_atom.LennardJonesPairScore_do_get_inputs(self, m, pis)
5633 def get_version_info(self):
5634 """get_version_info(LennardJonesPairScore self) -> VersionInfo"""
5635 return _IMP_atom.LennardJonesPairScore_get_version_info(self)
5639 """__str__(LennardJonesPairScore self) -> std::string"""
5640 return _IMP_atom.LennardJonesPairScore___str__(self)
5644 """__repr__(LennardJonesPairScore self) -> std::string"""
5645 return _IMP_atom.LennardJonesPairScore___repr__(self)
5648 return _object_cast_to_LennardJonesPairScore(o)
5649 get_from = staticmethod(get_from)
5651 LennardJonesPairScore_swigregister = _IMP_atom.LennardJonesPairScore_swigregister
5652 LennardJonesPairScore_swigregister(LennardJonesPairScore)
5655 """Proxy of C++ IMP::atom::LinearVelocity class"""
5656 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5658 def get_velocity_key(i):
5659 """get_velocity_key(unsigned int i) -> FloatKey"""
5660 return _IMP_atom.LinearVelocity_get_velocity_key(i)
5662 get_velocity_key = staticmethod(get_velocity_key)
5664 def __init__(self, *args):
5666 __init__(IMP::atom::LinearVelocity self) -> LinearVelocity
5667 __init__(IMP::atom::LinearVelocity self, Model m, ParticleIndex id) -> LinearVelocity
5668 __init__(IMP::atom::LinearVelocity self, _ParticleAdaptor d) -> LinearVelocity
5670 this = _IMP_atom.new_LinearVelocity(*args)
5672 self.this.append(this)
5676 def get_is_setup(*args):
5678 get_is_setup(Model m, ParticleIndex pi) -> bool
5679 get_is_setup(_ParticleAdaptor p) -> bool
5681 return _IMP_atom.LinearVelocity_get_is_setup(*args)
5683 get_is_setup = staticmethod(get_is_setup)
5685 def show(self, *args):
5687 show(LinearVelocity self, _ostream out)
5688 show(LinearVelocity self)
5690 return _IMP_atom.LinearVelocity_show(self, *args)
5693 def setup_particle(*args):
5695 setup_particle(Model m, ParticleIndex pi) -> LinearVelocity
5696 setup_particle(_ParticleAdaptor decorator) -> LinearVelocity
5697 setup_particle(Model m, ParticleIndex pi, Vector3D v) -> LinearVelocity
5698 setup_particle(_ParticleAdaptor decorator, Vector3D v) -> LinearVelocity
5700 return _IMP_atom.LinearVelocity_setup_particle(*args)
5702 setup_particle = staticmethod(setup_particle)
5704 def set_velocity(self, v):
5705 """set_velocity(LinearVelocity self, Vector3D v)"""
5706 return _IMP_atom.LinearVelocity_set_velocity(self, v)
5709 def get_velocity(self):
5710 """get_velocity(LinearVelocity self) -> Vector3D"""
5711 return _IMP_atom.LinearVelocity_get_velocity(self)
5714 def add_attribute(self, *args):
5716 add_attribute(LinearVelocity self, FloatKey k, IMP::Float v, bool opt)
5717 add_attribute(LinearVelocity self, FloatKey a0, IMP::Float a1)
5718 add_attribute(LinearVelocity self, IntKey a0, IMP::Int a1)
5719 add_attribute(LinearVelocity self, StringKey a0, IMP::String a1)
5720 add_attribute(LinearVelocity self, ParticleIndexKey a0, Particle a1)
5721 add_attribute(LinearVelocity self, ObjectKey a0, Object a1)
5723 return _IMP_atom.LinearVelocity_add_attribute(self, *args)
5726 def get_value(self, *args):
5728 get_value(LinearVelocity self, FloatKey a0) -> IMP::Float
5729 get_value(LinearVelocity self, IntKey a0) -> IMP::Int
5730 get_value(LinearVelocity self, StringKey a0) -> IMP::String
5731 get_value(LinearVelocity self, ParticleIndexKey a0) -> Particle
5732 get_value(LinearVelocity self, ObjectKey a0) -> Object
5734 return _IMP_atom.LinearVelocity_get_value(self, *args)
5737 def set_value(self, *args):
5739 set_value(LinearVelocity self, FloatKey a0, IMP::Float a1)
5740 set_value(LinearVelocity self, IntKey a0, IMP::Int a1)
5741 set_value(LinearVelocity self, StringKey a0, IMP::String a1)
5742 set_value(LinearVelocity self, ParticleIndexKey a0, Particle a1)
5743 set_value(LinearVelocity self, ObjectKey a0, Object a1)
5745 return _IMP_atom.LinearVelocity_set_value(self, *args)
5748 def remove_attribute(self, *args):
5750 remove_attribute(LinearVelocity self, FloatKey a0)
5751 remove_attribute(LinearVelocity self, IntKey a0)
5752 remove_attribute(LinearVelocity self, StringKey a0)
5753 remove_attribute(LinearVelocity self, ParticleIndexKey a0)
5754 remove_attribute(LinearVelocity self, ObjectKey a0)
5756 return _IMP_atom.LinearVelocity_remove_attribute(self, *args)
5759 def has_attribute(self, *args):
5761 has_attribute(LinearVelocity self, FloatKey a0) -> bool
5762 has_attribute(LinearVelocity self, IntKey a0) -> bool
5763 has_attribute(LinearVelocity self, StringKey a0) -> bool
5764 has_attribute(LinearVelocity self, ParticleIndexKey a0) -> bool
5765 has_attribute(LinearVelocity self, ObjectKey a0) -> bool
5767 return _IMP_atom.LinearVelocity_has_attribute(self, *args)
5770 def get_derivative(self, a0):
5771 """get_derivative(LinearVelocity self, FloatKey a0) -> double"""
5772 return _IMP_atom.LinearVelocity_get_derivative(self, a0)
5776 """get_name(LinearVelocity self) -> std::string"""
5777 return _IMP_atom.LinearVelocity_get_name(self)
5780 def clear_caches(self):
5781 """clear_caches(LinearVelocity self)"""
5782 return _IMP_atom.LinearVelocity_clear_caches(self)
5785 def set_name(self, a0):
5786 """set_name(LinearVelocity self, std::string a0)"""
5787 return _IMP_atom.LinearVelocity_set_name(self, a0)
5791 """set_check_level(LinearVelocity self, IMP::CheckLevel a0)"""
5792 return _IMP_atom.LinearVelocity_set_check_level(self, a0)
5795 def add_to_derivative(self, a0, a1, a2):
5796 """add_to_derivative(LinearVelocity self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
5797 return _IMP_atom.LinearVelocity_add_to_derivative(self, a0, a1, a2)
5800 def set_is_optimized(self, a0, a1):
5801 """set_is_optimized(LinearVelocity self, FloatKey a0, bool a1)"""
5802 return _IMP_atom.LinearVelocity_set_is_optimized(self, a0, a1)
5805 def get_is_optimized(self, a0):
5806 """get_is_optimized(LinearVelocity self, FloatKey a0) -> bool"""
5807 return _IMP_atom.LinearVelocity_get_is_optimized(self, a0)
5811 """get_check_level(LinearVelocity self) -> IMP::CheckLevel"""
5812 return _IMP_atom.LinearVelocity_get_check_level(self)
5815 def __eq__(self, *args):
5817 __eq__(LinearVelocity self, LinearVelocity o) -> bool
5818 __eq__(LinearVelocity self, Particle d) -> bool
5820 return _IMP_atom.LinearVelocity___eq__(self, *args)
5823 def __ne__(self, *args):
5825 __ne__(LinearVelocity self, LinearVelocity o) -> bool
5826 __ne__(LinearVelocity self, Particle d) -> bool
5828 return _IMP_atom.LinearVelocity___ne__(self, *args)
5831 def __le__(self, *args):
5833 __le__(LinearVelocity self, LinearVelocity o) -> bool
5834 __le__(LinearVelocity self, Particle d) -> bool
5836 return _IMP_atom.LinearVelocity___le__(self, *args)
5839 def __lt__(self, *args):
5841 __lt__(LinearVelocity self, LinearVelocity o) -> bool
5842 __lt__(LinearVelocity self, Particle d) -> bool
5844 return _IMP_atom.LinearVelocity___lt__(self, *args)
5847 def __ge__(self, *args):
5849 __ge__(LinearVelocity self, LinearVelocity o) -> bool
5850 __ge__(LinearVelocity self, Particle d) -> bool
5852 return _IMP_atom.LinearVelocity___ge__(self, *args)
5855 def __gt__(self, *args):
5857 __gt__(LinearVelocity self, LinearVelocity o) -> bool
5858 __gt__(LinearVelocity self, Particle d) -> bool
5860 return _IMP_atom.LinearVelocity___gt__(self, *args)
5864 """__hash__(LinearVelocity self) -> std::size_t"""
5865 return _IMP_atom.LinearVelocity___hash__(self)
5869 """__str__(LinearVelocity self) -> std::string"""
5870 return _IMP_atom.LinearVelocity___str__(self)
5874 """__repr__(LinearVelocity self) -> std::string"""
5875 return _IMP_atom.LinearVelocity___repr__(self)
5877 __swig_destroy__ = _IMP_atom.delete_LinearVelocity
5878 __del__ =
lambda self:
None
5879 LinearVelocity_swigregister = _IMP_atom.LinearVelocity_swigregister
5880 LinearVelocity_swigregister(LinearVelocity)
5882 def LinearVelocity_get_velocity_key(i):
5883 """LinearVelocity_get_velocity_key(unsigned int i) -> FloatKey"""
5884 return _IMP_atom.LinearVelocity_get_velocity_key(i)
5886 def LinearVelocity_get_is_setup(*args):
5888 get_is_setup(Model m, ParticleIndex pi) -> bool
5889 LinearVelocity_get_is_setup(_ParticleAdaptor p) -> bool
5891 return _IMP_atom.LinearVelocity_get_is_setup(*args)
5893 def LinearVelocity_setup_particle(*args):
5895 setup_particle(Model m, ParticleIndex pi) -> LinearVelocity
5896 setup_particle(_ParticleAdaptor decorator) -> LinearVelocity
5897 setup_particle(Model m, ParticleIndex pi, Vector3D v) -> LinearVelocity
5898 LinearVelocity_setup_particle(_ParticleAdaptor decorator, Vector3D v) -> LinearVelocity
5900 return _IMP_atom.LinearVelocity_setup_particle(*args)
5903 """Proxy of C++ IMP::atom::AngularVelocity class"""
5904 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5906 def get_velocity_key(i):
5907 """get_velocity_key(unsigned int i) -> FloatKey"""
5908 return _IMP_atom.AngularVelocity_get_velocity_key(i)
5910 get_velocity_key = staticmethod(get_velocity_key)
5912 def __init__(self, *args):
5914 __init__(IMP::atom::AngularVelocity self) -> AngularVelocity
5915 __init__(IMP::atom::AngularVelocity self, Model m, ParticleIndex id) -> AngularVelocity
5916 __init__(IMP::atom::AngularVelocity self, _ParticleAdaptor d) -> AngularVelocity
5918 this = _IMP_atom.new_AngularVelocity(*args)
5920 self.this.append(this)
5924 def get_is_setup(*args):
5926 get_is_setup(Model m, ParticleIndex pi) -> bool
5927 get_is_setup(_ParticleAdaptor p) -> bool
5929 return _IMP_atom.AngularVelocity_get_is_setup(*args)
5931 get_is_setup = staticmethod(get_is_setup)
5933 def show(self, *args):
5935 show(AngularVelocity self, _ostream out)
5936 show(AngularVelocity self)
5938 return _IMP_atom.AngularVelocity_show(self, *args)
5941 def setup_particle(*args):
5943 setup_particle(Model m, ParticleIndex pi) -> AngularVelocity
5944 setup_particle(_ParticleAdaptor decorator) -> AngularVelocity
5945 setup_particle(Model m, ParticleIndex pi, Vector4D v) -> AngularVelocity
5946 setup_particle(_ParticleAdaptor decorator, Vector4D v) -> AngularVelocity
5948 return _IMP_atom.AngularVelocity_setup_particle(*args)
5950 setup_particle = staticmethod(setup_particle)
5952 def set_velocity(self, v):
5953 """set_velocity(AngularVelocity self, Vector4D v)"""
5954 return _IMP_atom.AngularVelocity_set_velocity(self, v)
5957 def get_velocity(self):
5958 """get_velocity(AngularVelocity self) -> Vector4D"""
5959 return _IMP_atom.AngularVelocity_get_velocity(self)
5962 def add_attribute(self, *args):
5964 add_attribute(AngularVelocity self, FloatKey k, IMP::Float v, bool opt)
5965 add_attribute(AngularVelocity self, FloatKey a0, IMP::Float a1)
5966 add_attribute(AngularVelocity self, IntKey a0, IMP::Int a1)
5967 add_attribute(AngularVelocity self, StringKey a0, IMP::String a1)
5968 add_attribute(AngularVelocity self, ParticleIndexKey a0, Particle a1)
5969 add_attribute(AngularVelocity self, ObjectKey a0, Object a1)
5971 return _IMP_atom.AngularVelocity_add_attribute(self, *args)
5974 def get_value(self, *args):
5976 get_value(AngularVelocity self, FloatKey a0) -> IMP::Float
5977 get_value(AngularVelocity self, IntKey a0) -> IMP::Int
5978 get_value(AngularVelocity self, StringKey a0) -> IMP::String
5979 get_value(AngularVelocity self, ParticleIndexKey a0) -> Particle
5980 get_value(AngularVelocity self, ObjectKey a0) -> Object
5982 return _IMP_atom.AngularVelocity_get_value(self, *args)
5985 def set_value(self, *args):
5987 set_value(AngularVelocity self, FloatKey a0, IMP::Float a1)
5988 set_value(AngularVelocity self, IntKey a0, IMP::Int a1)
5989 set_value(AngularVelocity self, StringKey a0, IMP::String a1)
5990 set_value(AngularVelocity self, ParticleIndexKey a0, Particle a1)
5991 set_value(AngularVelocity self, ObjectKey a0, Object a1)
5993 return _IMP_atom.AngularVelocity_set_value(self, *args)
5996 def remove_attribute(self, *args):
5998 remove_attribute(AngularVelocity self, FloatKey a0)
5999 remove_attribute(AngularVelocity self, IntKey a0)
6000 remove_attribute(AngularVelocity self, StringKey a0)
6001 remove_attribute(AngularVelocity self, ParticleIndexKey a0)
6002 remove_attribute(AngularVelocity self, ObjectKey a0)
6004 return _IMP_atom.AngularVelocity_remove_attribute(self, *args)
6007 def has_attribute(self, *args):
6009 has_attribute(AngularVelocity self, FloatKey a0) -> bool
6010 has_attribute(AngularVelocity self, IntKey a0) -> bool
6011 has_attribute(AngularVelocity self, StringKey a0) -> bool
6012 has_attribute(AngularVelocity self, ParticleIndexKey a0) -> bool
6013 has_attribute(AngularVelocity self, ObjectKey a0) -> bool
6015 return _IMP_atom.AngularVelocity_has_attribute(self, *args)
6018 def get_derivative(self, a0):
6019 """get_derivative(AngularVelocity self, FloatKey a0) -> double"""
6020 return _IMP_atom.AngularVelocity_get_derivative(self, a0)
6024 """get_name(AngularVelocity self) -> std::string"""
6025 return _IMP_atom.AngularVelocity_get_name(self)
6028 def clear_caches(self):
6029 """clear_caches(AngularVelocity self)"""
6030 return _IMP_atom.AngularVelocity_clear_caches(self)
6033 def set_name(self, a0):
6034 """set_name(AngularVelocity self, std::string a0)"""
6035 return _IMP_atom.AngularVelocity_set_name(self, a0)
6039 """set_check_level(AngularVelocity self, IMP::CheckLevel a0)"""
6040 return _IMP_atom.AngularVelocity_set_check_level(self, a0)
6043 def add_to_derivative(self, a0, a1, a2):
6044 """add_to_derivative(AngularVelocity self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
6045 return _IMP_atom.AngularVelocity_add_to_derivative(self, a0, a1, a2)
6048 def set_is_optimized(self, a0, a1):
6049 """set_is_optimized(AngularVelocity self, FloatKey a0, bool a1)"""
6050 return _IMP_atom.AngularVelocity_set_is_optimized(self, a0, a1)
6053 def get_is_optimized(self, a0):
6054 """get_is_optimized(AngularVelocity self, FloatKey a0) -> bool"""
6055 return _IMP_atom.AngularVelocity_get_is_optimized(self, a0)
6059 """get_check_level(AngularVelocity self) -> IMP::CheckLevel"""
6060 return _IMP_atom.AngularVelocity_get_check_level(self)
6063 def __eq__(self, *args):
6065 __eq__(AngularVelocity self, AngularVelocity o) -> bool
6066 __eq__(AngularVelocity self, Particle d) -> bool
6068 return _IMP_atom.AngularVelocity___eq__(self, *args)
6071 def __ne__(self, *args):
6073 __ne__(AngularVelocity self, AngularVelocity o) -> bool
6074 __ne__(AngularVelocity self, Particle d) -> bool
6076 return _IMP_atom.AngularVelocity___ne__(self, *args)
6079 def __le__(self, *args):
6081 __le__(AngularVelocity self, AngularVelocity o) -> bool
6082 __le__(AngularVelocity self, Particle d) -> bool
6084 return _IMP_atom.AngularVelocity___le__(self, *args)
6087 def __lt__(self, *args):
6089 __lt__(AngularVelocity self, AngularVelocity o) -> bool
6090 __lt__(AngularVelocity self, Particle d) -> bool
6092 return _IMP_atom.AngularVelocity___lt__(self, *args)
6095 def __ge__(self, *args):
6097 __ge__(AngularVelocity self, AngularVelocity o) -> bool
6098 __ge__(AngularVelocity self, Particle d) -> bool
6100 return _IMP_atom.AngularVelocity___ge__(self, *args)
6103 def __gt__(self, *args):
6105 __gt__(AngularVelocity self, AngularVelocity o) -> bool
6106 __gt__(AngularVelocity self, Particle d) -> bool
6108 return _IMP_atom.AngularVelocity___gt__(self, *args)
6112 """__hash__(AngularVelocity self) -> std::size_t"""
6113 return _IMP_atom.AngularVelocity___hash__(self)
6117 """__str__(AngularVelocity self) -> std::string"""
6118 return _IMP_atom.AngularVelocity___str__(self)
6122 """__repr__(AngularVelocity self) -> std::string"""
6123 return _IMP_atom.AngularVelocity___repr__(self)
6125 __swig_destroy__ = _IMP_atom.delete_AngularVelocity
6126 __del__ =
lambda self:
None
6127 AngularVelocity_swigregister = _IMP_atom.AngularVelocity_swigregister
6128 AngularVelocity_swigregister(AngularVelocity)
6130 def AngularVelocity_get_velocity_key(i):
6131 """AngularVelocity_get_velocity_key(unsigned int i) -> FloatKey"""
6132 return _IMP_atom.AngularVelocity_get_velocity_key(i)
6134 def AngularVelocity_get_is_setup(*args):
6136 get_is_setup(Model m, ParticleIndex pi) -> bool
6137 AngularVelocity_get_is_setup(_ParticleAdaptor p) -> bool
6139 return _IMP_atom.AngularVelocity_get_is_setup(*args)
6141 def AngularVelocity_setup_particle(*args):
6143 setup_particle(Model m, ParticleIndex pi) -> AngularVelocity
6144 setup_particle(_ParticleAdaptor decorator) -> AngularVelocity
6145 setup_particle(Model m, ParticleIndex pi, Vector4D v) -> AngularVelocity
6146 AngularVelocity_setup_particle(_ParticleAdaptor decorator, Vector4D v) -> AngularVelocity
6148 return _IMP_atom.AngularVelocity_setup_particle(*args)
6150 class MolecularDynamics(Simulator):
6151 """Proxy of C++ IMP::atom::MolecularDynamics class"""
6152 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6154 def __init__(self, m):
6155 """__init__(IMP::atom::MolecularDynamics self, Model m) -> MolecularDynamics"""
6156 this = _IMP_atom.new_MolecularDynamics(m)
6158 self.this.append(this)
6162 def get_kinetic_energy(self):
6163 """get_kinetic_energy(MolecularDynamics self) -> IMP::Float"""
6164 return _IMP_atom.MolecularDynamics_get_kinetic_energy(self)
6167 def get_kinetic_temperature(self, ekinetic):
6168 """get_kinetic_temperature(MolecularDynamics self, IMP::Float ekinetic) -> IMP::Float"""
6169 return _IMP_atom.MolecularDynamics_get_kinetic_temperature(self, ekinetic)
6172 def set_velocity_cap(self, velocity_cap):
6173 """set_velocity_cap(MolecularDynamics self, IMP::Float velocity_cap)"""
6174 return _IMP_atom.MolecularDynamics_set_velocity_cap(self, velocity_cap)
6177 def assign_velocities(self, temperature):
6178 """assign_velocities(MolecularDynamics self, IMP::Float temperature)"""
6179 return _IMP_atom.MolecularDynamics_assign_velocities(self, temperature)
6182 def setup(self, ps):
6183 """setup(MolecularDynamics self, IMP::ParticleIndexes const & ps)"""
6184 return _IMP_atom.MolecularDynamics_setup(self, ps)
6187 def do_step(self, sc, dt):
6188 """do_step(MolecularDynamics self, IMP::ParticleIndexes const & sc, double dt) -> double"""
6189 return _IMP_atom.MolecularDynamics_do_step(self, sc, dt)
6192 def get_is_simulation_particle(self, p):
6193 """get_is_simulation_particle(MolecularDynamics self, ParticleIndex p) -> bool"""
6194 return _IMP_atom.MolecularDynamics_get_is_simulation_particle(self, p)
6197 def get_version_info(self):
6198 """get_version_info(MolecularDynamics self) -> VersionInfo"""
6199 return _IMP_atom.MolecularDynamics_get_version_info(self)
6203 """__str__(MolecularDynamics self) -> std::string"""
6204 return _IMP_atom.MolecularDynamics___str__(self)
6208 """__repr__(MolecularDynamics self) -> std::string"""
6209 return _IMP_atom.MolecularDynamics___repr__(self)
6212 return _object_cast_to_MolecularDynamics(o)
6213 get_from = staticmethod(get_from)
6215 MolecularDynamics_swigregister = _IMP_atom.MolecularDynamics_swigregister
6216 MolecularDynamics_swigregister(MolecularDynamics)
6219 """Proxy of C++ IMP::atom::VelocityScalingOptimizerState class"""
6220 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6222 def __init__(self, m, pis, temperature):
6223 """__init__(IMP::atom::VelocityScalingOptimizerState self, Model m, _ParticleIndexesAdaptor pis, double temperature) -> VelocityScalingOptimizerState"""
6224 this = _IMP_atom.new_VelocityScalingOptimizerState(m, pis, temperature)
6226 self.this.append(this)
6230 def set_particles(self, pis):
6231 """set_particles(VelocityScalingOptimizerState self, IMP::Particles const & pis)"""
6232 return _IMP_atom.VelocityScalingOptimizerState_set_particles(self, pis)
6235 def set_temperature(self, temperature):
6236 """set_temperature(VelocityScalingOptimizerState self, IMP::Float temperature)"""
6237 return _IMP_atom.VelocityScalingOptimizerState_set_temperature(self, temperature)
6240 def rescale_velocities(self):
6241 """rescale_velocities(VelocityScalingOptimizerState self)"""
6242 return _IMP_atom.VelocityScalingOptimizerState_rescale_velocities(self)
6245 def get_version_info(self):
6246 """get_version_info(VelocityScalingOptimizerState self) -> VersionInfo"""
6247 return _IMP_atom.VelocityScalingOptimizerState_get_version_info(self)
6251 """__str__(VelocityScalingOptimizerState self) -> std::string"""
6252 return _IMP_atom.VelocityScalingOptimizerState___str__(self)
6256 """__repr__(VelocityScalingOptimizerState self) -> std::string"""
6257 return _IMP_atom.VelocityScalingOptimizerState___repr__(self)
6260 return _object_cast_to_VelocityScalingOptimizerState(o)
6261 get_from = staticmethod(get_from)
6263 VelocityScalingOptimizerState_swigregister = _IMP_atom.VelocityScalingOptimizerState_swigregister
6264 VelocityScalingOptimizerState_swigregister(VelocityScalingOptimizerState)
6266 class Fragment(Hierarchy):
6267 """Proxy of C++ IMP::atom::Fragment class"""
6268 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6270 def set_residue_indexes(self, o):
6271 """set_residue_indexes(Fragment self, IMP::Ints o)"""
6272 return _IMP_atom.Fragment_set_residue_indexes(self, o)
6275 def get_residue_indexes(self):
6276 """get_residue_indexes(Fragment self) -> IMP::Ints"""
6277 return _IMP_atom.Fragment_get_residue_indexes(self)
6280 def get_contains_residue(self, rindex):
6281 """get_contains_residue(Fragment self, int rindex) -> bool"""
6282 return _IMP_atom.Fragment_get_contains_residue(self, rindex)
6285 def __init__(self, *args):
6287 __init__(IMP::atom::Fragment self) -> Fragment
6288 __init__(IMP::atom::Fragment self, Model m, ParticleIndex id) -> Fragment
6289 __init__(IMP::atom::Fragment self, _ParticleAdaptor d) -> Fragment
6291 this = _IMP_atom.new_Fragment(*args)
6293 self.this.append(this)
6297 def get_is_setup(*args):
6299 get_is_setup(Model m, ParticleIndex pi) -> bool
6300 get_is_setup(_ParticleAdaptor p) -> bool
6302 return _IMP_atom.Fragment_get_is_setup(*args)
6304 get_is_setup = staticmethod(get_is_setup)
6306 def show(self, *args):
6308 show(Fragment self, _ostream out)
6311 return _IMP_atom.Fragment_show(self, *args)
6314 def setup_particle(*args):
6316 setup_particle(Model m, ParticleIndex pi) -> Fragment
6317 setup_particle(_ParticleAdaptor decorator) -> Fragment
6318 setup_particle(Model m, ParticleIndex pi, Fragment other) -> Fragment
6319 setup_particle(_ParticleAdaptor decorator, Fragment other) -> Fragment
6320 setup_particle(Model m, ParticleIndex pi, IMP::Ints residue_indexes) -> Fragment
6321 setup_particle(_ParticleAdaptor decorator, IMP::Ints residue_indexes) -> Fragment
6323 return _IMP_atom.Fragment_setup_particle(*args)
6325 setup_particle = staticmethod(setup_particle)
6327 def add_attribute(self, *args):
6329 add_attribute(Fragment self, FloatKey k, IMP::Float v, bool opt)
6330 add_attribute(Fragment self, FloatKey a0, IMP::Float a1)
6331 add_attribute(Fragment self, IntKey a0, IMP::Int a1)
6332 add_attribute(Fragment self, StringKey a0, IMP::String a1)
6333 add_attribute(Fragment self, ParticleIndexKey a0, Particle a1)
6334 add_attribute(Fragment self, ObjectKey a0, Object a1)
6336 return _IMP_atom.Fragment_add_attribute(self, *args)
6339 def get_value(self, *args):
6341 get_value(Fragment self, FloatKey a0) -> IMP::Float
6342 get_value(Fragment self, IntKey a0) -> IMP::Int
6343 get_value(Fragment self, StringKey a0) -> IMP::String
6344 get_value(Fragment self, ParticleIndexKey a0) -> Particle
6345 get_value(Fragment self, ObjectKey a0) -> Object
6347 return _IMP_atom.Fragment_get_value(self, *args)
6350 def set_value(self, *args):
6352 set_value(Fragment self, FloatKey a0, IMP::Float a1)
6353 set_value(Fragment self, IntKey a0, IMP::Int a1)
6354 set_value(Fragment self, StringKey a0, IMP::String a1)
6355 set_value(Fragment self, ParticleIndexKey a0, Particle a1)
6356 set_value(Fragment self, ObjectKey a0, Object a1)
6358 return _IMP_atom.Fragment_set_value(self, *args)
6361 def remove_attribute(self, *args):
6363 remove_attribute(Fragment self, FloatKey a0)
6364 remove_attribute(Fragment self, IntKey a0)
6365 remove_attribute(Fragment self, StringKey a0)
6366 remove_attribute(Fragment self, ParticleIndexKey a0)
6367 remove_attribute(Fragment self, ObjectKey a0)
6369 return _IMP_atom.Fragment_remove_attribute(self, *args)
6372 def has_attribute(self, *args):
6374 has_attribute(Fragment self, FloatKey a0) -> bool
6375 has_attribute(Fragment self, IntKey a0) -> bool
6376 has_attribute(Fragment self, StringKey a0) -> bool
6377 has_attribute(Fragment self, ParticleIndexKey a0) -> bool
6378 has_attribute(Fragment self, ObjectKey a0) -> bool
6380 return _IMP_atom.Fragment_has_attribute(self, *args)
6383 def get_derivative(self, a0):
6384 """get_derivative(Fragment self, FloatKey a0) -> double"""
6385 return _IMP_atom.Fragment_get_derivative(self, a0)
6389 """get_name(Fragment self) -> std::string"""
6390 return _IMP_atom.Fragment_get_name(self)
6393 def clear_caches(self):
6394 """clear_caches(Fragment self)"""
6395 return _IMP_atom.Fragment_clear_caches(self)
6398 def set_name(self, a0):
6399 """set_name(Fragment self, std::string a0)"""
6400 return _IMP_atom.Fragment_set_name(self, a0)
6404 """set_check_level(Fragment self, IMP::CheckLevel a0)"""
6405 return _IMP_atom.Fragment_set_check_level(self, a0)
6408 def add_to_derivative(self, a0, a1, a2):
6409 """add_to_derivative(Fragment self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
6410 return _IMP_atom.Fragment_add_to_derivative(self, a0, a1, a2)
6413 def set_is_optimized(self, a0, a1):
6414 """set_is_optimized(Fragment self, FloatKey a0, bool a1)"""
6415 return _IMP_atom.Fragment_set_is_optimized(self, a0, a1)
6418 def get_is_optimized(self, a0):
6419 """get_is_optimized(Fragment self, FloatKey a0) -> bool"""
6420 return _IMP_atom.Fragment_get_is_optimized(self, a0)
6424 """get_check_level(Fragment self) -> IMP::CheckLevel"""
6425 return _IMP_atom.Fragment_get_check_level(self)
6428 def __eq__(self, *args):
6430 __eq__(Fragment self, Fragment o) -> bool
6431 __eq__(Fragment self, Particle d) -> bool
6433 return _IMP_atom.Fragment___eq__(self, *args)
6436 def __ne__(self, *args):
6438 __ne__(Fragment self, Fragment o) -> bool
6439 __ne__(Fragment self, Particle d) -> bool
6441 return _IMP_atom.Fragment___ne__(self, *args)
6444 def __le__(self, *args):
6446 __le__(Fragment self, Fragment o) -> bool
6447 __le__(Fragment self, Particle d) -> bool
6449 return _IMP_atom.Fragment___le__(self, *args)
6452 def __lt__(self, *args):
6454 __lt__(Fragment self, Fragment o) -> bool
6455 __lt__(Fragment self, Particle d) -> bool
6457 return _IMP_atom.Fragment___lt__(self, *args)
6460 def __ge__(self, *args):
6462 __ge__(Fragment self, Fragment o) -> bool
6463 __ge__(Fragment self, Particle d) -> bool
6465 return _IMP_atom.Fragment___ge__(self, *args)
6468 def __gt__(self, *args):
6470 __gt__(Fragment self, Fragment o) -> bool
6471 __gt__(Fragment self, Particle d) -> bool
6473 return _IMP_atom.Fragment___gt__(self, *args)
6477 """__hash__(Fragment self) -> std::size_t"""
6478 return _IMP_atom.Fragment___hash__(self)
6482 """__str__(Fragment self) -> std::string"""
6483 return _IMP_atom.Fragment___str__(self)
6487 """__repr__(Fragment self) -> std::string"""
6488 return _IMP_atom.Fragment___repr__(self)
6490 __swig_destroy__ = _IMP_atom.delete_Fragment
6491 __del__ =
lambda self:
None
6492 Fragment_swigregister = _IMP_atom.Fragment_swigregister
6493 Fragment_swigregister(Fragment)
6495 def Fragment_get_is_setup(*args):
6497 get_is_setup(Model m, ParticleIndex pi) -> bool
6498 Fragment_get_is_setup(_ParticleAdaptor p) -> bool
6500 return _IMP_atom.Fragment_get_is_setup(*args)
6502 def Fragment_setup_particle(*args):
6504 setup_particle(Model m, ParticleIndex pi) -> Fragment
6505 setup_particle(_ParticleAdaptor decorator) -> Fragment
6506 setup_particle(Model m, ParticleIndex pi, Fragment other) -> Fragment
6507 setup_particle(_ParticleAdaptor decorator, Fragment other) -> Fragment
6508 setup_particle(Model m, ParticleIndex pi, IMP::Ints residue_indexes) -> Fragment
6509 Fragment_setup_particle(_ParticleAdaptor decorator, IMP::Ints residue_indexes) -> Fragment
6511 return _IMP_atom.Fragment_setup_particle(*args)
6514 """Proxy of C++ IMP::atom::StereochemistryPairFilter class"""
6515 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6518 """__init__(IMP::atom::StereochemistryPairFilter self) -> StereochemistryPairFilter"""
6519 this = _IMP_atom.new_StereochemistryPairFilter()
6521 self.this.append(this)
6525 def set_bonds(self, bonds):
6526 """set_bonds(StereochemistryPairFilter self, IMP::Particles const & bonds)"""
6527 return _IMP_atom.StereochemistryPairFilter_set_bonds(self, bonds)
6530 def set_angles(self, angles):
6531 """set_angles(StereochemistryPairFilter self, IMP::Particles const & angles)"""
6532 return _IMP_atom.StereochemistryPairFilter_set_angles(self, angles)
6535 def set_dihedrals(self, dihedrals):
6536 """set_dihedrals(StereochemistryPairFilter self, IMP::Particles const & dihedrals)"""
6537 return _IMP_atom.StereochemistryPairFilter_set_dihedrals(self, dihedrals)
6540 def do_get_inputs(self, m, pis):
6541 """do_get_inputs(StereochemistryPairFilter self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
6542 return _IMP_atom.StereochemistryPairFilter_do_get_inputs(self, m, pis)
6545 def get_value(self, *args):
6547 get_value(StereochemistryPairFilter self, IMP::ParticlePair const & a) -> int
6548 get_value(StereochemistryPairFilter self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
6550 return _IMP_atom.StereochemistryPairFilter_get_value(self, *args)
6553 def get_value_index(self, *args):
6555 get_value_index(StereochemistryPairFilter self, Model m, IMP::ParticleIndexPair const & p) -> int
6556 get_value_index(StereochemistryPairFilter self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
6558 return _IMP_atom.StereochemistryPairFilter_get_value_index(self, *args)
6561 def get_version_info(self):
6562 """get_version_info(StereochemistryPairFilter self) -> VersionInfo"""
6563 return _IMP_atom.StereochemistryPairFilter_get_version_info(self)
6567 """__str__(StereochemistryPairFilter self) -> std::string"""
6568 return _IMP_atom.StereochemistryPairFilter___str__(self)
6572 """__repr__(StereochemistryPairFilter self) -> std::string"""
6573 return _IMP_atom.StereochemistryPairFilter___repr__(self)
6576 return _object_cast_to_StereochemistryPairFilter(o)
6577 get_from = staticmethod(get_from)
6579 StereochemistryPairFilter_swigregister = _IMP_atom.StereochemistryPairFilter_swigregister
6580 StereochemistryPairFilter_swigregister(StereochemistryPairFilter)
6583 """Proxy of C++ IMP::atom::SoapPairFilter class"""
6584 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6586 def __init__(self, library):
6587 """__init__(IMP::atom::SoapPairFilter self, std::string library) -> SoapPairFilter"""
6588 this = _IMP_atom.new_SoapPairFilter(library)
6590 self.this.append(this)
6594 def do_get_inputs(self, m, pis):
6595 """do_get_inputs(SoapPairFilter self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
6596 return _IMP_atom.SoapPairFilter_do_get_inputs(self, m, pis)
6599 def get_value(self, *args):
6601 get_value(SoapPairFilter self, IMP::ParticlePair const & a) -> int
6602 get_value(SoapPairFilter self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
6604 return _IMP_atom.SoapPairFilter_get_value(self, *args)
6607 def get_value_index(self, *args):
6609 get_value_index(SoapPairFilter self, Model m, IMP::ParticleIndexPair const & p) -> int
6610 get_value_index(SoapPairFilter self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
6612 return _IMP_atom.SoapPairFilter_get_value_index(self, *args)
6615 def get_version_info(self):
6616 """get_version_info(SoapPairFilter self) -> VersionInfo"""
6617 return _IMP_atom.SoapPairFilter_get_version_info(self)
6621 """__str__(SoapPairFilter self) -> std::string"""
6622 return _IMP_atom.SoapPairFilter___str__(self)
6626 """__repr__(SoapPairFilter self) -> std::string"""
6627 return _IMP_atom.SoapPairFilter___repr__(self)
6630 return _object_cast_to_SoapPairFilter(o)
6631 get_from = staticmethod(get_from)
6633 SoapPairFilter_swigregister = _IMP_atom.SoapPairFilter_swigregister
6634 SoapPairFilter_swigregister(SoapPairFilter)
6637 """Proxy of C++ IMP::atom::Mass class"""
6638 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6641 """get_mass(Mass self) -> IMP::Float"""
6642 return _IMP_atom.Mass_get_mass(self)
6645 def set_mass(self, d):
6646 """set_mass(Mass self, IMP::Float d)"""
6647 return _IMP_atom.Mass_set_mass(self, d)
6650 def __init__(self, *args):
6652 __init__(IMP::atom::Mass self) -> Mass
6653 __init__(IMP::atom::Mass self, Model m, ParticleIndex id) -> Mass
6654 __init__(IMP::atom::Mass self, _ParticleAdaptor d) -> Mass
6656 this = _IMP_atom.new_Mass(*args)
6658 self.this.append(this)
6662 def get_is_setup(*args):
6664 get_is_setup(Model m, ParticleIndex pi) -> bool
6665 get_is_setup(_ParticleAdaptor p) -> bool
6667 return _IMP_atom.Mass_get_is_setup(*args)
6669 get_is_setup = staticmethod(get_is_setup)
6671 def show(self, *args):
6673 show(Mass self, _ostream out)
6676 return _IMP_atom.Mass_show(self, *args)
6679 def setup_particle(*args):
6681 setup_particle(Model m, ParticleIndex pi, IMP::Float mass) -> Mass
6682 setup_particle(_ParticleAdaptor decorator, IMP::Float mass) -> Mass
6684 return _IMP_atom.Mass_setup_particle(*args)
6686 setup_particle = staticmethod(setup_particle)
6689 """get_mass_key() -> FloatKey"""
6690 return _IMP_atom.Mass_get_mass_key()
6692 get_mass_key = staticmethod(get_mass_key)
6694 def add_attribute(self, *args):
6696 add_attribute(Mass self, FloatKey k, IMP::Float v, bool opt)
6697 add_attribute(Mass self, FloatKey a0, IMP::Float a1)
6698 add_attribute(Mass self, IntKey a0, IMP::Int a1)
6699 add_attribute(Mass self, StringKey a0, IMP::String a1)
6700 add_attribute(Mass self, ParticleIndexKey a0, Particle a1)
6701 add_attribute(Mass self, ObjectKey a0, Object a1)
6703 return _IMP_atom.Mass_add_attribute(self, *args)
6706 def get_value(self, *args):
6708 get_value(Mass self, FloatKey a0) -> IMP::Float
6709 get_value(Mass self, IntKey a0) -> IMP::Int
6710 get_value(Mass self, StringKey a0) -> IMP::String
6711 get_value(Mass self, ParticleIndexKey a0) -> Particle
6712 get_value(Mass self, ObjectKey a0) -> Object
6714 return _IMP_atom.Mass_get_value(self, *args)
6717 def set_value(self, *args):
6719 set_value(Mass self, FloatKey a0, IMP::Float a1)
6720 set_value(Mass self, IntKey a0, IMP::Int a1)
6721 set_value(Mass self, StringKey a0, IMP::String a1)
6722 set_value(Mass self, ParticleIndexKey a0, Particle a1)
6723 set_value(Mass self, ObjectKey a0, Object a1)
6725 return _IMP_atom.Mass_set_value(self, *args)
6728 def remove_attribute(self, *args):
6730 remove_attribute(Mass self, FloatKey a0)
6731 remove_attribute(Mass self, IntKey a0)
6732 remove_attribute(Mass self, StringKey a0)
6733 remove_attribute(Mass self, ParticleIndexKey a0)
6734 remove_attribute(Mass self, ObjectKey a0)
6736 return _IMP_atom.Mass_remove_attribute(self, *args)
6739 def has_attribute(self, *args):
6741 has_attribute(Mass self, FloatKey a0) -> bool
6742 has_attribute(Mass self, IntKey a0) -> bool
6743 has_attribute(Mass self, StringKey a0) -> bool
6744 has_attribute(Mass self, ParticleIndexKey a0) -> bool
6745 has_attribute(Mass self, ObjectKey a0) -> bool
6747 return _IMP_atom.Mass_has_attribute(self, *args)
6750 def get_derivative(self, a0):
6751 """get_derivative(Mass self, FloatKey a0) -> double"""
6752 return _IMP_atom.Mass_get_derivative(self, a0)
6756 """get_name(Mass self) -> std::string"""
6757 return _IMP_atom.Mass_get_name(self)
6760 def clear_caches(self):
6761 """clear_caches(Mass self)"""
6762 return _IMP_atom.Mass_clear_caches(self)
6765 def set_name(self, a0):
6766 """set_name(Mass self, std::string a0)"""
6767 return _IMP_atom.Mass_set_name(self, a0)
6771 """set_check_level(Mass self, IMP::CheckLevel a0)"""
6772 return _IMP_atom.Mass_set_check_level(self, a0)
6775 def add_to_derivative(self, a0, a1, a2):
6776 """add_to_derivative(Mass self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
6777 return _IMP_atom.Mass_add_to_derivative(self, a0, a1, a2)
6780 def set_is_optimized(self, a0, a1):
6781 """set_is_optimized(Mass self, FloatKey a0, bool a1)"""
6782 return _IMP_atom.Mass_set_is_optimized(self, a0, a1)
6785 def get_is_optimized(self, a0):
6786 """get_is_optimized(Mass self, FloatKey a0) -> bool"""
6787 return _IMP_atom.Mass_get_is_optimized(self, a0)
6791 """get_check_level(Mass self) -> IMP::CheckLevel"""
6792 return _IMP_atom.Mass_get_check_level(self)
6795 def __eq__(self, *args):
6797 __eq__(Mass self, Mass o) -> bool
6798 __eq__(Mass self, Particle d) -> bool
6800 return _IMP_atom.Mass___eq__(self, *args)
6803 def __ne__(self, *args):
6805 __ne__(Mass self, Mass o) -> bool
6806 __ne__(Mass self, Particle d) -> bool
6808 return _IMP_atom.Mass___ne__(self, *args)
6811 def __le__(self, *args):
6813 __le__(Mass self, Mass o) -> bool
6814 __le__(Mass self, Particle d) -> bool
6816 return _IMP_atom.Mass___le__(self, *args)
6819 def __lt__(self, *args):
6821 __lt__(Mass self, Mass o) -> bool
6822 __lt__(Mass self, Particle d) -> bool
6824 return _IMP_atom.Mass___lt__(self, *args)
6827 def __ge__(self, *args):
6829 __ge__(Mass self, Mass o) -> bool
6830 __ge__(Mass self, Particle d) -> bool
6832 return _IMP_atom.Mass___ge__(self, *args)
6835 def __gt__(self, *args):
6837 __gt__(Mass self, Mass o) -> bool
6838 __gt__(Mass self, Particle d) -> bool
6840 return _IMP_atom.Mass___gt__(self, *args)
6844 """__hash__(Mass self) -> std::size_t"""
6845 return _IMP_atom.Mass___hash__(self)
6849 """__str__(Mass self) -> std::string"""
6850 return _IMP_atom.Mass___str__(self)
6854 """__repr__(Mass self) -> std::string"""
6855 return _IMP_atom.Mass___repr__(self)
6857 __swig_destroy__ = _IMP_atom.delete_Mass
6858 __del__ =
lambda self:
None
6859 Mass_swigregister = _IMP_atom.Mass_swigregister
6860 Mass_swigregister(Mass)
6862 def Mass_get_is_setup(*args):
6864 get_is_setup(Model m, ParticleIndex pi) -> bool
6865 Mass_get_is_setup(_ParticleAdaptor p) -> bool
6867 return _IMP_atom.Mass_get_is_setup(*args)
6869 def Mass_setup_particle(*args):
6871 setup_particle(Model m, ParticleIndex pi, IMP::Float mass) -> Mass
6872 Mass_setup_particle(_ParticleAdaptor decorator, IMP::Float mass) -> Mass
6874 return _IMP_atom.Mass_setup_particle(*args)
6876 def Mass_get_mass_key():
6877 """Mass_get_mass_key() -> FloatKey"""
6878 return _IMP_atom.Mass_get_mass_key()
6881 """Proxy of C++ IMP::atom::BondedPairFilter class"""
6882 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6885 """__init__(IMP::atom::BondedPairFilter self) -> BondedPairFilter"""
6886 this = _IMP_atom.new_BondedPairFilter()
6888 self.this.append(this)
6892 def do_get_inputs(self, m, pis):
6893 """do_get_inputs(BondedPairFilter self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
6894 return _IMP_atom.BondedPairFilter_do_get_inputs(self, m, pis)
6897 def get_value(self, *args):
6899 get_value(BondedPairFilter self, IMP::ParticlePair const & a) -> int
6900 get_value(BondedPairFilter self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
6902 return _IMP_atom.BondedPairFilter_get_value(self, *args)
6905 def get_value_index(self, *args):
6907 get_value_index(BondedPairFilter self, Model m, IMP::ParticleIndexPair const & p) -> int
6908 get_value_index(BondedPairFilter self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
6910 return _IMP_atom.BondedPairFilter_get_value_index(self, *args)
6913 def get_version_info(self):
6914 """get_version_info(BondedPairFilter self) -> VersionInfo"""
6915 return _IMP_atom.BondedPairFilter_get_version_info(self)
6919 """__str__(BondedPairFilter self) -> std::string"""
6920 return _IMP_atom.BondedPairFilter___str__(self)
6924 """__repr__(BondedPairFilter self) -> std::string"""
6925 return _IMP_atom.BondedPairFilter___repr__(self)
6928 return _object_cast_to_BondedPairFilter(o)
6929 get_from = staticmethod(get_from)
6931 BondedPairFilter_swigregister = _IMP_atom.BondedPairFilter_swigregister
6932 BondedPairFilter_swigregister(BondedPairFilter)
6935 """Proxy of C++ IMP::atom::Mol2Selector class"""
6936 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6938 def __init__(self, *args, **kwargs):
6939 raise AttributeError(
"No constructor defined - class is abstract")
6941 def get_is_selected(self, atom_line):
6942 """get_is_selected(Mol2Selector self, std::string const & atom_line) -> bool"""
6943 return _IMP_atom.Mol2Selector_get_is_selected(self, atom_line)
6945 __swig_destroy__ = _IMP_atom.delete_Mol2Selector
6946 __del__ =
lambda self:
None
6949 """__str__(Mol2Selector self) -> std::string"""
6950 return _IMP_atom.Mol2Selector___str__(self)
6954 """__repr__(Mol2Selector self) -> std::string"""
6955 return _IMP_atom.Mol2Selector___repr__(self)
6958 return _object_cast_to_Mol2Selector(o)
6959 get_from = staticmethod(get_from)
6961 Mol2Selector_swigregister = _IMP_atom.Mol2Selector_swigregister
6962 Mol2Selector_swigregister(Mol2Selector)
6964 class AllMol2Selector(Mol2Selector):
6965 """Proxy of C++ IMP::atom::AllMol2Selector class"""
6966 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6969 """__str__(AllMol2Selector self) -> std::string"""
6970 return _IMP_atom.AllMol2Selector___str__(self)
6974 """__repr__(AllMol2Selector self) -> std::string"""
6975 return _IMP_atom.AllMol2Selector___repr__(self)
6978 return _object_cast_to_AllMol2Selector(o)
6979 get_from = staticmethod(get_from)
6983 """__init__(IMP::atom::AllMol2Selector self) -> AllMol2Selector"""
6984 this = _IMP_atom.new_AllMol2Selector()
6986 self.this.append(this)
6989 __swig_destroy__ = _IMP_atom.delete_AllMol2Selector
6990 __del__ =
lambda self:
None
6991 AllMol2Selector_swigregister = _IMP_atom.AllMol2Selector_swigregister
6992 AllMol2Selector_swigregister(AllMol2Selector)
6994 class NonHydrogenMol2Selector(Mol2Selector):
6995 """Proxy of C++ IMP::atom::NonHydrogenMol2Selector class"""
6996 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6999 """__str__(NonHydrogenMol2Selector self) -> std::string"""
7000 return _IMP_atom.NonHydrogenMol2Selector___str__(self)
7004 """__repr__(NonHydrogenMol2Selector self) -> std::string"""
7005 return _IMP_atom.NonHydrogenMol2Selector___repr__(self)
7008 return _object_cast_to_NonHydrogenMol2Selector(o)
7009 get_from = staticmethod(get_from)
7013 """__init__(IMP::atom::NonHydrogenMol2Selector self) -> NonHydrogenMol2Selector"""
7014 this = _IMP_atom.new_NonHydrogenMol2Selector()
7016 self.this.append(this)
7019 __swig_destroy__ = _IMP_atom.delete_NonHydrogenMol2Selector
7020 __del__ =
lambda self:
None
7021 NonHydrogenMol2Selector_swigregister = _IMP_atom.NonHydrogenMol2Selector_swigregister
7022 NonHydrogenMol2Selector_swigregister(NonHydrogenMol2Selector)
7025 def read_mol2(mol2_file, model, mol2sel=None):
7027 read_mol2(TextInput mol2_file, Model model, Mol2Selector mol2sel=None) -> Hierarchy
7028 read_mol2(TextInput mol2_file, Model model) -> Hierarchy
7030 return _IMP_atom.read_mol2(mol2_file, model, mol2sel)
7033 """write_mol2(Hierarchy rhd, TextOutput file_name)"""
7034 return _IMP_atom.write_mol2(rhd, file_name)
7036 """Proxy of C++ IMP::atom::SecondaryStructureResidue class"""
7037 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7039 def __init__(self, *args):
7041 __init__(IMP::atom::SecondaryStructureResidue self) -> SecondaryStructureResidue
7042 __init__(IMP::atom::SecondaryStructureResidue self, Model m, ParticleIndex id) -> SecondaryStructureResidue
7043 __init__(IMP::atom::SecondaryStructureResidue self, _ParticleAdaptor d) -> SecondaryStructureResidue
7045 this = _IMP_atom.new_SecondaryStructureResidue(*args)
7047 self.this.append(this)
7051 def show(self, *args):
7053 show(SecondaryStructureResidue self, _ostream out)
7054 show(SecondaryStructureResidue self)
7056 return _IMP_atom.SecondaryStructureResidue_show(self, *args)
7059 def setup_particle(*args):
7061 setup_particle(Model m, ParticleIndex pi, IMP::Float prob_helix, IMP::Float prob_strand, IMP::Float prob_coil) -> SecondaryStructureResidue
7062 setup_particle(_ParticleAdaptor decorator, IMP::Float prob_helix, IMP::Float prob_strand, IMP::Float prob_coil) -> SecondaryStructureResidue
7063 setup_particle(Particle res_p) -> SecondaryStructureResidue
7065 return _IMP_atom.SecondaryStructureResidue_setup_particle(*args)
7067 setup_particle = staticmethod(setup_particle)
7069 def get_is_setup(*args):
7071 get_is_setup(_ParticleAdaptor p) -> bool
7072 get_is_setup(Model m, ParticleIndex pi) -> bool
7074 return _IMP_atom.SecondaryStructureResidue_get_is_setup(*args)
7076 get_is_setup = staticmethod(get_is_setup)
7078 def get_particle(self):
7079 """get_particle(SecondaryStructureResidue self) -> Particle"""
7080 return _IMP_atom.SecondaryStructureResidue_get_particle(self)
7083 def get_all_probabilities(self):
7084 """get_all_probabilities(SecondaryStructureResidue self) -> IMP::Floats"""
7085 return _IMP_atom.SecondaryStructureResidue_get_all_probabilities(self)
7088 def get_prob_helix(self):
7089 """get_prob_helix(SecondaryStructureResidue self) -> IMP::Float"""
7090 return _IMP_atom.SecondaryStructureResidue_get_prob_helix(self)
7093 def set_prob_helix(self, t):
7094 """set_prob_helix(SecondaryStructureResidue self, IMP::Float t)"""
7095 return _IMP_atom.SecondaryStructureResidue_set_prob_helix(self, t)
7098 def get_prob_strand(self):
7099 """get_prob_strand(SecondaryStructureResidue self) -> IMP::Float"""
7100 return _IMP_atom.SecondaryStructureResidue_get_prob_strand(self)
7103 def set_prob_strand(self, t):
7104 """set_prob_strand(SecondaryStructureResidue self, IMP::Float t)"""
7105 return _IMP_atom.SecondaryStructureResidue_set_prob_strand(self, t)
7108 def get_prob_coil(self):
7109 """get_prob_coil(SecondaryStructureResidue self) -> IMP::Float"""
7110 return _IMP_atom.SecondaryStructureResidue_get_prob_coil(self)
7113 def set_prob_coil(self, t):
7114 """set_prob_coil(SecondaryStructureResidue self, IMP::Float t)"""
7115 return _IMP_atom.SecondaryStructureResidue_set_prob_coil(self, t)
7118 def get_prob_helix_key():
7119 """get_prob_helix_key() -> FloatKey"""
7120 return _IMP_atom.SecondaryStructureResidue_get_prob_helix_key()
7122 get_prob_helix_key = staticmethod(get_prob_helix_key)
7124 def get_prob_strand_key():
7125 """get_prob_strand_key() -> FloatKey"""
7126 return _IMP_atom.SecondaryStructureResidue_get_prob_strand_key()
7128 get_prob_strand_key = staticmethod(get_prob_strand_key)
7130 def get_prob_coil_key():
7131 """get_prob_coil_key() -> FloatKey"""
7132 return _IMP_atom.SecondaryStructureResidue_get_prob_coil_key()
7134 get_prob_coil_key = staticmethod(get_prob_coil_key)
7136 def add_attribute(self, *args):
7138 add_attribute(SecondaryStructureResidue self, FloatKey k, IMP::Float v, bool opt)
7139 add_attribute(SecondaryStructureResidue self, FloatKey a0, IMP::Float a1)
7140 add_attribute(SecondaryStructureResidue self, IntKey a0, IMP::Int a1)
7141 add_attribute(SecondaryStructureResidue self, StringKey a0, IMP::String a1)
7142 add_attribute(SecondaryStructureResidue self, ParticleIndexKey a0, Particle a1)
7143 add_attribute(SecondaryStructureResidue self, ObjectKey a0, Object a1)
7145 return _IMP_atom.SecondaryStructureResidue_add_attribute(self, *args)
7148 def get_value(self, *args):
7150 get_value(SecondaryStructureResidue self, FloatKey a0) -> IMP::Float
7151 get_value(SecondaryStructureResidue self, IntKey a0) -> IMP::Int
7152 get_value(SecondaryStructureResidue self, StringKey a0) -> IMP::String
7153 get_value(SecondaryStructureResidue self, ParticleIndexKey a0) -> Particle
7154 get_value(SecondaryStructureResidue self, ObjectKey a0) -> Object
7156 return _IMP_atom.SecondaryStructureResidue_get_value(self, *args)
7159 def set_value(self, *args):
7161 set_value(SecondaryStructureResidue self, FloatKey a0, IMP::Float a1)
7162 set_value(SecondaryStructureResidue self, IntKey a0, IMP::Int a1)
7163 set_value(SecondaryStructureResidue self, StringKey a0, IMP::String a1)
7164 set_value(SecondaryStructureResidue self, ParticleIndexKey a0, Particle a1)
7165 set_value(SecondaryStructureResidue self, ObjectKey a0, Object a1)
7167 return _IMP_atom.SecondaryStructureResidue_set_value(self, *args)
7170 def remove_attribute(self, *args):
7172 remove_attribute(SecondaryStructureResidue self, FloatKey a0)
7173 remove_attribute(SecondaryStructureResidue self, IntKey a0)
7174 remove_attribute(SecondaryStructureResidue self, StringKey a0)
7175 remove_attribute(SecondaryStructureResidue self, ParticleIndexKey a0)
7176 remove_attribute(SecondaryStructureResidue self, ObjectKey a0)
7178 return _IMP_atom.SecondaryStructureResidue_remove_attribute(self, *args)
7181 def has_attribute(self, *args):
7183 has_attribute(SecondaryStructureResidue self, FloatKey a0) -> bool
7184 has_attribute(SecondaryStructureResidue self, IntKey a0) -> bool
7185 has_attribute(SecondaryStructureResidue self, StringKey a0) -> bool
7186 has_attribute(SecondaryStructureResidue self, ParticleIndexKey a0) -> bool
7187 has_attribute(SecondaryStructureResidue self, ObjectKey a0) -> bool
7189 return _IMP_atom.SecondaryStructureResidue_has_attribute(self, *args)
7192 def get_derivative(self, a0):
7193 """get_derivative(SecondaryStructureResidue self, FloatKey a0) -> double"""
7194 return _IMP_atom.SecondaryStructureResidue_get_derivative(self, a0)
7198 """get_name(SecondaryStructureResidue self) -> std::string"""
7199 return _IMP_atom.SecondaryStructureResidue_get_name(self)
7202 def clear_caches(self):
7203 """clear_caches(SecondaryStructureResidue self)"""
7204 return _IMP_atom.SecondaryStructureResidue_clear_caches(self)
7207 def set_name(self, a0):
7208 """set_name(SecondaryStructureResidue self, std::string a0)"""
7209 return _IMP_atom.SecondaryStructureResidue_set_name(self, a0)
7213 """set_check_level(SecondaryStructureResidue self, IMP::CheckLevel a0)"""
7214 return _IMP_atom.SecondaryStructureResidue_set_check_level(self, a0)
7217 def add_to_derivative(self, a0, a1, a2):
7218 """add_to_derivative(SecondaryStructureResidue self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
7219 return _IMP_atom.SecondaryStructureResidue_add_to_derivative(self, a0, a1, a2)
7222 def set_is_optimized(self, a0, a1):
7223 """set_is_optimized(SecondaryStructureResidue self, FloatKey a0, bool a1)"""
7224 return _IMP_atom.SecondaryStructureResidue_set_is_optimized(self, a0, a1)
7227 def get_is_optimized(self, a0):
7228 """get_is_optimized(SecondaryStructureResidue self, FloatKey a0) -> bool"""
7229 return _IMP_atom.SecondaryStructureResidue_get_is_optimized(self, a0)
7233 """get_check_level(SecondaryStructureResidue self) -> IMP::CheckLevel"""
7234 return _IMP_atom.SecondaryStructureResidue_get_check_level(self)
7237 def __eq__(self, *args):
7239 __eq__(SecondaryStructureResidue self, SecondaryStructureResidue o) -> bool
7240 __eq__(SecondaryStructureResidue self, Particle d) -> bool
7242 return _IMP_atom.SecondaryStructureResidue___eq__(self, *args)
7245 def __ne__(self, *args):
7247 __ne__(SecondaryStructureResidue self, SecondaryStructureResidue o) -> bool
7248 __ne__(SecondaryStructureResidue self, Particle d) -> bool
7250 return _IMP_atom.SecondaryStructureResidue___ne__(self, *args)
7253 def __le__(self, *args):
7255 __le__(SecondaryStructureResidue self, SecondaryStructureResidue o) -> bool
7256 __le__(SecondaryStructureResidue self, Particle d) -> bool
7258 return _IMP_atom.SecondaryStructureResidue___le__(self, *args)
7261 def __lt__(self, *args):
7263 __lt__(SecondaryStructureResidue self, SecondaryStructureResidue o) -> bool
7264 __lt__(SecondaryStructureResidue self, Particle d) -> bool
7266 return _IMP_atom.SecondaryStructureResidue___lt__(self, *args)
7269 def __ge__(self, *args):
7271 __ge__(SecondaryStructureResidue self, SecondaryStructureResidue o) -> bool
7272 __ge__(SecondaryStructureResidue self, Particle d) -> bool
7274 return _IMP_atom.SecondaryStructureResidue___ge__(self, *args)
7277 def __gt__(self, *args):
7279 __gt__(SecondaryStructureResidue self, SecondaryStructureResidue o) -> bool
7280 __gt__(SecondaryStructureResidue self, Particle d) -> bool
7282 return _IMP_atom.SecondaryStructureResidue___gt__(self, *args)
7286 """__hash__(SecondaryStructureResidue self) -> std::size_t"""
7287 return _IMP_atom.SecondaryStructureResidue___hash__(self)
7291 """__str__(SecondaryStructureResidue self) -> std::string"""
7292 return _IMP_atom.SecondaryStructureResidue___str__(self)
7296 """__repr__(SecondaryStructureResidue self) -> std::string"""
7297 return _IMP_atom.SecondaryStructureResidue___repr__(self)
7299 __swig_destroy__ = _IMP_atom.delete_SecondaryStructureResidue
7300 __del__ =
lambda self:
None
7301 SecondaryStructureResidue_swigregister = _IMP_atom.SecondaryStructureResidue_swigregister
7302 SecondaryStructureResidue_swigregister(SecondaryStructureResidue)
7304 def SecondaryStructureResidue_setup_particle(*args):
7306 setup_particle(Model m, ParticleIndex pi, IMP::Float prob_helix, IMP::Float prob_strand, IMP::Float prob_coil) -> SecondaryStructureResidue
7307 setup_particle(_ParticleAdaptor decorator, IMP::Float prob_helix, IMP::Float prob_strand, IMP::Float prob_coil) -> SecondaryStructureResidue
7308 SecondaryStructureResidue_setup_particle(Particle res_p) -> SecondaryStructureResidue
7310 return _IMP_atom.SecondaryStructureResidue_setup_particle(*args)
7312 def SecondaryStructureResidue_get_is_setup(*args):
7314 get_is_setup(_ParticleAdaptor p) -> bool
7315 SecondaryStructureResidue_get_is_setup(Model m, ParticleIndex pi) -> bool
7317 return _IMP_atom.SecondaryStructureResidue_get_is_setup(*args)
7319 def SecondaryStructureResidue_get_prob_helix_key():
7320 """SecondaryStructureResidue_get_prob_helix_key() -> FloatKey"""
7321 return _IMP_atom.SecondaryStructureResidue_get_prob_helix_key()
7323 def SecondaryStructureResidue_get_prob_strand_key():
7324 """SecondaryStructureResidue_get_prob_strand_key() -> FloatKey"""
7325 return _IMP_atom.SecondaryStructureResidue_get_prob_strand_key()
7327 def SecondaryStructureResidue_get_prob_coil_key():
7328 """SecondaryStructureResidue_get_prob_coil_key() -> FloatKey"""
7329 return _IMP_atom.SecondaryStructureResidue_get_prob_coil_key()
7334 setup_coarse_secondary_structure_residue(IMP::Particles const & ssr_ps, Model mdl, bool winner_takes_all_per_res=False) -> SecondaryStructureResidue
7335 setup_coarse_secondary_structure_residue(IMP::Particles const & ssr_ps, Model mdl) -> SecondaryStructureResidue
7337 return _IMP_atom.setup_coarse_secondary_structure_residue(ssr_ps, mdl, winner_takes_all_per_res)
7341 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
7342 setup_coarse_secondary_structure_residues(IMP::Particles const & ssr_ps, Model mdl, int coarse_factor, int start_res_num) -> IMP::atom::SecondaryStructureResidues
7344 return _IMP_atom.setup_coarse_secondary_structure_residues(ssr_ps, mdl, coarse_factor, start_res_num, winner_takes_all_per_res)
7347 """get_secondary_structure_match_score(SecondaryStructureResidue ssr1, SecondaryStructureResidue ssr2) -> IMP::Float"""
7348 return _IMP_atom.get_secondary_structure_match_score(ssr1, ssr2)
7350 def read_psipred(*args):
7352 read_psipred(TextInput inf, Model mdl) -> IMP::atom::SecondaryStructureResidues
7353 read_psipred(TextInput inf, IMP::Particles ps) -> IMP::atom::SecondaryStructureResidues
7355 return _IMP_atom.read_psipred(*args)
7357 """Proxy of C++ IMP::score_functor::DistancePairScore<(IMP::score_functor::Dope)> class"""
7358 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7359 __repr__ = _swig_repr
7361 def __init__(self, *args):
7363 __init__(IMP::score_functor::DistancePairScore<(IMP::score_functor::Dope)> self, Dope t0, std::string name) -> _ADopeBase
7364 __init__(IMP::score_functor::DistancePairScore<(IMP::score_functor::Dope)> self, Dope t0) -> _ADopeBase
7366 this = _IMP_atom.new__ADopeBase(*args)
7368 self.this.append(this)
7372 def do_get_inputs(self, m, pis):
7373 """do_get_inputs(_ADopeBase self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7374 return _IMP_atom._ADopeBase_do_get_inputs(self, m, pis)
7377 def get_score_functor(self):
7378 """get_score_functor(_ADopeBase self) -> Dope"""
7379 return _IMP_atom._ADopeBase_get_score_functor(self)
7382 def get_version_info(self):
7383 """get_version_info(_ADopeBase self) -> VersionInfo"""
7384 return _IMP_atom._ADopeBase_get_version_info(self)
7386 _ADopeBase_swigregister = _IMP_atom._ADopeBase_swigregister
7387 _ADopeBase_swigregister(_ADopeBase)
7390 """Proxy of C++ IMP::score_functor::DistancePairScore<(IMP::score_functor::Statistical<(IMP::atom::DopeType,false,true,false)>)> class"""
7391 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7392 __repr__ = _swig_repr
7394 def __init__(self, *args):
7396 __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
7397 __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
7399 this = _IMP_atom.new__BDopeBase(*args)
7401 self.this.append(this)
7405 def do_get_inputs(self, m, pis):
7406 """do_get_inputs(_BDopeBase self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7407 return _IMP_atom._BDopeBase_do_get_inputs(self, m, pis)
7410 def get_score_functor(self):
7411 """get_score_functor(_BDopeBase self) -> _DopeBase"""
7412 return _IMP_atom._BDopeBase_get_score_functor(self)
7415 def get_version_info(self):
7416 """get_version_info(_BDopeBase self) -> VersionInfo"""
7417 return _IMP_atom._BDopeBase_get_version_info(self)
7419 _BDopeBase_swigregister = _IMP_atom._BDopeBase_swigregister
7420 _BDopeBase_swigregister(_BDopeBase)
7423 """Proxy of C++ IMP::score_functor::DistancePairScore<(IMP::score_functor::OrientedSoap)> class"""
7424 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7425 __repr__ = _swig_repr
7427 def __init__(self, *args):
7429 __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
7430 __init__(IMP::score_functor::DistancePairScore<(IMP::score_functor::OrientedSoap)> self, IMP::score_functor::DistancePairScore< IMP::score_functor::OrientedSoap >::DistanceScore const & t0) -> _OrientedSoapBase
7432 this = _IMP_atom.new__OrientedSoapBase(*args)
7434 self.this.append(this)
7438 def do_get_inputs(self, m, pis):
7439 """do_get_inputs(_OrientedSoapBase self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7440 return _IMP_atom._OrientedSoapBase_do_get_inputs(self, m, pis)
7443 def get_score_functor(self):
7444 """get_score_functor(_OrientedSoapBase self) -> IMP::score_functor::OrientedSoap &"""
7445 return _IMP_atom._OrientedSoapBase_get_score_functor(self)
7448 def get_version_info(self):
7449 """get_version_info(_OrientedSoapBase self) -> VersionInfo"""
7450 return _IMP_atom._OrientedSoapBase_get_version_info(self)
7452 _OrientedSoapBase_swigregister = _IMP_atom._OrientedSoapBase_swigregister
7453 _OrientedSoapBase_swigregister(_OrientedSoapBase)
7456 """Proxy of C++ IMP::score_functor::DistancePairScore<(IMP::score_functor::Statistical<(IMP::atom::ProteinLigandType,true,false)>)> class"""
7457 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7458 __repr__ = _swig_repr
7460 def __init__(self, *args):
7462 __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
7463 __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
7465 this = _IMP_atom.new__SPSFTB(*args)
7467 self.this.append(this)
7471 def do_get_inputs(self, m, pis):
7472 """do_get_inputs(_SPSFTB self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7473 return _IMP_atom._SPSFTB_do_get_inputs(self, m, pis)
7476 def get_score_functor(self):
7477 """get_score_functor(_SPSFTB self) -> IMP::score_functor::Statistical< IMP::atom::ProteinLigandType,true,false,false > &"""
7478 return _IMP_atom._SPSFTB_get_score_functor(self)
7481 def get_version_info(self):
7482 """get_version_info(_SPSFTB self) -> VersionInfo"""
7483 return _IMP_atom._SPSFTB_get_version_info(self)
7485 _SPSFTB_swigregister = _IMP_atom._SPSFTB_swigregister
7486 _SPSFTB_swigregister(_SPSFTB)
7488 class _SPSTF(_SPSFTB):
7489 """Proxy of C++ IMP::core::StatisticalPairScore<(IMP::atom::ProteinLigandType,true,false)> class"""
7490 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7491 __repr__ = _swig_repr
7493 def __init__(self, *args):
7495 __init__(IMP::core::StatisticalPairScore<(IMP::atom::ProteinLigandType,true,false)> self, IntKey k, double threshold, TextInput data_file) -> _SPSTF
7496 __init__(IMP::core::StatisticalPairScore<(IMP::atom::ProteinLigandType,true,false)> self, IntKey k, double threshold, TextInput data_file, unsigned int shift) -> _SPSTF
7498 this = _IMP_atom.new__SPSTF(*args)
7500 self.this.append(this)
7503 __swig_destroy__ = _IMP_atom.delete__SPSTF
7504 __del__ =
lambda self:
None
7505 _SPSTF_swigregister = _IMP_atom._SPSTF_swigregister
7506 _SPSTF_swigregister(_SPSTF)
7508 class _SPSFT(_BDopeBase):
7509 """Proxy of C++ IMP::core::StatisticalPairScore<(IMP::atom::DopeType,false,true)> class"""
7510 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7511 __repr__ = _swig_repr
7513 def __init__(self, *args):
7515 __init__(IMP::core::StatisticalPairScore<(IMP::atom::DopeType,false,true)> self, IntKey k, double threshold, TextInput data_file) -> _SPSFT
7516 __init__(IMP::core::StatisticalPairScore<(IMP::atom::DopeType,false,true)> self, IntKey k, double threshold, TextInput data_file, unsigned int shift) -> _SPSFT
7518 this = _IMP_atom.new__SPSFT(*args)
7520 self.this.append(this)
7523 __swig_destroy__ = _IMP_atom.delete__SPSFT
7524 __del__ =
lambda self:
None
7525 _SPSFT_swigregister = _IMP_atom._SPSFT_swigregister
7526 _SPSFT_swigregister(_SPSFT)
7528 class ProteinLigandAtomPairScore(_SPSTF):
7529 """Proxy of C++ IMP::atom::ProteinLigandAtomPairScore class"""
7530 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7532 def __init__(self, *args):
7534 __init__(IMP::atom::ProteinLigandAtomPairScore self, double threshold) -> ProteinLigandAtomPairScore
7535 __init__(IMP::atom::ProteinLigandAtomPairScore self) -> ProteinLigandAtomPairScore
7536 __init__(IMP::atom::ProteinLigandAtomPairScore self, double threshold, TextInput data_file) -> ProteinLigandAtomPairScore
7538 this = _IMP_atom.new_ProteinLigandAtomPairScore(*args)
7540 self.this.append(this)
7544 def get_maximum_distance(self):
7545 """get_maximum_distance(ProteinLigandAtomPairScore self) -> double"""
7546 return _IMP_atom.ProteinLigandAtomPairScore_get_maximum_distance(self)
7550 """__str__(ProteinLigandAtomPairScore self) -> std::string"""
7551 return _IMP_atom.ProteinLigandAtomPairScore___str__(self)
7555 """__repr__(ProteinLigandAtomPairScore self) -> std::string"""
7556 return _IMP_atom.ProteinLigandAtomPairScore___repr__(self)
7559 return _object_cast_to_ProteinLigandAtomPairScore(o)
7560 get_from = staticmethod(get_from)
7562 __swig_destroy__ = _IMP_atom.delete_ProteinLigandAtomPairScore
7563 __del__ =
lambda self:
None
7564 ProteinLigandAtomPairScore_swigregister = _IMP_atom.ProteinLigandAtomPairScore_swigregister
7565 ProteinLigandAtomPairScore_swigregister(ProteinLigandAtomPairScore)
7568 """Proxy of C++ IMP::atom::ProteinLigandRestraint class"""
7569 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7571 def __init__(self, *args):
7573 __init__(IMP::atom::ProteinLigandRestraint self, Hierarchy protein, Hierarchy ligand, double threshold) -> ProteinLigandRestraint
7574 __init__(IMP::atom::ProteinLigandRestraint self, Hierarchy protein, Hierarchy ligand) -> ProteinLigandRestraint
7575 __init__(IMP::atom::ProteinLigandRestraint self, Hierarchy protein, Hierarchy ligand, double threshold, TextInput data_file) -> ProteinLigandRestraint
7577 this = _IMP_atom.new_ProteinLigandRestraint(*args)
7579 self.this.append(this)
7584 """__str__(ProteinLigandRestraint self) -> std::string"""
7585 return _IMP_atom.ProteinLigandRestraint___str__(self)
7589 """__repr__(ProteinLigandRestraint self) -> std::string"""
7590 return _IMP_atom.ProteinLigandRestraint___repr__(self)
7593 return _object_cast_to_ProteinLigandRestraint(o)
7594 get_from = staticmethod(get_from)
7596 __swig_destroy__ = _IMP_atom.delete_ProteinLigandRestraint
7597 __del__ =
lambda self:
None
7598 ProteinLigandRestraint_swigregister = _IMP_atom.ProteinLigandRestraint_swigregister
7599 ProteinLigandRestraint_swigregister(ProteinLigandRestraint)
7603 """add_protein_ligand_score_data(Hierarchy h)"""
7604 return _IMP_atom.add_protein_ligand_score_data(h)
7605 class AtomType(IMP._Value):
7606 """Proxy of C++ IMP::Key<(8974343,false)> class"""
7607 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7609 def __init__(self, *args):
7611 __init__(IMP::Key<(8974343,false)> self) -> AtomType
7612 __init__(IMP::Key<(8974343,false)> self, std::string c) -> AtomType
7613 __init__(IMP::Key<(8974343,false)> self, unsigned int i) -> AtomType
7615 this = _IMP_atom.new_AtomType(*args)
7617 self.this.append(this)
7622 """add_key(std::string sc) -> unsigned int"""
7623 return _IMP_atom.AtomType_add_key(sc)
7625 add_key = staticmethod(add_key)
7627 def get_key_exists(sc):
7628 """get_key_exists(std::string sc) -> bool"""
7629 return _IMP_atom.AtomType_get_key_exists(sc)
7631 get_key_exists = staticmethod(get_key_exists)
7633 def get_string(self):
7634 """get_string(AtomType self) -> std::string const"""
7635 return _IMP_atom.AtomType_get_string(self)
7638 def __cmp__(self, o):
7639 """__cmp__(AtomType self, AtomType o) -> int"""
7640 return _IMP_atom.AtomType___cmp__(self, o)
7643 def __eq__(self, o):
7644 """__eq__(AtomType self, AtomType o) -> bool"""
7645 return _IMP_atom.AtomType___eq__(self, o)
7648 def __ne__(self, o):
7649 """__ne__(AtomType self, AtomType o) -> bool"""
7650 return _IMP_atom.AtomType___ne__(self, o)
7653 def __lt__(self, o):
7654 """__lt__(AtomType self, AtomType o) -> bool"""
7655 return _IMP_atom.AtomType___lt__(self, o)
7658 def __gt__(self, o):
7659 """__gt__(AtomType self, AtomType o) -> bool"""
7660 return _IMP_atom.AtomType___gt__(self, o)
7663 def __ge__(self, o):
7664 """__ge__(AtomType self, AtomType o) -> bool"""
7665 return _IMP_atom.AtomType___ge__(self, o)
7668 def __le__(self, o):
7669 """__le__(AtomType self, AtomType o) -> bool"""
7670 return _IMP_atom.AtomType___le__(self, o)
7674 """__hash__(AtomType self) -> std::size_t"""
7675 return _IMP_atom.AtomType___hash__(self)
7678 def show(self, *args):
7680 show(AtomType self, _ostream out)
7683 return _IMP_atom.AtomType_show(self, *args)
7686 def add_alias(old_key, new_name):
7687 """add_alias(AtomType old_key, std::string new_name) -> AtomType"""
7688 return _IMP_atom.AtomType_add_alias(old_key, new_name)
7690 add_alias = staticmethod(add_alias)
7693 """get_index(AtomType self) -> unsigned int"""
7694 return _IMP_atom.AtomType_get_index(self)
7698 """show_all(_ostream out)"""
7699 return _IMP_atom.AtomType_show_all(out)
7701 show_all = staticmethod(show_all)
7703 def get_all_strings():
7704 """get_all_strings() -> IMP::Vector< std::string >"""
7705 return _IMP_atom.AtomType_get_all_strings()
7707 get_all_strings = staticmethod(get_all_strings)
7709 def get_number_unique():
7710 """get_number_unique() -> unsigned int"""
7711 return _IMP_atom.AtomType_get_number_unique()
7713 get_number_unique = staticmethod(get_number_unique)
7716 """__str__(AtomType self) -> std::string"""
7717 return _IMP_atom.AtomType___str__(self)
7721 """__repr__(AtomType self) -> std::string"""
7722 return _IMP_atom.AtomType___repr__(self)
7724 __swig_destroy__ = _IMP_atom.delete_AtomType
7725 __del__ =
lambda self:
None
7726 AtomType_swigregister = _IMP_atom.AtomType_swigregister
7727 AtomType_swigregister(AtomType)
7729 def AtomType_add_key(sc):
7730 """AtomType_add_key(std::string sc) -> unsigned int"""
7731 return _IMP_atom.AtomType_add_key(sc)
7733 def AtomType_get_key_exists(sc):
7734 """AtomType_get_key_exists(std::string sc) -> bool"""
7735 return _IMP_atom.AtomType_get_key_exists(sc)
7737 def AtomType_add_alias(old_key, new_name):
7738 """AtomType_add_alias(AtomType old_key, std::string new_name) -> AtomType"""
7739 return _IMP_atom.AtomType_add_alias(old_key, new_name)
7741 def AtomType_show_all(out):
7742 """AtomType_show_all(_ostream out)"""
7743 return _IMP_atom.AtomType_show_all(out)
7745 def AtomType_get_all_strings():
7746 """AtomType_get_all_strings() -> IMP::Vector< std::string >"""
7747 return _IMP_atom.AtomType_get_all_strings()
7749 def AtomType_get_number_unique():
7750 """AtomType_get_number_unique() -> unsigned int"""
7751 return _IMP_atom.AtomType_get_number_unique()
7753 class ResidueType(IMP._Value):
7754 """Proxy of C++ IMP::Key<(90784334,true)> class"""
7755 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7757 def __init__(self, *args):
7759 __init__(IMP::Key<(90784334,true)> self) -> ResidueType
7760 __init__(IMP::Key<(90784334,true)> self, std::string c) -> ResidueType
7761 __init__(IMP::Key<(90784334,true)> self, unsigned int i) -> ResidueType
7763 this = _IMP_atom.new_ResidueType(*args)
7765 self.this.append(this)
7770 """add_key(std::string sc) -> unsigned int"""
7771 return _IMP_atom.ResidueType_add_key(sc)
7773 add_key = staticmethod(add_key)
7775 def get_key_exists(sc):
7776 """get_key_exists(std::string sc) -> bool"""
7777 return _IMP_atom.ResidueType_get_key_exists(sc)
7779 get_key_exists = staticmethod(get_key_exists)
7781 def get_string(self):
7782 """get_string(ResidueType self) -> std::string const"""
7783 return _IMP_atom.ResidueType_get_string(self)
7786 def __cmp__(self, o):
7787 """__cmp__(ResidueType self, ResidueType o) -> int"""
7788 return _IMP_atom.ResidueType___cmp__(self, o)
7791 def __eq__(self, o):
7792 """__eq__(ResidueType self, ResidueType o) -> bool"""
7793 return _IMP_atom.ResidueType___eq__(self, o)
7796 def __ne__(self, o):
7797 """__ne__(ResidueType self, ResidueType o) -> bool"""
7798 return _IMP_atom.ResidueType___ne__(self, o)
7801 def __lt__(self, o):
7802 """__lt__(ResidueType self, ResidueType o) -> bool"""
7803 return _IMP_atom.ResidueType___lt__(self, o)
7806 def __gt__(self, o):
7807 """__gt__(ResidueType self, ResidueType o) -> bool"""
7808 return _IMP_atom.ResidueType___gt__(self, o)
7811 def __ge__(self, o):
7812 """__ge__(ResidueType self, ResidueType o) -> bool"""
7813 return _IMP_atom.ResidueType___ge__(self, o)
7816 def __le__(self, o):
7817 """__le__(ResidueType self, ResidueType o) -> bool"""
7818 return _IMP_atom.ResidueType___le__(self, o)
7822 """__hash__(ResidueType self) -> std::size_t"""
7823 return _IMP_atom.ResidueType___hash__(self)
7826 def show(self, *args):
7828 show(ResidueType self, _ostream out)
7829 show(ResidueType self)
7831 return _IMP_atom.ResidueType_show(self, *args)
7834 def add_alias(old_key, new_name):
7835 """add_alias(ResidueType old_key, std::string new_name) -> ResidueType"""
7836 return _IMP_atom.ResidueType_add_alias(old_key, new_name)
7838 add_alias = staticmethod(add_alias)
7841 """get_index(ResidueType self) -> unsigned int"""
7842 return _IMP_atom.ResidueType_get_index(self)
7846 """show_all(_ostream out)"""
7847 return _IMP_atom.ResidueType_show_all(out)
7849 show_all = staticmethod(show_all)
7851 def get_all_strings():
7852 """get_all_strings() -> IMP::Vector< std::string >"""
7853 return _IMP_atom.ResidueType_get_all_strings()
7855 get_all_strings = staticmethod(get_all_strings)
7857 def get_number_unique():
7858 """get_number_unique() -> unsigned int"""
7859 return _IMP_atom.ResidueType_get_number_unique()
7861 get_number_unique = staticmethod(get_number_unique)
7864 """__str__(ResidueType self) -> std::string"""
7865 return _IMP_atom.ResidueType___str__(self)
7869 """__repr__(ResidueType self) -> std::string"""
7870 return _IMP_atom.ResidueType___repr__(self)
7872 __swig_destroy__ = _IMP_atom.delete_ResidueType
7873 __del__ =
lambda self:
None
7874 ResidueType_swigregister = _IMP_atom.ResidueType_swigregister
7875 ResidueType_swigregister(ResidueType)
7877 def ResidueType_add_key(sc):
7878 """ResidueType_add_key(std::string sc) -> unsigned int"""
7879 return _IMP_atom.ResidueType_add_key(sc)
7881 def ResidueType_get_key_exists(sc):
7882 """ResidueType_get_key_exists(std::string sc) -> bool"""
7883 return _IMP_atom.ResidueType_get_key_exists(sc)
7885 def ResidueType_add_alias(old_key, new_name):
7886 """ResidueType_add_alias(ResidueType old_key, std::string new_name) -> ResidueType"""
7887 return _IMP_atom.ResidueType_add_alias(old_key, new_name)
7889 def ResidueType_show_all(out):
7890 """ResidueType_show_all(_ostream out)"""
7891 return _IMP_atom.ResidueType_show_all(out)
7893 def ResidueType_get_all_strings():
7894 """ResidueType_get_all_strings() -> IMP::Vector< std::string >"""
7895 return _IMP_atom.ResidueType_get_all_strings()
7897 def ResidueType_get_number_unique():
7898 """ResidueType_get_number_unique() -> unsigned int"""
7899 return _IMP_atom.ResidueType_get_number_unique()
7902 _IMP_atom.UNKNOWN_ELEMENT_swigconstant(_IMP_atom)
7903 UNKNOWN_ELEMENT = _IMP_atom.UNKNOWN_ELEMENT
7905 _IMP_atom.OH_swigconstant(_IMP_atom)
7908 _IMP_atom.H2O_swigconstant(_IMP_atom)
7911 _IMP_atom.H_swigconstant(_IMP_atom)
7914 _IMP_atom.He_swigconstant(_IMP_atom)
7917 _IMP_atom.Li_swigconstant(_IMP_atom)
7920 _IMP_atom.Be_swigconstant(_IMP_atom)
7923 _IMP_atom.B_swigconstant(_IMP_atom)
7926 _IMP_atom.C_swigconstant(_IMP_atom)
7929 _IMP_atom.N_swigconstant(_IMP_atom)
7932 _IMP_atom.O_swigconstant(_IMP_atom)
7935 _IMP_atom.F_swigconstant(_IMP_atom)
7938 _IMP_atom.Ne_swigconstant(_IMP_atom)
7941 _IMP_atom.Na_swigconstant(_IMP_atom)
7944 _IMP_atom.Mg_swigconstant(_IMP_atom)
7947 _IMP_atom.Al_swigconstant(_IMP_atom)
7950 _IMP_atom.Si_swigconstant(_IMP_atom)
7953 _IMP_atom.P_swigconstant(_IMP_atom)
7956 _IMP_atom.S_swigconstant(_IMP_atom)
7959 _IMP_atom.Cl_swigconstant(_IMP_atom)
7962 _IMP_atom.Ar_swigconstant(_IMP_atom)
7965 _IMP_atom.K_swigconstant(_IMP_atom)
7968 _IMP_atom.Ca_swigconstant(_IMP_atom)
7971 _IMP_atom.Sc_swigconstant(_IMP_atom)
7974 _IMP_atom.Ti_swigconstant(_IMP_atom)
7977 _IMP_atom.V_swigconstant(_IMP_atom)
7980 _IMP_atom.Cr_swigconstant(_IMP_atom)
7983 _IMP_atom.Mn_swigconstant(_IMP_atom)
7986 _IMP_atom.Fe_swigconstant(_IMP_atom)
7989 _IMP_atom.Co_swigconstant(_IMP_atom)
7992 _IMP_atom.Ni_swigconstant(_IMP_atom)
7995 _IMP_atom.Cu_swigconstant(_IMP_atom)
7998 _IMP_atom.Zn_swigconstant(_IMP_atom)
8001 _IMP_atom.Ga_swigconstant(_IMP_atom)
8004 _IMP_atom.Ge_swigconstant(_IMP_atom)
8007 _IMP_atom.As_swigconstant(_IMP_atom)
8010 _IMP_atom.Se_swigconstant(_IMP_atom)
8013 _IMP_atom.Br_swigconstant(_IMP_atom)
8016 _IMP_atom.Kr_swigconstant(_IMP_atom)
8019 _IMP_atom.Rb_swigconstant(_IMP_atom)
8022 _IMP_atom.Sr_swigconstant(_IMP_atom)
8025 _IMP_atom.Y_swigconstant(_IMP_atom)
8028 _IMP_atom.Zr_swigconstant(_IMP_atom)
8031 _IMP_atom.Nb_swigconstant(_IMP_atom)
8034 _IMP_atom.Mo_swigconstant(_IMP_atom)
8037 _IMP_atom.Tc_swigconstant(_IMP_atom)
8040 _IMP_atom.Ru_swigconstant(_IMP_atom)
8043 _IMP_atom.Rh_swigconstant(_IMP_atom)
8046 _IMP_atom.Pd_swigconstant(_IMP_atom)
8049 _IMP_atom.Ag_swigconstant(_IMP_atom)
8052 _IMP_atom.Cd_swigconstant(_IMP_atom)
8055 _IMP_atom.In_swigconstant(_IMP_atom)
8058 _IMP_atom.Sn_swigconstant(_IMP_atom)
8061 _IMP_atom.Sb_swigconstant(_IMP_atom)
8064 _IMP_atom.Te_swigconstant(_IMP_atom)
8067 _IMP_atom.I_swigconstant(_IMP_atom)
8070 _IMP_atom.Xe_swigconstant(_IMP_atom)
8073 _IMP_atom.Cs_swigconstant(_IMP_atom)
8076 _IMP_atom.Ba_swigconstant(_IMP_atom)
8079 _IMP_atom.La_swigconstant(_IMP_atom)
8082 _IMP_atom.Ce_swigconstant(_IMP_atom)
8085 _IMP_atom.Pr_swigconstant(_IMP_atom)
8088 _IMP_atom.Nd_swigconstant(_IMP_atom)
8091 _IMP_atom.Pm_swigconstant(_IMP_atom)
8094 _IMP_atom.Sm_swigconstant(_IMP_atom)
8097 _IMP_atom.Eu_swigconstant(_IMP_atom)
8100 _IMP_atom.Gd_swigconstant(_IMP_atom)
8103 _IMP_atom.Tb_swigconstant(_IMP_atom)
8106 _IMP_atom.Dy_swigconstant(_IMP_atom)
8109 _IMP_atom.Ho_swigconstant(_IMP_atom)
8112 _IMP_atom.Er_swigconstant(_IMP_atom)
8115 _IMP_atom.Tm_swigconstant(_IMP_atom)
8118 _IMP_atom.Yb_swigconstant(_IMP_atom)
8121 _IMP_atom.Lu_swigconstant(_IMP_atom)
8124 _IMP_atom.Hf_swigconstant(_IMP_atom)
8127 _IMP_atom.Ta_swigconstant(_IMP_atom)
8130 _IMP_atom.W_swigconstant(_IMP_atom)
8133 _IMP_atom.Re_swigconstant(_IMP_atom)
8136 _IMP_atom.Os_swigconstant(_IMP_atom)
8139 _IMP_atom.Ir_swigconstant(_IMP_atom)
8142 _IMP_atom.Pt_swigconstant(_IMP_atom)
8145 _IMP_atom.Au_swigconstant(_IMP_atom)
8148 _IMP_atom.Hg_swigconstant(_IMP_atom)
8151 _IMP_atom.Tl_swigconstant(_IMP_atom)
8154 _IMP_atom.Pb_swigconstant(_IMP_atom)
8157 _IMP_atom.Bi_swigconstant(_IMP_atom)
8160 _IMP_atom.Po_swigconstant(_IMP_atom)
8163 _IMP_atom.At_swigconstant(_IMP_atom)
8166 _IMP_atom.Rn_swigconstant(_IMP_atom)
8169 _IMP_atom.Fr_swigconstant(_IMP_atom)
8172 _IMP_atom.Ra_swigconstant(_IMP_atom)
8175 _IMP_atom.Ac_swigconstant(_IMP_atom)
8178 _IMP_atom.Th_swigconstant(_IMP_atom)
8181 _IMP_atom.Pa_swigconstant(_IMP_atom)
8184 _IMP_atom.U_swigconstant(_IMP_atom)
8187 _IMP_atom.Np_swigconstant(_IMP_atom)
8190 _IMP_atom.Pu_swigconstant(_IMP_atom)
8193 _IMP_atom.Am_swigconstant(_IMP_atom)
8196 _IMP_atom.Cm_swigconstant(_IMP_atom)
8199 _IMP_atom.Bk_swigconstant(_IMP_atom)
8202 _IMP_atom.Cf_swigconstant(_IMP_atom)
8205 _IMP_atom.Es_swigconstant(_IMP_atom)
8208 _IMP_atom.Fm_swigconstant(_IMP_atom)
8211 _IMP_atom.Md_swigconstant(_IMP_atom)
8214 _IMP_atom.No_swigconstant(_IMP_atom)
8217 _IMP_atom.Lr_swigconstant(_IMP_atom)
8220 _IMP_atom.Db_swigconstant(_IMP_atom)
8223 _IMP_atom.Jl_swigconstant(_IMP_atom)
8226 _IMP_atom.Rf_swigconstant(_IMP_atom)
8229 _IMP_atom.NUMBER_OF_ELEMENTS_swigconstant(_IMP_atom)
8230 NUMBER_OF_ELEMENTS = _IMP_atom.NUMBER_OF_ELEMENTS
8233 """hash_value(IMP::atom::Element e) -> size_t"""
8234 return _IMP_atom.hash_value(e)
8235 class ElementTable(object):
8236 """Proxy of C++ IMP::atom::ElementTable class"""
8237 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8238 __repr__ = _swig_repr
8241 """__init__(IMP::atom::ElementTable self) -> ElementTable"""
8242 this = _IMP_atom.new_ElementTable()
8244 self.this.append(this)
8248 def get_element(self, s):
8249 """get_element(ElementTable self, std::string const & s) -> IMP::atom::Element"""
8250 return _IMP_atom.ElementTable_get_element(self, s)
8253 def get_name(self, e):
8254 """get_name(ElementTable self, IMP::atom::Element e) -> std::string"""
8255 return _IMP_atom.ElementTable_get_name(self, e)
8259 """get_mass(ElementTable self, IMP::atom::Element e) -> IMP::Float"""
8260 return _IMP_atom.ElementTable_get_mass(self, e)
8262 __swig_destroy__ = _IMP_atom.delete_ElementTable
8263 __del__ =
lambda self:
None
8264 ElementTable_swigregister = _IMP_atom.ElementTable_swigregister
8265 ElementTable_swigregister(ElementTable)
8268 def get_element_table():
8269 """get_element_table() -> ElementTable"""
8270 return _IMP_atom.get_element_table()
8271 class Atom(Hierarchy):
8272 """Proxy of C++ IMP::atom::Atom class"""
8273 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8275 def __init__(self, *args):
8277 __init__(IMP::atom::Atom self) -> Atom
8278 __init__(IMP::atom::Atom self, Model m, ParticleIndex id) -> Atom
8279 __init__(IMP::atom::Atom self, _ParticleAdaptor d) -> Atom
8281 this = _IMP_atom.new_Atom(*args)
8283 self.this.append(this)
8287 def show(self, *args):
8289 show(Atom self, _ostream out)
8292 return _IMP_atom.Atom_show(self, *args)
8295 def setup_particle(*args):
8297 setup_particle(Model m, ParticleIndex pi, Atom other) -> Atom
8298 setup_particle(_ParticleAdaptor decorator, Atom other) -> Atom
8299 setup_particle(Model m, ParticleIndex pi, AtomType atom_type) -> Atom
8300 setup_particle(_ParticleAdaptor decorator, AtomType atom_type) -> Atom
8302 return _IMP_atom.Atom_setup_particle(*args)
8304 setup_particle = staticmethod(setup_particle)
8306 def get_is_setup(*args):
8308 get_is_setup(_ParticleAdaptor p) -> bool
8309 get_is_setup(Model m, ParticleIndex pi) -> bool
8311 return _IMP_atom.Atom_get_is_setup(*args)
8313 get_is_setup = staticmethod(get_is_setup)
8315 def get_atom_type(self):
8316 """get_atom_type(Atom self) -> AtomType"""
8317 return _IMP_atom.Atom_get_atom_type(self)
8320 def set_atom_type(self, t):
8321 """set_atom_type(Atom self, AtomType t)"""
8322 return _IMP_atom.Atom_set_atom_type(self, t)
8325 def get_element(self):
8326 """get_element(Atom self) -> IMP::atom::Element"""
8327 return _IMP_atom.Atom_get_element(self)
8330 def set_element(self, e):
8331 """set_element(Atom self, IMP::atom::Element e)"""
8332 return _IMP_atom.Atom_set_element(self, e)
8335 def get_occupancy(self):
8336 """get_occupancy(Atom self) -> double"""
8337 return _IMP_atom.Atom_get_occupancy(self)
8340 def set_occupancy(self, occupancy):
8341 """set_occupancy(Atom self, double occupancy)"""
8342 return _IMP_atom.Atom_set_occupancy(self, occupancy)
8345 def get_temperature_factor(self):
8346 """get_temperature_factor(Atom self) -> double"""
8347 return _IMP_atom.Atom_get_temperature_factor(self)
8350 def set_temperature_factor(self, tempFactor):
8351 """set_temperature_factor(Atom self, double tempFactor)"""
8352 return _IMP_atom.Atom_set_temperature_factor(self, tempFactor)
8355 def get_input_index(self):
8356 """get_input_index(Atom self) -> IMP::Int"""
8357 return _IMP_atom.Atom_get_input_index(self)
8360 def set_input_index(self, t):
8361 """set_input_index(Atom self, IMP::Int t)"""
8362 return _IMP_atom.Atom_set_input_index(self, t)
8365 def get_atom_type_key():
8366 """get_atom_type_key() -> IntKey"""
8367 return _IMP_atom.Atom_get_atom_type_key()
8369 get_atom_type_key = staticmethod(get_atom_type_key)
8371 def get_element_key():
8372 """get_element_key() -> IntKey"""
8373 return _IMP_atom.Atom_get_element_key()
8375 get_element_key = staticmethod(get_element_key)
8377 def get_input_index_key():
8378 """get_input_index_key() -> IntKey"""
8379 return _IMP_atom.Atom_get_input_index_key()
8381 get_input_index_key = staticmethod(get_input_index_key)
8383 def get_occupancy_key():
8384 """get_occupancy_key() -> FloatKey"""
8385 return _IMP_atom.Atom_get_occupancy_key()
8387 get_occupancy_key = staticmethod(get_occupancy_key)
8389 def get_temperature_factor_key():
8390 """get_temperature_factor_key() -> FloatKey"""
8391 return _IMP_atom.Atom_get_temperature_factor_key()
8393 get_temperature_factor_key = staticmethod(get_temperature_factor_key)
8395 def add_attribute(self, *args):
8397 add_attribute(Atom self, FloatKey k, IMP::Float v, bool opt)
8398 add_attribute(Atom self, FloatKey a0, IMP::Float a1)
8399 add_attribute(Atom self, IntKey a0, IMP::Int a1)
8400 add_attribute(Atom self, StringKey a0, IMP::String a1)
8401 add_attribute(Atom self, ParticleIndexKey a0, Particle a1)
8402 add_attribute(Atom self, ObjectKey a0, Object a1)
8404 return _IMP_atom.Atom_add_attribute(self, *args)
8407 def get_value(self, *args):
8409 get_value(Atom self, FloatKey a0) -> IMP::Float
8410 get_value(Atom self, IntKey a0) -> IMP::Int
8411 get_value(Atom self, StringKey a0) -> IMP::String
8412 get_value(Atom self, ParticleIndexKey a0) -> Particle
8413 get_value(Atom self, ObjectKey a0) -> Object
8415 return _IMP_atom.Atom_get_value(self, *args)
8418 def set_value(self, *args):
8420 set_value(Atom self, FloatKey a0, IMP::Float a1)
8421 set_value(Atom self, IntKey a0, IMP::Int a1)
8422 set_value(Atom self, StringKey a0, IMP::String a1)
8423 set_value(Atom self, ParticleIndexKey a0, Particle a1)
8424 set_value(Atom self, ObjectKey a0, Object a1)
8426 return _IMP_atom.Atom_set_value(self, *args)
8429 def remove_attribute(self, *args):
8431 remove_attribute(Atom self, FloatKey a0)
8432 remove_attribute(Atom self, IntKey a0)
8433 remove_attribute(Atom self, StringKey a0)
8434 remove_attribute(Atom self, ParticleIndexKey a0)
8435 remove_attribute(Atom self, ObjectKey a0)
8437 return _IMP_atom.Atom_remove_attribute(self, *args)
8440 def has_attribute(self, *args):
8442 has_attribute(Atom self, FloatKey a0) -> bool
8443 has_attribute(Atom self, IntKey a0) -> bool
8444 has_attribute(Atom self, StringKey a0) -> bool
8445 has_attribute(Atom self, ParticleIndexKey a0) -> bool
8446 has_attribute(Atom self, ObjectKey a0) -> bool
8448 return _IMP_atom.Atom_has_attribute(self, *args)
8451 def get_derivative(self, a0):
8452 """get_derivative(Atom self, FloatKey a0) -> double"""
8453 return _IMP_atom.Atom_get_derivative(self, a0)
8457 """get_name(Atom self) -> std::string"""
8458 return _IMP_atom.Atom_get_name(self)
8461 def clear_caches(self):
8462 """clear_caches(Atom self)"""
8463 return _IMP_atom.Atom_clear_caches(self)
8466 def set_name(self, a0):
8467 """set_name(Atom self, std::string a0)"""
8468 return _IMP_atom.Atom_set_name(self, a0)
8472 """set_check_level(Atom self, IMP::CheckLevel a0)"""
8473 return _IMP_atom.Atom_set_check_level(self, a0)
8476 def add_to_derivative(self, a0, a1, a2):
8477 """add_to_derivative(Atom self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
8478 return _IMP_atom.Atom_add_to_derivative(self, a0, a1, a2)
8481 def set_is_optimized(self, a0, a1):
8482 """set_is_optimized(Atom self, FloatKey a0, bool a1)"""
8483 return _IMP_atom.Atom_set_is_optimized(self, a0, a1)
8486 def get_is_optimized(self, a0):
8487 """get_is_optimized(Atom self, FloatKey a0) -> bool"""
8488 return _IMP_atom.Atom_get_is_optimized(self, a0)
8492 """get_check_level(Atom self) -> IMP::CheckLevel"""
8493 return _IMP_atom.Atom_get_check_level(self)
8496 def __eq__(self, *args):
8498 __eq__(Atom self, Atom o) -> bool
8499 __eq__(Atom self, Particle d) -> bool
8501 return _IMP_atom.Atom___eq__(self, *args)
8504 def __ne__(self, *args):
8506 __ne__(Atom self, Atom o) -> bool
8507 __ne__(Atom self, Particle d) -> bool
8509 return _IMP_atom.Atom___ne__(self, *args)
8512 def __le__(self, *args):
8514 __le__(Atom self, Atom o) -> bool
8515 __le__(Atom self, Particle d) -> bool
8517 return _IMP_atom.Atom___le__(self, *args)
8520 def __lt__(self, *args):
8522 __lt__(Atom self, Atom o) -> bool
8523 __lt__(Atom self, Particle d) -> bool
8525 return _IMP_atom.Atom___lt__(self, *args)
8528 def __ge__(self, *args):
8530 __ge__(Atom self, Atom o) -> bool
8531 __ge__(Atom self, Particle d) -> bool
8533 return _IMP_atom.Atom___ge__(self, *args)
8536 def __gt__(self, *args):
8538 __gt__(Atom self, Atom o) -> bool
8539 __gt__(Atom self, Particle d) -> bool
8541 return _IMP_atom.Atom___gt__(self, *args)
8545 """__hash__(Atom self) -> std::size_t"""
8546 return _IMP_atom.Atom___hash__(self)
8550 """__str__(Atom self) -> std::string"""
8551 return _IMP_atom.Atom___str__(self)
8555 """__repr__(Atom self) -> std::string"""
8556 return _IMP_atom.Atom___repr__(self)
8558 __swig_destroy__ = _IMP_atom.delete_Atom
8559 __del__ =
lambda self:
None
8560 Atom_swigregister = _IMP_atom.Atom_swigregister
8561 Atom_swigregister(Atom)
8562 cvar = _IMP_atom.cvar
8563 AT_UNKNOWN = cvar.AT_UNKNOWN
8573 AT_HA1 = cvar.AT_HA1
8574 AT_HA2 = cvar.AT_HA2
8575 AT_HA3 = cvar.AT_HA3
8578 AT_HB1 = cvar.AT_HB1
8579 AT_HB2 = cvar.AT_HB2
8580 AT_HB3 = cvar.AT_HB3
8581 AT_OXT = cvar.AT_OXT
8582 AT_CH3 = cvar.AT_CH3
8585 AT_CG1 = cvar.AT_CG1
8586 AT_CG2 = cvar.AT_CG2
8588 AT_HG1 = cvar.AT_HG1
8589 AT_HG2 = cvar.AT_HG2
8590 AT_HG3 = cvar.AT_HG3
8591 AT_HG11 = cvar.AT_HG11
8592 AT_HG21 = cvar.AT_HG21
8593 AT_HG31 = cvar.AT_HG31
8594 AT_HG12 = cvar.AT_HG12
8595 AT_HG13 = cvar.AT_HG13
8596 AT_HG22 = cvar.AT_HG22
8597 AT_HG23 = cvar.AT_HG23
8598 AT_HG32 = cvar.AT_HG32
8600 AT_OG1 = cvar.AT_OG1
8603 AT_CD1 = cvar.AT_CD1
8604 AT_CD2 = cvar.AT_CD2
8606 AT_HD1 = cvar.AT_HD1
8607 AT_HD2 = cvar.AT_HD2
8608 AT_HD3 = cvar.AT_HD3
8609 AT_HD11 = cvar.AT_HD11
8610 AT_HD21 = cvar.AT_HD21
8611 AT_HD31 = cvar.AT_HD31
8612 AT_HD12 = cvar.AT_HD12
8613 AT_HD13 = cvar.AT_HD13
8614 AT_HD22 = cvar.AT_HD22
8615 AT_HD23 = cvar.AT_HD23
8616 AT_HD32 = cvar.AT_HD32
8618 AT_OD1 = cvar.AT_OD1
8619 AT_OD2 = cvar.AT_OD2
8620 AT_ND1 = cvar.AT_ND1
8621 AT_ND2 = cvar.AT_ND2
8623 AT_CE1 = cvar.AT_CE1
8624 AT_CE2 = cvar.AT_CE2
8625 AT_CE3 = cvar.AT_CE3
8627 AT_HE1 = cvar.AT_HE1
8628 AT_HE2 = cvar.AT_HE2
8629 AT_HE3 = cvar.AT_HE3
8630 AT_HE21 = cvar.AT_HE21
8631 AT_HE22 = cvar.AT_HE22
8632 AT_OE1 = cvar.AT_OE1
8633 AT_OE2 = cvar.AT_OE2
8635 AT_NE1 = cvar.AT_NE1
8636 AT_NE2 = cvar.AT_NE2
8638 AT_CZ2 = cvar.AT_CZ2
8639 AT_CZ3 = cvar.AT_CZ3
8642 AT_HZ1 = cvar.AT_HZ1
8643 AT_HZ2 = cvar.AT_HZ2
8644 AT_HZ3 = cvar.AT_HZ3
8645 AT_CH2 = cvar.AT_CH2
8646 AT_NH1 = cvar.AT_NH1
8647 AT_NH2 = cvar.AT_NH2
8650 AT_HH11 = cvar.AT_HH11
8651 AT_HH21 = cvar.AT_HH21
8652 AT_HH2 = cvar.AT_HH2
8653 AT_HH12 = cvar.AT_HH12
8654 AT_HH22 = cvar.AT_HH22
8655 AT_HH13 = cvar.AT_HH13
8656 AT_HH23 = cvar.AT_HH23
8657 AT_HH33 = cvar.AT_HH33
8659 AT_OP1 = cvar.AT_OP1
8660 AT_OP2 = cvar.AT_OP2
8661 AT_OP3 = cvar.AT_OP3
8662 AT_O5p = cvar.AT_O5p
8663 AT_C5p = cvar.AT_C5p
8664 AT_H5p = cvar.AT_H5p
8665 AT_H5pp = cvar.AT_H5pp
8666 AT_C4p = cvar.AT_C4p
8667 AT_H4p = cvar.AT_H4p
8668 AT_O4p = cvar.AT_O4p
8669 AT_C1p = cvar.AT_C1p
8670 AT_H1p = cvar.AT_H1p
8671 AT_C3p = cvar.AT_C3p
8672 AT_H3p = cvar.AT_H3p
8673 AT_O3p = cvar.AT_O3p
8674 AT_C2p = cvar.AT_C2p
8675 AT_H2p = cvar.AT_H2p
8676 AT_H2pp = cvar.AT_H2pp
8677 AT_O2p = cvar.AT_O2p
8678 AT_HO2p = cvar.AT_HO2p
8690 AT_H61 = cvar.AT_H61
8691 AT_H62 = cvar.AT_H62
8695 AT_H21 = cvar.AT_H21
8696 AT_H22 = cvar.AT_H22
8701 AT_H41 = cvar.AT_H41
8702 AT_H42 = cvar.AT_H42
8705 AT_H71 = cvar.AT_H71
8706 AT_H72 = cvar.AT_H72
8707 AT_H73 = cvar.AT_H73
8708 AT_O1A = cvar.AT_O1A
8709 AT_O2A = cvar.AT_O2A
8710 AT_O3A = cvar.AT_O3A
8711 AT_O1B = cvar.AT_O1B
8712 AT_O2B = cvar.AT_O2B
8713 AT_O3B = cvar.AT_O3B
8715 def Atom_setup_particle(*args):
8717 setup_particle(Model m, ParticleIndex pi, Atom other) -> Atom
8718 setup_particle(_ParticleAdaptor decorator, Atom other) -> Atom
8719 setup_particle(Model m, ParticleIndex pi, AtomType atom_type) -> Atom
8720 Atom_setup_particle(_ParticleAdaptor decorator, AtomType atom_type) -> Atom
8722 return _IMP_atom.Atom_setup_particle(*args)
8724 def Atom_get_is_setup(*args):
8726 get_is_setup(_ParticleAdaptor p) -> bool
8727 Atom_get_is_setup(Model m, ParticleIndex pi) -> bool
8729 return _IMP_atom.Atom_get_is_setup(*args)
8731 def Atom_get_atom_type_key():
8732 """Atom_get_atom_type_key() -> IntKey"""
8733 return _IMP_atom.Atom_get_atom_type_key()
8735 def Atom_get_element_key():
8736 """Atom_get_element_key() -> IntKey"""
8737 return _IMP_atom.Atom_get_element_key()
8739 def Atom_get_input_index_key():
8740 """Atom_get_input_index_key() -> IntKey"""
8741 return _IMP_atom.Atom_get_input_index_key()
8743 def Atom_get_occupancy_key():
8744 """Atom_get_occupancy_key() -> FloatKey"""
8745 return _IMP_atom.Atom_get_occupancy_key()
8747 def Atom_get_temperature_factor_key():
8748 """Atom_get_temperature_factor_key() -> FloatKey"""
8749 return _IMP_atom.Atom_get_temperature_factor_key()
8754 get_residue(Hierarchy mhd, unsigned int index) -> Hierarchy
8755 get_residue(Atom d, bool nothrow=False) -> Residue
8756 get_residue(Atom d) -> Residue
8758 return _IMP_atom.get_residue(*args)
8761 """get_atom(Residue rd, AtomType at) -> Atom"""
8762 return _IMP_atom.get_atom(rd, at)
8765 """add_atom_type(std::string name, IMP::atom::Element e) -> AtomType"""
8766 return _IMP_atom.add_atom_type(name, e)
8768 def get_element_for_atom_type(at):
8769 """get_element_for_atom_type(AtomType at) -> IMP::atom::Element"""
8770 return _IMP_atom.get_element_for_atom_type(at)
8773 """get_atom_type_exists(std::string name) -> bool"""
8774 return _IMP_atom.get_atom_type_exists(name)
8775 class Residue(Hierarchy):
8776 """Proxy of C++ IMP::atom::Residue class"""
8777 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8779 def __init__(self, *args):
8781 __init__(IMP::atom::Residue self) -> Residue
8782 __init__(IMP::atom::Residue self, Model m, ParticleIndex id) -> Residue
8783 __init__(IMP::atom::Residue self, _ParticleAdaptor d) -> Residue
8785 this = _IMP_atom.new_Residue(*args)
8787 self.this.append(this)
8791 def show(self, *args):
8793 show(Residue self, _ostream out)
8796 return _IMP_atom.Residue_show(self, *args)
8799 def setup_particle(*args):
8801 setup_particle(Model m, ParticleIndex pi, ResidueType t, int index, int insertion_code) -> Residue
8802 setup_particle(_ParticleAdaptor decorator, ResidueType t, int index, int insertion_code) -> Residue
8803 setup_particle(Model m, ParticleIndex pi, ResidueType t, int index) -> Residue
8804 setup_particle(_ParticleAdaptor decorator, ResidueType t, int index) -> Residue
8805 setup_particle(Model m, ParticleIndex pi, ResidueType t) -> Residue
8806 setup_particle(_ParticleAdaptor decorator, ResidueType t) -> Residue
8807 setup_particle(Model m, ParticleIndex pi, Residue other) -> Residue
8808 setup_particle(_ParticleAdaptor decorator, Residue other) -> Residue
8810 return _IMP_atom.Residue_setup_particle(*args)
8812 setup_particle = staticmethod(setup_particle)
8814 def get_is_setup(*args):
8816 get_is_setup(_ParticleAdaptor p) -> bool
8817 get_is_setup(Model m, ParticleIndex pi) -> bool
8819 return _IMP_atom.Residue_get_is_setup(*args)
8821 get_is_setup = staticmethod(get_is_setup)
8823 def get_residue_type(self):
8824 """get_residue_type(Residue self) -> ResidueType"""
8825 return _IMP_atom.Residue_get_residue_type(self)
8828 def set_residue_type(self, t):
8829 """set_residue_type(Residue self, ResidueType t)"""
8830 return _IMP_atom.Residue_set_residue_type(self, t)
8833 def get_is_protein(self):
8834 """get_is_protein(Residue self) -> bool"""
8835 return _IMP_atom.Residue_get_is_protein(self)
8838 def get_is_dna(self):
8839 """get_is_dna(Residue self) -> bool"""
8840 return _IMP_atom.Residue_get_is_dna(self)
8843 def get_is_rna(self):
8844 """get_is_rna(Residue self) -> bool"""
8845 return _IMP_atom.Residue_get_is_rna(self)
8849 """get_index(Residue self) -> IMP::Int"""
8850 return _IMP_atom.Residue_get_index(self)
8853 def set_index(self, t):
8854 """set_index(Residue self, IMP::Int t)"""
8855 return _IMP_atom.Residue_set_index(self, t)
8858 def get_insertion_code(self):
8859 """get_insertion_code(Residue self) -> char"""
8860 return _IMP_atom.Residue_get_insertion_code(self)
8863 def set_insertion_code(self, insertion_code):
8864 """set_insertion_code(Residue self, char insertion_code)"""
8865 return _IMP_atom.Residue_set_insertion_code(self, insertion_code)
8868 def get_index_key():
8869 """get_index_key() -> IntKey"""
8870 return _IMP_atom.Residue_get_index_key()
8872 get_index_key = staticmethod(get_index_key)
8874 def get_residue_type_key():
8875 """get_residue_type_key() -> IntKey"""
8876 return _IMP_atom.Residue_get_residue_type_key()
8878 get_residue_type_key = staticmethod(get_residue_type_key)
8880 def get_insertion_code_key():
8881 """get_insertion_code_key() -> IntKey"""
8882 return _IMP_atom.Residue_get_insertion_code_key()
8884 get_insertion_code_key = staticmethod(get_insertion_code_key)
8886 def add_attribute(self, *args):
8888 add_attribute(Residue self, FloatKey k, IMP::Float v, bool opt)
8889 add_attribute(Residue self, FloatKey a0, IMP::Float a1)
8890 add_attribute(Residue self, IntKey a0, IMP::Int a1)
8891 add_attribute(Residue self, StringKey a0, IMP::String a1)
8892 add_attribute(Residue self, ParticleIndexKey a0, Particle a1)
8893 add_attribute(Residue self, ObjectKey a0, Object a1)
8895 return _IMP_atom.Residue_add_attribute(self, *args)
8898 def get_value(self, *args):
8900 get_value(Residue self, FloatKey a0) -> IMP::Float
8901 get_value(Residue self, IntKey a0) -> IMP::Int
8902 get_value(Residue self, StringKey a0) -> IMP::String
8903 get_value(Residue self, ParticleIndexKey a0) -> Particle
8904 get_value(Residue self, ObjectKey a0) -> Object
8906 return _IMP_atom.Residue_get_value(self, *args)
8909 def set_value(self, *args):
8911 set_value(Residue self, FloatKey a0, IMP::Float a1)
8912 set_value(Residue self, IntKey a0, IMP::Int a1)
8913 set_value(Residue self, StringKey a0, IMP::String a1)
8914 set_value(Residue self, ParticleIndexKey a0, Particle a1)
8915 set_value(Residue self, ObjectKey a0, Object a1)
8917 return _IMP_atom.Residue_set_value(self, *args)
8920 def remove_attribute(self, *args):
8922 remove_attribute(Residue self, FloatKey a0)
8923 remove_attribute(Residue self, IntKey a0)
8924 remove_attribute(Residue self, StringKey a0)
8925 remove_attribute(Residue self, ParticleIndexKey a0)
8926 remove_attribute(Residue self, ObjectKey a0)
8928 return _IMP_atom.Residue_remove_attribute(self, *args)
8931 def has_attribute(self, *args):
8933 has_attribute(Residue self, FloatKey a0) -> bool
8934 has_attribute(Residue self, IntKey a0) -> bool
8935 has_attribute(Residue self, StringKey a0) -> bool
8936 has_attribute(Residue self, ParticleIndexKey a0) -> bool
8937 has_attribute(Residue self, ObjectKey a0) -> bool
8939 return _IMP_atom.Residue_has_attribute(self, *args)
8942 def get_derivative(self, a0):
8943 """get_derivative(Residue self, FloatKey a0) -> double"""
8944 return _IMP_atom.Residue_get_derivative(self, a0)
8948 """get_name(Residue self) -> std::string"""
8949 return _IMP_atom.Residue_get_name(self)
8952 def clear_caches(self):
8953 """clear_caches(Residue self)"""
8954 return _IMP_atom.Residue_clear_caches(self)
8957 def set_name(self, a0):
8958 """set_name(Residue self, std::string a0)"""
8959 return _IMP_atom.Residue_set_name(self, a0)
8963 """set_check_level(Residue self, IMP::CheckLevel a0)"""
8964 return _IMP_atom.Residue_set_check_level(self, a0)
8967 def add_to_derivative(self, a0, a1, a2):
8968 """add_to_derivative(Residue self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
8969 return _IMP_atom.Residue_add_to_derivative(self, a0, a1, a2)
8972 def set_is_optimized(self, a0, a1):
8973 """set_is_optimized(Residue self, FloatKey a0, bool a1)"""
8974 return _IMP_atom.Residue_set_is_optimized(self, a0, a1)
8977 def get_is_optimized(self, a0):
8978 """get_is_optimized(Residue self, FloatKey a0) -> bool"""
8979 return _IMP_atom.Residue_get_is_optimized(self, a0)
8983 """get_check_level(Residue self) -> IMP::CheckLevel"""
8984 return _IMP_atom.Residue_get_check_level(self)
8987 def __eq__(self, *args):
8989 __eq__(Residue self, Residue o) -> bool
8990 __eq__(Residue self, Particle d) -> bool
8992 return _IMP_atom.Residue___eq__(self, *args)
8995 def __ne__(self, *args):
8997 __ne__(Residue self, Residue o) -> bool
8998 __ne__(Residue self, Particle d) -> bool
9000 return _IMP_atom.Residue___ne__(self, *args)
9003 def __le__(self, *args):
9005 __le__(Residue self, Residue o) -> bool
9006 __le__(Residue self, Particle d) -> bool
9008 return _IMP_atom.Residue___le__(self, *args)
9011 def __lt__(self, *args):
9013 __lt__(Residue self, Residue o) -> bool
9014 __lt__(Residue self, Particle d) -> bool
9016 return _IMP_atom.Residue___lt__(self, *args)
9019 def __ge__(self, *args):
9021 __ge__(Residue self, Residue o) -> bool
9022 __ge__(Residue self, Particle d) -> bool
9024 return _IMP_atom.Residue___ge__(self, *args)
9027 def __gt__(self, *args):
9029 __gt__(Residue self, Residue o) -> bool
9030 __gt__(Residue self, Particle d) -> bool
9032 return _IMP_atom.Residue___gt__(self, *args)
9036 """__hash__(Residue self) -> std::size_t"""
9037 return _IMP_atom.Residue___hash__(self)
9041 """__str__(Residue self) -> std::string"""
9042 return _IMP_atom.Residue___str__(self)
9046 """__repr__(Residue self) -> std::string"""
9047 return _IMP_atom.Residue___repr__(self)
9049 __swig_destroy__ = _IMP_atom.delete_Residue
9050 __del__ =
lambda self:
None
9051 Residue_swigregister = _IMP_atom.Residue_swigregister
9052 Residue_swigregister(Residue)
9089 def Residue_setup_particle(*args):
9091 setup_particle(Model m, ParticleIndex pi, ResidueType t, int index, int insertion_code) -> Residue
9092 setup_particle(_ParticleAdaptor decorator, ResidueType t, int index, int insertion_code) -> Residue
9093 setup_particle(Model m, ParticleIndex pi, ResidueType t, int index) -> Residue
9094 setup_particle(_ParticleAdaptor decorator, ResidueType t, int index) -> Residue
9095 setup_particle(Model m, ParticleIndex pi, ResidueType t) -> Residue
9096 setup_particle(_ParticleAdaptor decorator, ResidueType t) -> Residue
9097 setup_particle(Model m, ParticleIndex pi, Residue other) -> Residue
9098 Residue_setup_particle(_ParticleAdaptor decorator, Residue other) -> Residue
9100 return _IMP_atom.Residue_setup_particle(*args)
9102 def Residue_get_is_setup(*args):
9104 get_is_setup(_ParticleAdaptor p) -> bool
9105 Residue_get_is_setup(Model m, ParticleIndex pi) -> bool
9107 return _IMP_atom.Residue_get_is_setup(*args)
9109 def Residue_get_index_key():
9110 """Residue_get_index_key() -> IntKey"""
9111 return _IMP_atom.Residue_get_index_key()
9113 def Residue_get_residue_type_key():
9114 """Residue_get_residue_type_key() -> IntKey"""
9115 return _IMP_atom.Residue_get_residue_type_key()
9117 def Residue_get_insertion_code_key():
9118 """Residue_get_insertion_code_key() -> IntKey"""
9119 return _IMP_atom.Residue_get_insertion_code_key()
9123 """get_next_residue(Residue rd) -> Hierarchy"""
9124 return _IMP_atom.get_next_residue(rd)
9127 """get_previous_residue(Residue rd) -> Hierarchy"""
9128 return _IMP_atom.get_previous_residue(rd)
9131 """get_one_letter_code(ResidueType c) -> char"""
9132 return _IMP_atom.get_one_letter_code(c)
9134 _IMP_atom.BALLS_swigconstant(_IMP_atom)
9135 BALLS = _IMP_atom.BALLS
9137 _IMP_atom.DENSITIES_swigconstant(_IMP_atom)
9138 DENSITIES = _IMP_atom.DENSITIES
9139 class Representation(Hierarchy):
9140 """Proxy of C++ IMP::atom::Representation class"""
9141 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9143 def setup_particle(*args):
9145 setup_particle(Model m, ParticleIndex pi) -> Representation
9146 setup_particle(_ParticleAdaptor decorator) -> Representation
9147 setup_particle(Model m, ParticleIndex pi, double resolution) -> Representation
9148 setup_particle(_ParticleAdaptor decorator, double resolution) -> Representation
9150 return _IMP_atom.Representation_setup_particle(*args)
9152 setup_particle = staticmethod(setup_particle)
9154 def __init__(self, *args):
9156 __init__(IMP::atom::Representation self) -> Representation
9157 __init__(IMP::atom::Representation self, Model m, ParticleIndex id) -> Representation
9158 __init__(IMP::atom::Representation self, _ParticleAdaptor d) -> Representation
9160 this = _IMP_atom.new_Representation(*args)
9162 self.this.append(this)
9166 def show(self, *args):
9168 show(Representation self, _ostream out)
9169 show(Representation self)
9171 return _IMP_atom.Representation_show(self, *args)
9174 def get_is_setup(*args):
9176 get_is_setup(_ParticleAdaptor p) -> bool
9177 get_is_setup(Model m, ParticleIndex pi) -> bool
9179 return _IMP_atom.Representation_get_is_setup(*args)
9181 get_is_setup = staticmethod(get_is_setup)
9183 def get_representation(self, *args):
9185 get_representation(Representation self, double resolution, IMP::atom::RepresentationType type) -> Hierarchy
9186 get_representation(Representation self, double resolution) -> Hierarchy
9188 return _IMP_atom.Representation_get_representation(self, *args)
9191 def get_representations(self, *args):
9193 get_representations(Representation self, IMP::atom::RepresentationType type) -> IMP::atom::Hierarchies
9194 get_representations(Representation self) -> IMP::atom::Hierarchies
9196 return _IMP_atom.Representation_get_representations(self, *args)
9199 def add_representation(self, *args):
9201 add_representation(Representation self, _ParticleIndexAdaptor rep, IMP::atom::RepresentationType type, double resolution=-1)
9202 add_representation(Representation self, _ParticleIndexAdaptor rep, IMP::atom::RepresentationType type)
9203 add_representation(Representation self, _ParticleIndexAdaptor rep)
9205 return _IMP_atom.Representation_add_representation(self, *args)
9208 def get_resolutions(self, *args):
9210 get_resolutions(Representation self, IMP::atom::RepresentationType type) -> IMP::Floats
9211 get_resolutions(Representation self) -> IMP::Floats
9213 return _IMP_atom.Representation_get_resolutions(self, *args)
9216 def add_attribute(self, *args):
9218 add_attribute(Representation self, FloatKey k, IMP::Float v, bool opt)
9219 add_attribute(Representation self, FloatKey a0, IMP::Float a1)
9220 add_attribute(Representation self, IntKey a0, IMP::Int a1)
9221 add_attribute(Representation self, StringKey a0, IMP::String a1)
9222 add_attribute(Representation self, ParticleIndexKey a0, Particle a1)
9223 add_attribute(Representation self, ObjectKey a0, Object a1)
9225 return _IMP_atom.Representation_add_attribute(self, *args)
9228 def get_value(self, *args):
9230 get_value(Representation self, FloatKey a0) -> IMP::Float
9231 get_value(Representation self, IntKey a0) -> IMP::Int
9232 get_value(Representation self, StringKey a0) -> IMP::String
9233 get_value(Representation self, ParticleIndexKey a0) -> Particle
9234 get_value(Representation self, ObjectKey a0) -> Object
9236 return _IMP_atom.Representation_get_value(self, *args)
9239 def set_value(self, *args):
9241 set_value(Representation self, FloatKey a0, IMP::Float a1)
9242 set_value(Representation self, IntKey a0, IMP::Int a1)
9243 set_value(Representation self, StringKey a0, IMP::String a1)
9244 set_value(Representation self, ParticleIndexKey a0, Particle a1)
9245 set_value(Representation self, ObjectKey a0, Object a1)
9247 return _IMP_atom.Representation_set_value(self, *args)
9250 def remove_attribute(self, *args):
9252 remove_attribute(Representation self, FloatKey a0)
9253 remove_attribute(Representation self, IntKey a0)
9254 remove_attribute(Representation self, StringKey a0)
9255 remove_attribute(Representation self, ParticleIndexKey a0)
9256 remove_attribute(Representation self, ObjectKey a0)
9258 return _IMP_atom.Representation_remove_attribute(self, *args)
9261 def has_attribute(self, *args):
9263 has_attribute(Representation self, FloatKey a0) -> bool
9264 has_attribute(Representation self, IntKey a0) -> bool
9265 has_attribute(Representation self, StringKey a0) -> bool
9266 has_attribute(Representation self, ParticleIndexKey a0) -> bool
9267 has_attribute(Representation self, ObjectKey a0) -> bool
9269 return _IMP_atom.Representation_has_attribute(self, *args)
9272 def get_derivative(self, a0):
9273 """get_derivative(Representation self, FloatKey a0) -> double"""
9274 return _IMP_atom.Representation_get_derivative(self, a0)
9278 """get_name(Representation self) -> std::string"""
9279 return _IMP_atom.Representation_get_name(self)
9282 def clear_caches(self):
9283 """clear_caches(Representation self)"""
9284 return _IMP_atom.Representation_clear_caches(self)
9287 def set_name(self, a0):
9288 """set_name(Representation self, std::string a0)"""
9289 return _IMP_atom.Representation_set_name(self, a0)
9293 """set_check_level(Representation self, IMP::CheckLevel a0)"""
9294 return _IMP_atom.Representation_set_check_level(self, a0)
9297 def add_to_derivative(self, a0, a1, a2):
9298 """add_to_derivative(Representation self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
9299 return _IMP_atom.Representation_add_to_derivative(self, a0, a1, a2)
9302 def set_is_optimized(self, a0, a1):
9303 """set_is_optimized(Representation self, FloatKey a0, bool a1)"""
9304 return _IMP_atom.Representation_set_is_optimized(self, a0, a1)
9307 def get_is_optimized(self, a0):
9308 """get_is_optimized(Representation self, FloatKey a0) -> bool"""
9309 return _IMP_atom.Representation_get_is_optimized(self, a0)
9313 """get_check_level(Representation self) -> IMP::CheckLevel"""
9314 return _IMP_atom.Representation_get_check_level(self)
9317 def __eq__(self, *args):
9319 __eq__(Representation self, Representation o) -> bool
9320 __eq__(Representation self, Particle d) -> bool
9322 return _IMP_atom.Representation___eq__(self, *args)
9325 def __ne__(self, *args):
9327 __ne__(Representation self, Representation o) -> bool
9328 __ne__(Representation self, Particle d) -> bool
9330 return _IMP_atom.Representation___ne__(self, *args)
9333 def __le__(self, *args):
9335 __le__(Representation self, Representation o) -> bool
9336 __le__(Representation self, Particle d) -> bool
9338 return _IMP_atom.Representation___le__(self, *args)
9341 def __lt__(self, *args):
9343 __lt__(Representation self, Representation o) -> bool
9344 __lt__(Representation self, Particle d) -> bool
9346 return _IMP_atom.Representation___lt__(self, *args)
9349 def __ge__(self, *args):
9351 __ge__(Representation self, Representation o) -> bool
9352 __ge__(Representation self, Particle d) -> bool
9354 return _IMP_atom.Representation___ge__(self, *args)
9357 def __gt__(self, *args):
9359 __gt__(Representation self, Representation o) -> bool
9360 __gt__(Representation self, Particle d) -> bool
9362 return _IMP_atom.Representation___gt__(self, *args)
9366 """__hash__(Representation self) -> std::size_t"""
9367 return _IMP_atom.Representation___hash__(self)
9371 """__str__(Representation self) -> std::string"""
9372 return _IMP_atom.Representation___str__(self)
9376 """__repr__(Representation self) -> std::string"""
9377 return _IMP_atom.Representation___repr__(self)
9379 __swig_destroy__ = _IMP_atom.delete_Representation
9380 __del__ =
lambda self:
None
9381 Representation_swigregister = _IMP_atom.Representation_swigregister
9382 Representation_swigregister(Representation)
9383 ALL_RESOLUTIONS = cvar.ALL_RESOLUTIONS
9385 def Representation_setup_particle(*args):
9387 setup_particle(Model m, ParticleIndex pi) -> Representation
9388 setup_particle(_ParticleAdaptor decorator) -> Representation
9389 setup_particle(Model m, ParticleIndex pi, double resolution) -> Representation
9390 Representation_setup_particle(_ParticleAdaptor decorator, double resolution) -> Representation
9392 return _IMP_atom.Representation_setup_particle(*args)
9394 def Representation_get_is_setup(*args):
9396 get_is_setup(_ParticleAdaptor p) -> bool
9397 Representation_get_is_setup(Model m, ParticleIndex pi) -> bool
9399 return _IMP_atom.Representation_get_is_setup(*args)
9404 get_resolution(Model m, ParticleIndex pi) -> double
9405 get_resolution(Hierarchy h) -> double
9407 return _IMP_atom.get_resolution(*args)
9408 class State(Hierarchy):
9409 """Proxy of C++ IMP::atom::State class"""
9410 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9412 def setup_particle(*args):
9414 setup_particle(Model m, ParticleIndex pi, unsigned int index) -> State
9415 setup_particle(_ParticleAdaptor decorator, unsigned int index) -> State
9417 return _IMP_atom.State_setup_particle(*args)
9419 setup_particle = staticmethod(setup_particle)
9421 def __init__(self, *args):
9423 __init__(IMP::atom::State self) -> State
9424 __init__(IMP::atom::State self, Model m, ParticleIndex id) -> State
9425 __init__(IMP::atom::State self, _ParticleAdaptor d) -> State
9427 this = _IMP_atom.new_State(*args)
9429 self.this.append(this)
9433 def show(self, *args):
9435 show(State self, _ostream out)
9438 return _IMP_atom.State_show(self, *args)
9441 def get_is_setup(*args):
9443 get_is_setup(_ParticleAdaptor p) -> bool
9444 get_is_setup(Model m, ParticleIndex pi) -> bool
9446 return _IMP_atom.State_get_is_setup(*args)
9448 get_is_setup = staticmethod(get_is_setup)
9451 """get_state_index(State self) -> unsigned int"""
9452 return _IMP_atom.State_get_state_index(self)
9455 def add_attribute(self, *args):
9457 add_attribute(State self, FloatKey k, IMP::Float v, bool opt)
9458 add_attribute(State self, FloatKey a0, IMP::Float a1)
9459 add_attribute(State self, IntKey a0, IMP::Int a1)
9460 add_attribute(State self, StringKey a0, IMP::String a1)
9461 add_attribute(State self, ParticleIndexKey a0, Particle a1)
9462 add_attribute(State self, ObjectKey a0, Object a1)
9464 return _IMP_atom.State_add_attribute(self, *args)
9467 def get_value(self, *args):
9469 get_value(State self, FloatKey a0) -> IMP::Float
9470 get_value(State self, IntKey a0) -> IMP::Int
9471 get_value(State self, StringKey a0) -> IMP::String
9472 get_value(State self, ParticleIndexKey a0) -> Particle
9473 get_value(State self, ObjectKey a0) -> Object
9475 return _IMP_atom.State_get_value(self, *args)
9478 def set_value(self, *args):
9480 set_value(State self, FloatKey a0, IMP::Float a1)
9481 set_value(State self, IntKey a0, IMP::Int a1)
9482 set_value(State self, StringKey a0, IMP::String a1)
9483 set_value(State self, ParticleIndexKey a0, Particle a1)
9484 set_value(State self, ObjectKey a0, Object a1)
9486 return _IMP_atom.State_set_value(self, *args)
9489 def remove_attribute(self, *args):
9491 remove_attribute(State self, FloatKey a0)
9492 remove_attribute(State self, IntKey a0)
9493 remove_attribute(State self, StringKey a0)
9494 remove_attribute(State self, ParticleIndexKey a0)
9495 remove_attribute(State self, ObjectKey a0)
9497 return _IMP_atom.State_remove_attribute(self, *args)
9500 def has_attribute(self, *args):
9502 has_attribute(State self, FloatKey a0) -> bool
9503 has_attribute(State self, IntKey a0) -> bool
9504 has_attribute(State self, StringKey a0) -> bool
9505 has_attribute(State self, ParticleIndexKey a0) -> bool
9506 has_attribute(State self, ObjectKey a0) -> bool
9508 return _IMP_atom.State_has_attribute(self, *args)
9511 def get_derivative(self, a0):
9512 """get_derivative(State self, FloatKey a0) -> double"""
9513 return _IMP_atom.State_get_derivative(self, a0)
9517 """get_name(State self) -> std::string"""
9518 return _IMP_atom.State_get_name(self)
9521 def clear_caches(self):
9522 """clear_caches(State self)"""
9523 return _IMP_atom.State_clear_caches(self)
9526 def set_name(self, a0):
9527 """set_name(State self, std::string a0)"""
9528 return _IMP_atom.State_set_name(self, a0)
9532 """set_check_level(State self, IMP::CheckLevel a0)"""
9533 return _IMP_atom.State_set_check_level(self, a0)
9536 def add_to_derivative(self, a0, a1, a2):
9537 """add_to_derivative(State self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
9538 return _IMP_atom.State_add_to_derivative(self, a0, a1, a2)
9541 def set_is_optimized(self, a0, a1):
9542 """set_is_optimized(State self, FloatKey a0, bool a1)"""
9543 return _IMP_atom.State_set_is_optimized(self, a0, a1)
9546 def get_is_optimized(self, a0):
9547 """get_is_optimized(State self, FloatKey a0) -> bool"""
9548 return _IMP_atom.State_get_is_optimized(self, a0)
9552 """get_check_level(State self) -> IMP::CheckLevel"""
9553 return _IMP_atom.State_get_check_level(self)
9556 def __eq__(self, *args):
9558 __eq__(State self, State o) -> bool
9559 __eq__(State self, Particle d) -> bool
9561 return _IMP_atom.State___eq__(self, *args)
9564 def __ne__(self, *args):
9566 __ne__(State self, State o) -> bool
9567 __ne__(State self, Particle d) -> bool
9569 return _IMP_atom.State___ne__(self, *args)
9572 def __le__(self, *args):
9574 __le__(State self, State o) -> bool
9575 __le__(State self, Particle d) -> bool
9577 return _IMP_atom.State___le__(self, *args)
9580 def __lt__(self, *args):
9582 __lt__(State self, State o) -> bool
9583 __lt__(State self, Particle d) -> bool
9585 return _IMP_atom.State___lt__(self, *args)
9588 def __ge__(self, *args):
9590 __ge__(State self, State o) -> bool
9591 __ge__(State self, Particle d) -> bool
9593 return _IMP_atom.State___ge__(self, *args)
9596 def __gt__(self, *args):
9598 __gt__(State self, State o) -> bool
9599 __gt__(State self, Particle d) -> bool
9601 return _IMP_atom.State___gt__(self, *args)
9605 """__hash__(State self) -> std::size_t"""
9606 return _IMP_atom.State___hash__(self)
9610 """__str__(State self) -> std::string"""
9611 return _IMP_atom.State___str__(self)
9615 """__repr__(State self) -> std::string"""
9616 return _IMP_atom.State___repr__(self)
9618 __swig_destroy__ = _IMP_atom.delete_State
9619 __del__ =
lambda self:
None
9620 State_swigregister = _IMP_atom.State_swigregister
9621 State_swigregister(State)
9623 def State_setup_particle(*args):
9625 setup_particle(Model m, ParticleIndex pi, unsigned int index) -> State
9626 State_setup_particle(_ParticleAdaptor decorator, unsigned int index) -> State
9628 return _IMP_atom.State_setup_particle(*args)
9630 def State_get_is_setup(*args):
9632 get_is_setup(_ParticleAdaptor p) -> bool
9633 State_get_is_setup(Model m, ParticleIndex pi) -> bool
9635 return _IMP_atom.State_get_is_setup(*args)
9639 """get_state_index(Hierarchy h) -> int"""
9640 return _IMP_atom.get_state_index(h)
9643 """get_phi_dihedral_atoms(Residue rd) -> IMP::atom::Atoms"""
9644 return _IMP_atom.get_phi_dihedral_atoms(rd)
9647 """get_psi_dihedral_atoms(Residue rd) -> IMP::atom::Atoms"""
9648 return _IMP_atom.get_psi_dihedral_atoms(rd)
9649 class Molecule(Hierarchy):
9650 """Proxy of C++ IMP::atom::Molecule class"""
9651 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9653 def __init__(self, *args):
9655 __init__(IMP::atom::Molecule self) -> Molecule
9656 __init__(IMP::atom::Molecule self, Model m, ParticleIndex id) -> Molecule
9657 __init__(IMP::atom::Molecule self, _ParticleAdaptor d) -> Molecule
9659 this = _IMP_atom.new_Molecule(*args)
9661 self.this.append(this)
9665 def show(self, *args):
9667 show(Molecule self, _ostream out)
9670 return _IMP_atom.Molecule_show(self, *args)
9673 def setup_particle(*args):
9675 setup_particle(Model m, ParticleIndex pi) -> Molecule
9676 setup_particle(_ParticleAdaptor decorator) -> Molecule
9677 setup_particle(Model m, ParticleIndex pi, Molecule other) -> Molecule
9678 setup_particle(_ParticleAdaptor decorator, Molecule other) -> Molecule
9680 return _IMP_atom.Molecule_setup_particle(*args)
9682 setup_particle = staticmethod(setup_particle)
9684 def get_is_setup(*args):
9686 get_is_setup(_ParticleAdaptor p) -> bool
9687 get_is_setup(Model m, ParticleIndex pi) -> bool
9689 return _IMP_atom.Molecule_get_is_setup(*args)
9691 get_is_setup = staticmethod(get_is_setup)
9693 def add_attribute(self, *args):
9695 add_attribute(Molecule self, FloatKey k, IMP::Float v, bool opt)
9696 add_attribute(Molecule self, FloatKey a0, IMP::Float a1)
9697 add_attribute(Molecule self, IntKey a0, IMP::Int a1)
9698 add_attribute(Molecule self, StringKey a0, IMP::String a1)
9699 add_attribute(Molecule self, ParticleIndexKey a0, Particle a1)
9700 add_attribute(Molecule self, ObjectKey a0, Object a1)
9702 return _IMP_atom.Molecule_add_attribute(self, *args)
9705 def get_value(self, *args):
9707 get_value(Molecule self, FloatKey a0) -> IMP::Float
9708 get_value(Molecule self, IntKey a0) -> IMP::Int
9709 get_value(Molecule self, StringKey a0) -> IMP::String
9710 get_value(Molecule self, ParticleIndexKey a0) -> Particle
9711 get_value(Molecule self, ObjectKey a0) -> Object
9713 return _IMP_atom.Molecule_get_value(self, *args)
9716 def set_value(self, *args):
9718 set_value(Molecule self, FloatKey a0, IMP::Float a1)
9719 set_value(Molecule self, IntKey a0, IMP::Int a1)
9720 set_value(Molecule self, StringKey a0, IMP::String a1)
9721 set_value(Molecule self, ParticleIndexKey a0, Particle a1)
9722 set_value(Molecule self, ObjectKey a0, Object a1)
9724 return _IMP_atom.Molecule_set_value(self, *args)
9727 def remove_attribute(self, *args):
9729 remove_attribute(Molecule self, FloatKey a0)
9730 remove_attribute(Molecule self, IntKey a0)
9731 remove_attribute(Molecule self, StringKey a0)
9732 remove_attribute(Molecule self, ParticleIndexKey a0)
9733 remove_attribute(Molecule self, ObjectKey a0)
9735 return _IMP_atom.Molecule_remove_attribute(self, *args)
9738 def has_attribute(self, *args):
9740 has_attribute(Molecule self, FloatKey a0) -> bool
9741 has_attribute(Molecule self, IntKey a0) -> bool
9742 has_attribute(Molecule self, StringKey a0) -> bool
9743 has_attribute(Molecule self, ParticleIndexKey a0) -> bool
9744 has_attribute(Molecule self, ObjectKey a0) -> bool
9746 return _IMP_atom.Molecule_has_attribute(self, *args)
9749 def get_derivative(self, a0):
9750 """get_derivative(Molecule self, FloatKey a0) -> double"""
9751 return _IMP_atom.Molecule_get_derivative(self, a0)
9755 """get_name(Molecule self) -> std::string"""
9756 return _IMP_atom.Molecule_get_name(self)
9759 def clear_caches(self):
9760 """clear_caches(Molecule self)"""
9761 return _IMP_atom.Molecule_clear_caches(self)
9764 def set_name(self, a0):
9765 """set_name(Molecule self, std::string a0)"""
9766 return _IMP_atom.Molecule_set_name(self, a0)
9770 """set_check_level(Molecule self, IMP::CheckLevel a0)"""
9771 return _IMP_atom.Molecule_set_check_level(self, a0)
9774 def add_to_derivative(self, a0, a1, a2):
9775 """add_to_derivative(Molecule self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
9776 return _IMP_atom.Molecule_add_to_derivative(self, a0, a1, a2)
9779 def set_is_optimized(self, a0, a1):
9780 """set_is_optimized(Molecule self, FloatKey a0, bool a1)"""
9781 return _IMP_atom.Molecule_set_is_optimized(self, a0, a1)
9784 def get_is_optimized(self, a0):
9785 """get_is_optimized(Molecule self, FloatKey a0) -> bool"""
9786 return _IMP_atom.Molecule_get_is_optimized(self, a0)
9790 """get_check_level(Molecule self) -> IMP::CheckLevel"""
9791 return _IMP_atom.Molecule_get_check_level(self)
9794 def __eq__(self, *args):
9796 __eq__(Molecule self, Molecule o) -> bool
9797 __eq__(Molecule self, Particle d) -> bool
9799 return _IMP_atom.Molecule___eq__(self, *args)
9802 def __ne__(self, *args):
9804 __ne__(Molecule self, Molecule o) -> bool
9805 __ne__(Molecule self, Particle d) -> bool
9807 return _IMP_atom.Molecule___ne__(self, *args)
9810 def __le__(self, *args):
9812 __le__(Molecule self, Molecule o) -> bool
9813 __le__(Molecule self, Particle d) -> bool
9815 return _IMP_atom.Molecule___le__(self, *args)
9818 def __lt__(self, *args):
9820 __lt__(Molecule self, Molecule o) -> bool
9821 __lt__(Molecule self, Particle d) -> bool
9823 return _IMP_atom.Molecule___lt__(self, *args)
9826 def __ge__(self, *args):
9828 __ge__(Molecule self, Molecule o) -> bool
9829 __ge__(Molecule self, Particle d) -> bool
9831 return _IMP_atom.Molecule___ge__(self, *args)
9834 def __gt__(self, *args):
9836 __gt__(Molecule self, Molecule o) -> bool
9837 __gt__(Molecule self, Particle d) -> bool
9839 return _IMP_atom.Molecule___gt__(self, *args)
9843 """__hash__(Molecule self) -> std::size_t"""
9844 return _IMP_atom.Molecule___hash__(self)
9848 """__str__(Molecule self) -> std::string"""
9849 return _IMP_atom.Molecule___str__(self)
9853 """__repr__(Molecule self) -> std::string"""
9854 return _IMP_atom.Molecule___repr__(self)
9856 __swig_destroy__ = _IMP_atom.delete_Molecule
9857 __del__ =
lambda self:
None
9858 Molecule_swigregister = _IMP_atom.Molecule_swigregister
9859 Molecule_swigregister(Molecule)
9861 def Molecule_setup_particle(*args):
9863 setup_particle(Model m, ParticleIndex pi) -> Molecule
9864 setup_particle(_ParticleAdaptor decorator) -> Molecule
9865 setup_particle(Model m, ParticleIndex pi, Molecule other) -> Molecule
9866 Molecule_setup_particle(_ParticleAdaptor decorator, Molecule other) -> Molecule
9868 return _IMP_atom.Molecule_setup_particle(*args)
9870 def Molecule_get_is_setup(*args):
9872 get_is_setup(_ParticleAdaptor p) -> bool
9873 Molecule_get_is_setup(Model m, ParticleIndex pi) -> bool
9875 return _IMP_atom.Molecule_get_is_setup(*args)
9879 """get_molecule_name(Hierarchy h) -> std::string"""
9880 return _IMP_atom.get_molecule_name(h)
9881 class Copy(Molecule):
9882 """Proxy of C++ IMP::atom::Copy class"""
9883 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9885 def get_copy_index_key():
9886 """get_copy_index_key() -> IntKey"""
9887 return _IMP_atom.Copy_get_copy_index_key()
9889 get_copy_index_key = staticmethod(get_copy_index_key)
9891 def __init__(self, *args):
9893 __init__(IMP::atom::Copy self) -> Copy
9894 __init__(IMP::atom::Copy self, Model m, ParticleIndex id) -> Copy
9895 __init__(IMP::atom::Copy self, _ParticleAdaptor d) -> Copy
9897 this = _IMP_atom.new_Copy(*args)
9899 self.this.append(this)
9903 def show(self, *args):
9905 show(Copy self, _ostream out)
9908 return _IMP_atom.Copy_show(self, *args)
9911 def setup_particle(*args):
9913 setup_particle(Model m, ParticleIndex pi, IMP::Int number) -> Copy
9914 setup_particle(_ParticleAdaptor decorator, IMP::Int number) -> Copy
9916 return _IMP_atom.Copy_setup_particle(*args)
9918 setup_particle = staticmethod(setup_particle)
9920 def get_is_setup(*args):
9922 get_is_setup(_ParticleAdaptor p) -> bool
9923 get_is_setup(Model m, ParticleIndex pi) -> bool
9925 return _IMP_atom.Copy_get_is_setup(*args)
9927 get_is_setup = staticmethod(get_is_setup)
9930 """get_copy_index(Copy self) -> int"""
9931 return _IMP_atom.Copy_get_copy_index(self)
9934 def add_attribute(self, *args):
9936 add_attribute(Copy self, FloatKey k, IMP::Float v, bool opt)
9937 add_attribute(Copy self, FloatKey a0, IMP::Float a1)
9938 add_attribute(Copy self, IntKey a0, IMP::Int a1)
9939 add_attribute(Copy self, StringKey a0, IMP::String a1)
9940 add_attribute(Copy self, ParticleIndexKey a0, Particle a1)
9941 add_attribute(Copy self, ObjectKey a0, Object a1)
9943 return _IMP_atom.Copy_add_attribute(self, *args)
9946 def get_value(self, *args):
9948 get_value(Copy self, FloatKey a0) -> IMP::Float
9949 get_value(Copy self, IntKey a0) -> IMP::Int
9950 get_value(Copy self, StringKey a0) -> IMP::String
9951 get_value(Copy self, ParticleIndexKey a0) -> Particle
9952 get_value(Copy self, ObjectKey a0) -> Object
9954 return _IMP_atom.Copy_get_value(self, *args)
9957 def set_value(self, *args):
9959 set_value(Copy self, FloatKey a0, IMP::Float a1)
9960 set_value(Copy self, IntKey a0, IMP::Int a1)
9961 set_value(Copy self, StringKey a0, IMP::String a1)
9962 set_value(Copy self, ParticleIndexKey a0, Particle a1)
9963 set_value(Copy self, ObjectKey a0, Object a1)
9965 return _IMP_atom.Copy_set_value(self, *args)
9968 def remove_attribute(self, *args):
9970 remove_attribute(Copy self, FloatKey a0)
9971 remove_attribute(Copy self, IntKey a0)
9972 remove_attribute(Copy self, StringKey a0)
9973 remove_attribute(Copy self, ParticleIndexKey a0)
9974 remove_attribute(Copy self, ObjectKey a0)
9976 return _IMP_atom.Copy_remove_attribute(self, *args)
9979 def has_attribute(self, *args):
9981 has_attribute(Copy self, FloatKey a0) -> bool
9982 has_attribute(Copy self, IntKey a0) -> bool
9983 has_attribute(Copy self, StringKey a0) -> bool
9984 has_attribute(Copy self, ParticleIndexKey a0) -> bool
9985 has_attribute(Copy self, ObjectKey a0) -> bool
9987 return _IMP_atom.Copy_has_attribute(self, *args)
9990 def get_derivative(self, a0):
9991 """get_derivative(Copy self, FloatKey a0) -> double"""
9992 return _IMP_atom.Copy_get_derivative(self, a0)
9996 """get_name(Copy self) -> std::string"""
9997 return _IMP_atom.Copy_get_name(self)
10000 def clear_caches(self):
10001 """clear_caches(Copy self)"""
10002 return _IMP_atom.Copy_clear_caches(self)
10005 def set_name(self, a0):
10006 """set_name(Copy self, std::string a0)"""
10007 return _IMP_atom.Copy_set_name(self, a0)
10011 """set_check_level(Copy self, IMP::CheckLevel a0)"""
10012 return _IMP_atom.Copy_set_check_level(self, a0)
10015 def add_to_derivative(self, a0, a1, a2):
10016 """add_to_derivative(Copy self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
10017 return _IMP_atom.Copy_add_to_derivative(self, a0, a1, a2)
10020 def set_is_optimized(self, a0, a1):
10021 """set_is_optimized(Copy self, FloatKey a0, bool a1)"""
10022 return _IMP_atom.Copy_set_is_optimized(self, a0, a1)
10025 def get_is_optimized(self, a0):
10026 """get_is_optimized(Copy self, FloatKey a0) -> bool"""
10027 return _IMP_atom.Copy_get_is_optimized(self, a0)
10031 """get_check_level(Copy self) -> IMP::CheckLevel"""
10032 return _IMP_atom.Copy_get_check_level(self)
10035 def __eq__(self, *args):
10037 __eq__(Copy self, Copy o) -> bool
10038 __eq__(Copy self, Particle d) -> bool
10040 return _IMP_atom.Copy___eq__(self, *args)
10043 def __ne__(self, *args):
10045 __ne__(Copy self, Copy o) -> bool
10046 __ne__(Copy self, Particle d) -> bool
10048 return _IMP_atom.Copy___ne__(self, *args)
10051 def __le__(self, *args):
10053 __le__(Copy self, Copy o) -> bool
10054 __le__(Copy self, Particle d) -> bool
10056 return _IMP_atom.Copy___le__(self, *args)
10059 def __lt__(self, *args):
10061 __lt__(Copy self, Copy o) -> bool
10062 __lt__(Copy self, Particle d) -> bool
10064 return _IMP_atom.Copy___lt__(self, *args)
10067 def __ge__(self, *args):
10069 __ge__(Copy self, Copy o) -> bool
10070 __ge__(Copy self, Particle d) -> bool
10072 return _IMP_atom.Copy___ge__(self, *args)
10075 def __gt__(self, *args):
10077 __gt__(Copy self, Copy o) -> bool
10078 __gt__(Copy self, Particle d) -> bool
10080 return _IMP_atom.Copy___gt__(self, *args)
10083 def __hash__(self):
10084 """__hash__(Copy self) -> std::size_t"""
10085 return _IMP_atom.Copy___hash__(self)
10089 """__str__(Copy self) -> std::string"""
10090 return _IMP_atom.Copy___str__(self)
10093 def __repr__(self):
10094 """__repr__(Copy self) -> std::string"""
10095 return _IMP_atom.Copy___repr__(self)
10097 __swig_destroy__ = _IMP_atom.delete_Copy
10098 __del__ =
lambda self:
None
10099 Copy_swigregister = _IMP_atom.Copy_swigregister
10100 Copy_swigregister(Copy)
10102 def Copy_get_copy_index_key():
10103 """Copy_get_copy_index_key() -> IntKey"""
10104 return _IMP_atom.Copy_get_copy_index_key()
10106 def Copy_setup_particle(*args):
10108 setup_particle(Model m, ParticleIndex pi, IMP::Int number) -> Copy
10109 Copy_setup_particle(_ParticleAdaptor decorator, IMP::Int number) -> Copy
10111 return _IMP_atom.Copy_setup_particle(*args)
10113 def Copy_get_is_setup(*args):
10115 get_is_setup(_ParticleAdaptor p) -> bool
10116 Copy_get_is_setup(Model m, ParticleIndex pi) -> bool
10118 return _IMP_atom.Copy_get_is_setup(*args)
10122 """get_copy_index(Hierarchy h) -> int"""
10123 return _IMP_atom.get_copy_index(h)
10124 class Selection(IMP._ParticleIndexesAdaptor):
10125 """Proxy of C++ IMP::atom::Selection class"""
10126 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10127 NONE = _IMP_atom.Selection_NONE
10128 C = _IMP_atom.Selection_C
10129 N = _IMP_atom.Selection_N
10131 def __init__(self, *args):
10133 __init__(IMP::atom::Selection self) -> Selection
10134 __init__(IMP::atom::Selection self, Hierarchy h) -> Selection
10135 __init__(IMP::atom::Selection self, Particle h) -> Selection
10136 __init__(IMP::atom::Selection self, Model m, IMP::ParticleIndexes const & pis) -> Selection
10137 __init__(IMP::atom::Selection self, IMP::ParticlesTemp const & h) -> Selection
10139 this = _IMP_atom.new_Selection(*args)
10141 self.this.append(this)
10146 """create_clone(Selection self) -> Selection"""
10147 return _IMP_atom.Selection_create_clone(self)
10150 def get_hierarchies(self):
10151 """get_hierarchies(Selection self) -> IMP::atom::Hierarchies"""
10152 return _IMP_atom.Selection_get_hierarchies(self)
10155 def set_molecules(self, mols):
10156 """set_molecules(Selection self, IMP::Strings mols)"""
10157 return _IMP_atom.Selection_set_molecules(self, mols)
10160 def set_resolution(self, r):
10161 """set_resolution(Selection self, double r)"""
10162 return _IMP_atom.Selection_set_resolution(self, r)
10165 def set_representation_type(self, t):
10166 """set_representation_type(Selection self, IMP::atom::RepresentationType t)"""
10167 return _IMP_atom.Selection_set_representation_type(self, t)
10170 def set_state_index(self, state):
10171 """set_state_index(Selection self, int state)"""
10172 return _IMP_atom.Selection_set_state_index(self, state)
10175 def set_state_indexes(self, states):
10176 """set_state_indexes(Selection self, IMP::Ints states)"""
10177 return _IMP_atom.Selection_set_state_indexes(self, states)
10180 def set_terminus(self, t):
10181 """set_terminus(Selection self, IMP::atom::Selection::Terminus t)"""
10182 return _IMP_atom.Selection_set_terminus(self, t)
10185 def set_chain_ids(self, chains):
10186 """set_chain_ids(Selection self, IMP::Strings chains)"""
10187 return _IMP_atom.Selection_set_chain_ids(self, chains)
10190 def set_chains(self, chains):
10191 """set_chains(Selection self, IMP::Strings chains)"""
10192 return _IMP_atom.Selection_set_chains(self, chains)
10195 def set_residue_indexes(self, indexes):
10196 """set_residue_indexes(Selection self, IMP::Ints indexes)"""
10197 return _IMP_atom.Selection_set_residue_indexes(self, indexes)
10200 def set_atom_types(self, types):
10201 """set_atom_types(Selection self, IMP::atom::AtomTypes types)"""
10202 return _IMP_atom.Selection_set_atom_types(self, types)
10205 def set_residue_types(self, types):
10206 """set_residue_types(Selection self, IMP::atom::ResidueTypes types)"""
10207 return _IMP_atom.Selection_set_residue_types(self, types)
10210 def set_domains(self, names):
10211 """set_domains(Selection self, IMP::Strings names)"""
10212 return _IMP_atom.Selection_set_domains(self, names)
10215 def set_molecule(self, mol):
10216 """set_molecule(Selection self, std::string mol)"""
10217 return _IMP_atom.Selection_set_molecule(self, mol)
10220 def set_chain_id(self, c):
10221 """set_chain_id(Selection self, std::string c)"""
10222 return _IMP_atom.Selection_set_chain_id(self, c)
10225 def set_chain(self, c):
10226 """set_chain(Selection self, std::string c)"""
10227 return _IMP_atom.Selection_set_chain(self, c)
10230 def set_residue_index(self, i):
10231 """set_residue_index(Selection self, int i)"""
10232 return _IMP_atom.Selection_set_residue_index(self, i)
10235 def set_atom_type(self, types):
10236 """set_atom_type(Selection self, AtomType types)"""
10237 return _IMP_atom.Selection_set_atom_type(self, types)
10240 def set_residue_type(self, type):
10241 """set_residue_type(Selection self, ResidueType type)"""
10242 return _IMP_atom.Selection_set_residue_type(self, type)
10245 def set_domain(self, name):
10246 """set_domain(Selection self, std::string name)"""
10247 return _IMP_atom.Selection_set_domain(self, name)
10250 def set_copy_index(self, copy):
10251 """set_copy_index(Selection self, unsigned int copy)"""
10252 return _IMP_atom.Selection_set_copy_index(self, copy)
10255 def set_copy_indexes(self, copies):
10256 """set_copy_indexes(Selection self, IMP::Ints copies)"""
10257 return _IMP_atom.Selection_set_copy_indexes(self, copies)
10260 def set_particle_type(self, t):
10261 """set_particle_type(Selection self, ParticleType t)"""
10262 return _IMP_atom.Selection_set_particle_type(self, t)
10265 def set_particle_types(self, t):
10266 """set_particle_types(Selection self, IMP::core::ParticleTypes t)"""
10267 return _IMP_atom.Selection_set_particle_types(self, t)
10270 def set_hierarchy_types(self, types):
10271 """set_hierarchy_types(Selection self, IMP::Ints types)"""
10272 return _IMP_atom.Selection_set_hierarchy_types(self, types)
10275 def set_intersection(self, s):
10276 """set_intersection(Selection self, Selection s)"""
10277 return _IMP_atom.Selection_set_intersection(self, s)
10280 def set_union(self, s):
10281 """set_union(Selection self, Selection s)"""
10282 return _IMP_atom.Selection_set_union(self, s)
10285 def set_symmetric_difference(self, s):
10286 """set_symmetric_difference(Selection self, Selection s)"""
10287 return _IMP_atom.Selection_set_symmetric_difference(self, s)
10290 def set_difference(self, s):
10291 """set_difference(Selection self, Selection s)"""
10292 return _IMP_atom.Selection_set_difference(self, s)
10295 def get_selected_particles(self, with_representation=True):
10297 get_selected_particles(Selection self, bool with_representation=True) -> IMP::ParticlesTemp
10298 get_selected_particles(Selection self) -> IMP::ParticlesTemp
10300 return _IMP_atom.Selection_get_selected_particles(self, with_representation)
10303 def get_selected_particle_indexes(self, with_representation=True):
10305 get_selected_particle_indexes(Selection self, bool with_representation=True) -> IMP::ParticleIndexes
10306 get_selected_particle_indexes(Selection self) -> IMP::ParticleIndexes
10308 return _IMP_atom.Selection_get_selected_particle_indexes(self, with_representation)
10311 def show(self, *args):
10313 show(Selection self, _ostream out)
10314 show(Selection self)
10316 return _IMP_atom.Selection_show(self, *args)
10320 """__str__(Selection self) -> std::string"""
10321 return _IMP_atom.Selection___str__(self)
10324 def __repr__(self):
10325 """__repr__(Selection self) -> std::string"""
10326 return _IMP_atom.Selection___repr__(self)
10328 def __init__(self, hierarchy=None,
10329 hierarchies=
None, **params):
10330 if hierarchy
and hierarchies:
10331 raise RuntimeError(
"You can't pass both hierarchy and hierarchies to Selection")
10333 this = _IMP_atom.new_Selection(hierarchy)
10334 try: self.this.append(this)
10335 except: self.this = this
10337 this = _IMP_atom.new_Selection(hierarchies)
10338 try: self.this.append(this)
10339 except: self.this = this
10341 raise ValueError(
"Either hierarchy or hierarchies must be provided.")
10342 for k
in params.keys():
10343 eval(
"self.set_%s(params[k])"%k)
10345 def union(self, s):
10346 news = self.create_clone()
10347 news.union_update(s)
10349 def intersection(self, s):
10350 news = self.create_clone()
10351 news.intersection_update(s)
10353 def symmetric_difference(self, s):
10354 news = self.create_clone()
10355 news.symmetric_difference_update(s)
10357 def difference(self, s):
10358 news = self.create_clone()
10359 news.difference_update(s)
10361 def union_update(self, s):
10364 def intersection_update(self, s):
10365 self.set_intersection(s)
10367 def symmetric_difference_update(self, s):
10368 self.set_symmetric_difference(s)
10370 def difference_update(self, s):
10371 self.set_difference(s)
10374 __and__ = intersection
10375 __xor__ = symmetric_difference
10376 __sub__ = difference
10377 __ior__ = union_update
10378 __iand__ = intersection_update
10379 __ixor__ = symmetric_difference_update
10380 __isub__ = difference_update
10382 __swig_destroy__ = _IMP_atom.delete_Selection
10383 __del__ =
lambda self:
None
10384 Selection_swigregister = _IMP_atom.Selection_swigregister
10385 Selection_swigregister(Selection)
10390 create_distance_restraint(Selection n0, Selection n1, double x0, double k, std::string name) -> Restraint
10391 create_distance_restraint(Selection n0, Selection n1, double x0, double k) -> Restraint
10393 return _IMP_atom.create_distance_restraint(*args)
10397 create_connectivity_restraint(IMP::atom::Selections const & s, double k, std::string name) -> Restraint
10398 create_connectivity_restraint(IMP::atom::Selections const & s, double k) -> Restraint
10399 create_connectivity_restraint(IMP::atom::Selections const & s, double x0, double k, std::string name) -> Restraint
10400 create_connectivity_restraint(IMP::atom::Selections const & s, double x0, double k) -> Restraint
10402 return _IMP_atom.create_connectivity_restraint(*args)
10406 create_internal_connectivity_restraint(Selection s, double k, std::string name) -> Restraint
10407 create_internal_connectivity_restraint(Selection s, double k) -> Restraint
10408 create_internal_connectivity_restraint(Selection s, double x0, double k, std::string name) -> Restraint
10409 create_internal_connectivity_restraint(Selection s, double x0, double k) -> Restraint
10411 return _IMP_atom.create_internal_connectivity_restraint(*args)
10415 create_cover(Selection s, std::string name) -> XYZR
10416 create_cover(Selection s) -> XYZR
10418 return _IMP_atom.create_cover(*args)
10422 get_mass(ResidueType c) -> double
10423 get_mass(Selection s) -> double
10425 return _IMP_atom.get_mass(*args)
10428 """get_volume(Selection s) -> double"""
10429 return _IMP_atom.get_volume(s)
10432 """get_surface_area(Selection s) -> double"""
10433 return _IMP_atom.get_surface_area(s)
10437 get_leaves(Hierarchy h) -> IMP::atom::Hierarchies
10438 get_leaves(IMP::atom::Hierarchies const & h) -> IMP::atom::Hierarchies
10439 get_leaves(Selection h) -> IMP::atom::Hierarchies
10441 return _IMP_atom.get_leaves(*args)
10443 """Proxy of C++ IMP::atom::SelectionGeometry class"""
10444 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10446 def __init__(self, *args):
10448 __init__(IMP::atom::SelectionGeometry self, Selection d, std::string name) -> SelectionGeometry
10449 __init__(IMP::atom::SelectionGeometry self, Selection d) -> SelectionGeometry
10451 this = _IMP_atom.new_SelectionGeometry(*args)
10453 self.this.append(this)
10457 def get_version_info(self):
10458 """get_version_info(SelectionGeometry self) -> VersionInfo"""
10459 return _IMP_atom.SelectionGeometry_get_version_info(self)
10463 """__str__(SelectionGeometry self) -> std::string"""
10464 return _IMP_atom.SelectionGeometry___str__(self)
10467 def __repr__(self):
10468 """__repr__(SelectionGeometry self) -> std::string"""
10469 return _IMP_atom.SelectionGeometry___repr__(self)
10472 return _object_cast_to_SelectionGeometry(o)
10473 get_from = staticmethod(get_from)
10475 SelectionGeometry_swigregister = _IMP_atom.SelectionGeometry_swigregister
10476 SelectionGeometry_swigregister(SelectionGeometry)
10481 get_rmsd(IMP::core::XYZs const & s0, IMP::core::XYZs const & s1) -> double
10482 get_rmsd(Selection s0, Selection s1) -> double
10484 return _IMP_atom.get_rmsd(*args)
10488 get_rmsd_transforming_first(Transformation3D tr, IMP::core::XYZs const & s0, IMP::core::XYZs const & s1) -> double
10489 get_rmsd_transforming_first(Transformation3D tr, Selection s0, Selection s1) -> double
10491 return _IMP_atom.get_rmsd_transforming_first(*args)
10494 """get_placement_score(IMP::core::XYZs const & source, IMP::core::XYZs const & target) -> IMP::FloatPair"""
10495 return _IMP_atom.get_placement_score(source, target)
10498 """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"""
10499 return _IMP_atom.get_component_placement_score(ref1, ref2, mdl1, mdl2)
10502 """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"""
10503 return _IMP_atom.get_pairwise_rmsd_score(ref1, ref2, mdl1, mdl2)
10507 get_radius_of_gyration(Selection s) -> double
10508 get_radius_of_gyration(IMP::ParticlesTemp const & ps) -> double
10510 return _IMP_atom.get_radius_of_gyration(*args)
10512 """Proxy of C++ IMP::atom::ForceFieldParameters class"""
10513 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10515 def __init__(self):
10516 """__init__(IMP::atom::ForceFieldParameters self) -> ForceFieldParameters"""
10517 this = _IMP_atom.new_ForceFieldParameters()
10519 self.this.append(this)
10523 def get_radius(self, atom):
10524 """get_radius(ForceFieldParameters self, Atom atom) -> IMP::Float"""
10525 return _IMP_atom.ForceFieldParameters_get_radius(self, atom)
10528 def get_epsilon(self, atom):
10529 """get_epsilon(ForceFieldParameters self, Atom atom) -> IMP::Float"""
10530 return _IMP_atom.ForceFieldParameters_get_epsilon(self, atom)
10535 add_radii(ForceFieldParameters self, Hierarchy mhd, double scale=1.0, FloatKey radius_key)
10536 add_radii(ForceFieldParameters self, Hierarchy mhd, double scale=1.0)
10537 add_radii(ForceFieldParameters self, Hierarchy mhd)
10539 return _IMP_atom.ForceFieldParameters_add_radii(self, *args)
10542 def add_well_depths(self, mhd):
10543 """add_well_depths(ForceFieldParameters self, Hierarchy mhd)"""
10544 return _IMP_atom.ForceFieldParameters_add_well_depths(self, mhd)
10548 """add_bonds(ForceFieldParameters self, Hierarchy mhd)"""
10549 return _IMP_atom.ForceFieldParameters_add_bonds(self, mhd)
10551 __swig_destroy__ = _IMP_atom.delete_ForceFieldParameters
10552 __del__ =
lambda self:
None
10555 """__str__(ForceFieldParameters self) -> std::string"""
10556 return _IMP_atom.ForceFieldParameters___str__(self)
10559 def __repr__(self):
10560 """__repr__(ForceFieldParameters self) -> std::string"""
10561 return _IMP_atom.ForceFieldParameters___repr__(self)
10564 return _object_cast_to_ForceFieldParameters(o)
10565 get_from = staticmethod(get_from)
10567 ForceFieldParameters_swigregister = _IMP_atom.ForceFieldParameters_swigregister
10568 ForceFieldParameters_swigregister(ForceFieldParameters)
10570 class CHARMMAtomTopology(object):
10571 """Proxy of C++ IMP::atom::CHARMMAtomTopology class"""
10572 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10574 def __init__(self, *args):
10576 __init__(IMP::atom::CHARMMAtomTopology self, std::string name) -> CHARMMAtomTopology
10577 __init__(IMP::atom::CHARMMAtomTopology self, std::string name, CHARMMAtomTopology other) -> CHARMMAtomTopology
10579 this = _IMP_atom.new_CHARMMAtomTopology(*args)
10581 self.this.append(this)
10585 def get_name(self):
10586 """get_name(CHARMMAtomTopology self) -> std::string"""
10587 return _IMP_atom.CHARMMAtomTopology_get_name(self)
10590 def get_charmm_type(self):
10591 """get_charmm_type(CHARMMAtomTopology self) -> std::string"""
10592 return _IMP_atom.CHARMMAtomTopology_get_charmm_type(self)
10595 def get_charge(self):
10596 """get_charge(CHARMMAtomTopology self) -> double"""
10597 return _IMP_atom.CHARMMAtomTopology_get_charge(self)
10600 def set_charmm_type(self, charmm_type):
10601 """set_charmm_type(CHARMMAtomTopology self, std::string charmm_type)"""
10602 return _IMP_atom.CHARMMAtomTopology_set_charmm_type(self, charmm_type)
10605 def set_charge(self, charge):
10606 """set_charge(CHARMMAtomTopology self, double charge)"""
10607 return _IMP_atom.CHARMMAtomTopology_set_charge(self, charge)
10610 def show(self, *args):
10612 show(CHARMMAtomTopology self, _ostream out)
10613 show(CHARMMAtomTopology self)
10615 return _IMP_atom.CHARMMAtomTopology_show(self, *args)
10619 """__str__(CHARMMAtomTopology self) -> std::string"""
10620 return _IMP_atom.CHARMMAtomTopology___str__(self)
10623 def __repr__(self):
10624 """__repr__(CHARMMAtomTopology self) -> std::string"""
10625 return _IMP_atom.CHARMMAtomTopology___repr__(self)
10627 __swig_destroy__ = _IMP_atom.delete_CHARMMAtomTopology
10628 __del__ =
lambda self:
None
10629 CHARMMAtomTopology_swigregister = _IMP_atom.CHARMMAtomTopology_swigregister
10630 CHARMMAtomTopology_swigregister(CHARMMAtomTopology)
10632 class CHARMMBondEndpoint(object):
10633 """Proxy of C++ IMP::atom::CHARMMBondEndpoint class"""
10634 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10636 def __init__(self, atom_name, residue=None):
10638 __init__(IMP::atom::CHARMMBondEndpoint self, std::string atom_name, CHARMMResidueTopology residue=None) -> CHARMMBondEndpoint
10639 __init__(IMP::atom::CHARMMBondEndpoint self, std::string atom_name) -> CHARMMBondEndpoint
10641 this = _IMP_atom.new_CHARMMBondEndpoint(atom_name, residue)
10643 self.this.append(this)
10647 def get_atom_name(self):
10648 """get_atom_name(CHARMMBondEndpoint self) -> std::string"""
10649 return _IMP_atom.CHARMMBondEndpoint_get_atom_name(self)
10652 def get_atom(self, current_residue, previous_residue, next_residue, resmap):
10653 """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"""
10654 return _IMP_atom.CHARMMBondEndpoint_get_atom(self, current_residue, previous_residue, next_residue, resmap)
10657 def show(self, *args):
10659 show(CHARMMBondEndpoint self, _ostream out)
10660 show(CHARMMBondEndpoint self)
10662 return _IMP_atom.CHARMMBondEndpoint_show(self, *args)
10666 """__str__(CHARMMBondEndpoint self) -> std::string"""
10667 return _IMP_atom.CHARMMBondEndpoint___str__(self)
10670 def __repr__(self):
10671 """__repr__(CHARMMBondEndpoint self) -> std::string"""
10672 return _IMP_atom.CHARMMBondEndpoint___repr__(self)
10674 __swig_destroy__ = _IMP_atom.delete_CHARMMBondEndpoint
10675 __del__ =
lambda self:
None
10676 CHARMMBondEndpoint_swigregister = _IMP_atom.CHARMMBondEndpoint_swigregister
10677 CHARMMBondEndpoint_swigregister(CHARMMBondEndpoint)
10679 class CHARMMDihedral(object):
10680 """Proxy of C++ IMP::atom::CHARMMConnection<(4)> class"""
10681 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10682 __repr__ = _swig_repr
10684 def __init__(self, atoms):
10685 """__init__(IMP::atom::CHARMMConnection<(4)> self, IMP::Strings const & atoms) -> CHARMMDihedral"""
10686 this = _IMP_atom.new_CHARMMDihedral(atoms)
10688 self.this.append(this)
10692 def get_endpoint(self, i):
10693 """get_endpoint(CHARMMDihedral self, unsigned int i) -> CHARMMBondEndpoint"""
10694 return _IMP_atom.CHARMMDihedral_get_endpoint(self, i)
10697 def get_contains_atom(self, name):
10698 """get_contains_atom(CHARMMDihedral self, std::string name) -> bool"""
10699 return _IMP_atom.CHARMMDihedral_get_contains_atom(self, name)
10702 def show(self, *args):
10704 show(CHARMMDihedral self, _ostream out)
10705 show(CHARMMDihedral self)
10707 return _IMP_atom.CHARMMDihedral_show(self, *args)
10709 __swig_destroy__ = _IMP_atom.delete_CHARMMDihedral
10710 __del__ =
lambda self:
None
10711 CHARMMDihedral_swigregister = _IMP_atom.CHARMMDihedral_swigregister
10712 CHARMMDihedral_swigregister(CHARMMDihedral)
10714 class CHARMMInternalCoordinate(CHARMMDihedral):
10715 """Proxy of C++ IMP::atom::CHARMMInternalCoordinate class"""
10716 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10718 def __init__(self, *args):
10720 __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
10721 __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
10723 this = _IMP_atom.new_CHARMMInternalCoordinate(*args)
10725 self.this.append(this)
10729 def get_first_distance(self):
10730 """get_first_distance(CHARMMInternalCoordinate self) -> float"""
10731 return _IMP_atom.CHARMMInternalCoordinate_get_first_distance(self)
10734 def get_second_distance(self):
10735 """get_second_distance(CHARMMInternalCoordinate self) -> float"""
10736 return _IMP_atom.CHARMMInternalCoordinate_get_second_distance(self)
10739 def get_first_angle(self):
10740 """get_first_angle(CHARMMInternalCoordinate self) -> float"""
10741 return _IMP_atom.CHARMMInternalCoordinate_get_first_angle(self)
10744 def get_second_angle(self):
10745 """get_second_angle(CHARMMInternalCoordinate self) -> float"""
10746 return _IMP_atom.CHARMMInternalCoordinate_get_second_angle(self)
10750 """get_dihedral(CHARMMInternalCoordinate self) -> float"""
10751 return _IMP_atom.CHARMMInternalCoordinate_get_dihedral(self)
10754 def get_improper(self):
10755 """get_improper(CHARMMInternalCoordinate self) -> bool"""
10756 return _IMP_atom.CHARMMInternalCoordinate_get_improper(self)
10759 def show(self, *args):
10761 show(CHARMMInternalCoordinate self, _ostream out)
10762 show(CHARMMInternalCoordinate self)
10764 return _IMP_atom.CHARMMInternalCoordinate_show(self, *args)
10768 """__str__(CHARMMInternalCoordinate self) -> std::string"""
10769 return _IMP_atom.CHARMMInternalCoordinate___str__(self)
10772 def __repr__(self):
10773 """__repr__(CHARMMInternalCoordinate self) -> std::string"""
10774 return _IMP_atom.CHARMMInternalCoordinate___repr__(self)
10776 __swig_destroy__ = _IMP_atom.delete_CHARMMInternalCoordinate
10777 __del__ =
lambda self:
None
10778 CHARMMInternalCoordinate_swigregister = _IMP_atom.CHARMMInternalCoordinate_swigregister
10779 CHARMMInternalCoordinate_swigregister(CHARMMInternalCoordinate)
10781 class CHARMMResidueTopologyBase(
IMP.Object):
10782 """Proxy of C++ IMP::atom::CHARMMResidueTopologyBase class"""
10783 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10785 def __init__(self, *args, **kwargs):
10786 raise AttributeError(
"No constructor defined")
10788 def get_type(self):
10789 """get_type(CHARMMResidueTopologyBase self) -> std::string"""
10790 return _IMP_atom.CHARMMResidueTopologyBase_get_type(self)
10793 def get_number_of_atoms(self):
10794 """get_number_of_atoms(CHARMMResidueTopologyBase self) -> unsigned int"""
10795 return _IMP_atom.CHARMMResidueTopologyBase_get_number_of_atoms(self)
10798 def add_atom(self, atom):
10799 """add_atom(CHARMMResidueTopologyBase self, CHARMMAtomTopology atom)"""
10800 return _IMP_atom.CHARMMResidueTopologyBase_add_atom(self, atom)
10805 get_atom(CHARMMResidueTopologyBase self, unsigned int i) -> CHARMMAtomTopology
10806 get_atom(CHARMMResidueTopologyBase self, AtomType type) -> CHARMMAtomTopology
10807 get_atom(CHARMMResidueTopologyBase self, std::string name) -> CHARMMAtomTopology
10809 return _IMP_atom.CHARMMResidueTopologyBase_get_atom(self, *args)
10812 def get_number_of_bonds(self):
10813 """get_number_of_bonds(CHARMMResidueTopologyBase self) -> unsigned int"""
10814 return _IMP_atom.CHARMMResidueTopologyBase_get_number_of_bonds(self)
10817 def add_bond(self, bond):
10818 """add_bond(CHARMMResidueTopologyBase self, IMP::atom::CHARMMBond const & bond)"""
10819 return _IMP_atom.CHARMMResidueTopologyBase_add_bond(self, bond)
10822 def get_number_of_angles(self):
10823 """get_number_of_angles(CHARMMResidueTopologyBase self) -> unsigned int"""
10824 return _IMP_atom.CHARMMResidueTopologyBase_get_number_of_angles(self)
10827 def add_angle(self, bond):
10828 """add_angle(CHARMMResidueTopologyBase self, IMP::atom::CHARMMAngle const & bond)"""
10829 return _IMP_atom.CHARMMResidueTopologyBase_add_angle(self, bond)
10832 def get_number_of_dihedrals(self):
10833 """get_number_of_dihedrals(CHARMMResidueTopologyBase self) -> unsigned int"""
10834 return _IMP_atom.CHARMMResidueTopologyBase_get_number_of_dihedrals(self)
10837 def add_dihedral(self, bond):
10838 """add_dihedral(CHARMMResidueTopologyBase self, CHARMMDihedral bond)"""
10839 return _IMP_atom.CHARMMResidueTopologyBase_add_dihedral(self, bond)
10842 def get_number_of_impropers(self):
10843 """get_number_of_impropers(CHARMMResidueTopologyBase self) -> unsigned int"""
10844 return _IMP_atom.CHARMMResidueTopologyBase_get_number_of_impropers(self)
10847 def add_improper(self, bond):
10848 """add_improper(CHARMMResidueTopologyBase self, CHARMMDihedral bond)"""
10849 return _IMP_atom.CHARMMResidueTopologyBase_add_improper(self, bond)
10852 def get_number_of_internal_coordinates(self):
10853 """get_number_of_internal_coordinates(CHARMMResidueTopologyBase self) -> unsigned int"""
10854 return _IMP_atom.CHARMMResidueTopologyBase_get_number_of_internal_coordinates(self)
10857 def add_internal_coordinate(self, ic):
10858 """add_internal_coordinate(CHARMMResidueTopologyBase self, CHARMMInternalCoordinate ic)"""
10859 return _IMP_atom.CHARMMResidueTopologyBase_add_internal_coordinate(self, ic)
10862 def get_internal_coordinate(self, index):
10863 """get_internal_coordinate(CHARMMResidueTopologyBase self, unsigned int index) -> CHARMMInternalCoordinate"""
10864 return _IMP_atom.CHARMMResidueTopologyBase_get_internal_coordinate(self, index)
10868 """get_bond(CHARMMResidueTopologyBase self, unsigned int index) -> IMP::atom::CHARMMBond const &"""
10869 return _IMP_atom.CHARMMResidueTopologyBase_get_bond(self, index)
10872 def get_angle(self, index):
10873 """get_angle(CHARMMResidueTopologyBase self, unsigned int index) -> IMP::atom::CHARMMAngle const &"""
10874 return _IMP_atom.CHARMMResidueTopologyBase_get_angle(self, index)
10878 """get_dihedral(CHARMMResidueTopologyBase self, unsigned int index) -> CHARMMDihedral"""
10879 return _IMP_atom.CHARMMResidueTopologyBase_get_dihedral(self, index)
10882 def get_improper(self, index):
10883 """get_improper(CHARMMResidueTopologyBase self, unsigned int index) -> CHARMMDihedral"""
10884 return _IMP_atom.CHARMMResidueTopologyBase_get_improper(self, index)
10887 def get_version_info(self):
10888 """get_version_info(CHARMMResidueTopologyBase self) -> VersionInfo"""
10889 return _IMP_atom.CHARMMResidueTopologyBase_get_version_info(self)
10893 """__str__(CHARMMResidueTopologyBase self) -> std::string"""
10894 return _IMP_atom.CHARMMResidueTopologyBase___str__(self)
10897 def __repr__(self):
10898 """__repr__(CHARMMResidueTopologyBase self) -> std::string"""
10899 return _IMP_atom.CHARMMResidueTopologyBase___repr__(self)
10902 return _object_cast_to_CHARMMResidueTopologyBase(o)
10903 get_from = staticmethod(get_from)
10905 CHARMMResidueTopologyBase_swigregister = _IMP_atom.CHARMMResidueTopologyBase_swigregister
10906 CHARMMResidueTopologyBase_swigregister(CHARMMResidueTopologyBase)
10908 class CHARMMIdealResidueTopology(CHARMMResidueTopologyBase):
10909 """Proxy of C++ IMP::atom::CHARMMIdealResidueTopology class"""
10910 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10912 def __init__(self, *args):
10914 __init__(IMP::atom::CHARMMIdealResidueTopology self, std::string type) -> CHARMMIdealResidueTopology
10915 __init__(IMP::atom::CHARMMIdealResidueTopology self, ResidueType type) -> CHARMMIdealResidueTopology
10917 this = _IMP_atom.new_CHARMMIdealResidueTopology(*args)
10919 self.this.append(this)
10923 def remove_atom(self, name):
10924 """remove_atom(CHARMMIdealResidueTopology self, std::string name)"""
10925 return _IMP_atom.CHARMMIdealResidueTopology_remove_atom(self, name)
10928 def set_default_first_patch(self, patch):
10929 """set_default_first_patch(CHARMMIdealResidueTopology self, std::string patch)"""
10930 return _IMP_atom.CHARMMIdealResidueTopology_set_default_first_patch(self, patch)
10933 def set_default_last_patch(self, patch):
10934 """set_default_last_patch(CHARMMIdealResidueTopology self, std::string patch)"""
10935 return _IMP_atom.CHARMMIdealResidueTopology_set_default_last_patch(self, patch)
10938 def get_default_first_patch(self):
10939 """get_default_first_patch(CHARMMIdealResidueTopology self) -> std::string"""
10940 return _IMP_atom.CHARMMIdealResidueTopology_get_default_first_patch(self)
10943 def get_default_last_patch(self):
10944 """get_default_last_patch(CHARMMIdealResidueTopology self) -> std::string"""
10945 return _IMP_atom.CHARMMIdealResidueTopology_get_default_last_patch(self)
10949 """__str__(CHARMMIdealResidueTopology self) -> std::string"""
10950 return _IMP_atom.CHARMMIdealResidueTopology___str__(self)
10953 def __repr__(self):
10954 """__repr__(CHARMMIdealResidueTopology self) -> std::string"""
10955 return _IMP_atom.CHARMMIdealResidueTopology___repr__(self)
10958 return _object_cast_to_CHARMMIdealResidueTopology(o)
10959 get_from = staticmethod(get_from)
10961 CHARMMIdealResidueTopology_swigregister = _IMP_atom.CHARMMIdealResidueTopology_swigregister
10962 CHARMMIdealResidueTopology_swigregister(CHARMMIdealResidueTopology)
10964 class CHARMMPatch(CHARMMResidueTopologyBase):
10965 """Proxy of C++ IMP::atom::CHARMMPatch class"""
10966 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10968 def __init__(self, type):
10969 """__init__(IMP::atom::CHARMMPatch self, std::string type) -> CHARMMPatch"""
10970 this = _IMP_atom.new_CHARMMPatch(type)
10972 self.this.append(this)
10976 def add_removed_atom(self, name):
10977 """add_removed_atom(CHARMMPatch self, std::string name)"""
10978 return _IMP_atom.CHARMMPatch_add_removed_atom(self, name)
10981 def get_number_of_removed_atoms(self):
10982 """get_number_of_removed_atoms(CHARMMPatch self) -> unsigned int"""
10983 return _IMP_atom.CHARMMPatch_get_number_of_removed_atoms(self)
10986 def get_removed_atom(self, i):
10987 """get_removed_atom(CHARMMPatch self, unsigned int i) -> std::string"""
10988 return _IMP_atom.CHARMMPatch_get_removed_atom(self, i)
10991 def apply(self, *args):
10993 apply(CHARMMPatch self, CHARMMResidueTopology res)
10994 apply(CHARMMPatch self, CHARMMResidueTopology res1, CHARMMResidueTopology res2)
10996 return _IMP_atom.CHARMMPatch_apply(self, *args)
11000 """__str__(CHARMMPatch self) -> std::string"""
11001 return _IMP_atom.CHARMMPatch___str__(self)
11004 def __repr__(self):
11005 """__repr__(CHARMMPatch self) -> std::string"""
11006 return _IMP_atom.CHARMMPatch___repr__(self)
11009 return _object_cast_to_CHARMMPatch(o)
11010 get_from = staticmethod(get_from)
11012 CHARMMPatch_swigregister = _IMP_atom.CHARMMPatch_swigregister
11013 CHARMMPatch_swigregister(CHARMMPatch)
11015 class CHARMMResidueTopology(CHARMMIdealResidueTopology):
11016 """Proxy of C++ IMP::atom::CHARMMResidueTopology class"""
11017 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11019 def __init__(self, *args):
11021 __init__(IMP::atom::CHARMMResidueTopology self, ResidueType type) -> CHARMMResidueTopology
11022 __init__(IMP::atom::CHARMMResidueTopology self, CHARMMIdealResidueTopology ideal) -> CHARMMResidueTopology
11024 this = _IMP_atom.new_CHARMMResidueTopology(*args)
11026 self.this.append(this)
11030 def get_patched(self):
11031 """get_patched(CHARMMResidueTopology self) -> bool"""
11032 return _IMP_atom.CHARMMResidueTopology_get_patched(self)
11035 def set_patched(self, patched):
11036 """set_patched(CHARMMResidueTopology self, bool patched)"""
11037 return _IMP_atom.CHARMMResidueTopology_set_patched(self, patched)
11041 """__str__(CHARMMResidueTopology self) -> std::string"""
11042 return _IMP_atom.CHARMMResidueTopology___str__(self)
11045 def __repr__(self):
11046 """__repr__(CHARMMResidueTopology self) -> std::string"""
11047 return _IMP_atom.CHARMMResidueTopology___repr__(self)
11050 return _object_cast_to_CHARMMResidueTopology(o)
11051 get_from = staticmethod(get_from)
11053 CHARMMResidueTopology_swigregister = _IMP_atom.CHARMMResidueTopology_swigregister
11054 CHARMMResidueTopology_swigregister(CHARMMResidueTopology)
11056 class CHARMMAtom(Atom):
11057 """Proxy of C++ IMP::atom::CHARMMAtom class"""
11058 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11060 def __init__(self, *args):
11062 __init__(IMP::atom::CHARMMAtom self) -> CHARMMAtom
11063 __init__(IMP::atom::CHARMMAtom self, Model m, ParticleIndex id) -> CHARMMAtom
11064 __init__(IMP::atom::CHARMMAtom self, _ParticleAdaptor d) -> CHARMMAtom
11066 this = _IMP_atom.new_CHARMMAtom(*args)
11068 self.this.append(this)
11072 def show(self, *args):
11074 show(CHARMMAtom self, _ostream out)
11075 show(CHARMMAtom self)
11077 return _IMP_atom.CHARMMAtom_show(self, *args)
11080 def setup_particle(*args):
11082 setup_particle(Model m, ParticleIndex pi, IMP::String charmm_type) -> CHARMMAtom
11083 setup_particle(_ParticleAdaptor decorator, IMP::String charmm_type) -> CHARMMAtom
11085 return _IMP_atom.CHARMMAtom_setup_particle(*args)
11087 setup_particle = staticmethod(setup_particle)
11089 def get_charmm_type(self):
11090 """get_charmm_type(CHARMMAtom self) -> IMP::String"""
11091 return _IMP_atom.CHARMMAtom_get_charmm_type(self)
11094 def set_charmm_type(self, t):
11095 """set_charmm_type(CHARMMAtom self, IMP::String t)"""
11096 return _IMP_atom.CHARMMAtom_set_charmm_type(self, t)
11099 def get_is_setup(*args):
11101 get_is_setup(_ParticleAdaptor p) -> bool
11102 get_is_setup(Model m, ParticleIndex pi) -> bool
11104 return _IMP_atom.CHARMMAtom_get_is_setup(*args)
11106 get_is_setup = staticmethod(get_is_setup)
11108 def get_charmm_type_key():
11109 """get_charmm_type_key() -> StringKey"""
11110 return _IMP_atom.CHARMMAtom_get_charmm_type_key()
11112 get_charmm_type_key = staticmethod(get_charmm_type_key)
11114 def add_attribute(self, *args):
11116 add_attribute(CHARMMAtom self, FloatKey k, IMP::Float v, bool opt)
11117 add_attribute(CHARMMAtom self, FloatKey a0, IMP::Float a1)
11118 add_attribute(CHARMMAtom self, IntKey a0, IMP::Int a1)
11119 add_attribute(CHARMMAtom self, StringKey a0, IMP::String a1)
11120 add_attribute(CHARMMAtom self, ParticleIndexKey a0, Particle a1)
11121 add_attribute(CHARMMAtom self, ObjectKey a0, Object a1)
11123 return _IMP_atom.CHARMMAtom_add_attribute(self, *args)
11126 def get_value(self, *args):
11128 get_value(CHARMMAtom self, FloatKey a0) -> IMP::Float
11129 get_value(CHARMMAtom self, IntKey a0) -> IMP::Int
11130 get_value(CHARMMAtom self, StringKey a0) -> IMP::String
11131 get_value(CHARMMAtom self, ParticleIndexKey a0) -> Particle
11132 get_value(CHARMMAtom self, ObjectKey a0) -> Object
11134 return _IMP_atom.CHARMMAtom_get_value(self, *args)
11137 def set_value(self, *args):
11139 set_value(CHARMMAtom self, FloatKey a0, IMP::Float a1)
11140 set_value(CHARMMAtom self, IntKey a0, IMP::Int a1)
11141 set_value(CHARMMAtom self, StringKey a0, IMP::String a1)
11142 set_value(CHARMMAtom self, ParticleIndexKey a0, Particle a1)
11143 set_value(CHARMMAtom self, ObjectKey a0, Object a1)
11145 return _IMP_atom.CHARMMAtom_set_value(self, *args)
11148 def remove_attribute(self, *args):
11150 remove_attribute(CHARMMAtom self, FloatKey a0)
11151 remove_attribute(CHARMMAtom self, IntKey a0)
11152 remove_attribute(CHARMMAtom self, StringKey a0)
11153 remove_attribute(CHARMMAtom self, ParticleIndexKey a0)
11154 remove_attribute(CHARMMAtom self, ObjectKey a0)
11156 return _IMP_atom.CHARMMAtom_remove_attribute(self, *args)
11159 def has_attribute(self, *args):
11161 has_attribute(CHARMMAtom self, FloatKey a0) -> bool
11162 has_attribute(CHARMMAtom self, IntKey a0) -> bool
11163 has_attribute(CHARMMAtom self, StringKey a0) -> bool
11164 has_attribute(CHARMMAtom self, ParticleIndexKey a0) -> bool
11165 has_attribute(CHARMMAtom self, ObjectKey a0) -> bool
11167 return _IMP_atom.CHARMMAtom_has_attribute(self, *args)
11170 def get_derivative(self, a0):
11171 """get_derivative(CHARMMAtom self, FloatKey a0) -> double"""
11172 return _IMP_atom.CHARMMAtom_get_derivative(self, a0)
11175 def get_name(self):
11176 """get_name(CHARMMAtom self) -> std::string"""
11177 return _IMP_atom.CHARMMAtom_get_name(self)
11180 def clear_caches(self):
11181 """clear_caches(CHARMMAtom self)"""
11182 return _IMP_atom.CHARMMAtom_clear_caches(self)
11185 def set_name(self, a0):
11186 """set_name(CHARMMAtom self, std::string a0)"""
11187 return _IMP_atom.CHARMMAtom_set_name(self, a0)
11191 """set_check_level(CHARMMAtom self, IMP::CheckLevel a0)"""
11192 return _IMP_atom.CHARMMAtom_set_check_level(self, a0)
11195 def add_to_derivative(self, a0, a1, a2):
11196 """add_to_derivative(CHARMMAtom self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
11197 return _IMP_atom.CHARMMAtom_add_to_derivative(self, a0, a1, a2)
11200 def set_is_optimized(self, a0, a1):
11201 """set_is_optimized(CHARMMAtom self, FloatKey a0, bool a1)"""
11202 return _IMP_atom.CHARMMAtom_set_is_optimized(self, a0, a1)
11205 def get_is_optimized(self, a0):
11206 """get_is_optimized(CHARMMAtom self, FloatKey a0) -> bool"""
11207 return _IMP_atom.CHARMMAtom_get_is_optimized(self, a0)
11211 """get_check_level(CHARMMAtom self) -> IMP::CheckLevel"""
11212 return _IMP_atom.CHARMMAtom_get_check_level(self)
11215 def __eq__(self, *args):
11217 __eq__(CHARMMAtom self, CHARMMAtom o) -> bool
11218 __eq__(CHARMMAtom self, Particle d) -> bool
11220 return _IMP_atom.CHARMMAtom___eq__(self, *args)
11223 def __ne__(self, *args):
11225 __ne__(CHARMMAtom self, CHARMMAtom o) -> bool
11226 __ne__(CHARMMAtom self, Particle d) -> bool
11228 return _IMP_atom.CHARMMAtom___ne__(self, *args)
11231 def __le__(self, *args):
11233 __le__(CHARMMAtom self, CHARMMAtom o) -> bool
11234 __le__(CHARMMAtom self, Particle d) -> bool
11236 return _IMP_atom.CHARMMAtom___le__(self, *args)
11239 def __lt__(self, *args):
11241 __lt__(CHARMMAtom self, CHARMMAtom o) -> bool
11242 __lt__(CHARMMAtom self, Particle d) -> bool
11244 return _IMP_atom.CHARMMAtom___lt__(self, *args)
11247 def __ge__(self, *args):
11249 __ge__(CHARMMAtom self, CHARMMAtom o) -> bool
11250 __ge__(CHARMMAtom self, Particle d) -> bool
11252 return _IMP_atom.CHARMMAtom___ge__(self, *args)
11255 def __gt__(self, *args):
11257 __gt__(CHARMMAtom self, CHARMMAtom o) -> bool
11258 __gt__(CHARMMAtom self, Particle d) -> bool
11260 return _IMP_atom.CHARMMAtom___gt__(self, *args)
11263 def __hash__(self):
11264 """__hash__(CHARMMAtom self) -> std::size_t"""
11265 return _IMP_atom.CHARMMAtom___hash__(self)
11269 """__str__(CHARMMAtom self) -> std::string"""
11270 return _IMP_atom.CHARMMAtom___str__(self)
11273 def __repr__(self):
11274 """__repr__(CHARMMAtom self) -> std::string"""
11275 return _IMP_atom.CHARMMAtom___repr__(self)
11277 __swig_destroy__ = _IMP_atom.delete_CHARMMAtom
11278 __del__ =
lambda self:
None
11279 CHARMMAtom_swigregister = _IMP_atom.CHARMMAtom_swigregister
11280 CHARMMAtom_swigregister(CHARMMAtom)
11282 def CHARMMAtom_setup_particle(*args):
11284 setup_particle(Model m, ParticleIndex pi, IMP::String charmm_type) -> CHARMMAtom
11285 CHARMMAtom_setup_particle(_ParticleAdaptor decorator, IMP::String charmm_type) -> CHARMMAtom
11287 return _IMP_atom.CHARMMAtom_setup_particle(*args)
11289 def CHARMMAtom_get_is_setup(*args):
11291 get_is_setup(_ParticleAdaptor p) -> bool
11292 CHARMMAtom_get_is_setup(Model m, ParticleIndex pi) -> bool
11294 return _IMP_atom.CHARMMAtom_get_is_setup(*args)
11296 def CHARMMAtom_get_charmm_type_key():
11297 """CHARMMAtom_get_charmm_type_key() -> StringKey"""
11298 return _IMP_atom.CHARMMAtom_get_charmm_type_key()
11302 """get_charmm_untyped_atoms(Hierarchy hierarchy) -> IMP::atom::Atoms"""
11303 return _IMP_atom.get_charmm_untyped_atoms(hierarchy)
11306 """remove_charmm_untyped_atoms(Hierarchy hierarchy)"""
11307 return _IMP_atom.remove_charmm_untyped_atoms(hierarchy)
11308 class CHARMMBondParameters(object):
11309 """Proxy of C++ IMP::atom::CHARMMBondParameters class"""
11310 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11311 force_constant = _swig_property(_IMP_atom.CHARMMBondParameters_force_constant_get, _IMP_atom.CHARMMBondParameters_force_constant_set)
11312 ideal = _swig_property(_IMP_atom.CHARMMBondParameters_ideal_get, _IMP_atom.CHARMMBondParameters_ideal_set)
11314 def __init__(self):
11315 """__init__(IMP::atom::CHARMMBondParameters self) -> CHARMMBondParameters"""
11316 this = _IMP_atom.new_CHARMMBondParameters()
11318 self.this.append(this)
11322 def show(self, *args):
11324 show(CHARMMBondParameters self, _ostream out)
11325 show(CHARMMBondParameters self)
11327 return _IMP_atom.CHARMMBondParameters_show(self, *args)
11331 """__str__(CHARMMBondParameters self) -> std::string"""
11332 return _IMP_atom.CHARMMBondParameters___str__(self)
11335 def __repr__(self):
11336 """__repr__(CHARMMBondParameters self) -> std::string"""
11337 return _IMP_atom.CHARMMBondParameters___repr__(self)
11339 __swig_destroy__ = _IMP_atom.delete_CHARMMBondParameters
11340 __del__ =
lambda self:
None
11341 CHARMMBondParameters_swigregister = _IMP_atom.CHARMMBondParameters_swigregister
11342 CHARMMBondParameters_swigregister(CHARMMBondParameters)
11344 class CHARMMDihedralParameters(object):
11345 """Proxy of C++ IMP::atom::CHARMMDihedralParameters class"""
11346 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11347 force_constant = _swig_property(_IMP_atom.CHARMMDihedralParameters_force_constant_get, _IMP_atom.CHARMMDihedralParameters_force_constant_set)
11348 multiplicity = _swig_property(_IMP_atom.CHARMMDihedralParameters_multiplicity_get, _IMP_atom.CHARMMDihedralParameters_multiplicity_set)
11349 ideal = _swig_property(_IMP_atom.CHARMMDihedralParameters_ideal_get, _IMP_atom.CHARMMDihedralParameters_ideal_set)
11351 def __init__(self):
11352 """__init__(IMP::atom::CHARMMDihedralParameters self) -> CHARMMDihedralParameters"""
11353 this = _IMP_atom.new_CHARMMDihedralParameters()
11355 self.this.append(this)
11359 def show(self, *args):
11361 show(CHARMMDihedralParameters self, _ostream out)
11362 show(CHARMMDihedralParameters self)
11364 return _IMP_atom.CHARMMDihedralParameters_show(self, *args)
11368 """__str__(CHARMMDihedralParameters self) -> std::string"""
11369 return _IMP_atom.CHARMMDihedralParameters___str__(self)
11372 def __repr__(self):
11373 """__repr__(CHARMMDihedralParameters self) -> std::string"""
11374 return _IMP_atom.CHARMMDihedralParameters___repr__(self)
11376 __swig_destroy__ = _IMP_atom.delete_CHARMMDihedralParameters
11377 __del__ =
lambda self:
None
11378 CHARMMDihedralParameters_swigregister = _IMP_atom.CHARMMDihedralParameters_swigregister
11379 CHARMMDihedralParameters_swigregister(CHARMMDihedralParameters)
11381 class CHARMMParameters(ForceFieldParameters):
11382 """Proxy of C++ IMP::atom::CHARMMParameters class"""
11383 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11385 def __init__(self, *args):
11387 __init__(IMP::atom::CHARMMParameters self, TextInput topology_file_name, TextInput par_file_name, bool translate_names_to_pdb=False) -> CHARMMParameters
11388 __init__(IMP::atom::CHARMMParameters self, TextInput topology_file_name, TextInput par_file_name) -> CHARMMParameters
11389 __init__(IMP::atom::CHARMMParameters self, TextInput topology_file_name) -> CHARMMParameters
11391 this = _IMP_atom.new_CHARMMParameters(*args)
11393 self.this.append(this)
11397 def add_residue_topology(self, res):
11398 """add_residue_topology(CHARMMParameters self, CHARMMIdealResidueTopology res)"""
11399 return _IMP_atom.CHARMMParameters_add_residue_topology(self, res)
11402 def get_residue_topology(self, type):
11403 """get_residue_topology(CHARMMParameters self, ResidueType type) -> CHARMMIdealResidueTopology"""
11404 return _IMP_atom.CHARMMParameters_get_residue_topology(self, type)
11407 def add_patch(self, patch):
11408 """add_patch(CHARMMParameters self, CHARMMPatch patch)"""
11409 return _IMP_atom.CHARMMParameters_add_patch(self, patch)
11412 def get_patch(self, name):
11413 """get_patch(CHARMMParameters self, std::string name) -> CHARMMPatch"""
11414 return _IMP_atom.CHARMMParameters_get_patch(self, name)
11417 def create_topology(self, hierarchy):
11418 """create_topology(CHARMMParameters self, Hierarchy hierarchy) -> CHARMMTopology"""
11419 return _IMP_atom.CHARMMParameters_create_topology(self, hierarchy)
11422 def get_bond_parameters(self, type1, type2):
11423 """get_bond_parameters(CHARMMParameters self, std::string type1, std::string type2) -> CHARMMBondParameters"""
11424 return _IMP_atom.CHARMMParameters_get_bond_parameters(self, type1, type2)
11427 def get_angle_parameters(self, type1, type2, type3):
11428 """get_angle_parameters(CHARMMParameters self, std::string type1, std::string type2, std::string type3) -> CHARMMBondParameters"""
11429 return _IMP_atom.CHARMMParameters_get_angle_parameters(self, type1, type2, type3)
11432 def get_dihedral_parameters(self, type1, type2, type3, type4):
11433 """get_dihedral_parameters(CHARMMParameters self, std::string type1, std::string type2, std::string type3, std::string type4) -> IMP::atom::CHARMMDihedralParametersList"""
11434 return _IMP_atom.CHARMMParameters_get_dihedral_parameters(self, type1, type2, type3, type4)
11437 def get_improper_parameters(self, type1, type2, type3, type4):
11438 """get_improper_parameters(CHARMMParameters self, std::string type1, std::string type2, std::string type3, std::string type4) -> CHARMMDihedralParameters"""
11439 return _IMP_atom.CHARMMParameters_get_improper_parameters(self, type1, type2, type3, type4)
11442 def create_angles(self, bonds):
11443 """create_angles(CHARMMParameters self, IMP::Particles bonds) -> IMP::Particles"""
11444 return _IMP_atom.CHARMMParameters_create_angles(self, bonds)
11447 def create_dihedrals(self, bonds):
11448 """create_dihedrals(CHARMMParameters self, IMP::Particles bonds) -> IMP::Particles"""
11449 return _IMP_atom.CHARMMParameters_create_dihedrals(self, bonds)
11452 def get_version_info(self):
11453 """get_version_info(CHARMMParameters self) -> VersionInfo"""
11454 return _IMP_atom.CHARMMParameters_get_version_info(self)
11458 """__str__(CHARMMParameters self) -> std::string"""
11459 return _IMP_atom.CHARMMParameters___str__(self)
11462 def __repr__(self):
11463 """__repr__(CHARMMParameters self) -> std::string"""
11464 return _IMP_atom.CHARMMParameters___repr__(self)
11467 return _object_cast_to_CHARMMParameters(o)
11468 get_from = staticmethod(get_from)
11470 CHARMMParameters_swigregister = _IMP_atom.CHARMMParameters_swigregister
11471 CHARMMParameters_swigregister(CHARMMParameters)
11475 """get_heavy_atom_CHARMM_parameters() -> CHARMMParameters"""
11476 return _IMP_atom.get_heavy_atom_CHARMM_parameters()
11479 """get_all_atom_CHARMM_parameters() -> CHARMMParameters"""
11480 return _IMP_atom.get_all_atom_CHARMM_parameters()
11482 """Proxy of C++ IMP::atom::CHARMMSegmentTopology class"""
11483 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11485 def remove_residue(self, d):
11486 """remove_residue(CHARMMSegmentTopology self, CHARMMResidueTopology d)"""
11487 return _IMP_atom.CHARMMSegmentTopology_remove_residue(self, d)
11490 def remove_residues(self, d):
11491 """remove_residues(CHARMMSegmentTopology self, IMP::atom::CHARMMResidueTopologies const & d)"""
11492 return _IMP_atom.CHARMMSegmentTopology_remove_residues(self, d)
11495 def set_residues(self, ps):
11496 """set_residues(CHARMMSegmentTopology self, IMP::atom::CHARMMResidueTopologies const & ps)"""
11497 return _IMP_atom.CHARMMSegmentTopology_set_residues(self, ps)
11500 def set_residues_order(self, objs):
11501 """set_residues_order(CHARMMSegmentTopology self, IMP::atom::CHARMMResidueTopologies const & objs)"""
11502 return _IMP_atom.CHARMMSegmentTopology_set_residues_order(self, objs)
11505 def add_residue(self, obj):
11506 """add_residue(CHARMMSegmentTopology self, CHARMMResidueTopology obj) -> unsigned int"""
11507 return _IMP_atom.CHARMMSegmentTopology_add_residue(self, obj)
11510 def add_residues(self, objs):
11511 """add_residues(CHARMMSegmentTopology self, IMP::atom::CHARMMResidueTopologies const & objs)"""
11512 return _IMP_atom.CHARMMSegmentTopology_add_residues(self, objs)
11515 def clear_residues(self):
11516 """clear_residues(CHARMMSegmentTopology self)"""
11517 return _IMP_atom.CHARMMSegmentTopology_clear_residues(self)
11520 def get_number_of_residues(self):
11521 """get_number_of_residues(CHARMMSegmentTopology self) -> unsigned int"""
11522 return _IMP_atom.CHARMMSegmentTopology_get_number_of_residues(self)
11525 def get_has_residues(self):
11526 """get_has_residues(CHARMMSegmentTopology self) -> bool"""
11527 return _IMP_atom.CHARMMSegmentTopology_get_has_residues(self)
11531 """get_residue(CHARMMSegmentTopology self, unsigned int i) -> CHARMMResidueTopology"""
11532 return _IMP_atom.CHARMMSegmentTopology_get_residue(self, i)
11535 def get_residues(self):
11536 """get_residues(CHARMMSegmentTopology self) -> IMP::atom::CHARMMResidueTopologies"""
11537 return _IMP_atom.CHARMMSegmentTopology_get_residues(self)
11540 def reserve_residues(self, sz):
11541 """reserve_residues(CHARMMSegmentTopology self, unsigned int sz)"""
11542 return _IMP_atom.CHARMMSegmentTopology_reserve_residues(self, sz)
11545 def get_version_info(self):
11546 """get_version_info(CHARMMSegmentTopology self) -> VersionInfo"""
11547 return _IMP_atom.CHARMMSegmentTopology_get_version_info(self)
11550 def __init__(self, *args):
11552 __init__(IMP::atom::CHARMMSegmentTopology self, std::string name) -> CHARMMSegmentTopology
11553 __init__(IMP::atom::CHARMMSegmentTopology self) -> CHARMMSegmentTopology
11555 this = _IMP_atom.new_CHARMMSegmentTopology(*args)
11557 self.this.append(this)
11561 def apply_default_patches(self, ff):
11562 """apply_default_patches(CHARMMSegmentTopology self, CHARMMParameters ff)"""
11563 return _IMP_atom.CHARMMSegmentTopology_apply_default_patches(self, ff)
11567 """__str__(CHARMMSegmentTopology self) -> std::string"""
11568 return _IMP_atom.CHARMMSegmentTopology___str__(self)
11571 def __repr__(self):
11572 """__repr__(CHARMMSegmentTopology self) -> std::string"""
11573 return _IMP_atom.CHARMMSegmentTopology___repr__(self)
11576 return _object_cast_to_CHARMMSegmentTopology(o)
11577 get_from = staticmethod(get_from)
11579 CHARMMSegmentTopology_swigregister = _IMP_atom.CHARMMSegmentTopology_swigregister
11580 CHARMMSegmentTopology_swigregister(CHARMMSegmentTopology)
11583 """Proxy of C++ IMP::atom::CHARMMTopology class"""
11584 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11586 def __init__(self, *args):
11588 __init__(IMP::atom::CHARMMTopology self, CHARMMParameters force_field, std::string name) -> CHARMMTopology
11589 __init__(IMP::atom::CHARMMTopology self, CHARMMParameters force_field) -> CHARMMTopology
11591 this = _IMP_atom.new_CHARMMTopology(*args)
11593 self.this.append(this)
11597 def get_parameters(self):
11598 """get_parameters(CHARMMTopology self) -> CHARMMParameters"""
11599 return _IMP_atom.CHARMMTopology_get_parameters(self)
11602 def add_sequence(self, sequence):
11603 """add_sequence(CHARMMTopology self, std::string sequence)"""
11604 return _IMP_atom.CHARMMTopology_add_sequence(self, sequence)
11607 def apply_default_patches(self):
11608 """apply_default_patches(CHARMMTopology self)"""
11609 return _IMP_atom.CHARMMTopology_apply_default_patches(self)
11612 def create_hierarchy(self, model):
11613 """create_hierarchy(CHARMMTopology self, Model model) -> Hierarchy"""
11614 return _IMP_atom.CHARMMTopology_create_hierarchy(self, model)
11617 def add_atom_types(self, hierarchy):
11618 """add_atom_types(CHARMMTopology self, Hierarchy hierarchy)"""
11619 return _IMP_atom.CHARMMTopology_add_atom_types(self, hierarchy)
11622 def add_coordinates(self, hierarchy):
11623 """add_coordinates(CHARMMTopology self, Hierarchy hierarchy)"""
11624 return _IMP_atom.CHARMMTopology_add_coordinates(self, hierarchy)
11627 def add_missing_atoms(self, hierarchy):
11628 """add_missing_atoms(CHARMMTopology self, Hierarchy hierarchy)"""
11629 return _IMP_atom.CHARMMTopology_add_missing_atoms(self, hierarchy)
11632 def setup_hierarchy(self, hierarchy):
11633 """setup_hierarchy(CHARMMTopology self, Hierarchy hierarchy)"""
11634 return _IMP_atom.CHARMMTopology_setup_hierarchy(self, hierarchy)
11637 def add_charges(self, hierarchy):
11638 """add_charges(CHARMMTopology self, Hierarchy hierarchy)"""
11639 return _IMP_atom.CHARMMTopology_add_charges(self, hierarchy)
11643 """add_bonds(CHARMMTopology self, Hierarchy hierarchy) -> IMP::Particles"""
11644 return _IMP_atom.CHARMMTopology_add_bonds(self, hierarchy)
11647 def add_dihedrals(self, hierarchy):
11648 """add_dihedrals(CHARMMTopology self, Hierarchy hierarchy) -> IMP::Particles"""
11649 return _IMP_atom.CHARMMTopology_add_dihedrals(self, hierarchy)
11652 def add_impropers(self, hierarchy):
11653 """add_impropers(CHARMMTopology self, Hierarchy hierarchy) -> IMP::Particles"""
11654 return _IMP_atom.CHARMMTopology_add_impropers(self, hierarchy)
11657 def remove_segment(self, d):
11658 """remove_segment(CHARMMTopology self, CHARMMSegmentTopology d)"""
11659 return _IMP_atom.CHARMMTopology_remove_segment(self, d)
11662 def remove_segments(self, d):
11663 """remove_segments(CHARMMTopology self, IMP::atom::CHARMMSegmentTopologies const & d)"""
11664 return _IMP_atom.CHARMMTopology_remove_segments(self, d)
11667 def set_segments(self, ps):
11668 """set_segments(CHARMMTopology self, IMP::atom::CHARMMSegmentTopologies const & ps)"""
11669 return _IMP_atom.CHARMMTopology_set_segments(self, ps)
11672 def set_segments_order(self, objs):
11673 """set_segments_order(CHARMMTopology self, IMP::atom::CHARMMSegmentTopologies const & objs)"""
11674 return _IMP_atom.CHARMMTopology_set_segments_order(self, objs)
11677 def add_segment(self, obj):
11678 """add_segment(CHARMMTopology self, CHARMMSegmentTopology obj) -> unsigned int"""
11679 return _IMP_atom.CHARMMTopology_add_segment(self, obj)
11682 def add_segments(self, objs):
11683 """add_segments(CHARMMTopology self, IMP::atom::CHARMMSegmentTopologies const & objs)"""
11684 return _IMP_atom.CHARMMTopology_add_segments(self, objs)
11687 def clear_segments(self):
11688 """clear_segments(CHARMMTopology self)"""
11689 return _IMP_atom.CHARMMTopology_clear_segments(self)
11692 def get_number_of_segments(self):
11693 """get_number_of_segments(CHARMMTopology self) -> unsigned int"""
11694 return _IMP_atom.CHARMMTopology_get_number_of_segments(self)
11697 def get_has_segments(self):
11698 """get_has_segments(CHARMMTopology self) -> bool"""
11699 return _IMP_atom.CHARMMTopology_get_has_segments(self)
11703 """get_segment(CHARMMTopology self, unsigned int i) -> CHARMMSegmentTopology"""
11704 return _IMP_atom.CHARMMTopology_get_segment(self, i)
11707 def get_segments(self):
11708 """get_segments(CHARMMTopology self) -> IMP::atom::CHARMMSegmentTopologies"""
11709 return _IMP_atom.CHARMMTopology_get_segments(self)
11712 def reserve_segments(self, sz):
11713 """reserve_segments(CHARMMTopology self, unsigned int sz)"""
11714 return _IMP_atom.CHARMMTopology_reserve_segments(self, sz)
11717 def get_version_info(self):
11718 """get_version_info(CHARMMTopology self) -> VersionInfo"""
11719 return _IMP_atom.CHARMMTopology_get_version_info(self)
11723 """__str__(CHARMMTopology self) -> std::string"""
11724 return _IMP_atom.CHARMMTopology___str__(self)
11727 def __repr__(self):
11728 """__repr__(CHARMMTopology self) -> std::string"""
11729 return _IMP_atom.CHARMMTopology___repr__(self)
11732 return _object_cast_to_CHARMMTopology(o)
11733 get_from = staticmethod(get_from)
11735 CHARMMTopology_swigregister = _IMP_atom.CHARMMTopology_swigregister
11736 CHARMMTopology_swigregister(CHARMMTopology)
11739 """Proxy of C++ IMP::atom::CHARMMStereochemistryRestraint class"""
11740 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11742 def __init__(self, *args):
11744 __init__(IMP::atom::CHARMMStereochemistryRestraint self, Hierarchy h, CHARMMTopology topology) -> CHARMMStereochemistryRestraint
11745 __init__(IMP::atom::CHARMMStereochemistryRestraint self, Hierarchy h, CHARMMTopology topology, IMP::ParticlesTemp limit_to_these_particles) -> CHARMMStereochemistryRestraint
11747 this = _IMP_atom.new_CHARMMStereochemistryRestraint(*args)
11749 self.this.append(this)
11753 def get_pair_filter(self):
11754 """get_pair_filter(CHARMMStereochemistryRestraint self) -> StereochemistryPairFilter"""
11755 return _IMP_atom.CHARMMStereochemistryRestraint_get_pair_filter(self)
11758 def get_full_pair_filter(self):
11759 """get_full_pair_filter(CHARMMStereochemistryRestraint self) -> StereochemistryPairFilter"""
11760 return _IMP_atom.CHARMMStereochemistryRestraint_get_full_pair_filter(self)
11763 def do_get_inputs(self):
11764 """do_get_inputs(CHARMMStereochemistryRestraint self) -> IMP::ModelObjectsTemp"""
11765 return _IMP_atom.CHARMMStereochemistryRestraint_do_get_inputs(self)
11768 def get_version_info(self):
11769 """get_version_info(CHARMMStereochemistryRestraint self) -> VersionInfo"""
11770 return _IMP_atom.CHARMMStereochemistryRestraint_get_version_info(self)
11774 """__str__(CHARMMStereochemistryRestraint self) -> std::string"""
11775 return _IMP_atom.CHARMMStereochemistryRestraint___str__(self)
11778 def __repr__(self):
11779 """__repr__(CHARMMStereochemistryRestraint self) -> std::string"""
11780 return _IMP_atom.CHARMMStereochemistryRestraint___repr__(self)
11783 return _object_cast_to_CHARMMStereochemistryRestraint(o)
11784 get_from = staticmethod(get_from)
11786 CHARMMStereochemistryRestraint_swigregister = _IMP_atom.CHARMMStereochemistryRestraint_swigregister
11787 CHARMMStereochemistryRestraint_swigregister(CHARMMStereochemistryRestraint)
11792 add_bonds(Hierarchy d, ForceFieldParameters ffp)
11793 add_bonds(Hierarchy d)
11795 return _IMP_atom.add_bonds(*args)
11799 add_radii(Hierarchy d, ForceFieldParameters ffp, FloatKey radius_key)
11800 add_radii(Hierarchy d, ForceFieldParameters ffp)
11801 add_radii(Hierarchy d)
11803 return _IMP_atom.add_radii(*args)
11805 _IMP_atom.ALBER_swigconstant(_IMP_atom)
11806 ALBER = _IMP_atom.ALBER
11808 _IMP_atom.HARPAZ_swigconstant(_IMP_atom)
11809 HARPAZ = _IMP_atom.HARPAZ
11811 _IMP_atom.ANDERSSON_swigconstant(_IMP_atom)
11812 ANDERSSON = _IMP_atom.ANDERSSON
11814 _IMP_atom.TSAI_swigconstant(_IMP_atom)
11815 TSAI = _IMP_atom.TSAI
11817 _IMP_atom.QUILLIN_swigconstant(_IMP_atom)
11818 QUILLIN = _IMP_atom.QUILLIN
11820 _IMP_atom.SQUIRE_swigconstant(_IMP_atom)
11821 SQUIRE = _IMP_atom.SQUIRE
11824 """get_protein_density_from_reference(IMP::atom::ProteinDensityReference densityReference) -> double"""
11825 return _IMP_atom.get_protein_density_from_reference(densityReference)
11829 get_volume_from_mass(double m, IMP::atom::ProteinDensityReference ref) -> double
11830 get_volume_from_mass(double m) -> double
11832 return _IMP_atom.get_volume_from_mass(*args)
11836 get_mass_from_volume(double v, IMP::atom::ProteinDensityReference ref) -> double
11837 get_mass_from_volume(double v) -> double
11839 return _IMP_atom.get_mass_from_volume(*args)
11842 """get_mass_from_number_of_residues(unsigned int num_aa) -> double"""
11843 return _IMP_atom.get_mass_from_number_of_residues(num_aa)
11846 """get_volume_from_residue_type(ResidueType rt) -> double"""
11847 return _IMP_atom.get_volume_from_residue_type(rt)
11850 """get_molarity(double n, double volume) -> double"""
11851 return _IMP_atom.get_molarity(n, volume)
11853 def get_kd(na, nb, nab, volume):
11854 """get_kd(double na, double nb, double nab, double volume) -> double"""
11855 return _IMP_atom.get_kd(na, nb, nab, volume)
11858 """get_einstein_diffusion_coefficient(double r) -> double"""
11859 return _IMP_atom.get_einstein_diffusion_coefficient(r)
11862 """get_einstein_rotational_diffusion_coefficient(double r) -> double"""
11863 return _IMP_atom.get_einstein_rotational_diffusion_coefficient(r)
11867 get_diffusion_length(double D, double t) -> double
11868 get_diffusion_length(double D, double force, double t, double temp=273) -> double
11869 get_diffusion_length(double D, double force, double t) -> double
11871 return _IMP_atom.get_diffusion_length(*args)
11874 """get_diffusion_angle(double D, double dtfs) -> double"""
11875 return _IMP_atom.get_diffusion_angle(D, dtfs)
11878 """get_diffusion_coefficient(IMP::algebra::Vector3Ds const & displacements, double dt) -> double"""
11879 return _IMP_atom.get_diffusion_coefficient(displacements, dt)
11882 """get_rotational_diffusion_coefficient(IMP::algebra::Rotation3Ds const & displacements, double dt) -> double"""
11883 return _IMP_atom.get_rotational_diffusion_coefficient(displacements, dt)
11885 """Proxy of C++ IMP::atom::EzRestraint class"""
11886 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11888 def __init__(self, *args):
11890 __init__(IMP::atom::EzRestraint self, Model m, _ParticleIndexesAdaptor ps) -> EzRestraint
11891 __init__(IMP::atom::EzRestraint self, IMP::Particles ps) -> EzRestraint
11893 this = _IMP_atom.new_EzRestraint(*args)
11895 self.this.append(this)
11899 def get_version_info(self):
11900 """get_version_info(EzRestraint self) -> VersionInfo"""
11901 return _IMP_atom.EzRestraint_get_version_info(self)
11905 """__str__(EzRestraint self) -> std::string"""
11906 return _IMP_atom.EzRestraint___str__(self)
11909 def __repr__(self):
11910 """__repr__(EzRestraint self) -> std::string"""
11911 return _IMP_atom.EzRestraint___repr__(self)
11914 return _object_cast_to_EzRestraint(o)
11915 get_from = staticmethod(get_from)
11917 EzRestraint_swigregister = _IMP_atom.EzRestraint_swigregister
11918 EzRestraint_swigregister(EzRestraint)
11923 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
11924 create_protein(Model m, std::string name, double target_radius, int number_of_residues, int first_residue_index=0, double volume=-1) -> Hierarchy
11925 create_protein(Model m, std::string name, double target_radius, int number_of_residues, int first_residue_index=0) -> Hierarchy
11926 create_protein(Model m, std::string name, double target_radius, int number_of_residues) -> Hierarchy
11927 create_protein(Model m, std::string name, double target_radius, IMP::Ints const domain_boundaries) -> Hierarchy
11929 return _IMP_atom.create_protein(*args)
11933 create_simplified_along_backbone(Hierarchy input, int num_res, bool keep_detailed=False) -> Hierarchy
11934 create_simplified_along_backbone(Hierarchy input, int num_res) -> Hierarchy
11935 create_simplified_along_backbone(Chain input, IMP::IntRanges const & residue_segments, bool keep_detailed=False) -> Hierarchy
11936 create_simplified_along_backbone(Chain input, IMP::IntRanges const & residue_segments) -> Hierarchy
11938 return _IMP_atom.create_simplified_along_backbone(*args)
11941 """create_simplified_from_volume(Hierarchy h, double resolution) -> Hierarchy"""
11942 return _IMP_atom.create_simplified_from_volume(h, resolution)
11945 """create_simplified_assembly_from_volume(Hierarchy h, double resolution) -> Hierarchy"""
11946 return _IMP_atom.create_simplified_assembly_from_volume(h, resolution)
11948 def get_residue_indexes(h):
11949 """get_residue_indexes(Hierarchy h) -> IMP::Ints"""
11950 return _IMP_atom.get_residue_indexes(h)
11952 def get_residue_type(*args):
11954 get_residue_type(char c) -> ResidueType
11955 get_residue_type(Hierarchy h) -> ResidueType
11957 return _IMP_atom.get_residue_type(*args)
11959 def get_atom_type(h):
11960 """get_atom_type(Hierarchy h) -> AtomType"""
11961 return _IMP_atom.get_atom_type(h)
11963 def get_domain_name(h):
11964 """get_domain_name(Hierarchy h) -> std::string"""
11965 return _IMP_atom.get_domain_name(h)
11969 create_excluded_volume_restraint(IMP::atom::Selections const & s) -> Restraint
11970 create_excluded_volume_restraint(IMP::atom::Hierarchies const & hs, double resolution=-1) -> Restraint
11971 create_excluded_volume_restraint(IMP::atom::Hierarchies const & hs) -> Restraint
11973 return _IMP_atom.create_excluded_volume_restraint(*args)
11977 setup_as_approximation(Particle h, IMP::ParticlesTemp const & other, double resolution=-1)
11978 setup_as_approximation(Particle h, IMP::ParticlesTemp const & other)
11979 setup_as_approximation(Hierarchy h, double resolution=-1)
11980 setup_as_approximation(Hierarchy h)
11982 return _IMP_atom.setup_as_approximation(*args)
11983 class _HierarchyTreeVertexIndex(object):
11984 """Proxy of C++ IMP::atom::HierarchyTreeVertexIndex class"""
11985 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11986 __repr__ = _swig_repr
11988 def __init__(self):
11989 """__init__(IMP::atom::HierarchyTreeVertexIndex self) -> _HierarchyTreeVertexIndex"""
11990 this = _IMP_atom.new__HierarchyTreeVertexIndex()
11992 self.this.append(this)
11995 __swig_destroy__ = _IMP_atom.delete__HierarchyTreeVertexIndex
11996 __del__ =
lambda self:
None
11997 _HierarchyTreeVertexIndex_swigregister = _IMP_atom._HierarchyTreeVertexIndex_swigregister
11998 _HierarchyTreeVertexIndex_swigregister(_HierarchyTreeVertexIndex)
12001 def show_as_graphviz(name, out):
12002 """show_as_graphviz(IMP::atom::HierarchyTree const & name, TextOutput out)"""
12003 return _IMP_atom.show_as_graphviz(name, out)
12005 def get_vertex_index(g):
12006 """get_vertex_index(IMP::atom::HierarchyTree const & g) -> _HierarchyTreeVertexIndex"""
12007 return _IMP_atom.get_vertex_index(g)
12010 """get_hierarchy_tree(Hierarchy h) -> IMP::atom::HierarchyTree"""
12011 return _IMP_atom.get_hierarchy_tree(h)
12013 """Proxy of C++ IMP::atom::HierarchyGeometry class"""
12014 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12016 def __init__(self, d, resolution=0):
12018 __init__(IMP::atom::HierarchyGeometry self, Hierarchy d, double resolution=0) -> HierarchyGeometry
12019 __init__(IMP::atom::HierarchyGeometry self, Hierarchy d) -> HierarchyGeometry
12021 this = _IMP_atom.new_HierarchyGeometry(d, resolution)
12023 self.this.append(this)
12027 def get_version_info(self):
12028 """get_version_info(HierarchyGeometry self) -> VersionInfo"""
12029 return _IMP_atom.HierarchyGeometry_get_version_info(self)
12033 """__str__(HierarchyGeometry self) -> std::string"""
12034 return _IMP_atom.HierarchyGeometry___str__(self)
12037 def __repr__(self):
12038 """__repr__(HierarchyGeometry self) -> std::string"""
12039 return _IMP_atom.HierarchyGeometry___repr__(self)
12042 return _object_cast_to_HierarchyGeometry(o)
12043 get_from = staticmethod(get_from)
12045 HierarchyGeometry_swigregister = _IMP_atom.HierarchyGeometry_swigregister
12046 HierarchyGeometry_swigregister(HierarchyGeometry)
12049 """Proxy of C++ IMP::atom::HierarchiesGeometry class"""
12050 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12052 def __init__(self, sc, resolution=-1):
12054 __init__(IMP::atom::HierarchiesGeometry self, SingletonContainer sc, double resolution=-1) -> HierarchiesGeometry
12055 __init__(IMP::atom::HierarchiesGeometry self, SingletonContainer sc) -> HierarchiesGeometry
12057 this = _IMP_atom.new_HierarchiesGeometry(sc, resolution)
12059 self.this.append(this)
12063 def get_version_info(self):
12064 """get_version_info(HierarchiesGeometry self) -> VersionInfo"""
12065 return _IMP_atom.HierarchiesGeometry_get_version_info(self)
12069 """__str__(HierarchiesGeometry self) -> std::string"""
12070 return _IMP_atom.HierarchiesGeometry___str__(self)
12073 def __repr__(self):
12074 """__repr__(HierarchiesGeometry self) -> std::string"""
12075 return _IMP_atom.HierarchiesGeometry___repr__(self)
12078 return _object_cast_to_HierarchiesGeometry(o)
12079 get_from = staticmethod(get_from)
12081 HierarchiesGeometry_swigregister = _IMP_atom.HierarchiesGeometry_swigregister
12082 HierarchiesGeometry_swigregister(HierarchiesGeometry)
12087 transform(Hierarchy h, Transformation3D tr)
12088 transform(Hierarchy h, Transformation3D tr)
12090 return _IMP_atom.transform(*args)
12091 class DopePairScore(_ADopeBase):
12092 """Proxy of C++ IMP::atom::DopePairScore class"""
12093 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12095 def __init__(self, *args):
12097 __init__(IMP::atom::DopePairScore self, double threshold) -> DopePairScore
12098 __init__(IMP::atom::DopePairScore self) -> DopePairScore
12099 __init__(IMP::atom::DopePairScore self, double threshold, TextInput data_file) -> DopePairScore
12101 this = _IMP_atom.new_DopePairScore(*args)
12103 self.this.append(this)
12108 """__str__(DopePairScore self) -> std::string"""
12109 return _IMP_atom.DopePairScore___str__(self)
12112 def __repr__(self):
12113 """__repr__(DopePairScore self) -> std::string"""
12114 return _IMP_atom.DopePairScore___repr__(self)
12117 return _object_cast_to_DopePairScore(o)
12118 get_from = staticmethod(get_from)
12120 __swig_destroy__ = _IMP_atom.delete_DopePairScore
12121 __del__ =
lambda self:
None
12122 DopePairScore_swigregister = _IMP_atom.DopePairScore_swigregister
12123 DopePairScore_swigregister(DopePairScore)
12127 """add_dope_score_data(Hierarchy h)"""
12128 return _IMP_atom.add_dope_score_data(h)
12129 class OrientedSoapPairScore(_OrientedSoapBase):
12130 """Proxy of C++ IMP::atom::OrientedSoapPairScore class"""
12131 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12133 def __init__(self, library):
12134 """__init__(IMP::atom::OrientedSoapPairScore self, std::string library) -> OrientedSoapPairScore"""
12135 this = _IMP_atom.new_OrientedSoapPairScore(library)
12137 self.this.append(this)
12141 def get_pair_filter(self):
12142 """get_pair_filter(OrientedSoapPairScore self) -> SoapPairFilter"""
12143 return _IMP_atom.OrientedSoapPairScore_get_pair_filter(self)
12147 """__str__(OrientedSoapPairScore self) -> std::string"""
12148 return _IMP_atom.OrientedSoapPairScore___str__(self)
12151 def __repr__(self):
12152 """__repr__(OrientedSoapPairScore self) -> std::string"""
12153 return _IMP_atom.OrientedSoapPairScore___repr__(self)
12156 return _object_cast_to_OrientedSoapPairScore(o)
12157 get_from = staticmethod(get_from)
12159 __swig_destroy__ = _IMP_atom.delete_OrientedSoapPairScore
12160 __del__ =
lambda self:
None
12161 OrientedSoapPairScore_swigregister = _IMP_atom.OrientedSoapPairScore_swigregister
12162 OrientedSoapPairScore_swigregister(OrientedSoapPairScore)
12165 """Proxy of C++ IMP::atom::SameResiduePairFilter class"""
12166 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12168 def __init__(self):
12169 """__init__(IMP::atom::SameResiduePairFilter self) -> SameResiduePairFilter"""
12170 this = _IMP_atom.new_SameResiduePairFilter()
12172 self.this.append(this)
12176 def do_get_inputs(self, m, pis):
12177 """do_get_inputs(SameResiduePairFilter self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
12178 return _IMP_atom.SameResiduePairFilter_do_get_inputs(self, m, pis)
12181 def get_value(self, *args):
12183 get_value(SameResiduePairFilter self, IMP::ParticlePair const & a) -> int
12184 get_value(SameResiduePairFilter self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
12186 return _IMP_atom.SameResiduePairFilter_get_value(self, *args)
12189 def get_value_index(self, *args):
12191 get_value_index(SameResiduePairFilter self, Model m, IMP::ParticleIndexPair const & p) -> int
12192 get_value_index(SameResiduePairFilter self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
12194 return _IMP_atom.SameResiduePairFilter_get_value_index(self, *args)
12197 def get_version_info(self):
12198 """get_version_info(SameResiduePairFilter self) -> VersionInfo"""
12199 return _IMP_atom.SameResiduePairFilter_get_version_info(self)
12203 """__str__(SameResiduePairFilter self) -> std::string"""
12204 return _IMP_atom.SameResiduePairFilter___str__(self)
12207 def __repr__(self):
12208 """__repr__(SameResiduePairFilter self) -> std::string"""
12209 return _IMP_atom.SameResiduePairFilter___repr__(self)
12212 return _object_cast_to_SameResiduePairFilter(o)
12213 get_from = staticmethod(get_from)
12215 SameResiduePairFilter_swigregister = _IMP_atom.SameResiduePairFilter_swigregister
12216 SameResiduePairFilter_swigregister(SameResiduePairFilter)
12219 """Proxy of C++ IMP::atom::RemoveRigidMotionOptimizerState class"""
12220 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12222 def __init__(self, m, pis):
12223 """__init__(IMP::atom::RemoveRigidMotionOptimizerState self, Model m, _ParticleIndexesAdaptor pis) -> RemoveRigidMotionOptimizerState"""
12224 this = _IMP_atom.new_RemoveRigidMotionOptimizerState(m, pis)
12226 self.this.append(this)
12230 def set_particles(self, pis):
12231 """set_particles(RemoveRigidMotionOptimizerState self, IMP::Particles const & pis)"""
12232 return _IMP_atom.RemoveRigidMotionOptimizerState_set_particles(self, pis)
12235 def remove_rigid_motion(self):
12236 """remove_rigid_motion(RemoveRigidMotionOptimizerState self)"""
12237 return _IMP_atom.RemoveRigidMotionOptimizerState_remove_rigid_motion(self)
12240 def get_version_info(self):
12241 """get_version_info(RemoveRigidMotionOptimizerState self) -> VersionInfo"""
12242 return _IMP_atom.RemoveRigidMotionOptimizerState_get_version_info(self)
12246 """__str__(RemoveRigidMotionOptimizerState self) -> std::string"""
12247 return _IMP_atom.RemoveRigidMotionOptimizerState___str__(self)
12250 def __repr__(self):
12251 """__repr__(RemoveRigidMotionOptimizerState self) -> std::string"""
12252 return _IMP_atom.RemoveRigidMotionOptimizerState___repr__(self)
12255 return _object_cast_to_RemoveRigidMotionOptimizerState(o)
12256 get_from = staticmethod(get_from)
12258 RemoveRigidMotionOptimizerState_swigregister = _IMP_atom.RemoveRigidMotionOptimizerState_swigregister
12259 RemoveRigidMotionOptimizerState_swigregister(RemoveRigidMotionOptimizerState)
12262 """Proxy of C++ IMP::atom::BerendsenThermostatOptimizerState class"""
12263 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12265 def __init__(self, pis, temperature, tau):
12266 """__init__(IMP::atom::BerendsenThermostatOptimizerState self, IMP::Particles const & pis, double temperature, double tau) -> BerendsenThermostatOptimizerState"""
12267 this = _IMP_atom.new_BerendsenThermostatOptimizerState(pis, temperature, tau)
12269 self.this.append(this)
12273 def set_particles(self, pis):
12274 """set_particles(BerendsenThermostatOptimizerState self, IMP::Particles const & pis)"""
12275 return _IMP_atom.BerendsenThermostatOptimizerState_set_particles(self, pis)
12278 def get_temperature(self):
12279 """get_temperature(BerendsenThermostatOptimizerState self) -> double"""
12280 return _IMP_atom.BerendsenThermostatOptimizerState_get_temperature(self)
12284 """get_tau(BerendsenThermostatOptimizerState self) -> double"""
12285 return _IMP_atom.BerendsenThermostatOptimizerState_get_tau(self)
12288 def set_temperature(self, temperature):
12289 """set_temperature(BerendsenThermostatOptimizerState self, double temperature)"""
12290 return _IMP_atom.BerendsenThermostatOptimizerState_set_temperature(self, temperature)
12293 def set_tau(self, tau):
12294 """set_tau(BerendsenThermostatOptimizerState self, double tau)"""
12295 return _IMP_atom.BerendsenThermostatOptimizerState_set_tau(self, tau)
12298 def rescale_velocities(self):
12299 """rescale_velocities(BerendsenThermostatOptimizerState self)"""
12300 return _IMP_atom.BerendsenThermostatOptimizerState_rescale_velocities(self)
12303 def get_version_info(self):
12304 """get_version_info(BerendsenThermostatOptimizerState self) -> VersionInfo"""
12305 return _IMP_atom.BerendsenThermostatOptimizerState_get_version_info(self)
12309 """__str__(BerendsenThermostatOptimizerState self) -> std::string"""
12310 return _IMP_atom.BerendsenThermostatOptimizerState___str__(self)
12313 def __repr__(self):
12314 """__repr__(BerendsenThermostatOptimizerState self) -> std::string"""
12315 return _IMP_atom.BerendsenThermostatOptimizerState___repr__(self)
12318 return _object_cast_to_BerendsenThermostatOptimizerState(o)
12319 get_from = staticmethod(get_from)
12321 BerendsenThermostatOptimizerState_swigregister = _IMP_atom.BerendsenThermostatOptimizerState_swigregister
12322 BerendsenThermostatOptimizerState_swigregister(BerendsenThermostatOptimizerState)
12325 """Proxy of C++ IMP::atom::LangevinThermostatOptimizerState class"""
12326 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12328 def __init__(self, m, pis, temperature, gamma):
12329 """__init__(IMP::atom::LangevinThermostatOptimizerState self, Model m, _ParticleIndexesAdaptor pis, double temperature, double gamma) -> LangevinThermostatOptimizerState"""
12330 this = _IMP_atom.new_LangevinThermostatOptimizerState(m, pis, temperature, gamma)
12332 self.this.append(this)
12336 def set_particles(self, pis):
12337 """set_particles(LangevinThermostatOptimizerState self, IMP::Particles const & pis)"""
12338 return _IMP_atom.LangevinThermostatOptimizerState_set_particles(self, pis)
12341 def get_temperature(self):
12342 """get_temperature(LangevinThermostatOptimizerState self) -> double"""
12343 return _IMP_atom.LangevinThermostatOptimizerState_get_temperature(self)
12346 def get_gamma(self):
12347 """get_gamma(LangevinThermostatOptimizerState self) -> double"""
12348 return _IMP_atom.LangevinThermostatOptimizerState_get_gamma(self)
12351 def set_temperature(self, temperature):
12352 """set_temperature(LangevinThermostatOptimizerState self, double temperature)"""
12353 return _IMP_atom.LangevinThermostatOptimizerState_set_temperature(self, temperature)
12356 def set_gamma(self, gamma):
12357 """set_gamma(LangevinThermostatOptimizerState self, double gamma)"""
12358 return _IMP_atom.LangevinThermostatOptimizerState_set_gamma(self, gamma)
12361 def rescale_velocities(self):
12362 """rescale_velocities(LangevinThermostatOptimizerState self)"""
12363 return _IMP_atom.LangevinThermostatOptimizerState_rescale_velocities(self)
12366 def get_version_info(self):
12367 """get_version_info(LangevinThermostatOptimizerState self) -> VersionInfo"""
12368 return _IMP_atom.LangevinThermostatOptimizerState_get_version_info(self)
12372 """__str__(LangevinThermostatOptimizerState self) -> std::string"""
12373 return _IMP_atom.LangevinThermostatOptimizerState___str__(self)
12376 def __repr__(self):
12377 """__repr__(LangevinThermostatOptimizerState self) -> std::string"""
12378 return _IMP_atom.LangevinThermostatOptimizerState___repr__(self)
12381 return _object_cast_to_LangevinThermostatOptimizerState(o)
12382 get_from = staticmethod(get_from)
12384 LangevinThermostatOptimizerState_swigregister = _IMP_atom.LangevinThermostatOptimizerState_swigregister
12385 LangevinThermostatOptimizerState_swigregister(LangevinThermostatOptimizerState)
12388 """Proxy of C++ IMP::atom::PDBSelector class"""
12389 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12391 def __init__(self, name):
12392 """__init__(IMP::atom::PDBSelector self, std::string name) -> PDBSelector"""
12393 if self.__class__ == PDBSelector:
12397 this = _IMP_atom.new_PDBSelector(_self, name)
12399 self.this.append(this)
12402 if self.__class__ != PDBSelector:
12403 _director_objects.register(self)
12408 def get_is_selected(self, pdb_line):
12409 """get_is_selected(PDBSelector self, std::string const & pdb_line) -> bool"""
12410 return _IMP_atom.PDBSelector_get_is_selected(self, pdb_line)
12412 __swig_destroy__ = _IMP_atom.delete_PDBSelector
12413 __del__ =
lambda self:
None
12416 """__str__(PDBSelector self) -> std::string"""
12417 return _IMP_atom.PDBSelector___str__(self)
12420 def __repr__(self):
12421 """__repr__(PDBSelector self) -> std::string"""
12422 return _IMP_atom.PDBSelector___repr__(self)
12425 return _object_cast_to_PDBSelector(o)
12426 get_from = staticmethod(get_from)
12428 def get_type_name(self):
12429 return self.__class__.__name__
12430 def do_show(self, out):
12432 def get_version_info(self):
12433 if"IMP::atom" ==
"IMP":
12434 return VersionInfo(self.__module__,
12435 __import__(self.__module__).get_module_version())
12438 __import__(self.__module__).get_module_version())
12440 return _object_cast_to_PDBSelector(o)
12441 get_from = staticmethod(get_from)
12443 def __disown__(self):
12445 _IMP_atom.disown_PDBSelector(self)
12446 return weakref_proxy(self)
12448 def do_destroy(self):
12449 """do_destroy(PDBSelector self)"""
12450 return _IMP_atom.PDBSelector_do_destroy(self)
12452 PDBSelector_swigregister = _IMP_atom.PDBSelector_swigregister
12453 PDBSelector_swigregister(PDBSelector)
12455 class NonAlternativePDBSelector(PDBSelector):
12456 """Proxy of C++ IMP::atom::NonAlternativePDBSelector class"""
12457 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12459 def __init__(self, *args):
12461 __init__(IMP::atom::NonAlternativePDBSelector self, std::string name) -> NonAlternativePDBSelector
12462 __init__(IMP::atom::NonAlternativePDBSelector self) -> NonAlternativePDBSelector
12464 this = _IMP_atom.new_NonAlternativePDBSelector(*args)
12466 self.this.append(this)
12470 def get_version_info(self):
12471 """get_version_info(NonAlternativePDBSelector self) -> VersionInfo"""
12472 return _IMP_atom.NonAlternativePDBSelector_get_version_info(self)
12476 """__str__(NonAlternativePDBSelector self) -> std::string"""
12477 return _IMP_atom.NonAlternativePDBSelector___str__(self)
12480 def __repr__(self):
12481 """__repr__(NonAlternativePDBSelector self) -> std::string"""
12482 return _IMP_atom.NonAlternativePDBSelector___repr__(self)
12485 return _object_cast_to_NonAlternativePDBSelector(o)
12486 get_from = staticmethod(get_from)
12488 NonAlternativePDBSelector_swigregister = _IMP_atom.NonAlternativePDBSelector_swigregister
12489 NonAlternativePDBSelector_swigregister(NonAlternativePDBSelector)
12491 class ATOMPDBSelector(NonAlternativePDBSelector):
12492 """Proxy of C++ IMP::atom::ATOMPDBSelector class"""
12493 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12495 def __init__(self, *args):
12497 __init__(IMP::atom::ATOMPDBSelector self, std::string name) -> ATOMPDBSelector
12498 __init__(IMP::atom::ATOMPDBSelector self) -> ATOMPDBSelector
12500 this = _IMP_atom.new_ATOMPDBSelector(*args)
12502 self.this.append(this)
12507 """__str__(ATOMPDBSelector self) -> std::string"""
12508 return _IMP_atom.ATOMPDBSelector___str__(self)
12511 def __repr__(self):
12512 """__repr__(ATOMPDBSelector self) -> std::string"""
12513 return _IMP_atom.ATOMPDBSelector___repr__(self)
12516 return _object_cast_to_ATOMPDBSelector(o)
12517 get_from = staticmethod(get_from)
12519 ATOMPDBSelector_swigregister = _IMP_atom.ATOMPDBSelector_swigregister
12520 ATOMPDBSelector_swigregister(ATOMPDBSelector)
12522 class CAlphaPDBSelector(NonAlternativePDBSelector):
12523 """Proxy of C++ IMP::atom::CAlphaPDBSelector class"""
12524 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12526 def __init__(self, *args):
12528 __init__(IMP::atom::CAlphaPDBSelector self, std::string name) -> CAlphaPDBSelector
12529 __init__(IMP::atom::CAlphaPDBSelector self) -> CAlphaPDBSelector
12531 this = _IMP_atom.new_CAlphaPDBSelector(*args)
12533 self.this.append(this)
12538 """__str__(CAlphaPDBSelector self) -> std::string"""
12539 return _IMP_atom.CAlphaPDBSelector___str__(self)
12542 def __repr__(self):
12543 """__repr__(CAlphaPDBSelector self) -> std::string"""
12544 return _IMP_atom.CAlphaPDBSelector___repr__(self)
12547 return _object_cast_to_CAlphaPDBSelector(o)
12548 get_from = staticmethod(get_from)
12550 CAlphaPDBSelector_swigregister = _IMP_atom.CAlphaPDBSelector_swigregister
12551 CAlphaPDBSelector_swigregister(CAlphaPDBSelector)
12553 class CBetaPDBSelector(NonAlternativePDBSelector):
12554 """Proxy of C++ IMP::atom::CBetaPDBSelector class"""
12555 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12557 def __init__(self, *args):
12559 __init__(IMP::atom::CBetaPDBSelector self, std::string name) -> CBetaPDBSelector
12560 __init__(IMP::atom::CBetaPDBSelector self) -> CBetaPDBSelector
12562 this = _IMP_atom.new_CBetaPDBSelector(*args)
12564 self.this.append(this)
12569 """__str__(CBetaPDBSelector self) -> std::string"""
12570 return _IMP_atom.CBetaPDBSelector___str__(self)
12573 def __repr__(self):
12574 """__repr__(CBetaPDBSelector self) -> std::string"""
12575 return _IMP_atom.CBetaPDBSelector___repr__(self)
12578 return _object_cast_to_CBetaPDBSelector(o)
12579 get_from = staticmethod(get_from)
12581 CBetaPDBSelector_swigregister = _IMP_atom.CBetaPDBSelector_swigregister
12582 CBetaPDBSelector_swigregister(CBetaPDBSelector)
12584 class CPDBSelector(NonAlternativePDBSelector):
12585 """Proxy of C++ IMP::atom::CPDBSelector class"""
12586 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12588 def __init__(self, *args):
12590 __init__(IMP::atom::CPDBSelector self, std::string name) -> CPDBSelector
12591 __init__(IMP::atom::CPDBSelector self) -> CPDBSelector
12593 this = _IMP_atom.new_CPDBSelector(*args)
12595 self.this.append(this)
12600 """__str__(CPDBSelector self) -> std::string"""
12601 return _IMP_atom.CPDBSelector___str__(self)
12604 def __repr__(self):
12605 """__repr__(CPDBSelector self) -> std::string"""
12606 return _IMP_atom.CPDBSelector___repr__(self)
12609 return _object_cast_to_CPDBSelector(o)
12610 get_from = staticmethod(get_from)
12612 CPDBSelector_swigregister = _IMP_atom.CPDBSelector_swigregister
12613 CPDBSelector_swigregister(CPDBSelector)
12615 class NPDBSelector(NonAlternativePDBSelector):
12616 """Proxy of C++ IMP::atom::NPDBSelector class"""
12617 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12619 def __init__(self, *args):
12621 __init__(IMP::atom::NPDBSelector self, std::string name) -> NPDBSelector
12622 __init__(IMP::atom::NPDBSelector self) -> NPDBSelector
12624 this = _IMP_atom.new_NPDBSelector(*args)
12626 self.this.append(this)
12631 """__str__(NPDBSelector self) -> std::string"""
12632 return _IMP_atom.NPDBSelector___str__(self)
12635 def __repr__(self):
12636 """__repr__(NPDBSelector self) -> std::string"""
12637 return _IMP_atom.NPDBSelector___repr__(self)
12640 return _object_cast_to_NPDBSelector(o)
12641 get_from = staticmethod(get_from)
12643 NPDBSelector_swigregister = _IMP_atom.NPDBSelector_swigregister
12644 NPDBSelector_swigregister(NPDBSelector)
12646 class AllPDBSelector(PDBSelector):
12647 """Proxy of C++ IMP::atom::AllPDBSelector class"""
12648 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12650 def __init__(self, *args):
12652 __init__(IMP::atom::AllPDBSelector self, std::string name) -> AllPDBSelector
12653 __init__(IMP::atom::AllPDBSelector self) -> AllPDBSelector
12655 this = _IMP_atom.new_AllPDBSelector(*args)
12657 self.this.append(this)
12661 def get_version_info(self):
12662 """get_version_info(AllPDBSelector self) -> VersionInfo"""
12663 return _IMP_atom.AllPDBSelector_get_version_info(self)
12667 """__str__(AllPDBSelector self) -> std::string"""
12668 return _IMP_atom.AllPDBSelector___str__(self)
12671 def __repr__(self):
12672 """__repr__(AllPDBSelector self) -> std::string"""
12673 return _IMP_atom.AllPDBSelector___repr__(self)
12676 return _object_cast_to_AllPDBSelector(o)
12677 get_from = staticmethod(get_from)
12679 AllPDBSelector_swigregister = _IMP_atom.AllPDBSelector_swigregister
12680 AllPDBSelector_swigregister(AllPDBSelector)
12682 class ChainPDBSelector(NonAlternativePDBSelector):
12683 """Proxy of C++ IMP::atom::ChainPDBSelector class"""
12684 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12686 def __init__(self, *args):
12688 __init__(IMP::atom::ChainPDBSelector self, std::string const & chains, std::string name) -> ChainPDBSelector
12689 __init__(IMP::atom::ChainPDBSelector self, std::string const & chains) -> ChainPDBSelector
12691 this = _IMP_atom.new_ChainPDBSelector(*args)
12693 self.this.append(this)
12698 """__str__(ChainPDBSelector self) -> std::string"""
12699 return _IMP_atom.ChainPDBSelector___str__(self)
12702 def __repr__(self):
12703 """__repr__(ChainPDBSelector self) -> std::string"""
12704 return _IMP_atom.ChainPDBSelector___repr__(self)
12707 return _object_cast_to_ChainPDBSelector(o)
12708 get_from = staticmethod(get_from)
12710 ChainPDBSelector_swigregister = _IMP_atom.ChainPDBSelector_swigregister
12711 ChainPDBSelector_swigregister(ChainPDBSelector)
12713 class WaterPDBSelector(NonAlternativePDBSelector):
12714 """Proxy of C++ IMP::atom::WaterPDBSelector class"""
12715 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12717 def __init__(self, *args):
12719 __init__(IMP::atom::WaterPDBSelector self, std::string name) -> WaterPDBSelector
12720 __init__(IMP::atom::WaterPDBSelector self) -> WaterPDBSelector
12722 this = _IMP_atom.new_WaterPDBSelector(*args)
12724 self.this.append(this)
12729 """__str__(WaterPDBSelector self) -> std::string"""
12730 return _IMP_atom.WaterPDBSelector___str__(self)
12733 def __repr__(self):
12734 """__repr__(WaterPDBSelector self) -> std::string"""
12735 return _IMP_atom.WaterPDBSelector___repr__(self)
12738 return _object_cast_to_WaterPDBSelector(o)
12739 get_from = staticmethod(get_from)
12741 WaterPDBSelector_swigregister = _IMP_atom.WaterPDBSelector_swigregister
12742 WaterPDBSelector_swigregister(WaterPDBSelector)
12744 class HydrogenPDBSelector(NonAlternativePDBSelector):
12745 """Proxy of C++ IMP::atom::HydrogenPDBSelector class"""
12746 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12748 def __init__(self, *args):
12750 __init__(IMP::atom::HydrogenPDBSelector self, std::string name) -> HydrogenPDBSelector
12751 __init__(IMP::atom::HydrogenPDBSelector self) -> HydrogenPDBSelector
12753 this = _IMP_atom.new_HydrogenPDBSelector(*args)
12755 self.this.append(this)
12760 """__str__(HydrogenPDBSelector self) -> std::string"""
12761 return _IMP_atom.HydrogenPDBSelector___str__(self)
12764 def __repr__(self):
12765 """__repr__(HydrogenPDBSelector self) -> std::string"""
12766 return _IMP_atom.HydrogenPDBSelector___repr__(self)
12769 return _object_cast_to_HydrogenPDBSelector(o)
12770 get_from = staticmethod(get_from)
12772 HydrogenPDBSelector_swigregister = _IMP_atom.HydrogenPDBSelector_swigregister
12773 HydrogenPDBSelector_swigregister(HydrogenPDBSelector)
12775 class NonWaterNonHydrogenPDBSelector(NonAlternativePDBSelector):
12776 """Proxy of C++ IMP::atom::NonWaterNonHydrogenPDBSelector class"""
12777 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12779 def __init__(self, *args):
12781 __init__(IMP::atom::NonWaterNonHydrogenPDBSelector self, std::string name) -> NonWaterNonHydrogenPDBSelector
12782 __init__(IMP::atom::NonWaterNonHydrogenPDBSelector self) -> NonWaterNonHydrogenPDBSelector
12784 this = _IMP_atom.new_NonWaterNonHydrogenPDBSelector(*args)
12786 self.this.append(this)
12791 """__str__(NonWaterNonHydrogenPDBSelector self) -> std::string"""
12792 return _IMP_atom.NonWaterNonHydrogenPDBSelector___str__(self)
12795 def __repr__(self):
12796 """__repr__(NonWaterNonHydrogenPDBSelector self) -> std::string"""
12797 return _IMP_atom.NonWaterNonHydrogenPDBSelector___repr__(self)
12800 return _object_cast_to_NonWaterNonHydrogenPDBSelector(o)
12801 get_from = staticmethod(get_from)
12803 NonWaterNonHydrogenPDBSelector_swigregister = _IMP_atom.NonWaterNonHydrogenPDBSelector_swigregister
12804 NonWaterNonHydrogenPDBSelector_swigregister(NonWaterNonHydrogenPDBSelector)
12806 class NonWaterPDBSelector(NonAlternativePDBSelector):
12807 """Proxy of C++ IMP::atom::NonWaterPDBSelector class"""
12808 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12810 def __init__(self, *args):
12812 __init__(IMP::atom::NonWaterPDBSelector self, std::string name) -> NonWaterPDBSelector
12813 __init__(IMP::atom::NonWaterPDBSelector self) -> NonWaterPDBSelector
12815 this = _IMP_atom.new_NonWaterPDBSelector(*args)
12817 self.this.append(this)
12822 """__str__(NonWaterPDBSelector self) -> std::string"""
12823 return _IMP_atom.NonWaterPDBSelector___str__(self)
12826 def __repr__(self):
12827 """__repr__(NonWaterPDBSelector self) -> std::string"""
12828 return _IMP_atom.NonWaterPDBSelector___repr__(self)
12831 return _object_cast_to_NonWaterPDBSelector(o)
12832 get_from = staticmethod(get_from)
12834 NonWaterPDBSelector_swigregister = _IMP_atom.NonWaterPDBSelector_swigregister
12835 NonWaterPDBSelector_swigregister(NonWaterPDBSelector)
12837 class BackbonePDBSelector(NonWaterNonHydrogenPDBSelector):
12838 """Proxy of C++ IMP::atom::BackbonePDBSelector class"""
12839 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12841 def __init__(self, *args):
12843 __init__(IMP::atom::BackbonePDBSelector self, std::string name) -> BackbonePDBSelector
12844 __init__(IMP::atom::BackbonePDBSelector self) -> BackbonePDBSelector
12846 this = _IMP_atom.new_BackbonePDBSelector(*args)
12848 self.this.append(this)
12853 """__str__(BackbonePDBSelector self) -> std::string"""
12854 return _IMP_atom.BackbonePDBSelector___str__(self)
12857 def __repr__(self):
12858 """__repr__(BackbonePDBSelector self) -> std::string"""
12859 return _IMP_atom.BackbonePDBSelector___repr__(self)
12862 return _object_cast_to_BackbonePDBSelector(o)
12863 get_from = staticmethod(get_from)
12865 BackbonePDBSelector_swigregister = _IMP_atom.BackbonePDBSelector_swigregister
12866 BackbonePDBSelector_swigregister(BackbonePDBSelector)
12868 class PPDBSelector(NonAlternativePDBSelector):
12869 """Proxy of C++ IMP::atom::PPDBSelector class"""
12870 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12872 def __init__(self, *args):
12874 __init__(IMP::atom::PPDBSelector self, std::string name) -> PPDBSelector
12875 __init__(IMP::atom::PPDBSelector self) -> PPDBSelector
12877 this = _IMP_atom.new_PPDBSelector(*args)
12879 self.this.append(this)
12884 """__str__(PPDBSelector self) -> std::string"""
12885 return _IMP_atom.PPDBSelector___str__(self)
12888 def __repr__(self):
12889 """__repr__(PPDBSelector self) -> std::string"""
12890 return _IMP_atom.PPDBSelector___repr__(self)
12893 return _object_cast_to_PPDBSelector(o)
12894 get_from = staticmethod(get_from)
12896 PPDBSelector_swigregister = _IMP_atom.PPDBSelector_swigregister
12897 PPDBSelector_swigregister(PPDBSelector)
12899 class AndPDBSelector(PDBSelector):
12900 """Proxy of C++ IMP::atom::AndPDBSelector class"""
12901 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12903 def get_version_info(self):
12904 """get_version_info(AndPDBSelector self) -> VersionInfo"""
12905 return _IMP_atom.AndPDBSelector_get_version_info(self)
12908 def __init__(self, a, b):
12909 """__init__(IMP::atom::AndPDBSelector self, PDBSelector a, PDBSelector b) -> AndPDBSelector"""
12910 this = _IMP_atom.new_AndPDBSelector(a, b)
12912 self.this.append(this)
12917 """__str__(AndPDBSelector self) -> std::string"""
12918 return _IMP_atom.AndPDBSelector___str__(self)
12921 def __repr__(self):
12922 """__repr__(AndPDBSelector self) -> std::string"""
12923 return _IMP_atom.AndPDBSelector___repr__(self)
12926 return _object_cast_to_AndPDBSelector(o)
12927 get_from = staticmethod(get_from)
12929 AndPDBSelector_swigregister = _IMP_atom.AndPDBSelector_swigregister
12930 AndPDBSelector_swigregister(AndPDBSelector)
12932 class OrPDBSelector(PDBSelector):
12933 """Proxy of C++ IMP::atom::OrPDBSelector class"""
12934 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12936 def get_version_info(self):
12937 """get_version_info(OrPDBSelector self) -> VersionInfo"""
12938 return _IMP_atom.OrPDBSelector_get_version_info(self)
12941 def __init__(self, a, b):
12942 """__init__(IMP::atom::OrPDBSelector self, PDBSelector a, PDBSelector b) -> OrPDBSelector"""
12943 this = _IMP_atom.new_OrPDBSelector(a, b)
12945 self.this.append(this)
12950 """__str__(OrPDBSelector self) -> std::string"""
12951 return _IMP_atom.OrPDBSelector___str__(self)
12954 def __repr__(self):
12955 """__repr__(OrPDBSelector self) -> std::string"""
12956 return _IMP_atom.OrPDBSelector___repr__(self)
12959 return _object_cast_to_OrPDBSelector(o)
12960 get_from = staticmethod(get_from)
12962 OrPDBSelector_swigregister = _IMP_atom.OrPDBSelector_swigregister
12963 OrPDBSelector_swigregister(OrPDBSelector)
12965 class NotPDBSelector(PDBSelector):
12966 """Proxy of C++ IMP::atom::NotPDBSelector class"""
12967 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12969 def get_version_info(self):
12970 """get_version_info(NotPDBSelector self) -> VersionInfo"""
12971 return _IMP_atom.NotPDBSelector_get_version_info(self)
12974 def __init__(self, a):
12975 """__init__(IMP::atom::NotPDBSelector self, PDBSelector a) -> NotPDBSelector"""
12976 this = _IMP_atom.new_NotPDBSelector(a)
12978 self.this.append(this)
12983 """__str__(NotPDBSelector self) -> std::string"""
12984 return _IMP_atom.NotPDBSelector___str__(self)
12987 def __repr__(self):
12988 """__repr__(NotPDBSelector self) -> std::string"""
12989 return _IMP_atom.NotPDBSelector___repr__(self)
12992 return _object_cast_to_NotPDBSelector(o)
12993 get_from = staticmethod(get_from)
12995 NotPDBSelector_swigregister = _IMP_atom.NotPDBSelector_swigregister
12996 NotPDBSelector_swigregister(NotPDBSelector)
12999 def get_default_pdb_selector():
13000 """get_default_pdb_selector() -> PDBSelector"""
13001 return _IMP_atom.get_default_pdb_selector()
13005 read_pdb(TextInput input, Model model, PDBSelector selector, bool select_first_model=True, bool no_radii=False) -> Hierarchy
13006 read_pdb(TextInput input, Model model, PDBSelector selector, bool select_first_model=True) -> Hierarchy
13007 read_pdb(TextInput input, Model model, PDBSelector selector) -> Hierarchy
13008 read_pdb(TextInput input, Model model) -> Hierarchy
13009 read_pdb(TextInput input, int model, Hierarchy h)
13011 return _IMP_atom.read_pdb(*args)
13015 read_multimodel_pdb(TextInput input, Model model, PDBSelector selector, bool noradii=False) -> IMP::atom::Hierarchies
13016 read_multimodel_pdb(TextInput input, Model model, PDBSelector selector) -> IMP::atom::Hierarchies
13017 read_multimodel_pdb(TextInput input, Model model) -> IMP::atom::Hierarchies
13019 return _IMP_atom.read_multimodel_pdb(*args)
13023 write_pdb(Selection mhd, TextOutput out, unsigned int model=1)
13024 write_pdb(Selection mhd, TextOutput out)
13026 return _IMP_atom.write_pdb(mhd, out, model)
13030 write_pdb_of_c_alphas(Selection mhd, TextOutput out, unsigned int model=1)
13031 write_pdb_of_c_alphas(Selection mhd, TextOutput out)
13033 return _IMP_atom.write_pdb_of_c_alphas(mhd, out, model)
13036 """write_multimodel_pdb(IMP::atom::Hierarchies const & mhd, TextOutput out)"""
13037 return _IMP_atom.write_multimodel_pdb(mhd, out)
13039 def get_pdb_string(*args):
13041 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
13042 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
13043 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
13044 get_pdb_string(Vector3D v, int index=-1, AtomType at, ResidueType rt, char chain, int res_index=1, char res_icode) -> std::string
13045 get_pdb_string(Vector3D v, int index=-1, AtomType at, ResidueType rt, char chain, int res_index=1) -> std::string
13046 get_pdb_string(Vector3D v, int index=-1, AtomType at, ResidueType rt, char chain) -> std::string
13047 get_pdb_string(Vector3D v, int index=-1, AtomType at, ResidueType rt) -> std::string
13048 get_pdb_string(Vector3D v, int index=-1, AtomType at) -> std::string
13049 get_pdb_string(Vector3D v, int index=-1) -> std::string
13050 get_pdb_string(Vector3D v) -> std::string
13052 return _IMP_atom.get_pdb_string(*args)
13054 def get_pdb_conect_record_string(arg1, arg2):
13055 """get_pdb_conect_record_string(int arg1, int arg2) -> std::string"""
13056 return _IMP_atom.get_pdb_conect_record_string(arg1, arg2)
13058 """Proxy of C++ IMP::atom::WritePDBOptimizerState class"""
13059 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13061 def __init__(self, *args):
13063 __init__(IMP::atom::WritePDBOptimizerState self, Model m, _ParticleIndexesAdaptor pis, std::string filename) -> WritePDBOptimizerState
13064 __init__(IMP::atom::WritePDBOptimizerState self, IMP::atom::Hierarchies const mh, std::string filename) -> WritePDBOptimizerState
13066 this = _IMP_atom.new_WritePDBOptimizerState(*args)
13068 self.this.append(this)
13072 def get_version_info(self):
13073 """get_version_info(WritePDBOptimizerState self) -> VersionInfo"""
13074 return _IMP_atom.WritePDBOptimizerState_get_version_info(self)
13078 """__str__(WritePDBOptimizerState self) -> std::string"""
13079 return _IMP_atom.WritePDBOptimizerState___str__(self)
13082 def __repr__(self):
13083 """__repr__(WritePDBOptimizerState self) -> std::string"""
13084 return _IMP_atom.WritePDBOptimizerState___repr__(self)
13087 return _object_cast_to_WritePDBOptimizerState(o)
13088 get_from = staticmethod(get_from)
13090 WritePDBOptimizerState_swigregister = _IMP_atom.WritePDBOptimizerState_swigregister
13091 WritePDBOptimizerState_swigregister(WritePDBOptimizerState)
13095 """get_kt(double T) -> double"""
13096 return _IMP_atom.get_kt(T)
13098 """Proxy of C++ IMP::atom::CAAngleRestraint class"""
13099 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13101 def __init__(self, m, p1, p2, p3, phi0, score):
13102 """__init__(IMP::atom::CAAngleRestraint self, Model m, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2, _ParticleIndexAdaptor p3, IMP::Floats phi0, IMP::Floats score) -> CAAngleRestraint"""
13103 this = _IMP_atom.new_CAAngleRestraint(m, p1, p2, p3, phi0, score)
13105 self.this.append(this)
13109 def do_get_inputs(self):
13110 """do_get_inputs(CAAngleRestraint self) -> IMP::ModelObjectsTemp"""
13111 return _IMP_atom.CAAngleRestraint_do_get_inputs(self)
13114 def get_version_info(self):
13115 """get_version_info(CAAngleRestraint self) -> VersionInfo"""
13116 return _IMP_atom.CAAngleRestraint_get_version_info(self)
13120 """__str__(CAAngleRestraint self) -> std::string"""
13121 return _IMP_atom.CAAngleRestraint___str__(self)
13124 def __repr__(self):
13125 """__repr__(CAAngleRestraint self) -> std::string"""
13126 return _IMP_atom.CAAngleRestraint___repr__(self)
13129 return _object_cast_to_CAAngleRestraint(o)
13130 get_from = staticmethod(get_from)
13132 CAAngleRestraint_swigregister = _IMP_atom.CAAngleRestraint_swigregister
13133 CAAngleRestraint_swigregister(CAAngleRestraint)
13136 """Proxy of C++ IMP::atom::CADihedralRestraint class"""
13137 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13139 def __init__(self, m, p1, p2, p3, p4, p5, phi0, phi1, score):
13140 """__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"""
13141 this = _IMP_atom.new_CADihedralRestraint(m, p1, p2, p3, p4, p5, phi0, phi1, score)
13143 self.this.append(this)
13147 def do_get_inputs(self):
13148 """do_get_inputs(CADihedralRestraint self) -> IMP::ModelObjectsTemp"""
13149 return _IMP_atom.CADihedralRestraint_do_get_inputs(self)
13152 def get_version_info(self):
13153 """get_version_info(CADihedralRestraint self) -> VersionInfo"""
13154 return _IMP_atom.CADihedralRestraint_get_version_info(self)
13158 """__str__(CADihedralRestraint self) -> std::string"""
13159 return _IMP_atom.CADihedralRestraint___str__(self)
13162 def __repr__(self):
13163 """__repr__(CADihedralRestraint self) -> std::string"""
13164 return _IMP_atom.CADihedralRestraint___repr__(self)
13167 return _object_cast_to_CADihedralRestraint(o)
13168 get_from = staticmethod(get_from)
13170 CADihedralRestraint_swigregister = _IMP_atom.CADihedralRestraint_swigregister
13171 CADihedralRestraint_swigregister(CADihedralRestraint)
13174 """Proxy of C++ IMP::atom::StructureSource class"""
13175 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13177 def get_source_id(self):
13178 """get_source_id(StructureSource self) -> std::string"""
13179 return _IMP_atom.StructureSource_get_source_id(self)
13182 def get_source_chain_id(self):
13183 """get_source_chain_id(StructureSource self) -> std::string"""
13184 return _IMP_atom.StructureSource_get_source_chain_id(self)
13187 def set_source_id(self, source_id):
13188 """set_source_id(StructureSource self, std::string source_id)"""
13189 return _IMP_atom.StructureSource_set_source_id(self, source_id)
13192 def set_source_chain_id(self, source_chain_id):
13193 """set_source_chain_id(StructureSource self, std::string source_chain_id)"""
13194 return _IMP_atom.StructureSource_set_source_chain_id(self, source_chain_id)
13197 def __init__(self, *args):
13199 __init__(IMP::atom::StructureSource self) -> StructureSource
13200 __init__(IMP::atom::StructureSource self, Model m, ParticleIndex id) -> StructureSource
13201 __init__(IMP::atom::StructureSource self, _ParticleAdaptor d) -> StructureSource
13203 this = _IMP_atom.new_StructureSource(*args)
13205 self.this.append(this)
13209 def get_is_setup(*args):
13211 get_is_setup(Model m, ParticleIndex pi) -> bool
13212 get_is_setup(_ParticleAdaptor p) -> bool
13214 return _IMP_atom.StructureSource_get_is_setup(*args)
13216 get_is_setup = staticmethod(get_is_setup)
13218 def show(self, *args):
13220 show(StructureSource self, _ostream out)
13221 show(StructureSource self)
13223 return _IMP_atom.StructureSource_show(self, *args)
13226 def setup_particle(*args):
13228 setup_particle(Model m, ParticleIndex pi, std::string source_id, std::string source_chain_id) -> StructureSource
13229 setup_particle(_ParticleAdaptor decorator, std::string source_id, std::string source_chain_id) -> StructureSource
13231 return _IMP_atom.StructureSource_setup_particle(*args)
13233 setup_particle = staticmethod(setup_particle)
13235 def add_attribute(self, *args):
13237 add_attribute(StructureSource self, FloatKey k, IMP::Float v, bool opt)
13238 add_attribute(StructureSource self, FloatKey a0, IMP::Float a1)
13239 add_attribute(StructureSource self, IntKey a0, IMP::Int a1)
13240 add_attribute(StructureSource self, StringKey a0, IMP::String a1)
13241 add_attribute(StructureSource self, ParticleIndexKey a0, Particle a1)
13242 add_attribute(StructureSource self, ObjectKey a0, Object a1)
13244 return _IMP_atom.StructureSource_add_attribute(self, *args)
13247 def get_value(self, *args):
13249 get_value(StructureSource self, FloatKey a0) -> IMP::Float
13250 get_value(StructureSource self, IntKey a0) -> IMP::Int
13251 get_value(StructureSource self, StringKey a0) -> IMP::String
13252 get_value(StructureSource self, ParticleIndexKey a0) -> Particle
13253 get_value(StructureSource self, ObjectKey a0) -> Object
13255 return _IMP_atom.StructureSource_get_value(self, *args)
13258 def set_value(self, *args):
13260 set_value(StructureSource self, FloatKey a0, IMP::Float a1)
13261 set_value(StructureSource self, IntKey a0, IMP::Int a1)
13262 set_value(StructureSource self, StringKey a0, IMP::String a1)
13263 set_value(StructureSource self, ParticleIndexKey a0, Particle a1)
13264 set_value(StructureSource self, ObjectKey a0, Object a1)
13266 return _IMP_atom.StructureSource_set_value(self, *args)
13269 def remove_attribute(self, *args):
13271 remove_attribute(StructureSource self, FloatKey a0)
13272 remove_attribute(StructureSource self, IntKey a0)
13273 remove_attribute(StructureSource self, StringKey a0)
13274 remove_attribute(StructureSource self, ParticleIndexKey a0)
13275 remove_attribute(StructureSource self, ObjectKey a0)
13277 return _IMP_atom.StructureSource_remove_attribute(self, *args)
13280 def has_attribute(self, *args):
13282 has_attribute(StructureSource self, FloatKey a0) -> bool
13283 has_attribute(StructureSource self, IntKey a0) -> bool
13284 has_attribute(StructureSource self, StringKey a0) -> bool
13285 has_attribute(StructureSource self, ParticleIndexKey a0) -> bool
13286 has_attribute(StructureSource self, ObjectKey a0) -> bool
13288 return _IMP_atom.StructureSource_has_attribute(self, *args)
13291 def get_derivative(self, a0):
13292 """get_derivative(StructureSource self, FloatKey a0) -> double"""
13293 return _IMP_atom.StructureSource_get_derivative(self, a0)
13296 def get_name(self):
13297 """get_name(StructureSource self) -> std::string"""
13298 return _IMP_atom.StructureSource_get_name(self)
13301 def clear_caches(self):
13302 """clear_caches(StructureSource self)"""
13303 return _IMP_atom.StructureSource_clear_caches(self)
13306 def set_name(self, a0):
13307 """set_name(StructureSource self, std::string a0)"""
13308 return _IMP_atom.StructureSource_set_name(self, a0)
13312 """set_check_level(StructureSource self, IMP::CheckLevel a0)"""
13313 return _IMP_atom.StructureSource_set_check_level(self, a0)
13316 def add_to_derivative(self, a0, a1, a2):
13317 """add_to_derivative(StructureSource self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
13318 return _IMP_atom.StructureSource_add_to_derivative(self, a0, a1, a2)
13321 def set_is_optimized(self, a0, a1):
13322 """set_is_optimized(StructureSource self, FloatKey a0, bool a1)"""
13323 return _IMP_atom.StructureSource_set_is_optimized(self, a0, a1)
13326 def get_is_optimized(self, a0):
13327 """get_is_optimized(StructureSource self, FloatKey a0) -> bool"""
13328 return _IMP_atom.StructureSource_get_is_optimized(self, a0)
13332 """get_check_level(StructureSource self) -> IMP::CheckLevel"""
13333 return _IMP_atom.StructureSource_get_check_level(self)
13336 def __eq__(self, *args):
13338 __eq__(StructureSource self, StructureSource o) -> bool
13339 __eq__(StructureSource self, Particle d) -> bool
13341 return _IMP_atom.StructureSource___eq__(self, *args)
13344 def __ne__(self, *args):
13346 __ne__(StructureSource self, StructureSource o) -> bool
13347 __ne__(StructureSource self, Particle d) -> bool
13349 return _IMP_atom.StructureSource___ne__(self, *args)
13352 def __le__(self, *args):
13354 __le__(StructureSource self, StructureSource o) -> bool
13355 __le__(StructureSource self, Particle d) -> bool
13357 return _IMP_atom.StructureSource___le__(self, *args)
13360 def __lt__(self, *args):
13362 __lt__(StructureSource self, StructureSource o) -> bool
13363 __lt__(StructureSource self, Particle d) -> bool
13365 return _IMP_atom.StructureSource___lt__(self, *args)
13368 def __ge__(self, *args):
13370 __ge__(StructureSource self, StructureSource o) -> bool
13371 __ge__(StructureSource self, Particle d) -> bool
13373 return _IMP_atom.StructureSource___ge__(self, *args)
13376 def __gt__(self, *args):
13378 __gt__(StructureSource self, StructureSource o) -> bool
13379 __gt__(StructureSource self, Particle d) -> bool
13381 return _IMP_atom.StructureSource___gt__(self, *args)
13384 def __hash__(self):
13385 """__hash__(StructureSource self) -> std::size_t"""
13386 return _IMP_atom.StructureSource___hash__(self)
13390 """__str__(StructureSource self) -> std::string"""
13391 return _IMP_atom.StructureSource___str__(self)
13394 def __repr__(self):
13395 """__repr__(StructureSource self) -> std::string"""
13396 return _IMP_atom.StructureSource___repr__(self)
13398 __swig_destroy__ = _IMP_atom.delete_StructureSource
13399 __del__ =
lambda self:
None
13400 StructureSource_swigregister = _IMP_atom.StructureSource_swigregister
13401 StructureSource_swigregister(StructureSource)
13403 def StructureSource_get_is_setup(*args):
13405 get_is_setup(Model m, ParticleIndex pi) -> bool
13406 StructureSource_get_is_setup(_ParticleAdaptor p) -> bool
13408 return _IMP_atom.StructureSource_get_is_setup(*args)
13410 def StructureSource_setup_particle(*args):
13412 setup_particle(Model m, ParticleIndex pi, std::string source_id, std::string source_chain_id) -> StructureSource
13413 StructureSource_setup_particle(_ParticleAdaptor decorator, std::string source_id, std::string source_chain_id) -> StructureSource
13415 return _IMP_atom.StructureSource_setup_particle(*args)
13418 def __lshift__(*args):
13420 __lshift__(_ostream out, Bonded n) -> _ostream
13421 __lshift__(_ostream out, Bond n) -> _ostream
13422 __lshift__(_ostream out, Hierarchy n) -> _ostream
13423 __lshift__(_ostream out, Angle n) -> _ostream
13424 __lshift__(_ostream out, Dihedral n) -> _ostream
13425 __lshift__(_ostream out, CenterOfMass n) -> _ostream
13426 __lshift__(_ostream out, Diffusion n) -> _ostream
13427 __lshift__(_ostream out, RigidBodyDiffusion n) -> _ostream
13428 __lshift__(_ostream out, TAMDParticle n) -> _ostream
13429 __lshift__(_ostream out, Chain n) -> _ostream
13430 __lshift__(_ostream out, Charged n) -> _ostream
13431 __lshift__(_ostream out, Domain n) -> _ostream
13432 __lshift__(_ostream out, LennardJones n) -> _ostream
13433 __lshift__(_ostream out, Fragment n) -> _ostream
13434 __lshift__(_ostream out, SecondaryStructureResidue n) -> _ostream
13435 __lshift__(_ostream out, Atom n) -> _ostream
13436 __lshift__(_ostream out, Residue n) -> _ostream
13437 __lshift__(_ostream out, Representation n) -> _ostream
13438 __lshift__(_ostream out, State n) -> _ostream
13439 __lshift__(_ostream out, Molecule n) -> _ostream
13440 __lshift__(_ostream out, Copy n) -> _ostream
13441 __lshift__(_ostream out, StructureSource n) -> _ostream
13443 return _IMP_atom.__lshift__(*args)
13447 show_molecular_hierarchy(Hierarchy h, _ostream out) -> _ostream
13448 show_molecular_hierarchy(Hierarchy h) -> _ostream
13450 return _IMP_atom.show_molecular_hierarchy(*args)
13451 class CHARMMBond(object):
13452 """Proxy of C++ IMP::atom::CHARMMConnection<(2)> class"""
13453 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13454 __repr__ = _swig_repr
13456 def __init__(self, atoms):
13457 """__init__(IMP::atom::CHARMMConnection<(2)> self, IMP::Strings const & atoms) -> CHARMMBond"""
13458 this = _IMP_atom.new_CHARMMBond(atoms)
13460 self.this.append(this)
13464 def get_endpoint(self, i):
13465 """get_endpoint(CHARMMBond self, unsigned int i) -> CHARMMBondEndpoint"""
13466 return _IMP_atom.CHARMMBond_get_endpoint(self, i)
13469 def get_contains_atom(self, name):
13470 """get_contains_atom(CHARMMBond self, std::string name) -> bool"""
13471 return _IMP_atom.CHARMMBond_get_contains_atom(self, name)
13474 def show(self, *args):
13476 show(CHARMMBond self, _ostream out)
13477 show(CHARMMBond self)
13479 return _IMP_atom.CHARMMBond_show(self, *args)
13481 __swig_destroy__ = _IMP_atom.delete_CHARMMBond
13482 __del__ =
lambda self:
None
13483 CHARMMBond_swigregister = _IMP_atom.CHARMMBond_swigregister
13484 CHARMMBond_swigregister(CHARMMBond)
13486 class CHARMMAngle(object):
13487 """Proxy of C++ IMP::atom::CHARMMConnection<(3)> class"""
13488 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13489 __repr__ = _swig_repr
13491 def __init__(self, atoms):
13492 """__init__(IMP::atom::CHARMMConnection<(3)> self, IMP::Strings const & atoms) -> CHARMMAngle"""
13493 this = _IMP_atom.new_CHARMMAngle(atoms)
13495 self.this.append(this)
13499 def get_endpoint(self, i):
13500 """get_endpoint(CHARMMAngle self, unsigned int i) -> CHARMMBondEndpoint"""
13501 return _IMP_atom.CHARMMAngle_get_endpoint(self, i)
13504 def get_contains_atom(self, name):
13505 """get_contains_atom(CHARMMAngle self, std::string name) -> bool"""
13506 return _IMP_atom.CHARMMAngle_get_contains_atom(self, name)
13509 def show(self, *args):
13511 show(CHARMMAngle self, _ostream out)
13512 show(CHARMMAngle self)
13514 return _IMP_atom.CHARMMAngle_show(self, *args)
13516 __swig_destroy__ = _IMP_atom.delete_CHARMMAngle
13517 __del__ =
lambda self:
None
13518 CHARMMAngle_swigregister = _IMP_atom.CHARMMAngle_swigregister
13519 CHARMMAngle_swigregister(CHARMMAngle)
13522 def _get_native_overlap_cpp(m1, m2, threshold):
13523 """_get_native_overlap_cpp(IMP::Vector< IMP::algebra::VectorD< 3 > > const & m1, IMP::Vector< IMP::algebra::VectorD< 3 > > const & m2, double threshold) -> double"""
13524 return _IMP_atom._get_native_overlap_cpp(m1, m2, threshold)
13526 def _get_drmsd_cpp(m0, m1):
13527 """_get_drmsd_cpp(IMP::Vector< IMP::algebra::VectorD< 3 > > const & m0, IMP::Vector< IMP::algebra::VectorD< 3 > > const & m1) -> double"""
13528 return _IMP_atom._get_drmsd_cpp(m0, m1)
13530 def _get_drmsd_Q_cpp(m0, m1, threshold):
13531 """_get_drmsd_Q_cpp(IMP::Vector< IMP::algebra::VectorD< 3 > > const & m0, IMP::Vector< IMP::algebra::VectorD< 3 > > const & m1, double threshold) -> double"""
13532 return _IMP_atom._get_drmsd_Q_cpp(m0, m1, threshold)
13534 def _get_drms_cpp(m1, m2):
13535 """_get_drms_cpp(IMP::Vector< IMP::algebra::VectorD< 3 > > const & m1, IMP::Vector< IMP::algebra::VectorD< 3 > > const & m2) -> double"""
13536 return _IMP_atom._get_drms_cpp(m1, m2)
13538 def _get_rigid_bodies_drms_cpp(m1, m2, ranges):
13539 """_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"""
13540 return _IMP_atom._get_rigid_bodies_drms_cpp(m1, m2, ranges)
13542 va= [IMP.algebra.get_vector(x)
for x
in a]
13543 vb= [IMP.algebra.get_vector(x)
for x
in b]
13544 return _get_native_overlap_cpp(va, vb, d)
13547 va= [IMP.algebra.get_vector(x)
for x
in a]
13548 vb= [IMP.algebra.get_vector(x)
for x
in b]
13549 return _get_drmsd_cpp(va, vb)
13552 va= [IMP.algebra.get_vector(x)
for x
in a]
13553 vb= [IMP.algebra.get_vector(x)
for x
in b]
13554 return _get_drms_cpp(va, vb)
13557 va= [IMP.algebra.get_vector(x)
for x
in a]
13558 vb= [IMP.algebra.get_vector(x)
for x
in b]
13559 return _get_drmsd_Q_cpp(va, vb, t)
13562 va= [IMP.algebra.get_vector(x)
for x
in a]
13563 vb= [IMP.algebra.get_vector(x)
for x
in b]
13565 return _get_rigid_bodies_drms_cpp(va, vb, ranges)
13569 def get_module_version():
13570 """get_module_version() -> std::string const"""
13571 return _IMP_atom.get_module_version()
13574 """get_example_path(std::string fname) -> std::string"""
13575 return _IMP_atom.get_example_path(fname)
13578 """get_data_path(std::string fname) -> std::string"""
13579 return _IMP_atom.get_data_path(fname)
13580 from .
import _version_check
13581 _version_check.check_version(get_module_version())
13582 __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.
Hierarchies get_leaves(Hierarchy h)
double get_kt(double T)
Return kT for a given temperature.
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)
algebra::Sphere3D get_bounding_sphere(const Hierarchy &h)
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)
Hierarchy create_simplified_from_volume(Hierarchy h, double resolution)
void add_particles(RMF::FileHandle fh, const ParticlesTemp &hs)
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)
Hierarchy create_clone(Hierarchy d)
Clone the Hierarchy.
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.
Bonds get_internal_bonds(Hierarchy mhd)
Get the bonds internal to this tree.
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.
bool get_is_heterogen(Hierarchy h)
Return true if the piece of hierarchy should be classified as a heterogen.
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)
Hierarchy get_root(Hierarchy h)
Return the root of the hierarchy.
double get_rotational_diffusion_coefficient(const algebra::Rotation3Ds &displacements, double dt)
Hierarchy create_fragment(const Hierarchies &ps)
Create a fragment containing the specified nodes.
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.
Hierarchies get_by_type(Hierarchy mhd, GetByType t)
Gather all the molecular particles of a certain level in the hierarchy.
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.
Hierarchy create_clone_one(Hierarchy d)
Clone the node in the Hierarchy.
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 destroy(Hierarchy d)
Delete the Hierarchy.
void add_protein_ligand_score_data(Hierarchy h)
std::string get_molecule_name(Hierarchy h)
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.
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())
void show(Hierarchy h, std::ostream &out=std::cout)
Print out a molecular hierarchy.
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.
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%")
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 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()
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.