11 from __future__
import print_function, division, absolute_import
17 from sys
import version_info
18 if version_info >= (2, 6, 0):
19 def swig_import_helper():
20 from os.path
import dirname
24 fp, pathname, description = imp.find_module(
'_IMP_core', [dirname(__file__)])
30 _mod = imp.load_module(
'_IMP_core', fp, pathname, description)
34 _IMP_core = swig_import_helper()
35 del swig_import_helper
40 _swig_property = property
45 def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
46 if (name ==
"thisown"):
47 return self.this.own(value)
49 if type(value).__name__ ==
'SwigPyObject':
50 self.__dict__[name] = value
52 method = class_type.__swig_setmethods__.get(name,
None)
54 return method(self, value)
56 object.__setattr__(self, name, value)
58 raise AttributeError(
"You cannot add attributes to %s" % self)
61 def _swig_setattr(self, class_type, name, value):
62 return _swig_setattr_nondynamic(self, class_type, name, value, 0)
65 def _swig_getattr_nondynamic(self, class_type, name, static=1):
66 if (name ==
"thisown"):
67 return self.this.own()
68 method = class_type.__swig_getmethods__.get(name,
None)
72 return object.__getattr__(self, name)
74 raise AttributeError(name)
76 def _swig_getattr(self, class_type, name):
77 return _swig_getattr_nondynamic(self, class_type, name, 0)
82 strthis =
"proxy of " + self.this.__repr__()
85 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
90 except AttributeError:
97 def _swig_setattr_nondynamic_method(set):
98 def set_attr(self, name, value):
99 if (name ==
"thisown"):
100 return self.this.own(value)
101 if hasattr(self, name)
or (name ==
"this"):
102 set(self, name, value)
104 raise AttributeError(
"You cannot add attributes to %s" % self)
110 weakref_proxy = weakref.proxy
112 weakref_proxy =
lambda x: x
115 class IMP_CORE_SwigPyIterator(object):
116 """Proxy of C++ swig::IMP_CORE_SwigPyIterator class"""
117 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
119 def __init__(self, *args, **kwargs):
120 raise AttributeError(
"No constructor defined - class is abstract")
121 __repr__ = _swig_repr
122 __swig_destroy__ = _IMP_core.delete_IMP_CORE_SwigPyIterator
123 __del__ =
lambda self:
None
126 """value(IMP_CORE_SwigPyIterator self) -> PyObject *"""
127 return _IMP_core.IMP_CORE_SwigPyIterator_value(self)
132 incr(IMP_CORE_SwigPyIterator self, size_t n=1) -> IMP_CORE_SwigPyIterator
133 incr(IMP_CORE_SwigPyIterator self) -> IMP_CORE_SwigPyIterator
135 return _IMP_core.IMP_CORE_SwigPyIterator_incr(self, n)
140 decr(IMP_CORE_SwigPyIterator self, size_t n=1) -> IMP_CORE_SwigPyIterator
141 decr(IMP_CORE_SwigPyIterator self) -> IMP_CORE_SwigPyIterator
143 return _IMP_core.IMP_CORE_SwigPyIterator_decr(self, n)
146 def distance(self, x):
147 """distance(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> ptrdiff_t"""
148 return _IMP_core.IMP_CORE_SwigPyIterator_distance(self, x)
152 """equal(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> bool"""
153 return _IMP_core.IMP_CORE_SwigPyIterator_equal(self, x)
157 """copy(IMP_CORE_SwigPyIterator self) -> IMP_CORE_SwigPyIterator"""
158 return _IMP_core.IMP_CORE_SwigPyIterator_copy(self)
162 """next(IMP_CORE_SwigPyIterator self) -> PyObject *"""
163 return _IMP_core.IMP_CORE_SwigPyIterator_next(self)
167 """__next__(IMP_CORE_SwigPyIterator self) -> PyObject *"""
168 return _IMP_core.IMP_CORE_SwigPyIterator___next__(self)
172 """previous(IMP_CORE_SwigPyIterator self) -> PyObject *"""
173 return _IMP_core.IMP_CORE_SwigPyIterator_previous(self)
176 def advance(self, n):
177 """advance(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator"""
178 return _IMP_core.IMP_CORE_SwigPyIterator_advance(self, n)
182 """__eq__(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> bool"""
183 return _IMP_core.IMP_CORE_SwigPyIterator___eq__(self, x)
187 """__ne__(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> bool"""
188 return _IMP_core.IMP_CORE_SwigPyIterator___ne__(self, x)
191 def __iadd__(self, n):
192 """__iadd__(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator"""
193 return _IMP_core.IMP_CORE_SwigPyIterator___iadd__(self, n)
196 def __isub__(self, n):
197 """__isub__(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator"""
198 return _IMP_core.IMP_CORE_SwigPyIterator___isub__(self, n)
201 def __add__(self, n):
202 """__add__(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator"""
203 return _IMP_core.IMP_CORE_SwigPyIterator___add__(self, n)
206 def __sub__(self, *args):
208 __sub__(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator
209 __sub__(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> ptrdiff_t
211 return _IMP_core.IMP_CORE_SwigPyIterator___sub__(self, *args)
215 IMP_CORE_SwigPyIterator_swigregister = _IMP_core.IMP_CORE_SwigPyIterator_swigregister
216 IMP_CORE_SwigPyIterator_swigregister(IMP_CORE_SwigPyIterator)
225 _IMP_core.IMP_DEBUG_swigconstant(_IMP_core)
226 IMP_DEBUG = _IMP_core.IMP_DEBUG
228 _IMP_core.IMP_RELEASE_swigconstant(_IMP_core)
229 IMP_RELEASE = _IMP_core.IMP_RELEASE
231 _IMP_core.IMP_SILENT_swigconstant(_IMP_core)
232 IMP_SILENT = _IMP_core.IMP_SILENT
234 _IMP_core.IMP_PROGRESS_swigconstant(_IMP_core)
235 IMP_PROGRESS = _IMP_core.IMP_PROGRESS
237 _IMP_core.IMP_TERSE_swigconstant(_IMP_core)
238 IMP_TERSE = _IMP_core.IMP_TERSE
240 _IMP_core.IMP_VERBOSE_swigconstant(_IMP_core)
241 IMP_VERBOSE = _IMP_core.IMP_VERBOSE
243 _IMP_core.IMP_MEMORY_swigconstant(_IMP_core)
244 IMP_MEMORY = _IMP_core.IMP_MEMORY
246 _IMP_core.IMP_NONE_swigconstant(_IMP_core)
247 IMP_NONE = _IMP_core.IMP_NONE
249 _IMP_core.IMP_USAGE_swigconstant(_IMP_core)
250 IMP_USAGE = _IMP_core.IMP_USAGE
252 _IMP_core.IMP_INTERNAL_swigconstant(_IMP_core)
253 IMP_INTERNAL = _IMP_core.IMP_INTERNAL
255 _IMP_core.IMP_KERNEL_HAS_LOG4CXX_swigconstant(_IMP_core)
256 IMP_KERNEL_HAS_LOG4CXX = _IMP_core.IMP_KERNEL_HAS_LOG4CXX
258 _IMP_core.IMP_COMPILER_HAS_DEBUG_VECTOR_swigconstant(_IMP_core)
259 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_core.IMP_COMPILER_HAS_DEBUG_VECTOR
261 _IMP_core.IMP_COMPILER_HAS_RANDOM_SHUFFLE_swigconstant(_IMP_core)
262 IMP_COMPILER_HAS_RANDOM_SHUFFLE = _IMP_core.IMP_COMPILER_HAS_RANDOM_SHUFFLE
264 _IMP_core.IMP_COMPILER_HAS_THREE_WAY_swigconstant(_IMP_core)
265 IMP_COMPILER_HAS_THREE_WAY = _IMP_core.IMP_COMPILER_HAS_THREE_WAY
267 _IMP_core.IMP_KERNEL_HAS_BOOST_RANDOM_swigconstant(_IMP_core)
268 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_core.IMP_KERNEL_HAS_BOOST_RANDOM
270 _IMP_core.IMP_KERNEL_HAS_NUMPY_swigconstant(_IMP_core)
271 IMP_KERNEL_HAS_NUMPY = _IMP_core.IMP_KERNEL_HAS_NUMPY
273 _IMP_core.IMP_KERNEL_HAS_GPERFTOOLS_swigconstant(_IMP_core)
274 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_core.IMP_KERNEL_HAS_GPERFTOOLS
276 _IMP_core.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER_swigconstant(_IMP_core)
277 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_core.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
279 _IMP_core.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER_swigconstant(_IMP_core)
280 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_core.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
282 _IMP_core.IMPKERNEL_SHOW_WARNINGS_swigconstant(_IMP_core)
283 IMPKERNEL_SHOW_WARNINGS = _IMP_core.IMPKERNEL_SHOW_WARNINGS
286 class _DirectorObjects(object):
287 """@internal Simple class to keep references to director objects
288 to prevent premature deletion."""
291 def register(self, obj):
292 """Take a reference to a director object; will only work for
293 refcounted C++ classes"""
294 if hasattr(obj,
'get_ref_count'):
295 self._objects.append(obj)
297 """Only drop our reference and allow cleanup by Python if no other
298 Python references exist (we hold 3 references: one in self._objects,
299 one in x, and one in the argument list for getrefcount) *and* no
300 other C++ references exist (the Python object always holds one)"""
301 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
302 or x.get_ref_count() > 1]
306 def get_object_count(self):
307 """Get number of director objects (useful for testing only)"""
308 return len(self._objects)
309 _director_objects = _DirectorObjects()
311 class _ostream(object):
312 """Proxy of C++ std::ostream class"""
313 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
315 def __init__(self, *args, **kwargs):
316 raise AttributeError(
"No constructor defined")
317 __repr__ = _swig_repr
319 def write(self, osa_buf):
320 """write(_ostream self, char const * osa_buf)"""
321 return _IMP_core._ostream_write(self, osa_buf)
323 _ostream_swigregister = _IMP_core._ostream_swigregister
324 _ostream_swigregister(_ostream)
327 _IMP_core.IMP_HAS_NOEXCEPT_swigconstant(_IMP_core)
328 IMP_HAS_NOEXCEPT = _IMP_core.IMP_HAS_NOEXCEPT
330 _IMP_core.IMP_C_OPEN_BINARY_swigconstant(_IMP_core)
331 IMP_C_OPEN_BINARY = _IMP_core.IMP_C_OPEN_BINARY
334 _IMP_core.IMP_CGAL_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_core)
335 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_CGAL_HAS_BOOST_FILESYSTEM
337 _IMP_core.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_core)
338 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
340 _IMP_core.IMP_CGAL_HAS_BOOST_RANDOM_swigconstant(_IMP_core)
341 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_core.IMP_CGAL_HAS_BOOST_RANDOM
343 _IMP_core.IMP_CGAL_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_core)
344 IMP_CGAL_HAS_BOOST_SERIALIZATION = _IMP_core.IMP_CGAL_HAS_BOOST_SERIALIZATION
346 _IMP_core.IMP_CGAL_HAS_BOOST_SYSTEM_swigconstant(_IMP_core)
347 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_core.IMP_CGAL_HAS_BOOST_SYSTEM
349 _IMP_core.IMP_CGAL_HAS_NUMPY_swigconstant(_IMP_core)
350 IMP_CGAL_HAS_NUMPY = _IMP_core.IMP_CGAL_HAS_NUMPY
352 _IMP_core.IMPCGAL_SHOW_WARNINGS_swigconstant(_IMP_core)
353 IMPCGAL_SHOW_WARNINGS = _IMP_core.IMPCGAL_SHOW_WARNINGS
356 _IMP_core.IMP_ALGEBRA_HAS_IMP_CGAL_swigconstant(_IMP_core)
357 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_core.IMP_ALGEBRA_HAS_IMP_CGAL
359 _IMP_core.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_core)
360 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
362 _IMP_core.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_core)
363 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
365 _IMP_core.IMP_ALGEBRA_HAS_BOOST_RANDOM_swigconstant(_IMP_core)
366 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_core.IMP_ALGEBRA_HAS_BOOST_RANDOM
368 _IMP_core.IMP_ALGEBRA_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_core)
369 IMP_ALGEBRA_HAS_BOOST_SERIALIZATION = _IMP_core.IMP_ALGEBRA_HAS_BOOST_SERIALIZATION
371 _IMP_core.IMP_ALGEBRA_HAS_BOOST_SYSTEM_swigconstant(_IMP_core)
372 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_core.IMP_ALGEBRA_HAS_BOOST_SYSTEM
374 _IMP_core.IMP_ALGEBRA_HAS_CGAL_swigconstant(_IMP_core)
375 IMP_ALGEBRA_HAS_CGAL = _IMP_core.IMP_ALGEBRA_HAS_CGAL
377 _IMP_core.IMP_ALGEBRA_HAS_NUMPY_swigconstant(_IMP_core)
378 IMP_ALGEBRA_HAS_NUMPY = _IMP_core.IMP_ALGEBRA_HAS_NUMPY
380 _IMP_core.IMP_ALGEBRA_HAS_ANN_swigconstant(_IMP_core)
381 IMP_ALGEBRA_HAS_ANN = _IMP_core.IMP_ALGEBRA_HAS_ANN
383 _IMP_core.IMPALGEBRA_SHOW_WARNINGS_swigconstant(_IMP_core)
384 IMPALGEBRA_SHOW_WARNINGS = _IMP_core.IMPALGEBRA_SHOW_WARNINGS
387 _IMP_core.IMP_DISPLAY_HAS_IMP_CGAL_swigconstant(_IMP_core)
388 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_core.IMP_DISPLAY_HAS_IMP_CGAL
390 _IMP_core.IMP_DISPLAY_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_core)
391 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
393 _IMP_core.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_core)
394 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
396 _IMP_core.IMP_DISPLAY_HAS_BOOST_RANDOM_swigconstant(_IMP_core)
397 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_core.IMP_DISPLAY_HAS_BOOST_RANDOM
399 _IMP_core.IMP_DISPLAY_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_core)
400 IMP_DISPLAY_HAS_BOOST_SERIALIZATION = _IMP_core.IMP_DISPLAY_HAS_BOOST_SERIALIZATION
402 _IMP_core.IMP_DISPLAY_HAS_BOOST_SYSTEM_swigconstant(_IMP_core)
403 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_core.IMP_DISPLAY_HAS_BOOST_SYSTEM
405 _IMP_core.IMP_DISPLAY_HAS_CGAL_swigconstant(_IMP_core)
406 IMP_DISPLAY_HAS_CGAL = _IMP_core.IMP_DISPLAY_HAS_CGAL
408 _IMP_core.IMP_DISPLAY_HAS_NUMPY_swigconstant(_IMP_core)
409 IMP_DISPLAY_HAS_NUMPY = _IMP_core.IMP_DISPLAY_HAS_NUMPY
411 _IMP_core.IMPDISPLAY_SHOW_WARNINGS_swigconstant(_IMP_core)
412 IMPDISPLAY_SHOW_WARNINGS = _IMP_core.IMPDISPLAY_SHOW_WARNINGS
415 _IMP_core.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL_swigconstant(_IMP_core)
416 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_core.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
418 _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_core)
419 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
421 _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_core)
422 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
424 _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM_swigconstant(_IMP_core)
425 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
427 _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_core)
428 IMP_SCORE_FUNCTOR_HAS_BOOST_SERIALIZATION = _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_SERIALIZATION
430 _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM_swigconstant(_IMP_core)
431 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
433 _IMP_core.IMP_SCORE_FUNCTOR_HAS_CGAL_swigconstant(_IMP_core)
434 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_core.IMP_SCORE_FUNCTOR_HAS_CGAL
436 _IMP_core.IMP_SCORE_FUNCTOR_HAS_HDF5_swigconstant(_IMP_core)
437 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_core.IMP_SCORE_FUNCTOR_HAS_HDF5
439 _IMP_core.IMP_SCORE_FUNCTOR_HAS_NUMPY_swigconstant(_IMP_core)
440 IMP_SCORE_FUNCTOR_HAS_NUMPY = _IMP_core.IMP_SCORE_FUNCTOR_HAS_NUMPY
442 _IMP_core.IMPSCOREFUNCTOR_SHOW_WARNINGS_swigconstant(_IMP_core)
443 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_core.IMPSCOREFUNCTOR_SHOW_WARNINGS
446 _IMP_core.IMP_CORE_HAS_IMP_CGAL_swigconstant(_IMP_core)
447 IMP_CORE_HAS_IMP_CGAL = _IMP_core.IMP_CORE_HAS_IMP_CGAL
449 _IMP_core.IMP_CORE_HAS_IMP_KERNEL_swigconstant(_IMP_core)
450 IMP_CORE_HAS_IMP_KERNEL = _IMP_core.IMP_CORE_HAS_IMP_KERNEL
452 _IMP_core.IMP_CORE_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_core)
453 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_CORE_HAS_BOOST_FILESYSTEM
455 _IMP_core.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_core)
456 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
458 _IMP_core.IMP_CORE_HAS_BOOST_RANDOM_swigconstant(_IMP_core)
459 IMP_CORE_HAS_BOOST_RANDOM = _IMP_core.IMP_CORE_HAS_BOOST_RANDOM
461 _IMP_core.IMP_CORE_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_core)
462 IMP_CORE_HAS_BOOST_SERIALIZATION = _IMP_core.IMP_CORE_HAS_BOOST_SERIALIZATION
464 _IMP_core.IMP_CORE_HAS_BOOST_SYSTEM_swigconstant(_IMP_core)
465 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_core.IMP_CORE_HAS_BOOST_SYSTEM
467 _IMP_core.IMP_CORE_HAS_CGAL_swigconstant(_IMP_core)
468 IMP_CORE_HAS_CGAL = _IMP_core.IMP_CORE_HAS_CGAL
470 _IMP_core.IMP_CORE_HAS_HDF5_swigconstant(_IMP_core)
471 IMP_CORE_HAS_HDF5 = _IMP_core.IMP_CORE_HAS_HDF5
473 _IMP_core.IMP_CORE_HAS_NUMPY_swigconstant(_IMP_core)
474 IMP_CORE_HAS_NUMPY = _IMP_core.IMP_CORE_HAS_NUMPY
476 _IMP_core.IMPCORE_SHOW_WARNINGS_swigconstant(_IMP_core)
477 IMPCORE_SHOW_WARNINGS = _IMP_core.IMPCORE_SHOW_WARNINGS
479 """Proxy of C++ IMP::score_functor::ScoreUnaryFunction<(IMP::score_functor::OpenCubicSpline)> class"""
480 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
481 __repr__ = _swig_repr
483 def __init__(self, *args):
485 __init__(IMP::score_functor::ScoreUnaryFunction<(IMP::score_functor::OpenCubicSpline)> self, IMP::score_functor::OpenCubicSpline const & score, std::string name) -> _OpenCubicSplineBase
486 __init__(IMP::score_functor::ScoreUnaryFunction<(IMP::score_functor::OpenCubicSpline)> self, IMP::score_functor::OpenCubicSpline const & score) -> _OpenCubicSplineBase
488 this = _IMP_core.new__OpenCubicSplineBase(*args)
490 self.this.append(this)
494 def get_version_info(self):
495 """get_version_info(_OpenCubicSplineBase self) -> VersionInfo"""
496 return _IMP_core._OpenCubicSplineBase_get_version_info(self)
498 _OpenCubicSplineBase_swigregister = _IMP_core._OpenCubicSplineBase_swigregister
499 _OpenCubicSplineBase_swigregister(_OpenCubicSplineBase)
502 _object_types.append(
"MonteCarloMover")
505 def _object_cast_to_MonteCarloMover(o):
506 """_object_cast_to_MonteCarloMover(Object o) -> MonteCarloMover"""
507 return _IMP_core._object_cast_to_MonteCarloMover(o)
509 MonteCarloMoverResults=list
510 _plural_types.append(
"MonteCarloMoverResults")
511 _value_types.append(
"MonteCarloMoverResult")
514 _object_types.append(
"AngleRestraint")
517 def _object_cast_to_AngleRestraint(o):
518 """_object_cast_to_AngleRestraint(Object o) -> AngleRestraint"""
519 return _IMP_core._object_cast_to_AngleRestraint(o)
521 _object_types.append(
"AngleTripletScore")
524 def _object_cast_to_AngleTripletScore(o):
525 """_object_cast_to_AngleTripletScore(Object o) -> AngleTripletScore"""
526 return _IMP_core._object_cast_to_AngleTripletScore(o)
528 _object_types.append(
"AttributeSingletonScore")
531 def _object_cast_to_AttributeSingletonScore(o):
532 """_object_cast_to_AttributeSingletonScore(Object o) -> AttributeSingletonScore"""
533 return _IMP_core._object_cast_to_AttributeSingletonScore(o)
535 _object_types.append(
"BallMover")
538 def _object_cast_to_BallMover(o):
539 """_object_cast_to_BallMover(Object o) -> BallMover"""
540 return _IMP_core._object_cast_to_BallMover(o)
542 _object_types.append(
"SerialMover")
545 def _object_cast_to_SerialMover(o):
546 """_object_cast_to_SerialMover(Object o) -> SerialMover"""
547 return _IMP_core._object_cast_to_SerialMover(o)
549 _object_types.append(
"SubsetMover")
552 def _object_cast_to_SubsetMover(o):
553 """_object_cast_to_SubsetMover(Object o) -> SubsetMover"""
554 return _IMP_core._object_cast_to_SubsetMover(o)
556 _object_types.append(
"DirectionMover")
559 def _object_cast_to_DirectionMover(o):
560 """_object_cast_to_DirectionMover(Object o) -> DirectionMover"""
561 return _IMP_core._object_cast_to_DirectionMover(o)
563 _object_types.append(
"SurfaceMover")
566 def _object_cast_to_SurfaceMover(o):
567 """_object_cast_to_SurfaceMover(Object o) -> SurfaceMover"""
568 return _IMP_core._object_cast_to_SurfaceMover(o)
570 _object_types.append(
"BoundingBox3DSingletonScore")
573 def _object_cast_to_BoundingBox3DSingletonScore(o):
574 """_object_cast_to_BoundingBox3DSingletonScore(Object o) -> BoundingBox3DSingletonScore"""
575 return _IMP_core._object_cast_to_BoundingBox3DSingletonScore(o)
577 _object_types.append(
"BoundingSphere3DSingletonScore")
580 def _object_cast_to_BoundingSphere3DSingletonScore(o):
581 """_object_cast_to_BoundingSphere3DSingletonScore(Object o) -> BoundingSphere3DSingletonScore"""
582 return _IMP_core._object_cast_to_BoundingSphere3DSingletonScore(o)
584 _object_types.append(
"BoxSweepClosePairsFinder")
587 def _object_cast_to_BoxSweepClosePairsFinder(o):
588 """_object_cast_to_BoxSweepClosePairsFinder(Object o) -> BoxSweepClosePairsFinder"""
589 return _IMP_core._object_cast_to_BoxSweepClosePairsFinder(o)
591 _object_types.append(
"NearestNeighborsClosePairsFinder")
594 def _object_cast_to_NearestNeighborsClosePairsFinder(o):
595 """_object_cast_to_NearestNeighborsClosePairsFinder(Object o) -> NearestNeighborsClosePairsFinder"""
596 return _IMP_core._object_cast_to_NearestNeighborsClosePairsFinder(o)
598 _object_types.append(
"CentroidOfRefined")
601 def _object_cast_to_CentroidOfRefined(o):
602 """_object_cast_to_CentroidOfRefined(Object o) -> CentroidOfRefined"""
603 return _IMP_core._object_cast_to_CentroidOfRefined(o)
605 _object_types.append(
"ChecksScoreState")
608 def _object_cast_to_ChecksScoreState(o):
609 """_object_cast_to_ChecksScoreState(Object o) -> ChecksScoreState"""
610 return _IMP_core._object_cast_to_ChecksScoreState(o)
612 _object_types.append(
"ChildrenRefiner")
615 def _object_cast_to_ChildrenRefiner(o):
616 """_object_cast_to_ChildrenRefiner(Object o) -> ChildrenRefiner"""
617 return _IMP_core._object_cast_to_ChildrenRefiner(o)
619 _object_types.append(
"ClosePairsFinder")
622 def _object_cast_to_ClosePairsFinder(o):
623 """_object_cast_to_ClosePairsFinder(Object o) -> ClosePairsFinder"""
624 return _IMP_core._object_cast_to_ClosePairsFinder(o)
626 _object_types.append(
"ClosePairsPairScore")
629 def _object_cast_to_ClosePairsPairScore(o):
630 """_object_cast_to_ClosePairsPairScore(Object o) -> ClosePairsPairScore"""
631 return _IMP_core._object_cast_to_ClosePairsPairScore(o)
633 _object_types.append(
"ClosedCubicSpline")
636 def _object_cast_to_ClosedCubicSpline(o):
637 """_object_cast_to_ClosedCubicSpline(Object o) -> ClosedCubicSpline"""
638 return _IMP_core._object_cast_to_ClosedCubicSpline(o)
640 _object_types.append(
"ConjugateGradients")
643 def _object_cast_to_ConjugateGradients(o):
644 """_object_cast_to_ConjugateGradients(Object o) -> ConjugateGradients"""
645 return _IMP_core._object_cast_to_ConjugateGradients(o)
647 _object_types.append(
"ConnectivityRestraint")
650 def _object_cast_to_ConnectivityRestraint(o):
651 """_object_cast_to_ConnectivityRestraint(Object o) -> ConnectivityRestraint"""
652 return _IMP_core._object_cast_to_ConnectivityRestraint(o)
654 _object_types.append(
"ConstantRestraint")
657 def _object_cast_to_ConstantRestraint(o):
658 """_object_cast_to_ConstantRestraint(Object o) -> ConstantRestraint"""
659 return _IMP_core._object_cast_to_ConstantRestraint(o)
661 _object_types.append(
"Cosine")
664 def _object_cast_to_Cosine(o):
665 """_object_cast_to_Cosine(Object o) -> Cosine"""
666 return _IMP_core._object_cast_to_Cosine(o)
668 _object_types.append(
"CoverRefined")
671 def _object_cast_to_CoverRefined(o):
672 """_object_cast_to_CoverRefined(Object o) -> CoverRefined"""
673 return _IMP_core._object_cast_to_CoverRefined(o)
675 _object_types.append(
"DerivativesFromRefined")
678 def _object_cast_to_DerivativesFromRefined(o):
679 """_object_cast_to_DerivativesFromRefined(Object o) -> DerivativesFromRefined"""
680 return _IMP_core._object_cast_to_DerivativesFromRefined(o)
682 _object_types.append(
"DerivativesToRefined")
685 def _object_cast_to_DerivativesToRefined(o):
686 """_object_cast_to_DerivativesToRefined(Object o) -> DerivativesToRefined"""
687 return _IMP_core._object_cast_to_DerivativesToRefined(o)
689 _object_types.append(
"WeightedDerivativesToRefined")
692 def _object_cast_to_WeightedDerivativesToRefined(o):
693 """_object_cast_to_WeightedDerivativesToRefined(Object o) -> IMP::core::WeightedDerivativesToRefined *"""
694 return _IMP_core._object_cast_to_WeightedDerivativesToRefined(o)
696 _object_types.append(
"DiameterRestraint")
699 def _object_cast_to_DiameterRestraint(o):
700 """_object_cast_to_DiameterRestraint(Object o) -> DiameterRestraint"""
701 return _IMP_core._object_cast_to_DiameterRestraint(o)
703 _object_types.append(
"DihedralRestraint")
706 def _object_cast_to_DihedralRestraint(o):
707 """_object_cast_to_DihedralRestraint(Object o) -> DihedralRestraint"""
708 return _IMP_core._object_cast_to_DihedralRestraint(o)
710 _object_types.append(
"DistanceRestraint")
713 def _object_cast_to_DistanceRestraint(o):
714 """_object_cast_to_DistanceRestraint(Object o) -> DistanceRestraint"""
715 return _IMP_core._object_cast_to_DistanceRestraint(o)
717 _object_types.append(
"DistanceToSingletonScore")
720 def _object_cast_to_DistanceToSingletonScore(o):
721 """_object_cast_to_DistanceToSingletonScore(Object o) -> DistanceToSingletonScore"""
722 return _IMP_core._object_cast_to_DistanceToSingletonScore(o)
724 _object_types.append(
"ExcludedVolumeRestraint")
727 def _object_cast_to_ExcludedVolumeRestraint(o):
728 """_object_cast_to_ExcludedVolumeRestraint(Object o) -> ExcludedVolumeRestraint"""
729 return _IMP_core._object_cast_to_ExcludedVolumeRestraint(o)
731 _object_types.append(
"FixedRefiner")
734 def _object_cast_to_FixedRefiner(o):
735 """_object_cast_to_FixedRefiner(Object o) -> FixedRefiner"""
736 return _IMP_core._object_cast_to_FixedRefiner(o)
738 _object_types.append(
"GridClosePairsFinder")
741 def _object_cast_to_GridClosePairsFinder(o):
742 """_object_cast_to_GridClosePairsFinder(Object o) -> GridClosePairsFinder"""
743 return _IMP_core._object_cast_to_GridClosePairsFinder(o)
745 _object_types.append(
"Harmonic")
748 def _object_cast_to_Harmonic(o):
749 """_object_cast_to_Harmonic(Object o) -> Harmonic"""
750 return _IMP_core._object_cast_to_Harmonic(o)
752 _object_types.append(
"HarmonicWell")
755 def _object_cast_to_HarmonicWell(o):
756 """_object_cast_to_HarmonicWell(Object o) -> HarmonicWell"""
757 return _IMP_core._object_cast_to_HarmonicWell(o)
759 _object_types.append(
"HarmonicLowerBound")
762 def _object_cast_to_HarmonicLowerBound(o):
763 """_object_cast_to_HarmonicLowerBound(Object o) -> HarmonicLowerBound"""
764 return _IMP_core._object_cast_to_HarmonicLowerBound(o)
766 _object_types.append(
"HarmonicUpperBound")
769 def _object_cast_to_HarmonicUpperBound(o):
770 """_object_cast_to_HarmonicUpperBound(Object o) -> HarmonicUpperBound"""
771 return _IMP_core._object_cast_to_HarmonicUpperBound(o)
773 _object_types.append(
"HarmonicSphereDistancePairScore")
776 def _object_cast_to_HarmonicSphereDistancePairScore(o):
777 """_object_cast_to_HarmonicSphereDistancePairScore(Object o) -> HarmonicSphereDistancePairScore"""
778 return _IMP_core._object_cast_to_HarmonicSphereDistancePairScore(o)
780 _object_types.append(
"HarmonicUpperBoundSphereDistancePairScore")
783 def _object_cast_to_HarmonicUpperBoundSphereDistancePairScore(o):
784 """_object_cast_to_HarmonicUpperBoundSphereDistancePairScore(Object o) -> HarmonicUpperBoundSphereDistancePairScore"""
785 return _IMP_core._object_cast_to_HarmonicUpperBoundSphereDistancePairScore(o)
787 _object_types.append(
"HarmonicUpperBoundSphereDiameterPairScore")
790 def _object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(o):
791 """_object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(Object o) -> HarmonicUpperBoundSphereDiameterPairScore"""
792 return _IMP_core._object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(o)
794 _object_types.append(
"HarmonicSurfaceDistancePairScore")
797 def _object_cast_to_HarmonicSurfaceDistancePairScore(o):
798 """_object_cast_to_HarmonicSurfaceDistancePairScore(Object o) -> HarmonicSurfaceDistancePairScore"""
799 return _IMP_core._object_cast_to_HarmonicSurfaceDistancePairScore(o)
801 _object_types.append(
"HarmonicSurfaceHeightPairScore")
804 def _object_cast_to_HarmonicSurfaceHeightPairScore(o):
805 """_object_cast_to_HarmonicSurfaceHeightPairScore(Object o) -> HarmonicSurfaceHeightPairScore"""
806 return _IMP_core._object_cast_to_HarmonicSurfaceHeightPairScore(o)
808 _object_types.append(
"HarmonicSurfaceDepthPairScore")
811 def _object_cast_to_HarmonicSurfaceDepthPairScore(o):
812 """_object_cast_to_HarmonicSurfaceDepthPairScore(Object o) -> HarmonicSurfaceDepthPairScore"""
813 return _IMP_core._object_cast_to_HarmonicSurfaceDepthPairScore(o)
815 _object_types.append(
"WeightedSum")
818 def _object_cast_to_WeightedSum(o):
819 """_object_cast_to_WeightedSum(Object o) -> WeightedSum"""
820 return _IMP_core._object_cast_to_WeightedSum(o)
822 _object_types.append(
"WeightedSumOfExponential")
825 def _object_cast_to_WeightedSumOfExponential(o):
826 """_object_cast_to_WeightedSumOfExponential(Object o) -> WeightedSumOfExponential"""
827 return _IMP_core._object_cast_to_WeightedSumOfExponential(o)
829 _object_types.append(
"IncrementalScoringFunction")
832 def _object_cast_to_IncrementalScoringFunction(o):
833 """_object_cast_to_IncrementalScoringFunction(Object o) -> IncrementalScoringFunction"""
834 return _IMP_core._object_cast_to_IncrementalScoringFunction(o)
836 _object_types.append(
"KClosePairsPairScore")
839 def _object_cast_to_KClosePairsPairScore(o):
840 """_object_cast_to_KClosePairsPairScore(Object o) -> KClosePairsPairScore"""
841 return _IMP_core._object_cast_to_KClosePairsPairScore(o)
843 _object_types.append(
"LeavesRefiner")
846 def _object_cast_to_LeavesRefiner(o):
847 """_object_cast_to_LeavesRefiner(Object o) -> LeavesRefiner"""
848 return _IMP_core._object_cast_to_LeavesRefiner(o)
850 _object_types.append(
"Linear")
853 def _object_cast_to_Linear(o):
854 """_object_cast_to_Linear(Object o) -> Linear"""
855 return _IMP_core._object_cast_to_Linear(o)
857 _object_types.append(
"LogNormalMover")
860 def _object_cast_to_LogNormalMover(o):
861 """_object_cast_to_LogNormalMover(Object o) -> LogNormalMover"""
862 return _IMP_core._object_cast_to_LogNormalMover(o)
864 _object_types.append(
"MCCGSampler")
867 def _object_cast_to_MCCGSampler(o):
868 """_object_cast_to_MCCGSampler(Object o) -> MCCGSampler"""
869 return _IMP_core._object_cast_to_MCCGSampler(o)
871 _object_types.append(
"MonteCarlo")
874 def _object_cast_to_MonteCarlo(o):
875 """_object_cast_to_MonteCarlo(Object o) -> MonteCarlo"""
876 return _IMP_core._object_cast_to_MonteCarlo(o)
878 _object_types.append(
"MonteCarloWithLocalOptimization")
881 def _object_cast_to_MonteCarloWithLocalOptimization(o):
882 """_object_cast_to_MonteCarloWithLocalOptimization(Object o) -> MonteCarloWithLocalOptimization"""
883 return _IMP_core._object_cast_to_MonteCarloWithLocalOptimization(o)
885 _object_types.append(
"MonteCarloWithBasinHopping")
888 def _object_cast_to_MonteCarloWithBasinHopping(o):
889 """_object_cast_to_MonteCarloWithBasinHopping(Object o) -> MonteCarloWithBasinHopping"""
890 return _IMP_core._object_cast_to_MonteCarloWithBasinHopping(o)
892 _object_types.append(
"MSConnectivityRestraint")
895 def _object_cast_to_MSConnectivityRestraint(o):
896 """_object_cast_to_MSConnectivityRestraint(Object o) -> MSConnectivityRestraint"""
897 return _IMP_core._object_cast_to_MSConnectivityRestraint(o)
899 _object_types.append(
"NeighborsTable")
902 def _object_cast_to_NeighborsTable(o):
903 """_object_cast_to_NeighborsTable(Object o) -> NeighborsTable"""
904 return _IMP_core._object_cast_to_NeighborsTable(o)
906 _object_types.append(
"NormalMover")
909 def _object_cast_to_NormalMover(o):
910 """_object_cast_to_NormalMover(Object o) -> NormalMover"""
911 return _IMP_core._object_cast_to_NormalMover(o)
913 _object_types.append(
"NormalizedSphereDistancePairScore")
916 def _object_cast_to_NormalizedSphereDistancePairScore(o):
917 """_object_cast_to_NormalizedSphereDistancePairScore(Object o) -> NormalizedSphereDistancePairScore"""
918 return _IMP_core._object_cast_to_NormalizedSphereDistancePairScore(o)
920 _object_types.append(
"OpenCubicSpline")
923 def _object_cast_to_OpenCubicSpline(o):
924 """_object_cast_to_OpenCubicSpline(Object o) -> OpenCubicSpline"""
925 return _IMP_core._object_cast_to_OpenCubicSpline(o)
927 _object_types.append(
"PairConstraint")
930 def _object_cast_to_PairConstraint(o):
931 """_object_cast_to_PairConstraint(Object o) -> PairConstraint"""
932 return _IMP_core._object_cast_to_PairConstraint(o)
934 _object_types.append(
"PairRestraint")
937 def _object_cast_to_PairRestraint(o):
938 """_object_cast_to_PairRestraint(Object o) -> PairRestraint"""
939 return _IMP_core._object_cast_to_PairRestraint(o)
941 _object_types.append(
"QuadConstraint")
944 def _object_cast_to_QuadConstraint(o):
945 """_object_cast_to_QuadConstraint(Object o) -> QuadConstraint"""
946 return _IMP_core._object_cast_to_QuadConstraint(o)
948 _object_types.append(
"QuadRestraint")
951 def _object_cast_to_QuadRestraint(o):
952 """_object_cast_to_QuadRestraint(Object o) -> QuadRestraint"""
953 return _IMP_core._object_cast_to_QuadRestraint(o)
955 _object_types.append(
"QuadraticClosePairsFinder")
958 def _object_cast_to_QuadraticClosePairsFinder(o):
959 """_object_cast_to_QuadraticClosePairsFinder(Object o) -> QuadraticClosePairsFinder"""
960 return _IMP_core._object_cast_to_QuadraticClosePairsFinder(o)
962 _object_types.append(
"RefinedPairsPairScore")
965 def _object_cast_to_RefinedPairsPairScore(o):
966 """_object_cast_to_RefinedPairsPairScore(Object o) -> RefinedPairsPairScore"""
967 return _IMP_core._object_cast_to_RefinedPairsPairScore(o)
969 _object_types.append(
"RestraintsScoringFunction")
972 def _object_cast_to_RestraintsScoringFunction(o):
973 """_object_cast_to_RestraintsScoringFunction(Object o) -> RestraintsScoringFunction"""
974 return _IMP_core._object_cast_to_RestraintsScoringFunction(o)
976 _object_types.append(
"RigidBodyDistancePairScore")
979 def _object_cast_to_RigidBodyDistancePairScore(o):
980 """_object_cast_to_RigidBodyDistancePairScore(Object o) -> RigidBodyDistancePairScore"""
981 return _IMP_core._object_cast_to_RigidBodyDistancePairScore(o)
983 _object_types.append(
"RigidBodyAnglePairScore")
986 def _object_cast_to_RigidBodyAnglePairScore(o):
987 """_object_cast_to_RigidBodyAnglePairScore(Object o) -> RigidBodyAnglePairScore"""
988 return _IMP_core._object_cast_to_RigidBodyAnglePairScore(o)
990 _object_types.append(
"RigidBodyMover")
993 def _object_cast_to_RigidBodyMover(o):
994 """_object_cast_to_RigidBodyMover(Object o) -> RigidBodyMover"""
995 return _IMP_core._object_cast_to_RigidBodyMover(o)
997 _object_types.append(
"RigidBodyTunneler")
1000 def _object_cast_to_RigidBodyTunneler(o):
1001 """_object_cast_to_RigidBodyTunneler(Object o) -> RigidBodyTunneler"""
1002 return _IMP_core._object_cast_to_RigidBodyTunneler(o)
1004 _object_types.append(
"RigidBodyUmbrella")
1007 def _object_cast_to_RigidBodyUmbrella(o):
1008 """_object_cast_to_RigidBodyUmbrella(Object o) -> RigidBodyUmbrella"""
1009 return _IMP_core._object_cast_to_RigidBodyUmbrella(o)
1011 _object_types.append(
"RigidClosePairsFinder")
1014 def _object_cast_to_RigidClosePairsFinder(o):
1015 """_object_cast_to_RigidClosePairsFinder(Object o) -> RigidClosePairsFinder"""
1016 return _IMP_core._object_cast_to_RigidClosePairsFinder(o)
1018 _object_types.append(
"RigidMembersRefiner")
1021 def _object_cast_to_RigidMembersRefiner(o):
1022 """_object_cast_to_RigidMembersRefiner(Object o) -> RigidMembersRefiner"""
1023 return _IMP_core._object_cast_to_RigidMembersRefiner(o)
1025 _object_types.append(
"SingletonConstraint")
1028 def _object_cast_to_SingletonConstraint(o):
1029 """_object_cast_to_SingletonConstraint(Object o) -> SingletonConstraint"""
1030 return _IMP_core._object_cast_to_SingletonConstraint(o)
1032 _object_types.append(
"SingletonRestraint")
1035 def _object_cast_to_SingletonRestraint(o):
1036 """_object_cast_to_SingletonRestraint(Object o) -> SingletonRestraint"""
1037 return _IMP_core._object_cast_to_SingletonRestraint(o)
1039 _object_types.append(
"SoftSpherePairScore")
1042 def _object_cast_to_SoftSpherePairScore(o):
1043 """_object_cast_to_SoftSpherePairScore(Object o) -> SoftSpherePairScore"""
1044 return _IMP_core._object_cast_to_SoftSpherePairScore(o)
1046 _object_types.append(
"SphereDistancePairScore")
1049 def _object_cast_to_SphereDistancePairScore(o):
1050 """_object_cast_to_SphereDistancePairScore(Object o) -> SphereDistancePairScore"""
1051 return _IMP_core._object_cast_to_SphereDistancePairScore(o)
1053 _object_types.append(
"SphereDistanceToSingletonScore")
1056 def _object_cast_to_SphereDistanceToSingletonScore(o):
1057 """_object_cast_to_SphereDistanceToSingletonScore(Object o) -> SphereDistanceToSingletonScore"""
1058 return _IMP_core._object_cast_to_SphereDistanceToSingletonScore(o)
1060 _object_types.append(
"SoftSubSurfacePairScore")
1063 def _object_cast_to_SoftSubSurfacePairScore(o):
1064 """_object_cast_to_SoftSubSurfacePairScore(Object o) -> SoftSubSurfacePairScore"""
1065 return _IMP_core._object_cast_to_SoftSubSurfacePairScore(o)
1067 _object_types.append(
"SoftSuperSurfacePairScore")
1070 def _object_cast_to_SoftSuperSurfacePairScore(o):
1071 """_object_cast_to_SoftSuperSurfacePairScore(Object o) -> SoftSuperSurfacePairScore"""
1072 return _IMP_core._object_cast_to_SoftSuperSurfacePairScore(o)
1074 _object_types.append(
"SurfaceDistancePairScore")
1077 def _object_cast_to_SurfaceDistancePairScore(o):
1078 """_object_cast_to_SurfaceDistancePairScore(Object o) -> SurfaceDistancePairScore"""
1079 return _IMP_core._object_cast_to_SurfaceDistancePairScore(o)
1081 _object_types.append(
"SurfaceHeightPairScore")
1084 def _object_cast_to_SurfaceHeightPairScore(o):
1085 """_object_cast_to_SurfaceHeightPairScore(Object o) -> SurfaceHeightPairScore"""
1086 return _IMP_core._object_cast_to_SurfaceHeightPairScore(o)
1088 _object_types.append(
"SurfaceDepthPairScore")
1091 def _object_cast_to_SurfaceDepthPairScore(o):
1092 """_object_cast_to_SurfaceDepthPairScore(Object o) -> SurfaceDepthPairScore"""
1093 return _IMP_core._object_cast_to_SurfaceDepthPairScore(o)
1095 _object_types.append(
"SurfaceTetheredChain")
1098 def _object_cast_to_SurfaceTetheredChain(o):
1099 """_object_cast_to_SurfaceTetheredChain(Object o) -> SurfaceTetheredChain"""
1100 return _IMP_core._object_cast_to_SurfaceTetheredChain(o)
1102 _object_types.append(
"SurfaceSymmetryConstraint")
1105 def _object_cast_to_SurfaceSymmetryConstraint(o):
1106 """_object_cast_to_SurfaceSymmetryConstraint(Object o) -> SurfaceSymmetryConstraint"""
1107 return _IMP_core._object_cast_to_SurfaceSymmetryConstraint(o)
1109 _object_types.append(
"SteepestDescent")
1112 def _object_cast_to_SteepestDescent(o):
1113 """_object_cast_to_SteepestDescent(Object o) -> SteepestDescent"""
1114 return _IMP_core._object_cast_to_SteepestDescent(o)
1116 _object_types.append(
"TableRefiner")
1119 def _object_cast_to_TableRefiner(o):
1120 """_object_cast_to_TableRefiner(Object o) -> TableRefiner"""
1121 return _IMP_core._object_cast_to_TableRefiner(o)
1123 _object_types.append(
"Transform")
1126 def _object_cast_to_Transform(o):
1127 """_object_cast_to_Transform(Object o) -> Transform"""
1128 return _IMP_core._object_cast_to_Transform(o)
1130 _object_types.append(
"TransformationAndReflectionSymmetry")
1133 def _object_cast_to_TransformationAndReflectionSymmetry(o):
1134 """_object_cast_to_TransformationAndReflectionSymmetry(Object o) -> TransformationAndReflectionSymmetry"""
1135 return _IMP_core._object_cast_to_TransformationAndReflectionSymmetry(o)
1137 _object_types.append(
"TransformationSymmetry")
1140 def _object_cast_to_TransformationSymmetry(o):
1141 """_object_cast_to_TransformationSymmetry(Object o) -> TransformationSymmetry"""
1142 return _IMP_core._object_cast_to_TransformationSymmetry(o)
1144 _object_types.append(
"TransformationSymmetryMover")
1147 def _object_cast_to_TransformationSymmetryMover(o):
1148 """_object_cast_to_TransformationSymmetryMover(Object o) -> TransformationSymmetryMover"""
1149 return _IMP_core._object_cast_to_TransformationSymmetryMover(o)
1151 _object_types.append(
"TransformedDistancePairScore")
1154 def _object_cast_to_TransformedDistancePairScore(o):
1155 """_object_cast_to_TransformedDistancePairScore(Object o) -> TransformedDistancePairScore"""
1156 return _IMP_core._object_cast_to_TransformedDistancePairScore(o)
1158 _object_types.append(
"TripletConstraint")
1161 def _object_cast_to_TripletConstraint(o):
1162 """_object_cast_to_TripletConstraint(Object o) -> TripletConstraint"""
1163 return _IMP_core._object_cast_to_TripletConstraint(o)
1165 _object_types.append(
"TripletRestraint")
1168 def _object_cast_to_TripletRestraint(o):
1169 """_object_cast_to_TripletRestraint(Object o) -> TripletRestraint"""
1170 return _IMP_core._object_cast_to_TripletRestraint(o)
1172 _object_types.append(
"TypedPairScore")
1175 def _object_cast_to_TypedPairScore(o):
1176 """_object_cast_to_TypedPairScore(Object o) -> TypedPairScore"""
1177 return _IMP_core._object_cast_to_TypedPairScore(o)
1179 _object_types.append(
"VolumeRestraint")
1182 def _object_cast_to_VolumeRestraint(o):
1183 """_object_cast_to_VolumeRestraint(Object o) -> VolumeRestraint"""
1184 return _IMP_core._object_cast_to_VolumeRestraint(o)
1186 _object_types.append(
"WeightedSphereDistancePairScore")
1189 def _object_cast_to_WeightedSphereDistancePairScore(o):
1190 """_object_cast_to_WeightedSphereDistancePairScore(Object o) -> WeightedSphereDistancePairScore"""
1191 return _IMP_core._object_cast_to_WeightedSphereDistancePairScore(o)
1193 _object_types.append(
"MoveStatisticsScoreState")
1196 def _object_cast_to_MoveStatisticsScoreState(o):
1197 """_object_cast_to_MoveStatisticsScoreState(Object o) -> MoveStatisticsScoreState"""
1198 return _IMP_core._object_cast_to_MoveStatisticsScoreState(o)
1200 _object_types.append(
"MinimumRestraint")
1203 def _object_cast_to_MinimumRestraint(o):
1204 """_object_cast_to_MinimumRestraint(Object o) -> MinimumRestraint"""
1205 return _IMP_core._object_cast_to_MinimumRestraint(o)
1207 _object_types.append(
"WriteRestraintScoresOptimizerState")
1210 def _object_cast_to_WriteRestraintScoresOptimizerState(o):
1211 """_object_cast_to_WriteRestraintScoresOptimizerState(Object o) -> WriteRestraintScoresOptimizerState"""
1212 return _IMP_core._object_cast_to_WriteRestraintScoresOptimizerState(o)
1214 _object_types.append(
"LateralSurfaceConstraint")
1217 def _object_cast_to_LateralSurfaceConstraint(o):
1218 """_object_cast_to_LateralSurfaceConstraint(Object o) -> LateralSurfaceConstraint"""
1219 return _IMP_core._object_cast_to_LateralSurfaceConstraint(o)
1221 _object_types.append(
"ConstantSingletonPredicate")
1224 def _object_cast_to_ConstantSingletonPredicate(o):
1225 """_object_cast_to_ConstantSingletonPredicate(Object o) -> ConstantSingletonPredicate"""
1226 return _IMP_core._object_cast_to_ConstantSingletonPredicate(o)
1228 _object_types.append(
"ConstantPairPredicate")
1231 def _object_cast_to_ConstantPairPredicate(o):
1232 """_object_cast_to_ConstantPairPredicate(Object o) -> ConstantPairPredicate"""
1233 return _IMP_core._object_cast_to_ConstantPairPredicate(o)
1235 _object_types.append(
"ConstantTripletPredicate")
1238 def _object_cast_to_ConstantTripletPredicate(o):
1239 """_object_cast_to_ConstantTripletPredicate(Object o) -> ConstantTripletPredicate"""
1240 return _IMP_core._object_cast_to_ConstantTripletPredicate(o)
1242 _object_types.append(
"ConstantQuadPredicate")
1245 def _object_cast_to_ConstantQuadPredicate(o):
1246 """_object_cast_to_ConstantQuadPredicate(Object o) -> ConstantQuadPredicate"""
1247 return _IMP_core._object_cast_to_ConstantQuadPredicate(o)
1249 _object_types.append(
"CoinFlipSingletonPredicate")
1252 def _object_cast_to_CoinFlipSingletonPredicate(o):
1253 """_object_cast_to_CoinFlipSingletonPredicate(Object o) -> CoinFlipSingletonPredicate"""
1254 return _IMP_core._object_cast_to_CoinFlipSingletonPredicate(o)
1256 _object_types.append(
"CoinFlipPairPredicate")
1259 def _object_cast_to_CoinFlipPairPredicate(o):
1260 """_object_cast_to_CoinFlipPairPredicate(Object o) -> CoinFlipPairPredicate"""
1261 return _IMP_core._object_cast_to_CoinFlipPairPredicate(o)
1263 _object_types.append(
"CoinFlipTripletPredicate")
1266 def _object_cast_to_CoinFlipTripletPredicate(o):
1267 """_object_cast_to_CoinFlipTripletPredicate(Object o) -> CoinFlipTripletPredicate"""
1268 return _IMP_core._object_cast_to_CoinFlipTripletPredicate(o)
1270 _object_types.append(
"CoinFlipQuadPredicate")
1273 def _object_cast_to_CoinFlipQuadPredicate(o):
1274 """_object_cast_to_CoinFlipQuadPredicate(Object o) -> CoinFlipQuadPredicate"""
1275 return _IMP_core._object_cast_to_CoinFlipQuadPredicate(o)
1277 _object_types.append(
"UnorderedTypeSingletonPredicate")
1280 def _object_cast_to_UnorderedTypeSingletonPredicate(o):
1281 """_object_cast_to_UnorderedTypeSingletonPredicate(Object o) -> UnorderedTypeSingletonPredicate"""
1282 return _IMP_core._object_cast_to_UnorderedTypeSingletonPredicate(o)
1284 _object_types.append(
"UnorderedTypePairPredicate")
1287 def _object_cast_to_UnorderedTypePairPredicate(o):
1288 """_object_cast_to_UnorderedTypePairPredicate(Object o) -> UnorderedTypePairPredicate"""
1289 return _IMP_core._object_cast_to_UnorderedTypePairPredicate(o)
1291 _object_types.append(
"UnorderedTypeTripletPredicate")
1294 def _object_cast_to_UnorderedTypeTripletPredicate(o):
1295 """_object_cast_to_UnorderedTypeTripletPredicate(Object o) -> UnorderedTypeTripletPredicate"""
1296 return _IMP_core._object_cast_to_UnorderedTypeTripletPredicate(o)
1298 _object_types.append(
"UnorderedTypeQuadPredicate")
1301 def _object_cast_to_UnorderedTypeQuadPredicate(o):
1302 """_object_cast_to_UnorderedTypeQuadPredicate(Object o) -> UnorderedTypeQuadPredicate"""
1303 return _IMP_core._object_cast_to_UnorderedTypeQuadPredicate(o)
1305 _object_types.append(
"OrderedTypeSingletonPredicate")
1308 def _object_cast_to_OrderedTypeSingletonPredicate(o):
1309 """_object_cast_to_OrderedTypeSingletonPredicate(Object o) -> OrderedTypeSingletonPredicate"""
1310 return _IMP_core._object_cast_to_OrderedTypeSingletonPredicate(o)
1312 _object_types.append(
"OrderedTypePairPredicate")
1315 def _object_cast_to_OrderedTypePairPredicate(o):
1316 """_object_cast_to_OrderedTypePairPredicate(Object o) -> OrderedTypePairPredicate"""
1317 return _IMP_core._object_cast_to_OrderedTypePairPredicate(o)
1319 _object_types.append(
"OrderedTypeTripletPredicate")
1322 def _object_cast_to_OrderedTypeTripletPredicate(o):
1323 """_object_cast_to_OrderedTypeTripletPredicate(Object o) -> OrderedTypeTripletPredicate"""
1324 return _IMP_core._object_cast_to_OrderedTypeTripletPredicate(o)
1326 _object_types.append(
"OrderedTypeQuadPredicate")
1329 def _object_cast_to_OrderedTypeQuadPredicate(o):
1330 """_object_cast_to_OrderedTypeQuadPredicate(Object o) -> OrderedTypeQuadPredicate"""
1331 return _IMP_core._object_cast_to_OrderedTypeQuadPredicate(o)
1333 _object_types.append(
"AllSameSingletonPredicate")
1336 def _object_cast_to_AllSameSingletonPredicate(o):
1337 """_object_cast_to_AllSameSingletonPredicate(Object o) -> AllSameSingletonPredicate"""
1338 return _IMP_core._object_cast_to_AllSameSingletonPredicate(o)
1340 _object_types.append(
"AllSamePairPredicate")
1343 def _object_cast_to_AllSamePairPredicate(o):
1344 """_object_cast_to_AllSamePairPredicate(Object o) -> AllSamePairPredicate"""
1345 return _IMP_core._object_cast_to_AllSamePairPredicate(o)
1347 _object_types.append(
"AllSameTripletPredicate")
1350 def _object_cast_to_AllSameTripletPredicate(o):
1351 """_object_cast_to_AllSameTripletPredicate(Object o) -> AllSameTripletPredicate"""
1352 return _IMP_core._object_cast_to_AllSameTripletPredicate(o)
1354 _object_types.append(
"AllSameQuadPredicate")
1357 def _object_cast_to_AllSameQuadPredicate(o):
1358 """_object_cast_to_AllSameQuadPredicate(Object o) -> AllSameQuadPredicate"""
1359 return _IMP_core._object_cast_to_AllSameQuadPredicate(o)
1362 return [XYZ(x)
for x
in l]
1363 _plural_types.append(
"XYZs")
1366 _value_types.append(
"XYZ")
1370 return [XYZR(x)
for x
in l]
1371 _plural_types.append(
"XYZRs")
1374 _value_types.append(
"XYZR")
1377 def RigidBodies(l=[]):
1378 return [RigidBody(x)
for x
in l]
1379 _plural_types.append(
"RigidBodies")
1382 _value_types.append(
"RigidBody")
1385 def RigidBodyMembers(l=[]):
1386 return [RigidBodyMember(x)
for x
in l]
1387 _plural_types.append(
"RigidBodyMembers")
1390 _value_types.append(
"RigidBodyMember")
1393 def RigidMembers(l=[]):
1394 return [RigidMember(x)
for x
in l]
1395 _plural_types.append(
"RigidMembers")
1398 _value_types.append(
"RigidMember")
1401 def NonRigidMembers(l=[]):
1402 return [NonRigidMember(x)
for x
in l]
1403 _plural_types.append(
"NonRigidMembers")
1406 _value_types.append(
"NonRigidMember")
1409 def Centroids(l=[]):
1410 return [Centroid(x)
for x
in l]
1411 _plural_types.append(
"Centroids")
1414 _value_types.append(
"Centroid")
1418 return [Cover(x)
for x
in l]
1419 _plural_types.append(
"Covers")
1422 _value_types.append(
"Cover")
1425 def References(l=[]):
1426 return [Reference(x)
for x
in l]
1427 _plural_types.append(
"References")
1430 _value_types.append(
"Reference")
1434 _plural_types.append(
"ParticleTypes")
1435 _value_types.append(
"ParticleType")
1439 return [Typed(x)
for x
in l]
1440 _plural_types.append(
"Typeds")
1443 _value_types.append(
"Typed")
1446 def GenericHierarchies(l=[]):
1447 return [Hierarchy(x)
for x
in l]
1448 _plural_types.append(
"GenericHierarchies")
1451 _value_types.append(
"Hierarchy")
1454 def Gaussians(l=[]):
1455 return [Gaussian(x)
for x
in l]
1456 _plural_types.append(
"Gaussians")
1459 _value_types.append(
"Gaussian")
1462 def Directions(l=[]):
1463 return [Direction(x)
for x
in l]
1464 _plural_types.append(
"Directions")
1467 _value_types.append(
"Direction")
1470 def DirectionAngles(l=[]):
1471 return [DirectionAngle(x)
for x
in l]
1472 _plural_types.append(
"DirectionAngles")
1475 _value_types.append(
"DirectionAngle")
1479 return [Surface(x)
for x
in l]
1480 _plural_types.append(
"Surfaces")
1483 _value_types.append(
"Surface")
1486 def Provenances(l=[]):
1487 return [Provenance(x)
for x
in l]
1488 _plural_types.append(
"Provenances")
1491 _value_types.append(
"Provenance")
1494 def StructureProvenances(l=[]):
1495 return [StructureProvenance(x)
for x
in l]
1496 _plural_types.append(
"StructureProvenances")
1499 _value_types.append(
"StructureProvenance")
1502 def SampleProvenances(l=[]):
1503 return [SampleProvenance(x)
for x
in l]
1504 _plural_types.append(
"SampleProvenances")
1507 _value_types.append(
"SampleProvenance")
1510 def ClusterProvenances(l=[]):
1511 return [ClusterProvenance(x)
for x
in l]
1512 _plural_types.append(
"ClusterProvenances")
1515 _value_types.append(
"ClusterProvenance")
1518 def CombineProvenances(l=[]):
1519 return [CombineProvenance(x)
for x
in l]
1520 _plural_types.append(
"CombineProvenances")
1523 _value_types.append(
"CombineProvenance")
1526 def FilterProvenances(l=[]):
1527 return [FilterProvenance(x)
for x
in l]
1528 _plural_types.append(
"FilterProvenances")
1531 _value_types.append(
"FilterProvenance")
1534 def ScriptProvenances(l=[]):
1535 return [ScriptProvenance(x)
for x
in l]
1536 _plural_types.append(
"ScriptProvenances")
1539 _value_types.append(
"ScriptProvenance")
1542 def SoftwareProvenances(l=[]):
1543 return [SoftwareProvenance(x)
for x
in l]
1544 _plural_types.append(
"SoftwareProvenances")
1547 _value_types.append(
"SoftwareProvenance")
1550 def Provenanceds(l=[]):
1551 return [Provenanced(x)
for x
in l]
1552 _plural_types.append(
"Provenanceds")
1555 _value_types.append(
"Provenanced")
1558 HierarchyCounters=list
1559 _plural_types.append(
"HierarchyCounters")
1560 _value_types.append(
"HierarchyCounter")
1563 HierarchyTraitsList=list
1564 _plural_types.append(
"HierarchyTraitsList")
1565 _value_types.append(
"HierarchyTraits")
1568 _object_types.append(
"TruncatedHarmonicBound")
1571 def _object_cast_to_TruncatedHarmonicBound(o):
1572 """_object_cast_to_TruncatedHarmonicBound(Object o) -> TruncatedHarmonicBound"""
1573 return _IMP_core._object_cast_to_TruncatedHarmonicBound(o)
1575 _object_types.append(
"TruncatedHarmonicLowerBound")
1578 def _object_cast_to_TruncatedHarmonicLowerBound(o):
1579 """_object_cast_to_TruncatedHarmonicLowerBound(Object o) -> TruncatedHarmonicLowerBound"""
1580 return _IMP_core._object_cast_to_TruncatedHarmonicLowerBound(o)
1582 _object_types.append(
"TruncatedHarmonicUpperBound")
1585 def _object_cast_to_TruncatedHarmonicUpperBound(o):
1586 """_object_cast_to_TruncatedHarmonicUpperBound(Object o) -> TruncatedHarmonicUpperBound"""
1587 return _IMP_core._object_cast_to_TruncatedHarmonicUpperBound(o)
1589 _object_types.append(
"HarmonicDistancePairScore")
1592 def _object_cast_to_HarmonicDistancePairScore(o):
1593 """_object_cast_to_HarmonicDistancePairScore(Object o) -> HarmonicDistancePairScore"""
1594 return _IMP_core._object_cast_to_HarmonicDistancePairScore(o)
1596 _object_types.append(
"DistancePairScore")
1599 def _object_cast_to_DistancePairScore(o):
1600 """_object_cast_to_DistancePairScore(Object o) -> DistancePairScore"""
1601 return _IMP_core._object_cast_to_DistancePairScore(o)
1603 _object_types.append(
"XYZRGeometry")
1606 def _object_cast_to_XYZRGeometry(o):
1607 """_object_cast_to_XYZRGeometry(Object o) -> XYZRGeometry"""
1608 return _IMP_core._object_cast_to_XYZRGeometry(o)
1610 _object_types.append(
"XYZRsGeometry")
1613 def _object_cast_to_XYZRsGeometry(o):
1614 """_object_cast_to_XYZRsGeometry(Object o) -> XYZRsGeometry"""
1615 return _IMP_core._object_cast_to_XYZRsGeometry(o)
1617 _object_types.append(
"XYZDerivativeGeometry")
1620 def _object_cast_to_XYZDerivativeGeometry(o):
1621 """_object_cast_to_XYZDerivativeGeometry(Object o) -> XYZDerivativeGeometry"""
1622 return _IMP_core._object_cast_to_XYZDerivativeGeometry(o)
1624 _object_types.append(
"XYZDerivativesGeometry")
1627 def _object_cast_to_XYZDerivativesGeometry(o):
1628 """_object_cast_to_XYZDerivativesGeometry(Object o) -> XYZDerivativesGeometry"""
1629 return _IMP_core._object_cast_to_XYZDerivativesGeometry(o)
1631 _object_types.append(
"RigidBodyDerivativeGeometry")
1634 def _object_cast_to_RigidBodyDerivativeGeometry(o):
1635 """_object_cast_to_RigidBodyDerivativeGeometry(Object o) -> RigidBodyDerivativeGeometry"""
1636 return _IMP_core._object_cast_to_RigidBodyDerivativeGeometry(o)
1638 _object_types.append(
"RigidBodyDerivativesGeometry")
1641 def _object_cast_to_RigidBodyDerivativesGeometry(o):
1642 """_object_cast_to_RigidBodyDerivativesGeometry(Object o) -> RigidBodyDerivativesGeometry"""
1643 return _IMP_core._object_cast_to_RigidBodyDerivativesGeometry(o)
1645 _object_types.append(
"RigidBodyHierarchyGeometry")
1648 def _object_cast_to_RigidBodyHierarchyGeometry(o):
1649 """_object_cast_to_RigidBodyHierarchyGeometry(Object o) -> RigidBodyHierarchyGeometry"""
1650 return _IMP_core._object_cast_to_RigidBodyHierarchyGeometry(o)
1652 _object_types.append(
"RigidBodyFrameGeometry")
1655 def _object_cast_to_RigidBodyFrameGeometry(o):
1656 """_object_cast_to_RigidBodyFrameGeometry(Object o) -> RigidBodyFrameGeometry"""
1657 return _IMP_core._object_cast_to_RigidBodyFrameGeometry(o)
1659 _object_types.append(
"RigidBodyFramesGeometry")
1662 def _object_cast_to_RigidBodyFramesGeometry(o):
1663 """_object_cast_to_RigidBodyFramesGeometry(Object o) -> RigidBodyFramesGeometry"""
1664 return _IMP_core._object_cast_to_RigidBodyFramesGeometry(o)
1666 _object_types.append(
"RigidBodyTorque")
1669 def _object_cast_to_RigidBodyTorque(o):
1670 """_object_cast_to_RigidBodyTorque(Object o) -> RigidBodyTorque"""
1671 return _IMP_core._object_cast_to_RigidBodyTorque(o)
1673 _object_types.append(
"EdgePairGeometry")
1676 def _object_cast_to_EdgePairGeometry(o):
1677 """_object_cast_to_EdgePairGeometry(Object o) -> EdgePairGeometry"""
1678 return _IMP_core._object_cast_to_EdgePairGeometry(o)
1680 _object_types.append(
"EdgePairsGeometry")
1683 def _object_cast_to_EdgePairsGeometry(o):
1684 """_object_cast_to_EdgePairsGeometry(Object o) -> EdgePairsGeometry"""
1685 return _IMP_core._object_cast_to_EdgePairsGeometry(o)
1687 _object_types.append(
"SurfaceGeometry")
1690 def _object_cast_to_SurfaceGeometry(o):
1691 """_object_cast_to_SurfaceGeometry(Object o) -> SurfaceGeometry"""
1692 return _IMP_core._object_cast_to_SurfaceGeometry(o)
1694 _object_types.append(
"SurfaceGeometryConstraint")
1697 def _object_cast_to_SurfaceGeometryConstraint(o):
1698 """_object_cast_to_SurfaceGeometryConstraint(Object o) -> SurfaceGeometryConstraint"""
1699 return _IMP_core._object_cast_to_SurfaceGeometryConstraint(o)
1701 _object_types.append(
"AttributeSingletonPredicate")
1704 def _object_cast_to_AttributeSingletonPredicate(o):
1705 """_object_cast_to_AttributeSingletonPredicate(Object o) -> AttributeSingletonPredicate"""
1706 return _IMP_core._object_cast_to_AttributeSingletonPredicate(o)
1708 _object_types.append(
"InBoundingBox3DSingletonPredicate")
1711 def _object_cast_to_InBoundingBox3DSingletonPredicate(o):
1712 """_object_cast_to_InBoundingBox3DSingletonPredicate(Object o) -> InBoundingBox3DSingletonPredicate"""
1713 return _IMP_core._object_cast_to_InBoundingBox3DSingletonPredicate(o)
1715 _object_types.append(
"IsCollisionPairPredicate")
1718 def _object_cast_to_IsCollisionPairPredicate(o):
1719 """_object_cast_to_IsCollisionPairPredicate(Object o) -> IsCollisionPairPredicate"""
1720 return _IMP_core._object_cast_to_IsCollisionPairPredicate(o)
1722 BinormalTermList=list
1723 _plural_types.append(
"BinormalTermList")
1724 _value_types.append(
"BinormalTerm")
1727 _object_types.append(
"MultipleBinormalRestraint")
1730 def _object_cast_to_MultipleBinormalRestraint(o):
1731 """_object_cast_to_MultipleBinormalRestraint(Object o) -> MultipleBinormalRestraint"""
1732 return _IMP_core._object_cast_to_MultipleBinormalRestraint(o)
1733 class ClosePairsFinder(IMP._ParticleInputs,
IMP.Object):
1734 """Proxy of C++ IMP::core::ClosePairsFinder class"""
1735 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1737 def __init__(self, *args, **kwargs):
1738 raise AttributeError(
"No constructor defined - class is abstract")
1739 __swig_destroy__ = _IMP_core.delete_ClosePairsFinder
1740 __del__ =
lambda self:
None
1742 def get_close_pairs(self, *args):
1744 get_close_pairs(ClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
1745 get_close_pairs(ClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
1746 get_close_pairs(ClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
1747 get_close_pairs(ClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
1749 return _IMP_core.ClosePairsFinder_get_close_pairs(self, *args)
1752 def set_distance(self, d):
1753 """set_distance(ClosePairsFinder self, double d)"""
1754 return _IMP_core.ClosePairsFinder_set_distance(self, d)
1758 """get_distance(ClosePairsFinder self) -> double"""
1759 return _IMP_core.ClosePairsFinder_get_distance(self)
1761 def __get_pair_filters(self):
return IMP._list_util.VarList(getdimfunc=self.get_number_of_pair_filters, getfunc=self.get_pair_filter, erasefunc=self.erase_pair_filter, appendfunc=self.add_pair_filter, extendfunc=self.add_pair_filters, clearfunc=self.clear_pair_filters, indexfunc=self._python_index_pair_filter)
1762 def __set_pair_filters(self, obj): IMP._list_util.set_varlist(self.pair_filters, obj)
1763 def __del_pair_filters(self): IMP._list_util.del_varlist(self.pair_filters)
1764 pair_filters = property(__get_pair_filters, __set_pair_filters, __del_pair_filters, doc=
"List of ##ucnames")
1766 def remove_pair_filter(self, d):
1767 """remove_pair_filter(ClosePairsFinder self, PairPredicate d)"""
1768 return _IMP_core.ClosePairsFinder_remove_pair_filter(self, d)
1771 def _python_index_pair_filter(self, d, start, stop):
1772 """_python_index_pair_filter(ClosePairsFinder self, PairPredicate d, unsigned int start, unsigned int stop) -> unsigned int"""
1773 return _IMP_core.ClosePairsFinder__python_index_pair_filter(self, d, start, stop)
1776 def remove_pair_filters(self, d):
1777 """remove_pair_filters(ClosePairsFinder self, IMP::PairPredicates const & d)"""
1778 return _IMP_core.ClosePairsFinder_remove_pair_filters(self, d)
1781 def set_pair_filters(self, ps):
1782 """set_pair_filters(ClosePairsFinder self, IMP::PairPredicates const & ps)"""
1783 return _IMP_core.ClosePairsFinder_set_pair_filters(self, ps)
1786 def set_pair_filters_order(self, objs):
1787 """set_pair_filters_order(ClosePairsFinder self, IMP::PairPredicates const & objs)"""
1788 return _IMP_core.ClosePairsFinder_set_pair_filters_order(self, objs)
1791 def add_pair_filter(self, obj):
1792 """add_pair_filter(ClosePairsFinder self, PairPredicate obj) -> unsigned int"""
1793 return _IMP_core.ClosePairsFinder_add_pair_filter(self, obj)
1796 def add_pair_filters(self, objs):
1797 """add_pair_filters(ClosePairsFinder self, IMP::PairPredicates const & objs)"""
1798 return _IMP_core.ClosePairsFinder_add_pair_filters(self, objs)
1801 def clear_pair_filters(self):
1802 """clear_pair_filters(ClosePairsFinder self)"""
1803 return _IMP_core.ClosePairsFinder_clear_pair_filters(self)
1806 def get_number_of_pair_filters(self):
1807 """get_number_of_pair_filters(ClosePairsFinder self) -> unsigned int"""
1808 return _IMP_core.ClosePairsFinder_get_number_of_pair_filters(self)
1811 def get_has_pair_filters(self):
1812 """get_has_pair_filters(ClosePairsFinder self) -> bool"""
1813 return _IMP_core.ClosePairsFinder_get_has_pair_filters(self)
1816 def get_pair_filter(self, i):
1817 """get_pair_filter(ClosePairsFinder self, unsigned int i) -> PairPredicate"""
1818 return _IMP_core.ClosePairsFinder_get_pair_filter(self, i)
1821 def get_pair_filters(self):
1822 """get_pair_filters(ClosePairsFinder self) -> IMP::PairPredicates"""
1823 return _IMP_core.ClosePairsFinder_get_pair_filters(self)
1826 def erase_pair_filter(self, i):
1827 """erase_pair_filter(ClosePairsFinder self, unsigned int i)"""
1828 return _IMP_core.ClosePairsFinder_erase_pair_filter(self, i)
1831 def reserve_pair_filters(self, sz):
1832 """reserve_pair_filters(ClosePairsFinder self, unsigned int sz)"""
1833 return _IMP_core.ClosePairsFinder_reserve_pair_filters(self, sz)
1837 """__str__(ClosePairsFinder self) -> std::string"""
1838 return _IMP_core.ClosePairsFinder___str__(self)
1842 """__repr__(ClosePairsFinder self) -> std::string"""
1843 return _IMP_core.ClosePairsFinder___repr__(self)
1848 return _object_cast_to_ClosePairsFinder(o)
1850 ClosePairsFinder_swigregister = _IMP_core.ClosePairsFinder_swigregister
1851 ClosePairsFinder_swigregister(ClosePairsFinder)
1853 class MonteCarloMoverResult(IMP._Value):
1854 """Proxy of C++ IMP::core::MonteCarloMoverResult class"""
1855 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1857 def __init__(self, *args):
1859 __init__(IMP::core::MonteCarloMoverResult self, IMP::ParticleIndexes i0, double i1) -> MonteCarloMoverResult
1860 __init__(IMP::core::MonteCarloMoverResult self, IMP::ParticleIndexes i0) -> MonteCarloMoverResult
1861 __init__(IMP::core::MonteCarloMoverResult self) -> MonteCarloMoverResult
1863 this = _IMP_core.new_MonteCarloMoverResult(*args)
1865 self.this.append(this)
1870 """__hash__(MonteCarloMoverResult self) -> std::size_t"""
1871 return _IMP_core.MonteCarloMoverResult___hash__(self)
1874 def show(self, *args):
1876 show(MonteCarloMoverResult self, _ostream out)
1877 show(MonteCarloMoverResult self)
1879 return _IMP_core.MonteCarloMoverResult_show(self, *args)
1882 def __cmp__(self, o):
1883 """__cmp__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> int"""
1884 return _IMP_core.MonteCarloMoverResult___cmp__(self, o)
1887 def __eq__(self, o):
1888 """__eq__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1889 return _IMP_core.MonteCarloMoverResult___eq__(self, o)
1892 def __ne__(self, o):
1893 """__ne__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1894 return _IMP_core.MonteCarloMoverResult___ne__(self, o)
1897 def __lt__(self, o):
1898 """__lt__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1899 return _IMP_core.MonteCarloMoverResult___lt__(self, o)
1902 def __gt__(self, o):
1903 """__gt__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1904 return _IMP_core.MonteCarloMoverResult___gt__(self, o)
1907 def __ge__(self, o):
1908 """__ge__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1909 return _IMP_core.MonteCarloMoverResult___ge__(self, o)
1912 def __le__(self, o):
1913 """__le__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1914 return _IMP_core.MonteCarloMoverResult___le__(self, o)
1917 def get_moved_particles(self):
1918 """get_moved_particles(MonteCarloMoverResult self) -> IMP::ParticleIndexes const &"""
1919 return _IMP_core.MonteCarloMoverResult_get_moved_particles(self)
1922 def set_moved_particles(self, v):
1923 """set_moved_particles(MonteCarloMoverResult self, IMP::ParticleIndexes const & v)"""
1924 return _IMP_core.MonteCarloMoverResult_set_moved_particles(self, v)
1927 def get_proposal_ratio(self):
1928 """get_proposal_ratio(MonteCarloMoverResult self) -> double const &"""
1929 return _IMP_core.MonteCarloMoverResult_get_proposal_ratio(self)
1932 def set_proposal_ratio(self, v):
1933 """set_proposal_ratio(MonteCarloMoverResult self, double const & v)"""
1934 return _IMP_core.MonteCarloMoverResult_set_proposal_ratio(self, v)
1938 """__str__(MonteCarloMoverResult self) -> std::string"""
1939 return _IMP_core.MonteCarloMoverResult___str__(self)
1943 """__repr__(MonteCarloMoverResult self) -> std::string"""
1944 return _IMP_core.MonteCarloMoverResult___repr__(self)
1946 __swig_destroy__ = _IMP_core.delete_MonteCarloMoverResult
1947 __del__ =
lambda self:
None
1948 MonteCarloMoverResult_swigregister = _IMP_core.MonteCarloMoverResult_swigregister
1949 MonteCarloMoverResult_swigregister(MonteCarloMoverResult)
1952 """Proxy of C++ IMP::core::MonteCarloMover class"""
1953 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1955 def __init__(self, m, name):
1956 """__init__(IMP::core::MonteCarloMover self, Model m, std::string name) -> MonteCarloMover"""
1957 if self.__class__ == MonteCarloMover:
1961 this = _IMP_core.new_MonteCarloMover(_self, m, name)
1963 self.this.append(this)
1967 if self.__class__ != MonteCarloMover:
1968 _director_objects.register(self)
1974 """propose(MonteCarloMover self) -> MonteCarloMoverResult"""
1975 return _IMP_core.MonteCarloMover_propose(self)
1979 """reject(MonteCarloMover self)"""
1980 return _IMP_core.MonteCarloMover_reject(self)
1984 """accept(MonteCarloMover self)"""
1985 return _IMP_core.MonteCarloMover_accept(self)
1988 def get_number_of_proposed(self):
1989 """get_number_of_proposed(MonteCarloMover self) -> unsigned int"""
1990 return _IMP_core.MonteCarloMover_get_number_of_proposed(self)
1993 def get_number_of_accepted(self):
1994 """get_number_of_accepted(MonteCarloMover self) -> unsigned int"""
1995 return _IMP_core.MonteCarloMover_get_number_of_accepted(self)
1998 def reset_statistics(self):
1999 """reset_statistics(MonteCarloMover self)"""
2000 return _IMP_core.MonteCarloMover_reset_statistics(self)
2003 def do_propose(self):
2004 """do_propose(MonteCarloMover self) -> MonteCarloMoverResult"""
2005 return _IMP_core.MonteCarloMover_do_propose(self)
2008 def do_reject(self):
2009 """do_reject(MonteCarloMover self)"""
2010 return _IMP_core.MonteCarloMover_do_reject(self)
2013 def do_accept(self):
2014 """do_accept(MonteCarloMover self)"""
2015 return _IMP_core.MonteCarloMover_do_accept(self)
2018 def do_get_outputs(self):
2019 """do_get_outputs(MonteCarloMover self) -> IMP::ModelObjectsTemp"""
2020 return _IMP_core.MonteCarloMover_do_get_outputs(self)
2024 """__str__(MonteCarloMover self) -> std::string"""
2025 return _IMP_core.MonteCarloMover___str__(self)
2029 """__repr__(MonteCarloMover self) -> std::string"""
2030 return _IMP_core.MonteCarloMover___repr__(self)
2035 return _object_cast_to_MonteCarloMover(o)
2038 def get_type_name(self):
2039 return self.__class__.__name__
2040 def do_show(self, out):
2042 def get_version_info(self):
2043 if"IMP::core" ==
"IMP":
2044 return VersionInfo(self.__module__,
2051 return _object_cast_to_MonteCarloMover(o)
2053 __swig_destroy__ = _IMP_core.delete_MonteCarloMover
2054 __del__ =
lambda self:
None
2055 def __disown__(self):
2057 _IMP_core.disown_MonteCarloMover(self)
2058 return weakref_proxy(self)
2060 def do_destroy(self):
2061 """do_destroy(MonteCarloMover self)"""
2062 return _IMP_core.MonteCarloMover_do_destroy(self)
2065 def handle_set_has_required_score_states(self, arg0):
2066 """handle_set_has_required_score_states(MonteCarloMover self, bool arg0)"""
2067 return _IMP_core.MonteCarloMover_handle_set_has_required_score_states(self, arg0)
2070 def do_get_inputs(self):
2071 """do_get_inputs(MonteCarloMover self) -> IMP::ModelObjectsTemp"""
2072 return _IMP_core.MonteCarloMover_do_get_inputs(self)
2075 def do_get_interactions(self):
2076 """do_get_interactions(MonteCarloMover self) -> IMP::ModelObjectsTemps"""
2077 return _IMP_core.MonteCarloMover_do_get_interactions(self)
2079 MonteCarloMover_swigregister = _IMP_core.MonteCarloMover_swigregister
2080 MonteCarloMover_swigregister(MonteCarloMover)
2083 """Proxy of C++ IMP::core::XYZ class"""
2084 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2086 def get_coordinate_key(i):
2087 """get_coordinate_key(unsigned int i) -> FloatKey"""
2088 return _IMP_core.XYZ_get_coordinate_key(i)
2090 get_coordinate_key = staticmethod(get_coordinate_key)
2092 def __init__(self, *args):
2094 __init__(IMP::core::XYZ self) -> XYZ
2095 __init__(IMP::core::XYZ self, Model m, ParticleIndex id) -> XYZ
2096 __init__(IMP::core::XYZ self, _ParticleAdaptor d) -> XYZ
2098 this = _IMP_core.new_XYZ(*args)
2100 self.this.append(this)
2104 def show(self, *args):
2106 show(XYZ self, _ostream out)
2109 return _IMP_core.XYZ_show(self, *args)
2112 def setup_particle(*args):
2114 setup_particle(Model m, ParticleIndex pi) -> XYZ
2115 setup_particle(_ParticleAdaptor decorator) -> XYZ
2116 setup_particle(Model m, ParticleIndex pi, Vector3D v) -> XYZ
2117 setup_particle(_ParticleAdaptor decorator, Vector3D v) -> XYZ
2119 return _IMP_core.XYZ_setup_particle(*args)
2121 setup_particle = staticmethod(setup_particle)
2124 """get_x(XYZ self) -> IMP::Float"""
2125 return _IMP_core.XYZ_get_x(self)
2129 """set_x(XYZ self, IMP::Float t)"""
2130 return _IMP_core.XYZ_set_x(self, t)
2134 """get_y(XYZ self) -> IMP::Float"""
2135 return _IMP_core.XYZ_get_y(self)
2139 """set_y(XYZ self, IMP::Float t)"""
2140 return _IMP_core.XYZ_set_y(self, t)
2144 """get_z(XYZ self) -> IMP::Float"""
2145 return _IMP_core.XYZ_get_z(self)
2149 """set_z(XYZ self, IMP::Float t)"""
2150 return _IMP_core.XYZ_set_z(self, t)
2153 def set_coordinate(self, i, v):
2154 """set_coordinate(XYZ self, unsigned int i, IMP::Float v)"""
2155 return _IMP_core.XYZ_set_coordinate(self, i, v)
2158 def set_coordinates(self, v):
2159 """set_coordinates(XYZ self, Vector3D v)"""
2160 return _IMP_core.XYZ_set_coordinates(self, v)
2163 def get_coordinate(self, i):
2164 """get_coordinate(XYZ self, int i) -> IMP::Float"""
2165 return _IMP_core.XYZ_get_coordinate(self, i)
2168 def add_to_derivatives(self, v, d):
2169 """add_to_derivatives(XYZ self, Vector3D v, DerivativeAccumulator d)"""
2170 return _IMP_core.XYZ_add_to_derivatives(self, v, d)
2173 def get_coordinates_are_optimized(self):
2174 """get_coordinates_are_optimized(XYZ self) -> bool"""
2175 return _IMP_core.XYZ_get_coordinates_are_optimized(self)
2178 def set_coordinates_are_optimized(self, tf):
2179 """set_coordinates_are_optimized(XYZ self, bool tf)"""
2180 return _IMP_core.XYZ_set_coordinates_are_optimized(self, tf)
2183 def get_vector_to(self, b):
2184 """get_vector_to(XYZ self, XYZ b) -> Vector3D"""
2185 return _IMP_core.XYZ_get_vector_to(self, b)
2188 def get_coordinates(self):
2189 """get_coordinates(XYZ self) -> Vector3D"""
2190 return _IMP_core.XYZ_get_coordinates(self)
2193 def get_derivatives(self):
2194 """get_derivatives(XYZ self) -> Vector3D"""
2195 return _IMP_core.XYZ_get_derivatives(self)
2198 def get_is_setup(*args):
2200 get_is_setup(_ParticleAdaptor p) -> bool
2201 get_is_setup(Model m, ParticleIndex pi) -> bool
2203 return _IMP_core.XYZ_get_is_setup(*args)
2205 get_is_setup = staticmethod(get_is_setup)
2208 """get_xyz_keys() -> IMP::FloatKeys const &"""
2209 return _IMP_core.XYZ_get_xyz_keys()
2211 get_xyz_keys = staticmethod(get_xyz_keys)
2213 def add_attribute(self, *args):
2215 add_attribute(XYZ self, FloatKey k, IMP::Float v, bool opt)
2216 add_attribute(XYZ self, FloatKey a0, IMP::Float a1)
2217 add_attribute(XYZ self, IntKey a0, IMP::Int a1)
2218 add_attribute(XYZ self, FloatsKey a0, IMP::Floats a1)
2219 add_attribute(XYZ self, IntsKey a0, IMP::Ints a1)
2220 add_attribute(XYZ self, StringKey a0, IMP::String a1)
2221 add_attribute(XYZ self, ParticleIndexKey a0, Particle a1)
2222 add_attribute(XYZ self, ObjectKey a0, Object a1)
2224 return _IMP_core.XYZ_add_attribute(self, *args)
2227 def get_value(self, *args):
2229 get_value(XYZ self, FloatKey a0) -> IMP::Float
2230 get_value(XYZ self, IntKey a0) -> IMP::Int
2231 get_value(XYZ self, FloatsKey a0) -> IMP::Floats
2232 get_value(XYZ self, IntsKey a0) -> IMP::Ints
2233 get_value(XYZ self, StringKey a0) -> IMP::String
2234 get_value(XYZ self, ParticleIndexKey a0) -> Particle
2235 get_value(XYZ self, ObjectKey a0) -> Object
2237 return _IMP_core.XYZ_get_value(self, *args)
2240 def set_value(self, *args):
2242 set_value(XYZ self, FloatKey a0, IMP::Float a1)
2243 set_value(XYZ self, IntKey a0, IMP::Int a1)
2244 set_value(XYZ self, FloatsKey a0, IMP::Floats a1)
2245 set_value(XYZ self, IntsKey a0, IMP::Ints a1)
2246 set_value(XYZ self, StringKey a0, IMP::String a1)
2247 set_value(XYZ self, ParticleIndexKey a0, Particle a1)
2248 set_value(XYZ self, ObjectKey a0, Object a1)
2250 return _IMP_core.XYZ_set_value(self, *args)
2253 def remove_attribute(self, *args):
2255 remove_attribute(XYZ self, FloatKey a0)
2256 remove_attribute(XYZ self, IntKey a0)
2257 remove_attribute(XYZ self, FloatsKey a0)
2258 remove_attribute(XYZ self, IntsKey a0)
2259 remove_attribute(XYZ self, StringKey a0)
2260 remove_attribute(XYZ self, ParticleIndexKey a0)
2261 remove_attribute(XYZ self, ObjectKey a0)
2263 return _IMP_core.XYZ_remove_attribute(self, *args)
2266 def has_attribute(self, *args):
2268 has_attribute(XYZ self, FloatKey a0) -> bool
2269 has_attribute(XYZ self, IntKey a0) -> bool
2270 has_attribute(XYZ self, FloatsKey a0) -> bool
2271 has_attribute(XYZ self, IntsKey a0) -> bool
2272 has_attribute(XYZ self, StringKey a0) -> bool
2273 has_attribute(XYZ self, ParticleIndexKey a0) -> bool
2274 has_attribute(XYZ self, ObjectKey a0) -> bool
2276 return _IMP_core.XYZ_has_attribute(self, *args)
2279 def get_derivative(self, *args):
2281 get_derivative(XYZ self, int i) -> IMP::Float
2282 get_derivative(XYZ self, FloatKey a0) -> double
2284 return _IMP_core.XYZ_get_derivative(self, *args)
2288 """get_name(XYZ self) -> std::string"""
2289 return _IMP_core.XYZ_get_name(self)
2292 def clear_caches(self):
2293 """clear_caches(XYZ self)"""
2294 return _IMP_core.XYZ_clear_caches(self)
2297 def set_name(self, a0):
2298 """set_name(XYZ self, std::string a0)"""
2299 return _IMP_core.XYZ_set_name(self, a0)
2303 """set_check_level(XYZ self, IMP::CheckLevel a0)"""
2304 return _IMP_core.XYZ_set_check_level(self, a0)
2307 def add_to_derivative(self, *args):
2309 add_to_derivative(XYZ self, int i, IMP::Float v, DerivativeAccumulator d)
2310 add_to_derivative(XYZ self, FloatKey a0, double a1, DerivativeAccumulator a2)
2312 return _IMP_core.XYZ_add_to_derivative(self, *args)
2315 def set_is_optimized(self, a0, a1):
2316 """set_is_optimized(XYZ self, FloatKey a0, bool a1)"""
2317 return _IMP_core.XYZ_set_is_optimized(self, a0, a1)
2320 def get_is_optimized(self, a0):
2321 """get_is_optimized(XYZ self, FloatKey a0) -> bool"""
2322 return _IMP_core.XYZ_get_is_optimized(self, a0)
2326 """get_check_level(XYZ self) -> IMP::CheckLevel"""
2327 return _IMP_core.XYZ_get_check_level(self)
2330 def __eq__(self, *args):
2332 __eq__(XYZ self, XYZ o) -> bool
2333 __eq__(XYZ self, Particle d) -> bool
2335 return _IMP_core.XYZ___eq__(self, *args)
2338 def __ne__(self, *args):
2340 __ne__(XYZ self, XYZ o) -> bool
2341 __ne__(XYZ self, Particle d) -> bool
2343 return _IMP_core.XYZ___ne__(self, *args)
2346 def __le__(self, *args):
2348 __le__(XYZ self, XYZ o) -> bool
2349 __le__(XYZ self, Particle d) -> bool
2351 return _IMP_core.XYZ___le__(self, *args)
2354 def __lt__(self, *args):
2356 __lt__(XYZ self, XYZ o) -> bool
2357 __lt__(XYZ self, Particle d) -> bool
2359 return _IMP_core.XYZ___lt__(self, *args)
2362 def __ge__(self, *args):
2364 __ge__(XYZ self, XYZ o) -> bool
2365 __ge__(XYZ self, Particle d) -> bool
2367 return _IMP_core.XYZ___ge__(self, *args)
2370 def __gt__(self, *args):
2372 __gt__(XYZ self, XYZ o) -> bool
2373 __gt__(XYZ self, Particle d) -> bool
2375 return _IMP_core.XYZ___gt__(self, *args)
2379 """__hash__(XYZ self) -> std::size_t"""
2380 return _IMP_core.XYZ___hash__(self)
2384 """__str__(XYZ self) -> std::string"""
2385 return _IMP_core.XYZ___str__(self)
2389 """__repr__(XYZ self) -> std::string"""
2390 return _IMP_core.XYZ___repr__(self)
2392 __swig_destroy__ = _IMP_core.delete_XYZ
2393 __del__ =
lambda self:
None
2394 XYZ_swigregister = _IMP_core.XYZ_swigregister
2395 XYZ_swigregister(XYZ)
2397 def XYZ_get_coordinate_key(i):
2398 """XYZ_get_coordinate_key(unsigned int i) -> FloatKey"""
2399 return _IMP_core.XYZ_get_coordinate_key(i)
2401 def XYZ_setup_particle(*args):
2403 setup_particle(Model m, ParticleIndex pi) -> XYZ
2404 setup_particle(_ParticleAdaptor decorator) -> XYZ
2405 setup_particle(Model m, ParticleIndex pi, Vector3D v) -> XYZ
2406 XYZ_setup_particle(_ParticleAdaptor decorator, Vector3D v) -> XYZ
2408 return _IMP_core.XYZ_setup_particle(*args)
2410 def XYZ_get_is_setup(*args):
2412 get_is_setup(_ParticleAdaptor p) -> bool
2413 XYZ_get_is_setup(Model m, ParticleIndex pi) -> bool
2415 return _IMP_core.XYZ_get_is_setup(*args)
2417 def XYZ_get_xyz_keys():
2418 """XYZ_get_xyz_keys() -> IMP::FloatKeys const &"""
2419 return _IMP_core.XYZ_get_xyz_keys()
2423 """set_vector_geometry(XYZ d, Vector3D v)"""
2424 return _IMP_core.set_vector_geometry(d, v)
2427 """get_vector_geometry(XYZ d) -> Vector3D"""
2428 return _IMP_core.get_vector_geometry(d)
2431 """get_dihedral(XYZ a, XYZ b, XYZ c, XYZ d) -> double"""
2432 return _IMP_core.get_dihedral(a, b, c, d)
2434 """Proxy of C++ IMP::core::XYZR class"""
2435 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2437 def __init__(self, *args):
2439 __init__(IMP::core::XYZR self) -> XYZR
2440 __init__(IMP::core::XYZR self, Model m, ParticleIndex id) -> XYZR
2441 __init__(IMP::core::XYZR self, _ParticleAdaptor d) -> XYZR
2443 this = _IMP_core.new_XYZR(*args)
2445 self.this.append(this)
2449 def show(self, *args):
2451 show(XYZR self, _ostream out)
2454 return _IMP_core.XYZR_show(self, *args)
2457 def setup_particle(*args):
2459 setup_particle(Model m, ParticleIndex pi) -> XYZR
2460 setup_particle(_ParticleAdaptor decorator) -> XYZR
2461 setup_particle(Model m, ParticleIndex pi, IMP::Float radius) -> XYZR
2462 setup_particle(_ParticleAdaptor decorator, IMP::Float radius) -> XYZR
2463 setup_particle(Model m, ParticleIndex pi, Sphere3D ball) -> XYZR
2464 setup_particle(_ParticleAdaptor decorator, Sphere3D ball) -> XYZR
2466 return _IMP_core.XYZR_setup_particle(*args)
2468 setup_particle = staticmethod(setup_particle)
2470 def get_is_setup(*args):
2472 get_is_setup(_ParticleAdaptor p) -> bool
2473 get_is_setup(Model m, ParticleIndex pi) -> bool
2475 return _IMP_core.XYZR_get_is_setup(*args)
2477 get_is_setup = staticmethod(get_is_setup)
2479 def get_radius(self):
2480 """get_radius(XYZR self) -> double"""
2481 return _IMP_core.XYZR_get_radius(self)
2484 def set_radius(self, r):
2485 """set_radius(XYZR self, double r)"""
2486 return _IMP_core.XYZR_set_radius(self, r)
2489 def get_sphere(self):
2490 """get_sphere(XYZR self) -> Sphere3D"""
2491 return _IMP_core.XYZR_get_sphere(self)
2494 def set_sphere(self, s):
2495 """set_sphere(XYZR self, Sphere3D s)"""
2496 return _IMP_core.XYZR_set_sphere(self, s)
2499 def get_radius_key():
2500 """get_radius_key() -> FloatKey"""
2501 return _IMP_core.XYZR_get_radius_key()
2503 get_radius_key = staticmethod(get_radius_key)
2505 def add_to_radius_derivative(self, v, d):
2506 """add_to_radius_derivative(XYZR self, double v, DerivativeAccumulator d)"""
2507 return _IMP_core.XYZR_add_to_radius_derivative(self, v, d)
2510 def add_attribute(self, *args):
2512 add_attribute(XYZR self, FloatKey k, IMP::Float v, bool opt)
2513 add_attribute(XYZR self, FloatKey a0, IMP::Float a1)
2514 add_attribute(XYZR self, IntKey a0, IMP::Int a1)
2515 add_attribute(XYZR self, FloatsKey a0, IMP::Floats a1)
2516 add_attribute(XYZR self, IntsKey a0, IMP::Ints a1)
2517 add_attribute(XYZR self, StringKey a0, IMP::String a1)
2518 add_attribute(XYZR self, ParticleIndexKey a0, Particle a1)
2519 add_attribute(XYZR self, ObjectKey a0, Object a1)
2521 return _IMP_core.XYZR_add_attribute(self, *args)
2524 def get_value(self, *args):
2526 get_value(XYZR self, FloatKey a0) -> IMP::Float
2527 get_value(XYZR self, IntKey a0) -> IMP::Int
2528 get_value(XYZR self, FloatsKey a0) -> IMP::Floats
2529 get_value(XYZR self, IntsKey a0) -> IMP::Ints
2530 get_value(XYZR self, StringKey a0) -> IMP::String
2531 get_value(XYZR self, ParticleIndexKey a0) -> Particle
2532 get_value(XYZR self, ObjectKey a0) -> Object
2534 return _IMP_core.XYZR_get_value(self, *args)
2537 def set_value(self, *args):
2539 set_value(XYZR self, FloatKey a0, IMP::Float a1)
2540 set_value(XYZR self, IntKey a0, IMP::Int a1)
2541 set_value(XYZR self, FloatsKey a0, IMP::Floats a1)
2542 set_value(XYZR self, IntsKey a0, IMP::Ints a1)
2543 set_value(XYZR self, StringKey a0, IMP::String a1)
2544 set_value(XYZR self, ParticleIndexKey a0, Particle a1)
2545 set_value(XYZR self, ObjectKey a0, Object a1)
2547 return _IMP_core.XYZR_set_value(self, *args)
2550 def remove_attribute(self, *args):
2552 remove_attribute(XYZR self, FloatKey a0)
2553 remove_attribute(XYZR self, IntKey a0)
2554 remove_attribute(XYZR self, FloatsKey a0)
2555 remove_attribute(XYZR self, IntsKey a0)
2556 remove_attribute(XYZR self, StringKey a0)
2557 remove_attribute(XYZR self, ParticleIndexKey a0)
2558 remove_attribute(XYZR self, ObjectKey a0)
2560 return _IMP_core.XYZR_remove_attribute(self, *args)
2563 def has_attribute(self, *args):
2565 has_attribute(XYZR self, FloatKey a0) -> bool
2566 has_attribute(XYZR self, IntKey a0) -> bool
2567 has_attribute(XYZR self, FloatsKey a0) -> bool
2568 has_attribute(XYZR self, IntsKey a0) -> bool
2569 has_attribute(XYZR self, StringKey a0) -> bool
2570 has_attribute(XYZR self, ParticleIndexKey a0) -> bool
2571 has_attribute(XYZR self, ObjectKey a0) -> bool
2573 return _IMP_core.XYZR_has_attribute(self, *args)
2576 def get_derivative(self, a0):
2577 """get_derivative(XYZR self, FloatKey a0) -> double"""
2578 return _IMP_core.XYZR_get_derivative(self, a0)
2582 """get_name(XYZR self) -> std::string"""
2583 return _IMP_core.XYZR_get_name(self)
2586 def clear_caches(self):
2587 """clear_caches(XYZR self)"""
2588 return _IMP_core.XYZR_clear_caches(self)
2591 def set_name(self, a0):
2592 """set_name(XYZR self, std::string a0)"""
2593 return _IMP_core.XYZR_set_name(self, a0)
2597 """set_check_level(XYZR self, IMP::CheckLevel a0)"""
2598 return _IMP_core.XYZR_set_check_level(self, a0)
2601 def add_to_derivative(self, a0, a1, a2):
2602 """add_to_derivative(XYZR self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2603 return _IMP_core.XYZR_add_to_derivative(self, a0, a1, a2)
2606 def set_is_optimized(self, a0, a1):
2607 """set_is_optimized(XYZR self, FloatKey a0, bool a1)"""
2608 return _IMP_core.XYZR_set_is_optimized(self, a0, a1)
2611 def get_is_optimized(self, a0):
2612 """get_is_optimized(XYZR self, FloatKey a0) -> bool"""
2613 return _IMP_core.XYZR_get_is_optimized(self, a0)
2617 """get_check_level(XYZR self) -> IMP::CheckLevel"""
2618 return _IMP_core.XYZR_get_check_level(self)
2621 def __eq__(self, *args):
2623 __eq__(XYZR self, XYZR o) -> bool
2624 __eq__(XYZR self, Particle d) -> bool
2626 return _IMP_core.XYZR___eq__(self, *args)
2629 def __ne__(self, *args):
2631 __ne__(XYZR self, XYZR o) -> bool
2632 __ne__(XYZR self, Particle d) -> bool
2634 return _IMP_core.XYZR___ne__(self, *args)
2637 def __le__(self, *args):
2639 __le__(XYZR self, XYZR o) -> bool
2640 __le__(XYZR self, Particle d) -> bool
2642 return _IMP_core.XYZR___le__(self, *args)
2645 def __lt__(self, *args):
2647 __lt__(XYZR self, XYZR o) -> bool
2648 __lt__(XYZR self, Particle d) -> bool
2650 return _IMP_core.XYZR___lt__(self, *args)
2653 def __ge__(self, *args):
2655 __ge__(XYZR self, XYZR o) -> bool
2656 __ge__(XYZR self, Particle d) -> bool
2658 return _IMP_core.XYZR___ge__(self, *args)
2661 def __gt__(self, *args):
2663 __gt__(XYZR self, XYZR o) -> bool
2664 __gt__(XYZR self, Particle d) -> bool
2666 return _IMP_core.XYZR___gt__(self, *args)
2670 """__hash__(XYZR self) -> std::size_t"""
2671 return _IMP_core.XYZR___hash__(self)
2675 """__str__(XYZR self) -> std::string"""
2676 return _IMP_core.XYZR___str__(self)
2680 """__repr__(XYZR self) -> std::string"""
2681 return _IMP_core.XYZR___repr__(self)
2683 __swig_destroy__ = _IMP_core.delete_XYZR
2684 __del__ =
lambda self:
None
2685 XYZR_swigregister = _IMP_core.XYZR_swigregister
2686 XYZR_swigregister(XYZR)
2688 def XYZR_setup_particle(*args):
2690 setup_particle(Model m, ParticleIndex pi) -> XYZR
2691 setup_particle(_ParticleAdaptor decorator) -> XYZR
2692 setup_particle(Model m, ParticleIndex pi, IMP::Float radius) -> XYZR
2693 setup_particle(_ParticleAdaptor decorator, IMP::Float radius) -> XYZR
2694 setup_particle(Model m, ParticleIndex pi, Sphere3D ball) -> XYZR
2695 XYZR_setup_particle(_ParticleAdaptor decorator, Sphere3D ball) -> XYZR
2697 return _IMP_core.XYZR_setup_particle(*args)
2699 def XYZR_get_is_setup(*args):
2701 get_is_setup(_ParticleAdaptor p) -> bool
2702 XYZR_get_is_setup(Model m, ParticleIndex pi) -> bool
2704 return _IMP_core.XYZR_get_is_setup(*args)
2706 def XYZR_get_radius_key():
2707 """XYZR_get_radius_key() -> FloatKey"""
2708 return _IMP_core.XYZR_get_radius_key()
2713 set_enclosing_sphere(XYZR b, IMP::core::XYZs const & v, double slack=0)
2714 set_enclosing_sphere(XYZR b, IMP::core::XYZs const & v)
2716 return _IMP_core.set_enclosing_sphere(b, v, slack)
2719 """set_enclosing_radius(XYZR b, IMP::core::XYZs const & v)"""
2720 return _IMP_core.set_enclosing_radius(b, v)
2723 """get_enclosing_sphere(IMP::core::XYZs const & v) -> Sphere3D"""
2724 return _IMP_core.get_enclosing_sphere(v)
2728 create_xyzr_particles(Model m, unsigned int num, IMP::Float radius, IMP::Float box_side=10) -> IMP::core::XYZRs
2729 create_xyzr_particles(Model m, unsigned int num, IMP::Float radius) -> IMP::core::XYZRs
2731 return _IMP_core.create_xyzr_particles(m, num, radius, box_side)
2733 """Proxy of C++ IMP::core::XYZRGeometry class"""
2734 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2736 def __init__(self, *args):
2738 __init__(IMP::core::XYZRGeometry self, Particle p) -> XYZRGeometry
2739 __init__(IMP::core::XYZRGeometry self, XYZR d) -> XYZRGeometry
2741 this = _IMP_core.new_XYZRGeometry(*args)
2743 self.this.append(this)
2747 def get_version_info(self):
2748 """get_version_info(XYZRGeometry self) -> VersionInfo"""
2749 return _IMP_core.XYZRGeometry_get_version_info(self)
2753 """__str__(XYZRGeometry self) -> std::string"""
2754 return _IMP_core.XYZRGeometry___str__(self)
2758 """__repr__(XYZRGeometry self) -> std::string"""
2759 return _IMP_core.XYZRGeometry___repr__(self)
2764 return _object_cast_to_XYZRGeometry(o)
2766 XYZRGeometry_swigregister = _IMP_core.XYZRGeometry_swigregister
2767 XYZRGeometry_swigregister(XYZRGeometry)
2770 """Proxy of C++ IMP::core::XYZRsGeometry class"""
2771 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2773 def __init__(self, sc):
2774 """__init__(IMP::core::XYZRsGeometry self, SingletonContainer sc) -> XYZRsGeometry"""
2775 this = _IMP_core.new_XYZRsGeometry(sc)
2777 self.this.append(this)
2781 def get_version_info(self):
2782 """get_version_info(XYZRsGeometry self) -> VersionInfo"""
2783 return _IMP_core.XYZRsGeometry_get_version_info(self)
2787 """__str__(XYZRsGeometry self) -> std::string"""
2788 return _IMP_core.XYZRsGeometry___str__(self)
2792 """__repr__(XYZRsGeometry self) -> std::string"""
2793 return _IMP_core.XYZRsGeometry___repr__(self)
2798 return _object_cast_to_XYZRsGeometry(o)
2800 XYZRsGeometry_swigregister = _IMP_core.XYZRsGeometry_swigregister
2801 XYZRsGeometry_swigregister(XYZRsGeometry)
2804 """Proxy of C++ IMP::core::XYZDerivativeGeometry class"""
2805 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2807 def __init__(self, *args):
2809 __init__(IMP::core::XYZDerivativeGeometry self, Particle p) -> XYZDerivativeGeometry
2810 __init__(IMP::core::XYZDerivativeGeometry self, XYZ d) -> XYZDerivativeGeometry
2812 this = _IMP_core.new_XYZDerivativeGeometry(*args)
2814 self.this.append(this)
2818 def get_version_info(self):
2819 """get_version_info(XYZDerivativeGeometry self) -> VersionInfo"""
2820 return _IMP_core.XYZDerivativeGeometry_get_version_info(self)
2824 """__str__(XYZDerivativeGeometry self) -> std::string"""
2825 return _IMP_core.XYZDerivativeGeometry___str__(self)
2829 """__repr__(XYZDerivativeGeometry self) -> std::string"""
2830 return _IMP_core.XYZDerivativeGeometry___repr__(self)
2835 return _object_cast_to_XYZDerivativeGeometry(o)
2837 XYZDerivativeGeometry_swigregister = _IMP_core.XYZDerivativeGeometry_swigregister
2838 XYZDerivativeGeometry_swigregister(XYZDerivativeGeometry)
2841 """Proxy of C++ IMP::core::XYZDerivativesGeometry class"""
2842 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2844 def __init__(self, sc):
2845 """__init__(IMP::core::XYZDerivativesGeometry self, SingletonContainer sc) -> XYZDerivativesGeometry"""
2846 this = _IMP_core.new_XYZDerivativesGeometry(sc)
2848 self.this.append(this)
2852 def get_version_info(self):
2853 """get_version_info(XYZDerivativesGeometry self) -> VersionInfo"""
2854 return _IMP_core.XYZDerivativesGeometry_get_version_info(self)
2858 """__str__(XYZDerivativesGeometry self) -> std::string"""
2859 return _IMP_core.XYZDerivativesGeometry___str__(self)
2863 """__repr__(XYZDerivativesGeometry self) -> std::string"""
2864 return _IMP_core.XYZDerivativesGeometry___repr__(self)
2869 return _object_cast_to_XYZDerivativesGeometry(o)
2871 XYZDerivativesGeometry_swigregister = _IMP_core.XYZDerivativesGeometry_swigregister
2872 XYZDerivativesGeometry_swigregister(XYZDerivativesGeometry)
2875 """Proxy of C++ IMP::core::EdgePairGeometry class"""
2876 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2878 def __init__(self, pp):
2879 """__init__(IMP::core::EdgePairGeometry self, IMP::ParticlePair const & pp) -> EdgePairGeometry"""
2880 this = _IMP_core.new_EdgePairGeometry(pp)
2882 self.this.append(this)
2886 def get_version_info(self):
2887 """get_version_info(EdgePairGeometry self) -> VersionInfo"""
2888 return _IMP_core.EdgePairGeometry_get_version_info(self)
2892 """__str__(EdgePairGeometry self) -> std::string"""
2893 return _IMP_core.EdgePairGeometry___str__(self)
2897 """__repr__(EdgePairGeometry self) -> std::string"""
2898 return _IMP_core.EdgePairGeometry___repr__(self)
2903 return _object_cast_to_EdgePairGeometry(o)
2905 EdgePairGeometry_swigregister = _IMP_core.EdgePairGeometry_swigregister
2906 EdgePairGeometry_swigregister(EdgePairGeometry)
2909 """Proxy of C++ IMP::core::EdgePairsGeometry class"""
2910 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2912 def __init__(self, sc):
2913 """__init__(IMP::core::EdgePairsGeometry self, PairContainer sc) -> EdgePairsGeometry"""
2914 this = _IMP_core.new_EdgePairsGeometry(sc)
2916 self.this.append(this)
2920 def get_version_info(self):
2921 """get_version_info(EdgePairsGeometry self) -> VersionInfo"""
2922 return _IMP_core.EdgePairsGeometry_get_version_info(self)
2926 """__str__(EdgePairsGeometry self) -> std::string"""
2927 return _IMP_core.EdgePairsGeometry___str__(self)
2931 """__repr__(EdgePairsGeometry self) -> std::string"""
2932 return _IMP_core.EdgePairsGeometry___repr__(self)
2937 return _object_cast_to_EdgePairsGeometry(o)
2939 EdgePairsGeometry_swigregister = _IMP_core.EdgePairsGeometry_swigregister
2940 EdgePairsGeometry_swigregister(EdgePairsGeometry)
2943 """Proxy of C++ IMP::core::Direction class"""
2944 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2946 def do_setup_particle(m, pi, v):
2947 """do_setup_particle(Model m, ParticleIndex pi, Vector3D v)"""
2948 return _IMP_core.Direction_do_setup_particle(m, pi, v)
2950 do_setup_particle = staticmethod(do_setup_particle)
2952 def __init__(self, *args):
2954 __init__(IMP::core::Direction self) -> Direction
2955 __init__(IMP::core::Direction self, Model m, ParticleIndex id) -> Direction
2956 __init__(IMP::core::Direction self, _ParticleAdaptor d) -> Direction
2958 this = _IMP_core.new_Direction(*args)
2960 self.this.append(this)
2964 def show(self, *args):
2966 show(Direction self, _ostream out)
2967 show(Direction self)
2969 return _IMP_core.Direction_show(self, *args)
2972 def setup_particle(*args):
2974 setup_particle(Model m, ParticleIndex pi, Vector3D v) -> Direction
2975 setup_particle(_ParticleAdaptor decorator, Vector3D v) -> Direction
2977 return _IMP_core.Direction_setup_particle(*args)
2979 setup_particle = staticmethod(setup_particle)
2981 def get_is_setup(*args):
2983 get_is_setup(_ParticleAdaptor p) -> bool
2984 get_is_setup(Model m, ParticleIndex pi) -> bool
2986 return _IMP_core.Direction_get_is_setup(*args)
2988 get_is_setup = staticmethod(get_is_setup)
2990 def get_direction_key(i):
2991 """get_direction_key(unsigned int i) -> FloatKey"""
2992 return _IMP_core.Direction_get_direction_key(i)
2994 get_direction_key = staticmethod(get_direction_key)
2996 def get_direction_derivative(self, i):
2997 """get_direction_derivative(Direction self, int i) -> IMP::Float"""
2998 return _IMP_core.Direction_get_direction_derivative(self, i)
3001 def get_direction_derivatives(self):
3002 """get_direction_derivatives(Direction self) -> Vector3D"""
3003 return _IMP_core.Direction_get_direction_derivatives(self)
3006 def add_to_direction_derivative(self, i, v, d):
3007 """add_to_direction_derivative(Direction self, int i, IMP::Float v, DerivativeAccumulator d)"""
3008 return _IMP_core.Direction_add_to_direction_derivative(self, i, v, d)
3011 def add_to_direction_derivatives(self, v, d):
3012 """add_to_direction_derivatives(Direction self, Vector3D v, DerivativeAccumulator d)"""
3013 return _IMP_core.Direction_add_to_direction_derivatives(self, v, d)
3016 def get_direction_is_optimized(self):
3017 """get_direction_is_optimized(Direction self) -> bool"""
3018 return _IMP_core.Direction_get_direction_is_optimized(self)
3021 def set_direction_is_optimized(self, tf):
3022 """set_direction_is_optimized(Direction self, bool tf)"""
3023 return _IMP_core.Direction_set_direction_is_optimized(self, tf)
3026 def get_direction(self):
3027 """get_direction(Direction self) -> Vector3D"""
3028 return _IMP_core.Direction_get_direction(self)
3031 def set_direction(self, v):
3032 """set_direction(Direction self, Vector3D v)"""
3033 return _IMP_core.Direction_set_direction(self, v)
3037 """reflect(Direction self)"""
3038 return _IMP_core.Direction_reflect(self)
3041 def add_attribute(self, *args):
3043 add_attribute(Direction self, FloatKey k, IMP::Float v, bool opt)
3044 add_attribute(Direction self, FloatKey a0, IMP::Float a1)
3045 add_attribute(Direction self, IntKey a0, IMP::Int a1)
3046 add_attribute(Direction self, FloatsKey a0, IMP::Floats a1)
3047 add_attribute(Direction self, IntsKey a0, IMP::Ints a1)
3048 add_attribute(Direction self, StringKey a0, IMP::String a1)
3049 add_attribute(Direction self, ParticleIndexKey a0, Particle a1)
3050 add_attribute(Direction self, ObjectKey a0, Object a1)
3052 return _IMP_core.Direction_add_attribute(self, *args)
3055 def get_value(self, *args):
3057 get_value(Direction self, FloatKey a0) -> IMP::Float
3058 get_value(Direction self, IntKey a0) -> IMP::Int
3059 get_value(Direction self, FloatsKey a0) -> IMP::Floats
3060 get_value(Direction self, IntsKey a0) -> IMP::Ints
3061 get_value(Direction self, StringKey a0) -> IMP::String
3062 get_value(Direction self, ParticleIndexKey a0) -> Particle
3063 get_value(Direction self, ObjectKey a0) -> Object
3065 return _IMP_core.Direction_get_value(self, *args)
3068 def set_value(self, *args):
3070 set_value(Direction self, FloatKey a0, IMP::Float a1)
3071 set_value(Direction self, IntKey a0, IMP::Int a1)
3072 set_value(Direction self, FloatsKey a0, IMP::Floats a1)
3073 set_value(Direction self, IntsKey a0, IMP::Ints a1)
3074 set_value(Direction self, StringKey a0, IMP::String a1)
3075 set_value(Direction self, ParticleIndexKey a0, Particle a1)
3076 set_value(Direction self, ObjectKey a0, Object a1)
3078 return _IMP_core.Direction_set_value(self, *args)
3081 def remove_attribute(self, *args):
3083 remove_attribute(Direction self, FloatKey a0)
3084 remove_attribute(Direction self, IntKey a0)
3085 remove_attribute(Direction self, FloatsKey a0)
3086 remove_attribute(Direction self, IntsKey a0)
3087 remove_attribute(Direction self, StringKey a0)
3088 remove_attribute(Direction self, ParticleIndexKey a0)
3089 remove_attribute(Direction self, ObjectKey a0)
3091 return _IMP_core.Direction_remove_attribute(self, *args)
3094 def has_attribute(self, *args):
3096 has_attribute(Direction self, FloatKey a0) -> bool
3097 has_attribute(Direction self, IntKey a0) -> bool
3098 has_attribute(Direction self, FloatsKey a0) -> bool
3099 has_attribute(Direction self, IntsKey a0) -> bool
3100 has_attribute(Direction self, StringKey a0) -> bool
3101 has_attribute(Direction self, ParticleIndexKey a0) -> bool
3102 has_attribute(Direction self, ObjectKey a0) -> bool
3104 return _IMP_core.Direction_has_attribute(self, *args)
3107 def get_derivative(self, a0):
3108 """get_derivative(Direction self, FloatKey a0) -> double"""
3109 return _IMP_core.Direction_get_derivative(self, a0)
3113 """get_name(Direction self) -> std::string"""
3114 return _IMP_core.Direction_get_name(self)
3117 def clear_caches(self):
3118 """clear_caches(Direction self)"""
3119 return _IMP_core.Direction_clear_caches(self)
3122 def set_name(self, a0):
3123 """set_name(Direction self, std::string a0)"""
3124 return _IMP_core.Direction_set_name(self, a0)
3128 """set_check_level(Direction self, IMP::CheckLevel a0)"""
3129 return _IMP_core.Direction_set_check_level(self, a0)
3132 def add_to_derivative(self, a0, a1, a2):
3133 """add_to_derivative(Direction self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
3134 return _IMP_core.Direction_add_to_derivative(self, a0, a1, a2)
3137 def set_is_optimized(self, a0, a1):
3138 """set_is_optimized(Direction self, FloatKey a0, bool a1)"""
3139 return _IMP_core.Direction_set_is_optimized(self, a0, a1)
3142 def get_is_optimized(self, a0):
3143 """get_is_optimized(Direction self, FloatKey a0) -> bool"""
3144 return _IMP_core.Direction_get_is_optimized(self, a0)
3148 """get_check_level(Direction self) -> IMP::CheckLevel"""
3149 return _IMP_core.Direction_get_check_level(self)
3152 def __eq__(self, *args):
3154 __eq__(Direction self, Direction o) -> bool
3155 __eq__(Direction self, Particle d) -> bool
3157 return _IMP_core.Direction___eq__(self, *args)
3160 def __ne__(self, *args):
3162 __ne__(Direction self, Direction o) -> bool
3163 __ne__(Direction self, Particle d) -> bool
3165 return _IMP_core.Direction___ne__(self, *args)
3168 def __le__(self, *args):
3170 __le__(Direction self, Direction o) -> bool
3171 __le__(Direction self, Particle d) -> bool
3173 return _IMP_core.Direction___le__(self, *args)
3176 def __lt__(self, *args):
3178 __lt__(Direction self, Direction o) -> bool
3179 __lt__(Direction self, Particle d) -> bool
3181 return _IMP_core.Direction___lt__(self, *args)
3184 def __ge__(self, *args):
3186 __ge__(Direction self, Direction o) -> bool
3187 __ge__(Direction self, Particle d) -> bool
3189 return _IMP_core.Direction___ge__(self, *args)
3192 def __gt__(self, *args):
3194 __gt__(Direction self, Direction o) -> bool
3195 __gt__(Direction self, Particle d) -> bool
3197 return _IMP_core.Direction___gt__(self, *args)
3201 """__hash__(Direction self) -> std::size_t"""
3202 return _IMP_core.Direction___hash__(self)
3206 """__str__(Direction self) -> std::string"""
3207 return _IMP_core.Direction___str__(self)
3211 """__repr__(Direction self) -> std::string"""
3212 return _IMP_core.Direction___repr__(self)
3214 __swig_destroy__ = _IMP_core.delete_Direction
3215 __del__ =
lambda self:
None
3216 Direction_swigregister = _IMP_core.Direction_swigregister
3217 Direction_swigregister(Direction)
3219 def Direction_do_setup_particle(m, pi, v):
3220 """Direction_do_setup_particle(Model m, ParticleIndex pi, Vector3D v)"""
3221 return _IMP_core.Direction_do_setup_particle(m, pi, v)
3223 def Direction_setup_particle(*args):
3225 setup_particle(Model m, ParticleIndex pi, Vector3D v) -> Direction
3226 Direction_setup_particle(_ParticleAdaptor decorator, Vector3D v) -> Direction
3228 return _IMP_core.Direction_setup_particle(*args)
3230 def Direction_get_is_setup(*args):
3232 get_is_setup(_ParticleAdaptor p) -> bool
3233 Direction_get_is_setup(Model m, ParticleIndex pi) -> bool
3235 return _IMP_core.Direction_get_is_setup(*args)
3237 def Direction_get_direction_key(i):
3238 """Direction_get_direction_key(unsigned int i) -> FloatKey"""
3239 return _IMP_core.Direction_get_direction_key(i)
3243 """get_angle(Direction a, Direction b) -> double"""
3244 return _IMP_core.get_angle(a, b)
3246 """Proxy of C++ IMP::core::DirectionAngle class"""
3247 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3249 def __init__(self, *args):
3251 __init__(IMP::core::DirectionAngle self) -> DirectionAngle
3252 __init__(IMP::core::DirectionAngle self, Model m, ParticleIndex id) -> DirectionAngle
3253 __init__(IMP::core::DirectionAngle self, _ParticleAdaptor d) -> DirectionAngle
3255 this = _IMP_core.new_DirectionAngle(*args)
3257 self.this.append(this)
3261 def show(self, *args):
3263 show(DirectionAngle self, _ostream out)
3264 show(DirectionAngle self)
3266 return _IMP_core.DirectionAngle_show(self, *args)
3269 def setup_particle(*args):
3271 setup_particle(Model m, ParticleIndex pi, IMP::ParticleIndexPair ds) -> DirectionAngle
3272 setup_particle(_ParticleAdaptor decorator, IMP::ParticleIndexPair ds) -> DirectionAngle
3273 setup_particle(Model m, ParticleIndex pi, _ParticleIndexAdaptor d0, _ParticleIndexAdaptor d1) -> DirectionAngle
3274 setup_particle(_ParticleAdaptor decorator, _ParticleIndexAdaptor d0, _ParticleIndexAdaptor d1) -> DirectionAngle
3276 return _IMP_core.DirectionAngle_setup_particle(*args)
3278 setup_particle = staticmethod(setup_particle)
3280 def get_is_setup(*args):
3282 get_is_setup(_ParticleAdaptor p) -> bool
3283 get_is_setup(Model m, ParticleIndex pi) -> bool
3285 return _IMP_core.DirectionAngle_get_is_setup(*args)
3287 get_is_setup = staticmethod(get_is_setup)
3289 def get_angle_key():
3290 """get_angle_key() -> FloatKey"""
3291 return _IMP_core.DirectionAngle_get_angle_key()
3293 get_angle_key = staticmethod(get_angle_key)
3295 def get_particle_key(i):
3296 """get_particle_key(unsigned int i) -> ParticleIndexKey"""
3297 return _IMP_core.DirectionAngle_get_particle_key(i)
3299 get_particle_key = staticmethod(get_particle_key)
3301 def get_particle(self, *args):
3303 get_particle(DirectionAngle self, unsigned int i) -> Particle
3304 get_particle(DirectionAngle self) -> Particle
3306 return _IMP_core.DirectionAngle_get_particle(self, *args)
3309 def get_particle_index(self, *args):
3311 get_particle_index(DirectionAngle self, unsigned int i) -> ParticleIndex
3312 get_particle_index(DirectionAngle self) -> ParticleIndex
3314 return _IMP_core.DirectionAngle_get_particle_index(self, *args)
3318 """get_angle(DirectionAngle self) -> IMP::Float"""
3319 return _IMP_core.DirectionAngle_get_angle(self)
3322 def get_angle_derivative(self):
3323 """get_angle_derivative(DirectionAngle self) -> IMP::Float"""
3324 return _IMP_core.DirectionAngle_get_angle_derivative(self)
3327 def add_to_angle_derivative(self, v, d):
3328 """add_to_angle_derivative(DirectionAngle self, IMP::Float v, DerivativeAccumulator d)"""
3329 return _IMP_core.DirectionAngle_add_to_angle_derivative(self, v, d)
3332 def add_attribute(self, *args):
3334 add_attribute(DirectionAngle self, FloatKey k, IMP::Float v, bool opt)
3335 add_attribute(DirectionAngle self, FloatKey a0, IMP::Float a1)
3336 add_attribute(DirectionAngle self, IntKey a0, IMP::Int a1)
3337 add_attribute(DirectionAngle self, FloatsKey a0, IMP::Floats a1)
3338 add_attribute(DirectionAngle self, IntsKey a0, IMP::Ints a1)
3339 add_attribute(DirectionAngle self, StringKey a0, IMP::String a1)
3340 add_attribute(DirectionAngle self, ParticleIndexKey a0, Particle a1)
3341 add_attribute(DirectionAngle self, ObjectKey a0, Object a1)
3343 return _IMP_core.DirectionAngle_add_attribute(self, *args)
3346 def get_value(self, *args):
3348 get_value(DirectionAngle self, FloatKey a0) -> IMP::Float
3349 get_value(DirectionAngle self, IntKey a0) -> IMP::Int
3350 get_value(DirectionAngle self, FloatsKey a0) -> IMP::Floats
3351 get_value(DirectionAngle self, IntsKey a0) -> IMP::Ints
3352 get_value(DirectionAngle self, StringKey a0) -> IMP::String
3353 get_value(DirectionAngle self, ParticleIndexKey a0) -> Particle
3354 get_value(DirectionAngle self, ObjectKey a0) -> Object
3356 return _IMP_core.DirectionAngle_get_value(self, *args)
3359 def set_value(self, *args):
3361 set_value(DirectionAngle self, FloatKey a0, IMP::Float a1)
3362 set_value(DirectionAngle self, IntKey a0, IMP::Int a1)
3363 set_value(DirectionAngle self, FloatsKey a0, IMP::Floats a1)
3364 set_value(DirectionAngle self, IntsKey a0, IMP::Ints a1)
3365 set_value(DirectionAngle self, StringKey a0, IMP::String a1)
3366 set_value(DirectionAngle self, ParticleIndexKey a0, Particle a1)
3367 set_value(DirectionAngle self, ObjectKey a0, Object a1)
3369 return _IMP_core.DirectionAngle_set_value(self, *args)
3372 def remove_attribute(self, *args):
3374 remove_attribute(DirectionAngle self, FloatKey a0)
3375 remove_attribute(DirectionAngle self, IntKey a0)
3376 remove_attribute(DirectionAngle self, FloatsKey a0)
3377 remove_attribute(DirectionAngle self, IntsKey a0)
3378 remove_attribute(DirectionAngle self, StringKey a0)
3379 remove_attribute(DirectionAngle self, ParticleIndexKey a0)
3380 remove_attribute(DirectionAngle self, ObjectKey a0)
3382 return _IMP_core.DirectionAngle_remove_attribute(self, *args)
3385 def has_attribute(self, *args):
3387 has_attribute(DirectionAngle self, FloatKey a0) -> bool
3388 has_attribute(DirectionAngle self, IntKey a0) -> bool
3389 has_attribute(DirectionAngle self, FloatsKey a0) -> bool
3390 has_attribute(DirectionAngle self, IntsKey a0) -> bool
3391 has_attribute(DirectionAngle self, StringKey a0) -> bool
3392 has_attribute(DirectionAngle self, ParticleIndexKey a0) -> bool
3393 has_attribute(DirectionAngle self, ObjectKey a0) -> bool
3395 return _IMP_core.DirectionAngle_has_attribute(self, *args)
3398 def get_derivative(self, a0):
3399 """get_derivative(DirectionAngle self, FloatKey a0) -> double"""
3400 return _IMP_core.DirectionAngle_get_derivative(self, a0)
3404 """get_name(DirectionAngle self) -> std::string"""
3405 return _IMP_core.DirectionAngle_get_name(self)
3408 def clear_caches(self):
3409 """clear_caches(DirectionAngle self)"""
3410 return _IMP_core.DirectionAngle_clear_caches(self)
3413 def set_name(self, a0):
3414 """set_name(DirectionAngle self, std::string a0)"""
3415 return _IMP_core.DirectionAngle_set_name(self, a0)
3419 """set_check_level(DirectionAngle self, IMP::CheckLevel a0)"""
3420 return _IMP_core.DirectionAngle_set_check_level(self, a0)
3423 def add_to_derivative(self, a0, a1, a2):
3424 """add_to_derivative(DirectionAngle self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
3425 return _IMP_core.DirectionAngle_add_to_derivative(self, a0, a1, a2)
3428 def set_is_optimized(self, a0, a1):
3429 """set_is_optimized(DirectionAngle self, FloatKey a0, bool a1)"""
3430 return _IMP_core.DirectionAngle_set_is_optimized(self, a0, a1)
3433 def get_is_optimized(self, a0):
3434 """get_is_optimized(DirectionAngle self, FloatKey a0) -> bool"""
3435 return _IMP_core.DirectionAngle_get_is_optimized(self, a0)
3439 """get_check_level(DirectionAngle self) -> IMP::CheckLevel"""
3440 return _IMP_core.DirectionAngle_get_check_level(self)
3443 def __eq__(self, *args):
3445 __eq__(DirectionAngle self, DirectionAngle o) -> bool
3446 __eq__(DirectionAngle self, Particle d) -> bool
3448 return _IMP_core.DirectionAngle___eq__(self, *args)
3451 def __ne__(self, *args):
3453 __ne__(DirectionAngle self, DirectionAngle o) -> bool
3454 __ne__(DirectionAngle self, Particle d) -> bool
3456 return _IMP_core.DirectionAngle___ne__(self, *args)
3459 def __le__(self, *args):
3461 __le__(DirectionAngle self, DirectionAngle o) -> bool
3462 __le__(DirectionAngle self, Particle d) -> bool
3464 return _IMP_core.DirectionAngle___le__(self, *args)
3467 def __lt__(self, *args):
3469 __lt__(DirectionAngle self, DirectionAngle o) -> bool
3470 __lt__(DirectionAngle self, Particle d) -> bool
3472 return _IMP_core.DirectionAngle___lt__(self, *args)
3475 def __ge__(self, *args):
3477 __ge__(DirectionAngle self, DirectionAngle o) -> bool
3478 __ge__(DirectionAngle self, Particle d) -> bool
3480 return _IMP_core.DirectionAngle___ge__(self, *args)
3483 def __gt__(self, *args):
3485 __gt__(DirectionAngle self, DirectionAngle o) -> bool
3486 __gt__(DirectionAngle self, Particle d) -> bool
3488 return _IMP_core.DirectionAngle___gt__(self, *args)
3492 """__hash__(DirectionAngle self) -> std::size_t"""
3493 return _IMP_core.DirectionAngle___hash__(self)
3497 """__str__(DirectionAngle self) -> std::string"""
3498 return _IMP_core.DirectionAngle___str__(self)
3502 """__repr__(DirectionAngle self) -> std::string"""
3503 return _IMP_core.DirectionAngle___repr__(self)
3505 __swig_destroy__ = _IMP_core.delete_DirectionAngle
3506 __del__ =
lambda self:
None
3507 DirectionAngle_swigregister = _IMP_core.DirectionAngle_swigregister
3508 DirectionAngle_swigregister(DirectionAngle)
3510 def DirectionAngle_setup_particle(*args):
3512 setup_particle(Model m, ParticleIndex pi, IMP::ParticleIndexPair ds) -> DirectionAngle
3513 setup_particle(_ParticleAdaptor decorator, IMP::ParticleIndexPair ds) -> DirectionAngle
3514 setup_particle(Model m, ParticleIndex pi, _ParticleIndexAdaptor d0, _ParticleIndexAdaptor d1) -> DirectionAngle
3515 DirectionAngle_setup_particle(_ParticleAdaptor decorator, _ParticleIndexAdaptor d0, _ParticleIndexAdaptor d1) -> DirectionAngle
3517 return _IMP_core.DirectionAngle_setup_particle(*args)
3519 def DirectionAngle_get_is_setup(*args):
3521 get_is_setup(_ParticleAdaptor p) -> bool
3522 DirectionAngle_get_is_setup(Model m, ParticleIndex pi) -> bool
3524 return _IMP_core.DirectionAngle_get_is_setup(*args)
3526 def DirectionAngle_get_angle_key():
3527 """DirectionAngle_get_angle_key() -> FloatKey"""
3528 return _IMP_core.DirectionAngle_get_angle_key()
3530 def DirectionAngle_get_particle_key(i):
3531 """DirectionAngle_get_particle_key(unsigned int i) -> ParticleIndexKey"""
3532 return _IMP_core.DirectionAngle_get_particle_key(i)
3535 """Proxy of C++ IMP::core::Surface class"""
3536 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3538 def do_setup_particle(*args):
3540 do_setup_particle(Model m, ParticleIndex pi, Vector3D center, Vector3D normal)
3541 do_setup_particle(Model m, ParticleIndex pi, Vector3D center)
3542 do_setup_particle(Model m, ParticleIndex pi)
3543 do_setup_particle(Model m, ParticleIndex pi, ReferenceFrame3D rf)
3545 return _IMP_core.Surface_do_setup_particle(*args)
3547 do_setup_particle = staticmethod(do_setup_particle)
3549 def __init__(self, *args):
3551 __init__(IMP::core::Surface self) -> Surface
3552 __init__(IMP::core::Surface self, Model m, ParticleIndex id) -> Surface
3553 __init__(IMP::core::Surface self, _ParticleAdaptor d) -> Surface
3555 this = _IMP_core.new_Surface(*args)
3557 self.this.append(this)
3561 def show(self, *args):
3563 show(Surface self, _ostream out)
3566 return _IMP_core.Surface_show(self, *args)
3569 def setup_particle(*args):
3571 setup_particle(Model m, ParticleIndex pi) -> Surface
3572 setup_particle(_ParticleAdaptor decorator) -> Surface
3573 setup_particle(Model m, ParticleIndex pi, ReferenceFrame3D rf) -> Surface
3574 setup_particle(_ParticleAdaptor decorator, ReferenceFrame3D rf) -> Surface
3575 setup_particle(Model m, ParticleIndex pi, Vector3D center) -> Surface
3576 setup_particle(_ParticleAdaptor decorator, Vector3D center) -> Surface
3577 setup_particle(Model m, ParticleIndex pi, Vector3D center, Vector3D normal) -> Surface
3578 setup_particle(_ParticleAdaptor decorator, Vector3D center, Vector3D normal) -> Surface
3580 return _IMP_core.Surface_setup_particle(*args)
3582 setup_particle = staticmethod(setup_particle)
3584 def get_normal_x(self):
3585 """get_normal_x(Surface self) -> IMP::Float"""
3586 return _IMP_core.Surface_get_normal_x(self)
3589 def set_normal_x(self, t):
3590 """set_normal_x(Surface self, IMP::Float t)"""
3591 return _IMP_core.Surface_set_normal_x(self, t)
3594 def get_normal_y(self):
3595 """get_normal_y(Surface self) -> IMP::Float"""
3596 return _IMP_core.Surface_get_normal_y(self)
3599 def set_normal_y(self, t):
3600 """set_normal_y(Surface self, IMP::Float t)"""
3601 return _IMP_core.Surface_set_normal_y(self, t)
3604 def get_normal_z(self):
3605 """get_normal_z(Surface self) -> IMP::Float"""
3606 return _IMP_core.Surface_get_normal_z(self)
3609 def set_normal_z(self, t):
3610 """set_normal_z(Surface self, IMP::Float t)"""
3611 return _IMP_core.Surface_set_normal_z(self, t)
3614 def get_is_setup(*args):
3616 get_is_setup(_ParticleAdaptor p) -> bool
3617 get_is_setup(Model m, ParticleIndex pi) -> bool
3619 return _IMP_core.Surface_get_is_setup(*args)
3621 get_is_setup = staticmethod(get_is_setup)
3623 def get_normal_key(i):
3624 """get_normal_key(unsigned int i) -> FloatKey"""
3625 return _IMP_core.Surface_get_normal_key(i)
3627 get_normal_key = staticmethod(get_normal_key)
3629 def get_normal_derivative(self, i):
3630 """get_normal_derivative(Surface self, int i) -> IMP::Float"""
3631 return _IMP_core.Surface_get_normal_derivative(self, i)
3634 def get_normal_derivatives(self):
3635 """get_normal_derivatives(Surface self) -> Vector3D"""
3636 return _IMP_core.Surface_get_normal_derivatives(self)
3639 def add_to_normal_derivative(self, i, v, d):
3640 """add_to_normal_derivative(Surface self, int i, IMP::Float v, DerivativeAccumulator d)"""
3641 return _IMP_core.Surface_add_to_normal_derivative(self, i, v, d)
3644 def add_to_normal_derivatives(self, v, d):
3645 """add_to_normal_derivatives(Surface self, Vector3D v, DerivativeAccumulator d)"""
3646 return _IMP_core.Surface_add_to_normal_derivatives(self, v, d)
3649 def get_normal_is_optimized(self):
3650 """get_normal_is_optimized(Surface self) -> bool"""
3651 return _IMP_core.Surface_get_normal_is_optimized(self)
3654 def set_normal_is_optimized(self, tf):
3655 """set_normal_is_optimized(Surface self, bool tf)"""
3656 return _IMP_core.Surface_set_normal_is_optimized(self, tf)
3659 def get_normal(self):
3660 """get_normal(Surface self) -> Vector3D"""
3661 return _IMP_core.Surface_get_normal(self)
3664 def set_normal(self, normal):
3665 """set_normal(Surface self, Vector3D normal)"""
3666 return _IMP_core.Surface_set_normal(self, normal)
3670 """reflect(Surface self)"""
3671 return _IMP_core.Surface_reflect(self)
3675 """get_height(Surface self, Vector3D v) -> double"""
3676 return _IMP_core.Surface_get_height(self, v)
3680 """get_depth(Surface self, Vector3D v) -> double"""
3681 return _IMP_core.Surface_get_depth(self, v)
3684 def get_distance_to(self, v):
3685 """get_distance_to(Surface self, Vector3D v) -> double"""
3686 return _IMP_core.Surface_get_distance_to(self, v)
3689 def get_distance_to_center(self, v):
3690 """get_distance_to_center(Surface self, Vector3D v) -> double"""
3691 return _IMP_core.Surface_get_distance_to_center(self, v)
3694 def set_reference_frame(self, rf):
3695 """set_reference_frame(Surface self, ReferenceFrame3D rf)"""
3696 return _IMP_core.Surface_set_reference_frame(self, rf)
3699 def get_reference_frame(self):
3700 """get_reference_frame(Surface self) -> ReferenceFrame3D"""
3701 return _IMP_core.Surface_get_reference_frame(self)
3704 def get_plane(self):
3705 """get_plane(Surface self) -> Plane3D"""
3706 return _IMP_core.Surface_get_plane(self)
3709 def add_attribute(self, *args):
3711 add_attribute(Surface self, FloatKey k, IMP::Float v, bool opt)
3712 add_attribute(Surface self, FloatKey a0, IMP::Float a1)
3713 add_attribute(Surface self, IntKey a0, IMP::Int a1)
3714 add_attribute(Surface self, FloatsKey a0, IMP::Floats a1)
3715 add_attribute(Surface self, IntsKey a0, IMP::Ints a1)
3716 add_attribute(Surface self, StringKey a0, IMP::String a1)
3717 add_attribute(Surface self, ParticleIndexKey a0, Particle a1)
3718 add_attribute(Surface self, ObjectKey a0, Object a1)
3720 return _IMP_core.Surface_add_attribute(self, *args)
3723 def get_value(self, *args):
3725 get_value(Surface self, FloatKey a0) -> IMP::Float
3726 get_value(Surface self, IntKey a0) -> IMP::Int
3727 get_value(Surface self, FloatsKey a0) -> IMP::Floats
3728 get_value(Surface self, IntsKey a0) -> IMP::Ints
3729 get_value(Surface self, StringKey a0) -> IMP::String
3730 get_value(Surface self, ParticleIndexKey a0) -> Particle
3731 get_value(Surface self, ObjectKey a0) -> Object
3733 return _IMP_core.Surface_get_value(self, *args)
3736 def set_value(self, *args):
3738 set_value(Surface self, FloatKey a0, IMP::Float a1)
3739 set_value(Surface self, IntKey a0, IMP::Int a1)
3740 set_value(Surface self, FloatsKey a0, IMP::Floats a1)
3741 set_value(Surface self, IntsKey a0, IMP::Ints a1)
3742 set_value(Surface self, StringKey a0, IMP::String a1)
3743 set_value(Surface self, ParticleIndexKey a0, Particle a1)
3744 set_value(Surface self, ObjectKey a0, Object a1)
3746 return _IMP_core.Surface_set_value(self, *args)
3749 def remove_attribute(self, *args):
3751 remove_attribute(Surface self, FloatKey a0)
3752 remove_attribute(Surface self, IntKey a0)
3753 remove_attribute(Surface self, FloatsKey a0)
3754 remove_attribute(Surface self, IntsKey a0)
3755 remove_attribute(Surface self, StringKey a0)
3756 remove_attribute(Surface self, ParticleIndexKey a0)
3757 remove_attribute(Surface self, ObjectKey a0)
3759 return _IMP_core.Surface_remove_attribute(self, *args)
3762 def has_attribute(self, *args):
3764 has_attribute(Surface self, FloatKey a0) -> bool
3765 has_attribute(Surface self, IntKey a0) -> bool
3766 has_attribute(Surface self, FloatsKey a0) -> bool
3767 has_attribute(Surface self, IntsKey a0) -> bool
3768 has_attribute(Surface self, StringKey a0) -> bool
3769 has_attribute(Surface self, ParticleIndexKey a0) -> bool
3770 has_attribute(Surface self, ObjectKey a0) -> bool
3772 return _IMP_core.Surface_has_attribute(self, *args)
3775 def get_derivative(self, a0):
3776 """get_derivative(Surface self, FloatKey a0) -> double"""
3777 return _IMP_core.Surface_get_derivative(self, a0)
3781 """get_name(Surface self) -> std::string"""
3782 return _IMP_core.Surface_get_name(self)
3785 def clear_caches(self):
3786 """clear_caches(Surface self)"""
3787 return _IMP_core.Surface_clear_caches(self)
3790 def set_name(self, a0):
3791 """set_name(Surface self, std::string a0)"""
3792 return _IMP_core.Surface_set_name(self, a0)
3796 """set_check_level(Surface self, IMP::CheckLevel a0)"""
3797 return _IMP_core.Surface_set_check_level(self, a0)
3800 def add_to_derivative(self, a0, a1, a2):
3801 """add_to_derivative(Surface self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
3802 return _IMP_core.Surface_add_to_derivative(self, a0, a1, a2)
3805 def set_is_optimized(self, a0, a1):
3806 """set_is_optimized(Surface self, FloatKey a0, bool a1)"""
3807 return _IMP_core.Surface_set_is_optimized(self, a0, a1)
3810 def get_is_optimized(self, a0):
3811 """get_is_optimized(Surface self, FloatKey a0) -> bool"""
3812 return _IMP_core.Surface_get_is_optimized(self, a0)
3816 """get_check_level(Surface self) -> IMP::CheckLevel"""
3817 return _IMP_core.Surface_get_check_level(self)
3820 def __eq__(self, *args):
3822 __eq__(Surface self, Surface o) -> bool
3823 __eq__(Surface self, Particle d) -> bool
3825 return _IMP_core.Surface___eq__(self, *args)
3828 def __ne__(self, *args):
3830 __ne__(Surface self, Surface o) -> bool
3831 __ne__(Surface self, Particle d) -> bool
3833 return _IMP_core.Surface___ne__(self, *args)
3836 def __le__(self, *args):
3838 __le__(Surface self, Surface o) -> bool
3839 __le__(Surface self, Particle d) -> bool
3841 return _IMP_core.Surface___le__(self, *args)
3844 def __lt__(self, *args):
3846 __lt__(Surface self, Surface o) -> bool
3847 __lt__(Surface self, Particle d) -> bool
3849 return _IMP_core.Surface___lt__(self, *args)
3852 def __ge__(self, *args):
3854 __ge__(Surface self, Surface o) -> bool
3855 __ge__(Surface self, Particle d) -> bool
3857 return _IMP_core.Surface___ge__(self, *args)
3860 def __gt__(self, *args):
3862 __gt__(Surface self, Surface o) -> bool
3863 __gt__(Surface self, Particle d) -> bool
3865 return _IMP_core.Surface___gt__(self, *args)
3869 """__hash__(Surface self) -> std::size_t"""
3870 return _IMP_core.Surface___hash__(self)
3874 """__str__(Surface self) -> std::string"""
3875 return _IMP_core.Surface___str__(self)
3879 """__repr__(Surface self) -> std::string"""
3880 return _IMP_core.Surface___repr__(self)
3882 __swig_destroy__ = _IMP_core.delete_Surface
3883 __del__ =
lambda self:
None
3884 Surface_swigregister = _IMP_core.Surface_swigregister
3885 Surface_swigregister(Surface)
3887 def Surface_do_setup_particle(*args):
3889 do_setup_particle(Model m, ParticleIndex pi, Vector3D center, Vector3D normal)
3890 do_setup_particle(Model m, ParticleIndex pi, Vector3D center)
3891 do_setup_particle(Model m, ParticleIndex pi)
3892 Surface_do_setup_particle(Model m, ParticleIndex pi, ReferenceFrame3D rf)
3894 return _IMP_core.Surface_do_setup_particle(*args)
3896 def Surface_setup_particle(*args):
3898 setup_particle(Model m, ParticleIndex pi) -> Surface
3899 setup_particle(_ParticleAdaptor decorator) -> Surface
3900 setup_particle(Model m, ParticleIndex pi, ReferenceFrame3D rf) -> Surface
3901 setup_particle(_ParticleAdaptor decorator, ReferenceFrame3D rf) -> Surface
3902 setup_particle(Model m, ParticleIndex pi, Vector3D center) -> Surface
3903 setup_particle(_ParticleAdaptor decorator, Vector3D center) -> Surface
3904 setup_particle(Model m, ParticleIndex pi, Vector3D center, Vector3D normal) -> Surface
3905 Surface_setup_particle(_ParticleAdaptor decorator, Vector3D center, Vector3D normal) -> Surface
3907 return _IMP_core.Surface_setup_particle(*args)
3909 def Surface_get_is_setup(*args):
3911 get_is_setup(_ParticleAdaptor p) -> bool
3912 Surface_get_is_setup(Model m, ParticleIndex pi) -> bool
3914 return _IMP_core.Surface_get_is_setup(*args)
3916 def Surface_get_normal_key(i):
3917 """Surface_get_normal_key(unsigned int i) -> FloatKey"""
3918 return _IMP_core.Surface_get_normal_key(i)
3923 get_height(Surface s, XYZR d) -> double
3924 get_height(Surface s, XYZ d) -> double
3926 return _IMP_core.get_height(*args)
3930 get_depth(Surface s, XYZR d) -> double
3931 get_depth(Surface s, XYZ d) -> double
3933 return _IMP_core.get_depth(*args)
3937 get_distance(XYZ a, XYZ b) -> double
3938 get_distance(XYZR a, XYZR b) -> double
3939 get_distance(Surface s, XYZR d) -> double
3940 get_distance(Surface s, XYZ d) -> double
3942 return _IMP_core.get_distance(*args)
3944 """Proxy of C++ IMP::core::SurfaceGeometry class"""
3945 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3947 def __init__(self, *args):
3949 __init__(IMP::core::SurfaceGeometry self, std::string n) -> SurfaceGeometry
3950 __init__(IMP::core::SurfaceGeometry self) -> SurfaceGeometry
3951 __init__(IMP::core::SurfaceGeometry self, Surface s, std::string const n) -> SurfaceGeometry
3952 __init__(IMP::core::SurfaceGeometry self, Surface s) -> SurfaceGeometry
3953 __init__(IMP::core::SurfaceGeometry self, Surface s, Color c, std::string n) -> SurfaceGeometry
3954 __init__(IMP::core::SurfaceGeometry self, Surface s, Color c) -> SurfaceGeometry
3956 this = _IMP_core.new_SurfaceGeometry(*args)
3958 self.this.append(this)
3962 def get_geometry(self):
3963 """get_geometry(SurfaceGeometry self) -> Surface"""
3964 return _IMP_core.SurfaceGeometry_get_geometry(self)
3967 def set_geometry(self, s):
3968 """set_geometry(SurfaceGeometry self, Surface s)"""
3969 return _IMP_core.SurfaceGeometry_set_geometry(self, s)
3972 def get_version_info(self):
3973 """get_version_info(SurfaceGeometry self) -> VersionInfo"""
3974 return _IMP_core.SurfaceGeometry_get_version_info(self)
3978 """__str__(SurfaceGeometry self) -> std::string"""
3979 return _IMP_core.SurfaceGeometry___str__(self)
3983 """__repr__(SurfaceGeometry self) -> std::string"""
3984 return _IMP_core.SurfaceGeometry___repr__(self)
3989 return _object_cast_to_SurfaceGeometry(o)
3991 SurfaceGeometry_swigregister = _IMP_core.SurfaceGeometry_swigregister
3992 SurfaceGeometry_swigregister(SurfaceGeometry)
3997 create_geometry(Surface s, std::string name) -> SurfaceGeometry
3998 create_geometry(Surface s) -> SurfaceGeometry
4000 return _IMP_core.create_geometry(*args)
4002 """Proxy of C++ IMP::core::SurfaceGeometryConstraint class"""
4003 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4005 def __init__(self, s, g):
4006 """__init__(IMP::core::SurfaceGeometryConstraint self, Surface s, SurfaceGeometry g) -> SurfaceGeometryConstraint"""
4007 this = _IMP_core.new_SurfaceGeometryConstraint(s, g)
4009 self.this.append(this)
4013 def get_surface(self):
4014 """get_surface(SurfaceGeometryConstraint self) -> Surface"""
4015 return _IMP_core.SurfaceGeometryConstraint_get_surface(self)
4018 def get_geometry(self):
4019 """get_geometry(SurfaceGeometryConstraint self) -> SurfaceGeometry"""
4020 return _IMP_core.SurfaceGeometryConstraint_get_geometry(self)
4023 def do_get_inputs(self):
4024 """do_get_inputs(SurfaceGeometryConstraint self) -> IMP::ModelObjectsTemp"""
4025 return _IMP_core.SurfaceGeometryConstraint_do_get_inputs(self)
4028 def do_get_outputs(self):
4029 """do_get_outputs(SurfaceGeometryConstraint self) -> IMP::ModelObjectsTemp"""
4030 return _IMP_core.SurfaceGeometryConstraint_do_get_outputs(self)
4033 def get_version_info(self):
4034 """get_version_info(SurfaceGeometryConstraint self) -> VersionInfo"""
4035 return _IMP_core.SurfaceGeometryConstraint_get_version_info(self)
4039 """__str__(SurfaceGeometryConstraint self) -> std::string"""
4040 return _IMP_core.SurfaceGeometryConstraint___str__(self)
4044 """__repr__(SurfaceGeometryConstraint self) -> std::string"""
4045 return _IMP_core.SurfaceGeometryConstraint___repr__(self)
4050 return _object_cast_to_SurfaceGeometryConstraint(o)
4052 SurfaceGeometryConstraint_swigregister = _IMP_core.SurfaceGeometryConstraint_swigregister
4053 SurfaceGeometryConstraint_swigregister(SurfaceGeometryConstraint)
4058 get_constrained_surface_geometry(Surface s, std::string name) -> SurfaceGeometry
4059 get_constrained_surface_geometry(Surface s) -> SurfaceGeometry
4061 return _IMP_core.get_constrained_surface_geometry(*args)
4063 """Proxy of C++ IMP::core::LateralSurfaceConstraint class"""
4064 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4066 def __init__(self, s, d):
4067 """__init__(IMP::core::LateralSurfaceConstraint self, Surface s, XYZ d) -> LateralSurfaceConstraint"""
4068 this = _IMP_core.new_LateralSurfaceConstraint(s, d)
4070 self.this.append(this)
4074 def do_get_inputs(self):
4075 """do_get_inputs(LateralSurfaceConstraint self) -> IMP::ModelObjectsTemp"""
4076 return _IMP_core.LateralSurfaceConstraint_do_get_inputs(self)
4079 def do_get_outputs(self):
4080 """do_get_outputs(LateralSurfaceConstraint self) -> IMP::ModelObjectsTemp"""
4081 return _IMP_core.LateralSurfaceConstraint_do_get_outputs(self)
4084 def get_version_info(self):
4085 """get_version_info(LateralSurfaceConstraint self) -> VersionInfo"""
4086 return _IMP_core.LateralSurfaceConstraint_get_version_info(self)
4090 """__str__(LateralSurfaceConstraint self) -> std::string"""
4091 return _IMP_core.LateralSurfaceConstraint___str__(self)
4095 """__repr__(LateralSurfaceConstraint self) -> std::string"""
4096 return _IMP_core.LateralSurfaceConstraint___repr__(self)
4101 return _object_cast_to_LateralSurfaceConstraint(o)
4103 LateralSurfaceConstraint_swigregister = _IMP_core.LateralSurfaceConstraint_swigregister
4104 LateralSurfaceConstraint_swigregister(LateralSurfaceConstraint)
4107 """Proxy of C++ IMP::core::AngleTripletScore class"""
4108 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4110 def __init__(self, f):
4111 """__init__(IMP::core::AngleTripletScore self, UnaryFunction f) -> AngleTripletScore"""
4112 this = _IMP_core.new_AngleTripletScore(f)
4114 self.this.append(this)
4118 def do_get_inputs(self, m, pis):
4119 """do_get_inputs(AngleTripletScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4120 return _IMP_core.AngleTripletScore_do_get_inputs(self, m, pis)
4123 def get_version_info(self):
4124 """get_version_info(AngleTripletScore self) -> VersionInfo"""
4125 return _IMP_core.AngleTripletScore_get_version_info(self)
4129 """__str__(AngleTripletScore self) -> std::string"""
4130 return _IMP_core.AngleTripletScore___str__(self)
4134 """__repr__(AngleTripletScore self) -> std::string"""
4135 return _IMP_core.AngleTripletScore___repr__(self)
4140 return _object_cast_to_AngleTripletScore(o)
4142 AngleTripletScore_swigregister = _IMP_core.AngleTripletScore_swigregister
4143 AngleTripletScore_swigregister(AngleTripletScore)
4145 class BallMover(MonteCarloMover):
4146 """Proxy of C++ IMP::core::BallMover class"""
4147 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4149 def __init__(self, *args):
4151 __init__(IMP::core::BallMover self, Model m, ParticleIndex pi, IMP::FloatKeys const & vars, double radius) -> BallMover
4152 __init__(IMP::core::BallMover self, Model m, ParticleIndex pi, double radius) -> BallMover
4153 __init__(IMP::core::BallMover self, Model m, IMP::ParticleIndexes const & pis, IMP::FloatKeys const & vars, IMP::Float radius) -> BallMover
4154 __init__(IMP::core::BallMover self, Model m, IMP::ParticleIndexes const & pis, IMP::Float radius) -> BallMover
4156 this = _IMP_core.new_BallMover(*args)
4158 self.this.append(this)
4162 def set_radius(self, radius):
4163 """set_radius(BallMover self, IMP::Float radius)"""
4164 return _IMP_core.BallMover_set_radius(self, radius)
4167 def get_radius(self):
4168 """get_radius(BallMover self) -> IMP::Float"""
4169 return _IMP_core.BallMover_get_radius(self)
4172 def get_version_info(self):
4173 """get_version_info(BallMover self) -> VersionInfo"""
4174 return _IMP_core.BallMover_get_version_info(self)
4178 """__str__(BallMover self) -> std::string"""
4179 return _IMP_core.BallMover___str__(self)
4183 """__repr__(BallMover self) -> std::string"""
4184 return _IMP_core.BallMover___repr__(self)
4189 return _object_cast_to_BallMover(o)
4191 BallMover_swigregister = _IMP_core.BallMover_swigregister
4192 BallMover_swigregister(BallMover)
4194 class SerialMover(MonteCarloMover):
4195 """Proxy of C++ IMP::core::SerialMover class"""
4196 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4198 def __init__(self, mvs):
4199 """__init__(IMP::core::SerialMover self, IMP::core::MonteCarloMoversTemp const & mvs) -> SerialMover"""
4200 this = _IMP_core.new_SerialMover(mvs)
4202 self.this.append(this)
4206 def get_movers(self):
4207 """get_movers(SerialMover self) -> IMP::core::MonteCarloMovers const &"""
4208 return _IMP_core.SerialMover_get_movers(self)
4211 def get_version_info(self):
4212 """get_version_info(SerialMover self) -> VersionInfo"""
4213 return _IMP_core.SerialMover_get_version_info(self)
4217 """__str__(SerialMover self) -> std::string"""
4218 return _IMP_core.SerialMover___str__(self)
4222 """__repr__(SerialMover self) -> std::string"""
4223 return _IMP_core.SerialMover___repr__(self)
4228 return _object_cast_to_SerialMover(o)
4230 SerialMover_swigregister = _IMP_core.SerialMover_swigregister
4231 SerialMover_swigregister(SerialMover)
4233 class SubsetMover(MonteCarloMover):
4234 """Proxy of C++ IMP::core::SubsetMover class"""
4235 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4237 def __init__(self, mvs, n):
4238 """__init__(IMP::core::SubsetMover self, IMP::core::MonteCarloMoversTemp const & mvs, unsigned int n) -> SubsetMover"""
4239 this = _IMP_core.new_SubsetMover(mvs, n)
4241 self.this.append(this)
4245 def get_movers(self):
4246 """get_movers(SubsetMover self) -> IMP::core::MonteCarloMovers const &"""
4247 return _IMP_core.SubsetMover_get_movers(self)
4250 def get_subset_size(self):
4251 """get_subset_size(SubsetMover self) -> unsigned int"""
4252 return _IMP_core.SubsetMover_get_subset_size(self)
4255 def get_version_info(self):
4256 """get_version_info(SubsetMover self) -> VersionInfo"""
4257 return _IMP_core.SubsetMover_get_version_info(self)
4261 """__str__(SubsetMover self) -> std::string"""
4262 return _IMP_core.SubsetMover___str__(self)
4266 """__repr__(SubsetMover self) -> std::string"""
4267 return _IMP_core.SubsetMover___repr__(self)
4272 return _object_cast_to_SubsetMover(o)
4274 SubsetMover_swigregister = _IMP_core.SubsetMover_swigregister
4275 SubsetMover_swigregister(SubsetMover)
4277 class DirectionMover(MonteCarloMover):
4278 """Proxy of C++ IMP::core::DirectionMover class"""
4279 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4281 def __init__(self, *args):
4283 __init__(IMP::core::DirectionMover self, Model m, ParticleIndex pi, IMP::Float max_rotation, IMP::Float reflect_probability) -> DirectionMover
4284 __init__(IMP::core::DirectionMover self, Direction d, IMP::Float max_rotation, IMP::Float reflect_probability) -> DirectionMover
4286 this = _IMP_core.new_DirectionMover(*args)
4288 self.this.append(this)
4292 def set_maximum_rotation(self, mr):
4293 """set_maximum_rotation(DirectionMover self, IMP::Float mr)"""
4294 return _IMP_core.DirectionMover_set_maximum_rotation(self, mr)
4297 def set_reflect_probability(self, rp):
4298 """set_reflect_probability(DirectionMover self, IMP::Float rp)"""
4299 return _IMP_core.DirectionMover_set_reflect_probability(self, rp)
4302 def get_maximum_rotation(self):
4303 """get_maximum_rotation(DirectionMover self) -> IMP::Float"""
4304 return _IMP_core.DirectionMover_get_maximum_rotation(self)
4307 def get_reflect_probability(self):
4308 """get_reflect_probability(DirectionMover self) -> IMP::Float"""
4309 return _IMP_core.DirectionMover_get_reflect_probability(self)
4312 def get_direction(self):
4313 """get_direction(DirectionMover self) -> Direction"""
4314 return _IMP_core.DirectionMover_get_direction(self)
4317 def get_version_info(self):
4318 """get_version_info(DirectionMover self) -> VersionInfo"""
4319 return _IMP_core.DirectionMover_get_version_info(self)
4323 """__str__(DirectionMover self) -> std::string"""
4324 return _IMP_core.DirectionMover___str__(self)
4328 """__repr__(DirectionMover self) -> std::string"""
4329 return _IMP_core.DirectionMover___repr__(self)
4334 return _object_cast_to_DirectionMover(o)
4336 DirectionMover_swigregister = _IMP_core.DirectionMover_swigregister
4337 DirectionMover_swigregister(DirectionMover)
4339 class SurfaceMover(MonteCarloMover):
4340 """Proxy of C++ IMP::core::SurfaceMover class"""
4341 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4343 def __init__(self, *args):
4345 __init__(IMP::core::SurfaceMover self, Model m, ParticleIndex pi, IMP::Float max_translation, IMP::Float max_rotation, IMP::Float reflect_probability) -> SurfaceMover
4346 __init__(IMP::core::SurfaceMover self, Surface s, IMP::Float max_translation, IMP::Float max_rotation, IMP::Float reflect_probability) -> SurfaceMover
4348 this = _IMP_core.new_SurfaceMover(*args)
4350 self.this.append(this)
4354 def set_maximum_translation(self, mt):
4355 """set_maximum_translation(SurfaceMover self, IMP::Float mt)"""
4356 return _IMP_core.SurfaceMover_set_maximum_translation(self, mt)
4359 def set_maximum_rotation(self, mr):
4360 """set_maximum_rotation(SurfaceMover self, IMP::Float mr)"""
4361 return _IMP_core.SurfaceMover_set_maximum_rotation(self, mr)
4364 def set_reflect_probability(self, rp):
4365 """set_reflect_probability(SurfaceMover self, IMP::Float rp)"""
4366 return _IMP_core.SurfaceMover_set_reflect_probability(self, rp)
4369 def get_maximum_translation(self):
4370 """get_maximum_translation(SurfaceMover self) -> IMP::Float"""
4371 return _IMP_core.SurfaceMover_get_maximum_translation(self)
4374 def get_maximum_rotation(self):
4375 """get_maximum_rotation(SurfaceMover self) -> IMP::Float"""
4376 return _IMP_core.SurfaceMover_get_maximum_rotation(self)
4379 def get_reflect_probability(self):
4380 """get_reflect_probability(SurfaceMover self) -> IMP::Float"""
4381 return _IMP_core.SurfaceMover_get_reflect_probability(self)
4384 def get_surface(self):
4385 """get_surface(SurfaceMover self) -> Surface"""
4386 return _IMP_core.SurfaceMover_get_surface(self)
4389 def get_version_info(self):
4390 """get_version_info(SurfaceMover self) -> VersionInfo"""
4391 return _IMP_core.SurfaceMover_get_version_info(self)
4395 """__str__(SurfaceMover self) -> std::string"""
4396 return _IMP_core.SurfaceMover___str__(self)
4400 """__repr__(SurfaceMover self) -> std::string"""
4401 return _IMP_core.SurfaceMover___repr__(self)
4406 return _object_cast_to_SurfaceMover(o)
4408 SurfaceMover_swigregister = _IMP_core.SurfaceMover_swigregister
4409 SurfaceMover_swigregister(SurfaceMover)
4411 class BoxSweepClosePairsFinder(ClosePairsFinder):
4412 """Proxy of C++ IMP::core::BoxSweepClosePairsFinder class"""
4413 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4416 """__init__(IMP::core::BoxSweepClosePairsFinder self) -> BoxSweepClosePairsFinder"""
4417 this = _IMP_core.new_BoxSweepClosePairsFinder()
4419 self.this.append(this)
4423 def get_close_pairs(self, *args):
4425 get_close_pairs(BoxSweepClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
4426 get_close_pairs(BoxSweepClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
4427 get_close_pairs(BoxSweepClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
4428 get_close_pairs(BoxSweepClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
4430 return _IMP_core.BoxSweepClosePairsFinder_get_close_pairs(self, *args)
4433 def do_get_inputs(self, m, pis):
4434 """do_get_inputs(BoxSweepClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4435 return _IMP_core.BoxSweepClosePairsFinder_do_get_inputs(self, m, pis)
4438 def get_version_info(self):
4439 """get_version_info(BoxSweepClosePairsFinder self) -> VersionInfo"""
4440 return _IMP_core.BoxSweepClosePairsFinder_get_version_info(self)
4444 """__str__(BoxSweepClosePairsFinder self) -> std::string"""
4445 return _IMP_core.BoxSweepClosePairsFinder___str__(self)
4449 """__repr__(BoxSweepClosePairsFinder self) -> std::string"""
4450 return _IMP_core.BoxSweepClosePairsFinder___repr__(self)
4455 return _object_cast_to_BoxSweepClosePairsFinder(o)
4457 BoxSweepClosePairsFinder_swigregister = _IMP_core.BoxSweepClosePairsFinder_swigregister
4458 BoxSweepClosePairsFinder_swigregister(BoxSweepClosePairsFinder)
4461 """Proxy of C++ IMP::core::CentroidOfRefined class"""
4462 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4464 def __init__(self, *args):
4466 __init__(IMP::core::CentroidOfRefined self, Refiner r, FloatKey weight, IMP::FloatKeys ks) -> CentroidOfRefined
4467 __init__(IMP::core::CentroidOfRefined self, Refiner r, FloatKey weight) -> CentroidOfRefined
4468 __init__(IMP::core::CentroidOfRefined self, Refiner r) -> CentroidOfRefined
4470 this = _IMP_core.new_CentroidOfRefined(*args)
4472 self.this.append(this)
4476 def do_get_inputs(self, m, pis):
4477 """do_get_inputs(CentroidOfRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4478 return _IMP_core.CentroidOfRefined_do_get_inputs(self, m, pis)
4481 def do_get_outputs(self, m, pis):
4482 """do_get_outputs(CentroidOfRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4483 return _IMP_core.CentroidOfRefined_do_get_outputs(self, m, pis)
4486 def get_version_info(self):
4487 """get_version_info(CentroidOfRefined self) -> VersionInfo"""
4488 return _IMP_core.CentroidOfRefined_get_version_info(self)
4492 """__str__(CentroidOfRefined self) -> std::string"""
4493 return _IMP_core.CentroidOfRefined___str__(self)
4497 """__repr__(CentroidOfRefined self) -> std::string"""
4498 return _IMP_core.CentroidOfRefined___repr__(self)
4503 return _object_cast_to_CentroidOfRefined(o)
4505 CentroidOfRefined_swigregister = _IMP_core.CentroidOfRefined_swigregister
4506 CentroidOfRefined_swigregister(CentroidOfRefined)
4508 class Centroid(XYZ):
4509 """Proxy of C++ IMP::core::Centroid class"""
4510 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4512 def get_constraint(self):
4513 """get_constraint(Centroid self) -> Constraint"""
4514 return _IMP_core.Centroid_get_constraint(self)
4517 def __init__(self, *args):
4519 __init__(IMP::core::Centroid self) -> Centroid
4520 __init__(IMP::core::Centroid self, Model m, ParticleIndex id) -> Centroid
4521 __init__(IMP::core::Centroid self, _ParticleAdaptor d) -> Centroid
4523 this = _IMP_core.new_Centroid(*args)
4525 self.this.append(this)
4529 def show(self, *args):
4531 show(Centroid self, _ostream out)
4534 return _IMP_core.Centroid_show(self, *args)
4537 def setup_particle(*args):
4539 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor members) -> Centroid
4540 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> Centroid
4541 setup_particle(Model m, ParticleIndex pi, Refiner refiner) -> Centroid
4542 setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> Centroid
4544 return _IMP_core.Centroid_setup_particle(*args)
4546 setup_particle = staticmethod(setup_particle)
4548 def get_is_setup(*args):
4550 get_is_setup(_ParticleAdaptor p) -> bool
4551 get_is_setup(Model m, ParticleIndex pi) -> bool
4553 return _IMP_core.Centroid_get_is_setup(*args)
4555 get_is_setup = staticmethod(get_is_setup)
4557 def add_attribute(self, *args):
4559 add_attribute(Centroid self, FloatKey k, IMP::Float v, bool opt)
4560 add_attribute(Centroid self, FloatKey a0, IMP::Float a1)
4561 add_attribute(Centroid self, IntKey a0, IMP::Int a1)
4562 add_attribute(Centroid self, FloatsKey a0, IMP::Floats a1)
4563 add_attribute(Centroid self, IntsKey a0, IMP::Ints a1)
4564 add_attribute(Centroid self, StringKey a0, IMP::String a1)
4565 add_attribute(Centroid self, ParticleIndexKey a0, Particle a1)
4566 add_attribute(Centroid self, ObjectKey a0, Object a1)
4568 return _IMP_core.Centroid_add_attribute(self, *args)
4571 def get_value(self, *args):
4573 get_value(Centroid self, FloatKey a0) -> IMP::Float
4574 get_value(Centroid self, IntKey a0) -> IMP::Int
4575 get_value(Centroid self, FloatsKey a0) -> IMP::Floats
4576 get_value(Centroid self, IntsKey a0) -> IMP::Ints
4577 get_value(Centroid self, StringKey a0) -> IMP::String
4578 get_value(Centroid self, ParticleIndexKey a0) -> Particle
4579 get_value(Centroid self, ObjectKey a0) -> Object
4581 return _IMP_core.Centroid_get_value(self, *args)
4584 def set_value(self, *args):
4586 set_value(Centroid self, FloatKey a0, IMP::Float a1)
4587 set_value(Centroid self, IntKey a0, IMP::Int a1)
4588 set_value(Centroid self, FloatsKey a0, IMP::Floats a1)
4589 set_value(Centroid self, IntsKey a0, IMP::Ints a1)
4590 set_value(Centroid self, StringKey a0, IMP::String a1)
4591 set_value(Centroid self, ParticleIndexKey a0, Particle a1)
4592 set_value(Centroid self, ObjectKey a0, Object a1)
4594 return _IMP_core.Centroid_set_value(self, *args)
4597 def remove_attribute(self, *args):
4599 remove_attribute(Centroid self, FloatKey a0)
4600 remove_attribute(Centroid self, IntKey a0)
4601 remove_attribute(Centroid self, FloatsKey a0)
4602 remove_attribute(Centroid self, IntsKey a0)
4603 remove_attribute(Centroid self, StringKey a0)
4604 remove_attribute(Centroid self, ParticleIndexKey a0)
4605 remove_attribute(Centroid self, ObjectKey a0)
4607 return _IMP_core.Centroid_remove_attribute(self, *args)
4610 def has_attribute(self, *args):
4612 has_attribute(Centroid self, FloatKey a0) -> bool
4613 has_attribute(Centroid self, IntKey a0) -> bool
4614 has_attribute(Centroid self, FloatsKey a0) -> bool
4615 has_attribute(Centroid self, IntsKey a0) -> bool
4616 has_attribute(Centroid self, StringKey a0) -> bool
4617 has_attribute(Centroid self, ParticleIndexKey a0) -> bool
4618 has_attribute(Centroid self, ObjectKey a0) -> bool
4620 return _IMP_core.Centroid_has_attribute(self, *args)
4623 def get_derivative(self, a0):
4624 """get_derivative(Centroid self, FloatKey a0) -> double"""
4625 return _IMP_core.Centroid_get_derivative(self, a0)
4629 """get_name(Centroid self) -> std::string"""
4630 return _IMP_core.Centroid_get_name(self)
4633 def clear_caches(self):
4634 """clear_caches(Centroid self)"""
4635 return _IMP_core.Centroid_clear_caches(self)
4638 def set_name(self, a0):
4639 """set_name(Centroid self, std::string a0)"""
4640 return _IMP_core.Centroid_set_name(self, a0)
4644 """set_check_level(Centroid self, IMP::CheckLevel a0)"""
4645 return _IMP_core.Centroid_set_check_level(self, a0)
4648 def add_to_derivative(self, a0, a1, a2):
4649 """add_to_derivative(Centroid self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
4650 return _IMP_core.Centroid_add_to_derivative(self, a0, a1, a2)
4653 def set_is_optimized(self, a0, a1):
4654 """set_is_optimized(Centroid self, FloatKey a0, bool a1)"""
4655 return _IMP_core.Centroid_set_is_optimized(self, a0, a1)
4658 def get_is_optimized(self, a0):
4659 """get_is_optimized(Centroid self, FloatKey a0) -> bool"""
4660 return _IMP_core.Centroid_get_is_optimized(self, a0)
4664 """get_check_level(Centroid self) -> IMP::CheckLevel"""
4665 return _IMP_core.Centroid_get_check_level(self)
4668 def __eq__(self, *args):
4670 __eq__(Centroid self, Centroid o) -> bool
4671 __eq__(Centroid self, Particle d) -> bool
4673 return _IMP_core.Centroid___eq__(self, *args)
4676 def __ne__(self, *args):
4678 __ne__(Centroid self, Centroid o) -> bool
4679 __ne__(Centroid self, Particle d) -> bool
4681 return _IMP_core.Centroid___ne__(self, *args)
4684 def __le__(self, *args):
4686 __le__(Centroid self, Centroid o) -> bool
4687 __le__(Centroid self, Particle d) -> bool
4689 return _IMP_core.Centroid___le__(self, *args)
4692 def __lt__(self, *args):
4694 __lt__(Centroid self, Centroid o) -> bool
4695 __lt__(Centroid self, Particle d) -> bool
4697 return _IMP_core.Centroid___lt__(self, *args)
4700 def __ge__(self, *args):
4702 __ge__(Centroid self, Centroid o) -> bool
4703 __ge__(Centroid self, Particle d) -> bool
4705 return _IMP_core.Centroid___ge__(self, *args)
4708 def __gt__(self, *args):
4710 __gt__(Centroid self, Centroid o) -> bool
4711 __gt__(Centroid self, Particle d) -> bool
4713 return _IMP_core.Centroid___gt__(self, *args)
4717 """__hash__(Centroid self) -> std::size_t"""
4718 return _IMP_core.Centroid___hash__(self)
4722 """__str__(Centroid self) -> std::string"""
4723 return _IMP_core.Centroid___str__(self)
4727 """__repr__(Centroid self) -> std::string"""
4728 return _IMP_core.Centroid___repr__(self)
4730 __swig_destroy__ = _IMP_core.delete_Centroid
4731 __del__ =
lambda self:
None
4732 Centroid_swigregister = _IMP_core.Centroid_swigregister
4733 Centroid_swigregister(Centroid)
4735 def Centroid_setup_particle(*args):
4737 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor members) -> Centroid
4738 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> Centroid
4739 setup_particle(Model m, ParticleIndex pi, Refiner refiner) -> Centroid
4740 Centroid_setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> Centroid
4742 return _IMP_core.Centroid_setup_particle(*args)
4744 def Centroid_get_is_setup(*args):
4746 get_is_setup(_ParticleAdaptor p) -> bool
4747 Centroid_get_is_setup(Model m, ParticleIndex pi) -> bool
4749 return _IMP_core.Centroid_get_is_setup(*args)
4752 """Proxy of C++ IMP::core::ChecksScoreState class"""
4753 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4755 def __init__(self, m, probability):
4756 """__init__(IMP::core::ChecksScoreState self, Model m, double probability) -> ChecksScoreState"""
4757 this = _IMP_core.new_ChecksScoreState(m, probability)
4759 self.this.append(this)
4763 def get_number_of_checked(self):
4764 """get_number_of_checked(ChecksScoreState self) -> unsigned int"""
4765 return _IMP_core.ChecksScoreState_get_number_of_checked(self)
4768 def do_before_evaluate(self):
4769 """do_before_evaluate(ChecksScoreState self)"""
4770 return _IMP_core.ChecksScoreState_do_before_evaluate(self)
4773 def do_after_evaluate(self, da):
4774 """do_after_evaluate(ChecksScoreState self, DerivativeAccumulator da)"""
4775 return _IMP_core.ChecksScoreState_do_after_evaluate(self, da)
4778 def do_get_outputs(self):
4779 """do_get_outputs(ChecksScoreState self) -> IMP::ModelObjectsTemp"""
4780 return _IMP_core.ChecksScoreState_do_get_outputs(self)
4783 def do_get_inputs(self):
4784 """do_get_inputs(ChecksScoreState self) -> IMP::ModelObjectsTemp"""
4785 return _IMP_core.ChecksScoreState_do_get_inputs(self)
4788 def get_version_info(self):
4789 """get_version_info(ChecksScoreState self) -> VersionInfo"""
4790 return _IMP_core.ChecksScoreState_get_version_info(self)
4794 """__str__(ChecksScoreState self) -> std::string"""
4795 return _IMP_core.ChecksScoreState___str__(self)
4799 """__repr__(ChecksScoreState self) -> std::string"""
4800 return _IMP_core.ChecksScoreState___repr__(self)
4805 return _object_cast_to_ChecksScoreState(o)
4807 ChecksScoreState_swigregister = _IMP_core.ChecksScoreState_swigregister
4808 ChecksScoreState_swigregister(ChecksScoreState)
4811 """Proxy of C++ IMP::core::ChildrenRefiner class"""
4812 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4814 def __init__(self, tr):
4815 """__init__(IMP::core::ChildrenRefiner self, HierarchyTraits tr) -> ChildrenRefiner"""
4816 this = _IMP_core.new_ChildrenRefiner(tr)
4818 self.this.append(this)
4822 def do_get_inputs(self, m, pis):
4823 """do_get_inputs(ChildrenRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4824 return _IMP_core.ChildrenRefiner_do_get_inputs(self, m, pis)
4827 def get_version_info(self):
4828 """get_version_info(ChildrenRefiner self) -> VersionInfo"""
4829 return _IMP_core.ChildrenRefiner_get_version_info(self)
4833 """__str__(ChildrenRefiner self) -> std::string"""
4834 return _IMP_core.ChildrenRefiner___str__(self)
4838 """__repr__(ChildrenRefiner self) -> std::string"""
4839 return _IMP_core.ChildrenRefiner___repr__(self)
4844 return _object_cast_to_ChildrenRefiner(o)
4846 ChildrenRefiner_swigregister = _IMP_core.ChildrenRefiner_swigregister
4847 ChildrenRefiner_swigregister(ChildrenRefiner)
4850 """Proxy of C++ IMP::core::ClosedCubicSpline class"""
4851 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4853 def __init__(self, values, minrange, spacing):
4854 """__init__(IMP::core::ClosedCubicSpline self, IMP::Floats const & values, double minrange, double spacing) -> ClosedCubicSpline"""
4855 this = _IMP_core.new_ClosedCubicSpline(values, minrange, spacing)
4857 self.this.append(this)
4861 def get_version_info(self):
4862 """get_version_info(ClosedCubicSpline self) -> VersionInfo"""
4863 return _IMP_core.ClosedCubicSpline_get_version_info(self)
4866 def do_show(self, out):
4867 """do_show(ClosedCubicSpline self, _ostream out)"""
4868 return _IMP_core.ClosedCubicSpline_do_show(self, out)
4872 """__str__(ClosedCubicSpline self) -> std::string"""
4873 return _IMP_core.ClosedCubicSpline___str__(self)
4877 """__repr__(ClosedCubicSpline self) -> std::string"""
4878 return _IMP_core.ClosedCubicSpline___repr__(self)
4883 return _object_cast_to_ClosedCubicSpline(o)
4885 ClosedCubicSpline_swigregister = _IMP_core.ClosedCubicSpline_swigregister
4886 ClosedCubicSpline_swigregister(ClosedCubicSpline)
4889 """Proxy of C++ IMP::core::KClosePairsPairScore class"""
4890 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4892 def __init__(self, f, r, k=1):
4894 __init__(IMP::core::KClosePairsPairScore self, PairScore f, Refiner r, int k=1) -> KClosePairsPairScore
4895 __init__(IMP::core::KClosePairsPairScore self, PairScore f, Refiner r) -> KClosePairsPairScore
4897 this = _IMP_core.new_KClosePairsPairScore(f, r, k)
4899 self.this.append(this)
4903 def get_close_pairs(self, pp):
4904 """get_close_pairs(KClosePairsPairScore self, IMP::ParticlePair const & pp) -> IMP::ParticlePairsTemp"""
4905 return _IMP_core.KClosePairsPairScore_get_close_pairs(self, pp)
4908 def create_current_decomposition(self, m, vt):
4909 """create_current_decomposition(KClosePairsPairScore self, Model m, IMP::ParticleIndexPair const & vt) -> IMP::Restraints"""
4910 return _IMP_core.KClosePairsPairScore_create_current_decomposition(self, m, vt)
4913 def do_get_inputs(self, m, pis):
4914 """do_get_inputs(KClosePairsPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4915 return _IMP_core.KClosePairsPairScore_do_get_inputs(self, m, pis)
4918 def get_version_info(self):
4919 """get_version_info(KClosePairsPairScore self) -> VersionInfo"""
4920 return _IMP_core.KClosePairsPairScore_get_version_info(self)
4924 """__str__(KClosePairsPairScore self) -> std::string"""
4925 return _IMP_core.KClosePairsPairScore___str__(self)
4929 """__repr__(KClosePairsPairScore self) -> std::string"""
4930 return _IMP_core.KClosePairsPairScore___repr__(self)
4935 return _object_cast_to_KClosePairsPairScore(o)
4937 KClosePairsPairScore_swigregister = _IMP_core.KClosePairsPairScore_swigregister
4938 KClosePairsPairScore_swigregister(KClosePairsPairScore)
4941 """Proxy of C++ IMP::core::ClosePairsPairScore class"""
4942 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4944 def __init__(self, f, r, max_distance):
4945 """__init__(IMP::core::ClosePairsPairScore self, PairScore f, Refiner r, IMP::Float max_distance) -> ClosePairsPairScore"""
4946 this = _IMP_core.new_ClosePairsPairScore(f, r, max_distance)
4948 self.this.append(this)
4952 def get_close_pairs(self, pp):
4953 """get_close_pairs(ClosePairsPairScore self, IMP::ParticlePair const & pp) -> IMP::ParticlePairsTemp"""
4954 return _IMP_core.ClosePairsPairScore_get_close_pairs(self, pp)
4957 def create_current_decomposition(self, m, vt):
4958 """create_current_decomposition(ClosePairsPairScore self, Model m, IMP::ParticleIndexPair const & vt) -> IMP::Restraints"""
4959 return _IMP_core.ClosePairsPairScore_create_current_decomposition(self, m, vt)
4962 def do_get_inputs(self, m, pis):
4963 """do_get_inputs(ClosePairsPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4964 return _IMP_core.ClosePairsPairScore_do_get_inputs(self, m, pis)
4967 def get_version_info(self):
4968 """get_version_info(ClosePairsPairScore self) -> VersionInfo"""
4969 return _IMP_core.ClosePairsPairScore_get_version_info(self)
4973 """__str__(ClosePairsPairScore self) -> std::string"""
4974 return _IMP_core.ClosePairsPairScore___str__(self)
4978 """__repr__(ClosePairsPairScore self) -> std::string"""
4979 return _IMP_core.ClosePairsPairScore___repr__(self)
4984 return _object_cast_to_ClosePairsPairScore(o)
4986 ClosePairsPairScore_swigregister = _IMP_core.ClosePairsPairScore_swigregister
4987 ClosePairsPairScore_swigregister(ClosePairsPairScore)
4990 """Proxy of C++ IMP::core::ConjugateGradients class"""
4991 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4993 def __init__(self, *args):
4995 __init__(IMP::core::ConjugateGradients self, Model m, std::string name) -> ConjugateGradients
4996 __init__(IMP::core::ConjugateGradients self, Model m) -> ConjugateGradients
4998 this = _IMP_core.new_ConjugateGradients(*args)
5000 self.this.append(this)
5004 def set_gradient_threshold(self, t):
5005 """set_gradient_threshold(ConjugateGradients self, IMP::Float t)"""
5006 return _IMP_core.ConjugateGradients_set_gradient_threshold(self, t)
5009 def set_threshold(self, t):
5010 """set_threshold(ConjugateGradients self, IMP::Float t)"""
5011 return _IMP_core.ConjugateGradients_set_threshold(self, t)
5014 def set_max_change(self, t):
5015 """set_max_change(ConjugateGradients self, IMP::Float t)"""
5016 return _IMP_core.ConjugateGradients_set_max_change(self, t)
5019 def do_optimize(self, max_steps):
5020 """do_optimize(ConjugateGradients self, unsigned int max_steps) -> IMP::Float"""
5021 return _IMP_core.ConjugateGradients_do_optimize(self, max_steps)
5024 def get_version_info(self):
5025 """get_version_info(ConjugateGradients self) -> VersionInfo"""
5026 return _IMP_core.ConjugateGradients_get_version_info(self)
5030 """__str__(ConjugateGradients self) -> std::string"""
5031 return _IMP_core.ConjugateGradients___str__(self)
5035 """__repr__(ConjugateGradients self) -> std::string"""
5036 return _IMP_core.ConjugateGradients___repr__(self)
5041 return _object_cast_to_ConjugateGradients(o)
5043 ConjugateGradients_swigregister = _IMP_core.ConjugateGradients_swigregister
5044 ConjugateGradients_swigregister(ConjugateGradients)
5047 """Proxy of C++ IMP::core::ConnectivityRestraint class"""
5048 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5050 def __init__(self, ps, sc):
5051 """__init__(IMP::core::ConnectivityRestraint self, PairScore ps, _SingletonContainerAdaptor sc) -> ConnectivityRestraint"""
5052 this = _IMP_core.new_ConnectivityRestraint(ps, sc)
5054 self.this.append(this)
5058 def get_connected_index_pairs(self):
5059 """get_connected_index_pairs(ConnectivityRestraint self) -> IMP::ParticleIndexPairs"""
5060 return _IMP_core.ConnectivityRestraint_get_connected_index_pairs(self)
5063 def get_pair_score(self):
5064 """get_pair_score(ConnectivityRestraint self) -> PairScore"""
5065 return _IMP_core.ConnectivityRestraint_get_pair_score(self)
5068 def do_create_current_decomposition(self):
5069 """do_create_current_decomposition(ConnectivityRestraint self) -> IMP::Restraints"""
5070 return _IMP_core.ConnectivityRestraint_do_create_current_decomposition(self)
5073 def do_get_inputs(self):
5074 """do_get_inputs(ConnectivityRestraint self) -> IMP::ModelObjectsTemp"""
5075 return _IMP_core.ConnectivityRestraint_do_get_inputs(self)
5078 def get_version_info(self):
5079 """get_version_info(ConnectivityRestraint self) -> VersionInfo"""
5080 return _IMP_core.ConnectivityRestraint_get_version_info(self)
5084 """__str__(ConnectivityRestraint self) -> std::string"""
5085 return _IMP_core.ConnectivityRestraint___str__(self)
5089 """__repr__(ConnectivityRestraint self) -> std::string"""
5090 return _IMP_core.ConnectivityRestraint___repr__(self)
5095 return _object_cast_to_ConnectivityRestraint(o)
5097 ConnectivityRestraint_swigregister = _IMP_core.ConnectivityRestraint_swigregister
5098 ConnectivityRestraint_swigregister(ConnectivityRestraint)
5101 """Proxy of C++ IMP::core::ConstantRestraint class"""
5102 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5104 def __init__(self, m, v):
5105 """__init__(IMP::core::ConstantRestraint self, Model m, IMP::Float v) -> ConstantRestraint"""
5106 this = _IMP_core.new_ConstantRestraint(m, v)
5108 self.this.append(this)
5112 def do_get_inputs(self):
5113 """do_get_inputs(ConstantRestraint self) -> IMP::ModelObjectsTemp"""
5114 return _IMP_core.ConstantRestraint_do_get_inputs(self)
5117 def get_version_info(self):
5118 """get_version_info(ConstantRestraint self) -> VersionInfo"""
5119 return _IMP_core.ConstantRestraint_get_version_info(self)
5123 """__str__(ConstantRestraint self) -> std::string"""
5124 return _IMP_core.ConstantRestraint___str__(self)
5128 """__repr__(ConstantRestraint self) -> std::string"""
5129 return _IMP_core.ConstantRestraint___repr__(self)
5134 return _object_cast_to_ConstantRestraint(o)
5136 ConstantRestraint_swigregister = _IMP_core.ConstantRestraint_swigregister
5137 ConstantRestraint_swigregister(ConstantRestraint)
5140 """Proxy of C++ IMP::core::Cosine class"""
5141 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5143 def __init__(self, force_constant, periodicity, phase):
5144 """__init__(IMP::core::Cosine self, IMP::Float force_constant, int periodicity, IMP::Float phase) -> Cosine"""
5145 this = _IMP_core.new_Cosine(force_constant, periodicity, phase)
5147 self.this.append(this)
5151 def get_version_info(self):
5152 """get_version_info(Cosine self) -> VersionInfo"""
5153 return _IMP_core.Cosine_get_version_info(self)
5156 def do_show(self, out):
5157 """do_show(Cosine self, _ostream out)"""
5158 return _IMP_core.Cosine_do_show(self, out)
5162 """__str__(Cosine self) -> std::string"""
5163 return _IMP_core.Cosine___str__(self)
5167 """__repr__(Cosine self) -> std::string"""
5168 return _IMP_core.Cosine___repr__(self)
5173 return _object_cast_to_Cosine(o)
5175 Cosine_swigregister = _IMP_core.Cosine_swigregister
5176 Cosine_swigregister(Cosine)
5179 """Proxy of C++ IMP::core::CoverRefined class"""
5180 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5182 def __init__(self, ref, slack=0):
5184 __init__(IMP::core::CoverRefined self, Refiner ref, IMP::Float slack=0) -> CoverRefined
5185 __init__(IMP::core::CoverRefined self, Refiner ref) -> CoverRefined
5187 this = _IMP_core.new_CoverRefined(ref, slack)
5189 self.this.append(this)
5193 def set_slack(self, slack):
5194 """set_slack(CoverRefined self, IMP::Float slack)"""
5195 return _IMP_core.CoverRefined_set_slack(self, slack)
5198 def do_get_inputs(self, m, pis):
5199 """do_get_inputs(CoverRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5200 return _IMP_core.CoverRefined_do_get_inputs(self, m, pis)
5203 def do_get_outputs(self, m, pis):
5204 """do_get_outputs(CoverRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5205 return _IMP_core.CoverRefined_do_get_outputs(self, m, pis)
5208 def get_version_info(self):
5209 """get_version_info(CoverRefined self) -> VersionInfo"""
5210 return _IMP_core.CoverRefined_get_version_info(self)
5214 """__str__(CoverRefined self) -> std::string"""
5215 return _IMP_core.CoverRefined___str__(self)
5219 """__repr__(CoverRefined self) -> std::string"""
5220 return _IMP_core.CoverRefined___repr__(self)
5225 return _object_cast_to_CoverRefined(o)
5227 CoverRefined_swigregister = _IMP_core.CoverRefined_swigregister
5228 CoverRefined_swigregister(CoverRefined)
5231 """Proxy of C++ IMP::core::Cover class"""
5232 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5234 def get_constraint(self):
5235 """get_constraint(Cover self) -> Constraint"""
5236 return _IMP_core.Cover_get_constraint(self)
5239 def __init__(self, *args):
5241 __init__(IMP::core::Cover self) -> Cover
5242 __init__(IMP::core::Cover self, Model m, ParticleIndex id) -> Cover
5243 __init__(IMP::core::Cover self, _ParticleAdaptor d) -> Cover
5245 this = _IMP_core.new_Cover(*args)
5247 self.this.append(this)
5251 def show(self, *args):
5253 show(Cover self, _ostream out)
5256 return _IMP_core.Cover_show(self, *args)
5259 def setup_particle(*args):
5261 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor members) -> Cover
5262 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> Cover
5263 setup_particle(Model m, ParticleIndex pi, Refiner refiner) -> Cover
5264 setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> Cover
5266 return _IMP_core.Cover_setup_particle(*args)
5268 setup_particle = staticmethod(setup_particle)
5270 def get_is_setup(*args):
5272 get_is_setup(_ParticleAdaptor p) -> bool
5273 get_is_setup(Model m, ParticleIndex pi) -> bool
5275 return _IMP_core.Cover_get_is_setup(*args)
5277 get_is_setup = staticmethod(get_is_setup)
5279 def add_attribute(self, *args):
5281 add_attribute(Cover self, FloatKey k, IMP::Float v, bool opt)
5282 add_attribute(Cover self, FloatKey a0, IMP::Float a1)
5283 add_attribute(Cover self, IntKey a0, IMP::Int a1)
5284 add_attribute(Cover self, FloatsKey a0, IMP::Floats a1)
5285 add_attribute(Cover self, IntsKey a0, IMP::Ints a1)
5286 add_attribute(Cover self, StringKey a0, IMP::String a1)
5287 add_attribute(Cover self, ParticleIndexKey a0, Particle a1)
5288 add_attribute(Cover self, ObjectKey a0, Object a1)
5290 return _IMP_core.Cover_add_attribute(self, *args)
5293 def get_value(self, *args):
5295 get_value(Cover self, FloatKey a0) -> IMP::Float
5296 get_value(Cover self, IntKey a0) -> IMP::Int
5297 get_value(Cover self, FloatsKey a0) -> IMP::Floats
5298 get_value(Cover self, IntsKey a0) -> IMP::Ints
5299 get_value(Cover self, StringKey a0) -> IMP::String
5300 get_value(Cover self, ParticleIndexKey a0) -> Particle
5301 get_value(Cover self, ObjectKey a0) -> Object
5303 return _IMP_core.Cover_get_value(self, *args)
5306 def set_value(self, *args):
5308 set_value(Cover self, FloatKey a0, IMP::Float a1)
5309 set_value(Cover self, IntKey a0, IMP::Int a1)
5310 set_value(Cover self, FloatsKey a0, IMP::Floats a1)
5311 set_value(Cover self, IntsKey a0, IMP::Ints a1)
5312 set_value(Cover self, StringKey a0, IMP::String a1)
5313 set_value(Cover self, ParticleIndexKey a0, Particle a1)
5314 set_value(Cover self, ObjectKey a0, Object a1)
5316 return _IMP_core.Cover_set_value(self, *args)
5319 def remove_attribute(self, *args):
5321 remove_attribute(Cover self, FloatKey a0)
5322 remove_attribute(Cover self, IntKey a0)
5323 remove_attribute(Cover self, FloatsKey a0)
5324 remove_attribute(Cover self, IntsKey a0)
5325 remove_attribute(Cover self, StringKey a0)
5326 remove_attribute(Cover self, ParticleIndexKey a0)
5327 remove_attribute(Cover self, ObjectKey a0)
5329 return _IMP_core.Cover_remove_attribute(self, *args)
5332 def has_attribute(self, *args):
5334 has_attribute(Cover self, FloatKey a0) -> bool
5335 has_attribute(Cover self, IntKey a0) -> bool
5336 has_attribute(Cover self, FloatsKey a0) -> bool
5337 has_attribute(Cover self, IntsKey a0) -> bool
5338 has_attribute(Cover self, StringKey a0) -> bool
5339 has_attribute(Cover self, ParticleIndexKey a0) -> bool
5340 has_attribute(Cover self, ObjectKey a0) -> bool
5342 return _IMP_core.Cover_has_attribute(self, *args)
5345 def get_derivative(self, a0):
5346 """get_derivative(Cover self, FloatKey a0) -> double"""
5347 return _IMP_core.Cover_get_derivative(self, a0)
5351 """get_name(Cover self) -> std::string"""
5352 return _IMP_core.Cover_get_name(self)
5355 def clear_caches(self):
5356 """clear_caches(Cover self)"""
5357 return _IMP_core.Cover_clear_caches(self)
5360 def set_name(self, a0):
5361 """set_name(Cover self, std::string a0)"""
5362 return _IMP_core.Cover_set_name(self, a0)
5366 """set_check_level(Cover self, IMP::CheckLevel a0)"""
5367 return _IMP_core.Cover_set_check_level(self, a0)
5370 def add_to_derivative(self, a0, a1, a2):
5371 """add_to_derivative(Cover self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
5372 return _IMP_core.Cover_add_to_derivative(self, a0, a1, a2)
5375 def set_is_optimized(self, a0, a1):
5376 """set_is_optimized(Cover self, FloatKey a0, bool a1)"""
5377 return _IMP_core.Cover_set_is_optimized(self, a0, a1)
5380 def get_is_optimized(self, a0):
5381 """get_is_optimized(Cover self, FloatKey a0) -> bool"""
5382 return _IMP_core.Cover_get_is_optimized(self, a0)
5386 """get_check_level(Cover self) -> IMP::CheckLevel"""
5387 return _IMP_core.Cover_get_check_level(self)
5390 def __eq__(self, *args):
5392 __eq__(Cover self, Cover o) -> bool
5393 __eq__(Cover self, Particle d) -> bool
5395 return _IMP_core.Cover___eq__(self, *args)
5398 def __ne__(self, *args):
5400 __ne__(Cover self, Cover o) -> bool
5401 __ne__(Cover self, Particle d) -> bool
5403 return _IMP_core.Cover___ne__(self, *args)
5406 def __le__(self, *args):
5408 __le__(Cover self, Cover o) -> bool
5409 __le__(Cover self, Particle d) -> bool
5411 return _IMP_core.Cover___le__(self, *args)
5414 def __lt__(self, *args):
5416 __lt__(Cover self, Cover o) -> bool
5417 __lt__(Cover self, Particle d) -> bool
5419 return _IMP_core.Cover___lt__(self, *args)
5422 def __ge__(self, *args):
5424 __ge__(Cover self, Cover o) -> bool
5425 __ge__(Cover self, Particle d) -> bool
5427 return _IMP_core.Cover___ge__(self, *args)
5430 def __gt__(self, *args):
5432 __gt__(Cover self, Cover o) -> bool
5433 __gt__(Cover self, Particle d) -> bool
5435 return _IMP_core.Cover___gt__(self, *args)
5439 """__hash__(Cover self) -> std::size_t"""
5440 return _IMP_core.Cover___hash__(self)
5444 """__str__(Cover self) -> std::string"""
5445 return _IMP_core.Cover___str__(self)
5449 """__repr__(Cover self) -> std::string"""
5450 return _IMP_core.Cover___repr__(self)
5452 __swig_destroy__ = _IMP_core.delete_Cover
5453 __del__ =
lambda self:
None
5454 Cover_swigregister = _IMP_core.Cover_swigregister
5455 Cover_swigregister(Cover)
5457 def Cover_setup_particle(*args):
5459 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor members) -> Cover
5460 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor members) -> Cover
5461 setup_particle(Model m, ParticleIndex pi, Refiner refiner) -> Cover
5462 Cover_setup_particle(_ParticleAdaptor decorator, Refiner refiner) -> Cover
5464 return _IMP_core.Cover_setup_particle(*args)
5466 def Cover_get_is_setup(*args):
5468 get_is_setup(_ParticleAdaptor p) -> bool
5469 Cover_get_is_setup(Model m, ParticleIndex pi) -> bool
5471 return _IMP_core.Cover_get_is_setup(*args)
5474 """Proxy of C++ IMP::core::DerivativesFromRefined class"""
5475 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5477 def __init__(self, *args):
5479 __init__(IMP::core::DerivativesFromRefined self, Refiner r, IMP::FloatKeys ks) -> DerivativesFromRefined
5480 __init__(IMP::core::DerivativesFromRefined self, Refiner r) -> DerivativesFromRefined
5482 this = _IMP_core.new_DerivativesFromRefined(*args)
5484 self.this.append(this)
5488 def do_get_inputs(self, m, pis):
5489 """do_get_inputs(DerivativesFromRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5490 return _IMP_core.DerivativesFromRefined_do_get_inputs(self, m, pis)
5493 def do_get_outputs(self, m, pis):
5494 """do_get_outputs(DerivativesFromRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5495 return _IMP_core.DerivativesFromRefined_do_get_outputs(self, m, pis)
5498 def get_version_info(self):
5499 """get_version_info(DerivativesFromRefined self) -> VersionInfo"""
5500 return _IMP_core.DerivativesFromRefined_get_version_info(self)
5504 """__str__(DerivativesFromRefined self) -> std::string"""
5505 return _IMP_core.DerivativesFromRefined___str__(self)
5509 """__repr__(DerivativesFromRefined self) -> std::string"""
5510 return _IMP_core.DerivativesFromRefined___repr__(self)
5515 return _object_cast_to_DerivativesFromRefined(o)
5517 DerivativesFromRefined_swigregister = _IMP_core.DerivativesFromRefined_swigregister
5518 DerivativesFromRefined_swigregister(DerivativesFromRefined)
5521 """Proxy of C++ IMP::core::DerivativesToRefined class"""
5522 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5524 def __init__(self, *args):
5526 __init__(IMP::core::DerivativesToRefined self, Refiner r, IMP::FloatKeys ks) -> DerivativesToRefined
5527 __init__(IMP::core::DerivativesToRefined self, Refiner r) -> DerivativesToRefined
5529 this = _IMP_core.new_DerivativesToRefined(*args)
5531 self.this.append(this)
5535 def do_get_inputs(self, m, pis):
5536 """do_get_inputs(DerivativesToRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5537 return _IMP_core.DerivativesToRefined_do_get_inputs(self, m, pis)
5540 def do_get_outputs(self, m, pis):
5541 """do_get_outputs(DerivativesToRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5542 return _IMP_core.DerivativesToRefined_do_get_outputs(self, m, pis)
5545 def get_version_info(self):
5546 """get_version_info(DerivativesToRefined self) -> VersionInfo"""
5547 return _IMP_core.DerivativesToRefined_get_version_info(self)
5551 """__str__(DerivativesToRefined self) -> std::string"""
5552 return _IMP_core.DerivativesToRefined___str__(self)
5556 """__repr__(DerivativesToRefined self) -> std::string"""
5557 return _IMP_core.DerivativesToRefined___repr__(self)
5562 return _object_cast_to_DerivativesToRefined(o)
5564 DerivativesToRefined_swigregister = _IMP_core.DerivativesToRefined_swigregister
5565 DerivativesToRefined_swigregister(DerivativesToRefined)
5568 """Proxy of C++ IMP::core::DiameterRestraint class"""
5569 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5571 def __init__(self, f, sc, diameter):
5572 """__init__(IMP::core::DiameterRestraint self, UnaryFunction f, SingletonContainer sc, IMP::Float diameter) -> DiameterRestraint"""
5573 this = _IMP_core.new_DiameterRestraint(f, sc, diameter)
5575 self.this.append(this)
5579 def do_get_inputs(self):
5580 """do_get_inputs(DiameterRestraint self) -> IMP::ModelObjectsTemp"""
5581 return _IMP_core.DiameterRestraint_do_get_inputs(self)
5584 def get_version_info(self):
5585 """get_version_info(DiameterRestraint self) -> VersionInfo"""
5586 return _IMP_core.DiameterRestraint_get_version_info(self)
5589 def do_create_decomposition(self):
5590 """do_create_decomposition(DiameterRestraint self) -> IMP::Restraints"""
5591 return _IMP_core.DiameterRestraint_do_create_decomposition(self)
5594 def do_create_current_decomposition(self):
5595 """do_create_current_decomposition(DiameterRestraint self) -> IMP::Restraints"""
5596 return _IMP_core.DiameterRestraint_do_create_current_decomposition(self)
5600 """__str__(DiameterRestraint self) -> std::string"""
5601 return _IMP_core.DiameterRestraint___str__(self)
5605 """__repr__(DiameterRestraint self) -> std::string"""
5606 return _IMP_core.DiameterRestraint___repr__(self)
5611 return _object_cast_to_DiameterRestraint(o)
5613 DiameterRestraint_swigregister = _IMP_core.DiameterRestraint_swigregister
5614 DiameterRestraint_swigregister(DiameterRestraint)
5617 """Proxy of C++ IMP::core::Transform class"""
5618 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5620 def __init__(self, t, ignore_non_xyz=False):
5622 __init__(IMP::core::Transform self, Transformation3D t, bool ignore_non_xyz=False) -> Transform
5623 __init__(IMP::core::Transform self, Transformation3D t) -> Transform
5625 this = _IMP_core.new_Transform(t, ignore_non_xyz)
5627 self.this.append(this)
5631 def do_get_inputs(self, m, pis):
5632 """do_get_inputs(Transform self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5633 return _IMP_core.Transform_do_get_inputs(self, m, pis)
5636 def do_get_outputs(self, m, pis):
5637 """do_get_outputs(Transform self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5638 return _IMP_core.Transform_do_get_outputs(self, m, pis)
5641 def get_version_info(self):
5642 """get_version_info(Transform self) -> VersionInfo"""
5643 return _IMP_core.Transform_get_version_info(self)
5647 """__str__(Transform self) -> std::string"""
5648 return _IMP_core.Transform___str__(self)
5652 """__repr__(Transform self) -> std::string"""
5653 return _IMP_core.Transform___repr__(self)
5658 return _object_cast_to_Transform(o)
5660 Transform_swigregister = _IMP_core.Transform_swigregister
5661 Transform_swigregister(Transform)
5664 """Proxy of C++ IMP::core::Reference class"""
5665 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5667 def __init__(self, *args):
5669 __init__(IMP::core::Reference self) -> Reference
5670 __init__(IMP::core::Reference self, Model m, ParticleIndex id) -> Reference
5671 __init__(IMP::core::Reference self, _ParticleAdaptor d) -> Reference
5673 this = _IMP_core.new_Reference(*args)
5675 self.this.append(this)
5679 def show(self, *args):
5681 show(Reference self, _ostream out)
5682 show(Reference self)
5684 return _IMP_core.Reference_show(self, *args)
5687 def setup_particle(*args):
5689 setup_particle(Model m, ParticleIndex pi, _ParticleIndexAdaptor reference) -> Reference
5690 setup_particle(_ParticleAdaptor decorator, _ParticleIndexAdaptor reference) -> Reference
5692 return _IMP_core.Reference_setup_particle(*args)
5694 setup_particle = staticmethod(setup_particle)
5696 def get_reference_particle(self):
5697 """get_reference_particle(Reference self) -> Particle"""
5698 return _IMP_core.Reference_get_reference_particle(self)
5701 def get_is_setup(*args):
5703 get_is_setup(_ParticleAdaptor p) -> bool
5704 get_is_setup(Model m, ParticleIndex pi) -> bool
5706 return _IMP_core.Reference_get_is_setup(*args)
5708 get_is_setup = staticmethod(get_is_setup)
5710 def get_reference_key():
5711 """get_reference_key() -> ParticleIndexKey"""
5712 return _IMP_core.Reference_get_reference_key()
5714 get_reference_key = staticmethod(get_reference_key)
5716 def add_attribute(self, *args):
5718 add_attribute(Reference self, FloatKey k, IMP::Float v, bool opt)
5719 add_attribute(Reference self, FloatKey a0, IMP::Float a1)
5720 add_attribute(Reference self, IntKey a0, IMP::Int a1)
5721 add_attribute(Reference self, FloatsKey a0, IMP::Floats a1)
5722 add_attribute(Reference self, IntsKey a0, IMP::Ints a1)
5723 add_attribute(Reference self, StringKey a0, IMP::String a1)
5724 add_attribute(Reference self, ParticleIndexKey a0, Particle a1)
5725 add_attribute(Reference self, ObjectKey a0, Object a1)
5727 return _IMP_core.Reference_add_attribute(self, *args)
5730 def get_value(self, *args):
5732 get_value(Reference self, FloatKey a0) -> IMP::Float
5733 get_value(Reference self, IntKey a0) -> IMP::Int
5734 get_value(Reference self, FloatsKey a0) -> IMP::Floats
5735 get_value(Reference self, IntsKey a0) -> IMP::Ints
5736 get_value(Reference self, StringKey a0) -> IMP::String
5737 get_value(Reference self, ParticleIndexKey a0) -> Particle
5738 get_value(Reference self, ObjectKey a0) -> Object
5740 return _IMP_core.Reference_get_value(self, *args)
5743 def set_value(self, *args):
5745 set_value(Reference self, FloatKey a0, IMP::Float a1)
5746 set_value(Reference self, IntKey a0, IMP::Int a1)
5747 set_value(Reference self, FloatsKey a0, IMP::Floats a1)
5748 set_value(Reference self, IntsKey a0, IMP::Ints a1)
5749 set_value(Reference self, StringKey a0, IMP::String a1)
5750 set_value(Reference self, ParticleIndexKey a0, Particle a1)
5751 set_value(Reference self, ObjectKey a0, Object a1)
5753 return _IMP_core.Reference_set_value(self, *args)
5756 def remove_attribute(self, *args):
5758 remove_attribute(Reference self, FloatKey a0)
5759 remove_attribute(Reference self, IntKey a0)
5760 remove_attribute(Reference self, FloatsKey a0)
5761 remove_attribute(Reference self, IntsKey a0)
5762 remove_attribute(Reference self, StringKey a0)
5763 remove_attribute(Reference self, ParticleIndexKey a0)
5764 remove_attribute(Reference self, ObjectKey a0)
5766 return _IMP_core.Reference_remove_attribute(self, *args)
5769 def has_attribute(self, *args):
5771 has_attribute(Reference self, FloatKey a0) -> bool
5772 has_attribute(Reference self, IntKey a0) -> bool
5773 has_attribute(Reference self, FloatsKey a0) -> bool
5774 has_attribute(Reference self, IntsKey a0) -> bool
5775 has_attribute(Reference self, StringKey a0) -> bool
5776 has_attribute(Reference self, ParticleIndexKey a0) -> bool
5777 has_attribute(Reference self, ObjectKey a0) -> bool
5779 return _IMP_core.Reference_has_attribute(self, *args)
5782 def get_derivative(self, a0):
5783 """get_derivative(Reference self, FloatKey a0) -> double"""
5784 return _IMP_core.Reference_get_derivative(self, a0)
5788 """get_name(Reference self) -> std::string"""
5789 return _IMP_core.Reference_get_name(self)
5792 def clear_caches(self):
5793 """clear_caches(Reference self)"""
5794 return _IMP_core.Reference_clear_caches(self)
5797 def set_name(self, a0):
5798 """set_name(Reference self, std::string a0)"""
5799 return _IMP_core.Reference_set_name(self, a0)
5803 """set_check_level(Reference self, IMP::CheckLevel a0)"""
5804 return _IMP_core.Reference_set_check_level(self, a0)
5807 def add_to_derivative(self, a0, a1, a2):
5808 """add_to_derivative(Reference self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
5809 return _IMP_core.Reference_add_to_derivative(self, a0, a1, a2)
5812 def set_is_optimized(self, a0, a1):
5813 """set_is_optimized(Reference self, FloatKey a0, bool a1)"""
5814 return _IMP_core.Reference_set_is_optimized(self, a0, a1)
5817 def get_is_optimized(self, a0):
5818 """get_is_optimized(Reference self, FloatKey a0) -> bool"""
5819 return _IMP_core.Reference_get_is_optimized(self, a0)
5823 """get_check_level(Reference self) -> IMP::CheckLevel"""
5824 return _IMP_core.Reference_get_check_level(self)
5827 def __eq__(self, *args):
5829 __eq__(Reference self, Reference o) -> bool
5830 __eq__(Reference self, Particle d) -> bool
5832 return _IMP_core.Reference___eq__(self, *args)
5835 def __ne__(self, *args):
5837 __ne__(Reference self, Reference o) -> bool
5838 __ne__(Reference self, Particle d) -> bool
5840 return _IMP_core.Reference___ne__(self, *args)
5843 def __le__(self, *args):
5845 __le__(Reference self, Reference o) -> bool
5846 __le__(Reference self, Particle d) -> bool
5848 return _IMP_core.Reference___le__(self, *args)
5851 def __lt__(self, *args):
5853 __lt__(Reference self, Reference o) -> bool
5854 __lt__(Reference self, Particle d) -> bool
5856 return _IMP_core.Reference___lt__(self, *args)
5859 def __ge__(self, *args):
5861 __ge__(Reference self, Reference o) -> bool
5862 __ge__(Reference self, Particle d) -> bool
5864 return _IMP_core.Reference___ge__(self, *args)
5867 def __gt__(self, *args):
5869 __gt__(Reference self, Reference o) -> bool
5870 __gt__(Reference self, Particle d) -> bool
5872 return _IMP_core.Reference___gt__(self, *args)
5876 """__hash__(Reference self) -> std::size_t"""
5877 return _IMP_core.Reference___hash__(self)
5881 """__str__(Reference self) -> std::string"""
5882 return _IMP_core.Reference___str__(self)
5886 """__repr__(Reference self) -> std::string"""
5887 return _IMP_core.Reference___repr__(self)
5889 __swig_destroy__ = _IMP_core.delete_Reference
5890 __del__ =
lambda self:
None
5891 Reference_swigregister = _IMP_core.Reference_swigregister
5892 Reference_swigregister(Reference)
5894 def Reference_setup_particle(*args):
5896 setup_particle(Model m, ParticleIndex pi, _ParticleIndexAdaptor reference) -> Reference
5897 Reference_setup_particle(_ParticleAdaptor decorator, _ParticleIndexAdaptor reference) -> Reference
5899 return _IMP_core.Reference_setup_particle(*args)
5901 def Reference_get_is_setup(*args):
5903 get_is_setup(_ParticleAdaptor p) -> bool
5904 Reference_get_is_setup(Model m, ParticleIndex pi) -> bool
5906 return _IMP_core.Reference_get_is_setup(*args)
5908 def Reference_get_reference_key():
5909 """Reference_get_reference_key() -> ParticleIndexKey"""
5910 return _IMP_core.Reference_get_reference_key()
5913 """Proxy of C++ IMP::core::TransformationAndReflectionSymmetry class"""
5914 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5916 def __init__(self, t, r):
5917 """__init__(IMP::core::TransformationAndReflectionSymmetry self, Transformation3D t, Reflection3D r) -> TransformationAndReflectionSymmetry"""
5918 this = _IMP_core.new_TransformationAndReflectionSymmetry(t, r)
5920 self.this.append(this)
5924 def do_get_inputs(self, m, pis):
5925 """do_get_inputs(TransformationAndReflectionSymmetry self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5926 return _IMP_core.TransformationAndReflectionSymmetry_do_get_inputs(self, m, pis)
5929 def do_get_outputs(self, m, pis):
5930 """do_get_outputs(TransformationAndReflectionSymmetry self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5931 return _IMP_core.TransformationAndReflectionSymmetry_do_get_outputs(self, m, pis)
5934 def get_version_info(self):
5935 """get_version_info(TransformationAndReflectionSymmetry self) -> VersionInfo"""
5936 return _IMP_core.TransformationAndReflectionSymmetry_get_version_info(self)
5940 """__str__(TransformationAndReflectionSymmetry self) -> std::string"""
5941 return _IMP_core.TransformationAndReflectionSymmetry___str__(self)
5945 """__repr__(TransformationAndReflectionSymmetry self) -> std::string"""
5946 return _IMP_core.TransformationAndReflectionSymmetry___repr__(self)
5951 return _object_cast_to_TransformationAndReflectionSymmetry(o)
5953 TransformationAndReflectionSymmetry_swigregister = _IMP_core.TransformationAndReflectionSymmetry_swigregister
5954 TransformationAndReflectionSymmetry_swigregister(TransformationAndReflectionSymmetry)
5957 """Proxy of C++ IMP::core::TransformationSymmetry class"""
5958 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5960 def __init__(self, *args):
5962 __init__(IMP::core::TransformationSymmetry self, Transformation3D t) -> TransformationSymmetry
5963 __init__(IMP::core::TransformationSymmetry self, ParticleIndex rb_pi) -> TransformationSymmetry
5965 this = _IMP_core.new_TransformationSymmetry(*args)
5967 self.this.append(this)
5971 def get_transformation(self):
5972 """get_transformation(TransformationSymmetry self) -> Transformation3D"""
5973 return _IMP_core.TransformationSymmetry_get_transformation(self)
5976 def set_transformation(self, t):
5977 """set_transformation(TransformationSymmetry self, Transformation3D t)"""
5978 return _IMP_core.TransformationSymmetry_set_transformation(self, t)
5981 def do_get_inputs(self, m, pis):
5982 """do_get_inputs(TransformationSymmetry self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5983 return _IMP_core.TransformationSymmetry_do_get_inputs(self, m, pis)
5986 def do_get_outputs(self, m, pis):
5987 """do_get_outputs(TransformationSymmetry self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5988 return _IMP_core.TransformationSymmetry_do_get_outputs(self, m, pis)
5991 def get_version_info(self):
5992 """get_version_info(TransformationSymmetry self) -> VersionInfo"""
5993 return _IMP_core.TransformationSymmetry_get_version_info(self)
5997 """__str__(TransformationSymmetry self) -> std::string"""
5998 return _IMP_core.TransformationSymmetry___str__(self)
6002 """__repr__(TransformationSymmetry self) -> std::string"""
6003 return _IMP_core.TransformationSymmetry___repr__(self)
6008 return _object_cast_to_TransformationSymmetry(o)
6010 TransformationSymmetry_swigregister = _IMP_core.TransformationSymmetry_swigregister
6011 TransformationSymmetry_swigregister(TransformationSymmetry)
6013 class TransformationSymmetryMover(MonteCarloMover):
6014 """Proxy of C++ IMP::core::TransformationSymmetryMover class"""
6015 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6017 def __init__(self, m, symm, pivot, max_translation, max_rotation):
6018 """__init__(IMP::core::TransformationSymmetryMover self, Model m, TransformationSymmetry symm, ParticleIndex pivot, IMP::Float max_translation, IMP::Float max_rotation) -> TransformationSymmetryMover"""
6019 this = _IMP_core.new_TransformationSymmetryMover(m, symm, pivot, max_translation, max_rotation)
6021 self.this.append(this)
6025 def set_maximum_translation(self, mt):
6026 """set_maximum_translation(TransformationSymmetryMover self, IMP::Float mt)"""
6027 return _IMP_core.TransformationSymmetryMover_set_maximum_translation(self, mt)
6030 def set_maximum_rotation(self, mr):
6031 """set_maximum_rotation(TransformationSymmetryMover self, IMP::Float mr)"""
6032 return _IMP_core.TransformationSymmetryMover_set_maximum_rotation(self, mr)
6035 def get_maximum_translation(self):
6036 """get_maximum_translation(TransformationSymmetryMover self) -> IMP::Float"""
6037 return _IMP_core.TransformationSymmetryMover_get_maximum_translation(self)
6040 def get_maximum_rotation(self):
6041 """get_maximum_rotation(TransformationSymmetryMover self) -> IMP::Float"""
6042 return _IMP_core.TransformationSymmetryMover_get_maximum_rotation(self)
6045 def get_version_info(self):
6046 """get_version_info(TransformationSymmetryMover self) -> VersionInfo"""
6047 return _IMP_core.TransformationSymmetryMover_get_version_info(self)
6051 """__str__(TransformationSymmetryMover self) -> std::string"""
6052 return _IMP_core.TransformationSymmetryMover___str__(self)
6056 """__repr__(TransformationSymmetryMover self) -> std::string"""
6057 return _IMP_core.TransformationSymmetryMover___repr__(self)
6062 return _object_cast_to_TransformationSymmetryMover(o)
6064 TransformationSymmetryMover_swigregister = _IMP_core.TransformationSymmetryMover_swigregister
6065 TransformationSymmetryMover_swigregister(TransformationSymmetryMover)
6068 """Proxy of C++ IMP::core::DihedralRestraint class"""
6069 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6071 def __init__(self, m, score_func, p1, p2, p3, p4):
6072 """__init__(IMP::core::DihedralRestraint self, Model m, UnaryFunction score_func, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2, _ParticleIndexAdaptor p3, _ParticleIndexAdaptor p4) -> DihedralRestraint"""
6073 this = _IMP_core.new_DihedralRestraint(m, score_func, p1, p2, p3, p4)
6075 self.this.append(this)
6079 def do_get_inputs(self):
6080 """do_get_inputs(DihedralRestraint self) -> IMP::ModelObjectsTemp"""
6081 return _IMP_core.DihedralRestraint_do_get_inputs(self)
6084 def get_version_info(self):
6085 """get_version_info(DihedralRestraint self) -> VersionInfo"""
6086 return _IMP_core.DihedralRestraint_get_version_info(self)
6090 """__str__(DihedralRestraint self) -> std::string"""
6091 return _IMP_core.DihedralRestraint___str__(self)
6095 """__repr__(DihedralRestraint self) -> std::string"""
6096 return _IMP_core.DihedralRestraint___repr__(self)
6101 return _object_cast_to_DihedralRestraint(o)
6103 DihedralRestraint_swigregister = _IMP_core.DihedralRestraint_swigregister
6104 DihedralRestraint_swigregister(DihedralRestraint)
6107 """Proxy of C++ IMP::core::DistancePairScore class"""
6108 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6110 def __init__(self, *args):
6112 __init__(IMP::core::DistancePairScore self, UnaryFunction uf, std::string name) -> DistancePairScore
6113 __init__(IMP::core::DistancePairScore self, UnaryFunction uf) -> DistancePairScore
6115 this = _IMP_core.new_DistancePairScore(*args)
6117 self.this.append(this)
6121 def do_get_inputs(self, m, pis):
6122 """do_get_inputs(DistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
6123 return _IMP_core.DistancePairScore_do_get_inputs(self, m, pis)
6126 def get_version_info(self):
6127 """get_version_info(DistancePairScore self) -> VersionInfo"""
6128 return _IMP_core.DistancePairScore_get_version_info(self)
6132 """__str__(DistancePairScore self) -> std::string"""
6133 return _IMP_core.DistancePairScore___str__(self)
6137 """__repr__(DistancePairScore self) -> std::string"""
6138 return _IMP_core.DistancePairScore___repr__(self)
6143 return _object_cast_to_DistancePairScore(o)
6145 DistancePairScore_swigregister = _IMP_core.DistancePairScore_swigregister
6146 DistancePairScore_swigregister(DistancePairScore)
6149 """Proxy of C++ IMP::core::HarmonicDistancePairScore class"""
6150 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6152 def __init__(self, *args):
6154 __init__(IMP::core::HarmonicDistancePairScore self, double x0, double k, std::string name) -> HarmonicDistancePairScore
6155 __init__(IMP::core::HarmonicDistancePairScore self, double x0, double k) -> HarmonicDistancePairScore
6157 this = _IMP_core.new_HarmonicDistancePairScore(*args)
6159 self.this.append(this)
6163 def do_get_inputs(self, m, pis):
6164 """do_get_inputs(HarmonicDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
6165 return _IMP_core.HarmonicDistancePairScore_do_get_inputs(self, m, pis)
6168 def get_version_info(self):
6169 """get_version_info(HarmonicDistancePairScore self) -> VersionInfo"""
6170 return _IMP_core.HarmonicDistancePairScore_get_version_info(self)
6174 """__str__(HarmonicDistancePairScore self) -> std::string"""
6175 return _IMP_core.HarmonicDistancePairScore___str__(self)
6179 """__repr__(HarmonicDistancePairScore self) -> std::string"""
6180 return _IMP_core.HarmonicDistancePairScore___repr__(self)
6185 return _object_cast_to_HarmonicDistancePairScore(o)
6187 HarmonicDistancePairScore_swigregister = _IMP_core.HarmonicDistancePairScore_swigregister
6188 HarmonicDistancePairScore_swigregister(HarmonicDistancePairScore)
6191 """Proxy of C++ IMP::core::DistanceRestraint class"""
6192 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6194 def __init__(self, *args):
6196 __init__(IMP::core::DistanceRestraint self, Model m, UnaryFunction score_func, _ParticleIndexAdaptor a, _ParticleIndexAdaptor b, std::string name) -> DistanceRestraint
6197 __init__(IMP::core::DistanceRestraint self, Model m, UnaryFunction score_func, _ParticleIndexAdaptor a, _ParticleIndexAdaptor b) -> DistanceRestraint
6199 this = _IMP_core.new_DistanceRestraint(*args)
6201 self.this.append(this)
6205 def get_version_info(self):
6206 """get_version_info(DistanceRestraint self) -> VersionInfo"""
6207 return _IMP_core.DistanceRestraint_get_version_info(self)
6211 """__str__(DistanceRestraint self) -> std::string"""
6212 return _IMP_core.DistanceRestraint___str__(self)
6216 """__repr__(DistanceRestraint self) -> std::string"""
6217 return _IMP_core.DistanceRestraint___repr__(self)
6222 return _object_cast_to_DistanceRestraint(o)
6224 DistanceRestraint_swigregister = _IMP_core.DistanceRestraint_swigregister
6225 DistanceRestraint_swigregister(DistanceRestraint)
6228 """Proxy of C++ IMP::core::SphereDistanceToSingletonScore class"""
6229 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6231 def __init__(self, f, pt):
6232 """__init__(IMP::core::SphereDistanceToSingletonScore self, UnaryFunction f, Vector3D pt) -> SphereDistanceToSingletonScore"""
6233 this = _IMP_core.new_SphereDistanceToSingletonScore(f, pt)
6235 self.this.append(this)
6239 def do_get_inputs(self, m, pis):
6240 """do_get_inputs(SphereDistanceToSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
6241 return _IMP_core.SphereDistanceToSingletonScore_do_get_inputs(self, m, pis)
6244 def get_version_info(self):
6245 """get_version_info(SphereDistanceToSingletonScore self) -> VersionInfo"""
6246 return _IMP_core.SphereDistanceToSingletonScore_get_version_info(self)
6250 """__str__(SphereDistanceToSingletonScore self) -> std::string"""
6251 return _IMP_core.SphereDistanceToSingletonScore___str__(self)
6255 """__repr__(SphereDistanceToSingletonScore self) -> std::string"""
6256 return _IMP_core.SphereDistanceToSingletonScore___repr__(self)
6261 return _object_cast_to_SphereDistanceToSingletonScore(o)
6263 SphereDistanceToSingletonScore_swigregister = _IMP_core.SphereDistanceToSingletonScore_swigregister
6264 SphereDistanceToSingletonScore_swigregister(SphereDistanceToSingletonScore)
6267 """Proxy of C++ IMP::core::ExcludedVolumeRestraint class"""
6268 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6270 def __init__(self, *args):
6272 __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc, double k=1, double slack=10, std::string name) -> ExcludedVolumeRestraint
6273 __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc, double k=1, double slack=10) -> ExcludedVolumeRestraint
6274 __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc, double k=1) -> ExcludedVolumeRestraint
6275 __init__(IMP::core::ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc) -> ExcludedVolumeRestraint
6277 this = _IMP_core.new_ExcludedVolumeRestraint(*args)
6279 self.this.append(this)
6283 def do_get_inputs(self):
6284 """do_get_inputs(ExcludedVolumeRestraint self) -> IMP::ModelObjectsTemp"""
6285 return _IMP_core.ExcludedVolumeRestraint_do_get_inputs(self)
6288 def get_version_info(self):
6289 """get_version_info(ExcludedVolumeRestraint self) -> VersionInfo"""
6290 return _IMP_core.ExcludedVolumeRestraint_get_version_info(self)
6293 def do_create_decomposition(self):
6294 """do_create_decomposition(ExcludedVolumeRestraint self) -> IMP::Restraints"""
6295 return _IMP_core.ExcludedVolumeRestraint_do_create_decomposition(self)
6298 def do_create_current_decomposition(self):
6299 """do_create_current_decomposition(ExcludedVolumeRestraint self) -> IMP::Restraints"""
6300 return _IMP_core.ExcludedVolumeRestraint_do_create_current_decomposition(self)
6304 """get_indexes(ExcludedVolumeRestraint self) -> IMP::ParticleIndexPairs const &"""
6305 return _IMP_core.ExcludedVolumeRestraint_get_indexes(self)
6307 def __get_pair_filters(self):
return IMP._list_util.VarList(getdimfunc=self.get_number_of_pair_filters, getfunc=self.get_pair_filter, erasefunc=self.erase_pair_filter, appendfunc=self.add_pair_filter, extendfunc=self.add_pair_filters, clearfunc=self.clear_pair_filters, indexfunc=self._python_index_pair_filter)
6308 def __set_pair_filters(self, obj): IMP._list_util.set_varlist(self.pair_filters, obj)
6309 def __del_pair_filters(self): IMP._list_util.del_varlist(self.pair_filters)
6310 pair_filters = property(__get_pair_filters, __set_pair_filters, __del_pair_filters, doc=
"List of ##ucnames")
6312 def remove_pair_filter(self, d):
6313 """remove_pair_filter(ExcludedVolumeRestraint self, PairPredicate d)"""
6314 return _IMP_core.ExcludedVolumeRestraint_remove_pair_filter(self, d)
6317 def _python_index_pair_filter(self, d, start, stop):
6318 """_python_index_pair_filter(ExcludedVolumeRestraint self, PairPredicate d, unsigned int start, unsigned int stop) -> unsigned int"""
6319 return _IMP_core.ExcludedVolumeRestraint__python_index_pair_filter(self, d, start, stop)
6322 def remove_pair_filters(self, d):
6323 """remove_pair_filters(ExcludedVolumeRestraint self, IMP::PairPredicates const & d)"""
6324 return _IMP_core.ExcludedVolumeRestraint_remove_pair_filters(self, d)
6327 def set_pair_filters(self, ps):
6328 """set_pair_filters(ExcludedVolumeRestraint self, IMP::PairPredicates const & ps)"""
6329 return _IMP_core.ExcludedVolumeRestraint_set_pair_filters(self, ps)
6332 def set_pair_filters_order(self, objs):
6333 """set_pair_filters_order(ExcludedVolumeRestraint self, IMP::PairPredicates const & objs)"""
6334 return _IMP_core.ExcludedVolumeRestraint_set_pair_filters_order(self, objs)
6337 def add_pair_filter(self, obj):
6338 """add_pair_filter(ExcludedVolumeRestraint self, PairPredicate obj) -> unsigned int"""
6339 return _IMP_core.ExcludedVolumeRestraint_add_pair_filter(self, obj)
6342 def add_pair_filters(self, objs):
6343 """add_pair_filters(ExcludedVolumeRestraint self, IMP::PairPredicates const & objs)"""
6344 return _IMP_core.ExcludedVolumeRestraint_add_pair_filters(self, objs)
6347 def clear_pair_filters(self):
6348 """clear_pair_filters(ExcludedVolumeRestraint self)"""
6349 return _IMP_core.ExcludedVolumeRestraint_clear_pair_filters(self)
6352 def get_number_of_pair_filters(self):
6353 """get_number_of_pair_filters(ExcludedVolumeRestraint self) -> unsigned int"""
6354 return _IMP_core.ExcludedVolumeRestraint_get_number_of_pair_filters(self)
6357 def get_has_pair_filters(self):
6358 """get_has_pair_filters(ExcludedVolumeRestraint self) -> bool"""
6359 return _IMP_core.ExcludedVolumeRestraint_get_has_pair_filters(self)
6362 def get_pair_filter(self, i):
6363 """get_pair_filter(ExcludedVolumeRestraint self, unsigned int i) -> PairPredicate"""
6364 return _IMP_core.ExcludedVolumeRestraint_get_pair_filter(self, i)
6367 def get_pair_filters(self):
6368 """get_pair_filters(ExcludedVolumeRestraint self) -> IMP::PairPredicates"""
6369 return _IMP_core.ExcludedVolumeRestraint_get_pair_filters(self)
6372 def erase_pair_filter(self, i):
6373 """erase_pair_filter(ExcludedVolumeRestraint self, unsigned int i)"""
6374 return _IMP_core.ExcludedVolumeRestraint_erase_pair_filter(self, i)
6377 def reserve_pair_filters(self, sz):
6378 """reserve_pair_filters(ExcludedVolumeRestraint self, unsigned int sz)"""
6379 return _IMP_core.ExcludedVolumeRestraint_reserve_pair_filters(self, sz)
6383 """__str__(ExcludedVolumeRestraint self) -> std::string"""
6384 return _IMP_core.ExcludedVolumeRestraint___str__(self)
6388 """__repr__(ExcludedVolumeRestraint self) -> std::string"""
6389 return _IMP_core.ExcludedVolumeRestraint___repr__(self)
6394 return _object_cast_to_ExcludedVolumeRestraint(o)
6396 ExcludedVolumeRestraint_swigregister = _IMP_core.ExcludedVolumeRestraint_swigregister
6397 ExcludedVolumeRestraint_swigregister(ExcludedVolumeRestraint)
6400 """Proxy of C++ IMP::core::FixedRefiner class"""
6401 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6403 def __init__(self, *args):
6405 __init__(IMP::core::FixedRefiner self, IMP::ParticlesTemp const & ps) -> FixedRefiner
6406 __init__(IMP::core::FixedRefiner self, Model m, IMP::ParticleIndexes const & pis) -> FixedRefiner
6408 this = _IMP_core.new_FixedRefiner(*args)
6410 self.this.append(this)
6414 def do_get_inputs(self, m, pis):
6415 """do_get_inputs(FixedRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
6416 return _IMP_core.FixedRefiner_do_get_inputs(self, m, pis)
6419 def get_version_info(self):
6420 """get_version_info(FixedRefiner self) -> VersionInfo"""
6421 return _IMP_core.FixedRefiner_get_version_info(self)
6425 """__str__(FixedRefiner self) -> std::string"""
6426 return _IMP_core.FixedRefiner___str__(self)
6430 """__repr__(FixedRefiner self) -> std::string"""
6431 return _IMP_core.FixedRefiner___repr__(self)
6436 return _object_cast_to_FixedRefiner(o)
6438 FixedRefiner_swigregister = _IMP_core.FixedRefiner_swigregister
6439 FixedRefiner_swigregister(FixedRefiner)
6441 class GridClosePairsFinder(ClosePairsFinder):
6442 """Proxy of C++ IMP::core::GridClosePairsFinder class"""
6443 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6446 """__init__(IMP::core::GridClosePairsFinder self) -> GridClosePairsFinder"""
6447 this = _IMP_core.new_GridClosePairsFinder()
6449 self.this.append(this)
6453 def get_close_pairs(self, *args):
6455 get_close_pairs(GridClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
6456 get_close_pairs(GridClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
6457 get_close_pairs(GridClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
6458 get_close_pairs(GridClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
6460 return _IMP_core.GridClosePairsFinder_get_close_pairs(self, *args)
6463 def do_get_inputs(self, m, pis):
6464 """do_get_inputs(GridClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
6465 return _IMP_core.GridClosePairsFinder_do_get_inputs(self, m, pis)
6468 def get_version_info(self):
6469 """get_version_info(GridClosePairsFinder self) -> VersionInfo"""
6470 return _IMP_core.GridClosePairsFinder_get_version_info(self)
6474 """__str__(GridClosePairsFinder self) -> std::string"""
6475 return _IMP_core.GridClosePairsFinder___str__(self)
6479 """__repr__(GridClosePairsFinder self) -> std::string"""
6480 return _IMP_core.GridClosePairsFinder___repr__(self)
6485 return _object_cast_to_GridClosePairsFinder(o)
6487 GridClosePairsFinder_swigregister = _IMP_core.GridClosePairsFinder_swigregister
6488 GridClosePairsFinder_swigregister(GridClosePairsFinder)
6491 """Proxy of C++ IMP::core::Harmonic class"""
6492 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6494 def __init__(self, mean, k):
6495 """__init__(IMP::core::Harmonic self, IMP::Float mean, IMP::Float k) -> Harmonic"""
6496 this = _IMP_core.new_Harmonic(mean, k)
6498 self.this.append(this)
6502 def get_version_info(self):
6503 """get_version_info(Harmonic self) -> VersionInfo"""
6504 return _IMP_core.Harmonic_get_version_info(self)
6508 """get_mean(Harmonic self) -> IMP::Float"""
6509 return _IMP_core.Harmonic_get_mean(self)
6513 """get_k(Harmonic self) -> IMP::Float"""
6514 return _IMP_core.Harmonic_get_k(self)
6517 def set_mean(self, mean):
6518 """set_mean(Harmonic self, IMP::Float mean)"""
6519 return _IMP_core.Harmonic_set_mean(self, mean)
6523 """set_k(Harmonic self, IMP::Float k)"""
6524 return _IMP_core.Harmonic_set_k(self, k)
6527 def get_k_from_standard_deviation(sd, t=297.15):
6529 get_k_from_standard_deviation(IMP::Float sd, IMP::Float t=297.15) -> IMP::Float
6530 get_k_from_standard_deviation(IMP::Float sd) -> IMP::Float
6532 return _IMP_core.Harmonic_get_k_from_standard_deviation(sd, t)
6534 get_k_from_standard_deviation = staticmethod(get_k_from_standard_deviation)
6537 """__str__(Harmonic self) -> std::string"""
6538 return _IMP_core.Harmonic___str__(self)
6542 """__repr__(Harmonic self) -> std::string"""
6543 return _IMP_core.Harmonic___repr__(self)
6548 return _object_cast_to_Harmonic(o)
6550 Harmonic_swigregister = _IMP_core.Harmonic_swigregister
6551 Harmonic_swigregister(Harmonic)
6553 def Harmonic_get_k_from_standard_deviation(sd, t=297.15):
6555 get_k_from_standard_deviation(IMP::Float sd, IMP::Float t=297.15) -> IMP::Float
6556 Harmonic_get_k_from_standard_deviation(IMP::Float sd) -> IMP::Float
6558 return _IMP_core.Harmonic_get_k_from_standard_deviation(sd, t)
6561 """Proxy of C++ IMP::core::HarmonicWell class"""
6562 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6564 def __init__(self, well, k):
6565 """__init__(IMP::core::HarmonicWell self, IMP::FloatRange const & well, double k) -> HarmonicWell"""
6566 this = _IMP_core.new_HarmonicWell(well, k)
6568 self.this.append(this)
6572 def get_version_info(self):
6573 """get_version_info(HarmonicWell self) -> VersionInfo"""
6574 return _IMP_core.HarmonicWell_get_version_info(self)
6578 """__str__(HarmonicWell self) -> std::string"""
6579 return _IMP_core.HarmonicWell___str__(self)
6583 """__repr__(HarmonicWell self) -> std::string"""
6584 return _IMP_core.HarmonicWell___repr__(self)
6589 return _object_cast_to_HarmonicWell(o)
6591 HarmonicWell_swigregister = _IMP_core.HarmonicWell_swigregister
6592 HarmonicWell_swigregister(HarmonicWell)
6594 class HarmonicLowerBound(Harmonic):
6595 """Proxy of C++ IMP::core::HarmonicLowerBound class"""
6596 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6598 def __init__(self, mean, k):
6599 """__init__(IMP::core::HarmonicLowerBound self, IMP::Float mean, IMP::Float k) -> HarmonicLowerBound"""
6600 this = _IMP_core.new_HarmonicLowerBound(mean, k)
6602 self.this.append(this)
6607 """__str__(HarmonicLowerBound self) -> std::string"""
6608 return _IMP_core.HarmonicLowerBound___str__(self)
6612 """__repr__(HarmonicLowerBound self) -> std::string"""
6613 return _IMP_core.HarmonicLowerBound___repr__(self)
6618 return _object_cast_to_HarmonicLowerBound(o)
6620 HarmonicLowerBound_swigregister = _IMP_core.HarmonicLowerBound_swigregister
6621 HarmonicLowerBound_swigregister(HarmonicLowerBound)
6623 class HarmonicUpperBound(Harmonic):
6624 """Proxy of C++ IMP::core::HarmonicUpperBound class"""
6625 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6627 def __init__(self, mean, k):
6628 """__init__(IMP::core::HarmonicUpperBound self, IMP::Float mean, IMP::Float k) -> HarmonicUpperBound"""
6629 this = _IMP_core.new_HarmonicUpperBound(mean, k)
6631 self.this.append(this)
6636 """__str__(HarmonicUpperBound self) -> std::string"""
6637 return _IMP_core.HarmonicUpperBound___str__(self)
6641 """__repr__(HarmonicUpperBound self) -> std::string"""
6642 return _IMP_core.HarmonicUpperBound___repr__(self)
6647 return _object_cast_to_HarmonicUpperBound(o)
6649 HarmonicUpperBound_swigregister = _IMP_core.HarmonicUpperBound_swigregister
6650 HarmonicUpperBound_swigregister(HarmonicUpperBound)
6653 """Proxy of C++ IMP::core::WeightedSum class"""
6654 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6656 def __init__(self, funcs, weights):
6657 """__init__(IMP::core::WeightedSum self, IMP::UnaryFunctions funcs, IMP::Floats weights) -> WeightedSum"""
6658 this = _IMP_core.new_WeightedSum(funcs, weights)
6660 self.this.append(this)
6664 def get_function_number(self):
6665 """get_function_number(WeightedSum self) -> unsigned int"""
6666 return _IMP_core.WeightedSum_get_function_number(self)
6669 def set_weights(self, weights):
6670 """set_weights(WeightedSum self, IMP::Floats weights)"""
6671 return _IMP_core.WeightedSum_set_weights(self, weights)
6674 def get_weights(self):
6675 """get_weights(WeightedSum self) -> IMP::Floats"""
6676 return _IMP_core.WeightedSum_get_weights(self)
6679 def get_weight(self, i):
6680 """get_weight(WeightedSum self, unsigned int i) -> double"""
6681 return _IMP_core.WeightedSum_get_weight(self, i)
6684 def get_function(self, i):
6685 """get_function(WeightedSum self, unsigned int i) -> UnaryFunction"""
6686 return _IMP_core.WeightedSum_get_function(self, i)
6689 def get_version_info(self):
6690 """get_version_info(WeightedSum self) -> VersionInfo"""
6691 return _IMP_core.WeightedSum_get_version_info(self)
6695 """__str__(WeightedSum self) -> std::string"""
6696 return _IMP_core.WeightedSum___str__(self)
6700 """__repr__(WeightedSum self) -> std::string"""
6701 return _IMP_core.WeightedSum___repr__(self)
6706 return _object_cast_to_WeightedSum(o)
6708 WeightedSum_swigregister = _IMP_core.WeightedSum_swigregister
6709 WeightedSum_swigregister(WeightedSum)
6712 """Proxy of C++ IMP::core::WeightedSumOfExponential class"""
6713 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6715 def __init__(self, funcs, weights, denom=1.0):
6717 __init__(IMP::core::WeightedSumOfExponential self, IMP::UnaryFunctions funcs, IMP::Floats weights, IMP::Float denom=1.0) -> WeightedSumOfExponential
6718 __init__(IMP::core::WeightedSumOfExponential self, IMP::UnaryFunctions funcs, IMP::Floats weights) -> WeightedSumOfExponential
6720 this = _IMP_core.new_WeightedSumOfExponential(funcs, weights, denom)
6722 self.this.append(this)
6726 def get_function_number(self):
6727 """get_function_number(WeightedSumOfExponential self) -> unsigned int"""
6728 return _IMP_core.WeightedSumOfExponential_get_function_number(self)
6731 def set_weights(self, weights):
6732 """set_weights(WeightedSumOfExponential self, IMP::Floats weights)"""
6733 return _IMP_core.WeightedSumOfExponential_set_weights(self, weights)
6736 def get_weights(self):
6737 """get_weights(WeightedSumOfExponential self) -> IMP::Floats"""
6738 return _IMP_core.WeightedSumOfExponential_get_weights(self)
6741 def get_weight(self, i):
6742 """get_weight(WeightedSumOfExponential self, unsigned int i) -> double"""
6743 return _IMP_core.WeightedSumOfExponential_get_weight(self, i)
6746 def get_function(self, i):
6747 """get_function(WeightedSumOfExponential self, unsigned int i) -> UnaryFunction"""
6748 return _IMP_core.WeightedSumOfExponential_get_function(self, i)
6751 def set_denominator(self, denom):
6752 """set_denominator(WeightedSumOfExponential self, double denom)"""
6753 return _IMP_core.WeightedSumOfExponential_set_denominator(self, denom)
6756 def get_denominator(self):
6757 """get_denominator(WeightedSumOfExponential self) -> double"""
6758 return _IMP_core.WeightedSumOfExponential_get_denominator(self)
6761 def get_version_info(self):
6762 """get_version_info(WeightedSumOfExponential self) -> VersionInfo"""
6763 return _IMP_core.WeightedSumOfExponential_get_version_info(self)
6767 """__str__(WeightedSumOfExponential self) -> std::string"""
6768 return _IMP_core.WeightedSumOfExponential___str__(self)
6772 """__repr__(WeightedSumOfExponential self) -> std::string"""
6773 return _IMP_core.WeightedSumOfExponential___repr__(self)
6778 return _object_cast_to_WeightedSumOfExponential(o)
6780 WeightedSumOfExponential_swigregister = _IMP_core.WeightedSumOfExponential_swigregister
6781 WeightedSumOfExponential_swigregister(WeightedSumOfExponential)
6784 """Proxy of C++ IMP::core::MSConnectivityRestraint class"""
6785 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6787 def __init__(self, m, ps, eps=0.1):
6789 __init__(IMP::core::MSConnectivityRestraint self, Model m, PairScore ps, double eps=0.1) -> MSConnectivityRestraint
6790 __init__(IMP::core::MSConnectivityRestraint self, Model m, PairScore ps) -> MSConnectivityRestraint
6792 this = _IMP_core.new_MSConnectivityRestraint(m, ps, eps)
6794 self.this.append(this)
6798 def add_type(self, ps):
6799 """add_type(MSConnectivityRestraint self, IMP::ParticlesTemp const & ps) -> unsigned int"""
6800 return _IMP_core.MSConnectivityRestraint_add_type(self, ps)
6803 def add_composite(self, *args):
6805 add_composite(MSConnectivityRestraint self, IMP::Ints const & components) -> unsigned int
6806 add_composite(MSConnectivityRestraint self, IMP::Ints const & components, unsigned int parent) -> unsigned int
6808 return _IMP_core.MSConnectivityRestraint_add_composite(self, *args)
6811 def get_connected_pairs(self):
6812 """get_connected_pairs(MSConnectivityRestraint self) -> IMP::ParticlePairsTemp"""
6813 return _IMP_core.MSConnectivityRestraint_get_connected_pairs(self)
6816 def get_pair_score(self):
6817 """get_pair_score(MSConnectivityRestraint self) -> PairScore"""
6818 return _IMP_core.MSConnectivityRestraint_get_pair_score(self)
6821 def do_create_current_decomposition(self):
6822 """do_create_current_decomposition(MSConnectivityRestraint self) -> IMP::Restraints"""
6823 return _IMP_core.MSConnectivityRestraint_do_create_current_decomposition(self)
6826 def do_get_inputs(self):
6827 """do_get_inputs(MSConnectivityRestraint self) -> IMP::ModelObjectsTemp"""
6828 return _IMP_core.MSConnectivityRestraint_do_get_inputs(self)
6831 def get_version_info(self):
6832 """get_version_info(MSConnectivityRestraint self) -> VersionInfo"""
6833 return _IMP_core.MSConnectivityRestraint_get_version_info(self)
6837 """__str__(MSConnectivityRestraint self) -> std::string"""
6838 return _IMP_core.MSConnectivityRestraint___str__(self)
6842 """__repr__(MSConnectivityRestraint self) -> std::string"""
6843 return _IMP_core.MSConnectivityRestraint___repr__(self)
6848 return _object_cast_to_MSConnectivityRestraint(o)
6850 MSConnectivityRestraint_swigregister = _IMP_core.MSConnectivityRestraint_swigregister
6851 MSConnectivityRestraint_swigregister(MSConnectivityRestraint)
6853 class HierarchyTraits(object):
6854 """Proxy of C++ IMP::core::HierarchyTraits class"""
6855 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6857 def __init__(self, *args):
6859 __init__(IMP::core::HierarchyTraits self) -> HierarchyTraits
6860 __init__(IMP::core::HierarchyTraits self, std::string name) -> HierarchyTraits
6862 this = _IMP_core.new_HierarchyTraits(*args)
6864 self.this.append(this)
6868 def get_children_key(self):
6869 """get_children_key(HierarchyTraits self) -> ParticleIndexesKey"""
6870 return _IMP_core.HierarchyTraits_get_children_key(self)
6873 def get_parent_key(self):
6874 """get_parent_key(HierarchyTraits self) -> ParticleIndexKey"""
6875 return _IMP_core.HierarchyTraits_get_parent_key(self)
6878 def __eq__(self, o):
6879 """__eq__(HierarchyTraits self, HierarchyTraits o) -> bool"""
6880 return _IMP_core.HierarchyTraits___eq__(self, o)
6883 def show(self, *args):
6885 show(HierarchyTraits self, _ostream out)
6886 show(HierarchyTraits self)
6888 return _IMP_core.HierarchyTraits_show(self, *args)
6892 """__str__(HierarchyTraits self) -> std::string"""
6893 return _IMP_core.HierarchyTraits___str__(self)
6897 """__repr__(HierarchyTraits self) -> std::string"""
6898 return _IMP_core.HierarchyTraits___repr__(self)
6900 __swig_destroy__ = _IMP_core.delete_HierarchyTraits
6901 __del__ =
lambda self:
None
6902 HierarchyTraits_swigregister = _IMP_core.HierarchyTraits_swigregister
6903 HierarchyTraits_swigregister(HierarchyTraits)
6906 """Proxy of C++ IMP::core::Hierarchy class"""
6907 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
6909 def get_decorator_traits(self):
6910 """get_decorator_traits(Hierarchy self) -> HierarchyTraits"""
6911 return _IMP_core.Hierarchy_get_decorator_traits(self)
6914 def get_default_decorator_traits():
6915 """get_default_decorator_traits() -> HierarchyTraits"""
6916 return _IMP_core.Hierarchy_get_default_decorator_traits()
6918 get_default_decorator_traits = staticmethod(get_default_decorator_traits)
6920 def __init__(self, *args):
6922 __init__(IMP::core::Hierarchy self) -> Hierarchy
6923 __init__(IMP::core::Hierarchy self, Model m, ParticleIndex id, HierarchyTraits tr) -> Hierarchy
6924 __init__(IMP::core::Hierarchy self, Model m, ParticleIndex id) -> Hierarchy
6925 __init__(IMP::core::Hierarchy self, _ParticleAdaptor d, HierarchyTraits tr) -> Hierarchy
6926 __init__(IMP::core::Hierarchy self, _ParticleAdaptor d) -> Hierarchy
6928 this = _IMP_core.new_Hierarchy(*args)
6930 self.this.append(this)
6934 def show(self, *args):
6936 show(Hierarchy self, _ostream out)
6937 show(Hierarchy self)
6939 return _IMP_core.Hierarchy_show(self, *args)
6942 def setup_particle(*args):
6944 setup_particle(Model m, ParticleIndex pi, HierarchyTraits tr) -> Hierarchy
6945 setup_particle(Model m, ParticleIndex pi) -> Hierarchy
6946 setup_particle(_ParticleAdaptor d, HierarchyTraits tr) -> Hierarchy
6947 setup_particle(_ParticleAdaptor d) -> Hierarchy
6948 setup_particle(Model m, ParticleIndex pi, IMP::ParticleIndexes children, HierarchyTraits tr) -> Hierarchy
6949 setup_particle(Model m, ParticleIndex pi, IMP::ParticleIndexes children) -> Hierarchy
6950 setup_particle(_ParticleAdaptor d, IMP::ParticleIndexes children, HierarchyTraits tr) -> Hierarchy
6951 setup_particle(_ParticleAdaptor d, IMP::ParticleIndexes children) -> Hierarchy
6952 setup_particle(Model m, ParticleIndex pi, IMP::ParticlesTemp children, HierarchyTraits tr) -> Hierarchy
6953 setup_particle(Model m, ParticleIndex pi, IMP::ParticlesTemp children) -> Hierarchy
6954 setup_particle(_ParticleAdaptor d, IMP::ParticlesTemp children, HierarchyTraits tr) -> Hierarchy
6955 setup_particle(_ParticleAdaptor d, IMP::ParticlesTemp children) -> Hierarchy
6957 return _IMP_core.Hierarchy_setup_particle(*args)
6959 setup_particle = staticmethod(setup_particle)
6961 def get_is_setup(*args):
6963 get_is_setup(_ParticleAdaptor p, HierarchyTraits tr) -> bool
6964 get_is_setup(_ParticleAdaptor p) -> bool
6965 get_is_setup(Model arg1, ParticleIndex arg2, HierarchyTraits arg3) -> bool
6966 get_is_setup(Model arg1, ParticleIndex arg2) -> bool
6968 return _IMP_core.Hierarchy_get_is_setup(*args)
6970 get_is_setup = staticmethod(get_is_setup)
6972 def get_changed_key():
6973 """get_changed_key() -> TriggerKey"""
6974 return _IMP_core.Hierarchy_get_changed_key()
6976 get_changed_key = staticmethod(get_changed_key)
6978 def get_parent(self):
6979 """get_parent(Hierarchy self) -> Hierarchy"""
6980 return _IMP_core.Hierarchy_get_parent(self)
6983 def get_number_of_children(self):
6984 """get_number_of_children(Hierarchy self) -> unsigned int"""
6985 return _IMP_core.Hierarchy_get_number_of_children(self)
6988 def get_child(self, i):
6989 """get_child(Hierarchy self, unsigned int i) -> Hierarchy"""
6990 return _IMP_core.Hierarchy_get_child(self, i)
6993 def get_children_indexes(self):
6994 """get_children_indexes(Hierarchy self) -> IMP::ParticleIndexes"""
6995 return _IMP_core.Hierarchy_get_children_indexes(self)
6998 def get_children(self):
6999 """get_children(Hierarchy self) -> IMP::core::GenericHierarchies"""
7000 return _IMP_core.Hierarchy_get_children(self)
7003 def remove_child(self, *args):
7005 remove_child(Hierarchy self, unsigned int i)
7006 remove_child(Hierarchy self, Hierarchy h)
7008 return _IMP_core.Hierarchy_remove_child(self, *args)
7011 def clear_children(self):
7012 """clear_children(Hierarchy self)"""
7013 return _IMP_core.Hierarchy_clear_children(self)
7016 def add_child(self, h):
7017 """add_child(Hierarchy self, Hierarchy h)"""
7018 return _IMP_core.Hierarchy_add_child(self, h)
7021 def add_child_at(self, h, pos):
7022 """add_child_at(Hierarchy self, Hierarchy h, unsigned int pos)"""
7023 return _IMP_core.Hierarchy_add_child_at(self, h, pos)
7026 def get_child_index(self, *args):
7028 get_child_index(Hierarchy self, unsigned int i) -> ParticleIndex
7029 get_child_index(Hierarchy self) -> int
7031 return _IMP_core.Hierarchy_get_child_index(self, *args)
7034 def get_default_traits():
7035 """get_default_traits() -> HierarchyTraits"""
7036 return _IMP_core.Hierarchy_get_default_traits()
7038 get_default_traits = staticmethod(get_default_traits)
7040 def get_traits(self):
7041 """get_traits(Hierarchy self) -> HierarchyTraits"""
7042 return _IMP_core.Hierarchy_get_traits(self)
7045 def add_attribute(self, *args):
7047 add_attribute(Hierarchy self, FloatKey k, IMP::Float v, bool opt)
7048 add_attribute(Hierarchy self, FloatKey a0, IMP::Float a1)
7049 add_attribute(Hierarchy self, IntKey a0, IMP::Int a1)
7050 add_attribute(Hierarchy self, FloatsKey a0, IMP::Floats a1)
7051 add_attribute(Hierarchy self, IntsKey a0, IMP::Ints a1)
7052 add_attribute(Hierarchy self, StringKey a0, IMP::String a1)
7053 add_attribute(Hierarchy self, ParticleIndexKey a0, Particle a1)
7054 add_attribute(Hierarchy self, ObjectKey a0, Object a1)
7056 return _IMP_core.Hierarchy_add_attribute(self, *args)
7059 def get_value(self, *args):
7061 get_value(Hierarchy self, FloatKey a0) -> IMP::Float
7062 get_value(Hierarchy self, IntKey a0) -> IMP::Int
7063 get_value(Hierarchy self, FloatsKey a0) -> IMP::Floats
7064 get_value(Hierarchy self, IntsKey a0) -> IMP::Ints
7065 get_value(Hierarchy self, StringKey a0) -> IMP::String
7066 get_value(Hierarchy self, ParticleIndexKey a0) -> Particle
7067 get_value(Hierarchy self, ObjectKey a0) -> Object
7069 return _IMP_core.Hierarchy_get_value(self, *args)
7072 def set_value(self, *args):
7074 set_value(Hierarchy self, FloatKey a0, IMP::Float a1)
7075 set_value(Hierarchy self, IntKey a0, IMP::Int a1)
7076 set_value(Hierarchy self, FloatsKey a0, IMP::Floats a1)
7077 set_value(Hierarchy self, IntsKey a0, IMP::Ints a1)
7078 set_value(Hierarchy self, StringKey a0, IMP::String a1)
7079 set_value(Hierarchy self, ParticleIndexKey a0, Particle a1)
7080 set_value(Hierarchy self, ObjectKey a0, Object a1)
7082 return _IMP_core.Hierarchy_set_value(self, *args)
7085 def remove_attribute(self, *args):
7087 remove_attribute(Hierarchy self, FloatKey a0)
7088 remove_attribute(Hierarchy self, IntKey a0)
7089 remove_attribute(Hierarchy self, FloatsKey a0)
7090 remove_attribute(Hierarchy self, IntsKey a0)
7091 remove_attribute(Hierarchy self, StringKey a0)
7092 remove_attribute(Hierarchy self, ParticleIndexKey a0)
7093 remove_attribute(Hierarchy self, ObjectKey a0)
7095 return _IMP_core.Hierarchy_remove_attribute(self, *args)
7098 def has_attribute(self, *args):
7100 has_attribute(Hierarchy self, FloatKey a0) -> bool
7101 has_attribute(Hierarchy self, IntKey a0) -> bool
7102 has_attribute(Hierarchy self, FloatsKey a0) -> bool
7103 has_attribute(Hierarchy self, IntsKey a0) -> bool
7104 has_attribute(Hierarchy self, StringKey a0) -> bool
7105 has_attribute(Hierarchy self, ParticleIndexKey a0) -> bool
7106 has_attribute(Hierarchy self, ObjectKey a0) -> bool
7108 return _IMP_core.Hierarchy_has_attribute(self, *args)
7111 def get_derivative(self, a0):
7112 """get_derivative(Hierarchy self, FloatKey a0) -> double"""
7113 return _IMP_core.Hierarchy_get_derivative(self, a0)
7117 """get_name(Hierarchy self) -> std::string"""
7118 return _IMP_core.Hierarchy_get_name(self)
7121 def clear_caches(self):
7122 """clear_caches(Hierarchy self)"""
7123 return _IMP_core.Hierarchy_clear_caches(self)
7126 def set_name(self, a0):
7127 """set_name(Hierarchy self, std::string a0)"""
7128 return _IMP_core.Hierarchy_set_name(self, a0)
7132 """set_check_level(Hierarchy self, IMP::CheckLevel a0)"""
7133 return _IMP_core.Hierarchy_set_check_level(self, a0)
7136 def add_to_derivative(self, a0, a1, a2):
7137 """add_to_derivative(Hierarchy self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
7138 return _IMP_core.Hierarchy_add_to_derivative(self, a0, a1, a2)
7141 def set_is_optimized(self, a0, a1):
7142 """set_is_optimized(Hierarchy self, FloatKey a0, bool a1)"""
7143 return _IMP_core.Hierarchy_set_is_optimized(self, a0, a1)
7146 def get_is_optimized(self, a0):
7147 """get_is_optimized(Hierarchy self, FloatKey a0) -> bool"""
7148 return _IMP_core.Hierarchy_get_is_optimized(self, a0)
7152 """get_check_level(Hierarchy self) -> IMP::CheckLevel"""
7153 return _IMP_core.Hierarchy_get_check_level(self)
7156 def __eq__(self, *args):
7158 __eq__(Hierarchy self, Hierarchy o) -> bool
7159 __eq__(Hierarchy self, Particle d) -> bool
7161 return _IMP_core.Hierarchy___eq__(self, *args)
7164 def __ne__(self, *args):
7166 __ne__(Hierarchy self, Hierarchy o) -> bool
7167 __ne__(Hierarchy self, Particle d) -> bool
7169 return _IMP_core.Hierarchy___ne__(self, *args)
7172 def __le__(self, *args):
7174 __le__(Hierarchy self, Hierarchy o) -> bool
7175 __le__(Hierarchy self, Particle d) -> bool
7177 return _IMP_core.Hierarchy___le__(self, *args)
7180 def __lt__(self, *args):
7182 __lt__(Hierarchy self, Hierarchy o) -> bool
7183 __lt__(Hierarchy self, Particle d) -> bool
7185 return _IMP_core.Hierarchy___lt__(self, *args)
7188 def __ge__(self, *args):
7190 __ge__(Hierarchy self, Hierarchy o) -> bool
7191 __ge__(Hierarchy self, Particle d) -> bool
7193 return _IMP_core.Hierarchy___ge__(self, *args)
7196 def __gt__(self, *args):
7198 __gt__(Hierarchy self, Hierarchy o) -> bool
7199 __gt__(Hierarchy self, Particle d) -> bool
7201 return _IMP_core.Hierarchy___gt__(self, *args)
7205 """__hash__(Hierarchy self) -> std::size_t"""
7206 return _IMP_core.Hierarchy___hash__(self)
7210 """__str__(Hierarchy self) -> std::string"""
7211 return _IMP_core.Hierarchy___str__(self)
7215 """__repr__(Hierarchy self) -> std::string"""
7216 return _IMP_core.Hierarchy___repr__(self)
7218 __swig_destroy__ = _IMP_core.delete_Hierarchy
7219 __del__ =
lambda self:
None
7220 Hierarchy_swigregister = _IMP_core.Hierarchy_swigregister
7221 Hierarchy_swigregister(Hierarchy)
7223 def Hierarchy_get_default_decorator_traits():
7224 """Hierarchy_get_default_decorator_traits() -> HierarchyTraits"""
7225 return _IMP_core.Hierarchy_get_default_decorator_traits()
7227 def Hierarchy_setup_particle(*args):
7229 setup_particle(Model m, ParticleIndex pi, HierarchyTraits tr) -> Hierarchy
7230 setup_particle(Model m, ParticleIndex pi) -> Hierarchy
7231 setup_particle(_ParticleAdaptor d, HierarchyTraits tr) -> Hierarchy
7232 setup_particle(_ParticleAdaptor d) -> Hierarchy
7233 setup_particle(Model m, ParticleIndex pi, IMP::ParticleIndexes children, HierarchyTraits tr) -> Hierarchy
7234 setup_particle(Model m, ParticleIndex pi, IMP::ParticleIndexes children) -> Hierarchy
7235 setup_particle(_ParticleAdaptor d, IMP::ParticleIndexes children, HierarchyTraits tr) -> Hierarchy
7236 setup_particle(_ParticleAdaptor d, IMP::ParticleIndexes children) -> Hierarchy
7237 setup_particle(Model m, ParticleIndex pi, IMP::ParticlesTemp children, HierarchyTraits tr) -> Hierarchy
7238 setup_particle(Model m, ParticleIndex pi, IMP::ParticlesTemp children) -> Hierarchy
7239 setup_particle(_ParticleAdaptor d, IMP::ParticlesTemp children, HierarchyTraits tr) -> Hierarchy
7240 Hierarchy_setup_particle(_ParticleAdaptor d, IMP::ParticlesTemp children) -> Hierarchy
7242 return _IMP_core.Hierarchy_setup_particle(*args)
7244 def Hierarchy_get_is_setup(*args):
7246 get_is_setup(_ParticleAdaptor p, HierarchyTraits tr) -> bool
7247 get_is_setup(_ParticleAdaptor p) -> bool
7248 get_is_setup(Model arg1, ParticleIndex arg2, HierarchyTraits arg3) -> bool
7249 Hierarchy_get_is_setup(Model arg2, ParticleIndex arg3) -> bool
7251 return _IMP_core.Hierarchy_get_is_setup(*args)
7253 def Hierarchy_get_changed_key():
7254 """Hierarchy_get_changed_key() -> TriggerKey"""
7255 return _IMP_core.Hierarchy_get_changed_key()
7257 def Hierarchy_get_default_traits():
7258 """Hierarchy_get_default_traits() -> HierarchyTraits"""
7259 return _IMP_core.Hierarchy_get_default_traits()
7261 class HierarchyVisitor(object):
7262 """Proxy of C++ IMP::core::HierarchyVisitor class"""
7263 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7264 __repr__ = _swig_repr
7267 """__init__(IMP::core::HierarchyVisitor self) -> HierarchyVisitor"""
7268 if self.__class__ == HierarchyVisitor:
7272 this = _IMP_core.new_HierarchyVisitor(_self, )
7274 self.this.append(this)
7278 if self.__class__ != HierarchyVisitor:
7279 _director_objects.register(self)
7284 def __call__(self, p):
7285 """__call__(HierarchyVisitor self, Hierarchy p) -> bool"""
7286 return _IMP_core.HierarchyVisitor___call__(self, p)
7288 __swig_destroy__ = _IMP_core.delete_HierarchyVisitor
7289 __del__ =
lambda self:
None
7290 def __disown__(self):
7292 _IMP_core.disown_HierarchyVisitor(self)
7293 return weakref_proxy(self)
7294 HierarchyVisitor_swigregister = _IMP_core.HierarchyVisitor_swigregister
7295 HierarchyVisitor_swigregister(HierarchyVisitor)
7297 class ModifierVisitor(HierarchyVisitor):
7298 """Proxy of C++ IMP::core::ModifierVisitor class"""
7299 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7300 __repr__ = _swig_repr
7302 def __init__(self, sm):
7303 """__init__(IMP::core::ModifierVisitor self, SingletonModifier sm) -> ModifierVisitor"""
7304 this = _IMP_core.new_ModifierVisitor(sm)
7306 self.this.append(this)
7309 __swig_destroy__ = _IMP_core.delete_ModifierVisitor
7310 __del__ =
lambda self:
None
7311 ModifierVisitor_swigregister = _IMP_core.ModifierVisitor_swigregister
7312 ModifierVisitor_swigregister(ModifierVisitor)
7314 class HierarchyCounter(HierarchyVisitor):
7315 """Proxy of C++ IMP::core::HierarchyCounter class"""
7316 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7319 """__init__(IMP::core::HierarchyCounter self) -> HierarchyCounter"""
7320 this = _IMP_core.new_HierarchyCounter()
7322 self.this.append(this)
7326 def get_count(self):
7327 """get_count(HierarchyCounter self) -> unsigned int"""
7328 return _IMP_core.HierarchyCounter_get_count(self)
7331 def show(self, *args):
7333 show(HierarchyCounter self, _ostream out)
7334 show(HierarchyCounter self)
7336 return _IMP_core.HierarchyCounter_show(self, *args)
7340 """__str__(HierarchyCounter self) -> std::string"""
7341 return _IMP_core.HierarchyCounter___str__(self)
7345 """__repr__(HierarchyCounter self) -> std::string"""
7346 return _IMP_core.HierarchyCounter___repr__(self)
7349 def _get_as_binary(self):
7350 """_get_as_binary(HierarchyCounter self) -> PyObject *"""
7351 return _IMP_core.HierarchyCounter__get_as_binary(self)
7354 def _set_from_binary(self, p):
7355 """_set_from_binary(HierarchyCounter self, PyObject * p)"""
7356 return _IMP_core.HierarchyCounter__set_from_binary(self, p)
7359 def __getstate__(self):
7360 p = self._get_as_binary()
7361 if len(self.__dict__) > 1:
7362 d = self.__dict__.copy()
7367 def __setstate__(self, p):
7368 if not hasattr(self,
'this'):
7370 if isinstance(p, tuple):
7372 self.__dict__.update(d)
7373 return self._set_from_binary(p)
7375 __swig_destroy__ = _IMP_core.delete_HierarchyCounter
7376 __del__ =
lambda self:
None
7377 HierarchyCounter_swigregister = _IMP_core.HierarchyCounter_swigregister
7378 HierarchyCounter_swigregister(HierarchyCounter)
7382 """get_leaves(Hierarchy mhd) -> IMP::core::GenericHierarchies"""
7383 return _IMP_core.get_leaves(mhd)
7386 """get_internal(Hierarchy mhd) -> IMP::core::GenericHierarchies"""
7387 return _IMP_core.get_internal(mhd)
7390 """get_all_descendants(Hierarchy mhd) -> IMP::core::GenericHierarchies"""
7391 return _IMP_core.get_all_descendants(mhd)
7394 """get_root(Hierarchy h) -> Hierarchy"""
7395 return _IMP_core.get_root(h)
7398 """visit_breadth_first(Hierarchy d, HierarchyVisitor f)"""
7399 return _IMP_core.visit_breadth_first(d, f)
7402 """visit_depth_first(Hierarchy d, HierarchyVisitor f)"""
7403 return _IMP_core.visit_depth_first(d, f)
7405 """Proxy of C++ IMP::core::LeavesRefiner class"""
7406 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7408 def __init__(self, tr):
7409 """__init__(IMP::core::LeavesRefiner self, HierarchyTraits tr) -> LeavesRefiner"""
7410 this = _IMP_core.new_LeavesRefiner(tr)
7412 self.this.append(this)
7416 def do_get_inputs(self, m, pis):
7417 """do_get_inputs(LeavesRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7418 return _IMP_core.LeavesRefiner_do_get_inputs(self, m, pis)
7421 def get_version_info(self):
7422 """get_version_info(LeavesRefiner self) -> VersionInfo"""
7423 return _IMP_core.LeavesRefiner_get_version_info(self)
7427 """__str__(LeavesRefiner self) -> std::string"""
7428 return _IMP_core.LeavesRefiner___str__(self)
7432 """__repr__(LeavesRefiner self) -> std::string"""
7433 return _IMP_core.LeavesRefiner___repr__(self)
7438 return _object_cast_to_LeavesRefiner(o)
7440 LeavesRefiner_swigregister = _IMP_core.LeavesRefiner_swigregister
7441 LeavesRefiner_swigregister(LeavesRefiner)
7444 """Proxy of C++ IMP::core::Linear class"""
7445 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7447 def __init__(self, offset, slope):
7448 """__init__(IMP::core::Linear self, double offset, double slope) -> Linear"""
7449 this = _IMP_core.new_Linear(offset, slope)
7451 self.this.append(this)
7455 def set_slope(self, f):
7456 """set_slope(Linear self, double f)"""
7457 return _IMP_core.Linear_set_slope(self, f)
7460 def set_offset(self, f):
7461 """set_offset(Linear self, double f)"""
7462 return _IMP_core.Linear_set_offset(self, f)
7465 def get_version_info(self):
7466 """get_version_info(Linear self) -> VersionInfo"""
7467 return _IMP_core.Linear_get_version_info(self)
7471 """__str__(Linear self) -> std::string"""
7472 return _IMP_core.Linear___str__(self)
7476 """__repr__(Linear self) -> std::string"""
7477 return _IMP_core.Linear___repr__(self)
7482 return _object_cast_to_Linear(o)
7484 Linear_swigregister = _IMP_core.Linear_swigregister
7485 Linear_swigregister(Linear)
7487 class LogNormalMover(MonteCarloMover):
7488 """Proxy of C++ IMP::core::LogNormalMover class"""
7489 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7491 def __init__(self, *args):
7493 __init__(IMP::core::LogNormalMover self, Model m, ParticleIndex pi, IMP::FloatKeys const & vars, double stddev) -> LogNormalMover
7494 __init__(IMP::core::LogNormalMover self, Model m, ParticleIndex pi, double stddev) -> LogNormalMover
7495 __init__(IMP::core::LogNormalMover self, IMP::ParticlesTemp const & sc, IMP::FloatKeys const & vars, IMP::Float sigma) -> LogNormalMover
7496 __init__(IMP::core::LogNormalMover self, IMP::ParticlesTemp const & sc, IMP::Float radius) -> LogNormalMover
7498 this = _IMP_core.new_LogNormalMover(*args)
7500 self.this.append(this)
7504 def set_sigma(self, sigma):
7505 """set_sigma(LogNormalMover self, IMP::Float sigma)"""
7506 return _IMP_core.LogNormalMover_set_sigma(self, sigma)
7509 def get_sigma(self):
7510 """get_sigma(LogNormalMover self) -> IMP::Float"""
7511 return _IMP_core.LogNormalMover_get_sigma(self)
7514 def get_version_info(self):
7515 """get_version_info(LogNormalMover self) -> VersionInfo"""
7516 return _IMP_core.LogNormalMover_get_version_info(self)
7520 """__str__(LogNormalMover self) -> std::string"""
7521 return _IMP_core.LogNormalMover___str__(self)
7525 """__repr__(LogNormalMover self) -> std::string"""
7526 return _IMP_core.LogNormalMover___repr__(self)
7531 return _object_cast_to_LogNormalMover(o)
7533 LogNormalMover_swigregister = _IMP_core.LogNormalMover_swigregister
7534 LogNormalMover_swigregister(LogNormalMover)
7537 """Proxy of C++ IMP::core::IncrementalScoringFunction class"""
7538 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7540 def __init__(self, *args):
7542 __init__(IMP::core::IncrementalScoringFunction self, Model m, IMP::ParticleIndexes const & to_move, IMP::RestraintsTemp const & rs, double weight=1.0, double max, std::string name) -> IncrementalScoringFunction
7543 __init__(IMP::core::IncrementalScoringFunction self, Model m, IMP::ParticleIndexes const & to_move, IMP::RestraintsTemp const & rs, double weight=1.0, double max) -> IncrementalScoringFunction
7544 __init__(IMP::core::IncrementalScoringFunction self, Model m, IMP::ParticleIndexes const & to_move, IMP::RestraintsTemp const & rs, double weight=1.0) -> IncrementalScoringFunction
7545 __init__(IMP::core::IncrementalScoringFunction self, Model m, IMP::ParticleIndexes const & to_move, IMP::RestraintsTemp const & rs) -> IncrementalScoringFunction
7547 this = _IMP_core.new_IncrementalScoringFunction(*args)
7549 self.this.append(this)
7553 def reset_moved_particles(self):
7554 """reset_moved_particles(IncrementalScoringFunction self)"""
7555 return _IMP_core.IncrementalScoringFunction_reset_moved_particles(self)
7558 def set_moved_particles(self, p):
7559 """set_moved_particles(IncrementalScoringFunction self, IMP::ParticleIndexes const & p)"""
7560 return _IMP_core.IncrementalScoringFunction_set_moved_particles(self, p)
7563 def add_close_pair_score(self, *args):
7565 add_close_pair_score(IncrementalScoringFunction self, PairScore ps, double distance, IMP::ParticlesTemp const & particles, IMP::PairPredicates const & filters)
7566 add_close_pair_score(IncrementalScoringFunction self, PairScore ps, double distance, IMP::ParticlesTemp const & particles)
7568 return _IMP_core.IncrementalScoringFunction_add_close_pair_score(self, *args)
7571 def clear_close_pair_scores(self):
7572 """clear_close_pair_scores(IncrementalScoringFunction self)"""
7573 return _IMP_core.IncrementalScoringFunction_clear_close_pair_scores(self)
7576 def get_movable_indexes(self):
7577 """get_movable_indexes(IncrementalScoringFunction self) -> IMP::ParticleIndexes"""
7578 return _IMP_core.IncrementalScoringFunction_get_movable_indexes(self)
7581 def do_add_score_and_derivatives(self, sa, ss):
7582 """do_add_score_and_derivatives(IncrementalScoringFunction self, ScoreAccumulator sa, IMP::ScoreStatesTemp const & ss)"""
7583 return _IMP_core.IncrementalScoringFunction_do_add_score_and_derivatives(self, sa, ss)
7586 def do_get_inputs(self):
7587 """do_get_inputs(IncrementalScoringFunction self) -> IMP::ModelObjectsTemp"""
7588 return _IMP_core.IncrementalScoringFunction_do_get_inputs(self)
7591 def handle_set_has_required_score_states(self, arg2):
7592 """handle_set_has_required_score_states(IncrementalScoringFunction self, bool arg2)"""
7593 return _IMP_core.IncrementalScoringFunction_handle_set_has_required_score_states(self, arg2)
7596 def get_version_info(self):
7597 """get_version_info(IncrementalScoringFunction self) -> VersionInfo"""
7598 return _IMP_core.IncrementalScoringFunction_get_version_info(self)
7602 """__str__(IncrementalScoringFunction self) -> std::string"""
7603 return _IMP_core.IncrementalScoringFunction___str__(self)
7607 """__repr__(IncrementalScoringFunction self) -> std::string"""
7608 return _IMP_core.IncrementalScoringFunction___repr__(self)
7613 return _object_cast_to_IncrementalScoringFunction(o)
7615 IncrementalScoringFunction_swigregister = _IMP_core.IncrementalScoringFunction_swigregister
7616 IncrementalScoringFunction_swigregister(IncrementalScoringFunction)
7619 _IMP_core.IMP_CORE_HAS_MONTE_CARLO_MOVER_swigconstant(_IMP_core)
7620 IMP_CORE_HAS_MONTE_CARLO_MOVER = _IMP_core.IMP_CORE_HAS_MONTE_CARLO_MOVER
7622 """Proxy of C++ IMP::core::MonteCarlo class"""
7623 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7625 def __init__(self, m):
7626 """__init__(IMP::core::MonteCarlo self, Model m) -> MonteCarlo"""
7627 this = _IMP_core.new_MonteCarlo(m)
7629 self.this.append(this)
7633 def get_version_info(self):
7634 """get_version_info(MonteCarlo self) -> VersionInfo"""
7635 return _IMP_core.MonteCarlo_get_version_info(self)
7638 def set_return_best(self, tf):
7639 """set_return_best(MonteCarlo self, bool tf)"""
7640 return _IMP_core.MonteCarlo_set_return_best(self, tf)
7643 def set_score_moved(self, mv):
7644 """set_score_moved(MonteCarlo self, bool mv)"""
7645 return _IMP_core.MonteCarlo_set_score_moved(self, mv)
7648 def set_kt(self, t):
7649 """set_kt(MonteCarlo self, IMP::Float t)"""
7650 return _IMP_core.MonteCarlo_set_kt(self, t)
7654 """get_kt(MonteCarlo self) -> IMP::Float"""
7655 return _IMP_core.MonteCarlo_get_kt(self)
7658 def get_last_accepted_energy(self):
7659 """get_last_accepted_energy(MonteCarlo self) -> double"""
7660 return _IMP_core.MonteCarlo_get_last_accepted_energy(self)
7663 def get_best_accepted_energy(self):
7664 """get_best_accepted_energy(MonteCarlo self) -> double"""
7665 return _IMP_core.MonteCarlo_get_best_accepted_energy(self)
7668 def get_number_of_downward_steps(self):
7669 """get_number_of_downward_steps(MonteCarlo self) -> unsigned int"""
7670 return _IMP_core.MonteCarlo_get_number_of_downward_steps(self)
7673 def get_number_of_upward_steps(self):
7674 """get_number_of_upward_steps(MonteCarlo self) -> unsigned int"""
7675 return _IMP_core.MonteCarlo_get_number_of_upward_steps(self)
7678 def get_number_of_proposed_steps(self):
7679 """get_number_of_proposed_steps(MonteCarlo self) -> unsigned int"""
7680 return _IMP_core.MonteCarlo_get_number_of_proposed_steps(self)
7683 def get_number_of_accepted_steps(self):
7684 """get_number_of_accepted_steps(MonteCarlo self) -> unsigned int"""
7685 return _IMP_core.MonteCarlo_get_number_of_accepted_steps(self)
7688 def reset_statistics(self):
7689 """reset_statistics(MonteCarlo self)"""
7690 return _IMP_core.MonteCarlo_reset_statistics(self)
7693 def set_score_threshold(self, s):
7694 """set_score_threshold(MonteCarlo self, double s)"""
7695 return _IMP_core.MonteCarlo_set_score_threshold(self, s)
7698 def get_score_threshold(self):
7699 """get_score_threshold(MonteCarlo self) -> double"""
7700 return _IMP_core.MonteCarlo_get_score_threshold(self)
7703 def set_maximum_difference(self, d):
7704 """set_maximum_difference(MonteCarlo self, double d)"""
7705 return _IMP_core.MonteCarlo_set_maximum_difference(self, d)
7708 def get_maximum_difference(self):
7709 """get_maximum_difference(MonteCarlo self) -> double"""
7710 return _IMP_core.MonteCarlo_get_maximum_difference(self)
7712 def __get_movers(self):
return IMP._list_util.VarList(getdimfunc=self.get_number_of_movers, getfunc=self.get_mover, erasefunc=self.erase_mover, appendfunc=self.add_mover, extendfunc=self.add_movers, clearfunc=self.clear_movers, indexfunc=self._python_index_mover)
7713 def __set_movers(self, obj): IMP._list_util.set_varlist(self.movers, obj)
7714 def __del_movers(self): IMP._list_util.del_varlist(self.movers)
7715 movers = property(__get_movers, __set_movers, __del_movers, doc=
"List of ##ucnames")
7717 def remove_mover(self, d):
7718 """remove_mover(MonteCarlo self, MonteCarloMover d)"""
7719 return _IMP_core.MonteCarlo_remove_mover(self, d)
7722 def _python_index_mover(self, d, start, stop):
7723 """_python_index_mover(MonteCarlo self, MonteCarloMover d, unsigned int start, unsigned int stop) -> unsigned int"""
7724 return _IMP_core.MonteCarlo__python_index_mover(self, d, start, stop)
7727 def remove_movers(self, d):
7728 """remove_movers(MonteCarlo self, IMP::core::MonteCarloMovers const & d)"""
7729 return _IMP_core.MonteCarlo_remove_movers(self, d)
7732 def set_movers(self, ps):
7733 """set_movers(MonteCarlo self, IMP::core::MonteCarloMovers const & ps)"""
7734 return _IMP_core.MonteCarlo_set_movers(self, ps)
7737 def set_movers_order(self, objs):
7738 """set_movers_order(MonteCarlo self, IMP::core::MonteCarloMovers const & objs)"""
7739 return _IMP_core.MonteCarlo_set_movers_order(self, objs)
7742 def add_mover(self, obj):
7743 """add_mover(MonteCarlo self, MonteCarloMover obj) -> unsigned int"""
7744 return _IMP_core.MonteCarlo_add_mover(self, obj)
7747 def add_movers(self, objs):
7748 """add_movers(MonteCarlo self, IMP::core::MonteCarloMovers const & objs)"""
7749 return _IMP_core.MonteCarlo_add_movers(self, objs)
7752 def clear_movers(self):
7753 """clear_movers(MonteCarlo self)"""
7754 return _IMP_core.MonteCarlo_clear_movers(self)
7757 def get_number_of_movers(self):
7758 """get_number_of_movers(MonteCarlo self) -> unsigned int"""
7759 return _IMP_core.MonteCarlo_get_number_of_movers(self)
7762 def get_has_movers(self):
7763 """get_has_movers(MonteCarlo self) -> bool"""
7764 return _IMP_core.MonteCarlo_get_has_movers(self)
7767 def get_mover(self, i):
7768 """get_mover(MonteCarlo self, unsigned int i) -> MonteCarloMover"""
7769 return _IMP_core.MonteCarlo_get_mover(self, i)
7772 def get_movers(self):
7773 """get_movers(MonteCarlo self) -> IMP::core::MonteCarloMovers"""
7774 return _IMP_core.MonteCarlo_get_movers(self)
7777 def erase_mover(self, i):
7778 """erase_mover(MonteCarlo self, unsigned int i)"""
7779 return _IMP_core.MonteCarlo_erase_mover(self, i)
7782 def reserve_movers(self, sz):
7783 """reserve_movers(MonteCarlo self, unsigned int sz)"""
7784 return _IMP_core.MonteCarlo_reserve_movers(self, sz)
7787 def set_incremental_scoring_function(self, isf):
7788 """set_incremental_scoring_function(MonteCarlo self, IncrementalScoringFunction isf)"""
7789 return _IMP_core.MonteCarlo_set_incremental_scoring_function(self, isf)
7792 def get_use_incremental_scoring_function(self):
7793 """get_use_incremental_scoring_function(MonteCarlo self) -> bool"""
7794 return _IMP_core.MonteCarlo_get_use_incremental_scoring_function(self)
7797 def get_incremental_scoring_function(self):
7798 """get_incremental_scoring_function(MonteCarlo self) -> IncrementalScoringFunction"""
7799 return _IMP_core.MonteCarlo_get_incremental_scoring_function(self)
7803 """__str__(MonteCarlo self) -> std::string"""
7804 return _IMP_core.MonteCarlo___str__(self)
7808 """__repr__(MonteCarlo self) -> std::string"""
7809 return _IMP_core.MonteCarlo___repr__(self)
7814 return _object_cast_to_MonteCarlo(o)
7816 MonteCarlo_swigregister = _IMP_core.MonteCarlo_swigregister
7817 MonteCarlo_swigregister(MonteCarlo)
7819 class MonteCarloWithLocalOptimization(MonteCarlo):
7820 """Proxy of C++ IMP::core::MonteCarloWithLocalOptimization class"""
7821 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7823 def __init__(self, opt, steps):
7824 """__init__(IMP::core::MonteCarloWithLocalOptimization self, Optimizer opt, unsigned int steps) -> MonteCarloWithLocalOptimization"""
7825 this = _IMP_core.new_MonteCarloWithLocalOptimization(opt, steps)
7827 self.this.append(this)
7831 def get_number_of_steps(self):
7832 """get_number_of_steps(MonteCarloWithLocalOptimization self) -> unsigned int"""
7833 return _IMP_core.MonteCarloWithLocalOptimization_get_number_of_steps(self)
7836 def get_local_optimizer(self):
7837 """get_local_optimizer(MonteCarloWithLocalOptimization self) -> Optimizer"""
7838 return _IMP_core.MonteCarloWithLocalOptimization_get_local_optimizer(self)
7842 """__str__(MonteCarloWithLocalOptimization self) -> std::string"""
7843 return _IMP_core.MonteCarloWithLocalOptimization___str__(self)
7847 """__repr__(MonteCarloWithLocalOptimization self) -> std::string"""
7848 return _IMP_core.MonteCarloWithLocalOptimization___repr__(self)
7853 return _object_cast_to_MonteCarloWithLocalOptimization(o)
7855 MonteCarloWithLocalOptimization_swigregister = _IMP_core.MonteCarloWithLocalOptimization_swigregister
7856 MonteCarloWithLocalOptimization_swigregister(MonteCarloWithLocalOptimization)
7858 class MonteCarloWithBasinHopping(MonteCarloWithLocalOptimization):
7859 """Proxy of C++ IMP::core::MonteCarloWithBasinHopping class"""
7860 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7862 def __init__(self, opt, ns):
7863 """__init__(IMP::core::MonteCarloWithBasinHopping self, Optimizer opt, unsigned int ns) -> MonteCarloWithBasinHopping"""
7864 this = _IMP_core.new_MonteCarloWithBasinHopping(opt, ns)
7866 self.this.append(this)
7871 """__str__(MonteCarloWithBasinHopping self) -> std::string"""
7872 return _IMP_core.MonteCarloWithBasinHopping___str__(self)
7876 """__repr__(MonteCarloWithBasinHopping self) -> std::string"""
7877 return _IMP_core.MonteCarloWithBasinHopping___repr__(self)
7882 return _object_cast_to_MonteCarloWithBasinHopping(o)
7884 MonteCarloWithBasinHopping_swigregister = _IMP_core.MonteCarloWithBasinHopping_swigregister
7885 MonteCarloWithBasinHopping_swigregister(MonteCarloWithBasinHopping)
7888 """Proxy of C++ IMP::core::NeighborsTable class"""
7889 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7891 def __init__(self, *args):
7893 __init__(IMP::core::NeighborsTable self, PairContainer input, std::string name) -> NeighborsTable
7894 __init__(IMP::core::NeighborsTable self, PairContainer input) -> NeighborsTable
7896 this = _IMP_core.new_NeighborsTable(*args)
7898 self.this.append(this)
7902 def get_neighbors(self, pi):
7903 """get_neighbors(NeighborsTable self, ParticleIndex pi) -> IMP::ParticleIndexes const &"""
7904 return _IMP_core.NeighborsTable_get_neighbors(self, pi)
7907 def get_version_info(self):
7908 """get_version_info(NeighborsTable self) -> VersionInfo"""
7909 return _IMP_core.NeighborsTable_get_version_info(self)
7913 """__str__(NeighborsTable self) -> std::string"""
7914 return _IMP_core.NeighborsTable___str__(self)
7918 """__repr__(NeighborsTable self) -> std::string"""
7919 return _IMP_core.NeighborsTable___repr__(self)
7924 return _object_cast_to_NeighborsTable(o)
7926 NeighborsTable_swigregister = _IMP_core.NeighborsTable_swigregister
7927 NeighborsTable_swigregister(NeighborsTable)
7929 class NormalMover(MonteCarloMover):
7930 """Proxy of C++ IMP::core::NormalMover class"""
7931 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7933 def __init__(self, *args):
7935 __init__(IMP::core::NormalMover self, Model m, ParticleIndex pi, IMP::FloatKeys const & vars, double stddev) -> NormalMover
7936 __init__(IMP::core::NormalMover self, Model m, ParticleIndex pi, double stddev) -> NormalMover
7937 __init__(IMP::core::NormalMover self, IMP::ParticlesTemp const & sc, IMP::FloatKeys const & vars, IMP::Float sigma) -> NormalMover
7938 __init__(IMP::core::NormalMover self, IMP::ParticlesTemp const & sc, IMP::Float radius) -> NormalMover
7940 this = _IMP_core.new_NormalMover(*args)
7942 self.this.append(this)
7946 def set_sigma(self, sigma):
7947 """set_sigma(NormalMover self, IMP::Float sigma)"""
7948 return _IMP_core.NormalMover_set_sigma(self, sigma)
7951 def get_sigma(self):
7952 """get_sigma(NormalMover self) -> IMP::Float"""
7953 return _IMP_core.NormalMover_get_sigma(self)
7956 def get_version_info(self):
7957 """get_version_info(NormalMover self) -> VersionInfo"""
7958 return _IMP_core.NormalMover_get_version_info(self)
7962 """__str__(NormalMover self) -> std::string"""
7963 return _IMP_core.NormalMover___str__(self)
7967 """__repr__(NormalMover self) -> std::string"""
7968 return _IMP_core.NormalMover___repr__(self)
7973 return _object_cast_to_NormalMover(o)
7975 NormalMover_swigregister = _IMP_core.NormalMover_swigregister
7976 NormalMover_swigregister(NormalMover)
7978 class OpenCubicSpline(_OpenCubicSplineBase):
7979 """Proxy of C++ IMP::core::OpenCubicSpline class"""
7980 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
7982 def __init__(self, values, minrange, spacing, extend=False):
7984 __init__(IMP::core::OpenCubicSpline self, IMP::Floats const & values, IMP::Float minrange, IMP::Float spacing, bool extend=False) -> OpenCubicSpline
7985 __init__(IMP::core::OpenCubicSpline self, IMP::Floats const & values, IMP::Float minrange, IMP::Float spacing) -> OpenCubicSpline
7987 this = _IMP_core.new_OpenCubicSpline(values, minrange, spacing, extend)
7989 self.this.append(this)
7994 """__str__(OpenCubicSpline self) -> std::string"""
7995 return _IMP_core.OpenCubicSpline___str__(self)
7999 """__repr__(OpenCubicSpline self) -> std::string"""
8000 return _IMP_core.OpenCubicSpline___repr__(self)
8005 return _object_cast_to_OpenCubicSpline(o)
8007 __swig_destroy__ = _IMP_core.delete_OpenCubicSpline
8008 __del__ =
lambda self:
None
8009 OpenCubicSpline_swigregister = _IMP_core.OpenCubicSpline_swigregister
8010 OpenCubicSpline_swigregister(OpenCubicSpline)
8012 class QuadraticClosePairsFinder(ClosePairsFinder):
8013 """Proxy of C++ IMP::core::QuadraticClosePairsFinder class"""
8014 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8017 """__init__(IMP::core::QuadraticClosePairsFinder self) -> QuadraticClosePairsFinder"""
8018 this = _IMP_core.new_QuadraticClosePairsFinder()
8020 self.this.append(this)
8024 def get_are_close_and_filtered(self, *args):
8026 get_are_close_and_filtered(QuadraticClosePairsFinder self, Particle a, Particle b) -> bool
8027 get_are_close_and_filtered(QuadraticClosePairsFinder self, Model m, ParticleIndex a, ParticleIndex b) -> bool
8029 return _IMP_core.QuadraticClosePairsFinder_get_are_close_and_filtered(self, *args)
8032 def get_close_pairs(self, *args):
8034 get_close_pairs(QuadraticClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
8035 get_close_pairs(QuadraticClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
8036 get_close_pairs(QuadraticClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
8037 get_close_pairs(QuadraticClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
8039 return _IMP_core.QuadraticClosePairsFinder_get_close_pairs(self, *args)
8042 def do_get_inputs(self, m, pis):
8043 """do_get_inputs(QuadraticClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
8044 return _IMP_core.QuadraticClosePairsFinder_do_get_inputs(self, m, pis)
8047 def get_version_info(self):
8048 """get_version_info(QuadraticClosePairsFinder self) -> VersionInfo"""
8049 return _IMP_core.QuadraticClosePairsFinder_get_version_info(self)
8053 """__str__(QuadraticClosePairsFinder self) -> std::string"""
8054 return _IMP_core.QuadraticClosePairsFinder___str__(self)
8058 """__repr__(QuadraticClosePairsFinder self) -> std::string"""
8059 return _IMP_core.QuadraticClosePairsFinder___repr__(self)
8064 return _object_cast_to_QuadraticClosePairsFinder(o)
8066 QuadraticClosePairsFinder_swigregister = _IMP_core.QuadraticClosePairsFinder_swigregister
8067 QuadraticClosePairsFinder_swigregister(QuadraticClosePairsFinder)
8070 """Proxy of C++ IMP::core::RefinedPairsPairScore class"""
8071 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8073 def __init__(self, r, f):
8074 """__init__(IMP::core::RefinedPairsPairScore self, Refiner r, PairScore f) -> RefinedPairsPairScore"""
8075 this = _IMP_core.new_RefinedPairsPairScore(r, f)
8077 self.this.append(this)
8081 def do_get_inputs(self, m, pis):
8082 """do_get_inputs(RefinedPairsPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
8083 return _IMP_core.RefinedPairsPairScore_do_get_inputs(self, m, pis)
8086 def get_version_info(self):
8087 """get_version_info(RefinedPairsPairScore self) -> VersionInfo"""
8088 return _IMP_core.RefinedPairsPairScore_get_version_info(self)
8092 """__str__(RefinedPairsPairScore self) -> std::string"""
8093 return _IMP_core.RefinedPairsPairScore___str__(self)
8097 """__repr__(RefinedPairsPairScore self) -> std::string"""
8098 return _IMP_core.RefinedPairsPairScore___repr__(self)
8103 return _object_cast_to_RefinedPairsPairScore(o)
8105 RefinedPairsPairScore_swigregister = _IMP_core.RefinedPairsPairScore_swigregister
8106 RefinedPairsPairScore_swigregister(RefinedPairsPairScore)
8108 class RigidBody(XYZ):
8109 """Proxy of C++ IMP::core::RigidBody class"""
8110 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8112 def get_rigid_members(self):
8113 """get_rigid_members(RigidBody self) -> IMP::core::RigidMembers"""
8114 return _IMP_core.RigidBody_get_rigid_members(self)
8117 def get_rotation_keys():
8118 """get_rotation_keys() -> IMP::FloatKeys"""
8119 return _IMP_core.RigidBody_get_rotation_keys()
8121 get_rotation_keys = staticmethod(get_rotation_keys)
8123 def get_member_particle_indexes(self):
8124 """get_member_particle_indexes(RigidBody self) -> IMP::ParticleIndexes const &"""
8125 return _IMP_core.RigidBody_get_member_particle_indexes(self)
8128 def get_body_member_particle_indexes(self):
8129 """get_body_member_particle_indexes(RigidBody self) -> IMP::ParticleIndexes const &"""
8130 return _IMP_core.RigidBody_get_body_member_particle_indexes(self)
8133 def get_member_indexes(self):
8134 """get_member_indexes(RigidBody self) -> IMP::ParticleIndexes"""
8135 return _IMP_core.RigidBody_get_member_indexes(self)
8138 def __init__(self, *args):
8140 __init__(IMP::core::RigidBody self) -> RigidBody
8141 __init__(IMP::core::RigidBody self, Model m, ParticleIndex id) -> RigidBody
8142 __init__(IMP::core::RigidBody self, _ParticleAdaptor d) -> RigidBody
8144 this = _IMP_core.new_RigidBody(*args)
8146 self.this.append(this)
8150 def show(self, *args):
8152 show(RigidBody self, _ostream out)
8153 show(RigidBody self)
8155 return _IMP_core.RigidBody_show(self, *args)
8158 def setup_particle(*args):
8160 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor ps) -> RigidBody
8161 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor ps) -> RigidBody
8162 setup_particle(Model m, ParticleIndex pi, ReferenceFrame3D rf) -> RigidBody
8163 setup_particle(_ParticleAdaptor decorator, ReferenceFrame3D rf) -> RigidBody
8165 return _IMP_core.RigidBody_setup_particle(*args)
8167 setup_particle = staticmethod(setup_particle)
8169 def teardown_particle(rb):
8170 """teardown_particle(RigidBody rb)"""
8171 return _IMP_core.RigidBody_teardown_particle(rb)
8173 teardown_particle = staticmethod(teardown_particle)
8174 __swig_destroy__ = _IMP_core.delete_RigidBody
8175 __del__ =
lambda self:
None
8177 def get_is_setup(*args):
8179 get_is_setup(_ParticleAdaptor p) -> bool
8180 get_is_setup(Model m, ParticleIndex pi) -> bool
8182 return _IMP_core.RigidBody_get_is_setup(*args)
8184 get_is_setup = staticmethod(get_is_setup)
8186 def get_coordinates(self):
8187 """get_coordinates(RigidBody self) -> Vector3D"""
8188 return _IMP_core.RigidBody_get_coordinates(self)
8191 def get_rotation(self):
8192 """get_rotation(RigidBody self) -> Rotation3D"""
8193 return _IMP_core.RigidBody_get_rotation(self)
8196 def get_reference_frame(self):
8197 """get_reference_frame(RigidBody self) -> ReferenceFrame3D"""
8198 return _IMP_core.RigidBody_get_reference_frame(self)
8201 def set_reference_frame(self, tr):
8202 """set_reference_frame(RigidBody self, ReferenceFrame3D tr)"""
8203 return _IMP_core.RigidBody_set_reference_frame(self, tr)
8206 def set_reference_frame_lazy(self, tr):
8207 """set_reference_frame_lazy(RigidBody self, ReferenceFrame3D tr)"""
8208 return _IMP_core.RigidBody_set_reference_frame_lazy(self, tr)
8211 def set_reference_frame_from_members(self, members):
8212 """set_reference_frame_from_members(RigidBody self, IMP::ParticleIndexes const & members)"""
8213 return _IMP_core.RigidBody_set_reference_frame_from_members(self, members)
8216 def pull_back_members_adjoints(self, da):
8217 """pull_back_members_adjoints(RigidBody self, DerivativeAccumulator da)"""
8218 return _IMP_core.RigidBody_pull_back_members_adjoints(self, da)
8221 def pull_back_member_adjoints(self, pi, da):
8222 """pull_back_member_adjoints(RigidBody self, ParticleIndex pi, DerivativeAccumulator da)"""
8223 return _IMP_core.RigidBody_pull_back_member_adjoints(self, pi, da)
8226 def pull_back_body_member_adjoints(self, pi, da):
8227 """pull_back_body_member_adjoints(RigidBody self, ParticleIndex pi, DerivativeAccumulator da)"""
8228 return _IMP_core.RigidBody_pull_back_body_member_adjoints(self, pi, da)
8231 def add_to_derivatives(self, *args):
8233 add_to_derivatives(RigidBody self, Vector3D local_derivative, Vector3D local_location, DerivativeAccumulator da)
8234 add_to_derivatives(RigidBody self, Vector3D local_derivative, Vector3D global_derivative, Vector3D local_location, Rotation3D rot_local_to_global, DerivativeAccumulator da)
8236 return _IMP_core.RigidBody_add_to_derivatives(self, *args)
8239 def add_to_rotational_derivatives(self, *args):
8241 add_to_rotational_derivatives(RigidBody self, Vector4D other_qderiv, Rotation3D rot_other_to_local, Rotation3D rot_local_to_global, DerivativeAccumulator da)
8242 add_to_rotational_derivatives(RigidBody self, Vector4D qderiv, DerivativeAccumulator da)
8244 return _IMP_core.RigidBody_add_to_rotational_derivatives(self, *args)
8247 def add_to_torque(self, torque_local, da):
8248 """add_to_torque(RigidBody self, Vector3D torque_local, DerivativeAccumulator da)"""
8249 return _IMP_core.RigidBody_add_to_torque(self, torque_local, da)
8252 def get_torque(self):
8253 """get_torque(RigidBody self) -> Vector3D"""
8254 return _IMP_core.RigidBody_get_torque(self)
8257 def get_coordinates_are_optimized(self):
8258 """get_coordinates_are_optimized(RigidBody self) -> bool"""
8259 return _IMP_core.RigidBody_get_coordinates_are_optimized(self)
8262 def set_coordinates_are_optimized(self, tf):
8263 """set_coordinates_are_optimized(RigidBody self, bool tf)"""
8264 return _IMP_core.RigidBody_set_coordinates_are_optimized(self, tf)
8267 def normalize_rotation(self):
8268 """normalize_rotation(RigidBody self)"""
8269 return _IMP_core.RigidBody_normalize_rotation(self)
8272 def update_members(self):
8273 """update_members(RigidBody self)"""
8274 return _IMP_core.RigidBody_update_members(self)
8277 def get_rotational_derivatives(self):
8278 """get_rotational_derivatives(RigidBody self) -> Vector4D"""
8279 return _IMP_core.RigidBody_get_rotational_derivatives(self)
8282 def get_number_of_members(self):
8283 """get_number_of_members(RigidBody self) -> unsigned int"""
8284 return _IMP_core.RigidBody_get_number_of_members(self)
8287 def get_member(self, i):
8288 """get_member(RigidBody self, unsigned int i) -> RigidBodyMember"""
8289 return _IMP_core.RigidBody_get_member(self, i)
8292 def add_member(self, p):
8293 """add_member(RigidBody self, _ParticleIndexAdaptor p)"""
8294 return _IMP_core.RigidBody_add_member(self, p)
8297 def add_non_rigid_member(self, p):
8298 """add_non_rigid_member(RigidBody self, _ParticleIndexAdaptor p)"""
8299 return _IMP_core.RigidBody_add_non_rigid_member(self, p)
8302 def set_is_rigid_member(self, pi, tf):
8303 """set_is_rigid_member(RigidBody self, ParticleIndex pi, bool tf)"""
8304 return _IMP_core.RigidBody_set_is_rigid_member(self, pi, tf)
8307 def add_attribute(self, *args):
8309 add_attribute(RigidBody self, FloatKey k, IMP::Float v, bool opt)
8310 add_attribute(RigidBody self, FloatKey a0, IMP::Float a1)
8311 add_attribute(RigidBody self, IntKey a0, IMP::Int a1)
8312 add_attribute(RigidBody self, FloatsKey a0, IMP::Floats a1)
8313 add_attribute(RigidBody self, IntsKey a0, IMP::Ints a1)
8314 add_attribute(RigidBody self, StringKey a0, IMP::String a1)
8315 add_attribute(RigidBody self, ParticleIndexKey a0, Particle a1)
8316 add_attribute(RigidBody self, ObjectKey a0, Object a1)
8318 return _IMP_core.RigidBody_add_attribute(self, *args)
8321 def get_value(self, *args):
8323 get_value(RigidBody self, FloatKey a0) -> IMP::Float
8324 get_value(RigidBody self, IntKey a0) -> IMP::Int
8325 get_value(RigidBody self, FloatsKey a0) -> IMP::Floats
8326 get_value(RigidBody self, IntsKey a0) -> IMP::Ints
8327 get_value(RigidBody self, StringKey a0) -> IMP::String
8328 get_value(RigidBody self, ParticleIndexKey a0) -> Particle
8329 get_value(RigidBody self, ObjectKey a0) -> Object
8331 return _IMP_core.RigidBody_get_value(self, *args)
8334 def set_value(self, *args):
8336 set_value(RigidBody self, FloatKey a0, IMP::Float a1)
8337 set_value(RigidBody self, IntKey a0, IMP::Int a1)
8338 set_value(RigidBody self, FloatsKey a0, IMP::Floats a1)
8339 set_value(RigidBody self, IntsKey a0, IMP::Ints a1)
8340 set_value(RigidBody self, StringKey a0, IMP::String a1)
8341 set_value(RigidBody self, ParticleIndexKey a0, Particle a1)
8342 set_value(RigidBody self, ObjectKey a0, Object a1)
8344 return _IMP_core.RigidBody_set_value(self, *args)
8347 def remove_attribute(self, *args):
8349 remove_attribute(RigidBody self, FloatKey a0)
8350 remove_attribute(RigidBody self, IntKey a0)
8351 remove_attribute(RigidBody self, FloatsKey a0)
8352 remove_attribute(RigidBody self, IntsKey a0)
8353 remove_attribute(RigidBody self, StringKey a0)
8354 remove_attribute(RigidBody self, ParticleIndexKey a0)
8355 remove_attribute(RigidBody self, ObjectKey a0)
8357 return _IMP_core.RigidBody_remove_attribute(self, *args)
8360 def has_attribute(self, *args):
8362 has_attribute(RigidBody self, FloatKey a0) -> bool
8363 has_attribute(RigidBody self, IntKey a0) -> bool
8364 has_attribute(RigidBody self, FloatsKey a0) -> bool
8365 has_attribute(RigidBody self, IntsKey a0) -> bool
8366 has_attribute(RigidBody self, StringKey a0) -> bool
8367 has_attribute(RigidBody self, ParticleIndexKey a0) -> bool
8368 has_attribute(RigidBody self, ObjectKey a0) -> bool
8370 return _IMP_core.RigidBody_has_attribute(self, *args)
8373 def get_derivative(self, a0):
8374 """get_derivative(RigidBody self, FloatKey a0) -> double"""
8375 return _IMP_core.RigidBody_get_derivative(self, a0)
8379 """get_name(RigidBody self) -> std::string"""
8380 return _IMP_core.RigidBody_get_name(self)
8383 def clear_caches(self):
8384 """clear_caches(RigidBody self)"""
8385 return _IMP_core.RigidBody_clear_caches(self)
8388 def set_name(self, a0):
8389 """set_name(RigidBody self, std::string a0)"""
8390 return _IMP_core.RigidBody_set_name(self, a0)
8394 """set_check_level(RigidBody self, IMP::CheckLevel a0)"""
8395 return _IMP_core.RigidBody_set_check_level(self, a0)
8398 def add_to_derivative(self, a0, a1, a2):
8399 """add_to_derivative(RigidBody self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
8400 return _IMP_core.RigidBody_add_to_derivative(self, a0, a1, a2)
8403 def set_is_optimized(self, a0, a1):
8404 """set_is_optimized(RigidBody self, FloatKey a0, bool a1)"""
8405 return _IMP_core.RigidBody_set_is_optimized(self, a0, a1)
8408 def get_is_optimized(self, a0):
8409 """get_is_optimized(RigidBody self, FloatKey a0) -> bool"""
8410 return _IMP_core.RigidBody_get_is_optimized(self, a0)
8414 """get_check_level(RigidBody self) -> IMP::CheckLevel"""
8415 return _IMP_core.RigidBody_get_check_level(self)
8418 def __eq__(self, *args):
8420 __eq__(RigidBody self, RigidBody o) -> bool
8421 __eq__(RigidBody self, Particle d) -> bool
8423 return _IMP_core.RigidBody___eq__(self, *args)
8426 def __ne__(self, *args):
8428 __ne__(RigidBody self, RigidBody o) -> bool
8429 __ne__(RigidBody self, Particle d) -> bool
8431 return _IMP_core.RigidBody___ne__(self, *args)
8434 def __le__(self, *args):
8436 __le__(RigidBody self, RigidBody o) -> bool
8437 __le__(RigidBody self, Particle d) -> bool
8439 return _IMP_core.RigidBody___le__(self, *args)
8442 def __lt__(self, *args):
8444 __lt__(RigidBody self, RigidBody o) -> bool
8445 __lt__(RigidBody self, Particle d) -> bool
8447 return _IMP_core.RigidBody___lt__(self, *args)
8450 def __ge__(self, *args):
8452 __ge__(RigidBody self, RigidBody o) -> bool
8453 __ge__(RigidBody self, Particle d) -> bool
8455 return _IMP_core.RigidBody___ge__(self, *args)
8458 def __gt__(self, *args):
8460 __gt__(RigidBody self, RigidBody o) -> bool
8461 __gt__(RigidBody self, Particle d) -> bool
8463 return _IMP_core.RigidBody___gt__(self, *args)
8467 """__hash__(RigidBody self) -> std::size_t"""
8468 return _IMP_core.RigidBody___hash__(self)
8472 """__str__(RigidBody self) -> std::string"""
8473 return _IMP_core.RigidBody___str__(self)
8477 """__repr__(RigidBody self) -> std::string"""
8478 return _IMP_core.RigidBody___repr__(self)
8480 RigidBody_swigregister = _IMP_core.RigidBody_swigregister
8481 RigidBody_swigregister(RigidBody)
8483 def RigidBody_get_rotation_keys():
8484 """RigidBody_get_rotation_keys() -> IMP::FloatKeys"""
8485 return _IMP_core.RigidBody_get_rotation_keys()
8487 def RigidBody_setup_particle(*args):
8489 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor ps) -> RigidBody
8490 setup_particle(_ParticleAdaptor decorator, _ParticleIndexesAdaptor ps) -> RigidBody
8491 setup_particle(Model m, ParticleIndex pi, ReferenceFrame3D rf) -> RigidBody
8492 RigidBody_setup_particle(_ParticleAdaptor decorator, ReferenceFrame3D rf) -> RigidBody
8494 return _IMP_core.RigidBody_setup_particle(*args)
8496 def RigidBody_teardown_particle(rb):
8497 """RigidBody_teardown_particle(RigidBody rb)"""
8498 return _IMP_core.RigidBody_teardown_particle(rb)
8500 def RigidBody_get_is_setup(*args):
8502 get_is_setup(_ParticleAdaptor p) -> bool
8503 RigidBody_get_is_setup(Model m, ParticleIndex pi) -> bool
8505 return _IMP_core.RigidBody_get_is_setup(*args)
8509 """add_rigid_body_cache_key(ObjectKey k)"""
8510 return _IMP_core.add_rigid_body_cache_key(k)
8511 class RigidBodyMember(XYZ):
8512 """Proxy of C++ IMP::core::RigidBodyMember class"""
8513 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8515 def __init__(self, *args):
8517 __init__(IMP::core::RigidBodyMember self) -> RigidBodyMember
8518 __init__(IMP::core::RigidBodyMember self, Model m, ParticleIndex id) -> RigidBodyMember
8519 __init__(IMP::core::RigidBodyMember self, _ParticleAdaptor d) -> RigidBodyMember
8521 this = _IMP_core.new_RigidBodyMember(*args)
8523 self.this.append(this)
8527 def show(self, *args):
8529 show(RigidBodyMember self, _ostream out)
8530 show(RigidBodyMember self)
8532 return _IMP_core.RigidBodyMember_show(self, *args)
8535 def get_rigid_body(self):
8536 """get_rigid_body(RigidBodyMember self) -> RigidBody"""
8537 return _IMP_core.RigidBodyMember_get_rigid_body(self)
8540 def get_internal_coordinates(self):
8541 """get_internal_coordinates(RigidBodyMember self) -> Vector3D"""
8542 return _IMP_core.RigidBodyMember_get_internal_coordinates(self)
8545 def set_internal_coordinates(self, v):
8546 """set_internal_coordinates(RigidBodyMember self, Vector3D v)"""
8547 return _IMP_core.RigidBodyMember_set_internal_coordinates(self, v)
8550 def set_internal_transformation(self, v):
8551 """set_internal_transformation(RigidBodyMember self, Transformation3D v)"""
8552 return _IMP_core.RigidBodyMember_set_internal_transformation(self, v)
8555 def get_internal_transformation(self):
8556 """get_internal_transformation(RigidBodyMember self) -> Transformation3D"""
8557 return _IMP_core.RigidBodyMember_get_internal_transformation(self)
8559 __swig_destroy__ = _IMP_core.delete_RigidBodyMember
8560 __del__ =
lambda self:
None
8562 def set_coordinates(self, *args):
8564 set_coordinates(RigidBodyMember self, Vector3D center)
8565 set_coordinates(RigidBodyMember self, Transformation3D tr)
8567 return _IMP_core.RigidBodyMember_set_coordinates(self, *args)
8570 def get_is_setup(*args):
8572 get_is_setup(_ParticleAdaptor p) -> bool
8573 get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
8575 return _IMP_core.RigidBodyMember_get_is_setup(*args)
8577 get_is_setup = staticmethod(get_is_setup)
8579 def get_internal_coordinate_keys():
8580 """get_internal_coordinate_keys() -> IMP::FloatKeys"""
8581 return _IMP_core.RigidBodyMember_get_internal_coordinate_keys()
8583 get_internal_coordinate_keys = staticmethod(get_internal_coordinate_keys)
8585 def get_internal_rotation_keys():
8586 """get_internal_rotation_keys() -> IMP::FloatKeys"""
8587 return _IMP_core.RigidBodyMember_get_internal_rotation_keys()
8589 get_internal_rotation_keys = staticmethod(get_internal_rotation_keys)
8591 def add_attribute(self, *args):
8593 add_attribute(RigidBodyMember self, FloatKey k, IMP::Float v, bool opt)
8594 add_attribute(RigidBodyMember self, FloatKey a0, IMP::Float a1)
8595 add_attribute(RigidBodyMember self, IntKey a0, IMP::Int a1)
8596 add_attribute(RigidBodyMember self, FloatsKey a0, IMP::Floats a1)
8597 add_attribute(RigidBodyMember self, IntsKey a0, IMP::Ints a1)
8598 add_attribute(RigidBodyMember self, StringKey a0, IMP::String a1)
8599 add_attribute(RigidBodyMember self, ParticleIndexKey a0, Particle a1)
8600 add_attribute(RigidBodyMember self, ObjectKey a0, Object a1)
8602 return _IMP_core.RigidBodyMember_add_attribute(self, *args)
8605 def get_value(self, *args):
8607 get_value(RigidBodyMember self, FloatKey a0) -> IMP::Float
8608 get_value(RigidBodyMember self, IntKey a0) -> IMP::Int
8609 get_value(RigidBodyMember self, FloatsKey a0) -> IMP::Floats
8610 get_value(RigidBodyMember self, IntsKey a0) -> IMP::Ints
8611 get_value(RigidBodyMember self, StringKey a0) -> IMP::String
8612 get_value(RigidBodyMember self, ParticleIndexKey a0) -> Particle
8613 get_value(RigidBodyMember self, ObjectKey a0) -> Object
8615 return _IMP_core.RigidBodyMember_get_value(self, *args)
8618 def set_value(self, *args):
8620 set_value(RigidBodyMember self, FloatKey a0, IMP::Float a1)
8621 set_value(RigidBodyMember self, IntKey a0, IMP::Int a1)
8622 set_value(RigidBodyMember self, FloatsKey a0, IMP::Floats a1)
8623 set_value(RigidBodyMember self, IntsKey a0, IMP::Ints a1)
8624 set_value(RigidBodyMember self, StringKey a0, IMP::String a1)
8625 set_value(RigidBodyMember self, ParticleIndexKey a0, Particle a1)
8626 set_value(RigidBodyMember self, ObjectKey a0, Object a1)
8628 return _IMP_core.RigidBodyMember_set_value(self, *args)
8631 def remove_attribute(self, *args):
8633 remove_attribute(RigidBodyMember self, FloatKey a0)
8634 remove_attribute(RigidBodyMember self, IntKey a0)
8635 remove_attribute(RigidBodyMember self, FloatsKey a0)
8636 remove_attribute(RigidBodyMember self, IntsKey a0)
8637 remove_attribute(RigidBodyMember self, StringKey a0)
8638 remove_attribute(RigidBodyMember self, ParticleIndexKey a0)
8639 remove_attribute(RigidBodyMember self, ObjectKey a0)
8641 return _IMP_core.RigidBodyMember_remove_attribute(self, *args)
8644 def has_attribute(self, *args):
8646 has_attribute(RigidBodyMember self, FloatKey a0) -> bool
8647 has_attribute(RigidBodyMember self, IntKey a0) -> bool
8648 has_attribute(RigidBodyMember self, FloatsKey a0) -> bool
8649 has_attribute(RigidBodyMember self, IntsKey a0) -> bool
8650 has_attribute(RigidBodyMember self, StringKey a0) -> bool
8651 has_attribute(RigidBodyMember self, ParticleIndexKey a0) -> bool
8652 has_attribute(RigidBodyMember self, ObjectKey a0) -> bool
8654 return _IMP_core.RigidBodyMember_has_attribute(self, *args)
8657 def get_derivative(self, a0):
8658 """get_derivative(RigidBodyMember self, FloatKey a0) -> double"""
8659 return _IMP_core.RigidBodyMember_get_derivative(self, a0)
8663 """get_name(RigidBodyMember self) -> std::string"""
8664 return _IMP_core.RigidBodyMember_get_name(self)
8667 def clear_caches(self):
8668 """clear_caches(RigidBodyMember self)"""
8669 return _IMP_core.RigidBodyMember_clear_caches(self)
8672 def set_name(self, a0):
8673 """set_name(RigidBodyMember self, std::string a0)"""
8674 return _IMP_core.RigidBodyMember_set_name(self, a0)
8678 """set_check_level(RigidBodyMember self, IMP::CheckLevel a0)"""
8679 return _IMP_core.RigidBodyMember_set_check_level(self, a0)
8682 def add_to_derivative(self, a0, a1, a2):
8683 """add_to_derivative(RigidBodyMember self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
8684 return _IMP_core.RigidBodyMember_add_to_derivative(self, a0, a1, a2)
8687 def set_is_optimized(self, a0, a1):
8688 """set_is_optimized(RigidBodyMember self, FloatKey a0, bool a1)"""
8689 return _IMP_core.RigidBodyMember_set_is_optimized(self, a0, a1)
8692 def get_is_optimized(self, a0):
8693 """get_is_optimized(RigidBodyMember self, FloatKey a0) -> bool"""
8694 return _IMP_core.RigidBodyMember_get_is_optimized(self, a0)
8698 """get_check_level(RigidBodyMember self) -> IMP::CheckLevel"""
8699 return _IMP_core.RigidBodyMember_get_check_level(self)
8702 def __eq__(self, *args):
8704 __eq__(RigidBodyMember self, RigidBodyMember o) -> bool
8705 __eq__(RigidBodyMember self, Particle d) -> bool
8707 return _IMP_core.RigidBodyMember___eq__(self, *args)
8710 def __ne__(self, *args):
8712 __ne__(RigidBodyMember self, RigidBodyMember o) -> bool
8713 __ne__(RigidBodyMember self, Particle d) -> bool
8715 return _IMP_core.RigidBodyMember___ne__(self, *args)
8718 def __le__(self, *args):
8720 __le__(RigidBodyMember self, RigidBodyMember o) -> bool
8721 __le__(RigidBodyMember self, Particle d) -> bool
8723 return _IMP_core.RigidBodyMember___le__(self, *args)
8726 def __lt__(self, *args):
8728 __lt__(RigidBodyMember self, RigidBodyMember o) -> bool
8729 __lt__(RigidBodyMember self, Particle d) -> bool
8731 return _IMP_core.RigidBodyMember___lt__(self, *args)
8734 def __ge__(self, *args):
8736 __ge__(RigidBodyMember self, RigidBodyMember o) -> bool
8737 __ge__(RigidBodyMember self, Particle d) -> bool
8739 return _IMP_core.RigidBodyMember___ge__(self, *args)
8742 def __gt__(self, *args):
8744 __gt__(RigidBodyMember self, RigidBodyMember o) -> bool
8745 __gt__(RigidBodyMember self, Particle d) -> bool
8747 return _IMP_core.RigidBodyMember___gt__(self, *args)
8751 """__hash__(RigidBodyMember self) -> std::size_t"""
8752 return _IMP_core.RigidBodyMember___hash__(self)
8756 """__str__(RigidBodyMember self) -> std::string"""
8757 return _IMP_core.RigidBodyMember___str__(self)
8761 """__repr__(RigidBodyMember self) -> std::string"""
8762 return _IMP_core.RigidBodyMember___repr__(self)
8764 RigidBodyMember_swigregister = _IMP_core.RigidBodyMember_swigregister
8765 RigidBodyMember_swigregister(RigidBodyMember)
8767 def RigidBodyMember_get_is_setup(*args):
8769 get_is_setup(_ParticleAdaptor p) -> bool
8770 RigidBodyMember_get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
8772 return _IMP_core.RigidBodyMember_get_is_setup(*args)
8774 def RigidBodyMember_get_internal_coordinate_keys():
8775 """RigidBodyMember_get_internal_coordinate_keys() -> IMP::FloatKeys"""
8776 return _IMP_core.RigidBodyMember_get_internal_coordinate_keys()
8778 def RigidBodyMember_get_internal_rotation_keys():
8779 """RigidBodyMember_get_internal_rotation_keys() -> IMP::FloatKeys"""
8780 return _IMP_core.RigidBodyMember_get_internal_rotation_keys()
8782 class RigidMember(RigidBodyMember):
8783 """Proxy of C++ IMP::core::RigidMember class"""
8784 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
8786 def __init__(self, *args):
8788 __init__(IMP::core::RigidMember self) -> RigidMember
8789 __init__(IMP::core::RigidMember self, Model m, ParticleIndex id) -> RigidMember
8790 __init__(IMP::core::RigidMember self, _ParticleAdaptor d) -> RigidMember
8792 this = _IMP_core.new_RigidMember(*args)
8794 self.this.append(this)
8798 def show(self, *args):
8800 show(RigidMember self, _ostream out)
8801 show(RigidMember self)
8803 return _IMP_core.RigidMember_show(self, *args)
8805 __swig_destroy__ = _IMP_core.delete_RigidMember
8806 __del__ =
lambda self:
None
8808 def get_is_setup(*args):
8810 get_is_setup(_ParticleAdaptor p) -> bool
8811 get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
8813 return _IMP_core.RigidMember_get_is_setup(*args)
8815 get_is_setup = staticmethod(get_is_setup)
8817 def add_attribute(self, *args):
8819 add_attribute(RigidMember self, FloatKey k, IMP::Float v, bool opt)
8820 add_attribute(RigidMember self, FloatKey a0, IMP::Float a1)
8821 add_attribute(RigidMember self, IntKey a0, IMP::Int a1)
8822 add_attribute(RigidMember self, FloatsKey a0, IMP::Floats a1)
8823 add_attribute(RigidMember self, IntsKey a0, IMP::Ints a1)
8824 add_attribute(RigidMember self, StringKey a0, IMP::String a1)
8825 add_attribute(RigidMember self, ParticleIndexKey a0, Particle a1)
8826 add_attribute(RigidMember self, ObjectKey a0, Object a1)
8828 return _IMP_core.RigidMember_add_attribute(self, *args)
8831 def get_value(self, *args):
8833 get_value(RigidMember self, FloatKey a0) -> IMP::Float
8834 get_value(RigidMember self, IntKey a0) -> IMP::Int
8835 get_value(RigidMember self, FloatsKey a0) -> IMP::Floats
8836 get_value(RigidMember self, IntsKey a0) -> IMP::Ints
8837 get_value(RigidMember self, StringKey a0) -> IMP::String
8838 get_value(RigidMember self, ParticleIndexKey a0) -> Particle
8839 get_value(RigidMember self, ObjectKey a0) -> Object
8841 return _IMP_core.RigidMember_get_value(self, *args)
8844 def set_value(self, *args):
8846 set_value(RigidMember self, FloatKey a0, IMP::Float a1)
8847 set_value(RigidMember self, IntKey a0, IMP::Int a1)
8848 set_value(RigidMember self, FloatsKey a0, IMP::Floats a1)
8849 set_value(RigidMember self, IntsKey a0, IMP::Ints a1)
8850 set_value(RigidMember self, StringKey a0, IMP::String a1)
8851 set_value(RigidMember self, ParticleIndexKey a0, Particle a1)
8852 set_value(RigidMember self, ObjectKey a0, Object a1)
8854 return _IMP_core.RigidMember_set_value(self, *args)
8857 def remove_attribute(self, *args):
8859 remove_attribute(RigidMember self, FloatKey a0)
8860 remove_attribute(RigidMember self, IntKey a0)
8861 remove_attribute(RigidMember self, FloatsKey a0)
8862 remove_attribute(RigidMember self, IntsKey a0)
8863 remove_attribute(RigidMember self, StringKey a0)
8864 remove_attribute(RigidMember self, ParticleIndexKey a0)
8865 remove_attribute(RigidMember self, ObjectKey a0)
8867 return _IMP_core.RigidMember_remove_attribute(self, *args)
8870 def has_attribute(self, *args):
8872 has_attribute(RigidMember self, FloatKey a0) -> bool
8873 has_attribute(RigidMember self, IntKey a0) -> bool
8874 has_attribute(RigidMember self, FloatsKey a0) -> bool
8875 has_attribute(RigidMember self, IntsKey a0) -> bool
8876 has_attribute(RigidMember self, StringKey a0) -> bool
8877 has_attribute(RigidMember self, ParticleIndexKey a0) -> bool
8878 has_attribute(RigidMember self, ObjectKey a0) -> bool
8880 return _IMP_core.RigidMember_has_attribute(self, *args)
8883 def get_derivative(self, a0):
8884 """get_derivative(RigidMember self, FloatKey a0) -> double"""
8885 return _IMP_core.RigidMember_get_derivative(self, a0)
8889 """get_name(RigidMember self) -> std::string"""
8890 return _IMP_core.RigidMember_get_name(self)
8893 def clear_caches(self):
8894 """clear_caches(RigidMember self)"""
8895 return _IMP_core.RigidMember_clear_caches(self)
8898 def set_name(self, a0):
8899 """set_name(RigidMember self, std::string a0)"""
8900 return _IMP_core.RigidMember_set_name(self, a0)
8904 """set_check_level(RigidMember self, IMP::CheckLevel a0)"""
8905 return _IMP_core.RigidMember_set_check_level(self, a0)
8908 def add_to_derivative(self, a0, a1, a2):
8909 """add_to_derivative(RigidMember self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
8910 return _IMP_core.RigidMember_add_to_derivative(self, a0, a1, a2)
8913 def set_is_optimized(self, a0, a1):
8914 """set_is_optimized(RigidMember self, FloatKey a0, bool a1)"""
8915 return _IMP_core.RigidMember_set_is_optimized(self, a0, a1)
8918 def get_is_optimized(self, a0):
8919 """get_is_optimized(RigidMember self, FloatKey a0) -> bool"""
8920 return _IMP_core.RigidMember_get_is_optimized(self, a0)
8924 """get_check_level(RigidMember self) -> IMP::CheckLevel"""
8925 return _IMP_core.RigidMember_get_check_level(self)
8928 def __eq__(self, *args):
8930 __eq__(RigidMember self, RigidMember o) -> bool
8931 __eq__(RigidMember self, Particle d) -> bool
8933 return _IMP_core.RigidMember___eq__(self, *args)
8936 def __ne__(self, *args):
8938 __ne__(RigidMember self, RigidMember o) -> bool
8939 __ne__(RigidMember self, Particle d) -> bool
8941 return _IMP_core.RigidMember___ne__(self, *args)
8944 def __le__(self, *args):
8946 __le__(RigidMember self, RigidMember o) -> bool
8947 __le__(RigidMember self, Particle d) -> bool
8949 return _IMP_core.RigidMember___le__(self, *args)
8952 def __lt__(self, *args):
8954 __lt__(RigidMember self, RigidMember o) -> bool
8955 __lt__(RigidMember self, Particle d) -> bool
8957 return _IMP_core.RigidMember___lt__(self, *args)
8960 def __ge__(self, *args):
8962 __ge__(RigidMember self, RigidMember o) -> bool
8963 __ge__(RigidMember self, Particle d) -> bool
8965 return _IMP_core.RigidMember___ge__(self, *args)
8968 def __gt__(self, *args):
8970 __gt__(RigidMember self, RigidMember o) -> bool
8971 __gt__(RigidMember self, Particle d) -> bool
8973 return _IMP_core.RigidMember___gt__(self, *args)
8977 """__hash__(RigidMember self) -> std::size_t"""
8978 return _IMP_core.RigidMember___hash__(self)
8982 """__str__(RigidMember self) -> std::string"""
8983 return _IMP_core.RigidMember___str__(self)
8987 """__repr__(RigidMember self) -> std::string"""
8988 return _IMP_core.RigidMember___repr__(self)
8990 RigidMember_swigregister = _IMP_core.RigidMember_swigregister
8991 RigidMember_swigregister(RigidMember)
8993 def RigidMember_get_is_setup(*args):
8995 get_is_setup(_ParticleAdaptor p) -> bool
8996 RigidMember_get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
8998 return _IMP_core.RigidMember_get_is_setup(*args)
9000 class NonRigidMember(RigidBodyMember):
9001 """Proxy of C++ IMP::core::NonRigidMember class"""
9002 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9004 def __init__(self, *args):
9006 __init__(IMP::core::NonRigidMember self) -> NonRigidMember
9007 __init__(IMP::core::NonRigidMember self, Model m, ParticleIndex id) -> NonRigidMember
9008 __init__(IMP::core::NonRigidMember self, _ParticleAdaptor d) -> NonRigidMember
9010 this = _IMP_core.new_NonRigidMember(*args)
9012 self.this.append(this)
9016 def show(self, *args):
9018 show(NonRigidMember self, _ostream out)
9019 show(NonRigidMember self)
9021 return _IMP_core.NonRigidMember_show(self, *args)
9023 __swig_destroy__ = _IMP_core.delete_NonRigidMember
9024 __del__ =
lambda self:
None
9026 def get_is_setup(*args):
9028 get_is_setup(_ParticleAdaptor p) -> bool
9029 get_is_setup(Model m, ParticleIndex p) -> bool
9031 return _IMP_core.NonRigidMember_get_is_setup(*args)
9033 get_is_setup = staticmethod(get_is_setup)
9035 def add_to_internal_derivatives(self, deriv_parent, da):
9036 """add_to_internal_derivatives(NonRigidMember self, Vector3D deriv_parent, DerivativeAccumulator da)"""
9037 return _IMP_core.NonRigidMember_add_to_internal_derivatives(self, deriv_parent, da)
9040 def add_to_internal_rotational_derivatives(self, *args):
9042 add_to_internal_rotational_derivatives(NonRigidMember self, Vector4D local_qderiv, Rotation3D rot_local_to_parent, Rotation3D rot_parent_to_global, DerivativeAccumulator da)
9043 add_to_internal_rotational_derivatives(NonRigidMember self, Vector4D qderiv, DerivativeAccumulator da)
9045 return _IMP_core.NonRigidMember_add_to_internal_rotational_derivatives(self, *args)
9048 def get_internal_derivatives(self):
9049 """get_internal_derivatives(NonRigidMember self) -> Vector3D"""
9050 return _IMP_core.NonRigidMember_get_internal_derivatives(self)
9053 def get_internal_rotational_derivatives(self):
9054 """get_internal_rotational_derivatives(NonRigidMember self) -> Vector4D"""
9055 return _IMP_core.NonRigidMember_get_internal_rotational_derivatives(self)
9058 def add_attribute(self, *args):
9060 add_attribute(NonRigidMember self, FloatKey k, IMP::Float v, bool opt)
9061 add_attribute(NonRigidMember self, FloatKey a0, IMP::Float a1)
9062 add_attribute(NonRigidMember self, IntKey a0, IMP::Int a1)
9063 add_attribute(NonRigidMember self, FloatsKey a0, IMP::Floats a1)
9064 add_attribute(NonRigidMember self, IntsKey a0, IMP::Ints a1)
9065 add_attribute(NonRigidMember self, StringKey a0, IMP::String a1)
9066 add_attribute(NonRigidMember self, ParticleIndexKey a0, Particle a1)
9067 add_attribute(NonRigidMember self, ObjectKey a0, Object a1)
9069 return _IMP_core.NonRigidMember_add_attribute(self, *args)
9072 def get_value(self, *args):
9074 get_value(NonRigidMember self, FloatKey a0) -> IMP::Float
9075 get_value(NonRigidMember self, IntKey a0) -> IMP::Int
9076 get_value(NonRigidMember self, FloatsKey a0) -> IMP::Floats
9077 get_value(NonRigidMember self, IntsKey a0) -> IMP::Ints
9078 get_value(NonRigidMember self, StringKey a0) -> IMP::String
9079 get_value(NonRigidMember self, ParticleIndexKey a0) -> Particle
9080 get_value(NonRigidMember self, ObjectKey a0) -> Object
9082 return _IMP_core.NonRigidMember_get_value(self, *args)
9085 def set_value(self, *args):
9087 set_value(NonRigidMember self, FloatKey a0, IMP::Float a1)
9088 set_value(NonRigidMember self, IntKey a0, IMP::Int a1)
9089 set_value(NonRigidMember self, FloatsKey a0, IMP::Floats a1)
9090 set_value(NonRigidMember self, IntsKey a0, IMP::Ints a1)
9091 set_value(NonRigidMember self, StringKey a0, IMP::String a1)
9092 set_value(NonRigidMember self, ParticleIndexKey a0, Particle a1)
9093 set_value(NonRigidMember self, ObjectKey a0, Object a1)
9095 return _IMP_core.NonRigidMember_set_value(self, *args)
9098 def remove_attribute(self, *args):
9100 remove_attribute(NonRigidMember self, FloatKey a0)
9101 remove_attribute(NonRigidMember self, IntKey a0)
9102 remove_attribute(NonRigidMember self, FloatsKey a0)
9103 remove_attribute(NonRigidMember self, IntsKey a0)
9104 remove_attribute(NonRigidMember self, StringKey a0)
9105 remove_attribute(NonRigidMember self, ParticleIndexKey a0)
9106 remove_attribute(NonRigidMember self, ObjectKey a0)
9108 return _IMP_core.NonRigidMember_remove_attribute(self, *args)
9111 def has_attribute(self, *args):
9113 has_attribute(NonRigidMember self, FloatKey a0) -> bool
9114 has_attribute(NonRigidMember self, IntKey a0) -> bool
9115 has_attribute(NonRigidMember self, FloatsKey a0) -> bool
9116 has_attribute(NonRigidMember self, IntsKey a0) -> bool
9117 has_attribute(NonRigidMember self, StringKey a0) -> bool
9118 has_attribute(NonRigidMember self, ParticleIndexKey a0) -> bool
9119 has_attribute(NonRigidMember self, ObjectKey a0) -> bool
9121 return _IMP_core.NonRigidMember_has_attribute(self, *args)
9124 def get_derivative(self, a0):
9125 """get_derivative(NonRigidMember self, FloatKey a0) -> double"""
9126 return _IMP_core.NonRigidMember_get_derivative(self, a0)
9130 """get_name(NonRigidMember self) -> std::string"""
9131 return _IMP_core.NonRigidMember_get_name(self)
9134 def clear_caches(self):
9135 """clear_caches(NonRigidMember self)"""
9136 return _IMP_core.NonRigidMember_clear_caches(self)
9139 def set_name(self, a0):
9140 """set_name(NonRigidMember self, std::string a0)"""
9141 return _IMP_core.NonRigidMember_set_name(self, a0)
9145 """set_check_level(NonRigidMember self, IMP::CheckLevel a0)"""
9146 return _IMP_core.NonRigidMember_set_check_level(self, a0)
9149 def add_to_derivative(self, a0, a1, a2):
9150 """add_to_derivative(NonRigidMember self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
9151 return _IMP_core.NonRigidMember_add_to_derivative(self, a0, a1, a2)
9154 def set_is_optimized(self, a0, a1):
9155 """set_is_optimized(NonRigidMember self, FloatKey a0, bool a1)"""
9156 return _IMP_core.NonRigidMember_set_is_optimized(self, a0, a1)
9159 def get_is_optimized(self, a0):
9160 """get_is_optimized(NonRigidMember self, FloatKey a0) -> bool"""
9161 return _IMP_core.NonRigidMember_get_is_optimized(self, a0)
9165 """get_check_level(NonRigidMember self) -> IMP::CheckLevel"""
9166 return _IMP_core.NonRigidMember_get_check_level(self)
9169 def __eq__(self, *args):
9171 __eq__(NonRigidMember self, NonRigidMember o) -> bool
9172 __eq__(NonRigidMember self, Particle d) -> bool
9174 return _IMP_core.NonRigidMember___eq__(self, *args)
9177 def __ne__(self, *args):
9179 __ne__(NonRigidMember self, NonRigidMember o) -> bool
9180 __ne__(NonRigidMember self, Particle d) -> bool
9182 return _IMP_core.NonRigidMember___ne__(self, *args)
9185 def __le__(self, *args):
9187 __le__(NonRigidMember self, NonRigidMember o) -> bool
9188 __le__(NonRigidMember self, Particle d) -> bool
9190 return _IMP_core.NonRigidMember___le__(self, *args)
9193 def __lt__(self, *args):
9195 __lt__(NonRigidMember self, NonRigidMember o) -> bool
9196 __lt__(NonRigidMember self, Particle d) -> bool
9198 return _IMP_core.NonRigidMember___lt__(self, *args)
9201 def __ge__(self, *args):
9203 __ge__(NonRigidMember self, NonRigidMember o) -> bool
9204 __ge__(NonRigidMember self, Particle d) -> bool
9206 return _IMP_core.NonRigidMember___ge__(self, *args)
9209 def __gt__(self, *args):
9211 __gt__(NonRigidMember self, NonRigidMember o) -> bool
9212 __gt__(NonRigidMember self, Particle d) -> bool
9214 return _IMP_core.NonRigidMember___gt__(self, *args)
9218 """__hash__(NonRigidMember self) -> std::size_t"""
9219 return _IMP_core.NonRigidMember___hash__(self)
9223 """__str__(NonRigidMember self) -> std::string"""
9224 return _IMP_core.NonRigidMember___str__(self)
9228 """__repr__(NonRigidMember self) -> std::string"""
9229 return _IMP_core.NonRigidMember___repr__(self)
9231 NonRigidMember_swigregister = _IMP_core.NonRigidMember_swigregister
9232 NonRigidMember_swigregister(NonRigidMember)
9234 def NonRigidMember_get_is_setup(*args):
9236 get_is_setup(_ParticleAdaptor p) -> bool
9237 NonRigidMember_get_is_setup(Model m, ParticleIndex p) -> bool
9239 return _IMP_core.NonRigidMember_get_is_setup(*args)
9242 """Proxy of C++ IMP::core::RigidMembersRefiner class"""
9243 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9245 def __init__(self, *args):
9247 __init__(IMP::core::RigidMembersRefiner self, std::string name) -> RigidMembersRefiner
9248 __init__(IMP::core::RigidMembersRefiner self) -> RigidMembersRefiner
9250 this = _IMP_core.new_RigidMembersRefiner(*args)
9252 self.this.append(this)
9256 def do_get_inputs(self, m, pis):
9257 """do_get_inputs(RigidMembersRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9258 return _IMP_core.RigidMembersRefiner_do_get_inputs(self, m, pis)
9261 def get_version_info(self):
9262 """get_version_info(RigidMembersRefiner self) -> VersionInfo"""
9263 return _IMP_core.RigidMembersRefiner_get_version_info(self)
9267 """__str__(RigidMembersRefiner self) -> std::string"""
9268 return _IMP_core.RigidMembersRefiner___str__(self)
9272 """__repr__(RigidMembersRefiner self) -> std::string"""
9273 return _IMP_core.RigidMembersRefiner___repr__(self)
9278 return _object_cast_to_RigidMembersRefiner(o)
9280 RigidMembersRefiner_swigregister = _IMP_core.RigidMembersRefiner_swigregister
9281 RigidMembersRefiner_swigregister(RigidMembersRefiner)
9284 def get_rigid_members_refiner():
9285 """get_rigid_members_refiner() -> RigidMembersRefiner"""
9286 return _IMP_core.get_rigid_members_refiner()
9290 transform(XYZ a, Transformation3D tr)
9291 transform(RigidBody a, Transformation3D tr)
9293 return _IMP_core.transform(*args)
9297 get_initial_reference_frame(Model m, IMP::ParticleIndexes const & pis) -> ReferenceFrame3D
9298 get_initial_reference_frame(IMP::ParticlesTemp const & ps) -> ReferenceFrame3D
9300 return _IMP_core.get_initial_reference_frame(*args)
9304 create_rigid_bodies(Model m, unsigned int n, bool no_members=False) -> IMP::ParticlesTemp
9305 create_rigid_bodies(Model m, unsigned int n) -> IMP::ParticlesTemp
9307 return _IMP_core.create_rigid_bodies(m, n, no_members)
9311 show_rigid_body_hierarchy(RigidBody rb, TextOutput out)
9312 show_rigid_body_hierarchy(RigidBody rb)
9314 return _IMP_core.show_rigid_body_hierarchy(*args)
9317 """get_root_rigid_body(RigidMember m) -> ParticleIndex"""
9318 return _IMP_core.get_root_rigid_body(m)
9320 """Proxy of C++ IMP::core::RigidBodyHierarchyGeometry class"""
9321 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9323 def __init__(self, rb, constituents):
9324 """__init__(IMP::core::RigidBodyHierarchyGeometry self, RigidBody rb, IMP::ParticlesTemp const & constituents) -> RigidBodyHierarchyGeometry"""
9325 this = _IMP_core.new_RigidBodyHierarchyGeometry(rb, constituents)
9327 self.this.append(this)
9331 def get_version_info(self):
9332 """get_version_info(RigidBodyHierarchyGeometry self) -> VersionInfo"""
9333 return _IMP_core.RigidBodyHierarchyGeometry_get_version_info(self)
9337 """__str__(RigidBodyHierarchyGeometry self) -> std::string"""
9338 return _IMP_core.RigidBodyHierarchyGeometry___str__(self)
9342 """__repr__(RigidBodyHierarchyGeometry self) -> std::string"""
9343 return _IMP_core.RigidBodyHierarchyGeometry___repr__(self)
9348 return _object_cast_to_RigidBodyHierarchyGeometry(o)
9350 RigidBodyHierarchyGeometry_swigregister = _IMP_core.RigidBodyHierarchyGeometry_swigregister
9351 RigidBodyHierarchyGeometry_swigregister(RigidBodyHierarchyGeometry)
9354 """Proxy of C++ IMP::core::RigidBodyDerivativeGeometry class"""
9355 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9357 def __init__(self, *args):
9359 __init__(IMP::core::RigidBodyDerivativeGeometry self, Particle p) -> RigidBodyDerivativeGeometry
9360 __init__(IMP::core::RigidBodyDerivativeGeometry self, RigidBody d) -> RigidBodyDerivativeGeometry
9362 this = _IMP_core.new_RigidBodyDerivativeGeometry(*args)
9364 self.this.append(this)
9368 def get_version_info(self):
9369 """get_version_info(RigidBodyDerivativeGeometry self) -> VersionInfo"""
9370 return _IMP_core.RigidBodyDerivativeGeometry_get_version_info(self)
9374 """__str__(RigidBodyDerivativeGeometry self) -> std::string"""
9375 return _IMP_core.RigidBodyDerivativeGeometry___str__(self)
9379 """__repr__(RigidBodyDerivativeGeometry self) -> std::string"""
9380 return _IMP_core.RigidBodyDerivativeGeometry___repr__(self)
9385 return _object_cast_to_RigidBodyDerivativeGeometry(o)
9387 RigidBodyDerivativeGeometry_swigregister = _IMP_core.RigidBodyDerivativeGeometry_swigregister
9388 RigidBodyDerivativeGeometry_swigregister(RigidBodyDerivativeGeometry)
9391 """Proxy of C++ IMP::core::RigidBodyDerivativesGeometry class"""
9392 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9394 def __init__(self, sc):
9395 """__init__(IMP::core::RigidBodyDerivativesGeometry self, SingletonContainer sc) -> RigidBodyDerivativesGeometry"""
9396 this = _IMP_core.new_RigidBodyDerivativesGeometry(sc)
9398 self.this.append(this)
9402 def get_version_info(self):
9403 """get_version_info(RigidBodyDerivativesGeometry self) -> VersionInfo"""
9404 return _IMP_core.RigidBodyDerivativesGeometry_get_version_info(self)
9408 """__str__(RigidBodyDerivativesGeometry self) -> std::string"""
9409 return _IMP_core.RigidBodyDerivativesGeometry___str__(self)
9413 """__repr__(RigidBodyDerivativesGeometry self) -> std::string"""
9414 return _IMP_core.RigidBodyDerivativesGeometry___repr__(self)
9419 return _object_cast_to_RigidBodyDerivativesGeometry(o)
9421 RigidBodyDerivativesGeometry_swigregister = _IMP_core.RigidBodyDerivativesGeometry_swigregister
9422 RigidBodyDerivativesGeometry_swigregister(RigidBodyDerivativesGeometry)
9425 """Proxy of C++ IMP::core::RigidBodyFrameGeometry class"""
9426 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9428 def __init__(self, *args):
9430 __init__(IMP::core::RigidBodyFrameGeometry self, Particle p) -> RigidBodyFrameGeometry
9431 __init__(IMP::core::RigidBodyFrameGeometry self, RigidBody d) -> RigidBodyFrameGeometry
9433 this = _IMP_core.new_RigidBodyFrameGeometry(*args)
9435 self.this.append(this)
9439 def get_version_info(self):
9440 """get_version_info(RigidBodyFrameGeometry self) -> VersionInfo"""
9441 return _IMP_core.RigidBodyFrameGeometry_get_version_info(self)
9445 """__str__(RigidBodyFrameGeometry self) -> std::string"""
9446 return _IMP_core.RigidBodyFrameGeometry___str__(self)
9450 """__repr__(RigidBodyFrameGeometry self) -> std::string"""
9451 return _IMP_core.RigidBodyFrameGeometry___repr__(self)
9456 return _object_cast_to_RigidBodyFrameGeometry(o)
9458 RigidBodyFrameGeometry_swigregister = _IMP_core.RigidBodyFrameGeometry_swigregister
9459 RigidBodyFrameGeometry_swigregister(RigidBodyFrameGeometry)
9462 """Proxy of C++ IMP::core::RigidBodyFramesGeometry class"""
9463 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9465 def __init__(self, sc):
9466 """__init__(IMP::core::RigidBodyFramesGeometry self, SingletonContainer sc) -> RigidBodyFramesGeometry"""
9467 this = _IMP_core.new_RigidBodyFramesGeometry(sc)
9469 self.this.append(this)
9473 def get_version_info(self):
9474 """get_version_info(RigidBodyFramesGeometry self) -> VersionInfo"""
9475 return _IMP_core.RigidBodyFramesGeometry_get_version_info(self)
9479 """__str__(RigidBodyFramesGeometry self) -> std::string"""
9480 return _IMP_core.RigidBodyFramesGeometry___str__(self)
9484 """__repr__(RigidBodyFramesGeometry self) -> std::string"""
9485 return _IMP_core.RigidBodyFramesGeometry___repr__(self)
9490 return _object_cast_to_RigidBodyFramesGeometry(o)
9492 RigidBodyFramesGeometry_swigregister = _IMP_core.RigidBodyFramesGeometry_swigregister
9493 RigidBodyFramesGeometry_swigregister(RigidBodyFramesGeometry)
9496 """Proxy of C++ IMP::core::RigidBodyTorque class"""
9497 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9499 def __init__(self, p):
9500 """__init__(IMP::core::RigidBodyTorque self, Particle p) -> RigidBodyTorque"""
9501 this = _IMP_core.new_RigidBodyTorque(p)
9503 self.this.append(this)
9508 """__str__(RigidBodyTorque self) -> std::string"""
9509 return _IMP_core.RigidBodyTorque___str__(self)
9513 """__repr__(RigidBodyTorque self) -> std::string"""
9514 return _IMP_core.RigidBodyTorque___repr__(self)
9519 return _object_cast_to_RigidBodyTorque(o)
9521 __swig_destroy__ = _IMP_core.delete_RigidBodyTorque
9522 __del__ =
lambda self:
None
9523 RigidBodyTorque_swigregister = _IMP_core.RigidBodyTorque_swigregister
9524 RigidBodyTorque_swigregister(RigidBodyTorque)
9526 class NearestNeighborsClosePairsFinder(ClosePairsFinder):
9527 """Proxy of C++ IMP::core::NearestNeighborsClosePairsFinder class"""
9528 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9531 """__init__(IMP::core::NearestNeighborsClosePairsFinder self) -> NearestNeighborsClosePairsFinder"""
9532 this = _IMP_core.new_NearestNeighborsClosePairsFinder()
9534 self.this.append(this)
9538 def get_close_pairs(self, *args):
9540 get_close_pairs(NearestNeighborsClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
9541 get_close_pairs(NearestNeighborsClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
9542 get_close_pairs(NearestNeighborsClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
9543 get_close_pairs(NearestNeighborsClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
9545 return _IMP_core.NearestNeighborsClosePairsFinder_get_close_pairs(self, *args)
9548 def do_get_inputs(self, m, pis):
9549 """do_get_inputs(NearestNeighborsClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9550 return _IMP_core.NearestNeighborsClosePairsFinder_do_get_inputs(self, m, pis)
9553 def get_version_info(self):
9554 """get_version_info(NearestNeighborsClosePairsFinder self) -> VersionInfo"""
9555 return _IMP_core.NearestNeighborsClosePairsFinder_get_version_info(self)
9559 """__str__(NearestNeighborsClosePairsFinder self) -> std::string"""
9560 return _IMP_core.NearestNeighborsClosePairsFinder___str__(self)
9564 """__repr__(NearestNeighborsClosePairsFinder self) -> std::string"""
9565 return _IMP_core.NearestNeighborsClosePairsFinder___repr__(self)
9570 return _object_cast_to_NearestNeighborsClosePairsFinder(o)
9572 NearestNeighborsClosePairsFinder_swigregister = _IMP_core.NearestNeighborsClosePairsFinder_swigregister
9573 NearestNeighborsClosePairsFinder_swigregister(NearestNeighborsClosePairsFinder)
9576 """Proxy of C++ IMP::core::RestraintsScoringFunction class"""
9577 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9579 def __init__(self, *args):
9581 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, double weight=1.0, double max, std::string name) -> RestraintsScoringFunction
9582 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, double weight=1.0, double max) -> RestraintsScoringFunction
9583 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, double weight=1.0) -> RestraintsScoringFunction
9584 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs) -> RestraintsScoringFunction
9585 __init__(IMP::core::RestraintsScoringFunction self, _RestraintsAdaptor rs, std::string name) -> RestraintsScoringFunction
9587 this = _IMP_core.new_RestraintsScoringFunction(*args)
9589 self.this.append(this)
9593 def do_add_score_and_derivatives(self, sa, ss):
9594 """do_add_score_and_derivatives(RestraintsScoringFunction self, ScoreAccumulator sa, IMP::ScoreStatesTemp const & ss)"""
9595 return _IMP_core.RestraintsScoringFunction_do_add_score_and_derivatives(self, sa, ss)
9598 def do_add_score_and_derivatives_moved(self, sa, moved_pis, reset_pis, ss):
9599 """do_add_score_and_derivatives_moved(RestraintsScoringFunction self, ScoreAccumulator sa, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis, IMP::ScoreStatesTemp const & ss)"""
9600 return _IMP_core.RestraintsScoringFunction_do_add_score_and_derivatives_moved(self, sa, moved_pis, reset_pis, ss)
9603 def do_get_inputs(self):
9604 """do_get_inputs(RestraintsScoringFunction self) -> IMP::ModelObjectsTemp"""
9605 return _IMP_core.RestraintsScoringFunction_do_get_inputs(self)
9608 def get_version_info(self):
9609 """get_version_info(RestraintsScoringFunction self) -> VersionInfo"""
9610 return _IMP_core.RestraintsScoringFunction_get_version_info(self)
9614 """__str__(RestraintsScoringFunction self) -> std::string"""
9615 return _IMP_core.RestraintsScoringFunction___str__(self)
9619 """__repr__(RestraintsScoringFunction self) -> std::string"""
9620 return _IMP_core.RestraintsScoringFunction___repr__(self)
9625 return _object_cast_to_RestraintsScoringFunction(o)
9627 RestraintsScoringFunction_swigregister = _IMP_core.RestraintsScoringFunction_swigregister
9628 RestraintsScoringFunction_swigregister(RestraintsScoringFunction)
9630 class RigidClosePairsFinder(ClosePairsFinder):
9631 """Proxy of C++ IMP::core::RigidClosePairsFinder class"""
9632 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9634 def __init__(self, cpf=None):
9636 __init__(IMP::core::RigidClosePairsFinder self, ClosePairsFinder cpf=None) -> RigidClosePairsFinder
9637 __init__(IMP::core::RigidClosePairsFinder self) -> RigidClosePairsFinder
9639 this = _IMP_core.new_RigidClosePairsFinder(cpf)
9641 self.this.append(this)
9645 def do_get_inputs(self, m, pis):
9646 """do_get_inputs(RigidClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9647 return _IMP_core.RigidClosePairsFinder_do_get_inputs(self, m, pis)
9650 def get_close_pairs(self, *args):
9652 get_close_pairs(RigidClosePairsFinder self, Model m, ParticleIndex a, ParticleIndex b, IMP::ParticleIndexes const & pa, IMP::ParticleIndexes const & pb) -> IMP::ParticleIndexPairs
9653 get_close_pairs(RigidClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
9654 get_close_pairs(RigidClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
9655 get_close_pairs(RigidClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
9656 get_close_pairs(RigidClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
9658 return _IMP_core.RigidClosePairsFinder_get_close_pairs(self, *args)
9661 def get_version_info(self):
9662 """get_version_info(RigidClosePairsFinder self) -> VersionInfo"""
9663 return _IMP_core.RigidClosePairsFinder_get_version_info(self)
9667 """__str__(RigidClosePairsFinder self) -> std::string"""
9668 return _IMP_core.RigidClosePairsFinder___str__(self)
9672 """__repr__(RigidClosePairsFinder self) -> std::string"""
9673 return _IMP_core.RigidClosePairsFinder___repr__(self)
9678 return _object_cast_to_RigidClosePairsFinder(o)
9680 RigidClosePairsFinder_swigregister = _IMP_core.RigidClosePairsFinder_swigregister
9681 RigidClosePairsFinder_swigregister(RigidClosePairsFinder)
9684 """Proxy of C++ IMP::core::SphereDistancePairScore class"""
9685 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9687 def __init__(self, *args):
9689 __init__(IMP::core::SphereDistancePairScore self, UnaryFunction uf, std::string name) -> SphereDistancePairScore
9690 __init__(IMP::core::SphereDistancePairScore self, UnaryFunction uf) -> SphereDistancePairScore
9692 this = _IMP_core.new_SphereDistancePairScore(*args)
9694 self.this.append(this)
9698 def do_get_inputs(self, m, pis):
9699 """do_get_inputs(SphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9700 return _IMP_core.SphereDistancePairScore_do_get_inputs(self, m, pis)
9703 def get_version_info(self):
9704 """get_version_info(SphereDistancePairScore self) -> VersionInfo"""
9705 return _IMP_core.SphereDistancePairScore_get_version_info(self)
9709 """__str__(SphereDistancePairScore self) -> std::string"""
9710 return _IMP_core.SphereDistancePairScore___str__(self)
9714 """__repr__(SphereDistancePairScore self) -> std::string"""
9715 return _IMP_core.SphereDistancePairScore___repr__(self)
9720 return _object_cast_to_SphereDistancePairScore(o)
9722 SphereDistancePairScore_swigregister = _IMP_core.SphereDistancePairScore_swigregister
9723 SphereDistancePairScore_swigregister(SphereDistancePairScore)
9725 class HarmonicUpperBoundSphereDistancePairScore(
IMP.PairScore):
9726 """Proxy of C++ IMP::core::HarmonicUpperBoundSphereDistancePairScore class"""
9727 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9729 def __init__(self, *args):
9731 __init__(IMP::core::HarmonicUpperBoundSphereDistancePairScore self, double x0, double k, std::string name) -> HarmonicUpperBoundSphereDistancePairScore
9732 __init__(IMP::core::HarmonicUpperBoundSphereDistancePairScore self, double x0, double k) -> HarmonicUpperBoundSphereDistancePairScore
9734 this = _IMP_core.new_HarmonicUpperBoundSphereDistancePairScore(*args)
9736 self.this.append(this)
9740 def do_get_inputs(self, m, pis):
9741 """do_get_inputs(HarmonicUpperBoundSphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9742 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore_do_get_inputs(self, m, pis)
9745 def get_version_info(self):
9746 """get_version_info(HarmonicUpperBoundSphereDistancePairScore self) -> VersionInfo"""
9747 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore_get_version_info(self)
9751 """__str__(HarmonicUpperBoundSphereDistancePairScore self) -> std::string"""
9752 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore___str__(self)
9756 """__repr__(HarmonicUpperBoundSphereDistancePairScore self) -> std::string"""
9757 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore___repr__(self)
9762 return _object_cast_to_HarmonicUpperBoundSphereDistancePairScore(o)
9764 HarmonicUpperBoundSphereDistancePairScore_swigregister = _IMP_core.HarmonicUpperBoundSphereDistancePairScore_swigregister
9765 HarmonicUpperBoundSphereDistancePairScore_swigregister(HarmonicUpperBoundSphereDistancePairScore)
9767 class HarmonicUpperBoundSphereDiameterPairScore(
IMP.PairScore):
9768 """Proxy of C++ IMP::core::HarmonicUpperBoundSphereDiameterPairScore class"""
9769 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9771 def __init__(self, d0, k):
9772 """__init__(IMP::core::HarmonicUpperBoundSphereDiameterPairScore self, double d0, double k) -> HarmonicUpperBoundSphereDiameterPairScore"""
9773 this = _IMP_core.new_HarmonicUpperBoundSphereDiameterPairScore(d0, k)
9775 self.this.append(this)
9779 def get_rest_length(self):
9780 """get_rest_length(HarmonicUpperBoundSphereDiameterPairScore self) -> double"""
9781 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_get_rest_length(self)
9784 def get_stiffness(self):
9785 """get_stiffness(HarmonicUpperBoundSphereDiameterPairScore self) -> double"""
9786 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_get_stiffness(self)
9789 def do_get_inputs(self, m, pis):
9790 """do_get_inputs(HarmonicUpperBoundSphereDiameterPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9791 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_do_get_inputs(self, m, pis)
9794 def get_version_info(self):
9795 """get_version_info(HarmonicUpperBoundSphereDiameterPairScore self) -> VersionInfo"""
9796 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_get_version_info(self)
9800 """__str__(HarmonicUpperBoundSphereDiameterPairScore self) -> std::string"""
9801 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore___str__(self)
9805 """__repr__(HarmonicUpperBoundSphereDiameterPairScore self) -> std::string"""
9806 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore___repr__(self)
9811 return _object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(o)
9813 HarmonicUpperBoundSphereDiameterPairScore_swigregister = _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_swigregister
9814 HarmonicUpperBoundSphereDiameterPairScore_swigregister(HarmonicUpperBoundSphereDiameterPairScore)
9817 """Proxy of C++ IMP::core::HarmonicSphereDistancePairScore class"""
9818 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9820 def __init__(self, *args):
9822 __init__(IMP::core::HarmonicSphereDistancePairScore self, double x0, double k, std::string name) -> HarmonicSphereDistancePairScore
9823 __init__(IMP::core::HarmonicSphereDistancePairScore self, double x0, double k) -> HarmonicSphereDistancePairScore
9825 this = _IMP_core.new_HarmonicSphereDistancePairScore(*args)
9827 self.this.append(this)
9831 def do_get_inputs(self, m, pis):
9832 """do_get_inputs(HarmonicSphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9833 return _IMP_core.HarmonicSphereDistancePairScore_do_get_inputs(self, m, pis)
9836 def get_version_info(self):
9837 """get_version_info(HarmonicSphereDistancePairScore self) -> VersionInfo"""
9838 return _IMP_core.HarmonicSphereDistancePairScore_get_version_info(self)
9842 """__str__(HarmonicSphereDistancePairScore self) -> std::string"""
9843 return _IMP_core.HarmonicSphereDistancePairScore___str__(self)
9847 """__repr__(HarmonicSphereDistancePairScore self) -> std::string"""
9848 return _IMP_core.HarmonicSphereDistancePairScore___repr__(self)
9853 return _object_cast_to_HarmonicSphereDistancePairScore(o)
9855 HarmonicSphereDistancePairScore_swigregister = _IMP_core.HarmonicSphereDistancePairScore_swigregister
9856 HarmonicSphereDistancePairScore_swigregister(HarmonicSphereDistancePairScore)
9859 """Proxy of C++ IMP::core::NormalizedSphereDistancePairScore class"""
9860 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9862 def __init__(self, *args):
9864 __init__(IMP::core::NormalizedSphereDistancePairScore self, UnaryFunction f, FloatKey radius) -> NormalizedSphereDistancePairScore
9865 __init__(IMP::core::NormalizedSphereDistancePairScore self, UnaryFunction f) -> NormalizedSphereDistancePairScore
9867 this = _IMP_core.new_NormalizedSphereDistancePairScore(*args)
9869 self.this.append(this)
9873 def do_get_inputs(self, m, pis):
9874 """do_get_inputs(NormalizedSphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9875 return _IMP_core.NormalizedSphereDistancePairScore_do_get_inputs(self, m, pis)
9878 def get_version_info(self):
9879 """get_version_info(NormalizedSphereDistancePairScore self) -> VersionInfo"""
9880 return _IMP_core.NormalizedSphereDistancePairScore_get_version_info(self)
9884 """__str__(NormalizedSphereDistancePairScore self) -> std::string"""
9885 return _IMP_core.NormalizedSphereDistancePairScore___str__(self)
9889 """__repr__(NormalizedSphereDistancePairScore self) -> std::string"""
9890 return _IMP_core.NormalizedSphereDistancePairScore___repr__(self)
9895 return _object_cast_to_NormalizedSphereDistancePairScore(o)
9897 NormalizedSphereDistancePairScore_swigregister = _IMP_core.NormalizedSphereDistancePairScore_swigregister
9898 NormalizedSphereDistancePairScore_swigregister(NormalizedSphereDistancePairScore)
9901 """Proxy of C++ IMP::core::WeightedSphereDistancePairScore class"""
9902 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9904 def __init__(self, *args):
9906 __init__(IMP::core::WeightedSphereDistancePairScore self, UnaryFunction f, FloatKey weight, FloatKey radius) -> WeightedSphereDistancePairScore
9907 __init__(IMP::core::WeightedSphereDistancePairScore self, UnaryFunction f, FloatKey weight) -> WeightedSphereDistancePairScore
9909 this = _IMP_core.new_WeightedSphereDistancePairScore(*args)
9911 self.this.append(this)
9915 def do_get_inputs(self, m, pis):
9916 """do_get_inputs(WeightedSphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9917 return _IMP_core.WeightedSphereDistancePairScore_do_get_inputs(self, m, pis)
9920 def get_version_info(self):
9921 """get_version_info(WeightedSphereDistancePairScore self) -> VersionInfo"""
9922 return _IMP_core.WeightedSphereDistancePairScore_get_version_info(self)
9926 """__str__(WeightedSphereDistancePairScore self) -> std::string"""
9927 return _IMP_core.WeightedSphereDistancePairScore___str__(self)
9931 """__repr__(WeightedSphereDistancePairScore self) -> std::string"""
9932 return _IMP_core.WeightedSphereDistancePairScore___repr__(self)
9937 return _object_cast_to_WeightedSphereDistancePairScore(o)
9939 WeightedSphereDistancePairScore_swigregister = _IMP_core.WeightedSphereDistancePairScore_swigregister
9940 WeightedSphereDistancePairScore_swigregister(WeightedSphereDistancePairScore)
9943 """Proxy of C++ IMP::core::SoftSpherePairScore class"""
9944 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9946 def __init__(self, *args):
9948 __init__(IMP::core::SoftSpherePairScore self, double k, std::string name) -> SoftSpherePairScore
9949 __init__(IMP::core::SoftSpherePairScore self, double k) -> SoftSpherePairScore
9951 this = _IMP_core.new_SoftSpherePairScore(*args)
9953 self.this.append(this)
9957 def do_get_inputs(self, m, pis):
9958 """do_get_inputs(SoftSpherePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9959 return _IMP_core.SoftSpherePairScore_do_get_inputs(self, m, pis)
9962 def get_version_info(self):
9963 """get_version_info(SoftSpherePairScore self) -> VersionInfo"""
9964 return _IMP_core.SoftSpherePairScore_get_version_info(self)
9968 """__str__(SoftSpherePairScore self) -> std::string"""
9969 return _IMP_core.SoftSpherePairScore___str__(self)
9973 """__repr__(SoftSpherePairScore self) -> std::string"""
9974 return _IMP_core.SoftSpherePairScore___repr__(self)
9979 return _object_cast_to_SoftSpherePairScore(o)
9981 SoftSpherePairScore_swigregister = _IMP_core.SoftSpherePairScore_swigregister
9982 SoftSpherePairScore_swigregister(SoftSpherePairScore)
9985 """Proxy of C++ IMP::core::SurfaceDistancePairScore class"""
9986 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
9988 def __init__(self, *args):
9990 __init__(IMP::core::SurfaceDistancePairScore self, UnaryFunction uf, std::string name) -> SurfaceDistancePairScore
9991 __init__(IMP::core::SurfaceDistancePairScore self, UnaryFunction uf) -> SurfaceDistancePairScore
9993 this = _IMP_core.new_SurfaceDistancePairScore(*args)
9995 self.this.append(this)
9999 def do_get_inputs(self, m, pis):
10000 """do_get_inputs(SurfaceDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10001 return _IMP_core.SurfaceDistancePairScore_do_get_inputs(self, m, pis)
10004 def get_version_info(self):
10005 """get_version_info(SurfaceDistancePairScore self) -> VersionInfo"""
10006 return _IMP_core.SurfaceDistancePairScore_get_version_info(self)
10010 """__str__(SurfaceDistancePairScore self) -> std::string"""
10011 return _IMP_core.SurfaceDistancePairScore___str__(self)
10014 def __repr__(self):
10015 """__repr__(SurfaceDistancePairScore self) -> std::string"""
10016 return _IMP_core.SurfaceDistancePairScore___repr__(self)
10021 return _object_cast_to_SurfaceDistancePairScore(o)
10023 SurfaceDistancePairScore_swigregister = _IMP_core.SurfaceDistancePairScore_swigregister
10024 SurfaceDistancePairScore_swigregister(SurfaceDistancePairScore)
10027 """Proxy of C++ IMP::core::SurfaceHeightPairScore class"""
10028 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10030 def __init__(self, *args):
10032 __init__(IMP::core::SurfaceHeightPairScore self, UnaryFunction uf, std::string name) -> SurfaceHeightPairScore
10033 __init__(IMP::core::SurfaceHeightPairScore self, UnaryFunction uf) -> SurfaceHeightPairScore
10035 this = _IMP_core.new_SurfaceHeightPairScore(*args)
10037 self.this.append(this)
10041 def do_get_inputs(self, m, pis):
10042 """do_get_inputs(SurfaceHeightPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10043 return _IMP_core.SurfaceHeightPairScore_do_get_inputs(self, m, pis)
10046 def get_version_info(self):
10047 """get_version_info(SurfaceHeightPairScore self) -> VersionInfo"""
10048 return _IMP_core.SurfaceHeightPairScore_get_version_info(self)
10052 """__str__(SurfaceHeightPairScore self) -> std::string"""
10053 return _IMP_core.SurfaceHeightPairScore___str__(self)
10056 def __repr__(self):
10057 """__repr__(SurfaceHeightPairScore self) -> std::string"""
10058 return _IMP_core.SurfaceHeightPairScore___repr__(self)
10063 return _object_cast_to_SurfaceHeightPairScore(o)
10065 SurfaceHeightPairScore_swigregister = _IMP_core.SurfaceHeightPairScore_swigregister
10066 SurfaceHeightPairScore_swigregister(SurfaceHeightPairScore)
10069 """Proxy of C++ IMP::core::SurfaceDepthPairScore class"""
10070 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10072 def __init__(self, *args):
10074 __init__(IMP::core::SurfaceDepthPairScore self, UnaryFunction uf, std::string name) -> SurfaceDepthPairScore
10075 __init__(IMP::core::SurfaceDepthPairScore self, UnaryFunction uf) -> SurfaceDepthPairScore
10077 this = _IMP_core.new_SurfaceDepthPairScore(*args)
10079 self.this.append(this)
10083 def do_get_inputs(self, m, pis):
10084 """do_get_inputs(SurfaceDepthPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10085 return _IMP_core.SurfaceDepthPairScore_do_get_inputs(self, m, pis)
10088 def get_version_info(self):
10089 """get_version_info(SurfaceDepthPairScore self) -> VersionInfo"""
10090 return _IMP_core.SurfaceDepthPairScore_get_version_info(self)
10094 """__str__(SurfaceDepthPairScore self) -> std::string"""
10095 return _IMP_core.SurfaceDepthPairScore___str__(self)
10098 def __repr__(self):
10099 """__repr__(SurfaceDepthPairScore self) -> std::string"""
10100 return _IMP_core.SurfaceDepthPairScore___repr__(self)
10105 return _object_cast_to_SurfaceDepthPairScore(o)
10107 SurfaceDepthPairScore_swigregister = _IMP_core.SurfaceDepthPairScore_swigregister
10108 SurfaceDepthPairScore_swigregister(SurfaceDepthPairScore)
10111 """Proxy of C++ IMP::core::HarmonicSurfaceDistancePairScore class"""
10112 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10114 def __init__(self, *args):
10116 __init__(IMP::core::HarmonicSurfaceDistancePairScore self, double x0, double k, std::string name) -> HarmonicSurfaceDistancePairScore
10117 __init__(IMP::core::HarmonicSurfaceDistancePairScore self, double x0, double k) -> HarmonicSurfaceDistancePairScore
10119 this = _IMP_core.new_HarmonicSurfaceDistancePairScore(*args)
10121 self.this.append(this)
10125 def do_get_inputs(self, m, pis):
10126 """do_get_inputs(HarmonicSurfaceDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10127 return _IMP_core.HarmonicSurfaceDistancePairScore_do_get_inputs(self, m, pis)
10130 def get_version_info(self):
10131 """get_version_info(HarmonicSurfaceDistancePairScore self) -> VersionInfo"""
10132 return _IMP_core.HarmonicSurfaceDistancePairScore_get_version_info(self)
10136 """__str__(HarmonicSurfaceDistancePairScore self) -> std::string"""
10137 return _IMP_core.HarmonicSurfaceDistancePairScore___str__(self)
10140 def __repr__(self):
10141 """__repr__(HarmonicSurfaceDistancePairScore self) -> std::string"""
10142 return _IMP_core.HarmonicSurfaceDistancePairScore___repr__(self)
10147 return _object_cast_to_HarmonicSurfaceDistancePairScore(o)
10149 HarmonicSurfaceDistancePairScore_swigregister = _IMP_core.HarmonicSurfaceDistancePairScore_swigregister
10150 HarmonicSurfaceDistancePairScore_swigregister(HarmonicSurfaceDistancePairScore)
10153 """Proxy of C++ IMP::core::HarmonicSurfaceHeightPairScore class"""
10154 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10156 def __init__(self, *args):
10158 __init__(IMP::core::HarmonicSurfaceHeightPairScore self, double x0, double k, std::string name) -> HarmonicSurfaceHeightPairScore
10159 __init__(IMP::core::HarmonicSurfaceHeightPairScore self, double x0, double k) -> HarmonicSurfaceHeightPairScore
10161 this = _IMP_core.new_HarmonicSurfaceHeightPairScore(*args)
10163 self.this.append(this)
10167 def do_get_inputs(self, m, pis):
10168 """do_get_inputs(HarmonicSurfaceHeightPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10169 return _IMP_core.HarmonicSurfaceHeightPairScore_do_get_inputs(self, m, pis)
10172 def get_version_info(self):
10173 """get_version_info(HarmonicSurfaceHeightPairScore self) -> VersionInfo"""
10174 return _IMP_core.HarmonicSurfaceHeightPairScore_get_version_info(self)
10178 """__str__(HarmonicSurfaceHeightPairScore self) -> std::string"""
10179 return _IMP_core.HarmonicSurfaceHeightPairScore___str__(self)
10182 def __repr__(self):
10183 """__repr__(HarmonicSurfaceHeightPairScore self) -> std::string"""
10184 return _IMP_core.HarmonicSurfaceHeightPairScore___repr__(self)
10189 return _object_cast_to_HarmonicSurfaceHeightPairScore(o)
10191 HarmonicSurfaceHeightPairScore_swigregister = _IMP_core.HarmonicSurfaceHeightPairScore_swigregister
10192 HarmonicSurfaceHeightPairScore_swigregister(HarmonicSurfaceHeightPairScore)
10195 """Proxy of C++ IMP::core::HarmonicSurfaceDepthPairScore class"""
10196 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10198 def __init__(self, *args):
10200 __init__(IMP::core::HarmonicSurfaceDepthPairScore self, double x0, double k, std::string name) -> HarmonicSurfaceDepthPairScore
10201 __init__(IMP::core::HarmonicSurfaceDepthPairScore self, double x0, double k) -> HarmonicSurfaceDepthPairScore
10203 this = _IMP_core.new_HarmonicSurfaceDepthPairScore(*args)
10205 self.this.append(this)
10209 def do_get_inputs(self, m, pis):
10210 """do_get_inputs(HarmonicSurfaceDepthPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10211 return _IMP_core.HarmonicSurfaceDepthPairScore_do_get_inputs(self, m, pis)
10214 def get_version_info(self):
10215 """get_version_info(HarmonicSurfaceDepthPairScore self) -> VersionInfo"""
10216 return _IMP_core.HarmonicSurfaceDepthPairScore_get_version_info(self)
10220 """__str__(HarmonicSurfaceDepthPairScore self) -> std::string"""
10221 return _IMP_core.HarmonicSurfaceDepthPairScore___str__(self)
10224 def __repr__(self):
10225 """__repr__(HarmonicSurfaceDepthPairScore self) -> std::string"""
10226 return _IMP_core.HarmonicSurfaceDepthPairScore___repr__(self)
10231 return _object_cast_to_HarmonicSurfaceDepthPairScore(o)
10233 HarmonicSurfaceDepthPairScore_swigregister = _IMP_core.HarmonicSurfaceDepthPairScore_swigregister
10234 HarmonicSurfaceDepthPairScore_swigregister(HarmonicSurfaceDepthPairScore)
10237 """Proxy of C++ IMP::core::SoftSuperSurfacePairScore class"""
10238 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10240 def __init__(self, *args):
10242 __init__(IMP::core::SoftSuperSurfacePairScore self, double k, std::string name) -> SoftSuperSurfacePairScore
10243 __init__(IMP::core::SoftSuperSurfacePairScore self, double k) -> SoftSuperSurfacePairScore
10245 this = _IMP_core.new_SoftSuperSurfacePairScore(*args)
10247 self.this.append(this)
10251 def do_get_inputs(self, m, pis):
10252 """do_get_inputs(SoftSuperSurfacePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10253 return _IMP_core.SoftSuperSurfacePairScore_do_get_inputs(self, m, pis)
10256 def get_version_info(self):
10257 """get_version_info(SoftSuperSurfacePairScore self) -> VersionInfo"""
10258 return _IMP_core.SoftSuperSurfacePairScore_get_version_info(self)
10262 """__str__(SoftSuperSurfacePairScore self) -> std::string"""
10263 return _IMP_core.SoftSuperSurfacePairScore___str__(self)
10266 def __repr__(self):
10267 """__repr__(SoftSuperSurfacePairScore self) -> std::string"""
10268 return _IMP_core.SoftSuperSurfacePairScore___repr__(self)
10273 return _object_cast_to_SoftSuperSurfacePairScore(o)
10275 SoftSuperSurfacePairScore_swigregister = _IMP_core.SoftSuperSurfacePairScore_swigregister
10276 SoftSuperSurfacePairScore_swigregister(SoftSuperSurfacePairScore)
10279 """Proxy of C++ IMP::core::SoftSubSurfacePairScore class"""
10280 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10282 def __init__(self, *args):
10284 __init__(IMP::core::SoftSubSurfacePairScore self, double k, std::string name) -> SoftSubSurfacePairScore
10285 __init__(IMP::core::SoftSubSurfacePairScore self, double k) -> SoftSubSurfacePairScore
10287 this = _IMP_core.new_SoftSubSurfacePairScore(*args)
10289 self.this.append(this)
10293 def do_get_inputs(self, m, pis):
10294 """do_get_inputs(SoftSubSurfacePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10295 return _IMP_core.SoftSubSurfacePairScore_do_get_inputs(self, m, pis)
10298 def get_version_info(self):
10299 """get_version_info(SoftSubSurfacePairScore self) -> VersionInfo"""
10300 return _IMP_core.SoftSubSurfacePairScore_get_version_info(self)
10304 """__str__(SoftSubSurfacePairScore self) -> std::string"""
10305 return _IMP_core.SoftSubSurfacePairScore___str__(self)
10308 def __repr__(self):
10309 """__repr__(SoftSubSurfacePairScore self) -> std::string"""
10310 return _IMP_core.SoftSubSurfacePairScore___repr__(self)
10315 return _object_cast_to_SoftSubSurfacePairScore(o)
10317 SoftSubSurfacePairScore_swigregister = _IMP_core.SoftSubSurfacePairScore_swigregister
10318 SoftSubSurfacePairScore_swigregister(SoftSubSurfacePairScore)
10321 """Proxy of C++ IMP::core::SurfaceTetheredChain class"""
10322 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10324 def __init__(self, link_num, link_length):
10325 """__init__(IMP::core::SurfaceTetheredChain self, int link_num, double link_length) -> SurfaceTetheredChain"""
10326 this = _IMP_core.new_SurfaceTetheredChain(link_num, link_length)
10328 self.this.append(this)
10332 def get_version_info(self):
10333 """get_version_info(SurfaceTetheredChain self) -> VersionInfo"""
10334 return _IMP_core.SurfaceTetheredChain_get_version_info(self)
10337 def get_link_number(self):
10338 """get_link_number(SurfaceTetheredChain self) -> int"""
10339 return _IMP_core.SurfaceTetheredChain_get_link_number(self)
10342 def get_link_length(self):
10343 """get_link_length(SurfaceTetheredChain self) -> double"""
10344 return _IMP_core.SurfaceTetheredChain_get_link_length(self)
10347 def set_link_number(self, N):
10348 """set_link_number(SurfaceTetheredChain self, int N)"""
10349 return _IMP_core.SurfaceTetheredChain_set_link_number(self, N)
10352 def set_link_length(self, b):
10353 """set_link_length(SurfaceTetheredChain self, double b)"""
10354 return _IMP_core.SurfaceTetheredChain_set_link_length(self, b)
10357 def get_distance_at_minimum(self):
10358 """get_distance_at_minimum(SurfaceTetheredChain self) -> double"""
10359 return _IMP_core.SurfaceTetheredChain_get_distance_at_minimum(self)
10362 def get_average_distance(self):
10363 """get_average_distance(SurfaceTetheredChain self) -> double"""
10364 return _IMP_core.SurfaceTetheredChain_get_average_distance(self)
10368 """__str__(SurfaceTetheredChain self) -> std::string"""
10369 return _IMP_core.SurfaceTetheredChain___str__(self)
10372 def __repr__(self):
10373 """__repr__(SurfaceTetheredChain self) -> std::string"""
10374 return _IMP_core.SurfaceTetheredChain___repr__(self)
10379 return _object_cast_to_SurfaceTetheredChain(o)
10381 SurfaceTetheredChain_swigregister = _IMP_core.SurfaceTetheredChain_swigregister
10382 SurfaceTetheredChain_swigregister(SurfaceTetheredChain)
10385 """Proxy of C++ IMP::core::SurfaceSymmetryConstraint class"""
10386 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10388 def __init__(self, m, ss, rbs):
10389 """__init__(IMP::core::SurfaceSymmetryConstraint self, Model m, IMP::ParticleIndexPair const & ss, IMP::ParticleIndexPair const & rbs) -> SurfaceSymmetryConstraint"""
10390 this = _IMP_core.new_SurfaceSymmetryConstraint(m, ss, rbs)
10392 self.this.append(this)
10396 def do_get_inputs(self):
10397 """do_get_inputs(SurfaceSymmetryConstraint self) -> IMP::ModelObjectsTemp"""
10398 return _IMP_core.SurfaceSymmetryConstraint_do_get_inputs(self)
10401 def do_get_outputs(self):
10402 """do_get_outputs(SurfaceSymmetryConstraint self) -> IMP::ModelObjectsTemp"""
10403 return _IMP_core.SurfaceSymmetryConstraint_do_get_outputs(self)
10406 def get_version_info(self):
10407 """get_version_info(SurfaceSymmetryConstraint self) -> VersionInfo"""
10408 return _IMP_core.SurfaceSymmetryConstraint_get_version_info(self)
10412 """__str__(SurfaceSymmetryConstraint self) -> std::string"""
10413 return _IMP_core.SurfaceSymmetryConstraint___str__(self)
10416 def __repr__(self):
10417 """__repr__(SurfaceSymmetryConstraint self) -> std::string"""
10418 return _IMP_core.SurfaceSymmetryConstraint___repr__(self)
10423 return _object_cast_to_SurfaceSymmetryConstraint(o)
10425 SurfaceSymmetryConstraint_swigregister = _IMP_core.SurfaceSymmetryConstraint_swigregister
10426 SurfaceSymmetryConstraint_swigregister(SurfaceSymmetryConstraint)
10429 """Proxy of C++ IMP::core::SteepestDescent class"""
10430 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10432 def __init__(self, *args):
10434 __init__(IMP::core::SteepestDescent self, Model m, std::string name) -> SteepestDescent
10435 __init__(IMP::core::SteepestDescent self, Model m) -> SteepestDescent
10437 this = _IMP_core.new_SteepestDescent(*args)
10439 self.this.append(this)
10443 def do_optimize(self, max_steps):
10444 """do_optimize(SteepestDescent self, unsigned int max_steps) -> IMP::Float"""
10445 return _IMP_core.SteepestDescent_do_optimize(self, max_steps)
10448 def get_version_info(self):
10449 """get_version_info(SteepestDescent self) -> VersionInfo"""
10450 return _IMP_core.SteepestDescent_get_version_info(self)
10453 def set_threshold(self, t):
10454 """set_threshold(SteepestDescent self, IMP::Float t)"""
10455 return _IMP_core.SteepestDescent_set_threshold(self, t)
10458 def set_step_size(self, t):
10459 """set_step_size(SteepestDescent self, IMP::Float t)"""
10460 return _IMP_core.SteepestDescent_set_step_size(self, t)
10463 def set_maximum_step_size(self, t):
10464 """set_maximum_step_size(SteepestDescent self, IMP::Float t)"""
10465 return _IMP_core.SteepestDescent_set_maximum_step_size(self, t)
10469 """__str__(SteepestDescent self) -> std::string"""
10470 return _IMP_core.SteepestDescent___str__(self)
10473 def __repr__(self):
10474 """__repr__(SteepestDescent self) -> std::string"""
10475 return _IMP_core.SteepestDescent___repr__(self)
10480 return _object_cast_to_SteepestDescent(o)
10482 SteepestDescent_swigregister = _IMP_core.SteepestDescent_swigregister
10483 SteepestDescent_swigregister(SteepestDescent)
10486 """Proxy of C++ IMP::core::TransformedDistancePairScore class"""
10487 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10489 def __init__(self, f, transformation):
10490 """__init__(IMP::core::TransformedDistancePairScore self, UnaryFunction f, Transformation3D transformation) -> TransformedDistancePairScore"""
10491 this = _IMP_core.new_TransformedDistancePairScore(f, transformation)
10493 self.this.append(this)
10497 def set_transformation(self, rot):
10498 """set_transformation(TransformedDistancePairScore self, Transformation3D rot)"""
10499 return _IMP_core.TransformedDistancePairScore_set_transformation(self, rot)
10502 def do_get_inputs(self, m, pis):
10503 """do_get_inputs(TransformedDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10504 return _IMP_core.TransformedDistancePairScore_do_get_inputs(self, m, pis)
10507 def get_version_info(self):
10508 """get_version_info(TransformedDistancePairScore self) -> VersionInfo"""
10509 return _IMP_core.TransformedDistancePairScore_get_version_info(self)
10513 """__str__(TransformedDistancePairScore self) -> std::string"""
10514 return _IMP_core.TransformedDistancePairScore___str__(self)
10517 def __repr__(self):
10518 """__repr__(TransformedDistancePairScore self) -> std::string"""
10519 return _IMP_core.TransformedDistancePairScore___repr__(self)
10524 return _object_cast_to_TransformedDistancePairScore(o)
10526 TransformedDistancePairScore_swigregister = _IMP_core.TransformedDistancePairScore_swigregister
10527 TransformedDistancePairScore_swigregister(TransformedDistancePairScore)
10530 """Proxy of C++ IMP::core::TypedPairScore class"""
10531 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10533 def __init__(self, typekey, allow_invalid_types=True):
10535 __init__(IMP::core::TypedPairScore self, IntKey typekey, bool allow_invalid_types=True) -> TypedPairScore
10536 __init__(IMP::core::TypedPairScore self, IntKey typekey) -> TypedPairScore
10538 this = _IMP_core.new_TypedPairScore(typekey, allow_invalid_types)
10540 self.this.append(this)
10544 def set_particle_type(self, arg2):
10545 """set_particle_type(TypedPairScore self, Particle arg2)"""
10546 return _IMP_core.TypedPairScore_set_particle_type(self, arg2)
10549 def set_pair_score(self, ps, atype, btype):
10550 """set_pair_score(TypedPairScore self, PairScore ps, IMP::Int atype, IMP::Int btype)"""
10551 return _IMP_core.TypedPairScore_set_pair_score(self, ps, atype, btype)
10554 def do_get_inputs(self, m, pis):
10555 """do_get_inputs(TypedPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10556 return _IMP_core.TypedPairScore_do_get_inputs(self, m, pis)
10559 def get_version_info(self):
10560 """get_version_info(TypedPairScore self) -> VersionInfo"""
10561 return _IMP_core.TypedPairScore_get_version_info(self)
10565 """__str__(TypedPairScore self) -> std::string"""
10566 return _IMP_core.TypedPairScore___str__(self)
10569 def __repr__(self):
10570 """__repr__(TypedPairScore self) -> std::string"""
10571 return _IMP_core.TypedPairScore___repr__(self)
10576 return _object_cast_to_TypedPairScore(o)
10578 TypedPairScore_swigregister = _IMP_core.TypedPairScore_swigregister
10579 TypedPairScore_swigregister(TypedPairScore)
10581 class RigidBodyDistancePairScore(KClosePairsPairScore):
10582 """Proxy of C++ IMP::core::RigidBodyDistancePairScore class"""
10583 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10585 def __init__(self, ps, r):
10586 """__init__(IMP::core::RigidBodyDistancePairScore self, PairScore ps, Refiner r) -> RigidBodyDistancePairScore"""
10587 this = _IMP_core.new_RigidBodyDistancePairScore(ps, r)
10589 self.this.append(this)
10594 """__str__(RigidBodyDistancePairScore self) -> std::string"""
10595 return _IMP_core.RigidBodyDistancePairScore___str__(self)
10598 def __repr__(self):
10599 """__repr__(RigidBodyDistancePairScore self) -> std::string"""
10600 return _IMP_core.RigidBodyDistancePairScore___repr__(self)
10605 return _object_cast_to_RigidBodyDistancePairScore(o)
10607 __swig_destroy__ = _IMP_core.delete_RigidBodyDistancePairScore
10608 __del__ =
lambda self:
None
10609 RigidBodyDistancePairScore_swigregister = _IMP_core.RigidBodyDistancePairScore_swigregister
10610 RigidBodyDistancePairScore_swigregister(RigidBodyDistancePairScore)
10613 """Proxy of C++ IMP::core::RigidBodyAnglePairScore class"""
10614 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10616 def __init__(self, f):
10617 """__init__(IMP::core::RigidBodyAnglePairScore self, UnaryFunction f) -> RigidBodyAnglePairScore"""
10618 this = _IMP_core.new_RigidBodyAnglePairScore(f)
10620 self.this.append(this)
10624 def do_get_inputs(self, m, pis):
10625 """do_get_inputs(RigidBodyAnglePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10626 return _IMP_core.RigidBodyAnglePairScore_do_get_inputs(self, m, pis)
10629 def get_version_info(self):
10630 """get_version_info(RigidBodyAnglePairScore self) -> VersionInfo"""
10631 return _IMP_core.RigidBodyAnglePairScore_get_version_info(self)
10635 """__str__(RigidBodyAnglePairScore self) -> std::string"""
10636 return _IMP_core.RigidBodyAnglePairScore___str__(self)
10639 def __repr__(self):
10640 """__repr__(RigidBodyAnglePairScore self) -> std::string"""
10641 return _IMP_core.RigidBodyAnglePairScore___repr__(self)
10646 return _object_cast_to_RigidBodyAnglePairScore(o)
10648 RigidBodyAnglePairScore_swigregister = _IMP_core.RigidBodyAnglePairScore_swigregister
10649 RigidBodyAnglePairScore_swigregister(RigidBodyAnglePairScore)
10652 """Proxy of C++ IMP::core::TableRefiner class"""
10653 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10655 def __init__(self):
10656 """__init__(IMP::core::TableRefiner self) -> TableRefiner"""
10657 this = _IMP_core.new_TableRefiner()
10659 self.this.append(this)
10664 """add_particle(TableRefiner self, Particle p, IMP::ParticlesTemp const & ps)"""
10665 return _IMP_core.TableRefiner_add_particle(self, p, ps)
10668 def remove_particle(self, p):
10669 """remove_particle(TableRefiner self, Particle p)"""
10670 return _IMP_core.TableRefiner_remove_particle(self, p)
10673 def set_particle(self, p, ps):
10674 """set_particle(TableRefiner self, Particle p, IMP::ParticlesTemp const & ps)"""
10675 return _IMP_core.TableRefiner_set_particle(self, p, ps)
10678 def do_get_inputs(self, m, pis):
10679 """do_get_inputs(TableRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10680 return _IMP_core.TableRefiner_do_get_inputs(self, m, pis)
10683 def get_version_info(self):
10684 """get_version_info(TableRefiner self) -> VersionInfo"""
10685 return _IMP_core.TableRefiner_get_version_info(self)
10689 """__str__(TableRefiner self) -> std::string"""
10690 return _IMP_core.TableRefiner___str__(self)
10693 def __repr__(self):
10694 """__repr__(TableRefiner self) -> std::string"""
10695 return _IMP_core.TableRefiner___repr__(self)
10700 return _object_cast_to_TableRefiner(o)
10702 TableRefiner_swigregister = _IMP_core.TableRefiner_swigregister
10703 TableRefiner_swigregister(TableRefiner)
10706 _IMP_core.LOWER_swigconstant(_IMP_core)
10707 LOWER = _IMP_core.LOWER
10709 _IMP_core.BOTH_swigconstant(_IMP_core)
10710 BOTH = _IMP_core.BOTH
10712 _IMP_core.UPPER_swigconstant(_IMP_core)
10713 UPPER = _IMP_core.UPPER
10715 """Proxy of C++ IMP::core::MCCGSampler 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::core::MCCGSampler self, Model m, std::string name) -> MCCGSampler
10721 __init__(IMP::core::MCCGSampler self, Model m) -> MCCGSampler
10723 this = _IMP_core.new_MCCGSampler(*args)
10725 self.this.append(this)
10729 def set_bounding_box(self, bb):
10730 """set_bounding_box(MCCGSampler self, BoundingBox3D bb)"""
10731 return _IMP_core.MCCGSampler_set_bounding_box(self, bb)
10734 def set_number_of_attempts(self, att):
10735 """set_number_of_attempts(MCCGSampler self, unsigned int att)"""
10736 return _IMP_core.MCCGSampler_set_number_of_attempts(self, att)
10739 def set_number_of_monte_carlo_steps(self, cg):
10740 """set_number_of_monte_carlo_steps(MCCGSampler self, unsigned int cg)"""
10741 return _IMP_core.MCCGSampler_set_number_of_monte_carlo_steps(self, cg)
10744 def set_number_of_conjugate_gradient_steps(self, cg):
10745 """set_number_of_conjugate_gradient_steps(MCCGSampler self, unsigned int cg)"""
10746 return _IMP_core.MCCGSampler_set_number_of_conjugate_gradient_steps(self, cg)
10749 def set_max_monte_carlo_step_size(self, *args):
10751 set_max_monte_carlo_step_size(MCCGSampler self, double d)
10752 set_max_monte_carlo_step_size(MCCGSampler self, FloatKey k, double d)
10754 return _IMP_core.MCCGSampler_set_max_monte_carlo_step_size(self, *args)
10757 def set_is_refining(self, tf):
10758 """set_is_refining(MCCGSampler self, bool tf)"""
10759 return _IMP_core.MCCGSampler_set_is_refining(self, tf)
10762 def set_local_optimizer(self, opt):
10763 """set_local_optimizer(MCCGSampler self, Optimizer opt)"""
10764 return _IMP_core.MCCGSampler_set_local_optimizer(self, opt)
10767 def set_save_rejected_configurations(self, tf):
10768 """set_save_rejected_configurations(MCCGSampler self, bool tf)"""
10769 return _IMP_core.MCCGSampler_set_save_rejected_configurations(self, tf)
10772 def get_rejected_configurations(self):
10773 """get_rejected_configurations(MCCGSampler self) -> ConfigurationSet"""
10774 return _IMP_core.MCCGSampler_get_rejected_configurations(self)
10776 def __get_optimizer_states(self):
return IMP._list_util.VarList(getdimfunc=self.get_number_of_optimizer_states, getfunc=self.get_optimizer_state, erasefunc=self.erase_optimizer_state, appendfunc=self.add_optimizer_state, extendfunc=self.add_optimizer_states, clearfunc=self.clear_optimizer_states, indexfunc=self._python_index_optimizer_state)
10777 def __set_optimizer_states(self, obj): IMP._list_util.set_varlist(self.optimizer_states, obj)
10778 def __del_optimizer_states(self): IMP._list_util.del_varlist(self.optimizer_states)
10779 optimizer_states = property(__get_optimizer_states, __set_optimizer_states, __del_optimizer_states, doc=
"List of ##ucnames")
10781 def remove_optimizer_state(self, d):
10782 """remove_optimizer_state(MCCGSampler self, OptimizerState d)"""
10783 return _IMP_core.MCCGSampler_remove_optimizer_state(self, d)
10786 def _python_index_optimizer_state(self, d, start, stop):
10787 """_python_index_optimizer_state(MCCGSampler self, OptimizerState d, unsigned int start, unsigned int stop) -> unsigned int"""
10788 return _IMP_core.MCCGSampler__python_index_optimizer_state(self, d, start, stop)
10791 def remove_optimizer_states(self, d):
10792 """remove_optimizer_states(MCCGSampler self, IMP::OptimizerStates const & d)"""
10793 return _IMP_core.MCCGSampler_remove_optimizer_states(self, d)
10796 def set_optimizer_states(self, ps):
10797 """set_optimizer_states(MCCGSampler self, IMP::OptimizerStates const & ps)"""
10798 return _IMP_core.MCCGSampler_set_optimizer_states(self, ps)
10801 def set_optimizer_states_order(self, objs):
10802 """set_optimizer_states_order(MCCGSampler self, IMP::OptimizerStates const & objs)"""
10803 return _IMP_core.MCCGSampler_set_optimizer_states_order(self, objs)
10806 def add_optimizer_state(self, obj):
10807 """add_optimizer_state(MCCGSampler self, OptimizerState obj) -> unsigned int"""
10808 return _IMP_core.MCCGSampler_add_optimizer_state(self, obj)
10811 def add_optimizer_states(self, objs):
10812 """add_optimizer_states(MCCGSampler self, IMP::OptimizerStates const & objs)"""
10813 return _IMP_core.MCCGSampler_add_optimizer_states(self, objs)
10816 def clear_optimizer_states(self):
10817 """clear_optimizer_states(MCCGSampler self)"""
10818 return _IMP_core.MCCGSampler_clear_optimizer_states(self)
10821 def get_number_of_optimizer_states(self):
10822 """get_number_of_optimizer_states(MCCGSampler self) -> unsigned int"""
10823 return _IMP_core.MCCGSampler_get_number_of_optimizer_states(self)
10826 def get_has_optimizer_states(self):
10827 """get_has_optimizer_states(MCCGSampler self) -> bool"""
10828 return _IMP_core.MCCGSampler_get_has_optimizer_states(self)
10831 def get_optimizer_state(self, i):
10832 """get_optimizer_state(MCCGSampler self, unsigned int i) -> OptimizerState"""
10833 return _IMP_core.MCCGSampler_get_optimizer_state(self, i)
10836 def get_optimizer_states(self):
10837 """get_optimizer_states(MCCGSampler self) -> IMP::OptimizerStates"""
10838 return _IMP_core.MCCGSampler_get_optimizer_states(self)
10841 def erase_optimizer_state(self, i):
10842 """erase_optimizer_state(MCCGSampler self, unsigned int i)"""
10843 return _IMP_core.MCCGSampler_erase_optimizer_state(self, i)
10846 def reserve_optimizer_states(self, sz):
10847 """reserve_optimizer_states(MCCGSampler self, unsigned int sz)"""
10848 return _IMP_core.MCCGSampler_reserve_optimizer_states(self, sz)
10851 def do_sample(self):
10852 """do_sample(MCCGSampler self) -> ConfigurationSet"""
10853 return _IMP_core.MCCGSampler_do_sample(self)
10856 def get_version_info(self):
10857 """get_version_info(MCCGSampler self) -> VersionInfo"""
10858 return _IMP_core.MCCGSampler_get_version_info(self)
10862 """__str__(MCCGSampler self) -> std::string"""
10863 return _IMP_core.MCCGSampler___str__(self)
10866 def __repr__(self):
10867 """__repr__(MCCGSampler self) -> std::string"""
10868 return _IMP_core.MCCGSampler___repr__(self)
10873 return _object_cast_to_MCCGSampler(o)
10875 MCCGSampler_swigregister = _IMP_core.MCCGSampler_swigregister
10876 MCCGSampler_swigregister(MCCGSampler)
10879 """Proxy of C++ IMP::core::MinimumRestraint class"""
10880 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10882 def __init__(self, *args):
10884 __init__(IMP::core::MinimumRestraint self, unsigned int num, IMP::Restraints const & rs, std::string name) -> MinimumRestraint
10885 __init__(IMP::core::MinimumRestraint self, unsigned int num, IMP::Restraints const & rs) -> MinimumRestraint
10886 __init__(IMP::core::MinimumRestraint self, unsigned int num) -> MinimumRestraint
10888 this = _IMP_core.new_MinimumRestraint(*args)
10890 self.this.append(this)
10894 def do_get_inputs(self):
10895 """do_get_inputs(MinimumRestraint self) -> IMP::ModelObjectsTemp"""
10896 return _IMP_core.MinimumRestraint_do_get_inputs(self)
10899 def get_version_info(self):
10900 """get_version_info(MinimumRestraint self) -> VersionInfo"""
10901 return _IMP_core.MinimumRestraint_get_version_info(self)
10903 def __get_restraints(self):
return IMP._list_util.VarList(getdimfunc=self.get_number_of_restraints, getfunc=self.get_restraint, erasefunc=self.erase_restraint, appendfunc=self.add_restraint, extendfunc=self.add_restraints, clearfunc=self.clear_restraints, indexfunc=self._python_index_restraint)
10904 def __set_restraints(self, obj): IMP._list_util.set_varlist(self.restraints, obj)
10905 def __del_restraints(self): IMP._list_util.del_varlist(self.restraints)
10906 restraints = property(__get_restraints, __set_restraints, __del_restraints, doc=
"List of ##ucnames")
10908 def remove_restraint(self, d):
10909 """remove_restraint(MinimumRestraint self, Restraint d)"""
10910 return _IMP_core.MinimumRestraint_remove_restraint(self, d)
10913 def _python_index_restraint(self, d, start, stop):
10914 """_python_index_restraint(MinimumRestraint self, Restraint d, unsigned int start, unsigned int stop) -> unsigned int"""
10915 return _IMP_core.MinimumRestraint__python_index_restraint(self, d, start, stop)
10918 def remove_restraints(self, d):
10919 """remove_restraints(MinimumRestraint self, IMP::Restraints const & d)"""
10920 return _IMP_core.MinimumRestraint_remove_restraints(self, d)
10923 def set_restraints(self, ps):
10924 """set_restraints(MinimumRestraint self, IMP::Restraints const & ps)"""
10925 return _IMP_core.MinimumRestraint_set_restraints(self, ps)
10928 def set_restraints_order(self, objs):
10929 """set_restraints_order(MinimumRestraint self, IMP::Restraints const & objs)"""
10930 return _IMP_core.MinimumRestraint_set_restraints_order(self, objs)
10934 """add_restraint(MinimumRestraint self, Restraint obj) -> unsigned int"""
10935 return _IMP_core.MinimumRestraint_add_restraint(self, obj)
10939 """add_restraints(MinimumRestraint self, IMP::Restraints const & objs)"""
10940 return _IMP_core.MinimumRestraint_add_restraints(self, objs)
10943 def clear_restraints(self):
10944 """clear_restraints(MinimumRestraint self)"""
10945 return _IMP_core.MinimumRestraint_clear_restraints(self)
10948 def get_number_of_restraints(self):
10949 """get_number_of_restraints(MinimumRestraint self) -> unsigned int"""
10950 return _IMP_core.MinimumRestraint_get_number_of_restraints(self)
10953 def get_has_restraints(self):
10954 """get_has_restraints(MinimumRestraint self) -> bool"""
10955 return _IMP_core.MinimumRestraint_get_has_restraints(self)
10958 def get_restraint(self, i):
10959 """get_restraint(MinimumRestraint self, unsigned int i) -> Restraint"""
10960 return _IMP_core.MinimumRestraint_get_restraint(self, i)
10963 def get_restraints(self):
10964 """get_restraints(MinimumRestraint self) -> IMP::Restraints"""
10965 return _IMP_core.MinimumRestraint_get_restraints(self)
10968 def erase_restraint(self, i):
10969 """erase_restraint(MinimumRestraint self, unsigned int i)"""
10970 return _IMP_core.MinimumRestraint_erase_restraint(self, i)
10973 def reserve_restraints(self, sz):
10974 """reserve_restraints(MinimumRestraint self, unsigned int sz)"""
10975 return _IMP_core.MinimumRestraint_reserve_restraints(self, sz)
10979 """__str__(MinimumRestraint self) -> std::string"""
10980 return _IMP_core.MinimumRestraint___str__(self)
10983 def __repr__(self):
10984 """__repr__(MinimumRestraint self) -> std::string"""
10985 return _IMP_core.MinimumRestraint___repr__(self)
10990 return _object_cast_to_MinimumRestraint(o)
10992 MinimumRestraint_swigregister = _IMP_core.MinimumRestraint_swigregister
10993 MinimumRestraint_swigregister(MinimumRestraint)
10995 class Gaussian(RigidBody):
10996 """Proxy of C++ IMP::core::Gaussian class"""
10997 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
10999 def __init__(self, *args):
11001 __init__(IMP::core::Gaussian self) -> Gaussian
11002 __init__(IMP::core::Gaussian self, Model m, ParticleIndex id) -> Gaussian
11003 __init__(IMP::core::Gaussian self, _ParticleAdaptor d) -> Gaussian
11005 this = _IMP_core.new_Gaussian(*args)
11007 self.this.append(this)
11011 def show(self, *args):
11013 show(Gaussian self, _ostream out)
11014 show(Gaussian self)
11016 return _IMP_core.Gaussian_show(self, *args)
11019 def setup_particle(*args):
11021 setup_particle(Model m, ParticleIndex pi) -> Gaussian
11022 setup_particle(_ParticleAdaptor decorator) -> Gaussian
11023 setup_particle(Model m, ParticleIndex pi, Gaussian3D g) -> Gaussian
11024 setup_particle(_ParticleAdaptor decorator, Gaussian3D g) -> Gaussian
11026 return _IMP_core.Gaussian_setup_particle(*args)
11028 setup_particle = staticmethod(setup_particle)
11030 def get_local_covariance_key():
11031 """get_local_covariance_key() -> ObjectKey"""
11032 return _IMP_core.Gaussian_get_local_covariance_key()
11034 get_local_covariance_key = staticmethod(get_local_covariance_key)
11036 def get_global_covariance_key():
11037 """get_global_covariance_key() -> ObjectKey"""
11038 return _IMP_core.Gaussian_get_global_covariance_key()
11040 get_global_covariance_key = staticmethod(get_global_covariance_key)
11042 def get_is_setup(*args):
11044 get_is_setup(_ParticleAdaptor p) -> bool
11045 get_is_setup(Model m, ParticleIndex pi) -> bool
11047 return _IMP_core.Gaussian_get_is_setup(*args)
11049 get_is_setup = staticmethod(get_is_setup)
11051 def get_local_covariance(self):
11052 """get_local_covariance(Gaussian self) -> Eigen::Matrix3d"""
11053 return _IMP_core.Gaussian_get_local_covariance(self)
11056 def get_variances(self):
11057 """get_variances(Gaussian self) -> Vector3D"""
11058 return _IMP_core.Gaussian_get_variances(self)
11061 def get_global_covariance(self):
11062 """get_global_covariance(Gaussian self) -> Eigen::Matrix3d"""
11063 return _IMP_core.Gaussian_get_global_covariance(self)
11066 def get_gaussian(self):
11067 """get_gaussian(Gaussian self) -> Gaussian3D"""
11068 return _IMP_core.Gaussian_get_gaussian(self)
11071 def set_gaussian(self, g):
11072 """set_gaussian(Gaussian self, Gaussian3D g)"""
11073 return _IMP_core.Gaussian_set_gaussian(self, g)
11076 def set_local_covariance(self, covar):
11077 """set_local_covariance(Gaussian self, Eigen::Vector3d const covar)"""
11078 return _IMP_core.Gaussian_set_local_covariance(self, covar)
11081 def set_variances(self, v):
11082 """set_variances(Gaussian self, Vector3D v)"""
11083 return _IMP_core.Gaussian_set_variances(self, v)
11086 def set_global_covariance(self, covar):
11087 """set_global_covariance(Gaussian self, Eigen::Matrix3d covar)"""
11088 return _IMP_core.Gaussian_set_global_covariance(self, covar)
11091 def update_global_covariance(self):
11092 """update_global_covariance(Gaussian self)"""
11093 return _IMP_core.Gaussian_update_global_covariance(self)
11096 def add_attribute(self, *args):
11098 add_attribute(Gaussian self, FloatKey k, IMP::Float v, bool opt)
11099 add_attribute(Gaussian self, FloatKey a0, IMP::Float a1)
11100 add_attribute(Gaussian self, IntKey a0, IMP::Int a1)
11101 add_attribute(Gaussian self, FloatsKey a0, IMP::Floats a1)
11102 add_attribute(Gaussian self, IntsKey a0, IMP::Ints a1)
11103 add_attribute(Gaussian self, StringKey a0, IMP::String a1)
11104 add_attribute(Gaussian self, ParticleIndexKey a0, Particle a1)
11105 add_attribute(Gaussian self, ObjectKey a0, Object a1)
11107 return _IMP_core.Gaussian_add_attribute(self, *args)
11110 def get_value(self, *args):
11112 get_value(Gaussian self, FloatKey a0) -> IMP::Float
11113 get_value(Gaussian self, IntKey a0) -> IMP::Int
11114 get_value(Gaussian self, FloatsKey a0) -> IMP::Floats
11115 get_value(Gaussian self, IntsKey a0) -> IMP::Ints
11116 get_value(Gaussian self, StringKey a0) -> IMP::String
11117 get_value(Gaussian self, ParticleIndexKey a0) -> Particle
11118 get_value(Gaussian self, ObjectKey a0) -> Object
11120 return _IMP_core.Gaussian_get_value(self, *args)
11123 def set_value(self, *args):
11125 set_value(Gaussian self, FloatKey a0, IMP::Float a1)
11126 set_value(Gaussian self, IntKey a0, IMP::Int a1)
11127 set_value(Gaussian self, FloatsKey a0, IMP::Floats a1)
11128 set_value(Gaussian self, IntsKey a0, IMP::Ints a1)
11129 set_value(Gaussian self, StringKey a0, IMP::String a1)
11130 set_value(Gaussian self, ParticleIndexKey a0, Particle a1)
11131 set_value(Gaussian self, ObjectKey a0, Object a1)
11133 return _IMP_core.Gaussian_set_value(self, *args)
11136 def remove_attribute(self, *args):
11138 remove_attribute(Gaussian self, FloatKey a0)
11139 remove_attribute(Gaussian self, IntKey a0)
11140 remove_attribute(Gaussian self, FloatsKey a0)
11141 remove_attribute(Gaussian self, IntsKey a0)
11142 remove_attribute(Gaussian self, StringKey a0)
11143 remove_attribute(Gaussian self, ParticleIndexKey a0)
11144 remove_attribute(Gaussian self, ObjectKey a0)
11146 return _IMP_core.Gaussian_remove_attribute(self, *args)
11149 def has_attribute(self, *args):
11151 has_attribute(Gaussian self, FloatKey a0) -> bool
11152 has_attribute(Gaussian self, IntKey a0) -> bool
11153 has_attribute(Gaussian self, FloatsKey a0) -> bool
11154 has_attribute(Gaussian self, IntsKey a0) -> bool
11155 has_attribute(Gaussian self, StringKey a0) -> bool
11156 has_attribute(Gaussian self, ParticleIndexKey a0) -> bool
11157 has_attribute(Gaussian self, ObjectKey a0) -> bool
11159 return _IMP_core.Gaussian_has_attribute(self, *args)
11162 def get_derivative(self, a0):
11163 """get_derivative(Gaussian self, FloatKey a0) -> double"""
11164 return _IMP_core.Gaussian_get_derivative(self, a0)
11167 def get_name(self):
11168 """get_name(Gaussian self) -> std::string"""
11169 return _IMP_core.Gaussian_get_name(self)
11172 def clear_caches(self):
11173 """clear_caches(Gaussian self)"""
11174 return _IMP_core.Gaussian_clear_caches(self)
11177 def set_name(self, a0):
11178 """set_name(Gaussian self, std::string a0)"""
11179 return _IMP_core.Gaussian_set_name(self, a0)
11183 """set_check_level(Gaussian self, IMP::CheckLevel a0)"""
11184 return _IMP_core.Gaussian_set_check_level(self, a0)
11187 def add_to_derivative(self, a0, a1, a2):
11188 """add_to_derivative(Gaussian self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
11189 return _IMP_core.Gaussian_add_to_derivative(self, a0, a1, a2)
11192 def set_is_optimized(self, a0, a1):
11193 """set_is_optimized(Gaussian self, FloatKey a0, bool a1)"""
11194 return _IMP_core.Gaussian_set_is_optimized(self, a0, a1)
11197 def get_is_optimized(self, a0):
11198 """get_is_optimized(Gaussian self, FloatKey a0) -> bool"""
11199 return _IMP_core.Gaussian_get_is_optimized(self, a0)
11203 """get_check_level(Gaussian self) -> IMP::CheckLevel"""
11204 return _IMP_core.Gaussian_get_check_level(self)
11207 def __eq__(self, *args):
11209 __eq__(Gaussian self, Gaussian o) -> bool
11210 __eq__(Gaussian self, Particle d) -> bool
11212 return _IMP_core.Gaussian___eq__(self, *args)
11215 def __ne__(self, *args):
11217 __ne__(Gaussian self, Gaussian o) -> bool
11218 __ne__(Gaussian self, Particle d) -> bool
11220 return _IMP_core.Gaussian___ne__(self, *args)
11223 def __le__(self, *args):
11225 __le__(Gaussian self, Gaussian o) -> bool
11226 __le__(Gaussian self, Particle d) -> bool
11228 return _IMP_core.Gaussian___le__(self, *args)
11231 def __lt__(self, *args):
11233 __lt__(Gaussian self, Gaussian o) -> bool
11234 __lt__(Gaussian self, Particle d) -> bool
11236 return _IMP_core.Gaussian___lt__(self, *args)
11239 def __ge__(self, *args):
11241 __ge__(Gaussian self, Gaussian o) -> bool
11242 __ge__(Gaussian self, Particle d) -> bool
11244 return _IMP_core.Gaussian___ge__(self, *args)
11247 def __gt__(self, *args):
11249 __gt__(Gaussian self, Gaussian o) -> bool
11250 __gt__(Gaussian self, Particle d) -> bool
11252 return _IMP_core.Gaussian___gt__(self, *args)
11255 def __hash__(self):
11256 """__hash__(Gaussian self) -> std::size_t"""
11257 return _IMP_core.Gaussian___hash__(self)
11261 """__str__(Gaussian self) -> std::string"""
11262 return _IMP_core.Gaussian___str__(self)
11265 def __repr__(self):
11266 """__repr__(Gaussian self) -> std::string"""
11267 return _IMP_core.Gaussian___repr__(self)
11269 __swig_destroy__ = _IMP_core.delete_Gaussian
11270 __del__ =
lambda self:
None
11271 Gaussian_swigregister = _IMP_core.Gaussian_swigregister
11272 Gaussian_swigregister(Gaussian)
11274 def Gaussian_setup_particle(*args):
11276 setup_particle(Model m, ParticleIndex pi) -> Gaussian
11277 setup_particle(_ParticleAdaptor decorator) -> Gaussian
11278 setup_particle(Model m, ParticleIndex pi, Gaussian3D g) -> Gaussian
11279 Gaussian_setup_particle(_ParticleAdaptor decorator, Gaussian3D g) -> Gaussian
11281 return _IMP_core.Gaussian_setup_particle(*args)
11283 def Gaussian_get_local_covariance_key():
11284 """Gaussian_get_local_covariance_key() -> ObjectKey"""
11285 return _IMP_core.Gaussian_get_local_covariance_key()
11287 def Gaussian_get_global_covariance_key():
11288 """Gaussian_get_global_covariance_key() -> ObjectKey"""
11289 return _IMP_core.Gaussian_get_global_covariance_key()
11291 def Gaussian_get_is_setup(*args):
11293 get_is_setup(_ParticleAdaptor p) -> bool
11294 Gaussian_get_is_setup(Model m, ParticleIndex pi) -> bool
11296 return _IMP_core.Gaussian_get_is_setup(*args)
11299 """Proxy of C++ IMP::core::PairRestraint class"""
11300 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11302 def __init__(self, *args):
11304 __init__(IMP::core::PairRestraint self, Model m, PairScore ss, IMP::ParticleIndexPair const & vt, std::string name) -> PairRestraint
11305 __init__(IMP::core::PairRestraint self, Model m, PairScore ss, IMP::ParticleIndexPair const & vt) -> PairRestraint
11307 this = _IMP_core.new_PairRestraint(*args)
11309 self.this.append(this)
11313 def get_version_info(self):
11314 """get_version_info(PairRestraint self) -> VersionInfo"""
11315 return _IMP_core.PairRestraint_get_version_info(self)
11319 """__str__(PairRestraint self) -> std::string"""
11320 return _IMP_core.PairRestraint___str__(self)
11323 def __repr__(self):
11324 """__repr__(PairRestraint self) -> std::string"""
11325 return _IMP_core.PairRestraint___repr__(self)
11330 return _object_cast_to_PairRestraint(o)
11332 PairRestraint_swigregister = _IMP_core.PairRestraint_swigregister
11333 PairRestraint_swigregister(PairRestraint)
11336 """Proxy of C++ IMP::core::SingletonRestraint class"""
11337 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11339 def __init__(self, *args):
11341 __init__(IMP::core::SingletonRestraint self, Model m, SingletonScore ss, ParticleIndex vt, std::string name) -> SingletonRestraint
11342 __init__(IMP::core::SingletonRestraint self, Model m, SingletonScore ss, ParticleIndex vt) -> SingletonRestraint
11344 this = _IMP_core.new_SingletonRestraint(*args)
11346 self.this.append(this)
11350 def get_version_info(self):
11351 """get_version_info(SingletonRestraint self) -> VersionInfo"""
11352 return _IMP_core.SingletonRestraint_get_version_info(self)
11356 """__str__(SingletonRestraint self) -> std::string"""
11357 return _IMP_core.SingletonRestraint___str__(self)
11360 def __repr__(self):
11361 """__repr__(SingletonRestraint self) -> std::string"""
11362 return _IMP_core.SingletonRestraint___repr__(self)
11367 return _object_cast_to_SingletonRestraint(o)
11369 SingletonRestraint_swigregister = _IMP_core.SingletonRestraint_swigregister
11370 SingletonRestraint_swigregister(SingletonRestraint)
11373 """Proxy of C++ IMP::core::TripletRestraint class"""
11374 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11376 def __init__(self, *args):
11378 __init__(IMP::core::TripletRestraint self, Model m, TripletScore ss, IMP::ParticleIndexTriplet const & vt, std::string name) -> TripletRestraint
11379 __init__(IMP::core::TripletRestraint self, Model m, TripletScore ss, IMP::ParticleIndexTriplet const & vt) -> TripletRestraint
11381 this = _IMP_core.new_TripletRestraint(*args)
11383 self.this.append(this)
11387 def get_version_info(self):
11388 """get_version_info(TripletRestraint self) -> VersionInfo"""
11389 return _IMP_core.TripletRestraint_get_version_info(self)
11393 """__str__(TripletRestraint self) -> std::string"""
11394 return _IMP_core.TripletRestraint___str__(self)
11397 def __repr__(self):
11398 """__repr__(TripletRestraint self) -> std::string"""
11399 return _IMP_core.TripletRestraint___repr__(self)
11404 return _object_cast_to_TripletRestraint(o)
11406 TripletRestraint_swigregister = _IMP_core.TripletRestraint_swigregister
11407 TripletRestraint_swigregister(TripletRestraint)
11410 """Proxy of C++ IMP::core::QuadRestraint class"""
11411 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11413 def __init__(self, *args):
11415 __init__(IMP::core::QuadRestraint self, Model m, QuadScore ss, IMP::ParticleIndexQuad const & vt, std::string name) -> QuadRestraint
11416 __init__(IMP::core::QuadRestraint self, Model m, QuadScore ss, IMP::ParticleIndexQuad const & vt) -> QuadRestraint
11418 this = _IMP_core.new_QuadRestraint(*args)
11420 self.this.append(this)
11424 def get_version_info(self):
11425 """get_version_info(QuadRestraint self) -> VersionInfo"""
11426 return _IMP_core.QuadRestraint_get_version_info(self)
11430 """__str__(QuadRestraint self) -> std::string"""
11431 return _IMP_core.QuadRestraint___str__(self)
11434 def __repr__(self):
11435 """__repr__(QuadRestraint self) -> std::string"""
11436 return _IMP_core.QuadRestraint___repr__(self)
11441 return _object_cast_to_QuadRestraint(o)
11443 QuadRestraint_swigregister = _IMP_core.QuadRestraint_swigregister
11444 QuadRestraint_swigregister(QuadRestraint)
11447 """Proxy of C++ IMP::core::SingletonConstraint class"""
11448 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11450 def __init__(self, *args):
11452 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Particle vt, std::string name) -> SingletonConstraint
11453 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Particle vt) -> SingletonConstraint
11454 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Model m, ParticleIndex vt, std::string name, bool can_skip=False) -> SingletonConstraint
11455 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Model m, ParticleIndex vt, std::string name) -> SingletonConstraint
11456 __init__(IMP::core::SingletonConstraint self, SingletonModifier before, SingletonModifier after, Model m, ParticleIndex vt) -> SingletonConstraint
11458 this = _IMP_core.new_SingletonConstraint(*args)
11460 self.this.append(this)
11464 def get_version_info(self):
11465 """get_version_info(SingletonConstraint self) -> VersionInfo"""
11466 return _IMP_core.SingletonConstraint_get_version_info(self)
11470 """__str__(SingletonConstraint self) -> std::string"""
11471 return _IMP_core.SingletonConstraint___str__(self)
11474 def __repr__(self):
11475 """__repr__(SingletonConstraint self) -> std::string"""
11476 return _IMP_core.SingletonConstraint___repr__(self)
11481 return _object_cast_to_SingletonConstraint(o)
11483 SingletonConstraint_swigregister = _IMP_core.SingletonConstraint_swigregister
11484 SingletonConstraint_swigregister(SingletonConstraint)
11487 """Proxy of C++ IMP::core::PairConstraint class"""
11488 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11490 def __init__(self, *args):
11492 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, IMP::ParticlePair const & vt, std::string name) -> PairConstraint
11493 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, IMP::ParticlePair const & vt) -> PairConstraint
11494 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, Model m, IMP::ParticleIndexPair const & vt, std::string name, bool can_skip=False) -> PairConstraint
11495 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, Model m, IMP::ParticleIndexPair const & vt, std::string name) -> PairConstraint
11496 __init__(IMP::core::PairConstraint self, PairModifier before, PairModifier after, Model m, IMP::ParticleIndexPair const & vt) -> PairConstraint
11498 this = _IMP_core.new_PairConstraint(*args)
11500 self.this.append(this)
11504 def get_version_info(self):
11505 """get_version_info(PairConstraint self) -> VersionInfo"""
11506 return _IMP_core.PairConstraint_get_version_info(self)
11510 """__str__(PairConstraint self) -> std::string"""
11511 return _IMP_core.PairConstraint___str__(self)
11514 def __repr__(self):
11515 """__repr__(PairConstraint self) -> std::string"""
11516 return _IMP_core.PairConstraint___repr__(self)
11521 return _object_cast_to_PairConstraint(o)
11523 PairConstraint_swigregister = _IMP_core.PairConstraint_swigregister
11524 PairConstraint_swigregister(PairConstraint)
11527 """Proxy of C++ IMP::core::TripletConstraint class"""
11528 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11530 def __init__(self, *args):
11532 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, IMP::ParticleTriplet const & vt, std::string name) -> TripletConstraint
11533 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, IMP::ParticleTriplet const & vt) -> TripletConstraint
11534 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, Model m, IMP::ParticleIndexTriplet const & vt, std::string name, bool can_skip=False) -> TripletConstraint
11535 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, Model m, IMP::ParticleIndexTriplet const & vt, std::string name) -> TripletConstraint
11536 __init__(IMP::core::TripletConstraint self, TripletModifier before, TripletModifier after, Model m, IMP::ParticleIndexTriplet const & vt) -> TripletConstraint
11538 this = _IMP_core.new_TripletConstraint(*args)
11540 self.this.append(this)
11544 def get_version_info(self):
11545 """get_version_info(TripletConstraint self) -> VersionInfo"""
11546 return _IMP_core.TripletConstraint_get_version_info(self)
11550 """__str__(TripletConstraint self) -> std::string"""
11551 return _IMP_core.TripletConstraint___str__(self)
11554 def __repr__(self):
11555 """__repr__(TripletConstraint self) -> std::string"""
11556 return _IMP_core.TripletConstraint___repr__(self)
11561 return _object_cast_to_TripletConstraint(o)
11563 TripletConstraint_swigregister = _IMP_core.TripletConstraint_swigregister
11564 TripletConstraint_swigregister(TripletConstraint)
11567 """Proxy of C++ IMP::core::QuadConstraint class"""
11568 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11570 def __init__(self, *args):
11572 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, IMP::ParticleQuad const & vt, std::string name) -> QuadConstraint
11573 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, IMP::ParticleQuad const & vt) -> QuadConstraint
11574 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, Model m, IMP::ParticleIndexQuad const & vt, std::string name, bool can_skip=False) -> QuadConstraint
11575 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, Model m, IMP::ParticleIndexQuad const & vt, std::string name) -> QuadConstraint
11576 __init__(IMP::core::QuadConstraint self, QuadModifier before, QuadModifier after, Model m, IMP::ParticleIndexQuad const & vt) -> QuadConstraint
11578 this = _IMP_core.new_QuadConstraint(*args)
11580 self.this.append(this)
11584 def get_version_info(self):
11585 """get_version_info(QuadConstraint self) -> VersionInfo"""
11586 return _IMP_core.QuadConstraint_get_version_info(self)
11590 """__str__(QuadConstraint self) -> std::string"""
11591 return _IMP_core.QuadConstraint___str__(self)
11594 def __repr__(self):
11595 """__repr__(QuadConstraint self) -> std::string"""
11596 return _IMP_core.QuadConstraint___repr__(self)
11601 return _object_cast_to_QuadConstraint(o)
11603 QuadConstraint_swigregister = _IMP_core.QuadConstraint_swigregister
11604 QuadConstraint_swigregister(QuadConstraint)
11607 """Proxy of C++ IMP::core::ConstantSingletonPredicate class"""
11608 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11610 def __init__(self, *args):
11612 __init__(IMP::core::ConstantSingletonPredicate self, int v, std::string name) -> ConstantSingletonPredicate
11613 __init__(IMP::core::ConstantSingletonPredicate self, int v) -> ConstantSingletonPredicate
11615 this = _IMP_core.new_ConstantSingletonPredicate(*args)
11617 self.this.append(this)
11621 def do_get_inputs(self, arg2, arg3):
11622 """do_get_inputs(ConstantSingletonPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11623 return _IMP_core.ConstantSingletonPredicate_do_get_inputs(self, arg2, arg3)
11626 def get_value(self, *args):
11628 get_value(ConstantSingletonPredicate self, Particle a) -> int
11629 get_value(ConstantSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
11631 return _IMP_core.ConstantSingletonPredicate_get_value(self, *args)
11634 def get_value_index(self, *args):
11636 get_value_index(ConstantSingletonPredicate self, Model arg2, ParticleIndex arg3) -> int
11637 get_value_index(ConstantSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
11639 return _IMP_core.ConstantSingletonPredicate_get_value_index(self, *args)
11642 def get_version_info(self):
11643 """get_version_info(ConstantSingletonPredicate self) -> VersionInfo"""
11644 return _IMP_core.ConstantSingletonPredicate_get_version_info(self)
11648 """__str__(ConstantSingletonPredicate self) -> std::string"""
11649 return _IMP_core.ConstantSingletonPredicate___str__(self)
11652 def __repr__(self):
11653 """__repr__(ConstantSingletonPredicate self) -> std::string"""
11654 return _IMP_core.ConstantSingletonPredicate___repr__(self)
11659 return _object_cast_to_ConstantSingletonPredicate(o)
11661 ConstantSingletonPredicate_swigregister = _IMP_core.ConstantSingletonPredicate_swigregister
11662 ConstantSingletonPredicate_swigregister(ConstantSingletonPredicate)
11665 """Proxy of C++ IMP::core::UnorderedTypeSingletonPredicate class"""
11666 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11668 def __init__(self, *args):
11670 __init__(IMP::core::UnorderedTypeSingletonPredicate self, std::string name) -> UnorderedTypeSingletonPredicate
11671 __init__(IMP::core::UnorderedTypeSingletonPredicate self) -> UnorderedTypeSingletonPredicate
11673 this = _IMP_core.new_UnorderedTypeSingletonPredicate(*args)
11675 self.this.append(this)
11679 def do_get_inputs(self, m, pis):
11680 """do_get_inputs(UnorderedTypeSingletonPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
11681 return _IMP_core.UnorderedTypeSingletonPredicate_do_get_inputs(self, m, pis)
11684 def get_value(self, *args):
11686 get_value(UnorderedTypeSingletonPredicate self, Particle a) -> int
11687 get_value(UnorderedTypeSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
11689 return _IMP_core.UnorderedTypeSingletonPredicate_get_value(self, *args)
11692 def get_value_index(self, *args):
11694 get_value_index(UnorderedTypeSingletonPredicate self, Model m, ParticleIndex pi) -> int
11695 get_value_index(UnorderedTypeSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
11697 return _IMP_core.UnorderedTypeSingletonPredicate_get_value_index(self, *args)
11700 def get_version_info(self):
11701 """get_version_info(UnorderedTypeSingletonPredicate self) -> VersionInfo"""
11702 return _IMP_core.UnorderedTypeSingletonPredicate_get_version_info(self)
11706 """__str__(UnorderedTypeSingletonPredicate self) -> std::string"""
11707 return _IMP_core.UnorderedTypeSingletonPredicate___str__(self)
11710 def __repr__(self):
11711 """__repr__(UnorderedTypeSingletonPredicate self) -> std::string"""
11712 return _IMP_core.UnorderedTypeSingletonPredicate___repr__(self)
11717 return _object_cast_to_UnorderedTypeSingletonPredicate(o)
11719 UnorderedTypeSingletonPredicate_swigregister = _IMP_core.UnorderedTypeSingletonPredicate_swigregister
11720 UnorderedTypeSingletonPredicate_swigregister(UnorderedTypeSingletonPredicate)
11723 """Proxy of C++ IMP::core::OrderedTypeSingletonPredicate class"""
11724 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11726 def __init__(self, *args):
11728 __init__(IMP::core::OrderedTypeSingletonPredicate self, std::string name) -> OrderedTypeSingletonPredicate
11729 __init__(IMP::core::OrderedTypeSingletonPredicate self) -> OrderedTypeSingletonPredicate
11731 this = _IMP_core.new_OrderedTypeSingletonPredicate(*args)
11733 self.this.append(this)
11737 def do_get_inputs(self, m, pis):
11738 """do_get_inputs(OrderedTypeSingletonPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
11739 return _IMP_core.OrderedTypeSingletonPredicate_do_get_inputs(self, m, pis)
11742 def get_value(self, *args):
11744 get_value(OrderedTypeSingletonPredicate self, IMP::core::ParticleTypes const & types) -> int
11745 get_value(OrderedTypeSingletonPredicate self, Particle a) -> int
11746 get_value(OrderedTypeSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
11748 return _IMP_core.OrderedTypeSingletonPredicate_get_value(self, *args)
11751 def get_value_index(self, *args):
11753 get_value_index(OrderedTypeSingletonPredicate self, Model m, ParticleIndex pi) -> int
11754 get_value_index(OrderedTypeSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
11756 return _IMP_core.OrderedTypeSingletonPredicate_get_value_index(self, *args)
11759 def get_version_info(self):
11760 """get_version_info(OrderedTypeSingletonPredicate self) -> VersionInfo"""
11761 return _IMP_core.OrderedTypeSingletonPredicate_get_version_info(self)
11765 """__str__(OrderedTypeSingletonPredicate self) -> std::string"""
11766 return _IMP_core.OrderedTypeSingletonPredicate___str__(self)
11769 def __repr__(self):
11770 """__repr__(OrderedTypeSingletonPredicate self) -> std::string"""
11771 return _IMP_core.OrderedTypeSingletonPredicate___repr__(self)
11776 return _object_cast_to_OrderedTypeSingletonPredicate(o)
11778 OrderedTypeSingletonPredicate_swigregister = _IMP_core.OrderedTypeSingletonPredicate_swigregister
11779 OrderedTypeSingletonPredicate_swigregister(OrderedTypeSingletonPredicate)
11782 """Proxy of C++ IMP::core::AllSameSingletonPredicate class"""
11783 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11785 def __init__(self, *args):
11787 __init__(IMP::core::AllSameSingletonPredicate self, std::string name) -> AllSameSingletonPredicate
11788 __init__(IMP::core::AllSameSingletonPredicate self) -> AllSameSingletonPredicate
11790 this = _IMP_core.new_AllSameSingletonPredicate(*args)
11792 self.this.append(this)
11796 def do_get_inputs(self, arg2, arg3):
11797 """do_get_inputs(AllSameSingletonPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11798 return _IMP_core.AllSameSingletonPredicate_do_get_inputs(self, arg2, arg3)
11801 def get_value(self, *args):
11803 get_value(AllSameSingletonPredicate self, Particle a) -> int
11804 get_value(AllSameSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
11806 return _IMP_core.AllSameSingletonPredicate_get_value(self, *args)
11809 def get_value_index(self, *args):
11811 get_value_index(AllSameSingletonPredicate self, Model m, ParticleIndex pi) -> int
11812 get_value_index(AllSameSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
11814 return _IMP_core.AllSameSingletonPredicate_get_value_index(self, *args)
11817 def get_version_info(self):
11818 """get_version_info(AllSameSingletonPredicate self) -> VersionInfo"""
11819 return _IMP_core.AllSameSingletonPredicate_get_version_info(self)
11823 """__str__(AllSameSingletonPredicate self) -> std::string"""
11824 return _IMP_core.AllSameSingletonPredicate___str__(self)
11827 def __repr__(self):
11828 """__repr__(AllSameSingletonPredicate self) -> std::string"""
11829 return _IMP_core.AllSameSingletonPredicate___repr__(self)
11834 return _object_cast_to_AllSameSingletonPredicate(o)
11836 AllSameSingletonPredicate_swigregister = _IMP_core.AllSameSingletonPredicate_swigregister
11837 AllSameSingletonPredicate_swigregister(AllSameSingletonPredicate)
11840 """Proxy of C++ IMP::core::CoinFlipSingletonPredicate class"""
11841 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11843 def __init__(self, *args):
11845 __init__(IMP::core::CoinFlipSingletonPredicate self, double p, std::string name) -> CoinFlipSingletonPredicate
11846 __init__(IMP::core::CoinFlipSingletonPredicate self, double p) -> CoinFlipSingletonPredicate
11848 this = _IMP_core.new_CoinFlipSingletonPredicate(*args)
11850 self.this.append(this)
11854 def do_get_inputs(self, arg2, arg3):
11855 """do_get_inputs(CoinFlipSingletonPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11856 return _IMP_core.CoinFlipSingletonPredicate_do_get_inputs(self, arg2, arg3)
11859 def get_value(self, *args):
11861 get_value(CoinFlipSingletonPredicate self, Particle a) -> int
11862 get_value(CoinFlipSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
11864 return _IMP_core.CoinFlipSingletonPredicate_get_value(self, *args)
11867 def get_value_index(self, *args):
11869 get_value_index(CoinFlipSingletonPredicate self, Model arg2, ParticleIndex arg3) -> int
11870 get_value_index(CoinFlipSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
11872 return _IMP_core.CoinFlipSingletonPredicate_get_value_index(self, *args)
11875 def get_version_info(self):
11876 """get_version_info(CoinFlipSingletonPredicate self) -> VersionInfo"""
11877 return _IMP_core.CoinFlipSingletonPredicate_get_version_info(self)
11881 """__str__(CoinFlipSingletonPredicate self) -> std::string"""
11882 return _IMP_core.CoinFlipSingletonPredicate___str__(self)
11885 def __repr__(self):
11886 """__repr__(CoinFlipSingletonPredicate self) -> std::string"""
11887 return _IMP_core.CoinFlipSingletonPredicate___repr__(self)
11892 return _object_cast_to_CoinFlipSingletonPredicate(o)
11894 CoinFlipSingletonPredicate_swigregister = _IMP_core.CoinFlipSingletonPredicate_swigregister
11895 CoinFlipSingletonPredicate_swigregister(CoinFlipSingletonPredicate)
11898 """Proxy of C++ IMP::core::ConstantPairPredicate class"""
11899 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11901 def __init__(self, *args):
11903 __init__(IMP::core::ConstantPairPredicate self, int v, std::string name) -> ConstantPairPredicate
11904 __init__(IMP::core::ConstantPairPredicate self, int v) -> ConstantPairPredicate
11906 this = _IMP_core.new_ConstantPairPredicate(*args)
11908 self.this.append(this)
11912 def do_get_inputs(self, arg2, arg3):
11913 """do_get_inputs(ConstantPairPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11914 return _IMP_core.ConstantPairPredicate_do_get_inputs(self, arg2, arg3)
11917 def get_value(self, *args):
11919 get_value(ConstantPairPredicate self, IMP::ParticlePair const & a) -> int
11920 get_value(ConstantPairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
11922 return _IMP_core.ConstantPairPredicate_get_value(self, *args)
11925 def get_value_index(self, *args):
11927 get_value_index(ConstantPairPredicate self, Model arg2, IMP::ParticleIndexPair const & arg3) -> int
11928 get_value_index(ConstantPairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
11930 return _IMP_core.ConstantPairPredicate_get_value_index(self, *args)
11933 def get_version_info(self):
11934 """get_version_info(ConstantPairPredicate self) -> VersionInfo"""
11935 return _IMP_core.ConstantPairPredicate_get_version_info(self)
11939 """__str__(ConstantPairPredicate self) -> std::string"""
11940 return _IMP_core.ConstantPairPredicate___str__(self)
11943 def __repr__(self):
11944 """__repr__(ConstantPairPredicate self) -> std::string"""
11945 return _IMP_core.ConstantPairPredicate___repr__(self)
11950 return _object_cast_to_ConstantPairPredicate(o)
11952 ConstantPairPredicate_swigregister = _IMP_core.ConstantPairPredicate_swigregister
11953 ConstantPairPredicate_swigregister(ConstantPairPredicate)
11956 """Proxy of C++ IMP::core::UnorderedTypePairPredicate class"""
11957 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
11959 def __init__(self, *args):
11961 __init__(IMP::core::UnorderedTypePairPredicate self, std::string name) -> UnorderedTypePairPredicate
11962 __init__(IMP::core::UnorderedTypePairPredicate self) -> UnorderedTypePairPredicate
11964 this = _IMP_core.new_UnorderedTypePairPredicate(*args)
11966 self.this.append(this)
11970 def do_get_inputs(self, m, pis):
11971 """do_get_inputs(UnorderedTypePairPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
11972 return _IMP_core.UnorderedTypePairPredicate_do_get_inputs(self, m, pis)
11975 def get_value(self, *args):
11977 get_value(UnorderedTypePairPredicate self, IMP::ParticlePair const & a) -> int
11978 get_value(UnorderedTypePairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
11980 return _IMP_core.UnorderedTypePairPredicate_get_value(self, *args)
11983 def get_value_index(self, *args):
11985 get_value_index(UnorderedTypePairPredicate self, Model m, IMP::ParticleIndexPair const & pi) -> int
11986 get_value_index(UnorderedTypePairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
11988 return _IMP_core.UnorderedTypePairPredicate_get_value_index(self, *args)
11991 def get_version_info(self):
11992 """get_version_info(UnorderedTypePairPredicate self) -> VersionInfo"""
11993 return _IMP_core.UnorderedTypePairPredicate_get_version_info(self)
11997 """__str__(UnorderedTypePairPredicate self) -> std::string"""
11998 return _IMP_core.UnorderedTypePairPredicate___str__(self)
12001 def __repr__(self):
12002 """__repr__(UnorderedTypePairPredicate self) -> std::string"""
12003 return _IMP_core.UnorderedTypePairPredicate___repr__(self)
12008 return _object_cast_to_UnorderedTypePairPredicate(o)
12010 UnorderedTypePairPredicate_swigregister = _IMP_core.UnorderedTypePairPredicate_swigregister
12011 UnorderedTypePairPredicate_swigregister(UnorderedTypePairPredicate)
12014 """Proxy of C++ IMP::core::OrderedTypePairPredicate class"""
12015 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12017 def __init__(self, *args):
12019 __init__(IMP::core::OrderedTypePairPredicate self, std::string name) -> OrderedTypePairPredicate
12020 __init__(IMP::core::OrderedTypePairPredicate self) -> OrderedTypePairPredicate
12022 this = _IMP_core.new_OrderedTypePairPredicate(*args)
12024 self.this.append(this)
12028 def do_get_inputs(self, m, pis):
12029 """do_get_inputs(OrderedTypePairPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
12030 return _IMP_core.OrderedTypePairPredicate_do_get_inputs(self, m, pis)
12033 def get_value(self, *args):
12035 get_value(OrderedTypePairPredicate self, IMP::core::ParticleTypes const & types) -> int
12036 get_value(OrderedTypePairPredicate self, IMP::ParticlePair const & a) -> int
12037 get_value(OrderedTypePairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
12039 return _IMP_core.OrderedTypePairPredicate_get_value(self, *args)
12042 def get_value_index(self, *args):
12044 get_value_index(OrderedTypePairPredicate self, Model m, IMP::ParticleIndexPair const & pi) -> int
12045 get_value_index(OrderedTypePairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
12047 return _IMP_core.OrderedTypePairPredicate_get_value_index(self, *args)
12050 def get_version_info(self):
12051 """get_version_info(OrderedTypePairPredicate self) -> VersionInfo"""
12052 return _IMP_core.OrderedTypePairPredicate_get_version_info(self)
12056 """__str__(OrderedTypePairPredicate self) -> std::string"""
12057 return _IMP_core.OrderedTypePairPredicate___str__(self)
12060 def __repr__(self):
12061 """__repr__(OrderedTypePairPredicate self) -> std::string"""
12062 return _IMP_core.OrderedTypePairPredicate___repr__(self)
12067 return _object_cast_to_OrderedTypePairPredicate(o)
12069 OrderedTypePairPredicate_swigregister = _IMP_core.OrderedTypePairPredicate_swigregister
12070 OrderedTypePairPredicate_swigregister(OrderedTypePairPredicate)
12073 """Proxy of C++ IMP::core::AllSamePairPredicate class"""
12074 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12076 def __init__(self, *args):
12078 __init__(IMP::core::AllSamePairPredicate self, std::string name) -> AllSamePairPredicate
12079 __init__(IMP::core::AllSamePairPredicate self) -> AllSamePairPredicate
12081 this = _IMP_core.new_AllSamePairPredicate(*args)
12083 self.this.append(this)
12087 def do_get_inputs(self, arg2, arg3):
12088 """do_get_inputs(AllSamePairPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
12089 return _IMP_core.AllSamePairPredicate_do_get_inputs(self, arg2, arg3)
12092 def get_value(self, *args):
12094 get_value(AllSamePairPredicate self, IMP::ParticlePair const & a) -> int
12095 get_value(AllSamePairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
12097 return _IMP_core.AllSamePairPredicate_get_value(self, *args)
12100 def get_value_index(self, *args):
12102 get_value_index(AllSamePairPredicate self, Model m, IMP::ParticleIndexPair const & pi) -> int
12103 get_value_index(AllSamePairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
12105 return _IMP_core.AllSamePairPredicate_get_value_index(self, *args)
12108 def get_version_info(self):
12109 """get_version_info(AllSamePairPredicate self) -> VersionInfo"""
12110 return _IMP_core.AllSamePairPredicate_get_version_info(self)
12114 """__str__(AllSamePairPredicate self) -> std::string"""
12115 return _IMP_core.AllSamePairPredicate___str__(self)
12118 def __repr__(self):
12119 """__repr__(AllSamePairPredicate self) -> std::string"""
12120 return _IMP_core.AllSamePairPredicate___repr__(self)
12125 return _object_cast_to_AllSamePairPredicate(o)
12127 AllSamePairPredicate_swigregister = _IMP_core.AllSamePairPredicate_swigregister
12128 AllSamePairPredicate_swigregister(AllSamePairPredicate)
12131 """Proxy of C++ IMP::core::CoinFlipPairPredicate class"""
12132 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12134 def __init__(self, *args):
12136 __init__(IMP::core::CoinFlipPairPredicate self, double p, std::string name) -> CoinFlipPairPredicate
12137 __init__(IMP::core::CoinFlipPairPredicate self, double p) -> CoinFlipPairPredicate
12139 this = _IMP_core.new_CoinFlipPairPredicate(*args)
12141 self.this.append(this)
12145 def do_get_inputs(self, arg2, arg3):
12146 """do_get_inputs(CoinFlipPairPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
12147 return _IMP_core.CoinFlipPairPredicate_do_get_inputs(self, arg2, arg3)
12150 def get_value(self, *args):
12152 get_value(CoinFlipPairPredicate self, IMP::ParticlePair const & a) -> int
12153 get_value(CoinFlipPairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
12155 return _IMP_core.CoinFlipPairPredicate_get_value(self, *args)
12158 def get_value_index(self, *args):
12160 get_value_index(CoinFlipPairPredicate self, Model arg2, IMP::ParticleIndexPair const & arg3) -> int
12161 get_value_index(CoinFlipPairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
12163 return _IMP_core.CoinFlipPairPredicate_get_value_index(self, *args)
12166 def get_version_info(self):
12167 """get_version_info(CoinFlipPairPredicate self) -> VersionInfo"""
12168 return _IMP_core.CoinFlipPairPredicate_get_version_info(self)
12172 """__str__(CoinFlipPairPredicate self) -> std::string"""
12173 return _IMP_core.CoinFlipPairPredicate___str__(self)
12176 def __repr__(self):
12177 """__repr__(CoinFlipPairPredicate self) -> std::string"""
12178 return _IMP_core.CoinFlipPairPredicate___repr__(self)
12183 return _object_cast_to_CoinFlipPairPredicate(o)
12185 CoinFlipPairPredicate_swigregister = _IMP_core.CoinFlipPairPredicate_swigregister
12186 CoinFlipPairPredicate_swigregister(CoinFlipPairPredicate)
12189 """Proxy of C++ IMP::core::ConstantTripletPredicate class"""
12190 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12192 def __init__(self, *args):
12194 __init__(IMP::core::ConstantTripletPredicate self, int v, std::string name) -> ConstantTripletPredicate
12195 __init__(IMP::core::ConstantTripletPredicate self, int v) -> ConstantTripletPredicate
12197 this = _IMP_core.new_ConstantTripletPredicate(*args)
12199 self.this.append(this)
12203 def do_get_inputs(self, arg2, arg3):
12204 """do_get_inputs(ConstantTripletPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
12205 return _IMP_core.ConstantTripletPredicate_do_get_inputs(self, arg2, arg3)
12208 def get_value(self, *args):
12210 get_value(ConstantTripletPredicate self, IMP::ParticleTriplet const & a) -> int
12211 get_value(ConstantTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
12213 return _IMP_core.ConstantTripletPredicate_get_value(self, *args)
12216 def get_value_index(self, *args):
12218 get_value_index(ConstantTripletPredicate self, Model arg2, IMP::ParticleIndexTriplet const & arg3) -> int
12219 get_value_index(ConstantTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
12221 return _IMP_core.ConstantTripletPredicate_get_value_index(self, *args)
12224 def get_version_info(self):
12225 """get_version_info(ConstantTripletPredicate self) -> VersionInfo"""
12226 return _IMP_core.ConstantTripletPredicate_get_version_info(self)
12230 """__str__(ConstantTripletPredicate self) -> std::string"""
12231 return _IMP_core.ConstantTripletPredicate___str__(self)
12234 def __repr__(self):
12235 """__repr__(ConstantTripletPredicate self) -> std::string"""
12236 return _IMP_core.ConstantTripletPredicate___repr__(self)
12241 return _object_cast_to_ConstantTripletPredicate(o)
12243 ConstantTripletPredicate_swigregister = _IMP_core.ConstantTripletPredicate_swigregister
12244 ConstantTripletPredicate_swigregister(ConstantTripletPredicate)
12247 """Proxy of C++ IMP::core::UnorderedTypeTripletPredicate class"""
12248 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12250 def __init__(self, *args):
12252 __init__(IMP::core::UnorderedTypeTripletPredicate self, std::string name) -> UnorderedTypeTripletPredicate
12253 __init__(IMP::core::UnorderedTypeTripletPredicate self) -> UnorderedTypeTripletPredicate
12255 this = _IMP_core.new_UnorderedTypeTripletPredicate(*args)
12257 self.this.append(this)
12261 def do_get_inputs(self, m, pis):
12262 """do_get_inputs(UnorderedTypeTripletPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
12263 return _IMP_core.UnorderedTypeTripletPredicate_do_get_inputs(self, m, pis)
12266 def get_value(self, *args):
12268 get_value(UnorderedTypeTripletPredicate self, IMP::ParticleTriplet const & a) -> int
12269 get_value(UnorderedTypeTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
12271 return _IMP_core.UnorderedTypeTripletPredicate_get_value(self, *args)
12274 def get_value_index(self, *args):
12276 get_value_index(UnorderedTypeTripletPredicate self, Model m, IMP::ParticleIndexTriplet const & pi) -> int
12277 get_value_index(UnorderedTypeTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
12279 return _IMP_core.UnorderedTypeTripletPredicate_get_value_index(self, *args)
12282 def get_version_info(self):
12283 """get_version_info(UnorderedTypeTripletPredicate self) -> VersionInfo"""
12284 return _IMP_core.UnorderedTypeTripletPredicate_get_version_info(self)
12288 """__str__(UnorderedTypeTripletPredicate self) -> std::string"""
12289 return _IMP_core.UnorderedTypeTripletPredicate___str__(self)
12292 def __repr__(self):
12293 """__repr__(UnorderedTypeTripletPredicate self) -> std::string"""
12294 return _IMP_core.UnorderedTypeTripletPredicate___repr__(self)
12299 return _object_cast_to_UnorderedTypeTripletPredicate(o)
12301 UnorderedTypeTripletPredicate_swigregister = _IMP_core.UnorderedTypeTripletPredicate_swigregister
12302 UnorderedTypeTripletPredicate_swigregister(UnorderedTypeTripletPredicate)
12305 """Proxy of C++ IMP::core::OrderedTypeTripletPredicate class"""
12306 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12308 def __init__(self, *args):
12310 __init__(IMP::core::OrderedTypeTripletPredicate self, std::string name) -> OrderedTypeTripletPredicate
12311 __init__(IMP::core::OrderedTypeTripletPredicate self) -> OrderedTypeTripletPredicate
12313 this = _IMP_core.new_OrderedTypeTripletPredicate(*args)
12315 self.this.append(this)
12319 def do_get_inputs(self, m, pis):
12320 """do_get_inputs(OrderedTypeTripletPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
12321 return _IMP_core.OrderedTypeTripletPredicate_do_get_inputs(self, m, pis)
12324 def get_value(self, *args):
12326 get_value(OrderedTypeTripletPredicate self, IMP::core::ParticleTypes const & types) -> int
12327 get_value(OrderedTypeTripletPredicate self, IMP::ParticleTriplet const & a) -> int
12328 get_value(OrderedTypeTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
12330 return _IMP_core.OrderedTypeTripletPredicate_get_value(self, *args)
12333 def get_value_index(self, *args):
12335 get_value_index(OrderedTypeTripletPredicate self, Model m, IMP::ParticleIndexTriplet const & pi) -> int
12336 get_value_index(OrderedTypeTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
12338 return _IMP_core.OrderedTypeTripletPredicate_get_value_index(self, *args)
12341 def get_version_info(self):
12342 """get_version_info(OrderedTypeTripletPredicate self) -> VersionInfo"""
12343 return _IMP_core.OrderedTypeTripletPredicate_get_version_info(self)
12347 """__str__(OrderedTypeTripletPredicate self) -> std::string"""
12348 return _IMP_core.OrderedTypeTripletPredicate___str__(self)
12351 def __repr__(self):
12352 """__repr__(OrderedTypeTripletPredicate self) -> std::string"""
12353 return _IMP_core.OrderedTypeTripletPredicate___repr__(self)
12358 return _object_cast_to_OrderedTypeTripletPredicate(o)
12360 OrderedTypeTripletPredicate_swigregister = _IMP_core.OrderedTypeTripletPredicate_swigregister
12361 OrderedTypeTripletPredicate_swigregister(OrderedTypeTripletPredicate)
12364 """Proxy of C++ IMP::core::AllSameTripletPredicate class"""
12365 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12367 def __init__(self, *args):
12369 __init__(IMP::core::AllSameTripletPredicate self, std::string name) -> AllSameTripletPredicate
12370 __init__(IMP::core::AllSameTripletPredicate self) -> AllSameTripletPredicate
12372 this = _IMP_core.new_AllSameTripletPredicate(*args)
12374 self.this.append(this)
12378 def do_get_inputs(self, arg2, arg3):
12379 """do_get_inputs(AllSameTripletPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
12380 return _IMP_core.AllSameTripletPredicate_do_get_inputs(self, arg2, arg3)
12383 def get_value(self, *args):
12385 get_value(AllSameTripletPredicate self, IMP::ParticleTriplet const & a) -> int
12386 get_value(AllSameTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
12388 return _IMP_core.AllSameTripletPredicate_get_value(self, *args)
12391 def get_value_index(self, *args):
12393 get_value_index(AllSameTripletPredicate self, Model m, IMP::ParticleIndexTriplet const & pi) -> int
12394 get_value_index(AllSameTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
12396 return _IMP_core.AllSameTripletPredicate_get_value_index(self, *args)
12399 def get_version_info(self):
12400 """get_version_info(AllSameTripletPredicate self) -> VersionInfo"""
12401 return _IMP_core.AllSameTripletPredicate_get_version_info(self)
12405 """__str__(AllSameTripletPredicate self) -> std::string"""
12406 return _IMP_core.AllSameTripletPredicate___str__(self)
12409 def __repr__(self):
12410 """__repr__(AllSameTripletPredicate self) -> std::string"""
12411 return _IMP_core.AllSameTripletPredicate___repr__(self)
12416 return _object_cast_to_AllSameTripletPredicate(o)
12418 AllSameTripletPredicate_swigregister = _IMP_core.AllSameTripletPredicate_swigregister
12419 AllSameTripletPredicate_swigregister(AllSameTripletPredicate)
12422 """Proxy of C++ IMP::core::CoinFlipTripletPredicate class"""
12423 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12425 def __init__(self, *args):
12427 __init__(IMP::core::CoinFlipTripletPredicate self, double p, std::string name) -> CoinFlipTripletPredicate
12428 __init__(IMP::core::CoinFlipTripletPredicate self, double p) -> CoinFlipTripletPredicate
12430 this = _IMP_core.new_CoinFlipTripletPredicate(*args)
12432 self.this.append(this)
12436 def do_get_inputs(self, arg2, arg3):
12437 """do_get_inputs(CoinFlipTripletPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
12438 return _IMP_core.CoinFlipTripletPredicate_do_get_inputs(self, arg2, arg3)
12441 def get_value(self, *args):
12443 get_value(CoinFlipTripletPredicate self, IMP::ParticleTriplet const & a) -> int
12444 get_value(CoinFlipTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
12446 return _IMP_core.CoinFlipTripletPredicate_get_value(self, *args)
12449 def get_value_index(self, *args):
12451 get_value_index(CoinFlipTripletPredicate self, Model arg2, IMP::ParticleIndexTriplet const & arg3) -> int
12452 get_value_index(CoinFlipTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
12454 return _IMP_core.CoinFlipTripletPredicate_get_value_index(self, *args)
12457 def get_version_info(self):
12458 """get_version_info(CoinFlipTripletPredicate self) -> VersionInfo"""
12459 return _IMP_core.CoinFlipTripletPredicate_get_version_info(self)
12463 """__str__(CoinFlipTripletPredicate self) -> std::string"""
12464 return _IMP_core.CoinFlipTripletPredicate___str__(self)
12467 def __repr__(self):
12468 """__repr__(CoinFlipTripletPredicate self) -> std::string"""
12469 return _IMP_core.CoinFlipTripletPredicate___repr__(self)
12474 return _object_cast_to_CoinFlipTripletPredicate(o)
12476 CoinFlipTripletPredicate_swigregister = _IMP_core.CoinFlipTripletPredicate_swigregister
12477 CoinFlipTripletPredicate_swigregister(CoinFlipTripletPredicate)
12480 """Proxy of C++ IMP::core::ConstantQuadPredicate class"""
12481 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12483 def __init__(self, *args):
12485 __init__(IMP::core::ConstantQuadPredicate self, int v, std::string name) -> ConstantQuadPredicate
12486 __init__(IMP::core::ConstantQuadPredicate self, int v) -> ConstantQuadPredicate
12488 this = _IMP_core.new_ConstantQuadPredicate(*args)
12490 self.this.append(this)
12494 def do_get_inputs(self, arg2, arg3):
12495 """do_get_inputs(ConstantQuadPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
12496 return _IMP_core.ConstantQuadPredicate_do_get_inputs(self, arg2, arg3)
12499 def get_value(self, *args):
12501 get_value(ConstantQuadPredicate self, IMP::ParticleQuad const & a) -> int
12502 get_value(ConstantQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
12504 return _IMP_core.ConstantQuadPredicate_get_value(self, *args)
12507 def get_value_index(self, *args):
12509 get_value_index(ConstantQuadPredicate self, Model arg2, IMP::ParticleIndexQuad const & arg3) -> int
12510 get_value_index(ConstantQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
12512 return _IMP_core.ConstantQuadPredicate_get_value_index(self, *args)
12515 def get_version_info(self):
12516 """get_version_info(ConstantQuadPredicate self) -> VersionInfo"""
12517 return _IMP_core.ConstantQuadPredicate_get_version_info(self)
12521 """__str__(ConstantQuadPredicate self) -> std::string"""
12522 return _IMP_core.ConstantQuadPredicate___str__(self)
12525 def __repr__(self):
12526 """__repr__(ConstantQuadPredicate self) -> std::string"""
12527 return _IMP_core.ConstantQuadPredicate___repr__(self)
12532 return _object_cast_to_ConstantQuadPredicate(o)
12534 ConstantQuadPredicate_swigregister = _IMP_core.ConstantQuadPredicate_swigregister
12535 ConstantQuadPredicate_swigregister(ConstantQuadPredicate)
12538 """Proxy of C++ IMP::core::UnorderedTypeQuadPredicate class"""
12539 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12541 def __init__(self, *args):
12543 __init__(IMP::core::UnorderedTypeQuadPredicate self, std::string name) -> UnorderedTypeQuadPredicate
12544 __init__(IMP::core::UnorderedTypeQuadPredicate self) -> UnorderedTypeQuadPredicate
12546 this = _IMP_core.new_UnorderedTypeQuadPredicate(*args)
12548 self.this.append(this)
12552 def do_get_inputs(self, m, pis):
12553 """do_get_inputs(UnorderedTypeQuadPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
12554 return _IMP_core.UnorderedTypeQuadPredicate_do_get_inputs(self, m, pis)
12557 def get_value(self, *args):
12559 get_value(UnorderedTypeQuadPredicate self, IMP::ParticleQuad const & a) -> int
12560 get_value(UnorderedTypeQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
12562 return _IMP_core.UnorderedTypeQuadPredicate_get_value(self, *args)
12565 def get_value_index(self, *args):
12567 get_value_index(UnorderedTypeQuadPredicate self, Model m, IMP::ParticleIndexQuad const & pi) -> int
12568 get_value_index(UnorderedTypeQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
12570 return _IMP_core.UnorderedTypeQuadPredicate_get_value_index(self, *args)
12573 def get_version_info(self):
12574 """get_version_info(UnorderedTypeQuadPredicate self) -> VersionInfo"""
12575 return _IMP_core.UnorderedTypeQuadPredicate_get_version_info(self)
12579 """__str__(UnorderedTypeQuadPredicate self) -> std::string"""
12580 return _IMP_core.UnorderedTypeQuadPredicate___str__(self)
12583 def __repr__(self):
12584 """__repr__(UnorderedTypeQuadPredicate self) -> std::string"""
12585 return _IMP_core.UnorderedTypeQuadPredicate___repr__(self)
12590 return _object_cast_to_UnorderedTypeQuadPredicate(o)
12592 UnorderedTypeQuadPredicate_swigregister = _IMP_core.UnorderedTypeQuadPredicate_swigregister
12593 UnorderedTypeQuadPredicate_swigregister(UnorderedTypeQuadPredicate)
12596 """Proxy of C++ IMP::core::OrderedTypeQuadPredicate class"""
12597 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12599 def __init__(self, *args):
12601 __init__(IMP::core::OrderedTypeQuadPredicate self, std::string name) -> OrderedTypeQuadPredicate
12602 __init__(IMP::core::OrderedTypeQuadPredicate self) -> OrderedTypeQuadPredicate
12604 this = _IMP_core.new_OrderedTypeQuadPredicate(*args)
12606 self.this.append(this)
12610 def do_get_inputs(self, m, pis):
12611 """do_get_inputs(OrderedTypeQuadPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
12612 return _IMP_core.OrderedTypeQuadPredicate_do_get_inputs(self, m, pis)
12615 def get_value(self, *args):
12617 get_value(OrderedTypeQuadPredicate self, IMP::core::ParticleTypes const & types) -> int
12618 get_value(OrderedTypeQuadPredicate self, IMP::ParticleQuad const & a) -> int
12619 get_value(OrderedTypeQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
12621 return _IMP_core.OrderedTypeQuadPredicate_get_value(self, *args)
12624 def get_value_index(self, *args):
12626 get_value_index(OrderedTypeQuadPredicate self, Model m, IMP::ParticleIndexQuad const & pi) -> int
12627 get_value_index(OrderedTypeQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
12629 return _IMP_core.OrderedTypeQuadPredicate_get_value_index(self, *args)
12632 def get_version_info(self):
12633 """get_version_info(OrderedTypeQuadPredicate self) -> VersionInfo"""
12634 return _IMP_core.OrderedTypeQuadPredicate_get_version_info(self)
12638 """__str__(OrderedTypeQuadPredicate self) -> std::string"""
12639 return _IMP_core.OrderedTypeQuadPredicate___str__(self)
12642 def __repr__(self):
12643 """__repr__(OrderedTypeQuadPredicate self) -> std::string"""
12644 return _IMP_core.OrderedTypeQuadPredicate___repr__(self)
12649 return _object_cast_to_OrderedTypeQuadPredicate(o)
12651 OrderedTypeQuadPredicate_swigregister = _IMP_core.OrderedTypeQuadPredicate_swigregister
12652 OrderedTypeQuadPredicate_swigregister(OrderedTypeQuadPredicate)
12655 """Proxy of C++ IMP::core::AllSameQuadPredicate class"""
12656 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12658 def __init__(self, *args):
12660 __init__(IMP::core::AllSameQuadPredicate self, std::string name) -> AllSameQuadPredicate
12661 __init__(IMP::core::AllSameQuadPredicate self) -> AllSameQuadPredicate
12663 this = _IMP_core.new_AllSameQuadPredicate(*args)
12665 self.this.append(this)
12669 def do_get_inputs(self, arg2, arg3):
12670 """do_get_inputs(AllSameQuadPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
12671 return _IMP_core.AllSameQuadPredicate_do_get_inputs(self, arg2, arg3)
12674 def get_value(self, *args):
12676 get_value(AllSameQuadPredicate self, IMP::ParticleQuad const & a) -> int
12677 get_value(AllSameQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
12679 return _IMP_core.AllSameQuadPredicate_get_value(self, *args)
12682 def get_value_index(self, *args):
12684 get_value_index(AllSameQuadPredicate self, Model m, IMP::ParticleIndexQuad const & pi) -> int
12685 get_value_index(AllSameQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
12687 return _IMP_core.AllSameQuadPredicate_get_value_index(self, *args)
12690 def get_version_info(self):
12691 """get_version_info(AllSameQuadPredicate self) -> VersionInfo"""
12692 return _IMP_core.AllSameQuadPredicate_get_version_info(self)
12696 """__str__(AllSameQuadPredicate self) -> std::string"""
12697 return _IMP_core.AllSameQuadPredicate___str__(self)
12700 def __repr__(self):
12701 """__repr__(AllSameQuadPredicate self) -> std::string"""
12702 return _IMP_core.AllSameQuadPredicate___repr__(self)
12707 return _object_cast_to_AllSameQuadPredicate(o)
12709 AllSameQuadPredicate_swigregister = _IMP_core.AllSameQuadPredicate_swigregister
12710 AllSameQuadPredicate_swigregister(AllSameQuadPredicate)
12713 """Proxy of C++ IMP::core::CoinFlipQuadPredicate class"""
12714 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12716 def __init__(self, *args):
12718 __init__(IMP::core::CoinFlipQuadPredicate self, double p, std::string name) -> CoinFlipQuadPredicate
12719 __init__(IMP::core::CoinFlipQuadPredicate self, double p) -> CoinFlipQuadPredicate
12721 this = _IMP_core.new_CoinFlipQuadPredicate(*args)
12723 self.this.append(this)
12727 def do_get_inputs(self, arg2, arg3):
12728 """do_get_inputs(CoinFlipQuadPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
12729 return _IMP_core.CoinFlipQuadPredicate_do_get_inputs(self, arg2, arg3)
12732 def get_value(self, *args):
12734 get_value(CoinFlipQuadPredicate self, IMP::ParticleQuad const & a) -> int
12735 get_value(CoinFlipQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
12737 return _IMP_core.CoinFlipQuadPredicate_get_value(self, *args)
12740 def get_value_index(self, *args):
12742 get_value_index(CoinFlipQuadPredicate self, Model arg2, IMP::ParticleIndexQuad const & arg3) -> int
12743 get_value_index(CoinFlipQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
12745 return _IMP_core.CoinFlipQuadPredicate_get_value_index(self, *args)
12748 def get_version_info(self):
12749 """get_version_info(CoinFlipQuadPredicate self) -> VersionInfo"""
12750 return _IMP_core.CoinFlipQuadPredicate_get_version_info(self)
12754 """__str__(CoinFlipQuadPredicate self) -> std::string"""
12755 return _IMP_core.CoinFlipQuadPredicate___str__(self)
12758 def __repr__(self):
12759 """__repr__(CoinFlipQuadPredicate self) -> std::string"""
12760 return _IMP_core.CoinFlipQuadPredicate___repr__(self)
12765 return _object_cast_to_CoinFlipQuadPredicate(o)
12767 CoinFlipQuadPredicate_swigregister = _IMP_core.CoinFlipQuadPredicate_swigregister
12768 CoinFlipQuadPredicate_swigregister(CoinFlipQuadPredicate)
12771 """Proxy of C++ IMP::core::InBoundingBox3DSingletonPredicate class"""
12772 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12774 def __init__(self, *args):
12776 __init__(IMP::core::InBoundingBox3DSingletonPredicate self, BoundingBox3D bb, std::string name) -> InBoundingBox3DSingletonPredicate
12777 __init__(IMP::core::InBoundingBox3DSingletonPredicate self, BoundingBox3D bb) -> InBoundingBox3DSingletonPredicate
12779 this = _IMP_core.new_InBoundingBox3DSingletonPredicate(*args)
12781 self.this.append(this)
12785 def do_get_inputs(self, m, pi):
12786 """do_get_inputs(InBoundingBox3DSingletonPredicate self, Model m, IMP::ParticleIndexes const & pi) -> IMP::ModelObjectsTemp"""
12787 return _IMP_core.InBoundingBox3DSingletonPredicate_do_get_inputs(self, m, pi)
12790 def get_value(self, *args):
12792 get_value(InBoundingBox3DSingletonPredicate self, Particle a) -> int
12793 get_value(InBoundingBox3DSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
12795 return _IMP_core.InBoundingBox3DSingletonPredicate_get_value(self, *args)
12798 def get_value_index(self, *args):
12800 get_value_index(InBoundingBox3DSingletonPredicate self, Model m, ParticleIndex pi) -> int
12801 get_value_index(InBoundingBox3DSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
12803 return _IMP_core.InBoundingBox3DSingletonPredicate_get_value_index(self, *args)
12806 def get_version_info(self):
12807 """get_version_info(InBoundingBox3DSingletonPredicate self) -> VersionInfo"""
12808 return _IMP_core.InBoundingBox3DSingletonPredicate_get_version_info(self)
12812 """__str__(InBoundingBox3DSingletonPredicate self) -> std::string"""
12813 return _IMP_core.InBoundingBox3DSingletonPredicate___str__(self)
12816 def __repr__(self):
12817 """__repr__(InBoundingBox3DSingletonPredicate self) -> std::string"""
12818 return _IMP_core.InBoundingBox3DSingletonPredicate___repr__(self)
12823 return _object_cast_to_InBoundingBox3DSingletonPredicate(o)
12825 InBoundingBox3DSingletonPredicate_swigregister = _IMP_core.InBoundingBox3DSingletonPredicate_swigregister
12826 InBoundingBox3DSingletonPredicate_swigregister(InBoundingBox3DSingletonPredicate)
12829 """Proxy of C++ IMP::core::AttributeSingletonPredicate class"""
12830 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12832 def __init__(self, *args):
12834 __init__(IMP::core::AttributeSingletonPredicate self, IntKey bb, std::string name) -> AttributeSingletonPredicate
12835 __init__(IMP::core::AttributeSingletonPredicate self, IntKey bb) -> AttributeSingletonPredicate
12837 this = _IMP_core.new_AttributeSingletonPredicate(*args)
12839 self.this.append(this)
12843 def do_get_inputs(self, m, pi):
12844 """do_get_inputs(AttributeSingletonPredicate self, Model m, IMP::ParticleIndexes const & pi) -> IMP::ModelObjectsTemp"""
12845 return _IMP_core.AttributeSingletonPredicate_do_get_inputs(self, m, pi)
12848 def get_value(self, *args):
12850 get_value(AttributeSingletonPredicate self, Particle a) -> int
12851 get_value(AttributeSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
12853 return _IMP_core.AttributeSingletonPredicate_get_value(self, *args)
12856 def get_value_index(self, *args):
12858 get_value_index(AttributeSingletonPredicate self, Model m, ParticleIndex pi) -> int
12859 get_value_index(AttributeSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
12861 return _IMP_core.AttributeSingletonPredicate_get_value_index(self, *args)
12864 def get_version_info(self):
12865 """get_version_info(AttributeSingletonPredicate self) -> VersionInfo"""
12866 return _IMP_core.AttributeSingletonPredicate_get_version_info(self)
12870 """__str__(AttributeSingletonPredicate self) -> std::string"""
12871 return _IMP_core.AttributeSingletonPredicate___str__(self)
12874 def __repr__(self):
12875 """__repr__(AttributeSingletonPredicate self) -> std::string"""
12876 return _IMP_core.AttributeSingletonPredicate___repr__(self)
12881 return _object_cast_to_AttributeSingletonPredicate(o)
12883 AttributeSingletonPredicate_swigregister = _IMP_core.AttributeSingletonPredicate_swigregister
12884 AttributeSingletonPredicate_swigregister(AttributeSingletonPredicate)
12887 """Proxy of C++ IMP::core::IsCollisionPairPredicate class"""
12888 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12890 def __init__(self, *args):
12892 __init__(IMP::core::IsCollisionPairPredicate self, std::string name) -> IsCollisionPairPredicate
12893 __init__(IMP::core::IsCollisionPairPredicate self) -> IsCollisionPairPredicate
12895 this = _IMP_core.new_IsCollisionPairPredicate(*args)
12897 self.this.append(this)
12901 def do_get_inputs(self, m, pi):
12902 """do_get_inputs(IsCollisionPairPredicate self, Model m, IMP::ParticleIndexes const & pi) -> IMP::ModelObjectsTemp"""
12903 return _IMP_core.IsCollisionPairPredicate_do_get_inputs(self, m, pi)
12906 def get_value(self, *args):
12908 get_value(IsCollisionPairPredicate self, IMP::ParticlePair const & a) -> int
12909 get_value(IsCollisionPairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
12911 return _IMP_core.IsCollisionPairPredicate_get_value(self, *args)
12914 def get_value_index(self, *args):
12916 get_value_index(IsCollisionPairPredicate self, Model m, IMP::ParticleIndexPair const & pi) -> int
12917 get_value_index(IsCollisionPairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
12919 return _IMP_core.IsCollisionPairPredicate_get_value_index(self, *args)
12922 def get_version_info(self):
12923 """get_version_info(IsCollisionPairPredicate self) -> VersionInfo"""
12924 return _IMP_core.IsCollisionPairPredicate_get_version_info(self)
12928 """__str__(IsCollisionPairPredicate self) -> std::string"""
12929 return _IMP_core.IsCollisionPairPredicate___str__(self)
12932 def __repr__(self):
12933 """__repr__(IsCollisionPairPredicate self) -> std::string"""
12934 return _IMP_core.IsCollisionPairPredicate___repr__(self)
12939 return _object_cast_to_IsCollisionPairPredicate(o)
12941 IsCollisionPairPredicate_swigregister = _IMP_core.IsCollisionPairPredicate_swigregister
12942 IsCollisionPairPredicate_swigregister(IsCollisionPairPredicate)
12944 class AngleRestraint(TripletRestraint):
12945 """Proxy of C++ IMP::core::AngleRestraint class"""
12946 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12948 def __init__(self, m, score_func, p1, p2, p3):
12949 """__init__(IMP::core::AngleRestraint self, Model m, UnaryFunction score_func, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2, _ParticleIndexAdaptor p3) -> AngleRestraint"""
12950 this = _IMP_core.new_AngleRestraint(m, score_func, p1, p2, p3)
12952 self.this.append(this)
12957 """__str__(AngleRestraint self) -> std::string"""
12958 return _IMP_core.AngleRestraint___str__(self)
12961 def __repr__(self):
12962 """__repr__(AngleRestraint self) -> std::string"""
12963 return _IMP_core.AngleRestraint___repr__(self)
12968 return _object_cast_to_AngleRestraint(o)
12970 AngleRestraint_swigregister = _IMP_core.AngleRestraint_swigregister
12971 AngleRestraint_swigregister(AngleRestraint)
12973 class RigidBodyMover(MonteCarloMover):
12974 """Proxy of C++ IMP::core::RigidBodyMover class"""
12975 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
12977 def __init__(self, m, pi, max_translation, max_rotation):
12978 """__init__(IMP::core::RigidBodyMover self, Model m, ParticleIndex pi, IMP::Float max_translation, IMP::Float max_rotation) -> RigidBodyMover"""
12979 this = _IMP_core.new_RigidBodyMover(m, pi, max_translation, max_rotation)
12981 self.this.append(this)
12985 def set_maximum_translation(self, mt):
12986 """set_maximum_translation(RigidBodyMover self, IMP::Float mt)"""
12987 return _IMP_core.RigidBodyMover_set_maximum_translation(self, mt)
12990 def set_maximum_rotation(self, mr):
12991 """set_maximum_rotation(RigidBodyMover self, IMP::Float mr)"""
12992 return _IMP_core.RigidBodyMover_set_maximum_rotation(self, mr)
12995 def get_maximum_translation(self):
12996 """get_maximum_translation(RigidBodyMover self) -> IMP::Float"""
12997 return _IMP_core.RigidBodyMover_get_maximum_translation(self)
13000 def get_maximum_rotation(self):
13001 """get_maximum_rotation(RigidBodyMover self) -> IMP::Float"""
13002 return _IMP_core.RigidBodyMover_get_maximum_rotation(self)
13005 def get_version_info(self):
13006 """get_version_info(RigidBodyMover self) -> VersionInfo"""
13007 return _IMP_core.RigidBodyMover_get_version_info(self)
13011 """__str__(RigidBodyMover self) -> std::string"""
13012 return _IMP_core.RigidBodyMover___str__(self)
13015 def __repr__(self):
13016 """__repr__(RigidBodyMover self) -> std::string"""
13017 return _IMP_core.RigidBodyMover___repr__(self)
13022 return _object_cast_to_RigidBodyMover(o)
13024 RigidBodyMover_swigregister = _IMP_core.RigidBodyMover_swigregister
13025 RigidBodyMover_swigregister(RigidBodyMover)
13027 class RigidBodyTunneler(MonteCarloMover):
13028 """Proxy of C++ IMP::core::RigidBodyTunneler class"""
13029 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13031 def __init__(self, m, pis, ref, k, move_probability=1.):
13033 __init__(IMP::core::RigidBodyTunneler self, Model m, IMP::ParticleIndexes pis, ParticleIndex ref, double k, double move_probability=1.) -> RigidBodyTunneler
13034 __init__(IMP::core::RigidBodyTunneler self, Model m, IMP::ParticleIndexes pis, ParticleIndex ref, double k) -> RigidBodyTunneler
13036 this = _IMP_core.new_RigidBodyTunneler(m, pis, ref, k, move_probability)
13038 self.this.append(this)
13042 def add_entry_point(self, fl):
13043 """add_entry_point(RigidBodyTunneler self, IMP::Floats fl)"""
13044 return _IMP_core.RigidBodyTunneler_add_entry_point(self, fl)
13047 def reset_stats(self):
13048 """reset_stats(RigidBodyTunneler self)"""
13049 return _IMP_core.RigidBodyTunneler_reset_stats(self)
13052 def get_number_of_rejected_moves(self):
13053 """get_number_of_rejected_moves(RigidBodyTunneler self) -> unsigned int"""
13054 return _IMP_core.RigidBodyTunneler_get_number_of_rejected_moves(self)
13057 def get_number_of_proposed_moves(self):
13058 """get_number_of_proposed_moves(RigidBodyTunneler self) -> unsigned int"""
13059 return _IMP_core.RigidBodyTunneler_get_number_of_proposed_moves(self)
13062 def get_number_of_impossible_moves(self):
13063 """get_number_of_impossible_moves(RigidBodyTunneler self) -> unsigned int"""
13064 return _IMP_core.RigidBodyTunneler_get_number_of_impossible_moves(self)
13067 def get_number_of_calls(self):
13068 """get_number_of_calls(RigidBodyTunneler self) -> unsigned int"""
13069 return _IMP_core.RigidBodyTunneler_get_number_of_calls(self)
13072 def get_reduced_coordinates(*args):
13074 get_reduced_coordinates(Model m, ParticleIndex target, ParticleIndex ref) -> IMP::Floats
13075 get_reduced_coordinates(Model m, ParticleIndex pi) -> IMP::Floats
13077 return _IMP_core.RigidBodyTunneler_get_reduced_coordinates(*args)
13079 get_reduced_coordinates = staticmethod(get_reduced_coordinates)
13081 def set_reduced_coordinates(m, target, ref, coords):
13082 """set_reduced_coordinates(Model m, ParticleIndex target, ParticleIndex ref, IMP::Floats coords)"""
13083 return _IMP_core.RigidBodyTunneler_set_reduced_coordinates(m, target, ref, coords)
13085 set_reduced_coordinates = staticmethod(set_reduced_coordinates)
13087 def get_version_info(self):
13088 """get_version_info(RigidBodyTunneler self) -> VersionInfo"""
13089 return _IMP_core.RigidBodyTunneler_get_version_info(self)
13093 """__str__(RigidBodyTunneler self) -> std::string"""
13094 return _IMP_core.RigidBodyTunneler___str__(self)
13097 def __repr__(self):
13098 """__repr__(RigidBodyTunneler self) -> std::string"""
13099 return _IMP_core.RigidBodyTunneler___repr__(self)
13104 return _object_cast_to_RigidBodyTunneler(o)
13106 RigidBodyTunneler_swigregister = _IMP_core.RigidBodyTunneler_swigregister
13107 RigidBodyTunneler_swigregister(RigidBodyTunneler)
13109 def RigidBodyTunneler_get_reduced_coordinates(*args):
13111 get_reduced_coordinates(Model m, ParticleIndex target, ParticleIndex ref) -> IMP::Floats
13112 RigidBodyTunneler_get_reduced_coordinates(Model m, ParticleIndex pi) -> IMP::Floats
13114 return _IMP_core.RigidBodyTunneler_get_reduced_coordinates(*args)
13116 def RigidBodyTunneler_set_reduced_coordinates(m, target, ref, coords):
13117 """RigidBodyTunneler_set_reduced_coordinates(Model m, ParticleIndex target, ParticleIndex ref, IMP::Floats coords)"""
13118 return _IMP_core.RigidBodyTunneler_set_reduced_coordinates(m, target, ref, coords)
13121 """Proxy of C++ IMP::core::RigidBodyUmbrella class"""
13122 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13124 def __init__(self, *args):
13126 __init__(IMP::core::RigidBodyUmbrella self, Model m, ParticleIndex pi, ParticleIndex ref, IMP::Floats x0, double alpha, double k, std::string name) -> RigidBodyUmbrella
13127 __init__(IMP::core::RigidBodyUmbrella self, Model m, ParticleIndex pi, ParticleIndex ref, IMP::Floats x0, double alpha, double k) -> RigidBodyUmbrella
13128 __init__(IMP::core::RigidBodyUmbrella self, Model m, ParticleIndex pi, ParticleIndex ref, double arg5, IMP::Floats x1, IMP::Floats x2, double alpha, double k, std::string name) -> RigidBodyUmbrella
13129 __init__(IMP::core::RigidBodyUmbrella self, Model m, ParticleIndex pi, ParticleIndex ref, double arg5, IMP::Floats x1, IMP::Floats x2, double alpha, double k) -> RigidBodyUmbrella
13131 this = _IMP_core.new_RigidBodyUmbrella(*args)
13133 self.this.append(this)
13137 def set_x0(self, *args):
13139 set_x0(RigidBodyUmbrella self, IMP::Floats x0)
13140 set_x0(RigidBodyUmbrella self, double arg2, IMP::Floats x1, IMP::Floats x2)
13142 return _IMP_core.RigidBodyUmbrella_set_x0(self, *args)
13146 """get_x0(RigidBodyUmbrella self) -> IMP::Floats"""
13147 return _IMP_core.RigidBodyUmbrella_get_x0(self)
13151 """get_x(RigidBodyUmbrella self) -> IMP::Floats"""
13152 return _IMP_core.RigidBodyUmbrella_get_x(self)
13155 def set_alpha(self, alpha):
13156 """set_alpha(RigidBodyUmbrella self, double alpha)"""
13157 return _IMP_core.RigidBodyUmbrella_set_alpha(self, alpha)
13160 def set_k(self, k):
13161 """set_k(RigidBodyUmbrella self, double k)"""
13162 return _IMP_core.RigidBodyUmbrella_set_k(self, k)
13165 def get_version_info(self):
13166 """get_version_info(RigidBodyUmbrella self) -> VersionInfo"""
13167 return _IMP_core.RigidBodyUmbrella_get_version_info(self)
13171 """__str__(RigidBodyUmbrella self) -> std::string"""
13172 return _IMP_core.RigidBodyUmbrella___str__(self)
13175 def __repr__(self):
13176 """__repr__(RigidBodyUmbrella self) -> std::string"""
13177 return _IMP_core.RigidBodyUmbrella___repr__(self)
13182 return _object_cast_to_RigidBodyUmbrella(o)
13184 RigidBodyUmbrella_swigregister = _IMP_core.RigidBodyUmbrella_swigregister
13185 RigidBodyUmbrella_swigregister(RigidBodyUmbrella)
13188 """Proxy of C++ IMP::core::VolumeRestraint class"""
13189 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13191 def __init__(self, f, sc, volume):
13192 """__init__(IMP::core::VolumeRestraint self, UnaryFunction f, SingletonContainer sc, double volume) -> VolumeRestraint"""
13193 this = _IMP_core.new_VolumeRestraint(f, sc, volume)
13195 self.this.append(this)
13199 def do_get_inputs(self):
13200 """do_get_inputs(VolumeRestraint self) -> IMP::ModelObjectsTemp"""
13201 return _IMP_core.VolumeRestraint_do_get_inputs(self)
13204 def get_version_info(self):
13205 """get_version_info(VolumeRestraint self) -> VersionInfo"""
13206 return _IMP_core.VolumeRestraint_get_version_info(self)
13210 """__str__(VolumeRestraint self) -> std::string"""
13211 return _IMP_core.VolumeRestraint___str__(self)
13214 def __repr__(self):
13215 """__repr__(VolumeRestraint self) -> std::string"""
13216 return _IMP_core.VolumeRestraint___repr__(self)
13221 return _object_cast_to_VolumeRestraint(o)
13223 VolumeRestraint_swigregister = _IMP_core.VolumeRestraint_swigregister
13224 VolumeRestraint_swigregister(VolumeRestraint)
13228 """get_centroid(IMP::core::XYZs const & ps) -> Vector3D"""
13229 return _IMP_core.get_centroid(ps)
13232 """get_bounding_box(IMP::core::XYZRs const & ps) -> BoundingBox3D"""
13233 return _IMP_core.get_bounding_box(ps)
13235 """Proxy of C++ IMP::core::MoveStatisticsScoreState class"""
13236 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13238 def __init__(self, ps):
13239 """__init__(IMP::core::MoveStatisticsScoreState self, IMP::ParticlesTemp const & ps) -> MoveStatisticsScoreState"""
13240 this = _IMP_core.new_MoveStatisticsScoreState(ps)
13242 self.this.append(this)
13246 def show_statistics(self, *args):
13248 show_statistics(MoveStatisticsScoreState self, _ostream out)
13249 show_statistics(MoveStatisticsScoreState self)
13251 return _IMP_core.MoveStatisticsScoreState_show_statistics(self, *args)
13255 """reset(MoveStatisticsScoreState self)"""
13256 return _IMP_core.MoveStatisticsScoreState_reset(self)
13259 def do_before_evaluate(self):
13260 """do_before_evaluate(MoveStatisticsScoreState self)"""
13261 return _IMP_core.MoveStatisticsScoreState_do_before_evaluate(self)
13264 def do_after_evaluate(self, da):
13265 """do_after_evaluate(MoveStatisticsScoreState self, DerivativeAccumulator da)"""
13266 return _IMP_core.MoveStatisticsScoreState_do_after_evaluate(self, da)
13269 def do_get_inputs(self):
13270 """do_get_inputs(MoveStatisticsScoreState self) -> IMP::ModelObjectsTemp"""
13271 return _IMP_core.MoveStatisticsScoreState_do_get_inputs(self)
13274 def do_get_outputs(self):
13275 """do_get_outputs(MoveStatisticsScoreState self) -> IMP::ModelObjectsTemp"""
13276 return _IMP_core.MoveStatisticsScoreState_do_get_outputs(self)
13279 def get_version_info(self):
13280 """get_version_info(MoveStatisticsScoreState self) -> VersionInfo"""
13281 return _IMP_core.MoveStatisticsScoreState_get_version_info(self)
13285 """__str__(MoveStatisticsScoreState self) -> std::string"""
13286 return _IMP_core.MoveStatisticsScoreState___str__(self)
13289 def __repr__(self):
13290 """__repr__(MoveStatisticsScoreState self) -> std::string"""
13291 return _IMP_core.MoveStatisticsScoreState___repr__(self)
13296 return _object_cast_to_MoveStatisticsScoreState(o)
13298 MoveStatisticsScoreState_swigregister = _IMP_core.MoveStatisticsScoreState_swigregister
13299 MoveStatisticsScoreState_swigregister(MoveStatisticsScoreState)
13302 _IMP_core.IMP_PARTICLE_TYPE_INDEX_swigconstant(_IMP_core)
13303 IMP_PARTICLE_TYPE_INDEX = _IMP_core.IMP_PARTICLE_TYPE_INDEX
13305 """Proxy of C++ IMP::core::Typed class"""
13306 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13308 def get_type_key():
13309 """get_type_key() -> IntKey"""
13310 return _IMP_core.Typed_get_type_key()
13312 get_type_key = staticmethod(get_type_key)
13314 def __init__(self, *args):
13316 __init__(IMP::core::Typed self) -> Typed
13317 __init__(IMP::core::Typed self, Model m, ParticleIndex id) -> Typed
13318 __init__(IMP::core::Typed self, _ParticleAdaptor d) -> Typed
13320 this = _IMP_core.new_Typed(*args)
13322 self.this.append(this)
13326 def show(self, *args):
13328 show(Typed self, _ostream out)
13331 return _IMP_core.Typed_show(self, *args)
13334 def setup_particle(*args):
13336 setup_particle(Model m, ParticleIndex pi, ParticleType t) -> Typed
13337 setup_particle(_ParticleAdaptor decorator, ParticleType t) -> Typed
13339 return _IMP_core.Typed_setup_particle(*args)
13341 setup_particle = staticmethod(setup_particle)
13343 def get_is_setup(*args):
13345 get_is_setup(_ParticleAdaptor p) -> bool
13346 get_is_setup(Model m, ParticleIndex pi) -> bool
13348 return _IMP_core.Typed_get_is_setup(*args)
13350 get_is_setup = staticmethod(get_is_setup)
13352 def get_type(self):
13353 """get_type(Typed self) -> ParticleType"""
13354 return _IMP_core.Typed_get_type(self)
13357 def set_type(self, pt):
13358 """set_type(Typed self, ParticleType pt)"""
13359 return _IMP_core.Typed_set_type(self, pt)
13362 def add_attribute(self, *args):
13364 add_attribute(Typed self, FloatKey k, IMP::Float v, bool opt)
13365 add_attribute(Typed self, FloatKey a0, IMP::Float a1)
13366 add_attribute(Typed self, IntKey a0, IMP::Int a1)
13367 add_attribute(Typed self, FloatsKey a0, IMP::Floats a1)
13368 add_attribute(Typed self, IntsKey a0, IMP::Ints a1)
13369 add_attribute(Typed self, StringKey a0, IMP::String a1)
13370 add_attribute(Typed self, ParticleIndexKey a0, Particle a1)
13371 add_attribute(Typed self, ObjectKey a0, Object a1)
13373 return _IMP_core.Typed_add_attribute(self, *args)
13376 def get_value(self, *args):
13378 get_value(Typed self, FloatKey a0) -> IMP::Float
13379 get_value(Typed self, IntKey a0) -> IMP::Int
13380 get_value(Typed self, FloatsKey a0) -> IMP::Floats
13381 get_value(Typed self, IntsKey a0) -> IMP::Ints
13382 get_value(Typed self, StringKey a0) -> IMP::String
13383 get_value(Typed self, ParticleIndexKey a0) -> Particle
13384 get_value(Typed self, ObjectKey a0) -> Object
13386 return _IMP_core.Typed_get_value(self, *args)
13389 def set_value(self, *args):
13391 set_value(Typed self, FloatKey a0, IMP::Float a1)
13392 set_value(Typed self, IntKey a0, IMP::Int a1)
13393 set_value(Typed self, FloatsKey a0, IMP::Floats a1)
13394 set_value(Typed self, IntsKey a0, IMP::Ints a1)
13395 set_value(Typed self, StringKey a0, IMP::String a1)
13396 set_value(Typed self, ParticleIndexKey a0, Particle a1)
13397 set_value(Typed self, ObjectKey a0, Object a1)
13399 return _IMP_core.Typed_set_value(self, *args)
13402 def remove_attribute(self, *args):
13404 remove_attribute(Typed self, FloatKey a0)
13405 remove_attribute(Typed self, IntKey a0)
13406 remove_attribute(Typed self, FloatsKey a0)
13407 remove_attribute(Typed self, IntsKey a0)
13408 remove_attribute(Typed self, StringKey a0)
13409 remove_attribute(Typed self, ParticleIndexKey a0)
13410 remove_attribute(Typed self, ObjectKey a0)
13412 return _IMP_core.Typed_remove_attribute(self, *args)
13415 def has_attribute(self, *args):
13417 has_attribute(Typed self, FloatKey a0) -> bool
13418 has_attribute(Typed self, IntKey a0) -> bool
13419 has_attribute(Typed self, FloatsKey a0) -> bool
13420 has_attribute(Typed self, IntsKey a0) -> bool
13421 has_attribute(Typed self, StringKey a0) -> bool
13422 has_attribute(Typed self, ParticleIndexKey a0) -> bool
13423 has_attribute(Typed self, ObjectKey a0) -> bool
13425 return _IMP_core.Typed_has_attribute(self, *args)
13428 def get_derivative(self, a0):
13429 """get_derivative(Typed self, FloatKey a0) -> double"""
13430 return _IMP_core.Typed_get_derivative(self, a0)
13433 def get_name(self):
13434 """get_name(Typed self) -> std::string"""
13435 return _IMP_core.Typed_get_name(self)
13438 def clear_caches(self):
13439 """clear_caches(Typed self)"""
13440 return _IMP_core.Typed_clear_caches(self)
13443 def set_name(self, a0):
13444 """set_name(Typed self, std::string a0)"""
13445 return _IMP_core.Typed_set_name(self, a0)
13449 """set_check_level(Typed self, IMP::CheckLevel a0)"""
13450 return _IMP_core.Typed_set_check_level(self, a0)
13453 def add_to_derivative(self, a0, a1, a2):
13454 """add_to_derivative(Typed self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
13455 return _IMP_core.Typed_add_to_derivative(self, a0, a1, a2)
13458 def set_is_optimized(self, a0, a1):
13459 """set_is_optimized(Typed self, FloatKey a0, bool a1)"""
13460 return _IMP_core.Typed_set_is_optimized(self, a0, a1)
13463 def get_is_optimized(self, a0):
13464 """get_is_optimized(Typed self, FloatKey a0) -> bool"""
13465 return _IMP_core.Typed_get_is_optimized(self, a0)
13469 """get_check_level(Typed self) -> IMP::CheckLevel"""
13470 return _IMP_core.Typed_get_check_level(self)
13473 def __eq__(self, *args):
13475 __eq__(Typed self, Typed o) -> bool
13476 __eq__(Typed self, Particle d) -> bool
13478 return _IMP_core.Typed___eq__(self, *args)
13481 def __ne__(self, *args):
13483 __ne__(Typed self, Typed o) -> bool
13484 __ne__(Typed self, Particle d) -> bool
13486 return _IMP_core.Typed___ne__(self, *args)
13489 def __le__(self, *args):
13491 __le__(Typed self, Typed o) -> bool
13492 __le__(Typed self, Particle d) -> bool
13494 return _IMP_core.Typed___le__(self, *args)
13497 def __lt__(self, *args):
13499 __lt__(Typed self, Typed o) -> bool
13500 __lt__(Typed self, Particle d) -> bool
13502 return _IMP_core.Typed___lt__(self, *args)
13505 def __ge__(self, *args):
13507 __ge__(Typed self, Typed o) -> bool
13508 __ge__(Typed self, Particle d) -> bool
13510 return _IMP_core.Typed___ge__(self, *args)
13513 def __gt__(self, *args):
13515 __gt__(Typed self, Typed o) -> bool
13516 __gt__(Typed self, Particle d) -> bool
13518 return _IMP_core.Typed___gt__(self, *args)
13521 def __hash__(self):
13522 """__hash__(Typed self) -> std::size_t"""
13523 return _IMP_core.Typed___hash__(self)
13527 """__str__(Typed self) -> std::string"""
13528 return _IMP_core.Typed___str__(self)
13531 def __repr__(self):
13532 """__repr__(Typed self) -> std::string"""
13533 return _IMP_core.Typed___repr__(self)
13535 __swig_destroy__ = _IMP_core.delete_Typed
13536 __del__ =
lambda self:
None
13537 Typed_swigregister = _IMP_core.Typed_swigregister
13538 Typed_swigregister(Typed)
13540 def Typed_get_type_key():
13541 """Typed_get_type_key() -> IntKey"""
13542 return _IMP_core.Typed_get_type_key()
13544 def Typed_setup_particle(*args):
13546 setup_particle(Model m, ParticleIndex pi, ParticleType t) -> Typed
13547 Typed_setup_particle(_ParticleAdaptor decorator, ParticleType t) -> Typed
13549 return _IMP_core.Typed_setup_particle(*args)
13551 def Typed_get_is_setup(*args):
13553 get_is_setup(_ParticleAdaptor p) -> bool
13554 Typed_get_is_setup(Model m, ParticleIndex pi) -> bool
13556 return _IMP_core.Typed_get_is_setup(*args)
13559 def __lshift__(*args):
13561 __lshift__(_ostream out, XYZ n) -> _ostream
13562 __lshift__(_ostream out, XYZR n) -> _ostream
13563 __lshift__(_ostream out, Direction n) -> _ostream
13564 __lshift__(_ostream out, DirectionAngle n) -> _ostream
13565 __lshift__(_ostream out, Surface n) -> _ostream
13566 __lshift__(_ostream out, Centroid n) -> _ostream
13567 __lshift__(_ostream out, Cover n) -> _ostream
13568 __lshift__(_ostream out, Reference n) -> _ostream
13569 __lshift__(_ostream out, RigidMember n) -> _ostream
13570 __lshift__(_ostream out, RigidBody n) -> _ostream
13571 __lshift__(_ostream out, Gaussian n) -> _ostream
13572 __lshift__(_ostream out, Typed n) -> _ostream
13574 return _IMP_core.__lshift__(*args)
13576 """Proxy of C++ IMP::core::WriteRestraintScoresOptimizerState class"""
13577 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13579 def __init__(self, rs, out):
13580 """__init__(IMP::core::WriteRestraintScoresOptimizerState self, IMP::Restraints const & rs, TextOutput out) -> WriteRestraintScoresOptimizerState"""
13581 this = _IMP_core.new_WriteRestraintScoresOptimizerState(rs, out)
13583 self.this.append(this)
13587 def get_version_info(self):
13588 """get_version_info(WriteRestraintScoresOptimizerState self) -> VersionInfo"""
13589 return _IMP_core.WriteRestraintScoresOptimizerState_get_version_info(self)
13593 """__str__(WriteRestraintScoresOptimizerState self) -> std::string"""
13594 return _IMP_core.WriteRestraintScoresOptimizerState___str__(self)
13597 def __repr__(self):
13598 """__repr__(WriteRestraintScoresOptimizerState self) -> std::string"""
13599 return _IMP_core.WriteRestraintScoresOptimizerState___repr__(self)
13604 return _object_cast_to_WriteRestraintScoresOptimizerState(o)
13606 WriteRestraintScoresOptimizerState_swigregister = _IMP_core.WriteRestraintScoresOptimizerState_swigregister
13607 WriteRestraintScoresOptimizerState_swigregister(WriteRestraintScoresOptimizerState)
13611 """assign_blame(IMP::RestraintsTemp const & rs, IMP::ParticlesTemp const & ps, FloatKey attribute)"""
13612 return _IMP_core.assign_blame(rs, ps, attribute)
13616 create_blame_geometries(IMP::RestraintsTemp const & rs, IMP::ParticlesTemp const & ps, double max, std::string name) -> IMP::display::Geometries
13617 create_blame_geometries(IMP::RestraintsTemp const & rs, IMP::ParticlesTemp const & ps, double max) -> IMP::display::Geometries
13618 create_blame_geometries(IMP::RestraintsTemp const & rs, IMP::ParticlesTemp const & ps) -> IMP::display::Geometries
13620 return _IMP_core.create_blame_geometries(*args)
13622 """Proxy of C++ IMP::core::MultipleBinormalRestraint class"""
13623 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13625 def __init__(self, m, q1, q2):
13626 """__init__(IMP::core::MultipleBinormalRestraint self, Model m, IMP::ParticleIndexQuad const & q1, IMP::ParticleIndexQuad const & q2) -> MultipleBinormalRestraint"""
13627 this = _IMP_core.new_MultipleBinormalRestraint(m, q1, q2)
13629 self.this.append(this)
13633 def add_term(self, term):
13634 """add_term(MultipleBinormalRestraint self, BinormalTerm term)"""
13635 return _IMP_core.MultipleBinormalRestraint_add_term(self, term)
13638 def do_get_inputs(self):
13639 """do_get_inputs(MultipleBinormalRestraint self) -> IMP::ModelObjectsTemp"""
13640 return _IMP_core.MultipleBinormalRestraint_do_get_inputs(self)
13643 def get_version_info(self):
13644 """get_version_info(MultipleBinormalRestraint self) -> VersionInfo"""
13645 return _IMP_core.MultipleBinormalRestraint_get_version_info(self)
13649 """__str__(MultipleBinormalRestraint self) -> std::string"""
13650 return _IMP_core.MultipleBinormalRestraint___str__(self)
13653 def __repr__(self):
13654 """__repr__(MultipleBinormalRestraint self) -> std::string"""
13655 return _IMP_core.MultipleBinormalRestraint___repr__(self)
13660 return _object_cast_to_MultipleBinormalRestraint(o)
13662 MultipleBinormalRestraint_swigregister = _IMP_core.MultipleBinormalRestraint_swigregister
13663 MultipleBinormalRestraint_swigregister(MultipleBinormalRestraint)
13665 class BinormalTerm(object):
13666 """Proxy of C++ IMP::core::BinormalTerm class"""
13667 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13669 def __init__(self):
13670 """__init__(IMP::core::BinormalTerm self) -> BinormalTerm"""
13671 this = _IMP_core.new_BinormalTerm()
13673 self.this.append(this)
13677 def set_correlation(self, correlation):
13678 """set_correlation(BinormalTerm self, double correlation)"""
13679 return _IMP_core.BinormalTerm_set_correlation(self, correlation)
13682 def set_weight(self, weight):
13683 """set_weight(BinormalTerm self, double weight)"""
13684 return _IMP_core.BinormalTerm_set_weight(self, weight)
13687 def set_means(self, means):
13688 """set_means(BinormalTerm self, IMP::FloatPair means)"""
13689 return _IMP_core.BinormalTerm_set_means(self, means)
13692 def set_standard_deviations(self, stdevs):
13693 """set_standard_deviations(BinormalTerm self, IMP::FloatPair stdevs)"""
13694 return _IMP_core.BinormalTerm_set_standard_deviations(self, stdevs)
13697 def show(self, *args):
13699 show(BinormalTerm self, _ostream out)
13700 show(BinormalTerm self)
13702 return _IMP_core.BinormalTerm_show(self, *args)
13706 """__str__(BinormalTerm self) -> std::string"""
13707 return _IMP_core.BinormalTerm___str__(self)
13710 def __repr__(self):
13711 """__repr__(BinormalTerm self) -> std::string"""
13712 return _IMP_core.BinormalTerm___repr__(self)
13715 def _get_as_binary(self):
13716 """_get_as_binary(BinormalTerm self) -> PyObject *"""
13717 return _IMP_core.BinormalTerm__get_as_binary(self)
13720 def _set_from_binary(self, p):
13721 """_set_from_binary(BinormalTerm self, PyObject * p)"""
13722 return _IMP_core.BinormalTerm__set_from_binary(self, p)
13725 def __getstate__(self):
13726 p = self._get_as_binary()
13727 if len(self.__dict__) > 1:
13728 d = self.__dict__.copy()
13733 def __setstate__(self, p):
13734 if not hasattr(self,
'this'):
13736 if isinstance(p, tuple):
13738 self.__dict__.update(d)
13739 return self._set_from_binary(p)
13741 __swig_destroy__ = _IMP_core.delete_BinormalTerm
13742 __del__ =
lambda self:
None
13743 BinormalTerm_swigregister = _IMP_core.BinormalTerm_swigregister
13744 BinormalTerm_swigregister(BinormalTerm)
13747 """Proxy of C++ IMP::core::Provenance class"""
13748 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13750 def get_previous(self):
13751 """get_previous(Provenance self) -> Provenance"""
13752 return _IMP_core.Provenance_get_previous(self)
13755 def set_previous(self, p):
13756 """set_previous(Provenance self, Provenance p)"""
13757 return _IMP_core.Provenance_set_previous(self, p)
13760 def __init__(self, *args):
13762 __init__(IMP::core::Provenance self) -> Provenance
13763 __init__(IMP::core::Provenance self, Model m, ParticleIndex id) -> Provenance
13764 __init__(IMP::core::Provenance self, _ParticleAdaptor d) -> Provenance
13766 this = _IMP_core.new_Provenance(*args)
13768 self.this.append(this)
13772 def get_is_setup(*args):
13774 get_is_setup(Model m, ParticleIndex pi) -> bool
13775 get_is_setup(_ParticleAdaptor p) -> bool
13777 return _IMP_core.Provenance_get_is_setup(*args)
13779 get_is_setup = staticmethod(get_is_setup)
13781 def show(self, *args):
13783 show(Provenance self, _ostream out)
13784 show(Provenance self)
13786 return _IMP_core.Provenance_show(self, *args)
13789 def setup_particle(*args):
13791 setup_particle(Model m, ParticleIndex pi) -> Provenance
13792 setup_particle(_ParticleAdaptor decorator) -> Provenance
13794 return _IMP_core.Provenance_setup_particle(*args)
13796 setup_particle = staticmethod(setup_particle)
13798 def add_attribute(self, *args):
13800 add_attribute(Provenance self, FloatKey k, IMP::Float v, bool opt)
13801 add_attribute(Provenance self, FloatKey a0, IMP::Float a1)
13802 add_attribute(Provenance self, IntKey a0, IMP::Int a1)
13803 add_attribute(Provenance self, FloatsKey a0, IMP::Floats a1)
13804 add_attribute(Provenance self, IntsKey a0, IMP::Ints a1)
13805 add_attribute(Provenance self, StringKey a0, IMP::String a1)
13806 add_attribute(Provenance self, ParticleIndexKey a0, Particle a1)
13807 add_attribute(Provenance self, ObjectKey a0, Object a1)
13809 return _IMP_core.Provenance_add_attribute(self, *args)
13812 def get_value(self, *args):
13814 get_value(Provenance self, FloatKey a0) -> IMP::Float
13815 get_value(Provenance self, IntKey a0) -> IMP::Int
13816 get_value(Provenance self, FloatsKey a0) -> IMP::Floats
13817 get_value(Provenance self, IntsKey a0) -> IMP::Ints
13818 get_value(Provenance self, StringKey a0) -> IMP::String
13819 get_value(Provenance self, ParticleIndexKey a0) -> Particle
13820 get_value(Provenance self, ObjectKey a0) -> Object
13822 return _IMP_core.Provenance_get_value(self, *args)
13825 def set_value(self, *args):
13827 set_value(Provenance self, FloatKey a0, IMP::Float a1)
13828 set_value(Provenance self, IntKey a0, IMP::Int a1)
13829 set_value(Provenance self, FloatsKey a0, IMP::Floats a1)
13830 set_value(Provenance self, IntsKey a0, IMP::Ints a1)
13831 set_value(Provenance self, StringKey a0, IMP::String a1)
13832 set_value(Provenance self, ParticleIndexKey a0, Particle a1)
13833 set_value(Provenance self, ObjectKey a0, Object a1)
13835 return _IMP_core.Provenance_set_value(self, *args)
13838 def remove_attribute(self, *args):
13840 remove_attribute(Provenance self, FloatKey a0)
13841 remove_attribute(Provenance self, IntKey a0)
13842 remove_attribute(Provenance self, FloatsKey a0)
13843 remove_attribute(Provenance self, IntsKey a0)
13844 remove_attribute(Provenance self, StringKey a0)
13845 remove_attribute(Provenance self, ParticleIndexKey a0)
13846 remove_attribute(Provenance self, ObjectKey a0)
13848 return _IMP_core.Provenance_remove_attribute(self, *args)
13851 def has_attribute(self, *args):
13853 has_attribute(Provenance self, FloatKey a0) -> bool
13854 has_attribute(Provenance self, IntKey a0) -> bool
13855 has_attribute(Provenance self, FloatsKey a0) -> bool
13856 has_attribute(Provenance self, IntsKey a0) -> bool
13857 has_attribute(Provenance self, StringKey a0) -> bool
13858 has_attribute(Provenance self, ParticleIndexKey a0) -> bool
13859 has_attribute(Provenance self, ObjectKey a0) -> bool
13861 return _IMP_core.Provenance_has_attribute(self, *args)
13864 def get_derivative(self, a0):
13865 """get_derivative(Provenance self, FloatKey a0) -> double"""
13866 return _IMP_core.Provenance_get_derivative(self, a0)
13869 def get_name(self):
13870 """get_name(Provenance self) -> std::string"""
13871 return _IMP_core.Provenance_get_name(self)
13874 def clear_caches(self):
13875 """clear_caches(Provenance self)"""
13876 return _IMP_core.Provenance_clear_caches(self)
13879 def set_name(self, a0):
13880 """set_name(Provenance self, std::string a0)"""
13881 return _IMP_core.Provenance_set_name(self, a0)
13885 """set_check_level(Provenance self, IMP::CheckLevel a0)"""
13886 return _IMP_core.Provenance_set_check_level(self, a0)
13889 def add_to_derivative(self, a0, a1, a2):
13890 """add_to_derivative(Provenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
13891 return _IMP_core.Provenance_add_to_derivative(self, a0, a1, a2)
13894 def set_is_optimized(self, a0, a1):
13895 """set_is_optimized(Provenance self, FloatKey a0, bool a1)"""
13896 return _IMP_core.Provenance_set_is_optimized(self, a0, a1)
13899 def get_is_optimized(self, a0):
13900 """get_is_optimized(Provenance self, FloatKey a0) -> bool"""
13901 return _IMP_core.Provenance_get_is_optimized(self, a0)
13905 """get_check_level(Provenance self) -> IMP::CheckLevel"""
13906 return _IMP_core.Provenance_get_check_level(self)
13909 def __eq__(self, *args):
13911 __eq__(Provenance self, Provenance o) -> bool
13912 __eq__(Provenance self, Particle d) -> bool
13914 return _IMP_core.Provenance___eq__(self, *args)
13917 def __ne__(self, *args):
13919 __ne__(Provenance self, Provenance o) -> bool
13920 __ne__(Provenance self, Particle d) -> bool
13922 return _IMP_core.Provenance___ne__(self, *args)
13925 def __le__(self, *args):
13927 __le__(Provenance self, Provenance o) -> bool
13928 __le__(Provenance self, Particle d) -> bool
13930 return _IMP_core.Provenance___le__(self, *args)
13933 def __lt__(self, *args):
13935 __lt__(Provenance self, Provenance o) -> bool
13936 __lt__(Provenance self, Particle d) -> bool
13938 return _IMP_core.Provenance___lt__(self, *args)
13941 def __ge__(self, *args):
13943 __ge__(Provenance self, Provenance o) -> bool
13944 __ge__(Provenance self, Particle d) -> bool
13946 return _IMP_core.Provenance___ge__(self, *args)
13949 def __gt__(self, *args):
13951 __gt__(Provenance self, Provenance o) -> bool
13952 __gt__(Provenance self, Particle d) -> bool
13954 return _IMP_core.Provenance___gt__(self, *args)
13957 def __hash__(self):
13958 """__hash__(Provenance self) -> std::size_t"""
13959 return _IMP_core.Provenance___hash__(self)
13963 """__str__(Provenance self) -> std::string"""
13964 return _IMP_core.Provenance___str__(self)
13967 def __repr__(self):
13968 """__repr__(Provenance self) -> std::string"""
13969 return _IMP_core.Provenance___repr__(self)
13971 __swig_destroy__ = _IMP_core.delete_Provenance
13972 __del__ =
lambda self:
None
13973 Provenance_swigregister = _IMP_core.Provenance_swigregister
13974 Provenance_swigregister(Provenance)
13976 def Provenance_get_is_setup(*args):
13978 get_is_setup(Model m, ParticleIndex pi) -> bool
13979 Provenance_get_is_setup(_ParticleAdaptor p) -> bool
13981 return _IMP_core.Provenance_get_is_setup(*args)
13983 def Provenance_setup_particle(*args):
13985 setup_particle(Model m, ParticleIndex pi) -> Provenance
13986 Provenance_setup_particle(_ParticleAdaptor decorator) -> Provenance
13988 return _IMP_core.Provenance_setup_particle(*args)
13990 class StructureProvenance(Provenance):
13991 """Proxy of C++ IMP::core::StructureProvenance class"""
13992 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
13994 def set_filename(self, filename):
13995 """set_filename(StructureProvenance self, std::string filename)"""
13996 return _IMP_core.StructureProvenance_set_filename(self, filename)
13999 def get_filename(self):
14000 """get_filename(StructureProvenance self) -> std::string"""
14001 return _IMP_core.StructureProvenance_get_filename(self)
14004 def set_chain_id(self, chain_id):
14005 """set_chain_id(StructureProvenance self, std::string chain_id)"""
14006 return _IMP_core.StructureProvenance_set_chain_id(self, chain_id)
14010 """get_chain_id(StructureProvenance self) -> std::string"""
14011 return _IMP_core.StructureProvenance_get_chain_id(self)
14014 def set_residue_offset(self, residue_offset):
14015 """set_residue_offset(StructureProvenance self, int residue_offset)"""
14016 return _IMP_core.StructureProvenance_set_residue_offset(self, residue_offset)
14019 def get_residue_offset(self):
14020 """get_residue_offset(StructureProvenance self) -> int"""
14021 return _IMP_core.StructureProvenance_get_residue_offset(self)
14024 def __init__(self, *args):
14026 __init__(IMP::core::StructureProvenance self) -> StructureProvenance
14027 __init__(IMP::core::StructureProvenance self, Model m, ParticleIndex id) -> StructureProvenance
14028 __init__(IMP::core::StructureProvenance self, _ParticleAdaptor d) -> StructureProvenance
14030 this = _IMP_core.new_StructureProvenance(*args)
14032 self.this.append(this)
14036 def get_is_setup(*args):
14038 get_is_setup(Model m, ParticleIndex pi) -> bool
14039 get_is_setup(_ParticleAdaptor p) -> bool
14041 return _IMP_core.StructureProvenance_get_is_setup(*args)
14043 get_is_setup = staticmethod(get_is_setup)
14045 def show(self, *args):
14047 show(StructureProvenance self, _ostream out)
14048 show(StructureProvenance self)
14050 return _IMP_core.StructureProvenance_show(self, *args)
14053 def setup_particle(*args):
14055 setup_particle(Model m, ParticleIndex pi, std::string filename, std::string chain_id, int residue_offset) -> StructureProvenance
14056 setup_particle(_ParticleAdaptor decorator, std::string filename, std::string chain_id, int residue_offset) -> StructureProvenance
14057 setup_particle(Model m, ParticleIndex pi, std::string filename, std::string chain_id) -> StructureProvenance
14058 setup_particle(_ParticleAdaptor decorator, std::string filename, std::string chain_id) -> StructureProvenance
14059 setup_particle(Model m, ParticleIndex pi, StructureProvenance o) -> StructureProvenance
14060 setup_particle(_ParticleAdaptor decorator, StructureProvenance o) -> StructureProvenance
14062 return _IMP_core.StructureProvenance_setup_particle(*args)
14064 setup_particle = staticmethod(setup_particle)
14066 def add_attribute(self, *args):
14068 add_attribute(StructureProvenance self, FloatKey k, IMP::Float v, bool opt)
14069 add_attribute(StructureProvenance self, FloatKey a0, IMP::Float a1)
14070 add_attribute(StructureProvenance self, IntKey a0, IMP::Int a1)
14071 add_attribute(StructureProvenance self, FloatsKey a0, IMP::Floats a1)
14072 add_attribute(StructureProvenance self, IntsKey a0, IMP::Ints a1)
14073 add_attribute(StructureProvenance self, StringKey a0, IMP::String a1)
14074 add_attribute(StructureProvenance self, ParticleIndexKey a0, Particle a1)
14075 add_attribute(StructureProvenance self, ObjectKey a0, Object a1)
14077 return _IMP_core.StructureProvenance_add_attribute(self, *args)
14080 def get_value(self, *args):
14082 get_value(StructureProvenance self, FloatKey a0) -> IMP::Float
14083 get_value(StructureProvenance self, IntKey a0) -> IMP::Int
14084 get_value(StructureProvenance self, FloatsKey a0) -> IMP::Floats
14085 get_value(StructureProvenance self, IntsKey a0) -> IMP::Ints
14086 get_value(StructureProvenance self, StringKey a0) -> IMP::String
14087 get_value(StructureProvenance self, ParticleIndexKey a0) -> Particle
14088 get_value(StructureProvenance self, ObjectKey a0) -> Object
14090 return _IMP_core.StructureProvenance_get_value(self, *args)
14093 def set_value(self, *args):
14095 set_value(StructureProvenance self, FloatKey a0, IMP::Float a1)
14096 set_value(StructureProvenance self, IntKey a0, IMP::Int a1)
14097 set_value(StructureProvenance self, FloatsKey a0, IMP::Floats a1)
14098 set_value(StructureProvenance self, IntsKey a0, IMP::Ints a1)
14099 set_value(StructureProvenance self, StringKey a0, IMP::String a1)
14100 set_value(StructureProvenance self, ParticleIndexKey a0, Particle a1)
14101 set_value(StructureProvenance self, ObjectKey a0, Object a1)
14103 return _IMP_core.StructureProvenance_set_value(self, *args)
14106 def remove_attribute(self, *args):
14108 remove_attribute(StructureProvenance self, FloatKey a0)
14109 remove_attribute(StructureProvenance self, IntKey a0)
14110 remove_attribute(StructureProvenance self, FloatsKey a0)
14111 remove_attribute(StructureProvenance self, IntsKey a0)
14112 remove_attribute(StructureProvenance self, StringKey a0)
14113 remove_attribute(StructureProvenance self, ParticleIndexKey a0)
14114 remove_attribute(StructureProvenance self, ObjectKey a0)
14116 return _IMP_core.StructureProvenance_remove_attribute(self, *args)
14119 def has_attribute(self, *args):
14121 has_attribute(StructureProvenance self, FloatKey a0) -> bool
14122 has_attribute(StructureProvenance self, IntKey a0) -> bool
14123 has_attribute(StructureProvenance self, FloatsKey a0) -> bool
14124 has_attribute(StructureProvenance self, IntsKey a0) -> bool
14125 has_attribute(StructureProvenance self, StringKey a0) -> bool
14126 has_attribute(StructureProvenance self, ParticleIndexKey a0) -> bool
14127 has_attribute(StructureProvenance self, ObjectKey a0) -> bool
14129 return _IMP_core.StructureProvenance_has_attribute(self, *args)
14132 def get_derivative(self, a0):
14133 """get_derivative(StructureProvenance self, FloatKey a0) -> double"""
14134 return _IMP_core.StructureProvenance_get_derivative(self, a0)
14137 def get_name(self):
14138 """get_name(StructureProvenance self) -> std::string"""
14139 return _IMP_core.StructureProvenance_get_name(self)
14142 def clear_caches(self):
14143 """clear_caches(StructureProvenance self)"""
14144 return _IMP_core.StructureProvenance_clear_caches(self)
14147 def set_name(self, a0):
14148 """set_name(StructureProvenance self, std::string a0)"""
14149 return _IMP_core.StructureProvenance_set_name(self, a0)
14153 """set_check_level(StructureProvenance self, IMP::CheckLevel a0)"""
14154 return _IMP_core.StructureProvenance_set_check_level(self, a0)
14157 def add_to_derivative(self, a0, a1, a2):
14158 """add_to_derivative(StructureProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
14159 return _IMP_core.StructureProvenance_add_to_derivative(self, a0, a1, a2)
14162 def set_is_optimized(self, a0, a1):
14163 """set_is_optimized(StructureProvenance self, FloatKey a0, bool a1)"""
14164 return _IMP_core.StructureProvenance_set_is_optimized(self, a0, a1)
14167 def get_is_optimized(self, a0):
14168 """get_is_optimized(StructureProvenance self, FloatKey a0) -> bool"""
14169 return _IMP_core.StructureProvenance_get_is_optimized(self, a0)
14173 """get_check_level(StructureProvenance self) -> IMP::CheckLevel"""
14174 return _IMP_core.StructureProvenance_get_check_level(self)
14177 def __eq__(self, *args):
14179 __eq__(StructureProvenance self, StructureProvenance o) -> bool
14180 __eq__(StructureProvenance self, Particle d) -> bool
14182 return _IMP_core.StructureProvenance___eq__(self, *args)
14185 def __ne__(self, *args):
14187 __ne__(StructureProvenance self, StructureProvenance o) -> bool
14188 __ne__(StructureProvenance self, Particle d) -> bool
14190 return _IMP_core.StructureProvenance___ne__(self, *args)
14193 def __le__(self, *args):
14195 __le__(StructureProvenance self, StructureProvenance o) -> bool
14196 __le__(StructureProvenance self, Particle d) -> bool
14198 return _IMP_core.StructureProvenance___le__(self, *args)
14201 def __lt__(self, *args):
14203 __lt__(StructureProvenance self, StructureProvenance o) -> bool
14204 __lt__(StructureProvenance self, Particle d) -> bool
14206 return _IMP_core.StructureProvenance___lt__(self, *args)
14209 def __ge__(self, *args):
14211 __ge__(StructureProvenance self, StructureProvenance o) -> bool
14212 __ge__(StructureProvenance self, Particle d) -> bool
14214 return _IMP_core.StructureProvenance___ge__(self, *args)
14217 def __gt__(self, *args):
14219 __gt__(StructureProvenance self, StructureProvenance o) -> bool
14220 __gt__(StructureProvenance self, Particle d) -> bool
14222 return _IMP_core.StructureProvenance___gt__(self, *args)
14225 def __hash__(self):
14226 """__hash__(StructureProvenance self) -> std::size_t"""
14227 return _IMP_core.StructureProvenance___hash__(self)
14231 """__str__(StructureProvenance self) -> std::string"""
14232 return _IMP_core.StructureProvenance___str__(self)
14235 def __repr__(self):
14236 """__repr__(StructureProvenance self) -> std::string"""
14237 return _IMP_core.StructureProvenance___repr__(self)
14239 __swig_destroy__ = _IMP_core.delete_StructureProvenance
14240 __del__ =
lambda self:
None
14241 StructureProvenance_swigregister = _IMP_core.StructureProvenance_swigregister
14242 StructureProvenance_swigregister(StructureProvenance)
14244 def StructureProvenance_get_is_setup(*args):
14246 get_is_setup(Model m, ParticleIndex pi) -> bool
14247 StructureProvenance_get_is_setup(_ParticleAdaptor p) -> bool
14249 return _IMP_core.StructureProvenance_get_is_setup(*args)
14251 def StructureProvenance_setup_particle(*args):
14253 setup_particle(Model m, ParticleIndex pi, std::string filename, std::string chain_id, int residue_offset) -> StructureProvenance
14254 setup_particle(_ParticleAdaptor decorator, std::string filename, std::string chain_id, int residue_offset) -> StructureProvenance
14255 setup_particle(Model m, ParticleIndex pi, std::string filename, std::string chain_id) -> StructureProvenance
14256 setup_particle(_ParticleAdaptor decorator, std::string filename, std::string chain_id) -> StructureProvenance
14257 setup_particle(Model m, ParticleIndex pi, StructureProvenance o) -> StructureProvenance
14258 StructureProvenance_setup_particle(_ParticleAdaptor decorator, StructureProvenance o) -> StructureProvenance
14260 return _IMP_core.StructureProvenance_setup_particle(*args)
14262 class SampleProvenance(Provenance):
14263 """Proxy of C++ IMP::core::SampleProvenance class"""
14264 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
14266 def set_method(self, method):
14267 """set_method(SampleProvenance self, std::string method)"""
14268 return _IMP_core.SampleProvenance_set_method(self, method)
14271 def get_method(self):
14272 """get_method(SampleProvenance self) -> std::string"""
14273 return _IMP_core.SampleProvenance_get_method(self)
14276 def set_number_of_frames(self, frames):
14277 """set_number_of_frames(SampleProvenance self, int frames)"""
14278 return _IMP_core.SampleProvenance_set_number_of_frames(self, frames)
14282 """get_number_of_frames(SampleProvenance self) -> int"""
14283 return _IMP_core.SampleProvenance_get_number_of_frames(self)
14286 def set_number_of_iterations(self, iterations):
14287 """set_number_of_iterations(SampleProvenance self, int iterations)"""
14288 return _IMP_core.SampleProvenance_set_number_of_iterations(self, iterations)
14291 def get_number_of_iterations(self):
14292 """get_number_of_iterations(SampleProvenance self) -> int"""
14293 return _IMP_core.SampleProvenance_get_number_of_iterations(self)
14296 def set_number_of_replicas(self, replicas):
14297 """set_number_of_replicas(SampleProvenance self, int replicas)"""
14298 return _IMP_core.SampleProvenance_set_number_of_replicas(self, replicas)
14301 def get_number_of_replicas(self):
14302 """get_number_of_replicas(SampleProvenance self) -> int"""
14303 return _IMP_core.SampleProvenance_get_number_of_replicas(self)
14306 def __init__(self, *args):
14308 __init__(IMP::core::SampleProvenance self) -> SampleProvenance
14309 __init__(IMP::core::SampleProvenance self, Model m, ParticleIndex id) -> SampleProvenance
14310 __init__(IMP::core::SampleProvenance self, _ParticleAdaptor d) -> SampleProvenance
14312 this = _IMP_core.new_SampleProvenance(*args)
14314 self.this.append(this)
14318 def get_is_setup(*args):
14320 get_is_setup(Model m, ParticleIndex pi) -> bool
14321 get_is_setup(_ParticleAdaptor p) -> bool
14323 return _IMP_core.SampleProvenance_get_is_setup(*args)
14325 get_is_setup = staticmethod(get_is_setup)
14327 def show(self, *args):
14329 show(SampleProvenance self, _ostream out)
14330 show(SampleProvenance self)
14332 return _IMP_core.SampleProvenance_show(self, *args)
14335 def setup_particle(*args):
14337 setup_particle(Model m, ParticleIndex pi, std::string method, int frames, int iterations, int replicas) -> SampleProvenance
14338 setup_particle(_ParticleAdaptor decorator, std::string method, int frames, int iterations, int replicas) -> SampleProvenance
14339 setup_particle(Model m, ParticleIndex pi, std::string method, int frames, int iterations) -> SampleProvenance
14340 setup_particle(_ParticleAdaptor decorator, std::string method, int frames, int iterations) -> SampleProvenance
14341 setup_particle(Model m, ParticleIndex pi, SampleProvenance o) -> SampleProvenance
14342 setup_particle(_ParticleAdaptor decorator, SampleProvenance o) -> SampleProvenance
14344 return _IMP_core.SampleProvenance_setup_particle(*args)
14346 setup_particle = staticmethod(setup_particle)
14348 def add_attribute(self, *args):
14350 add_attribute(SampleProvenance self, FloatKey k, IMP::Float v, bool opt)
14351 add_attribute(SampleProvenance self, FloatKey a0, IMP::Float a1)
14352 add_attribute(SampleProvenance self, IntKey a0, IMP::Int a1)
14353 add_attribute(SampleProvenance self, FloatsKey a0, IMP::Floats a1)
14354 add_attribute(SampleProvenance self, IntsKey a0, IMP::Ints a1)
14355 add_attribute(SampleProvenance self, StringKey a0, IMP::String a1)
14356 add_attribute(SampleProvenance self, ParticleIndexKey a0, Particle a1)
14357 add_attribute(SampleProvenance self, ObjectKey a0, Object a1)
14359 return _IMP_core.SampleProvenance_add_attribute(self, *args)
14362 def get_value(self, *args):
14364 get_value(SampleProvenance self, FloatKey a0) -> IMP::Float
14365 get_value(SampleProvenance self, IntKey a0) -> IMP::Int
14366 get_value(SampleProvenance self, FloatsKey a0) -> IMP::Floats
14367 get_value(SampleProvenance self, IntsKey a0) -> IMP::Ints
14368 get_value(SampleProvenance self, StringKey a0) -> IMP::String
14369 get_value(SampleProvenance self, ParticleIndexKey a0) -> Particle
14370 get_value(SampleProvenance self, ObjectKey a0) -> Object
14372 return _IMP_core.SampleProvenance_get_value(self, *args)
14375 def set_value(self, *args):
14377 set_value(SampleProvenance self, FloatKey a0, IMP::Float a1)
14378 set_value(SampleProvenance self, IntKey a0, IMP::Int a1)
14379 set_value(SampleProvenance self, FloatsKey a0, IMP::Floats a1)
14380 set_value(SampleProvenance self, IntsKey a0, IMP::Ints a1)
14381 set_value(SampleProvenance self, StringKey a0, IMP::String a1)
14382 set_value(SampleProvenance self, ParticleIndexKey a0, Particle a1)
14383 set_value(SampleProvenance self, ObjectKey a0, Object a1)
14385 return _IMP_core.SampleProvenance_set_value(self, *args)
14388 def remove_attribute(self, *args):
14390 remove_attribute(SampleProvenance self, FloatKey a0)
14391 remove_attribute(SampleProvenance self, IntKey a0)
14392 remove_attribute(SampleProvenance self, FloatsKey a0)
14393 remove_attribute(SampleProvenance self, IntsKey a0)
14394 remove_attribute(SampleProvenance self, StringKey a0)
14395 remove_attribute(SampleProvenance self, ParticleIndexKey a0)
14396 remove_attribute(SampleProvenance self, ObjectKey a0)
14398 return _IMP_core.SampleProvenance_remove_attribute(self, *args)
14401 def has_attribute(self, *args):
14403 has_attribute(SampleProvenance self, FloatKey a0) -> bool
14404 has_attribute(SampleProvenance self, IntKey a0) -> bool
14405 has_attribute(SampleProvenance self, FloatsKey a0) -> bool
14406 has_attribute(SampleProvenance self, IntsKey a0) -> bool
14407 has_attribute(SampleProvenance self, StringKey a0) -> bool
14408 has_attribute(SampleProvenance self, ParticleIndexKey a0) -> bool
14409 has_attribute(SampleProvenance self, ObjectKey a0) -> bool
14411 return _IMP_core.SampleProvenance_has_attribute(self, *args)
14414 def get_derivative(self, a0):
14415 """get_derivative(SampleProvenance self, FloatKey a0) -> double"""
14416 return _IMP_core.SampleProvenance_get_derivative(self, a0)
14419 def get_name(self):
14420 """get_name(SampleProvenance self) -> std::string"""
14421 return _IMP_core.SampleProvenance_get_name(self)
14424 def clear_caches(self):
14425 """clear_caches(SampleProvenance self)"""
14426 return _IMP_core.SampleProvenance_clear_caches(self)
14429 def set_name(self, a0):
14430 """set_name(SampleProvenance self, std::string a0)"""
14431 return _IMP_core.SampleProvenance_set_name(self, a0)
14435 """set_check_level(SampleProvenance self, IMP::CheckLevel a0)"""
14436 return _IMP_core.SampleProvenance_set_check_level(self, a0)
14439 def add_to_derivative(self, a0, a1, a2):
14440 """add_to_derivative(SampleProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
14441 return _IMP_core.SampleProvenance_add_to_derivative(self, a0, a1, a2)
14444 def set_is_optimized(self, a0, a1):
14445 """set_is_optimized(SampleProvenance self, FloatKey a0, bool a1)"""
14446 return _IMP_core.SampleProvenance_set_is_optimized(self, a0, a1)
14449 def get_is_optimized(self, a0):
14450 """get_is_optimized(SampleProvenance self, FloatKey a0) -> bool"""
14451 return _IMP_core.SampleProvenance_get_is_optimized(self, a0)
14455 """get_check_level(SampleProvenance self) -> IMP::CheckLevel"""
14456 return _IMP_core.SampleProvenance_get_check_level(self)
14459 def __eq__(self, *args):
14461 __eq__(SampleProvenance self, SampleProvenance o) -> bool
14462 __eq__(SampleProvenance self, Particle d) -> bool
14464 return _IMP_core.SampleProvenance___eq__(self, *args)
14467 def __ne__(self, *args):
14469 __ne__(SampleProvenance self, SampleProvenance o) -> bool
14470 __ne__(SampleProvenance self, Particle d) -> bool
14472 return _IMP_core.SampleProvenance___ne__(self, *args)
14475 def __le__(self, *args):
14477 __le__(SampleProvenance self, SampleProvenance o) -> bool
14478 __le__(SampleProvenance self, Particle d) -> bool
14480 return _IMP_core.SampleProvenance___le__(self, *args)
14483 def __lt__(self, *args):
14485 __lt__(SampleProvenance self, SampleProvenance o) -> bool
14486 __lt__(SampleProvenance self, Particle d) -> bool
14488 return _IMP_core.SampleProvenance___lt__(self, *args)
14491 def __ge__(self, *args):
14493 __ge__(SampleProvenance self, SampleProvenance o) -> bool
14494 __ge__(SampleProvenance self, Particle d) -> bool
14496 return _IMP_core.SampleProvenance___ge__(self, *args)
14499 def __gt__(self, *args):
14501 __gt__(SampleProvenance self, SampleProvenance o) -> bool
14502 __gt__(SampleProvenance self, Particle d) -> bool
14504 return _IMP_core.SampleProvenance___gt__(self, *args)
14507 def __hash__(self):
14508 """__hash__(SampleProvenance self) -> std::size_t"""
14509 return _IMP_core.SampleProvenance___hash__(self)
14513 """__str__(SampleProvenance self) -> std::string"""
14514 return _IMP_core.SampleProvenance___str__(self)
14517 def __repr__(self):
14518 """__repr__(SampleProvenance self) -> std::string"""
14519 return _IMP_core.SampleProvenance___repr__(self)
14521 __swig_destroy__ = _IMP_core.delete_SampleProvenance
14522 __del__ =
lambda self:
None
14523 SampleProvenance_swigregister = _IMP_core.SampleProvenance_swigregister
14524 SampleProvenance_swigregister(SampleProvenance)
14526 def SampleProvenance_get_is_setup(*args):
14528 get_is_setup(Model m, ParticleIndex pi) -> bool
14529 SampleProvenance_get_is_setup(_ParticleAdaptor p) -> bool
14531 return _IMP_core.SampleProvenance_get_is_setup(*args)
14533 def SampleProvenance_setup_particle(*args):
14535 setup_particle(Model m, ParticleIndex pi, std::string method, int frames, int iterations, int replicas) -> SampleProvenance
14536 setup_particle(_ParticleAdaptor decorator, std::string method, int frames, int iterations, int replicas) -> SampleProvenance
14537 setup_particle(Model m, ParticleIndex pi, std::string method, int frames, int iterations) -> SampleProvenance
14538 setup_particle(_ParticleAdaptor decorator, std::string method, int frames, int iterations) -> SampleProvenance
14539 setup_particle(Model m, ParticleIndex pi, SampleProvenance o) -> SampleProvenance
14540 SampleProvenance_setup_particle(_ParticleAdaptor decorator, SampleProvenance o) -> SampleProvenance
14542 return _IMP_core.SampleProvenance_setup_particle(*args)
14544 class CombineProvenance(Provenance):
14545 """Proxy of C++ IMP::core::CombineProvenance class"""
14546 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
14548 def set_number_of_frames(self, frames):
14549 """set_number_of_frames(CombineProvenance self, int frames)"""
14550 return _IMP_core.CombineProvenance_set_number_of_frames(self, frames)
14554 """get_number_of_frames(CombineProvenance self) -> int"""
14555 return _IMP_core.CombineProvenance_get_number_of_frames(self)
14558 def set_number_of_runs(self, runs):
14559 """set_number_of_runs(CombineProvenance self, int runs)"""
14560 return _IMP_core.CombineProvenance_set_number_of_runs(self, runs)
14563 def get_number_of_runs(self):
14564 """get_number_of_runs(CombineProvenance self) -> int"""
14565 return _IMP_core.CombineProvenance_get_number_of_runs(self)
14568 def __init__(self, *args):
14570 __init__(IMP::core::CombineProvenance self) -> CombineProvenance
14571 __init__(IMP::core::CombineProvenance self, Model m, ParticleIndex id) -> CombineProvenance
14572 __init__(IMP::core::CombineProvenance self, _ParticleAdaptor d) -> CombineProvenance
14574 this = _IMP_core.new_CombineProvenance(*args)
14576 self.this.append(this)
14580 def get_is_setup(*args):
14582 get_is_setup(Model m, ParticleIndex pi) -> bool
14583 get_is_setup(_ParticleAdaptor p) -> bool
14585 return _IMP_core.CombineProvenance_get_is_setup(*args)
14587 get_is_setup = staticmethod(get_is_setup)
14589 def show(self, *args):
14591 show(CombineProvenance self, _ostream out)
14592 show(CombineProvenance self)
14594 return _IMP_core.CombineProvenance_show(self, *args)
14597 def setup_particle(*args):
14599 setup_particle(Model m, ParticleIndex pi, int runs, int frames) -> CombineProvenance
14600 setup_particle(_ParticleAdaptor decorator, int runs, int frames) -> CombineProvenance
14601 setup_particle(Model m, ParticleIndex pi, CombineProvenance o) -> CombineProvenance
14602 setup_particle(_ParticleAdaptor decorator, CombineProvenance o) -> CombineProvenance
14604 return _IMP_core.CombineProvenance_setup_particle(*args)
14606 setup_particle = staticmethod(setup_particle)
14608 def add_attribute(self, *args):
14610 add_attribute(CombineProvenance self, FloatKey k, IMP::Float v, bool opt)
14611 add_attribute(CombineProvenance self, FloatKey a0, IMP::Float a1)
14612 add_attribute(CombineProvenance self, IntKey a0, IMP::Int a1)
14613 add_attribute(CombineProvenance self, FloatsKey a0, IMP::Floats a1)
14614 add_attribute(CombineProvenance self, IntsKey a0, IMP::Ints a1)
14615 add_attribute(CombineProvenance self, StringKey a0, IMP::String a1)
14616 add_attribute(CombineProvenance self, ParticleIndexKey a0, Particle a1)
14617 add_attribute(CombineProvenance self, ObjectKey a0, Object a1)
14619 return _IMP_core.CombineProvenance_add_attribute(self, *args)
14622 def get_value(self, *args):
14624 get_value(CombineProvenance self, FloatKey a0) -> IMP::Float
14625 get_value(CombineProvenance self, IntKey a0) -> IMP::Int
14626 get_value(CombineProvenance self, FloatsKey a0) -> IMP::Floats
14627 get_value(CombineProvenance self, IntsKey a0) -> IMP::Ints
14628 get_value(CombineProvenance self, StringKey a0) -> IMP::String
14629 get_value(CombineProvenance self, ParticleIndexKey a0) -> Particle
14630 get_value(CombineProvenance self, ObjectKey a0) -> Object
14632 return _IMP_core.CombineProvenance_get_value(self, *args)
14635 def set_value(self, *args):
14637 set_value(CombineProvenance self, FloatKey a0, IMP::Float a1)
14638 set_value(CombineProvenance self, IntKey a0, IMP::Int a1)
14639 set_value(CombineProvenance self, FloatsKey a0, IMP::Floats a1)
14640 set_value(CombineProvenance self, IntsKey a0, IMP::Ints a1)
14641 set_value(CombineProvenance self, StringKey a0, IMP::String a1)
14642 set_value(CombineProvenance self, ParticleIndexKey a0, Particle a1)
14643 set_value(CombineProvenance self, ObjectKey a0, Object a1)
14645 return _IMP_core.CombineProvenance_set_value(self, *args)
14648 def remove_attribute(self, *args):
14650 remove_attribute(CombineProvenance self, FloatKey a0)
14651 remove_attribute(CombineProvenance self, IntKey a0)
14652 remove_attribute(CombineProvenance self, FloatsKey a0)
14653 remove_attribute(CombineProvenance self, IntsKey a0)
14654 remove_attribute(CombineProvenance self, StringKey a0)
14655 remove_attribute(CombineProvenance self, ParticleIndexKey a0)
14656 remove_attribute(CombineProvenance self, ObjectKey a0)
14658 return _IMP_core.CombineProvenance_remove_attribute(self, *args)
14661 def has_attribute(self, *args):
14663 has_attribute(CombineProvenance self, FloatKey a0) -> bool
14664 has_attribute(CombineProvenance self, IntKey a0) -> bool
14665 has_attribute(CombineProvenance self, FloatsKey a0) -> bool
14666 has_attribute(CombineProvenance self, IntsKey a0) -> bool
14667 has_attribute(CombineProvenance self, StringKey a0) -> bool
14668 has_attribute(CombineProvenance self, ParticleIndexKey a0) -> bool
14669 has_attribute(CombineProvenance self, ObjectKey a0) -> bool
14671 return _IMP_core.CombineProvenance_has_attribute(self, *args)
14674 def get_derivative(self, a0):
14675 """get_derivative(CombineProvenance self, FloatKey a0) -> double"""
14676 return _IMP_core.CombineProvenance_get_derivative(self, a0)
14679 def get_name(self):
14680 """get_name(CombineProvenance self) -> std::string"""
14681 return _IMP_core.CombineProvenance_get_name(self)
14684 def clear_caches(self):
14685 """clear_caches(CombineProvenance self)"""
14686 return _IMP_core.CombineProvenance_clear_caches(self)
14689 def set_name(self, a0):
14690 """set_name(CombineProvenance self, std::string a0)"""
14691 return _IMP_core.CombineProvenance_set_name(self, a0)
14695 """set_check_level(CombineProvenance self, IMP::CheckLevel a0)"""
14696 return _IMP_core.CombineProvenance_set_check_level(self, a0)
14699 def add_to_derivative(self, a0, a1, a2):
14700 """add_to_derivative(CombineProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
14701 return _IMP_core.CombineProvenance_add_to_derivative(self, a0, a1, a2)
14704 def set_is_optimized(self, a0, a1):
14705 """set_is_optimized(CombineProvenance self, FloatKey a0, bool a1)"""
14706 return _IMP_core.CombineProvenance_set_is_optimized(self, a0, a1)
14709 def get_is_optimized(self, a0):
14710 """get_is_optimized(CombineProvenance self, FloatKey a0) -> bool"""
14711 return _IMP_core.CombineProvenance_get_is_optimized(self, a0)
14715 """get_check_level(CombineProvenance self) -> IMP::CheckLevel"""
14716 return _IMP_core.CombineProvenance_get_check_level(self)
14719 def __eq__(self, *args):
14721 __eq__(CombineProvenance self, CombineProvenance o) -> bool
14722 __eq__(CombineProvenance self, Particle d) -> bool
14724 return _IMP_core.CombineProvenance___eq__(self, *args)
14727 def __ne__(self, *args):
14729 __ne__(CombineProvenance self, CombineProvenance o) -> bool
14730 __ne__(CombineProvenance self, Particle d) -> bool
14732 return _IMP_core.CombineProvenance___ne__(self, *args)
14735 def __le__(self, *args):
14737 __le__(CombineProvenance self, CombineProvenance o) -> bool
14738 __le__(CombineProvenance self, Particle d) -> bool
14740 return _IMP_core.CombineProvenance___le__(self, *args)
14743 def __lt__(self, *args):
14745 __lt__(CombineProvenance self, CombineProvenance o) -> bool
14746 __lt__(CombineProvenance self, Particle d) -> bool
14748 return _IMP_core.CombineProvenance___lt__(self, *args)
14751 def __ge__(self, *args):
14753 __ge__(CombineProvenance self, CombineProvenance o) -> bool
14754 __ge__(CombineProvenance self, Particle d) -> bool
14756 return _IMP_core.CombineProvenance___ge__(self, *args)
14759 def __gt__(self, *args):
14761 __gt__(CombineProvenance self, CombineProvenance o) -> bool
14762 __gt__(CombineProvenance self, Particle d) -> bool
14764 return _IMP_core.CombineProvenance___gt__(self, *args)
14767 def __hash__(self):
14768 """__hash__(CombineProvenance self) -> std::size_t"""
14769 return _IMP_core.CombineProvenance___hash__(self)
14773 """__str__(CombineProvenance self) -> std::string"""
14774 return _IMP_core.CombineProvenance___str__(self)
14777 def __repr__(self):
14778 """__repr__(CombineProvenance self) -> std::string"""
14779 return _IMP_core.CombineProvenance___repr__(self)
14781 __swig_destroy__ = _IMP_core.delete_CombineProvenance
14782 __del__ =
lambda self:
None
14783 CombineProvenance_swigregister = _IMP_core.CombineProvenance_swigregister
14784 CombineProvenance_swigregister(CombineProvenance)
14786 def CombineProvenance_get_is_setup(*args):
14788 get_is_setup(Model m, ParticleIndex pi) -> bool
14789 CombineProvenance_get_is_setup(_ParticleAdaptor p) -> bool
14791 return _IMP_core.CombineProvenance_get_is_setup(*args)
14793 def CombineProvenance_setup_particle(*args):
14795 setup_particle(Model m, ParticleIndex pi, int runs, int frames) -> CombineProvenance
14796 setup_particle(_ParticleAdaptor decorator, int runs, int frames) -> CombineProvenance
14797 setup_particle(Model m, ParticleIndex pi, CombineProvenance o) -> CombineProvenance
14798 CombineProvenance_setup_particle(_ParticleAdaptor decorator, CombineProvenance o) -> CombineProvenance
14800 return _IMP_core.CombineProvenance_setup_particle(*args)
14802 class FilterProvenance(Provenance):
14803 """Proxy of C++ IMP::core::FilterProvenance class"""
14804 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
14806 def set_method(self, method):
14807 """set_method(FilterProvenance self, std::string method)"""
14808 return _IMP_core.FilterProvenance_set_method(self, method)
14811 def get_method(self):
14812 """get_method(FilterProvenance self) -> std::string"""
14813 return _IMP_core.FilterProvenance_get_method(self)
14816 def set_number_of_frames(self, frames):
14817 """set_number_of_frames(FilterProvenance self, int frames)"""
14818 return _IMP_core.FilterProvenance_set_number_of_frames(self, frames)
14822 """get_number_of_frames(FilterProvenance self) -> int"""
14823 return _IMP_core.FilterProvenance_get_number_of_frames(self)
14826 def set_threshold(self, threshold):
14827 """set_threshold(FilterProvenance self, double threshold)"""
14828 return _IMP_core.FilterProvenance_set_threshold(self, threshold)
14831 def get_threshold(self):
14832 """get_threshold(FilterProvenance self) -> double"""
14833 return _IMP_core.FilterProvenance_get_threshold(self)
14836 def __init__(self, *args):
14838 __init__(IMP::core::FilterProvenance self) -> FilterProvenance
14839 __init__(IMP::core::FilterProvenance self, Model m, ParticleIndex id) -> FilterProvenance
14840 __init__(IMP::core::FilterProvenance self, _ParticleAdaptor d) -> FilterProvenance
14842 this = _IMP_core.new_FilterProvenance(*args)
14844 self.this.append(this)
14848 def get_is_setup(*args):
14850 get_is_setup(Model m, ParticleIndex pi) -> bool
14851 get_is_setup(_ParticleAdaptor p) -> bool
14853 return _IMP_core.FilterProvenance_get_is_setup(*args)
14855 get_is_setup = staticmethod(get_is_setup)
14857 def show(self, *args):
14859 show(FilterProvenance self, _ostream out)
14860 show(FilterProvenance self)
14862 return _IMP_core.FilterProvenance_show(self, *args)
14865 def setup_particle(*args):
14867 setup_particle(Model m, ParticleIndex pi, std::string method, double threshold, int frames) -> FilterProvenance
14868 setup_particle(_ParticleAdaptor decorator, std::string method, double threshold, int frames) -> FilterProvenance
14869 setup_particle(Model m, ParticleIndex pi, FilterProvenance o) -> FilterProvenance
14870 setup_particle(_ParticleAdaptor decorator, FilterProvenance o) -> FilterProvenance
14872 return _IMP_core.FilterProvenance_setup_particle(*args)
14874 setup_particle = staticmethod(setup_particle)
14876 def add_attribute(self, *args):
14878 add_attribute(FilterProvenance self, FloatKey k, IMP::Float v, bool opt)
14879 add_attribute(FilterProvenance self, FloatKey a0, IMP::Float a1)
14880 add_attribute(FilterProvenance self, IntKey a0, IMP::Int a1)
14881 add_attribute(FilterProvenance self, FloatsKey a0, IMP::Floats a1)
14882 add_attribute(FilterProvenance self, IntsKey a0, IMP::Ints a1)
14883 add_attribute(FilterProvenance self, StringKey a0, IMP::String a1)
14884 add_attribute(FilterProvenance self, ParticleIndexKey a0, Particle a1)
14885 add_attribute(FilterProvenance self, ObjectKey a0, Object a1)
14887 return _IMP_core.FilterProvenance_add_attribute(self, *args)
14890 def get_value(self, *args):
14892 get_value(FilterProvenance self, FloatKey a0) -> IMP::Float
14893 get_value(FilterProvenance self, IntKey a0) -> IMP::Int
14894 get_value(FilterProvenance self, FloatsKey a0) -> IMP::Floats
14895 get_value(FilterProvenance self, IntsKey a0) -> IMP::Ints
14896 get_value(FilterProvenance self, StringKey a0) -> IMP::String
14897 get_value(FilterProvenance self, ParticleIndexKey a0) -> Particle
14898 get_value(FilterProvenance self, ObjectKey a0) -> Object
14900 return _IMP_core.FilterProvenance_get_value(self, *args)
14903 def set_value(self, *args):
14905 set_value(FilterProvenance self, FloatKey a0, IMP::Float a1)
14906 set_value(FilterProvenance self, IntKey a0, IMP::Int a1)
14907 set_value(FilterProvenance self, FloatsKey a0, IMP::Floats a1)
14908 set_value(FilterProvenance self, IntsKey a0, IMP::Ints a1)
14909 set_value(FilterProvenance self, StringKey a0, IMP::String a1)
14910 set_value(FilterProvenance self, ParticleIndexKey a0, Particle a1)
14911 set_value(FilterProvenance self, ObjectKey a0, Object a1)
14913 return _IMP_core.FilterProvenance_set_value(self, *args)
14916 def remove_attribute(self, *args):
14918 remove_attribute(FilterProvenance self, FloatKey a0)
14919 remove_attribute(FilterProvenance self, IntKey a0)
14920 remove_attribute(FilterProvenance self, FloatsKey a0)
14921 remove_attribute(FilterProvenance self, IntsKey a0)
14922 remove_attribute(FilterProvenance self, StringKey a0)
14923 remove_attribute(FilterProvenance self, ParticleIndexKey a0)
14924 remove_attribute(FilterProvenance self, ObjectKey a0)
14926 return _IMP_core.FilterProvenance_remove_attribute(self, *args)
14929 def has_attribute(self, *args):
14931 has_attribute(FilterProvenance self, FloatKey a0) -> bool
14932 has_attribute(FilterProvenance self, IntKey a0) -> bool
14933 has_attribute(FilterProvenance self, FloatsKey a0) -> bool
14934 has_attribute(FilterProvenance self, IntsKey a0) -> bool
14935 has_attribute(FilterProvenance self, StringKey a0) -> bool
14936 has_attribute(FilterProvenance self, ParticleIndexKey a0) -> bool
14937 has_attribute(FilterProvenance self, ObjectKey a0) -> bool
14939 return _IMP_core.FilterProvenance_has_attribute(self, *args)
14942 def get_derivative(self, a0):
14943 """get_derivative(FilterProvenance self, FloatKey a0) -> double"""
14944 return _IMP_core.FilterProvenance_get_derivative(self, a0)
14947 def get_name(self):
14948 """get_name(FilterProvenance self) -> std::string"""
14949 return _IMP_core.FilterProvenance_get_name(self)
14952 def clear_caches(self):
14953 """clear_caches(FilterProvenance self)"""
14954 return _IMP_core.FilterProvenance_clear_caches(self)
14957 def set_name(self, a0):
14958 """set_name(FilterProvenance self, std::string a0)"""
14959 return _IMP_core.FilterProvenance_set_name(self, a0)
14963 """set_check_level(FilterProvenance self, IMP::CheckLevel a0)"""
14964 return _IMP_core.FilterProvenance_set_check_level(self, a0)
14967 def add_to_derivative(self, a0, a1, a2):
14968 """add_to_derivative(FilterProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
14969 return _IMP_core.FilterProvenance_add_to_derivative(self, a0, a1, a2)
14972 def set_is_optimized(self, a0, a1):
14973 """set_is_optimized(FilterProvenance self, FloatKey a0, bool a1)"""
14974 return _IMP_core.FilterProvenance_set_is_optimized(self, a0, a1)
14977 def get_is_optimized(self, a0):
14978 """get_is_optimized(FilterProvenance self, FloatKey a0) -> bool"""
14979 return _IMP_core.FilterProvenance_get_is_optimized(self, a0)
14983 """get_check_level(FilterProvenance self) -> IMP::CheckLevel"""
14984 return _IMP_core.FilterProvenance_get_check_level(self)
14987 def __eq__(self, *args):
14989 __eq__(FilterProvenance self, FilterProvenance o) -> bool
14990 __eq__(FilterProvenance self, Particle d) -> bool
14992 return _IMP_core.FilterProvenance___eq__(self, *args)
14995 def __ne__(self, *args):
14997 __ne__(FilterProvenance self, FilterProvenance o) -> bool
14998 __ne__(FilterProvenance self, Particle d) -> bool
15000 return _IMP_core.FilterProvenance___ne__(self, *args)
15003 def __le__(self, *args):
15005 __le__(FilterProvenance self, FilterProvenance o) -> bool
15006 __le__(FilterProvenance self, Particle d) -> bool
15008 return _IMP_core.FilterProvenance___le__(self, *args)
15011 def __lt__(self, *args):
15013 __lt__(FilterProvenance self, FilterProvenance o) -> bool
15014 __lt__(FilterProvenance self, Particle d) -> bool
15016 return _IMP_core.FilterProvenance___lt__(self, *args)
15019 def __ge__(self, *args):
15021 __ge__(FilterProvenance self, FilterProvenance o) -> bool
15022 __ge__(FilterProvenance self, Particle d) -> bool
15024 return _IMP_core.FilterProvenance___ge__(self, *args)
15027 def __gt__(self, *args):
15029 __gt__(FilterProvenance self, FilterProvenance o) -> bool
15030 __gt__(FilterProvenance self, Particle d) -> bool
15032 return _IMP_core.FilterProvenance___gt__(self, *args)
15035 def __hash__(self):
15036 """__hash__(FilterProvenance self) -> std::size_t"""
15037 return _IMP_core.FilterProvenance___hash__(self)
15041 """__str__(FilterProvenance self) -> std::string"""
15042 return _IMP_core.FilterProvenance___str__(self)
15045 def __repr__(self):
15046 """__repr__(FilterProvenance self) -> std::string"""
15047 return _IMP_core.FilterProvenance___repr__(self)
15049 __swig_destroy__ = _IMP_core.delete_FilterProvenance
15050 __del__ =
lambda self:
None
15051 FilterProvenance_swigregister = _IMP_core.FilterProvenance_swigregister
15052 FilterProvenance_swigregister(FilterProvenance)
15054 def FilterProvenance_get_is_setup(*args):
15056 get_is_setup(Model m, ParticleIndex pi) -> bool
15057 FilterProvenance_get_is_setup(_ParticleAdaptor p) -> bool
15059 return _IMP_core.FilterProvenance_get_is_setup(*args)
15061 def FilterProvenance_setup_particle(*args):
15063 setup_particle(Model m, ParticleIndex pi, std::string method, double threshold, int frames) -> FilterProvenance
15064 setup_particle(_ParticleAdaptor decorator, std::string method, double threshold, int frames) -> FilterProvenance
15065 setup_particle(Model m, ParticleIndex pi, FilterProvenance o) -> FilterProvenance
15066 FilterProvenance_setup_particle(_ParticleAdaptor decorator, FilterProvenance o) -> FilterProvenance
15068 return _IMP_core.FilterProvenance_setup_particle(*args)
15070 class ClusterProvenance(Provenance):
15071 """Proxy of C++ IMP::core::ClusterProvenance class"""
15072 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
15074 def set_number_of_members(self, members):
15075 """set_number_of_members(ClusterProvenance self, int members)"""
15076 return _IMP_core.ClusterProvenance_set_number_of_members(self, members)
15079 def get_number_of_members(self):
15080 """get_number_of_members(ClusterProvenance self) -> int"""
15081 return _IMP_core.ClusterProvenance_get_number_of_members(self)
15084 def set_precision(self, precision):
15085 """set_precision(ClusterProvenance self, double precision)"""
15086 return _IMP_core.ClusterProvenance_set_precision(self, precision)
15089 def get_precision(self):
15090 """get_precision(ClusterProvenance self) -> double"""
15091 return _IMP_core.ClusterProvenance_get_precision(self)
15094 def set_density(self, density):
15095 """set_density(ClusterProvenance self, std::string density)"""
15096 return _IMP_core.ClusterProvenance_set_density(self, density)
15099 def get_density(self):
15100 """get_density(ClusterProvenance self) -> std::string"""
15101 return _IMP_core.ClusterProvenance_get_density(self)
15104 def __init__(self, *args):
15106 __init__(IMP::core::ClusterProvenance self) -> ClusterProvenance
15107 __init__(IMP::core::ClusterProvenance self, Model m, ParticleIndex id) -> ClusterProvenance
15108 __init__(IMP::core::ClusterProvenance self, _ParticleAdaptor d) -> ClusterProvenance
15110 this = _IMP_core.new_ClusterProvenance(*args)
15112 self.this.append(this)
15116 def get_is_setup(*args):
15118 get_is_setup(Model m, ParticleIndex pi) -> bool
15119 get_is_setup(_ParticleAdaptor p) -> bool
15121 return _IMP_core.ClusterProvenance_get_is_setup(*args)
15123 get_is_setup = staticmethod(get_is_setup)
15125 def show(self, *args):
15127 show(ClusterProvenance self, _ostream out)
15128 show(ClusterProvenance self)
15130 return _IMP_core.ClusterProvenance_show(self, *args)
15133 def setup_particle(*args):
15135 setup_particle(Model m, ParticleIndex pi, int members) -> ClusterProvenance
15136 setup_particle(_ParticleAdaptor decorator, int members) -> ClusterProvenance
15137 setup_particle(Model m, ParticleIndex pi, int members, double precision) -> ClusterProvenance
15138 setup_particle(_ParticleAdaptor decorator, int members, double precision) -> ClusterProvenance
15139 setup_particle(Model m, ParticleIndex pi, int members, double precision, std::string density) -> ClusterProvenance
15140 setup_particle(_ParticleAdaptor decorator, int members, double precision, std::string density) -> ClusterProvenance
15141 setup_particle(Model m, ParticleIndex pi, ClusterProvenance o) -> ClusterProvenance
15142 setup_particle(_ParticleAdaptor decorator, ClusterProvenance o) -> ClusterProvenance
15144 return _IMP_core.ClusterProvenance_setup_particle(*args)
15146 setup_particle = staticmethod(setup_particle)
15148 def add_attribute(self, *args):
15150 add_attribute(ClusterProvenance self, FloatKey k, IMP::Float v, bool opt)
15151 add_attribute(ClusterProvenance self, FloatKey a0, IMP::Float a1)
15152 add_attribute(ClusterProvenance self, IntKey a0, IMP::Int a1)
15153 add_attribute(ClusterProvenance self, FloatsKey a0, IMP::Floats a1)
15154 add_attribute(ClusterProvenance self, IntsKey a0, IMP::Ints a1)
15155 add_attribute(ClusterProvenance self, StringKey a0, IMP::String a1)
15156 add_attribute(ClusterProvenance self, ParticleIndexKey a0, Particle a1)
15157 add_attribute(ClusterProvenance self, ObjectKey a0, Object a1)
15159 return _IMP_core.ClusterProvenance_add_attribute(self, *args)
15162 def get_value(self, *args):
15164 get_value(ClusterProvenance self, FloatKey a0) -> IMP::Float
15165 get_value(ClusterProvenance self, IntKey a0) -> IMP::Int
15166 get_value(ClusterProvenance self, FloatsKey a0) -> IMP::Floats
15167 get_value(ClusterProvenance self, IntsKey a0) -> IMP::Ints
15168 get_value(ClusterProvenance self, StringKey a0) -> IMP::String
15169 get_value(ClusterProvenance self, ParticleIndexKey a0) -> Particle
15170 get_value(ClusterProvenance self, ObjectKey a0) -> Object
15172 return _IMP_core.ClusterProvenance_get_value(self, *args)
15175 def set_value(self, *args):
15177 set_value(ClusterProvenance self, FloatKey a0, IMP::Float a1)
15178 set_value(ClusterProvenance self, IntKey a0, IMP::Int a1)
15179 set_value(ClusterProvenance self, FloatsKey a0, IMP::Floats a1)
15180 set_value(ClusterProvenance self, IntsKey a0, IMP::Ints a1)
15181 set_value(ClusterProvenance self, StringKey a0, IMP::String a1)
15182 set_value(ClusterProvenance self, ParticleIndexKey a0, Particle a1)
15183 set_value(ClusterProvenance self, ObjectKey a0, Object a1)
15185 return _IMP_core.ClusterProvenance_set_value(self, *args)
15188 def remove_attribute(self, *args):
15190 remove_attribute(ClusterProvenance self, FloatKey a0)
15191 remove_attribute(ClusterProvenance self, IntKey a0)
15192 remove_attribute(ClusterProvenance self, FloatsKey a0)
15193 remove_attribute(ClusterProvenance self, IntsKey a0)
15194 remove_attribute(ClusterProvenance self, StringKey a0)
15195 remove_attribute(ClusterProvenance self, ParticleIndexKey a0)
15196 remove_attribute(ClusterProvenance self, ObjectKey a0)
15198 return _IMP_core.ClusterProvenance_remove_attribute(self, *args)
15201 def has_attribute(self, *args):
15203 has_attribute(ClusterProvenance self, FloatKey a0) -> bool
15204 has_attribute(ClusterProvenance self, IntKey a0) -> bool
15205 has_attribute(ClusterProvenance self, FloatsKey a0) -> bool
15206 has_attribute(ClusterProvenance self, IntsKey a0) -> bool
15207 has_attribute(ClusterProvenance self, StringKey a0) -> bool
15208 has_attribute(ClusterProvenance self, ParticleIndexKey a0) -> bool
15209 has_attribute(ClusterProvenance self, ObjectKey a0) -> bool
15211 return _IMP_core.ClusterProvenance_has_attribute(self, *args)
15214 def get_derivative(self, a0):
15215 """get_derivative(ClusterProvenance self, FloatKey a0) -> double"""
15216 return _IMP_core.ClusterProvenance_get_derivative(self, a0)
15219 def get_name(self):
15220 """get_name(ClusterProvenance self) -> std::string"""
15221 return _IMP_core.ClusterProvenance_get_name(self)
15224 def clear_caches(self):
15225 """clear_caches(ClusterProvenance self)"""
15226 return _IMP_core.ClusterProvenance_clear_caches(self)
15229 def set_name(self, a0):
15230 """set_name(ClusterProvenance self, std::string a0)"""
15231 return _IMP_core.ClusterProvenance_set_name(self, a0)
15235 """set_check_level(ClusterProvenance self, IMP::CheckLevel a0)"""
15236 return _IMP_core.ClusterProvenance_set_check_level(self, a0)
15239 def add_to_derivative(self, a0, a1, a2):
15240 """add_to_derivative(ClusterProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
15241 return _IMP_core.ClusterProvenance_add_to_derivative(self, a0, a1, a2)
15244 def set_is_optimized(self, a0, a1):
15245 """set_is_optimized(ClusterProvenance self, FloatKey a0, bool a1)"""
15246 return _IMP_core.ClusterProvenance_set_is_optimized(self, a0, a1)
15249 def get_is_optimized(self, a0):
15250 """get_is_optimized(ClusterProvenance self, FloatKey a0) -> bool"""
15251 return _IMP_core.ClusterProvenance_get_is_optimized(self, a0)
15255 """get_check_level(ClusterProvenance self) -> IMP::CheckLevel"""
15256 return _IMP_core.ClusterProvenance_get_check_level(self)
15259 def __eq__(self, *args):
15261 __eq__(ClusterProvenance self, ClusterProvenance o) -> bool
15262 __eq__(ClusterProvenance self, Particle d) -> bool
15264 return _IMP_core.ClusterProvenance___eq__(self, *args)
15267 def __ne__(self, *args):
15269 __ne__(ClusterProvenance self, ClusterProvenance o) -> bool
15270 __ne__(ClusterProvenance self, Particle d) -> bool
15272 return _IMP_core.ClusterProvenance___ne__(self, *args)
15275 def __le__(self, *args):
15277 __le__(ClusterProvenance self, ClusterProvenance o) -> bool
15278 __le__(ClusterProvenance self, Particle d) -> bool
15280 return _IMP_core.ClusterProvenance___le__(self, *args)
15283 def __lt__(self, *args):
15285 __lt__(ClusterProvenance self, ClusterProvenance o) -> bool
15286 __lt__(ClusterProvenance self, Particle d) -> bool
15288 return _IMP_core.ClusterProvenance___lt__(self, *args)
15291 def __ge__(self, *args):
15293 __ge__(ClusterProvenance self, ClusterProvenance o) -> bool
15294 __ge__(ClusterProvenance self, Particle d) -> bool
15296 return _IMP_core.ClusterProvenance___ge__(self, *args)
15299 def __gt__(self, *args):
15301 __gt__(ClusterProvenance self, ClusterProvenance o) -> bool
15302 __gt__(ClusterProvenance self, Particle d) -> bool
15304 return _IMP_core.ClusterProvenance___gt__(self, *args)
15307 def __hash__(self):
15308 """__hash__(ClusterProvenance self) -> std::size_t"""
15309 return _IMP_core.ClusterProvenance___hash__(self)
15313 """__str__(ClusterProvenance self) -> std::string"""
15314 return _IMP_core.ClusterProvenance___str__(self)
15317 def __repr__(self):
15318 """__repr__(ClusterProvenance self) -> std::string"""
15319 return _IMP_core.ClusterProvenance___repr__(self)
15321 __swig_destroy__ = _IMP_core.delete_ClusterProvenance
15322 __del__ =
lambda self:
None
15323 ClusterProvenance_swigregister = _IMP_core.ClusterProvenance_swigregister
15324 ClusterProvenance_swigregister(ClusterProvenance)
15326 def ClusterProvenance_get_is_setup(*args):
15328 get_is_setup(Model m, ParticleIndex pi) -> bool
15329 ClusterProvenance_get_is_setup(_ParticleAdaptor p) -> bool
15331 return _IMP_core.ClusterProvenance_get_is_setup(*args)
15333 def ClusterProvenance_setup_particle(*args):
15335 setup_particle(Model m, ParticleIndex pi, int members) -> ClusterProvenance
15336 setup_particle(_ParticleAdaptor decorator, int members) -> ClusterProvenance
15337 setup_particle(Model m, ParticleIndex pi, int members, double precision) -> ClusterProvenance
15338 setup_particle(_ParticleAdaptor decorator, int members, double precision) -> ClusterProvenance
15339 setup_particle(Model m, ParticleIndex pi, int members, double precision, std::string density) -> ClusterProvenance
15340 setup_particle(_ParticleAdaptor decorator, int members, double precision, std::string density) -> ClusterProvenance
15341 setup_particle(Model m, ParticleIndex pi, ClusterProvenance o) -> ClusterProvenance
15342 ClusterProvenance_setup_particle(_ParticleAdaptor decorator, ClusterProvenance o) -> ClusterProvenance
15344 return _IMP_core.ClusterProvenance_setup_particle(*args)
15346 class ScriptProvenance(Provenance):
15347 """Proxy of C++ IMP::core::ScriptProvenance class"""
15348 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
15350 def set_filename(self, filename):
15351 """set_filename(ScriptProvenance self, std::string filename)"""
15352 return _IMP_core.ScriptProvenance_set_filename(self, filename)
15355 def get_filename(self):
15356 """get_filename(ScriptProvenance self) -> std::string"""
15357 return _IMP_core.ScriptProvenance_get_filename(self)
15360 def __init__(self, *args):
15362 __init__(IMP::core::ScriptProvenance self) -> ScriptProvenance
15363 __init__(IMP::core::ScriptProvenance self, Model m, ParticleIndex id) -> ScriptProvenance
15364 __init__(IMP::core::ScriptProvenance self, _ParticleAdaptor d) -> ScriptProvenance
15366 this = _IMP_core.new_ScriptProvenance(*args)
15368 self.this.append(this)
15372 def get_is_setup(*args):
15374 get_is_setup(Model m, ParticleIndex pi) -> bool
15375 get_is_setup(_ParticleAdaptor p) -> bool
15377 return _IMP_core.ScriptProvenance_get_is_setup(*args)
15379 get_is_setup = staticmethod(get_is_setup)
15381 def show(self, *args):
15383 show(ScriptProvenance self, _ostream out)
15384 show(ScriptProvenance self)
15386 return _IMP_core.ScriptProvenance_show(self, *args)
15389 def setup_particle(*args):
15391 setup_particle(Model m, ParticleIndex pi, std::string filename) -> ScriptProvenance
15392 setup_particle(_ParticleAdaptor decorator, std::string filename) -> ScriptProvenance
15393 setup_particle(Model m, ParticleIndex pi, ScriptProvenance o) -> ScriptProvenance
15394 setup_particle(_ParticleAdaptor decorator, ScriptProvenance o) -> ScriptProvenance
15396 return _IMP_core.ScriptProvenance_setup_particle(*args)
15398 setup_particle = staticmethod(setup_particle)
15400 def add_attribute(self, *args):
15402 add_attribute(ScriptProvenance self, FloatKey k, IMP::Float v, bool opt)
15403 add_attribute(ScriptProvenance self, FloatKey a0, IMP::Float a1)
15404 add_attribute(ScriptProvenance self, IntKey a0, IMP::Int a1)
15405 add_attribute(ScriptProvenance self, FloatsKey a0, IMP::Floats a1)
15406 add_attribute(ScriptProvenance self, IntsKey a0, IMP::Ints a1)
15407 add_attribute(ScriptProvenance self, StringKey a0, IMP::String a1)
15408 add_attribute(ScriptProvenance self, ParticleIndexKey a0, Particle a1)
15409 add_attribute(ScriptProvenance self, ObjectKey a0, Object a1)
15411 return _IMP_core.ScriptProvenance_add_attribute(self, *args)
15414 def get_value(self, *args):
15416 get_value(ScriptProvenance self, FloatKey a0) -> IMP::Float
15417 get_value(ScriptProvenance self, IntKey a0) -> IMP::Int
15418 get_value(ScriptProvenance self, FloatsKey a0) -> IMP::Floats
15419 get_value(ScriptProvenance self, IntsKey a0) -> IMP::Ints
15420 get_value(ScriptProvenance self, StringKey a0) -> IMP::String
15421 get_value(ScriptProvenance self, ParticleIndexKey a0) -> Particle
15422 get_value(ScriptProvenance self, ObjectKey a0) -> Object
15424 return _IMP_core.ScriptProvenance_get_value(self, *args)
15427 def set_value(self, *args):
15429 set_value(ScriptProvenance self, FloatKey a0, IMP::Float a1)
15430 set_value(ScriptProvenance self, IntKey a0, IMP::Int a1)
15431 set_value(ScriptProvenance self, FloatsKey a0, IMP::Floats a1)
15432 set_value(ScriptProvenance self, IntsKey a0, IMP::Ints a1)
15433 set_value(ScriptProvenance self, StringKey a0, IMP::String a1)
15434 set_value(ScriptProvenance self, ParticleIndexKey a0, Particle a1)
15435 set_value(ScriptProvenance self, ObjectKey a0, Object a1)
15437 return _IMP_core.ScriptProvenance_set_value(self, *args)
15440 def remove_attribute(self, *args):
15442 remove_attribute(ScriptProvenance self, FloatKey a0)
15443 remove_attribute(ScriptProvenance self, IntKey a0)
15444 remove_attribute(ScriptProvenance self, FloatsKey a0)
15445 remove_attribute(ScriptProvenance self, IntsKey a0)
15446 remove_attribute(ScriptProvenance self, StringKey a0)
15447 remove_attribute(ScriptProvenance self, ParticleIndexKey a0)
15448 remove_attribute(ScriptProvenance self, ObjectKey a0)
15450 return _IMP_core.ScriptProvenance_remove_attribute(self, *args)
15453 def has_attribute(self, *args):
15455 has_attribute(ScriptProvenance self, FloatKey a0) -> bool
15456 has_attribute(ScriptProvenance self, IntKey a0) -> bool
15457 has_attribute(ScriptProvenance self, FloatsKey a0) -> bool
15458 has_attribute(ScriptProvenance self, IntsKey a0) -> bool
15459 has_attribute(ScriptProvenance self, StringKey a0) -> bool
15460 has_attribute(ScriptProvenance self, ParticleIndexKey a0) -> bool
15461 has_attribute(ScriptProvenance self, ObjectKey a0) -> bool
15463 return _IMP_core.ScriptProvenance_has_attribute(self, *args)
15466 def get_derivative(self, a0):
15467 """get_derivative(ScriptProvenance self, FloatKey a0) -> double"""
15468 return _IMP_core.ScriptProvenance_get_derivative(self, a0)
15471 def get_name(self):
15472 """get_name(ScriptProvenance self) -> std::string"""
15473 return _IMP_core.ScriptProvenance_get_name(self)
15476 def clear_caches(self):
15477 """clear_caches(ScriptProvenance self)"""
15478 return _IMP_core.ScriptProvenance_clear_caches(self)
15481 def set_name(self, a0):
15482 """set_name(ScriptProvenance self, std::string a0)"""
15483 return _IMP_core.ScriptProvenance_set_name(self, a0)
15487 """set_check_level(ScriptProvenance self, IMP::CheckLevel a0)"""
15488 return _IMP_core.ScriptProvenance_set_check_level(self, a0)
15491 def add_to_derivative(self, a0, a1, a2):
15492 """add_to_derivative(ScriptProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
15493 return _IMP_core.ScriptProvenance_add_to_derivative(self, a0, a1, a2)
15496 def set_is_optimized(self, a0, a1):
15497 """set_is_optimized(ScriptProvenance self, FloatKey a0, bool a1)"""
15498 return _IMP_core.ScriptProvenance_set_is_optimized(self, a0, a1)
15501 def get_is_optimized(self, a0):
15502 """get_is_optimized(ScriptProvenance self, FloatKey a0) -> bool"""
15503 return _IMP_core.ScriptProvenance_get_is_optimized(self, a0)
15507 """get_check_level(ScriptProvenance self) -> IMP::CheckLevel"""
15508 return _IMP_core.ScriptProvenance_get_check_level(self)
15511 def __eq__(self, *args):
15513 __eq__(ScriptProvenance self, ScriptProvenance o) -> bool
15514 __eq__(ScriptProvenance self, Particle d) -> bool
15516 return _IMP_core.ScriptProvenance___eq__(self, *args)
15519 def __ne__(self, *args):
15521 __ne__(ScriptProvenance self, ScriptProvenance o) -> bool
15522 __ne__(ScriptProvenance self, Particle d) -> bool
15524 return _IMP_core.ScriptProvenance___ne__(self, *args)
15527 def __le__(self, *args):
15529 __le__(ScriptProvenance self, ScriptProvenance o) -> bool
15530 __le__(ScriptProvenance self, Particle d) -> bool
15532 return _IMP_core.ScriptProvenance___le__(self, *args)
15535 def __lt__(self, *args):
15537 __lt__(ScriptProvenance self, ScriptProvenance o) -> bool
15538 __lt__(ScriptProvenance self, Particle d) -> bool
15540 return _IMP_core.ScriptProvenance___lt__(self, *args)
15543 def __ge__(self, *args):
15545 __ge__(ScriptProvenance self, ScriptProvenance o) -> bool
15546 __ge__(ScriptProvenance self, Particle d) -> bool
15548 return _IMP_core.ScriptProvenance___ge__(self, *args)
15551 def __gt__(self, *args):
15553 __gt__(ScriptProvenance self, ScriptProvenance o) -> bool
15554 __gt__(ScriptProvenance self, Particle d) -> bool
15556 return _IMP_core.ScriptProvenance___gt__(self, *args)
15559 def __hash__(self):
15560 """__hash__(ScriptProvenance self) -> std::size_t"""
15561 return _IMP_core.ScriptProvenance___hash__(self)
15565 """__str__(ScriptProvenance self) -> std::string"""
15566 return _IMP_core.ScriptProvenance___str__(self)
15569 def __repr__(self):
15570 """__repr__(ScriptProvenance self) -> std::string"""
15571 return _IMP_core.ScriptProvenance___repr__(self)
15573 __swig_destroy__ = _IMP_core.delete_ScriptProvenance
15574 __del__ =
lambda self:
None
15575 ScriptProvenance_swigregister = _IMP_core.ScriptProvenance_swigregister
15576 ScriptProvenance_swigregister(ScriptProvenance)
15578 def ScriptProvenance_get_is_setup(*args):
15580 get_is_setup(Model m, ParticleIndex pi) -> bool
15581 ScriptProvenance_get_is_setup(_ParticleAdaptor p) -> bool
15583 return _IMP_core.ScriptProvenance_get_is_setup(*args)
15585 def ScriptProvenance_setup_particle(*args):
15587 setup_particle(Model m, ParticleIndex pi, std::string filename) -> ScriptProvenance
15588 setup_particle(_ParticleAdaptor decorator, std::string filename) -> ScriptProvenance
15589 setup_particle(Model m, ParticleIndex pi, ScriptProvenance o) -> ScriptProvenance
15590 ScriptProvenance_setup_particle(_ParticleAdaptor decorator, ScriptProvenance o) -> ScriptProvenance
15592 return _IMP_core.ScriptProvenance_setup_particle(*args)
15594 class SoftwareProvenance(Provenance):
15595 """Proxy of C++ IMP::core::SoftwareProvenance class"""
15596 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
15598 def set_software_name(self, name):
15599 """set_software_name(SoftwareProvenance self, std::string name)"""
15600 return _IMP_core.SoftwareProvenance_set_software_name(self, name)
15603 def get_software_name(self):
15604 """get_software_name(SoftwareProvenance self) -> std::string"""
15605 return _IMP_core.SoftwareProvenance_get_software_name(self)
15608 def set_version(self, version):
15609 """set_version(SoftwareProvenance self, std::string version)"""
15610 return _IMP_core.SoftwareProvenance_set_version(self, version)
15613 def get_version(self):
15614 """get_version(SoftwareProvenance self) -> std::string"""
15615 return _IMP_core.SoftwareProvenance_get_version(self)
15618 def set_location(self, location):
15619 """set_location(SoftwareProvenance self, std::string location)"""
15620 return _IMP_core.SoftwareProvenance_set_location(self, location)
15623 def get_location(self):
15624 """get_location(SoftwareProvenance self) -> std::string"""
15625 return _IMP_core.SoftwareProvenance_get_location(self)
15628 def __init__(self, *args):
15630 __init__(IMP::core::SoftwareProvenance self) -> SoftwareProvenance
15631 __init__(IMP::core::SoftwareProvenance self, Model m, ParticleIndex id) -> SoftwareProvenance
15632 __init__(IMP::core::SoftwareProvenance self, _ParticleAdaptor d) -> SoftwareProvenance
15634 this = _IMP_core.new_SoftwareProvenance(*args)
15636 self.this.append(this)
15640 def get_is_setup(*args):
15642 get_is_setup(Model m, ParticleIndex pi) -> bool
15643 get_is_setup(_ParticleAdaptor p) -> bool
15645 return _IMP_core.SoftwareProvenance_get_is_setup(*args)
15647 get_is_setup = staticmethod(get_is_setup)
15649 def show(self, *args):
15651 show(SoftwareProvenance self, _ostream out)
15652 show(SoftwareProvenance self)
15654 return _IMP_core.SoftwareProvenance_show(self, *args)
15657 def setup_particle(*args):
15659 setup_particle(Model m, ParticleIndex pi, std::string name, std::string version, std::string location) -> SoftwareProvenance
15660 setup_particle(_ParticleAdaptor decorator, std::string name, std::string version, std::string location) -> SoftwareProvenance
15661 setup_particle(Model m, ParticleIndex pi, SoftwareProvenance o) -> SoftwareProvenance
15662 setup_particle(_ParticleAdaptor decorator, SoftwareProvenance o) -> SoftwareProvenance
15664 return _IMP_core.SoftwareProvenance_setup_particle(*args)
15666 setup_particle = staticmethod(setup_particle)
15668 def add_attribute(self, *args):
15670 add_attribute(SoftwareProvenance self, FloatKey k, IMP::Float v, bool opt)
15671 add_attribute(SoftwareProvenance self, FloatKey a0, IMP::Float a1)
15672 add_attribute(SoftwareProvenance self, IntKey a0, IMP::Int a1)
15673 add_attribute(SoftwareProvenance self, FloatsKey a0, IMP::Floats a1)
15674 add_attribute(SoftwareProvenance self, IntsKey a0, IMP::Ints a1)
15675 add_attribute(SoftwareProvenance self, StringKey a0, IMP::String a1)
15676 add_attribute(SoftwareProvenance self, ParticleIndexKey a0, Particle a1)
15677 add_attribute(SoftwareProvenance self, ObjectKey a0, Object a1)
15679 return _IMP_core.SoftwareProvenance_add_attribute(self, *args)
15682 def get_value(self, *args):
15684 get_value(SoftwareProvenance self, FloatKey a0) -> IMP::Float
15685 get_value(SoftwareProvenance self, IntKey a0) -> IMP::Int
15686 get_value(SoftwareProvenance self, FloatsKey a0) -> IMP::Floats
15687 get_value(SoftwareProvenance self, IntsKey a0) -> IMP::Ints
15688 get_value(SoftwareProvenance self, StringKey a0) -> IMP::String
15689 get_value(SoftwareProvenance self, ParticleIndexKey a0) -> Particle
15690 get_value(SoftwareProvenance self, ObjectKey a0) -> Object
15692 return _IMP_core.SoftwareProvenance_get_value(self, *args)
15695 def set_value(self, *args):
15697 set_value(SoftwareProvenance self, FloatKey a0, IMP::Float a1)
15698 set_value(SoftwareProvenance self, IntKey a0, IMP::Int a1)
15699 set_value(SoftwareProvenance self, FloatsKey a0, IMP::Floats a1)
15700 set_value(SoftwareProvenance self, IntsKey a0, IMP::Ints a1)
15701 set_value(SoftwareProvenance self, StringKey a0, IMP::String a1)
15702 set_value(SoftwareProvenance self, ParticleIndexKey a0, Particle a1)
15703 set_value(SoftwareProvenance self, ObjectKey a0, Object a1)
15705 return _IMP_core.SoftwareProvenance_set_value(self, *args)
15708 def remove_attribute(self, *args):
15710 remove_attribute(SoftwareProvenance self, FloatKey a0)
15711 remove_attribute(SoftwareProvenance self, IntKey a0)
15712 remove_attribute(SoftwareProvenance self, FloatsKey a0)
15713 remove_attribute(SoftwareProvenance self, IntsKey a0)
15714 remove_attribute(SoftwareProvenance self, StringKey a0)
15715 remove_attribute(SoftwareProvenance self, ParticleIndexKey a0)
15716 remove_attribute(SoftwareProvenance self, ObjectKey a0)
15718 return _IMP_core.SoftwareProvenance_remove_attribute(self, *args)
15721 def has_attribute(self, *args):
15723 has_attribute(SoftwareProvenance self, FloatKey a0) -> bool
15724 has_attribute(SoftwareProvenance self, IntKey a0) -> bool
15725 has_attribute(SoftwareProvenance self, FloatsKey a0) -> bool
15726 has_attribute(SoftwareProvenance self, IntsKey a0) -> bool
15727 has_attribute(SoftwareProvenance self, StringKey a0) -> bool
15728 has_attribute(SoftwareProvenance self, ParticleIndexKey a0) -> bool
15729 has_attribute(SoftwareProvenance self, ObjectKey a0) -> bool
15731 return _IMP_core.SoftwareProvenance_has_attribute(self, *args)
15734 def get_derivative(self, a0):
15735 """get_derivative(SoftwareProvenance self, FloatKey a0) -> double"""
15736 return _IMP_core.SoftwareProvenance_get_derivative(self, a0)
15739 def get_name(self):
15740 """get_name(SoftwareProvenance self) -> std::string"""
15741 return _IMP_core.SoftwareProvenance_get_name(self)
15744 def clear_caches(self):
15745 """clear_caches(SoftwareProvenance self)"""
15746 return _IMP_core.SoftwareProvenance_clear_caches(self)
15749 def set_name(self, a0):
15750 """set_name(SoftwareProvenance self, std::string a0)"""
15751 return _IMP_core.SoftwareProvenance_set_name(self, a0)
15755 """set_check_level(SoftwareProvenance self, IMP::CheckLevel a0)"""
15756 return _IMP_core.SoftwareProvenance_set_check_level(self, a0)
15759 def add_to_derivative(self, a0, a1, a2):
15760 """add_to_derivative(SoftwareProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
15761 return _IMP_core.SoftwareProvenance_add_to_derivative(self, a0, a1, a2)
15764 def set_is_optimized(self, a0, a1):
15765 """set_is_optimized(SoftwareProvenance self, FloatKey a0, bool a1)"""
15766 return _IMP_core.SoftwareProvenance_set_is_optimized(self, a0, a1)
15769 def get_is_optimized(self, a0):
15770 """get_is_optimized(SoftwareProvenance self, FloatKey a0) -> bool"""
15771 return _IMP_core.SoftwareProvenance_get_is_optimized(self, a0)
15775 """get_check_level(SoftwareProvenance self) -> IMP::CheckLevel"""
15776 return _IMP_core.SoftwareProvenance_get_check_level(self)
15779 def __eq__(self, *args):
15781 __eq__(SoftwareProvenance self, SoftwareProvenance o) -> bool
15782 __eq__(SoftwareProvenance self, Particle d) -> bool
15784 return _IMP_core.SoftwareProvenance___eq__(self, *args)
15787 def __ne__(self, *args):
15789 __ne__(SoftwareProvenance self, SoftwareProvenance o) -> bool
15790 __ne__(SoftwareProvenance self, Particle d) -> bool
15792 return _IMP_core.SoftwareProvenance___ne__(self, *args)
15795 def __le__(self, *args):
15797 __le__(SoftwareProvenance self, SoftwareProvenance o) -> bool
15798 __le__(SoftwareProvenance self, Particle d) -> bool
15800 return _IMP_core.SoftwareProvenance___le__(self, *args)
15803 def __lt__(self, *args):
15805 __lt__(SoftwareProvenance self, SoftwareProvenance o) -> bool
15806 __lt__(SoftwareProvenance self, Particle d) -> bool
15808 return _IMP_core.SoftwareProvenance___lt__(self, *args)
15811 def __ge__(self, *args):
15813 __ge__(SoftwareProvenance self, SoftwareProvenance o) -> bool
15814 __ge__(SoftwareProvenance self, Particle d) -> bool
15816 return _IMP_core.SoftwareProvenance___ge__(self, *args)
15819 def __gt__(self, *args):
15821 __gt__(SoftwareProvenance self, SoftwareProvenance o) -> bool
15822 __gt__(SoftwareProvenance self, Particle d) -> bool
15824 return _IMP_core.SoftwareProvenance___gt__(self, *args)
15827 def __hash__(self):
15828 """__hash__(SoftwareProvenance self) -> std::size_t"""
15829 return _IMP_core.SoftwareProvenance___hash__(self)
15833 """__str__(SoftwareProvenance self) -> std::string"""
15834 return _IMP_core.SoftwareProvenance___str__(self)
15837 def __repr__(self):
15838 """__repr__(SoftwareProvenance self) -> std::string"""
15839 return _IMP_core.SoftwareProvenance___repr__(self)
15841 __swig_destroy__ = _IMP_core.delete_SoftwareProvenance
15842 __del__ =
lambda self:
None
15843 SoftwareProvenance_swigregister = _IMP_core.SoftwareProvenance_swigregister
15844 SoftwareProvenance_swigregister(SoftwareProvenance)
15846 def SoftwareProvenance_get_is_setup(*args):
15848 get_is_setup(Model m, ParticleIndex pi) -> bool
15849 SoftwareProvenance_get_is_setup(_ParticleAdaptor p) -> bool
15851 return _IMP_core.SoftwareProvenance_get_is_setup(*args)
15853 def SoftwareProvenance_setup_particle(*args):
15855 setup_particle(Model m, ParticleIndex pi, std::string name, std::string version, std::string location) -> SoftwareProvenance
15856 setup_particle(_ParticleAdaptor decorator, std::string name, std::string version, std::string location) -> SoftwareProvenance
15857 setup_particle(Model m, ParticleIndex pi, SoftwareProvenance o) -> SoftwareProvenance
15858 SoftwareProvenance_setup_particle(_ParticleAdaptor decorator, SoftwareProvenance o) -> SoftwareProvenance
15860 return _IMP_core.SoftwareProvenance_setup_particle(*args)
15863 """Proxy of C++ IMP::core::Provenanced class"""
15864 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
15866 def get_provenance(self):
15867 """get_provenance(Provenanced self) -> Provenance"""
15868 return _IMP_core.Provenanced_get_provenance(self)
15871 def set_provenance(self, p):
15872 """set_provenance(Provenanced self, Provenance p)"""
15873 return _IMP_core.Provenanced_set_provenance(self, p)
15876 def __init__(self, *args):
15878 __init__(IMP::core::Provenanced self) -> Provenanced
15879 __init__(IMP::core::Provenanced self, Model m, ParticleIndex id) -> Provenanced
15880 __init__(IMP::core::Provenanced self, _ParticleAdaptor d) -> Provenanced
15882 this = _IMP_core.new_Provenanced(*args)
15884 self.this.append(this)
15888 def get_is_setup(*args):
15890 get_is_setup(Model m, ParticleIndex pi) -> bool
15891 get_is_setup(_ParticleAdaptor p) -> bool
15893 return _IMP_core.Provenanced_get_is_setup(*args)
15895 get_is_setup = staticmethod(get_is_setup)
15897 def show(self, *args):
15899 show(Provenanced self, _ostream out)
15900 show(Provenanced self)
15902 return _IMP_core.Provenanced_show(self, *args)
15905 def setup_particle(*args):
15907 setup_particle(Model m, ParticleIndex pi, Provenance p) -> Provenanced
15908 setup_particle(_ParticleAdaptor decorator, Provenance p) -> Provenanced
15910 return _IMP_core.Provenanced_setup_particle(*args)
15912 setup_particle = staticmethod(setup_particle)
15914 def add_attribute(self, *args):
15916 add_attribute(Provenanced self, FloatKey k, IMP::Float v, bool opt)
15917 add_attribute(Provenanced self, FloatKey a0, IMP::Float a1)
15918 add_attribute(Provenanced self, IntKey a0, IMP::Int a1)
15919 add_attribute(Provenanced self, FloatsKey a0, IMP::Floats a1)
15920 add_attribute(Provenanced self, IntsKey a0, IMP::Ints a1)
15921 add_attribute(Provenanced self, StringKey a0, IMP::String a1)
15922 add_attribute(Provenanced self, ParticleIndexKey a0, Particle a1)
15923 add_attribute(Provenanced self, ObjectKey a0, Object a1)
15925 return _IMP_core.Provenanced_add_attribute(self, *args)
15928 def get_value(self, *args):
15930 get_value(Provenanced self, FloatKey a0) -> IMP::Float
15931 get_value(Provenanced self, IntKey a0) -> IMP::Int
15932 get_value(Provenanced self, FloatsKey a0) -> IMP::Floats
15933 get_value(Provenanced self, IntsKey a0) -> IMP::Ints
15934 get_value(Provenanced self, StringKey a0) -> IMP::String
15935 get_value(Provenanced self, ParticleIndexKey a0) -> Particle
15936 get_value(Provenanced self, ObjectKey a0) -> Object
15938 return _IMP_core.Provenanced_get_value(self, *args)
15941 def set_value(self, *args):
15943 set_value(Provenanced self, FloatKey a0, IMP::Float a1)
15944 set_value(Provenanced self, IntKey a0, IMP::Int a1)
15945 set_value(Provenanced self, FloatsKey a0, IMP::Floats a1)
15946 set_value(Provenanced self, IntsKey a0, IMP::Ints a1)
15947 set_value(Provenanced self, StringKey a0, IMP::String a1)
15948 set_value(Provenanced self, ParticleIndexKey a0, Particle a1)
15949 set_value(Provenanced self, ObjectKey a0, Object a1)
15951 return _IMP_core.Provenanced_set_value(self, *args)
15954 def remove_attribute(self, *args):
15956 remove_attribute(Provenanced self, FloatKey a0)
15957 remove_attribute(Provenanced self, IntKey a0)
15958 remove_attribute(Provenanced self, FloatsKey a0)
15959 remove_attribute(Provenanced self, IntsKey a0)
15960 remove_attribute(Provenanced self, StringKey a0)
15961 remove_attribute(Provenanced self, ParticleIndexKey a0)
15962 remove_attribute(Provenanced self, ObjectKey a0)
15964 return _IMP_core.Provenanced_remove_attribute(self, *args)
15967 def has_attribute(self, *args):
15969 has_attribute(Provenanced self, FloatKey a0) -> bool
15970 has_attribute(Provenanced self, IntKey a0) -> bool
15971 has_attribute(Provenanced self, FloatsKey a0) -> bool
15972 has_attribute(Provenanced self, IntsKey a0) -> bool
15973 has_attribute(Provenanced self, StringKey a0) -> bool
15974 has_attribute(Provenanced self, ParticleIndexKey a0) -> bool
15975 has_attribute(Provenanced self, ObjectKey a0) -> bool
15977 return _IMP_core.Provenanced_has_attribute(self, *args)
15980 def get_derivative(self, a0):
15981 """get_derivative(Provenanced self, FloatKey a0) -> double"""
15982 return _IMP_core.Provenanced_get_derivative(self, a0)
15985 def get_name(self):
15986 """get_name(Provenanced self) -> std::string"""
15987 return _IMP_core.Provenanced_get_name(self)
15990 def clear_caches(self):
15991 """clear_caches(Provenanced self)"""
15992 return _IMP_core.Provenanced_clear_caches(self)
15995 def set_name(self, a0):
15996 """set_name(Provenanced self, std::string a0)"""
15997 return _IMP_core.Provenanced_set_name(self, a0)
16001 """set_check_level(Provenanced self, IMP::CheckLevel a0)"""
16002 return _IMP_core.Provenanced_set_check_level(self, a0)
16005 def add_to_derivative(self, a0, a1, a2):
16006 """add_to_derivative(Provenanced self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
16007 return _IMP_core.Provenanced_add_to_derivative(self, a0, a1, a2)
16010 def set_is_optimized(self, a0, a1):
16011 """set_is_optimized(Provenanced self, FloatKey a0, bool a1)"""
16012 return _IMP_core.Provenanced_set_is_optimized(self, a0, a1)
16015 def get_is_optimized(self, a0):
16016 """get_is_optimized(Provenanced self, FloatKey a0) -> bool"""
16017 return _IMP_core.Provenanced_get_is_optimized(self, a0)
16021 """get_check_level(Provenanced self) -> IMP::CheckLevel"""
16022 return _IMP_core.Provenanced_get_check_level(self)
16025 def __eq__(self, *args):
16027 __eq__(Provenanced self, Provenanced o) -> bool
16028 __eq__(Provenanced self, Particle d) -> bool
16030 return _IMP_core.Provenanced___eq__(self, *args)
16033 def __ne__(self, *args):
16035 __ne__(Provenanced self, Provenanced o) -> bool
16036 __ne__(Provenanced self, Particle d) -> bool
16038 return _IMP_core.Provenanced___ne__(self, *args)
16041 def __le__(self, *args):
16043 __le__(Provenanced self, Provenanced o) -> bool
16044 __le__(Provenanced self, Particle d) -> bool
16046 return _IMP_core.Provenanced___le__(self, *args)
16049 def __lt__(self, *args):
16051 __lt__(Provenanced self, Provenanced o) -> bool
16052 __lt__(Provenanced self, Particle d) -> bool
16054 return _IMP_core.Provenanced___lt__(self, *args)
16057 def __ge__(self, *args):
16059 __ge__(Provenanced self, Provenanced o) -> bool
16060 __ge__(Provenanced self, Particle d) -> bool
16062 return _IMP_core.Provenanced___ge__(self, *args)
16065 def __gt__(self, *args):
16067 __gt__(Provenanced self, Provenanced o) -> bool
16068 __gt__(Provenanced self, Particle d) -> bool
16070 return _IMP_core.Provenanced___gt__(self, *args)
16073 def __hash__(self):
16074 """__hash__(Provenanced self) -> std::size_t"""
16075 return _IMP_core.Provenanced___hash__(self)
16079 """__str__(Provenanced self) -> std::string"""
16080 return _IMP_core.Provenanced___str__(self)
16083 def __repr__(self):
16084 """__repr__(Provenanced self) -> std::string"""
16085 return _IMP_core.Provenanced___repr__(self)
16087 __swig_destroy__ = _IMP_core.delete_Provenanced
16088 __del__ =
lambda self:
None
16089 Provenanced_swigregister = _IMP_core.Provenanced_swigregister
16090 Provenanced_swigregister(Provenanced)
16092 def Provenanced_get_is_setup(*args):
16094 get_is_setup(Model m, ParticleIndex pi) -> bool
16095 Provenanced_get_is_setup(_ParticleAdaptor p) -> bool
16097 return _IMP_core.Provenanced_get_is_setup(*args)
16099 def Provenanced_setup_particle(*args):
16101 setup_particle(Model m, ParticleIndex pi, Provenance p) -> Provenanced
16102 Provenanced_setup_particle(_ParticleAdaptor decorator, Provenance p) -> Provenanced
16104 return _IMP_core.Provenanced_setup_particle(*args)
16108 """add_provenance(Model m, ParticleIndex pi, Provenance p)"""
16109 return _IMP_core.add_provenance(m, pi, p)
16112 """create_clone(Provenance p) -> Provenance"""
16113 return _IMP_core.create_clone(p)
16117 get_transformation_aligning_first_to_second(IMP::ParticlesTemp const & a, IMP::ParticlesTemp const & b) -> Transformation3D
16118 get_transformation_aligning_first_to_second(IMP::ParticlesTemp const & a, IMP::Vector< IMP::algebra::VectorD< 3 > > const & b) -> Transformation3D
16119 get_transformation_aligning_first_to_second(IMP::Vector< IMP::algebra::VectorD< 3 > > const & a, IMP::ParticlesTemp const & b) -> Transformation3D
16121 return _IMP_core.get_transformation_aligning_first_to_second(*args)
16124 """create_restraint(PairScore ps, IMP::ParticlePair pp) -> Restraint"""
16125 return _IMP_core.create_restraint(ps, pp)
16127 """Proxy of C++ IMP::core::TruncatedHarmonic<(IMP::core::LOWER)> class"""
16128 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
16130 def __init__(self, *args):
16132 __init__(IMP::core::TruncatedHarmonic<(IMP::core::LOWER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold, IMP::Float limit) -> TruncatedHarmonicLowerBound
16133 __init__(IMP::core::TruncatedHarmonic<(IMP::core::LOWER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold) -> TruncatedHarmonicLowerBound
16135 this = _IMP_core.new_TruncatedHarmonicLowerBound(*args)
16137 self.this.append(this)
16141 def get_version_info(self):
16142 """get_version_info(TruncatedHarmonicLowerBound self) -> VersionInfo"""
16143 return _IMP_core.TruncatedHarmonicLowerBound_get_version_info(self)
16147 """__str__(TruncatedHarmonicLowerBound self) -> std::string"""
16148 return _IMP_core.TruncatedHarmonicLowerBound___str__(self)
16151 def __repr__(self):
16152 """__repr__(TruncatedHarmonicLowerBound self) -> std::string"""
16153 return _IMP_core.TruncatedHarmonicLowerBound___repr__(self)
16158 return _object_cast_to_TruncatedHarmonic(o)
16160 TruncatedHarmonicLowerBound_swigregister = _IMP_core.TruncatedHarmonicLowerBound_swigregister
16161 TruncatedHarmonicLowerBound_swigregister(TruncatedHarmonicLowerBound)
16164 """Proxy of C++ IMP::core::TruncatedHarmonic<(IMP::core::UPPER)> class"""
16165 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
16167 def __init__(self, *args):
16169 __init__(IMP::core::TruncatedHarmonic<(IMP::core::UPPER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold, IMP::Float limit) -> TruncatedHarmonicUpperBound
16170 __init__(IMP::core::TruncatedHarmonic<(IMP::core::UPPER)> self, IMP::Float center, IMP::Float k, IMP::Float threshold) -> TruncatedHarmonicUpperBound
16172 this = _IMP_core.new_TruncatedHarmonicUpperBound(*args)
16174 self.this.append(this)
16178 def get_version_info(self):
16179 """get_version_info(TruncatedHarmonicUpperBound self) -> VersionInfo"""
16180 return _IMP_core.TruncatedHarmonicUpperBound_get_version_info(self)
16184 """__str__(TruncatedHarmonicUpperBound self) -> std::string"""
16185 return _IMP_core.TruncatedHarmonicUpperBound___str__(self)
16188 def __repr__(self):
16189 """__repr__(TruncatedHarmonicUpperBound self) -> std::string"""
16190 return _IMP_core.TruncatedHarmonicUpperBound___repr__(self)
16195 return _object_cast_to_TruncatedHarmonic(o)
16197 TruncatedHarmonicUpperBound_swigregister = _IMP_core.TruncatedHarmonicUpperBound_swigregister
16198 TruncatedHarmonicUpperBound_swigregister(TruncatedHarmonicUpperBound)
16201 """Proxy of C++ IMP::core::TruncatedHarmonic<(IMP::core::BOTH)> class"""
16202 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
16204 def __init__(self, *args):
16206 __init__(IMP::core::TruncatedHarmonic<(IMP::core::BOTH)> self, IMP::Float center, IMP::Float k, IMP::Float threshold, IMP::Float limit) -> TruncatedHarmonicBound
16207 __init__(IMP::core::TruncatedHarmonic<(IMP::core::BOTH)> self, IMP::Float center, IMP::Float k, IMP::Float threshold) -> TruncatedHarmonicBound
16209 this = _IMP_core.new_TruncatedHarmonicBound(*args)
16211 self.this.append(this)
16215 def get_version_info(self):
16216 """get_version_info(TruncatedHarmonicBound self) -> VersionInfo"""
16217 return _IMP_core.TruncatedHarmonicBound_get_version_info(self)
16221 """__str__(TruncatedHarmonicBound self) -> std::string"""
16222 return _IMP_core.TruncatedHarmonicBound___str__(self)
16225 def __repr__(self):
16226 """__repr__(TruncatedHarmonicBound self) -> std::string"""
16227 return _IMP_core.TruncatedHarmonicBound___repr__(self)
16232 return _object_cast_to_TruncatedHarmonic(o)
16234 TruncatedHarmonicBound_swigregister = _IMP_core.TruncatedHarmonicBound_swigregister
16235 TruncatedHarmonicBound_swigregister(TruncatedHarmonicBound)
16238 """Proxy of C++ IMP::Key<(34897493)> class"""
16239 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
16241 def __init__(self, *args):
16243 __init__(IMP::Key<(34897493)> self) -> ParticleType
16244 __init__(IMP::Key<(34897493)> self, std::string const & c, bool is_implicit_add_permitted=True) -> ParticleType
16245 __init__(IMP::Key<(34897493)> self, std::string const & c) -> ParticleType
16246 __init__(IMP::Key<(34897493)> self, unsigned int i) -> ParticleType
16248 this = _IMP_core.new_ParticleType(*args)
16250 self.this.append(this)
16255 """add_key(std::string sc) -> unsigned int"""
16256 return _IMP_core.ParticleType_add_key(sc)
16258 add_key = staticmethod(add_key)
16260 def get_key_exists(sc):
16261 """get_key_exists(std::string sc) -> bool"""
16262 return _IMP_core.ParticleType_get_key_exists(sc)
16264 get_key_exists = staticmethod(get_key_exists)
16266 def get_string(self):
16267 """get_string(ParticleType self) -> std::string const"""
16268 return _IMP_core.ParticleType_get_string(self)
16271 def __cmp__(self, o):
16272 """__cmp__(ParticleType self, ParticleType o) -> int"""
16273 return _IMP_core.ParticleType___cmp__(self, o)
16276 def __eq__(self, o):
16277 """__eq__(ParticleType self, ParticleType o) -> bool"""
16278 return _IMP_core.ParticleType___eq__(self, o)
16281 def __ne__(self, o):
16282 """__ne__(ParticleType self, ParticleType o) -> bool"""
16283 return _IMP_core.ParticleType___ne__(self, o)
16286 def __lt__(self, o):
16287 """__lt__(ParticleType self, ParticleType o) -> bool"""
16288 return _IMP_core.ParticleType___lt__(self, o)
16291 def __gt__(self, o):
16292 """__gt__(ParticleType self, ParticleType o) -> bool"""
16293 return _IMP_core.ParticleType___gt__(self, o)
16296 def __ge__(self, o):
16297 """__ge__(ParticleType self, ParticleType o) -> bool"""
16298 return _IMP_core.ParticleType___ge__(self, o)
16301 def __le__(self, o):
16302 """__le__(ParticleType self, ParticleType o) -> bool"""
16303 return _IMP_core.ParticleType___le__(self, o)
16306 def __hash__(self):
16307 """__hash__(ParticleType self) -> std::size_t"""
16308 return _IMP_core.ParticleType___hash__(self)
16311 def show(self, *args):
16313 show(ParticleType self, _ostream out)
16314 show(ParticleType self)
16316 return _IMP_core.ParticleType_show(self, *args)
16319 def add_alias(old_key, new_name):
16320 """add_alias(ParticleType old_key, std::string new_name) -> ParticleType"""
16321 return _IMP_core.ParticleType_add_alias(old_key, new_name)
16323 add_alias = staticmethod(add_alias)
16325 def get_number_of_keys():
16326 """get_number_of_keys() -> unsigned int"""
16327 return _IMP_core.ParticleType_get_number_of_keys()
16329 get_number_of_keys = staticmethod(get_number_of_keys)
16332 """get_index(ParticleType self) -> unsigned int"""
16333 return _IMP_core.ParticleType_get_index(self)
16337 """show_all(_ostream out)"""
16338 return _IMP_core.ParticleType_show_all(out)
16340 show_all = staticmethod(show_all)
16342 def get_all_strings():
16343 """get_all_strings() -> IMP::Vector< std::string >"""
16344 return _IMP_core.ParticleType_get_all_strings()
16346 get_all_strings = staticmethod(get_all_strings)
16348 def get_number_unique():
16349 """get_number_unique() -> unsigned int"""
16350 return _IMP_core.ParticleType_get_number_unique()
16352 get_number_unique = staticmethod(get_number_unique)
16355 """__str__(ParticleType self) -> std::string"""
16356 return _IMP_core.ParticleType___str__(self)
16359 def __repr__(self):
16360 """__repr__(ParticleType self) -> std::string"""
16361 return _IMP_core.ParticleType___repr__(self)
16363 __swig_destroy__ = _IMP_core.delete_ParticleType
16364 __del__ =
lambda self:
None
16365 ParticleType_swigregister = _IMP_core.ParticleType_swigregister
16366 ParticleType_swigregister(ParticleType)
16368 def ParticleType_add_key(sc):
16369 """ParticleType_add_key(std::string sc) -> unsigned int"""
16370 return _IMP_core.ParticleType_add_key(sc)
16372 def ParticleType_get_key_exists(sc):
16373 """ParticleType_get_key_exists(std::string sc) -> bool"""
16374 return _IMP_core.ParticleType_get_key_exists(sc)
16376 def ParticleType_add_alias(old_key, new_name):
16377 """ParticleType_add_alias(ParticleType old_key, std::string new_name) -> ParticleType"""
16378 return _IMP_core.ParticleType_add_alias(old_key, new_name)
16380 def ParticleType_get_number_of_keys():
16381 """ParticleType_get_number_of_keys() -> unsigned int"""
16382 return _IMP_core.ParticleType_get_number_of_keys()
16384 def ParticleType_show_all(out):
16385 """ParticleType_show_all(_ostream out)"""
16386 return _IMP_core.ParticleType_show_all(out)
16388 def ParticleType_get_all_strings():
16389 """ParticleType_get_all_strings() -> IMP::Vector< std::string >"""
16390 return _IMP_core.ParticleType_get_all_strings()
16392 def ParticleType_get_number_unique():
16393 """ParticleType_get_number_unique() -> unsigned int"""
16394 return _IMP_core.ParticleType_get_number_unique()
16397 """Proxy of C++ IMP::core::GenericAttributeSingletonScore<(UnaryFunction)> class"""
16398 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
16399 __repr__ = _swig_repr
16401 def __init__(self, f, k):
16402 """__init__(IMP::core::GenericAttributeSingletonScore<(UnaryFunction)> self, UnaryFunction f, FloatKey k) -> AttributeSingletonScore"""
16403 this = _IMP_core.new_AttributeSingletonScore(f, k)
16405 self.this.append(this)
16409 def do_get_inputs(self, m, pis):
16410 """do_get_inputs(AttributeSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
16411 return _IMP_core.AttributeSingletonScore_do_get_inputs(self, m, pis)
16414 def get_unary_function(self):
16415 """get_unary_function(AttributeSingletonScore self) -> UnaryFunction"""
16416 return _IMP_core.AttributeSingletonScore_get_unary_function(self)
16419 def get_version_info(self):
16420 """get_version_info(AttributeSingletonScore self) -> VersionInfo"""
16421 return _IMP_core.AttributeSingletonScore_get_version_info(self)
16423 AttributeSingletonScore_swigregister = _IMP_core.AttributeSingletonScore_swigregister
16424 AttributeSingletonScore_swigregister(AttributeSingletonScore)
16428 """create_generic_attribute_singleton_score(UnaryFunction uf, FloatKey k) -> AttributeSingletonScore"""
16429 return _IMP_core.create_generic_attribute_singleton_score(uf, k)
16431 """Proxy of C++ IMP::core::GenericBoundingBox3DSingletonScore<(UnaryFunction)> class"""
16432 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
16433 __repr__ = _swig_repr
16435 def __init__(self, f, bb):
16436 """__init__(IMP::core::GenericBoundingBox3DSingletonScore<(UnaryFunction)> self, UnaryFunction f, BoundingBox3D bb) -> BoundingBox3DSingletonScore"""
16437 this = _IMP_core.new_BoundingBox3DSingletonScore(f, bb)
16439 self.this.append(this)
16443 def do_get_inputs(self, m, pis):
16444 """do_get_inputs(BoundingBox3DSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
16445 return _IMP_core.BoundingBox3DSingletonScore_do_get_inputs(self, m, pis)
16448 def get_version_info(self):
16449 """get_version_info(BoundingBox3DSingletonScore self) -> VersionInfo"""
16450 return _IMP_core.BoundingBox3DSingletonScore_get_version_info(self)
16452 BoundingBox3DSingletonScore_swigregister = _IMP_core.BoundingBox3DSingletonScore_swigregister
16453 BoundingBox3DSingletonScore_swigregister(BoundingBox3DSingletonScore)
16456 def create_bounding_box_3d_singleton_score(f, bb):
16457 """create_bounding_box_3d_singleton_score(UnaryFunction f, BoundingBox3D bb) -> BoundingBox3DSingletonScore"""
16458 return _IMP_core.create_bounding_box_3d_singleton_score(f, bb)
16460 """Proxy of C++ IMP::core::GenericBoundingSphere3DSingletonScore<(UnaryFunction)> class"""
16461 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
16462 __repr__ = _swig_repr
16464 def __init__(self, f, sphere):
16465 """__init__(IMP::core::GenericBoundingSphere3DSingletonScore<(UnaryFunction)> self, UnaryFunction f, Sphere3D sphere) -> BoundingSphere3DSingletonScore"""
16466 this = _IMP_core.new_BoundingSphere3DSingletonScore(f, sphere)
16468 self.this.append(this)
16472 def do_get_inputs(self, m, pis):
16473 """do_get_inputs(BoundingSphere3DSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
16474 return _IMP_core.BoundingSphere3DSingletonScore_do_get_inputs(self, m, pis)
16477 def get_version_info(self):
16478 """get_version_info(BoundingSphere3DSingletonScore self) -> VersionInfo"""
16479 return _IMP_core.BoundingSphere3DSingletonScore_get_version_info(self)
16481 BoundingSphere3DSingletonScore_swigregister = _IMP_core.BoundingSphere3DSingletonScore_swigregister
16482 BoundingSphere3DSingletonScore_swigregister(BoundingSphere3DSingletonScore)
16485 def create_bounding_sphere_3d_singleton_score(f, sphere):
16486 """create_bounding_sphere_3d_singleton_score(UnaryFunction f, Sphere3D sphere) -> BoundingSphere3DSingletonScore"""
16487 return _IMP_core.create_bounding_sphere_3d_singleton_score(f, sphere)
16489 """Proxy of C++ IMP::core::GenericDistanceToSingletonScore<(UnaryFunction)> class"""
16490 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
16491 __repr__ = _swig_repr
16493 def __init__(self, f, pt):
16494 """__init__(IMP::core::GenericDistanceToSingletonScore<(UnaryFunction)> self, UnaryFunction f, Vector3D pt) -> DistanceToSingletonScore"""
16495 this = _IMP_core.new_DistanceToSingletonScore(f, pt)
16497 self.this.append(this)
16501 def do_get_inputs(self, m, pis):
16502 """do_get_inputs(DistanceToSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
16503 return _IMP_core.DistanceToSingletonScore_do_get_inputs(self, m, pis)
16506 def get_version_info(self):
16507 """get_version_info(DistanceToSingletonScore self) -> VersionInfo"""
16508 return _IMP_core.DistanceToSingletonScore_get_version_info(self)
16510 DistanceToSingletonScore_swigregister = _IMP_core.DistanceToSingletonScore_swigregister
16511 DistanceToSingletonScore_swigregister(DistanceToSingletonScore)
16514 def create_distance_to_singleton_score(f, pt):
16515 """create_distance_to_singleton_score(UnaryFunction f, Vector3D pt) -> DistanceToSingletonScore"""
16516 return _IMP_core.create_distance_to_singleton_score(f, pt)
16520 CombineProvenance, FilterProvenance,
16521 ClusterProvenance, ScriptProvenance,
16522 SoftwareProvenance]):
16523 """Yield all provenance decorators of the given types for the particle.
16524 By default, all provenance types are returned. Provenance is returned
16525 in order, most recent first. If the particle has no provenance
16526 information, an empty generator is returned."""
16527 if Provenanced.get_is_setup(p):
16531 if c.get_is_setup(prov):
16533 prov = prov.get_previous()
16536 """Tag the given particle with the current Python script.
16537 This is a noop if the particle is already so tagged."""
16538 main = sys.modules[
'__main__']
16540 if not hasattr(main,
'__file__'):
16544 if prov.get_filename() == f:
16548 provp.set_name(
'script')
16549 prov = ScriptProvenance.setup_particle(provp, f)
16553 """Tag the given particle with the software used to create it.
16554 This is a noop if the particle is already so tagged."""
16556 if prov.get_software_name() == name
and prov.get_version() == version \
16557 and prov.get_location() == location:
16561 provp.set_name(
'software')
16562 prov = SoftwareProvenance.setup_particle(provp, name, version, location)
16566 """Tag the given particle as being created by the current version of IMP."""
16569 location=
"https://integrativemodeling.org")
16573 """get_module_version() -> std::string const"""
16574 return _IMP_core.get_module_version()
16577 """get_example_path(std::string fname) -> std::string"""
16578 return _IMP_core.get_example_path(fname)
16581 """get_data_path(std::string fname) -> std::string"""
16582 return _IMP_core.get_data_path(fname)
16584 from .
import _version_check
F visit_breadth_first(HD d, F f)
Apply the visitor to each particle, breadth first.
A base class for geometry contained in particles.
A base class for modifiers of ParticlesTemp.
GenericDistanceToSingletonScore< UnaryFunction > DistanceToSingletonScore
double get_kt(double T)
Return kT for a given temperature in units of [kcal/mol].
Abstract class for scoring object(s) of type ParticleIndexPair.
double get_height(const Surface &s, const XYZR &d)
Get height of sphere above surface.
algebra::Transformation3D get_transformation_aligning_first_to_second(XYZsOrVector3ds a, XYZsOrVector3ds b)
double get_mean(const cv::Mat &mat, const cvIntMat &mask)
CheckLevel get_check_level()
Get the current audit mode.
def add_script_provenance
Tag the given particle with the current Python script.
GenericBoundingSphere3DSingletonScore< UnaryFunction > BoundingSphere3DSingletonScore
Abstract predicate function.
Restraint * create_restraint(Score *s, const typename Score::Argument &t, std::string name=std::string())
ParticleIndex get_root_rigid_body(RigidMember m)
Return the index of the outer-most rigid body containing the member.
algebra::ReferenceFrame3D get_initial_reference_frame(Model *m, const ParticleIndexes &pis)
The base class for geometry.
F visit_depth_first(HD d, F &f)
Apply functor F to each particle, traversing the hierarchy depth first.
XYZRs create_xyzr_particles(Model *m, unsigned int num, Float radius, Float box_side=10)
Create a set of particles with random coordinates.
A base class for geometry contained in particles.
double get_angle(Direction a, Direction b)
Get angle between directions.
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.
Make CGAL functionality available to IMP.
Provenance create_clone(Provenance p)
Clone provenance (including previous provenance)
ParticlesTemp create_rigid_bodies(Model *m, unsigned int n, bool no_members=false)
std::string get_data_path(std::string file_name)
Return the full path to one of this module's data files.
void add_rigid_body_cache_key(ObjectKey k)
Base class for all samplers.
Key< 34897493 > ParticleType
An IMP::Key object for identifying types of particles by strings.
algebra::Vector3D get_centroid(const XYZs &ps)
Get the centroid.
void add_particle(RMF::FileHandle fh, Particle *hs)
GenericHierarchies get_leaves(Hierarchy mhd)
Get all the leaves of the bit of hierarchy.
Composable functors to implement scores via compile-time composition.
std::string get_example_path(std::string file_name)
Return the full path to one of this module's example files.
GenericHierarchies get_all_descendants(Hierarchy mhd)
Get all the particles in the subtree.
A base class for geometry from a set of particles.
def add_imp_provenance
Tag the given particle as being created by the current version of IMP.
display::Geometries create_blame_geometries(const RestraintsTemp &rs, const ParticlesTemp &ps, double max=NO_MAX, std::string name=std::string())
void show_rigid_body_hierarchy(RigidBody rb, TextOutput out=TextOutput(std::cout))
Implement a constraint on the Model.
void add_restraint(RMF::FileHandle fh, Restraint *hs)
def add_software_provenance
Tag the given particle with the software used to create it.
Base class for objects in a Model that depend on other objects.
Abstract predicate function.
Ints get_index(const ParticlesTemp &particles, const Subset &subset, const Subsets &excluded)
Common base class for heavy weight IMP objects.
int get_number_of_frames(const ::npctransport_proto::Assignment &config, double time_step)
Abstract class for scoring object(s) of type ParticleIndex.
ScoreStates maintain invariants in the Model.
Base class for all optimizers.
GenericAttributeSingletonScore< UnaryFunction > AttributeSingletonScore
SurfaceGeometry * create_geometry(const Surface s, std::string name=std::string("SurfaceGeometry%1%"))
Create a geometry from a Surface.
void add_restraints(RMF::FileHandle fh, const Restraints &hs)
algebra::BoundingBoxD< 3 > get_bounding_box(const XYZRs &ps)
Get the bounding box.
Version and module information for Objects.
const algebra::Vector3D & get_vector_geometry(XYZ d)
GenericHierarchies get_internal(Hierarchy mhd)
Get all the non-leaves of the bit of hierarchy.
Interface to specialized Particle types (e.g. atoms)
std::ostream & show(Hierarchy h, std::ostream &out=std::cout)
Print the hierarchy using a given decorator to display each node.
std::string get_absolute_path(std::string file)
Convert a possibly relative path to an absolute path.
algebra::Sphere3D get_enclosing_sphere(const XYZs &v)
Get a sphere enclosing the set of XYZRs.
Base class for optimizers that act on individual attributes.
SurfaceGeometry * get_constrained_surface_geometry(const Surface s, std::string name="SurfaceGeometry%1%")
Get surface geometry constrained to the surface.
Abstract predicate function.
General purpose algebraic and geometric methods that are expected to be used by a wide variety of IMP...
Represents a scoring function on the model.
void set_vector_geometry(XYZ d, const algebra::Vector3D &v)
Shared optimizer state that is invoked upon commitment of new coordinates.
Hierarchy get_root(Hierarchy h)
Return the root of the hierarchy.
Abstract predicate function.
GenericBoundingBox3DSingletonScore< UnaryFunction > BoundingBox3DSingletonScore
Abstract class to implement hierarchical methods.
double get_depth(const Surface &s, const XYZR &d)
Get depth of sphere below surface.
void set_enclosing_radius(XYZR b, const XYZs &v)
Set the radius of the first to enclose the list.
Class to handle individual particles of a Model object.
GenericAttributeSingletonScore< UF > * create_generic_attribute_singleton_score(UF *uf, FloatKey k)
void transform(RigidBody a, const algebra::Transformation3D &tr)
Transform a rigid body.
void assign_blame(const RestraintsTemp &rs, const ParticlesTemp &ps, FloatKey attribute)
std::string get_module_version()
Return the version of this module, as a string.
TruncatedHarmonic< BOTH > TruncatedHarmonicBound
TruncatedHarmonic< UPPER > TruncatedHarmonicUpperBound
Output IMP model data in various file formats.
std::string get_chain_id(Hierarchy h)
Walk up the hierarchy to determine the chain id.
def get_all_provenance
Yield all provenance decorators of the given types for the particle.
Abstract class for scoring object(s) of type ParticleIndexTriplet.
void add_provenance(Model *m, ParticleIndex pi, Provenance p)
Add provenance to part of the model.
Tag part of the system to track how it was created.
double get_distance(const Surface &s, const XYZR &d)
Get distance from sphere to surface.
ParticleIndexes get_indexes(const ParticlesTemp &ps)
Get the indexes from a list of particles.
Abstract single variable functor class for score functions.
void set_enclosing_sphere(XYZR b, const XYZs &v, double slack=0)
Set the coordinates and radius of the first to enclose the list.
TruncatedHarmonic< LOWER > TruncatedHarmonicLowerBound
void set_check_level(CheckLevel tf)
Control runtime checks in the code.
std::string get_module_version()
Return the version of this module, as a string.
A restraint is a term in an IMP ScoringFunction.