11 from __future__
import print_function, division, absolute_import
15 from sys
import version_info
as _swig_python_version_info
19 import builtins
as __builtin__
25 strthis =
"proxy of " + self.this.__repr__()
26 except __builtin__.Exception:
28 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
31 def _swig_setattr_nondynamic_instance_variable(set):
32 def set_instance_attr(self, name, value):
34 set(self, name, value)
35 elif name ==
"thisown":
37 elif hasattr(self, name)
and isinstance(getattr(type(self), name), property):
38 set(self, name, value)
40 raise AttributeError(
"You cannot add instance attributes to %s" % self)
41 return set_instance_attr
44 def _swig_setattr_nondynamic_class_variable(set):
45 def set_class_attr(cls, name, value):
46 if hasattr(cls, name)
and not isinstance(getattr(cls, name), property):
49 raise AttributeError(
"You cannot add class attributes to %s" % cls)
53 def _swig_add_metaclass(metaclass):
54 """Class decorator for adding a metaclass to a SWIG wrapped class - a slimmed down version of six.add_metaclass"""
56 return metaclass(cls.__name__, cls.__bases__, cls.__dict__.copy())
60 class _SwigNonDynamicMeta(type):
61 """Meta class to enforce nondynamic attributes (no new attributes) for a class"""
62 __setattr__ = _swig_setattr_nondynamic_class_variable(type.__setattr__)
67 class IMP_CORE_SwigPyIterator(object):
68 r"""Proxy of C++ swig::IMP_CORE_SwigPyIterator class."""
70 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
72 def __init__(self, *args, **kwargs):
73 raise AttributeError(
"No constructor defined - class is abstract")
75 __swig_destroy__ = _IMP_core.delete_IMP_CORE_SwigPyIterator
78 r"""value(IMP_CORE_SwigPyIterator self) -> PyObject *"""
79 return _IMP_core.IMP_CORE_SwigPyIterator_value(self)
82 r"""incr(IMP_CORE_SwigPyIterator self, size_t n=1) -> IMP_CORE_SwigPyIterator"""
83 return _IMP_core.IMP_CORE_SwigPyIterator_incr(self, n)
86 r"""decr(IMP_CORE_SwigPyIterator self, size_t n=1) -> IMP_CORE_SwigPyIterator"""
87 return _IMP_core.IMP_CORE_SwigPyIterator_decr(self, n)
89 def distance(self, x):
90 r"""distance(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> ptrdiff_t"""
91 return _IMP_core.IMP_CORE_SwigPyIterator_distance(self, x)
94 r"""equal(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> bool"""
95 return _IMP_core.IMP_CORE_SwigPyIterator_equal(self, x)
98 r"""copy(IMP_CORE_SwigPyIterator self) -> IMP_CORE_SwigPyIterator"""
99 return _IMP_core.IMP_CORE_SwigPyIterator_copy(self)
102 r"""next(IMP_CORE_SwigPyIterator self) -> PyObject *"""
103 return _IMP_core.IMP_CORE_SwigPyIterator_next(self)
106 r"""__next__(IMP_CORE_SwigPyIterator self) -> PyObject *"""
107 return _IMP_core.IMP_CORE_SwigPyIterator___next__(self)
110 r"""previous(IMP_CORE_SwigPyIterator self) -> PyObject *"""
111 return _IMP_core.IMP_CORE_SwigPyIterator_previous(self)
113 def advance(self, n):
114 r"""advance(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator"""
115 return _IMP_core.IMP_CORE_SwigPyIterator_advance(self, n)
118 r"""__eq__(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> bool"""
119 return _IMP_core.IMP_CORE_SwigPyIterator___eq__(self, x)
122 r"""__ne__(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> bool"""
123 return _IMP_core.IMP_CORE_SwigPyIterator___ne__(self, x)
125 def __iadd__(self, n):
126 r"""__iadd__(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator"""
127 return _IMP_core.IMP_CORE_SwigPyIterator___iadd__(self, n)
129 def __isub__(self, n):
130 r"""__isub__(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator"""
131 return _IMP_core.IMP_CORE_SwigPyIterator___isub__(self, n)
133 def __add__(self, n):
134 r"""__add__(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator"""
135 return _IMP_core.IMP_CORE_SwigPyIterator___add__(self, n)
137 def __sub__(self, *args):
139 __sub__(IMP_CORE_SwigPyIterator self, ptrdiff_t n) -> IMP_CORE_SwigPyIterator
140 __sub__(IMP_CORE_SwigPyIterator self, IMP_CORE_SwigPyIterator x) -> ptrdiff_t
142 return _IMP_core.IMP_CORE_SwigPyIterator___sub__(self, *args)
147 _IMP_core.IMP_CORE_SwigPyIterator_swigregister(IMP_CORE_SwigPyIterator)
154 IMP_DEBUG = _IMP_core.IMP_DEBUG
156 IMP_RELEASE = _IMP_core.IMP_RELEASE
158 IMP_SILENT = _IMP_core.IMP_SILENT
160 IMP_PROGRESS = _IMP_core.IMP_PROGRESS
162 IMP_TERSE = _IMP_core.IMP_TERSE
164 IMP_VERBOSE = _IMP_core.IMP_VERBOSE
166 IMP_MEMORY = _IMP_core.IMP_MEMORY
168 IMP_NONE = _IMP_core.IMP_NONE
170 IMP_USAGE = _IMP_core.IMP_USAGE
172 IMP_INTERNAL = _IMP_core.IMP_INTERNAL
174 IMP_KERNEL_HAS_LOG4CXX = _IMP_core.IMP_KERNEL_HAS_LOG4CXX
176 IMP_COMPILER_HAS_CEREAL_RAW_POINTER = _IMP_core.IMP_COMPILER_HAS_CEREAL_RAW_POINTER
178 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_core.IMP_COMPILER_HAS_DEBUG_VECTOR
180 IMP_COMPILER_HAS_RANDOM_SHUFFLE = _IMP_core.IMP_COMPILER_HAS_RANDOM_SHUFFLE
182 IMP_COMPILER_HAS_THREE_WAY = _IMP_core.IMP_COMPILER_HAS_THREE_WAY
184 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_core.IMP_KERNEL_HAS_BOOST_RANDOM
186 IMP_KERNEL_HAS_NUMPY = _IMP_core.IMP_KERNEL_HAS_NUMPY
188 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_core.IMP_KERNEL_HAS_GPERFTOOLS
190 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_core.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
192 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_core.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
194 IMPKERNEL_SHOW_WARNINGS = _IMP_core.IMPKERNEL_SHOW_WARNINGS
198 class _DirectorObjects(object):
199 """@internal Simple class to keep references to director objects
200 to prevent premature deletion."""
203 def register(self, obj):
204 """Take a reference to a director object; will only work for
205 refcounted C++ classes"""
206 if hasattr(obj,
'get_ref_count'):
207 self._objects.append(obj)
209 """Only drop our reference and allow cleanup by Python if no other
210 Python references exist (we hold 3 references: one in self._objects,
211 one in x, and one in the argument list for getrefcount) *and* no
212 other C++ references exist (the Python object always holds one)"""
213 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
214 or x.get_ref_count() > 1]
218 def get_object_count(self):
219 """Get number of director objects (useful for testing only)"""
220 return len(self._objects)
221 _director_objects = _DirectorObjects()
223 class _ostream(object):
224 r"""Proxy of C++ std::ostream class."""
226 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
228 def __init__(self, *args, **kwargs):
229 raise AttributeError(
"No constructor defined")
230 __repr__ = _swig_repr
232 def write(self, osa_buf):
233 r"""write(_ostream self, char const * osa_buf)"""
234 return _IMP_core._ostream_write(self, osa_buf)
237 _IMP_core._ostream_swigregister(_ostream)
238 IMP_C_OPEN_BINARY = _IMP_core.IMP_C_OPEN_BINARY
241 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_CGAL_HAS_BOOST_FILESYSTEM
243 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
245 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_core.IMP_CGAL_HAS_BOOST_RANDOM
247 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_core.IMP_CGAL_HAS_BOOST_SYSTEM
249 IMP_CGAL_HAS_NUMPY = _IMP_core.IMP_CGAL_HAS_NUMPY
251 IMPCGAL_SHOW_WARNINGS = _IMP_core.IMPCGAL_SHOW_WARNINGS
254 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_core.IMP_ALGEBRA_HAS_IMP_CGAL
256 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
258 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
260 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_core.IMP_ALGEBRA_HAS_BOOST_RANDOM
262 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_core.IMP_ALGEBRA_HAS_BOOST_SYSTEM
264 IMP_ALGEBRA_HAS_CGAL = _IMP_core.IMP_ALGEBRA_HAS_CGAL
266 IMP_ALGEBRA_HAS_NUMPY = _IMP_core.IMP_ALGEBRA_HAS_NUMPY
268 IMP_ALGEBRA_HAS_ANN = _IMP_core.IMP_ALGEBRA_HAS_ANN
270 IMPALGEBRA_SHOW_WARNINGS = _IMP_core.IMPALGEBRA_SHOW_WARNINGS
273 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_core.IMP_DISPLAY_HAS_IMP_CGAL
275 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
277 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
279 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_core.IMP_DISPLAY_HAS_BOOST_RANDOM
281 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_core.IMP_DISPLAY_HAS_BOOST_SYSTEM
283 IMP_DISPLAY_HAS_CGAL = _IMP_core.IMP_DISPLAY_HAS_CGAL
285 IMP_DISPLAY_HAS_NUMPY = _IMP_core.IMP_DISPLAY_HAS_NUMPY
287 IMPDISPLAY_SHOW_WARNINGS = _IMP_core.IMPDISPLAY_SHOW_WARNINGS
290 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_core.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
292 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
294 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
296 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
298 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_core.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
300 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_core.IMP_SCORE_FUNCTOR_HAS_CGAL
302 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_core.IMP_SCORE_FUNCTOR_HAS_HDF5
304 IMP_SCORE_FUNCTOR_HAS_NUMPY = _IMP_core.IMP_SCORE_FUNCTOR_HAS_NUMPY
306 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_core.IMPSCOREFUNCTOR_SHOW_WARNINGS
309 IMP_CORE_HAS_IMP_CGAL = _IMP_core.IMP_CORE_HAS_IMP_CGAL
311 IMP_CORE_HAS_IMP_KERNEL = _IMP_core.IMP_CORE_HAS_IMP_KERNEL
313 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_core.IMP_CORE_HAS_BOOST_FILESYSTEM
315 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_core.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
317 IMP_CORE_HAS_BOOST_RANDOM = _IMP_core.IMP_CORE_HAS_BOOST_RANDOM
319 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_core.IMP_CORE_HAS_BOOST_SYSTEM
321 IMP_CORE_HAS_CGAL = _IMP_core.IMP_CORE_HAS_CGAL
323 IMP_CORE_HAS_HDF5 = _IMP_core.IMP_CORE_HAS_HDF5
325 IMP_CORE_HAS_NUMPY = _IMP_core.IMP_CORE_HAS_NUMPY
327 IMPCORE_SHOW_WARNINGS = _IMP_core.IMPCORE_SHOW_WARNINGS
330 r"""Proxy of C++ IMP::score_functor::ScoreUnaryFunction< IMP::score_functor::OpenCubicSpline > class."""
332 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
333 __repr__ = _swig_repr
335 def __init__(self, *args):
336 r"""__init__(_OpenCubicSplineBase self, IMP::score_functor::OpenCubicSpline const & score, std::string name="UnaryFunction%1%") -> _OpenCubicSplineBase"""
337 _IMP_core._OpenCubicSplineBase_swiginit(self, _IMP_core.new__OpenCubicSplineBase(*args))
339 def get_version_info(self):
340 r"""get_version_info(_OpenCubicSplineBase self) -> VersionInfo"""
341 return _IMP_core._OpenCubicSplineBase_get_version_info(self)
342 __swig_destroy__ = _IMP_core.delete__OpenCubicSplineBase
345 _IMP_core._OpenCubicSplineBase_swigregister(_OpenCubicSplineBase)
347 _object_types.append(
"MonteCarloMover")
350 def _object_cast_to_MonteCarloMover(o):
351 r"""_object_cast_to_MonteCarloMover(Object o) -> MonteCarloMover"""
352 return _IMP_core._object_cast_to_MonteCarloMover(o)
354 MonteCarloMoverResults=list
355 _plural_types.append(
"MonteCarloMoverResults")
356 _value_types.append(
"MonteCarloMoverResult")
359 _object_types.append(
"AngleRestraint")
362 def _object_cast_to_AngleRestraint(o):
363 r"""_object_cast_to_AngleRestraint(Object o) -> AngleRestraint"""
364 return _IMP_core._object_cast_to_AngleRestraint(o)
366 _object_types.append(
"AngleTripletScore")
369 def _object_cast_to_AngleTripletScore(o):
370 r"""_object_cast_to_AngleTripletScore(Object o) -> AngleTripletScore"""
371 return _IMP_core._object_cast_to_AngleTripletScore(o)
373 _object_types.append(
"AttributeSingletonScore")
376 def _object_cast_to_AttributeSingletonScore(o):
377 r"""_object_cast_to_AttributeSingletonScore(Object o) -> AttributeSingletonScore"""
378 return _IMP_core._object_cast_to_AttributeSingletonScore(o)
380 _object_types.append(
"BallMover")
383 def _object_cast_to_BallMover(o):
384 r"""_object_cast_to_BallMover(Object o) -> BallMover"""
385 return _IMP_core._object_cast_to_BallMover(o)
387 _object_types.append(
"SerialMover")
390 def _object_cast_to_SerialMover(o):
391 r"""_object_cast_to_SerialMover(Object o) -> SerialMover"""
392 return _IMP_core._object_cast_to_SerialMover(o)
394 _object_types.append(
"SubsetMover")
397 def _object_cast_to_SubsetMover(o):
398 r"""_object_cast_to_SubsetMover(Object o) -> SubsetMover"""
399 return _IMP_core._object_cast_to_SubsetMover(o)
401 _object_types.append(
"DirectionMover")
404 def _object_cast_to_DirectionMover(o):
405 r"""_object_cast_to_DirectionMover(Object o) -> DirectionMover"""
406 return _IMP_core._object_cast_to_DirectionMover(o)
408 _object_types.append(
"SurfaceMover")
411 def _object_cast_to_SurfaceMover(o):
412 r"""_object_cast_to_SurfaceMover(Object o) -> SurfaceMover"""
413 return _IMP_core._object_cast_to_SurfaceMover(o)
415 _object_types.append(
"BoundingBox3DSingletonScore")
418 def _object_cast_to_BoundingBox3DSingletonScore(o):
419 r"""_object_cast_to_BoundingBox3DSingletonScore(Object o) -> BoundingBox3DSingletonScore"""
420 return _IMP_core._object_cast_to_BoundingBox3DSingletonScore(o)
422 _object_types.append(
"BoundingSphere3DSingletonScore")
425 def _object_cast_to_BoundingSphere3DSingletonScore(o):
426 r"""_object_cast_to_BoundingSphere3DSingletonScore(Object o) -> BoundingSphere3DSingletonScore"""
427 return _IMP_core._object_cast_to_BoundingSphere3DSingletonScore(o)
429 _object_types.append(
"BoxSweepClosePairsFinder")
432 def _object_cast_to_BoxSweepClosePairsFinder(o):
433 r"""_object_cast_to_BoxSweepClosePairsFinder(Object o) -> BoxSweepClosePairsFinder"""
434 return _IMP_core._object_cast_to_BoxSweepClosePairsFinder(o)
436 _object_types.append(
"NearestNeighborsClosePairsFinder")
439 def _object_cast_to_NearestNeighborsClosePairsFinder(o):
440 r"""_object_cast_to_NearestNeighborsClosePairsFinder(Object o) -> NearestNeighborsClosePairsFinder"""
441 return _IMP_core._object_cast_to_NearestNeighborsClosePairsFinder(o)
443 _object_types.append(
"CentroidOfRefined")
446 def _object_cast_to_CentroidOfRefined(o):
447 r"""_object_cast_to_CentroidOfRefined(Object o) -> CentroidOfRefined"""
448 return _IMP_core._object_cast_to_CentroidOfRefined(o)
450 _object_types.append(
"ChecksScoreState")
453 def _object_cast_to_ChecksScoreState(o):
454 r"""_object_cast_to_ChecksScoreState(Object o) -> ChecksScoreState"""
455 return _IMP_core._object_cast_to_ChecksScoreState(o)
457 _object_types.append(
"ChildrenRefiner")
460 def _object_cast_to_ChildrenRefiner(o):
461 r"""_object_cast_to_ChildrenRefiner(Object o) -> ChildrenRefiner"""
462 return _IMP_core._object_cast_to_ChildrenRefiner(o)
464 _object_types.append(
"ClosePairsFinder")
467 def _object_cast_to_ClosePairsFinder(o):
468 r"""_object_cast_to_ClosePairsFinder(Object o) -> ClosePairsFinder"""
469 return _IMP_core._object_cast_to_ClosePairsFinder(o)
471 _object_types.append(
"ClosePairsPairScore")
474 def _object_cast_to_ClosePairsPairScore(o):
475 r"""_object_cast_to_ClosePairsPairScore(Object o) -> ClosePairsPairScore"""
476 return _IMP_core._object_cast_to_ClosePairsPairScore(o)
478 _object_types.append(
"ClosedCubicSpline")
481 def _object_cast_to_ClosedCubicSpline(o):
482 r"""_object_cast_to_ClosedCubicSpline(Object o) -> ClosedCubicSpline"""
483 return _IMP_core._object_cast_to_ClosedCubicSpline(o)
485 _object_types.append(
"ConjugateGradients")
488 def _object_cast_to_ConjugateGradients(o):
489 r"""_object_cast_to_ConjugateGradients(Object o) -> ConjugateGradients"""
490 return _IMP_core._object_cast_to_ConjugateGradients(o)
492 _object_types.append(
"ConnectivityRestraint")
495 def _object_cast_to_ConnectivityRestraint(o):
496 r"""_object_cast_to_ConnectivityRestraint(Object o) -> ConnectivityRestraint"""
497 return _IMP_core._object_cast_to_ConnectivityRestraint(o)
499 _object_types.append(
"ConstantRestraint")
502 def _object_cast_to_ConstantRestraint(o):
503 r"""_object_cast_to_ConstantRestraint(Object o) -> ConstantRestraint"""
504 return _IMP_core._object_cast_to_ConstantRestraint(o)
506 _object_types.append(
"Cosine")
509 def _object_cast_to_Cosine(o):
510 r"""_object_cast_to_Cosine(Object o) -> Cosine"""
511 return _IMP_core._object_cast_to_Cosine(o)
513 _object_types.append(
"CoverRefined")
516 def _object_cast_to_CoverRefined(o):
517 r"""_object_cast_to_CoverRefined(Object o) -> CoverRefined"""
518 return _IMP_core._object_cast_to_CoverRefined(o)
520 _object_types.append(
"DerivativesFromRefined")
523 def _object_cast_to_DerivativesFromRefined(o):
524 r"""_object_cast_to_DerivativesFromRefined(Object o) -> DerivativesFromRefined"""
525 return _IMP_core._object_cast_to_DerivativesFromRefined(o)
527 _object_types.append(
"DerivativesToRefined")
530 def _object_cast_to_DerivativesToRefined(o):
531 r"""_object_cast_to_DerivativesToRefined(Object o) -> DerivativesToRefined"""
532 return _IMP_core._object_cast_to_DerivativesToRefined(o)
534 _object_types.append(
"WeightedDerivativesToRefined")
537 def _object_cast_to_WeightedDerivativesToRefined(o):
538 r"""_object_cast_to_WeightedDerivativesToRefined(Object o) -> IMP::core::WeightedDerivativesToRefined *"""
539 return _IMP_core._object_cast_to_WeightedDerivativesToRefined(o)
541 _object_types.append(
"DiameterRestraint")
544 def _object_cast_to_DiameterRestraint(o):
545 r"""_object_cast_to_DiameterRestraint(Object o) -> DiameterRestraint"""
546 return _IMP_core._object_cast_to_DiameterRestraint(o)
548 _object_types.append(
"DihedralRestraint")
551 def _object_cast_to_DihedralRestraint(o):
552 r"""_object_cast_to_DihedralRestraint(Object o) -> DihedralRestraint"""
553 return _IMP_core._object_cast_to_DihedralRestraint(o)
555 _object_types.append(
"DistanceRestraint")
558 def _object_cast_to_DistanceRestraint(o):
559 r"""_object_cast_to_DistanceRestraint(Object o) -> DistanceRestraint"""
560 return _IMP_core._object_cast_to_DistanceRestraint(o)
562 _object_types.append(
"DistanceToSingletonScore")
565 def _object_cast_to_DistanceToSingletonScore(o):
566 r"""_object_cast_to_DistanceToSingletonScore(Object o) -> DistanceToSingletonScore"""
567 return _IMP_core._object_cast_to_DistanceToSingletonScore(o)
569 _object_types.append(
"ExcludedVolumeRestraint")
572 def _object_cast_to_ExcludedVolumeRestraint(o):
573 r"""_object_cast_to_ExcludedVolumeRestraint(Object o) -> ExcludedVolumeRestraint"""
574 return _IMP_core._object_cast_to_ExcludedVolumeRestraint(o)
576 _object_types.append(
"FixedRefiner")
579 def _object_cast_to_FixedRefiner(o):
580 r"""_object_cast_to_FixedRefiner(Object o) -> FixedRefiner"""
581 return _IMP_core._object_cast_to_FixedRefiner(o)
583 _object_types.append(
"GridClosePairsFinder")
586 def _object_cast_to_GridClosePairsFinder(o):
587 r"""_object_cast_to_GridClosePairsFinder(Object o) -> GridClosePairsFinder"""
588 return _IMP_core._object_cast_to_GridClosePairsFinder(o)
590 _object_types.append(
"Harmonic")
593 def _object_cast_to_Harmonic(o):
594 r"""_object_cast_to_Harmonic(Object o) -> Harmonic"""
595 return _IMP_core._object_cast_to_Harmonic(o)
597 _object_types.append(
"HarmonicWell")
600 def _object_cast_to_HarmonicWell(o):
601 r"""_object_cast_to_HarmonicWell(Object o) -> HarmonicWell"""
602 return _IMP_core._object_cast_to_HarmonicWell(o)
604 _object_types.append(
"HarmonicLowerBound")
607 def _object_cast_to_HarmonicLowerBound(o):
608 r"""_object_cast_to_HarmonicLowerBound(Object o) -> HarmonicLowerBound"""
609 return _IMP_core._object_cast_to_HarmonicLowerBound(o)
611 _object_types.append(
"HarmonicUpperBound")
614 def _object_cast_to_HarmonicUpperBound(o):
615 r"""_object_cast_to_HarmonicUpperBound(Object o) -> HarmonicUpperBound"""
616 return _IMP_core._object_cast_to_HarmonicUpperBound(o)
618 _object_types.append(
"HarmonicSphereDistancePairScore")
621 def _object_cast_to_HarmonicSphereDistancePairScore(o):
622 r"""_object_cast_to_HarmonicSphereDistancePairScore(Object o) -> HarmonicSphereDistancePairScore"""
623 return _IMP_core._object_cast_to_HarmonicSphereDistancePairScore(o)
625 _object_types.append(
"HarmonicUpperBoundSphereDistancePairScore")
628 def _object_cast_to_HarmonicUpperBoundSphereDistancePairScore(o):
629 r"""_object_cast_to_HarmonicUpperBoundSphereDistancePairScore(Object o) -> HarmonicUpperBoundSphereDistancePairScore"""
630 return _IMP_core._object_cast_to_HarmonicUpperBoundSphereDistancePairScore(o)
632 _object_types.append(
"HarmonicUpperBoundSphereDiameterPairScore")
635 def _object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(o):
636 r"""_object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(Object o) -> HarmonicUpperBoundSphereDiameterPairScore"""
637 return _IMP_core._object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(o)
639 _object_types.append(
"HarmonicSurfaceDistancePairScore")
642 def _object_cast_to_HarmonicSurfaceDistancePairScore(o):
643 r"""_object_cast_to_HarmonicSurfaceDistancePairScore(Object o) -> HarmonicSurfaceDistancePairScore"""
644 return _IMP_core._object_cast_to_HarmonicSurfaceDistancePairScore(o)
646 _object_types.append(
"HarmonicSurfaceHeightPairScore")
649 def _object_cast_to_HarmonicSurfaceHeightPairScore(o):
650 r"""_object_cast_to_HarmonicSurfaceHeightPairScore(Object o) -> HarmonicSurfaceHeightPairScore"""
651 return _IMP_core._object_cast_to_HarmonicSurfaceHeightPairScore(o)
653 _object_types.append(
"HarmonicSurfaceDepthPairScore")
656 def _object_cast_to_HarmonicSurfaceDepthPairScore(o):
657 r"""_object_cast_to_HarmonicSurfaceDepthPairScore(Object o) -> HarmonicSurfaceDepthPairScore"""
658 return _IMP_core._object_cast_to_HarmonicSurfaceDepthPairScore(o)
660 _object_types.append(
"WeightedSum")
663 def _object_cast_to_WeightedSum(o):
664 r"""_object_cast_to_WeightedSum(Object o) -> WeightedSum"""
665 return _IMP_core._object_cast_to_WeightedSum(o)
667 _object_types.append(
"WeightedSumOfExponential")
670 def _object_cast_to_WeightedSumOfExponential(o):
671 r"""_object_cast_to_WeightedSumOfExponential(Object o) -> WeightedSumOfExponential"""
672 return _IMP_core._object_cast_to_WeightedSumOfExponential(o)
674 _object_types.append(
"IncrementalScoringFunction")
677 def _object_cast_to_IncrementalScoringFunction(o):
678 r"""_object_cast_to_IncrementalScoringFunction(Object o) -> IncrementalScoringFunction"""
679 return _IMP_core._object_cast_to_IncrementalScoringFunction(o)
681 _object_types.append(
"KClosePairsPairScore")
684 def _object_cast_to_KClosePairsPairScore(o):
685 r"""_object_cast_to_KClosePairsPairScore(Object o) -> KClosePairsPairScore"""
686 return _IMP_core._object_cast_to_KClosePairsPairScore(o)
688 _object_types.append(
"LeavesRefiner")
691 def _object_cast_to_LeavesRefiner(o):
692 r"""_object_cast_to_LeavesRefiner(Object o) -> LeavesRefiner"""
693 return _IMP_core._object_cast_to_LeavesRefiner(o)
695 _object_types.append(
"Linear")
698 def _object_cast_to_Linear(o):
699 r"""_object_cast_to_Linear(Object o) -> Linear"""
700 return _IMP_core._object_cast_to_Linear(o)
702 _object_types.append(
"LogNormalMover")
705 def _object_cast_to_LogNormalMover(o):
706 r"""_object_cast_to_LogNormalMover(Object o) -> LogNormalMover"""
707 return _IMP_core._object_cast_to_LogNormalMover(o)
709 _object_types.append(
"MCCGSampler")
712 def _object_cast_to_MCCGSampler(o):
713 r"""_object_cast_to_MCCGSampler(Object o) -> MCCGSampler"""
714 return _IMP_core._object_cast_to_MCCGSampler(o)
716 _object_types.append(
"MonteCarlo")
719 def _object_cast_to_MonteCarlo(o):
720 r"""_object_cast_to_MonteCarlo(Object o) -> MonteCarlo"""
721 return _IMP_core._object_cast_to_MonteCarlo(o)
723 _object_types.append(
"MonteCarloWithLocalOptimization")
726 def _object_cast_to_MonteCarloWithLocalOptimization(o):
727 r"""_object_cast_to_MonteCarloWithLocalOptimization(Object o) -> MonteCarloWithLocalOptimization"""
728 return _IMP_core._object_cast_to_MonteCarloWithLocalOptimization(o)
730 _object_types.append(
"MonteCarloWithBasinHopping")
733 def _object_cast_to_MonteCarloWithBasinHopping(o):
734 r"""_object_cast_to_MonteCarloWithBasinHopping(Object o) -> MonteCarloWithBasinHopping"""
735 return _IMP_core._object_cast_to_MonteCarloWithBasinHopping(o)
737 _object_types.append(
"MSConnectivityRestraint")
740 def _object_cast_to_MSConnectivityRestraint(o):
741 r"""_object_cast_to_MSConnectivityRestraint(Object o) -> MSConnectivityRestraint"""
742 return _IMP_core._object_cast_to_MSConnectivityRestraint(o)
744 _object_types.append(
"NeighborsTable")
747 def _object_cast_to_NeighborsTable(o):
748 r"""_object_cast_to_NeighborsTable(Object o) -> NeighborsTable"""
749 return _IMP_core._object_cast_to_NeighborsTable(o)
751 _object_types.append(
"NormalMover")
754 def _object_cast_to_NormalMover(o):
755 r"""_object_cast_to_NormalMover(Object o) -> NormalMover"""
756 return _IMP_core._object_cast_to_NormalMover(o)
758 _object_types.append(
"NormalizedSphereDistancePairScore")
761 def _object_cast_to_NormalizedSphereDistancePairScore(o):
762 r"""_object_cast_to_NormalizedSphereDistancePairScore(Object o) -> NormalizedSphereDistancePairScore"""
763 return _IMP_core._object_cast_to_NormalizedSphereDistancePairScore(o)
765 _object_types.append(
"OpenCubicSpline")
768 def _object_cast_to_OpenCubicSpline(o):
769 r"""_object_cast_to_OpenCubicSpline(Object o) -> OpenCubicSpline"""
770 return _IMP_core._object_cast_to_OpenCubicSpline(o)
772 _object_types.append(
"PairConstraint")
775 def _object_cast_to_PairConstraint(o):
776 r"""_object_cast_to_PairConstraint(Object o) -> PairConstraint"""
777 return _IMP_core._object_cast_to_PairConstraint(o)
779 _object_types.append(
"PairRestraint")
782 def _object_cast_to_PairRestraint(o):
783 r"""_object_cast_to_PairRestraint(Object o) -> PairRestraint"""
784 return _IMP_core._object_cast_to_PairRestraint(o)
786 _object_types.append(
"QuadConstraint")
789 def _object_cast_to_QuadConstraint(o):
790 r"""_object_cast_to_QuadConstraint(Object o) -> QuadConstraint"""
791 return _IMP_core._object_cast_to_QuadConstraint(o)
793 _object_types.append(
"QuadRestraint")
796 def _object_cast_to_QuadRestraint(o):
797 r"""_object_cast_to_QuadRestraint(Object o) -> QuadRestraint"""
798 return _IMP_core._object_cast_to_QuadRestraint(o)
800 _object_types.append(
"QuadraticClosePairsFinder")
803 def _object_cast_to_QuadraticClosePairsFinder(o):
804 r"""_object_cast_to_QuadraticClosePairsFinder(Object o) -> QuadraticClosePairsFinder"""
805 return _IMP_core._object_cast_to_QuadraticClosePairsFinder(o)
807 _object_types.append(
"RefinedPairsPairScore")
810 def _object_cast_to_RefinedPairsPairScore(o):
811 r"""_object_cast_to_RefinedPairsPairScore(Object o) -> RefinedPairsPairScore"""
812 return _IMP_core._object_cast_to_RefinedPairsPairScore(o)
814 _object_types.append(
"RestraintsScoringFunction")
817 def _object_cast_to_RestraintsScoringFunction(o):
818 r"""_object_cast_to_RestraintsScoringFunction(Object o) -> RestraintsScoringFunction"""
819 return _IMP_core._object_cast_to_RestraintsScoringFunction(o)
821 _object_types.append(
"RigidBodyDistancePairScore")
824 def _object_cast_to_RigidBodyDistancePairScore(o):
825 r"""_object_cast_to_RigidBodyDistancePairScore(Object o) -> RigidBodyDistancePairScore"""
826 return _IMP_core._object_cast_to_RigidBodyDistancePairScore(o)
828 _object_types.append(
"RigidBodyAnglePairScore")
831 def _object_cast_to_RigidBodyAnglePairScore(o):
832 r"""_object_cast_to_RigidBodyAnglePairScore(Object o) -> RigidBodyAnglePairScore"""
833 return _IMP_core._object_cast_to_RigidBodyAnglePairScore(o)
835 _object_types.append(
"RigidBodyMover")
838 def _object_cast_to_RigidBodyMover(o):
839 r"""_object_cast_to_RigidBodyMover(Object o) -> RigidBodyMover"""
840 return _IMP_core._object_cast_to_RigidBodyMover(o)
842 _object_types.append(
"RigidBodyTunneler")
845 def _object_cast_to_RigidBodyTunneler(o):
846 r"""_object_cast_to_RigidBodyTunneler(Object o) -> RigidBodyTunneler"""
847 return _IMP_core._object_cast_to_RigidBodyTunneler(o)
849 _object_types.append(
"RigidBodyUmbrella")
852 def _object_cast_to_RigidBodyUmbrella(o):
853 r"""_object_cast_to_RigidBodyUmbrella(Object o) -> RigidBodyUmbrella"""
854 return _IMP_core._object_cast_to_RigidBodyUmbrella(o)
856 _object_types.append(
"RigidClosePairsFinder")
859 def _object_cast_to_RigidClosePairsFinder(o):
860 r"""_object_cast_to_RigidClosePairsFinder(Object o) -> RigidClosePairsFinder"""
861 return _IMP_core._object_cast_to_RigidClosePairsFinder(o)
863 _object_types.append(
"RigidMembersRefiner")
866 def _object_cast_to_RigidMembersRefiner(o):
867 r"""_object_cast_to_RigidMembersRefiner(Object o) -> RigidMembersRefiner"""
868 return _IMP_core._object_cast_to_RigidMembersRefiner(o)
870 _object_types.append(
"SingletonConstraint")
873 def _object_cast_to_SingletonConstraint(o):
874 r"""_object_cast_to_SingletonConstraint(Object o) -> SingletonConstraint"""
875 return _IMP_core._object_cast_to_SingletonConstraint(o)
877 _object_types.append(
"SingletonRestraint")
880 def _object_cast_to_SingletonRestraint(o):
881 r"""_object_cast_to_SingletonRestraint(Object o) -> SingletonRestraint"""
882 return _IMP_core._object_cast_to_SingletonRestraint(o)
884 _object_types.append(
"SoftSpherePairScore")
887 def _object_cast_to_SoftSpherePairScore(o):
888 r"""_object_cast_to_SoftSpherePairScore(Object o) -> SoftSpherePairScore"""
889 return _IMP_core._object_cast_to_SoftSpherePairScore(o)
891 _object_types.append(
"SphereDistancePairScore")
894 def _object_cast_to_SphereDistancePairScore(o):
895 r"""_object_cast_to_SphereDistancePairScore(Object o) -> SphereDistancePairScore"""
896 return _IMP_core._object_cast_to_SphereDistancePairScore(o)
898 _object_types.append(
"SphereDistanceToSingletonScore")
901 def _object_cast_to_SphereDistanceToSingletonScore(o):
902 r"""_object_cast_to_SphereDistanceToSingletonScore(Object o) -> SphereDistanceToSingletonScore"""
903 return _IMP_core._object_cast_to_SphereDistanceToSingletonScore(o)
905 _object_types.append(
"SoftSubSurfacePairScore")
908 def _object_cast_to_SoftSubSurfacePairScore(o):
909 r"""_object_cast_to_SoftSubSurfacePairScore(Object o) -> SoftSubSurfacePairScore"""
910 return _IMP_core._object_cast_to_SoftSubSurfacePairScore(o)
912 _object_types.append(
"SoftSuperSurfacePairScore")
915 def _object_cast_to_SoftSuperSurfacePairScore(o):
916 r"""_object_cast_to_SoftSuperSurfacePairScore(Object o) -> SoftSuperSurfacePairScore"""
917 return _IMP_core._object_cast_to_SoftSuperSurfacePairScore(o)
919 _object_types.append(
"SurfaceDistancePairScore")
922 def _object_cast_to_SurfaceDistancePairScore(o):
923 r"""_object_cast_to_SurfaceDistancePairScore(Object o) -> SurfaceDistancePairScore"""
924 return _IMP_core._object_cast_to_SurfaceDistancePairScore(o)
926 _object_types.append(
"SurfaceHeightPairScore")
929 def _object_cast_to_SurfaceHeightPairScore(o):
930 r"""_object_cast_to_SurfaceHeightPairScore(Object o) -> SurfaceHeightPairScore"""
931 return _IMP_core._object_cast_to_SurfaceHeightPairScore(o)
933 _object_types.append(
"SurfaceDepthPairScore")
936 def _object_cast_to_SurfaceDepthPairScore(o):
937 r"""_object_cast_to_SurfaceDepthPairScore(Object o) -> SurfaceDepthPairScore"""
938 return _IMP_core._object_cast_to_SurfaceDepthPairScore(o)
940 _object_types.append(
"SurfaceTetheredChain")
943 def _object_cast_to_SurfaceTetheredChain(o):
944 r"""_object_cast_to_SurfaceTetheredChain(Object o) -> SurfaceTetheredChain"""
945 return _IMP_core._object_cast_to_SurfaceTetheredChain(o)
947 _object_types.append(
"SurfaceSymmetryConstraint")
950 def _object_cast_to_SurfaceSymmetryConstraint(o):
951 r"""_object_cast_to_SurfaceSymmetryConstraint(Object o) -> SurfaceSymmetryConstraint"""
952 return _IMP_core._object_cast_to_SurfaceSymmetryConstraint(o)
954 _object_types.append(
"SteepestDescent")
957 def _object_cast_to_SteepestDescent(o):
958 r"""_object_cast_to_SteepestDescent(Object o) -> SteepestDescent"""
959 return _IMP_core._object_cast_to_SteepestDescent(o)
961 _object_types.append(
"TableRefiner")
964 def _object_cast_to_TableRefiner(o):
965 r"""_object_cast_to_TableRefiner(Object o) -> TableRefiner"""
966 return _IMP_core._object_cast_to_TableRefiner(o)
968 _object_types.append(
"Transform")
971 def _object_cast_to_Transform(o):
972 r"""_object_cast_to_Transform(Object o) -> Transform"""
973 return _IMP_core._object_cast_to_Transform(o)
975 _object_types.append(
"TransformationAndReflectionSymmetry")
978 def _object_cast_to_TransformationAndReflectionSymmetry(o):
979 r"""_object_cast_to_TransformationAndReflectionSymmetry(Object o) -> TransformationAndReflectionSymmetry"""
980 return _IMP_core._object_cast_to_TransformationAndReflectionSymmetry(o)
982 _object_types.append(
"TransformationSymmetry")
985 def _object_cast_to_TransformationSymmetry(o):
986 r"""_object_cast_to_TransformationSymmetry(Object o) -> TransformationSymmetry"""
987 return _IMP_core._object_cast_to_TransformationSymmetry(o)
989 _object_types.append(
"TransformationSymmetryMover")
992 def _object_cast_to_TransformationSymmetryMover(o):
993 r"""_object_cast_to_TransformationSymmetryMover(Object o) -> TransformationSymmetryMover"""
994 return _IMP_core._object_cast_to_TransformationSymmetryMover(o)
996 _object_types.append(
"TransformedDistancePairScore")
999 def _object_cast_to_TransformedDistancePairScore(o):
1000 r"""_object_cast_to_TransformedDistancePairScore(Object o) -> TransformedDistancePairScore"""
1001 return _IMP_core._object_cast_to_TransformedDistancePairScore(o)
1003 _object_types.append(
"TripletConstraint")
1006 def _object_cast_to_TripletConstraint(o):
1007 r"""_object_cast_to_TripletConstraint(Object o) -> TripletConstraint"""
1008 return _IMP_core._object_cast_to_TripletConstraint(o)
1010 _object_types.append(
"TripletRestraint")
1013 def _object_cast_to_TripletRestraint(o):
1014 r"""_object_cast_to_TripletRestraint(Object o) -> TripletRestraint"""
1015 return _IMP_core._object_cast_to_TripletRestraint(o)
1017 _object_types.append(
"TypedPairScore")
1020 def _object_cast_to_TypedPairScore(o):
1021 r"""_object_cast_to_TypedPairScore(Object o) -> TypedPairScore"""
1022 return _IMP_core._object_cast_to_TypedPairScore(o)
1024 _object_types.append(
"VolumeRestraint")
1027 def _object_cast_to_VolumeRestraint(o):
1028 r"""_object_cast_to_VolumeRestraint(Object o) -> VolumeRestraint"""
1029 return _IMP_core._object_cast_to_VolumeRestraint(o)
1031 _object_types.append(
"WeightedSphereDistancePairScore")
1034 def _object_cast_to_WeightedSphereDistancePairScore(o):
1035 r"""_object_cast_to_WeightedSphereDistancePairScore(Object o) -> WeightedSphereDistancePairScore"""
1036 return _IMP_core._object_cast_to_WeightedSphereDistancePairScore(o)
1038 _object_types.append(
"MoveStatisticsScoreState")
1041 def _object_cast_to_MoveStatisticsScoreState(o):
1042 r"""_object_cast_to_MoveStatisticsScoreState(Object o) -> MoveStatisticsScoreState"""
1043 return _IMP_core._object_cast_to_MoveStatisticsScoreState(o)
1045 _object_types.append(
"MinimumRestraint")
1048 def _object_cast_to_MinimumRestraint(o):
1049 r"""_object_cast_to_MinimumRestraint(Object o) -> MinimumRestraint"""
1050 return _IMP_core._object_cast_to_MinimumRestraint(o)
1052 _object_types.append(
"WriteRestraintScoresOptimizerState")
1055 def _object_cast_to_WriteRestraintScoresOptimizerState(o):
1056 r"""_object_cast_to_WriteRestraintScoresOptimizerState(Object o) -> WriteRestraintScoresOptimizerState"""
1057 return _IMP_core._object_cast_to_WriteRestraintScoresOptimizerState(o)
1059 _object_types.append(
"LateralSurfaceConstraint")
1062 def _object_cast_to_LateralSurfaceConstraint(o):
1063 r"""_object_cast_to_LateralSurfaceConstraint(Object o) -> LateralSurfaceConstraint"""
1064 return _IMP_core._object_cast_to_LateralSurfaceConstraint(o)
1066 _object_types.append(
"ConstantSingletonPredicate")
1069 def _object_cast_to_ConstantSingletonPredicate(o):
1070 r"""_object_cast_to_ConstantSingletonPredicate(Object o) -> ConstantSingletonPredicate"""
1071 return _IMP_core._object_cast_to_ConstantSingletonPredicate(o)
1073 _object_types.append(
"ConstantPairPredicate")
1076 def _object_cast_to_ConstantPairPredicate(o):
1077 r"""_object_cast_to_ConstantPairPredicate(Object o) -> ConstantPairPredicate"""
1078 return _IMP_core._object_cast_to_ConstantPairPredicate(o)
1080 _object_types.append(
"ConstantTripletPredicate")
1083 def _object_cast_to_ConstantTripletPredicate(o):
1084 r"""_object_cast_to_ConstantTripletPredicate(Object o) -> ConstantTripletPredicate"""
1085 return _IMP_core._object_cast_to_ConstantTripletPredicate(o)
1087 _object_types.append(
"ConstantQuadPredicate")
1090 def _object_cast_to_ConstantQuadPredicate(o):
1091 r"""_object_cast_to_ConstantQuadPredicate(Object o) -> ConstantQuadPredicate"""
1092 return _IMP_core._object_cast_to_ConstantQuadPredicate(o)
1094 _object_types.append(
"CoinFlipSingletonPredicate")
1097 def _object_cast_to_CoinFlipSingletonPredicate(o):
1098 r"""_object_cast_to_CoinFlipSingletonPredicate(Object o) -> CoinFlipSingletonPredicate"""
1099 return _IMP_core._object_cast_to_CoinFlipSingletonPredicate(o)
1101 _object_types.append(
"CoinFlipPairPredicate")
1104 def _object_cast_to_CoinFlipPairPredicate(o):
1105 r"""_object_cast_to_CoinFlipPairPredicate(Object o) -> CoinFlipPairPredicate"""
1106 return _IMP_core._object_cast_to_CoinFlipPairPredicate(o)
1108 _object_types.append(
"CoinFlipTripletPredicate")
1111 def _object_cast_to_CoinFlipTripletPredicate(o):
1112 r"""_object_cast_to_CoinFlipTripletPredicate(Object o) -> CoinFlipTripletPredicate"""
1113 return _IMP_core._object_cast_to_CoinFlipTripletPredicate(o)
1115 _object_types.append(
"CoinFlipQuadPredicate")
1118 def _object_cast_to_CoinFlipQuadPredicate(o):
1119 r"""_object_cast_to_CoinFlipQuadPredicate(Object o) -> CoinFlipQuadPredicate"""
1120 return _IMP_core._object_cast_to_CoinFlipQuadPredicate(o)
1122 _object_types.append(
"UnorderedTypeSingletonPredicate")
1125 def _object_cast_to_UnorderedTypeSingletonPredicate(o):
1126 r"""_object_cast_to_UnorderedTypeSingletonPredicate(Object o) -> UnorderedTypeSingletonPredicate"""
1127 return _IMP_core._object_cast_to_UnorderedTypeSingletonPredicate(o)
1129 _object_types.append(
"UnorderedTypePairPredicate")
1132 def _object_cast_to_UnorderedTypePairPredicate(o):
1133 r"""_object_cast_to_UnorderedTypePairPredicate(Object o) -> UnorderedTypePairPredicate"""
1134 return _IMP_core._object_cast_to_UnorderedTypePairPredicate(o)
1136 _object_types.append(
"UnorderedTypeTripletPredicate")
1139 def _object_cast_to_UnorderedTypeTripletPredicate(o):
1140 r"""_object_cast_to_UnorderedTypeTripletPredicate(Object o) -> UnorderedTypeTripletPredicate"""
1141 return _IMP_core._object_cast_to_UnorderedTypeTripletPredicate(o)
1143 _object_types.append(
"UnorderedTypeQuadPredicate")
1146 def _object_cast_to_UnorderedTypeQuadPredicate(o):
1147 r"""_object_cast_to_UnorderedTypeQuadPredicate(Object o) -> UnorderedTypeQuadPredicate"""
1148 return _IMP_core._object_cast_to_UnorderedTypeQuadPredicate(o)
1150 _object_types.append(
"OrderedTypeSingletonPredicate")
1153 def _object_cast_to_OrderedTypeSingletonPredicate(o):
1154 r"""_object_cast_to_OrderedTypeSingletonPredicate(Object o) -> OrderedTypeSingletonPredicate"""
1155 return _IMP_core._object_cast_to_OrderedTypeSingletonPredicate(o)
1157 _object_types.append(
"OrderedTypePairPredicate")
1160 def _object_cast_to_OrderedTypePairPredicate(o):
1161 r"""_object_cast_to_OrderedTypePairPredicate(Object o) -> OrderedTypePairPredicate"""
1162 return _IMP_core._object_cast_to_OrderedTypePairPredicate(o)
1164 _object_types.append(
"OrderedTypeTripletPredicate")
1167 def _object_cast_to_OrderedTypeTripletPredicate(o):
1168 r"""_object_cast_to_OrderedTypeTripletPredicate(Object o) -> OrderedTypeTripletPredicate"""
1169 return _IMP_core._object_cast_to_OrderedTypeTripletPredicate(o)
1171 _object_types.append(
"OrderedTypeQuadPredicate")
1174 def _object_cast_to_OrderedTypeQuadPredicate(o):
1175 r"""_object_cast_to_OrderedTypeQuadPredicate(Object o) -> OrderedTypeQuadPredicate"""
1176 return _IMP_core._object_cast_to_OrderedTypeQuadPredicate(o)
1178 _object_types.append(
"AllSameSingletonPredicate")
1181 def _object_cast_to_AllSameSingletonPredicate(o):
1182 r"""_object_cast_to_AllSameSingletonPredicate(Object o) -> AllSameSingletonPredicate"""
1183 return _IMP_core._object_cast_to_AllSameSingletonPredicate(o)
1185 _object_types.append(
"AllSamePairPredicate")
1188 def _object_cast_to_AllSamePairPredicate(o):
1189 r"""_object_cast_to_AllSamePairPredicate(Object o) -> AllSamePairPredicate"""
1190 return _IMP_core._object_cast_to_AllSamePairPredicate(o)
1192 _object_types.append(
"AllSameTripletPredicate")
1195 def _object_cast_to_AllSameTripletPredicate(o):
1196 r"""_object_cast_to_AllSameTripletPredicate(Object o) -> AllSameTripletPredicate"""
1197 return _IMP_core._object_cast_to_AllSameTripletPredicate(o)
1199 _object_types.append(
"AllSameQuadPredicate")
1202 def _object_cast_to_AllSameQuadPredicate(o):
1203 r"""_object_cast_to_AllSameQuadPredicate(Object o) -> AllSameQuadPredicate"""
1204 return _IMP_core._object_cast_to_AllSameQuadPredicate(o)
1207 return [XYZ(x)
for x
in l]
1208 _plural_types.append(
"XYZs")
1211 _value_types.append(
"XYZ")
1215 return [XYZR(x)
for x
in l]
1216 _plural_types.append(
"XYZRs")
1219 _value_types.append(
"XYZR")
1222 def RigidBodies(l=[]):
1223 return [RigidBody(x)
for x
in l]
1224 _plural_types.append(
"RigidBodies")
1227 _value_types.append(
"RigidBody")
1230 def RigidBodyMembers(l=[]):
1231 return [RigidBodyMember(x)
for x
in l]
1232 _plural_types.append(
"RigidBodyMembers")
1235 _value_types.append(
"RigidBodyMember")
1238 def RigidMembers(l=[]):
1239 return [RigidMember(x)
for x
in l]
1240 _plural_types.append(
"RigidMembers")
1243 _value_types.append(
"RigidMember")
1246 def NonRigidMembers(l=[]):
1247 return [NonRigidMember(x)
for x
in l]
1248 _plural_types.append(
"NonRigidMembers")
1251 _value_types.append(
"NonRigidMember")
1254 def Centroids(l=[]):
1255 return [Centroid(x)
for x
in l]
1256 _plural_types.append(
"Centroids")
1259 _value_types.append(
"Centroid")
1263 return [Cover(x)
for x
in l]
1264 _plural_types.append(
"Covers")
1267 _value_types.append(
"Cover")
1270 def References(l=[]):
1271 return [Reference(x)
for x
in l]
1272 _plural_types.append(
"References")
1275 _value_types.append(
"Reference")
1279 _plural_types.append(
"ParticleTypes")
1280 _value_types.append(
"ParticleType")
1284 return [Typed(x)
for x
in l]
1285 _plural_types.append(
"Typeds")
1288 _value_types.append(
"Typed")
1291 def GenericHierarchies(l=[]):
1292 return [Hierarchy(x)
for x
in l]
1293 _plural_types.append(
"GenericHierarchies")
1296 _value_types.append(
"Hierarchy")
1299 def Gaussians(l=[]):
1300 return [Gaussian(x)
for x
in l]
1301 _plural_types.append(
"Gaussians")
1304 _value_types.append(
"Gaussian")
1307 def Directions(l=[]):
1308 return [Direction(x)
for x
in l]
1309 _plural_types.append(
"Directions")
1312 _value_types.append(
"Direction")
1315 def DirectionAngles(l=[]):
1316 return [DirectionAngle(x)
for x
in l]
1317 _plural_types.append(
"DirectionAngles")
1320 _value_types.append(
"DirectionAngle")
1324 return [Surface(x)
for x
in l]
1325 _plural_types.append(
"Surfaces")
1328 _value_types.append(
"Surface")
1331 def Provenances(l=[]):
1332 return [Provenance(x)
for x
in l]
1333 _plural_types.append(
"Provenances")
1336 _value_types.append(
"Provenance")
1339 def StructureProvenances(l=[]):
1340 return [StructureProvenance(x)
for x
in l]
1341 _plural_types.append(
"StructureProvenances")
1344 _value_types.append(
"StructureProvenance")
1347 def SampleProvenances(l=[]):
1348 return [SampleProvenance(x)
for x
in l]
1349 _plural_types.append(
"SampleProvenances")
1352 _value_types.append(
"SampleProvenance")
1355 def ClusterProvenances(l=[]):
1356 return [ClusterProvenance(x)
for x
in l]
1357 _plural_types.append(
"ClusterProvenances")
1360 _value_types.append(
"ClusterProvenance")
1363 def CombineProvenances(l=[]):
1364 return [CombineProvenance(x)
for x
in l]
1365 _plural_types.append(
"CombineProvenances")
1368 _value_types.append(
"CombineProvenance")
1371 def FilterProvenances(l=[]):
1372 return [FilterProvenance(x)
for x
in l]
1373 _plural_types.append(
"FilterProvenances")
1376 _value_types.append(
"FilterProvenance")
1379 def ScriptProvenances(l=[]):
1380 return [ScriptProvenance(x)
for x
in l]
1381 _plural_types.append(
"ScriptProvenances")
1384 _value_types.append(
"ScriptProvenance")
1387 def SoftwareProvenances(l=[]):
1388 return [SoftwareProvenance(x)
for x
in l]
1389 _plural_types.append(
"SoftwareProvenances")
1392 _value_types.append(
"SoftwareProvenance")
1395 def Provenanceds(l=[]):
1396 return [Provenanced(x)
for x
in l]
1397 _plural_types.append(
"Provenanceds")
1400 _value_types.append(
"Provenanced")
1403 HierarchyCounters=list
1404 _plural_types.append(
"HierarchyCounters")
1405 _value_types.append(
"HierarchyCounter")
1408 HierarchyTraitsList=list
1409 _plural_types.append(
"HierarchyTraitsList")
1410 _value_types.append(
"HierarchyTraits")
1413 _object_types.append(
"TruncatedHarmonicBound")
1416 def _object_cast_to_TruncatedHarmonicBound(o):
1417 r"""_object_cast_to_TruncatedHarmonicBound(Object o) -> TruncatedHarmonicBound"""
1418 return _IMP_core._object_cast_to_TruncatedHarmonicBound(o)
1420 _object_types.append(
"TruncatedHarmonicLowerBound")
1423 def _object_cast_to_TruncatedHarmonicLowerBound(o):
1424 r"""_object_cast_to_TruncatedHarmonicLowerBound(Object o) -> TruncatedHarmonicLowerBound"""
1425 return _IMP_core._object_cast_to_TruncatedHarmonicLowerBound(o)
1427 _object_types.append(
"TruncatedHarmonicUpperBound")
1430 def _object_cast_to_TruncatedHarmonicUpperBound(o):
1431 r"""_object_cast_to_TruncatedHarmonicUpperBound(Object o) -> TruncatedHarmonicUpperBound"""
1432 return _IMP_core._object_cast_to_TruncatedHarmonicUpperBound(o)
1434 _object_types.append(
"HarmonicDistancePairScore")
1437 def _object_cast_to_HarmonicDistancePairScore(o):
1438 r"""_object_cast_to_HarmonicDistancePairScore(Object o) -> HarmonicDistancePairScore"""
1439 return _IMP_core._object_cast_to_HarmonicDistancePairScore(o)
1441 _object_types.append(
"DistancePairScore")
1444 def _object_cast_to_DistancePairScore(o):
1445 r"""_object_cast_to_DistancePairScore(Object o) -> DistancePairScore"""
1446 return _IMP_core._object_cast_to_DistancePairScore(o)
1448 _object_types.append(
"XYZRGeometry")
1451 def _object_cast_to_XYZRGeometry(o):
1452 r"""_object_cast_to_XYZRGeometry(Object o) -> XYZRGeometry"""
1453 return _IMP_core._object_cast_to_XYZRGeometry(o)
1455 _object_types.append(
"XYZRsGeometry")
1458 def _object_cast_to_XYZRsGeometry(o):
1459 r"""_object_cast_to_XYZRsGeometry(Object o) -> XYZRsGeometry"""
1460 return _IMP_core._object_cast_to_XYZRsGeometry(o)
1462 _object_types.append(
"XYZDerivativeGeometry")
1465 def _object_cast_to_XYZDerivativeGeometry(o):
1466 r"""_object_cast_to_XYZDerivativeGeometry(Object o) -> XYZDerivativeGeometry"""
1467 return _IMP_core._object_cast_to_XYZDerivativeGeometry(o)
1469 _object_types.append(
"XYZDerivativesGeometry")
1472 def _object_cast_to_XYZDerivativesGeometry(o):
1473 r"""_object_cast_to_XYZDerivativesGeometry(Object o) -> XYZDerivativesGeometry"""
1474 return _IMP_core._object_cast_to_XYZDerivativesGeometry(o)
1476 _object_types.append(
"RigidBodyDerivativeGeometry")
1479 def _object_cast_to_RigidBodyDerivativeGeometry(o):
1480 r"""_object_cast_to_RigidBodyDerivativeGeometry(Object o) -> RigidBodyDerivativeGeometry"""
1481 return _IMP_core._object_cast_to_RigidBodyDerivativeGeometry(o)
1483 _object_types.append(
"RigidBodyDerivativesGeometry")
1486 def _object_cast_to_RigidBodyDerivativesGeometry(o):
1487 r"""_object_cast_to_RigidBodyDerivativesGeometry(Object o) -> RigidBodyDerivativesGeometry"""
1488 return _IMP_core._object_cast_to_RigidBodyDerivativesGeometry(o)
1490 _object_types.append(
"RigidBodyHierarchyGeometry")
1493 def _object_cast_to_RigidBodyHierarchyGeometry(o):
1494 r"""_object_cast_to_RigidBodyHierarchyGeometry(Object o) -> RigidBodyHierarchyGeometry"""
1495 return _IMP_core._object_cast_to_RigidBodyHierarchyGeometry(o)
1497 _object_types.append(
"RigidBodyFrameGeometry")
1500 def _object_cast_to_RigidBodyFrameGeometry(o):
1501 r"""_object_cast_to_RigidBodyFrameGeometry(Object o) -> RigidBodyFrameGeometry"""
1502 return _IMP_core._object_cast_to_RigidBodyFrameGeometry(o)
1504 _object_types.append(
"RigidBodyFramesGeometry")
1507 def _object_cast_to_RigidBodyFramesGeometry(o):
1508 r"""_object_cast_to_RigidBodyFramesGeometry(Object o) -> RigidBodyFramesGeometry"""
1509 return _IMP_core._object_cast_to_RigidBodyFramesGeometry(o)
1511 _object_types.append(
"RigidBodyTorque")
1514 def _object_cast_to_RigidBodyTorque(o):
1515 r"""_object_cast_to_RigidBodyTorque(Object o) -> RigidBodyTorque"""
1516 return _IMP_core._object_cast_to_RigidBodyTorque(o)
1518 _object_types.append(
"EdgePairGeometry")
1521 def _object_cast_to_EdgePairGeometry(o):
1522 r"""_object_cast_to_EdgePairGeometry(Object o) -> EdgePairGeometry"""
1523 return _IMP_core._object_cast_to_EdgePairGeometry(o)
1525 _object_types.append(
"EdgePairsGeometry")
1528 def _object_cast_to_EdgePairsGeometry(o):
1529 r"""_object_cast_to_EdgePairsGeometry(Object o) -> EdgePairsGeometry"""
1530 return _IMP_core._object_cast_to_EdgePairsGeometry(o)
1532 _object_types.append(
"SurfaceGeometry")
1535 def _object_cast_to_SurfaceGeometry(o):
1536 r"""_object_cast_to_SurfaceGeometry(Object o) -> SurfaceGeometry"""
1537 return _IMP_core._object_cast_to_SurfaceGeometry(o)
1539 _object_types.append(
"SurfaceGeometryConstraint")
1542 def _object_cast_to_SurfaceGeometryConstraint(o):
1543 r"""_object_cast_to_SurfaceGeometryConstraint(Object o) -> SurfaceGeometryConstraint"""
1544 return _IMP_core._object_cast_to_SurfaceGeometryConstraint(o)
1546 _object_types.append(
"AttributeSingletonPredicate")
1549 def _object_cast_to_AttributeSingletonPredicate(o):
1550 r"""_object_cast_to_AttributeSingletonPredicate(Object o) -> AttributeSingletonPredicate"""
1551 return _IMP_core._object_cast_to_AttributeSingletonPredicate(o)
1553 _object_types.append(
"InBoundingBox3DSingletonPredicate")
1556 def _object_cast_to_InBoundingBox3DSingletonPredicate(o):
1557 r"""_object_cast_to_InBoundingBox3DSingletonPredicate(Object o) -> InBoundingBox3DSingletonPredicate"""
1558 return _IMP_core._object_cast_to_InBoundingBox3DSingletonPredicate(o)
1560 _object_types.append(
"IsCollisionPairPredicate")
1563 def _object_cast_to_IsCollisionPairPredicate(o):
1564 r"""_object_cast_to_IsCollisionPairPredicate(Object o) -> IsCollisionPairPredicate"""
1565 return _IMP_core._object_cast_to_IsCollisionPairPredicate(o)
1567 BinormalTermList=list
1568 _plural_types.append(
"BinormalTermList")
1569 _value_types.append(
"BinormalTerm")
1572 _object_types.append(
"MultipleBinormalRestraint")
1575 def _object_cast_to_MultipleBinormalRestraint(o):
1576 r"""_object_cast_to_MultipleBinormalRestraint(Object o) -> MultipleBinormalRestraint"""
1577 return _IMP_core._object_cast_to_MultipleBinormalRestraint(o)
1578 class ClosePairsFinder(IMP._ParticleInputs,
IMP.Object):
1579 r"""Proxy of C++ IMP::core::ClosePairsFinder class."""
1581 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1583 def __init__(self, *args, **kwargs):
1584 raise AttributeError(
"No constructor defined - class is abstract")
1585 __swig_destroy__ = _IMP_core.delete_ClosePairsFinder
1587 def get_close_pairs(self, *args):
1589 get_close_pairs(ClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
1590 get_close_pairs(ClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
1591 get_close_pairs(ClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
1592 get_close_pairs(ClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
1594 return _IMP_core.ClosePairsFinder_get_close_pairs(self, *args)
1596 def set_distance(self, d):
1597 r"""set_distance(ClosePairsFinder self, double d)"""
1598 return _IMP_core.ClosePairsFinder_set_distance(self, d)
1601 r"""get_distance(ClosePairsFinder self) -> double"""
1602 return _IMP_core.ClosePairsFinder_get_distance(self)
1603 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)
1604 def __set_pair_filters(self, obj): IMP._list_util.set_varlist(self.pair_filters, obj)
1605 def __del_pair_filters(self): IMP._list_util.del_varlist(self.pair_filters)
1606 pair_filters = property(__get_pair_filters, __set_pair_filters, __del_pair_filters, doc=
"List of ##ucnames")
1608 def remove_pair_filter(self, d):
1609 r"""remove_pair_filter(ClosePairsFinder self, PairPredicate d)"""
1610 return _IMP_core.ClosePairsFinder_remove_pair_filter(self, d)
1612 def _python_index_pair_filter(self, d, start, stop):
1613 r"""_python_index_pair_filter(ClosePairsFinder self, PairPredicate d, unsigned int start, unsigned int stop) -> unsigned int"""
1614 return _IMP_core.ClosePairsFinder__python_index_pair_filter(self, d, start, stop)
1616 def remove_pair_filters(self, d):
1617 r"""remove_pair_filters(ClosePairsFinder self, IMP::PairPredicates const & d)"""
1618 return _IMP_core.ClosePairsFinder_remove_pair_filters(self, d)
1620 def set_pair_filters(self, ps):
1621 r"""set_pair_filters(ClosePairsFinder self, IMP::PairPredicates const & ps)"""
1622 return _IMP_core.ClosePairsFinder_set_pair_filters(self, ps)
1624 def set_pair_filters_order(self, objs):
1625 r"""set_pair_filters_order(ClosePairsFinder self, IMP::PairPredicates const & objs)"""
1626 return _IMP_core.ClosePairsFinder_set_pair_filters_order(self, objs)
1628 def add_pair_filter(self, obj):
1629 r"""add_pair_filter(ClosePairsFinder self, PairPredicate obj) -> unsigned int"""
1630 return _IMP_core.ClosePairsFinder_add_pair_filter(self, obj)
1632 def add_pair_filters(self, objs):
1633 r"""add_pair_filters(ClosePairsFinder self, IMP::PairPredicates const & objs)"""
1634 return _IMP_core.ClosePairsFinder_add_pair_filters(self, objs)
1636 def clear_pair_filters(self):
1637 r"""clear_pair_filters(ClosePairsFinder self)"""
1638 return _IMP_core.ClosePairsFinder_clear_pair_filters(self)
1640 def get_number_of_pair_filters(self):
1641 r"""get_number_of_pair_filters(ClosePairsFinder self) -> unsigned int"""
1642 return _IMP_core.ClosePairsFinder_get_number_of_pair_filters(self)
1644 def get_has_pair_filters(self):
1645 r"""get_has_pair_filters(ClosePairsFinder self) -> bool"""
1646 return _IMP_core.ClosePairsFinder_get_has_pair_filters(self)
1648 def get_pair_filter(self, i):
1649 r"""get_pair_filter(ClosePairsFinder self, unsigned int i) -> PairPredicate"""
1650 return _IMP_core.ClosePairsFinder_get_pair_filter(self, i)
1652 def get_pair_filters(self):
1653 r"""get_pair_filters(ClosePairsFinder self) -> IMP::PairPredicates"""
1654 return _IMP_core.ClosePairsFinder_get_pair_filters(self)
1656 def erase_pair_filter(self, i):
1657 r"""erase_pair_filter(ClosePairsFinder self, unsigned int i)"""
1658 return _IMP_core.ClosePairsFinder_erase_pair_filter(self, i)
1660 def reserve_pair_filters(self, sz):
1661 r"""reserve_pair_filters(ClosePairsFinder self, unsigned int sz)"""
1662 return _IMP_core.ClosePairsFinder_reserve_pair_filters(self, sz)
1665 r"""__str__(ClosePairsFinder self) -> std::string"""
1666 return _IMP_core.ClosePairsFinder___str__(self)
1669 r"""__repr__(ClosePairsFinder self) -> std::string"""
1670 return _IMP_core.ClosePairsFinder___repr__(self)
1674 return _object_cast_to_ClosePairsFinder(o)
1678 _IMP_core.ClosePairsFinder_swigregister(ClosePairsFinder)
1679 class MonteCarloMoverResult(IMP._Value):
1680 r"""Proxy of C++ IMP::core::MonteCarloMoverResult class."""
1682 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1684 def __init__(self, *args):
1685 r"""__init__(MonteCarloMoverResult self, IMP::ParticleIndexes i0=IMP::ParticleIndexes(), double i1=double()) -> MonteCarloMoverResult"""
1686 _IMP_core.MonteCarloMoverResult_swiginit(self, _IMP_core.new_MonteCarloMoverResult(*args))
1689 r"""__hash__(MonteCarloMoverResult self) -> std::size_t"""
1690 return _IMP_core.MonteCarloMoverResult___hash__(self)
1692 def show(self, *args):
1693 r"""show(MonteCarloMoverResult self, _ostream out=std::cout)"""
1694 return _IMP_core.MonteCarloMoverResult_show(self, *args)
1696 def __cmp__(self, o):
1697 r"""__cmp__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> int"""
1698 return _IMP_core.MonteCarloMoverResult___cmp__(self, o)
1700 def __eq__(self, o):
1701 r"""__eq__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1702 return _IMP_core.MonteCarloMoverResult___eq__(self, o)
1704 def __ne__(self, o):
1705 r"""__ne__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1706 return _IMP_core.MonteCarloMoverResult___ne__(self, o)
1708 def __lt__(self, o):
1709 r"""__lt__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1710 return _IMP_core.MonteCarloMoverResult___lt__(self, o)
1712 def __gt__(self, o):
1713 r"""__gt__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1714 return _IMP_core.MonteCarloMoverResult___gt__(self, o)
1716 def __ge__(self, o):
1717 r"""__ge__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1718 return _IMP_core.MonteCarloMoverResult___ge__(self, o)
1720 def __le__(self, o):
1721 r"""__le__(MonteCarloMoverResult self, MonteCarloMoverResult o) -> bool"""
1722 return _IMP_core.MonteCarloMoverResult___le__(self, o)
1724 def get_moved_particles(self):
1725 r"""get_moved_particles(MonteCarloMoverResult self) -> IMP::ParticleIndexes const &"""
1726 return _IMP_core.MonteCarloMoverResult_get_moved_particles(self)
1728 def set_moved_particles(self, v):
1729 r"""set_moved_particles(MonteCarloMoverResult self, IMP::ParticleIndexes const & v)"""
1730 return _IMP_core.MonteCarloMoverResult_set_moved_particles(self, v)
1732 def get_proposal_ratio(self):
1733 r"""get_proposal_ratio(MonteCarloMoverResult self) -> double const &"""
1734 return _IMP_core.MonteCarloMoverResult_get_proposal_ratio(self)
1736 def set_proposal_ratio(self, v):
1737 r"""set_proposal_ratio(MonteCarloMoverResult self, double const & v)"""
1738 return _IMP_core.MonteCarloMoverResult_set_proposal_ratio(self, v)
1741 r"""__str__(MonteCarloMoverResult self) -> std::string"""
1742 return _IMP_core.MonteCarloMoverResult___str__(self)
1745 r"""__repr__(MonteCarloMoverResult self) -> std::string"""
1746 return _IMP_core.MonteCarloMoverResult___repr__(self)
1747 __swig_destroy__ = _IMP_core.delete_MonteCarloMoverResult
1750 _IMP_core.MonteCarloMoverResult_swigregister(MonteCarloMoverResult)
1752 r"""Proxy of C++ IMP::core::MonteCarloMover class."""
1754 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1756 def __init__(self, *args):
1758 __init__(MonteCarloMover self, Model m, std::string name) -> MonteCarloMover
1759 __init__(MonteCarloMover self) -> MonteCarloMover
1761 if self.__class__ == MonteCarloMover:
1765 _IMP_core.MonteCarloMover_swiginit(self, _IMP_core.new_MonteCarloMover(_self, *args))
1767 if self.__class__ != MonteCarloMover:
1768 _director_objects.register(self)
1774 r"""propose(MonteCarloMover self) -> MonteCarloMoverResult"""
1775 return _IMP_core.MonteCarloMover_propose(self)
1778 r"""reject(MonteCarloMover self)"""
1779 return _IMP_core.MonteCarloMover_reject(self)
1782 r"""accept(MonteCarloMover self)"""
1783 return _IMP_core.MonteCarloMover_accept(self)
1785 def get_number_of_proposed(self):
1786 r"""get_number_of_proposed(MonteCarloMover self) -> unsigned int"""
1787 return _IMP_core.MonteCarloMover_get_number_of_proposed(self)
1789 def get_number_of_accepted(self):
1790 r"""get_number_of_accepted(MonteCarloMover self) -> unsigned int"""
1791 return _IMP_core.MonteCarloMover_get_number_of_accepted(self)
1793 def reset_statistics(self):
1794 r"""reset_statistics(MonteCarloMover self)"""
1795 return _IMP_core.MonteCarloMover_reset_statistics(self)
1797 def do_propose(self):
1798 r"""do_propose(MonteCarloMover self) -> MonteCarloMoverResult"""
1799 return _IMP_core.MonteCarloMover_do_propose(self)
1801 def do_reject(self):
1802 r"""do_reject(MonteCarloMover self)"""
1803 return _IMP_core.MonteCarloMover_do_reject(self)
1805 def do_accept(self):
1806 r"""do_accept(MonteCarloMover self)"""
1807 return _IMP_core.MonteCarloMover_do_accept(self)
1809 def do_get_outputs(self):
1810 r"""do_get_outputs(MonteCarloMover self) -> IMP::ModelObjectsTemp"""
1811 return _IMP_core.MonteCarloMover_do_get_outputs(self)
1814 r"""__str__(MonteCarloMover self) -> std::string"""
1815 return _IMP_core.MonteCarloMover___str__(self)
1818 r"""__repr__(MonteCarloMover self) -> std::string"""
1819 return _IMP_core.MonteCarloMover___repr__(self)
1823 return _object_cast_to_MonteCarloMover(o)
1826 def get_type_name(self):
1827 return self.__class__.__name__
1828 def do_show(self, out):
1830 def get_version_info(self):
1831 if"IMP::core" ==
"IMP":
1832 return VersionInfo(self.__module__,
1839 return _object_cast_to_MonteCarloMover(o)
1841 __swig_destroy__ = _IMP_core.delete_MonteCarloMover
1842 def __disown__(self):
1844 _IMP_core.disown_MonteCarloMover(self)
1845 return weakref.proxy(self)
1847 def do_destroy(self):
1848 r"""do_destroy(MonteCarloMover self)"""
1849 return _IMP_core.MonteCarloMover_do_destroy(self)
1851 def handle_set_has_required_score_states(self, arg0):
1852 r"""handle_set_has_required_score_states(MonteCarloMover self, bool arg0)"""
1853 return _IMP_core.MonteCarloMover_handle_set_has_required_score_states(self, arg0)
1855 def do_get_inputs(self):
1856 r"""do_get_inputs(MonteCarloMover self) -> IMP::ModelObjectsTemp"""
1857 return _IMP_core.MonteCarloMover_do_get_inputs(self)
1859 def do_get_interactions(self):
1860 r"""do_get_interactions(MonteCarloMover self) -> IMP::ModelObjectsTemps"""
1861 return _IMP_core.MonteCarloMover_do_get_interactions(self)
1864 _IMP_core.MonteCarloMover_swigregister(MonteCarloMover)
1866 r"""Proxy of C++ IMP::core::XYZ class."""
1868 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1871 def get_coordinate_key(i):
1872 r"""get_coordinate_key(unsigned int i) -> FloatKey"""
1873 return _IMP_core.XYZ_get_coordinate_key(i)
1875 def __init__(self, *args):
1877 __init__(XYZ self) -> XYZ
1878 __init__(XYZ self, Model m, ParticleIndex id) -> XYZ
1879 __init__(XYZ self, _ParticleAdaptor d) -> XYZ
1881 _IMP_core.XYZ_swiginit(self, _IMP_core.new_XYZ(*args))
1883 def show(self, *args):
1884 r"""show(XYZ self, _ostream out=std::cout)"""
1885 return _IMP_core.XYZ_show(self, *args)
1888 def setup_particle(*args):
1890 setup_particle(Model m, ParticleIndex pi) -> XYZ
1891 setup_particle(_ParticleAdaptor pa) -> XYZ
1892 setup_particle(Model m, ParticleIndex pi, Vector3D v) -> XYZ
1893 setup_particle(_ParticleAdaptor pa, Vector3D v) -> XYZ
1895 return _IMP_core.XYZ_setup_particle(*args)
1898 r"""get_x(XYZ self) -> IMP::Float"""
1899 return _IMP_core.XYZ_get_x(self)
1902 r"""set_x(XYZ self, IMP::Float t)"""
1903 return _IMP_core.XYZ_set_x(self, t)
1906 r"""get_y(XYZ self) -> IMP::Float"""
1907 return _IMP_core.XYZ_get_y(self)
1910 r"""set_y(XYZ self, IMP::Float t)"""
1911 return _IMP_core.XYZ_set_y(self, t)
1914 r"""get_z(XYZ self) -> IMP::Float"""
1915 return _IMP_core.XYZ_get_z(self)
1918 r"""set_z(XYZ self, IMP::Float t)"""
1919 return _IMP_core.XYZ_set_z(self, t)
1921 def set_coordinate(self, i, v):
1922 r"""set_coordinate(XYZ self, unsigned int i, IMP::Float v)"""
1923 return _IMP_core.XYZ_set_coordinate(self, i, v)
1925 def set_coordinates(self, v):
1926 r"""set_coordinates(XYZ self, Vector3D v)"""
1927 return _IMP_core.XYZ_set_coordinates(self, v)
1929 def get_coordinate(self, i):
1930 r"""get_coordinate(XYZ self, int i) -> IMP::Float"""
1931 return _IMP_core.XYZ_get_coordinate(self, i)
1933 def add_to_derivatives(self, v, d):
1934 r"""add_to_derivatives(XYZ self, Vector3D v, DerivativeAccumulator d)"""
1935 return _IMP_core.XYZ_add_to_derivatives(self, v, d)
1937 def get_coordinates_are_optimized(self):
1938 r"""get_coordinates_are_optimized(XYZ self) -> bool"""
1939 return _IMP_core.XYZ_get_coordinates_are_optimized(self)
1941 def set_coordinates_are_optimized(self, tf):
1942 r"""set_coordinates_are_optimized(XYZ self, bool tf)"""
1943 return _IMP_core.XYZ_set_coordinates_are_optimized(self, tf)
1945 def get_vector_to(self, b):
1946 r"""get_vector_to(XYZ self, XYZ b) -> Vector3D"""
1947 return _IMP_core.XYZ_get_vector_to(self, b)
1949 def get_coordinates(self):
1950 r"""get_coordinates(XYZ self) -> Vector3D"""
1951 return _IMP_core.XYZ_get_coordinates(self)
1953 def get_derivatives(self):
1954 r"""get_derivatives(XYZ self) -> Vector3D"""
1955 return _IMP_core.XYZ_get_derivatives(self)
1958 def get_is_setup(*args):
1960 get_is_setup(_ParticleAdaptor p) -> bool
1961 get_is_setup(Model m, ParticleIndex pi) -> bool
1963 return _IMP_core.XYZ_get_is_setup(*args)
1967 r"""get_xyz_keys() -> IMP::FloatKeys const &"""
1968 return _IMP_core.XYZ_get_xyz_keys()
1970 def add_attribute(self, *args):
1972 add_attribute(XYZ self, FloatKey k, IMP::Float v, bool opt)
1973 add_attribute(XYZ self, FloatKey a0, IMP::Float a1)
1974 add_attribute(XYZ self, IntKey a0, IMP::Int a1)
1975 add_attribute(XYZ self, FloatsKey a0, IMP::Floats a1)
1976 add_attribute(XYZ self, IntsKey a0, IMP::Ints a1)
1977 add_attribute(XYZ self, StringKey a0, IMP::String a1)
1978 add_attribute(XYZ self, ParticleIndexKey a0, Particle a1)
1979 add_attribute(XYZ self, ObjectKey a0, Object a1)
1981 return _IMP_core.XYZ_add_attribute(self, *args)
1983 def get_value(self, *args):
1985 get_value(XYZ self, FloatKey a0) -> IMP::Float
1986 get_value(XYZ self, IntKey a0) -> IMP::Int
1987 get_value(XYZ self, FloatsKey a0) -> IMP::Floats
1988 get_value(XYZ self, IntsKey a0) -> IMP::Ints
1989 get_value(XYZ self, StringKey a0) -> IMP::String
1990 get_value(XYZ self, ParticleIndexKey a0) -> Particle
1991 get_value(XYZ self, ObjectKey a0) -> Object
1993 return _IMP_core.XYZ_get_value(self, *args)
1995 def set_value(self, *args):
1997 set_value(XYZ self, FloatKey a0, IMP::Float a1)
1998 set_value(XYZ self, IntKey a0, IMP::Int a1)
1999 set_value(XYZ self, FloatsKey a0, IMP::Floats a1)
2000 set_value(XYZ self, IntsKey a0, IMP::Ints a1)
2001 set_value(XYZ self, StringKey a0, IMP::String a1)
2002 set_value(XYZ self, ParticleIndexKey a0, Particle a1)
2003 set_value(XYZ self, ObjectKey a0, Object a1)
2005 return _IMP_core.XYZ_set_value(self, *args)
2007 def remove_attribute(self, *args):
2009 remove_attribute(XYZ self, FloatKey a0)
2010 remove_attribute(XYZ self, IntKey a0)
2011 remove_attribute(XYZ self, FloatsKey a0)
2012 remove_attribute(XYZ self, IntsKey a0)
2013 remove_attribute(XYZ self, StringKey a0)
2014 remove_attribute(XYZ self, ParticleIndexKey a0)
2015 remove_attribute(XYZ self, ObjectKey a0)
2017 return _IMP_core.XYZ_remove_attribute(self, *args)
2019 def has_attribute(self, *args):
2021 has_attribute(XYZ self, FloatKey a0) -> bool
2022 has_attribute(XYZ self, IntKey a0) -> bool
2023 has_attribute(XYZ self, FloatsKey a0) -> bool
2024 has_attribute(XYZ self, IntsKey a0) -> bool
2025 has_attribute(XYZ self, StringKey a0) -> bool
2026 has_attribute(XYZ self, ParticleIndexKey a0) -> bool
2027 has_attribute(XYZ self, ObjectKey a0) -> bool
2029 return _IMP_core.XYZ_has_attribute(self, *args)
2031 def get_derivative(self, *args):
2033 get_derivative(XYZ self, int i) -> IMP::Float
2034 get_derivative(XYZ self, FloatKey a0) -> double
2036 return _IMP_core.XYZ_get_derivative(self, *args)
2039 r"""get_name(XYZ self) -> std::string"""
2040 return _IMP_core.XYZ_get_name(self)
2042 def clear_caches(self):
2043 r"""clear_caches(XYZ self)"""
2044 return _IMP_core.XYZ_clear_caches(self)
2046 def set_name(self, a0):
2047 r"""set_name(XYZ self, std::string a0)"""
2048 return _IMP_core.XYZ_set_name(self, a0)
2051 r"""set_check_level(XYZ self, IMP::CheckLevel a0)"""
2052 return _IMP_core.XYZ_set_check_level(self, a0)
2054 def add_to_derivative(self, *args):
2056 add_to_derivative(XYZ self, int i, IMP::Float v, DerivativeAccumulator d)
2057 add_to_derivative(XYZ self, FloatKey a0, double a1, DerivativeAccumulator a2)
2059 return _IMP_core.XYZ_add_to_derivative(self, *args)
2061 def set_is_optimized(self, a0, a1):
2062 r"""set_is_optimized(XYZ self, FloatKey a0, bool a1)"""
2063 return _IMP_core.XYZ_set_is_optimized(self, a0, a1)
2065 def get_is_optimized(self, a0):
2066 r"""get_is_optimized(XYZ self, FloatKey a0) -> bool"""
2067 return _IMP_core.XYZ_get_is_optimized(self, a0)
2070 r"""get_check_level(XYZ self) -> IMP::CheckLevel"""
2071 return _IMP_core.XYZ_get_check_level(self)
2073 def __eq__(self, *args):
2075 __eq__(XYZ self, XYZ o) -> bool
2076 __eq__(XYZ self, Particle d) -> bool
2078 return _IMP_core.XYZ___eq__(self, *args)
2080 def __ne__(self, *args):
2082 __ne__(XYZ self, XYZ o) -> bool
2083 __ne__(XYZ self, Particle d) -> bool
2085 return _IMP_core.XYZ___ne__(self, *args)
2087 def __le__(self, *args):
2089 __le__(XYZ self, XYZ o) -> bool
2090 __le__(XYZ self, Particle d) -> bool
2092 return _IMP_core.XYZ___le__(self, *args)
2094 def __lt__(self, *args):
2096 __lt__(XYZ self, XYZ o) -> bool
2097 __lt__(XYZ self, Particle d) -> bool
2099 return _IMP_core.XYZ___lt__(self, *args)
2101 def __ge__(self, *args):
2103 __ge__(XYZ self, XYZ o) -> bool
2104 __ge__(XYZ self, Particle d) -> bool
2106 return _IMP_core.XYZ___ge__(self, *args)
2108 def __gt__(self, *args):
2110 __gt__(XYZ self, XYZ o) -> bool
2111 __gt__(XYZ self, Particle d) -> bool
2113 return _IMP_core.XYZ___gt__(self, *args)
2116 r"""__hash__(XYZ self) -> std::size_t"""
2117 return _IMP_core.XYZ___hash__(self)
2120 r"""__str__(XYZ self) -> std::string"""
2121 return _IMP_core.XYZ___str__(self)
2124 r"""__repr__(XYZ self) -> std::string"""
2125 return _IMP_core.XYZ___repr__(self)
2127 def _get_as_binary(self):
2128 r"""_get_as_binary(XYZ self) -> PyObject *"""
2129 return _IMP_core.XYZ__get_as_binary(self)
2131 def _set_from_binary(self, p):
2132 r"""_set_from_binary(XYZ self, PyObject * p)"""
2133 return _IMP_core.XYZ__set_from_binary(self, p)
2135 def __getstate__(self):
2136 p = self._get_as_binary()
2137 if len(self.__dict__) > 1:
2138 d = self.__dict__.copy()
2143 def __setstate__(self, p):
2144 if not hasattr(self,
'this'):
2146 if isinstance(p, tuple):
2148 self.__dict__.update(d)
2149 return self._set_from_binary(p)
2151 __swig_destroy__ = _IMP_core.delete_XYZ
2154 _IMP_core.XYZ_swigregister(XYZ)
2157 r"""set_vector_geometry(XYZ d, Vector3D v)"""
2158 return _IMP_core.set_vector_geometry(d, v)
2161 r"""get_vector_geometry(XYZ d) -> Vector3D"""
2162 return _IMP_core.get_vector_geometry(d)
2165 r"""get_dihedral(XYZ a, XYZ b, XYZ c, XYZ d) -> double"""
2166 return _IMP_core.get_dihedral(a, b, c, d)
2168 r"""Proxy of C++ IMP::core::XYZR class."""
2170 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2172 def __init__(self, *args):
2174 __init__(XYZR self) -> XYZR
2175 __init__(XYZR self, Model m, ParticleIndex id) -> XYZR
2176 __init__(XYZR self, _ParticleAdaptor d) -> XYZR
2178 _IMP_core.XYZR_swiginit(self, _IMP_core.new_XYZR(*args))
2180 def show(self, *args):
2181 r"""show(XYZR self, _ostream out=std::cout)"""
2182 return _IMP_core.XYZR_show(self, *args)
2185 def setup_particle(*args):
2187 setup_particle(Model m, ParticleIndex pi) -> XYZR
2188 setup_particle(_ParticleAdaptor pa) -> XYZR
2189 setup_particle(Model m, ParticleIndex pi, IMP::Float radius) -> XYZR
2190 setup_particle(_ParticleAdaptor pa, IMP::Float radius) -> XYZR
2191 setup_particle(Model m, ParticleIndex pi, Sphere3D ball) -> XYZR
2192 setup_particle(_ParticleAdaptor pa, Sphere3D ball) -> XYZR
2194 return _IMP_core.XYZR_setup_particle(*args)
2197 def get_is_setup(*args):
2199 get_is_setup(_ParticleAdaptor p) -> bool
2200 get_is_setup(Model m, ParticleIndex pi) -> bool
2202 return _IMP_core.XYZR_get_is_setup(*args)
2204 def get_radius(self):
2205 r"""get_radius(XYZR self) -> double"""
2206 return _IMP_core.XYZR_get_radius(self)
2208 def set_radius(self, r):
2209 r"""set_radius(XYZR self, double r)"""
2210 return _IMP_core.XYZR_set_radius(self, r)
2212 def get_sphere(self):
2213 r"""get_sphere(XYZR self) -> Sphere3D"""
2214 return _IMP_core.XYZR_get_sphere(self)
2216 def set_sphere(self, s):
2217 r"""set_sphere(XYZR self, Sphere3D s)"""
2218 return _IMP_core.XYZR_set_sphere(self, s)
2221 def get_radius_key():
2222 r"""get_radius_key() -> FloatKey"""
2223 return _IMP_core.XYZR_get_radius_key()
2225 def add_to_radius_derivative(self, v, d):
2226 r"""add_to_radius_derivative(XYZR self, double v, DerivativeAccumulator d)"""
2227 return _IMP_core.XYZR_add_to_radius_derivative(self, v, d)
2229 def add_attribute(self, *args):
2231 add_attribute(XYZR self, FloatKey k, IMP::Float v, bool opt)
2232 add_attribute(XYZR self, FloatKey a0, IMP::Float a1)
2233 add_attribute(XYZR self, IntKey a0, IMP::Int a1)
2234 add_attribute(XYZR self, FloatsKey a0, IMP::Floats a1)
2235 add_attribute(XYZR self, IntsKey a0, IMP::Ints a1)
2236 add_attribute(XYZR self, StringKey a0, IMP::String a1)
2237 add_attribute(XYZR self, ParticleIndexKey a0, Particle a1)
2238 add_attribute(XYZR self, ObjectKey a0, Object a1)
2240 return _IMP_core.XYZR_add_attribute(self, *args)
2242 def get_value(self, *args):
2244 get_value(XYZR self, FloatKey a0) -> IMP::Float
2245 get_value(XYZR self, IntKey a0) -> IMP::Int
2246 get_value(XYZR self, FloatsKey a0) -> IMP::Floats
2247 get_value(XYZR self, IntsKey a0) -> IMP::Ints
2248 get_value(XYZR self, StringKey a0) -> IMP::String
2249 get_value(XYZR self, ParticleIndexKey a0) -> Particle
2250 get_value(XYZR self, ObjectKey a0) -> Object
2252 return _IMP_core.XYZR_get_value(self, *args)
2254 def set_value(self, *args):
2256 set_value(XYZR self, FloatKey a0, IMP::Float a1)
2257 set_value(XYZR self, IntKey a0, IMP::Int a1)
2258 set_value(XYZR self, FloatsKey a0, IMP::Floats a1)
2259 set_value(XYZR self, IntsKey a0, IMP::Ints a1)
2260 set_value(XYZR self, StringKey a0, IMP::String a1)
2261 set_value(XYZR self, ParticleIndexKey a0, Particle a1)
2262 set_value(XYZR self, ObjectKey a0, Object a1)
2264 return _IMP_core.XYZR_set_value(self, *args)
2266 def remove_attribute(self, *args):
2268 remove_attribute(XYZR self, FloatKey a0)
2269 remove_attribute(XYZR self, IntKey a0)
2270 remove_attribute(XYZR self, FloatsKey a0)
2271 remove_attribute(XYZR self, IntsKey a0)
2272 remove_attribute(XYZR self, StringKey a0)
2273 remove_attribute(XYZR self, ParticleIndexKey a0)
2274 remove_attribute(XYZR self, ObjectKey a0)
2276 return _IMP_core.XYZR_remove_attribute(self, *args)
2278 def has_attribute(self, *args):
2280 has_attribute(XYZR self, FloatKey a0) -> bool
2281 has_attribute(XYZR self, IntKey a0) -> bool
2282 has_attribute(XYZR self, FloatsKey a0) -> bool
2283 has_attribute(XYZR self, IntsKey a0) -> bool
2284 has_attribute(XYZR self, StringKey a0) -> bool
2285 has_attribute(XYZR self, ParticleIndexKey a0) -> bool
2286 has_attribute(XYZR self, ObjectKey a0) -> bool
2288 return _IMP_core.XYZR_has_attribute(self, *args)
2290 def get_derivative(self, a0):
2291 r"""get_derivative(XYZR self, FloatKey a0) -> double"""
2292 return _IMP_core.XYZR_get_derivative(self, a0)
2295 r"""get_name(XYZR self) -> std::string"""
2296 return _IMP_core.XYZR_get_name(self)
2298 def clear_caches(self):
2299 r"""clear_caches(XYZR self)"""
2300 return _IMP_core.XYZR_clear_caches(self)
2302 def set_name(self, a0):
2303 r"""set_name(XYZR self, std::string a0)"""
2304 return _IMP_core.XYZR_set_name(self, a0)
2307 r"""set_check_level(XYZR self, IMP::CheckLevel a0)"""
2308 return _IMP_core.XYZR_set_check_level(self, a0)
2310 def add_to_derivative(self, a0, a1, a2):
2311 r"""add_to_derivative(XYZR self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2312 return _IMP_core.XYZR_add_to_derivative(self, a0, a1, a2)
2314 def set_is_optimized(self, a0, a1):
2315 r"""set_is_optimized(XYZR self, FloatKey a0, bool a1)"""
2316 return _IMP_core.XYZR_set_is_optimized(self, a0, a1)
2318 def get_is_optimized(self, a0):
2319 r"""get_is_optimized(XYZR self, FloatKey a0) -> bool"""
2320 return _IMP_core.XYZR_get_is_optimized(self, a0)
2323 r"""get_check_level(XYZR self) -> IMP::CheckLevel"""
2324 return _IMP_core.XYZR_get_check_level(self)
2326 def __eq__(self, *args):
2328 __eq__(XYZR self, XYZR o) -> bool
2329 __eq__(XYZR self, Particle d) -> bool
2331 return _IMP_core.XYZR___eq__(self, *args)
2333 def __ne__(self, *args):
2335 __ne__(XYZR self, XYZR o) -> bool
2336 __ne__(XYZR self, Particle d) -> bool
2338 return _IMP_core.XYZR___ne__(self, *args)
2340 def __le__(self, *args):
2342 __le__(XYZR self, XYZR o) -> bool
2343 __le__(XYZR self, Particle d) -> bool
2345 return _IMP_core.XYZR___le__(self, *args)
2347 def __lt__(self, *args):
2349 __lt__(XYZR self, XYZR o) -> bool
2350 __lt__(XYZR self, Particle d) -> bool
2352 return _IMP_core.XYZR___lt__(self, *args)
2354 def __ge__(self, *args):
2356 __ge__(XYZR self, XYZR o) -> bool
2357 __ge__(XYZR self, Particle d) -> bool
2359 return _IMP_core.XYZR___ge__(self, *args)
2361 def __gt__(self, *args):
2363 __gt__(XYZR self, XYZR o) -> bool
2364 __gt__(XYZR self, Particle d) -> bool
2366 return _IMP_core.XYZR___gt__(self, *args)
2369 r"""__hash__(XYZR self) -> std::size_t"""
2370 return _IMP_core.XYZR___hash__(self)
2373 r"""__str__(XYZR self) -> std::string"""
2374 return _IMP_core.XYZR___str__(self)
2377 r"""__repr__(XYZR self) -> std::string"""
2378 return _IMP_core.XYZR___repr__(self)
2380 def _get_as_binary(self):
2381 r"""_get_as_binary(XYZR self) -> PyObject *"""
2382 return _IMP_core.XYZR__get_as_binary(self)
2384 def _set_from_binary(self, p):
2385 r"""_set_from_binary(XYZR self, PyObject * p)"""
2386 return _IMP_core.XYZR__set_from_binary(self, p)
2388 def __getstate__(self):
2389 p = self._get_as_binary()
2390 if len(self.__dict__) > 1:
2391 d = self.__dict__.copy()
2396 def __setstate__(self, p):
2397 if not hasattr(self,
'this'):
2399 if isinstance(p, tuple):
2401 self.__dict__.update(d)
2402 return self._set_from_binary(p)
2404 __swig_destroy__ = _IMP_core.delete_XYZR
2407 _IMP_core.XYZR_swigregister(XYZR)
2410 r"""set_enclosing_sphere(XYZR b, IMP::core::XYZs const & v, double slack=0)"""
2411 return _IMP_core.set_enclosing_sphere(b, v, slack)
2414 r"""set_enclosing_radius(XYZR b, IMP::core::XYZs const & v)"""
2415 return _IMP_core.set_enclosing_radius(b, v)
2418 r"""get_enclosing_sphere(IMP::core::XYZs const & v) -> Sphere3D"""
2419 return _IMP_core.get_enclosing_sphere(v)
2422 r"""create_xyzr_particles(Model m, unsigned int num, IMP::Float radius, IMP::Float box_side=10) -> IMP::core::XYZRs"""
2423 return _IMP_core.create_xyzr_particles(m, num, radius, box_side)
2425 r"""Proxy of C++ IMP::core::XYZRGeometry class."""
2427 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2429 def __init__(self, *args):
2431 __init__(XYZRGeometry self, Particle p) -> XYZRGeometry
2432 __init__(XYZRGeometry self, XYZR d) -> XYZRGeometry
2434 _IMP_core.XYZRGeometry_swiginit(self, _IMP_core.new_XYZRGeometry(*args))
2436 def get_version_info(self):
2437 r"""get_version_info(XYZRGeometry self) -> VersionInfo"""
2438 return _IMP_core.XYZRGeometry_get_version_info(self)
2439 __swig_destroy__ = _IMP_core.delete_XYZRGeometry
2442 r"""__str__(XYZRGeometry self) -> std::string"""
2443 return _IMP_core.XYZRGeometry___str__(self)
2446 r"""__repr__(XYZRGeometry self) -> std::string"""
2447 return _IMP_core.XYZRGeometry___repr__(self)
2451 return _object_cast_to_XYZRGeometry(o)
2455 _IMP_core.XYZRGeometry_swigregister(XYZRGeometry)
2457 r"""Proxy of C++ IMP::core::XYZRsGeometry class."""
2459 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2461 def __init__(self, sc):
2462 r"""__init__(XYZRsGeometry self, SingletonContainer sc) -> XYZRsGeometry"""
2463 _IMP_core.XYZRsGeometry_swiginit(self, _IMP_core.new_XYZRsGeometry(sc))
2465 def get_version_info(self):
2466 r"""get_version_info(XYZRsGeometry self) -> VersionInfo"""
2467 return _IMP_core.XYZRsGeometry_get_version_info(self)
2468 __swig_destroy__ = _IMP_core.delete_XYZRsGeometry
2471 r"""__str__(XYZRsGeometry self) -> std::string"""
2472 return _IMP_core.XYZRsGeometry___str__(self)
2475 r"""__repr__(XYZRsGeometry self) -> std::string"""
2476 return _IMP_core.XYZRsGeometry___repr__(self)
2480 return _object_cast_to_XYZRsGeometry(o)
2484 _IMP_core.XYZRsGeometry_swigregister(XYZRsGeometry)
2486 r"""Proxy of C++ IMP::core::XYZDerivativeGeometry class."""
2488 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2490 def __init__(self, *args):
2492 __init__(XYZDerivativeGeometry self, Particle p) -> XYZDerivativeGeometry
2493 __init__(XYZDerivativeGeometry self, XYZ d) -> XYZDerivativeGeometry
2495 _IMP_core.XYZDerivativeGeometry_swiginit(self, _IMP_core.new_XYZDerivativeGeometry(*args))
2497 def get_version_info(self):
2498 r"""get_version_info(XYZDerivativeGeometry self) -> VersionInfo"""
2499 return _IMP_core.XYZDerivativeGeometry_get_version_info(self)
2500 __swig_destroy__ = _IMP_core.delete_XYZDerivativeGeometry
2503 r"""__str__(XYZDerivativeGeometry self) -> std::string"""
2504 return _IMP_core.XYZDerivativeGeometry___str__(self)
2507 r"""__repr__(XYZDerivativeGeometry self) -> std::string"""
2508 return _IMP_core.XYZDerivativeGeometry___repr__(self)
2512 return _object_cast_to_XYZDerivativeGeometry(o)
2516 _IMP_core.XYZDerivativeGeometry_swigregister(XYZDerivativeGeometry)
2518 r"""Proxy of C++ IMP::core::XYZDerivativesGeometry class."""
2520 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2522 def __init__(self, sc):
2523 r"""__init__(XYZDerivativesGeometry self, SingletonContainer sc) -> XYZDerivativesGeometry"""
2524 _IMP_core.XYZDerivativesGeometry_swiginit(self, _IMP_core.new_XYZDerivativesGeometry(sc))
2526 def get_version_info(self):
2527 r"""get_version_info(XYZDerivativesGeometry self) -> VersionInfo"""
2528 return _IMP_core.XYZDerivativesGeometry_get_version_info(self)
2529 __swig_destroy__ = _IMP_core.delete_XYZDerivativesGeometry
2532 r"""__str__(XYZDerivativesGeometry self) -> std::string"""
2533 return _IMP_core.XYZDerivativesGeometry___str__(self)
2536 r"""__repr__(XYZDerivativesGeometry self) -> std::string"""
2537 return _IMP_core.XYZDerivativesGeometry___repr__(self)
2541 return _object_cast_to_XYZDerivativesGeometry(o)
2545 _IMP_core.XYZDerivativesGeometry_swigregister(XYZDerivativesGeometry)
2547 r"""Proxy of C++ IMP::core::EdgePairGeometry class."""
2549 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2551 def __init__(self, pp):
2552 r"""__init__(EdgePairGeometry self, IMP::ParticlePair const & pp) -> EdgePairGeometry"""
2553 _IMP_core.EdgePairGeometry_swiginit(self, _IMP_core.new_EdgePairGeometry(pp))
2555 def get_version_info(self):
2556 r"""get_version_info(EdgePairGeometry self) -> VersionInfo"""
2557 return _IMP_core.EdgePairGeometry_get_version_info(self)
2558 __swig_destroy__ = _IMP_core.delete_EdgePairGeometry
2561 r"""__str__(EdgePairGeometry self) -> std::string"""
2562 return _IMP_core.EdgePairGeometry___str__(self)
2565 r"""__repr__(EdgePairGeometry self) -> std::string"""
2566 return _IMP_core.EdgePairGeometry___repr__(self)
2570 return _object_cast_to_EdgePairGeometry(o)
2574 _IMP_core.EdgePairGeometry_swigregister(EdgePairGeometry)
2576 r"""Proxy of C++ IMP::core::EdgePairsGeometry class."""
2578 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2580 def __init__(self, sc):
2581 r"""__init__(EdgePairsGeometry self, PairContainer sc) -> EdgePairsGeometry"""
2582 _IMP_core.EdgePairsGeometry_swiginit(self, _IMP_core.new_EdgePairsGeometry(sc))
2584 def get_version_info(self):
2585 r"""get_version_info(EdgePairsGeometry self) -> VersionInfo"""
2586 return _IMP_core.EdgePairsGeometry_get_version_info(self)
2587 __swig_destroy__ = _IMP_core.delete_EdgePairsGeometry
2590 r"""__str__(EdgePairsGeometry self) -> std::string"""
2591 return _IMP_core.EdgePairsGeometry___str__(self)
2594 r"""__repr__(EdgePairsGeometry self) -> std::string"""
2595 return _IMP_core.EdgePairsGeometry___repr__(self)
2599 return _object_cast_to_EdgePairsGeometry(o)
2603 _IMP_core.EdgePairsGeometry_swigregister(EdgePairsGeometry)
2605 r"""Proxy of C++ IMP::core::Direction class."""
2607 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2610 def do_setup_particle(m, pi, v):
2611 r"""do_setup_particle(Model m, ParticleIndex pi, Vector3D v)"""
2612 return _IMP_core.Direction_do_setup_particle(m, pi, v)
2614 def __init__(self, *args):
2616 __init__(Direction self) -> Direction
2617 __init__(Direction self, Model m, ParticleIndex id) -> Direction
2618 __init__(Direction self, _ParticleAdaptor d) -> Direction
2620 _IMP_core.Direction_swiginit(self, _IMP_core.new_Direction(*args))
2622 def show(self, *args):
2623 r"""show(Direction self, _ostream out=std::cout)"""
2624 return _IMP_core.Direction_show(self, *args)
2627 def setup_particle(*args):
2629 setup_particle(Model m, ParticleIndex pi, Vector3D v) -> Direction
2630 setup_particle(_ParticleAdaptor pa, Vector3D v) -> Direction
2632 return _IMP_core.Direction_setup_particle(*args)
2635 def get_is_setup(*args):
2637 get_is_setup(_ParticleAdaptor p) -> bool
2638 get_is_setup(Model m, ParticleIndex pi) -> bool
2640 return _IMP_core.Direction_get_is_setup(*args)
2643 def get_direction_key(i):
2644 r"""get_direction_key(unsigned int i) -> FloatKey"""
2645 return _IMP_core.Direction_get_direction_key(i)
2647 def get_direction_derivative(self, i):
2648 r"""get_direction_derivative(Direction self, int i) -> IMP::Float"""
2649 return _IMP_core.Direction_get_direction_derivative(self, i)
2651 def get_direction_derivatives(self):
2652 r"""get_direction_derivatives(Direction self) -> Vector3D"""
2653 return _IMP_core.Direction_get_direction_derivatives(self)
2655 def add_to_direction_derivative(self, i, v, d):
2656 r"""add_to_direction_derivative(Direction self, int i, IMP::Float v, DerivativeAccumulator d)"""
2657 return _IMP_core.Direction_add_to_direction_derivative(self, i, v, d)
2659 def add_to_direction_derivatives(self, v, d):
2660 r"""add_to_direction_derivatives(Direction self, Vector3D v, DerivativeAccumulator d)"""
2661 return _IMP_core.Direction_add_to_direction_derivatives(self, v, d)
2663 def get_direction_is_optimized(self):
2664 r"""get_direction_is_optimized(Direction self) -> bool"""
2665 return _IMP_core.Direction_get_direction_is_optimized(self)
2667 def set_direction_is_optimized(self, tf):
2668 r"""set_direction_is_optimized(Direction self, bool tf)"""
2669 return _IMP_core.Direction_set_direction_is_optimized(self, tf)
2671 def get_direction(self):
2672 r"""get_direction(Direction self) -> Vector3D"""
2673 return _IMP_core.Direction_get_direction(self)
2675 def set_direction(self, v):
2676 r"""set_direction(Direction self, Vector3D v)"""
2677 return _IMP_core.Direction_set_direction(self, v)
2680 r"""reflect(Direction self)"""
2681 return _IMP_core.Direction_reflect(self)
2683 def add_attribute(self, *args):
2685 add_attribute(Direction self, FloatKey k, IMP::Float v, bool opt)
2686 add_attribute(Direction self, FloatKey a0, IMP::Float a1)
2687 add_attribute(Direction self, IntKey a0, IMP::Int a1)
2688 add_attribute(Direction self, FloatsKey a0, IMP::Floats a1)
2689 add_attribute(Direction self, IntsKey a0, IMP::Ints a1)
2690 add_attribute(Direction self, StringKey a0, IMP::String a1)
2691 add_attribute(Direction self, ParticleIndexKey a0, Particle a1)
2692 add_attribute(Direction self, ObjectKey a0, Object a1)
2694 return _IMP_core.Direction_add_attribute(self, *args)
2696 def get_value(self, *args):
2698 get_value(Direction self, FloatKey a0) -> IMP::Float
2699 get_value(Direction self, IntKey a0) -> IMP::Int
2700 get_value(Direction self, FloatsKey a0) -> IMP::Floats
2701 get_value(Direction self, IntsKey a0) -> IMP::Ints
2702 get_value(Direction self, StringKey a0) -> IMP::String
2703 get_value(Direction self, ParticleIndexKey a0) -> Particle
2704 get_value(Direction self, ObjectKey a0) -> Object
2706 return _IMP_core.Direction_get_value(self, *args)
2708 def set_value(self, *args):
2710 set_value(Direction self, FloatKey a0, IMP::Float a1)
2711 set_value(Direction self, IntKey a0, IMP::Int a1)
2712 set_value(Direction self, FloatsKey a0, IMP::Floats a1)
2713 set_value(Direction self, IntsKey a0, IMP::Ints a1)
2714 set_value(Direction self, StringKey a0, IMP::String a1)
2715 set_value(Direction self, ParticleIndexKey a0, Particle a1)
2716 set_value(Direction self, ObjectKey a0, Object a1)
2718 return _IMP_core.Direction_set_value(self, *args)
2720 def remove_attribute(self, *args):
2722 remove_attribute(Direction self, FloatKey a0)
2723 remove_attribute(Direction self, IntKey a0)
2724 remove_attribute(Direction self, FloatsKey a0)
2725 remove_attribute(Direction self, IntsKey a0)
2726 remove_attribute(Direction self, StringKey a0)
2727 remove_attribute(Direction self, ParticleIndexKey a0)
2728 remove_attribute(Direction self, ObjectKey a0)
2730 return _IMP_core.Direction_remove_attribute(self, *args)
2732 def has_attribute(self, *args):
2734 has_attribute(Direction self, FloatKey a0) -> bool
2735 has_attribute(Direction self, IntKey a0) -> bool
2736 has_attribute(Direction self, FloatsKey a0) -> bool
2737 has_attribute(Direction self, IntsKey a0) -> bool
2738 has_attribute(Direction self, StringKey a0) -> bool
2739 has_attribute(Direction self, ParticleIndexKey a0) -> bool
2740 has_attribute(Direction self, ObjectKey a0) -> bool
2742 return _IMP_core.Direction_has_attribute(self, *args)
2744 def get_derivative(self, a0):
2745 r"""get_derivative(Direction self, FloatKey a0) -> double"""
2746 return _IMP_core.Direction_get_derivative(self, a0)
2749 r"""get_name(Direction self) -> std::string"""
2750 return _IMP_core.Direction_get_name(self)
2752 def clear_caches(self):
2753 r"""clear_caches(Direction self)"""
2754 return _IMP_core.Direction_clear_caches(self)
2756 def set_name(self, a0):
2757 r"""set_name(Direction self, std::string a0)"""
2758 return _IMP_core.Direction_set_name(self, a0)
2761 r"""set_check_level(Direction self, IMP::CheckLevel a0)"""
2762 return _IMP_core.Direction_set_check_level(self, a0)
2764 def add_to_derivative(self, a0, a1, a2):
2765 r"""add_to_derivative(Direction self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2766 return _IMP_core.Direction_add_to_derivative(self, a0, a1, a2)
2768 def set_is_optimized(self, a0, a1):
2769 r"""set_is_optimized(Direction self, FloatKey a0, bool a1)"""
2770 return _IMP_core.Direction_set_is_optimized(self, a0, a1)
2772 def get_is_optimized(self, a0):
2773 r"""get_is_optimized(Direction self, FloatKey a0) -> bool"""
2774 return _IMP_core.Direction_get_is_optimized(self, a0)
2777 r"""get_check_level(Direction self) -> IMP::CheckLevel"""
2778 return _IMP_core.Direction_get_check_level(self)
2780 def __eq__(self, *args):
2782 __eq__(Direction self, Direction o) -> bool
2783 __eq__(Direction self, Particle d) -> bool
2785 return _IMP_core.Direction___eq__(self, *args)
2787 def __ne__(self, *args):
2789 __ne__(Direction self, Direction o) -> bool
2790 __ne__(Direction self, Particle d) -> bool
2792 return _IMP_core.Direction___ne__(self, *args)
2794 def __le__(self, *args):
2796 __le__(Direction self, Direction o) -> bool
2797 __le__(Direction self, Particle d) -> bool
2799 return _IMP_core.Direction___le__(self, *args)
2801 def __lt__(self, *args):
2803 __lt__(Direction self, Direction o) -> bool
2804 __lt__(Direction self, Particle d) -> bool
2806 return _IMP_core.Direction___lt__(self, *args)
2808 def __ge__(self, *args):
2810 __ge__(Direction self, Direction o) -> bool
2811 __ge__(Direction self, Particle d) -> bool
2813 return _IMP_core.Direction___ge__(self, *args)
2815 def __gt__(self, *args):
2817 __gt__(Direction self, Direction o) -> bool
2818 __gt__(Direction self, Particle d) -> bool
2820 return _IMP_core.Direction___gt__(self, *args)
2823 r"""__hash__(Direction self) -> std::size_t"""
2824 return _IMP_core.Direction___hash__(self)
2827 r"""__str__(Direction self) -> std::string"""
2828 return _IMP_core.Direction___str__(self)
2831 r"""__repr__(Direction self) -> std::string"""
2832 return _IMP_core.Direction___repr__(self)
2834 def _get_as_binary(self):
2835 r"""_get_as_binary(Direction self) -> PyObject *"""
2836 return _IMP_core.Direction__get_as_binary(self)
2838 def _set_from_binary(self, p):
2839 r"""_set_from_binary(Direction self, PyObject * p)"""
2840 return _IMP_core.Direction__set_from_binary(self, p)
2842 def __getstate__(self):
2843 p = self._get_as_binary()
2844 if len(self.__dict__) > 1:
2845 d = self.__dict__.copy()
2850 def __setstate__(self, p):
2851 if not hasattr(self,
'this'):
2853 if isinstance(p, tuple):
2855 self.__dict__.update(d)
2856 return self._set_from_binary(p)
2858 __swig_destroy__ = _IMP_core.delete_Direction
2861 _IMP_core.Direction_swigregister(Direction)
2864 r"""get_angle(Direction a, Direction b) -> double"""
2865 return _IMP_core.get_angle(a, b)
2867 r"""Proxy of C++ IMP::core::DirectionAngle class."""
2869 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2871 def __init__(self, *args):
2873 __init__(DirectionAngle self) -> DirectionAngle
2874 __init__(DirectionAngle self, Model m, ParticleIndex id) -> DirectionAngle
2875 __init__(DirectionAngle self, _ParticleAdaptor d) -> DirectionAngle
2877 _IMP_core.DirectionAngle_swiginit(self, _IMP_core.new_DirectionAngle(*args))
2879 def show(self, *args):
2880 r"""show(DirectionAngle self, _ostream out=std::cout)"""
2881 return _IMP_core.DirectionAngle_show(self, *args)
2884 def setup_particle(*args):
2886 setup_particle(Model m, ParticleIndex pi, IMP::ParticleIndexPair ds) -> DirectionAngle
2887 setup_particle(_ParticleAdaptor pa, IMP::ParticleIndexPair ds) -> DirectionAngle
2888 setup_particle(Model m, ParticleIndex pi, _ParticleIndexAdaptor d0, _ParticleIndexAdaptor d1) -> DirectionAngle
2889 setup_particle(_ParticleAdaptor pa, _ParticleIndexAdaptor d0, _ParticleIndexAdaptor d1) -> DirectionAngle
2891 return _IMP_core.DirectionAngle_setup_particle(*args)
2894 def get_is_setup(*args):
2896 get_is_setup(_ParticleAdaptor p) -> bool
2897 get_is_setup(Model m, ParticleIndex pi) -> bool
2899 return _IMP_core.DirectionAngle_get_is_setup(*args)
2902 def get_angle_key():
2903 r"""get_angle_key() -> FloatKey"""
2904 return _IMP_core.DirectionAngle_get_angle_key()
2907 def get_particle_key(i):
2908 r"""get_particle_key(unsigned int i) -> ParticleIndexKey"""
2909 return _IMP_core.DirectionAngle_get_particle_key(i)
2911 def get_particle(self, *args):
2913 get_particle(DirectionAngle self, unsigned int i) -> Particle
2914 get_particle(DirectionAngle self) -> Particle
2916 return _IMP_core.DirectionAngle_get_particle(self, *args)
2918 def get_particle_index(self, *args):
2920 get_particle_index(DirectionAngle self, unsigned int i) -> ParticleIndex
2921 get_particle_index(DirectionAngle self) -> ParticleIndex
2923 return _IMP_core.DirectionAngle_get_particle_index(self, *args)
2926 r"""get_angle(DirectionAngle self) -> IMP::Float"""
2927 return _IMP_core.DirectionAngle_get_angle(self)
2929 def get_angle_derivative(self):
2930 r"""get_angle_derivative(DirectionAngle self) -> IMP::Float"""
2931 return _IMP_core.DirectionAngle_get_angle_derivative(self)
2933 def add_to_angle_derivative(self, v, d):
2934 r"""add_to_angle_derivative(DirectionAngle self, IMP::Float v, DerivativeAccumulator d)"""
2935 return _IMP_core.DirectionAngle_add_to_angle_derivative(self, v, d)
2937 def add_attribute(self, *args):
2939 add_attribute(DirectionAngle self, FloatKey k, IMP::Float v, bool opt)
2940 add_attribute(DirectionAngle self, FloatKey a0, IMP::Float a1)
2941 add_attribute(DirectionAngle self, IntKey a0, IMP::Int a1)
2942 add_attribute(DirectionAngle self, FloatsKey a0, IMP::Floats a1)
2943 add_attribute(DirectionAngle self, IntsKey a0, IMP::Ints a1)
2944 add_attribute(DirectionAngle self, StringKey a0, IMP::String a1)
2945 add_attribute(DirectionAngle self, ParticleIndexKey a0, Particle a1)
2946 add_attribute(DirectionAngle self, ObjectKey a0, Object a1)
2948 return _IMP_core.DirectionAngle_add_attribute(self, *args)
2950 def get_value(self, *args):
2952 get_value(DirectionAngle self, FloatKey a0) -> IMP::Float
2953 get_value(DirectionAngle self, IntKey a0) -> IMP::Int
2954 get_value(DirectionAngle self, FloatsKey a0) -> IMP::Floats
2955 get_value(DirectionAngle self, IntsKey a0) -> IMP::Ints
2956 get_value(DirectionAngle self, StringKey a0) -> IMP::String
2957 get_value(DirectionAngle self, ParticleIndexKey a0) -> Particle
2958 get_value(DirectionAngle self, ObjectKey a0) -> Object
2960 return _IMP_core.DirectionAngle_get_value(self, *args)
2962 def set_value(self, *args):
2964 set_value(DirectionAngle self, FloatKey a0, IMP::Float a1)
2965 set_value(DirectionAngle self, IntKey a0, IMP::Int a1)
2966 set_value(DirectionAngle self, FloatsKey a0, IMP::Floats a1)
2967 set_value(DirectionAngle self, IntsKey a0, IMP::Ints a1)
2968 set_value(DirectionAngle self, StringKey a0, IMP::String a1)
2969 set_value(DirectionAngle self, ParticleIndexKey a0, Particle a1)
2970 set_value(DirectionAngle self, ObjectKey a0, Object a1)
2972 return _IMP_core.DirectionAngle_set_value(self, *args)
2974 def remove_attribute(self, *args):
2976 remove_attribute(DirectionAngle self, FloatKey a0)
2977 remove_attribute(DirectionAngle self, IntKey a0)
2978 remove_attribute(DirectionAngle self, FloatsKey a0)
2979 remove_attribute(DirectionAngle self, IntsKey a0)
2980 remove_attribute(DirectionAngle self, StringKey a0)
2981 remove_attribute(DirectionAngle self, ParticleIndexKey a0)
2982 remove_attribute(DirectionAngle self, ObjectKey a0)
2984 return _IMP_core.DirectionAngle_remove_attribute(self, *args)
2986 def has_attribute(self, *args):
2988 has_attribute(DirectionAngle self, FloatKey a0) -> bool
2989 has_attribute(DirectionAngle self, IntKey a0) -> bool
2990 has_attribute(DirectionAngle self, FloatsKey a0) -> bool
2991 has_attribute(DirectionAngle self, IntsKey a0) -> bool
2992 has_attribute(DirectionAngle self, StringKey a0) -> bool
2993 has_attribute(DirectionAngle self, ParticleIndexKey a0) -> bool
2994 has_attribute(DirectionAngle self, ObjectKey a0) -> bool
2996 return _IMP_core.DirectionAngle_has_attribute(self, *args)
2998 def get_derivative(self, a0):
2999 r"""get_derivative(DirectionAngle self, FloatKey a0) -> double"""
3000 return _IMP_core.DirectionAngle_get_derivative(self, a0)
3003 r"""get_name(DirectionAngle self) -> std::string"""
3004 return _IMP_core.DirectionAngle_get_name(self)
3006 def clear_caches(self):
3007 r"""clear_caches(DirectionAngle self)"""
3008 return _IMP_core.DirectionAngle_clear_caches(self)
3010 def set_name(self, a0):
3011 r"""set_name(DirectionAngle self, std::string a0)"""
3012 return _IMP_core.DirectionAngle_set_name(self, a0)
3015 r"""set_check_level(DirectionAngle self, IMP::CheckLevel a0)"""
3016 return _IMP_core.DirectionAngle_set_check_level(self, a0)
3018 def add_to_derivative(self, a0, a1, a2):
3019 r"""add_to_derivative(DirectionAngle self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
3020 return _IMP_core.DirectionAngle_add_to_derivative(self, a0, a1, a2)
3022 def set_is_optimized(self, a0, a1):
3023 r"""set_is_optimized(DirectionAngle self, FloatKey a0, bool a1)"""
3024 return _IMP_core.DirectionAngle_set_is_optimized(self, a0, a1)
3026 def get_is_optimized(self, a0):
3027 r"""get_is_optimized(DirectionAngle self, FloatKey a0) -> bool"""
3028 return _IMP_core.DirectionAngle_get_is_optimized(self, a0)
3031 r"""get_check_level(DirectionAngle self) -> IMP::CheckLevel"""
3032 return _IMP_core.DirectionAngle_get_check_level(self)
3034 def __eq__(self, *args):
3036 __eq__(DirectionAngle self, DirectionAngle o) -> bool
3037 __eq__(DirectionAngle self, Particle d) -> bool
3039 return _IMP_core.DirectionAngle___eq__(self, *args)
3041 def __ne__(self, *args):
3043 __ne__(DirectionAngle self, DirectionAngle o) -> bool
3044 __ne__(DirectionAngle self, Particle d) -> bool
3046 return _IMP_core.DirectionAngle___ne__(self, *args)
3048 def __le__(self, *args):
3050 __le__(DirectionAngle self, DirectionAngle o) -> bool
3051 __le__(DirectionAngle self, Particle d) -> bool
3053 return _IMP_core.DirectionAngle___le__(self, *args)
3055 def __lt__(self, *args):
3057 __lt__(DirectionAngle self, DirectionAngle o) -> bool
3058 __lt__(DirectionAngle self, Particle d) -> bool
3060 return _IMP_core.DirectionAngle___lt__(self, *args)
3062 def __ge__(self, *args):
3064 __ge__(DirectionAngle self, DirectionAngle o) -> bool
3065 __ge__(DirectionAngle self, Particle d) -> bool
3067 return _IMP_core.DirectionAngle___ge__(self, *args)
3069 def __gt__(self, *args):
3071 __gt__(DirectionAngle self, DirectionAngle o) -> bool
3072 __gt__(DirectionAngle self, Particle d) -> bool
3074 return _IMP_core.DirectionAngle___gt__(self, *args)
3077 r"""__hash__(DirectionAngle self) -> std::size_t"""
3078 return _IMP_core.DirectionAngle___hash__(self)
3081 r"""__str__(DirectionAngle self) -> std::string"""
3082 return _IMP_core.DirectionAngle___str__(self)
3085 r"""__repr__(DirectionAngle self) -> std::string"""
3086 return _IMP_core.DirectionAngle___repr__(self)
3088 def _get_as_binary(self):
3089 r"""_get_as_binary(DirectionAngle self) -> PyObject *"""
3090 return _IMP_core.DirectionAngle__get_as_binary(self)
3092 def _set_from_binary(self, p):
3093 r"""_set_from_binary(DirectionAngle self, PyObject * p)"""
3094 return _IMP_core.DirectionAngle__set_from_binary(self, p)
3096 def __getstate__(self):
3097 p = self._get_as_binary()
3098 if len(self.__dict__) > 1:
3099 d = self.__dict__.copy()
3104 def __setstate__(self, p):
3105 if not hasattr(self,
'this'):
3107 if isinstance(p, tuple):
3109 self.__dict__.update(d)
3110 return self._set_from_binary(p)
3112 __swig_destroy__ = _IMP_core.delete_DirectionAngle
3115 _IMP_core.DirectionAngle_swigregister(DirectionAngle)
3117 r"""Proxy of C++ IMP::core::Surface class."""
3119 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3122 def do_setup_particle(*args):
3124 do_setup_particle(Model m, ParticleIndex pi, Vector3D center=IMP::algebra::Vector3D(0, 0, 0), Vector3D normal=IMP::algebra::Vector3D(0, 0, 1))
3125 do_setup_particle(Model m, ParticleIndex pi, ReferenceFrame3D rf)
3127 return _IMP_core.Surface_do_setup_particle(*args)
3129 def __init__(self, *args):
3131 __init__(Surface self) -> Surface
3132 __init__(Surface self, Model m, ParticleIndex id) -> Surface
3133 __init__(Surface self, _ParticleAdaptor d) -> Surface
3135 _IMP_core.Surface_swiginit(self, _IMP_core.new_Surface(*args))
3137 def show(self, *args):
3138 r"""show(Surface self, _ostream out=std::cout)"""
3139 return _IMP_core.Surface_show(self, *args)
3142 def setup_particle(*args):
3144 setup_particle(Model m, ParticleIndex pi) -> Surface
3145 setup_particle(_ParticleAdaptor pa) -> Surface
3146 setup_particle(Model m, ParticleIndex pi, ReferenceFrame3D rf) -> Surface
3147 setup_particle(_ParticleAdaptor pa, ReferenceFrame3D rf) -> Surface
3148 setup_particle(Model m, ParticleIndex pi, Vector3D center) -> Surface
3149 setup_particle(_ParticleAdaptor pa, Vector3D center) -> Surface
3150 setup_particle(Model m, ParticleIndex pi, Vector3D center, Vector3D normal) -> Surface
3151 setup_particle(_ParticleAdaptor pa, Vector3D center, Vector3D normal) -> Surface
3153 return _IMP_core.Surface_setup_particle(*args)
3155 def get_normal_x(self):
3156 r"""get_normal_x(Surface self) -> IMP::Float"""
3157 return _IMP_core.Surface_get_normal_x(self)
3159 def set_normal_x(self, t):
3160 r"""set_normal_x(Surface self, IMP::Float t)"""
3161 return _IMP_core.Surface_set_normal_x(self, t)
3163 def get_normal_y(self):
3164 r"""get_normal_y(Surface self) -> IMP::Float"""
3165 return _IMP_core.Surface_get_normal_y(self)
3167 def set_normal_y(self, t):
3168 r"""set_normal_y(Surface self, IMP::Float t)"""
3169 return _IMP_core.Surface_set_normal_y(self, t)
3171 def get_normal_z(self):
3172 r"""get_normal_z(Surface self) -> IMP::Float"""
3173 return _IMP_core.Surface_get_normal_z(self)
3175 def set_normal_z(self, t):
3176 r"""set_normal_z(Surface self, IMP::Float t)"""
3177 return _IMP_core.Surface_set_normal_z(self, t)
3180 def get_is_setup(*args):
3182 get_is_setup(_ParticleAdaptor p) -> bool
3183 get_is_setup(Model m, ParticleIndex pi) -> bool
3185 return _IMP_core.Surface_get_is_setup(*args)
3188 def get_normal_key(i):
3189 r"""get_normal_key(unsigned int i) -> FloatKey"""
3190 return _IMP_core.Surface_get_normal_key(i)
3192 def get_normal_derivative(self, i):
3193 r"""get_normal_derivative(Surface self, int i) -> IMP::Float"""
3194 return _IMP_core.Surface_get_normal_derivative(self, i)
3196 def get_normal_derivatives(self):
3197 r"""get_normal_derivatives(Surface self) -> Vector3D"""
3198 return _IMP_core.Surface_get_normal_derivatives(self)
3200 def add_to_normal_derivative(self, i, v, d):
3201 r"""add_to_normal_derivative(Surface self, int i, IMP::Float v, DerivativeAccumulator d)"""
3202 return _IMP_core.Surface_add_to_normal_derivative(self, i, v, d)
3204 def add_to_normal_derivatives(self, v, d):
3205 r"""add_to_normal_derivatives(Surface self, Vector3D v, DerivativeAccumulator d)"""
3206 return _IMP_core.Surface_add_to_normal_derivatives(self, v, d)
3208 def get_normal_is_optimized(self):
3209 r"""get_normal_is_optimized(Surface self) -> bool"""
3210 return _IMP_core.Surface_get_normal_is_optimized(self)
3212 def set_normal_is_optimized(self, tf):
3213 r"""set_normal_is_optimized(Surface self, bool tf)"""
3214 return _IMP_core.Surface_set_normal_is_optimized(self, tf)
3216 def get_normal(self):
3217 r"""get_normal(Surface self) -> Vector3D"""
3218 return _IMP_core.Surface_get_normal(self)
3220 def set_normal(self, normal):
3221 r"""set_normal(Surface self, Vector3D normal)"""
3222 return _IMP_core.Surface_set_normal(self, normal)
3225 r"""reflect(Surface self)"""
3226 return _IMP_core.Surface_reflect(self)
3229 r"""get_height(Surface self, Vector3D v) -> double"""
3230 return _IMP_core.Surface_get_height(self, v)
3233 r"""get_depth(Surface self, Vector3D v) -> double"""
3234 return _IMP_core.Surface_get_depth(self, v)
3236 def get_distance_to(self, v):
3237 r"""get_distance_to(Surface self, Vector3D v) -> double"""
3238 return _IMP_core.Surface_get_distance_to(self, v)
3240 def get_distance_to_center(self, v):
3241 r"""get_distance_to_center(Surface self, Vector3D v) -> double"""
3242 return _IMP_core.Surface_get_distance_to_center(self, v)
3244 def set_reference_frame(self, rf):
3245 r"""set_reference_frame(Surface self, ReferenceFrame3D rf)"""
3246 return _IMP_core.Surface_set_reference_frame(self, rf)
3248 def get_reference_frame(self):
3249 r"""get_reference_frame(Surface self) -> ReferenceFrame3D"""
3250 return _IMP_core.Surface_get_reference_frame(self)
3252 def get_plane(self):
3253 r"""get_plane(Surface self) -> Plane3D"""
3254 return _IMP_core.Surface_get_plane(self)
3256 def add_attribute(self, *args):
3258 add_attribute(Surface self, FloatKey k, IMP::Float v, bool opt)
3259 add_attribute(Surface self, FloatKey a0, IMP::Float a1)
3260 add_attribute(Surface self, IntKey a0, IMP::Int a1)
3261 add_attribute(Surface self, FloatsKey a0, IMP::Floats a1)
3262 add_attribute(Surface self, IntsKey a0, IMP::Ints a1)
3263 add_attribute(Surface self, StringKey a0, IMP::String a1)
3264 add_attribute(Surface self, ParticleIndexKey a0, Particle a1)
3265 add_attribute(Surface self, ObjectKey a0, Object a1)
3267 return _IMP_core.Surface_add_attribute(self, *args)
3269 def get_value(self, *args):
3271 get_value(Surface self, FloatKey a0) -> IMP::Float
3272 get_value(Surface self, IntKey a0) -> IMP::Int
3273 get_value(Surface self, FloatsKey a0) -> IMP::Floats
3274 get_value(Surface self, IntsKey a0) -> IMP::Ints
3275 get_value(Surface self, StringKey a0) -> IMP::String
3276 get_value(Surface self, ParticleIndexKey a0) -> Particle
3277 get_value(Surface self, ObjectKey a0) -> Object
3279 return _IMP_core.Surface_get_value(self, *args)
3281 def set_value(self, *args):
3283 set_value(Surface self, FloatKey a0, IMP::Float a1)
3284 set_value(Surface self, IntKey a0, IMP::Int a1)
3285 set_value(Surface self, FloatsKey a0, IMP::Floats a1)
3286 set_value(Surface self, IntsKey a0, IMP::Ints a1)
3287 set_value(Surface self, StringKey a0, IMP::String a1)
3288 set_value(Surface self, ParticleIndexKey a0, Particle a1)
3289 set_value(Surface self, ObjectKey a0, Object a1)
3291 return _IMP_core.Surface_set_value(self, *args)
3293 def remove_attribute(self, *args):
3295 remove_attribute(Surface self, FloatKey a0)
3296 remove_attribute(Surface self, IntKey a0)
3297 remove_attribute(Surface self, FloatsKey a0)
3298 remove_attribute(Surface self, IntsKey a0)
3299 remove_attribute(Surface self, StringKey a0)
3300 remove_attribute(Surface self, ParticleIndexKey a0)
3301 remove_attribute(Surface self, ObjectKey a0)
3303 return _IMP_core.Surface_remove_attribute(self, *args)
3305 def has_attribute(self, *args):
3307 has_attribute(Surface self, FloatKey a0) -> bool
3308 has_attribute(Surface self, IntKey a0) -> bool
3309 has_attribute(Surface self, FloatsKey a0) -> bool
3310 has_attribute(Surface self, IntsKey a0) -> bool
3311 has_attribute(Surface self, StringKey a0) -> bool
3312 has_attribute(Surface self, ParticleIndexKey a0) -> bool
3313 has_attribute(Surface self, ObjectKey a0) -> bool
3315 return _IMP_core.Surface_has_attribute(self, *args)
3317 def get_derivative(self, a0):
3318 r"""get_derivative(Surface self, FloatKey a0) -> double"""
3319 return _IMP_core.Surface_get_derivative(self, a0)
3322 r"""get_name(Surface self) -> std::string"""
3323 return _IMP_core.Surface_get_name(self)
3325 def clear_caches(self):
3326 r"""clear_caches(Surface self)"""
3327 return _IMP_core.Surface_clear_caches(self)
3329 def set_name(self, a0):
3330 r"""set_name(Surface self, std::string a0)"""
3331 return _IMP_core.Surface_set_name(self, a0)
3334 r"""set_check_level(Surface self, IMP::CheckLevel a0)"""
3335 return _IMP_core.Surface_set_check_level(self, a0)
3337 def add_to_derivative(self, a0, a1, a2):
3338 r"""add_to_derivative(Surface self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
3339 return _IMP_core.Surface_add_to_derivative(self, a0, a1, a2)
3341 def set_is_optimized(self, a0, a1):
3342 r"""set_is_optimized(Surface self, FloatKey a0, bool a1)"""
3343 return _IMP_core.Surface_set_is_optimized(self, a0, a1)
3345 def get_is_optimized(self, a0):
3346 r"""get_is_optimized(Surface self, FloatKey a0) -> bool"""
3347 return _IMP_core.Surface_get_is_optimized(self, a0)
3350 r"""get_check_level(Surface self) -> IMP::CheckLevel"""
3351 return _IMP_core.Surface_get_check_level(self)
3353 def __eq__(self, *args):
3355 __eq__(Surface self, Surface o) -> bool
3356 __eq__(Surface self, Particle d) -> bool
3358 return _IMP_core.Surface___eq__(self, *args)
3360 def __ne__(self, *args):
3362 __ne__(Surface self, Surface o) -> bool
3363 __ne__(Surface self, Particle d) -> bool
3365 return _IMP_core.Surface___ne__(self, *args)
3367 def __le__(self, *args):
3369 __le__(Surface self, Surface o) -> bool
3370 __le__(Surface self, Particle d) -> bool
3372 return _IMP_core.Surface___le__(self, *args)
3374 def __lt__(self, *args):
3376 __lt__(Surface self, Surface o) -> bool
3377 __lt__(Surface self, Particle d) -> bool
3379 return _IMP_core.Surface___lt__(self, *args)
3381 def __ge__(self, *args):
3383 __ge__(Surface self, Surface o) -> bool
3384 __ge__(Surface self, Particle d) -> bool
3386 return _IMP_core.Surface___ge__(self, *args)
3388 def __gt__(self, *args):
3390 __gt__(Surface self, Surface o) -> bool
3391 __gt__(Surface self, Particle d) -> bool
3393 return _IMP_core.Surface___gt__(self, *args)
3396 r"""__hash__(Surface self) -> std::size_t"""
3397 return _IMP_core.Surface___hash__(self)
3400 r"""__str__(Surface self) -> std::string"""
3401 return _IMP_core.Surface___str__(self)
3404 r"""__repr__(Surface self) -> std::string"""
3405 return _IMP_core.Surface___repr__(self)
3407 def _get_as_binary(self):
3408 r"""_get_as_binary(Surface self) -> PyObject *"""
3409 return _IMP_core.Surface__get_as_binary(self)
3411 def _set_from_binary(self, p):
3412 r"""_set_from_binary(Surface self, PyObject * p)"""
3413 return _IMP_core.Surface__set_from_binary(self, p)
3415 def __getstate__(self):
3416 p = self._get_as_binary()
3417 if len(self.__dict__) > 1:
3418 d = self.__dict__.copy()
3423 def __setstate__(self, p):
3424 if not hasattr(self,
'this'):
3426 if isinstance(p, tuple):
3428 self.__dict__.update(d)
3429 return self._set_from_binary(p)
3431 __swig_destroy__ = _IMP_core.delete_Surface
3434 _IMP_core.Surface_swigregister(Surface)
3438 get_height(Surface s, XYZR d) -> double
3439 get_height(Surface s, XYZ d) -> double
3441 return _IMP_core.get_height(*args)
3445 get_depth(Surface s, XYZR d) -> double
3446 get_depth(Surface s, XYZ d) -> double
3448 return _IMP_core.get_depth(*args)
3452 get_distance(XYZ a, XYZ b) -> double
3453 get_distance(XYZR a, XYZR b) -> double
3454 get_distance(Surface s, XYZR d) -> double
3455 get_distance(Surface s, XYZ d) -> double
3457 return _IMP_core.get_distance(*args)
3459 r"""Proxy of C++ IMP::core::SurfaceGeometry class."""
3461 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3463 def __init__(self, *args):
3465 __init__(SurfaceGeometry self, std::string n="SurfaceGeometry") -> SurfaceGeometry
3466 __init__(SurfaceGeometry self, Surface s, std::string const n="SurfaceGeometry") -> SurfaceGeometry
3467 __init__(SurfaceGeometry self, Surface s, Color c, std::string n="SurfaceGeometry") -> SurfaceGeometry
3469 _IMP_core.SurfaceGeometry_swiginit(self, _IMP_core.new_SurfaceGeometry(*args))
3471 def get_geometry(self):
3472 r"""get_geometry(SurfaceGeometry self) -> Surface"""
3473 return _IMP_core.SurfaceGeometry_get_geometry(self)
3475 def set_geometry(self, s):
3476 r"""set_geometry(SurfaceGeometry self, Surface s)"""
3477 return _IMP_core.SurfaceGeometry_set_geometry(self, s)
3479 def get_version_info(self):
3480 r"""get_version_info(SurfaceGeometry self) -> VersionInfo"""
3481 return _IMP_core.SurfaceGeometry_get_version_info(self)
3482 __swig_destroy__ = _IMP_core.delete_SurfaceGeometry
3485 r"""__str__(SurfaceGeometry self) -> std::string"""
3486 return _IMP_core.SurfaceGeometry___str__(self)
3489 r"""__repr__(SurfaceGeometry self) -> std::string"""
3490 return _IMP_core.SurfaceGeometry___repr__(self)
3494 return _object_cast_to_SurfaceGeometry(o)
3498 _IMP_core.SurfaceGeometry_swigregister(SurfaceGeometry)
3501 r"""create_geometry(Surface s, std::string name=std::string("SurfaceGeometry%1%")) -> SurfaceGeometry"""
3502 return _IMP_core.create_geometry(*args)
3504 r"""Proxy of C++ IMP::core::SurfaceGeometryConstraint class."""
3506 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3508 def __init__(self, s, g):
3509 r"""__init__(SurfaceGeometryConstraint self, Surface s, SurfaceGeometry g) -> SurfaceGeometryConstraint"""
3510 _IMP_core.SurfaceGeometryConstraint_swiginit(self, _IMP_core.new_SurfaceGeometryConstraint(s, g))
3512 def get_surface(self):
3513 r"""get_surface(SurfaceGeometryConstraint self) -> Surface"""
3514 return _IMP_core.SurfaceGeometryConstraint_get_surface(self)
3516 def get_geometry(self):
3517 r"""get_geometry(SurfaceGeometryConstraint self) -> SurfaceGeometry"""
3518 return _IMP_core.SurfaceGeometryConstraint_get_geometry(self)
3520 def do_get_inputs(self):
3521 r"""do_get_inputs(SurfaceGeometryConstraint self) -> IMP::ModelObjectsTemp"""
3522 return _IMP_core.SurfaceGeometryConstraint_do_get_inputs(self)
3524 def do_get_outputs(self):
3525 r"""do_get_outputs(SurfaceGeometryConstraint self) -> IMP::ModelObjectsTemp"""
3526 return _IMP_core.SurfaceGeometryConstraint_do_get_outputs(self)
3528 def get_version_info(self):
3529 r"""get_version_info(SurfaceGeometryConstraint self) -> VersionInfo"""
3530 return _IMP_core.SurfaceGeometryConstraint_get_version_info(self)
3531 __swig_destroy__ = _IMP_core.delete_SurfaceGeometryConstraint
3534 r"""__str__(SurfaceGeometryConstraint self) -> std::string"""
3535 return _IMP_core.SurfaceGeometryConstraint___str__(self)
3538 r"""__repr__(SurfaceGeometryConstraint self) -> std::string"""
3539 return _IMP_core.SurfaceGeometryConstraint___repr__(self)
3543 return _object_cast_to_SurfaceGeometryConstraint(o)
3547 _IMP_core.SurfaceGeometryConstraint_swigregister(SurfaceGeometryConstraint)
3550 r"""get_constrained_surface_geometry(Surface s, std::string name="SurfaceGeometry%1%") -> SurfaceGeometry"""
3551 return _IMP_core.get_constrained_surface_geometry(*args)
3553 r"""Proxy of C++ IMP::core::LateralSurfaceConstraint class."""
3555 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3557 def __init__(self, s, d):
3558 r"""__init__(LateralSurfaceConstraint self, Surface s, XYZ d) -> LateralSurfaceConstraint"""
3559 _IMP_core.LateralSurfaceConstraint_swiginit(self, _IMP_core.new_LateralSurfaceConstraint(s, d))
3561 def do_get_inputs(self):
3562 r"""do_get_inputs(LateralSurfaceConstraint self) -> IMP::ModelObjectsTemp"""
3563 return _IMP_core.LateralSurfaceConstraint_do_get_inputs(self)
3565 def do_get_outputs(self):
3566 r"""do_get_outputs(LateralSurfaceConstraint self) -> IMP::ModelObjectsTemp"""
3567 return _IMP_core.LateralSurfaceConstraint_do_get_outputs(self)
3569 def get_version_info(self):
3570 r"""get_version_info(LateralSurfaceConstraint self) -> VersionInfo"""
3571 return _IMP_core.LateralSurfaceConstraint_get_version_info(self)
3572 __swig_destroy__ = _IMP_core.delete_LateralSurfaceConstraint
3575 r"""__str__(LateralSurfaceConstraint self) -> std::string"""
3576 return _IMP_core.LateralSurfaceConstraint___str__(self)
3579 r"""__repr__(LateralSurfaceConstraint self) -> std::string"""
3580 return _IMP_core.LateralSurfaceConstraint___repr__(self)
3584 return _object_cast_to_LateralSurfaceConstraint(o)
3588 _IMP_core.LateralSurfaceConstraint_swigregister(LateralSurfaceConstraint)
3590 r"""Proxy of C++ IMP::core::AngleTripletScore class."""
3592 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3594 def __init__(self, *args):
3596 __init__(AngleTripletScore self, UnaryFunction f) -> AngleTripletScore
3597 __init__(AngleTripletScore self) -> AngleTripletScore
3599 _IMP_core.AngleTripletScore_swiginit(self, _IMP_core.new_AngleTripletScore(*args))
3601 def do_get_inputs(self, m, pis):
3602 r"""do_get_inputs(AngleTripletScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3603 return _IMP_core.AngleTripletScore_do_get_inputs(self, m, pis)
3605 def get_version_info(self):
3606 r"""get_version_info(AngleTripletScore self) -> VersionInfo"""
3607 return _IMP_core.AngleTripletScore_get_version_info(self)
3608 __swig_destroy__ = _IMP_core.delete_AngleTripletScore
3611 r"""__str__(AngleTripletScore self) -> std::string"""
3612 return _IMP_core.AngleTripletScore___str__(self)
3615 r"""__repr__(AngleTripletScore self) -> std::string"""
3616 return _IMP_core.AngleTripletScore___repr__(self)
3620 return _object_cast_to_AngleTripletScore(o)
3623 def _get_as_binary(self):
3624 r"""_get_as_binary(AngleTripletScore self) -> PyObject *"""
3625 return _IMP_core.AngleTripletScore__get_as_binary(self)
3627 def _set_from_binary(self, p):
3628 r"""_set_from_binary(AngleTripletScore self, PyObject * p)"""
3629 return _IMP_core.AngleTripletScore__set_from_binary(self, p)
3631 def __getstate__(self):
3632 p = self._get_as_binary()
3633 if len(self.__dict__) > 1:
3634 d = self.__dict__.copy()
3639 def __setstate__(self, p):
3640 if not hasattr(self,
'this'):
3642 if isinstance(p, tuple):
3644 self.__dict__.update(d)
3645 return self._set_from_binary(p)
3649 _IMP_core.AngleTripletScore_swigregister(AngleTripletScore)
3650 class BallMover(MonteCarloMover):
3651 r"""Proxy of C++ IMP::core::BallMover class."""
3653 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3655 def __init__(self, *args):
3657 __init__(BallMover self, Model m, ParticleIndex pi, IMP::FloatKeys const & vars, double radius) -> BallMover
3658 __init__(BallMover self, Model m, ParticleIndex pi, double radius) -> BallMover
3659 __init__(BallMover self, Model m, IMP::ParticleIndexes const & pis, IMP::FloatKeys const & vars, IMP::Float radius) -> BallMover
3660 __init__(BallMover self, Model m, IMP::ParticleIndexes const & pis, IMP::Float radius) -> BallMover
3661 __init__(BallMover self) -> BallMover
3663 _IMP_core.BallMover_swiginit(self, _IMP_core.new_BallMover(*args))
3665 def set_radius(self, radius):
3666 r"""set_radius(BallMover self, IMP::Float radius)"""
3667 return _IMP_core.BallMover_set_radius(self, radius)
3669 def get_radius(self):
3670 r"""get_radius(BallMover self) -> IMP::Float"""
3671 return _IMP_core.BallMover_get_radius(self)
3673 def get_version_info(self):
3674 r"""get_version_info(BallMover self) -> VersionInfo"""
3675 return _IMP_core.BallMover_get_version_info(self)
3676 __swig_destroy__ = _IMP_core.delete_BallMover
3679 r"""__str__(BallMover self) -> std::string"""
3680 return _IMP_core.BallMover___str__(self)
3683 r"""__repr__(BallMover self) -> std::string"""
3684 return _IMP_core.BallMover___repr__(self)
3688 return _object_cast_to_BallMover(o)
3691 def _get_as_binary(self):
3692 r"""_get_as_binary(BallMover self) -> PyObject *"""
3693 return _IMP_core.BallMover__get_as_binary(self)
3695 def _set_from_binary(self, p):
3696 r"""_set_from_binary(BallMover self, PyObject * p)"""
3697 return _IMP_core.BallMover__set_from_binary(self, p)
3699 def __getstate__(self):
3700 p = self._get_as_binary()
3701 if len(self.__dict__) > 1:
3702 d = self.__dict__.copy()
3707 def __setstate__(self, p):
3708 if not hasattr(self,
'this'):
3710 if isinstance(p, tuple):
3712 self.__dict__.update(d)
3713 return self._set_from_binary(p)
3717 _IMP_core.BallMover_swigregister(BallMover)
3718 class SerialMover(MonteCarloMover):
3719 r"""Proxy of C++ IMP::core::SerialMover class."""
3721 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3723 def __init__(self, *args):
3725 __init__(SerialMover self, IMP::core::MonteCarloMoversTemp const & mvs) -> SerialMover
3726 __init__(SerialMover self) -> SerialMover
3728 _IMP_core.SerialMover_swiginit(self, _IMP_core.new_SerialMover(*args))
3730 def get_movers(self):
3731 r"""get_movers(SerialMover self) -> IMP::core::MonteCarloMovers const &"""
3732 return _IMP_core.SerialMover_get_movers(self)
3734 def get_version_info(self):
3735 r"""get_version_info(SerialMover self) -> VersionInfo"""
3736 return _IMP_core.SerialMover_get_version_info(self)
3737 __swig_destroy__ = _IMP_core.delete_SerialMover
3740 r"""__str__(SerialMover self) -> std::string"""
3741 return _IMP_core.SerialMover___str__(self)
3744 r"""__repr__(SerialMover self) -> std::string"""
3745 return _IMP_core.SerialMover___repr__(self)
3749 return _object_cast_to_SerialMover(o)
3752 def _get_as_binary(self):
3753 r"""_get_as_binary(SerialMover self) -> PyObject *"""
3754 return _IMP_core.SerialMover__get_as_binary(self)
3756 def _set_from_binary(self, p):
3757 r"""_set_from_binary(SerialMover self, PyObject * p)"""
3758 return _IMP_core.SerialMover__set_from_binary(self, p)
3760 def __getstate__(self):
3761 p = self._get_as_binary()
3762 if len(self.__dict__) > 1:
3763 d = self.__dict__.copy()
3768 def __setstate__(self, p):
3769 if not hasattr(self,
'this'):
3771 if isinstance(p, tuple):
3773 self.__dict__.update(d)
3774 return self._set_from_binary(p)
3778 _IMP_core.SerialMover_swigregister(SerialMover)
3779 class SubsetMover(MonteCarloMover):
3780 r"""Proxy of C++ IMP::core::SubsetMover class."""
3782 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3784 def __init__(self, *args):
3786 __init__(SubsetMover self, IMP::core::MonteCarloMoversTemp const & mvs, unsigned int n) -> SubsetMover
3787 __init__(SubsetMover self) -> SubsetMover
3789 _IMP_core.SubsetMover_swiginit(self, _IMP_core.new_SubsetMover(*args))
3791 def get_movers(self):
3792 r"""get_movers(SubsetMover self) -> IMP::core::MonteCarloMovers const &"""
3793 return _IMP_core.SubsetMover_get_movers(self)
3795 def get_subset_size(self):
3796 r"""get_subset_size(SubsetMover self) -> unsigned int"""
3797 return _IMP_core.SubsetMover_get_subset_size(self)
3799 def get_version_info(self):
3800 r"""get_version_info(SubsetMover self) -> VersionInfo"""
3801 return _IMP_core.SubsetMover_get_version_info(self)
3802 __swig_destroy__ = _IMP_core.delete_SubsetMover
3805 r"""__str__(SubsetMover self) -> std::string"""
3806 return _IMP_core.SubsetMover___str__(self)
3809 r"""__repr__(SubsetMover self) -> std::string"""
3810 return _IMP_core.SubsetMover___repr__(self)
3814 return _object_cast_to_SubsetMover(o)
3817 def _get_as_binary(self):
3818 r"""_get_as_binary(SubsetMover self) -> PyObject *"""
3819 return _IMP_core.SubsetMover__get_as_binary(self)
3821 def _set_from_binary(self, p):
3822 r"""_set_from_binary(SubsetMover self, PyObject * p)"""
3823 return _IMP_core.SubsetMover__set_from_binary(self, p)
3825 def __getstate__(self):
3826 p = self._get_as_binary()
3827 if len(self.__dict__) > 1:
3828 d = self.__dict__.copy()
3833 def __setstate__(self, p):
3834 if not hasattr(self,
'this'):
3836 if isinstance(p, tuple):
3838 self.__dict__.update(d)
3839 return self._set_from_binary(p)
3843 _IMP_core.SubsetMover_swigregister(SubsetMover)
3844 class DirectionMover(MonteCarloMover):
3845 r"""Proxy of C++ IMP::core::DirectionMover class."""
3847 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3849 def __init__(self, *args):
3851 __init__(DirectionMover self, Model m, ParticleIndex pi, IMP::Float max_rotation, IMP::Float reflect_probability) -> DirectionMover
3852 __init__(DirectionMover self, Direction d, IMP::Float max_rotation, IMP::Float reflect_probability) -> DirectionMover
3854 _IMP_core.DirectionMover_swiginit(self, _IMP_core.new_DirectionMover(*args))
3856 def set_maximum_rotation(self, mr):
3857 r"""set_maximum_rotation(DirectionMover self, IMP::Float mr)"""
3858 return _IMP_core.DirectionMover_set_maximum_rotation(self, mr)
3860 def set_reflect_probability(self, rp):
3861 r"""set_reflect_probability(DirectionMover self, IMP::Float rp)"""
3862 return _IMP_core.DirectionMover_set_reflect_probability(self, rp)
3864 def get_maximum_rotation(self):
3865 r"""get_maximum_rotation(DirectionMover self) -> IMP::Float"""
3866 return _IMP_core.DirectionMover_get_maximum_rotation(self)
3868 def get_reflect_probability(self):
3869 r"""get_reflect_probability(DirectionMover self) -> IMP::Float"""
3870 return _IMP_core.DirectionMover_get_reflect_probability(self)
3872 def get_direction(self):
3873 r"""get_direction(DirectionMover self) -> Direction"""
3874 return _IMP_core.DirectionMover_get_direction(self)
3876 def get_version_info(self):
3877 r"""get_version_info(DirectionMover self) -> VersionInfo"""
3878 return _IMP_core.DirectionMover_get_version_info(self)
3879 __swig_destroy__ = _IMP_core.delete_DirectionMover
3882 r"""__str__(DirectionMover self) -> std::string"""
3883 return _IMP_core.DirectionMover___str__(self)
3886 r"""__repr__(DirectionMover self) -> std::string"""
3887 return _IMP_core.DirectionMover___repr__(self)
3891 return _object_cast_to_DirectionMover(o)
3895 _IMP_core.DirectionMover_swigregister(DirectionMover)
3896 class SurfaceMover(MonteCarloMover):
3897 r"""Proxy of C++ IMP::core::SurfaceMover class."""
3899 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3901 def __init__(self, *args):
3903 __init__(SurfaceMover self, Model m, ParticleIndex pi, IMP::Float max_translation, IMP::Float max_rotation, IMP::Float reflect_probability) -> SurfaceMover
3904 __init__(SurfaceMover self, Surface s, IMP::Float max_translation, IMP::Float max_rotation, IMP::Float reflect_probability) -> SurfaceMover
3906 _IMP_core.SurfaceMover_swiginit(self, _IMP_core.new_SurfaceMover(*args))
3908 def set_maximum_translation(self, mt):
3909 r"""set_maximum_translation(SurfaceMover self, IMP::Float mt)"""
3910 return _IMP_core.SurfaceMover_set_maximum_translation(self, mt)
3912 def set_maximum_rotation(self, mr):
3913 r"""set_maximum_rotation(SurfaceMover self, IMP::Float mr)"""
3914 return _IMP_core.SurfaceMover_set_maximum_rotation(self, mr)
3916 def set_reflect_probability(self, rp):
3917 r"""set_reflect_probability(SurfaceMover self, IMP::Float rp)"""
3918 return _IMP_core.SurfaceMover_set_reflect_probability(self, rp)
3920 def get_maximum_translation(self):
3921 r"""get_maximum_translation(SurfaceMover self) -> IMP::Float"""
3922 return _IMP_core.SurfaceMover_get_maximum_translation(self)
3924 def get_maximum_rotation(self):
3925 r"""get_maximum_rotation(SurfaceMover self) -> IMP::Float"""
3926 return _IMP_core.SurfaceMover_get_maximum_rotation(self)
3928 def get_reflect_probability(self):
3929 r"""get_reflect_probability(SurfaceMover self) -> IMP::Float"""
3930 return _IMP_core.SurfaceMover_get_reflect_probability(self)
3932 def get_surface(self):
3933 r"""get_surface(SurfaceMover self) -> Surface"""
3934 return _IMP_core.SurfaceMover_get_surface(self)
3936 def get_version_info(self):
3937 r"""get_version_info(SurfaceMover self) -> VersionInfo"""
3938 return _IMP_core.SurfaceMover_get_version_info(self)
3939 __swig_destroy__ = _IMP_core.delete_SurfaceMover
3942 r"""__str__(SurfaceMover self) -> std::string"""
3943 return _IMP_core.SurfaceMover___str__(self)
3946 r"""__repr__(SurfaceMover self) -> std::string"""
3947 return _IMP_core.SurfaceMover___repr__(self)
3951 return _object_cast_to_SurfaceMover(o)
3955 _IMP_core.SurfaceMover_swigregister(SurfaceMover)
3956 class BoxSweepClosePairsFinder(ClosePairsFinder):
3957 r"""Proxy of C++ IMP::core::BoxSweepClosePairsFinder class."""
3959 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3962 r"""__init__(BoxSweepClosePairsFinder self) -> BoxSweepClosePairsFinder"""
3963 _IMP_core.BoxSweepClosePairsFinder_swiginit(self, _IMP_core.new_BoxSweepClosePairsFinder())
3965 def get_close_pairs(self, *args):
3967 get_close_pairs(BoxSweepClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
3968 get_close_pairs(BoxSweepClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
3969 get_close_pairs(BoxSweepClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
3970 get_close_pairs(BoxSweepClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
3972 return _IMP_core.BoxSweepClosePairsFinder_get_close_pairs(self, *args)
3974 def do_get_inputs(self, m, pis):
3975 r"""do_get_inputs(BoxSweepClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3976 return _IMP_core.BoxSweepClosePairsFinder_do_get_inputs(self, m, pis)
3978 def get_version_info(self):
3979 r"""get_version_info(BoxSweepClosePairsFinder self) -> VersionInfo"""
3980 return _IMP_core.BoxSweepClosePairsFinder_get_version_info(self)
3981 __swig_destroy__ = _IMP_core.delete_BoxSweepClosePairsFinder
3984 r"""__str__(BoxSweepClosePairsFinder self) -> std::string"""
3985 return _IMP_core.BoxSweepClosePairsFinder___str__(self)
3988 r"""__repr__(BoxSweepClosePairsFinder self) -> std::string"""
3989 return _IMP_core.BoxSweepClosePairsFinder___repr__(self)
3993 return _object_cast_to_BoxSweepClosePairsFinder(o)
3997 _IMP_core.BoxSweepClosePairsFinder_swigregister(BoxSweepClosePairsFinder)
3999 r"""Proxy of C++ IMP::core::CentroidOfRefined class."""
4001 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
4003 def __init__(self, *args):
4004 r"""__init__(CentroidOfRefined self, Refiner r, FloatKey weight=FloatKey(), IMP::FloatKeys ks=IMP::core::XYZ::get_xyz_keys()) -> CentroidOfRefined"""
4005 _IMP_core.CentroidOfRefined_swiginit(self, _IMP_core.new_CentroidOfRefined(*args))
4007 def do_get_inputs(self, m, pis):
4008 r"""do_get_inputs(CentroidOfRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4009 return _IMP_core.CentroidOfRefined_do_get_inputs(self, m, pis)
4011 def do_get_outputs(self, m, pis):
4012 r"""do_get_outputs(CentroidOfRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4013 return _IMP_core.CentroidOfRefined_do_get_outputs(self, m, pis)
4015 def get_version_info(self):
4016 r"""get_version_info(CentroidOfRefined self) -> VersionInfo"""
4017 return _IMP_core.CentroidOfRefined_get_version_info(self)
4018 __swig_destroy__ = _IMP_core.delete_CentroidOfRefined
4021 r"""__str__(CentroidOfRefined self) -> std::string"""
4022 return _IMP_core.CentroidOfRefined___str__(self)
4025 r"""__repr__(CentroidOfRefined self) -> std::string"""
4026 return _IMP_core.CentroidOfRefined___repr__(self)
4030 return _object_cast_to_CentroidOfRefined(o)
4034 _IMP_core.CentroidOfRefined_swigregister(CentroidOfRefined)
4035 class Centroid(XYZ):
4036 r"""Proxy of C++ IMP::core::Centroid class."""
4038 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
4040 def get_constraint(self):
4041 r"""get_constraint(Centroid self) -> Constraint"""
4042 return _IMP_core.Centroid_get_constraint(self)
4044 def __init__(self, *args):
4046 __init__(Centroid self) -> Centroid
4047 __init__(Centroid self, Model m, ParticleIndex id) -> Centroid
4048 __init__(Centroid self, _ParticleAdaptor d) -> Centroid
4050 _IMP_core.Centroid_swiginit(self, _IMP_core.new_Centroid(*args))
4052 def show(self, *args):
4053 r"""show(Centroid self, _ostream out=std::cout)"""
4054 return _IMP_core.Centroid_show(self, *args)
4057 def setup_particle(*args):
4059 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor members) -> Centroid
4060 setup_particle(_ParticleAdaptor pa, _ParticleIndexesAdaptor members) -> Centroid
4061 setup_particle(Model m, ParticleIndex pi, Refiner refiner) -> Centroid
4062 setup_particle(_ParticleAdaptor pa, Refiner refiner) -> Centroid
4064 return _IMP_core.Centroid_setup_particle(*args)
4067 def get_is_setup(*args):
4069 get_is_setup(_ParticleAdaptor p) -> bool
4070 get_is_setup(Model m, ParticleIndex pi) -> bool
4072 return _IMP_core.Centroid_get_is_setup(*args)
4074 def add_attribute(self, *args):
4076 add_attribute(Centroid self, FloatKey k, IMP::Float v, bool opt)
4077 add_attribute(Centroid self, FloatKey a0, IMP::Float a1)
4078 add_attribute(Centroid self, IntKey a0, IMP::Int a1)
4079 add_attribute(Centroid self, FloatsKey a0, IMP::Floats a1)
4080 add_attribute(Centroid self, IntsKey a0, IMP::Ints a1)
4081 add_attribute(Centroid self, StringKey a0, IMP::String a1)
4082 add_attribute(Centroid self, ParticleIndexKey a0, Particle a1)
4083 add_attribute(Centroid self, ObjectKey a0, Object a1)
4085 return _IMP_core.Centroid_add_attribute(self, *args)
4087 def get_value(self, *args):
4089 get_value(Centroid self, FloatKey a0) -> IMP::Float
4090 get_value(Centroid self, IntKey a0) -> IMP::Int
4091 get_value(Centroid self, FloatsKey a0) -> IMP::Floats
4092 get_value(Centroid self, IntsKey a0) -> IMP::Ints
4093 get_value(Centroid self, StringKey a0) -> IMP::String
4094 get_value(Centroid self, ParticleIndexKey a0) -> Particle
4095 get_value(Centroid self, ObjectKey a0) -> Object
4097 return _IMP_core.Centroid_get_value(self, *args)
4099 def set_value(self, *args):
4101 set_value(Centroid self, FloatKey a0, IMP::Float a1)
4102 set_value(Centroid self, IntKey a0, IMP::Int a1)
4103 set_value(Centroid self, FloatsKey a0, IMP::Floats a1)
4104 set_value(Centroid self, IntsKey a0, IMP::Ints a1)
4105 set_value(Centroid self, StringKey a0, IMP::String a1)
4106 set_value(Centroid self, ParticleIndexKey a0, Particle a1)
4107 set_value(Centroid self, ObjectKey a0, Object a1)
4109 return _IMP_core.Centroid_set_value(self, *args)
4111 def remove_attribute(self, *args):
4113 remove_attribute(Centroid self, FloatKey a0)
4114 remove_attribute(Centroid self, IntKey a0)
4115 remove_attribute(Centroid self, FloatsKey a0)
4116 remove_attribute(Centroid self, IntsKey a0)
4117 remove_attribute(Centroid self, StringKey a0)
4118 remove_attribute(Centroid self, ParticleIndexKey a0)
4119 remove_attribute(Centroid self, ObjectKey a0)
4121 return _IMP_core.Centroid_remove_attribute(self, *args)
4123 def has_attribute(self, *args):
4125 has_attribute(Centroid self, FloatKey a0) -> bool
4126 has_attribute(Centroid self, IntKey a0) -> bool
4127 has_attribute(Centroid self, FloatsKey a0) -> bool
4128 has_attribute(Centroid self, IntsKey a0) -> bool
4129 has_attribute(Centroid self, StringKey a0) -> bool
4130 has_attribute(Centroid self, ParticleIndexKey a0) -> bool
4131 has_attribute(Centroid self, ObjectKey a0) -> bool
4133 return _IMP_core.Centroid_has_attribute(self, *args)
4135 def get_derivative(self, a0):
4136 r"""get_derivative(Centroid self, FloatKey a0) -> double"""
4137 return _IMP_core.Centroid_get_derivative(self, a0)
4140 r"""get_name(Centroid self) -> std::string"""
4141 return _IMP_core.Centroid_get_name(self)
4143 def clear_caches(self):
4144 r"""clear_caches(Centroid self)"""
4145 return _IMP_core.Centroid_clear_caches(self)
4147 def set_name(self, a0):
4148 r"""set_name(Centroid self, std::string a0)"""
4149 return _IMP_core.Centroid_set_name(self, a0)
4152 r"""set_check_level(Centroid self, IMP::CheckLevel a0)"""
4153 return _IMP_core.Centroid_set_check_level(self, a0)
4155 def add_to_derivative(self, a0, a1, a2):
4156 r"""add_to_derivative(Centroid self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
4157 return _IMP_core.Centroid_add_to_derivative(self, a0, a1, a2)
4159 def set_is_optimized(self, a0, a1):
4160 r"""set_is_optimized(Centroid self, FloatKey a0, bool a1)"""
4161 return _IMP_core.Centroid_set_is_optimized(self, a0, a1)
4163 def get_is_optimized(self, a0):
4164 r"""get_is_optimized(Centroid self, FloatKey a0) -> bool"""
4165 return _IMP_core.Centroid_get_is_optimized(self, a0)
4168 r"""get_check_level(Centroid self) -> IMP::CheckLevel"""
4169 return _IMP_core.Centroid_get_check_level(self)
4171 def __eq__(self, *args):
4173 __eq__(Centroid self, Centroid o) -> bool
4174 __eq__(Centroid self, Particle d) -> bool
4176 return _IMP_core.Centroid___eq__(self, *args)
4178 def __ne__(self, *args):
4180 __ne__(Centroid self, Centroid o) -> bool
4181 __ne__(Centroid self, Particle d) -> bool
4183 return _IMP_core.Centroid___ne__(self, *args)
4185 def __le__(self, *args):
4187 __le__(Centroid self, Centroid o) -> bool
4188 __le__(Centroid self, Particle d) -> bool
4190 return _IMP_core.Centroid___le__(self, *args)
4192 def __lt__(self, *args):
4194 __lt__(Centroid self, Centroid o) -> bool
4195 __lt__(Centroid self, Particle d) -> bool
4197 return _IMP_core.Centroid___lt__(self, *args)
4199 def __ge__(self, *args):
4201 __ge__(Centroid self, Centroid o) -> bool
4202 __ge__(Centroid self, Particle d) -> bool
4204 return _IMP_core.Centroid___ge__(self, *args)
4206 def __gt__(self, *args):
4208 __gt__(Centroid self, Centroid o) -> bool
4209 __gt__(Centroid self, Particle d) -> bool
4211 return _IMP_core.Centroid___gt__(self, *args)
4214 r"""__hash__(Centroid self) -> std::size_t"""
4215 return _IMP_core.Centroid___hash__(self)
4218 r"""__str__(Centroid self) -> std::string"""
4219 return _IMP_core.Centroid___str__(self)
4222 r"""__repr__(Centroid self) -> std::string"""
4223 return _IMP_core.Centroid___repr__(self)
4225 def _get_as_binary(self):
4226 r"""_get_as_binary(Centroid self) -> PyObject *"""
4227 return _IMP_core.Centroid__get_as_binary(self)
4229 def _set_from_binary(self, p):
4230 r"""_set_from_binary(Centroid self, PyObject * p)"""
4231 return _IMP_core.Centroid__set_from_binary(self, p)
4233 def __getstate__(self):
4234 p = self._get_as_binary()
4235 if len(self.__dict__) > 1:
4236 d = self.__dict__.copy()
4241 def __setstate__(self, p):
4242 if not hasattr(self,
'this'):
4244 if isinstance(p, tuple):
4246 self.__dict__.update(d)
4247 return self._set_from_binary(p)
4249 __swig_destroy__ = _IMP_core.delete_Centroid
4252 _IMP_core.Centroid_swigregister(Centroid)
4254 r"""Proxy of C++ IMP::core::ChecksScoreState class."""
4256 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
4258 def __init__(self, *args):
4260 __init__(ChecksScoreState self, Model m, double probability) -> ChecksScoreState
4261 __init__(ChecksScoreState self) -> ChecksScoreState
4263 _IMP_core.ChecksScoreState_swiginit(self, _IMP_core.new_ChecksScoreState(*args))
4265 def get_number_of_checked(self):
4266 r"""get_number_of_checked(ChecksScoreState self) -> unsigned int"""
4267 return _IMP_core.ChecksScoreState_get_number_of_checked(self)
4269 def do_before_evaluate(self):
4270 r"""do_before_evaluate(ChecksScoreState self)"""
4271 return _IMP_core.ChecksScoreState_do_before_evaluate(self)
4273 def do_after_evaluate(self, da):
4274 r"""do_after_evaluate(ChecksScoreState self, DerivativeAccumulator da)"""
4275 return _IMP_core.ChecksScoreState_do_after_evaluate(self, da)
4277 def do_get_outputs(self):
4278 r"""do_get_outputs(ChecksScoreState self) -> IMP::ModelObjectsTemp"""
4279 return _IMP_core.ChecksScoreState_do_get_outputs(self)
4281 def do_get_inputs(self):
4282 r"""do_get_inputs(ChecksScoreState self) -> IMP::ModelObjectsTemp"""
4283 return _IMP_core.ChecksScoreState_do_get_inputs(self)
4285 def get_version_info(self):
4286 r"""get_version_info(ChecksScoreState self) -> VersionInfo"""
4287 return _IMP_core.ChecksScoreState_get_version_info(self)
4288 __swig_destroy__ = _IMP_core.delete_ChecksScoreState
4291 r"""__str__(ChecksScoreState self) -> std::string"""
4292 return _IMP_core.ChecksScoreState___str__(self)
4295 r"""__repr__(ChecksScoreState self) -> std::string"""
4296 return _IMP_core.ChecksScoreState___repr__(self)
4300 return _object_cast_to_ChecksScoreState(o)
4303 def _get_as_binary(self):
4304 r"""_get_as_binary(ChecksScoreState self) -> PyObject *"""
4305 return _IMP_core.ChecksScoreState__get_as_binary(self)
4307 def _set_from_binary(self, p):
4308 r"""_set_from_binary(ChecksScoreState self, PyObject * p)"""
4309 return _IMP_core.ChecksScoreState__set_from_binary(self, p)
4311 def __getstate__(self):
4312 p = self._get_as_binary()
4313 if len(self.__dict__) > 1:
4314 d = self.__dict__.copy()
4319 def __setstate__(self, p):
4320 if not hasattr(self,
'this'):
4322 if isinstance(p, tuple):
4324 self.__dict__.update(d)
4325 return self._set_from_binary(p)
4329 _IMP_core.ChecksScoreState_swigregister(ChecksScoreState)
4331 r"""Proxy of C++ IMP::core::ChildrenRefiner class."""
4333 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
4335 def __init__(self, tr):
4336 r"""__init__(ChildrenRefiner self, HierarchyTraits tr) -> ChildrenRefiner"""
4337 _IMP_core.ChildrenRefiner_swiginit(self, _IMP_core.new_ChildrenRefiner(tr))
4339 def do_get_inputs(self, m, pis):
4340 r"""do_get_inputs(ChildrenRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4341 return _IMP_core.ChildrenRefiner_do_get_inputs(self, m, pis)
4343 def get_version_info(self):
4344 r"""get_version_info(ChildrenRefiner self) -> VersionInfo"""
4345 return _IMP_core.ChildrenRefiner_get_version_info(self)
4346 __swig_destroy__ = _IMP_core.delete_ChildrenRefiner
4349 r"""__str__(ChildrenRefiner self) -> std::string"""
4350 return _IMP_core.ChildrenRefiner___str__(self)
4353 r"""__repr__(ChildrenRefiner self) -> std::string"""
4354 return _IMP_core.ChildrenRefiner___repr__(self)
4358 return _object_cast_to_ChildrenRefiner(o)
4362 _IMP_core.ChildrenRefiner_swigregister(ChildrenRefiner)
4364 r"""Proxy of C++ IMP::core::ClosedCubicSpline class."""
4366 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
4368 def __init__(self, values, minrange, spacing):
4369 r"""__init__(ClosedCubicSpline self, IMP::Floats const & values, double minrange, double spacing) -> ClosedCubicSpline"""
4370 _IMP_core.ClosedCubicSpline_swiginit(self, _IMP_core.new_ClosedCubicSpline(values, minrange, spacing))
4372 def get_version_info(self):
4373 r"""get_version_info(ClosedCubicSpline self) -> VersionInfo"""
4374 return _IMP_core.ClosedCubicSpline_get_version_info(self)
4375 __swig_destroy__ = _IMP_core.delete_ClosedCubicSpline
4377 def do_show(self, out):
4378 r"""do_show(ClosedCubicSpline self, _ostream out)"""
4379 return _IMP_core.ClosedCubicSpline_do_show(self, out)
4382 r"""__str__(ClosedCubicSpline self) -> std::string"""
4383 return _IMP_core.ClosedCubicSpline___str__(self)
4386 r"""__repr__(ClosedCubicSpline self) -> std::string"""
4387 return _IMP_core.ClosedCubicSpline___repr__(self)
4391 return _object_cast_to_ClosedCubicSpline(o)
4395 _IMP_core.ClosedCubicSpline_swigregister(ClosedCubicSpline)
4397 r"""Proxy of C++ IMP::core::KClosePairsPairScore class."""
4399 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
4401 def __init__(self, f, r, k=1):
4402 r"""__init__(KClosePairsPairScore self, PairScore f, Refiner r, int k=1) -> KClosePairsPairScore"""
4403 _IMP_core.KClosePairsPairScore_swiginit(self, _IMP_core.new_KClosePairsPairScore(f, r, k))
4405 def get_close_pairs(self, pp):
4406 r"""get_close_pairs(KClosePairsPairScore self, IMP::ParticlePair const & pp) -> IMP::ParticlePairsTemp"""
4407 return _IMP_core.KClosePairsPairScore_get_close_pairs(self, pp)
4409 def create_current_decomposition(self, m, vt):
4410 r"""create_current_decomposition(KClosePairsPairScore self, Model m, IMP::ParticleIndexPair const & vt) -> IMP::Restraints"""
4411 return _IMP_core.KClosePairsPairScore_create_current_decomposition(self, m, vt)
4413 def do_get_inputs(self, m, pis):
4414 r"""do_get_inputs(KClosePairsPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4415 return _IMP_core.KClosePairsPairScore_do_get_inputs(self, m, pis)
4417 def get_version_info(self):
4418 r"""get_version_info(KClosePairsPairScore self) -> VersionInfo"""
4419 return _IMP_core.KClosePairsPairScore_get_version_info(self)
4420 __swig_destroy__ = _IMP_core.delete_KClosePairsPairScore
4423 r"""__str__(KClosePairsPairScore self) -> std::string"""
4424 return _IMP_core.KClosePairsPairScore___str__(self)
4427 r"""__repr__(KClosePairsPairScore self) -> std::string"""
4428 return _IMP_core.KClosePairsPairScore___repr__(self)
4432 return _object_cast_to_KClosePairsPairScore(o)
4436 _IMP_core.KClosePairsPairScore_swigregister(KClosePairsPairScore)
4438 r"""Proxy of C++ IMP::core::ClosePairsPairScore class."""
4440 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
4442 def __init__(self, f, r, max_distance):
4443 r"""__init__(ClosePairsPairScore self, PairScore f, Refiner r, IMP::Float max_distance) -> ClosePairsPairScore"""
4444 _IMP_core.ClosePairsPairScore_swiginit(self, _IMP_core.new_ClosePairsPairScore(f, r, max_distance))
4446 def get_close_pairs(self, pp):
4447 r"""get_close_pairs(ClosePairsPairScore self, IMP::ParticlePair const & pp) -> IMP::ParticlePairsTemp"""
4448 return _IMP_core.ClosePairsPairScore_get_close_pairs(self, pp)
4450 def create_current_decomposition(self, m, vt):
4451 r"""create_current_decomposition(ClosePairsPairScore self, Model m, IMP::ParticleIndexPair const & vt) -> IMP::Restraints"""
4452 return _IMP_core.ClosePairsPairScore_create_current_decomposition(self, m, vt)
4454 def do_get_inputs(self, m, pis):
4455 r"""do_get_inputs(ClosePairsPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4456 return _IMP_core.ClosePairsPairScore_do_get_inputs(self, m, pis)
4458 def get_version_info(self):
4459 r"""get_version_info(ClosePairsPairScore self) -> VersionInfo"""
4460 return _IMP_core.ClosePairsPairScore_get_version_info(self)
4461 __swig_destroy__ = _IMP_core.delete_ClosePairsPairScore
4464 r"""__str__(ClosePairsPairScore self) -> std::string"""
4465 return _IMP_core.ClosePairsPairScore___str__(self)
4468 r"""__repr__(ClosePairsPairScore self) -> std::string"""
4469 return _IMP_core.ClosePairsPairScore___repr__(self)
4473 return _object_cast_to_ClosePairsPairScore(o)
4477 _IMP_core.ClosePairsPairScore_swigregister(ClosePairsPairScore)
4479 r"""Proxy of C++ IMP::core::ConjugateGradients class."""
4481 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
4483 def __init__(self, *args):
4485 __init__(ConjugateGradients self, Model m, std::string name="ConjugateGradients%1%") -> ConjugateGradients
4486 __init__(ConjugateGradients self) -> ConjugateGradients
4488 _IMP_core.ConjugateGradients_swiginit(self, _IMP_core.new_ConjugateGradients(*args))
4490 def set_gradient_threshold(self, t):
4491 r"""set_gradient_threshold(ConjugateGradients self, IMP::Float t)"""
4492 return _IMP_core.ConjugateGradients_set_gradient_threshold(self, t)
4494 def set_threshold(self, t):
4495 r"""set_threshold(ConjugateGradients self, IMP::Float t)"""
4496 return _IMP_core.ConjugateGradients_set_threshold(self, t)
4498 def set_max_change(self, t):
4499 r"""set_max_change(ConjugateGradients self, IMP::Float t)"""
4500 return _IMP_core.ConjugateGradients_set_max_change(self, t)
4502 def do_optimize(self, max_steps):
4503 r"""do_optimize(ConjugateGradients self, unsigned int max_steps) -> IMP::Float"""
4504 return _IMP_core.ConjugateGradients_do_optimize(self, max_steps)
4506 def get_version_info(self):
4507 r"""get_version_info(ConjugateGradients self) -> VersionInfo"""
4508 return _IMP_core.ConjugateGradients_get_version_info(self)
4509 __swig_destroy__ = _IMP_core.delete_ConjugateGradients
4512 r"""__str__(ConjugateGradients self) -> std::string"""
4513 return _IMP_core.ConjugateGradients___str__(self)
4516 r"""__repr__(ConjugateGradients self) -> std::string"""
4517 return _IMP_core.ConjugateGradients___repr__(self)
4521 return _object_cast_to_ConjugateGradients(o)
4524 def _get_as_binary(self):
4525 r"""_get_as_binary(ConjugateGradients self) -> PyObject *"""
4526 return _IMP_core.ConjugateGradients__get_as_binary(self)
4528 def _set_from_binary(self, p):
4529 r"""_set_from_binary(ConjugateGradients self, PyObject * p)"""
4530 return _IMP_core.ConjugateGradients__set_from_binary(self, p)
4532 def __getstate__(self):
4533 p = self._get_as_binary()
4534 if len(self.__dict__) > 1:
4535 d = self.__dict__.copy()
4540 def __setstate__(self, p):
4541 if not hasattr(self,
'this'):
4543 if isinstance(p, tuple):
4545 self.__dict__.update(d)
4546 return self._set_from_binary(p)
4550 _IMP_core.ConjugateGradients_swigregister(ConjugateGradients)
4552 r"""Proxy of C++ IMP::core::ConnectivityRestraint class."""
4554 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
4556 def __init__(self, ps, sc):
4557 r"""__init__(ConnectivityRestraint self, PairScore ps, _SingletonContainerAdaptor sc) -> ConnectivityRestraint"""
4558 _IMP_core.ConnectivityRestraint_swiginit(self, _IMP_core.new_ConnectivityRestraint(ps, sc))
4560 def get_connected_index_pairs(self):
4561 r"""get_connected_index_pairs(ConnectivityRestraint self) -> IMP::ParticleIndexPairs"""
4562 return _IMP_core.ConnectivityRestraint_get_connected_index_pairs(self)
4564 def get_pair_score(self):
4565 r"""get_pair_score(ConnectivityRestraint self) -> PairScore"""
4566 return _IMP_core.ConnectivityRestraint_get_pair_score(self)
4568 def do_create_current_decomposition(self):
4569 r"""do_create_current_decomposition(ConnectivityRestraint self) -> IMP::Restraints"""
4570 return _IMP_core.ConnectivityRestraint_do_create_current_decomposition(self)
4572 def do_get_inputs(self):
4573 r"""do_get_inputs(ConnectivityRestraint self) -> IMP::ModelObjectsTemp"""
4574 return _IMP_core.ConnectivityRestraint_do_get_inputs(self)
4576 def get_version_info(self):
4577 r"""get_version_info(ConnectivityRestraint self) -> VersionInfo"""
4578 return _IMP_core.ConnectivityRestraint_get_version_info(self)
4579 __swig_destroy__ = _IMP_core.delete_ConnectivityRestraint
4582 r"""__str__(ConnectivityRestraint self) -> std::string"""
4583 return _IMP_core.ConnectivityRestraint___str__(self)
4586 r"""__repr__(ConnectivityRestraint self) -> std::string"""
4587 return _IMP_core.ConnectivityRestraint___repr__(self)
4591 return _object_cast_to_ConnectivityRestraint(o)
4595 _IMP_core.ConnectivityRestraint_swigregister(ConnectivityRestraint)
4597 r"""Proxy of C++ IMP::core::ConstantRestraint class."""
4599 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
4601 def __init__(self, *args):
4603 __init__(ConstantRestraint self, Model m, IMP::Float v) -> ConstantRestraint
4604 __init__(ConstantRestraint self) -> ConstantRestraint
4606 _IMP_core.ConstantRestraint_swiginit(self, _IMP_core.new_ConstantRestraint(*args))
4608 def do_get_inputs(self):
4609 r"""do_get_inputs(ConstantRestraint self) -> IMP::ModelObjectsTemp"""
4610 return _IMP_core.ConstantRestraint_do_get_inputs(self)
4612 def get_version_info(self):
4613 r"""get_version_info(ConstantRestraint self) -> VersionInfo"""
4614 return _IMP_core.ConstantRestraint_get_version_info(self)
4615 __swig_destroy__ = _IMP_core.delete_ConstantRestraint
4618 r"""__str__(ConstantRestraint self) -> std::string"""
4619 return _IMP_core.ConstantRestraint___str__(self)
4622 r"""__repr__(ConstantRestraint self) -> std::string"""
4623 return _IMP_core.ConstantRestraint___repr__(self)
4627 return _object_cast_to_ConstantRestraint(o)
4630 def _get_as_binary(self):
4631 r"""_get_as_binary(ConstantRestraint self) -> PyObject *"""
4632 return _IMP_core.ConstantRestraint__get_as_binary(self)
4634 def _set_from_binary(self, p):
4635 r"""_set_from_binary(ConstantRestraint self, PyObject * p)"""
4636 return _IMP_core.ConstantRestraint__set_from_binary(self, p)
4638 def __getstate__(self):
4639 p = self._get_as_binary()
4640 if len(self.__dict__) > 1:
4641 d = self.__dict__.copy()
4646 def __setstate__(self, p):
4647 if not hasattr(self,
'this'):
4649 if isinstance(p, tuple):
4651 self.__dict__.update(d)
4652 return self._set_from_binary(p)
4656 _IMP_core.ConstantRestraint_swigregister(ConstantRestraint)
4658 r"""Proxy of C++ IMP::core::Cosine class."""
4660 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
4662 def __init__(self, *args):
4664 __init__(Cosine self, IMP::Float force_constant, int periodicity, IMP::Float phase) -> Cosine
4665 __init__(Cosine self) -> Cosine
4667 _IMP_core.Cosine_swiginit(self, _IMP_core.new_Cosine(*args))
4669 def get_version_info(self):
4670 r"""get_version_info(Cosine self) -> VersionInfo"""
4671 return _IMP_core.Cosine_get_version_info(self)
4672 __swig_destroy__ = _IMP_core.delete_Cosine
4674 def do_show(self, out):
4675 r"""do_show(Cosine self, _ostream out)"""
4676 return _IMP_core.Cosine_do_show(self, out)
4679 r"""__str__(Cosine self) -> std::string"""
4680 return _IMP_core.Cosine___str__(self)
4683 r"""__repr__(Cosine self) -> std::string"""
4684 return _IMP_core.Cosine___repr__(self)
4688 return _object_cast_to_Cosine(o)
4691 def _get_as_binary(self):
4692 r"""_get_as_binary(Cosine self) -> PyObject *"""
4693 return _IMP_core.Cosine__get_as_binary(self)
4695 def _set_from_binary(self, p):
4696 r"""_set_from_binary(Cosine self, PyObject * p)"""
4697 return _IMP_core.Cosine__set_from_binary(self, p)
4699 def __getstate__(self):
4700 p = self._get_as_binary()
4701 if len(self.__dict__) > 1:
4702 d = self.__dict__.copy()
4707 def __setstate__(self, p):
4708 if not hasattr(self,
'this'):
4710 if isinstance(p, tuple):
4712 self.__dict__.update(d)
4713 return self._set_from_binary(p)
4717 _IMP_core.Cosine_swigregister(Cosine)
4719 r"""Proxy of C++ IMP::core::CoverRefined class."""
4721 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
4723 def __init__(self, ref, slack=0):
4724 r"""__init__(CoverRefined self, Refiner ref, IMP::Float slack=0) -> CoverRefined"""
4725 _IMP_core.CoverRefined_swiginit(self, _IMP_core.new_CoverRefined(ref, slack))
4727 def set_slack(self, slack):
4728 r"""set_slack(CoverRefined self, IMP::Float slack)"""
4729 return _IMP_core.CoverRefined_set_slack(self, slack)
4731 def do_get_inputs(self, m, pis):
4732 r"""do_get_inputs(CoverRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4733 return _IMP_core.CoverRefined_do_get_inputs(self, m, pis)
4735 def do_get_outputs(self, m, pis):
4736 r"""do_get_outputs(CoverRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4737 return _IMP_core.CoverRefined_do_get_outputs(self, m, pis)
4739 def get_version_info(self):
4740 r"""get_version_info(CoverRefined self) -> VersionInfo"""
4741 return _IMP_core.CoverRefined_get_version_info(self)
4742 __swig_destroy__ = _IMP_core.delete_CoverRefined
4745 r"""__str__(CoverRefined self) -> std::string"""
4746 return _IMP_core.CoverRefined___str__(self)
4749 r"""__repr__(CoverRefined self) -> std::string"""
4750 return _IMP_core.CoverRefined___repr__(self)
4754 return _object_cast_to_CoverRefined(o)
4758 _IMP_core.CoverRefined_swigregister(CoverRefined)
4760 r"""Proxy of C++ IMP::core::Cover class."""
4762 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
4764 def get_constraint(self):
4765 r"""get_constraint(Cover self) -> Constraint"""
4766 return _IMP_core.Cover_get_constraint(self)
4768 def __init__(self, *args):
4770 __init__(Cover self) -> Cover
4771 __init__(Cover self, Model m, ParticleIndex id) -> Cover
4772 __init__(Cover self, _ParticleAdaptor d) -> Cover
4774 _IMP_core.Cover_swiginit(self, _IMP_core.new_Cover(*args))
4776 def show(self, *args):
4777 r"""show(Cover self, _ostream out=std::cout)"""
4778 return _IMP_core.Cover_show(self, *args)
4781 def setup_particle(*args):
4783 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor members) -> Cover
4784 setup_particle(_ParticleAdaptor pa, _ParticleIndexesAdaptor members) -> Cover
4785 setup_particle(Model m, ParticleIndex pi, Refiner refiner) -> Cover
4786 setup_particle(_ParticleAdaptor pa, Refiner refiner) -> Cover
4788 return _IMP_core.Cover_setup_particle(*args)
4791 def get_is_setup(*args):
4793 get_is_setup(_ParticleAdaptor p) -> bool
4794 get_is_setup(Model m, ParticleIndex pi) -> bool
4796 return _IMP_core.Cover_get_is_setup(*args)
4798 def add_attribute(self, *args):
4800 add_attribute(Cover self, FloatKey k, IMP::Float v, bool opt)
4801 add_attribute(Cover self, FloatKey a0, IMP::Float a1)
4802 add_attribute(Cover self, IntKey a0, IMP::Int a1)
4803 add_attribute(Cover self, FloatsKey a0, IMP::Floats a1)
4804 add_attribute(Cover self, IntsKey a0, IMP::Ints a1)
4805 add_attribute(Cover self, StringKey a0, IMP::String a1)
4806 add_attribute(Cover self, ParticleIndexKey a0, Particle a1)
4807 add_attribute(Cover self, ObjectKey a0, Object a1)
4809 return _IMP_core.Cover_add_attribute(self, *args)
4811 def get_value(self, *args):
4813 get_value(Cover self, FloatKey a0) -> IMP::Float
4814 get_value(Cover self, IntKey a0) -> IMP::Int
4815 get_value(Cover self, FloatsKey a0) -> IMP::Floats
4816 get_value(Cover self, IntsKey a0) -> IMP::Ints
4817 get_value(Cover self, StringKey a0) -> IMP::String
4818 get_value(Cover self, ParticleIndexKey a0) -> Particle
4819 get_value(Cover self, ObjectKey a0) -> Object
4821 return _IMP_core.Cover_get_value(self, *args)
4823 def set_value(self, *args):
4825 set_value(Cover self, FloatKey a0, IMP::Float a1)
4826 set_value(Cover self, IntKey a0, IMP::Int a1)
4827 set_value(Cover self, FloatsKey a0, IMP::Floats a1)
4828 set_value(Cover self, IntsKey a0, IMP::Ints a1)
4829 set_value(Cover self, StringKey a0, IMP::String a1)
4830 set_value(Cover self, ParticleIndexKey a0, Particle a1)
4831 set_value(Cover self, ObjectKey a0, Object a1)
4833 return _IMP_core.Cover_set_value(self, *args)
4835 def remove_attribute(self, *args):
4837 remove_attribute(Cover self, FloatKey a0)
4838 remove_attribute(Cover self, IntKey a0)
4839 remove_attribute(Cover self, FloatsKey a0)
4840 remove_attribute(Cover self, IntsKey a0)
4841 remove_attribute(Cover self, StringKey a0)
4842 remove_attribute(Cover self, ParticleIndexKey a0)
4843 remove_attribute(Cover self, ObjectKey a0)
4845 return _IMP_core.Cover_remove_attribute(self, *args)
4847 def has_attribute(self, *args):
4849 has_attribute(Cover self, FloatKey a0) -> bool
4850 has_attribute(Cover self, IntKey a0) -> bool
4851 has_attribute(Cover self, FloatsKey a0) -> bool
4852 has_attribute(Cover self, IntsKey a0) -> bool
4853 has_attribute(Cover self, StringKey a0) -> bool
4854 has_attribute(Cover self, ParticleIndexKey a0) -> bool
4855 has_attribute(Cover self, ObjectKey a0) -> bool
4857 return _IMP_core.Cover_has_attribute(self, *args)
4859 def get_derivative(self, a0):
4860 r"""get_derivative(Cover self, FloatKey a0) -> double"""
4861 return _IMP_core.Cover_get_derivative(self, a0)
4864 r"""get_name(Cover self) -> std::string"""
4865 return _IMP_core.Cover_get_name(self)
4867 def clear_caches(self):
4868 r"""clear_caches(Cover self)"""
4869 return _IMP_core.Cover_clear_caches(self)
4871 def set_name(self, a0):
4872 r"""set_name(Cover self, std::string a0)"""
4873 return _IMP_core.Cover_set_name(self, a0)
4876 r"""set_check_level(Cover self, IMP::CheckLevel a0)"""
4877 return _IMP_core.Cover_set_check_level(self, a0)
4879 def add_to_derivative(self, a0, a1, a2):
4880 r"""add_to_derivative(Cover self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
4881 return _IMP_core.Cover_add_to_derivative(self, a0, a1, a2)
4883 def set_is_optimized(self, a0, a1):
4884 r"""set_is_optimized(Cover self, FloatKey a0, bool a1)"""
4885 return _IMP_core.Cover_set_is_optimized(self, a0, a1)
4887 def get_is_optimized(self, a0):
4888 r"""get_is_optimized(Cover self, FloatKey a0) -> bool"""
4889 return _IMP_core.Cover_get_is_optimized(self, a0)
4892 r"""get_check_level(Cover self) -> IMP::CheckLevel"""
4893 return _IMP_core.Cover_get_check_level(self)
4895 def __eq__(self, *args):
4897 __eq__(Cover self, Cover o) -> bool
4898 __eq__(Cover self, Particle d) -> bool
4900 return _IMP_core.Cover___eq__(self, *args)
4902 def __ne__(self, *args):
4904 __ne__(Cover self, Cover o) -> bool
4905 __ne__(Cover self, Particle d) -> bool
4907 return _IMP_core.Cover___ne__(self, *args)
4909 def __le__(self, *args):
4911 __le__(Cover self, Cover o) -> bool
4912 __le__(Cover self, Particle d) -> bool
4914 return _IMP_core.Cover___le__(self, *args)
4916 def __lt__(self, *args):
4918 __lt__(Cover self, Cover o) -> bool
4919 __lt__(Cover self, Particle d) -> bool
4921 return _IMP_core.Cover___lt__(self, *args)
4923 def __ge__(self, *args):
4925 __ge__(Cover self, Cover o) -> bool
4926 __ge__(Cover self, Particle d) -> bool
4928 return _IMP_core.Cover___ge__(self, *args)
4930 def __gt__(self, *args):
4932 __gt__(Cover self, Cover o) -> bool
4933 __gt__(Cover self, Particle d) -> bool
4935 return _IMP_core.Cover___gt__(self, *args)
4938 r"""__hash__(Cover self) -> std::size_t"""
4939 return _IMP_core.Cover___hash__(self)
4942 r"""__str__(Cover self) -> std::string"""
4943 return _IMP_core.Cover___str__(self)
4946 r"""__repr__(Cover self) -> std::string"""
4947 return _IMP_core.Cover___repr__(self)
4949 def _get_as_binary(self):
4950 r"""_get_as_binary(Cover self) -> PyObject *"""
4951 return _IMP_core.Cover__get_as_binary(self)
4953 def _set_from_binary(self, p):
4954 r"""_set_from_binary(Cover self, PyObject * p)"""
4955 return _IMP_core.Cover__set_from_binary(self, p)
4957 def __getstate__(self):
4958 p = self._get_as_binary()
4959 if len(self.__dict__) > 1:
4960 d = self.__dict__.copy()
4965 def __setstate__(self, p):
4966 if not hasattr(self,
'this'):
4968 if isinstance(p, tuple):
4970 self.__dict__.update(d)
4971 return self._set_from_binary(p)
4973 __swig_destroy__ = _IMP_core.delete_Cover
4976 _IMP_core.Cover_swigregister(Cover)
4978 r"""Proxy of C++ IMP::core::DerivativesFromRefined class."""
4980 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
4982 def __init__(self, *args):
4983 r"""__init__(DerivativesFromRefined self, Refiner r, IMP::FloatKeys ks=IMP::core::XYZ::get_xyz_keys()) -> DerivativesFromRefined"""
4984 _IMP_core.DerivativesFromRefined_swiginit(self, _IMP_core.new_DerivativesFromRefined(*args))
4986 def do_get_inputs(self, m, pis):
4987 r"""do_get_inputs(DerivativesFromRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4988 return _IMP_core.DerivativesFromRefined_do_get_inputs(self, m, pis)
4990 def do_get_outputs(self, m, pis):
4991 r"""do_get_outputs(DerivativesFromRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4992 return _IMP_core.DerivativesFromRefined_do_get_outputs(self, m, pis)
4994 def get_version_info(self):
4995 r"""get_version_info(DerivativesFromRefined self) -> VersionInfo"""
4996 return _IMP_core.DerivativesFromRefined_get_version_info(self)
4997 __swig_destroy__ = _IMP_core.delete_DerivativesFromRefined
5000 r"""__str__(DerivativesFromRefined self) -> std::string"""
5001 return _IMP_core.DerivativesFromRefined___str__(self)
5004 r"""__repr__(DerivativesFromRefined self) -> std::string"""
5005 return _IMP_core.DerivativesFromRefined___repr__(self)
5009 return _object_cast_to_DerivativesFromRefined(o)
5013 _IMP_core.DerivativesFromRefined_swigregister(DerivativesFromRefined)
5015 r"""Proxy of C++ IMP::core::DerivativesToRefined class."""
5017 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
5019 def __init__(self, *args):
5020 r"""__init__(DerivativesToRefined self, Refiner r, IMP::FloatKeys ks=IMP::core::XYZ::get_xyz_keys()) -> DerivativesToRefined"""
5021 _IMP_core.DerivativesToRefined_swiginit(self, _IMP_core.new_DerivativesToRefined(*args))
5023 def do_get_inputs(self, m, pis):
5024 r"""do_get_inputs(DerivativesToRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5025 return _IMP_core.DerivativesToRefined_do_get_inputs(self, m, pis)
5027 def do_get_outputs(self, m, pis):
5028 r"""do_get_outputs(DerivativesToRefined self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5029 return _IMP_core.DerivativesToRefined_do_get_outputs(self, m, pis)
5031 def get_version_info(self):
5032 r"""get_version_info(DerivativesToRefined self) -> VersionInfo"""
5033 return _IMP_core.DerivativesToRefined_get_version_info(self)
5034 __swig_destroy__ = _IMP_core.delete_DerivativesToRefined
5037 r"""__str__(DerivativesToRefined self) -> std::string"""
5038 return _IMP_core.DerivativesToRefined___str__(self)
5041 r"""__repr__(DerivativesToRefined self) -> std::string"""
5042 return _IMP_core.DerivativesToRefined___repr__(self)
5046 return _object_cast_to_DerivativesToRefined(o)
5050 _IMP_core.DerivativesToRefined_swigregister(DerivativesToRefined)
5052 r"""Proxy of C++ IMP::core::DiameterRestraint class."""
5054 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
5056 def __init__(self, f, sc, diameter):
5057 r"""__init__(DiameterRestraint self, UnaryFunction f, SingletonContainer sc, IMP::Float diameter) -> DiameterRestraint"""
5058 _IMP_core.DiameterRestraint_swiginit(self, _IMP_core.new_DiameterRestraint(f, sc, diameter))
5060 def do_get_inputs(self):
5061 r"""do_get_inputs(DiameterRestraint self) -> IMP::ModelObjectsTemp"""
5062 return _IMP_core.DiameterRestraint_do_get_inputs(self)
5064 def get_version_info(self):
5065 r"""get_version_info(DiameterRestraint self) -> VersionInfo"""
5066 return _IMP_core.DiameterRestraint_get_version_info(self)
5067 __swig_destroy__ = _IMP_core.delete_DiameterRestraint
5069 def do_create_decomposition(self):
5070 r"""do_create_decomposition(DiameterRestraint self) -> IMP::Restraints"""
5071 return _IMP_core.DiameterRestraint_do_create_decomposition(self)
5073 def do_create_current_decomposition(self):
5074 r"""do_create_current_decomposition(DiameterRestraint self) -> IMP::Restraints"""
5075 return _IMP_core.DiameterRestraint_do_create_current_decomposition(self)
5078 r"""__str__(DiameterRestraint self) -> std::string"""
5079 return _IMP_core.DiameterRestraint___str__(self)
5082 r"""__repr__(DiameterRestraint self) -> std::string"""
5083 return _IMP_core.DiameterRestraint___repr__(self)
5087 return _object_cast_to_DiameterRestraint(o)
5091 _IMP_core.DiameterRestraint_swigregister(DiameterRestraint)
5093 r"""Proxy of C++ IMP::core::Transform class."""
5095 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
5097 def __init__(self, *args):
5099 __init__(Transform self, Transformation3D t, bool ignore_non_xyz=False) -> Transform
5100 __init__(Transform self) -> Transform
5102 _IMP_core.Transform_swiginit(self, _IMP_core.new_Transform(*args))
5104 def do_get_inputs(self, m, pis):
5105 r"""do_get_inputs(Transform self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5106 return _IMP_core.Transform_do_get_inputs(self, m, pis)
5108 def do_get_outputs(self, m, pis):
5109 r"""do_get_outputs(Transform self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5110 return _IMP_core.Transform_do_get_outputs(self, m, pis)
5112 def get_version_info(self):
5113 r"""get_version_info(Transform self) -> VersionInfo"""
5114 return _IMP_core.Transform_get_version_info(self)
5115 __swig_destroy__ = _IMP_core.delete_Transform
5118 r"""__str__(Transform self) -> std::string"""
5119 return _IMP_core.Transform___str__(self)
5122 r"""__repr__(Transform self) -> std::string"""
5123 return _IMP_core.Transform___repr__(self)
5127 return _object_cast_to_Transform(o)
5130 def _get_as_binary(self):
5131 r"""_get_as_binary(Transform self) -> PyObject *"""
5132 return _IMP_core.Transform__get_as_binary(self)
5134 def _set_from_binary(self, p):
5135 r"""_set_from_binary(Transform self, PyObject * p)"""
5136 return _IMP_core.Transform__set_from_binary(self, p)
5138 def __getstate__(self):
5139 p = self._get_as_binary()
5140 if len(self.__dict__) > 1:
5141 d = self.__dict__.copy()
5146 def __setstate__(self, p):
5147 if not hasattr(self,
'this'):
5149 if isinstance(p, tuple):
5151 self.__dict__.update(d)
5152 return self._set_from_binary(p)
5156 _IMP_core.Transform_swigregister(Transform)
5158 r"""Proxy of C++ IMP::core::Reference class."""
5160 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
5162 def __init__(self, *args):
5164 __init__(Reference self) -> Reference
5165 __init__(Reference self, Model m, ParticleIndex id) -> Reference
5166 __init__(Reference self, _ParticleAdaptor d) -> Reference
5168 _IMP_core.Reference_swiginit(self, _IMP_core.new_Reference(*args))
5170 def show(self, *args):
5171 r"""show(Reference self, _ostream out=std::cout)"""
5172 return _IMP_core.Reference_show(self, *args)
5175 def setup_particle(*args):
5177 setup_particle(Model m, ParticleIndex pi, _ParticleIndexAdaptor reference) -> Reference
5178 setup_particle(_ParticleAdaptor pa, _ParticleIndexAdaptor reference) -> Reference
5180 return _IMP_core.Reference_setup_particle(*args)
5182 def get_reference_particle(self):
5183 r"""get_reference_particle(Reference self) -> Particle"""
5184 return _IMP_core.Reference_get_reference_particle(self)
5187 def get_is_setup(*args):
5189 get_is_setup(_ParticleAdaptor p) -> bool
5190 get_is_setup(Model m, ParticleIndex pi) -> bool
5192 return _IMP_core.Reference_get_is_setup(*args)
5195 def get_reference_key():
5196 r"""get_reference_key() -> ParticleIndexKey"""
5197 return _IMP_core.Reference_get_reference_key()
5199 def add_attribute(self, *args):
5201 add_attribute(Reference self, FloatKey k, IMP::Float v, bool opt)
5202 add_attribute(Reference self, FloatKey a0, IMP::Float a1)
5203 add_attribute(Reference self, IntKey a0, IMP::Int a1)
5204 add_attribute(Reference self, FloatsKey a0, IMP::Floats a1)
5205 add_attribute(Reference self, IntsKey a0, IMP::Ints a1)
5206 add_attribute(Reference self, StringKey a0, IMP::String a1)
5207 add_attribute(Reference self, ParticleIndexKey a0, Particle a1)
5208 add_attribute(Reference self, ObjectKey a0, Object a1)
5210 return _IMP_core.Reference_add_attribute(self, *args)
5212 def get_value(self, *args):
5214 get_value(Reference self, FloatKey a0) -> IMP::Float
5215 get_value(Reference self, IntKey a0) -> IMP::Int
5216 get_value(Reference self, FloatsKey a0) -> IMP::Floats
5217 get_value(Reference self, IntsKey a0) -> IMP::Ints
5218 get_value(Reference self, StringKey a0) -> IMP::String
5219 get_value(Reference self, ParticleIndexKey a0) -> Particle
5220 get_value(Reference self, ObjectKey a0) -> Object
5222 return _IMP_core.Reference_get_value(self, *args)
5224 def set_value(self, *args):
5226 set_value(Reference self, FloatKey a0, IMP::Float a1)
5227 set_value(Reference self, IntKey a0, IMP::Int a1)
5228 set_value(Reference self, FloatsKey a0, IMP::Floats a1)
5229 set_value(Reference self, IntsKey a0, IMP::Ints a1)
5230 set_value(Reference self, StringKey a0, IMP::String a1)
5231 set_value(Reference self, ParticleIndexKey a0, Particle a1)
5232 set_value(Reference self, ObjectKey a0, Object a1)
5234 return _IMP_core.Reference_set_value(self, *args)
5236 def remove_attribute(self, *args):
5238 remove_attribute(Reference self, FloatKey a0)
5239 remove_attribute(Reference self, IntKey a0)
5240 remove_attribute(Reference self, FloatsKey a0)
5241 remove_attribute(Reference self, IntsKey a0)
5242 remove_attribute(Reference self, StringKey a0)
5243 remove_attribute(Reference self, ParticleIndexKey a0)
5244 remove_attribute(Reference self, ObjectKey a0)
5246 return _IMP_core.Reference_remove_attribute(self, *args)
5248 def has_attribute(self, *args):
5250 has_attribute(Reference self, FloatKey a0) -> bool
5251 has_attribute(Reference self, IntKey a0) -> bool
5252 has_attribute(Reference self, FloatsKey a0) -> bool
5253 has_attribute(Reference self, IntsKey a0) -> bool
5254 has_attribute(Reference self, StringKey a0) -> bool
5255 has_attribute(Reference self, ParticleIndexKey a0) -> bool
5256 has_attribute(Reference self, ObjectKey a0) -> bool
5258 return _IMP_core.Reference_has_attribute(self, *args)
5260 def get_derivative(self, a0):
5261 r"""get_derivative(Reference self, FloatKey a0) -> double"""
5262 return _IMP_core.Reference_get_derivative(self, a0)
5265 r"""get_name(Reference self) -> std::string"""
5266 return _IMP_core.Reference_get_name(self)
5268 def clear_caches(self):
5269 r"""clear_caches(Reference self)"""
5270 return _IMP_core.Reference_clear_caches(self)
5272 def set_name(self, a0):
5273 r"""set_name(Reference self, std::string a0)"""
5274 return _IMP_core.Reference_set_name(self, a0)
5277 r"""set_check_level(Reference self, IMP::CheckLevel a0)"""
5278 return _IMP_core.Reference_set_check_level(self, a0)
5280 def add_to_derivative(self, a0, a1, a2):
5281 r"""add_to_derivative(Reference self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
5282 return _IMP_core.Reference_add_to_derivative(self, a0, a1, a2)
5284 def set_is_optimized(self, a0, a1):
5285 r"""set_is_optimized(Reference self, FloatKey a0, bool a1)"""
5286 return _IMP_core.Reference_set_is_optimized(self, a0, a1)
5288 def get_is_optimized(self, a0):
5289 r"""get_is_optimized(Reference self, FloatKey a0) -> bool"""
5290 return _IMP_core.Reference_get_is_optimized(self, a0)
5293 r"""get_check_level(Reference self) -> IMP::CheckLevel"""
5294 return _IMP_core.Reference_get_check_level(self)
5296 def __eq__(self, *args):
5298 __eq__(Reference self, Reference o) -> bool
5299 __eq__(Reference self, Particle d) -> bool
5301 return _IMP_core.Reference___eq__(self, *args)
5303 def __ne__(self, *args):
5305 __ne__(Reference self, Reference o) -> bool
5306 __ne__(Reference self, Particle d) -> bool
5308 return _IMP_core.Reference___ne__(self, *args)
5310 def __le__(self, *args):
5312 __le__(Reference self, Reference o) -> bool
5313 __le__(Reference self, Particle d) -> bool
5315 return _IMP_core.Reference___le__(self, *args)
5317 def __lt__(self, *args):
5319 __lt__(Reference self, Reference o) -> bool
5320 __lt__(Reference self, Particle d) -> bool
5322 return _IMP_core.Reference___lt__(self, *args)
5324 def __ge__(self, *args):
5326 __ge__(Reference self, Reference o) -> bool
5327 __ge__(Reference self, Particle d) -> bool
5329 return _IMP_core.Reference___ge__(self, *args)
5331 def __gt__(self, *args):
5333 __gt__(Reference self, Reference o) -> bool
5334 __gt__(Reference self, Particle d) -> bool
5336 return _IMP_core.Reference___gt__(self, *args)
5339 r"""__hash__(Reference self) -> std::size_t"""
5340 return _IMP_core.Reference___hash__(self)
5343 r"""__str__(Reference self) -> std::string"""
5344 return _IMP_core.Reference___str__(self)
5347 r"""__repr__(Reference self) -> std::string"""
5348 return _IMP_core.Reference___repr__(self)
5350 def _get_as_binary(self):
5351 r"""_get_as_binary(Reference self) -> PyObject *"""
5352 return _IMP_core.Reference__get_as_binary(self)
5354 def _set_from_binary(self, p):
5355 r"""_set_from_binary(Reference self, PyObject * p)"""
5356 return _IMP_core.Reference__set_from_binary(self, p)
5358 def __getstate__(self):
5359 p = self._get_as_binary()
5360 if len(self.__dict__) > 1:
5361 d = self.__dict__.copy()
5366 def __setstate__(self, p):
5367 if not hasattr(self,
'this'):
5369 if isinstance(p, tuple):
5371 self.__dict__.update(d)
5372 return self._set_from_binary(p)
5374 __swig_destroy__ = _IMP_core.delete_Reference
5377 _IMP_core.Reference_swigregister(Reference)
5379 r"""Proxy of C++ IMP::core::TransformationAndReflectionSymmetry class."""
5381 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
5383 def __init__(self, t, r):
5384 r"""__init__(TransformationAndReflectionSymmetry self, Transformation3D t, Reflection3D r) -> TransformationAndReflectionSymmetry"""
5385 _IMP_core.TransformationAndReflectionSymmetry_swiginit(self, _IMP_core.new_TransformationAndReflectionSymmetry(t, r))
5387 def do_get_inputs(self, m, pis):
5388 r"""do_get_inputs(TransformationAndReflectionSymmetry self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5389 return _IMP_core.TransformationAndReflectionSymmetry_do_get_inputs(self, m, pis)
5391 def do_get_outputs(self, m, pis):
5392 r"""do_get_outputs(TransformationAndReflectionSymmetry self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5393 return _IMP_core.TransformationAndReflectionSymmetry_do_get_outputs(self, m, pis)
5395 def get_version_info(self):
5396 r"""get_version_info(TransformationAndReflectionSymmetry self) -> VersionInfo"""
5397 return _IMP_core.TransformationAndReflectionSymmetry_get_version_info(self)
5398 __swig_destroy__ = _IMP_core.delete_TransformationAndReflectionSymmetry
5401 r"""__str__(TransformationAndReflectionSymmetry self) -> std::string"""
5402 return _IMP_core.TransformationAndReflectionSymmetry___str__(self)
5405 r"""__repr__(TransformationAndReflectionSymmetry self) -> std::string"""
5406 return _IMP_core.TransformationAndReflectionSymmetry___repr__(self)
5410 return _object_cast_to_TransformationAndReflectionSymmetry(o)
5414 _IMP_core.TransformationAndReflectionSymmetry_swigregister(TransformationAndReflectionSymmetry)
5416 r"""Proxy of C++ IMP::core::TransformationSymmetry class."""
5418 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
5420 def __init__(self, *args):
5422 __init__(TransformationSymmetry self, Transformation3D t) -> TransformationSymmetry
5423 __init__(TransformationSymmetry self, ParticleIndex rb_pi) -> TransformationSymmetry
5425 _IMP_core.TransformationSymmetry_swiginit(self, _IMP_core.new_TransformationSymmetry(*args))
5427 def get_transformation(self):
5428 r"""get_transformation(TransformationSymmetry self) -> Transformation3D"""
5429 return _IMP_core.TransformationSymmetry_get_transformation(self)
5431 def set_transformation(self, t):
5432 r"""set_transformation(TransformationSymmetry self, Transformation3D t)"""
5433 return _IMP_core.TransformationSymmetry_set_transformation(self, t)
5435 def do_get_inputs(self, m, pis):
5436 r"""do_get_inputs(TransformationSymmetry self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5437 return _IMP_core.TransformationSymmetry_do_get_inputs(self, m, pis)
5439 def do_get_outputs(self, m, pis):
5440 r"""do_get_outputs(TransformationSymmetry self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5441 return _IMP_core.TransformationSymmetry_do_get_outputs(self, m, pis)
5443 def get_version_info(self):
5444 r"""get_version_info(TransformationSymmetry self) -> VersionInfo"""
5445 return _IMP_core.TransformationSymmetry_get_version_info(self)
5446 __swig_destroy__ = _IMP_core.delete_TransformationSymmetry
5449 r"""__str__(TransformationSymmetry self) -> std::string"""
5450 return _IMP_core.TransformationSymmetry___str__(self)
5453 r"""__repr__(TransformationSymmetry self) -> std::string"""
5454 return _IMP_core.TransformationSymmetry___repr__(self)
5458 return _object_cast_to_TransformationSymmetry(o)
5462 _IMP_core.TransformationSymmetry_swigregister(TransformationSymmetry)
5463 class TransformationSymmetryMover(MonteCarloMover):
5464 r"""Proxy of C++ IMP::core::TransformationSymmetryMover class."""
5466 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
5468 def __init__(self, m, symm, pivot, max_translation, max_rotation):
5469 r"""__init__(TransformationSymmetryMover self, Model m, TransformationSymmetry symm, ParticleIndex pivot, IMP::Float max_translation, IMP::Float max_rotation) -> TransformationSymmetryMover"""
5470 _IMP_core.TransformationSymmetryMover_swiginit(self, _IMP_core.new_TransformationSymmetryMover(m, symm, pivot, max_translation, max_rotation))
5472 def set_maximum_translation(self, mt):
5473 r"""set_maximum_translation(TransformationSymmetryMover self, IMP::Float mt)"""
5474 return _IMP_core.TransformationSymmetryMover_set_maximum_translation(self, mt)
5476 def set_maximum_rotation(self, mr):
5477 r"""set_maximum_rotation(TransformationSymmetryMover self, IMP::Float mr)"""
5478 return _IMP_core.TransformationSymmetryMover_set_maximum_rotation(self, mr)
5480 def get_maximum_translation(self):
5481 r"""get_maximum_translation(TransformationSymmetryMover self) -> IMP::Float"""
5482 return _IMP_core.TransformationSymmetryMover_get_maximum_translation(self)
5484 def get_maximum_rotation(self):
5485 r"""get_maximum_rotation(TransformationSymmetryMover self) -> IMP::Float"""
5486 return _IMP_core.TransformationSymmetryMover_get_maximum_rotation(self)
5488 def get_version_info(self):
5489 r"""get_version_info(TransformationSymmetryMover self) -> VersionInfo"""
5490 return _IMP_core.TransformationSymmetryMover_get_version_info(self)
5491 __swig_destroy__ = _IMP_core.delete_TransformationSymmetryMover
5494 r"""__str__(TransformationSymmetryMover self) -> std::string"""
5495 return _IMP_core.TransformationSymmetryMover___str__(self)
5498 r"""__repr__(TransformationSymmetryMover self) -> std::string"""
5499 return _IMP_core.TransformationSymmetryMover___repr__(self)
5503 return _object_cast_to_TransformationSymmetryMover(o)
5507 _IMP_core.TransformationSymmetryMover_swigregister(TransformationSymmetryMover)
5509 r"""Proxy of C++ IMP::core::DihedralRestraint class."""
5511 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
5513 def __init__(self, m, score_func, p1, p2, p3, p4):
5514 r"""__init__(DihedralRestraint self, Model m, UnaryFunction score_func, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2, _ParticleIndexAdaptor p3, _ParticleIndexAdaptor p4) -> DihedralRestraint"""
5515 _IMP_core.DihedralRestraint_swiginit(self, _IMP_core.new_DihedralRestraint(m, score_func, p1, p2, p3, p4))
5517 def do_get_inputs(self):
5518 r"""do_get_inputs(DihedralRestraint self) -> IMP::ModelObjectsTemp"""
5519 return _IMP_core.DihedralRestraint_do_get_inputs(self)
5521 def get_version_info(self):
5522 r"""get_version_info(DihedralRestraint self) -> VersionInfo"""
5523 return _IMP_core.DihedralRestraint_get_version_info(self)
5524 __swig_destroy__ = _IMP_core.delete_DihedralRestraint
5527 r"""__str__(DihedralRestraint self) -> std::string"""
5528 return _IMP_core.DihedralRestraint___str__(self)
5531 r"""__repr__(DihedralRestraint self) -> std::string"""
5532 return _IMP_core.DihedralRestraint___repr__(self)
5536 return _object_cast_to_DihedralRestraint(o)
5540 _IMP_core.DihedralRestraint_swigregister(DihedralRestraint)
5542 r"""Proxy of C++ IMP::core::DistancePairScore class."""
5544 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
5546 def __init__(self, *args):
5548 __init__(DistancePairScore self, UnaryFunction uf, std::string name="DistancePairScore%1%") -> DistancePairScore
5549 __init__(DistancePairScore self) -> DistancePairScore
5551 _IMP_core.DistancePairScore_swiginit(self, _IMP_core.new_DistancePairScore(*args))
5553 def do_get_inputs(self, m, pis):
5554 r"""do_get_inputs(DistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5555 return _IMP_core.DistancePairScore_do_get_inputs(self, m, pis)
5557 def get_version_info(self):
5558 r"""get_version_info(DistancePairScore self) -> VersionInfo"""
5559 return _IMP_core.DistancePairScore_get_version_info(self)
5560 __swig_destroy__ = _IMP_core.delete_DistancePairScore
5563 r"""__str__(DistancePairScore self) -> std::string"""
5564 return _IMP_core.DistancePairScore___str__(self)
5567 r"""__repr__(DistancePairScore self) -> std::string"""
5568 return _IMP_core.DistancePairScore___repr__(self)
5572 return _object_cast_to_DistancePairScore(o)
5575 def _get_as_binary(self):
5576 r"""_get_as_binary(DistancePairScore self) -> PyObject *"""
5577 return _IMP_core.DistancePairScore__get_as_binary(self)
5579 def _set_from_binary(self, p):
5580 r"""_set_from_binary(DistancePairScore self, PyObject * p)"""
5581 return _IMP_core.DistancePairScore__set_from_binary(self, p)
5583 def __getstate__(self):
5584 p = self._get_as_binary()
5585 if len(self.__dict__) > 1:
5586 d = self.__dict__.copy()
5591 def __setstate__(self, p):
5592 if not hasattr(self,
'this'):
5594 if isinstance(p, tuple):
5596 self.__dict__.update(d)
5597 return self._set_from_binary(p)
5601 _IMP_core.DistancePairScore_swigregister(DistancePairScore)
5603 r"""Proxy of C++ IMP::core::HarmonicDistancePairScore class."""
5605 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
5607 def __init__(self, *args):
5609 __init__(HarmonicDistancePairScore self, double x0, double k, std::string name="HarmonicDistancePairScore%1%") -> HarmonicDistancePairScore
5610 __init__(HarmonicDistancePairScore self) -> HarmonicDistancePairScore
5612 _IMP_core.HarmonicDistancePairScore_swiginit(self, _IMP_core.new_HarmonicDistancePairScore(*args))
5614 def do_get_inputs(self, m, pis):
5615 r"""do_get_inputs(HarmonicDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5616 return _IMP_core.HarmonicDistancePairScore_do_get_inputs(self, m, pis)
5618 def get_version_info(self):
5619 r"""get_version_info(HarmonicDistancePairScore self) -> VersionInfo"""
5620 return _IMP_core.HarmonicDistancePairScore_get_version_info(self)
5621 __swig_destroy__ = _IMP_core.delete_HarmonicDistancePairScore
5624 r"""__str__(HarmonicDistancePairScore self) -> std::string"""
5625 return _IMP_core.HarmonicDistancePairScore___str__(self)
5628 r"""__repr__(HarmonicDistancePairScore self) -> std::string"""
5629 return _IMP_core.HarmonicDistancePairScore___repr__(self)
5633 return _object_cast_to_HarmonicDistancePairScore(o)
5636 def _get_as_binary(self):
5637 r"""_get_as_binary(HarmonicDistancePairScore self) -> PyObject *"""
5638 return _IMP_core.HarmonicDistancePairScore__get_as_binary(self)
5640 def _set_from_binary(self, p):
5641 r"""_set_from_binary(HarmonicDistancePairScore self, PyObject * p)"""
5642 return _IMP_core.HarmonicDistancePairScore__set_from_binary(self, p)
5644 def __getstate__(self):
5645 p = self._get_as_binary()
5646 if len(self.__dict__) > 1:
5647 d = self.__dict__.copy()
5652 def __setstate__(self, p):
5653 if not hasattr(self,
'this'):
5655 if isinstance(p, tuple):
5657 self.__dict__.update(d)
5658 return self._set_from_binary(p)
5662 _IMP_core.HarmonicDistancePairScore_swigregister(HarmonicDistancePairScore)
5664 r"""Proxy of C++ IMP::core::DistanceRestraint class."""
5666 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
5668 def __init__(self, *args):
5670 __init__(DistanceRestraint self, Model m, UnaryFunction score_func, _ParticleIndexAdaptor a, _ParticleIndexAdaptor b, std::string name="DistanceRestraint %1%") -> DistanceRestraint
5671 __init__(DistanceRestraint self) -> DistanceRestraint
5673 _IMP_core.DistanceRestraint_swiginit(self, _IMP_core.new_DistanceRestraint(*args))
5675 def get_version_info(self):
5676 r"""get_version_info(DistanceRestraint self) -> VersionInfo"""
5677 return _IMP_core.DistanceRestraint_get_version_info(self)
5678 __swig_destroy__ = _IMP_core.delete_DistanceRestraint
5681 r"""__str__(DistanceRestraint self) -> std::string"""
5682 return _IMP_core.DistanceRestraint___str__(self)
5685 r"""__repr__(DistanceRestraint self) -> std::string"""
5686 return _IMP_core.DistanceRestraint___repr__(self)
5690 return _object_cast_to_DistanceRestraint(o)
5693 def _get_as_binary(self):
5694 r"""_get_as_binary(DistanceRestraint self) -> PyObject *"""
5695 return _IMP_core.DistanceRestraint__get_as_binary(self)
5697 def _set_from_binary(self, p):
5698 r"""_set_from_binary(DistanceRestraint self, PyObject * p)"""
5699 return _IMP_core.DistanceRestraint__set_from_binary(self, p)
5701 def __getstate__(self):
5702 p = self._get_as_binary()
5703 if len(self.__dict__) > 1:
5704 d = self.__dict__.copy()
5709 def __setstate__(self, p):
5710 if not hasattr(self,
'this'):
5712 if isinstance(p, tuple):
5714 self.__dict__.update(d)
5715 return self._set_from_binary(p)
5719 _IMP_core.DistanceRestraint_swigregister(DistanceRestraint)
5721 r"""Proxy of C++ IMP::core::SphereDistanceToSingletonScore class."""
5723 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
5725 def __init__(self, f, pt):
5726 r"""__init__(SphereDistanceToSingletonScore self, UnaryFunction f, Vector3D pt) -> SphereDistanceToSingletonScore"""
5727 _IMP_core.SphereDistanceToSingletonScore_swiginit(self, _IMP_core.new_SphereDistanceToSingletonScore(f, pt))
5729 def do_get_inputs(self, m, pis):
5730 r"""do_get_inputs(SphereDistanceToSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5731 return _IMP_core.SphereDistanceToSingletonScore_do_get_inputs(self, m, pis)
5733 def get_version_info(self):
5734 r"""get_version_info(SphereDistanceToSingletonScore self) -> VersionInfo"""
5735 return _IMP_core.SphereDistanceToSingletonScore_get_version_info(self)
5736 __swig_destroy__ = _IMP_core.delete_SphereDistanceToSingletonScore
5739 r"""__str__(SphereDistanceToSingletonScore self) -> std::string"""
5740 return _IMP_core.SphereDistanceToSingletonScore___str__(self)
5743 r"""__repr__(SphereDistanceToSingletonScore self) -> std::string"""
5744 return _IMP_core.SphereDistanceToSingletonScore___repr__(self)
5748 return _object_cast_to_SphereDistanceToSingletonScore(o)
5752 _IMP_core.SphereDistanceToSingletonScore_swigregister(SphereDistanceToSingletonScore)
5754 r"""Proxy of C++ IMP::core::ExcludedVolumeRestraint class."""
5756 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
5758 def __init__(self, *args):
5759 r"""__init__(ExcludedVolumeRestraint self, _SingletonContainerAdaptor sc, double k=1, double slack=10, std::string name="ExcludedVolumeRestraint%1%") -> ExcludedVolumeRestraint"""
5760 _IMP_core.ExcludedVolumeRestraint_swiginit(self, _IMP_core.new_ExcludedVolumeRestraint(*args))
5762 def do_get_inputs(self):
5763 r"""do_get_inputs(ExcludedVolumeRestraint self) -> IMP::ModelObjectsTemp"""
5764 return _IMP_core.ExcludedVolumeRestraint_do_get_inputs(self)
5766 def get_version_info(self):
5767 r"""get_version_info(ExcludedVolumeRestraint self) -> VersionInfo"""
5768 return _IMP_core.ExcludedVolumeRestraint_get_version_info(self)
5769 __swig_destroy__ = _IMP_core.delete_ExcludedVolumeRestraint
5771 def do_create_decomposition(self):
5772 r"""do_create_decomposition(ExcludedVolumeRestraint self) -> IMP::Restraints"""
5773 return _IMP_core.ExcludedVolumeRestraint_do_create_decomposition(self)
5775 def do_create_current_decomposition(self):
5776 r"""do_create_current_decomposition(ExcludedVolumeRestraint self) -> IMP::Restraints"""
5777 return _IMP_core.ExcludedVolumeRestraint_do_create_current_decomposition(self)
5780 r"""get_indexes(ExcludedVolumeRestraint self) -> IMP::ParticleIndexPairs const &"""
5781 return _IMP_core.ExcludedVolumeRestraint_get_indexes(self)
5782 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)
5783 def __set_pair_filters(self, obj): IMP._list_util.set_varlist(self.pair_filters, obj)
5784 def __del_pair_filters(self): IMP._list_util.del_varlist(self.pair_filters)
5785 pair_filters = property(__get_pair_filters, __set_pair_filters, __del_pair_filters, doc=
"List of ##ucnames")
5787 def remove_pair_filter(self, d):
5788 r"""remove_pair_filter(ExcludedVolumeRestraint self, PairPredicate d)"""
5789 return _IMP_core.ExcludedVolumeRestraint_remove_pair_filter(self, d)
5791 def _python_index_pair_filter(self, d, start, stop):
5792 r"""_python_index_pair_filter(ExcludedVolumeRestraint self, PairPredicate d, unsigned int start, unsigned int stop) -> unsigned int"""
5793 return _IMP_core.ExcludedVolumeRestraint__python_index_pair_filter(self, d, start, stop)
5795 def remove_pair_filters(self, d):
5796 r"""remove_pair_filters(ExcludedVolumeRestraint self, IMP::PairPredicates const & d)"""
5797 return _IMP_core.ExcludedVolumeRestraint_remove_pair_filters(self, d)
5799 def set_pair_filters(self, ps):
5800 r"""set_pair_filters(ExcludedVolumeRestraint self, IMP::PairPredicates const & ps)"""
5801 return _IMP_core.ExcludedVolumeRestraint_set_pair_filters(self, ps)
5803 def set_pair_filters_order(self, objs):
5804 r"""set_pair_filters_order(ExcludedVolumeRestraint self, IMP::PairPredicates const & objs)"""
5805 return _IMP_core.ExcludedVolumeRestraint_set_pair_filters_order(self, objs)
5807 def add_pair_filter(self, obj):
5808 r"""add_pair_filter(ExcludedVolumeRestraint self, PairPredicate obj) -> unsigned int"""
5809 return _IMP_core.ExcludedVolumeRestraint_add_pair_filter(self, obj)
5811 def add_pair_filters(self, objs):
5812 r"""add_pair_filters(ExcludedVolumeRestraint self, IMP::PairPredicates const & objs)"""
5813 return _IMP_core.ExcludedVolumeRestraint_add_pair_filters(self, objs)
5815 def clear_pair_filters(self):
5816 r"""clear_pair_filters(ExcludedVolumeRestraint self)"""
5817 return _IMP_core.ExcludedVolumeRestraint_clear_pair_filters(self)
5819 def get_number_of_pair_filters(self):
5820 r"""get_number_of_pair_filters(ExcludedVolumeRestraint self) -> unsigned int"""
5821 return _IMP_core.ExcludedVolumeRestraint_get_number_of_pair_filters(self)
5823 def get_has_pair_filters(self):
5824 r"""get_has_pair_filters(ExcludedVolumeRestraint self) -> bool"""
5825 return _IMP_core.ExcludedVolumeRestraint_get_has_pair_filters(self)
5827 def get_pair_filter(self, i):
5828 r"""get_pair_filter(ExcludedVolumeRestraint self, unsigned int i) -> PairPredicate"""
5829 return _IMP_core.ExcludedVolumeRestraint_get_pair_filter(self, i)
5831 def get_pair_filters(self):
5832 r"""get_pair_filters(ExcludedVolumeRestraint self) -> IMP::PairPredicates"""
5833 return _IMP_core.ExcludedVolumeRestraint_get_pair_filters(self)
5835 def erase_pair_filter(self, i):
5836 r"""erase_pair_filter(ExcludedVolumeRestraint self, unsigned int i)"""
5837 return _IMP_core.ExcludedVolumeRestraint_erase_pair_filter(self, i)
5839 def reserve_pair_filters(self, sz):
5840 r"""reserve_pair_filters(ExcludedVolumeRestraint self, unsigned int sz)"""
5841 return _IMP_core.ExcludedVolumeRestraint_reserve_pair_filters(self, sz)
5844 r"""__str__(ExcludedVolumeRestraint self) -> std::string"""
5845 return _IMP_core.ExcludedVolumeRestraint___str__(self)
5848 r"""__repr__(ExcludedVolumeRestraint self) -> std::string"""
5849 return _IMP_core.ExcludedVolumeRestraint___repr__(self)
5853 return _object_cast_to_ExcludedVolumeRestraint(o)
5857 _IMP_core.ExcludedVolumeRestraint_swigregister(ExcludedVolumeRestraint)
5859 r"""Proxy of C++ IMP::core::FixedRefiner class."""
5861 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
5863 def __init__(self, *args):
5865 __init__(FixedRefiner self, IMP::ParticlesTemp const & ps) -> FixedRefiner
5866 __init__(FixedRefiner self, Model m, IMP::ParticleIndexes const & pis) -> FixedRefiner
5868 _IMP_core.FixedRefiner_swiginit(self, _IMP_core.new_FixedRefiner(*args))
5870 def do_get_inputs(self, m, pis):
5871 r"""do_get_inputs(FixedRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5872 return _IMP_core.FixedRefiner_do_get_inputs(self, m, pis)
5874 def get_version_info(self):
5875 r"""get_version_info(FixedRefiner self) -> VersionInfo"""
5876 return _IMP_core.FixedRefiner_get_version_info(self)
5877 __swig_destroy__ = _IMP_core.delete_FixedRefiner
5880 r"""__str__(FixedRefiner self) -> std::string"""
5881 return _IMP_core.FixedRefiner___str__(self)
5884 r"""__repr__(FixedRefiner self) -> std::string"""
5885 return _IMP_core.FixedRefiner___repr__(self)
5889 return _object_cast_to_FixedRefiner(o)
5893 _IMP_core.FixedRefiner_swigregister(FixedRefiner)
5894 class GridClosePairsFinder(ClosePairsFinder):
5895 r"""Proxy of C++ IMP::core::GridClosePairsFinder class."""
5897 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
5900 r"""__init__(GridClosePairsFinder self) -> GridClosePairsFinder"""
5901 _IMP_core.GridClosePairsFinder_swiginit(self, _IMP_core.new_GridClosePairsFinder())
5903 def get_close_pairs(self, *args):
5905 get_close_pairs(GridClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
5906 get_close_pairs(GridClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
5907 get_close_pairs(GridClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
5908 get_close_pairs(GridClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
5910 return _IMP_core.GridClosePairsFinder_get_close_pairs(self, *args)
5912 def do_get_inputs(self, m, pis):
5913 r"""do_get_inputs(GridClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
5914 return _IMP_core.GridClosePairsFinder_do_get_inputs(self, m, pis)
5916 def get_version_info(self):
5917 r"""get_version_info(GridClosePairsFinder self) -> VersionInfo"""
5918 return _IMP_core.GridClosePairsFinder_get_version_info(self)
5919 __swig_destroy__ = _IMP_core.delete_GridClosePairsFinder
5922 r"""__str__(GridClosePairsFinder self) -> std::string"""
5923 return _IMP_core.GridClosePairsFinder___str__(self)
5926 r"""__repr__(GridClosePairsFinder self) -> std::string"""
5927 return _IMP_core.GridClosePairsFinder___repr__(self)
5931 return _object_cast_to_GridClosePairsFinder(o)
5934 def _get_as_binary(self):
5935 r"""_get_as_binary(GridClosePairsFinder self) -> PyObject *"""
5936 return _IMP_core.GridClosePairsFinder__get_as_binary(self)
5938 def _set_from_binary(self, p):
5939 r"""_set_from_binary(GridClosePairsFinder self, PyObject * p)"""
5940 return _IMP_core.GridClosePairsFinder__set_from_binary(self, p)
5942 def __getstate__(self):
5943 p = self._get_as_binary()
5944 if len(self.__dict__) > 1:
5945 d = self.__dict__.copy()
5950 def __setstate__(self, p):
5951 if not hasattr(self,
'this'):
5953 if isinstance(p, tuple):
5955 self.__dict__.update(d)
5956 return self._set_from_binary(p)
5960 _IMP_core.GridClosePairsFinder_swigregister(GridClosePairsFinder)
5962 r"""Proxy of C++ IMP::core::Harmonic class."""
5964 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
5966 def __init__(self, *args):
5968 __init__(Harmonic self, IMP::Float mean, IMP::Float k) -> Harmonic
5969 __init__(Harmonic self) -> Harmonic
5971 _IMP_core.Harmonic_swiginit(self, _IMP_core.new_Harmonic(*args))
5973 def get_version_info(self):
5974 r"""get_version_info(Harmonic self) -> VersionInfo"""
5975 return _IMP_core.Harmonic_get_version_info(self)
5976 __swig_destroy__ = _IMP_core.delete_Harmonic
5979 r"""get_mean(Harmonic self) -> IMP::Float"""
5980 return _IMP_core.Harmonic_get_mean(self)
5983 r"""get_k(Harmonic self) -> IMP::Float"""
5984 return _IMP_core.Harmonic_get_k(self)
5986 def set_mean(self, mean):
5987 r"""set_mean(Harmonic self, IMP::Float mean)"""
5988 return _IMP_core.Harmonic_set_mean(self, mean)
5991 r"""set_k(Harmonic self, IMP::Float k)"""
5992 return _IMP_core.Harmonic_set_k(self, k)
5995 def get_k_from_standard_deviation(sd, t=297.15):
5996 r"""get_k_from_standard_deviation(IMP::Float sd, IMP::Float t=297.15) -> IMP::Float"""
5997 return _IMP_core.Harmonic_get_k_from_standard_deviation(sd, t)
6000 r"""__str__(Harmonic self) -> std::string"""
6001 return _IMP_core.Harmonic___str__(self)
6004 r"""__repr__(Harmonic self) -> std::string"""
6005 return _IMP_core.Harmonic___repr__(self)
6009 return _object_cast_to_Harmonic(o)
6012 def _get_as_binary(self):
6013 r"""_get_as_binary(Harmonic self) -> PyObject *"""
6014 return _IMP_core.Harmonic__get_as_binary(self)
6016 def _set_from_binary(self, p):
6017 r"""_set_from_binary(Harmonic self, PyObject * p)"""
6018 return _IMP_core.Harmonic__set_from_binary(self, p)
6020 def __getstate__(self):
6021 p = self._get_as_binary()
6022 if len(self.__dict__) > 1:
6023 d = self.__dict__.copy()
6028 def __setstate__(self, p):
6029 if not hasattr(self,
'this'):
6031 if isinstance(p, tuple):
6033 self.__dict__.update(d)
6034 return self._set_from_binary(p)
6038 _IMP_core.Harmonic_swigregister(Harmonic)
6040 r"""Proxy of C++ IMP::core::HarmonicWell class."""
6042 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
6044 def __init__(self, well, k):
6045 r"""__init__(HarmonicWell self, IMP::FloatRange const & well, double k) -> HarmonicWell"""
6046 _IMP_core.HarmonicWell_swiginit(self, _IMP_core.new_HarmonicWell(well, k))
6048 def get_version_info(self):
6049 r"""get_version_info(HarmonicWell self) -> VersionInfo"""
6050 return _IMP_core.HarmonicWell_get_version_info(self)
6051 __swig_destroy__ = _IMP_core.delete_HarmonicWell
6054 r"""__str__(HarmonicWell self) -> std::string"""
6055 return _IMP_core.HarmonicWell___str__(self)
6058 r"""__repr__(HarmonicWell self) -> std::string"""
6059 return _IMP_core.HarmonicWell___repr__(self)
6063 return _object_cast_to_HarmonicWell(o)
6067 _IMP_core.HarmonicWell_swigregister(HarmonicWell)
6068 class HarmonicLowerBound(Harmonic):
6069 r"""Proxy of C++ IMP::core::HarmonicLowerBound class."""
6071 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
6073 def __init__(self, *args):
6075 __init__(HarmonicLowerBound self, IMP::Float mean, IMP::Float k) -> HarmonicLowerBound
6076 __init__(HarmonicLowerBound self) -> HarmonicLowerBound
6078 _IMP_core.HarmonicLowerBound_swiginit(self, _IMP_core.new_HarmonicLowerBound(*args))
6079 __swig_destroy__ = _IMP_core.delete_HarmonicLowerBound
6082 r"""__str__(HarmonicLowerBound self) -> std::string"""
6083 return _IMP_core.HarmonicLowerBound___str__(self)
6086 r"""__repr__(HarmonicLowerBound self) -> std::string"""
6087 return _IMP_core.HarmonicLowerBound___repr__(self)
6091 return _object_cast_to_HarmonicLowerBound(o)
6094 def _get_as_binary(self):
6095 r"""_get_as_binary(HarmonicLowerBound self) -> PyObject *"""
6096 return _IMP_core.HarmonicLowerBound__get_as_binary(self)
6098 def _set_from_binary(self, p):
6099 r"""_set_from_binary(HarmonicLowerBound self, PyObject * p)"""
6100 return _IMP_core.HarmonicLowerBound__set_from_binary(self, p)
6102 def __getstate__(self):
6103 p = self._get_as_binary()
6104 if len(self.__dict__) > 1:
6105 d = self.__dict__.copy()
6110 def __setstate__(self, p):
6111 if not hasattr(self,
'this'):
6113 if isinstance(p, tuple):
6115 self.__dict__.update(d)
6116 return self._set_from_binary(p)
6120 _IMP_core.HarmonicLowerBound_swigregister(HarmonicLowerBound)
6121 class HarmonicUpperBound(Harmonic):
6122 r"""Proxy of C++ IMP::core::HarmonicUpperBound class."""
6124 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
6126 def __init__(self, *args):
6128 __init__(HarmonicUpperBound self, IMP::Float mean, IMP::Float k) -> HarmonicUpperBound
6129 __init__(HarmonicUpperBound self) -> HarmonicUpperBound
6131 _IMP_core.HarmonicUpperBound_swiginit(self, _IMP_core.new_HarmonicUpperBound(*args))
6132 __swig_destroy__ = _IMP_core.delete_HarmonicUpperBound
6135 r"""__str__(HarmonicUpperBound self) -> std::string"""
6136 return _IMP_core.HarmonicUpperBound___str__(self)
6139 r"""__repr__(HarmonicUpperBound self) -> std::string"""
6140 return _IMP_core.HarmonicUpperBound___repr__(self)
6144 return _object_cast_to_HarmonicUpperBound(o)
6147 def _get_as_binary(self):
6148 r"""_get_as_binary(HarmonicUpperBound self) -> PyObject *"""
6149 return _IMP_core.HarmonicUpperBound__get_as_binary(self)
6151 def _set_from_binary(self, p):
6152 r"""_set_from_binary(HarmonicUpperBound self, PyObject * p)"""
6153 return _IMP_core.HarmonicUpperBound__set_from_binary(self, p)
6155 def __getstate__(self):
6156 p = self._get_as_binary()
6157 if len(self.__dict__) > 1:
6158 d = self.__dict__.copy()
6163 def __setstate__(self, p):
6164 if not hasattr(self,
'this'):
6166 if isinstance(p, tuple):
6168 self.__dict__.update(d)
6169 return self._set_from_binary(p)
6173 _IMP_core.HarmonicUpperBound_swigregister(HarmonicUpperBound)
6175 r"""Proxy of C++ IMP::core::WeightedSum class."""
6177 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
6179 def __init__(self, funcs, weights):
6180 r"""__init__(WeightedSum self, IMP::UnaryFunctions funcs, IMP::Floats weights) -> WeightedSum"""
6181 _IMP_core.WeightedSum_swiginit(self, _IMP_core.new_WeightedSum(funcs, weights))
6183 def get_function_number(self):
6184 r"""get_function_number(WeightedSum self) -> unsigned int"""
6185 return _IMP_core.WeightedSum_get_function_number(self)
6187 def set_weights(self, weights):
6188 r"""set_weights(WeightedSum self, IMP::Floats weights)"""
6189 return _IMP_core.WeightedSum_set_weights(self, weights)
6191 def get_weights(self):
6192 r"""get_weights(WeightedSum self) -> IMP::Floats"""
6193 return _IMP_core.WeightedSum_get_weights(self)
6195 def get_weight(self, i):
6196 r"""get_weight(WeightedSum self, unsigned int i) -> double"""
6197 return _IMP_core.WeightedSum_get_weight(self, i)
6199 def get_function(self, i):
6200 r"""get_function(WeightedSum self, unsigned int i) -> UnaryFunction"""
6201 return _IMP_core.WeightedSum_get_function(self, i)
6203 def get_version_info(self):
6204 r"""get_version_info(WeightedSum self) -> VersionInfo"""
6205 return _IMP_core.WeightedSum_get_version_info(self)
6206 __swig_destroy__ = _IMP_core.delete_WeightedSum
6209 r"""__str__(WeightedSum self) -> std::string"""
6210 return _IMP_core.WeightedSum___str__(self)
6213 r"""__repr__(WeightedSum self) -> std::string"""
6214 return _IMP_core.WeightedSum___repr__(self)
6218 return _object_cast_to_WeightedSum(o)
6222 _IMP_core.WeightedSum_swigregister(WeightedSum)
6224 r"""Proxy of C++ IMP::core::WeightedSumOfExponential class."""
6226 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
6228 def __init__(self, funcs, weights, denom=1.0):
6229 r"""__init__(WeightedSumOfExponential self, IMP::UnaryFunctions funcs, IMP::Floats weights, IMP::Float denom=1.0) -> WeightedSumOfExponential"""
6230 _IMP_core.WeightedSumOfExponential_swiginit(self, _IMP_core.new_WeightedSumOfExponential(funcs, weights, denom))
6232 def get_function_number(self):
6233 r"""get_function_number(WeightedSumOfExponential self) -> unsigned int"""
6234 return _IMP_core.WeightedSumOfExponential_get_function_number(self)
6236 def set_weights(self, weights):
6237 r"""set_weights(WeightedSumOfExponential self, IMP::Floats weights)"""
6238 return _IMP_core.WeightedSumOfExponential_set_weights(self, weights)
6240 def get_weights(self):
6241 r"""get_weights(WeightedSumOfExponential self) -> IMP::Floats"""
6242 return _IMP_core.WeightedSumOfExponential_get_weights(self)
6244 def get_weight(self, i):
6245 r"""get_weight(WeightedSumOfExponential self, unsigned int i) -> double"""
6246 return _IMP_core.WeightedSumOfExponential_get_weight(self, i)
6248 def get_function(self, i):
6249 r"""get_function(WeightedSumOfExponential self, unsigned int i) -> UnaryFunction"""
6250 return _IMP_core.WeightedSumOfExponential_get_function(self, i)
6252 def set_denominator(self, denom):
6253 r"""set_denominator(WeightedSumOfExponential self, double denom)"""
6254 return _IMP_core.WeightedSumOfExponential_set_denominator(self, denom)
6256 def get_denominator(self):
6257 r"""get_denominator(WeightedSumOfExponential self) -> double"""
6258 return _IMP_core.WeightedSumOfExponential_get_denominator(self)
6260 def get_version_info(self):
6261 r"""get_version_info(WeightedSumOfExponential self) -> VersionInfo"""
6262 return _IMP_core.WeightedSumOfExponential_get_version_info(self)
6263 __swig_destroy__ = _IMP_core.delete_WeightedSumOfExponential
6266 r"""__str__(WeightedSumOfExponential self) -> std::string"""
6267 return _IMP_core.WeightedSumOfExponential___str__(self)
6270 r"""__repr__(WeightedSumOfExponential self) -> std::string"""
6271 return _IMP_core.WeightedSumOfExponential___repr__(self)
6275 return _object_cast_to_WeightedSumOfExponential(o)
6279 _IMP_core.WeightedSumOfExponential_swigregister(WeightedSumOfExponential)
6281 r"""Proxy of C++ IMP::core::MSConnectivityRestraint class."""
6283 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
6285 def __init__(self, m, ps, eps=0.1):
6286 r"""__init__(MSConnectivityRestraint self, Model m, PairScore ps, double eps=0.1) -> MSConnectivityRestraint"""
6287 _IMP_core.MSConnectivityRestraint_swiginit(self, _IMP_core.new_MSConnectivityRestraint(m, ps, eps))
6289 def add_type(self, ps):
6290 r"""add_type(MSConnectivityRestraint self, IMP::ParticlesTemp const & ps) -> unsigned int"""
6291 return _IMP_core.MSConnectivityRestraint_add_type(self, ps)
6293 def add_composite(self, *args):
6295 add_composite(MSConnectivityRestraint self, IMP::Ints const & components) -> unsigned int
6296 add_composite(MSConnectivityRestraint self, IMP::Ints const & components, unsigned int parent) -> unsigned int
6298 return _IMP_core.MSConnectivityRestraint_add_composite(self, *args)
6300 def get_connected_pairs(self):
6301 r"""get_connected_pairs(MSConnectivityRestraint self) -> IMP::ParticlePairsTemp"""
6302 return _IMP_core.MSConnectivityRestraint_get_connected_pairs(self)
6304 def get_pair_score(self):
6305 r"""get_pair_score(MSConnectivityRestraint self) -> PairScore"""
6306 return _IMP_core.MSConnectivityRestraint_get_pair_score(self)
6308 def do_create_current_decomposition(self):
6309 r"""do_create_current_decomposition(MSConnectivityRestraint self) -> IMP::Restraints"""
6310 return _IMP_core.MSConnectivityRestraint_do_create_current_decomposition(self)
6312 def do_get_inputs(self):
6313 r"""do_get_inputs(MSConnectivityRestraint self) -> IMP::ModelObjectsTemp"""
6314 return _IMP_core.MSConnectivityRestraint_do_get_inputs(self)
6316 def get_version_info(self):
6317 r"""get_version_info(MSConnectivityRestraint self) -> VersionInfo"""
6318 return _IMP_core.MSConnectivityRestraint_get_version_info(self)
6319 __swig_destroy__ = _IMP_core.delete_MSConnectivityRestraint
6322 r"""__str__(MSConnectivityRestraint self) -> std::string"""
6323 return _IMP_core.MSConnectivityRestraint___str__(self)
6326 r"""__repr__(MSConnectivityRestraint self) -> std::string"""
6327 return _IMP_core.MSConnectivityRestraint___repr__(self)
6331 return _object_cast_to_MSConnectivityRestraint(o)
6335 _IMP_core.MSConnectivityRestraint_swigregister(MSConnectivityRestraint)
6336 class HierarchyTraits(object):
6337 r"""Proxy of C++ IMP::core::HierarchyTraits class."""
6339 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
6341 def __init__(self, *args):
6343 __init__(HierarchyTraits self) -> HierarchyTraits
6344 __init__(HierarchyTraits self, std::string name) -> HierarchyTraits
6346 _IMP_core.HierarchyTraits_swiginit(self, _IMP_core.new_HierarchyTraits(*args))
6348 def get_children_key(self):
6349 r"""get_children_key(HierarchyTraits self) -> ParticleIndexesKey"""
6350 return _IMP_core.HierarchyTraits_get_children_key(self)
6352 def get_parent_key(self):
6353 r"""get_parent_key(HierarchyTraits self) -> ParticleIndexKey"""
6354 return _IMP_core.HierarchyTraits_get_parent_key(self)
6356 def __eq__(self, o):
6357 r"""__eq__(HierarchyTraits self, HierarchyTraits o) -> bool"""
6358 return _IMP_core.HierarchyTraits___eq__(self, o)
6360 def show(self, *args):
6361 r"""show(HierarchyTraits self, _ostream out=std::cout)"""
6362 return _IMP_core.HierarchyTraits_show(self, *args)
6365 r"""__str__(HierarchyTraits self) -> std::string"""
6366 return _IMP_core.HierarchyTraits___str__(self)
6369 r"""__repr__(HierarchyTraits self) -> std::string"""
6370 return _IMP_core.HierarchyTraits___repr__(self)
6371 __swig_destroy__ = _IMP_core.delete_HierarchyTraits
6374 _IMP_core.HierarchyTraits_swigregister(HierarchyTraits)
6376 r"""Proxy of C++ IMP::core::Hierarchy class."""
6378 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
6380 def get_decorator_traits(self):
6381 r"""get_decorator_traits(Hierarchy self) -> HierarchyTraits"""
6382 return _IMP_core.Hierarchy_get_decorator_traits(self)
6385 def get_default_decorator_traits():
6386 r"""get_default_decorator_traits() -> HierarchyTraits"""
6387 return _IMP_core.Hierarchy_get_default_decorator_traits()
6389 def __init__(self, *args):
6391 __init__(Hierarchy self) -> Hierarchy
6392 __init__(Hierarchy self, Model m, ParticleIndex id, HierarchyTraits tr=get_default_traits()) -> Hierarchy
6393 __init__(Hierarchy self, _ParticleAdaptor d, HierarchyTraits tr=get_default_traits()) -> Hierarchy
6395 _IMP_core.Hierarchy_swiginit(self, _IMP_core.new_Hierarchy(*args))
6397 def show(self, *args):
6398 r"""show(Hierarchy self, _ostream out=std::cout)"""
6399 return _IMP_core.Hierarchy_show(self, *args)
6402 def setup_particle(*args):
6404 setup_particle(Model m, ParticleIndex pi, HierarchyTraits tr=IMP::core::Hierarchy::get_default_decorator_traits()) -> Hierarchy
6405 setup_particle(_ParticleAdaptor d, HierarchyTraits tr=IMP::core::Hierarchy::get_default_decorator_traits()) -> Hierarchy
6406 setup_particle(Model m, ParticleIndex pi, IMP::ParticleIndexes children, HierarchyTraits tr=IMP::core::Hierarchy::get_default_decorator_traits()) -> Hierarchy
6407 setup_particle(_ParticleAdaptor d, IMP::ParticleIndexes children, HierarchyTraits tr=IMP::core::Hierarchy::get_default_decorator_traits()) -> Hierarchy
6408 setup_particle(Model m, ParticleIndex pi, IMP::ParticlesTemp children, HierarchyTraits tr=IMP::core::Hierarchy::get_default_decorator_traits()) -> Hierarchy
6409 setup_particle(_ParticleAdaptor d, IMP::ParticlesTemp children, HierarchyTraits tr=IMP::core::Hierarchy::get_default_decorator_traits()) -> Hierarchy
6411 return _IMP_core.Hierarchy_setup_particle(*args)
6414 def get_is_setup(*args):
6416 get_is_setup(_ParticleAdaptor p, HierarchyTraits tr=get_default_traits()) -> bool
6417 get_is_setup(Model arg1, ParticleIndex arg2, HierarchyTraits arg3=Hierarchy::get_default_traits()) -> bool
6419 return _IMP_core.Hierarchy_get_is_setup(*args)
6422 def get_changed_key():
6423 r"""get_changed_key() -> TriggerKey"""
6424 return _IMP_core.Hierarchy_get_changed_key()
6426 def get_parent(self):
6427 r"""get_parent(Hierarchy self) -> Hierarchy"""
6428 return _IMP_core.Hierarchy_get_parent(self)
6430 def get_number_of_children(self):
6431 r"""get_number_of_children(Hierarchy self) -> unsigned int"""
6432 return _IMP_core.Hierarchy_get_number_of_children(self)
6434 def get_child(self, i):
6435 r"""get_child(Hierarchy self, unsigned int i) -> Hierarchy"""
6436 return _IMP_core.Hierarchy_get_child(self, i)
6438 def get_children_indexes(self):
6439 r"""get_children_indexes(Hierarchy self) -> IMP::ParticleIndexes"""
6440 return _IMP_core.Hierarchy_get_children_indexes(self)
6442 def get_children(self):
6443 r"""get_children(Hierarchy self) -> IMP::core::GenericHierarchies"""
6444 return _IMP_core.Hierarchy_get_children(self)
6446 def remove_child(self, *args):
6448 remove_child(Hierarchy self, unsigned int i)
6449 remove_child(Hierarchy self, Hierarchy h)
6451 return _IMP_core.Hierarchy_remove_child(self, *args)
6453 def clear_children(self):
6454 r"""clear_children(Hierarchy self)"""
6455 return _IMP_core.Hierarchy_clear_children(self)
6457 def add_child(self, h):
6458 r"""add_child(Hierarchy self, Hierarchy h)"""
6459 return _IMP_core.Hierarchy_add_child(self, h)
6461 def add_child_at(self, h, pos):
6462 r"""add_child_at(Hierarchy self, Hierarchy h, unsigned int pos)"""
6463 return _IMP_core.Hierarchy_add_child_at(self, h, pos)
6465 def get_child_index(self, *args):
6467 get_child_index(Hierarchy self, unsigned int i) -> ParticleIndex
6468 get_child_index(Hierarchy self) -> int
6470 return _IMP_core.Hierarchy_get_child_index(self, *args)
6473 def get_default_traits():
6474 r"""get_default_traits() -> HierarchyTraits"""
6475 return _IMP_core.Hierarchy_get_default_traits()
6477 def get_traits(self):
6478 r"""get_traits(Hierarchy self) -> HierarchyTraits"""
6479 return _IMP_core.Hierarchy_get_traits(self)
6481 def add_attribute(self, *args):
6483 add_attribute(Hierarchy self, FloatKey k, IMP::Float v, bool opt)
6484 add_attribute(Hierarchy self, FloatKey a0, IMP::Float a1)
6485 add_attribute(Hierarchy self, IntKey a0, IMP::Int a1)
6486 add_attribute(Hierarchy self, FloatsKey a0, IMP::Floats a1)
6487 add_attribute(Hierarchy self, IntsKey a0, IMP::Ints a1)
6488 add_attribute(Hierarchy self, StringKey a0, IMP::String a1)
6489 add_attribute(Hierarchy self, ParticleIndexKey a0, Particle a1)
6490 add_attribute(Hierarchy self, ObjectKey a0, Object a1)
6492 return _IMP_core.Hierarchy_add_attribute(self, *args)
6494 def get_value(self, *args):
6496 get_value(Hierarchy self, FloatKey a0) -> IMP::Float
6497 get_value(Hierarchy self, IntKey a0) -> IMP::Int
6498 get_value(Hierarchy self, FloatsKey a0) -> IMP::Floats
6499 get_value(Hierarchy self, IntsKey a0) -> IMP::Ints
6500 get_value(Hierarchy self, StringKey a0) -> IMP::String
6501 get_value(Hierarchy self, ParticleIndexKey a0) -> Particle
6502 get_value(Hierarchy self, ObjectKey a0) -> Object
6504 return _IMP_core.Hierarchy_get_value(self, *args)
6506 def set_value(self, *args):
6508 set_value(Hierarchy self, FloatKey a0, IMP::Float a1)
6509 set_value(Hierarchy self, IntKey a0, IMP::Int a1)
6510 set_value(Hierarchy self, FloatsKey a0, IMP::Floats a1)
6511 set_value(Hierarchy self, IntsKey a0, IMP::Ints a1)
6512 set_value(Hierarchy self, StringKey a0, IMP::String a1)
6513 set_value(Hierarchy self, ParticleIndexKey a0, Particle a1)
6514 set_value(Hierarchy self, ObjectKey a0, Object a1)
6516 return _IMP_core.Hierarchy_set_value(self, *args)
6518 def remove_attribute(self, *args):
6520 remove_attribute(Hierarchy self, FloatKey a0)
6521 remove_attribute(Hierarchy self, IntKey a0)
6522 remove_attribute(Hierarchy self, FloatsKey a0)
6523 remove_attribute(Hierarchy self, IntsKey a0)
6524 remove_attribute(Hierarchy self, StringKey a0)
6525 remove_attribute(Hierarchy self, ParticleIndexKey a0)
6526 remove_attribute(Hierarchy self, ObjectKey a0)
6528 return _IMP_core.Hierarchy_remove_attribute(self, *args)
6530 def has_attribute(self, *args):
6532 has_attribute(Hierarchy self, FloatKey a0) -> bool
6533 has_attribute(Hierarchy self, IntKey a0) -> bool
6534 has_attribute(Hierarchy self, FloatsKey a0) -> bool
6535 has_attribute(Hierarchy self, IntsKey a0) -> bool
6536 has_attribute(Hierarchy self, StringKey a0) -> bool
6537 has_attribute(Hierarchy self, ParticleIndexKey a0) -> bool
6538 has_attribute(Hierarchy self, ObjectKey a0) -> bool
6540 return _IMP_core.Hierarchy_has_attribute(self, *args)
6542 def get_derivative(self, a0):
6543 r"""get_derivative(Hierarchy self, FloatKey a0) -> double"""
6544 return _IMP_core.Hierarchy_get_derivative(self, a0)
6547 r"""get_name(Hierarchy self) -> std::string"""
6548 return _IMP_core.Hierarchy_get_name(self)
6550 def clear_caches(self):
6551 r"""clear_caches(Hierarchy self)"""
6552 return _IMP_core.Hierarchy_clear_caches(self)
6554 def set_name(self, a0):
6555 r"""set_name(Hierarchy self, std::string a0)"""
6556 return _IMP_core.Hierarchy_set_name(self, a0)
6559 r"""set_check_level(Hierarchy self, IMP::CheckLevel a0)"""
6560 return _IMP_core.Hierarchy_set_check_level(self, a0)
6562 def add_to_derivative(self, a0, a1, a2):
6563 r"""add_to_derivative(Hierarchy self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
6564 return _IMP_core.Hierarchy_add_to_derivative(self, a0, a1, a2)
6566 def set_is_optimized(self, a0, a1):
6567 r"""set_is_optimized(Hierarchy self, FloatKey a0, bool a1)"""
6568 return _IMP_core.Hierarchy_set_is_optimized(self, a0, a1)
6570 def get_is_optimized(self, a0):
6571 r"""get_is_optimized(Hierarchy self, FloatKey a0) -> bool"""
6572 return _IMP_core.Hierarchy_get_is_optimized(self, a0)
6575 r"""get_check_level(Hierarchy self) -> IMP::CheckLevel"""
6576 return _IMP_core.Hierarchy_get_check_level(self)
6578 def __eq__(self, *args):
6580 __eq__(Hierarchy self, Hierarchy o) -> bool
6581 __eq__(Hierarchy self, Particle d) -> bool
6583 return _IMP_core.Hierarchy___eq__(self, *args)
6585 def __ne__(self, *args):
6587 __ne__(Hierarchy self, Hierarchy o) -> bool
6588 __ne__(Hierarchy self, Particle d) -> bool
6590 return _IMP_core.Hierarchy___ne__(self, *args)
6592 def __le__(self, *args):
6594 __le__(Hierarchy self, Hierarchy o) -> bool
6595 __le__(Hierarchy self, Particle d) -> bool
6597 return _IMP_core.Hierarchy___le__(self, *args)
6599 def __lt__(self, *args):
6601 __lt__(Hierarchy self, Hierarchy o) -> bool
6602 __lt__(Hierarchy self, Particle d) -> bool
6604 return _IMP_core.Hierarchy___lt__(self, *args)
6606 def __ge__(self, *args):
6608 __ge__(Hierarchy self, Hierarchy o) -> bool
6609 __ge__(Hierarchy self, Particle d) -> bool
6611 return _IMP_core.Hierarchy___ge__(self, *args)
6613 def __gt__(self, *args):
6615 __gt__(Hierarchy self, Hierarchy o) -> bool
6616 __gt__(Hierarchy self, Particle d) -> bool
6618 return _IMP_core.Hierarchy___gt__(self, *args)
6621 r"""__hash__(Hierarchy self) -> std::size_t"""
6622 return _IMP_core.Hierarchy___hash__(self)
6625 r"""__str__(Hierarchy self) -> std::string"""
6626 return _IMP_core.Hierarchy___str__(self)
6629 r"""__repr__(Hierarchy self) -> std::string"""
6630 return _IMP_core.Hierarchy___repr__(self)
6631 __swig_destroy__ = _IMP_core.delete_Hierarchy
6634 _IMP_core.Hierarchy_swigregister(Hierarchy)
6635 class HierarchyVisitor(object):
6636 r"""Proxy of C++ IMP::core::HierarchyVisitor class."""
6638 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
6639 __repr__ = _swig_repr
6642 r"""__init__(HierarchyVisitor self) -> HierarchyVisitor"""
6643 if self.__class__ == HierarchyVisitor:
6647 _IMP_core.HierarchyVisitor_swiginit(self, _IMP_core.new_HierarchyVisitor(_self, ))
6649 if self.__class__ != HierarchyVisitor:
6650 _director_objects.register(self)
6655 def __call__(self, p):
6656 r"""__call__(HierarchyVisitor self, Hierarchy p) -> bool"""
6657 return _IMP_core.HierarchyVisitor___call__(self, p)
6658 __swig_destroy__ = _IMP_core.delete_HierarchyVisitor
6659 def __disown__(self):
6661 _IMP_core.disown_HierarchyVisitor(self)
6662 return weakref.proxy(self)
6665 _IMP_core.HierarchyVisitor_swigregister(HierarchyVisitor)
6666 class ModifierVisitor(HierarchyVisitor):
6667 r"""Proxy of C++ IMP::core::ModifierVisitor class."""
6669 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
6670 __repr__ = _swig_repr
6672 def __init__(self, sm):
6673 r"""__init__(ModifierVisitor self, SingletonModifier sm) -> ModifierVisitor"""
6674 _IMP_core.ModifierVisitor_swiginit(self, _IMP_core.new_ModifierVisitor(sm))
6675 __swig_destroy__ = _IMP_core.delete_ModifierVisitor
6678 _IMP_core.ModifierVisitor_swigregister(ModifierVisitor)
6679 class HierarchyCounter(HierarchyVisitor):
6680 r"""Proxy of C++ IMP::core::HierarchyCounter class."""
6682 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
6685 r"""__init__(HierarchyCounter self) -> HierarchyCounter"""
6686 _IMP_core.HierarchyCounter_swiginit(self, _IMP_core.new_HierarchyCounter())
6688 def get_count(self):
6689 r"""get_count(HierarchyCounter self) -> unsigned int"""
6690 return _IMP_core.HierarchyCounter_get_count(self)
6692 def show(self, *args):
6693 r"""show(HierarchyCounter self, _ostream out=std::cout)"""
6694 return _IMP_core.HierarchyCounter_show(self, *args)
6697 r"""__str__(HierarchyCounter self) -> std::string"""
6698 return _IMP_core.HierarchyCounter___str__(self)
6701 r"""__repr__(HierarchyCounter self) -> std::string"""
6702 return _IMP_core.HierarchyCounter___repr__(self)
6704 def _get_as_binary(self):
6705 r"""_get_as_binary(HierarchyCounter self) -> PyObject *"""
6706 return _IMP_core.HierarchyCounter__get_as_binary(self)
6708 def _set_from_binary(self, p):
6709 r"""_set_from_binary(HierarchyCounter self, PyObject * p)"""
6710 return _IMP_core.HierarchyCounter__set_from_binary(self, p)
6712 def __getstate__(self):
6713 p = self._get_as_binary()
6714 if len(self.__dict__) > 1:
6715 d = self.__dict__.copy()
6720 def __setstate__(self, p):
6721 if not hasattr(self,
'this'):
6723 if isinstance(p, tuple):
6725 self.__dict__.update(d)
6726 return self._set_from_binary(p)
6728 __swig_destroy__ = _IMP_core.delete_HierarchyCounter
6731 _IMP_core.HierarchyCounter_swigregister(HierarchyCounter)
6734 r"""get_leaves(Hierarchy mhd) -> IMP::core::GenericHierarchies"""
6735 return _IMP_core.get_leaves(mhd)
6738 r"""get_internal(Hierarchy mhd) -> IMP::core::GenericHierarchies"""
6739 return _IMP_core.get_internal(mhd)
6742 r"""get_all_descendants(Hierarchy mhd) -> IMP::core::GenericHierarchies"""
6743 return _IMP_core.get_all_descendants(mhd)
6746 r"""get_root(Hierarchy h) -> Hierarchy"""
6747 return _IMP_core.get_root(h)
6750 r"""visit_breadth_first(Hierarchy d, HierarchyVisitor f)"""
6751 return _IMP_core.visit_breadth_first(d, f)
6754 r"""visit_depth_first(Hierarchy d, HierarchyVisitor f)"""
6755 return _IMP_core.visit_depth_first(d, f)
6757 r"""Proxy of C++ IMP::core::LeavesRefiner class."""
6759 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
6761 def __init__(self, tr):
6762 r"""__init__(LeavesRefiner self, HierarchyTraits tr) -> LeavesRefiner"""
6763 _IMP_core.LeavesRefiner_swiginit(self, _IMP_core.new_LeavesRefiner(tr))
6765 def do_get_inputs(self, m, pis):
6766 r"""do_get_inputs(LeavesRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
6767 return _IMP_core.LeavesRefiner_do_get_inputs(self, m, pis)
6769 def get_version_info(self):
6770 r"""get_version_info(LeavesRefiner self) -> VersionInfo"""
6771 return _IMP_core.LeavesRefiner_get_version_info(self)
6772 __swig_destroy__ = _IMP_core.delete_LeavesRefiner
6775 r"""__str__(LeavesRefiner self) -> std::string"""
6776 return _IMP_core.LeavesRefiner___str__(self)
6779 r"""__repr__(LeavesRefiner self) -> std::string"""
6780 return _IMP_core.LeavesRefiner___repr__(self)
6784 return _object_cast_to_LeavesRefiner(o)
6788 _IMP_core.LeavesRefiner_swigregister(LeavesRefiner)
6790 r"""Proxy of C++ IMP::core::Linear class."""
6792 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
6794 def __init__(self, *args):
6796 __init__(Linear self, double offset, double slope) -> Linear
6797 __init__(Linear self) -> Linear
6799 _IMP_core.Linear_swiginit(self, _IMP_core.new_Linear(*args))
6801 def set_slope(self, f):
6802 r"""set_slope(Linear self, double f)"""
6803 return _IMP_core.Linear_set_slope(self, f)
6805 def set_offset(self, f):
6806 r"""set_offset(Linear self, double f)"""
6807 return _IMP_core.Linear_set_offset(self, f)
6809 def get_version_info(self):
6810 r"""get_version_info(Linear self) -> VersionInfo"""
6811 return _IMP_core.Linear_get_version_info(self)
6812 __swig_destroy__ = _IMP_core.delete_Linear
6815 r"""__str__(Linear self) -> std::string"""
6816 return _IMP_core.Linear___str__(self)
6819 r"""__repr__(Linear self) -> std::string"""
6820 return _IMP_core.Linear___repr__(self)
6824 return _object_cast_to_Linear(o)
6827 def _get_as_binary(self):
6828 r"""_get_as_binary(Linear self) -> PyObject *"""
6829 return _IMP_core.Linear__get_as_binary(self)
6831 def _set_from_binary(self, p):
6832 r"""_set_from_binary(Linear self, PyObject * p)"""
6833 return _IMP_core.Linear__set_from_binary(self, p)
6835 def __getstate__(self):
6836 p = self._get_as_binary()
6837 if len(self.__dict__) > 1:
6838 d = self.__dict__.copy()
6843 def __setstate__(self, p):
6844 if not hasattr(self,
'this'):
6846 if isinstance(p, tuple):
6848 self.__dict__.update(d)
6849 return self._set_from_binary(p)
6853 _IMP_core.Linear_swigregister(Linear)
6854 class LogNormalMover(MonteCarloMover):
6855 r"""Proxy of C++ IMP::core::LogNormalMover class."""
6857 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
6859 def __init__(self, *args):
6861 __init__(LogNormalMover self, Model m, ParticleIndex pi, IMP::FloatKeys const & vars, double stddev) -> LogNormalMover
6862 __init__(LogNormalMover self, Model m, ParticleIndex pi, double stddev) -> LogNormalMover
6863 __init__(LogNormalMover self, IMP::ParticlesTemp const & sc, IMP::FloatKeys const & vars, IMP::Float sigma) -> LogNormalMover
6864 __init__(LogNormalMover self, IMP::ParticlesTemp const & sc, IMP::Float radius) -> LogNormalMover
6866 _IMP_core.LogNormalMover_swiginit(self, _IMP_core.new_LogNormalMover(*args))
6868 def set_sigma(self, sigma):
6869 r"""set_sigma(LogNormalMover self, IMP::Float sigma)"""
6870 return _IMP_core.LogNormalMover_set_sigma(self, sigma)
6872 def get_sigma(self):
6873 r"""get_sigma(LogNormalMover self) -> IMP::Float"""
6874 return _IMP_core.LogNormalMover_get_sigma(self)
6876 def get_version_info(self):
6877 r"""get_version_info(LogNormalMover self) -> VersionInfo"""
6878 return _IMP_core.LogNormalMover_get_version_info(self)
6879 __swig_destroy__ = _IMP_core.delete_LogNormalMover
6882 r"""__str__(LogNormalMover self) -> std::string"""
6883 return _IMP_core.LogNormalMover___str__(self)
6886 r"""__repr__(LogNormalMover self) -> std::string"""
6887 return _IMP_core.LogNormalMover___repr__(self)
6891 return _object_cast_to_LogNormalMover(o)
6895 _IMP_core.LogNormalMover_swigregister(LogNormalMover)
6897 r"""Proxy of C++ IMP::core::IncrementalScoringFunction class."""
6899 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
6901 def __init__(self, *args):
6902 r"""__init__(IncrementalScoringFunction self, Model m, IMP::ParticleIndexes const & to_move, IMP::RestraintsTemp const & rs, double weight=1.0, double max=NO_MAX, std::string name="IncrementalScoringFunction%1%") -> IncrementalScoringFunction"""
6903 _IMP_core.IncrementalScoringFunction_swiginit(self, _IMP_core.new_IncrementalScoringFunction(*args))
6905 def reset_moved_particles(self):
6906 r"""reset_moved_particles(IncrementalScoringFunction self)"""
6907 return _IMP_core.IncrementalScoringFunction_reset_moved_particles(self)
6909 def set_moved_particles(self, p):
6910 r"""set_moved_particles(IncrementalScoringFunction self, IMP::ParticleIndexes const & p)"""
6911 return _IMP_core.IncrementalScoringFunction_set_moved_particles(self, p)
6913 def add_close_pair_score(self, *args):
6915 add_close_pair_score(IncrementalScoringFunction self, PairScore ps, double distance, IMP::ParticlesTemp const & particles, IMP::PairPredicates const & filters)
6916 add_close_pair_score(IncrementalScoringFunction self, PairScore ps, double distance, IMP::ParticlesTemp const & particles)
6918 return _IMP_core.IncrementalScoringFunction_add_close_pair_score(self, *args)
6920 def clear_close_pair_scores(self):
6921 r"""clear_close_pair_scores(IncrementalScoringFunction self)"""
6922 return _IMP_core.IncrementalScoringFunction_clear_close_pair_scores(self)
6924 def get_movable_indexes(self):
6925 r"""get_movable_indexes(IncrementalScoringFunction self) -> IMP::ParticleIndexes"""
6926 return _IMP_core.IncrementalScoringFunction_get_movable_indexes(self)
6928 def do_add_score_and_derivatives(self, sa, ss):
6929 r"""do_add_score_and_derivatives(IncrementalScoringFunction self, ScoreAccumulator sa, IMP::ScoreStatesTemp const & ss)"""
6930 return _IMP_core.IncrementalScoringFunction_do_add_score_and_derivatives(self, sa, ss)
6932 def do_get_inputs(self):
6933 r"""do_get_inputs(IncrementalScoringFunction self) -> IMP::ModelObjectsTemp"""
6934 return _IMP_core.IncrementalScoringFunction_do_get_inputs(self)
6936 def handle_set_has_required_score_states(self, arg2):
6937 r"""handle_set_has_required_score_states(IncrementalScoringFunction self, bool arg2)"""
6938 return _IMP_core.IncrementalScoringFunction_handle_set_has_required_score_states(self, arg2)
6940 def get_version_info(self):
6941 r"""get_version_info(IncrementalScoringFunction self) -> VersionInfo"""
6942 return _IMP_core.IncrementalScoringFunction_get_version_info(self)
6943 __swig_destroy__ = _IMP_core.delete_IncrementalScoringFunction
6946 r"""__str__(IncrementalScoringFunction self) -> std::string"""
6947 return _IMP_core.IncrementalScoringFunction___str__(self)
6950 r"""__repr__(IncrementalScoringFunction self) -> std::string"""
6951 return _IMP_core.IncrementalScoringFunction___repr__(self)
6955 return _object_cast_to_IncrementalScoringFunction(o)
6959 _IMP_core.IncrementalScoringFunction_swigregister(IncrementalScoringFunction)
6960 IMP_CORE_HAS_MONTE_CARLO_MOVER = _IMP_core.IMP_CORE_HAS_MONTE_CARLO_MOVER
6963 r"""Proxy of C++ IMP::core::MonteCarlo class."""
6965 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
6967 def __init__(self, m):
6968 r"""__init__(MonteCarlo self, Model m) -> MonteCarlo"""
6969 _IMP_core.MonteCarlo_swiginit(self, _IMP_core.new_MonteCarlo(m))
6971 def get_version_info(self):
6972 r"""get_version_info(MonteCarlo self) -> VersionInfo"""
6973 return _IMP_core.MonteCarlo_get_version_info(self)
6974 __swig_destroy__ = _IMP_core.delete_MonteCarlo
6976 def set_return_best(self, tf):
6977 r"""set_return_best(MonteCarlo self, bool tf)"""
6978 return _IMP_core.MonteCarlo_set_return_best(self, tf)
6980 def set_score_moved(self, mv):
6981 r"""set_score_moved(MonteCarlo self, bool mv)"""
6982 return _IMP_core.MonteCarlo_set_score_moved(self, mv)
6984 def set_kt(self, t):
6985 r"""set_kt(MonteCarlo self, IMP::Float t)"""
6986 return _IMP_core.MonteCarlo_set_kt(self, t)
6989 r"""get_kt(MonteCarlo self) -> IMP::Float"""
6990 return _IMP_core.MonteCarlo_get_kt(self)
6992 def get_last_accepted_energy(self):
6993 r"""get_last_accepted_energy(MonteCarlo self) -> double"""
6994 return _IMP_core.MonteCarlo_get_last_accepted_energy(self)
6996 def get_best_accepted_energy(self):
6997 r"""get_best_accepted_energy(MonteCarlo self) -> double"""
6998 return _IMP_core.MonteCarlo_get_best_accepted_energy(self)
7000 def get_number_of_downward_steps(self):
7001 r"""get_number_of_downward_steps(MonteCarlo self) -> unsigned int"""
7002 return _IMP_core.MonteCarlo_get_number_of_downward_steps(self)
7004 def get_number_of_upward_steps(self):
7005 r"""get_number_of_upward_steps(MonteCarlo self) -> unsigned int"""
7006 return _IMP_core.MonteCarlo_get_number_of_upward_steps(self)
7008 def get_number_of_proposed_steps(self):
7009 r"""get_number_of_proposed_steps(MonteCarlo self) -> unsigned int"""
7010 return _IMP_core.MonteCarlo_get_number_of_proposed_steps(self)
7012 def get_number_of_accepted_steps(self):
7013 r"""get_number_of_accepted_steps(MonteCarlo self) -> unsigned int"""
7014 return _IMP_core.MonteCarlo_get_number_of_accepted_steps(self)
7016 def reset_statistics(self):
7017 r"""reset_statistics(MonteCarlo self)"""
7018 return _IMP_core.MonteCarlo_reset_statistics(self)
7020 def set_score_threshold(self, s):
7021 r"""set_score_threshold(MonteCarlo self, double s)"""
7022 return _IMP_core.MonteCarlo_set_score_threshold(self, s)
7024 def get_score_threshold(self):
7025 r"""get_score_threshold(MonteCarlo self) -> double"""
7026 return _IMP_core.MonteCarlo_get_score_threshold(self)
7028 def set_maximum_difference(self, d):
7029 r"""set_maximum_difference(MonteCarlo self, double d)"""
7030 return _IMP_core.MonteCarlo_set_maximum_difference(self, d)
7032 def get_maximum_difference(self):
7033 r"""get_maximum_difference(MonteCarlo self) -> double"""
7034 return _IMP_core.MonteCarlo_get_maximum_difference(self)
7035 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)
7036 def __set_movers(self, obj): IMP._list_util.set_varlist(self.movers, obj)
7037 def __del_movers(self): IMP._list_util.del_varlist(self.movers)
7038 movers = property(__get_movers, __set_movers, __del_movers, doc=
"List of ##ucnames")
7040 def remove_mover(self, d):
7041 r"""remove_mover(MonteCarlo self, MonteCarloMover d)"""
7042 return _IMP_core.MonteCarlo_remove_mover(self, d)
7044 def _python_index_mover(self, d, start, stop):
7045 r"""_python_index_mover(MonteCarlo self, MonteCarloMover d, unsigned int start, unsigned int stop) -> unsigned int"""
7046 return _IMP_core.MonteCarlo__python_index_mover(self, d, start, stop)
7048 def remove_movers(self, d):
7049 r"""remove_movers(MonteCarlo self, IMP::core::MonteCarloMovers const & d)"""
7050 return _IMP_core.MonteCarlo_remove_movers(self, d)
7052 def set_movers(self, ps):
7053 r"""set_movers(MonteCarlo self, IMP::core::MonteCarloMovers const & ps)"""
7054 return _IMP_core.MonteCarlo_set_movers(self, ps)
7056 def set_movers_order(self, objs):
7057 r"""set_movers_order(MonteCarlo self, IMP::core::MonteCarloMovers const & objs)"""
7058 return _IMP_core.MonteCarlo_set_movers_order(self, objs)
7060 def add_mover(self, obj):
7061 r"""add_mover(MonteCarlo self, MonteCarloMover obj) -> unsigned int"""
7062 return _IMP_core.MonteCarlo_add_mover(self, obj)
7064 def add_movers(self, objs):
7065 r"""add_movers(MonteCarlo self, IMP::core::MonteCarloMovers const & objs)"""
7066 return _IMP_core.MonteCarlo_add_movers(self, objs)
7068 def clear_movers(self):
7069 r"""clear_movers(MonteCarlo self)"""
7070 return _IMP_core.MonteCarlo_clear_movers(self)
7072 def get_number_of_movers(self):
7073 r"""get_number_of_movers(MonteCarlo self) -> unsigned int"""
7074 return _IMP_core.MonteCarlo_get_number_of_movers(self)
7076 def get_has_movers(self):
7077 r"""get_has_movers(MonteCarlo self) -> bool"""
7078 return _IMP_core.MonteCarlo_get_has_movers(self)
7080 def get_mover(self, i):
7081 r"""get_mover(MonteCarlo self, unsigned int i) -> MonteCarloMover"""
7082 return _IMP_core.MonteCarlo_get_mover(self, i)
7084 def get_movers(self):
7085 r"""get_movers(MonteCarlo self) -> IMP::core::MonteCarloMovers"""
7086 return _IMP_core.MonteCarlo_get_movers(self)
7088 def erase_mover(self, i):
7089 r"""erase_mover(MonteCarlo self, unsigned int i)"""
7090 return _IMP_core.MonteCarlo_erase_mover(self, i)
7092 def reserve_movers(self, sz):
7093 r"""reserve_movers(MonteCarlo self, unsigned int sz)"""
7094 return _IMP_core.MonteCarlo_reserve_movers(self, sz)
7096 def set_incremental_scoring_function(self, isf):
7097 r"""set_incremental_scoring_function(MonteCarlo self, IncrementalScoringFunction isf)"""
7098 return _IMP_core.MonteCarlo_set_incremental_scoring_function(self, isf)
7100 def get_use_incremental_scoring_function(self):
7101 r"""get_use_incremental_scoring_function(MonteCarlo self) -> bool"""
7102 return _IMP_core.MonteCarlo_get_use_incremental_scoring_function(self)
7104 def get_incremental_scoring_function(self):
7105 r"""get_incremental_scoring_function(MonteCarlo self) -> IncrementalScoringFunction"""
7106 return _IMP_core.MonteCarlo_get_incremental_scoring_function(self)
7109 r"""__str__(MonteCarlo self) -> std::string"""
7110 return _IMP_core.MonteCarlo___str__(self)
7113 r"""__repr__(MonteCarlo self) -> std::string"""
7114 return _IMP_core.MonteCarlo___repr__(self)
7118 return _object_cast_to_MonteCarlo(o)
7122 _IMP_core.MonteCarlo_swigregister(MonteCarlo)
7123 class MonteCarloWithLocalOptimization(MonteCarlo):
7124 r"""Proxy of C++ IMP::core::MonteCarloWithLocalOptimization class."""
7126 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
7128 def __init__(self, opt, steps):
7129 r"""__init__(MonteCarloWithLocalOptimization self, Optimizer opt, unsigned int steps) -> MonteCarloWithLocalOptimization"""
7130 _IMP_core.MonteCarloWithLocalOptimization_swiginit(self, _IMP_core.new_MonteCarloWithLocalOptimization(opt, steps))
7132 def get_number_of_steps(self):
7133 r"""get_number_of_steps(MonteCarloWithLocalOptimization self) -> unsigned int"""
7134 return _IMP_core.MonteCarloWithLocalOptimization_get_number_of_steps(self)
7136 def get_local_optimizer(self):
7137 r"""get_local_optimizer(MonteCarloWithLocalOptimization self) -> Optimizer"""
7138 return _IMP_core.MonteCarloWithLocalOptimization_get_local_optimizer(self)
7139 __swig_destroy__ = _IMP_core.delete_MonteCarloWithLocalOptimization
7142 r"""__str__(MonteCarloWithLocalOptimization self) -> std::string"""
7143 return _IMP_core.MonteCarloWithLocalOptimization___str__(self)
7146 r"""__repr__(MonteCarloWithLocalOptimization self) -> std::string"""
7147 return _IMP_core.MonteCarloWithLocalOptimization___repr__(self)
7151 return _object_cast_to_MonteCarloWithLocalOptimization(o)
7155 _IMP_core.MonteCarloWithLocalOptimization_swigregister(MonteCarloWithLocalOptimization)
7156 class MonteCarloWithBasinHopping(MonteCarloWithLocalOptimization):
7157 r"""Proxy of C++ IMP::core::MonteCarloWithBasinHopping class."""
7159 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
7161 def __init__(self, opt, ns):
7162 r"""__init__(MonteCarloWithBasinHopping self, Optimizer opt, unsigned int ns) -> MonteCarloWithBasinHopping"""
7163 _IMP_core.MonteCarloWithBasinHopping_swiginit(self, _IMP_core.new_MonteCarloWithBasinHopping(opt, ns))
7164 __swig_destroy__ = _IMP_core.delete_MonteCarloWithBasinHopping
7167 r"""__str__(MonteCarloWithBasinHopping self) -> std::string"""
7168 return _IMP_core.MonteCarloWithBasinHopping___str__(self)
7171 r"""__repr__(MonteCarloWithBasinHopping self) -> std::string"""
7172 return _IMP_core.MonteCarloWithBasinHopping___repr__(self)
7176 return _object_cast_to_MonteCarloWithBasinHopping(o)
7180 _IMP_core.MonteCarloWithBasinHopping_swigregister(MonteCarloWithBasinHopping)
7182 r"""Proxy of C++ IMP::core::NeighborsTable class."""
7184 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
7186 def __init__(self, *args):
7187 r"""__init__(NeighborsTable self, PairContainer input, std::string name="CloseNeighborsTable%1%") -> NeighborsTable"""
7188 _IMP_core.NeighborsTable_swiginit(self, _IMP_core.new_NeighborsTable(*args))
7190 def get_neighbors(self, pi):
7191 r"""get_neighbors(NeighborsTable self, ParticleIndex pi) -> IMP::ParticleIndexes const &"""
7192 return _IMP_core.NeighborsTable_get_neighbors(self, pi)
7194 def get_version_info(self):
7195 r"""get_version_info(NeighborsTable self) -> VersionInfo"""
7196 return _IMP_core.NeighborsTable_get_version_info(self)
7197 __swig_destroy__ = _IMP_core.delete_NeighborsTable
7200 r"""__str__(NeighborsTable self) -> std::string"""
7201 return _IMP_core.NeighborsTable___str__(self)
7204 r"""__repr__(NeighborsTable self) -> std::string"""
7205 return _IMP_core.NeighborsTable___repr__(self)
7209 return _object_cast_to_NeighborsTable(o)
7213 _IMP_core.NeighborsTable_swigregister(NeighborsTable)
7214 class NormalMover(MonteCarloMover):
7215 r"""Proxy of C++ IMP::core::NormalMover class."""
7217 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
7219 def __init__(self, *args):
7221 __init__(NormalMover self, Model m, ParticleIndex pi, IMP::FloatKeys const & vars, double stddev) -> NormalMover
7222 __init__(NormalMover self, Model m, ParticleIndex pi, double stddev) -> NormalMover
7223 __init__(NormalMover self, IMP::ParticlesTemp const & sc, IMP::FloatKeys const & vars, IMP::Float sigma) -> NormalMover
7224 __init__(NormalMover self, IMP::ParticlesTemp const & sc, IMP::Float radius) -> NormalMover
7226 _IMP_core.NormalMover_swiginit(self, _IMP_core.new_NormalMover(*args))
7228 def set_sigma(self, sigma):
7229 r"""set_sigma(NormalMover self, IMP::Float sigma)"""
7230 return _IMP_core.NormalMover_set_sigma(self, sigma)
7232 def get_sigma(self):
7233 r"""get_sigma(NormalMover self) -> IMP::Float"""
7234 return _IMP_core.NormalMover_get_sigma(self)
7236 def get_version_info(self):
7237 r"""get_version_info(NormalMover self) -> VersionInfo"""
7238 return _IMP_core.NormalMover_get_version_info(self)
7239 __swig_destroy__ = _IMP_core.delete_NormalMover
7242 r"""__str__(NormalMover self) -> std::string"""
7243 return _IMP_core.NormalMover___str__(self)
7246 r"""__repr__(NormalMover self) -> std::string"""
7247 return _IMP_core.NormalMover___repr__(self)
7251 return _object_cast_to_NormalMover(o)
7255 _IMP_core.NormalMover_swigregister(NormalMover)
7256 class OpenCubicSpline(_OpenCubicSplineBase):
7257 r"""Proxy of C++ IMP::core::OpenCubicSpline class."""
7259 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
7261 def __init__(self, values, minrange, spacing, extend=False):
7262 r"""__init__(OpenCubicSpline self, IMP::Floats const & values, IMP::Float minrange, IMP::Float spacing, bool extend=False) -> OpenCubicSpline"""
7263 _IMP_core.OpenCubicSpline_swiginit(self, _IMP_core.new_OpenCubicSpline(values, minrange, spacing, extend))
7266 r"""__str__(OpenCubicSpline self) -> std::string"""
7267 return _IMP_core.OpenCubicSpline___str__(self)
7270 r"""__repr__(OpenCubicSpline self) -> std::string"""
7271 return _IMP_core.OpenCubicSpline___repr__(self)
7275 return _object_cast_to_OpenCubicSpline(o)
7277 __swig_destroy__ = _IMP_core.delete_OpenCubicSpline
7280 _IMP_core.OpenCubicSpline_swigregister(OpenCubicSpline)
7281 class QuadraticClosePairsFinder(ClosePairsFinder):
7282 r"""Proxy of C++ IMP::core::QuadraticClosePairsFinder class."""
7284 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
7287 r"""__init__(QuadraticClosePairsFinder self) -> QuadraticClosePairsFinder"""
7288 _IMP_core.QuadraticClosePairsFinder_swiginit(self, _IMP_core.new_QuadraticClosePairsFinder())
7290 def get_are_close_and_filtered(self, *args):
7292 get_are_close_and_filtered(QuadraticClosePairsFinder self, Particle a, Particle b) -> bool
7293 get_are_close_and_filtered(QuadraticClosePairsFinder self, Model m, ParticleIndex a, ParticleIndex b) -> bool
7295 return _IMP_core.QuadraticClosePairsFinder_get_are_close_and_filtered(self, *args)
7297 def get_close_pairs(self, *args):
7299 get_close_pairs(QuadraticClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
7300 get_close_pairs(QuadraticClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
7301 get_close_pairs(QuadraticClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
7302 get_close_pairs(QuadraticClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
7304 return _IMP_core.QuadraticClosePairsFinder_get_close_pairs(self, *args)
7306 def do_get_inputs(self, m, pis):
7307 r"""do_get_inputs(QuadraticClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7308 return _IMP_core.QuadraticClosePairsFinder_do_get_inputs(self, m, pis)
7310 def get_version_info(self):
7311 r"""get_version_info(QuadraticClosePairsFinder self) -> VersionInfo"""
7312 return _IMP_core.QuadraticClosePairsFinder_get_version_info(self)
7313 __swig_destroy__ = _IMP_core.delete_QuadraticClosePairsFinder
7316 r"""__str__(QuadraticClosePairsFinder self) -> std::string"""
7317 return _IMP_core.QuadraticClosePairsFinder___str__(self)
7320 r"""__repr__(QuadraticClosePairsFinder self) -> std::string"""
7321 return _IMP_core.QuadraticClosePairsFinder___repr__(self)
7325 return _object_cast_to_QuadraticClosePairsFinder(o)
7329 _IMP_core.QuadraticClosePairsFinder_swigregister(QuadraticClosePairsFinder)
7331 r"""Proxy of C++ IMP::core::RefinedPairsPairScore class."""
7333 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
7335 def __init__(self, r, f):
7336 r"""__init__(RefinedPairsPairScore self, Refiner r, PairScore f) -> RefinedPairsPairScore"""
7337 _IMP_core.RefinedPairsPairScore_swiginit(self, _IMP_core.new_RefinedPairsPairScore(r, f))
7339 def do_get_inputs(self, m, pis):
7340 r"""do_get_inputs(RefinedPairsPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
7341 return _IMP_core.RefinedPairsPairScore_do_get_inputs(self, m, pis)
7343 def get_version_info(self):
7344 r"""get_version_info(RefinedPairsPairScore self) -> VersionInfo"""
7345 return _IMP_core.RefinedPairsPairScore_get_version_info(self)
7346 __swig_destroy__ = _IMP_core.delete_RefinedPairsPairScore
7349 r"""__str__(RefinedPairsPairScore self) -> std::string"""
7350 return _IMP_core.RefinedPairsPairScore___str__(self)
7353 r"""__repr__(RefinedPairsPairScore self) -> std::string"""
7354 return _IMP_core.RefinedPairsPairScore___repr__(self)
7358 return _object_cast_to_RefinedPairsPairScore(o)
7362 _IMP_core.RefinedPairsPairScore_swigregister(RefinedPairsPairScore)
7363 class RigidBody(XYZ):
7364 r"""Proxy of C++ IMP::core::RigidBody class."""
7366 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
7368 def get_rigid_members(self):
7369 r"""get_rigid_members(RigidBody self) -> IMP::core::RigidMembers"""
7370 return _IMP_core.RigidBody_get_rigid_members(self)
7373 def get_rotation_keys():
7374 r"""get_rotation_keys() -> IMP::FloatKeys"""
7375 return _IMP_core.RigidBody_get_rotation_keys()
7377 def get_member_particle_indexes(self):
7378 r"""get_member_particle_indexes(RigidBody self) -> IMP::ParticleIndexes const &"""
7379 return _IMP_core.RigidBody_get_member_particle_indexes(self)
7381 def get_body_member_particle_indexes(self):
7382 r"""get_body_member_particle_indexes(RigidBody self) -> IMP::ParticleIndexes const &"""
7383 return _IMP_core.RigidBody_get_body_member_particle_indexes(self)
7385 def get_member_indexes(self):
7386 r"""get_member_indexes(RigidBody self) -> IMP::ParticleIndexes"""
7387 return _IMP_core.RigidBody_get_member_indexes(self)
7389 def show(self, *args):
7390 r"""show(RigidBody self, _ostream out=std::cout)"""
7391 return _IMP_core.RigidBody_show(self, *args)
7394 def setup_particle(*args):
7396 setup_particle(Model m, ParticleIndex pi, _ParticleIndexesAdaptor ps) -> RigidBody
7397 setup_particle(_ParticleAdaptor pa, _ParticleIndexesAdaptor ps) -> RigidBody
7398 setup_particle(Model m, ParticleIndex pi, ReferenceFrame3D rf) -> RigidBody
7399 setup_particle(_ParticleAdaptor pa, ReferenceFrame3D rf) -> RigidBody
7401 return _IMP_core.RigidBody_setup_particle(*args)
7404 def teardown_particle(rb):
7405 r"""teardown_particle(RigidBody rb)"""
7406 return _IMP_core.RigidBody_teardown_particle(rb)
7408 def __init__(self, *args):
7410 __init__(RigidBody self) -> RigidBody
7411 __init__(RigidBody self, Model m, ParticleIndex id) -> RigidBody
7412 __init__(RigidBody self, _ParticleAdaptor d) -> RigidBody
7413 __init__(RigidBody self, RigidBody arg2) -> RigidBody
7415 _IMP_core.RigidBody_swiginit(self, _IMP_core.new_RigidBody(*args))
7416 __swig_destroy__ = _IMP_core.delete_RigidBody
7419 def get_is_setup(*args):
7421 get_is_setup(_ParticleAdaptor p) -> bool
7422 get_is_setup(Model m, ParticleIndex pi) -> bool
7424 return _IMP_core.RigidBody_get_is_setup(*args)
7426 def get_coordinates(self):
7427 r"""get_coordinates(RigidBody self) -> Vector3D"""
7428 return _IMP_core.RigidBody_get_coordinates(self)
7430 def get_rotation(self):
7431 r"""get_rotation(RigidBody self) -> Rotation3D"""
7432 return _IMP_core.RigidBody_get_rotation(self)
7434 def get_reference_frame(self):
7435 r"""get_reference_frame(RigidBody self) -> ReferenceFrame3D"""
7436 return _IMP_core.RigidBody_get_reference_frame(self)
7438 def set_reference_frame(self, tr):
7439 r"""set_reference_frame(RigidBody self, ReferenceFrame3D tr)"""
7440 return _IMP_core.RigidBody_set_reference_frame(self, tr)
7442 def set_reference_frame_lazy(self, tr):
7443 r"""set_reference_frame_lazy(RigidBody self, ReferenceFrame3D tr)"""
7444 return _IMP_core.RigidBody_set_reference_frame_lazy(self, tr)
7446 def set_reference_frame_from_members(self, members):
7447 r"""set_reference_frame_from_members(RigidBody self, IMP::ParticleIndexes const & members)"""
7448 return _IMP_core.RigidBody_set_reference_frame_from_members(self, members)
7450 def pull_back_members_adjoints(self, da):
7451 r"""pull_back_members_adjoints(RigidBody self, DerivativeAccumulator da)"""
7452 return _IMP_core.RigidBody_pull_back_members_adjoints(self, da)
7454 def pull_back_member_adjoints(self, pi, da):
7455 r"""pull_back_member_adjoints(RigidBody self, ParticleIndex pi, DerivativeAccumulator da)"""
7456 return _IMP_core.RigidBody_pull_back_member_adjoints(self, pi, da)
7458 def pull_back_body_member_adjoints(self, pi, da):
7459 r"""pull_back_body_member_adjoints(RigidBody self, ParticleIndex pi, DerivativeAccumulator da)"""
7460 return _IMP_core.RigidBody_pull_back_body_member_adjoints(self, pi, da)
7462 def add_to_derivatives(self, *args):
7464 add_to_derivatives(RigidBody self, Vector3D local_derivative, Vector3D local_location, DerivativeAccumulator da)
7465 add_to_derivatives(RigidBody self, Vector3D local_derivative, Vector3D global_derivative, Vector3D local_location, Rotation3D rot_local_to_global, DerivativeAccumulator da)
7467 return _IMP_core.RigidBody_add_to_derivatives(self, *args)
7469 def add_to_rotational_derivatives(self, *args):
7471 add_to_rotational_derivatives(RigidBody self, Vector4D other_qderiv, Rotation3D rot_other_to_local, Rotation3D rot_local_to_global, DerivativeAccumulator da)
7472 add_to_rotational_derivatives(RigidBody self, Vector4D qderiv, DerivativeAccumulator da)
7474 return _IMP_core.RigidBody_add_to_rotational_derivatives(self, *args)
7476 def add_to_torque(self, torque_local, da):
7477 r"""add_to_torque(RigidBody self, Vector3D torque_local, DerivativeAccumulator da)"""
7478 return _IMP_core.RigidBody_add_to_torque(self, torque_local, da)
7480 def get_torque(self):
7481 r"""get_torque(RigidBody self) -> Vector3D"""
7482 return _IMP_core.RigidBody_get_torque(self)
7484 def get_coordinates_are_optimized(self):
7485 r"""get_coordinates_are_optimized(RigidBody self) -> bool"""
7486 return _IMP_core.RigidBody_get_coordinates_are_optimized(self)
7488 def set_coordinates_are_optimized(self, tf):
7489 r"""set_coordinates_are_optimized(RigidBody self, bool tf)"""
7490 return _IMP_core.RigidBody_set_coordinates_are_optimized(self, tf)
7492 def normalize_rotation(self):
7493 r"""normalize_rotation(RigidBody self)"""
7494 return _IMP_core.RigidBody_normalize_rotation(self)
7496 def update_members(self):
7497 r"""update_members(RigidBody self)"""
7498 return _IMP_core.RigidBody_update_members(self)
7500 def get_rotational_derivatives(self):
7501 r"""get_rotational_derivatives(RigidBody self) -> Vector4D"""
7502 return _IMP_core.RigidBody_get_rotational_derivatives(self)
7504 def get_number_of_members(self):
7505 r"""get_number_of_members(RigidBody self) -> unsigned int"""
7506 return _IMP_core.RigidBody_get_number_of_members(self)
7508 def get_member(self, i):
7509 r"""get_member(RigidBody self, unsigned int i) -> RigidBodyMember"""
7510 return _IMP_core.RigidBody_get_member(self, i)
7512 def add_member(self, p):
7513 r"""add_member(RigidBody self, _ParticleIndexAdaptor p)"""
7514 return _IMP_core.RigidBody_add_member(self, p)
7516 def add_non_rigid_member(self, p):
7517 r"""add_non_rigid_member(RigidBody self, _ParticleIndexAdaptor p)"""
7518 return _IMP_core.RigidBody_add_non_rigid_member(self, p)
7520 def set_is_rigid_member(self, pi, tf):
7521 r"""set_is_rigid_member(RigidBody self, ParticleIndex pi, bool tf)"""
7522 return _IMP_core.RigidBody_set_is_rigid_member(self, pi, tf)
7524 def remove_member(self, p):
7525 r"""remove_member(RigidBody self, _ParticleIndexAdaptor p)"""
7526 return _IMP_core.RigidBody_remove_member(self, p)
7528 def add_attribute(self, *args):
7530 add_attribute(RigidBody self, FloatKey k, IMP::Float v, bool opt)
7531 add_attribute(RigidBody self, FloatKey a0, IMP::Float a1)
7532 add_attribute(RigidBody self, IntKey a0, IMP::Int a1)
7533 add_attribute(RigidBody self, FloatsKey a0, IMP::Floats a1)
7534 add_attribute(RigidBody self, IntsKey a0, IMP::Ints a1)
7535 add_attribute(RigidBody self, StringKey a0, IMP::String a1)
7536 add_attribute(RigidBody self, ParticleIndexKey a0, Particle a1)
7537 add_attribute(RigidBody self, ObjectKey a0, Object a1)
7539 return _IMP_core.RigidBody_add_attribute(self, *args)
7541 def get_value(self, *args):
7543 get_value(RigidBody self, FloatKey a0) -> IMP::Float
7544 get_value(RigidBody self, IntKey a0) -> IMP::Int
7545 get_value(RigidBody self, FloatsKey a0) -> IMP::Floats
7546 get_value(RigidBody self, IntsKey a0) -> IMP::Ints
7547 get_value(RigidBody self, StringKey a0) -> IMP::String
7548 get_value(RigidBody self, ParticleIndexKey a0) -> Particle
7549 get_value(RigidBody self, ObjectKey a0) -> Object
7551 return _IMP_core.RigidBody_get_value(self, *args)
7553 def set_value(self, *args):
7555 set_value(RigidBody self, FloatKey a0, IMP::Float a1)
7556 set_value(RigidBody self, IntKey a0, IMP::Int a1)
7557 set_value(RigidBody self, FloatsKey a0, IMP::Floats a1)
7558 set_value(RigidBody self, IntsKey a0, IMP::Ints a1)
7559 set_value(RigidBody self, StringKey a0, IMP::String a1)
7560 set_value(RigidBody self, ParticleIndexKey a0, Particle a1)
7561 set_value(RigidBody self, ObjectKey a0, Object a1)
7563 return _IMP_core.RigidBody_set_value(self, *args)
7565 def remove_attribute(self, *args):
7567 remove_attribute(RigidBody self, FloatKey a0)
7568 remove_attribute(RigidBody self, IntKey a0)
7569 remove_attribute(RigidBody self, FloatsKey a0)
7570 remove_attribute(RigidBody self, IntsKey a0)
7571 remove_attribute(RigidBody self, StringKey a0)
7572 remove_attribute(RigidBody self, ParticleIndexKey a0)
7573 remove_attribute(RigidBody self, ObjectKey a0)
7575 return _IMP_core.RigidBody_remove_attribute(self, *args)
7577 def has_attribute(self, *args):
7579 has_attribute(RigidBody self, FloatKey a0) -> bool
7580 has_attribute(RigidBody self, IntKey a0) -> bool
7581 has_attribute(RigidBody self, FloatsKey a0) -> bool
7582 has_attribute(RigidBody self, IntsKey a0) -> bool
7583 has_attribute(RigidBody self, StringKey a0) -> bool
7584 has_attribute(RigidBody self, ParticleIndexKey a0) -> bool
7585 has_attribute(RigidBody self, ObjectKey a0) -> bool
7587 return _IMP_core.RigidBody_has_attribute(self, *args)
7589 def get_derivative(self, a0):
7590 r"""get_derivative(RigidBody self, FloatKey a0) -> double"""
7591 return _IMP_core.RigidBody_get_derivative(self, a0)
7594 r"""get_name(RigidBody self) -> std::string"""
7595 return _IMP_core.RigidBody_get_name(self)
7597 def clear_caches(self):
7598 r"""clear_caches(RigidBody self)"""
7599 return _IMP_core.RigidBody_clear_caches(self)
7601 def set_name(self, a0):
7602 r"""set_name(RigidBody self, std::string a0)"""
7603 return _IMP_core.RigidBody_set_name(self, a0)
7606 r"""set_check_level(RigidBody self, IMP::CheckLevel a0)"""
7607 return _IMP_core.RigidBody_set_check_level(self, a0)
7609 def add_to_derivative(self, a0, a1, a2):
7610 r"""add_to_derivative(RigidBody self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
7611 return _IMP_core.RigidBody_add_to_derivative(self, a0, a1, a2)
7613 def set_is_optimized(self, a0, a1):
7614 r"""set_is_optimized(RigidBody self, FloatKey a0, bool a1)"""
7615 return _IMP_core.RigidBody_set_is_optimized(self, a0, a1)
7617 def get_is_optimized(self, a0):
7618 r"""get_is_optimized(RigidBody self, FloatKey a0) -> bool"""
7619 return _IMP_core.RigidBody_get_is_optimized(self, a0)
7622 r"""get_check_level(RigidBody self) -> IMP::CheckLevel"""
7623 return _IMP_core.RigidBody_get_check_level(self)
7625 def __eq__(self, *args):
7627 __eq__(RigidBody self, RigidBody o) -> bool
7628 __eq__(RigidBody self, Particle d) -> bool
7630 return _IMP_core.RigidBody___eq__(self, *args)
7632 def __ne__(self, *args):
7634 __ne__(RigidBody self, RigidBody o) -> bool
7635 __ne__(RigidBody self, Particle d) -> bool
7637 return _IMP_core.RigidBody___ne__(self, *args)
7639 def __le__(self, *args):
7641 __le__(RigidBody self, RigidBody o) -> bool
7642 __le__(RigidBody self, Particle d) -> bool
7644 return _IMP_core.RigidBody___le__(self, *args)
7646 def __lt__(self, *args):
7648 __lt__(RigidBody self, RigidBody o) -> bool
7649 __lt__(RigidBody self, Particle d) -> bool
7651 return _IMP_core.RigidBody___lt__(self, *args)
7653 def __ge__(self, *args):
7655 __ge__(RigidBody self, RigidBody o) -> bool
7656 __ge__(RigidBody self, Particle d) -> bool
7658 return _IMP_core.RigidBody___ge__(self, *args)
7660 def __gt__(self, *args):
7662 __gt__(RigidBody self, RigidBody o) -> bool
7663 __gt__(RigidBody self, Particle d) -> bool
7665 return _IMP_core.RigidBody___gt__(self, *args)
7668 r"""__hash__(RigidBody self) -> std::size_t"""
7669 return _IMP_core.RigidBody___hash__(self)
7672 r"""__str__(RigidBody self) -> std::string"""
7673 return _IMP_core.RigidBody___str__(self)
7676 r"""__repr__(RigidBody self) -> std::string"""
7677 return _IMP_core.RigidBody___repr__(self)
7679 def _get_as_binary(self):
7680 r"""_get_as_binary(RigidBody self) -> PyObject *"""
7681 return _IMP_core.RigidBody__get_as_binary(self)
7683 def _set_from_binary(self, p):
7684 r"""_set_from_binary(RigidBody self, PyObject * p)"""
7685 return _IMP_core.RigidBody__set_from_binary(self, p)
7687 def __getstate__(self):
7688 p = self._get_as_binary()
7689 if len(self.__dict__) > 1:
7690 d = self.__dict__.copy()
7695 def __setstate__(self, p):
7696 if not hasattr(self,
'this'):
7698 if isinstance(p, tuple):
7700 self.__dict__.update(d)
7701 return self._set_from_binary(p)
7705 _IMP_core.RigidBody_swigregister(RigidBody)
7708 r"""add_rigid_body_cache_key(ObjectKey k)"""
7709 return _IMP_core.add_rigid_body_cache_key(k)
7710 class RigidBodyMember(XYZ):
7711 r"""Proxy of C++ IMP::core::RigidBodyMember class."""
7713 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
7715 def show(self, *args):
7716 r"""show(RigidBodyMember self, _ostream out=std::cout)"""
7717 return _IMP_core.RigidBodyMember_show(self, *args)
7719 def get_rigid_body(self):
7720 r"""get_rigid_body(RigidBodyMember self) -> RigidBody"""
7721 return _IMP_core.RigidBodyMember_get_rigid_body(self)
7723 def get_internal_coordinates(self):
7724 r"""get_internal_coordinates(RigidBodyMember self) -> Vector3D"""
7725 return _IMP_core.RigidBodyMember_get_internal_coordinates(self)
7727 def set_internal_coordinates(self, v):
7728 r"""set_internal_coordinates(RigidBodyMember self, Vector3D v)"""
7729 return _IMP_core.RigidBodyMember_set_internal_coordinates(self, v)
7731 def set_internal_transformation(self, v):
7732 r"""set_internal_transformation(RigidBodyMember self, Transformation3D v)"""
7733 return _IMP_core.RigidBodyMember_set_internal_transformation(self, v)
7735 def get_internal_transformation(self):
7736 r"""get_internal_transformation(RigidBodyMember self) -> Transformation3D"""
7737 return _IMP_core.RigidBodyMember_get_internal_transformation(self)
7738 __swig_destroy__ = _IMP_core.delete_RigidBodyMember
7740 def set_coordinates(self, *args):
7742 set_coordinates(RigidBodyMember self, Vector3D center)
7743 set_coordinates(RigidBodyMember self, Transformation3D tr)
7745 return _IMP_core.RigidBodyMember_set_coordinates(self, *args)
7747 def __init__(self, *args):
7749 __init__(RigidBodyMember self) -> RigidBodyMember
7750 __init__(RigidBodyMember self, Model m, ParticleIndex id) -> RigidBodyMember
7751 __init__(RigidBodyMember self, _ParticleAdaptor d) -> RigidBodyMember
7752 __init__(RigidBodyMember self, RigidBodyMember arg2) -> RigidBodyMember
7754 _IMP_core.RigidBodyMember_swiginit(self, _IMP_core.new_RigidBodyMember(*args))
7757 def get_is_setup(*args):
7759 get_is_setup(_ParticleAdaptor p) -> bool
7760 get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
7762 return _IMP_core.RigidBodyMember_get_is_setup(*args)
7765 def get_internal_coordinate_keys():
7766 r"""get_internal_coordinate_keys() -> IMP::FloatKeys"""
7767 return _IMP_core.RigidBodyMember_get_internal_coordinate_keys()
7770 def get_internal_rotation_keys():
7771 r"""get_internal_rotation_keys() -> IMP::FloatKeys"""
7772 return _IMP_core.RigidBodyMember_get_internal_rotation_keys()
7774 def add_attribute(self, *args):
7776 add_attribute(RigidBodyMember self, FloatKey k, IMP::Float v, bool opt)
7777 add_attribute(RigidBodyMember self, FloatKey a0, IMP::Float a1)
7778 add_attribute(RigidBodyMember self, IntKey a0, IMP::Int a1)
7779 add_attribute(RigidBodyMember self, FloatsKey a0, IMP::Floats a1)
7780 add_attribute(RigidBodyMember self, IntsKey a0, IMP::Ints a1)
7781 add_attribute(RigidBodyMember self, StringKey a0, IMP::String a1)
7782 add_attribute(RigidBodyMember self, ParticleIndexKey a0, Particle a1)
7783 add_attribute(RigidBodyMember self, ObjectKey a0, Object a1)
7785 return _IMP_core.RigidBodyMember_add_attribute(self, *args)
7787 def get_value(self, *args):
7789 get_value(RigidBodyMember self, FloatKey a0) -> IMP::Float
7790 get_value(RigidBodyMember self, IntKey a0) -> IMP::Int
7791 get_value(RigidBodyMember self, FloatsKey a0) -> IMP::Floats
7792 get_value(RigidBodyMember self, IntsKey a0) -> IMP::Ints
7793 get_value(RigidBodyMember self, StringKey a0) -> IMP::String
7794 get_value(RigidBodyMember self, ParticleIndexKey a0) -> Particle
7795 get_value(RigidBodyMember self, ObjectKey a0) -> Object
7797 return _IMP_core.RigidBodyMember_get_value(self, *args)
7799 def set_value(self, *args):
7801 set_value(RigidBodyMember self, FloatKey a0, IMP::Float a1)
7802 set_value(RigidBodyMember self, IntKey a0, IMP::Int a1)
7803 set_value(RigidBodyMember self, FloatsKey a0, IMP::Floats a1)
7804 set_value(RigidBodyMember self, IntsKey a0, IMP::Ints a1)
7805 set_value(RigidBodyMember self, StringKey a0, IMP::String a1)
7806 set_value(RigidBodyMember self, ParticleIndexKey a0, Particle a1)
7807 set_value(RigidBodyMember self, ObjectKey a0, Object a1)
7809 return _IMP_core.RigidBodyMember_set_value(self, *args)
7811 def remove_attribute(self, *args):
7813 remove_attribute(RigidBodyMember self, FloatKey a0)
7814 remove_attribute(RigidBodyMember self, IntKey a0)
7815 remove_attribute(RigidBodyMember self, FloatsKey a0)
7816 remove_attribute(RigidBodyMember self, IntsKey a0)
7817 remove_attribute(RigidBodyMember self, StringKey a0)
7818 remove_attribute(RigidBodyMember self, ParticleIndexKey a0)
7819 remove_attribute(RigidBodyMember self, ObjectKey a0)
7821 return _IMP_core.RigidBodyMember_remove_attribute(self, *args)
7823 def has_attribute(self, *args):
7825 has_attribute(RigidBodyMember self, FloatKey a0) -> bool
7826 has_attribute(RigidBodyMember self, IntKey a0) -> bool
7827 has_attribute(RigidBodyMember self, FloatsKey a0) -> bool
7828 has_attribute(RigidBodyMember self, IntsKey a0) -> bool
7829 has_attribute(RigidBodyMember self, StringKey a0) -> bool
7830 has_attribute(RigidBodyMember self, ParticleIndexKey a0) -> bool
7831 has_attribute(RigidBodyMember self, ObjectKey a0) -> bool
7833 return _IMP_core.RigidBodyMember_has_attribute(self, *args)
7835 def get_derivative(self, a0):
7836 r"""get_derivative(RigidBodyMember self, FloatKey a0) -> double"""
7837 return _IMP_core.RigidBodyMember_get_derivative(self, a0)
7840 r"""get_name(RigidBodyMember self) -> std::string"""
7841 return _IMP_core.RigidBodyMember_get_name(self)
7843 def clear_caches(self):
7844 r"""clear_caches(RigidBodyMember self)"""
7845 return _IMP_core.RigidBodyMember_clear_caches(self)
7847 def set_name(self, a0):
7848 r"""set_name(RigidBodyMember self, std::string a0)"""
7849 return _IMP_core.RigidBodyMember_set_name(self, a0)
7852 r"""set_check_level(RigidBodyMember self, IMP::CheckLevel a0)"""
7853 return _IMP_core.RigidBodyMember_set_check_level(self, a0)
7855 def add_to_derivative(self, a0, a1, a2):
7856 r"""add_to_derivative(RigidBodyMember self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
7857 return _IMP_core.RigidBodyMember_add_to_derivative(self, a0, a1, a2)
7859 def set_is_optimized(self, a0, a1):
7860 r"""set_is_optimized(RigidBodyMember self, FloatKey a0, bool a1)"""
7861 return _IMP_core.RigidBodyMember_set_is_optimized(self, a0, a1)
7863 def get_is_optimized(self, a0):
7864 r"""get_is_optimized(RigidBodyMember self, FloatKey a0) -> bool"""
7865 return _IMP_core.RigidBodyMember_get_is_optimized(self, a0)
7868 r"""get_check_level(RigidBodyMember self) -> IMP::CheckLevel"""
7869 return _IMP_core.RigidBodyMember_get_check_level(self)
7871 def __eq__(self, *args):
7873 __eq__(RigidBodyMember self, RigidBodyMember o) -> bool
7874 __eq__(RigidBodyMember self, Particle d) -> bool
7876 return _IMP_core.RigidBodyMember___eq__(self, *args)
7878 def __ne__(self, *args):
7880 __ne__(RigidBodyMember self, RigidBodyMember o) -> bool
7881 __ne__(RigidBodyMember self, Particle d) -> bool
7883 return _IMP_core.RigidBodyMember___ne__(self, *args)
7885 def __le__(self, *args):
7887 __le__(RigidBodyMember self, RigidBodyMember o) -> bool
7888 __le__(RigidBodyMember self, Particle d) -> bool
7890 return _IMP_core.RigidBodyMember___le__(self, *args)
7892 def __lt__(self, *args):
7894 __lt__(RigidBodyMember self, RigidBodyMember o) -> bool
7895 __lt__(RigidBodyMember self, Particle d) -> bool
7897 return _IMP_core.RigidBodyMember___lt__(self, *args)
7899 def __ge__(self, *args):
7901 __ge__(RigidBodyMember self, RigidBodyMember o) -> bool
7902 __ge__(RigidBodyMember self, Particle d) -> bool
7904 return _IMP_core.RigidBodyMember___ge__(self, *args)
7906 def __gt__(self, *args):
7908 __gt__(RigidBodyMember self, RigidBodyMember o) -> bool
7909 __gt__(RigidBodyMember self, Particle d) -> bool
7911 return _IMP_core.RigidBodyMember___gt__(self, *args)
7914 r"""__hash__(RigidBodyMember self) -> std::size_t"""
7915 return _IMP_core.RigidBodyMember___hash__(self)
7918 r"""__str__(RigidBodyMember self) -> std::string"""
7919 return _IMP_core.RigidBodyMember___str__(self)
7922 r"""__repr__(RigidBodyMember self) -> std::string"""
7923 return _IMP_core.RigidBodyMember___repr__(self)
7925 def _get_as_binary(self):
7926 r"""_get_as_binary(RigidBodyMember self) -> PyObject *"""
7927 return _IMP_core.RigidBodyMember__get_as_binary(self)
7929 def _set_from_binary(self, p):
7930 r"""_set_from_binary(RigidBodyMember self, PyObject * p)"""
7931 return _IMP_core.RigidBodyMember__set_from_binary(self, p)
7933 def __getstate__(self):
7934 p = self._get_as_binary()
7935 if len(self.__dict__) > 1:
7936 d = self.__dict__.copy()
7941 def __setstate__(self, p):
7942 if not hasattr(self,
'this'):
7944 if isinstance(p, tuple):
7946 self.__dict__.update(d)
7947 return self._set_from_binary(p)
7951 _IMP_core.RigidBodyMember_swigregister(RigidBodyMember)
7952 class RigidMember(RigidBodyMember):
7953 r"""Proxy of C++ IMP::core::RigidMember class."""
7955 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
7957 def show(self, *args):
7958 r"""show(RigidMember self, _ostream out=std::cout)"""
7959 return _IMP_core.RigidMember_show(self, *args)
7961 def __init__(self, *args):
7963 __init__(RigidMember self) -> RigidMember
7964 __init__(RigidMember self, Model m, ParticleIndex id) -> RigidMember
7965 __init__(RigidMember self, _ParticleAdaptor d) -> RigidMember
7966 __init__(RigidMember self, RigidMember arg2) -> RigidMember
7968 _IMP_core.RigidMember_swiginit(self, _IMP_core.new_RigidMember(*args))
7969 __swig_destroy__ = _IMP_core.delete_RigidMember
7972 def get_is_setup(*args):
7974 get_is_setup(_ParticleAdaptor p) -> bool
7975 get_is_setup(Model m, _ParticleIndexAdaptor p) -> bool
7977 return _IMP_core.RigidMember_get_is_setup(*args)
7979 def add_attribute(self, *args):
7981 add_attribute(RigidMember self, FloatKey k, IMP::Float v, bool opt)
7982 add_attribute(RigidMember self, FloatKey a0, IMP::Float a1)
7983 add_attribute(RigidMember self, IntKey a0, IMP::Int a1)
7984 add_attribute(RigidMember self, FloatsKey a0, IMP::Floats a1)
7985 add_attribute(RigidMember self, IntsKey a0, IMP::Ints a1)
7986 add_attribute(RigidMember self, StringKey a0, IMP::String a1)
7987 add_attribute(RigidMember self, ParticleIndexKey a0, Particle a1)
7988 add_attribute(RigidMember self, ObjectKey a0, Object a1)
7990 return _IMP_core.RigidMember_add_attribute(self, *args)
7992 def get_value(self, *args):
7994 get_value(RigidMember self, FloatKey a0) -> IMP::Float
7995 get_value(RigidMember self, IntKey a0) -> IMP::Int
7996 get_value(RigidMember self, FloatsKey a0) -> IMP::Floats
7997 get_value(RigidMember self, IntsKey a0) -> IMP::Ints
7998 get_value(RigidMember self, StringKey a0) -> IMP::String
7999 get_value(RigidMember self, ParticleIndexKey a0) -> Particle
8000 get_value(RigidMember self, ObjectKey a0) -> Object
8002 return _IMP_core.RigidMember_get_value(self, *args)
8004 def set_value(self, *args):
8006 set_value(RigidMember self, FloatKey a0, IMP::Float a1)
8007 set_value(RigidMember self, IntKey a0, IMP::Int a1)
8008 set_value(RigidMember self, FloatsKey a0, IMP::Floats a1)
8009 set_value(RigidMember self, IntsKey a0, IMP::Ints a1)
8010 set_value(RigidMember self, StringKey a0, IMP::String a1)
8011 set_value(RigidMember self, ParticleIndexKey a0, Particle a1)
8012 set_value(RigidMember self, ObjectKey a0, Object a1)
8014 return _IMP_core.RigidMember_set_value(self, *args)
8016 def remove_attribute(self, *args):
8018 remove_attribute(RigidMember self, FloatKey a0)
8019 remove_attribute(RigidMember self, IntKey a0)
8020 remove_attribute(RigidMember self, FloatsKey a0)
8021 remove_attribute(RigidMember self, IntsKey a0)
8022 remove_attribute(RigidMember self, StringKey a0)
8023 remove_attribute(RigidMember self, ParticleIndexKey a0)
8024 remove_attribute(RigidMember self, ObjectKey a0)
8026 return _IMP_core.RigidMember_remove_attribute(self, *args)
8028 def has_attribute(self, *args):
8030 has_attribute(RigidMember self, FloatKey a0) -> bool
8031 has_attribute(RigidMember self, IntKey a0) -> bool
8032 has_attribute(RigidMember self, FloatsKey a0) -> bool
8033 has_attribute(RigidMember self, IntsKey a0) -> bool
8034 has_attribute(RigidMember self, StringKey a0) -> bool
8035 has_attribute(RigidMember self, ParticleIndexKey a0) -> bool
8036 has_attribute(RigidMember self, ObjectKey a0) -> bool
8038 return _IMP_core.RigidMember_has_attribute(self, *args)
8040 def get_derivative(self, a0):
8041 r"""get_derivative(RigidMember self, FloatKey a0) -> double"""
8042 return _IMP_core.RigidMember_get_derivative(self, a0)
8045 r"""get_name(RigidMember self) -> std::string"""
8046 return _IMP_core.RigidMember_get_name(self)
8048 def clear_caches(self):
8049 r"""clear_caches(RigidMember self)"""
8050 return _IMP_core.RigidMember_clear_caches(self)
8052 def set_name(self, a0):
8053 r"""set_name(RigidMember self, std::string a0)"""
8054 return _IMP_core.RigidMember_set_name(self, a0)
8057 r"""set_check_level(RigidMember self, IMP::CheckLevel a0)"""
8058 return _IMP_core.RigidMember_set_check_level(self, a0)
8060 def add_to_derivative(self, a0, a1, a2):
8061 r"""add_to_derivative(RigidMember self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
8062 return _IMP_core.RigidMember_add_to_derivative(self, a0, a1, a2)
8064 def set_is_optimized(self, a0, a1):
8065 r"""set_is_optimized(RigidMember self, FloatKey a0, bool a1)"""
8066 return _IMP_core.RigidMember_set_is_optimized(self, a0, a1)
8068 def get_is_optimized(self, a0):
8069 r"""get_is_optimized(RigidMember self, FloatKey a0) -> bool"""
8070 return _IMP_core.RigidMember_get_is_optimized(self, a0)
8073 r"""get_check_level(RigidMember self) -> IMP::CheckLevel"""
8074 return _IMP_core.RigidMember_get_check_level(self)
8076 def __eq__(self, *args):
8078 __eq__(RigidMember self, RigidMember o) -> bool
8079 __eq__(RigidMember self, Particle d) -> bool
8081 return _IMP_core.RigidMember___eq__(self, *args)
8083 def __ne__(self, *args):
8085 __ne__(RigidMember self, RigidMember o) -> bool
8086 __ne__(RigidMember self, Particle d) -> bool
8088 return _IMP_core.RigidMember___ne__(self, *args)
8090 def __le__(self, *args):
8092 __le__(RigidMember self, RigidMember o) -> bool
8093 __le__(RigidMember self, Particle d) -> bool
8095 return _IMP_core.RigidMember___le__(self, *args)
8097 def __lt__(self, *args):
8099 __lt__(RigidMember self, RigidMember o) -> bool
8100 __lt__(RigidMember self, Particle d) -> bool
8102 return _IMP_core.RigidMember___lt__(self, *args)
8104 def __ge__(self, *args):
8106 __ge__(RigidMember self, RigidMember o) -> bool
8107 __ge__(RigidMember self, Particle d) -> bool
8109 return _IMP_core.RigidMember___ge__(self, *args)
8111 def __gt__(self, *args):
8113 __gt__(RigidMember self, RigidMember o) -> bool
8114 __gt__(RigidMember self, Particle d) -> bool
8116 return _IMP_core.RigidMember___gt__(self, *args)
8119 r"""__hash__(RigidMember self) -> std::size_t"""
8120 return _IMP_core.RigidMember___hash__(self)
8123 r"""__str__(RigidMember self) -> std::string"""
8124 return _IMP_core.RigidMember___str__(self)
8127 r"""__repr__(RigidMember self) -> std::string"""
8128 return _IMP_core.RigidMember___repr__(self)
8130 def _get_as_binary(self):
8131 r"""_get_as_binary(RigidMember self) -> PyObject *"""
8132 return _IMP_core.RigidMember__get_as_binary(self)
8134 def _set_from_binary(self, p):
8135 r"""_set_from_binary(RigidMember self, PyObject * p)"""
8136 return _IMP_core.RigidMember__set_from_binary(self, p)
8138 def __getstate__(self):
8139 p = self._get_as_binary()
8140 if len(self.__dict__) > 1:
8141 d = self.__dict__.copy()
8146 def __setstate__(self, p):
8147 if not hasattr(self,
'this'):
8149 if isinstance(p, tuple):
8151 self.__dict__.update(d)
8152 return self._set_from_binary(p)
8156 _IMP_core.RigidMember_swigregister(RigidMember)
8157 class NonRigidMember(RigidBodyMember):
8158 r"""Proxy of C++ IMP::core::NonRigidMember class."""
8160 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
8162 def show(self, *args):
8163 r"""show(NonRigidMember self, _ostream out=std::cout)"""
8164 return _IMP_core.NonRigidMember_show(self, *args)
8166 def __init__(self, *args):
8168 __init__(NonRigidMember self) -> NonRigidMember
8169 __init__(NonRigidMember self, Model m, ParticleIndex id) -> NonRigidMember
8170 __init__(NonRigidMember self, _ParticleAdaptor d) -> NonRigidMember
8171 __init__(NonRigidMember self, NonRigidMember arg2) -> NonRigidMember
8173 _IMP_core.NonRigidMember_swiginit(self, _IMP_core.new_NonRigidMember(*args))
8174 __swig_destroy__ = _IMP_core.delete_NonRigidMember
8177 def get_is_setup(*args):
8179 get_is_setup(_ParticleAdaptor p) -> bool
8180 get_is_setup(Model m, ParticleIndex p) -> bool
8182 return _IMP_core.NonRigidMember_get_is_setup(*args)
8184 def add_to_internal_derivatives(self, deriv_parent, da):
8185 r"""add_to_internal_derivatives(NonRigidMember self, Vector3D deriv_parent, DerivativeAccumulator da)"""
8186 return _IMP_core.NonRigidMember_add_to_internal_derivatives(self, deriv_parent, da)
8188 def add_to_internal_rotational_derivatives(self, *args):
8190 add_to_internal_rotational_derivatives(NonRigidMember self, Vector4D local_qderiv, Rotation3D rot_local_to_parent, Rotation3D rot_parent_to_global, DerivativeAccumulator da)
8191 add_to_internal_rotational_derivatives(NonRigidMember self, Vector4D qderiv, DerivativeAccumulator da)
8193 return _IMP_core.NonRigidMember_add_to_internal_rotational_derivatives(self, *args)
8195 def get_internal_derivatives(self):
8196 r"""get_internal_derivatives(NonRigidMember self) -> Vector3D"""
8197 return _IMP_core.NonRigidMember_get_internal_derivatives(self)
8199 def get_internal_rotational_derivatives(self):
8200 r"""get_internal_rotational_derivatives(NonRigidMember self) -> Vector4D"""
8201 return _IMP_core.NonRigidMember_get_internal_rotational_derivatives(self)
8203 def add_attribute(self, *args):
8205 add_attribute(NonRigidMember self, FloatKey k, IMP::Float v, bool opt)
8206 add_attribute(NonRigidMember self, FloatKey a0, IMP::Float a1)
8207 add_attribute(NonRigidMember self, IntKey a0, IMP::Int a1)
8208 add_attribute(NonRigidMember self, FloatsKey a0, IMP::Floats a1)
8209 add_attribute(NonRigidMember self, IntsKey a0, IMP::Ints a1)
8210 add_attribute(NonRigidMember self, StringKey a0, IMP::String a1)
8211 add_attribute(NonRigidMember self, ParticleIndexKey a0, Particle a1)
8212 add_attribute(NonRigidMember self, ObjectKey a0, Object a1)
8214 return _IMP_core.NonRigidMember_add_attribute(self, *args)
8216 def get_value(self, *args):
8218 get_value(NonRigidMember self, FloatKey a0) -> IMP::Float
8219 get_value(NonRigidMember self, IntKey a0) -> IMP::Int
8220 get_value(NonRigidMember self, FloatsKey a0) -> IMP::Floats
8221 get_value(NonRigidMember self, IntsKey a0) -> IMP::Ints
8222 get_value(NonRigidMember self, StringKey a0) -> IMP::String
8223 get_value(NonRigidMember self, ParticleIndexKey a0) -> Particle
8224 get_value(NonRigidMember self, ObjectKey a0) -> Object
8226 return _IMP_core.NonRigidMember_get_value(self, *args)
8228 def set_value(self, *args):
8230 set_value(NonRigidMember self, FloatKey a0, IMP::Float a1)
8231 set_value(NonRigidMember self, IntKey a0, IMP::Int a1)
8232 set_value(NonRigidMember self, FloatsKey a0, IMP::Floats a1)
8233 set_value(NonRigidMember self, IntsKey a0, IMP::Ints a1)
8234 set_value(NonRigidMember self, StringKey a0, IMP::String a1)
8235 set_value(NonRigidMember self, ParticleIndexKey a0, Particle a1)
8236 set_value(NonRigidMember self, ObjectKey a0, Object a1)
8238 return _IMP_core.NonRigidMember_set_value(self, *args)
8240 def remove_attribute(self, *args):
8242 remove_attribute(NonRigidMember self, FloatKey a0)
8243 remove_attribute(NonRigidMember self, IntKey a0)
8244 remove_attribute(NonRigidMember self, FloatsKey a0)
8245 remove_attribute(NonRigidMember self, IntsKey a0)
8246 remove_attribute(NonRigidMember self, StringKey a0)
8247 remove_attribute(NonRigidMember self, ParticleIndexKey a0)
8248 remove_attribute(NonRigidMember self, ObjectKey a0)
8250 return _IMP_core.NonRigidMember_remove_attribute(self, *args)
8252 def has_attribute(self, *args):
8254 has_attribute(NonRigidMember self, FloatKey a0) -> bool
8255 has_attribute(NonRigidMember self, IntKey a0) -> bool
8256 has_attribute(NonRigidMember self, FloatsKey a0) -> bool
8257 has_attribute(NonRigidMember self, IntsKey a0) -> bool
8258 has_attribute(NonRigidMember self, StringKey a0) -> bool
8259 has_attribute(NonRigidMember self, ParticleIndexKey a0) -> bool
8260 has_attribute(NonRigidMember self, ObjectKey a0) -> bool
8262 return _IMP_core.NonRigidMember_has_attribute(self, *args)
8264 def get_derivative(self, a0):
8265 r"""get_derivative(NonRigidMember self, FloatKey a0) -> double"""
8266 return _IMP_core.NonRigidMember_get_derivative(self, a0)
8269 r"""get_name(NonRigidMember self) -> std::string"""
8270 return _IMP_core.NonRigidMember_get_name(self)
8272 def clear_caches(self):
8273 r"""clear_caches(NonRigidMember self)"""
8274 return _IMP_core.NonRigidMember_clear_caches(self)
8276 def set_name(self, a0):
8277 r"""set_name(NonRigidMember self, std::string a0)"""
8278 return _IMP_core.NonRigidMember_set_name(self, a0)
8281 r"""set_check_level(NonRigidMember self, IMP::CheckLevel a0)"""
8282 return _IMP_core.NonRigidMember_set_check_level(self, a0)
8284 def add_to_derivative(self, a0, a1, a2):
8285 r"""add_to_derivative(NonRigidMember self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
8286 return _IMP_core.NonRigidMember_add_to_derivative(self, a0, a1, a2)
8288 def set_is_optimized(self, a0, a1):
8289 r"""set_is_optimized(NonRigidMember self, FloatKey a0, bool a1)"""
8290 return _IMP_core.NonRigidMember_set_is_optimized(self, a0, a1)
8292 def get_is_optimized(self, a0):
8293 r"""get_is_optimized(NonRigidMember self, FloatKey a0) -> bool"""
8294 return _IMP_core.NonRigidMember_get_is_optimized(self, a0)
8297 r"""get_check_level(NonRigidMember self) -> IMP::CheckLevel"""
8298 return _IMP_core.NonRigidMember_get_check_level(self)
8300 def __eq__(self, *args):
8302 __eq__(NonRigidMember self, NonRigidMember o) -> bool
8303 __eq__(NonRigidMember self, Particle d) -> bool
8305 return _IMP_core.NonRigidMember___eq__(self, *args)
8307 def __ne__(self, *args):
8309 __ne__(NonRigidMember self, NonRigidMember o) -> bool
8310 __ne__(NonRigidMember self, Particle d) -> bool
8312 return _IMP_core.NonRigidMember___ne__(self, *args)
8314 def __le__(self, *args):
8316 __le__(NonRigidMember self, NonRigidMember o) -> bool
8317 __le__(NonRigidMember self, Particle d) -> bool
8319 return _IMP_core.NonRigidMember___le__(self, *args)
8321 def __lt__(self, *args):
8323 __lt__(NonRigidMember self, NonRigidMember o) -> bool
8324 __lt__(NonRigidMember self, Particle d) -> bool
8326 return _IMP_core.NonRigidMember___lt__(self, *args)
8328 def __ge__(self, *args):
8330 __ge__(NonRigidMember self, NonRigidMember o) -> bool
8331 __ge__(NonRigidMember self, Particle d) -> bool
8333 return _IMP_core.NonRigidMember___ge__(self, *args)
8335 def __gt__(self, *args):
8337 __gt__(NonRigidMember self, NonRigidMember o) -> bool
8338 __gt__(NonRigidMember self, Particle d) -> bool
8340 return _IMP_core.NonRigidMember___gt__(self, *args)
8343 r"""__hash__(NonRigidMember self) -> std::size_t"""
8344 return _IMP_core.NonRigidMember___hash__(self)
8347 r"""__str__(NonRigidMember self) -> std::string"""
8348 return _IMP_core.NonRigidMember___str__(self)
8351 r"""__repr__(NonRigidMember self) -> std::string"""
8352 return _IMP_core.NonRigidMember___repr__(self)
8354 def _get_as_binary(self):
8355 r"""_get_as_binary(NonRigidMember self) -> PyObject *"""
8356 return _IMP_core.NonRigidMember__get_as_binary(self)
8358 def _set_from_binary(self, p):
8359 r"""_set_from_binary(NonRigidMember self, PyObject * p)"""
8360 return _IMP_core.NonRigidMember__set_from_binary(self, p)
8362 def __getstate__(self):
8363 p = self._get_as_binary()
8364 if len(self.__dict__) > 1:
8365 d = self.__dict__.copy()
8370 def __setstate__(self, p):
8371 if not hasattr(self,
'this'):
8373 if isinstance(p, tuple):
8375 self.__dict__.update(d)
8376 return self._set_from_binary(p)
8380 _IMP_core.NonRigidMember_swigregister(NonRigidMember)
8382 r"""Proxy of C++ IMP::core::RigidMembersRefiner class."""
8384 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
8386 def __init__(self, *args):
8387 r"""__init__(RigidMembersRefiner self, std::string name="RigidMembersRefiner%d") -> RigidMembersRefiner"""
8388 _IMP_core.RigidMembersRefiner_swiginit(self, _IMP_core.new_RigidMembersRefiner(*args))
8390 def do_get_inputs(self, m, pis):
8391 r"""do_get_inputs(RigidMembersRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
8392 return _IMP_core.RigidMembersRefiner_do_get_inputs(self, m, pis)
8394 def get_version_info(self):
8395 r"""get_version_info(RigidMembersRefiner self) -> VersionInfo"""
8396 return _IMP_core.RigidMembersRefiner_get_version_info(self)
8397 __swig_destroy__ = _IMP_core.delete_RigidMembersRefiner
8400 r"""__str__(RigidMembersRefiner self) -> std::string"""
8401 return _IMP_core.RigidMembersRefiner___str__(self)
8404 r"""__repr__(RigidMembersRefiner self) -> std::string"""
8405 return _IMP_core.RigidMembersRefiner___repr__(self)
8409 return _object_cast_to_RigidMembersRefiner(o)
8413 _IMP_core.RigidMembersRefiner_swigregister(RigidMembersRefiner)
8415 def get_rigid_members_refiner():
8416 r"""get_rigid_members_refiner() -> RigidMembersRefiner"""
8417 return _IMP_core.get_rigid_members_refiner()
8421 transform(XYZ a, Transformation3D tr)
8422 transform(RigidBody a, Transformation3D tr)
8424 return _IMP_core.transform(*args)
8428 get_initial_reference_frame(Model m, IMP::ParticleIndexes const & pis) -> ReferenceFrame3D
8429 get_initial_reference_frame(IMP::ParticlesTemp const & ps) -> ReferenceFrame3D
8431 return _IMP_core.get_initial_reference_frame(*args)
8434 r"""create_rigid_bodies(Model m, unsigned int n, bool no_members=False) -> IMP::ParticlesTemp"""
8435 return _IMP_core.create_rigid_bodies(m, n, no_members)
8438 r"""show_rigid_body_hierarchy(RigidBody rb, TextOutput out=IMP::TextOutput(std::cout))"""
8439 return _IMP_core.show_rigid_body_hierarchy(*args)
8442 r"""get_root_rigid_body(RigidMember m) -> ParticleIndex"""
8443 return _IMP_core.get_root_rigid_body(m)
8445 r"""Proxy of C++ IMP::core::RigidBodyHierarchyGeometry class."""
8447 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
8449 def __init__(self, rb, constituents):
8450 r"""__init__(RigidBodyHierarchyGeometry self, RigidBody rb, IMP::ParticlesTemp const & constituents) -> RigidBodyHierarchyGeometry"""
8451 _IMP_core.RigidBodyHierarchyGeometry_swiginit(self, _IMP_core.new_RigidBodyHierarchyGeometry(rb, constituents))
8453 def get_version_info(self):
8454 r"""get_version_info(RigidBodyHierarchyGeometry self) -> VersionInfo"""
8455 return _IMP_core.RigidBodyHierarchyGeometry_get_version_info(self)
8456 __swig_destroy__ = _IMP_core.delete_RigidBodyHierarchyGeometry
8459 r"""__str__(RigidBodyHierarchyGeometry self) -> std::string"""
8460 return _IMP_core.RigidBodyHierarchyGeometry___str__(self)
8463 r"""__repr__(RigidBodyHierarchyGeometry self) -> std::string"""
8464 return _IMP_core.RigidBodyHierarchyGeometry___repr__(self)
8468 return _object_cast_to_RigidBodyHierarchyGeometry(o)
8472 _IMP_core.RigidBodyHierarchyGeometry_swigregister(RigidBodyHierarchyGeometry)
8474 r"""Proxy of C++ IMP::core::RigidBodyDerivativeGeometry class."""
8476 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
8478 def __init__(self, *args):
8480 __init__(RigidBodyDerivativeGeometry self, Particle p) -> RigidBodyDerivativeGeometry
8481 __init__(RigidBodyDerivativeGeometry self, RigidBody d) -> RigidBodyDerivativeGeometry
8483 _IMP_core.RigidBodyDerivativeGeometry_swiginit(self, _IMP_core.new_RigidBodyDerivativeGeometry(*args))
8485 def get_version_info(self):
8486 r"""get_version_info(RigidBodyDerivativeGeometry self) -> VersionInfo"""
8487 return _IMP_core.RigidBodyDerivativeGeometry_get_version_info(self)
8488 __swig_destroy__ = _IMP_core.delete_RigidBodyDerivativeGeometry
8491 r"""__str__(RigidBodyDerivativeGeometry self) -> std::string"""
8492 return _IMP_core.RigidBodyDerivativeGeometry___str__(self)
8495 r"""__repr__(RigidBodyDerivativeGeometry self) -> std::string"""
8496 return _IMP_core.RigidBodyDerivativeGeometry___repr__(self)
8500 return _object_cast_to_RigidBodyDerivativeGeometry(o)
8504 _IMP_core.RigidBodyDerivativeGeometry_swigregister(RigidBodyDerivativeGeometry)
8506 r"""Proxy of C++ IMP::core::RigidBodyDerivativesGeometry class."""
8508 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
8510 def __init__(self, sc):
8511 r"""__init__(RigidBodyDerivativesGeometry self, SingletonContainer sc) -> RigidBodyDerivativesGeometry"""
8512 _IMP_core.RigidBodyDerivativesGeometry_swiginit(self, _IMP_core.new_RigidBodyDerivativesGeometry(sc))
8514 def get_version_info(self):
8515 r"""get_version_info(RigidBodyDerivativesGeometry self) -> VersionInfo"""
8516 return _IMP_core.RigidBodyDerivativesGeometry_get_version_info(self)
8517 __swig_destroy__ = _IMP_core.delete_RigidBodyDerivativesGeometry
8520 r"""__str__(RigidBodyDerivativesGeometry self) -> std::string"""
8521 return _IMP_core.RigidBodyDerivativesGeometry___str__(self)
8524 r"""__repr__(RigidBodyDerivativesGeometry self) -> std::string"""
8525 return _IMP_core.RigidBodyDerivativesGeometry___repr__(self)
8529 return _object_cast_to_RigidBodyDerivativesGeometry(o)
8533 _IMP_core.RigidBodyDerivativesGeometry_swigregister(RigidBodyDerivativesGeometry)
8535 r"""Proxy of C++ IMP::core::RigidBodyFrameGeometry class."""
8537 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
8539 def __init__(self, *args):
8541 __init__(RigidBodyFrameGeometry self, Particle p) -> RigidBodyFrameGeometry
8542 __init__(RigidBodyFrameGeometry self, RigidBody d) -> RigidBodyFrameGeometry
8544 _IMP_core.RigidBodyFrameGeometry_swiginit(self, _IMP_core.new_RigidBodyFrameGeometry(*args))
8546 def get_version_info(self):
8547 r"""get_version_info(RigidBodyFrameGeometry self) -> VersionInfo"""
8548 return _IMP_core.RigidBodyFrameGeometry_get_version_info(self)
8549 __swig_destroy__ = _IMP_core.delete_RigidBodyFrameGeometry
8552 r"""__str__(RigidBodyFrameGeometry self) -> std::string"""
8553 return _IMP_core.RigidBodyFrameGeometry___str__(self)
8556 r"""__repr__(RigidBodyFrameGeometry self) -> std::string"""
8557 return _IMP_core.RigidBodyFrameGeometry___repr__(self)
8561 return _object_cast_to_RigidBodyFrameGeometry(o)
8565 _IMP_core.RigidBodyFrameGeometry_swigregister(RigidBodyFrameGeometry)
8567 r"""Proxy of C++ IMP::core::RigidBodyFramesGeometry class."""
8569 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
8571 def __init__(self, sc):
8572 r"""__init__(RigidBodyFramesGeometry self, SingletonContainer sc) -> RigidBodyFramesGeometry"""
8573 _IMP_core.RigidBodyFramesGeometry_swiginit(self, _IMP_core.new_RigidBodyFramesGeometry(sc))
8575 def get_version_info(self):
8576 r"""get_version_info(RigidBodyFramesGeometry self) -> VersionInfo"""
8577 return _IMP_core.RigidBodyFramesGeometry_get_version_info(self)
8578 __swig_destroy__ = _IMP_core.delete_RigidBodyFramesGeometry
8581 r"""__str__(RigidBodyFramesGeometry self) -> std::string"""
8582 return _IMP_core.RigidBodyFramesGeometry___str__(self)
8585 r"""__repr__(RigidBodyFramesGeometry self) -> std::string"""
8586 return _IMP_core.RigidBodyFramesGeometry___repr__(self)
8590 return _object_cast_to_RigidBodyFramesGeometry(o)
8594 _IMP_core.RigidBodyFramesGeometry_swigregister(RigidBodyFramesGeometry)
8596 r"""Proxy of C++ IMP::core::RigidBodyTorque class."""
8598 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
8600 def __init__(self, p):
8601 r"""__init__(RigidBodyTorque self, Particle p) -> RigidBodyTorque"""
8602 _IMP_core.RigidBodyTorque_swiginit(self, _IMP_core.new_RigidBodyTorque(p))
8605 r"""__str__(RigidBodyTorque self) -> std::string"""
8606 return _IMP_core.RigidBodyTorque___str__(self)
8609 r"""__repr__(RigidBodyTorque self) -> std::string"""
8610 return _IMP_core.RigidBodyTorque___repr__(self)
8614 return _object_cast_to_RigidBodyTorque(o)
8616 __swig_destroy__ = _IMP_core.delete_RigidBodyTorque
8619 _IMP_core.RigidBodyTorque_swigregister(RigidBodyTorque)
8620 class NearestNeighborsClosePairsFinder(ClosePairsFinder):
8621 r"""Proxy of C++ IMP::core::NearestNeighborsClosePairsFinder class."""
8623 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
8626 r"""__init__(NearestNeighborsClosePairsFinder self) -> NearestNeighborsClosePairsFinder"""
8627 _IMP_core.NearestNeighborsClosePairsFinder_swiginit(self, _IMP_core.new_NearestNeighborsClosePairsFinder())
8629 def get_close_pairs(self, *args):
8631 get_close_pairs(NearestNeighborsClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
8632 get_close_pairs(NearestNeighborsClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
8633 get_close_pairs(NearestNeighborsClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
8634 get_close_pairs(NearestNeighborsClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
8636 return _IMP_core.NearestNeighborsClosePairsFinder_get_close_pairs(self, *args)
8638 def do_get_inputs(self, m, pis):
8639 r"""do_get_inputs(NearestNeighborsClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
8640 return _IMP_core.NearestNeighborsClosePairsFinder_do_get_inputs(self, m, pis)
8642 def get_version_info(self):
8643 r"""get_version_info(NearestNeighborsClosePairsFinder self) -> VersionInfo"""
8644 return _IMP_core.NearestNeighborsClosePairsFinder_get_version_info(self)
8645 __swig_destroy__ = _IMP_core.delete_NearestNeighborsClosePairsFinder
8648 r"""__str__(NearestNeighborsClosePairsFinder self) -> std::string"""
8649 return _IMP_core.NearestNeighborsClosePairsFinder___str__(self)
8652 r"""__repr__(NearestNeighborsClosePairsFinder self) -> std::string"""
8653 return _IMP_core.NearestNeighborsClosePairsFinder___repr__(self)
8657 return _object_cast_to_NearestNeighborsClosePairsFinder(o)
8661 _IMP_core.NearestNeighborsClosePairsFinder_swigregister(NearestNeighborsClosePairsFinder)
8663 r"""Proxy of C++ IMP::core::RestraintsScoringFunction class."""
8665 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
8667 def __init__(self, *args):
8669 __init__(RestraintsScoringFunction self, _RestraintsAdaptor rs, double weight=1.0, double max=NO_MAX, std::string name="RestraintsScoringFunction%1%") -> RestraintsScoringFunction
8670 __init__(RestraintsScoringFunction self, _RestraintsAdaptor rs, std::string name) -> RestraintsScoringFunction
8671 __init__(RestraintsScoringFunction self) -> RestraintsScoringFunction
8673 _IMP_core.RestraintsScoringFunction_swiginit(self, _IMP_core.new_RestraintsScoringFunction(*args))
8675 def do_add_score_and_derivatives(self, sa, ss):
8676 r"""do_add_score_and_derivatives(RestraintsScoringFunction self, ScoreAccumulator sa, IMP::ScoreStatesTemp const & ss)"""
8677 return _IMP_core.RestraintsScoringFunction_do_add_score_and_derivatives(self, sa, ss)
8679 def do_add_score_and_derivatives_moved(self, sa, moved_pis, reset_pis, ss):
8680 r"""do_add_score_and_derivatives_moved(RestraintsScoringFunction self, ScoreAccumulator sa, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis, IMP::ScoreStatesTemp const & ss)"""
8681 return _IMP_core.RestraintsScoringFunction_do_add_score_and_derivatives_moved(self, sa, moved_pis, reset_pis, ss)
8683 def do_get_inputs(self):
8684 r"""do_get_inputs(RestraintsScoringFunction self) -> IMP::ModelObjectsTemp"""
8685 return _IMP_core.RestraintsScoringFunction_do_get_inputs(self)
8687 def get_restraints(self):
8688 r"""get_restraints(RestraintsScoringFunction self) -> IMP::Restraints"""
8689 return _IMP_core.RestraintsScoringFunction_get_restraints(self)
8691 def set_restraints(self, d):
8692 r"""set_restraints(RestraintsScoringFunction self, IMP::Restraints const & d)"""
8693 return _IMP_core.RestraintsScoringFunction_set_restraints(self, d)
8695 def get_number_of_restraints(self):
8696 r"""get_number_of_restraints(RestraintsScoringFunction self) -> unsigned int"""
8697 return _IMP_core.RestraintsScoringFunction_get_number_of_restraints(self)
8699 def clear_restraints(self):
8700 r"""clear_restraints(RestraintsScoringFunction self)"""
8701 return _IMP_core.RestraintsScoringFunction_clear_restraints(self)
8703 def get_restraint(self, i):
8704 r"""get_restraint(RestraintsScoringFunction self, unsigned int i) -> Restraint"""
8705 return _IMP_core.RestraintsScoringFunction_get_restraint(self, i)
8707 def erase_restraint(self, i):
8708 r"""erase_restraint(RestraintsScoringFunction self, unsigned int i)"""
8709 return _IMP_core.RestraintsScoringFunction_erase_restraint(self, i)
8712 r"""add_restraint(RestraintsScoringFunction self, Restraint d) -> unsigned int"""
8713 return _IMP_core.RestraintsScoringFunction_add_restraint(self, d)
8716 r"""add_restraints(RestraintsScoringFunction self, IMP::Restraints const & d)"""
8717 return _IMP_core.RestraintsScoringFunction_add_restraints(self, d)
8719 def _python_index_restraint(self, r, start, stop):
8720 r"""_python_index_restraint(RestraintsScoringFunction self, Restraint r, unsigned int start, unsigned int stop) -> unsigned int"""
8721 return _IMP_core.RestraintsScoringFunction__python_index_restraint(self, r, start, stop)
8722 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)
8723 def __set_restraints(self, obj): IMP._list_util.set_varlist(self.restraints, obj)
8724 def __del_restraints(self): IMP._list_util.del_varlist(self.restraints)
8725 restraints = property(__get_restraints, __set_restraints, __del_restraints, doc=
"List of ##Restraints")
8727 def get_version_info(self):
8728 r"""get_version_info(RestraintsScoringFunction self) -> VersionInfo"""
8729 return _IMP_core.RestraintsScoringFunction_get_version_info(self)
8730 __swig_destroy__ = _IMP_core.delete_RestraintsScoringFunction
8733 r"""__str__(RestraintsScoringFunction self) -> std::string"""
8734 return _IMP_core.RestraintsScoringFunction___str__(self)
8737 r"""__repr__(RestraintsScoringFunction self) -> std::string"""
8738 return _IMP_core.RestraintsScoringFunction___repr__(self)
8742 return _object_cast_to_RestraintsScoringFunction(o)
8745 def _get_as_binary(self):
8746 r"""_get_as_binary(RestraintsScoringFunction self) -> PyObject *"""
8747 return _IMP_core.RestraintsScoringFunction__get_as_binary(self)
8749 def _set_from_binary(self, p):
8750 r"""_set_from_binary(RestraintsScoringFunction self, PyObject * p)"""
8751 return _IMP_core.RestraintsScoringFunction__set_from_binary(self, p)
8753 def __getstate__(self):
8754 p = self._get_as_binary()
8755 if len(self.__dict__) > 1:
8756 d = self.__dict__.copy()
8761 def __setstate__(self, p):
8762 if not hasattr(self,
'this'):
8764 if isinstance(p, tuple):
8766 self.__dict__.update(d)
8767 return self._set_from_binary(p)
8771 _IMP_core.RestraintsScoringFunction_swigregister(RestraintsScoringFunction)
8772 class RigidClosePairsFinder(ClosePairsFinder):
8773 r"""Proxy of C++ IMP::core::RigidClosePairsFinder class."""
8775 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
8777 def __init__(self, cpf=None):
8778 r"""__init__(RigidClosePairsFinder self, ClosePairsFinder cpf=None) -> RigidClosePairsFinder"""
8779 _IMP_core.RigidClosePairsFinder_swiginit(self, _IMP_core.new_RigidClosePairsFinder(cpf))
8781 def do_get_inputs(self, m, pis):
8782 r"""do_get_inputs(RigidClosePairsFinder self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
8783 return _IMP_core.RigidClosePairsFinder_do_get_inputs(self, m, pis)
8785 def get_close_pairs(self, *args):
8787 get_close_pairs(RigidClosePairsFinder self, Model m, ParticleIndex a, ParticleIndex b, IMP::ParticleIndexes const & pa, IMP::ParticleIndexes const & pb) -> IMP::ParticleIndexPairs
8788 get_close_pairs(RigidClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
8789 get_close_pairs(RigidClosePairsFinder self, IMP::algebra::BoundingBox3Ds const & bas, IMP::algebra::BoundingBox3Ds const & bbs) -> IMP::IntPairs
8790 get_close_pairs(RigidClosePairsFinder self, Model m, IMP::ParticleIndexes const & pc) -> IMP::ParticleIndexPairs
8791 get_close_pairs(RigidClosePairsFinder self, Model m, IMP::ParticleIndexes const & pca, IMP::ParticleIndexes const & pcb) -> IMP::ParticleIndexPairs
8793 return _IMP_core.RigidClosePairsFinder_get_close_pairs(self, *args)
8795 def get_version_info(self):
8796 r"""get_version_info(RigidClosePairsFinder self) -> VersionInfo"""
8797 return _IMP_core.RigidClosePairsFinder_get_version_info(self)
8798 __swig_destroy__ = _IMP_core.delete_RigidClosePairsFinder
8801 r"""__str__(RigidClosePairsFinder self) -> std::string"""
8802 return _IMP_core.RigidClosePairsFinder___str__(self)
8805 r"""__repr__(RigidClosePairsFinder self) -> std::string"""
8806 return _IMP_core.RigidClosePairsFinder___repr__(self)
8810 return _object_cast_to_RigidClosePairsFinder(o)
8813 def _get_as_binary(self):
8814 r"""_get_as_binary(RigidClosePairsFinder self) -> PyObject *"""
8815 return _IMP_core.RigidClosePairsFinder__get_as_binary(self)
8817 def _set_from_binary(self, p):
8818 r"""_set_from_binary(RigidClosePairsFinder self, PyObject * p)"""
8819 return _IMP_core.RigidClosePairsFinder__set_from_binary(self, p)
8821 def __getstate__(self):
8822 p = self._get_as_binary()
8823 if len(self.__dict__) > 1:
8824 d = self.__dict__.copy()
8829 def __setstate__(self, p):
8830 if not hasattr(self,
'this'):
8832 if isinstance(p, tuple):
8834 self.__dict__.update(d)
8835 return self._set_from_binary(p)
8839 _IMP_core.RigidClosePairsFinder_swigregister(RigidClosePairsFinder)
8841 r"""Proxy of C++ IMP::core::SphereDistancePairScore class."""
8843 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
8845 def __init__(self, *args):
8847 __init__(SphereDistancePairScore self, UnaryFunction uf, std::string name="SphereDistancePairScore%1%") -> SphereDistancePairScore
8848 __init__(SphereDistancePairScore self) -> SphereDistancePairScore
8850 _IMP_core.SphereDistancePairScore_swiginit(self, _IMP_core.new_SphereDistancePairScore(*args))
8852 def do_get_inputs(self, m, pis):
8853 r"""do_get_inputs(SphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
8854 return _IMP_core.SphereDistancePairScore_do_get_inputs(self, m, pis)
8856 def get_version_info(self):
8857 r"""get_version_info(SphereDistancePairScore self) -> VersionInfo"""
8858 return _IMP_core.SphereDistancePairScore_get_version_info(self)
8859 __swig_destroy__ = _IMP_core.delete_SphereDistancePairScore
8862 r"""__str__(SphereDistancePairScore self) -> std::string"""
8863 return _IMP_core.SphereDistancePairScore___str__(self)
8866 r"""__repr__(SphereDistancePairScore self) -> std::string"""
8867 return _IMP_core.SphereDistancePairScore___repr__(self)
8871 return _object_cast_to_SphereDistancePairScore(o)
8874 def _get_as_binary(self):
8875 r"""_get_as_binary(SphereDistancePairScore self) -> PyObject *"""
8876 return _IMP_core.SphereDistancePairScore__get_as_binary(self)
8878 def _set_from_binary(self, p):
8879 r"""_set_from_binary(SphereDistancePairScore self, PyObject * p)"""
8880 return _IMP_core.SphereDistancePairScore__set_from_binary(self, p)
8882 def __getstate__(self):
8883 p = self._get_as_binary()
8884 if len(self.__dict__) > 1:
8885 d = self.__dict__.copy()
8890 def __setstate__(self, p):
8891 if not hasattr(self,
'this'):
8893 if isinstance(p, tuple):
8895 self.__dict__.update(d)
8896 return self._set_from_binary(p)
8900 _IMP_core.SphereDistancePairScore_swigregister(SphereDistancePairScore)
8901 class HarmonicUpperBoundSphereDistancePairScore(
IMP.PairScore):
8902 r"""Proxy of C++ IMP::core::HarmonicUpperBoundSphereDistancePairScore class."""
8904 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
8906 def __init__(self, *args):
8908 __init__(HarmonicUpperBoundSphereDistancePairScore self, double x0, double k, std::string name="HarmonicUpperBoundSphereDistancePairScore%1%") -> HarmonicUpperBoundSphereDistancePairScore
8909 __init__(HarmonicUpperBoundSphereDistancePairScore self) -> HarmonicUpperBoundSphereDistancePairScore
8911 _IMP_core.HarmonicUpperBoundSphereDistancePairScore_swiginit(self, _IMP_core.new_HarmonicUpperBoundSphereDistancePairScore(*args))
8913 def do_get_inputs(self, m, pis):
8914 r"""do_get_inputs(HarmonicUpperBoundSphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
8915 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore_do_get_inputs(self, m, pis)
8917 def get_version_info(self):
8918 r"""get_version_info(HarmonicUpperBoundSphereDistancePairScore self) -> VersionInfo"""
8919 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore_get_version_info(self)
8920 __swig_destroy__ = _IMP_core.delete_HarmonicUpperBoundSphereDistancePairScore
8923 r"""__str__(HarmonicUpperBoundSphereDistancePairScore self) -> std::string"""
8924 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore___str__(self)
8927 r"""__repr__(HarmonicUpperBoundSphereDistancePairScore self) -> std::string"""
8928 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore___repr__(self)
8932 return _object_cast_to_HarmonicUpperBoundSphereDistancePairScore(o)
8935 def _get_as_binary(self):
8936 r"""_get_as_binary(HarmonicUpperBoundSphereDistancePairScore self) -> PyObject *"""
8937 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore__get_as_binary(self)
8939 def _set_from_binary(self, p):
8940 r"""_set_from_binary(HarmonicUpperBoundSphereDistancePairScore self, PyObject * p)"""
8941 return _IMP_core.HarmonicUpperBoundSphereDistancePairScore__set_from_binary(self, p)
8943 def __getstate__(self):
8944 p = self._get_as_binary()
8945 if len(self.__dict__) > 1:
8946 d = self.__dict__.copy()
8951 def __setstate__(self, p):
8952 if not hasattr(self,
'this'):
8954 if isinstance(p, tuple):
8956 self.__dict__.update(d)
8957 return self._set_from_binary(p)
8961 _IMP_core.HarmonicUpperBoundSphereDistancePairScore_swigregister(HarmonicUpperBoundSphereDistancePairScore)
8962 class HarmonicUpperBoundSphereDiameterPairScore(
IMP.PairScore):
8963 r"""Proxy of C++ IMP::core::HarmonicUpperBoundSphereDiameterPairScore class."""
8965 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
8967 def __init__(self, d0, k):
8968 r"""__init__(HarmonicUpperBoundSphereDiameterPairScore self, double d0, double k) -> HarmonicUpperBoundSphereDiameterPairScore"""
8969 _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_swiginit(self, _IMP_core.new_HarmonicUpperBoundSphereDiameterPairScore(d0, k))
8971 def get_rest_length(self):
8972 r"""get_rest_length(HarmonicUpperBoundSphereDiameterPairScore self) -> double"""
8973 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_get_rest_length(self)
8975 def get_stiffness(self):
8976 r"""get_stiffness(HarmonicUpperBoundSphereDiameterPairScore self) -> double"""
8977 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_get_stiffness(self)
8979 def do_get_inputs(self, m, pis):
8980 r"""do_get_inputs(HarmonicUpperBoundSphereDiameterPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
8981 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_do_get_inputs(self, m, pis)
8983 def get_version_info(self):
8984 r"""get_version_info(HarmonicUpperBoundSphereDiameterPairScore self) -> VersionInfo"""
8985 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_get_version_info(self)
8986 __swig_destroy__ = _IMP_core.delete_HarmonicUpperBoundSphereDiameterPairScore
8989 r"""__str__(HarmonicUpperBoundSphereDiameterPairScore self) -> std::string"""
8990 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore___str__(self)
8993 r"""__repr__(HarmonicUpperBoundSphereDiameterPairScore self) -> std::string"""
8994 return _IMP_core.HarmonicUpperBoundSphereDiameterPairScore___repr__(self)
8998 return _object_cast_to_HarmonicUpperBoundSphereDiameterPairScore(o)
9002 _IMP_core.HarmonicUpperBoundSphereDiameterPairScore_swigregister(HarmonicUpperBoundSphereDiameterPairScore)
9004 r"""Proxy of C++ IMP::core::HarmonicSphereDistancePairScore class."""
9006 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9008 def __init__(self, *args):
9010 __init__(HarmonicSphereDistancePairScore self, double x0, double k, std::string name="HarmonicSphereDistancePairScore%1%") -> HarmonicSphereDistancePairScore
9011 __init__(HarmonicSphereDistancePairScore self) -> HarmonicSphereDistancePairScore
9013 _IMP_core.HarmonicSphereDistancePairScore_swiginit(self, _IMP_core.new_HarmonicSphereDistancePairScore(*args))
9015 def do_get_inputs(self, m, pis):
9016 r"""do_get_inputs(HarmonicSphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9017 return _IMP_core.HarmonicSphereDistancePairScore_do_get_inputs(self, m, pis)
9019 def get_version_info(self):
9020 r"""get_version_info(HarmonicSphereDistancePairScore self) -> VersionInfo"""
9021 return _IMP_core.HarmonicSphereDistancePairScore_get_version_info(self)
9022 __swig_destroy__ = _IMP_core.delete_HarmonicSphereDistancePairScore
9025 r"""__str__(HarmonicSphereDistancePairScore self) -> std::string"""
9026 return _IMP_core.HarmonicSphereDistancePairScore___str__(self)
9029 r"""__repr__(HarmonicSphereDistancePairScore self) -> std::string"""
9030 return _IMP_core.HarmonicSphereDistancePairScore___repr__(self)
9034 return _object_cast_to_HarmonicSphereDistancePairScore(o)
9037 def _get_as_binary(self):
9038 r"""_get_as_binary(HarmonicSphereDistancePairScore self) -> PyObject *"""
9039 return _IMP_core.HarmonicSphereDistancePairScore__get_as_binary(self)
9041 def _set_from_binary(self, p):
9042 r"""_set_from_binary(HarmonicSphereDistancePairScore self, PyObject * p)"""
9043 return _IMP_core.HarmonicSphereDistancePairScore__set_from_binary(self, p)
9045 def __getstate__(self):
9046 p = self._get_as_binary()
9047 if len(self.__dict__) > 1:
9048 d = self.__dict__.copy()
9053 def __setstate__(self, p):
9054 if not hasattr(self,
'this'):
9056 if isinstance(p, tuple):
9058 self.__dict__.update(d)
9059 return self._set_from_binary(p)
9063 _IMP_core.HarmonicSphereDistancePairScore_swigregister(HarmonicSphereDistancePairScore)
9065 r"""Proxy of C++ IMP::core::NormalizedSphereDistancePairScore class."""
9067 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9069 def __init__(self, *args):
9070 r"""__init__(NormalizedSphereDistancePairScore self, UnaryFunction f, FloatKey radius=FloatKey("radius")) -> NormalizedSphereDistancePairScore"""
9071 _IMP_core.NormalizedSphereDistancePairScore_swiginit(self, _IMP_core.new_NormalizedSphereDistancePairScore(*args))
9073 def do_get_inputs(self, m, pis):
9074 r"""do_get_inputs(NormalizedSphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9075 return _IMP_core.NormalizedSphereDistancePairScore_do_get_inputs(self, m, pis)
9077 def get_version_info(self):
9078 r"""get_version_info(NormalizedSphereDistancePairScore self) -> VersionInfo"""
9079 return _IMP_core.NormalizedSphereDistancePairScore_get_version_info(self)
9080 __swig_destroy__ = _IMP_core.delete_NormalizedSphereDistancePairScore
9083 r"""__str__(NormalizedSphereDistancePairScore self) -> std::string"""
9084 return _IMP_core.NormalizedSphereDistancePairScore___str__(self)
9087 r"""__repr__(NormalizedSphereDistancePairScore self) -> std::string"""
9088 return _IMP_core.NormalizedSphereDistancePairScore___repr__(self)
9092 return _object_cast_to_NormalizedSphereDistancePairScore(o)
9096 _IMP_core.NormalizedSphereDistancePairScore_swigregister(NormalizedSphereDistancePairScore)
9098 r"""Proxy of C++ IMP::core::WeightedSphereDistancePairScore class."""
9100 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9102 def __init__(self, *args):
9103 r"""__init__(WeightedSphereDistancePairScore self, UnaryFunction f, FloatKey weight, FloatKey radius=FloatKey("radius")) -> WeightedSphereDistancePairScore"""
9104 _IMP_core.WeightedSphereDistancePairScore_swiginit(self, _IMP_core.new_WeightedSphereDistancePairScore(*args))
9106 def do_get_inputs(self, m, pis):
9107 r"""do_get_inputs(WeightedSphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9108 return _IMP_core.WeightedSphereDistancePairScore_do_get_inputs(self, m, pis)
9110 def get_version_info(self):
9111 r"""get_version_info(WeightedSphereDistancePairScore self) -> VersionInfo"""
9112 return _IMP_core.WeightedSphereDistancePairScore_get_version_info(self)
9113 __swig_destroy__ = _IMP_core.delete_WeightedSphereDistancePairScore
9116 r"""__str__(WeightedSphereDistancePairScore self) -> std::string"""
9117 return _IMP_core.WeightedSphereDistancePairScore___str__(self)
9120 r"""__repr__(WeightedSphereDistancePairScore self) -> std::string"""
9121 return _IMP_core.WeightedSphereDistancePairScore___repr__(self)
9125 return _object_cast_to_WeightedSphereDistancePairScore(o)
9129 _IMP_core.WeightedSphereDistancePairScore_swigregister(WeightedSphereDistancePairScore)
9131 r"""Proxy of C++ IMP::core::SoftSpherePairScore class."""
9133 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9135 def __init__(self, *args):
9137 __init__(SoftSpherePairScore self, double k, std::string name="SoftSpherePairScore%1%") -> SoftSpherePairScore
9138 __init__(SoftSpherePairScore self) -> SoftSpherePairScore
9140 _IMP_core.SoftSpherePairScore_swiginit(self, _IMP_core.new_SoftSpherePairScore(*args))
9142 def do_get_inputs(self, m, pis):
9143 r"""do_get_inputs(SoftSpherePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9144 return _IMP_core.SoftSpherePairScore_do_get_inputs(self, m, pis)
9146 def get_version_info(self):
9147 r"""get_version_info(SoftSpherePairScore self) -> VersionInfo"""
9148 return _IMP_core.SoftSpherePairScore_get_version_info(self)
9149 __swig_destroy__ = _IMP_core.delete_SoftSpherePairScore
9152 r"""__str__(SoftSpherePairScore self) -> std::string"""
9153 return _IMP_core.SoftSpherePairScore___str__(self)
9156 r"""__repr__(SoftSpherePairScore self) -> std::string"""
9157 return _IMP_core.SoftSpherePairScore___repr__(self)
9161 return _object_cast_to_SoftSpherePairScore(o)
9164 def _get_as_binary(self):
9165 r"""_get_as_binary(SoftSpherePairScore self) -> PyObject *"""
9166 return _IMP_core.SoftSpherePairScore__get_as_binary(self)
9168 def _set_from_binary(self, p):
9169 r"""_set_from_binary(SoftSpherePairScore self, PyObject * p)"""
9170 return _IMP_core.SoftSpherePairScore__set_from_binary(self, p)
9172 def __getstate__(self):
9173 p = self._get_as_binary()
9174 if len(self.__dict__) > 1:
9175 d = self.__dict__.copy()
9180 def __setstate__(self, p):
9181 if not hasattr(self,
'this'):
9183 if isinstance(p, tuple):
9185 self.__dict__.update(d)
9186 return self._set_from_binary(p)
9190 _IMP_core.SoftSpherePairScore_swigregister(SoftSpherePairScore)
9192 r"""Proxy of C++ IMP::core::SurfaceDistancePairScore class."""
9194 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9196 def __init__(self, *args):
9197 r"""__init__(SurfaceDistancePairScore self, UnaryFunction uf, std::string name="SurfaceDistancePairScore%1%") -> SurfaceDistancePairScore"""
9198 _IMP_core.SurfaceDistancePairScore_swiginit(self, _IMP_core.new_SurfaceDistancePairScore(*args))
9200 def do_get_inputs(self, m, pis):
9201 r"""do_get_inputs(SurfaceDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9202 return _IMP_core.SurfaceDistancePairScore_do_get_inputs(self, m, pis)
9204 def get_version_info(self):
9205 r"""get_version_info(SurfaceDistancePairScore self) -> VersionInfo"""
9206 return _IMP_core.SurfaceDistancePairScore_get_version_info(self)
9207 __swig_destroy__ = _IMP_core.delete_SurfaceDistancePairScore
9210 r"""__str__(SurfaceDistancePairScore self) -> std::string"""
9211 return _IMP_core.SurfaceDistancePairScore___str__(self)
9214 r"""__repr__(SurfaceDistancePairScore self) -> std::string"""
9215 return _IMP_core.SurfaceDistancePairScore___repr__(self)
9219 return _object_cast_to_SurfaceDistancePairScore(o)
9223 _IMP_core.SurfaceDistancePairScore_swigregister(SurfaceDistancePairScore)
9225 r"""Proxy of C++ IMP::core::SurfaceHeightPairScore class."""
9227 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9229 def __init__(self, *args):
9230 r"""__init__(SurfaceHeightPairScore self, UnaryFunction uf, std::string name="SurfaceHeightPairScore%1%") -> SurfaceHeightPairScore"""
9231 _IMP_core.SurfaceHeightPairScore_swiginit(self, _IMP_core.new_SurfaceHeightPairScore(*args))
9233 def do_get_inputs(self, m, pis):
9234 r"""do_get_inputs(SurfaceHeightPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9235 return _IMP_core.SurfaceHeightPairScore_do_get_inputs(self, m, pis)
9237 def get_version_info(self):
9238 r"""get_version_info(SurfaceHeightPairScore self) -> VersionInfo"""
9239 return _IMP_core.SurfaceHeightPairScore_get_version_info(self)
9240 __swig_destroy__ = _IMP_core.delete_SurfaceHeightPairScore
9243 r"""__str__(SurfaceHeightPairScore self) -> std::string"""
9244 return _IMP_core.SurfaceHeightPairScore___str__(self)
9247 r"""__repr__(SurfaceHeightPairScore self) -> std::string"""
9248 return _IMP_core.SurfaceHeightPairScore___repr__(self)
9252 return _object_cast_to_SurfaceHeightPairScore(o)
9256 _IMP_core.SurfaceHeightPairScore_swigregister(SurfaceHeightPairScore)
9258 r"""Proxy of C++ IMP::core::SurfaceDepthPairScore class."""
9260 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9262 def __init__(self, *args):
9263 r"""__init__(SurfaceDepthPairScore self, UnaryFunction uf, std::string name="SurfaceDepthPairScore%1%") -> SurfaceDepthPairScore"""
9264 _IMP_core.SurfaceDepthPairScore_swiginit(self, _IMP_core.new_SurfaceDepthPairScore(*args))
9266 def do_get_inputs(self, m, pis):
9267 r"""do_get_inputs(SurfaceDepthPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9268 return _IMP_core.SurfaceDepthPairScore_do_get_inputs(self, m, pis)
9270 def get_version_info(self):
9271 r"""get_version_info(SurfaceDepthPairScore self) -> VersionInfo"""
9272 return _IMP_core.SurfaceDepthPairScore_get_version_info(self)
9273 __swig_destroy__ = _IMP_core.delete_SurfaceDepthPairScore
9276 r"""__str__(SurfaceDepthPairScore self) -> std::string"""
9277 return _IMP_core.SurfaceDepthPairScore___str__(self)
9280 r"""__repr__(SurfaceDepthPairScore self) -> std::string"""
9281 return _IMP_core.SurfaceDepthPairScore___repr__(self)
9285 return _object_cast_to_SurfaceDepthPairScore(o)
9289 _IMP_core.SurfaceDepthPairScore_swigregister(SurfaceDepthPairScore)
9291 r"""Proxy of C++ IMP::core::HarmonicSurfaceDistancePairScore class."""
9293 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9295 def __init__(self, *args):
9296 r"""__init__(HarmonicSurfaceDistancePairScore self, double x0, double k, std::string name="HarmonicSurfaceDistancePairScore%1%") -> HarmonicSurfaceDistancePairScore"""
9297 _IMP_core.HarmonicSurfaceDistancePairScore_swiginit(self, _IMP_core.new_HarmonicSurfaceDistancePairScore(*args))
9299 def do_get_inputs(self, m, pis):
9300 r"""do_get_inputs(HarmonicSurfaceDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9301 return _IMP_core.HarmonicSurfaceDistancePairScore_do_get_inputs(self, m, pis)
9303 def get_version_info(self):
9304 r"""get_version_info(HarmonicSurfaceDistancePairScore self) -> VersionInfo"""
9305 return _IMP_core.HarmonicSurfaceDistancePairScore_get_version_info(self)
9306 __swig_destroy__ = _IMP_core.delete_HarmonicSurfaceDistancePairScore
9309 r"""__str__(HarmonicSurfaceDistancePairScore self) -> std::string"""
9310 return _IMP_core.HarmonicSurfaceDistancePairScore___str__(self)
9313 r"""__repr__(HarmonicSurfaceDistancePairScore self) -> std::string"""
9314 return _IMP_core.HarmonicSurfaceDistancePairScore___repr__(self)
9318 return _object_cast_to_HarmonicSurfaceDistancePairScore(o)
9322 _IMP_core.HarmonicSurfaceDistancePairScore_swigregister(HarmonicSurfaceDistancePairScore)
9324 r"""Proxy of C++ IMP::core::HarmonicSurfaceHeightPairScore class."""
9326 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9328 def __init__(self, *args):
9329 r"""__init__(HarmonicSurfaceHeightPairScore self, double x0, double k, std::string name="HarmonicSurfaceHeightPairScore%1%") -> HarmonicSurfaceHeightPairScore"""
9330 _IMP_core.HarmonicSurfaceHeightPairScore_swiginit(self, _IMP_core.new_HarmonicSurfaceHeightPairScore(*args))
9332 def do_get_inputs(self, m, pis):
9333 r"""do_get_inputs(HarmonicSurfaceHeightPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9334 return _IMP_core.HarmonicSurfaceHeightPairScore_do_get_inputs(self, m, pis)
9336 def get_version_info(self):
9337 r"""get_version_info(HarmonicSurfaceHeightPairScore self) -> VersionInfo"""
9338 return _IMP_core.HarmonicSurfaceHeightPairScore_get_version_info(self)
9339 __swig_destroy__ = _IMP_core.delete_HarmonicSurfaceHeightPairScore
9342 r"""__str__(HarmonicSurfaceHeightPairScore self) -> std::string"""
9343 return _IMP_core.HarmonicSurfaceHeightPairScore___str__(self)
9346 r"""__repr__(HarmonicSurfaceHeightPairScore self) -> std::string"""
9347 return _IMP_core.HarmonicSurfaceHeightPairScore___repr__(self)
9351 return _object_cast_to_HarmonicSurfaceHeightPairScore(o)
9355 _IMP_core.HarmonicSurfaceHeightPairScore_swigregister(HarmonicSurfaceHeightPairScore)
9357 r"""Proxy of C++ IMP::core::HarmonicSurfaceDepthPairScore class."""
9359 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9361 def __init__(self, *args):
9362 r"""__init__(HarmonicSurfaceDepthPairScore self, double x0, double k, std::string name="HarmonicSurfaceDepthPairScore%1%") -> HarmonicSurfaceDepthPairScore"""
9363 _IMP_core.HarmonicSurfaceDepthPairScore_swiginit(self, _IMP_core.new_HarmonicSurfaceDepthPairScore(*args))
9365 def do_get_inputs(self, m, pis):
9366 r"""do_get_inputs(HarmonicSurfaceDepthPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9367 return _IMP_core.HarmonicSurfaceDepthPairScore_do_get_inputs(self, m, pis)
9369 def get_version_info(self):
9370 r"""get_version_info(HarmonicSurfaceDepthPairScore self) -> VersionInfo"""
9371 return _IMP_core.HarmonicSurfaceDepthPairScore_get_version_info(self)
9372 __swig_destroy__ = _IMP_core.delete_HarmonicSurfaceDepthPairScore
9375 r"""__str__(HarmonicSurfaceDepthPairScore self) -> std::string"""
9376 return _IMP_core.HarmonicSurfaceDepthPairScore___str__(self)
9379 r"""__repr__(HarmonicSurfaceDepthPairScore self) -> std::string"""
9380 return _IMP_core.HarmonicSurfaceDepthPairScore___repr__(self)
9384 return _object_cast_to_HarmonicSurfaceDepthPairScore(o)
9388 _IMP_core.HarmonicSurfaceDepthPairScore_swigregister(HarmonicSurfaceDepthPairScore)
9390 r"""Proxy of C++ IMP::core::SoftSuperSurfacePairScore class."""
9392 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9394 def __init__(self, *args):
9395 r"""__init__(SoftSuperSurfacePairScore self, double k, std::string name="SoftSuperSurfacePairScore%1%") -> SoftSuperSurfacePairScore"""
9396 _IMP_core.SoftSuperSurfacePairScore_swiginit(self, _IMP_core.new_SoftSuperSurfacePairScore(*args))
9398 def do_get_inputs(self, m, pis):
9399 r"""do_get_inputs(SoftSuperSurfacePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9400 return _IMP_core.SoftSuperSurfacePairScore_do_get_inputs(self, m, pis)
9402 def get_version_info(self):
9403 r"""get_version_info(SoftSuperSurfacePairScore self) -> VersionInfo"""
9404 return _IMP_core.SoftSuperSurfacePairScore_get_version_info(self)
9405 __swig_destroy__ = _IMP_core.delete_SoftSuperSurfacePairScore
9408 r"""__str__(SoftSuperSurfacePairScore self) -> std::string"""
9409 return _IMP_core.SoftSuperSurfacePairScore___str__(self)
9412 r"""__repr__(SoftSuperSurfacePairScore self) -> std::string"""
9413 return _IMP_core.SoftSuperSurfacePairScore___repr__(self)
9417 return _object_cast_to_SoftSuperSurfacePairScore(o)
9421 _IMP_core.SoftSuperSurfacePairScore_swigregister(SoftSuperSurfacePairScore)
9423 r"""Proxy of C++ IMP::core::SoftSubSurfacePairScore class."""
9425 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9427 def __init__(self, *args):
9428 r"""__init__(SoftSubSurfacePairScore self, double k, std::string name="SoftSubSurfacePairScore%1%") -> SoftSubSurfacePairScore"""
9429 _IMP_core.SoftSubSurfacePairScore_swiginit(self, _IMP_core.new_SoftSubSurfacePairScore(*args))
9431 def do_get_inputs(self, m, pis):
9432 r"""do_get_inputs(SoftSubSurfacePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9433 return _IMP_core.SoftSubSurfacePairScore_do_get_inputs(self, m, pis)
9435 def get_version_info(self):
9436 r"""get_version_info(SoftSubSurfacePairScore self) -> VersionInfo"""
9437 return _IMP_core.SoftSubSurfacePairScore_get_version_info(self)
9438 __swig_destroy__ = _IMP_core.delete_SoftSubSurfacePairScore
9441 r"""__str__(SoftSubSurfacePairScore self) -> std::string"""
9442 return _IMP_core.SoftSubSurfacePairScore___str__(self)
9445 r"""__repr__(SoftSubSurfacePairScore self) -> std::string"""
9446 return _IMP_core.SoftSubSurfacePairScore___repr__(self)
9450 return _object_cast_to_SoftSubSurfacePairScore(o)
9454 _IMP_core.SoftSubSurfacePairScore_swigregister(SoftSubSurfacePairScore)
9456 r"""Proxy of C++ IMP::core::SurfaceTetheredChain class."""
9458 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9460 def __init__(self, link_num, link_length):
9461 r"""__init__(SurfaceTetheredChain self, int link_num, double link_length) -> SurfaceTetheredChain"""
9462 _IMP_core.SurfaceTetheredChain_swiginit(self, _IMP_core.new_SurfaceTetheredChain(link_num, link_length))
9464 def get_version_info(self):
9465 r"""get_version_info(SurfaceTetheredChain self) -> VersionInfo"""
9466 return _IMP_core.SurfaceTetheredChain_get_version_info(self)
9467 __swig_destroy__ = _IMP_core.delete_SurfaceTetheredChain
9469 def get_link_number(self):
9470 r"""get_link_number(SurfaceTetheredChain self) -> int"""
9471 return _IMP_core.SurfaceTetheredChain_get_link_number(self)
9473 def get_link_length(self):
9474 r"""get_link_length(SurfaceTetheredChain self) -> double"""
9475 return _IMP_core.SurfaceTetheredChain_get_link_length(self)
9477 def set_link_number(self, N):
9478 r"""set_link_number(SurfaceTetheredChain self, int N)"""
9479 return _IMP_core.SurfaceTetheredChain_set_link_number(self, N)
9481 def set_link_length(self, b):
9482 r"""set_link_length(SurfaceTetheredChain self, double b)"""
9483 return _IMP_core.SurfaceTetheredChain_set_link_length(self, b)
9485 def get_distance_at_minimum(self):
9486 r"""get_distance_at_minimum(SurfaceTetheredChain self) -> double"""
9487 return _IMP_core.SurfaceTetheredChain_get_distance_at_minimum(self)
9489 def get_average_distance(self):
9490 r"""get_average_distance(SurfaceTetheredChain self) -> double"""
9491 return _IMP_core.SurfaceTetheredChain_get_average_distance(self)
9494 r"""__str__(SurfaceTetheredChain self) -> std::string"""
9495 return _IMP_core.SurfaceTetheredChain___str__(self)
9498 r"""__repr__(SurfaceTetheredChain self) -> std::string"""
9499 return _IMP_core.SurfaceTetheredChain___repr__(self)
9503 return _object_cast_to_SurfaceTetheredChain(o)
9507 _IMP_core.SurfaceTetheredChain_swigregister(SurfaceTetheredChain)
9509 r"""Proxy of C++ IMP::core::SurfaceSymmetryConstraint class."""
9511 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9513 def __init__(self, m, ss, rbs):
9514 r"""__init__(SurfaceSymmetryConstraint self, Model m, IMP::ParticleIndexPair const & ss, IMP::ParticleIndexPair const & rbs) -> SurfaceSymmetryConstraint"""
9515 _IMP_core.SurfaceSymmetryConstraint_swiginit(self, _IMP_core.new_SurfaceSymmetryConstraint(m, ss, rbs))
9517 def do_get_inputs(self):
9518 r"""do_get_inputs(SurfaceSymmetryConstraint self) -> IMP::ModelObjectsTemp"""
9519 return _IMP_core.SurfaceSymmetryConstraint_do_get_inputs(self)
9521 def do_get_outputs(self):
9522 r"""do_get_outputs(SurfaceSymmetryConstraint self) -> IMP::ModelObjectsTemp"""
9523 return _IMP_core.SurfaceSymmetryConstraint_do_get_outputs(self)
9525 def get_version_info(self):
9526 r"""get_version_info(SurfaceSymmetryConstraint self) -> VersionInfo"""
9527 return _IMP_core.SurfaceSymmetryConstraint_get_version_info(self)
9528 __swig_destroy__ = _IMP_core.delete_SurfaceSymmetryConstraint
9531 r"""__str__(SurfaceSymmetryConstraint self) -> std::string"""
9532 return _IMP_core.SurfaceSymmetryConstraint___str__(self)
9535 r"""__repr__(SurfaceSymmetryConstraint self) -> std::string"""
9536 return _IMP_core.SurfaceSymmetryConstraint___repr__(self)
9540 return _object_cast_to_SurfaceSymmetryConstraint(o)
9544 _IMP_core.SurfaceSymmetryConstraint_swigregister(SurfaceSymmetryConstraint)
9546 r"""Proxy of C++ IMP::core::SteepestDescent class."""
9548 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9550 def __init__(self, *args):
9551 r"""__init__(SteepestDescent self, Model m, std::string name="SteepestDescent%1%") -> SteepestDescent"""
9552 _IMP_core.SteepestDescent_swiginit(self, _IMP_core.new_SteepestDescent(*args))
9554 def do_optimize(self, max_steps):
9555 r"""do_optimize(SteepestDescent self, unsigned int max_steps) -> IMP::Float"""
9556 return _IMP_core.SteepestDescent_do_optimize(self, max_steps)
9558 def get_version_info(self):
9559 r"""get_version_info(SteepestDescent self) -> VersionInfo"""
9560 return _IMP_core.SteepestDescent_get_version_info(self)
9561 __swig_destroy__ = _IMP_core.delete_SteepestDescent
9563 def set_threshold(self, t):
9564 r"""set_threshold(SteepestDescent self, IMP::Float t)"""
9565 return _IMP_core.SteepestDescent_set_threshold(self, t)
9567 def set_step_size(self, t):
9568 r"""set_step_size(SteepestDescent self, IMP::Float t)"""
9569 return _IMP_core.SteepestDescent_set_step_size(self, t)
9571 def set_maximum_step_size(self, t):
9572 r"""set_maximum_step_size(SteepestDescent self, IMP::Float t)"""
9573 return _IMP_core.SteepestDescent_set_maximum_step_size(self, t)
9576 r"""__str__(SteepestDescent self) -> std::string"""
9577 return _IMP_core.SteepestDescent___str__(self)
9580 r"""__repr__(SteepestDescent self) -> std::string"""
9581 return _IMP_core.SteepestDescent___repr__(self)
9585 return _object_cast_to_SteepestDescent(o)
9589 _IMP_core.SteepestDescent_swigregister(SteepestDescent)
9591 r"""Proxy of C++ IMP::core::TransformedDistancePairScore class."""
9593 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9595 def __init__(self, f, transformation):
9596 r"""__init__(TransformedDistancePairScore self, UnaryFunction f, Transformation3D transformation) -> TransformedDistancePairScore"""
9597 _IMP_core.TransformedDistancePairScore_swiginit(self, _IMP_core.new_TransformedDistancePairScore(f, transformation))
9599 def set_transformation(self, rot):
9600 r"""set_transformation(TransformedDistancePairScore self, Transformation3D rot)"""
9601 return _IMP_core.TransformedDistancePairScore_set_transformation(self, rot)
9603 def do_get_inputs(self, m, pis):
9604 r"""do_get_inputs(TransformedDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9605 return _IMP_core.TransformedDistancePairScore_do_get_inputs(self, m, pis)
9607 def get_version_info(self):
9608 r"""get_version_info(TransformedDistancePairScore self) -> VersionInfo"""
9609 return _IMP_core.TransformedDistancePairScore_get_version_info(self)
9610 __swig_destroy__ = _IMP_core.delete_TransformedDistancePairScore
9613 r"""__str__(TransformedDistancePairScore self) -> std::string"""
9614 return _IMP_core.TransformedDistancePairScore___str__(self)
9617 r"""__repr__(TransformedDistancePairScore self) -> std::string"""
9618 return _IMP_core.TransformedDistancePairScore___repr__(self)
9622 return _object_cast_to_TransformedDistancePairScore(o)
9626 _IMP_core.TransformedDistancePairScore_swigregister(TransformedDistancePairScore)
9628 r"""Proxy of C++ IMP::core::TypedPairScore class."""
9630 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9632 def __init__(self, typekey, allow_invalid_types=True):
9633 r"""__init__(TypedPairScore self, IntKey typekey, bool allow_invalid_types=True) -> TypedPairScore"""
9634 _IMP_core.TypedPairScore_swiginit(self, _IMP_core.new_TypedPairScore(typekey, allow_invalid_types))
9636 def set_particle_type(self, arg2):
9637 r"""set_particle_type(TypedPairScore self, Particle arg2)"""
9638 return _IMP_core.TypedPairScore_set_particle_type(self, arg2)
9640 def set_pair_score(self, ps, atype, btype):
9641 r"""set_pair_score(TypedPairScore self, PairScore ps, IMP::Int atype, IMP::Int btype)"""
9642 return _IMP_core.TypedPairScore_set_pair_score(self, ps, atype, btype)
9644 def do_get_inputs(self, m, pis):
9645 r"""do_get_inputs(TypedPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9646 return _IMP_core.TypedPairScore_do_get_inputs(self, m, pis)
9648 def get_version_info(self):
9649 r"""get_version_info(TypedPairScore self) -> VersionInfo"""
9650 return _IMP_core.TypedPairScore_get_version_info(self)
9651 __swig_destroy__ = _IMP_core.delete_TypedPairScore
9654 r"""__str__(TypedPairScore self) -> std::string"""
9655 return _IMP_core.TypedPairScore___str__(self)
9658 r"""__repr__(TypedPairScore self) -> std::string"""
9659 return _IMP_core.TypedPairScore___repr__(self)
9663 return _object_cast_to_TypedPairScore(o)
9667 _IMP_core.TypedPairScore_swigregister(TypedPairScore)
9668 class RigidBodyDistancePairScore(KClosePairsPairScore):
9669 r"""Proxy of C++ IMP::core::RigidBodyDistancePairScore class."""
9671 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9673 def __init__(self, ps, r):
9674 r"""__init__(RigidBodyDistancePairScore self, PairScore ps, Refiner r) -> RigidBodyDistancePairScore"""
9675 _IMP_core.RigidBodyDistancePairScore_swiginit(self, _IMP_core.new_RigidBodyDistancePairScore(ps, r))
9678 r"""__str__(RigidBodyDistancePairScore self) -> std::string"""
9679 return _IMP_core.RigidBodyDistancePairScore___str__(self)
9682 r"""__repr__(RigidBodyDistancePairScore self) -> std::string"""
9683 return _IMP_core.RigidBodyDistancePairScore___repr__(self)
9687 return _object_cast_to_RigidBodyDistancePairScore(o)
9689 __swig_destroy__ = _IMP_core.delete_RigidBodyDistancePairScore
9692 _IMP_core.RigidBodyDistancePairScore_swigregister(RigidBodyDistancePairScore)
9694 r"""Proxy of C++ IMP::core::RigidBodyAnglePairScore class."""
9696 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9698 def __init__(self, f):
9699 r"""__init__(RigidBodyAnglePairScore self, UnaryFunction f) -> RigidBodyAnglePairScore"""
9700 _IMP_core.RigidBodyAnglePairScore_swiginit(self, _IMP_core.new_RigidBodyAnglePairScore(f))
9702 def do_get_inputs(self, m, pis):
9703 r"""do_get_inputs(RigidBodyAnglePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9704 return _IMP_core.RigidBodyAnglePairScore_do_get_inputs(self, m, pis)
9706 def get_version_info(self):
9707 r"""get_version_info(RigidBodyAnglePairScore self) -> VersionInfo"""
9708 return _IMP_core.RigidBodyAnglePairScore_get_version_info(self)
9709 __swig_destroy__ = _IMP_core.delete_RigidBodyAnglePairScore
9712 r"""__str__(RigidBodyAnglePairScore self) -> std::string"""
9713 return _IMP_core.RigidBodyAnglePairScore___str__(self)
9716 r"""__repr__(RigidBodyAnglePairScore self) -> std::string"""
9717 return _IMP_core.RigidBodyAnglePairScore___repr__(self)
9721 return _object_cast_to_RigidBodyAnglePairScore(o)
9725 _IMP_core.RigidBodyAnglePairScore_swigregister(RigidBodyAnglePairScore)
9727 r"""Proxy of C++ IMP::core::TableRefiner class."""
9729 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9732 r"""__init__(TableRefiner self) -> TableRefiner"""
9733 _IMP_core.TableRefiner_swiginit(self, _IMP_core.new_TableRefiner())
9736 r"""add_particle(TableRefiner self, Particle p, IMP::ParticlesTemp const & ps)"""
9737 return _IMP_core.TableRefiner_add_particle(self, p, ps)
9739 def remove_particle(self, p):
9740 r"""remove_particle(TableRefiner self, Particle p)"""
9741 return _IMP_core.TableRefiner_remove_particle(self, p)
9743 def set_particle(self, p, ps):
9744 r"""set_particle(TableRefiner self, Particle p, IMP::ParticlesTemp const & ps)"""
9745 return _IMP_core.TableRefiner_set_particle(self, p, ps)
9747 def do_get_inputs(self, m, pis):
9748 r"""do_get_inputs(TableRefiner self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
9749 return _IMP_core.TableRefiner_do_get_inputs(self, m, pis)
9751 def get_version_info(self):
9752 r"""get_version_info(TableRefiner self) -> VersionInfo"""
9753 return _IMP_core.TableRefiner_get_version_info(self)
9754 __swig_destroy__ = _IMP_core.delete_TableRefiner
9757 r"""__str__(TableRefiner self) -> std::string"""
9758 return _IMP_core.TableRefiner___str__(self)
9761 r"""__repr__(TableRefiner self) -> std::string"""
9762 return _IMP_core.TableRefiner___repr__(self)
9766 return _object_cast_to_TableRefiner(o)
9770 _IMP_core.TableRefiner_swigregister(TableRefiner)
9771 LOWER = _IMP_core.LOWER
9773 BOTH = _IMP_core.BOTH
9775 UPPER = _IMP_core.UPPER
9778 r"""Proxy of C++ IMP::core::MCCGSampler class."""
9780 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9782 def __init__(self, *args):
9783 r"""__init__(MCCGSampler self, Model m, std::string name="MCCG Sampler %1%") -> MCCGSampler"""
9784 _IMP_core.MCCGSampler_swiginit(self, _IMP_core.new_MCCGSampler(*args))
9786 def set_bounding_box(self, bb):
9787 r"""set_bounding_box(MCCGSampler self, BoundingBox3D bb)"""
9788 return _IMP_core.MCCGSampler_set_bounding_box(self, bb)
9790 def set_number_of_attempts(self, att):
9791 r"""set_number_of_attempts(MCCGSampler self, unsigned int att)"""
9792 return _IMP_core.MCCGSampler_set_number_of_attempts(self, att)
9794 def set_number_of_monte_carlo_steps(self, cg):
9795 r"""set_number_of_monte_carlo_steps(MCCGSampler self, unsigned int cg)"""
9796 return _IMP_core.MCCGSampler_set_number_of_monte_carlo_steps(self, cg)
9798 def set_number_of_conjugate_gradient_steps(self, cg):
9799 r"""set_number_of_conjugate_gradient_steps(MCCGSampler self, unsigned int cg)"""
9800 return _IMP_core.MCCGSampler_set_number_of_conjugate_gradient_steps(self, cg)
9802 def set_max_monte_carlo_step_size(self, *args):
9804 set_max_monte_carlo_step_size(MCCGSampler self, double d)
9805 set_max_monte_carlo_step_size(MCCGSampler self, FloatKey k, double d)
9807 return _IMP_core.MCCGSampler_set_max_monte_carlo_step_size(self, *args)
9809 def set_is_refining(self, tf):
9810 r"""set_is_refining(MCCGSampler self, bool tf)"""
9811 return _IMP_core.MCCGSampler_set_is_refining(self, tf)
9813 def set_local_optimizer(self, opt):
9814 r"""set_local_optimizer(MCCGSampler self, Optimizer opt)"""
9815 return _IMP_core.MCCGSampler_set_local_optimizer(self, opt)
9817 def set_save_rejected_configurations(self, tf):
9818 r"""set_save_rejected_configurations(MCCGSampler self, bool tf)"""
9819 return _IMP_core.MCCGSampler_set_save_rejected_configurations(self, tf)
9821 def get_rejected_configurations(self):
9822 r"""get_rejected_configurations(MCCGSampler self) -> ConfigurationSet"""
9823 return _IMP_core.MCCGSampler_get_rejected_configurations(self)
9824 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)
9825 def __set_optimizer_states(self, obj): IMP._list_util.set_varlist(self.optimizer_states, obj)
9826 def __del_optimizer_states(self): IMP._list_util.del_varlist(self.optimizer_states)
9827 optimizer_states = property(__get_optimizer_states, __set_optimizer_states, __del_optimizer_states, doc=
"List of ##ucnames")
9829 def remove_optimizer_state(self, d):
9830 r"""remove_optimizer_state(MCCGSampler self, OptimizerState d)"""
9831 return _IMP_core.MCCGSampler_remove_optimizer_state(self, d)
9833 def _python_index_optimizer_state(self, d, start, stop):
9834 r"""_python_index_optimizer_state(MCCGSampler self, OptimizerState d, unsigned int start, unsigned int stop) -> unsigned int"""
9835 return _IMP_core.MCCGSampler__python_index_optimizer_state(self, d, start, stop)
9837 def remove_optimizer_states(self, d):
9838 r"""remove_optimizer_states(MCCGSampler self, IMP::OptimizerStates const & d)"""
9839 return _IMP_core.MCCGSampler_remove_optimizer_states(self, d)
9841 def set_optimizer_states(self, ps):
9842 r"""set_optimizer_states(MCCGSampler self, IMP::OptimizerStates const & ps)"""
9843 return _IMP_core.MCCGSampler_set_optimizer_states(self, ps)
9845 def set_optimizer_states_order(self, objs):
9846 r"""set_optimizer_states_order(MCCGSampler self, IMP::OptimizerStates const & objs)"""
9847 return _IMP_core.MCCGSampler_set_optimizer_states_order(self, objs)
9849 def add_optimizer_state(self, obj):
9850 r"""add_optimizer_state(MCCGSampler self, OptimizerState obj) -> unsigned int"""
9851 return _IMP_core.MCCGSampler_add_optimizer_state(self, obj)
9853 def add_optimizer_states(self, objs):
9854 r"""add_optimizer_states(MCCGSampler self, IMP::OptimizerStates const & objs)"""
9855 return _IMP_core.MCCGSampler_add_optimizer_states(self, objs)
9857 def clear_optimizer_states(self):
9858 r"""clear_optimizer_states(MCCGSampler self)"""
9859 return _IMP_core.MCCGSampler_clear_optimizer_states(self)
9861 def get_number_of_optimizer_states(self):
9862 r"""get_number_of_optimizer_states(MCCGSampler self) -> unsigned int"""
9863 return _IMP_core.MCCGSampler_get_number_of_optimizer_states(self)
9865 def get_has_optimizer_states(self):
9866 r"""get_has_optimizer_states(MCCGSampler self) -> bool"""
9867 return _IMP_core.MCCGSampler_get_has_optimizer_states(self)
9869 def get_optimizer_state(self, i):
9870 r"""get_optimizer_state(MCCGSampler self, unsigned int i) -> OptimizerState"""
9871 return _IMP_core.MCCGSampler_get_optimizer_state(self, i)
9873 def get_optimizer_states(self):
9874 r"""get_optimizer_states(MCCGSampler self) -> IMP::OptimizerStates"""
9875 return _IMP_core.MCCGSampler_get_optimizer_states(self)
9877 def erase_optimizer_state(self, i):
9878 r"""erase_optimizer_state(MCCGSampler self, unsigned int i)"""
9879 return _IMP_core.MCCGSampler_erase_optimizer_state(self, i)
9881 def reserve_optimizer_states(self, sz):
9882 r"""reserve_optimizer_states(MCCGSampler self, unsigned int sz)"""
9883 return _IMP_core.MCCGSampler_reserve_optimizer_states(self, sz)
9885 def do_sample(self):
9886 r"""do_sample(MCCGSampler self) -> ConfigurationSet"""
9887 return _IMP_core.MCCGSampler_do_sample(self)
9889 def get_version_info(self):
9890 r"""get_version_info(MCCGSampler self) -> VersionInfo"""
9891 return _IMP_core.MCCGSampler_get_version_info(self)
9892 __swig_destroy__ = _IMP_core.delete_MCCGSampler
9895 r"""__str__(MCCGSampler self) -> std::string"""
9896 return _IMP_core.MCCGSampler___str__(self)
9899 r"""__repr__(MCCGSampler self) -> std::string"""
9900 return _IMP_core.MCCGSampler___repr__(self)
9904 return _object_cast_to_MCCGSampler(o)
9908 _IMP_core.MCCGSampler_swigregister(MCCGSampler)
9910 r"""Proxy of C++ IMP::core::MinimumRestraint class."""
9912 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
9914 def __init__(self, *args):
9915 r"""__init__(MinimumRestraint self, unsigned int num, IMP::Restraints const & rs=IMP::Restraints(), std::string name="MinimumRestraint %1%") -> MinimumRestraint"""
9916 _IMP_core.MinimumRestraint_swiginit(self, _IMP_core.new_MinimumRestraint(*args))
9918 def do_get_inputs(self):
9919 r"""do_get_inputs(MinimumRestraint self) -> IMP::ModelObjectsTemp"""
9920 return _IMP_core.MinimumRestraint_do_get_inputs(self)
9922 def get_version_info(self):
9923 r"""get_version_info(MinimumRestraint self) -> VersionInfo"""
9924 return _IMP_core.MinimumRestraint_get_version_info(self)
9925 __swig_destroy__ = _IMP_core.delete_MinimumRestraint
9926 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)
9927 def __set_restraints(self, obj): IMP._list_util.set_varlist(self.restraints, obj)
9928 def __del_restraints(self): IMP._list_util.del_varlist(self.restraints)
9929 restraints = property(__get_restraints, __set_restraints, __del_restraints, doc=
"List of ##ucnames")
9931 def remove_restraint(self, d):
9932 r"""remove_restraint(MinimumRestraint self, Restraint d)"""
9933 return _IMP_core.MinimumRestraint_remove_restraint(self, d)
9935 def _python_index_restraint(self, d, start, stop):
9936 r"""_python_index_restraint(MinimumRestraint self, Restraint d, unsigned int start, unsigned int stop) -> unsigned int"""
9937 return _IMP_core.MinimumRestraint__python_index_restraint(self, d, start, stop)
9939 def remove_restraints(self, d):
9940 r"""remove_restraints(MinimumRestraint self, IMP::Restraints const & d)"""
9941 return _IMP_core.MinimumRestraint_remove_restraints(self, d)
9943 def set_restraints(self, ps):
9944 r"""set_restraints(MinimumRestraint self, IMP::Restraints const & ps)"""
9945 return _IMP_core.MinimumRestraint_set_restraints(self, ps)
9947 def set_restraints_order(self, objs):
9948 r"""set_restraints_order(MinimumRestraint self, IMP::Restraints const & objs)"""
9949 return _IMP_core.MinimumRestraint_set_restraints_order(self, objs)
9952 r"""add_restraint(MinimumRestraint self, Restraint obj) -> unsigned int"""
9953 return _IMP_core.MinimumRestraint_add_restraint(self, obj)
9956 r"""add_restraints(MinimumRestraint self, IMP::Restraints const & objs)"""
9957 return _IMP_core.MinimumRestraint_add_restraints(self, objs)
9959 def clear_restraints(self):
9960 r"""clear_restraints(MinimumRestraint self)"""
9961 return _IMP_core.MinimumRestraint_clear_restraints(self)
9963 def get_number_of_restraints(self):
9964 r"""get_number_of_restraints(MinimumRestraint self) -> unsigned int"""
9965 return _IMP_core.MinimumRestraint_get_number_of_restraints(self)
9967 def get_has_restraints(self):
9968 r"""get_has_restraints(MinimumRestraint self) -> bool"""
9969 return _IMP_core.MinimumRestraint_get_has_restraints(self)
9971 def get_restraint(self, i):
9972 r"""get_restraint(MinimumRestraint self, unsigned int i) -> Restraint"""
9973 return _IMP_core.MinimumRestraint_get_restraint(self, i)
9975 def get_restraints(self):
9976 r"""get_restraints(MinimumRestraint self) -> IMP::Restraints"""
9977 return _IMP_core.MinimumRestraint_get_restraints(self)
9979 def erase_restraint(self, i):
9980 r"""erase_restraint(MinimumRestraint self, unsigned int i)"""
9981 return _IMP_core.MinimumRestraint_erase_restraint(self, i)
9983 def reserve_restraints(self, sz):
9984 r"""reserve_restraints(MinimumRestraint self, unsigned int sz)"""
9985 return _IMP_core.MinimumRestraint_reserve_restraints(self, sz)
9988 r"""__str__(MinimumRestraint self) -> std::string"""
9989 return _IMP_core.MinimumRestraint___str__(self)
9992 r"""__repr__(MinimumRestraint self) -> std::string"""
9993 return _IMP_core.MinimumRestraint___repr__(self)
9997 return _object_cast_to_MinimumRestraint(o)
10001 _IMP_core.MinimumRestraint_swigregister(MinimumRestraint)
10002 class Gaussian(RigidBody):
10003 r"""Proxy of C++ IMP::core::Gaussian class."""
10005 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
10007 def __init__(self, *args):
10009 __init__(Gaussian self) -> Gaussian
10010 __init__(Gaussian self, Model m, ParticleIndex id) -> Gaussian
10011 __init__(Gaussian self, _ParticleAdaptor d) -> Gaussian
10013 _IMP_core.Gaussian_swiginit(self, _IMP_core.new_Gaussian(*args))
10015 def show(self, *args):
10016 r"""show(Gaussian self, _ostream out=std::cout)"""
10017 return _IMP_core.Gaussian_show(self, *args)
10020 def setup_particle(*args):
10022 setup_particle(Model m, ParticleIndex pi) -> Gaussian
10023 setup_particle(_ParticleAdaptor pa) -> Gaussian
10024 setup_particle(Model m, ParticleIndex pi, Gaussian3D g) -> Gaussian
10025 setup_particle(_ParticleAdaptor pa, Gaussian3D g) -> Gaussian
10027 return _IMP_core.Gaussian_setup_particle(*args)
10030 def get_local_covariance_key():
10031 r"""get_local_covariance_key() -> ObjectKey"""
10032 return _IMP_core.Gaussian_get_local_covariance_key()
10035 def get_global_covariance_key():
10036 r"""get_global_covariance_key() -> ObjectKey"""
10037 return _IMP_core.Gaussian_get_global_covariance_key()
10040 def get_is_setup(*args):
10042 get_is_setup(_ParticleAdaptor p) -> bool
10043 get_is_setup(Model m, ParticleIndex pi) -> bool
10045 return _IMP_core.Gaussian_get_is_setup(*args)
10047 def get_local_covariance(self):
10048 r"""get_local_covariance(Gaussian self) -> Eigen::Matrix3d"""
10049 return _IMP_core.Gaussian_get_local_covariance(self)
10051 def get_variances(self):
10052 r"""get_variances(Gaussian self) -> Vector3D"""
10053 return _IMP_core.Gaussian_get_variances(self)
10055 def get_global_covariance(self):
10056 r"""get_global_covariance(Gaussian self) -> Eigen::Matrix3d"""
10057 return _IMP_core.Gaussian_get_global_covariance(self)
10059 def get_gaussian(self):
10060 r"""get_gaussian(Gaussian self) -> Gaussian3D"""
10061 return _IMP_core.Gaussian_get_gaussian(self)
10063 def set_gaussian(self, g):
10064 r"""set_gaussian(Gaussian self, Gaussian3D g)"""
10065 return _IMP_core.Gaussian_set_gaussian(self, g)
10067 def set_local_covariance(self, covar):
10068 r"""set_local_covariance(Gaussian self, Eigen::Vector3d const covar)"""
10069 return _IMP_core.Gaussian_set_local_covariance(self, covar)
10071 def set_variances(self, v):
10072 r"""set_variances(Gaussian self, Vector3D v)"""
10073 return _IMP_core.Gaussian_set_variances(self, v)
10075 def set_global_covariance(self, covar):
10076 r"""set_global_covariance(Gaussian self, Eigen::Matrix3d covar)"""
10077 return _IMP_core.Gaussian_set_global_covariance(self, covar)
10079 def update_global_covariance(self):
10080 r"""update_global_covariance(Gaussian self)"""
10081 return _IMP_core.Gaussian_update_global_covariance(self)
10083 def add_attribute(self, *args):
10085 add_attribute(Gaussian self, FloatKey k, IMP::Float v, bool opt)
10086 add_attribute(Gaussian self, FloatKey a0, IMP::Float a1)
10087 add_attribute(Gaussian self, IntKey a0, IMP::Int a1)
10088 add_attribute(Gaussian self, FloatsKey a0, IMP::Floats a1)
10089 add_attribute(Gaussian self, IntsKey a0, IMP::Ints a1)
10090 add_attribute(Gaussian self, StringKey a0, IMP::String a1)
10091 add_attribute(Gaussian self, ParticleIndexKey a0, Particle a1)
10092 add_attribute(Gaussian self, ObjectKey a0, Object a1)
10094 return _IMP_core.Gaussian_add_attribute(self, *args)
10096 def get_value(self, *args):
10098 get_value(Gaussian self, FloatKey a0) -> IMP::Float
10099 get_value(Gaussian self, IntKey a0) -> IMP::Int
10100 get_value(Gaussian self, FloatsKey a0) -> IMP::Floats
10101 get_value(Gaussian self, IntsKey a0) -> IMP::Ints
10102 get_value(Gaussian self, StringKey a0) -> IMP::String
10103 get_value(Gaussian self, ParticleIndexKey a0) -> Particle
10104 get_value(Gaussian self, ObjectKey a0) -> Object
10106 return _IMP_core.Gaussian_get_value(self, *args)
10108 def set_value(self, *args):
10110 set_value(Gaussian self, FloatKey a0, IMP::Float a1)
10111 set_value(Gaussian self, IntKey a0, IMP::Int a1)
10112 set_value(Gaussian self, FloatsKey a0, IMP::Floats a1)
10113 set_value(Gaussian self, IntsKey a0, IMP::Ints a1)
10114 set_value(Gaussian self, StringKey a0, IMP::String a1)
10115 set_value(Gaussian self, ParticleIndexKey a0, Particle a1)
10116 set_value(Gaussian self, ObjectKey a0, Object a1)
10118 return _IMP_core.Gaussian_set_value(self, *args)
10120 def remove_attribute(self, *args):
10122 remove_attribute(Gaussian self, FloatKey a0)
10123 remove_attribute(Gaussian self, IntKey a0)
10124 remove_attribute(Gaussian self, FloatsKey a0)
10125 remove_attribute(Gaussian self, IntsKey a0)
10126 remove_attribute(Gaussian self, StringKey a0)
10127 remove_attribute(Gaussian self, ParticleIndexKey a0)
10128 remove_attribute(Gaussian self, ObjectKey a0)
10130 return _IMP_core.Gaussian_remove_attribute(self, *args)
10132 def has_attribute(self, *args):
10134 has_attribute(Gaussian self, FloatKey a0) -> bool
10135 has_attribute(Gaussian self, IntKey a0) -> bool
10136 has_attribute(Gaussian self, FloatsKey a0) -> bool
10137 has_attribute(Gaussian self, IntsKey a0) -> bool
10138 has_attribute(Gaussian self, StringKey a0) -> bool
10139 has_attribute(Gaussian self, ParticleIndexKey a0) -> bool
10140 has_attribute(Gaussian self, ObjectKey a0) -> bool
10142 return _IMP_core.Gaussian_has_attribute(self, *args)
10144 def get_derivative(self, a0):
10145 r"""get_derivative(Gaussian self, FloatKey a0) -> double"""
10146 return _IMP_core.Gaussian_get_derivative(self, a0)
10148 def get_name(self):
10149 r"""get_name(Gaussian self) -> std::string"""
10150 return _IMP_core.Gaussian_get_name(self)
10152 def clear_caches(self):
10153 r"""clear_caches(Gaussian self)"""
10154 return _IMP_core.Gaussian_clear_caches(self)
10156 def set_name(self, a0):
10157 r"""set_name(Gaussian self, std::string a0)"""
10158 return _IMP_core.Gaussian_set_name(self, a0)
10161 r"""set_check_level(Gaussian self, IMP::CheckLevel a0)"""
10162 return _IMP_core.Gaussian_set_check_level(self, a0)
10164 def add_to_derivative(self, a0, a1, a2):
10165 r"""add_to_derivative(Gaussian self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
10166 return _IMP_core.Gaussian_add_to_derivative(self, a0, a1, a2)
10168 def set_is_optimized(self, a0, a1):
10169 r"""set_is_optimized(Gaussian self, FloatKey a0, bool a1)"""
10170 return _IMP_core.Gaussian_set_is_optimized(self, a0, a1)
10172 def get_is_optimized(self, a0):
10173 r"""get_is_optimized(Gaussian self, FloatKey a0) -> bool"""
10174 return _IMP_core.Gaussian_get_is_optimized(self, a0)
10177 r"""get_check_level(Gaussian self) -> IMP::CheckLevel"""
10178 return _IMP_core.Gaussian_get_check_level(self)
10180 def __eq__(self, *args):
10182 __eq__(Gaussian self, Gaussian o) -> bool
10183 __eq__(Gaussian self, Particle d) -> bool
10185 return _IMP_core.Gaussian___eq__(self, *args)
10187 def __ne__(self, *args):
10189 __ne__(Gaussian self, Gaussian o) -> bool
10190 __ne__(Gaussian self, Particle d) -> bool
10192 return _IMP_core.Gaussian___ne__(self, *args)
10194 def __le__(self, *args):
10196 __le__(Gaussian self, Gaussian o) -> bool
10197 __le__(Gaussian self, Particle d) -> bool
10199 return _IMP_core.Gaussian___le__(self, *args)
10201 def __lt__(self, *args):
10203 __lt__(Gaussian self, Gaussian o) -> bool
10204 __lt__(Gaussian self, Particle d) -> bool
10206 return _IMP_core.Gaussian___lt__(self, *args)
10208 def __ge__(self, *args):
10210 __ge__(Gaussian self, Gaussian o) -> bool
10211 __ge__(Gaussian self, Particle d) -> bool
10213 return _IMP_core.Gaussian___ge__(self, *args)
10215 def __gt__(self, *args):
10217 __gt__(Gaussian self, Gaussian o) -> bool
10218 __gt__(Gaussian self, Particle d) -> bool
10220 return _IMP_core.Gaussian___gt__(self, *args)
10222 def __hash__(self):
10223 r"""__hash__(Gaussian self) -> std::size_t"""
10224 return _IMP_core.Gaussian___hash__(self)
10227 r"""__str__(Gaussian self) -> std::string"""
10228 return _IMP_core.Gaussian___str__(self)
10230 def __repr__(self):
10231 r"""__repr__(Gaussian self) -> std::string"""
10232 return _IMP_core.Gaussian___repr__(self)
10234 def _get_as_binary(self):
10235 r"""_get_as_binary(Gaussian self) -> PyObject *"""
10236 return _IMP_core.Gaussian__get_as_binary(self)
10238 def _set_from_binary(self, p):
10239 r"""_set_from_binary(Gaussian self, PyObject * p)"""
10240 return _IMP_core.Gaussian__set_from_binary(self, p)
10242 def __getstate__(self):
10243 p = self._get_as_binary()
10244 if len(self.__dict__) > 1:
10245 d = self.__dict__.copy()
10250 def __setstate__(self, p):
10251 if not hasattr(self,
'this'):
10253 if isinstance(p, tuple):
10255 self.__dict__.update(d)
10256 return self._set_from_binary(p)
10258 __swig_destroy__ = _IMP_core.delete_Gaussian
10261 _IMP_core.Gaussian_swigregister(Gaussian)
10263 r"""Proxy of C++ IMP::core::PairRestraint class."""
10265 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
10267 def __init__(self, *args):
10269 __init__(PairRestraint self, Model m, PairScore ss, IMP::ParticleIndexPair const & vt, std::string name="PairRestraint %1%") -> PairRestraint
10270 __init__(PairRestraint self) -> PairRestraint
10272 _IMP_core.PairRestraint_swiginit(self, _IMP_core.new_PairRestraint(*args))
10274 def get_version_info(self):
10275 r"""get_version_info(PairRestraint self) -> VersionInfo"""
10276 return _IMP_core.PairRestraint_get_version_info(self)
10277 __swig_destroy__ = _IMP_core.delete_PairRestraint
10280 r"""__str__(PairRestraint self) -> std::string"""
10281 return _IMP_core.PairRestraint___str__(self)
10283 def __repr__(self):
10284 r"""__repr__(PairRestraint self) -> std::string"""
10285 return _IMP_core.PairRestraint___repr__(self)
10289 return _object_cast_to_PairRestraint(o)
10292 def _get_as_binary(self):
10293 r"""_get_as_binary(PairRestraint self) -> PyObject *"""
10294 return _IMP_core.PairRestraint__get_as_binary(self)
10296 def _set_from_binary(self, p):
10297 r"""_set_from_binary(PairRestraint self, PyObject * p)"""
10298 return _IMP_core.PairRestraint__set_from_binary(self, p)
10300 def __getstate__(self):
10301 p = self._get_as_binary()
10302 if len(self.__dict__) > 1:
10303 d = self.__dict__.copy()
10308 def __setstate__(self, p):
10309 if not hasattr(self,
'this'):
10311 if isinstance(p, tuple):
10313 self.__dict__.update(d)
10314 return self._set_from_binary(p)
10318 _IMP_core.PairRestraint_swigregister(PairRestraint)
10320 r"""Proxy of C++ IMP::core::SingletonRestraint class."""
10322 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
10324 def __init__(self, *args):
10326 __init__(SingletonRestraint self, Model m, SingletonScore ss, ParticleIndex vt, std::string name="SingletonRestraint %1%") -> SingletonRestraint
10327 __init__(SingletonRestraint self) -> SingletonRestraint
10329 _IMP_core.SingletonRestraint_swiginit(self, _IMP_core.new_SingletonRestraint(*args))
10331 def get_version_info(self):
10332 r"""get_version_info(SingletonRestraint self) -> VersionInfo"""
10333 return _IMP_core.SingletonRestraint_get_version_info(self)
10334 __swig_destroy__ = _IMP_core.delete_SingletonRestraint
10337 r"""__str__(SingletonRestraint self) -> std::string"""
10338 return _IMP_core.SingletonRestraint___str__(self)
10340 def __repr__(self):
10341 r"""__repr__(SingletonRestraint self) -> std::string"""
10342 return _IMP_core.SingletonRestraint___repr__(self)
10346 return _object_cast_to_SingletonRestraint(o)
10349 def _get_as_binary(self):
10350 r"""_get_as_binary(SingletonRestraint self) -> PyObject *"""
10351 return _IMP_core.SingletonRestraint__get_as_binary(self)
10353 def _set_from_binary(self, p):
10354 r"""_set_from_binary(SingletonRestraint self, PyObject * p)"""
10355 return _IMP_core.SingletonRestraint__set_from_binary(self, p)
10357 def __getstate__(self):
10358 p = self._get_as_binary()
10359 if len(self.__dict__) > 1:
10360 d = self.__dict__.copy()
10365 def __setstate__(self, p):
10366 if not hasattr(self,
'this'):
10368 if isinstance(p, tuple):
10370 self.__dict__.update(d)
10371 return self._set_from_binary(p)
10375 _IMP_core.SingletonRestraint_swigregister(SingletonRestraint)
10377 r"""Proxy of C++ IMP::core::TripletRestraint class."""
10379 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
10381 def __init__(self, *args):
10383 __init__(TripletRestraint self, Model m, TripletScore ss, IMP::ParticleIndexTriplet const & vt, std::string name="TripletRestraint %1%") -> TripletRestraint
10384 __init__(TripletRestraint self) -> TripletRestraint
10386 _IMP_core.TripletRestraint_swiginit(self, _IMP_core.new_TripletRestraint(*args))
10388 def get_version_info(self):
10389 r"""get_version_info(TripletRestraint self) -> VersionInfo"""
10390 return _IMP_core.TripletRestraint_get_version_info(self)
10391 __swig_destroy__ = _IMP_core.delete_TripletRestraint
10394 r"""__str__(TripletRestraint self) -> std::string"""
10395 return _IMP_core.TripletRestraint___str__(self)
10397 def __repr__(self):
10398 r"""__repr__(TripletRestraint self) -> std::string"""
10399 return _IMP_core.TripletRestraint___repr__(self)
10403 return _object_cast_to_TripletRestraint(o)
10406 def _get_as_binary(self):
10407 r"""_get_as_binary(TripletRestraint self) -> PyObject *"""
10408 return _IMP_core.TripletRestraint__get_as_binary(self)
10410 def _set_from_binary(self, p):
10411 r"""_set_from_binary(TripletRestraint self, PyObject * p)"""
10412 return _IMP_core.TripletRestraint__set_from_binary(self, p)
10414 def __getstate__(self):
10415 p = self._get_as_binary()
10416 if len(self.__dict__) > 1:
10417 d = self.__dict__.copy()
10422 def __setstate__(self, p):
10423 if not hasattr(self,
'this'):
10425 if isinstance(p, tuple):
10427 self.__dict__.update(d)
10428 return self._set_from_binary(p)
10432 _IMP_core.TripletRestraint_swigregister(TripletRestraint)
10434 r"""Proxy of C++ IMP::core::QuadRestraint class."""
10436 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
10438 def __init__(self, *args):
10440 __init__(QuadRestraint self, Model m, QuadScore ss, IMP::ParticleIndexQuad const & vt, std::string name="QuadRestraint %1%") -> QuadRestraint
10441 __init__(QuadRestraint self) -> QuadRestraint
10443 _IMP_core.QuadRestraint_swiginit(self, _IMP_core.new_QuadRestraint(*args))
10445 def get_version_info(self):
10446 r"""get_version_info(QuadRestraint self) -> VersionInfo"""
10447 return _IMP_core.QuadRestraint_get_version_info(self)
10448 __swig_destroy__ = _IMP_core.delete_QuadRestraint
10451 r"""__str__(QuadRestraint self) -> std::string"""
10452 return _IMP_core.QuadRestraint___str__(self)
10454 def __repr__(self):
10455 r"""__repr__(QuadRestraint self) -> std::string"""
10456 return _IMP_core.QuadRestraint___repr__(self)
10460 return _object_cast_to_QuadRestraint(o)
10463 def _get_as_binary(self):
10464 r"""_get_as_binary(QuadRestraint self) -> PyObject *"""
10465 return _IMP_core.QuadRestraint__get_as_binary(self)
10467 def _set_from_binary(self, p):
10468 r"""_set_from_binary(QuadRestraint self, PyObject * p)"""
10469 return _IMP_core.QuadRestraint__set_from_binary(self, p)
10471 def __getstate__(self):
10472 p = self._get_as_binary()
10473 if len(self.__dict__) > 1:
10474 d = self.__dict__.copy()
10479 def __setstate__(self, p):
10480 if not hasattr(self,
'this'):
10482 if isinstance(p, tuple):
10484 self.__dict__.update(d)
10485 return self._set_from_binary(p)
10489 _IMP_core.QuadRestraint_swigregister(QuadRestraint)
10491 r"""Proxy of C++ IMP::core::SingletonConstraint class."""
10493 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
10495 def __init__(self, *args):
10497 __init__(SingletonConstraint self, SingletonModifier before, SingletonModifier after, Model m, ParticleIndex vt, std::string name="SingletonConstraint %1%", bool can_skip=False) -> SingletonConstraint
10498 __init__(SingletonConstraint self) -> SingletonConstraint
10500 _IMP_core.SingletonConstraint_swiginit(self, _IMP_core.new_SingletonConstraint(*args))
10502 def get_version_info(self):
10503 r"""get_version_info(SingletonConstraint self) -> VersionInfo"""
10504 return _IMP_core.SingletonConstraint_get_version_info(self)
10505 __swig_destroy__ = _IMP_core.delete_SingletonConstraint
10508 r"""__str__(SingletonConstraint self) -> std::string"""
10509 return _IMP_core.SingletonConstraint___str__(self)
10511 def __repr__(self):
10512 r"""__repr__(SingletonConstraint self) -> std::string"""
10513 return _IMP_core.SingletonConstraint___repr__(self)
10517 return _object_cast_to_SingletonConstraint(o)
10520 def _get_as_binary(self):
10521 r"""_get_as_binary(SingletonConstraint self) -> PyObject *"""
10522 return _IMP_core.SingletonConstraint__get_as_binary(self)
10524 def _set_from_binary(self, p):
10525 r"""_set_from_binary(SingletonConstraint self, PyObject * p)"""
10526 return _IMP_core.SingletonConstraint__set_from_binary(self, p)
10528 def __getstate__(self):
10529 p = self._get_as_binary()
10530 if len(self.__dict__) > 1:
10531 d = self.__dict__.copy()
10536 def __setstate__(self, p):
10537 if not hasattr(self,
'this'):
10539 if isinstance(p, tuple):
10541 self.__dict__.update(d)
10542 return self._set_from_binary(p)
10546 _IMP_core.SingletonConstraint_swigregister(SingletonConstraint)
10548 r"""Proxy of C++ IMP::core::PairConstraint class."""
10550 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
10552 def __init__(self, *args):
10554 __init__(PairConstraint self, PairModifier before, PairModifier after, Model m, IMP::ParticleIndexPair const & vt, std::string name="PairConstraint %1%", bool can_skip=False) -> PairConstraint
10555 __init__(PairConstraint self) -> PairConstraint
10557 _IMP_core.PairConstraint_swiginit(self, _IMP_core.new_PairConstraint(*args))
10559 def get_version_info(self):
10560 r"""get_version_info(PairConstraint self) -> VersionInfo"""
10561 return _IMP_core.PairConstraint_get_version_info(self)
10562 __swig_destroy__ = _IMP_core.delete_PairConstraint
10565 r"""__str__(PairConstraint self) -> std::string"""
10566 return _IMP_core.PairConstraint___str__(self)
10568 def __repr__(self):
10569 r"""__repr__(PairConstraint self) -> std::string"""
10570 return _IMP_core.PairConstraint___repr__(self)
10574 return _object_cast_to_PairConstraint(o)
10577 def _get_as_binary(self):
10578 r"""_get_as_binary(PairConstraint self) -> PyObject *"""
10579 return _IMP_core.PairConstraint__get_as_binary(self)
10581 def _set_from_binary(self, p):
10582 r"""_set_from_binary(PairConstraint self, PyObject * p)"""
10583 return _IMP_core.PairConstraint__set_from_binary(self, p)
10585 def __getstate__(self):
10586 p = self._get_as_binary()
10587 if len(self.__dict__) > 1:
10588 d = self.__dict__.copy()
10593 def __setstate__(self, p):
10594 if not hasattr(self,
'this'):
10596 if isinstance(p, tuple):
10598 self.__dict__.update(d)
10599 return self._set_from_binary(p)
10603 _IMP_core.PairConstraint_swigregister(PairConstraint)
10605 r"""Proxy of C++ IMP::core::TripletConstraint class."""
10607 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
10609 def __init__(self, *args):
10611 __init__(TripletConstraint self, TripletModifier before, TripletModifier after, Model m, IMP::ParticleIndexTriplet const & vt, std::string name="TripletConstraint %1%", bool can_skip=False) -> TripletConstraint
10612 __init__(TripletConstraint self) -> TripletConstraint
10614 _IMP_core.TripletConstraint_swiginit(self, _IMP_core.new_TripletConstraint(*args))
10616 def get_version_info(self):
10617 r"""get_version_info(TripletConstraint self) -> VersionInfo"""
10618 return _IMP_core.TripletConstraint_get_version_info(self)
10619 __swig_destroy__ = _IMP_core.delete_TripletConstraint
10622 r"""__str__(TripletConstraint self) -> std::string"""
10623 return _IMP_core.TripletConstraint___str__(self)
10625 def __repr__(self):
10626 r"""__repr__(TripletConstraint self) -> std::string"""
10627 return _IMP_core.TripletConstraint___repr__(self)
10631 return _object_cast_to_TripletConstraint(o)
10634 def _get_as_binary(self):
10635 r"""_get_as_binary(TripletConstraint self) -> PyObject *"""
10636 return _IMP_core.TripletConstraint__get_as_binary(self)
10638 def _set_from_binary(self, p):
10639 r"""_set_from_binary(TripletConstraint self, PyObject * p)"""
10640 return _IMP_core.TripletConstraint__set_from_binary(self, p)
10642 def __getstate__(self):
10643 p = self._get_as_binary()
10644 if len(self.__dict__) > 1:
10645 d = self.__dict__.copy()
10650 def __setstate__(self, p):
10651 if not hasattr(self,
'this'):
10653 if isinstance(p, tuple):
10655 self.__dict__.update(d)
10656 return self._set_from_binary(p)
10660 _IMP_core.TripletConstraint_swigregister(TripletConstraint)
10662 r"""Proxy of C++ IMP::core::QuadConstraint class."""
10664 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
10666 def __init__(self, *args):
10668 __init__(QuadConstraint self, QuadModifier before, QuadModifier after, Model m, IMP::ParticleIndexQuad const & vt, std::string name="QuadConstraint %1%", bool can_skip=False) -> QuadConstraint
10669 __init__(QuadConstraint self) -> QuadConstraint
10671 _IMP_core.QuadConstraint_swiginit(self, _IMP_core.new_QuadConstraint(*args))
10673 def get_version_info(self):
10674 r"""get_version_info(QuadConstraint self) -> VersionInfo"""
10675 return _IMP_core.QuadConstraint_get_version_info(self)
10676 __swig_destroy__ = _IMP_core.delete_QuadConstraint
10679 r"""__str__(QuadConstraint self) -> std::string"""
10680 return _IMP_core.QuadConstraint___str__(self)
10682 def __repr__(self):
10683 r"""__repr__(QuadConstraint self) -> std::string"""
10684 return _IMP_core.QuadConstraint___repr__(self)
10688 return _object_cast_to_QuadConstraint(o)
10691 def _get_as_binary(self):
10692 r"""_get_as_binary(QuadConstraint self) -> PyObject *"""
10693 return _IMP_core.QuadConstraint__get_as_binary(self)
10695 def _set_from_binary(self, p):
10696 r"""_set_from_binary(QuadConstraint self, PyObject * p)"""
10697 return _IMP_core.QuadConstraint__set_from_binary(self, p)
10699 def __getstate__(self):
10700 p = self._get_as_binary()
10701 if len(self.__dict__) > 1:
10702 d = self.__dict__.copy()
10707 def __setstate__(self, p):
10708 if not hasattr(self,
'this'):
10710 if isinstance(p, tuple):
10712 self.__dict__.update(d)
10713 return self._set_from_binary(p)
10717 _IMP_core.QuadConstraint_swigregister(QuadConstraint)
10719 r"""Proxy of C++ IMP::core::ConstantSingletonPredicate class."""
10721 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
10723 def __init__(self, *args):
10725 __init__(ConstantSingletonPredicate self, int v, std::string name="ConstSingletonPredicate%1%") -> ConstantSingletonPredicate
10726 __init__(ConstantSingletonPredicate self) -> ConstantSingletonPredicate
10728 _IMP_core.ConstantSingletonPredicate_swiginit(self, _IMP_core.new_ConstantSingletonPredicate(*args))
10730 def do_get_inputs(self, arg2, arg3):
10731 r"""do_get_inputs(ConstantSingletonPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
10732 return _IMP_core.ConstantSingletonPredicate_do_get_inputs(self, arg2, arg3)
10734 def get_value(self, *args):
10736 get_value(ConstantSingletonPredicate self, Particle a) -> int
10737 get_value(ConstantSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
10739 return _IMP_core.ConstantSingletonPredicate_get_value(self, *args)
10741 def get_value_index(self, *args):
10743 get_value_index(ConstantSingletonPredicate self, Model arg2, ParticleIndex arg3) -> int
10744 get_value_index(ConstantSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
10746 return _IMP_core.ConstantSingletonPredicate_get_value_index(self, *args)
10748 def get_version_info(self):
10749 r"""get_version_info(ConstantSingletonPredicate self) -> VersionInfo"""
10750 return _IMP_core.ConstantSingletonPredicate_get_version_info(self)
10751 __swig_destroy__ = _IMP_core.delete_ConstantSingletonPredicate
10754 r"""__str__(ConstantSingletonPredicate self) -> std::string"""
10755 return _IMP_core.ConstantSingletonPredicate___str__(self)
10757 def __repr__(self):
10758 r"""__repr__(ConstantSingletonPredicate self) -> std::string"""
10759 return _IMP_core.ConstantSingletonPredicate___repr__(self)
10763 return _object_cast_to_ConstantSingletonPredicate(o)
10766 def _get_as_binary(self):
10767 r"""_get_as_binary(ConstantSingletonPredicate self) -> PyObject *"""
10768 return _IMP_core.ConstantSingletonPredicate__get_as_binary(self)
10770 def _set_from_binary(self, p):
10771 r"""_set_from_binary(ConstantSingletonPredicate self, PyObject * p)"""
10772 return _IMP_core.ConstantSingletonPredicate__set_from_binary(self, p)
10774 def __getstate__(self):
10775 p = self._get_as_binary()
10776 if len(self.__dict__) > 1:
10777 d = self.__dict__.copy()
10782 def __setstate__(self, p):
10783 if not hasattr(self,
'this'):
10785 if isinstance(p, tuple):
10787 self.__dict__.update(d)
10788 return self._set_from_binary(p)
10792 _IMP_core.ConstantSingletonPredicate_swigregister(ConstantSingletonPredicate)
10794 r"""Proxy of C++ IMP::core::UnorderedTypeSingletonPredicate class."""
10796 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
10798 def __init__(self, *args):
10799 r"""__init__(UnorderedTypeSingletonPredicate self, std::string name="UnorderedTypeSingletonPredicate%1%") -> UnorderedTypeSingletonPredicate"""
10800 _IMP_core.UnorderedTypeSingletonPredicate_swiginit(self, _IMP_core.new_UnorderedTypeSingletonPredicate(*args))
10802 def do_get_inputs(self, m, pis):
10803 r"""do_get_inputs(UnorderedTypeSingletonPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10804 return _IMP_core.UnorderedTypeSingletonPredicate_do_get_inputs(self, m, pis)
10806 def get_value(self, *args):
10808 get_value(UnorderedTypeSingletonPredicate self, Particle a) -> int
10809 get_value(UnorderedTypeSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
10811 return _IMP_core.UnorderedTypeSingletonPredicate_get_value(self, *args)
10813 def get_value_index(self, *args):
10815 get_value_index(UnorderedTypeSingletonPredicate self, Model m, ParticleIndex pi) -> int
10816 get_value_index(UnorderedTypeSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
10818 return _IMP_core.UnorderedTypeSingletonPredicate_get_value_index(self, *args)
10820 def get_version_info(self):
10821 r"""get_version_info(UnorderedTypeSingletonPredicate self) -> VersionInfo"""
10822 return _IMP_core.UnorderedTypeSingletonPredicate_get_version_info(self)
10823 __swig_destroy__ = _IMP_core.delete_UnorderedTypeSingletonPredicate
10826 r"""__str__(UnorderedTypeSingletonPredicate self) -> std::string"""
10827 return _IMP_core.UnorderedTypeSingletonPredicate___str__(self)
10829 def __repr__(self):
10830 r"""__repr__(UnorderedTypeSingletonPredicate self) -> std::string"""
10831 return _IMP_core.UnorderedTypeSingletonPredicate___repr__(self)
10835 return _object_cast_to_UnorderedTypeSingletonPredicate(o)
10838 def _get_as_binary(self):
10839 r"""_get_as_binary(UnorderedTypeSingletonPredicate self) -> PyObject *"""
10840 return _IMP_core.UnorderedTypeSingletonPredicate__get_as_binary(self)
10842 def _set_from_binary(self, p):
10843 r"""_set_from_binary(UnorderedTypeSingletonPredicate self, PyObject * p)"""
10844 return _IMP_core.UnorderedTypeSingletonPredicate__set_from_binary(self, p)
10846 def __getstate__(self):
10847 p = self._get_as_binary()
10848 if len(self.__dict__) > 1:
10849 d = self.__dict__.copy()
10854 def __setstate__(self, p):
10855 if not hasattr(self,
'this'):
10857 if isinstance(p, tuple):
10859 self.__dict__.update(d)
10860 return self._set_from_binary(p)
10864 _IMP_core.UnorderedTypeSingletonPredicate_swigregister(UnorderedTypeSingletonPredicate)
10866 r"""Proxy of C++ IMP::core::OrderedTypeSingletonPredicate class."""
10868 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
10870 def __init__(self, *args):
10871 r"""__init__(OrderedTypeSingletonPredicate self, std::string name="OrderedTypeSingletonPredicate%1%") -> OrderedTypeSingletonPredicate"""
10872 _IMP_core.OrderedTypeSingletonPredicate_swiginit(self, _IMP_core.new_OrderedTypeSingletonPredicate(*args))
10874 def do_get_inputs(self, m, pis):
10875 r"""do_get_inputs(OrderedTypeSingletonPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
10876 return _IMP_core.OrderedTypeSingletonPredicate_do_get_inputs(self, m, pis)
10878 def get_value(self, *args):
10880 get_value(OrderedTypeSingletonPredicate self, IMP::core::ParticleTypes const & types) -> int
10881 get_value(OrderedTypeSingletonPredicate self, Particle a) -> int
10882 get_value(OrderedTypeSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
10884 return _IMP_core.OrderedTypeSingletonPredicate_get_value(self, *args)
10886 def get_value_index(self, *args):
10888 get_value_index(OrderedTypeSingletonPredicate self, Model m, ParticleIndex pi) -> int
10889 get_value_index(OrderedTypeSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
10891 return _IMP_core.OrderedTypeSingletonPredicate_get_value_index(self, *args)
10893 def get_version_info(self):
10894 r"""get_version_info(OrderedTypeSingletonPredicate self) -> VersionInfo"""
10895 return _IMP_core.OrderedTypeSingletonPredicate_get_version_info(self)
10896 __swig_destroy__ = _IMP_core.delete_OrderedTypeSingletonPredicate
10899 r"""__str__(OrderedTypeSingletonPredicate self) -> std::string"""
10900 return _IMP_core.OrderedTypeSingletonPredicate___str__(self)
10902 def __repr__(self):
10903 r"""__repr__(OrderedTypeSingletonPredicate self) -> std::string"""
10904 return _IMP_core.OrderedTypeSingletonPredicate___repr__(self)
10908 return _object_cast_to_OrderedTypeSingletonPredicate(o)
10912 _IMP_core.OrderedTypeSingletonPredicate_swigregister(OrderedTypeSingletonPredicate)
10914 r"""Proxy of C++ IMP::core::AllSameSingletonPredicate class."""
10916 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
10918 def __init__(self, *args):
10919 r"""__init__(AllSameSingletonPredicate self, std::string name="AllSameSingletonPredicate%1%") -> AllSameSingletonPredicate"""
10920 _IMP_core.AllSameSingletonPredicate_swiginit(self, _IMP_core.new_AllSameSingletonPredicate(*args))
10922 def do_get_inputs(self, arg2, arg3):
10923 r"""do_get_inputs(AllSameSingletonPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
10924 return _IMP_core.AllSameSingletonPredicate_do_get_inputs(self, arg2, arg3)
10926 def get_value(self, *args):
10928 get_value(AllSameSingletonPredicate self, Particle a) -> int
10929 get_value(AllSameSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
10931 return _IMP_core.AllSameSingletonPredicate_get_value(self, *args)
10933 def get_value_index(self, *args):
10935 get_value_index(AllSameSingletonPredicate self, Model m, ParticleIndex pi) -> int
10936 get_value_index(AllSameSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
10938 return _IMP_core.AllSameSingletonPredicate_get_value_index(self, *args)
10940 def get_version_info(self):
10941 r"""get_version_info(AllSameSingletonPredicate self) -> VersionInfo"""
10942 return _IMP_core.AllSameSingletonPredicate_get_version_info(self)
10943 __swig_destroy__ = _IMP_core.delete_AllSameSingletonPredicate
10946 r"""__str__(AllSameSingletonPredicate self) -> std::string"""
10947 return _IMP_core.AllSameSingletonPredicate___str__(self)
10949 def __repr__(self):
10950 r"""__repr__(AllSameSingletonPredicate self) -> std::string"""
10951 return _IMP_core.AllSameSingletonPredicate___repr__(self)
10955 return _object_cast_to_AllSameSingletonPredicate(o)
10958 def _get_as_binary(self):
10959 r"""_get_as_binary(AllSameSingletonPredicate self) -> PyObject *"""
10960 return _IMP_core.AllSameSingletonPredicate__get_as_binary(self)
10962 def _set_from_binary(self, p):
10963 r"""_set_from_binary(AllSameSingletonPredicate self, PyObject * p)"""
10964 return _IMP_core.AllSameSingletonPredicate__set_from_binary(self, p)
10966 def __getstate__(self):
10967 p = self._get_as_binary()
10968 if len(self.__dict__) > 1:
10969 d = self.__dict__.copy()
10974 def __setstate__(self, p):
10975 if not hasattr(self,
'this'):
10977 if isinstance(p, tuple):
10979 self.__dict__.update(d)
10980 return self._set_from_binary(p)
10984 _IMP_core.AllSameSingletonPredicate_swigregister(AllSameSingletonPredicate)
10986 r"""Proxy of C++ IMP::core::CoinFlipSingletonPredicate class."""
10988 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
10990 def __init__(self, *args):
10991 r"""__init__(CoinFlipSingletonPredicate self, double p, std::string name="CoinFlipSingletonPredicate%1%") -> CoinFlipSingletonPredicate"""
10992 _IMP_core.CoinFlipSingletonPredicate_swiginit(self, _IMP_core.new_CoinFlipSingletonPredicate(*args))
10994 def do_get_inputs(self, arg2, arg3):
10995 r"""do_get_inputs(CoinFlipSingletonPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
10996 return _IMP_core.CoinFlipSingletonPredicate_do_get_inputs(self, arg2, arg3)
10998 def get_value(self, *args):
11000 get_value(CoinFlipSingletonPredicate self, Particle a) -> int
11001 get_value(CoinFlipSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
11003 return _IMP_core.CoinFlipSingletonPredicate_get_value(self, *args)
11005 def get_value_index(self, *args):
11007 get_value_index(CoinFlipSingletonPredicate self, Model arg2, ParticleIndex arg3) -> int
11008 get_value_index(CoinFlipSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
11010 return _IMP_core.CoinFlipSingletonPredicate_get_value_index(self, *args)
11012 def get_version_info(self):
11013 r"""get_version_info(CoinFlipSingletonPredicate self) -> VersionInfo"""
11014 return _IMP_core.CoinFlipSingletonPredicate_get_version_info(self)
11015 __swig_destroy__ = _IMP_core.delete_CoinFlipSingletonPredicate
11018 r"""__str__(CoinFlipSingletonPredicate self) -> std::string"""
11019 return _IMP_core.CoinFlipSingletonPredicate___str__(self)
11021 def __repr__(self):
11022 r"""__repr__(CoinFlipSingletonPredicate self) -> std::string"""
11023 return _IMP_core.CoinFlipSingletonPredicate___repr__(self)
11027 return _object_cast_to_CoinFlipSingletonPredicate(o)
11031 _IMP_core.CoinFlipSingletonPredicate_swigregister(CoinFlipSingletonPredicate)
11033 r"""Proxy of C++ IMP::core::ConstantPairPredicate class."""
11035 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
11037 def __init__(self, *args):
11039 __init__(ConstantPairPredicate self, int v, std::string name="ConstPairPredicate%1%") -> ConstantPairPredicate
11040 __init__(ConstantPairPredicate self) -> ConstantPairPredicate
11042 _IMP_core.ConstantPairPredicate_swiginit(self, _IMP_core.new_ConstantPairPredicate(*args))
11044 def do_get_inputs(self, arg2, arg3):
11045 r"""do_get_inputs(ConstantPairPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11046 return _IMP_core.ConstantPairPredicate_do_get_inputs(self, arg2, arg3)
11048 def get_value(self, *args):
11050 get_value(ConstantPairPredicate self, IMP::ParticlePair const & a) -> int
11051 get_value(ConstantPairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
11053 return _IMP_core.ConstantPairPredicate_get_value(self, *args)
11055 def get_value_index(self, *args):
11057 get_value_index(ConstantPairPredicate self, Model arg2, IMP::ParticleIndexPair const & arg3) -> int
11058 get_value_index(ConstantPairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
11060 return _IMP_core.ConstantPairPredicate_get_value_index(self, *args)
11062 def get_version_info(self):
11063 r"""get_version_info(ConstantPairPredicate self) -> VersionInfo"""
11064 return _IMP_core.ConstantPairPredicate_get_version_info(self)
11065 __swig_destroy__ = _IMP_core.delete_ConstantPairPredicate
11068 r"""__str__(ConstantPairPredicate self) -> std::string"""
11069 return _IMP_core.ConstantPairPredicate___str__(self)
11071 def __repr__(self):
11072 r"""__repr__(ConstantPairPredicate self) -> std::string"""
11073 return _IMP_core.ConstantPairPredicate___repr__(self)
11077 return _object_cast_to_ConstantPairPredicate(o)
11080 def _get_as_binary(self):
11081 r"""_get_as_binary(ConstantPairPredicate self) -> PyObject *"""
11082 return _IMP_core.ConstantPairPredicate__get_as_binary(self)
11084 def _set_from_binary(self, p):
11085 r"""_set_from_binary(ConstantPairPredicate self, PyObject * p)"""
11086 return _IMP_core.ConstantPairPredicate__set_from_binary(self, p)
11088 def __getstate__(self):
11089 p = self._get_as_binary()
11090 if len(self.__dict__) > 1:
11091 d = self.__dict__.copy()
11096 def __setstate__(self, p):
11097 if not hasattr(self,
'this'):
11099 if isinstance(p, tuple):
11101 self.__dict__.update(d)
11102 return self._set_from_binary(p)
11106 _IMP_core.ConstantPairPredicate_swigregister(ConstantPairPredicate)
11108 r"""Proxy of C++ IMP::core::UnorderedTypePairPredicate class."""
11110 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
11112 def __init__(self, *args):
11113 r"""__init__(UnorderedTypePairPredicate self, std::string name="UnorderedTypePairPredicate%1%") -> UnorderedTypePairPredicate"""
11114 _IMP_core.UnorderedTypePairPredicate_swiginit(self, _IMP_core.new_UnorderedTypePairPredicate(*args))
11116 def do_get_inputs(self, m, pis):
11117 r"""do_get_inputs(UnorderedTypePairPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
11118 return _IMP_core.UnorderedTypePairPredicate_do_get_inputs(self, m, pis)
11120 def get_value(self, *args):
11122 get_value(UnorderedTypePairPredicate self, IMP::ParticlePair const & a) -> int
11123 get_value(UnorderedTypePairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
11125 return _IMP_core.UnorderedTypePairPredicate_get_value(self, *args)
11127 def get_value_index(self, *args):
11129 get_value_index(UnorderedTypePairPredicate self, Model m, IMP::ParticleIndexPair const & pi) -> int
11130 get_value_index(UnorderedTypePairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
11132 return _IMP_core.UnorderedTypePairPredicate_get_value_index(self, *args)
11134 def get_version_info(self):
11135 r"""get_version_info(UnorderedTypePairPredicate self) -> VersionInfo"""
11136 return _IMP_core.UnorderedTypePairPredicate_get_version_info(self)
11137 __swig_destroy__ = _IMP_core.delete_UnorderedTypePairPredicate
11140 r"""__str__(UnorderedTypePairPredicate self) -> std::string"""
11141 return _IMP_core.UnorderedTypePairPredicate___str__(self)
11143 def __repr__(self):
11144 r"""__repr__(UnorderedTypePairPredicate self) -> std::string"""
11145 return _IMP_core.UnorderedTypePairPredicate___repr__(self)
11149 return _object_cast_to_UnorderedTypePairPredicate(o)
11152 def _get_as_binary(self):
11153 r"""_get_as_binary(UnorderedTypePairPredicate self) -> PyObject *"""
11154 return _IMP_core.UnorderedTypePairPredicate__get_as_binary(self)
11156 def _set_from_binary(self, p):
11157 r"""_set_from_binary(UnorderedTypePairPredicate self, PyObject * p)"""
11158 return _IMP_core.UnorderedTypePairPredicate__set_from_binary(self, p)
11160 def __getstate__(self):
11161 p = self._get_as_binary()
11162 if len(self.__dict__) > 1:
11163 d = self.__dict__.copy()
11168 def __setstate__(self, p):
11169 if not hasattr(self,
'this'):
11171 if isinstance(p, tuple):
11173 self.__dict__.update(d)
11174 return self._set_from_binary(p)
11178 _IMP_core.UnorderedTypePairPredicate_swigregister(UnorderedTypePairPredicate)
11180 r"""Proxy of C++ IMP::core::OrderedTypePairPredicate class."""
11182 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
11184 def __init__(self, *args):
11185 r"""__init__(OrderedTypePairPredicate self, std::string name="OrderedTypePairPredicate%1%") -> OrderedTypePairPredicate"""
11186 _IMP_core.OrderedTypePairPredicate_swiginit(self, _IMP_core.new_OrderedTypePairPredicate(*args))
11188 def do_get_inputs(self, m, pis):
11189 r"""do_get_inputs(OrderedTypePairPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
11190 return _IMP_core.OrderedTypePairPredicate_do_get_inputs(self, m, pis)
11192 def get_value(self, *args):
11194 get_value(OrderedTypePairPredicate self, IMP::core::ParticleTypes const & types) -> int
11195 get_value(OrderedTypePairPredicate self, IMP::ParticlePair const & a) -> int
11196 get_value(OrderedTypePairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
11198 return _IMP_core.OrderedTypePairPredicate_get_value(self, *args)
11200 def get_value_index(self, *args):
11202 get_value_index(OrderedTypePairPredicate self, Model m, IMP::ParticleIndexPair const & pi) -> int
11203 get_value_index(OrderedTypePairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
11205 return _IMP_core.OrderedTypePairPredicate_get_value_index(self, *args)
11207 def get_version_info(self):
11208 r"""get_version_info(OrderedTypePairPredicate self) -> VersionInfo"""
11209 return _IMP_core.OrderedTypePairPredicate_get_version_info(self)
11210 __swig_destroy__ = _IMP_core.delete_OrderedTypePairPredicate
11213 r"""__str__(OrderedTypePairPredicate self) -> std::string"""
11214 return _IMP_core.OrderedTypePairPredicate___str__(self)
11216 def __repr__(self):
11217 r"""__repr__(OrderedTypePairPredicate self) -> std::string"""
11218 return _IMP_core.OrderedTypePairPredicate___repr__(self)
11222 return _object_cast_to_OrderedTypePairPredicate(o)
11226 _IMP_core.OrderedTypePairPredicate_swigregister(OrderedTypePairPredicate)
11228 r"""Proxy of C++ IMP::core::AllSamePairPredicate class."""
11230 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
11232 def __init__(self, *args):
11233 r"""__init__(AllSamePairPredicate self, std::string name="AllSamePairPredicate%1%") -> AllSamePairPredicate"""
11234 _IMP_core.AllSamePairPredicate_swiginit(self, _IMP_core.new_AllSamePairPredicate(*args))
11236 def do_get_inputs(self, arg2, arg3):
11237 r"""do_get_inputs(AllSamePairPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11238 return _IMP_core.AllSamePairPredicate_do_get_inputs(self, arg2, arg3)
11240 def get_value(self, *args):
11242 get_value(AllSamePairPredicate self, IMP::ParticlePair const & a) -> int
11243 get_value(AllSamePairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
11245 return _IMP_core.AllSamePairPredicate_get_value(self, *args)
11247 def get_value_index(self, *args):
11249 get_value_index(AllSamePairPredicate self, Model m, IMP::ParticleIndexPair const & pi) -> int
11250 get_value_index(AllSamePairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
11252 return _IMP_core.AllSamePairPredicate_get_value_index(self, *args)
11254 def get_version_info(self):
11255 r"""get_version_info(AllSamePairPredicate self) -> VersionInfo"""
11256 return _IMP_core.AllSamePairPredicate_get_version_info(self)
11257 __swig_destroy__ = _IMP_core.delete_AllSamePairPredicate
11260 r"""__str__(AllSamePairPredicate self) -> std::string"""
11261 return _IMP_core.AllSamePairPredicate___str__(self)
11263 def __repr__(self):
11264 r"""__repr__(AllSamePairPredicate self) -> std::string"""
11265 return _IMP_core.AllSamePairPredicate___repr__(self)
11269 return _object_cast_to_AllSamePairPredicate(o)
11272 def _get_as_binary(self):
11273 r"""_get_as_binary(AllSamePairPredicate self) -> PyObject *"""
11274 return _IMP_core.AllSamePairPredicate__get_as_binary(self)
11276 def _set_from_binary(self, p):
11277 r"""_set_from_binary(AllSamePairPredicate self, PyObject * p)"""
11278 return _IMP_core.AllSamePairPredicate__set_from_binary(self, p)
11280 def __getstate__(self):
11281 p = self._get_as_binary()
11282 if len(self.__dict__) > 1:
11283 d = self.__dict__.copy()
11288 def __setstate__(self, p):
11289 if not hasattr(self,
'this'):
11291 if isinstance(p, tuple):
11293 self.__dict__.update(d)
11294 return self._set_from_binary(p)
11298 _IMP_core.AllSamePairPredicate_swigregister(AllSamePairPredicate)
11300 r"""Proxy of C++ IMP::core::CoinFlipPairPredicate class."""
11302 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
11304 def __init__(self, *args):
11305 r"""__init__(CoinFlipPairPredicate self, double p, std::string name="CoinFlipPairPredicate%1%") -> CoinFlipPairPredicate"""
11306 _IMP_core.CoinFlipPairPredicate_swiginit(self, _IMP_core.new_CoinFlipPairPredicate(*args))
11308 def do_get_inputs(self, arg2, arg3):
11309 r"""do_get_inputs(CoinFlipPairPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11310 return _IMP_core.CoinFlipPairPredicate_do_get_inputs(self, arg2, arg3)
11312 def get_value(self, *args):
11314 get_value(CoinFlipPairPredicate self, IMP::ParticlePair const & a) -> int
11315 get_value(CoinFlipPairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
11317 return _IMP_core.CoinFlipPairPredicate_get_value(self, *args)
11319 def get_value_index(self, *args):
11321 get_value_index(CoinFlipPairPredicate self, Model arg2, IMP::ParticleIndexPair const & arg3) -> int
11322 get_value_index(CoinFlipPairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
11324 return _IMP_core.CoinFlipPairPredicate_get_value_index(self, *args)
11326 def get_version_info(self):
11327 r"""get_version_info(CoinFlipPairPredicate self) -> VersionInfo"""
11328 return _IMP_core.CoinFlipPairPredicate_get_version_info(self)
11329 __swig_destroy__ = _IMP_core.delete_CoinFlipPairPredicate
11332 r"""__str__(CoinFlipPairPredicate self) -> std::string"""
11333 return _IMP_core.CoinFlipPairPredicate___str__(self)
11335 def __repr__(self):
11336 r"""__repr__(CoinFlipPairPredicate self) -> std::string"""
11337 return _IMP_core.CoinFlipPairPredicate___repr__(self)
11341 return _object_cast_to_CoinFlipPairPredicate(o)
11345 _IMP_core.CoinFlipPairPredicate_swigregister(CoinFlipPairPredicate)
11347 r"""Proxy of C++ IMP::core::ConstantTripletPredicate class."""
11349 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
11351 def __init__(self, *args):
11353 __init__(ConstantTripletPredicate self, int v, std::string name="ConstTripletPredicate%1%") -> ConstantTripletPredicate
11354 __init__(ConstantTripletPredicate self) -> ConstantTripletPredicate
11356 _IMP_core.ConstantTripletPredicate_swiginit(self, _IMP_core.new_ConstantTripletPredicate(*args))
11358 def do_get_inputs(self, arg2, arg3):
11359 r"""do_get_inputs(ConstantTripletPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11360 return _IMP_core.ConstantTripletPredicate_do_get_inputs(self, arg2, arg3)
11362 def get_value(self, *args):
11364 get_value(ConstantTripletPredicate self, IMP::ParticleTriplet const & a) -> int
11365 get_value(ConstantTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
11367 return _IMP_core.ConstantTripletPredicate_get_value(self, *args)
11369 def get_value_index(self, *args):
11371 get_value_index(ConstantTripletPredicate self, Model arg2, IMP::ParticleIndexTriplet const & arg3) -> int
11372 get_value_index(ConstantTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
11374 return _IMP_core.ConstantTripletPredicate_get_value_index(self, *args)
11376 def get_version_info(self):
11377 r"""get_version_info(ConstantTripletPredicate self) -> VersionInfo"""
11378 return _IMP_core.ConstantTripletPredicate_get_version_info(self)
11379 __swig_destroy__ = _IMP_core.delete_ConstantTripletPredicate
11382 r"""__str__(ConstantTripletPredicate self) -> std::string"""
11383 return _IMP_core.ConstantTripletPredicate___str__(self)
11385 def __repr__(self):
11386 r"""__repr__(ConstantTripletPredicate self) -> std::string"""
11387 return _IMP_core.ConstantTripletPredicate___repr__(self)
11391 return _object_cast_to_ConstantTripletPredicate(o)
11394 def _get_as_binary(self):
11395 r"""_get_as_binary(ConstantTripletPredicate self) -> PyObject *"""
11396 return _IMP_core.ConstantTripletPredicate__get_as_binary(self)
11398 def _set_from_binary(self, p):
11399 r"""_set_from_binary(ConstantTripletPredicate self, PyObject * p)"""
11400 return _IMP_core.ConstantTripletPredicate__set_from_binary(self, p)
11402 def __getstate__(self):
11403 p = self._get_as_binary()
11404 if len(self.__dict__) > 1:
11405 d = self.__dict__.copy()
11410 def __setstate__(self, p):
11411 if not hasattr(self,
'this'):
11413 if isinstance(p, tuple):
11415 self.__dict__.update(d)
11416 return self._set_from_binary(p)
11420 _IMP_core.ConstantTripletPredicate_swigregister(ConstantTripletPredicate)
11422 r"""Proxy of C++ IMP::core::UnorderedTypeTripletPredicate class."""
11424 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
11426 def __init__(self, *args):
11427 r"""__init__(UnorderedTypeTripletPredicate self, std::string name="UnorderedTypeTripletPredicate%1%") -> UnorderedTypeTripletPredicate"""
11428 _IMP_core.UnorderedTypeTripletPredicate_swiginit(self, _IMP_core.new_UnorderedTypeTripletPredicate(*args))
11430 def do_get_inputs(self, m, pis):
11431 r"""do_get_inputs(UnorderedTypeTripletPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
11432 return _IMP_core.UnorderedTypeTripletPredicate_do_get_inputs(self, m, pis)
11434 def get_value(self, *args):
11436 get_value(UnorderedTypeTripletPredicate self, IMP::ParticleTriplet const & a) -> int
11437 get_value(UnorderedTypeTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
11439 return _IMP_core.UnorderedTypeTripletPredicate_get_value(self, *args)
11441 def get_value_index(self, *args):
11443 get_value_index(UnorderedTypeTripletPredicate self, Model m, IMP::ParticleIndexTriplet const & pi) -> int
11444 get_value_index(UnorderedTypeTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
11446 return _IMP_core.UnorderedTypeTripletPredicate_get_value_index(self, *args)
11448 def get_version_info(self):
11449 r"""get_version_info(UnorderedTypeTripletPredicate self) -> VersionInfo"""
11450 return _IMP_core.UnorderedTypeTripletPredicate_get_version_info(self)
11451 __swig_destroy__ = _IMP_core.delete_UnorderedTypeTripletPredicate
11454 r"""__str__(UnorderedTypeTripletPredicate self) -> std::string"""
11455 return _IMP_core.UnorderedTypeTripletPredicate___str__(self)
11457 def __repr__(self):
11458 r"""__repr__(UnorderedTypeTripletPredicate self) -> std::string"""
11459 return _IMP_core.UnorderedTypeTripletPredicate___repr__(self)
11463 return _object_cast_to_UnorderedTypeTripletPredicate(o)
11466 def _get_as_binary(self):
11467 r"""_get_as_binary(UnorderedTypeTripletPredicate self) -> PyObject *"""
11468 return _IMP_core.UnorderedTypeTripletPredicate__get_as_binary(self)
11470 def _set_from_binary(self, p):
11471 r"""_set_from_binary(UnorderedTypeTripletPredicate self, PyObject * p)"""
11472 return _IMP_core.UnorderedTypeTripletPredicate__set_from_binary(self, p)
11474 def __getstate__(self):
11475 p = self._get_as_binary()
11476 if len(self.__dict__) > 1:
11477 d = self.__dict__.copy()
11482 def __setstate__(self, p):
11483 if not hasattr(self,
'this'):
11485 if isinstance(p, tuple):
11487 self.__dict__.update(d)
11488 return self._set_from_binary(p)
11492 _IMP_core.UnorderedTypeTripletPredicate_swigregister(UnorderedTypeTripletPredicate)
11494 r"""Proxy of C++ IMP::core::OrderedTypeTripletPredicate class."""
11496 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
11498 def __init__(self, *args):
11499 r"""__init__(OrderedTypeTripletPredicate self, std::string name="OrderedTypeTripletPredicate%1%") -> OrderedTypeTripletPredicate"""
11500 _IMP_core.OrderedTypeTripletPredicate_swiginit(self, _IMP_core.new_OrderedTypeTripletPredicate(*args))
11502 def do_get_inputs(self, m, pis):
11503 r"""do_get_inputs(OrderedTypeTripletPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
11504 return _IMP_core.OrderedTypeTripletPredicate_do_get_inputs(self, m, pis)
11506 def get_value(self, *args):
11508 get_value(OrderedTypeTripletPredicate self, IMP::core::ParticleTypes const & types) -> int
11509 get_value(OrderedTypeTripletPredicate self, IMP::ParticleTriplet const & a) -> int
11510 get_value(OrderedTypeTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
11512 return _IMP_core.OrderedTypeTripletPredicate_get_value(self, *args)
11514 def get_value_index(self, *args):
11516 get_value_index(OrderedTypeTripletPredicate self, Model m, IMP::ParticleIndexTriplet const & pi) -> int
11517 get_value_index(OrderedTypeTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
11519 return _IMP_core.OrderedTypeTripletPredicate_get_value_index(self, *args)
11521 def get_version_info(self):
11522 r"""get_version_info(OrderedTypeTripletPredicate self) -> VersionInfo"""
11523 return _IMP_core.OrderedTypeTripletPredicate_get_version_info(self)
11524 __swig_destroy__ = _IMP_core.delete_OrderedTypeTripletPredicate
11527 r"""__str__(OrderedTypeTripletPredicate self) -> std::string"""
11528 return _IMP_core.OrderedTypeTripletPredicate___str__(self)
11530 def __repr__(self):
11531 r"""__repr__(OrderedTypeTripletPredicate self) -> std::string"""
11532 return _IMP_core.OrderedTypeTripletPredicate___repr__(self)
11536 return _object_cast_to_OrderedTypeTripletPredicate(o)
11540 _IMP_core.OrderedTypeTripletPredicate_swigregister(OrderedTypeTripletPredicate)
11542 r"""Proxy of C++ IMP::core::AllSameTripletPredicate class."""
11544 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
11546 def __init__(self, *args):
11547 r"""__init__(AllSameTripletPredicate self, std::string name="AllSameTripletPredicate%1%") -> AllSameTripletPredicate"""
11548 _IMP_core.AllSameTripletPredicate_swiginit(self, _IMP_core.new_AllSameTripletPredicate(*args))
11550 def do_get_inputs(self, arg2, arg3):
11551 r"""do_get_inputs(AllSameTripletPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11552 return _IMP_core.AllSameTripletPredicate_do_get_inputs(self, arg2, arg3)
11554 def get_value(self, *args):
11556 get_value(AllSameTripletPredicate self, IMP::ParticleTriplet const & a) -> int
11557 get_value(AllSameTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
11559 return _IMP_core.AllSameTripletPredicate_get_value(self, *args)
11561 def get_value_index(self, *args):
11563 get_value_index(AllSameTripletPredicate self, Model m, IMP::ParticleIndexTriplet const & pi) -> int
11564 get_value_index(AllSameTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
11566 return _IMP_core.AllSameTripletPredicate_get_value_index(self, *args)
11568 def get_version_info(self):
11569 r"""get_version_info(AllSameTripletPredicate self) -> VersionInfo"""
11570 return _IMP_core.AllSameTripletPredicate_get_version_info(self)
11571 __swig_destroy__ = _IMP_core.delete_AllSameTripletPredicate
11574 r"""__str__(AllSameTripletPredicate self) -> std::string"""
11575 return _IMP_core.AllSameTripletPredicate___str__(self)
11577 def __repr__(self):
11578 r"""__repr__(AllSameTripletPredicate self) -> std::string"""
11579 return _IMP_core.AllSameTripletPredicate___repr__(self)
11583 return _object_cast_to_AllSameTripletPredicate(o)
11586 def _get_as_binary(self):
11587 r"""_get_as_binary(AllSameTripletPredicate self) -> PyObject *"""
11588 return _IMP_core.AllSameTripletPredicate__get_as_binary(self)
11590 def _set_from_binary(self, p):
11591 r"""_set_from_binary(AllSameTripletPredicate self, PyObject * p)"""
11592 return _IMP_core.AllSameTripletPredicate__set_from_binary(self, p)
11594 def __getstate__(self):
11595 p = self._get_as_binary()
11596 if len(self.__dict__) > 1:
11597 d = self.__dict__.copy()
11602 def __setstate__(self, p):
11603 if not hasattr(self,
'this'):
11605 if isinstance(p, tuple):
11607 self.__dict__.update(d)
11608 return self._set_from_binary(p)
11612 _IMP_core.AllSameTripletPredicate_swigregister(AllSameTripletPredicate)
11614 r"""Proxy of C++ IMP::core::CoinFlipTripletPredicate class."""
11616 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
11618 def __init__(self, *args):
11619 r"""__init__(CoinFlipTripletPredicate self, double p, std::string name="CoinFlipTripletPredicate%1%") -> CoinFlipTripletPredicate"""
11620 _IMP_core.CoinFlipTripletPredicate_swiginit(self, _IMP_core.new_CoinFlipTripletPredicate(*args))
11622 def do_get_inputs(self, arg2, arg3):
11623 r"""do_get_inputs(CoinFlipTripletPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11624 return _IMP_core.CoinFlipTripletPredicate_do_get_inputs(self, arg2, arg3)
11626 def get_value(self, *args):
11628 get_value(CoinFlipTripletPredicate self, IMP::ParticleTriplet const & a) -> int
11629 get_value(CoinFlipTripletPredicate self, IMP::ParticleTripletsTemp const & o) -> IMP::Ints
11631 return _IMP_core.CoinFlipTripletPredicate_get_value(self, *args)
11633 def get_value_index(self, *args):
11635 get_value_index(CoinFlipTripletPredicate self, Model arg2, IMP::ParticleIndexTriplet const & arg3) -> int
11636 get_value_index(CoinFlipTripletPredicate self, Model m, IMP::ParticleIndexTriplets const & o) -> IMP::Ints
11638 return _IMP_core.CoinFlipTripletPredicate_get_value_index(self, *args)
11640 def get_version_info(self):
11641 r"""get_version_info(CoinFlipTripletPredicate self) -> VersionInfo"""
11642 return _IMP_core.CoinFlipTripletPredicate_get_version_info(self)
11643 __swig_destroy__ = _IMP_core.delete_CoinFlipTripletPredicate
11646 r"""__str__(CoinFlipTripletPredicate self) -> std::string"""
11647 return _IMP_core.CoinFlipTripletPredicate___str__(self)
11649 def __repr__(self):
11650 r"""__repr__(CoinFlipTripletPredicate self) -> std::string"""
11651 return _IMP_core.CoinFlipTripletPredicate___repr__(self)
11655 return _object_cast_to_CoinFlipTripletPredicate(o)
11659 _IMP_core.CoinFlipTripletPredicate_swigregister(CoinFlipTripletPredicate)
11661 r"""Proxy of C++ IMP::core::ConstantQuadPredicate class."""
11663 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
11665 def __init__(self, *args):
11667 __init__(ConstantQuadPredicate self, int v, std::string name="ConstQuadPredicate%1%") -> ConstantQuadPredicate
11668 __init__(ConstantQuadPredicate self) -> ConstantQuadPredicate
11670 _IMP_core.ConstantQuadPredicate_swiginit(self, _IMP_core.new_ConstantQuadPredicate(*args))
11672 def do_get_inputs(self, arg2, arg3):
11673 r"""do_get_inputs(ConstantQuadPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11674 return _IMP_core.ConstantQuadPredicate_do_get_inputs(self, arg2, arg3)
11676 def get_value(self, *args):
11678 get_value(ConstantQuadPredicate self, IMP::ParticleQuad const & a) -> int
11679 get_value(ConstantQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
11681 return _IMP_core.ConstantQuadPredicate_get_value(self, *args)
11683 def get_value_index(self, *args):
11685 get_value_index(ConstantQuadPredicate self, Model arg2, IMP::ParticleIndexQuad const & arg3) -> int
11686 get_value_index(ConstantQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
11688 return _IMP_core.ConstantQuadPredicate_get_value_index(self, *args)
11690 def get_version_info(self):
11691 r"""get_version_info(ConstantQuadPredicate self) -> VersionInfo"""
11692 return _IMP_core.ConstantQuadPredicate_get_version_info(self)
11693 __swig_destroy__ = _IMP_core.delete_ConstantQuadPredicate
11696 r"""__str__(ConstantQuadPredicate self) -> std::string"""
11697 return _IMP_core.ConstantQuadPredicate___str__(self)
11699 def __repr__(self):
11700 r"""__repr__(ConstantQuadPredicate self) -> std::string"""
11701 return _IMP_core.ConstantQuadPredicate___repr__(self)
11705 return _object_cast_to_ConstantQuadPredicate(o)
11708 def _get_as_binary(self):
11709 r"""_get_as_binary(ConstantQuadPredicate self) -> PyObject *"""
11710 return _IMP_core.ConstantQuadPredicate__get_as_binary(self)
11712 def _set_from_binary(self, p):
11713 r"""_set_from_binary(ConstantQuadPredicate self, PyObject * p)"""
11714 return _IMP_core.ConstantQuadPredicate__set_from_binary(self, p)
11716 def __getstate__(self):
11717 p = self._get_as_binary()
11718 if len(self.__dict__) > 1:
11719 d = self.__dict__.copy()
11724 def __setstate__(self, p):
11725 if not hasattr(self,
'this'):
11727 if isinstance(p, tuple):
11729 self.__dict__.update(d)
11730 return self._set_from_binary(p)
11734 _IMP_core.ConstantQuadPredicate_swigregister(ConstantQuadPredicate)
11736 r"""Proxy of C++ IMP::core::UnorderedTypeQuadPredicate class."""
11738 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
11740 def __init__(self, *args):
11741 r"""__init__(UnorderedTypeQuadPredicate self, std::string name="UnorderedTypeQuadPredicate%1%") -> UnorderedTypeQuadPredicate"""
11742 _IMP_core.UnorderedTypeQuadPredicate_swiginit(self, _IMP_core.new_UnorderedTypeQuadPredicate(*args))
11744 def do_get_inputs(self, m, pis):
11745 r"""do_get_inputs(UnorderedTypeQuadPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
11746 return _IMP_core.UnorderedTypeQuadPredicate_do_get_inputs(self, m, pis)
11748 def get_value(self, *args):
11750 get_value(UnorderedTypeQuadPredicate self, IMP::ParticleQuad const & a) -> int
11751 get_value(UnorderedTypeQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
11753 return _IMP_core.UnorderedTypeQuadPredicate_get_value(self, *args)
11755 def get_value_index(self, *args):
11757 get_value_index(UnorderedTypeQuadPredicate self, Model m, IMP::ParticleIndexQuad const & pi) -> int
11758 get_value_index(UnorderedTypeQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
11760 return _IMP_core.UnorderedTypeQuadPredicate_get_value_index(self, *args)
11762 def get_version_info(self):
11763 r"""get_version_info(UnorderedTypeQuadPredicate self) -> VersionInfo"""
11764 return _IMP_core.UnorderedTypeQuadPredicate_get_version_info(self)
11765 __swig_destroy__ = _IMP_core.delete_UnorderedTypeQuadPredicate
11768 r"""__str__(UnorderedTypeQuadPredicate self) -> std::string"""
11769 return _IMP_core.UnorderedTypeQuadPredicate___str__(self)
11771 def __repr__(self):
11772 r"""__repr__(UnorderedTypeQuadPredicate self) -> std::string"""
11773 return _IMP_core.UnorderedTypeQuadPredicate___repr__(self)
11777 return _object_cast_to_UnorderedTypeQuadPredicate(o)
11780 def _get_as_binary(self):
11781 r"""_get_as_binary(UnorderedTypeQuadPredicate self) -> PyObject *"""
11782 return _IMP_core.UnorderedTypeQuadPredicate__get_as_binary(self)
11784 def _set_from_binary(self, p):
11785 r"""_set_from_binary(UnorderedTypeQuadPredicate self, PyObject * p)"""
11786 return _IMP_core.UnorderedTypeQuadPredicate__set_from_binary(self, p)
11788 def __getstate__(self):
11789 p = self._get_as_binary()
11790 if len(self.__dict__) > 1:
11791 d = self.__dict__.copy()
11796 def __setstate__(self, p):
11797 if not hasattr(self,
'this'):
11799 if isinstance(p, tuple):
11801 self.__dict__.update(d)
11802 return self._set_from_binary(p)
11806 _IMP_core.UnorderedTypeQuadPredicate_swigregister(UnorderedTypeQuadPredicate)
11808 r"""Proxy of C++ IMP::core::OrderedTypeQuadPredicate class."""
11810 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
11812 def __init__(self, *args):
11813 r"""__init__(OrderedTypeQuadPredicate self, std::string name="OrderedTypeQuadPredicate%1%") -> OrderedTypeQuadPredicate"""
11814 _IMP_core.OrderedTypeQuadPredicate_swiginit(self, _IMP_core.new_OrderedTypeQuadPredicate(*args))
11816 def do_get_inputs(self, m, pis):
11817 r"""do_get_inputs(OrderedTypeQuadPredicate self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
11818 return _IMP_core.OrderedTypeQuadPredicate_do_get_inputs(self, m, pis)
11820 def get_value(self, *args):
11822 get_value(OrderedTypeQuadPredicate self, IMP::core::ParticleTypes const & types) -> int
11823 get_value(OrderedTypeQuadPredicate self, IMP::ParticleQuad const & a) -> int
11824 get_value(OrderedTypeQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
11826 return _IMP_core.OrderedTypeQuadPredicate_get_value(self, *args)
11828 def get_value_index(self, *args):
11830 get_value_index(OrderedTypeQuadPredicate self, Model m, IMP::ParticleIndexQuad const & pi) -> int
11831 get_value_index(OrderedTypeQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
11833 return _IMP_core.OrderedTypeQuadPredicate_get_value_index(self, *args)
11835 def get_version_info(self):
11836 r"""get_version_info(OrderedTypeQuadPredicate self) -> VersionInfo"""
11837 return _IMP_core.OrderedTypeQuadPredicate_get_version_info(self)
11838 __swig_destroy__ = _IMP_core.delete_OrderedTypeQuadPredicate
11841 r"""__str__(OrderedTypeQuadPredicate self) -> std::string"""
11842 return _IMP_core.OrderedTypeQuadPredicate___str__(self)
11844 def __repr__(self):
11845 r"""__repr__(OrderedTypeQuadPredicate self) -> std::string"""
11846 return _IMP_core.OrderedTypeQuadPredicate___repr__(self)
11850 return _object_cast_to_OrderedTypeQuadPredicate(o)
11854 _IMP_core.OrderedTypeQuadPredicate_swigregister(OrderedTypeQuadPredicate)
11856 r"""Proxy of C++ IMP::core::AllSameQuadPredicate class."""
11858 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
11860 def __init__(self, *args):
11861 r"""__init__(AllSameQuadPredicate self, std::string name="AllSameQuadPredicate%1%") -> AllSameQuadPredicate"""
11862 _IMP_core.AllSameQuadPredicate_swiginit(self, _IMP_core.new_AllSameQuadPredicate(*args))
11864 def do_get_inputs(self, arg2, arg3):
11865 r"""do_get_inputs(AllSameQuadPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11866 return _IMP_core.AllSameQuadPredicate_do_get_inputs(self, arg2, arg3)
11868 def get_value(self, *args):
11870 get_value(AllSameQuadPredicate self, IMP::ParticleQuad const & a) -> int
11871 get_value(AllSameQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
11873 return _IMP_core.AllSameQuadPredicate_get_value(self, *args)
11875 def get_value_index(self, *args):
11877 get_value_index(AllSameQuadPredicate self, Model m, IMP::ParticleIndexQuad const & pi) -> int
11878 get_value_index(AllSameQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
11880 return _IMP_core.AllSameQuadPredicate_get_value_index(self, *args)
11882 def get_version_info(self):
11883 r"""get_version_info(AllSameQuadPredicate self) -> VersionInfo"""
11884 return _IMP_core.AllSameQuadPredicate_get_version_info(self)
11885 __swig_destroy__ = _IMP_core.delete_AllSameQuadPredicate
11888 r"""__str__(AllSameQuadPredicate self) -> std::string"""
11889 return _IMP_core.AllSameQuadPredicate___str__(self)
11891 def __repr__(self):
11892 r"""__repr__(AllSameQuadPredicate self) -> std::string"""
11893 return _IMP_core.AllSameQuadPredicate___repr__(self)
11897 return _object_cast_to_AllSameQuadPredicate(o)
11900 def _get_as_binary(self):
11901 r"""_get_as_binary(AllSameQuadPredicate self) -> PyObject *"""
11902 return _IMP_core.AllSameQuadPredicate__get_as_binary(self)
11904 def _set_from_binary(self, p):
11905 r"""_set_from_binary(AllSameQuadPredicate self, PyObject * p)"""
11906 return _IMP_core.AllSameQuadPredicate__set_from_binary(self, p)
11908 def __getstate__(self):
11909 p = self._get_as_binary()
11910 if len(self.__dict__) > 1:
11911 d = self.__dict__.copy()
11916 def __setstate__(self, p):
11917 if not hasattr(self,
'this'):
11919 if isinstance(p, tuple):
11921 self.__dict__.update(d)
11922 return self._set_from_binary(p)
11926 _IMP_core.AllSameQuadPredicate_swigregister(AllSameQuadPredicate)
11928 r"""Proxy of C++ IMP::core::CoinFlipQuadPredicate class."""
11930 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
11932 def __init__(self, *args):
11933 r"""__init__(CoinFlipQuadPredicate self, double p, std::string name="CoinFlipQuadPredicate%1%") -> CoinFlipQuadPredicate"""
11934 _IMP_core.CoinFlipQuadPredicate_swiginit(self, _IMP_core.new_CoinFlipQuadPredicate(*args))
11936 def do_get_inputs(self, arg2, arg3):
11937 r"""do_get_inputs(CoinFlipQuadPredicate self, Model arg2, IMP::ParticleIndexes const & arg3) -> IMP::ModelObjectsTemp"""
11938 return _IMP_core.CoinFlipQuadPredicate_do_get_inputs(self, arg2, arg3)
11940 def get_value(self, *args):
11942 get_value(CoinFlipQuadPredicate self, IMP::ParticleQuad const & a) -> int
11943 get_value(CoinFlipQuadPredicate self, IMP::ParticleQuadsTemp const & o) -> IMP::Ints
11945 return _IMP_core.CoinFlipQuadPredicate_get_value(self, *args)
11947 def get_value_index(self, *args):
11949 get_value_index(CoinFlipQuadPredicate self, Model arg2, IMP::ParticleIndexQuad const & arg3) -> int
11950 get_value_index(CoinFlipQuadPredicate self, Model m, IMP::ParticleIndexQuads const & o) -> IMP::Ints
11952 return _IMP_core.CoinFlipQuadPredicate_get_value_index(self, *args)
11954 def get_version_info(self):
11955 r"""get_version_info(CoinFlipQuadPredicate self) -> VersionInfo"""
11956 return _IMP_core.CoinFlipQuadPredicate_get_version_info(self)
11957 __swig_destroy__ = _IMP_core.delete_CoinFlipQuadPredicate
11960 r"""__str__(CoinFlipQuadPredicate self) -> std::string"""
11961 return _IMP_core.CoinFlipQuadPredicate___str__(self)
11963 def __repr__(self):
11964 r"""__repr__(CoinFlipQuadPredicate self) -> std::string"""
11965 return _IMP_core.CoinFlipQuadPredicate___repr__(self)
11969 return _object_cast_to_CoinFlipQuadPredicate(o)
11973 _IMP_core.CoinFlipQuadPredicate_swigregister(CoinFlipQuadPredicate)
11975 r"""Proxy of C++ IMP::core::InBoundingBox3DSingletonPredicate class."""
11977 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
11979 def __init__(self, *args):
11980 r"""__init__(InBoundingBox3DSingletonPredicate self, BoundingBox3D bb, std::string name="InBoundingBox3DSingletonPredicate%1%") -> InBoundingBox3DSingletonPredicate"""
11981 _IMP_core.InBoundingBox3DSingletonPredicate_swiginit(self, _IMP_core.new_InBoundingBox3DSingletonPredicate(*args))
11983 def do_get_inputs(self, m, pi):
11984 r"""do_get_inputs(InBoundingBox3DSingletonPredicate self, Model m, IMP::ParticleIndexes const & pi) -> IMP::ModelObjectsTemp"""
11985 return _IMP_core.InBoundingBox3DSingletonPredicate_do_get_inputs(self, m, pi)
11987 def get_value(self, *args):
11989 get_value(InBoundingBox3DSingletonPredicate self, Particle a) -> int
11990 get_value(InBoundingBox3DSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
11992 return _IMP_core.InBoundingBox3DSingletonPredicate_get_value(self, *args)
11994 def get_value_index(self, *args):
11996 get_value_index(InBoundingBox3DSingletonPredicate self, Model m, ParticleIndex pi) -> int
11997 get_value_index(InBoundingBox3DSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
11999 return _IMP_core.InBoundingBox3DSingletonPredicate_get_value_index(self, *args)
12001 def get_version_info(self):
12002 r"""get_version_info(InBoundingBox3DSingletonPredicate self) -> VersionInfo"""
12003 return _IMP_core.InBoundingBox3DSingletonPredicate_get_version_info(self)
12004 __swig_destroy__ = _IMP_core.delete_InBoundingBox3DSingletonPredicate
12007 r"""__str__(InBoundingBox3DSingletonPredicate self) -> std::string"""
12008 return _IMP_core.InBoundingBox3DSingletonPredicate___str__(self)
12010 def __repr__(self):
12011 r"""__repr__(InBoundingBox3DSingletonPredicate self) -> std::string"""
12012 return _IMP_core.InBoundingBox3DSingletonPredicate___repr__(self)
12016 return _object_cast_to_InBoundingBox3DSingletonPredicate(o)
12020 _IMP_core.InBoundingBox3DSingletonPredicate_swigregister(InBoundingBox3DSingletonPredicate)
12022 r"""Proxy of C++ IMP::core::AttributeSingletonPredicate class."""
12024 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
12026 def __init__(self, *args):
12027 r"""__init__(AttributeSingletonPredicate self, IntKey bb, std::string name="AttributeSingletonPredicate%1%") -> AttributeSingletonPredicate"""
12028 _IMP_core.AttributeSingletonPredicate_swiginit(self, _IMP_core.new_AttributeSingletonPredicate(*args))
12030 def do_get_inputs(self, m, pi):
12031 r"""do_get_inputs(AttributeSingletonPredicate self, Model m, IMP::ParticleIndexes const & pi) -> IMP::ModelObjectsTemp"""
12032 return _IMP_core.AttributeSingletonPredicate_do_get_inputs(self, m, pi)
12034 def get_value(self, *args):
12036 get_value(AttributeSingletonPredicate self, Particle a) -> int
12037 get_value(AttributeSingletonPredicate self, IMP::ParticlesTemp const & o) -> IMP::Ints
12039 return _IMP_core.AttributeSingletonPredicate_get_value(self, *args)
12041 def get_value_index(self, *args):
12043 get_value_index(AttributeSingletonPredicate self, Model m, ParticleIndex pi) -> int
12044 get_value_index(AttributeSingletonPredicate self, Model m, IMP::ParticleIndexes const & o) -> IMP::Ints
12046 return _IMP_core.AttributeSingletonPredicate_get_value_index(self, *args)
12048 def get_version_info(self):
12049 r"""get_version_info(AttributeSingletonPredicate self) -> VersionInfo"""
12050 return _IMP_core.AttributeSingletonPredicate_get_version_info(self)
12051 __swig_destroy__ = _IMP_core.delete_AttributeSingletonPredicate
12054 r"""__str__(AttributeSingletonPredicate self) -> std::string"""
12055 return _IMP_core.AttributeSingletonPredicate___str__(self)
12057 def __repr__(self):
12058 r"""__repr__(AttributeSingletonPredicate self) -> std::string"""
12059 return _IMP_core.AttributeSingletonPredicate___repr__(self)
12063 return _object_cast_to_AttributeSingletonPredicate(o)
12067 _IMP_core.AttributeSingletonPredicate_swigregister(AttributeSingletonPredicate)
12069 r"""Proxy of C++ IMP::core::IsCollisionPairPredicate class."""
12071 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
12073 def __init__(self, *args):
12074 r"""__init__(IsCollisionPairPredicate self, std::string name="CollisionPairPredicate%1%") -> IsCollisionPairPredicate"""
12075 _IMP_core.IsCollisionPairPredicate_swiginit(self, _IMP_core.new_IsCollisionPairPredicate(*args))
12077 def do_get_inputs(self, m, pi):
12078 r"""do_get_inputs(IsCollisionPairPredicate self, Model m, IMP::ParticleIndexes const & pi) -> IMP::ModelObjectsTemp"""
12079 return _IMP_core.IsCollisionPairPredicate_do_get_inputs(self, m, pi)
12081 def get_value(self, *args):
12083 get_value(IsCollisionPairPredicate self, IMP::ParticlePair const & a) -> int
12084 get_value(IsCollisionPairPredicate self, IMP::ParticlePairsTemp const & o) -> IMP::Ints
12086 return _IMP_core.IsCollisionPairPredicate_get_value(self, *args)
12088 def get_value_index(self, *args):
12090 get_value_index(IsCollisionPairPredicate self, Model m, IMP::ParticleIndexPair const & pi) -> int
12091 get_value_index(IsCollisionPairPredicate self, Model m, IMP::ParticleIndexPairs const & o) -> IMP::Ints
12093 return _IMP_core.IsCollisionPairPredicate_get_value_index(self, *args)
12095 def get_version_info(self):
12096 r"""get_version_info(IsCollisionPairPredicate self) -> VersionInfo"""
12097 return _IMP_core.IsCollisionPairPredicate_get_version_info(self)
12098 __swig_destroy__ = _IMP_core.delete_IsCollisionPairPredicate
12101 r"""__str__(IsCollisionPairPredicate self) -> std::string"""
12102 return _IMP_core.IsCollisionPairPredicate___str__(self)
12104 def __repr__(self):
12105 r"""__repr__(IsCollisionPairPredicate self) -> std::string"""
12106 return _IMP_core.IsCollisionPairPredicate___repr__(self)
12110 return _object_cast_to_IsCollisionPairPredicate(o)
12114 _IMP_core.IsCollisionPairPredicate_swigregister(IsCollisionPairPredicate)
12115 class AngleRestraint(TripletRestraint):
12116 r"""Proxy of C++ IMP::core::AngleRestraint class."""
12118 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
12120 def __init__(self, *args):
12122 __init__(AngleRestraint self, Model m, UnaryFunction score_func, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2, _ParticleIndexAdaptor p3) -> AngleRestraint
12123 __init__(AngleRestraint self) -> AngleRestraint
12125 _IMP_core.AngleRestraint_swiginit(self, _IMP_core.new_AngleRestraint(*args))
12126 __swig_destroy__ = _IMP_core.delete_AngleRestraint
12129 r"""__str__(AngleRestraint self) -> std::string"""
12130 return _IMP_core.AngleRestraint___str__(self)
12132 def __repr__(self):
12133 r"""__repr__(AngleRestraint self) -> std::string"""
12134 return _IMP_core.AngleRestraint___repr__(self)
12138 return _object_cast_to_AngleRestraint(o)
12141 def _get_as_binary(self):
12142 r"""_get_as_binary(AngleRestraint self) -> PyObject *"""
12143 return _IMP_core.AngleRestraint__get_as_binary(self)
12145 def _set_from_binary(self, p):
12146 r"""_set_from_binary(AngleRestraint self, PyObject * p)"""
12147 return _IMP_core.AngleRestraint__set_from_binary(self, p)
12149 def __getstate__(self):
12150 p = self._get_as_binary()
12151 if len(self.__dict__) > 1:
12152 d = self.__dict__.copy()
12157 def __setstate__(self, p):
12158 if not hasattr(self,
'this'):
12160 if isinstance(p, tuple):
12162 self.__dict__.update(d)
12163 return self._set_from_binary(p)
12167 _IMP_core.AngleRestraint_swigregister(AngleRestraint)
12168 class RigidBodyMover(MonteCarloMover):
12169 r"""Proxy of C++ IMP::core::RigidBodyMover class."""
12171 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
12173 def __init__(self, *args):
12175 __init__(RigidBodyMover self, Model m, ParticleIndex pi, IMP::Float max_translation, IMP::Float max_rotation) -> RigidBodyMover
12176 __init__(RigidBodyMover self) -> RigidBodyMover
12178 _IMP_core.RigidBodyMover_swiginit(self, _IMP_core.new_RigidBodyMover(*args))
12180 def set_maximum_translation(self, mt):
12181 r"""set_maximum_translation(RigidBodyMover self, IMP::Float mt)"""
12182 return _IMP_core.RigidBodyMover_set_maximum_translation(self, mt)
12184 def set_maximum_rotation(self, mr):
12185 r"""set_maximum_rotation(RigidBodyMover self, IMP::Float mr)"""
12186 return _IMP_core.RigidBodyMover_set_maximum_rotation(self, mr)
12188 def get_maximum_translation(self):
12189 r"""get_maximum_translation(RigidBodyMover self) -> IMP::Float"""
12190 return _IMP_core.RigidBodyMover_get_maximum_translation(self)
12192 def get_maximum_rotation(self):
12193 r"""get_maximum_rotation(RigidBodyMover self) -> IMP::Float"""
12194 return _IMP_core.RigidBodyMover_get_maximum_rotation(self)
12196 def get_version_info(self):
12197 r"""get_version_info(RigidBodyMover self) -> VersionInfo"""
12198 return _IMP_core.RigidBodyMover_get_version_info(self)
12199 __swig_destroy__ = _IMP_core.delete_RigidBodyMover
12202 r"""__str__(RigidBodyMover self) -> std::string"""
12203 return _IMP_core.RigidBodyMover___str__(self)
12205 def __repr__(self):
12206 r"""__repr__(RigidBodyMover self) -> std::string"""
12207 return _IMP_core.RigidBodyMover___repr__(self)
12211 return _object_cast_to_RigidBodyMover(o)
12214 def _get_as_binary(self):
12215 r"""_get_as_binary(RigidBodyMover self) -> PyObject *"""
12216 return _IMP_core.RigidBodyMover__get_as_binary(self)
12218 def _set_from_binary(self, p):
12219 r"""_set_from_binary(RigidBodyMover self, PyObject * p)"""
12220 return _IMP_core.RigidBodyMover__set_from_binary(self, p)
12222 def __getstate__(self):
12223 p = self._get_as_binary()
12224 if len(self.__dict__) > 1:
12225 d = self.__dict__.copy()
12230 def __setstate__(self, p):
12231 if not hasattr(self,
'this'):
12233 if isinstance(p, tuple):
12235 self.__dict__.update(d)
12236 return self._set_from_binary(p)
12240 _IMP_core.RigidBodyMover_swigregister(RigidBodyMover)
12241 class RigidBodyTunneler(MonteCarloMover):
12242 r"""Proxy of C++ IMP::core::RigidBodyTunneler class."""
12244 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
12246 def __init__(self, m, pis, ref, k, move_probability=1.):
12247 r"""__init__(RigidBodyTunneler self, Model m, IMP::ParticleIndexes pis, ParticleIndex ref, double k, double move_probability=1.) -> RigidBodyTunneler"""
12248 _IMP_core.RigidBodyTunneler_swiginit(self, _IMP_core.new_RigidBodyTunneler(m, pis, ref, k, move_probability))
12250 def add_entry_point(self, fl):
12251 r"""add_entry_point(RigidBodyTunneler self, IMP::Floats fl)"""
12252 return _IMP_core.RigidBodyTunneler_add_entry_point(self, fl)
12254 def reset_stats(self):
12255 r"""reset_stats(RigidBodyTunneler self)"""
12256 return _IMP_core.RigidBodyTunneler_reset_stats(self)
12258 def get_number_of_rejected_moves(self):
12259 r"""get_number_of_rejected_moves(RigidBodyTunneler self) -> unsigned int"""
12260 return _IMP_core.RigidBodyTunneler_get_number_of_rejected_moves(self)
12262 def get_number_of_proposed_moves(self):
12263 r"""get_number_of_proposed_moves(RigidBodyTunneler self) -> unsigned int"""
12264 return _IMP_core.RigidBodyTunneler_get_number_of_proposed_moves(self)
12266 def get_number_of_impossible_moves(self):
12267 r"""get_number_of_impossible_moves(RigidBodyTunneler self) -> unsigned int"""
12268 return _IMP_core.RigidBodyTunneler_get_number_of_impossible_moves(self)
12270 def get_number_of_calls(self):
12271 r"""get_number_of_calls(RigidBodyTunneler self) -> unsigned int"""
12272 return _IMP_core.RigidBodyTunneler_get_number_of_calls(self)
12275 def get_reduced_coordinates(*args):
12277 get_reduced_coordinates(Model m, ParticleIndex target, ParticleIndex ref) -> IMP::Floats
12278 get_reduced_coordinates(Model m, ParticleIndex pi) -> IMP::Floats
12280 return _IMP_core.RigidBodyTunneler_get_reduced_coordinates(*args)
12283 def set_reduced_coordinates(m, target, ref, coords):
12284 r"""set_reduced_coordinates(Model m, ParticleIndex target, ParticleIndex ref, IMP::Floats coords)"""
12285 return _IMP_core.RigidBodyTunneler_set_reduced_coordinates(m, target, ref, coords)
12287 def get_version_info(self):
12288 r"""get_version_info(RigidBodyTunneler self) -> VersionInfo"""
12289 return _IMP_core.RigidBodyTunneler_get_version_info(self)
12290 __swig_destroy__ = _IMP_core.delete_RigidBodyTunneler
12293 r"""__str__(RigidBodyTunneler self) -> std::string"""
12294 return _IMP_core.RigidBodyTunneler___str__(self)
12296 def __repr__(self):
12297 r"""__repr__(RigidBodyTunneler self) -> std::string"""
12298 return _IMP_core.RigidBodyTunneler___repr__(self)
12302 return _object_cast_to_RigidBodyTunneler(o)
12306 _IMP_core.RigidBodyTunneler_swigregister(RigidBodyTunneler)
12308 r"""Proxy of C++ IMP::core::RigidBodyUmbrella class."""
12310 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
12312 def __init__(self, *args):
12314 __init__(RigidBodyUmbrella self, Model m, ParticleIndex pi, ParticleIndex ref, IMP::Floats x0, double alpha, double k, std::string name="RigidBodyUmbrella %1%") -> RigidBodyUmbrella
12315 __init__(RigidBodyUmbrella self, Model m, ParticleIndex pi, ParticleIndex ref, double _lambda, IMP::Floats x1, IMP::Floats x2, double alpha, double k, std::string name="RigidBodyUmbrella %1%") -> RigidBodyUmbrella
12317 _IMP_core.RigidBodyUmbrella_swiginit(self, _IMP_core.new_RigidBodyUmbrella(*args))
12319 def set_x0(self, *args):
12321 set_x0(RigidBodyUmbrella self, IMP::Floats x0)
12322 set_x0(RigidBodyUmbrella self, double _lambda, IMP::Floats x1, IMP::Floats x2)
12324 return _IMP_core.RigidBodyUmbrella_set_x0(self, *args)
12327 r"""get_x0(RigidBodyUmbrella self) -> IMP::Floats"""
12328 return _IMP_core.RigidBodyUmbrella_get_x0(self)
12331 r"""get_x(RigidBodyUmbrella self) -> IMP::Floats"""
12332 return _IMP_core.RigidBodyUmbrella_get_x(self)
12334 def set_alpha(self, alpha):
12335 r"""set_alpha(RigidBodyUmbrella self, double alpha)"""
12336 return _IMP_core.RigidBodyUmbrella_set_alpha(self, alpha)
12338 def set_k(self, k):
12339 r"""set_k(RigidBodyUmbrella self, double k)"""
12340 return _IMP_core.RigidBodyUmbrella_set_k(self, k)
12342 def get_version_info(self):
12343 r"""get_version_info(RigidBodyUmbrella self) -> VersionInfo"""
12344 return _IMP_core.RigidBodyUmbrella_get_version_info(self)
12345 __swig_destroy__ = _IMP_core.delete_RigidBodyUmbrella
12348 r"""__str__(RigidBodyUmbrella self) -> std::string"""
12349 return _IMP_core.RigidBodyUmbrella___str__(self)
12351 def __repr__(self):
12352 r"""__repr__(RigidBodyUmbrella self) -> std::string"""
12353 return _IMP_core.RigidBodyUmbrella___repr__(self)
12357 return _object_cast_to_RigidBodyUmbrella(o)
12361 _IMP_core.RigidBodyUmbrella_swigregister(RigidBodyUmbrella)
12363 r"""Proxy of C++ IMP::core::VolumeRestraint class."""
12365 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
12367 def __init__(self, f, sc, volume):
12368 r"""__init__(VolumeRestraint self, UnaryFunction f, SingletonContainer sc, double volume) -> VolumeRestraint"""
12369 _IMP_core.VolumeRestraint_swiginit(self, _IMP_core.new_VolumeRestraint(f, sc, volume))
12371 def do_get_inputs(self):
12372 r"""do_get_inputs(VolumeRestraint self) -> IMP::ModelObjectsTemp"""
12373 return _IMP_core.VolumeRestraint_do_get_inputs(self)
12375 def get_version_info(self):
12376 r"""get_version_info(VolumeRestraint self) -> VersionInfo"""
12377 return _IMP_core.VolumeRestraint_get_version_info(self)
12378 __swig_destroy__ = _IMP_core.delete_VolumeRestraint
12381 r"""__str__(VolumeRestraint self) -> std::string"""
12382 return _IMP_core.VolumeRestraint___str__(self)
12384 def __repr__(self):
12385 r"""__repr__(VolumeRestraint self) -> std::string"""
12386 return _IMP_core.VolumeRestraint___repr__(self)
12390 return _object_cast_to_VolumeRestraint(o)
12394 _IMP_core.VolumeRestraint_swigregister(VolumeRestraint)
12397 r"""get_centroid(IMP::core::XYZs const & ps) -> Vector3D"""
12398 return _IMP_core.get_centroid(ps)
12401 r"""get_bounding_box(IMP::core::XYZRs const & ps) -> BoundingBox3D"""
12402 return _IMP_core.get_bounding_box(ps)
12404 r"""Proxy of C++ IMP::core::MoveStatisticsScoreState class."""
12406 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
12408 def __init__(self, ps):
12409 r"""__init__(MoveStatisticsScoreState self, IMP::ParticlesTemp const & ps) -> MoveStatisticsScoreState"""
12410 _IMP_core.MoveStatisticsScoreState_swiginit(self, _IMP_core.new_MoveStatisticsScoreState(ps))
12412 def show_statistics(self, *args):
12413 r"""show_statistics(MoveStatisticsScoreState self, _ostream out=std::cout)"""
12414 return _IMP_core.MoveStatisticsScoreState_show_statistics(self, *args)
12417 r"""reset(MoveStatisticsScoreState self)"""
12418 return _IMP_core.MoveStatisticsScoreState_reset(self)
12420 def do_before_evaluate(self):
12421 r"""do_before_evaluate(MoveStatisticsScoreState self)"""
12422 return _IMP_core.MoveStatisticsScoreState_do_before_evaluate(self)
12424 def do_after_evaluate(self, da):
12425 r"""do_after_evaluate(MoveStatisticsScoreState self, DerivativeAccumulator da)"""
12426 return _IMP_core.MoveStatisticsScoreState_do_after_evaluate(self, da)
12428 def do_get_inputs(self):
12429 r"""do_get_inputs(MoveStatisticsScoreState self) -> IMP::ModelObjectsTemp"""
12430 return _IMP_core.MoveStatisticsScoreState_do_get_inputs(self)
12432 def do_get_outputs(self):
12433 r"""do_get_outputs(MoveStatisticsScoreState self) -> IMP::ModelObjectsTemp"""
12434 return _IMP_core.MoveStatisticsScoreState_do_get_outputs(self)
12436 def get_version_info(self):
12437 r"""get_version_info(MoveStatisticsScoreState self) -> VersionInfo"""
12438 return _IMP_core.MoveStatisticsScoreState_get_version_info(self)
12439 __swig_destroy__ = _IMP_core.delete_MoveStatisticsScoreState
12442 r"""__str__(MoveStatisticsScoreState self) -> std::string"""
12443 return _IMP_core.MoveStatisticsScoreState___str__(self)
12445 def __repr__(self):
12446 r"""__repr__(MoveStatisticsScoreState self) -> std::string"""
12447 return _IMP_core.MoveStatisticsScoreState___repr__(self)
12451 return _object_cast_to_MoveStatisticsScoreState(o)
12455 _IMP_core.MoveStatisticsScoreState_swigregister(MoveStatisticsScoreState)
12456 IMP_PARTICLE_TYPE_INDEX = _IMP_core.IMP_PARTICLE_TYPE_INDEX
12459 r"""Proxy of C++ IMP::core::Typed class."""
12461 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
12464 def get_type_key():
12465 r"""get_type_key() -> IntKey"""
12466 return _IMP_core.Typed_get_type_key()
12468 def __init__(self, *args):
12470 __init__(Typed self) -> Typed
12471 __init__(Typed self, Model m, ParticleIndex id) -> Typed
12472 __init__(Typed self, _ParticleAdaptor d) -> Typed
12474 _IMP_core.Typed_swiginit(self, _IMP_core.new_Typed(*args))
12476 def show(self, *args):
12477 r"""show(Typed self, _ostream out=std::cout)"""
12478 return _IMP_core.Typed_show(self, *args)
12481 def setup_particle(*args):
12483 setup_particle(Model m, ParticleIndex pi, ParticleType t) -> Typed
12484 setup_particle(_ParticleAdaptor pa, ParticleType t) -> Typed
12486 return _IMP_core.Typed_setup_particle(*args)
12489 def get_is_setup(*args):
12491 get_is_setup(_ParticleAdaptor p) -> bool
12492 get_is_setup(Model m, ParticleIndex pi) -> bool
12494 return _IMP_core.Typed_get_is_setup(*args)
12496 def get_type(self):
12497 r"""get_type(Typed self) -> ParticleType"""
12498 return _IMP_core.Typed_get_type(self)
12500 def set_type(self, pt):
12501 r"""set_type(Typed self, ParticleType pt)"""
12502 return _IMP_core.Typed_set_type(self, pt)
12504 def add_attribute(self, *args):
12506 add_attribute(Typed self, FloatKey k, IMP::Float v, bool opt)
12507 add_attribute(Typed self, FloatKey a0, IMP::Float a1)
12508 add_attribute(Typed self, IntKey a0, IMP::Int a1)
12509 add_attribute(Typed self, FloatsKey a0, IMP::Floats a1)
12510 add_attribute(Typed self, IntsKey a0, IMP::Ints a1)
12511 add_attribute(Typed self, StringKey a0, IMP::String a1)
12512 add_attribute(Typed self, ParticleIndexKey a0, Particle a1)
12513 add_attribute(Typed self, ObjectKey a0, Object a1)
12515 return _IMP_core.Typed_add_attribute(self, *args)
12517 def get_value(self, *args):
12519 get_value(Typed self, FloatKey a0) -> IMP::Float
12520 get_value(Typed self, IntKey a0) -> IMP::Int
12521 get_value(Typed self, FloatsKey a0) -> IMP::Floats
12522 get_value(Typed self, IntsKey a0) -> IMP::Ints
12523 get_value(Typed self, StringKey a0) -> IMP::String
12524 get_value(Typed self, ParticleIndexKey a0) -> Particle
12525 get_value(Typed self, ObjectKey a0) -> Object
12527 return _IMP_core.Typed_get_value(self, *args)
12529 def set_value(self, *args):
12531 set_value(Typed self, FloatKey a0, IMP::Float a1)
12532 set_value(Typed self, IntKey a0, IMP::Int a1)
12533 set_value(Typed self, FloatsKey a0, IMP::Floats a1)
12534 set_value(Typed self, IntsKey a0, IMP::Ints a1)
12535 set_value(Typed self, StringKey a0, IMP::String a1)
12536 set_value(Typed self, ParticleIndexKey a0, Particle a1)
12537 set_value(Typed self, ObjectKey a0, Object a1)
12539 return _IMP_core.Typed_set_value(self, *args)
12541 def remove_attribute(self, *args):
12543 remove_attribute(Typed self, FloatKey a0)
12544 remove_attribute(Typed self, IntKey a0)
12545 remove_attribute(Typed self, FloatsKey a0)
12546 remove_attribute(Typed self, IntsKey a0)
12547 remove_attribute(Typed self, StringKey a0)
12548 remove_attribute(Typed self, ParticleIndexKey a0)
12549 remove_attribute(Typed self, ObjectKey a0)
12551 return _IMP_core.Typed_remove_attribute(self, *args)
12553 def has_attribute(self, *args):
12555 has_attribute(Typed self, FloatKey a0) -> bool
12556 has_attribute(Typed self, IntKey a0) -> bool
12557 has_attribute(Typed self, FloatsKey a0) -> bool
12558 has_attribute(Typed self, IntsKey a0) -> bool
12559 has_attribute(Typed self, StringKey a0) -> bool
12560 has_attribute(Typed self, ParticleIndexKey a0) -> bool
12561 has_attribute(Typed self, ObjectKey a0) -> bool
12563 return _IMP_core.Typed_has_attribute(self, *args)
12565 def get_derivative(self, a0):
12566 r"""get_derivative(Typed self, FloatKey a0) -> double"""
12567 return _IMP_core.Typed_get_derivative(self, a0)
12569 def get_name(self):
12570 r"""get_name(Typed self) -> std::string"""
12571 return _IMP_core.Typed_get_name(self)
12573 def clear_caches(self):
12574 r"""clear_caches(Typed self)"""
12575 return _IMP_core.Typed_clear_caches(self)
12577 def set_name(self, a0):
12578 r"""set_name(Typed self, std::string a0)"""
12579 return _IMP_core.Typed_set_name(self, a0)
12582 r"""set_check_level(Typed self, IMP::CheckLevel a0)"""
12583 return _IMP_core.Typed_set_check_level(self, a0)
12585 def add_to_derivative(self, a0, a1, a2):
12586 r"""add_to_derivative(Typed self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
12587 return _IMP_core.Typed_add_to_derivative(self, a0, a1, a2)
12589 def set_is_optimized(self, a0, a1):
12590 r"""set_is_optimized(Typed self, FloatKey a0, bool a1)"""
12591 return _IMP_core.Typed_set_is_optimized(self, a0, a1)
12593 def get_is_optimized(self, a0):
12594 r"""get_is_optimized(Typed self, FloatKey a0) -> bool"""
12595 return _IMP_core.Typed_get_is_optimized(self, a0)
12598 r"""get_check_level(Typed self) -> IMP::CheckLevel"""
12599 return _IMP_core.Typed_get_check_level(self)
12601 def __eq__(self, *args):
12603 __eq__(Typed self, Typed o) -> bool
12604 __eq__(Typed self, Particle d) -> bool
12606 return _IMP_core.Typed___eq__(self, *args)
12608 def __ne__(self, *args):
12610 __ne__(Typed self, Typed o) -> bool
12611 __ne__(Typed self, Particle d) -> bool
12613 return _IMP_core.Typed___ne__(self, *args)
12615 def __le__(self, *args):
12617 __le__(Typed self, Typed o) -> bool
12618 __le__(Typed self, Particle d) -> bool
12620 return _IMP_core.Typed___le__(self, *args)
12622 def __lt__(self, *args):
12624 __lt__(Typed self, Typed o) -> bool
12625 __lt__(Typed self, Particle d) -> bool
12627 return _IMP_core.Typed___lt__(self, *args)
12629 def __ge__(self, *args):
12631 __ge__(Typed self, Typed o) -> bool
12632 __ge__(Typed self, Particle d) -> bool
12634 return _IMP_core.Typed___ge__(self, *args)
12636 def __gt__(self, *args):
12638 __gt__(Typed self, Typed o) -> bool
12639 __gt__(Typed self, Particle d) -> bool
12641 return _IMP_core.Typed___gt__(self, *args)
12643 def __hash__(self):
12644 r"""__hash__(Typed self) -> std::size_t"""
12645 return _IMP_core.Typed___hash__(self)
12648 r"""__str__(Typed self) -> std::string"""
12649 return _IMP_core.Typed___str__(self)
12651 def __repr__(self):
12652 r"""__repr__(Typed self) -> std::string"""
12653 return _IMP_core.Typed___repr__(self)
12655 def _get_as_binary(self):
12656 r"""_get_as_binary(Typed self) -> PyObject *"""
12657 return _IMP_core.Typed__get_as_binary(self)
12659 def _set_from_binary(self, p):
12660 r"""_set_from_binary(Typed self, PyObject * p)"""
12661 return _IMP_core.Typed__set_from_binary(self, p)
12663 def __getstate__(self):
12664 p = self._get_as_binary()
12665 if len(self.__dict__) > 1:
12666 d = self.__dict__.copy()
12671 def __setstate__(self, p):
12672 if not hasattr(self,
'this'):
12674 if isinstance(p, tuple):
12676 self.__dict__.update(d)
12677 return self._set_from_binary(p)
12679 __swig_destroy__ = _IMP_core.delete_Typed
12682 _IMP_core.Typed_swigregister(Typed)
12684 def __lshift__(*args):
12686 __lshift__(_ostream out, XYZ n) -> _ostream
12687 __lshift__(_ostream out, XYZR n) -> _ostream
12688 __lshift__(_ostream out, Direction n) -> _ostream
12689 __lshift__(_ostream out, DirectionAngle n) -> _ostream
12690 __lshift__(_ostream out, Surface n) -> _ostream
12691 __lshift__(_ostream out, Centroid n) -> _ostream
12692 __lshift__(_ostream out, Cover n) -> _ostream
12693 __lshift__(_ostream out, Reference n) -> _ostream
12694 __lshift__(_ostream out, RigidMember n) -> _ostream
12695 __lshift__(_ostream out, RigidBody n) -> _ostream
12696 __lshift__(_ostream out, Gaussian n) -> _ostream
12697 __lshift__(_ostream out, Typed n) -> _ostream
12699 return _IMP_core.__lshift__(*args)
12701 r"""Proxy of C++ IMP::core::WriteRestraintScoresOptimizerState class."""
12703 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
12705 def __init__(self, rs, out):
12706 r"""__init__(WriteRestraintScoresOptimizerState self, IMP::Restraints const & rs, TextOutput out) -> WriteRestraintScoresOptimizerState"""
12707 _IMP_core.WriteRestraintScoresOptimizerState_swiginit(self, _IMP_core.new_WriteRestraintScoresOptimizerState(rs, out))
12709 def get_version_info(self):
12710 r"""get_version_info(WriteRestraintScoresOptimizerState self) -> VersionInfo"""
12711 return _IMP_core.WriteRestraintScoresOptimizerState_get_version_info(self)
12712 __swig_destroy__ = _IMP_core.delete_WriteRestraintScoresOptimizerState
12715 r"""__str__(WriteRestraintScoresOptimizerState self) -> std::string"""
12716 return _IMP_core.WriteRestraintScoresOptimizerState___str__(self)
12718 def __repr__(self):
12719 r"""__repr__(WriteRestraintScoresOptimizerState self) -> std::string"""
12720 return _IMP_core.WriteRestraintScoresOptimizerState___repr__(self)
12724 return _object_cast_to_WriteRestraintScoresOptimizerState(o)
12728 _IMP_core.WriteRestraintScoresOptimizerState_swigregister(WriteRestraintScoresOptimizerState)
12731 r"""assign_blame(IMP::RestraintsTemp const & rs, IMP::ParticlesTemp const & ps, FloatKey attribute)"""
12732 return _IMP_core.assign_blame(rs, ps, attribute)
12735 r"""create_blame_geometries(IMP::RestraintsTemp const & rs, IMP::ParticlesTemp const & ps, double max=NO_MAX, std::string name=std::string()) -> IMP::display::Geometries"""
12736 return _IMP_core.create_blame_geometries(*args)
12738 r"""Proxy of C++ IMP::core::MultipleBinormalRestraint class."""
12740 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
12742 def __init__(self, m, q1, q2):
12743 r"""__init__(MultipleBinormalRestraint self, Model m, IMP::ParticleIndexQuad const & q1, IMP::ParticleIndexQuad const & q2) -> MultipleBinormalRestraint"""
12744 _IMP_core.MultipleBinormalRestraint_swiginit(self, _IMP_core.new_MultipleBinormalRestraint(m, q1, q2))
12746 def add_term(self, term):
12747 r"""add_term(MultipleBinormalRestraint self, BinormalTerm term)"""
12748 return _IMP_core.MultipleBinormalRestraint_add_term(self, term)
12750 def do_get_inputs(self):
12751 r"""do_get_inputs(MultipleBinormalRestraint self) -> IMP::ModelObjectsTemp"""
12752 return _IMP_core.MultipleBinormalRestraint_do_get_inputs(self)
12754 def get_version_info(self):
12755 r"""get_version_info(MultipleBinormalRestraint self) -> VersionInfo"""
12756 return _IMP_core.MultipleBinormalRestraint_get_version_info(self)
12757 __swig_destroy__ = _IMP_core.delete_MultipleBinormalRestraint
12760 r"""__str__(MultipleBinormalRestraint self) -> std::string"""
12761 return _IMP_core.MultipleBinormalRestraint___str__(self)
12763 def __repr__(self):
12764 r"""__repr__(MultipleBinormalRestraint self) -> std::string"""
12765 return _IMP_core.MultipleBinormalRestraint___repr__(self)
12769 return _object_cast_to_MultipleBinormalRestraint(o)
12773 _IMP_core.MultipleBinormalRestraint_swigregister(MultipleBinormalRestraint)
12774 class BinormalTerm(object):
12775 r"""Proxy of C++ IMP::core::BinormalTerm class."""
12777 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
12779 def __init__(self):
12780 r"""__init__(BinormalTerm self) -> BinormalTerm"""
12781 _IMP_core.BinormalTerm_swiginit(self, _IMP_core.new_BinormalTerm())
12783 def set_correlation(self, correlation):
12784 r"""set_correlation(BinormalTerm self, double correlation)"""
12785 return _IMP_core.BinormalTerm_set_correlation(self, correlation)
12787 def set_weight(self, weight):
12788 r"""set_weight(BinormalTerm self, double weight)"""
12789 return _IMP_core.BinormalTerm_set_weight(self, weight)
12791 def set_means(self, means):
12792 r"""set_means(BinormalTerm self, IMP::FloatPair means)"""
12793 return _IMP_core.BinormalTerm_set_means(self, means)
12795 def set_standard_deviations(self, stdevs):
12796 r"""set_standard_deviations(BinormalTerm self, IMP::FloatPair stdevs)"""
12797 return _IMP_core.BinormalTerm_set_standard_deviations(self, stdevs)
12799 def show(self, *args):
12800 r"""show(BinormalTerm self, _ostream out=std::cout)"""
12801 return _IMP_core.BinormalTerm_show(self, *args)
12804 r"""__str__(BinormalTerm self) -> std::string"""
12805 return _IMP_core.BinormalTerm___str__(self)
12807 def __repr__(self):
12808 r"""__repr__(BinormalTerm self) -> std::string"""
12809 return _IMP_core.BinormalTerm___repr__(self)
12811 def _get_as_binary(self):
12812 r"""_get_as_binary(BinormalTerm self) -> PyObject *"""
12813 return _IMP_core.BinormalTerm__get_as_binary(self)
12815 def _set_from_binary(self, p):
12816 r"""_set_from_binary(BinormalTerm self, PyObject * p)"""
12817 return _IMP_core.BinormalTerm__set_from_binary(self, p)
12819 def __getstate__(self):
12820 p = self._get_as_binary()
12821 if len(self.__dict__) > 1:
12822 d = self.__dict__.copy()
12827 def __setstate__(self, p):
12828 if not hasattr(self,
'this'):
12830 if isinstance(p, tuple):
12832 self.__dict__.update(d)
12833 return self._set_from_binary(p)
12835 __swig_destroy__ = _IMP_core.delete_BinormalTerm
12838 _IMP_core.BinormalTerm_swigregister(BinormalTerm)
12840 r"""Proxy of C++ IMP::core::Provenance class."""
12842 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
12844 def get_previous(self):
12845 r"""get_previous(Provenance self) -> Provenance"""
12846 return _IMP_core.Provenance_get_previous(self)
12848 def set_previous(self, p):
12849 r"""set_previous(Provenance self, Provenance p)"""
12850 return _IMP_core.Provenance_set_previous(self, p)
12852 def __init__(self, *args):
12854 __init__(Provenance self) -> Provenance
12855 __init__(Provenance self, Model m, ParticleIndex id) -> Provenance
12856 __init__(Provenance self, _ParticleAdaptor d) -> Provenance
12858 _IMP_core.Provenance_swiginit(self, _IMP_core.new_Provenance(*args))
12861 def get_is_setup(*args):
12863 get_is_setup(Model m, ParticleIndex pi) -> bool
12864 get_is_setup(_ParticleAdaptor p) -> bool
12866 return _IMP_core.Provenance_get_is_setup(*args)
12868 def show(self, *args):
12869 r"""show(Provenance self, _ostream out=std::cout)"""
12870 return _IMP_core.Provenance_show(self, *args)
12873 def setup_particle(*args):
12875 setup_particle(Model m, ParticleIndex pi) -> Provenance
12876 setup_particle(_ParticleAdaptor pa) -> Provenance
12878 return _IMP_core.Provenance_setup_particle(*args)
12880 def add_attribute(self, *args):
12882 add_attribute(Provenance self, FloatKey k, IMP::Float v, bool opt)
12883 add_attribute(Provenance self, FloatKey a0, IMP::Float a1)
12884 add_attribute(Provenance self, IntKey a0, IMP::Int a1)
12885 add_attribute(Provenance self, FloatsKey a0, IMP::Floats a1)
12886 add_attribute(Provenance self, IntsKey a0, IMP::Ints a1)
12887 add_attribute(Provenance self, StringKey a0, IMP::String a1)
12888 add_attribute(Provenance self, ParticleIndexKey a0, Particle a1)
12889 add_attribute(Provenance self, ObjectKey a0, Object a1)
12891 return _IMP_core.Provenance_add_attribute(self, *args)
12893 def get_value(self, *args):
12895 get_value(Provenance self, FloatKey a0) -> IMP::Float
12896 get_value(Provenance self, IntKey a0) -> IMP::Int
12897 get_value(Provenance self, FloatsKey a0) -> IMP::Floats
12898 get_value(Provenance self, IntsKey a0) -> IMP::Ints
12899 get_value(Provenance self, StringKey a0) -> IMP::String
12900 get_value(Provenance self, ParticleIndexKey a0) -> Particle
12901 get_value(Provenance self, ObjectKey a0) -> Object
12903 return _IMP_core.Provenance_get_value(self, *args)
12905 def set_value(self, *args):
12907 set_value(Provenance self, FloatKey a0, IMP::Float a1)
12908 set_value(Provenance self, IntKey a0, IMP::Int a1)
12909 set_value(Provenance self, FloatsKey a0, IMP::Floats a1)
12910 set_value(Provenance self, IntsKey a0, IMP::Ints a1)
12911 set_value(Provenance self, StringKey a0, IMP::String a1)
12912 set_value(Provenance self, ParticleIndexKey a0, Particle a1)
12913 set_value(Provenance self, ObjectKey a0, Object a1)
12915 return _IMP_core.Provenance_set_value(self, *args)
12917 def remove_attribute(self, *args):
12919 remove_attribute(Provenance self, FloatKey a0)
12920 remove_attribute(Provenance self, IntKey a0)
12921 remove_attribute(Provenance self, FloatsKey a0)
12922 remove_attribute(Provenance self, IntsKey a0)
12923 remove_attribute(Provenance self, StringKey a0)
12924 remove_attribute(Provenance self, ParticleIndexKey a0)
12925 remove_attribute(Provenance self, ObjectKey a0)
12927 return _IMP_core.Provenance_remove_attribute(self, *args)
12929 def has_attribute(self, *args):
12931 has_attribute(Provenance self, FloatKey a0) -> bool
12932 has_attribute(Provenance self, IntKey a0) -> bool
12933 has_attribute(Provenance self, FloatsKey a0) -> bool
12934 has_attribute(Provenance self, IntsKey a0) -> bool
12935 has_attribute(Provenance self, StringKey a0) -> bool
12936 has_attribute(Provenance self, ParticleIndexKey a0) -> bool
12937 has_attribute(Provenance self, ObjectKey a0) -> bool
12939 return _IMP_core.Provenance_has_attribute(self, *args)
12941 def get_derivative(self, a0):
12942 r"""get_derivative(Provenance self, FloatKey a0) -> double"""
12943 return _IMP_core.Provenance_get_derivative(self, a0)
12945 def get_name(self):
12946 r"""get_name(Provenance self) -> std::string"""
12947 return _IMP_core.Provenance_get_name(self)
12949 def clear_caches(self):
12950 r"""clear_caches(Provenance self)"""
12951 return _IMP_core.Provenance_clear_caches(self)
12953 def set_name(self, a0):
12954 r"""set_name(Provenance self, std::string a0)"""
12955 return _IMP_core.Provenance_set_name(self, a0)
12958 r"""set_check_level(Provenance self, IMP::CheckLevel a0)"""
12959 return _IMP_core.Provenance_set_check_level(self, a0)
12961 def add_to_derivative(self, a0, a1, a2):
12962 r"""add_to_derivative(Provenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
12963 return _IMP_core.Provenance_add_to_derivative(self, a0, a1, a2)
12965 def set_is_optimized(self, a0, a1):
12966 r"""set_is_optimized(Provenance self, FloatKey a0, bool a1)"""
12967 return _IMP_core.Provenance_set_is_optimized(self, a0, a1)
12969 def get_is_optimized(self, a0):
12970 r"""get_is_optimized(Provenance self, FloatKey a0) -> bool"""
12971 return _IMP_core.Provenance_get_is_optimized(self, a0)
12974 r"""get_check_level(Provenance self) -> IMP::CheckLevel"""
12975 return _IMP_core.Provenance_get_check_level(self)
12977 def __eq__(self, *args):
12979 __eq__(Provenance self, Provenance o) -> bool
12980 __eq__(Provenance self, Particle d) -> bool
12982 return _IMP_core.Provenance___eq__(self, *args)
12984 def __ne__(self, *args):
12986 __ne__(Provenance self, Provenance o) -> bool
12987 __ne__(Provenance self, Particle d) -> bool
12989 return _IMP_core.Provenance___ne__(self, *args)
12991 def __le__(self, *args):
12993 __le__(Provenance self, Provenance o) -> bool
12994 __le__(Provenance self, Particle d) -> bool
12996 return _IMP_core.Provenance___le__(self, *args)
12998 def __lt__(self, *args):
13000 __lt__(Provenance self, Provenance o) -> bool
13001 __lt__(Provenance self, Particle d) -> bool
13003 return _IMP_core.Provenance___lt__(self, *args)
13005 def __ge__(self, *args):
13007 __ge__(Provenance self, Provenance o) -> bool
13008 __ge__(Provenance self, Particle d) -> bool
13010 return _IMP_core.Provenance___ge__(self, *args)
13012 def __gt__(self, *args):
13014 __gt__(Provenance self, Provenance o) -> bool
13015 __gt__(Provenance self, Particle d) -> bool
13017 return _IMP_core.Provenance___gt__(self, *args)
13019 def __hash__(self):
13020 r"""__hash__(Provenance self) -> std::size_t"""
13021 return _IMP_core.Provenance___hash__(self)
13024 r"""__str__(Provenance self) -> std::string"""
13025 return _IMP_core.Provenance___str__(self)
13027 def __repr__(self):
13028 r"""__repr__(Provenance self) -> std::string"""
13029 return _IMP_core.Provenance___repr__(self)
13031 def _get_as_binary(self):
13032 r"""_get_as_binary(Provenance self) -> PyObject *"""
13033 return _IMP_core.Provenance__get_as_binary(self)
13035 def _set_from_binary(self, p):
13036 r"""_set_from_binary(Provenance self, PyObject * p)"""
13037 return _IMP_core.Provenance__set_from_binary(self, p)
13039 def __getstate__(self):
13040 p = self._get_as_binary()
13041 if len(self.__dict__) > 1:
13042 d = self.__dict__.copy()
13047 def __setstate__(self, p):
13048 if not hasattr(self,
'this'):
13050 if isinstance(p, tuple):
13052 self.__dict__.update(d)
13053 return self._set_from_binary(p)
13055 __swig_destroy__ = _IMP_core.delete_Provenance
13058 _IMP_core.Provenance_swigregister(Provenance)
13059 class StructureProvenance(Provenance):
13060 r"""Proxy of C++ IMP::core::StructureProvenance class."""
13062 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
13064 def set_filename(self, filename):
13065 r"""set_filename(StructureProvenance self, std::string filename)"""
13066 return _IMP_core.StructureProvenance_set_filename(self, filename)
13068 def get_filename(self):
13069 r"""get_filename(StructureProvenance self) -> std::string"""
13070 return _IMP_core.StructureProvenance_get_filename(self)
13072 def set_chain_id(self, chain_id):
13073 r"""set_chain_id(StructureProvenance self, std::string chain_id)"""
13074 return _IMP_core.StructureProvenance_set_chain_id(self, chain_id)
13077 r"""get_chain_id(StructureProvenance self) -> std::string"""
13078 return _IMP_core.StructureProvenance_get_chain_id(self)
13080 def set_residue_offset(self, residue_offset):
13081 r"""set_residue_offset(StructureProvenance self, int residue_offset)"""
13082 return _IMP_core.StructureProvenance_set_residue_offset(self, residue_offset)
13084 def get_residue_offset(self):
13085 r"""get_residue_offset(StructureProvenance self) -> int"""
13086 return _IMP_core.StructureProvenance_get_residue_offset(self)
13088 def __init__(self, *args):
13090 __init__(StructureProvenance self) -> StructureProvenance
13091 __init__(StructureProvenance self, Model m, ParticleIndex id) -> StructureProvenance
13092 __init__(StructureProvenance self, _ParticleAdaptor d) -> StructureProvenance
13094 _IMP_core.StructureProvenance_swiginit(self, _IMP_core.new_StructureProvenance(*args))
13097 def get_is_setup(*args):
13099 get_is_setup(Model m, ParticleIndex pi) -> bool
13100 get_is_setup(_ParticleAdaptor p) -> bool
13102 return _IMP_core.StructureProvenance_get_is_setup(*args)
13104 def show(self, *args):
13105 r"""show(StructureProvenance self, _ostream out=std::cout)"""
13106 return _IMP_core.StructureProvenance_show(self, *args)
13109 def setup_particle(*args):
13111 setup_particle(Model m, ParticleIndex pi, std::string filename, std::string chain_id, int residue_offset) -> StructureProvenance
13112 setup_particle(_ParticleAdaptor pa, std::string filename, std::string chain_id, int residue_offset) -> StructureProvenance
13113 setup_particle(Model m, ParticleIndex pi, std::string filename, std::string chain_id) -> StructureProvenance
13114 setup_particle(_ParticleAdaptor pa, std::string filename, std::string chain_id) -> StructureProvenance
13115 setup_particle(Model m, ParticleIndex pi, StructureProvenance o) -> StructureProvenance
13116 setup_particle(_ParticleAdaptor pa, StructureProvenance o) -> StructureProvenance
13118 return _IMP_core.StructureProvenance_setup_particle(*args)
13120 def add_attribute(self, *args):
13122 add_attribute(StructureProvenance self, FloatKey k, IMP::Float v, bool opt)
13123 add_attribute(StructureProvenance self, FloatKey a0, IMP::Float a1)
13124 add_attribute(StructureProvenance self, IntKey a0, IMP::Int a1)
13125 add_attribute(StructureProvenance self, FloatsKey a0, IMP::Floats a1)
13126 add_attribute(StructureProvenance self, IntsKey a0, IMP::Ints a1)
13127 add_attribute(StructureProvenance self, StringKey a0, IMP::String a1)
13128 add_attribute(StructureProvenance self, ParticleIndexKey a0, Particle a1)
13129 add_attribute(StructureProvenance self, ObjectKey a0, Object a1)
13131 return _IMP_core.StructureProvenance_add_attribute(self, *args)
13133 def get_value(self, *args):
13135 get_value(StructureProvenance self, FloatKey a0) -> IMP::Float
13136 get_value(StructureProvenance self, IntKey a0) -> IMP::Int
13137 get_value(StructureProvenance self, FloatsKey a0) -> IMP::Floats
13138 get_value(StructureProvenance self, IntsKey a0) -> IMP::Ints
13139 get_value(StructureProvenance self, StringKey a0) -> IMP::String
13140 get_value(StructureProvenance self, ParticleIndexKey a0) -> Particle
13141 get_value(StructureProvenance self, ObjectKey a0) -> Object
13143 return _IMP_core.StructureProvenance_get_value(self, *args)
13145 def set_value(self, *args):
13147 set_value(StructureProvenance self, FloatKey a0, IMP::Float a1)
13148 set_value(StructureProvenance self, IntKey a0, IMP::Int a1)
13149 set_value(StructureProvenance self, FloatsKey a0, IMP::Floats a1)
13150 set_value(StructureProvenance self, IntsKey a0, IMP::Ints a1)
13151 set_value(StructureProvenance self, StringKey a0, IMP::String a1)
13152 set_value(StructureProvenance self, ParticleIndexKey a0, Particle a1)
13153 set_value(StructureProvenance self, ObjectKey a0, Object a1)
13155 return _IMP_core.StructureProvenance_set_value(self, *args)
13157 def remove_attribute(self, *args):
13159 remove_attribute(StructureProvenance self, FloatKey a0)
13160 remove_attribute(StructureProvenance self, IntKey a0)
13161 remove_attribute(StructureProvenance self, FloatsKey a0)
13162 remove_attribute(StructureProvenance self, IntsKey a0)
13163 remove_attribute(StructureProvenance self, StringKey a0)
13164 remove_attribute(StructureProvenance self, ParticleIndexKey a0)
13165 remove_attribute(StructureProvenance self, ObjectKey a0)
13167 return _IMP_core.StructureProvenance_remove_attribute(self, *args)
13169 def has_attribute(self, *args):
13171 has_attribute(StructureProvenance self, FloatKey a0) -> bool
13172 has_attribute(StructureProvenance self, IntKey a0) -> bool
13173 has_attribute(StructureProvenance self, FloatsKey a0) -> bool
13174 has_attribute(StructureProvenance self, IntsKey a0) -> bool
13175 has_attribute(StructureProvenance self, StringKey a0) -> bool
13176 has_attribute(StructureProvenance self, ParticleIndexKey a0) -> bool
13177 has_attribute(StructureProvenance self, ObjectKey a0) -> bool
13179 return _IMP_core.StructureProvenance_has_attribute(self, *args)
13181 def get_derivative(self, a0):
13182 r"""get_derivative(StructureProvenance self, FloatKey a0) -> double"""
13183 return _IMP_core.StructureProvenance_get_derivative(self, a0)
13185 def get_name(self):
13186 r"""get_name(StructureProvenance self) -> std::string"""
13187 return _IMP_core.StructureProvenance_get_name(self)
13189 def clear_caches(self):
13190 r"""clear_caches(StructureProvenance self)"""
13191 return _IMP_core.StructureProvenance_clear_caches(self)
13193 def set_name(self, a0):
13194 r"""set_name(StructureProvenance self, std::string a0)"""
13195 return _IMP_core.StructureProvenance_set_name(self, a0)
13198 r"""set_check_level(StructureProvenance self, IMP::CheckLevel a0)"""
13199 return _IMP_core.StructureProvenance_set_check_level(self, a0)
13201 def add_to_derivative(self, a0, a1, a2):
13202 r"""add_to_derivative(StructureProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
13203 return _IMP_core.StructureProvenance_add_to_derivative(self, a0, a1, a2)
13205 def set_is_optimized(self, a0, a1):
13206 r"""set_is_optimized(StructureProvenance self, FloatKey a0, bool a1)"""
13207 return _IMP_core.StructureProvenance_set_is_optimized(self, a0, a1)
13209 def get_is_optimized(self, a0):
13210 r"""get_is_optimized(StructureProvenance self, FloatKey a0) -> bool"""
13211 return _IMP_core.StructureProvenance_get_is_optimized(self, a0)
13214 r"""get_check_level(StructureProvenance self) -> IMP::CheckLevel"""
13215 return _IMP_core.StructureProvenance_get_check_level(self)
13217 def __eq__(self, *args):
13219 __eq__(StructureProvenance self, StructureProvenance o) -> bool
13220 __eq__(StructureProvenance self, Particle d) -> bool
13222 return _IMP_core.StructureProvenance___eq__(self, *args)
13224 def __ne__(self, *args):
13226 __ne__(StructureProvenance self, StructureProvenance o) -> bool
13227 __ne__(StructureProvenance self, Particle d) -> bool
13229 return _IMP_core.StructureProvenance___ne__(self, *args)
13231 def __le__(self, *args):
13233 __le__(StructureProvenance self, StructureProvenance o) -> bool
13234 __le__(StructureProvenance self, Particle d) -> bool
13236 return _IMP_core.StructureProvenance___le__(self, *args)
13238 def __lt__(self, *args):
13240 __lt__(StructureProvenance self, StructureProvenance o) -> bool
13241 __lt__(StructureProvenance self, Particle d) -> bool
13243 return _IMP_core.StructureProvenance___lt__(self, *args)
13245 def __ge__(self, *args):
13247 __ge__(StructureProvenance self, StructureProvenance o) -> bool
13248 __ge__(StructureProvenance self, Particle d) -> bool
13250 return _IMP_core.StructureProvenance___ge__(self, *args)
13252 def __gt__(self, *args):
13254 __gt__(StructureProvenance self, StructureProvenance o) -> bool
13255 __gt__(StructureProvenance self, Particle d) -> bool
13257 return _IMP_core.StructureProvenance___gt__(self, *args)
13259 def __hash__(self):
13260 r"""__hash__(StructureProvenance self) -> std::size_t"""
13261 return _IMP_core.StructureProvenance___hash__(self)
13264 r"""__str__(StructureProvenance self) -> std::string"""
13265 return _IMP_core.StructureProvenance___str__(self)
13267 def __repr__(self):
13268 r"""__repr__(StructureProvenance self) -> std::string"""
13269 return _IMP_core.StructureProvenance___repr__(self)
13271 def _get_as_binary(self):
13272 r"""_get_as_binary(StructureProvenance self) -> PyObject *"""
13273 return _IMP_core.StructureProvenance__get_as_binary(self)
13275 def _set_from_binary(self, p):
13276 r"""_set_from_binary(StructureProvenance self, PyObject * p)"""
13277 return _IMP_core.StructureProvenance__set_from_binary(self, p)
13279 def __getstate__(self):
13280 p = self._get_as_binary()
13281 if len(self.__dict__) > 1:
13282 d = self.__dict__.copy()
13287 def __setstate__(self, p):
13288 if not hasattr(self,
'this'):
13290 if isinstance(p, tuple):
13292 self.__dict__.update(d)
13293 return self._set_from_binary(p)
13295 __swig_destroy__ = _IMP_core.delete_StructureProvenance
13298 _IMP_core.StructureProvenance_swigregister(StructureProvenance)
13299 class SampleProvenance(Provenance):
13300 r"""Proxy of C++ IMP::core::SampleProvenance class."""
13302 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
13304 def set_method(self, method):
13305 r"""set_method(SampleProvenance self, std::string method)"""
13306 return _IMP_core.SampleProvenance_set_method(self, method)
13308 def get_method(self):
13309 r"""get_method(SampleProvenance self) -> std::string"""
13310 return _IMP_core.SampleProvenance_get_method(self)
13312 def set_number_of_frames(self, frames):
13313 r"""set_number_of_frames(SampleProvenance self, int frames)"""
13314 return _IMP_core.SampleProvenance_set_number_of_frames(self, frames)
13317 r"""get_number_of_frames(SampleProvenance self) -> int"""
13318 return _IMP_core.SampleProvenance_get_number_of_frames(self)
13320 def set_number_of_iterations(self, iterations):
13321 r"""set_number_of_iterations(SampleProvenance self, int iterations)"""
13322 return _IMP_core.SampleProvenance_set_number_of_iterations(self, iterations)
13324 def get_number_of_iterations(self):
13325 r"""get_number_of_iterations(SampleProvenance self) -> int"""
13326 return _IMP_core.SampleProvenance_get_number_of_iterations(self)
13328 def set_number_of_replicas(self, replicas):
13329 r"""set_number_of_replicas(SampleProvenance self, int replicas)"""
13330 return _IMP_core.SampleProvenance_set_number_of_replicas(self, replicas)
13332 def get_number_of_replicas(self):
13333 r"""get_number_of_replicas(SampleProvenance self) -> int"""
13334 return _IMP_core.SampleProvenance_get_number_of_replicas(self)
13336 def __init__(self, *args):
13338 __init__(SampleProvenance self) -> SampleProvenance
13339 __init__(SampleProvenance self, Model m, ParticleIndex id) -> SampleProvenance
13340 __init__(SampleProvenance self, _ParticleAdaptor d) -> SampleProvenance
13342 _IMP_core.SampleProvenance_swiginit(self, _IMP_core.new_SampleProvenance(*args))
13345 def get_is_setup(*args):
13347 get_is_setup(Model m, ParticleIndex pi) -> bool
13348 get_is_setup(_ParticleAdaptor p) -> bool
13350 return _IMP_core.SampleProvenance_get_is_setup(*args)
13352 def show(self, *args):
13353 r"""show(SampleProvenance self, _ostream out=std::cout)"""
13354 return _IMP_core.SampleProvenance_show(self, *args)
13357 def setup_particle(*args):
13359 setup_particle(Model m, ParticleIndex pi, std::string method, int frames, int iterations, int replicas) -> SampleProvenance
13360 setup_particle(_ParticleAdaptor pa, std::string method, int frames, int iterations, int replicas) -> SampleProvenance
13361 setup_particle(Model m, ParticleIndex pi, std::string method, int frames, int iterations) -> SampleProvenance
13362 setup_particle(_ParticleAdaptor pa, std::string method, int frames, int iterations) -> SampleProvenance
13363 setup_particle(Model m, ParticleIndex pi, SampleProvenance o) -> SampleProvenance
13364 setup_particle(_ParticleAdaptor pa, SampleProvenance o) -> SampleProvenance
13366 return _IMP_core.SampleProvenance_setup_particle(*args)
13368 def add_attribute(self, *args):
13370 add_attribute(SampleProvenance self, FloatKey k, IMP::Float v, bool opt)
13371 add_attribute(SampleProvenance self, FloatKey a0, IMP::Float a1)
13372 add_attribute(SampleProvenance self, IntKey a0, IMP::Int a1)
13373 add_attribute(SampleProvenance self, FloatsKey a0, IMP::Floats a1)
13374 add_attribute(SampleProvenance self, IntsKey a0, IMP::Ints a1)
13375 add_attribute(SampleProvenance self, StringKey a0, IMP::String a1)
13376 add_attribute(SampleProvenance self, ParticleIndexKey a0, Particle a1)
13377 add_attribute(SampleProvenance self, ObjectKey a0, Object a1)
13379 return _IMP_core.SampleProvenance_add_attribute(self, *args)
13381 def get_value(self, *args):
13383 get_value(SampleProvenance self, FloatKey a0) -> IMP::Float
13384 get_value(SampleProvenance self, IntKey a0) -> IMP::Int
13385 get_value(SampleProvenance self, FloatsKey a0) -> IMP::Floats
13386 get_value(SampleProvenance self, IntsKey a0) -> IMP::Ints
13387 get_value(SampleProvenance self, StringKey a0) -> IMP::String
13388 get_value(SampleProvenance self, ParticleIndexKey a0) -> Particle
13389 get_value(SampleProvenance self, ObjectKey a0) -> Object
13391 return _IMP_core.SampleProvenance_get_value(self, *args)
13393 def set_value(self, *args):
13395 set_value(SampleProvenance self, FloatKey a0, IMP::Float a1)
13396 set_value(SampleProvenance self, IntKey a0, IMP::Int a1)
13397 set_value(SampleProvenance self, FloatsKey a0, IMP::Floats a1)
13398 set_value(SampleProvenance self, IntsKey a0, IMP::Ints a1)
13399 set_value(SampleProvenance self, StringKey a0, IMP::String a1)
13400 set_value(SampleProvenance self, ParticleIndexKey a0, Particle a1)
13401 set_value(SampleProvenance self, ObjectKey a0, Object a1)
13403 return _IMP_core.SampleProvenance_set_value(self, *args)
13405 def remove_attribute(self, *args):
13407 remove_attribute(SampleProvenance self, FloatKey a0)
13408 remove_attribute(SampleProvenance self, IntKey a0)
13409 remove_attribute(SampleProvenance self, FloatsKey a0)
13410 remove_attribute(SampleProvenance self, IntsKey a0)
13411 remove_attribute(SampleProvenance self, StringKey a0)
13412 remove_attribute(SampleProvenance self, ParticleIndexKey a0)
13413 remove_attribute(SampleProvenance self, ObjectKey a0)
13415 return _IMP_core.SampleProvenance_remove_attribute(self, *args)
13417 def has_attribute(self, *args):
13419 has_attribute(SampleProvenance self, FloatKey a0) -> bool
13420 has_attribute(SampleProvenance self, IntKey a0) -> bool
13421 has_attribute(SampleProvenance self, FloatsKey a0) -> bool
13422 has_attribute(SampleProvenance self, IntsKey a0) -> bool
13423 has_attribute(SampleProvenance self, StringKey a0) -> bool
13424 has_attribute(SampleProvenance self, ParticleIndexKey a0) -> bool
13425 has_attribute(SampleProvenance self, ObjectKey a0) -> bool
13427 return _IMP_core.SampleProvenance_has_attribute(self, *args)
13429 def get_derivative(self, a0):
13430 r"""get_derivative(SampleProvenance self, FloatKey a0) -> double"""
13431 return _IMP_core.SampleProvenance_get_derivative(self, a0)
13433 def get_name(self):
13434 r"""get_name(SampleProvenance self) -> std::string"""
13435 return _IMP_core.SampleProvenance_get_name(self)
13437 def clear_caches(self):
13438 r"""clear_caches(SampleProvenance self)"""
13439 return _IMP_core.SampleProvenance_clear_caches(self)
13441 def set_name(self, a0):
13442 r"""set_name(SampleProvenance self, std::string a0)"""
13443 return _IMP_core.SampleProvenance_set_name(self, a0)
13446 r"""set_check_level(SampleProvenance self, IMP::CheckLevel a0)"""
13447 return _IMP_core.SampleProvenance_set_check_level(self, a0)
13449 def add_to_derivative(self, a0, a1, a2):
13450 r"""add_to_derivative(SampleProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
13451 return _IMP_core.SampleProvenance_add_to_derivative(self, a0, a1, a2)
13453 def set_is_optimized(self, a0, a1):
13454 r"""set_is_optimized(SampleProvenance self, FloatKey a0, bool a1)"""
13455 return _IMP_core.SampleProvenance_set_is_optimized(self, a0, a1)
13457 def get_is_optimized(self, a0):
13458 r"""get_is_optimized(SampleProvenance self, FloatKey a0) -> bool"""
13459 return _IMP_core.SampleProvenance_get_is_optimized(self, a0)
13462 r"""get_check_level(SampleProvenance self) -> IMP::CheckLevel"""
13463 return _IMP_core.SampleProvenance_get_check_level(self)
13465 def __eq__(self, *args):
13467 __eq__(SampleProvenance self, SampleProvenance o) -> bool
13468 __eq__(SampleProvenance self, Particle d) -> bool
13470 return _IMP_core.SampleProvenance___eq__(self, *args)
13472 def __ne__(self, *args):
13474 __ne__(SampleProvenance self, SampleProvenance o) -> bool
13475 __ne__(SampleProvenance self, Particle d) -> bool
13477 return _IMP_core.SampleProvenance___ne__(self, *args)
13479 def __le__(self, *args):
13481 __le__(SampleProvenance self, SampleProvenance o) -> bool
13482 __le__(SampleProvenance self, Particle d) -> bool
13484 return _IMP_core.SampleProvenance___le__(self, *args)
13486 def __lt__(self, *args):
13488 __lt__(SampleProvenance self, SampleProvenance o) -> bool
13489 __lt__(SampleProvenance self, Particle d) -> bool
13491 return _IMP_core.SampleProvenance___lt__(self, *args)
13493 def __ge__(self, *args):
13495 __ge__(SampleProvenance self, SampleProvenance o) -> bool
13496 __ge__(SampleProvenance self, Particle d) -> bool
13498 return _IMP_core.SampleProvenance___ge__(self, *args)
13500 def __gt__(self, *args):
13502 __gt__(SampleProvenance self, SampleProvenance o) -> bool
13503 __gt__(SampleProvenance self, Particle d) -> bool
13505 return _IMP_core.SampleProvenance___gt__(self, *args)
13507 def __hash__(self):
13508 r"""__hash__(SampleProvenance self) -> std::size_t"""
13509 return _IMP_core.SampleProvenance___hash__(self)
13512 r"""__str__(SampleProvenance self) -> std::string"""
13513 return _IMP_core.SampleProvenance___str__(self)
13515 def __repr__(self):
13516 r"""__repr__(SampleProvenance self) -> std::string"""
13517 return _IMP_core.SampleProvenance___repr__(self)
13519 def _get_as_binary(self):
13520 r"""_get_as_binary(SampleProvenance self) -> PyObject *"""
13521 return _IMP_core.SampleProvenance__get_as_binary(self)
13523 def _set_from_binary(self, p):
13524 r"""_set_from_binary(SampleProvenance self, PyObject * p)"""
13525 return _IMP_core.SampleProvenance__set_from_binary(self, p)
13527 def __getstate__(self):
13528 p = self._get_as_binary()
13529 if len(self.__dict__) > 1:
13530 d = self.__dict__.copy()
13535 def __setstate__(self, p):
13536 if not hasattr(self,
'this'):
13538 if isinstance(p, tuple):
13540 self.__dict__.update(d)
13541 return self._set_from_binary(p)
13543 __swig_destroy__ = _IMP_core.delete_SampleProvenance
13546 _IMP_core.SampleProvenance_swigregister(SampleProvenance)
13547 class CombineProvenance(Provenance):
13548 r"""Proxy of C++ IMP::core::CombineProvenance class."""
13550 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
13552 def set_number_of_frames(self, frames):
13553 r"""set_number_of_frames(CombineProvenance self, int frames)"""
13554 return _IMP_core.CombineProvenance_set_number_of_frames(self, frames)
13557 r"""get_number_of_frames(CombineProvenance self) -> int"""
13558 return _IMP_core.CombineProvenance_get_number_of_frames(self)
13560 def set_number_of_runs(self, runs):
13561 r"""set_number_of_runs(CombineProvenance self, int runs)"""
13562 return _IMP_core.CombineProvenance_set_number_of_runs(self, runs)
13564 def get_number_of_runs(self):
13565 r"""get_number_of_runs(CombineProvenance self) -> int"""
13566 return _IMP_core.CombineProvenance_get_number_of_runs(self)
13568 def __init__(self, *args):
13570 __init__(CombineProvenance self) -> CombineProvenance
13571 __init__(CombineProvenance self, Model m, ParticleIndex id) -> CombineProvenance
13572 __init__(CombineProvenance self, _ParticleAdaptor d) -> CombineProvenance
13574 _IMP_core.CombineProvenance_swiginit(self, _IMP_core.new_CombineProvenance(*args))
13577 def get_is_setup(*args):
13579 get_is_setup(Model m, ParticleIndex pi) -> bool
13580 get_is_setup(_ParticleAdaptor p) -> bool
13582 return _IMP_core.CombineProvenance_get_is_setup(*args)
13584 def show(self, *args):
13585 r"""show(CombineProvenance self, _ostream out=std::cout)"""
13586 return _IMP_core.CombineProvenance_show(self, *args)
13589 def setup_particle(*args):
13591 setup_particle(Model m, ParticleIndex pi, int runs, int frames) -> CombineProvenance
13592 setup_particle(_ParticleAdaptor pa, int runs, int frames) -> CombineProvenance
13593 setup_particle(Model m, ParticleIndex pi, CombineProvenance o) -> CombineProvenance
13594 setup_particle(_ParticleAdaptor pa, CombineProvenance o) -> CombineProvenance
13596 return _IMP_core.CombineProvenance_setup_particle(*args)
13598 def add_attribute(self, *args):
13600 add_attribute(CombineProvenance self, FloatKey k, IMP::Float v, bool opt)
13601 add_attribute(CombineProvenance self, FloatKey a0, IMP::Float a1)
13602 add_attribute(CombineProvenance self, IntKey a0, IMP::Int a1)
13603 add_attribute(CombineProvenance self, FloatsKey a0, IMP::Floats a1)
13604 add_attribute(CombineProvenance self, IntsKey a0, IMP::Ints a1)
13605 add_attribute(CombineProvenance self, StringKey a0, IMP::String a1)
13606 add_attribute(CombineProvenance self, ParticleIndexKey a0, Particle a1)
13607 add_attribute(CombineProvenance self, ObjectKey a0, Object a1)
13609 return _IMP_core.CombineProvenance_add_attribute(self, *args)
13611 def get_value(self, *args):
13613 get_value(CombineProvenance self, FloatKey a0) -> IMP::Float
13614 get_value(CombineProvenance self, IntKey a0) -> IMP::Int
13615 get_value(CombineProvenance self, FloatsKey a0) -> IMP::Floats
13616 get_value(CombineProvenance self, IntsKey a0) -> IMP::Ints
13617 get_value(CombineProvenance self, StringKey a0) -> IMP::String
13618 get_value(CombineProvenance self, ParticleIndexKey a0) -> Particle
13619 get_value(CombineProvenance self, ObjectKey a0) -> Object
13621 return _IMP_core.CombineProvenance_get_value(self, *args)
13623 def set_value(self, *args):
13625 set_value(CombineProvenance self, FloatKey a0, IMP::Float a1)
13626 set_value(CombineProvenance self, IntKey a0, IMP::Int a1)
13627 set_value(CombineProvenance self, FloatsKey a0, IMP::Floats a1)
13628 set_value(CombineProvenance self, IntsKey a0, IMP::Ints a1)
13629 set_value(CombineProvenance self, StringKey a0, IMP::String a1)
13630 set_value(CombineProvenance self, ParticleIndexKey a0, Particle a1)
13631 set_value(CombineProvenance self, ObjectKey a0, Object a1)
13633 return _IMP_core.CombineProvenance_set_value(self, *args)
13635 def remove_attribute(self, *args):
13637 remove_attribute(CombineProvenance self, FloatKey a0)
13638 remove_attribute(CombineProvenance self, IntKey a0)
13639 remove_attribute(CombineProvenance self, FloatsKey a0)
13640 remove_attribute(CombineProvenance self, IntsKey a0)
13641 remove_attribute(CombineProvenance self, StringKey a0)
13642 remove_attribute(CombineProvenance self, ParticleIndexKey a0)
13643 remove_attribute(CombineProvenance self, ObjectKey a0)
13645 return _IMP_core.CombineProvenance_remove_attribute(self, *args)
13647 def has_attribute(self, *args):
13649 has_attribute(CombineProvenance self, FloatKey a0) -> bool
13650 has_attribute(CombineProvenance self, IntKey a0) -> bool
13651 has_attribute(CombineProvenance self, FloatsKey a0) -> bool
13652 has_attribute(CombineProvenance self, IntsKey a0) -> bool
13653 has_attribute(CombineProvenance self, StringKey a0) -> bool
13654 has_attribute(CombineProvenance self, ParticleIndexKey a0) -> bool
13655 has_attribute(CombineProvenance self, ObjectKey a0) -> bool
13657 return _IMP_core.CombineProvenance_has_attribute(self, *args)
13659 def get_derivative(self, a0):
13660 r"""get_derivative(CombineProvenance self, FloatKey a0) -> double"""
13661 return _IMP_core.CombineProvenance_get_derivative(self, a0)
13663 def get_name(self):
13664 r"""get_name(CombineProvenance self) -> std::string"""
13665 return _IMP_core.CombineProvenance_get_name(self)
13667 def clear_caches(self):
13668 r"""clear_caches(CombineProvenance self)"""
13669 return _IMP_core.CombineProvenance_clear_caches(self)
13671 def set_name(self, a0):
13672 r"""set_name(CombineProvenance self, std::string a0)"""
13673 return _IMP_core.CombineProvenance_set_name(self, a0)
13676 r"""set_check_level(CombineProvenance self, IMP::CheckLevel a0)"""
13677 return _IMP_core.CombineProvenance_set_check_level(self, a0)
13679 def add_to_derivative(self, a0, a1, a2):
13680 r"""add_to_derivative(CombineProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
13681 return _IMP_core.CombineProvenance_add_to_derivative(self, a0, a1, a2)
13683 def set_is_optimized(self, a0, a1):
13684 r"""set_is_optimized(CombineProvenance self, FloatKey a0, bool a1)"""
13685 return _IMP_core.CombineProvenance_set_is_optimized(self, a0, a1)
13687 def get_is_optimized(self, a0):
13688 r"""get_is_optimized(CombineProvenance self, FloatKey a0) -> bool"""
13689 return _IMP_core.CombineProvenance_get_is_optimized(self, a0)
13692 r"""get_check_level(CombineProvenance self) -> IMP::CheckLevel"""
13693 return _IMP_core.CombineProvenance_get_check_level(self)
13695 def __eq__(self, *args):
13697 __eq__(CombineProvenance self, CombineProvenance o) -> bool
13698 __eq__(CombineProvenance self, Particle d) -> bool
13700 return _IMP_core.CombineProvenance___eq__(self, *args)
13702 def __ne__(self, *args):
13704 __ne__(CombineProvenance self, CombineProvenance o) -> bool
13705 __ne__(CombineProvenance self, Particle d) -> bool
13707 return _IMP_core.CombineProvenance___ne__(self, *args)
13709 def __le__(self, *args):
13711 __le__(CombineProvenance self, CombineProvenance o) -> bool
13712 __le__(CombineProvenance self, Particle d) -> bool
13714 return _IMP_core.CombineProvenance___le__(self, *args)
13716 def __lt__(self, *args):
13718 __lt__(CombineProvenance self, CombineProvenance o) -> bool
13719 __lt__(CombineProvenance self, Particle d) -> bool
13721 return _IMP_core.CombineProvenance___lt__(self, *args)
13723 def __ge__(self, *args):
13725 __ge__(CombineProvenance self, CombineProvenance o) -> bool
13726 __ge__(CombineProvenance self, Particle d) -> bool
13728 return _IMP_core.CombineProvenance___ge__(self, *args)
13730 def __gt__(self, *args):
13732 __gt__(CombineProvenance self, CombineProvenance o) -> bool
13733 __gt__(CombineProvenance self, Particle d) -> bool
13735 return _IMP_core.CombineProvenance___gt__(self, *args)
13737 def __hash__(self):
13738 r"""__hash__(CombineProvenance self) -> std::size_t"""
13739 return _IMP_core.CombineProvenance___hash__(self)
13742 r"""__str__(CombineProvenance self) -> std::string"""
13743 return _IMP_core.CombineProvenance___str__(self)
13745 def __repr__(self):
13746 r"""__repr__(CombineProvenance self) -> std::string"""
13747 return _IMP_core.CombineProvenance___repr__(self)
13749 def _get_as_binary(self):
13750 r"""_get_as_binary(CombineProvenance self) -> PyObject *"""
13751 return _IMP_core.CombineProvenance__get_as_binary(self)
13753 def _set_from_binary(self, p):
13754 r"""_set_from_binary(CombineProvenance self, PyObject * p)"""
13755 return _IMP_core.CombineProvenance__set_from_binary(self, p)
13757 def __getstate__(self):
13758 p = self._get_as_binary()
13759 if len(self.__dict__) > 1:
13760 d = self.__dict__.copy()
13765 def __setstate__(self, p):
13766 if not hasattr(self,
'this'):
13768 if isinstance(p, tuple):
13770 self.__dict__.update(d)
13771 return self._set_from_binary(p)
13773 __swig_destroy__ = _IMP_core.delete_CombineProvenance
13776 _IMP_core.CombineProvenance_swigregister(CombineProvenance)
13777 class FilterProvenance(Provenance):
13778 r"""Proxy of C++ IMP::core::FilterProvenance class."""
13780 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
13782 def set_method(self, method):
13783 r"""set_method(FilterProvenance self, std::string method)"""
13784 return _IMP_core.FilterProvenance_set_method(self, method)
13786 def get_method(self):
13787 r"""get_method(FilterProvenance self) -> std::string"""
13788 return _IMP_core.FilterProvenance_get_method(self)
13790 def set_number_of_frames(self, frames):
13791 r"""set_number_of_frames(FilterProvenance self, int frames)"""
13792 return _IMP_core.FilterProvenance_set_number_of_frames(self, frames)
13795 r"""get_number_of_frames(FilterProvenance self) -> int"""
13796 return _IMP_core.FilterProvenance_get_number_of_frames(self)
13798 def set_threshold(self, threshold):
13799 r"""set_threshold(FilterProvenance self, double threshold)"""
13800 return _IMP_core.FilterProvenance_set_threshold(self, threshold)
13802 def get_threshold(self):
13803 r"""get_threshold(FilterProvenance self) -> double"""
13804 return _IMP_core.FilterProvenance_get_threshold(self)
13806 def __init__(self, *args):
13808 __init__(FilterProvenance self) -> FilterProvenance
13809 __init__(FilterProvenance self, Model m, ParticleIndex id) -> FilterProvenance
13810 __init__(FilterProvenance self, _ParticleAdaptor d) -> FilterProvenance
13812 _IMP_core.FilterProvenance_swiginit(self, _IMP_core.new_FilterProvenance(*args))
13815 def get_is_setup(*args):
13817 get_is_setup(Model m, ParticleIndex pi) -> bool
13818 get_is_setup(_ParticleAdaptor p) -> bool
13820 return _IMP_core.FilterProvenance_get_is_setup(*args)
13822 def show(self, *args):
13823 r"""show(FilterProvenance self, _ostream out=std::cout)"""
13824 return _IMP_core.FilterProvenance_show(self, *args)
13827 def setup_particle(*args):
13829 setup_particle(Model m, ParticleIndex pi, std::string method, double threshold, int frames) -> FilterProvenance
13830 setup_particle(_ParticleAdaptor pa, std::string method, double threshold, int frames) -> FilterProvenance
13831 setup_particle(Model m, ParticleIndex pi, FilterProvenance o) -> FilterProvenance
13832 setup_particle(_ParticleAdaptor pa, FilterProvenance o) -> FilterProvenance
13834 return _IMP_core.FilterProvenance_setup_particle(*args)
13836 def add_attribute(self, *args):
13838 add_attribute(FilterProvenance self, FloatKey k, IMP::Float v, bool opt)
13839 add_attribute(FilterProvenance self, FloatKey a0, IMP::Float a1)
13840 add_attribute(FilterProvenance self, IntKey a0, IMP::Int a1)
13841 add_attribute(FilterProvenance self, FloatsKey a0, IMP::Floats a1)
13842 add_attribute(FilterProvenance self, IntsKey a0, IMP::Ints a1)
13843 add_attribute(FilterProvenance self, StringKey a0, IMP::String a1)
13844 add_attribute(FilterProvenance self, ParticleIndexKey a0, Particle a1)
13845 add_attribute(FilterProvenance self, ObjectKey a0, Object a1)
13847 return _IMP_core.FilterProvenance_add_attribute(self, *args)
13849 def get_value(self, *args):
13851 get_value(FilterProvenance self, FloatKey a0) -> IMP::Float
13852 get_value(FilterProvenance self, IntKey a0) -> IMP::Int
13853 get_value(FilterProvenance self, FloatsKey a0) -> IMP::Floats
13854 get_value(FilterProvenance self, IntsKey a0) -> IMP::Ints
13855 get_value(FilterProvenance self, StringKey a0) -> IMP::String
13856 get_value(FilterProvenance self, ParticleIndexKey a0) -> Particle
13857 get_value(FilterProvenance self, ObjectKey a0) -> Object
13859 return _IMP_core.FilterProvenance_get_value(self, *args)
13861 def set_value(self, *args):
13863 set_value(FilterProvenance self, FloatKey a0, IMP::Float a1)
13864 set_value(FilterProvenance self, IntKey a0, IMP::Int a1)
13865 set_value(FilterProvenance self, FloatsKey a0, IMP::Floats a1)
13866 set_value(FilterProvenance self, IntsKey a0, IMP::Ints a1)
13867 set_value(FilterProvenance self, StringKey a0, IMP::String a1)
13868 set_value(FilterProvenance self, ParticleIndexKey a0, Particle a1)
13869 set_value(FilterProvenance self, ObjectKey a0, Object a1)
13871 return _IMP_core.FilterProvenance_set_value(self, *args)
13873 def remove_attribute(self, *args):
13875 remove_attribute(FilterProvenance self, FloatKey a0)
13876 remove_attribute(FilterProvenance self, IntKey a0)
13877 remove_attribute(FilterProvenance self, FloatsKey a0)
13878 remove_attribute(FilterProvenance self, IntsKey a0)
13879 remove_attribute(FilterProvenance self, StringKey a0)
13880 remove_attribute(FilterProvenance self, ParticleIndexKey a0)
13881 remove_attribute(FilterProvenance self, ObjectKey a0)
13883 return _IMP_core.FilterProvenance_remove_attribute(self, *args)
13885 def has_attribute(self, *args):
13887 has_attribute(FilterProvenance self, FloatKey a0) -> bool
13888 has_attribute(FilterProvenance self, IntKey a0) -> bool
13889 has_attribute(FilterProvenance self, FloatsKey a0) -> bool
13890 has_attribute(FilterProvenance self, IntsKey a0) -> bool
13891 has_attribute(FilterProvenance self, StringKey a0) -> bool
13892 has_attribute(FilterProvenance self, ParticleIndexKey a0) -> bool
13893 has_attribute(FilterProvenance self, ObjectKey a0) -> bool
13895 return _IMP_core.FilterProvenance_has_attribute(self, *args)
13897 def get_derivative(self, a0):
13898 r"""get_derivative(FilterProvenance self, FloatKey a0) -> double"""
13899 return _IMP_core.FilterProvenance_get_derivative(self, a0)
13901 def get_name(self):
13902 r"""get_name(FilterProvenance self) -> std::string"""
13903 return _IMP_core.FilterProvenance_get_name(self)
13905 def clear_caches(self):
13906 r"""clear_caches(FilterProvenance self)"""
13907 return _IMP_core.FilterProvenance_clear_caches(self)
13909 def set_name(self, a0):
13910 r"""set_name(FilterProvenance self, std::string a0)"""
13911 return _IMP_core.FilterProvenance_set_name(self, a0)
13914 r"""set_check_level(FilterProvenance self, IMP::CheckLevel a0)"""
13915 return _IMP_core.FilterProvenance_set_check_level(self, a0)
13917 def add_to_derivative(self, a0, a1, a2):
13918 r"""add_to_derivative(FilterProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
13919 return _IMP_core.FilterProvenance_add_to_derivative(self, a0, a1, a2)
13921 def set_is_optimized(self, a0, a1):
13922 r"""set_is_optimized(FilterProvenance self, FloatKey a0, bool a1)"""
13923 return _IMP_core.FilterProvenance_set_is_optimized(self, a0, a1)
13925 def get_is_optimized(self, a0):
13926 r"""get_is_optimized(FilterProvenance self, FloatKey a0) -> bool"""
13927 return _IMP_core.FilterProvenance_get_is_optimized(self, a0)
13930 r"""get_check_level(FilterProvenance self) -> IMP::CheckLevel"""
13931 return _IMP_core.FilterProvenance_get_check_level(self)
13933 def __eq__(self, *args):
13935 __eq__(FilterProvenance self, FilterProvenance o) -> bool
13936 __eq__(FilterProvenance self, Particle d) -> bool
13938 return _IMP_core.FilterProvenance___eq__(self, *args)
13940 def __ne__(self, *args):
13942 __ne__(FilterProvenance self, FilterProvenance o) -> bool
13943 __ne__(FilterProvenance self, Particle d) -> bool
13945 return _IMP_core.FilterProvenance___ne__(self, *args)
13947 def __le__(self, *args):
13949 __le__(FilterProvenance self, FilterProvenance o) -> bool
13950 __le__(FilterProvenance self, Particle d) -> bool
13952 return _IMP_core.FilterProvenance___le__(self, *args)
13954 def __lt__(self, *args):
13956 __lt__(FilterProvenance self, FilterProvenance o) -> bool
13957 __lt__(FilterProvenance self, Particle d) -> bool
13959 return _IMP_core.FilterProvenance___lt__(self, *args)
13961 def __ge__(self, *args):
13963 __ge__(FilterProvenance self, FilterProvenance o) -> bool
13964 __ge__(FilterProvenance self, Particle d) -> bool
13966 return _IMP_core.FilterProvenance___ge__(self, *args)
13968 def __gt__(self, *args):
13970 __gt__(FilterProvenance self, FilterProvenance o) -> bool
13971 __gt__(FilterProvenance self, Particle d) -> bool
13973 return _IMP_core.FilterProvenance___gt__(self, *args)
13975 def __hash__(self):
13976 r"""__hash__(FilterProvenance self) -> std::size_t"""
13977 return _IMP_core.FilterProvenance___hash__(self)
13980 r"""__str__(FilterProvenance self) -> std::string"""
13981 return _IMP_core.FilterProvenance___str__(self)
13983 def __repr__(self):
13984 r"""__repr__(FilterProvenance self) -> std::string"""
13985 return _IMP_core.FilterProvenance___repr__(self)
13987 def _get_as_binary(self):
13988 r"""_get_as_binary(FilterProvenance self) -> PyObject *"""
13989 return _IMP_core.FilterProvenance__get_as_binary(self)
13991 def _set_from_binary(self, p):
13992 r"""_set_from_binary(FilterProvenance self, PyObject * p)"""
13993 return _IMP_core.FilterProvenance__set_from_binary(self, p)
13995 def __getstate__(self):
13996 p = self._get_as_binary()
13997 if len(self.__dict__) > 1:
13998 d = self.__dict__.copy()
14003 def __setstate__(self, p):
14004 if not hasattr(self,
'this'):
14006 if isinstance(p, tuple):
14008 self.__dict__.update(d)
14009 return self._set_from_binary(p)
14011 __swig_destroy__ = _IMP_core.delete_FilterProvenance
14014 _IMP_core.FilterProvenance_swigregister(FilterProvenance)
14015 class ClusterProvenance(Provenance):
14016 r"""Proxy of C++ IMP::core::ClusterProvenance class."""
14018 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
14020 def set_number_of_members(self, members):
14021 r"""set_number_of_members(ClusterProvenance self, int members)"""
14022 return _IMP_core.ClusterProvenance_set_number_of_members(self, members)
14024 def get_number_of_members(self):
14025 r"""get_number_of_members(ClusterProvenance self) -> int"""
14026 return _IMP_core.ClusterProvenance_get_number_of_members(self)
14028 def set_precision(self, precision):
14029 r"""set_precision(ClusterProvenance self, double precision)"""
14030 return _IMP_core.ClusterProvenance_set_precision(self, precision)
14032 def get_precision(self):
14033 r"""get_precision(ClusterProvenance self) -> double"""
14034 return _IMP_core.ClusterProvenance_get_precision(self)
14036 def set_density(self, density):
14037 r"""set_density(ClusterProvenance self, std::string density)"""
14038 return _IMP_core.ClusterProvenance_set_density(self, density)
14040 def get_density(self):
14041 r"""get_density(ClusterProvenance self) -> std::string"""
14042 return _IMP_core.ClusterProvenance_get_density(self)
14044 def __init__(self, *args):
14046 __init__(ClusterProvenance self) -> ClusterProvenance
14047 __init__(ClusterProvenance self, Model m, ParticleIndex id) -> ClusterProvenance
14048 __init__(ClusterProvenance self, _ParticleAdaptor d) -> ClusterProvenance
14050 _IMP_core.ClusterProvenance_swiginit(self, _IMP_core.new_ClusterProvenance(*args))
14053 def get_is_setup(*args):
14055 get_is_setup(Model m, ParticleIndex pi) -> bool
14056 get_is_setup(_ParticleAdaptor p) -> bool
14058 return _IMP_core.ClusterProvenance_get_is_setup(*args)
14060 def show(self, *args):
14061 r"""show(ClusterProvenance self, _ostream out=std::cout)"""
14062 return _IMP_core.ClusterProvenance_show(self, *args)
14065 def setup_particle(*args):
14067 setup_particle(Model m, ParticleIndex pi, int members) -> ClusterProvenance
14068 setup_particle(_ParticleAdaptor pa, int members) -> ClusterProvenance
14069 setup_particle(Model m, ParticleIndex pi, int members, double precision) -> ClusterProvenance
14070 setup_particle(_ParticleAdaptor pa, int members, double precision) -> ClusterProvenance
14071 setup_particle(Model m, ParticleIndex pi, int members, double precision, std::string density) -> ClusterProvenance
14072 setup_particle(_ParticleAdaptor pa, int members, double precision, std::string density) -> ClusterProvenance
14073 setup_particle(Model m, ParticleIndex pi, ClusterProvenance o) -> ClusterProvenance
14074 setup_particle(_ParticleAdaptor pa, ClusterProvenance o) -> ClusterProvenance
14076 return _IMP_core.ClusterProvenance_setup_particle(*args)
14078 def add_attribute(self, *args):
14080 add_attribute(ClusterProvenance self, FloatKey k, IMP::Float v, bool opt)
14081 add_attribute(ClusterProvenance self, FloatKey a0, IMP::Float a1)
14082 add_attribute(ClusterProvenance self, IntKey a0, IMP::Int a1)
14083 add_attribute(ClusterProvenance self, FloatsKey a0, IMP::Floats a1)
14084 add_attribute(ClusterProvenance self, IntsKey a0, IMP::Ints a1)
14085 add_attribute(ClusterProvenance self, StringKey a0, IMP::String a1)
14086 add_attribute(ClusterProvenance self, ParticleIndexKey a0, Particle a1)
14087 add_attribute(ClusterProvenance self, ObjectKey a0, Object a1)
14089 return _IMP_core.ClusterProvenance_add_attribute(self, *args)
14091 def get_value(self, *args):
14093 get_value(ClusterProvenance self, FloatKey a0) -> IMP::Float
14094 get_value(ClusterProvenance self, IntKey a0) -> IMP::Int
14095 get_value(ClusterProvenance self, FloatsKey a0) -> IMP::Floats
14096 get_value(ClusterProvenance self, IntsKey a0) -> IMP::Ints
14097 get_value(ClusterProvenance self, StringKey a0) -> IMP::String
14098 get_value(ClusterProvenance self, ParticleIndexKey a0) -> Particle
14099 get_value(ClusterProvenance self, ObjectKey a0) -> Object
14101 return _IMP_core.ClusterProvenance_get_value(self, *args)
14103 def set_value(self, *args):
14105 set_value(ClusterProvenance self, FloatKey a0, IMP::Float a1)
14106 set_value(ClusterProvenance self, IntKey a0, IMP::Int a1)
14107 set_value(ClusterProvenance self, FloatsKey a0, IMP::Floats a1)
14108 set_value(ClusterProvenance self, IntsKey a0, IMP::Ints a1)
14109 set_value(ClusterProvenance self, StringKey a0, IMP::String a1)
14110 set_value(ClusterProvenance self, ParticleIndexKey a0, Particle a1)
14111 set_value(ClusterProvenance self, ObjectKey a0, Object a1)
14113 return _IMP_core.ClusterProvenance_set_value(self, *args)
14115 def remove_attribute(self, *args):
14117 remove_attribute(ClusterProvenance self, FloatKey a0)
14118 remove_attribute(ClusterProvenance self, IntKey a0)
14119 remove_attribute(ClusterProvenance self, FloatsKey a0)
14120 remove_attribute(ClusterProvenance self, IntsKey a0)
14121 remove_attribute(ClusterProvenance self, StringKey a0)
14122 remove_attribute(ClusterProvenance self, ParticleIndexKey a0)
14123 remove_attribute(ClusterProvenance self, ObjectKey a0)
14125 return _IMP_core.ClusterProvenance_remove_attribute(self, *args)
14127 def has_attribute(self, *args):
14129 has_attribute(ClusterProvenance self, FloatKey a0) -> bool
14130 has_attribute(ClusterProvenance self, IntKey a0) -> bool
14131 has_attribute(ClusterProvenance self, FloatsKey a0) -> bool
14132 has_attribute(ClusterProvenance self, IntsKey a0) -> bool
14133 has_attribute(ClusterProvenance self, StringKey a0) -> bool
14134 has_attribute(ClusterProvenance self, ParticleIndexKey a0) -> bool
14135 has_attribute(ClusterProvenance self, ObjectKey a0) -> bool
14137 return _IMP_core.ClusterProvenance_has_attribute(self, *args)
14139 def get_derivative(self, a0):
14140 r"""get_derivative(ClusterProvenance self, FloatKey a0) -> double"""
14141 return _IMP_core.ClusterProvenance_get_derivative(self, a0)
14143 def get_name(self):
14144 r"""get_name(ClusterProvenance self) -> std::string"""
14145 return _IMP_core.ClusterProvenance_get_name(self)
14147 def clear_caches(self):
14148 r"""clear_caches(ClusterProvenance self)"""
14149 return _IMP_core.ClusterProvenance_clear_caches(self)
14151 def set_name(self, a0):
14152 r"""set_name(ClusterProvenance self, std::string a0)"""
14153 return _IMP_core.ClusterProvenance_set_name(self, a0)
14156 r"""set_check_level(ClusterProvenance self, IMP::CheckLevel a0)"""
14157 return _IMP_core.ClusterProvenance_set_check_level(self, a0)
14159 def add_to_derivative(self, a0, a1, a2):
14160 r"""add_to_derivative(ClusterProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
14161 return _IMP_core.ClusterProvenance_add_to_derivative(self, a0, a1, a2)
14163 def set_is_optimized(self, a0, a1):
14164 r"""set_is_optimized(ClusterProvenance self, FloatKey a0, bool a1)"""
14165 return _IMP_core.ClusterProvenance_set_is_optimized(self, a0, a1)
14167 def get_is_optimized(self, a0):
14168 r"""get_is_optimized(ClusterProvenance self, FloatKey a0) -> bool"""
14169 return _IMP_core.ClusterProvenance_get_is_optimized(self, a0)
14172 r"""get_check_level(ClusterProvenance self) -> IMP::CheckLevel"""
14173 return _IMP_core.ClusterProvenance_get_check_level(self)
14175 def __eq__(self, *args):
14177 __eq__(ClusterProvenance self, ClusterProvenance o) -> bool
14178 __eq__(ClusterProvenance self, Particle d) -> bool
14180 return _IMP_core.ClusterProvenance___eq__(self, *args)
14182 def __ne__(self, *args):
14184 __ne__(ClusterProvenance self, ClusterProvenance o) -> bool
14185 __ne__(ClusterProvenance self, Particle d) -> bool
14187 return _IMP_core.ClusterProvenance___ne__(self, *args)
14189 def __le__(self, *args):
14191 __le__(ClusterProvenance self, ClusterProvenance o) -> bool
14192 __le__(ClusterProvenance self, Particle d) -> bool
14194 return _IMP_core.ClusterProvenance___le__(self, *args)
14196 def __lt__(self, *args):
14198 __lt__(ClusterProvenance self, ClusterProvenance o) -> bool
14199 __lt__(ClusterProvenance self, Particle d) -> bool
14201 return _IMP_core.ClusterProvenance___lt__(self, *args)
14203 def __ge__(self, *args):
14205 __ge__(ClusterProvenance self, ClusterProvenance o) -> bool
14206 __ge__(ClusterProvenance self, Particle d) -> bool
14208 return _IMP_core.ClusterProvenance___ge__(self, *args)
14210 def __gt__(self, *args):
14212 __gt__(ClusterProvenance self, ClusterProvenance o) -> bool
14213 __gt__(ClusterProvenance self, Particle d) -> bool
14215 return _IMP_core.ClusterProvenance___gt__(self, *args)
14217 def __hash__(self):
14218 r"""__hash__(ClusterProvenance self) -> std::size_t"""
14219 return _IMP_core.ClusterProvenance___hash__(self)
14222 r"""__str__(ClusterProvenance self) -> std::string"""
14223 return _IMP_core.ClusterProvenance___str__(self)
14225 def __repr__(self):
14226 r"""__repr__(ClusterProvenance self) -> std::string"""
14227 return _IMP_core.ClusterProvenance___repr__(self)
14229 def _get_as_binary(self):
14230 r"""_get_as_binary(ClusterProvenance self) -> PyObject *"""
14231 return _IMP_core.ClusterProvenance__get_as_binary(self)
14233 def _set_from_binary(self, p):
14234 r"""_set_from_binary(ClusterProvenance self, PyObject * p)"""
14235 return _IMP_core.ClusterProvenance__set_from_binary(self, p)
14237 def __getstate__(self):
14238 p = self._get_as_binary()
14239 if len(self.__dict__) > 1:
14240 d = self.__dict__.copy()
14245 def __setstate__(self, p):
14246 if not hasattr(self,
'this'):
14248 if isinstance(p, tuple):
14250 self.__dict__.update(d)
14251 return self._set_from_binary(p)
14253 __swig_destroy__ = _IMP_core.delete_ClusterProvenance
14256 _IMP_core.ClusterProvenance_swigregister(ClusterProvenance)
14257 class ScriptProvenance(Provenance):
14258 r"""Proxy of C++ IMP::core::ScriptProvenance class."""
14260 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
14262 def set_filename(self, filename):
14263 r"""set_filename(ScriptProvenance self, std::string filename)"""
14264 return _IMP_core.ScriptProvenance_set_filename(self, filename)
14266 def get_filename(self):
14267 r"""get_filename(ScriptProvenance self) -> std::string"""
14268 return _IMP_core.ScriptProvenance_get_filename(self)
14270 def __init__(self, *args):
14272 __init__(ScriptProvenance self) -> ScriptProvenance
14273 __init__(ScriptProvenance self, Model m, ParticleIndex id) -> ScriptProvenance
14274 __init__(ScriptProvenance self, _ParticleAdaptor d) -> ScriptProvenance
14276 _IMP_core.ScriptProvenance_swiginit(self, _IMP_core.new_ScriptProvenance(*args))
14279 def get_is_setup(*args):
14281 get_is_setup(Model m, ParticleIndex pi) -> bool
14282 get_is_setup(_ParticleAdaptor p) -> bool
14284 return _IMP_core.ScriptProvenance_get_is_setup(*args)
14286 def show(self, *args):
14287 r"""show(ScriptProvenance self, _ostream out=std::cout)"""
14288 return _IMP_core.ScriptProvenance_show(self, *args)
14291 def setup_particle(*args):
14293 setup_particle(Model m, ParticleIndex pi, std::string filename) -> ScriptProvenance
14294 setup_particle(_ParticleAdaptor pa, std::string filename) -> ScriptProvenance
14295 setup_particle(Model m, ParticleIndex pi, ScriptProvenance o) -> ScriptProvenance
14296 setup_particle(_ParticleAdaptor pa, ScriptProvenance o) -> ScriptProvenance
14298 return _IMP_core.ScriptProvenance_setup_particle(*args)
14300 def add_attribute(self, *args):
14302 add_attribute(ScriptProvenance self, FloatKey k, IMP::Float v, bool opt)
14303 add_attribute(ScriptProvenance self, FloatKey a0, IMP::Float a1)
14304 add_attribute(ScriptProvenance self, IntKey a0, IMP::Int a1)
14305 add_attribute(ScriptProvenance self, FloatsKey a0, IMP::Floats a1)
14306 add_attribute(ScriptProvenance self, IntsKey a0, IMP::Ints a1)
14307 add_attribute(ScriptProvenance self, StringKey a0, IMP::String a1)
14308 add_attribute(ScriptProvenance self, ParticleIndexKey a0, Particle a1)
14309 add_attribute(ScriptProvenance self, ObjectKey a0, Object a1)
14311 return _IMP_core.ScriptProvenance_add_attribute(self, *args)
14313 def get_value(self, *args):
14315 get_value(ScriptProvenance self, FloatKey a0) -> IMP::Float
14316 get_value(ScriptProvenance self, IntKey a0) -> IMP::Int
14317 get_value(ScriptProvenance self, FloatsKey a0) -> IMP::Floats
14318 get_value(ScriptProvenance self, IntsKey a0) -> IMP::Ints
14319 get_value(ScriptProvenance self, StringKey a0) -> IMP::String
14320 get_value(ScriptProvenance self, ParticleIndexKey a0) -> Particle
14321 get_value(ScriptProvenance self, ObjectKey a0) -> Object
14323 return _IMP_core.ScriptProvenance_get_value(self, *args)
14325 def set_value(self, *args):
14327 set_value(ScriptProvenance self, FloatKey a0, IMP::Float a1)
14328 set_value(ScriptProvenance self, IntKey a0, IMP::Int a1)
14329 set_value(ScriptProvenance self, FloatsKey a0, IMP::Floats a1)
14330 set_value(ScriptProvenance self, IntsKey a0, IMP::Ints a1)
14331 set_value(ScriptProvenance self, StringKey a0, IMP::String a1)
14332 set_value(ScriptProvenance self, ParticleIndexKey a0, Particle a1)
14333 set_value(ScriptProvenance self, ObjectKey a0, Object a1)
14335 return _IMP_core.ScriptProvenance_set_value(self, *args)
14337 def remove_attribute(self, *args):
14339 remove_attribute(ScriptProvenance self, FloatKey a0)
14340 remove_attribute(ScriptProvenance self, IntKey a0)
14341 remove_attribute(ScriptProvenance self, FloatsKey a0)
14342 remove_attribute(ScriptProvenance self, IntsKey a0)
14343 remove_attribute(ScriptProvenance self, StringKey a0)
14344 remove_attribute(ScriptProvenance self, ParticleIndexKey a0)
14345 remove_attribute(ScriptProvenance self, ObjectKey a0)
14347 return _IMP_core.ScriptProvenance_remove_attribute(self, *args)
14349 def has_attribute(self, *args):
14351 has_attribute(ScriptProvenance self, FloatKey a0) -> bool
14352 has_attribute(ScriptProvenance self, IntKey a0) -> bool
14353 has_attribute(ScriptProvenance self, FloatsKey a0) -> bool
14354 has_attribute(ScriptProvenance self, IntsKey a0) -> bool
14355 has_attribute(ScriptProvenance self, StringKey a0) -> bool
14356 has_attribute(ScriptProvenance self, ParticleIndexKey a0) -> bool
14357 has_attribute(ScriptProvenance self, ObjectKey a0) -> bool
14359 return _IMP_core.ScriptProvenance_has_attribute(self, *args)
14361 def get_derivative(self, a0):
14362 r"""get_derivative(ScriptProvenance self, FloatKey a0) -> double"""
14363 return _IMP_core.ScriptProvenance_get_derivative(self, a0)
14365 def get_name(self):
14366 r"""get_name(ScriptProvenance self) -> std::string"""
14367 return _IMP_core.ScriptProvenance_get_name(self)
14369 def clear_caches(self):
14370 r"""clear_caches(ScriptProvenance self)"""
14371 return _IMP_core.ScriptProvenance_clear_caches(self)
14373 def set_name(self, a0):
14374 r"""set_name(ScriptProvenance self, std::string a0)"""
14375 return _IMP_core.ScriptProvenance_set_name(self, a0)
14378 r"""set_check_level(ScriptProvenance self, IMP::CheckLevel a0)"""
14379 return _IMP_core.ScriptProvenance_set_check_level(self, a0)
14381 def add_to_derivative(self, a0, a1, a2):
14382 r"""add_to_derivative(ScriptProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
14383 return _IMP_core.ScriptProvenance_add_to_derivative(self, a0, a1, a2)
14385 def set_is_optimized(self, a0, a1):
14386 r"""set_is_optimized(ScriptProvenance self, FloatKey a0, bool a1)"""
14387 return _IMP_core.ScriptProvenance_set_is_optimized(self, a0, a1)
14389 def get_is_optimized(self, a0):
14390 r"""get_is_optimized(ScriptProvenance self, FloatKey a0) -> bool"""
14391 return _IMP_core.ScriptProvenance_get_is_optimized(self, a0)
14394 r"""get_check_level(ScriptProvenance self) -> IMP::CheckLevel"""
14395 return _IMP_core.ScriptProvenance_get_check_level(self)
14397 def __eq__(self, *args):
14399 __eq__(ScriptProvenance self, ScriptProvenance o) -> bool
14400 __eq__(ScriptProvenance self, Particle d) -> bool
14402 return _IMP_core.ScriptProvenance___eq__(self, *args)
14404 def __ne__(self, *args):
14406 __ne__(ScriptProvenance self, ScriptProvenance o) -> bool
14407 __ne__(ScriptProvenance self, Particle d) -> bool
14409 return _IMP_core.ScriptProvenance___ne__(self, *args)
14411 def __le__(self, *args):
14413 __le__(ScriptProvenance self, ScriptProvenance o) -> bool
14414 __le__(ScriptProvenance self, Particle d) -> bool
14416 return _IMP_core.ScriptProvenance___le__(self, *args)
14418 def __lt__(self, *args):
14420 __lt__(ScriptProvenance self, ScriptProvenance o) -> bool
14421 __lt__(ScriptProvenance self, Particle d) -> bool
14423 return _IMP_core.ScriptProvenance___lt__(self, *args)
14425 def __ge__(self, *args):
14427 __ge__(ScriptProvenance self, ScriptProvenance o) -> bool
14428 __ge__(ScriptProvenance self, Particle d) -> bool
14430 return _IMP_core.ScriptProvenance___ge__(self, *args)
14432 def __gt__(self, *args):
14434 __gt__(ScriptProvenance self, ScriptProvenance o) -> bool
14435 __gt__(ScriptProvenance self, Particle d) -> bool
14437 return _IMP_core.ScriptProvenance___gt__(self, *args)
14439 def __hash__(self):
14440 r"""__hash__(ScriptProvenance self) -> std::size_t"""
14441 return _IMP_core.ScriptProvenance___hash__(self)
14444 r"""__str__(ScriptProvenance self) -> std::string"""
14445 return _IMP_core.ScriptProvenance___str__(self)
14447 def __repr__(self):
14448 r"""__repr__(ScriptProvenance self) -> std::string"""
14449 return _IMP_core.ScriptProvenance___repr__(self)
14451 def _get_as_binary(self):
14452 r"""_get_as_binary(ScriptProvenance self) -> PyObject *"""
14453 return _IMP_core.ScriptProvenance__get_as_binary(self)
14455 def _set_from_binary(self, p):
14456 r"""_set_from_binary(ScriptProvenance self, PyObject * p)"""
14457 return _IMP_core.ScriptProvenance__set_from_binary(self, p)
14459 def __getstate__(self):
14460 p = self._get_as_binary()
14461 if len(self.__dict__) > 1:
14462 d = self.__dict__.copy()
14467 def __setstate__(self, p):
14468 if not hasattr(self,
'this'):
14470 if isinstance(p, tuple):
14472 self.__dict__.update(d)
14473 return self._set_from_binary(p)
14475 __swig_destroy__ = _IMP_core.delete_ScriptProvenance
14478 _IMP_core.ScriptProvenance_swigregister(ScriptProvenance)
14479 class SoftwareProvenance(Provenance):
14480 r"""Proxy of C++ IMP::core::SoftwareProvenance class."""
14482 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
14484 def set_software_name(self, name):
14485 r"""set_software_name(SoftwareProvenance self, std::string name)"""
14486 return _IMP_core.SoftwareProvenance_set_software_name(self, name)
14488 def get_software_name(self):
14489 r"""get_software_name(SoftwareProvenance self) -> std::string"""
14490 return _IMP_core.SoftwareProvenance_get_software_name(self)
14492 def set_version(self, version):
14493 r"""set_version(SoftwareProvenance self, std::string version)"""
14494 return _IMP_core.SoftwareProvenance_set_version(self, version)
14496 def get_version(self):
14497 r"""get_version(SoftwareProvenance self) -> std::string"""
14498 return _IMP_core.SoftwareProvenance_get_version(self)
14500 def set_location(self, location):
14501 r"""set_location(SoftwareProvenance self, std::string location)"""
14502 return _IMP_core.SoftwareProvenance_set_location(self, location)
14504 def get_location(self):
14505 r"""get_location(SoftwareProvenance self) -> std::string"""
14506 return _IMP_core.SoftwareProvenance_get_location(self)
14508 def __init__(self, *args):
14510 __init__(SoftwareProvenance self) -> SoftwareProvenance
14511 __init__(SoftwareProvenance self, Model m, ParticleIndex id) -> SoftwareProvenance
14512 __init__(SoftwareProvenance self, _ParticleAdaptor d) -> SoftwareProvenance
14514 _IMP_core.SoftwareProvenance_swiginit(self, _IMP_core.new_SoftwareProvenance(*args))
14517 def get_is_setup(*args):
14519 get_is_setup(Model m, ParticleIndex pi) -> bool
14520 get_is_setup(_ParticleAdaptor p) -> bool
14522 return _IMP_core.SoftwareProvenance_get_is_setup(*args)
14524 def show(self, *args):
14525 r"""show(SoftwareProvenance self, _ostream out=std::cout)"""
14526 return _IMP_core.SoftwareProvenance_show(self, *args)
14529 def setup_particle(*args):
14531 setup_particle(Model m, ParticleIndex pi, std::string name, std::string version, std::string location) -> SoftwareProvenance
14532 setup_particle(_ParticleAdaptor pa, std::string name, std::string version, std::string location) -> SoftwareProvenance
14533 setup_particle(Model m, ParticleIndex pi, SoftwareProvenance o) -> SoftwareProvenance
14534 setup_particle(_ParticleAdaptor pa, SoftwareProvenance o) -> SoftwareProvenance
14536 return _IMP_core.SoftwareProvenance_setup_particle(*args)
14538 def add_attribute(self, *args):
14540 add_attribute(SoftwareProvenance self, FloatKey k, IMP::Float v, bool opt)
14541 add_attribute(SoftwareProvenance self, FloatKey a0, IMP::Float a1)
14542 add_attribute(SoftwareProvenance self, IntKey a0, IMP::Int a1)
14543 add_attribute(SoftwareProvenance self, FloatsKey a0, IMP::Floats a1)
14544 add_attribute(SoftwareProvenance self, IntsKey a0, IMP::Ints a1)
14545 add_attribute(SoftwareProvenance self, StringKey a0, IMP::String a1)
14546 add_attribute(SoftwareProvenance self, ParticleIndexKey a0, Particle a1)
14547 add_attribute(SoftwareProvenance self, ObjectKey a0, Object a1)
14549 return _IMP_core.SoftwareProvenance_add_attribute(self, *args)
14551 def get_value(self, *args):
14553 get_value(SoftwareProvenance self, FloatKey a0) -> IMP::Float
14554 get_value(SoftwareProvenance self, IntKey a0) -> IMP::Int
14555 get_value(SoftwareProvenance self, FloatsKey a0) -> IMP::Floats
14556 get_value(SoftwareProvenance self, IntsKey a0) -> IMP::Ints
14557 get_value(SoftwareProvenance self, StringKey a0) -> IMP::String
14558 get_value(SoftwareProvenance self, ParticleIndexKey a0) -> Particle
14559 get_value(SoftwareProvenance self, ObjectKey a0) -> Object
14561 return _IMP_core.SoftwareProvenance_get_value(self, *args)
14563 def set_value(self, *args):
14565 set_value(SoftwareProvenance self, FloatKey a0, IMP::Float a1)
14566 set_value(SoftwareProvenance self, IntKey a0, IMP::Int a1)
14567 set_value(SoftwareProvenance self, FloatsKey a0, IMP::Floats a1)
14568 set_value(SoftwareProvenance self, IntsKey a0, IMP::Ints a1)
14569 set_value(SoftwareProvenance self, StringKey a0, IMP::String a1)
14570 set_value(SoftwareProvenance self, ParticleIndexKey a0, Particle a1)
14571 set_value(SoftwareProvenance self, ObjectKey a0, Object a1)
14573 return _IMP_core.SoftwareProvenance_set_value(self, *args)
14575 def remove_attribute(self, *args):
14577 remove_attribute(SoftwareProvenance self, FloatKey a0)
14578 remove_attribute(SoftwareProvenance self, IntKey a0)
14579 remove_attribute(SoftwareProvenance self, FloatsKey a0)
14580 remove_attribute(SoftwareProvenance self, IntsKey a0)
14581 remove_attribute(SoftwareProvenance self, StringKey a0)
14582 remove_attribute(SoftwareProvenance self, ParticleIndexKey a0)
14583 remove_attribute(SoftwareProvenance self, ObjectKey a0)
14585 return _IMP_core.SoftwareProvenance_remove_attribute(self, *args)
14587 def has_attribute(self, *args):
14589 has_attribute(SoftwareProvenance self, FloatKey a0) -> bool
14590 has_attribute(SoftwareProvenance self, IntKey a0) -> bool
14591 has_attribute(SoftwareProvenance self, FloatsKey a0) -> bool
14592 has_attribute(SoftwareProvenance self, IntsKey a0) -> bool
14593 has_attribute(SoftwareProvenance self, StringKey a0) -> bool
14594 has_attribute(SoftwareProvenance self, ParticleIndexKey a0) -> bool
14595 has_attribute(SoftwareProvenance self, ObjectKey a0) -> bool
14597 return _IMP_core.SoftwareProvenance_has_attribute(self, *args)
14599 def get_derivative(self, a0):
14600 r"""get_derivative(SoftwareProvenance self, FloatKey a0) -> double"""
14601 return _IMP_core.SoftwareProvenance_get_derivative(self, a0)
14603 def get_name(self):
14604 r"""get_name(SoftwareProvenance self) -> std::string"""
14605 return _IMP_core.SoftwareProvenance_get_name(self)
14607 def clear_caches(self):
14608 r"""clear_caches(SoftwareProvenance self)"""
14609 return _IMP_core.SoftwareProvenance_clear_caches(self)
14611 def set_name(self, a0):
14612 r"""set_name(SoftwareProvenance self, std::string a0)"""
14613 return _IMP_core.SoftwareProvenance_set_name(self, a0)
14616 r"""set_check_level(SoftwareProvenance self, IMP::CheckLevel a0)"""
14617 return _IMP_core.SoftwareProvenance_set_check_level(self, a0)
14619 def add_to_derivative(self, a0, a1, a2):
14620 r"""add_to_derivative(SoftwareProvenance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
14621 return _IMP_core.SoftwareProvenance_add_to_derivative(self, a0, a1, a2)
14623 def set_is_optimized(self, a0, a1):
14624 r"""set_is_optimized(SoftwareProvenance self, FloatKey a0, bool a1)"""
14625 return _IMP_core.SoftwareProvenance_set_is_optimized(self, a0, a1)
14627 def get_is_optimized(self, a0):
14628 r"""get_is_optimized(SoftwareProvenance self, FloatKey a0) -> bool"""
14629 return _IMP_core.SoftwareProvenance_get_is_optimized(self, a0)
14632 r"""get_check_level(SoftwareProvenance self) -> IMP::CheckLevel"""
14633 return _IMP_core.SoftwareProvenance_get_check_level(self)
14635 def __eq__(self, *args):
14637 __eq__(SoftwareProvenance self, SoftwareProvenance o) -> bool
14638 __eq__(SoftwareProvenance self, Particle d) -> bool
14640 return _IMP_core.SoftwareProvenance___eq__(self, *args)
14642 def __ne__(self, *args):
14644 __ne__(SoftwareProvenance self, SoftwareProvenance o) -> bool
14645 __ne__(SoftwareProvenance self, Particle d) -> bool
14647 return _IMP_core.SoftwareProvenance___ne__(self, *args)
14649 def __le__(self, *args):
14651 __le__(SoftwareProvenance self, SoftwareProvenance o) -> bool
14652 __le__(SoftwareProvenance self, Particle d) -> bool
14654 return _IMP_core.SoftwareProvenance___le__(self, *args)
14656 def __lt__(self, *args):
14658 __lt__(SoftwareProvenance self, SoftwareProvenance o) -> bool
14659 __lt__(SoftwareProvenance self, Particle d) -> bool
14661 return _IMP_core.SoftwareProvenance___lt__(self, *args)
14663 def __ge__(self, *args):
14665 __ge__(SoftwareProvenance self, SoftwareProvenance o) -> bool
14666 __ge__(SoftwareProvenance self, Particle d) -> bool
14668 return _IMP_core.SoftwareProvenance___ge__(self, *args)
14670 def __gt__(self, *args):
14672 __gt__(SoftwareProvenance self, SoftwareProvenance o) -> bool
14673 __gt__(SoftwareProvenance self, Particle d) -> bool
14675 return _IMP_core.SoftwareProvenance___gt__(self, *args)
14677 def __hash__(self):
14678 r"""__hash__(SoftwareProvenance self) -> std::size_t"""
14679 return _IMP_core.SoftwareProvenance___hash__(self)
14682 r"""__str__(SoftwareProvenance self) -> std::string"""
14683 return _IMP_core.SoftwareProvenance___str__(self)
14685 def __repr__(self):
14686 r"""__repr__(SoftwareProvenance self) -> std::string"""
14687 return _IMP_core.SoftwareProvenance___repr__(self)
14689 def _get_as_binary(self):
14690 r"""_get_as_binary(SoftwareProvenance self) -> PyObject *"""
14691 return _IMP_core.SoftwareProvenance__get_as_binary(self)
14693 def _set_from_binary(self, p):
14694 r"""_set_from_binary(SoftwareProvenance self, PyObject * p)"""
14695 return _IMP_core.SoftwareProvenance__set_from_binary(self, p)
14697 def __getstate__(self):
14698 p = self._get_as_binary()
14699 if len(self.__dict__) > 1:
14700 d = self.__dict__.copy()
14705 def __setstate__(self, p):
14706 if not hasattr(self,
'this'):
14708 if isinstance(p, tuple):
14710 self.__dict__.update(d)
14711 return self._set_from_binary(p)
14713 __swig_destroy__ = _IMP_core.delete_SoftwareProvenance
14716 _IMP_core.SoftwareProvenance_swigregister(SoftwareProvenance)
14718 r"""Proxy of C++ IMP::core::Provenanced class."""
14720 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
14722 def get_provenance(self):
14723 r"""get_provenance(Provenanced self) -> Provenance"""
14724 return _IMP_core.Provenanced_get_provenance(self)
14726 def set_provenance(self, p):
14727 r"""set_provenance(Provenanced self, Provenance p)"""
14728 return _IMP_core.Provenanced_set_provenance(self, p)
14730 def __init__(self, *args):
14732 __init__(Provenanced self) -> Provenanced
14733 __init__(Provenanced self, Model m, ParticleIndex id) -> Provenanced
14734 __init__(Provenanced self, _ParticleAdaptor d) -> Provenanced
14736 _IMP_core.Provenanced_swiginit(self, _IMP_core.new_Provenanced(*args))
14739 def get_is_setup(*args):
14741 get_is_setup(Model m, ParticleIndex pi) -> bool
14742 get_is_setup(_ParticleAdaptor p) -> bool
14744 return _IMP_core.Provenanced_get_is_setup(*args)
14746 def show(self, *args):
14747 r"""show(Provenanced self, _ostream out=std::cout)"""
14748 return _IMP_core.Provenanced_show(self, *args)
14751 def setup_particle(*args):
14753 setup_particle(Model m, ParticleIndex pi, Provenance p) -> Provenanced
14754 setup_particle(_ParticleAdaptor pa, Provenance p) -> Provenanced
14756 return _IMP_core.Provenanced_setup_particle(*args)
14758 def add_attribute(self, *args):
14760 add_attribute(Provenanced self, FloatKey k, IMP::Float v, bool opt)
14761 add_attribute(Provenanced self, FloatKey a0, IMP::Float a1)
14762 add_attribute(Provenanced self, IntKey a0, IMP::Int a1)
14763 add_attribute(Provenanced self, FloatsKey a0, IMP::Floats a1)
14764 add_attribute(Provenanced self, IntsKey a0, IMP::Ints a1)
14765 add_attribute(Provenanced self, StringKey a0, IMP::String a1)
14766 add_attribute(Provenanced self, ParticleIndexKey a0, Particle a1)
14767 add_attribute(Provenanced self, ObjectKey a0, Object a1)
14769 return _IMP_core.Provenanced_add_attribute(self, *args)
14771 def get_value(self, *args):
14773 get_value(Provenanced self, FloatKey a0) -> IMP::Float
14774 get_value(Provenanced self, IntKey a0) -> IMP::Int
14775 get_value(Provenanced self, FloatsKey a0) -> IMP::Floats
14776 get_value(Provenanced self, IntsKey a0) -> IMP::Ints
14777 get_value(Provenanced self, StringKey a0) -> IMP::String
14778 get_value(Provenanced self, ParticleIndexKey a0) -> Particle
14779 get_value(Provenanced self, ObjectKey a0) -> Object
14781 return _IMP_core.Provenanced_get_value(self, *args)
14783 def set_value(self, *args):
14785 set_value(Provenanced self, FloatKey a0, IMP::Float a1)
14786 set_value(Provenanced self, IntKey a0, IMP::Int a1)
14787 set_value(Provenanced self, FloatsKey a0, IMP::Floats a1)
14788 set_value(Provenanced self, IntsKey a0, IMP::Ints a1)
14789 set_value(Provenanced self, StringKey a0, IMP::String a1)
14790 set_value(Provenanced self, ParticleIndexKey a0, Particle a1)
14791 set_value(Provenanced self, ObjectKey a0, Object a1)
14793 return _IMP_core.Provenanced_set_value(self, *args)
14795 def remove_attribute(self, *args):
14797 remove_attribute(Provenanced self, FloatKey a0)
14798 remove_attribute(Provenanced self, IntKey a0)
14799 remove_attribute(Provenanced self, FloatsKey a0)
14800 remove_attribute(Provenanced self, IntsKey a0)
14801 remove_attribute(Provenanced self, StringKey a0)
14802 remove_attribute(Provenanced self, ParticleIndexKey a0)
14803 remove_attribute(Provenanced self, ObjectKey a0)
14805 return _IMP_core.Provenanced_remove_attribute(self, *args)
14807 def has_attribute(self, *args):
14809 has_attribute(Provenanced self, FloatKey a0) -> bool
14810 has_attribute(Provenanced self, IntKey a0) -> bool
14811 has_attribute(Provenanced self, FloatsKey a0) -> bool
14812 has_attribute(Provenanced self, IntsKey a0) -> bool
14813 has_attribute(Provenanced self, StringKey a0) -> bool
14814 has_attribute(Provenanced self, ParticleIndexKey a0) -> bool
14815 has_attribute(Provenanced self, ObjectKey a0) -> bool
14817 return _IMP_core.Provenanced_has_attribute(self, *args)
14819 def get_derivative(self, a0):
14820 r"""get_derivative(Provenanced self, FloatKey a0) -> double"""
14821 return _IMP_core.Provenanced_get_derivative(self, a0)
14823 def get_name(self):
14824 r"""get_name(Provenanced self) -> std::string"""
14825 return _IMP_core.Provenanced_get_name(self)
14827 def clear_caches(self):
14828 r"""clear_caches(Provenanced self)"""
14829 return _IMP_core.Provenanced_clear_caches(self)
14831 def set_name(self, a0):
14832 r"""set_name(Provenanced self, std::string a0)"""
14833 return _IMP_core.Provenanced_set_name(self, a0)
14836 r"""set_check_level(Provenanced self, IMP::CheckLevel a0)"""
14837 return _IMP_core.Provenanced_set_check_level(self, a0)
14839 def add_to_derivative(self, a0, a1, a2):
14840 r"""add_to_derivative(Provenanced self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
14841 return _IMP_core.Provenanced_add_to_derivative(self, a0, a1, a2)
14843 def set_is_optimized(self, a0, a1):
14844 r"""set_is_optimized(Provenanced self, FloatKey a0, bool a1)"""
14845 return _IMP_core.Provenanced_set_is_optimized(self, a0, a1)
14847 def get_is_optimized(self, a0):
14848 r"""get_is_optimized(Provenanced self, FloatKey a0) -> bool"""
14849 return _IMP_core.Provenanced_get_is_optimized(self, a0)
14852 r"""get_check_level(Provenanced self) -> IMP::CheckLevel"""
14853 return _IMP_core.Provenanced_get_check_level(self)
14855 def __eq__(self, *args):
14857 __eq__(Provenanced self, Provenanced o) -> bool
14858 __eq__(Provenanced self, Particle d) -> bool
14860 return _IMP_core.Provenanced___eq__(self, *args)
14862 def __ne__(self, *args):
14864 __ne__(Provenanced self, Provenanced o) -> bool
14865 __ne__(Provenanced self, Particle d) -> bool
14867 return _IMP_core.Provenanced___ne__(self, *args)
14869 def __le__(self, *args):
14871 __le__(Provenanced self, Provenanced o) -> bool
14872 __le__(Provenanced self, Particle d) -> bool
14874 return _IMP_core.Provenanced___le__(self, *args)
14876 def __lt__(self, *args):
14878 __lt__(Provenanced self, Provenanced o) -> bool
14879 __lt__(Provenanced self, Particle d) -> bool
14881 return _IMP_core.Provenanced___lt__(self, *args)
14883 def __ge__(self, *args):
14885 __ge__(Provenanced self, Provenanced o) -> bool
14886 __ge__(Provenanced self, Particle d) -> bool
14888 return _IMP_core.Provenanced___ge__(self, *args)
14890 def __gt__(self, *args):
14892 __gt__(Provenanced self, Provenanced o) -> bool
14893 __gt__(Provenanced self, Particle d) -> bool
14895 return _IMP_core.Provenanced___gt__(self, *args)
14897 def __hash__(self):
14898 r"""__hash__(Provenanced self) -> std::size_t"""
14899 return _IMP_core.Provenanced___hash__(self)
14902 r"""__str__(Provenanced self) -> std::string"""
14903 return _IMP_core.Provenanced___str__(self)
14905 def __repr__(self):
14906 r"""__repr__(Provenanced self) -> std::string"""
14907 return _IMP_core.Provenanced___repr__(self)
14909 def _get_as_binary(self):
14910 r"""_get_as_binary(Provenanced self) -> PyObject *"""
14911 return _IMP_core.Provenanced__get_as_binary(self)
14913 def _set_from_binary(self, p):
14914 r"""_set_from_binary(Provenanced self, PyObject * p)"""
14915 return _IMP_core.Provenanced__set_from_binary(self, p)
14917 def __getstate__(self):
14918 p = self._get_as_binary()
14919 if len(self.__dict__) > 1:
14920 d = self.__dict__.copy()
14925 def __setstate__(self, p):
14926 if not hasattr(self,
'this'):
14928 if isinstance(p, tuple):
14930 self.__dict__.update(d)
14931 return self._set_from_binary(p)
14933 __swig_destroy__ = _IMP_core.delete_Provenanced
14936 _IMP_core.Provenanced_swigregister(Provenanced)
14939 r"""add_provenance(Model m, ParticleIndex pi, Provenance p)"""
14940 return _IMP_core.add_provenance(m, pi, p)
14943 r"""create_clone(Provenance p) -> Provenance"""
14944 return _IMP_core.create_clone(p)
14948 get_transformation_aligning_first_to_second(IMP::ParticlesTemp const & a, IMP::ParticlesTemp const & b) -> Transformation3D
14949 get_transformation_aligning_first_to_second(IMP::ParticlesTemp const & a, IMP::Vector< IMP::algebra::VectorD< 3 > > const & b) -> Transformation3D
14950 get_transformation_aligning_first_to_second(IMP::Vector< IMP::algebra::VectorD< 3 > > const & a, IMP::ParticlesTemp const & b) -> Transformation3D
14952 return _IMP_core.get_transformation_aligning_first_to_second(*args)
14955 r"""create_restraint(PairScore ps, IMP::ParticlePair pp) -> Restraint"""
14956 return _IMP_core.create_restraint(ps, pp)
14958 r"""Proxy of C++ IMP::core::TruncatedHarmonic< IMP::core::LOWER > class."""
14960 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
14962 def __init__(self, *args):
14964 __init__(TruncatedHarmonicLowerBound self, IMP::Float center, IMP::Float k, IMP::Float threshold, IMP::Float limit) -> TruncatedHarmonicLowerBound
14965 __init__(TruncatedHarmonicLowerBound self, IMP::Float center, IMP::Float k, IMP::Float threshold) -> TruncatedHarmonicLowerBound
14967 _IMP_core.TruncatedHarmonicLowerBound_swiginit(self, _IMP_core.new_TruncatedHarmonicLowerBound(*args))
14969 def get_version_info(self):
14970 r"""get_version_info(TruncatedHarmonicLowerBound self) -> VersionInfo"""
14971 return _IMP_core.TruncatedHarmonicLowerBound_get_version_info(self)
14972 __swig_destroy__ = _IMP_core.delete_TruncatedHarmonicLowerBound
14975 r"""__str__(TruncatedHarmonicLowerBound self) -> std::string"""
14976 return _IMP_core.TruncatedHarmonicLowerBound___str__(self)
14978 def __repr__(self):
14979 r"""__repr__(TruncatedHarmonicLowerBound self) -> std::string"""
14980 return _IMP_core.TruncatedHarmonicLowerBound___repr__(self)
14984 return _object_cast_to_TruncatedHarmonic(o)
14988 _IMP_core.TruncatedHarmonicLowerBound_swigregister(TruncatedHarmonicLowerBound)
14990 r"""Proxy of C++ IMP::core::TruncatedHarmonic< IMP::core::UPPER > class."""
14992 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
14994 def __init__(self, *args):
14996 __init__(TruncatedHarmonicUpperBound self, IMP::Float center, IMP::Float k, IMP::Float threshold, IMP::Float limit) -> TruncatedHarmonicUpperBound
14997 __init__(TruncatedHarmonicUpperBound self, IMP::Float center, IMP::Float k, IMP::Float threshold) -> TruncatedHarmonicUpperBound
14999 _IMP_core.TruncatedHarmonicUpperBound_swiginit(self, _IMP_core.new_TruncatedHarmonicUpperBound(*args))
15001 def get_version_info(self):
15002 r"""get_version_info(TruncatedHarmonicUpperBound self) -> VersionInfo"""
15003 return _IMP_core.TruncatedHarmonicUpperBound_get_version_info(self)
15004 __swig_destroy__ = _IMP_core.delete_TruncatedHarmonicUpperBound
15007 r"""__str__(TruncatedHarmonicUpperBound self) -> std::string"""
15008 return _IMP_core.TruncatedHarmonicUpperBound___str__(self)
15010 def __repr__(self):
15011 r"""__repr__(TruncatedHarmonicUpperBound self) -> std::string"""
15012 return _IMP_core.TruncatedHarmonicUpperBound___repr__(self)
15016 return _object_cast_to_TruncatedHarmonic(o)
15020 _IMP_core.TruncatedHarmonicUpperBound_swigregister(TruncatedHarmonicUpperBound)
15022 r"""Proxy of C++ IMP::core::TruncatedHarmonic< IMP::core::BOTH > class."""
15024 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
15026 def __init__(self, *args):
15028 __init__(TruncatedHarmonicBound self, IMP::Float center, IMP::Float k, IMP::Float threshold, IMP::Float limit) -> TruncatedHarmonicBound
15029 __init__(TruncatedHarmonicBound self, IMP::Float center, IMP::Float k, IMP::Float threshold) -> TruncatedHarmonicBound
15031 _IMP_core.TruncatedHarmonicBound_swiginit(self, _IMP_core.new_TruncatedHarmonicBound(*args))
15033 def get_version_info(self):
15034 r"""get_version_info(TruncatedHarmonicBound self) -> VersionInfo"""
15035 return _IMP_core.TruncatedHarmonicBound_get_version_info(self)
15036 __swig_destroy__ = _IMP_core.delete_TruncatedHarmonicBound
15039 r"""__str__(TruncatedHarmonicBound self) -> std::string"""
15040 return _IMP_core.TruncatedHarmonicBound___str__(self)
15042 def __repr__(self):
15043 r"""__repr__(TruncatedHarmonicBound self) -> std::string"""
15044 return _IMP_core.TruncatedHarmonicBound___repr__(self)
15048 return _object_cast_to_TruncatedHarmonic(o)
15052 _IMP_core.TruncatedHarmonicBound_swigregister(TruncatedHarmonicBound)
15054 r"""Proxy of C++ IMP::Key< 34897493 > class."""
15056 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
15058 def __init__(self, *args):
15060 __init__(ParticleType self) -> ParticleType
15061 __init__(ParticleType self, std::string const & c, bool is_implicit_add_permitted=True) -> ParticleType
15062 __init__(ParticleType self, unsigned int i) -> ParticleType
15064 _IMP_core.ParticleType_swiginit(self, _IMP_core.new_ParticleType(*args))
15068 r"""add_key(std::string sc) -> unsigned int"""
15069 return _IMP_core.ParticleType_add_key(sc)
15072 def get_key_exists(sc):
15073 r"""get_key_exists(std::string sc) -> bool"""
15074 return _IMP_core.ParticleType_get_key_exists(sc)
15076 def get_string(self):
15077 r"""get_string(ParticleType self) -> std::string const"""
15078 return _IMP_core.ParticleType_get_string(self)
15080 def __cmp__(self, o):
15081 r"""__cmp__(ParticleType self, ParticleType o) -> int"""
15082 return _IMP_core.ParticleType___cmp__(self, o)
15084 def __eq__(self, o):
15085 r"""__eq__(ParticleType self, ParticleType o) -> bool"""
15086 return _IMP_core.ParticleType___eq__(self, o)
15088 def __ne__(self, o):
15089 r"""__ne__(ParticleType self, ParticleType o) -> bool"""
15090 return _IMP_core.ParticleType___ne__(self, o)
15092 def __lt__(self, o):
15093 r"""__lt__(ParticleType self, ParticleType o) -> bool"""
15094 return _IMP_core.ParticleType___lt__(self, o)
15096 def __gt__(self, o):
15097 r"""__gt__(ParticleType self, ParticleType o) -> bool"""
15098 return _IMP_core.ParticleType___gt__(self, o)
15100 def __ge__(self, o):
15101 r"""__ge__(ParticleType self, ParticleType o) -> bool"""
15102 return _IMP_core.ParticleType___ge__(self, o)
15104 def __le__(self, o):
15105 r"""__le__(ParticleType self, ParticleType o) -> bool"""
15106 return _IMP_core.ParticleType___le__(self, o)
15108 def __hash__(self):
15109 r"""__hash__(ParticleType self) -> std::size_t"""
15110 return _IMP_core.ParticleType___hash__(self)
15112 def show(self, *args):
15113 r"""show(ParticleType self, _ostream out=std::cout)"""
15114 return _IMP_core.ParticleType_show(self, *args)
15117 def add_alias(old_key, new_name):
15118 r"""add_alias(ParticleType old_key, std::string new_name) -> ParticleType"""
15119 return _IMP_core.ParticleType_add_alias(old_key, new_name)
15122 def get_number_of_keys():
15123 r"""get_number_of_keys() -> unsigned int"""
15124 return _IMP_core.ParticleType_get_number_of_keys()
15127 r"""get_index(ParticleType self) -> unsigned int"""
15128 return _IMP_core.ParticleType_get_index(self)
15132 r"""show_all(_ostream out)"""
15133 return _IMP_core.ParticleType_show_all(out)
15136 def get_all_strings():
15137 r"""get_all_strings() -> IMP::Vector< std::string >"""
15138 return _IMP_core.ParticleType_get_all_strings()
15141 def get_number_unique():
15142 r"""get_number_unique() -> unsigned int"""
15143 return _IMP_core.ParticleType_get_number_unique()
15146 r"""__str__(ParticleType self) -> std::string"""
15147 return _IMP_core.ParticleType___str__(self)
15149 def __repr__(self):
15150 r"""__repr__(ParticleType self) -> std::string"""
15151 return _IMP_core.ParticleType___repr__(self)
15152 __swig_destroy__ = _IMP_core.delete_ParticleType
15155 _IMP_core.ParticleType_swigregister(ParticleType)
15157 r"""Proxy of C++ IMP::core::GenericAttributeSingletonScore< UnaryFunction > class."""
15159 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
15160 __repr__ = _swig_repr
15162 def __init__(self, f, k):
15163 r"""__init__(AttributeSingletonScore self, UnaryFunction f, FloatKey k) -> AttributeSingletonScore"""
15164 _IMP_core.AttributeSingletonScore_swiginit(self, _IMP_core.new_AttributeSingletonScore(f, k))
15166 def do_get_inputs(self, m, pis):
15167 r"""do_get_inputs(AttributeSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
15168 return _IMP_core.AttributeSingletonScore_do_get_inputs(self, m, pis)
15170 def get_unary_function(self):
15171 r"""get_unary_function(AttributeSingletonScore self) -> UnaryFunction"""
15172 return _IMP_core.AttributeSingletonScore_get_unary_function(self)
15174 def get_version_info(self):
15175 r"""get_version_info(AttributeSingletonScore self) -> VersionInfo"""
15176 return _IMP_core.AttributeSingletonScore_get_version_info(self)
15177 __swig_destroy__ = _IMP_core.delete_AttributeSingletonScore
15180 _IMP_core.AttributeSingletonScore_swigregister(AttributeSingletonScore)
15183 r"""create_generic_attribute_singleton_score(UnaryFunction uf, FloatKey k) -> AttributeSingletonScore"""
15184 return _IMP_core.create_generic_attribute_singleton_score(uf, k)
15186 r"""Proxy of C++ IMP::core::GenericBoundingBox3DSingletonScore< UnaryFunction > class."""
15188 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
15189 __repr__ = _swig_repr
15191 def __init__(self, f, bb):
15192 r"""__init__(BoundingBox3DSingletonScore self, UnaryFunction f, BoundingBox3D bb) -> BoundingBox3DSingletonScore"""
15193 _IMP_core.BoundingBox3DSingletonScore_swiginit(self, _IMP_core.new_BoundingBox3DSingletonScore(f, bb))
15195 def do_get_inputs(self, m, pis):
15196 r"""do_get_inputs(BoundingBox3DSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
15197 return _IMP_core.BoundingBox3DSingletonScore_do_get_inputs(self, m, pis)
15199 def get_version_info(self):
15200 r"""get_version_info(BoundingBox3DSingletonScore self) -> VersionInfo"""
15201 return _IMP_core.BoundingBox3DSingletonScore_get_version_info(self)
15202 __swig_destroy__ = _IMP_core.delete_BoundingBox3DSingletonScore
15205 _IMP_core.BoundingBox3DSingletonScore_swigregister(BoundingBox3DSingletonScore)
15207 def create_bounding_box_3d_singleton_score(f, bb):
15208 r"""create_bounding_box_3d_singleton_score(UnaryFunction f, BoundingBox3D bb) -> BoundingBox3DSingletonScore"""
15209 return _IMP_core.create_bounding_box_3d_singleton_score(f, bb)
15211 r"""Proxy of C++ IMP::core::GenericBoundingSphere3DSingletonScore< UnaryFunction > class."""
15213 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
15214 __repr__ = _swig_repr
15216 def __init__(self, f, sphere):
15217 r"""__init__(BoundingSphere3DSingletonScore self, UnaryFunction f, Sphere3D sphere) -> BoundingSphere3DSingletonScore"""
15218 _IMP_core.BoundingSphere3DSingletonScore_swiginit(self, _IMP_core.new_BoundingSphere3DSingletonScore(f, sphere))
15220 def do_get_inputs(self, m, pis):
15221 r"""do_get_inputs(BoundingSphere3DSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
15222 return _IMP_core.BoundingSphere3DSingletonScore_do_get_inputs(self, m, pis)
15224 def get_version_info(self):
15225 r"""get_version_info(BoundingSphere3DSingletonScore self) -> VersionInfo"""
15226 return _IMP_core.BoundingSphere3DSingletonScore_get_version_info(self)
15227 __swig_destroy__ = _IMP_core.delete_BoundingSphere3DSingletonScore
15230 _IMP_core.BoundingSphere3DSingletonScore_swigregister(BoundingSphere3DSingletonScore)
15232 def create_bounding_sphere_3d_singleton_score(f, sphere):
15233 r"""create_bounding_sphere_3d_singleton_score(UnaryFunction f, Sphere3D sphere) -> BoundingSphere3DSingletonScore"""
15234 return _IMP_core.create_bounding_sphere_3d_singleton_score(f, sphere)
15236 r"""Proxy of C++ IMP::core::GenericDistanceToSingletonScore< UnaryFunction > class."""
15238 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
15239 __repr__ = _swig_repr
15241 def __init__(self, *args):
15243 __init__(DistanceToSingletonScore self, UnaryFunction f, Vector3D pt) -> DistanceToSingletonScore
15244 __init__(DistanceToSingletonScore self) -> DistanceToSingletonScore
15246 _IMP_core.DistanceToSingletonScore_swiginit(self, _IMP_core.new_DistanceToSingletonScore(*args))
15248 def do_get_inputs(self, m, pis):
15249 r"""do_get_inputs(DistanceToSingletonScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
15250 return _IMP_core.DistanceToSingletonScore_do_get_inputs(self, m, pis)
15252 def get_version_info(self):
15253 r"""get_version_info(DistanceToSingletonScore self) -> VersionInfo"""
15254 return _IMP_core.DistanceToSingletonScore_get_version_info(self)
15255 __swig_destroy__ = _IMP_core.delete_DistanceToSingletonScore
15257 def _get_as_binary(self):
15258 r"""_get_as_binary(DistanceToSingletonScore self) -> PyObject *"""
15259 return _IMP_core.DistanceToSingletonScore__get_as_binary(self)
15261 def _set_from_binary(self, p):
15262 r"""_set_from_binary(DistanceToSingletonScore self, PyObject * p)"""
15263 return _IMP_core.DistanceToSingletonScore__set_from_binary(self, p)
15265 def __getstate__(self):
15266 p = self._get_as_binary()
15267 if len(self.__dict__) > 1:
15268 d = self.__dict__.copy()
15273 def __setstate__(self, p):
15274 if not hasattr(self,
'this'):
15276 if isinstance(p, tuple):
15278 self.__dict__.update(d)
15279 return self._set_from_binary(p)
15283 _IMP_core.DistanceToSingletonScore_swigregister(DistanceToSingletonScore)
15285 def create_distance_to_singleton_score(f, pt):
15286 r"""create_distance_to_singleton_score(UnaryFunction f, Vector3D pt) -> DistanceToSingletonScore"""
15287 return _IMP_core.create_distance_to_singleton_score(f, pt)
15291 CombineProvenance, FilterProvenance,
15292 ClusterProvenance, ScriptProvenance,
15293 SoftwareProvenance]):
15294 """Yield all provenance decorators of the given types for the particle.
15295 By default, all provenance types are returned. Provenance is returned
15296 in order, most recent first. If the particle has no provenance
15297 information, an empty generator is returned."""
15298 if Provenanced.get_is_setup(p):
15302 if c.get_is_setup(prov):
15304 prov = prov.get_previous()
15307 """Tag the given particle with the current Python script.
15308 This is a noop if the particle is already so tagged."""
15309 main = sys.modules[
'__main__']
15311 if not hasattr(main,
'__file__'):
15315 if prov.get_filename() == f:
15319 provp.set_name(
'script')
15320 prov = ScriptProvenance.setup_particle(provp, f)
15324 """Tag the given particle with the software used to create it.
15325 This is a noop if the particle is already so tagged."""
15327 if prov.get_software_name() == name
and prov.get_version() == version \
15328 and prov.get_location() == location:
15332 provp.set_name(
'software')
15333 prov = SoftwareProvenance.setup_particle(provp, name, version, location)
15337 """Tag the given particle as being created by the current version of IMP."""
15340 location=
"https://integrativemodeling.org")
15344 r"""get_module_version() -> std::string const"""
15345 return _IMP_core.get_module_version()
15348 r"""get_example_path(std::string fname) -> std::string"""
15349 return _IMP_core.get_example_path(fname)
15352 r"""get_data_path(std::string fname) -> std::string"""
15353 return _IMP_core.get_data_path(fname)
15355 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.