17 import builtins
as __builtin__
21 strthis =
"proxy of " + self.this.__repr__()
22 except __builtin__.Exception:
24 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
27 def _swig_setattr_nondynamic_instance_variable(set):
28 def set_instance_attr(self, name, value):
30 set(self, name, value)
31 elif name ==
"thisown":
33 elif hasattr(self, name)
and isinstance(getattr(type(self), name), property):
34 set(self, name, value)
36 raise AttributeError(
"You cannot add instance attributes to %s" % self)
37 return set_instance_attr
40 def _swig_setattr_nondynamic_class_variable(set):
41 def set_class_attr(cls, name, value):
42 if hasattr(cls, name)
and not isinstance(getattr(cls, name), property):
45 raise AttributeError(
"You cannot add class attributes to %s" % cls)
49 class _SwigNonDynamicMeta(type):
50 """Meta class to enforce nondynamic attributes (no new attributes) for a class"""
51 __setattr__ = _swig_setattr_nondynamic_class_variable(type.__setattr__)
56 class IMP_NPC_SwigPyIterator(object):
57 r"""Proxy of C++ swig::IMP_NPC_SwigPyIterator class."""
59 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
61 def __init__(self, *args, **kwargs):
62 raise AttributeError(
"No constructor defined - class is abstract")
64 __swig_destroy__ = _IMP_npc.delete_IMP_NPC_SwigPyIterator
67 r"""value(IMP_NPC_SwigPyIterator self) -> PyObject *"""
68 return _IMP_npc.IMP_NPC_SwigPyIterator_value(self)
71 r"""incr(IMP_NPC_SwigPyIterator self, size_t n=1) -> IMP_NPC_SwigPyIterator"""
72 return _IMP_npc.IMP_NPC_SwigPyIterator_incr(self, n)
75 r"""decr(IMP_NPC_SwigPyIterator self, size_t n=1) -> IMP_NPC_SwigPyIterator"""
76 return _IMP_npc.IMP_NPC_SwigPyIterator_decr(self, n)
78 def distance(self, x):
79 r"""distance(IMP_NPC_SwigPyIterator self, IMP_NPC_SwigPyIterator x) -> ptrdiff_t"""
80 return _IMP_npc.IMP_NPC_SwigPyIterator_distance(self, x)
83 r"""equal(IMP_NPC_SwigPyIterator self, IMP_NPC_SwigPyIterator x) -> bool"""
84 return _IMP_npc.IMP_NPC_SwigPyIterator_equal(self, x)
87 r"""copy(IMP_NPC_SwigPyIterator self) -> IMP_NPC_SwigPyIterator"""
88 return _IMP_npc.IMP_NPC_SwigPyIterator_copy(self)
91 r"""__next__(IMP_NPC_SwigPyIterator self) -> PyObject *"""
92 return _IMP_npc.IMP_NPC_SwigPyIterator___next__(self)
95 r"""previous(IMP_NPC_SwigPyIterator self) -> PyObject *"""
96 return _IMP_npc.IMP_NPC_SwigPyIterator_previous(self)
99 r"""advance(IMP_NPC_SwigPyIterator self, ptrdiff_t n) -> IMP_NPC_SwigPyIterator"""
100 return _IMP_npc.IMP_NPC_SwigPyIterator_advance(self, n)
103 r"""__eq__(IMP_NPC_SwigPyIterator self, IMP_NPC_SwigPyIterator x) -> bool"""
104 return _IMP_npc.IMP_NPC_SwigPyIterator___eq__(self, x)
107 r"""__ne__(IMP_NPC_SwigPyIterator self, IMP_NPC_SwigPyIterator x) -> bool"""
108 return _IMP_npc.IMP_NPC_SwigPyIterator___ne__(self, x)
110 def __iadd__(self, n):
111 r"""__iadd__(IMP_NPC_SwigPyIterator self, ptrdiff_t n) -> IMP_NPC_SwigPyIterator"""
112 return _IMP_npc.IMP_NPC_SwigPyIterator___iadd__(self, n)
114 def __isub__(self, n):
115 r"""__isub__(IMP_NPC_SwigPyIterator self, ptrdiff_t n) -> IMP_NPC_SwigPyIterator"""
116 return _IMP_npc.IMP_NPC_SwigPyIterator___isub__(self, n)
118 def __add__(self, n):
119 r"""__add__(IMP_NPC_SwigPyIterator self, ptrdiff_t n) -> IMP_NPC_SwigPyIterator"""
120 return _IMP_npc.IMP_NPC_SwigPyIterator___add__(self, n)
122 def __sub__(self, *args):
124 __sub__(IMP_NPC_SwigPyIterator self, ptrdiff_t n) -> IMP_NPC_SwigPyIterator
125 __sub__(IMP_NPC_SwigPyIterator self, IMP_NPC_SwigPyIterator x) -> ptrdiff_t
127 return _IMP_npc.IMP_NPC_SwigPyIterator___sub__(self, *args)
132 _IMP_npc.IMP_NPC_SwigPyIterator_swigregister(IMP_NPC_SwigPyIterator)
139 IMP_DEBUG = _IMP_npc.IMP_DEBUG
141 IMP_RELEASE = _IMP_npc.IMP_RELEASE
143 IMP_SILENT = _IMP_npc.IMP_SILENT
145 IMP_PROGRESS = _IMP_npc.IMP_PROGRESS
147 IMP_TERSE = _IMP_npc.IMP_TERSE
149 IMP_VERBOSE = _IMP_npc.IMP_VERBOSE
151 IMP_MEMORY = _IMP_npc.IMP_MEMORY
153 IMP_NONE = _IMP_npc.IMP_NONE
155 IMP_USAGE = _IMP_npc.IMP_USAGE
157 IMP_INTERNAL = _IMP_npc.IMP_INTERNAL
159 IMP_KERNEL_HAS_LOG4CXX = _IMP_npc.IMP_KERNEL_HAS_LOG4CXX
161 IMP_COMPILER_HAS_CEREAL_RAW_POINTER = _IMP_npc.IMP_COMPILER_HAS_CEREAL_RAW_POINTER
163 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_npc.IMP_COMPILER_HAS_DEBUG_VECTOR
165 IMP_COMPILER_HAS_RANDOM_SHUFFLE = _IMP_npc.IMP_COMPILER_HAS_RANDOM_SHUFFLE
167 IMP_COMPILER_HAS_THREE_WAY = _IMP_npc.IMP_COMPILER_HAS_THREE_WAY
169 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_npc.IMP_KERNEL_HAS_BOOST_RANDOM
171 IMP_KERNEL_HAS_NUMPY = _IMP_npc.IMP_KERNEL_HAS_NUMPY
173 IMP_KERNEL_HAS_BOOST_SYSTEM = _IMP_npc.IMP_KERNEL_HAS_BOOST_SYSTEM
175 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_npc.IMP_KERNEL_HAS_GPERFTOOLS
177 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_npc.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
179 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_npc.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
181 IMPKERNEL_SHOW_WARNINGS = _IMP_npc.IMPKERNEL_SHOW_WARNINGS
185 class _DirectorObjects:
186 """@internal Simple class to keep references to director objects
187 to prevent premature deletion."""
190 def register(self, obj):
191 """Take a reference to a director object; will only work for
192 refcounted C++ classes"""
193 if hasattr(obj,
'get_ref_count'):
194 self._objects.append(obj)
196 """Only drop our reference and allow cleanup by Python if no other
197 Python references exist (we hold 3 references: one in self._objects,
198 one in x, and one in the argument list for getrefcount) *and* no
199 other C++ references exist (the Python object always holds one)"""
200 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
201 or x.get_ref_count() > 1]
205 def get_object_count(self):
206 """Get number of director objects (useful for testing only)"""
207 return len(self._objects)
208 _director_objects = _DirectorObjects()
210 class _ostream(object):
211 r"""Proxy of C++ std::ostream class."""
213 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
215 def __init__(self, *args, **kwargs):
216 raise AttributeError(
"No constructor defined")
217 __repr__ = _swig_repr
219 def write(self, osa_buf):
220 r"""write(_ostream self, char const * osa_buf)"""
221 return _IMP_npc._ostream_write(self, osa_buf)
224 _IMP_npc._ostream_swigregister(_ostream)
225 IMP_C_OPEN_BINARY = _IMP_npc.IMP_C_OPEN_BINARY
228 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_npc.IMP_CGAL_HAS_BOOST_FILESYSTEM
230 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_npc.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
232 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_npc.IMP_CGAL_HAS_BOOST_RANDOM
234 IMP_CGAL_HAS_NUMPY = _IMP_npc.IMP_CGAL_HAS_NUMPY
236 IMPCGAL_SHOW_WARNINGS = _IMP_npc.IMPCGAL_SHOW_WARNINGS
239 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_npc.IMP_ALGEBRA_HAS_IMP_CGAL
241 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_npc.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
243 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_npc.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
245 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_npc.IMP_ALGEBRA_HAS_BOOST_RANDOM
247 IMP_ALGEBRA_HAS_CGAL = _IMP_npc.IMP_ALGEBRA_HAS_CGAL
249 IMP_ALGEBRA_HAS_NUMPY = _IMP_npc.IMP_ALGEBRA_HAS_NUMPY
251 IMP_ALGEBRA_HAS_ANN = _IMP_npc.IMP_ALGEBRA_HAS_ANN
253 IMPALGEBRA_SHOW_WARNINGS = _IMP_npc.IMPALGEBRA_SHOW_WARNINGS
256 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_npc.IMP_DISPLAY_HAS_IMP_CGAL
258 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_npc.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
260 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_npc.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
262 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_npc.IMP_DISPLAY_HAS_BOOST_RANDOM
264 IMP_DISPLAY_HAS_CGAL = _IMP_npc.IMP_DISPLAY_HAS_CGAL
266 IMP_DISPLAY_HAS_NUMPY = _IMP_npc.IMP_DISPLAY_HAS_NUMPY
268 IMPDISPLAY_SHOW_WARNINGS = _IMP_npc.IMPDISPLAY_SHOW_WARNINGS
271 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
273 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
275 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
277 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
279 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_CGAL
281 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_HDF5
283 IMP_SCORE_FUNCTOR_HAS_NUMPY = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_NUMPY
285 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_npc.IMPSCOREFUNCTOR_SHOW_WARNINGS
288 IMP_CORE_HAS_IMP_CGAL = _IMP_npc.IMP_CORE_HAS_IMP_CGAL
290 IMP_CORE_HAS_IMP_KERNEL = _IMP_npc.IMP_CORE_HAS_IMP_KERNEL
292 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_npc.IMP_CORE_HAS_BOOST_FILESYSTEM
294 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_npc.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
296 IMP_CORE_HAS_BOOST_RANDOM = _IMP_npc.IMP_CORE_HAS_BOOST_RANDOM
298 IMP_CORE_HAS_CGAL = _IMP_npc.IMP_CORE_HAS_CGAL
300 IMP_CORE_HAS_HDF5 = _IMP_npc.IMP_CORE_HAS_HDF5
302 IMP_CORE_HAS_NUMPY = _IMP_npc.IMP_CORE_HAS_NUMPY
304 IMPCORE_SHOW_WARNINGS = _IMP_npc.IMPCORE_SHOW_WARNINGS
307 IMP_NPC_HAS_IMP_ALGEBRA = _IMP_npc.IMP_NPC_HAS_IMP_ALGEBRA
309 IMP_NPC_HAS_IMP_CGAL = _IMP_npc.IMP_NPC_HAS_IMP_CGAL
311 IMP_NPC_HAS_IMP_DISPLAY = _IMP_npc.IMP_NPC_HAS_IMP_DISPLAY
313 IMP_NPC_HAS_IMP_KERNEL = _IMP_npc.IMP_NPC_HAS_IMP_KERNEL
315 IMP_NPC_HAS_IMP_SCORE_FUNCTOR = _IMP_npc.IMP_NPC_HAS_IMP_SCORE_FUNCTOR
317 IMP_NPC_HAS_BOOST_FILESYSTEM = _IMP_npc.IMP_NPC_HAS_BOOST_FILESYSTEM
319 IMP_NPC_HAS_BOOST_PROGRAMOPTIONS = _IMP_npc.IMP_NPC_HAS_BOOST_PROGRAMOPTIONS
321 IMP_NPC_HAS_BOOST_RANDOM = _IMP_npc.IMP_NPC_HAS_BOOST_RANDOM
323 IMP_NPC_HAS_CGAL = _IMP_npc.IMP_NPC_HAS_CGAL
325 IMP_NPC_HAS_HDF5 = _IMP_npc.IMP_NPC_HAS_HDF5
327 IMP_NPC_HAS_NUMPY = _IMP_npc.IMP_NPC_HAS_NUMPY
329 IMP_NPC_HAS_PYTHON_IHM = _IMP_npc.IMP_NPC_HAS_PYTHON_IHM
331 IMPNPC_SHOW_WARNINGS = _IMP_npc.IMPNPC_SHOW_WARNINGS
334 _object_types.append(
"ZAxialPositionLowerRestraint")
337 def _object_cast_to_ZAxialPositionLowerRestraint(o):
338 r"""_object_cast_to_ZAxialPositionLowerRestraint(Object o) -> ZAxialPositionLowerRestraint"""
339 return _IMP_npc._object_cast_to_ZAxialPositionLowerRestraint(o)
341 _object_types.append(
"ZAxialPositionUpperRestraint")
344 def _object_cast_to_ZAxialPositionUpperRestraint(o):
345 r"""_object_cast_to_ZAxialPositionUpperRestraint(Object o) -> ZAxialPositionUpperRestraint"""
346 return _IMP_npc._object_cast_to_ZAxialPositionUpperRestraint(o)
348 _object_types.append(
"XYRadialPositionLowerRestraint")
351 def _object_cast_to_XYRadialPositionLowerRestraint(o):
352 r"""_object_cast_to_XYRadialPositionLowerRestraint(Object o) -> XYRadialPositionLowerRestraint"""
353 return _IMP_npc._object_cast_to_XYRadialPositionLowerRestraint(o)
355 _object_types.append(
"XYRadialPositionUpperRestraint")
358 def _object_cast_to_XYRadialPositionUpperRestraint(o):
359 r"""_object_cast_to_XYRadialPositionUpperRestraint(Object o) -> XYRadialPositionUpperRestraint"""
360 return _IMP_npc._object_cast_to_XYRadialPositionUpperRestraint(o)
362 _object_types.append(
"ProteinContactRestraint")
365 def _object_cast_to_ProteinContactRestraint(o):
366 r"""_object_cast_to_ProteinContactRestraint(Object o) -> ProteinContactRestraint"""
367 return _IMP_npc._object_cast_to_ProteinContactRestraint(o)
369 _object_types.append(
"ProteinChainRestraint")
372 def _object_cast_to_ProteinChainRestraint(o):
373 r"""_object_cast_to_ProteinChainRestraint(Object o) -> ProteinChainRestraint"""
374 return _IMP_npc._object_cast_to_ProteinChainRestraint(o)
376 _object_types.append(
"MembraneSurfaceLocationRestraint")
379 def _object_cast_to_MembraneSurfaceLocationRestraint(o):
380 r"""_object_cast_to_MembraneSurfaceLocationRestraint(Object o) -> MembraneSurfaceLocationRestraint"""
381 return _IMP_npc._object_cast_to_MembraneSurfaceLocationRestraint(o)
383 _object_types.append(
"PoreSideVolumeLocationRestraint")
386 def _object_cast_to_PoreSideVolumeLocationRestraint(o):
387 r"""_object_cast_to_PoreSideVolumeLocationRestraint(Object o) -> PoreSideVolumeLocationRestraint"""
388 return _IMP_npc._object_cast_to_PoreSideVolumeLocationRestraint(o)
390 _object_types.append(
"PerinuclearVolumeLocationRestraint")
393 def _object_cast_to_PerinuclearVolumeLocationRestraint(o):
394 r"""_object_cast_to_PerinuclearVolumeLocationRestraint(Object o) -> PerinuclearVolumeLocationRestraint"""
395 return _IMP_npc._object_cast_to_PerinuclearVolumeLocationRestraint(o)
397 _object_types.append(
"AssemblySymmetryByDistanceRestraint")
400 def _object_cast_to_AssemblySymmetryByDistanceRestraint(o):
401 r"""_object_cast_to_AssemblySymmetryByDistanceRestraint(Object o) -> AssemblySymmetryByDistanceRestraint"""
402 return _IMP_npc._object_cast_to_AssemblySymmetryByDistanceRestraint(o)
404 _object_types.append(
"AssemblySymmetryByDihedralRestraint")
407 def _object_cast_to_AssemblySymmetryByDihedralRestraint(o):
408 r"""_object_cast_to_AssemblySymmetryByDihedralRestraint(Object o) -> AssemblySymmetryByDihedralRestraint"""
409 return _IMP_npc._object_cast_to_AssemblySymmetryByDihedralRestraint(o)
411 _object_types.append(
"ProteinProximityRestraint")
414 def _object_cast_to_ProteinProximityRestraint(o):
415 r"""_object_cast_to_ProteinProximityRestraint(Object o) -> ProteinProximityRestraint"""
416 return _IMP_npc._object_cast_to_ProteinProximityRestraint(o)
418 _object_types.append(
"CompositeRestraint")
421 def _object_cast_to_CompositeRestraint(o):
422 r"""_object_cast_to_CompositeRestraint(Object o) -> CompositeRestraint"""
423 return _IMP_npc._object_cast_to_CompositeRestraint(o)
425 _object_types.append(
"MinimumSphereDistancePairScore")
428 def _object_cast_to_MinimumSphereDistancePairScore(o):
429 r"""_object_cast_to_MinimumSphereDistancePairScore(Object o) -> MinimumSphereDistancePairScore"""
430 return _IMP_npc._object_cast_to_MinimumSphereDistancePairScore(o)
432 _object_types.append(
"MembraneExclusionRestraint")
435 def _object_cast_to_MembraneExclusionRestraint(o):
436 r"""_object_cast_to_MembraneExclusionRestraint(Object o) -> MembraneExclusionRestraint"""
437 return _IMP_npc._object_cast_to_MembraneExclusionRestraint(o)
439 _object_types.append(
"MembraneSurfaceLocationConditionalRestraint")
442 def _object_cast_to_MembraneSurfaceLocationConditionalRestraint(o):
443 r"""_object_cast_to_MembraneSurfaceLocationConditionalRestraint(Object o) -> MembraneSurfaceLocationConditionalRestraint"""
444 return _IMP_npc._object_cast_to_MembraneSurfaceLocationConditionalRestraint(o)
446 _object_types.append(
"XYRadialPositionRestraint")
449 def _object_cast_to_XYRadialPositionRestraint(o):
450 r"""_object_cast_to_XYRadialPositionRestraint(Object o) -> XYRadialPositionRestraint"""
451 return _IMP_npc._object_cast_to_XYRadialPositionRestraint(o)
453 _object_types.append(
"YAxialPositionLowerRestraint")
456 def _object_cast_to_YAxialPositionLowerRestraint(o):
457 r"""_object_cast_to_YAxialPositionLowerRestraint(Object o) -> YAxialPositionLowerRestraint"""
458 return _IMP_npc._object_cast_to_YAxialPositionLowerRestraint(o)
460 _object_types.append(
"YAxialPositionRestraint")
463 def _object_cast_to_YAxialPositionRestraint(o):
464 r"""_object_cast_to_YAxialPositionRestraint(Object o) -> YAxialPositionRestraint"""
465 return _IMP_npc._object_cast_to_YAxialPositionRestraint(o)
467 _object_types.append(
"YAxialPositionUpperRestraint")
470 def _object_cast_to_YAxialPositionUpperRestraint(o):
471 r"""_object_cast_to_YAxialPositionUpperRestraint(Object o) -> YAxialPositionUpperRestraint"""
472 return _IMP_npc._object_cast_to_YAxialPositionUpperRestraint(o)
474 _object_types.append(
"ZAxialPositionRestraint")
477 def _object_cast_to_ZAxialPositionRestraint(o):
478 r"""_object_cast_to_ZAxialPositionRestraint(Object o) -> ZAxialPositionRestraint"""
479 return _IMP_npc._object_cast_to_ZAxialPositionRestraint(o)
481 _object_types.append(
"XAxialPositionLowerRestraint")
484 def _object_cast_to_XAxialPositionLowerRestraint(o):
485 r"""_object_cast_to_XAxialPositionLowerRestraint(Object o) -> XAxialPositionLowerRestraint"""
486 return _IMP_npc._object_cast_to_XAxialPositionLowerRestraint(o)
488 _object_types.append(
"XAxialPositionRestraint")
491 def _object_cast_to_XAxialPositionRestraint(o):
492 r"""_object_cast_to_XAxialPositionRestraint(Object o) -> XAxialPositionRestraint"""
493 return _IMP_npc._object_cast_to_XAxialPositionRestraint(o)
495 _object_types.append(
"XAxialPositionUpperRestraint")
498 def _object_cast_to_XAxialPositionUpperRestraint(o):
499 r"""_object_cast_to_XAxialPositionUpperRestraint(Object o) -> XAxialPositionUpperRestraint"""
500 return _IMP_npc._object_cast_to_XAxialPositionUpperRestraint(o)
502 _object_types.append(
"OverallPositionRestraint")
505 def _object_cast_to_OverallPositionRestraint(o):
506 r"""_object_cast_to_OverallPositionRestraint(Object o) -> OverallPositionRestraint"""
507 return _IMP_npc._object_cast_to_OverallPositionRestraint(o)
509 def SlabWithSphericalIndents(l=[]):
510 return [SlabWithSphericalIndent(x)
for x
in l]
511 _plural_types.append(
"SlabWithSphericalIndents")
514 _value_types.append(
"SlabWithSphericalIndent")
517 _object_types.append(
"SlabWithSphericalIndentMBMScore")
520 def _object_cast_to_SlabWithSphericalIndentMBMScore(o):
521 r"""_object_cast_to_SlabWithSphericalIndentMBMScore(Object o) -> SlabWithSphericalIndentMBMScore"""
522 return _IMP_npc._object_cast_to_SlabWithSphericalIndentMBMScore(o)
524 _object_types.append(
"SlabWithSphericalIndentGeometry")
527 def _object_cast_to_SlabWithSphericalIndentGeometry(o):
528 r"""_object_cast_to_SlabWithSphericalIndentGeometry(Object o) -> SlabWithSphericalIndentGeometry"""
529 return _IMP_npc._object_cast_to_SlabWithSphericalIndentGeometry(o)
531 _object_types.append(
"SphericalIndentSurfaceDepthPairScore")
534 def _object_cast_to_SphericalIndentSurfaceDepthPairScore(o):
535 r"""_object_cast_to_SphericalIndentSurfaceDepthPairScore(Object o) -> SphericalIndentSurfaceDepthPairScore"""
536 return _IMP_npc._object_cast_to_SphericalIndentSurfaceDepthPairScore(o)
538 _object_types.append(
"SlabWithToroidalPoreMBMScore")
541 def _object_cast_to_SlabWithToroidalPoreMBMScore(o):
542 r"""_object_cast_to_SlabWithToroidalPoreMBMScore(Object o) -> SlabWithToroidalPoreMBMScore"""
543 return _IMP_npc._object_cast_to_SlabWithToroidalPoreMBMScore(o)
545 _object_types.append(
"SlabWithToroidalPoreGoPairScore")
548 def _object_cast_to_SlabWithToroidalPoreGoPairScore(o):
549 r"""_object_cast_to_SlabWithToroidalPoreGoPairScore(Object o) -> SlabWithToroidalPoreGoPairScore"""
550 return _IMP_npc._object_cast_to_SlabWithToroidalPoreGoPairScore(o)
552 _object_types.append(
"ToroidalPoreSurfaceDepthPairScore")
555 def _object_cast_to_ToroidalPoreSurfaceDepthPairScore(o):
556 r"""_object_cast_to_ToroidalPoreSurfaceDepthPairScore(Object o) -> ToroidalPoreSurfaceDepthPairScore"""
557 return _IMP_npc._object_cast_to_ToroidalPoreSurfaceDepthPairScore(o)
559 def SlabWithPores(l=[]):
560 return [SlabWithPore(x)
for x
in l]
561 _plural_types.append(
"SlabWithPores")
564 _value_types.append(
"SlabWithPore")
567 def SlabWithToroidalPores(l=[]):
568 return [SlabWithToroidalPore(x)
for x
in l]
569 _plural_types.append(
"SlabWithToroidalPores")
572 _value_types.append(
"SlabWithToroidalPore")
575 _object_types.append(
"SlabWithToroidalPoreWireGeometry")
578 def _object_cast_to_SlabWithToroidalPoreWireGeometry(o):
579 r"""_object_cast_to_SlabWithToroidalPoreWireGeometry(Object o) -> SlabWithToroidalPoreWireGeometry"""
580 return _IMP_npc._object_cast_to_SlabWithToroidalPoreWireGeometry(o)
582 r"""Proxy of C++ IMP::npc::ZAxialPositionRestraint class."""
584 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
586 def __init__(self, *args):
588 __init__(ZAxialPositionRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, double upper_bound, bool consider_radius, double sigma=1) -> ZAxialPositionRestraint
589 __init__(ZAxialPositionRestraint self, Model m, double lower_bound, double upper_bound, bool consider_radius, double sigma=1) -> ZAxialPositionRestraint
590 __init__(ZAxialPositionRestraint self) -> ZAxialPositionRestraint
592 _IMP_npc.ZAxialPositionRestraint_swiginit(self, _IMP_npc.new_ZAxialPositionRestraint(*args))
595 r"""add_particle(ZAxialPositionRestraint self, Particle p)"""
596 return _IMP_npc.ZAxialPositionRestraint_add_particle(self, p)
599 r"""add_particles(ZAxialPositionRestraint self, IMP::ParticlesTemp const & ps)"""
600 return _IMP_npc.ZAxialPositionRestraint_add_particles(self, ps)
602 def set_particles(self, ps):
603 r"""set_particles(ZAxialPositionRestraint self, IMP::ParticlesTemp const & ps)"""
604 return _IMP_npc.ZAxialPositionRestraint_set_particles(self, ps)
606 def do_get_inputs(self):
607 r"""do_get_inputs(ZAxialPositionRestraint self) -> IMP::ModelObjectsTemp"""
608 return _IMP_npc.ZAxialPositionRestraint_do_get_inputs(self)
610 def get_version_info(self):
611 r"""get_version_info(ZAxialPositionRestraint self) -> VersionInfo"""
612 return _IMP_npc.ZAxialPositionRestraint_get_version_info(self)
613 __swig_destroy__ = _IMP_npc.delete_ZAxialPositionRestraint
616 r"""__str__(ZAxialPositionRestraint self) -> std::string"""
617 return _IMP_npc.ZAxialPositionRestraint___str__(self)
620 r"""__repr__(ZAxialPositionRestraint self) -> std::string"""
621 return _IMP_npc.ZAxialPositionRestraint___repr__(self)
625 return _object_cast_to_ZAxialPositionRestraint(o)
628 def _get_as_binary(self):
629 r"""_get_as_binary(ZAxialPositionRestraint self) -> PyObject *"""
630 return _IMP_npc.ZAxialPositionRestraint__get_as_binary(self)
632 def _set_from_binary(self, p):
633 r"""_set_from_binary(ZAxialPositionRestraint self, PyObject * p)"""
634 return _IMP_npc.ZAxialPositionRestraint__set_from_binary(self, p)
636 def __getstate__(self):
637 p = self._get_as_binary()
638 if len(self.__dict__) > 1:
639 d = self.__dict__.copy()
644 def __setstate__(self, p):
645 if not hasattr(self,
'this'):
647 if isinstance(p, tuple):
649 self.__dict__.update(d)
650 return self._set_from_binary(p)
654 _IMP_npc.ZAxialPositionRestraint_swigregister(ZAxialPositionRestraint)
656 r"""Proxy of C++ IMP::npc::ZAxialPositionLowerRestraint class."""
658 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
660 def __init__(self, *args):
662 __init__(ZAxialPositionLowerRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, bool consider_radius, double sigma=1) -> ZAxialPositionLowerRestraint
663 __init__(ZAxialPositionLowerRestraint self, Model m, double lower_bound, bool consider_radius, double sigma=1) -> ZAxialPositionLowerRestraint
664 __init__(ZAxialPositionLowerRestraint self) -> ZAxialPositionLowerRestraint
666 _IMP_npc.ZAxialPositionLowerRestraint_swiginit(self, _IMP_npc.new_ZAxialPositionLowerRestraint(*args))
669 r"""add_particle(ZAxialPositionLowerRestraint self, Particle p)"""
670 return _IMP_npc.ZAxialPositionLowerRestraint_add_particle(self, p)
673 r"""add_particles(ZAxialPositionLowerRestraint self, IMP::ParticlesTemp const & ps)"""
674 return _IMP_npc.ZAxialPositionLowerRestraint_add_particles(self, ps)
676 def set_particles(self, ps):
677 r"""set_particles(ZAxialPositionLowerRestraint self, IMP::ParticlesTemp const & ps)"""
678 return _IMP_npc.ZAxialPositionLowerRestraint_set_particles(self, ps)
680 def do_get_inputs(self):
681 r"""do_get_inputs(ZAxialPositionLowerRestraint self) -> IMP::ModelObjectsTemp"""
682 return _IMP_npc.ZAxialPositionLowerRestraint_do_get_inputs(self)
684 def get_version_info(self):
685 r"""get_version_info(ZAxialPositionLowerRestraint self) -> VersionInfo"""
686 return _IMP_npc.ZAxialPositionLowerRestraint_get_version_info(self)
687 __swig_destroy__ = _IMP_npc.delete_ZAxialPositionLowerRestraint
690 r"""__str__(ZAxialPositionLowerRestraint self) -> std::string"""
691 return _IMP_npc.ZAxialPositionLowerRestraint___str__(self)
694 r"""__repr__(ZAxialPositionLowerRestraint self) -> std::string"""
695 return _IMP_npc.ZAxialPositionLowerRestraint___repr__(self)
699 return _object_cast_to_ZAxialPositionLowerRestraint(o)
702 def _get_as_binary(self):
703 r"""_get_as_binary(ZAxialPositionLowerRestraint self) -> PyObject *"""
704 return _IMP_npc.ZAxialPositionLowerRestraint__get_as_binary(self)
706 def _set_from_binary(self, p):
707 r"""_set_from_binary(ZAxialPositionLowerRestraint self, PyObject * p)"""
708 return _IMP_npc.ZAxialPositionLowerRestraint__set_from_binary(self, p)
710 def __getstate__(self):
711 p = self._get_as_binary()
712 if len(self.__dict__) > 1:
713 d = self.__dict__.copy()
718 def __setstate__(self, p):
719 if not hasattr(self,
'this'):
721 if isinstance(p, tuple):
723 self.__dict__.update(d)
724 return self._set_from_binary(p)
728 _IMP_npc.ZAxialPositionLowerRestraint_swigregister(ZAxialPositionLowerRestraint)
730 r"""Proxy of C++ IMP::npc::ZAxialPositionUpperRestraint class."""
732 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
734 def __init__(self, *args):
736 __init__(ZAxialPositionUpperRestraint self, Model m, _SingletonContainerAdaptor sc, double upper_bound, bool consider_radius, double sigma=1) -> ZAxialPositionUpperRestraint
737 __init__(ZAxialPositionUpperRestraint self, Model m, double upper_bound, bool consider_radius, double sigma=1) -> ZAxialPositionUpperRestraint
738 __init__(ZAxialPositionUpperRestraint self) -> ZAxialPositionUpperRestraint
740 _IMP_npc.ZAxialPositionUpperRestraint_swiginit(self, _IMP_npc.new_ZAxialPositionUpperRestraint(*args))
743 r"""add_particle(ZAxialPositionUpperRestraint self, Particle p)"""
744 return _IMP_npc.ZAxialPositionUpperRestraint_add_particle(self, p)
747 r"""add_particles(ZAxialPositionUpperRestraint self, IMP::ParticlesTemp const & ps)"""
748 return _IMP_npc.ZAxialPositionUpperRestraint_add_particles(self, ps)
750 def set_particles(self, ps):
751 r"""set_particles(ZAxialPositionUpperRestraint self, IMP::ParticlesTemp const & ps)"""
752 return _IMP_npc.ZAxialPositionUpperRestraint_set_particles(self, ps)
754 def do_get_inputs(self):
755 r"""do_get_inputs(ZAxialPositionUpperRestraint self) -> IMP::ModelObjectsTemp"""
756 return _IMP_npc.ZAxialPositionUpperRestraint_do_get_inputs(self)
758 def get_version_info(self):
759 r"""get_version_info(ZAxialPositionUpperRestraint self) -> VersionInfo"""
760 return _IMP_npc.ZAxialPositionUpperRestraint_get_version_info(self)
761 __swig_destroy__ = _IMP_npc.delete_ZAxialPositionUpperRestraint
764 r"""__str__(ZAxialPositionUpperRestraint self) -> std::string"""
765 return _IMP_npc.ZAxialPositionUpperRestraint___str__(self)
768 r"""__repr__(ZAxialPositionUpperRestraint self) -> std::string"""
769 return _IMP_npc.ZAxialPositionUpperRestraint___repr__(self)
773 return _object_cast_to_ZAxialPositionUpperRestraint(o)
776 def _get_as_binary(self):
777 r"""_get_as_binary(ZAxialPositionUpperRestraint self) -> PyObject *"""
778 return _IMP_npc.ZAxialPositionUpperRestraint__get_as_binary(self)
780 def _set_from_binary(self, p):
781 r"""_set_from_binary(ZAxialPositionUpperRestraint self, PyObject * p)"""
782 return _IMP_npc.ZAxialPositionUpperRestraint__set_from_binary(self, p)
784 def __getstate__(self):
785 p = self._get_as_binary()
786 if len(self.__dict__) > 1:
787 d = self.__dict__.copy()
792 def __setstate__(self, p):
793 if not hasattr(self,
'this'):
795 if isinstance(p, tuple):
797 self.__dict__.update(d)
798 return self._set_from_binary(p)
802 _IMP_npc.ZAxialPositionUpperRestraint_swigregister(ZAxialPositionUpperRestraint)
804 r"""Proxy of C++ IMP::npc::YAxialPositionRestraint class."""
806 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
808 def __init__(self, *args):
810 __init__(YAxialPositionRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, double upper_bound, bool consider_radius, double sigma=1) -> YAxialPositionRestraint
811 __init__(YAxialPositionRestraint self, Model m, double lower_bound, double upper_bound, bool consider_radius, double sigma=1) -> YAxialPositionRestraint
812 __init__(YAxialPositionRestraint self) -> YAxialPositionRestraint
814 _IMP_npc.YAxialPositionRestraint_swiginit(self, _IMP_npc.new_YAxialPositionRestraint(*args))
817 r"""add_particle(YAxialPositionRestraint self, Particle p)"""
818 return _IMP_npc.YAxialPositionRestraint_add_particle(self, p)
821 r"""add_particles(YAxialPositionRestraint self, IMP::ParticlesTemp const & ps)"""
822 return _IMP_npc.YAxialPositionRestraint_add_particles(self, ps)
824 def set_particles(self, ps):
825 r"""set_particles(YAxialPositionRestraint self, IMP::ParticlesTemp const & ps)"""
826 return _IMP_npc.YAxialPositionRestraint_set_particles(self, ps)
828 def do_get_inputs(self):
829 r"""do_get_inputs(YAxialPositionRestraint self) -> IMP::ModelObjectsTemp"""
830 return _IMP_npc.YAxialPositionRestraint_do_get_inputs(self)
832 def get_version_info(self):
833 r"""get_version_info(YAxialPositionRestraint self) -> VersionInfo"""
834 return _IMP_npc.YAxialPositionRestraint_get_version_info(self)
835 __swig_destroy__ = _IMP_npc.delete_YAxialPositionRestraint
838 r"""__str__(YAxialPositionRestraint self) -> std::string"""
839 return _IMP_npc.YAxialPositionRestraint___str__(self)
842 r"""__repr__(YAxialPositionRestraint self) -> std::string"""
843 return _IMP_npc.YAxialPositionRestraint___repr__(self)
847 return _object_cast_to_YAxialPositionRestraint(o)
850 def _get_as_binary(self):
851 r"""_get_as_binary(YAxialPositionRestraint self) -> PyObject *"""
852 return _IMP_npc.YAxialPositionRestraint__get_as_binary(self)
854 def _set_from_binary(self, p):
855 r"""_set_from_binary(YAxialPositionRestraint self, PyObject * p)"""
856 return _IMP_npc.YAxialPositionRestraint__set_from_binary(self, p)
858 def __getstate__(self):
859 p = self._get_as_binary()
860 if len(self.__dict__) > 1:
861 d = self.__dict__.copy()
866 def __setstate__(self, p):
867 if not hasattr(self,
'this'):
869 if isinstance(p, tuple):
871 self.__dict__.update(d)
872 return self._set_from_binary(p)
876 _IMP_npc.YAxialPositionRestraint_swigregister(YAxialPositionRestraint)
878 r"""Proxy of C++ IMP::npc::YAxialPositionLowerRestraint class."""
880 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
882 def __init__(self, *args):
884 __init__(YAxialPositionLowerRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, bool consider_radius, double sigma=1) -> YAxialPositionLowerRestraint
885 __init__(YAxialPositionLowerRestraint self, Model m, double lower_bound, bool consider_radius, double sigma=1) -> YAxialPositionLowerRestraint
886 __init__(YAxialPositionLowerRestraint self) -> YAxialPositionLowerRestraint
888 _IMP_npc.YAxialPositionLowerRestraint_swiginit(self, _IMP_npc.new_YAxialPositionLowerRestraint(*args))
891 r"""add_particle(YAxialPositionLowerRestraint self, Particle p)"""
892 return _IMP_npc.YAxialPositionLowerRestraint_add_particle(self, p)
895 r"""add_particles(YAxialPositionLowerRestraint self, IMP::ParticlesTemp const & ps)"""
896 return _IMP_npc.YAxialPositionLowerRestraint_add_particles(self, ps)
898 def set_particles(self, ps):
899 r"""set_particles(YAxialPositionLowerRestraint self, IMP::ParticlesTemp const & ps)"""
900 return _IMP_npc.YAxialPositionLowerRestraint_set_particles(self, ps)
902 def do_get_inputs(self):
903 r"""do_get_inputs(YAxialPositionLowerRestraint self) -> IMP::ModelObjectsTemp"""
904 return _IMP_npc.YAxialPositionLowerRestraint_do_get_inputs(self)
906 def get_version_info(self):
907 r"""get_version_info(YAxialPositionLowerRestraint self) -> VersionInfo"""
908 return _IMP_npc.YAxialPositionLowerRestraint_get_version_info(self)
909 __swig_destroy__ = _IMP_npc.delete_YAxialPositionLowerRestraint
912 r"""__str__(YAxialPositionLowerRestraint self) -> std::string"""
913 return _IMP_npc.YAxialPositionLowerRestraint___str__(self)
916 r"""__repr__(YAxialPositionLowerRestraint self) -> std::string"""
917 return _IMP_npc.YAxialPositionLowerRestraint___repr__(self)
921 return _object_cast_to_YAxialPositionLowerRestraint(o)
924 def _get_as_binary(self):
925 r"""_get_as_binary(YAxialPositionLowerRestraint self) -> PyObject *"""
926 return _IMP_npc.YAxialPositionLowerRestraint__get_as_binary(self)
928 def _set_from_binary(self, p):
929 r"""_set_from_binary(YAxialPositionLowerRestraint self, PyObject * p)"""
930 return _IMP_npc.YAxialPositionLowerRestraint__set_from_binary(self, p)
932 def __getstate__(self):
933 p = self._get_as_binary()
934 if len(self.__dict__) > 1:
935 d = self.__dict__.copy()
940 def __setstate__(self, p):
941 if not hasattr(self,
'this'):
943 if isinstance(p, tuple):
945 self.__dict__.update(d)
946 return self._set_from_binary(p)
950 _IMP_npc.YAxialPositionLowerRestraint_swigregister(YAxialPositionLowerRestraint)
952 r"""Proxy of C++ IMP::npc::YAxialPositionUpperRestraint class."""
954 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
956 def __init__(self, *args):
958 __init__(YAxialPositionUpperRestraint self, Model m, _SingletonContainerAdaptor sc, double upper_bound, bool consider_radius, double sigma=1) -> YAxialPositionUpperRestraint
959 __init__(YAxialPositionUpperRestraint self, Model m, double upper_bound, bool consider_radius, double sigma=1) -> YAxialPositionUpperRestraint
960 __init__(YAxialPositionUpperRestraint self) -> YAxialPositionUpperRestraint
962 _IMP_npc.YAxialPositionUpperRestraint_swiginit(self, _IMP_npc.new_YAxialPositionUpperRestraint(*args))
965 r"""add_particle(YAxialPositionUpperRestraint self, Particle p)"""
966 return _IMP_npc.YAxialPositionUpperRestraint_add_particle(self, p)
969 r"""add_particles(YAxialPositionUpperRestraint self, IMP::ParticlesTemp const & ps)"""
970 return _IMP_npc.YAxialPositionUpperRestraint_add_particles(self, ps)
972 def set_particles(self, ps):
973 r"""set_particles(YAxialPositionUpperRestraint self, IMP::ParticlesTemp const & ps)"""
974 return _IMP_npc.YAxialPositionUpperRestraint_set_particles(self, ps)
976 def do_get_inputs(self):
977 r"""do_get_inputs(YAxialPositionUpperRestraint self) -> IMP::ModelObjectsTemp"""
978 return _IMP_npc.YAxialPositionUpperRestraint_do_get_inputs(self)
980 def get_version_info(self):
981 r"""get_version_info(YAxialPositionUpperRestraint self) -> VersionInfo"""
982 return _IMP_npc.YAxialPositionUpperRestraint_get_version_info(self)
983 __swig_destroy__ = _IMP_npc.delete_YAxialPositionUpperRestraint
986 r"""__str__(YAxialPositionUpperRestraint self) -> std::string"""
987 return _IMP_npc.YAxialPositionUpperRestraint___str__(self)
990 r"""__repr__(YAxialPositionUpperRestraint self) -> std::string"""
991 return _IMP_npc.YAxialPositionUpperRestraint___repr__(self)
995 return _object_cast_to_YAxialPositionUpperRestraint(o)
998 def _get_as_binary(self):
999 r"""_get_as_binary(YAxialPositionUpperRestraint self) -> PyObject *"""
1000 return _IMP_npc.YAxialPositionUpperRestraint__get_as_binary(self)
1002 def _set_from_binary(self, p):
1003 r"""_set_from_binary(YAxialPositionUpperRestraint self, PyObject * p)"""
1004 return _IMP_npc.YAxialPositionUpperRestraint__set_from_binary(self, p)
1006 def __getstate__(self):
1007 p = self._get_as_binary()
1008 if len(self.__dict__) > 1:
1009 d = self.__dict__.copy()
1014 def __setstate__(self, p):
1015 if not hasattr(self,
'this'):
1017 if isinstance(p, tuple):
1019 self.__dict__.update(d)
1020 return self._set_from_binary(p)
1024 _IMP_npc.YAxialPositionUpperRestraint_swigregister(YAxialPositionUpperRestraint)
1026 r"""Proxy of C++ IMP::npc::XYRadialPositionRestraint class."""
1028 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1030 def __init__(self, *args):
1032 __init__(XYRadialPositionRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, double upper_bound, bool consider_radius, double sigma=1) -> XYRadialPositionRestraint
1033 __init__(XYRadialPositionRestraint self, Model m, double lower_bound, double upper_bound, bool consider_radius, double sigma=1) -> XYRadialPositionRestraint
1034 __init__(XYRadialPositionRestraint self) -> XYRadialPositionRestraint
1036 _IMP_npc.XYRadialPositionRestraint_swiginit(self, _IMP_npc.new_XYRadialPositionRestraint(*args))
1039 r"""add_particle(XYRadialPositionRestraint self, Particle p)"""
1040 return _IMP_npc.XYRadialPositionRestraint_add_particle(self, p)
1043 r"""add_particles(XYRadialPositionRestraint self, IMP::ParticlesTemp const & ps)"""
1044 return _IMP_npc.XYRadialPositionRestraint_add_particles(self, ps)
1046 def set_particles(self, ps):
1047 r"""set_particles(XYRadialPositionRestraint self, IMP::ParticlesTemp const & ps)"""
1048 return _IMP_npc.XYRadialPositionRestraint_set_particles(self, ps)
1050 def do_get_inputs(self):
1051 r"""do_get_inputs(XYRadialPositionRestraint self) -> IMP::ModelObjectsTemp"""
1052 return _IMP_npc.XYRadialPositionRestraint_do_get_inputs(self)
1054 def get_version_info(self):
1055 r"""get_version_info(XYRadialPositionRestraint self) -> VersionInfo"""
1056 return _IMP_npc.XYRadialPositionRestraint_get_version_info(self)
1057 __swig_destroy__ = _IMP_npc.delete_XYRadialPositionRestraint
1060 r"""__str__(XYRadialPositionRestraint self) -> std::string"""
1061 return _IMP_npc.XYRadialPositionRestraint___str__(self)
1064 r"""__repr__(XYRadialPositionRestraint self) -> std::string"""
1065 return _IMP_npc.XYRadialPositionRestraint___repr__(self)
1069 return _object_cast_to_XYRadialPositionRestraint(o)
1072 def _get_as_binary(self):
1073 r"""_get_as_binary(XYRadialPositionRestraint self) -> PyObject *"""
1074 return _IMP_npc.XYRadialPositionRestraint__get_as_binary(self)
1076 def _set_from_binary(self, p):
1077 r"""_set_from_binary(XYRadialPositionRestraint self, PyObject * p)"""
1078 return _IMP_npc.XYRadialPositionRestraint__set_from_binary(self, p)
1080 def __getstate__(self):
1081 p = self._get_as_binary()
1082 if len(self.__dict__) > 1:
1083 d = self.__dict__.copy()
1088 def __setstate__(self, p):
1089 if not hasattr(self,
'this'):
1091 if isinstance(p, tuple):
1093 self.__dict__.update(d)
1094 return self._set_from_binary(p)
1098 _IMP_npc.XYRadialPositionRestraint_swigregister(XYRadialPositionRestraint)
1100 r"""Proxy of C++ IMP::npc::XYRadialPositionLowerRestraint class."""
1102 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1104 def __init__(self, *args):
1106 __init__(XYRadialPositionLowerRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, bool consider_radius, double sigma=1) -> XYRadialPositionLowerRestraint
1107 __init__(XYRadialPositionLowerRestraint self, Model m, double lower_bound, bool consider_radius, double sigma=1) -> XYRadialPositionLowerRestraint
1108 __init__(XYRadialPositionLowerRestraint self) -> XYRadialPositionLowerRestraint
1110 _IMP_npc.XYRadialPositionLowerRestraint_swiginit(self, _IMP_npc.new_XYRadialPositionLowerRestraint(*args))
1113 r"""add_particle(XYRadialPositionLowerRestraint self, Particle p)"""
1114 return _IMP_npc.XYRadialPositionLowerRestraint_add_particle(self, p)
1117 r"""add_particles(XYRadialPositionLowerRestraint self, IMP::ParticlesTemp const & ps)"""
1118 return _IMP_npc.XYRadialPositionLowerRestraint_add_particles(self, ps)
1120 def set_particles(self, ps):
1121 r"""set_particles(XYRadialPositionLowerRestraint self, IMP::ParticlesTemp const & ps)"""
1122 return _IMP_npc.XYRadialPositionLowerRestraint_set_particles(self, ps)
1124 def do_get_inputs(self):
1125 r"""do_get_inputs(XYRadialPositionLowerRestraint self) -> IMP::ModelObjectsTemp"""
1126 return _IMP_npc.XYRadialPositionLowerRestraint_do_get_inputs(self)
1128 def get_version_info(self):
1129 r"""get_version_info(XYRadialPositionLowerRestraint self) -> VersionInfo"""
1130 return _IMP_npc.XYRadialPositionLowerRestraint_get_version_info(self)
1131 __swig_destroy__ = _IMP_npc.delete_XYRadialPositionLowerRestraint
1134 r"""__str__(XYRadialPositionLowerRestraint self) -> std::string"""
1135 return _IMP_npc.XYRadialPositionLowerRestraint___str__(self)
1138 r"""__repr__(XYRadialPositionLowerRestraint self) -> std::string"""
1139 return _IMP_npc.XYRadialPositionLowerRestraint___repr__(self)
1143 return _object_cast_to_XYRadialPositionLowerRestraint(o)
1146 def _get_as_binary(self):
1147 r"""_get_as_binary(XYRadialPositionLowerRestraint self) -> PyObject *"""
1148 return _IMP_npc.XYRadialPositionLowerRestraint__get_as_binary(self)
1150 def _set_from_binary(self, p):
1151 r"""_set_from_binary(XYRadialPositionLowerRestraint self, PyObject * p)"""
1152 return _IMP_npc.XYRadialPositionLowerRestraint__set_from_binary(self, p)
1154 def __getstate__(self):
1155 p = self._get_as_binary()
1156 if len(self.__dict__) > 1:
1157 d = self.__dict__.copy()
1162 def __setstate__(self, p):
1163 if not hasattr(self,
'this'):
1165 if isinstance(p, tuple):
1167 self.__dict__.update(d)
1168 return self._set_from_binary(p)
1172 _IMP_npc.XYRadialPositionLowerRestraint_swigregister(XYRadialPositionLowerRestraint)
1174 r"""Proxy of C++ IMP::npc::XYRadialPositionUpperRestraint class."""
1176 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1178 def __init__(self, *args):
1180 __init__(XYRadialPositionUpperRestraint self, Model m, _SingletonContainerAdaptor sc, double upper_bound, bool consider_radius, double sigma=1) -> XYRadialPositionUpperRestraint
1181 __init__(XYRadialPositionUpperRestraint self, Model m, double upper_bound, bool consider_radius, double sigma=1) -> XYRadialPositionUpperRestraint
1182 __init__(XYRadialPositionUpperRestraint self) -> XYRadialPositionUpperRestraint
1184 _IMP_npc.XYRadialPositionUpperRestraint_swiginit(self, _IMP_npc.new_XYRadialPositionUpperRestraint(*args))
1187 r"""add_particle(XYRadialPositionUpperRestraint self, Particle p)"""
1188 return _IMP_npc.XYRadialPositionUpperRestraint_add_particle(self, p)
1191 r"""add_particles(XYRadialPositionUpperRestraint self, IMP::ParticlesTemp const & ps)"""
1192 return _IMP_npc.XYRadialPositionUpperRestraint_add_particles(self, ps)
1194 def set_particles(self, ps):
1195 r"""set_particles(XYRadialPositionUpperRestraint self, IMP::ParticlesTemp const & ps)"""
1196 return _IMP_npc.XYRadialPositionUpperRestraint_set_particles(self, ps)
1198 def do_get_inputs(self):
1199 r"""do_get_inputs(XYRadialPositionUpperRestraint self) -> IMP::ModelObjectsTemp"""
1200 return _IMP_npc.XYRadialPositionUpperRestraint_do_get_inputs(self)
1202 def get_version_info(self):
1203 r"""get_version_info(XYRadialPositionUpperRestraint self) -> VersionInfo"""
1204 return _IMP_npc.XYRadialPositionUpperRestraint_get_version_info(self)
1205 __swig_destroy__ = _IMP_npc.delete_XYRadialPositionUpperRestraint
1208 r"""__str__(XYRadialPositionUpperRestraint self) -> std::string"""
1209 return _IMP_npc.XYRadialPositionUpperRestraint___str__(self)
1212 r"""__repr__(XYRadialPositionUpperRestraint self) -> std::string"""
1213 return _IMP_npc.XYRadialPositionUpperRestraint___repr__(self)
1217 return _object_cast_to_XYRadialPositionUpperRestraint(o)
1220 def _get_as_binary(self):
1221 r"""_get_as_binary(XYRadialPositionUpperRestraint self) -> PyObject *"""
1222 return _IMP_npc.XYRadialPositionUpperRestraint__get_as_binary(self)
1224 def _set_from_binary(self, p):
1225 r"""_set_from_binary(XYRadialPositionUpperRestraint self, PyObject * p)"""
1226 return _IMP_npc.XYRadialPositionUpperRestraint__set_from_binary(self, p)
1228 def __getstate__(self):
1229 p = self._get_as_binary()
1230 if len(self.__dict__) > 1:
1231 d = self.__dict__.copy()
1236 def __setstate__(self, p):
1237 if not hasattr(self,
'this'):
1239 if isinstance(p, tuple):
1241 self.__dict__.update(d)
1242 return self._set_from_binary(p)
1246 _IMP_npc.XYRadialPositionUpperRestraint_swigregister(XYRadialPositionUpperRestraint)
1248 r"""Proxy of C++ IMP::npc::ProteinContactRestraint class."""
1250 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1252 def __init__(self, *args):
1254 __init__(ProteinContactRestraint self, Model m, _SingletonContainerAdaptor sc, double tolerance_factor, double sigma=0.1) -> ProteinContactRestraint
1255 __init__(ProteinContactRestraint self, Model m, double tolerance_factor, double sigma=0.1) -> ProteinContactRestraint
1256 __init__(ProteinContactRestraint self) -> ProteinContactRestraint
1258 _IMP_npc.ProteinContactRestraint_swiginit(self, _IMP_npc.new_ProteinContactRestraint(*args))
1261 r"""add_particle(ProteinContactRestraint self, Particle p)"""
1262 return _IMP_npc.ProteinContactRestraint_add_particle(self, p)
1265 r"""add_particles(ProteinContactRestraint self, IMP::ParticlesTemp const & ps)"""
1266 return _IMP_npc.ProteinContactRestraint_add_particles(self, ps)
1268 def set_particles(self, ps):
1269 r"""set_particles(ProteinContactRestraint self, IMP::ParticlesTemp const & ps)"""
1270 return _IMP_npc.ProteinContactRestraint_set_particles(self, ps)
1272 def do_get_inputs(self):
1273 r"""do_get_inputs(ProteinContactRestraint self) -> IMP::ModelObjectsTemp"""
1274 return _IMP_npc.ProteinContactRestraint_do_get_inputs(self)
1276 def get_version_info(self):
1277 r"""get_version_info(ProteinContactRestraint self) -> VersionInfo"""
1278 return _IMP_npc.ProteinContactRestraint_get_version_info(self)
1279 __swig_destroy__ = _IMP_npc.delete_ProteinContactRestraint
1282 r"""__str__(ProteinContactRestraint self) -> std::string"""
1283 return _IMP_npc.ProteinContactRestraint___str__(self)
1286 r"""__repr__(ProteinContactRestraint self) -> std::string"""
1287 return _IMP_npc.ProteinContactRestraint___repr__(self)
1291 return _object_cast_to_ProteinContactRestraint(o)
1294 def _get_as_binary(self):
1295 r"""_get_as_binary(ProteinContactRestraint self) -> PyObject *"""
1296 return _IMP_npc.ProteinContactRestraint__get_as_binary(self)
1298 def _set_from_binary(self, p):
1299 r"""_set_from_binary(ProteinContactRestraint self, PyObject * p)"""
1300 return _IMP_npc.ProteinContactRestraint__set_from_binary(self, p)
1302 def __getstate__(self):
1303 p = self._get_as_binary()
1304 if len(self.__dict__) > 1:
1305 d = self.__dict__.copy()
1310 def __setstate__(self, p):
1311 if not hasattr(self,
'this'):
1313 if isinstance(p, tuple):
1315 self.__dict__.update(d)
1316 return self._set_from_binary(p)
1320 _IMP_npc.ProteinContactRestraint_swigregister(ProteinContactRestraint)
1322 r"""Proxy of C++ IMP::npc::ProteinChainRestraint class."""
1324 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1326 def __init__(self, *args):
1328 __init__(ProteinChainRestraint self, Model m, _SingletonContainerAdaptor sc, double sigma=0.1) -> ProteinChainRestraint
1329 __init__(ProteinChainRestraint self, Model m, double sigma=0.1) -> ProteinChainRestraint
1330 __init__(ProteinChainRestraint self) -> ProteinChainRestraint
1332 _IMP_npc.ProteinChainRestraint_swiginit(self, _IMP_npc.new_ProteinChainRestraint(*args))
1335 r"""add_particle(ProteinChainRestraint self, Particle p)"""
1336 return _IMP_npc.ProteinChainRestraint_add_particle(self, p)
1339 r"""add_particles(ProteinChainRestraint self, IMP::ParticlesTemp const & ps)"""
1340 return _IMP_npc.ProteinChainRestraint_add_particles(self, ps)
1342 def set_particles(self, ps):
1343 r"""set_particles(ProteinChainRestraint self, IMP::ParticlesTemp const & ps)"""
1344 return _IMP_npc.ProteinChainRestraint_set_particles(self, ps)
1346 def do_get_inputs(self):
1347 r"""do_get_inputs(ProteinChainRestraint self) -> IMP::ModelObjectsTemp"""
1348 return _IMP_npc.ProteinChainRestraint_do_get_inputs(self)
1350 def get_version_info(self):
1351 r"""get_version_info(ProteinChainRestraint self) -> VersionInfo"""
1352 return _IMP_npc.ProteinChainRestraint_get_version_info(self)
1353 __swig_destroy__ = _IMP_npc.delete_ProteinChainRestraint
1356 r"""__str__(ProteinChainRestraint self) -> std::string"""
1357 return _IMP_npc.ProteinChainRestraint___str__(self)
1360 r"""__repr__(ProteinChainRestraint self) -> std::string"""
1361 return _IMP_npc.ProteinChainRestraint___repr__(self)
1365 return _object_cast_to_ProteinChainRestraint(o)
1368 def _get_as_binary(self):
1369 r"""_get_as_binary(ProteinChainRestraint self) -> PyObject *"""
1370 return _IMP_npc.ProteinChainRestraint__get_as_binary(self)
1372 def _set_from_binary(self, p):
1373 r"""_set_from_binary(ProteinChainRestraint self, PyObject * p)"""
1374 return _IMP_npc.ProteinChainRestraint__set_from_binary(self, p)
1376 def __getstate__(self):
1377 p = self._get_as_binary()
1378 if len(self.__dict__) > 1:
1379 d = self.__dict__.copy()
1384 def __setstate__(self, p):
1385 if not hasattr(self,
'this'):
1387 if isinstance(p, tuple):
1389 self.__dict__.update(d)
1390 return self._set_from_binary(p)
1394 _IMP_npc.ProteinChainRestraint_swigregister(ProteinChainRestraint)
1396 r"""Proxy of C++ IMP::npc::MembraneSurfaceLocationRestraint class."""
1398 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1400 def __init__(self, *args):
1402 __init__(MembraneSurfaceLocationRestraint self, Model m, _SingletonContainerAdaptor sc, double R, double r, double thickness, double sigma=2) -> MembraneSurfaceLocationRestraint
1403 __init__(MembraneSurfaceLocationRestraint self, Model m, double R, double r, double thickness, double sigma=2) -> MembraneSurfaceLocationRestraint
1404 __init__(MembraneSurfaceLocationRestraint self) -> MembraneSurfaceLocationRestraint
1406 _IMP_npc.MembraneSurfaceLocationRestraint_swiginit(self, _IMP_npc.new_MembraneSurfaceLocationRestraint(*args))
1409 r"""add_particle(MembraneSurfaceLocationRestraint self, Particle p)"""
1410 return _IMP_npc.MembraneSurfaceLocationRestraint_add_particle(self, p)
1413 r"""add_particles(MembraneSurfaceLocationRestraint self, IMP::ParticlesTemp const & ps)"""
1414 return _IMP_npc.MembraneSurfaceLocationRestraint_add_particles(self, ps)
1416 def set_particles(self, ps):
1417 r"""set_particles(MembraneSurfaceLocationRestraint self, IMP::ParticlesTemp const & ps)"""
1418 return _IMP_npc.MembraneSurfaceLocationRestraint_set_particles(self, ps)
1420 def do_get_inputs(self):
1421 r"""do_get_inputs(MembraneSurfaceLocationRestraint self) -> IMP::ModelObjectsTemp"""
1422 return _IMP_npc.MembraneSurfaceLocationRestraint_do_get_inputs(self)
1424 def get_version_info(self):
1425 r"""get_version_info(MembraneSurfaceLocationRestraint self) -> VersionInfo"""
1426 return _IMP_npc.MembraneSurfaceLocationRestraint_get_version_info(self)
1427 __swig_destroy__ = _IMP_npc.delete_MembraneSurfaceLocationRestraint
1430 r"""__str__(MembraneSurfaceLocationRestraint self) -> std::string"""
1431 return _IMP_npc.MembraneSurfaceLocationRestraint___str__(self)
1434 r"""__repr__(MembraneSurfaceLocationRestraint self) -> std::string"""
1435 return _IMP_npc.MembraneSurfaceLocationRestraint___repr__(self)
1439 return _object_cast_to_MembraneSurfaceLocationRestraint(o)
1442 def _get_as_binary(self):
1443 r"""_get_as_binary(MembraneSurfaceLocationRestraint self) -> PyObject *"""
1444 return _IMP_npc.MembraneSurfaceLocationRestraint__get_as_binary(self)
1446 def _set_from_binary(self, p):
1447 r"""_set_from_binary(MembraneSurfaceLocationRestraint self, PyObject * p)"""
1448 return _IMP_npc.MembraneSurfaceLocationRestraint__set_from_binary(self, p)
1450 def __getstate__(self):
1451 p = self._get_as_binary()
1452 if len(self.__dict__) > 1:
1453 d = self.__dict__.copy()
1458 def __setstate__(self, p):
1459 if not hasattr(self,
'this'):
1461 if isinstance(p, tuple):
1463 self.__dict__.update(d)
1464 return self._set_from_binary(p)
1468 _IMP_npc.MembraneSurfaceLocationRestraint_swigregister(MembraneSurfaceLocationRestraint)
1469 class MembraneSurfaceLocationConditionalRestraint(
IMP.Restraint):
1470 r"""Proxy of C++ IMP::npc::MembraneSurfaceLocationConditionalRestraint class."""
1472 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1474 def __init__(self, *args):
1476 __init__(MembraneSurfaceLocationConditionalRestraint self, Model m, _SingletonContainerAdaptor sc1, _SingletonContainerAdaptor sc2, double R, double r, double thickness, double sigma=2) -> MembraneSurfaceLocationConditionalRestraint
1477 __init__(MembraneSurfaceLocationConditionalRestraint self, Model m, double R, double r, double thickness, double sigma=2) -> MembraneSurfaceLocationConditionalRestraint
1478 __init__(MembraneSurfaceLocationConditionalRestraint self) -> MembraneSurfaceLocationConditionalRestraint
1480 _IMP_npc.MembraneSurfaceLocationConditionalRestraint_swiginit(self, _IMP_npc.new_MembraneSurfaceLocationConditionalRestraint(*args))
1482 def add_particle1(self, p):
1483 r"""add_particle1(MembraneSurfaceLocationConditionalRestraint self, Particle p)"""
1484 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_add_particle1(self, p)
1486 def add_particle2(self, p):
1487 r"""add_particle2(MembraneSurfaceLocationConditionalRestraint self, Particle p)"""
1488 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_add_particle2(self, p)
1490 def add_particles1(self, ps):
1491 r"""add_particles1(MembraneSurfaceLocationConditionalRestraint self, IMP::ParticlesTemp const & ps)"""
1492 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_add_particles1(self, ps)
1494 def add_particles2(self, ps):
1495 r"""add_particles2(MembraneSurfaceLocationConditionalRestraint self, IMP::ParticlesTemp const & ps)"""
1496 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_add_particles2(self, ps)
1498 def set_particles1(self, ps):
1499 r"""set_particles1(MembraneSurfaceLocationConditionalRestraint self, IMP::ParticlesTemp const & ps)"""
1500 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_set_particles1(self, ps)
1502 def set_particles2(self, ps):
1503 r"""set_particles2(MembraneSurfaceLocationConditionalRestraint self, IMP::ParticlesTemp const & ps)"""
1504 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_set_particles2(self, ps)
1506 def do_get_inputs(self):
1507 r"""do_get_inputs(MembraneSurfaceLocationConditionalRestraint self) -> IMP::ModelObjectsTemp"""
1508 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_do_get_inputs(self)
1510 def get_version_info(self):
1511 r"""get_version_info(MembraneSurfaceLocationConditionalRestraint self) -> VersionInfo"""
1512 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_get_version_info(self)
1513 __swig_destroy__ = _IMP_npc.delete_MembraneSurfaceLocationConditionalRestraint
1516 r"""__str__(MembraneSurfaceLocationConditionalRestraint self) -> std::string"""
1517 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint___str__(self)
1520 r"""__repr__(MembraneSurfaceLocationConditionalRestraint self) -> std::string"""
1521 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint___repr__(self)
1525 return _object_cast_to_MembraneSurfaceLocationConditionalRestraint(o)
1528 def _get_as_binary(self):
1529 r"""_get_as_binary(MembraneSurfaceLocationConditionalRestraint self) -> PyObject *"""
1530 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint__get_as_binary(self)
1532 def _set_from_binary(self, p):
1533 r"""_set_from_binary(MembraneSurfaceLocationConditionalRestraint self, PyObject * p)"""
1534 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint__set_from_binary(self, p)
1536 def __getstate__(self):
1537 p = self._get_as_binary()
1538 if len(self.__dict__) > 1:
1539 d = self.__dict__.copy()
1544 def __setstate__(self, p):
1545 if not hasattr(self,
'this'):
1547 if isinstance(p, tuple):
1549 self.__dict__.update(d)
1550 return self._set_from_binary(p)
1554 _IMP_npc.MembraneSurfaceLocationConditionalRestraint_swigregister(MembraneSurfaceLocationConditionalRestraint)
1556 r"""Proxy of C++ IMP::npc::MembraneExclusionRestraint class."""
1558 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1560 def __init__(self, *args):
1562 __init__(MembraneExclusionRestraint self, Model m, _SingletonContainerAdaptor sc, double R, double r, double thickness, double sigma=2) -> MembraneExclusionRestraint
1563 __init__(MembraneExclusionRestraint self, Model m, double R, double r, double thickness, double sigma=2) -> MembraneExclusionRestraint
1564 __init__(MembraneExclusionRestraint self) -> MembraneExclusionRestraint
1566 _IMP_npc.MembraneExclusionRestraint_swiginit(self, _IMP_npc.new_MembraneExclusionRestraint(*args))
1569 r"""add_particle(MembraneExclusionRestraint self, Particle p)"""
1570 return _IMP_npc.MembraneExclusionRestraint_add_particle(self, p)
1573 r"""add_particles(MembraneExclusionRestraint self, IMP::ParticlesTemp const & ps)"""
1574 return _IMP_npc.MembraneExclusionRestraint_add_particles(self, ps)
1576 def set_particles(self, ps):
1577 r"""set_particles(MembraneExclusionRestraint self, IMP::ParticlesTemp const & ps)"""
1578 return _IMP_npc.MembraneExclusionRestraint_set_particles(self, ps)
1580 def do_get_inputs(self):
1581 r"""do_get_inputs(MembraneExclusionRestraint self) -> IMP::ModelObjectsTemp"""
1582 return _IMP_npc.MembraneExclusionRestraint_do_get_inputs(self)
1584 def get_version_info(self):
1585 r"""get_version_info(MembraneExclusionRestraint self) -> VersionInfo"""
1586 return _IMP_npc.MembraneExclusionRestraint_get_version_info(self)
1587 __swig_destroy__ = _IMP_npc.delete_MembraneExclusionRestraint
1590 r"""__str__(MembraneExclusionRestraint self) -> std::string"""
1591 return _IMP_npc.MembraneExclusionRestraint___str__(self)
1594 r"""__repr__(MembraneExclusionRestraint self) -> std::string"""
1595 return _IMP_npc.MembraneExclusionRestraint___repr__(self)
1599 return _object_cast_to_MembraneExclusionRestraint(o)
1602 def _get_as_binary(self):
1603 r"""_get_as_binary(MembraneExclusionRestraint self) -> PyObject *"""
1604 return _IMP_npc.MembraneExclusionRestraint__get_as_binary(self)
1606 def _set_from_binary(self, p):
1607 r"""_set_from_binary(MembraneExclusionRestraint self, PyObject * p)"""
1608 return _IMP_npc.MembraneExclusionRestraint__set_from_binary(self, p)
1610 def __getstate__(self):
1611 p = self._get_as_binary()
1612 if len(self.__dict__) > 1:
1613 d = self.__dict__.copy()
1618 def __setstate__(self, p):
1619 if not hasattr(self,
'this'):
1621 if isinstance(p, tuple):
1623 self.__dict__.update(d)
1624 return self._set_from_binary(p)
1628 _IMP_npc.MembraneExclusionRestraint_swigregister(MembraneExclusionRestraint)
1630 r"""Proxy of C++ IMP::npc::PoreSideVolumeLocationRestraint class."""
1632 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1634 def __init__(self, *args):
1636 __init__(PoreSideVolumeLocationRestraint self, Model m, _SingletonContainerAdaptor sc, double R, double r, double thickness, bool consider_radius, double sigma=2) -> PoreSideVolumeLocationRestraint
1637 __init__(PoreSideVolumeLocationRestraint self, Model m, double R, double r, double thickness, bool consider_radius, double sigma=2) -> PoreSideVolumeLocationRestraint
1638 __init__(PoreSideVolumeLocationRestraint self) -> PoreSideVolumeLocationRestraint
1640 _IMP_npc.PoreSideVolumeLocationRestraint_swiginit(self, _IMP_npc.new_PoreSideVolumeLocationRestraint(*args))
1643 r"""add_particle(PoreSideVolumeLocationRestraint self, Particle p)"""
1644 return _IMP_npc.PoreSideVolumeLocationRestraint_add_particle(self, p)
1647 r"""add_particles(PoreSideVolumeLocationRestraint self, IMP::ParticlesTemp const & ps)"""
1648 return _IMP_npc.PoreSideVolumeLocationRestraint_add_particles(self, ps)
1650 def set_particles(self, ps):
1651 r"""set_particles(PoreSideVolumeLocationRestraint self, IMP::ParticlesTemp const & ps)"""
1652 return _IMP_npc.PoreSideVolumeLocationRestraint_set_particles(self, ps)
1654 def do_get_inputs(self):
1655 r"""do_get_inputs(PoreSideVolumeLocationRestraint self) -> IMP::ModelObjectsTemp"""
1656 return _IMP_npc.PoreSideVolumeLocationRestraint_do_get_inputs(self)
1658 def get_version_info(self):
1659 r"""get_version_info(PoreSideVolumeLocationRestraint self) -> VersionInfo"""
1660 return _IMP_npc.PoreSideVolumeLocationRestraint_get_version_info(self)
1661 __swig_destroy__ = _IMP_npc.delete_PoreSideVolumeLocationRestraint
1664 r"""__str__(PoreSideVolumeLocationRestraint self) -> std::string"""
1665 return _IMP_npc.PoreSideVolumeLocationRestraint___str__(self)
1668 r"""__repr__(PoreSideVolumeLocationRestraint self) -> std::string"""
1669 return _IMP_npc.PoreSideVolumeLocationRestraint___repr__(self)
1673 return _object_cast_to_PoreSideVolumeLocationRestraint(o)
1676 def _get_as_binary(self):
1677 r"""_get_as_binary(PoreSideVolumeLocationRestraint self) -> PyObject *"""
1678 return _IMP_npc.PoreSideVolumeLocationRestraint__get_as_binary(self)
1680 def _set_from_binary(self, p):
1681 r"""_set_from_binary(PoreSideVolumeLocationRestraint self, PyObject * p)"""
1682 return _IMP_npc.PoreSideVolumeLocationRestraint__set_from_binary(self, p)
1684 def __getstate__(self):
1685 p = self._get_as_binary()
1686 if len(self.__dict__) > 1:
1687 d = self.__dict__.copy()
1692 def __setstate__(self, p):
1693 if not hasattr(self,
'this'):
1695 if isinstance(p, tuple):
1697 self.__dict__.update(d)
1698 return self._set_from_binary(p)
1702 _IMP_npc.PoreSideVolumeLocationRestraint_swigregister(PoreSideVolumeLocationRestraint)
1704 r"""Proxy of C++ IMP::npc::PerinuclearVolumeLocationRestraint class."""
1706 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1708 def __init__(self, *args):
1710 __init__(PerinuclearVolumeLocationRestraint self, Model m, _SingletonContainerAdaptor sc, double R, double r, double thickness, bool consider_radius, double sigma=2) -> PerinuclearVolumeLocationRestraint
1711 __init__(PerinuclearVolumeLocationRestraint self, Model m, double R, double r, double thickness, bool consider_radius, double sigma=2) -> PerinuclearVolumeLocationRestraint
1712 __init__(PerinuclearVolumeLocationRestraint self) -> PerinuclearVolumeLocationRestraint
1714 _IMP_npc.PerinuclearVolumeLocationRestraint_swiginit(self, _IMP_npc.new_PerinuclearVolumeLocationRestraint(*args))
1717 r"""add_particle(PerinuclearVolumeLocationRestraint self, Particle p)"""
1718 return _IMP_npc.PerinuclearVolumeLocationRestraint_add_particle(self, p)
1721 r"""add_particles(PerinuclearVolumeLocationRestraint self, IMP::ParticlesTemp const & ps)"""
1722 return _IMP_npc.PerinuclearVolumeLocationRestraint_add_particles(self, ps)
1724 def set_particles(self, ps):
1725 r"""set_particles(PerinuclearVolumeLocationRestraint self, IMP::ParticlesTemp const & ps)"""
1726 return _IMP_npc.PerinuclearVolumeLocationRestraint_set_particles(self, ps)
1728 def do_get_inputs(self):
1729 r"""do_get_inputs(PerinuclearVolumeLocationRestraint self) -> IMP::ModelObjectsTemp"""
1730 return _IMP_npc.PerinuclearVolumeLocationRestraint_do_get_inputs(self)
1732 def get_version_info(self):
1733 r"""get_version_info(PerinuclearVolumeLocationRestraint self) -> VersionInfo"""
1734 return _IMP_npc.PerinuclearVolumeLocationRestraint_get_version_info(self)
1735 __swig_destroy__ = _IMP_npc.delete_PerinuclearVolumeLocationRestraint
1738 r"""__str__(PerinuclearVolumeLocationRestraint self) -> std::string"""
1739 return _IMP_npc.PerinuclearVolumeLocationRestraint___str__(self)
1742 r"""__repr__(PerinuclearVolumeLocationRestraint self) -> std::string"""
1743 return _IMP_npc.PerinuclearVolumeLocationRestraint___repr__(self)
1747 return _object_cast_to_PerinuclearVolumeLocationRestraint(o)
1750 def _get_as_binary(self):
1751 r"""_get_as_binary(PerinuclearVolumeLocationRestraint self) -> PyObject *"""
1752 return _IMP_npc.PerinuclearVolumeLocationRestraint__get_as_binary(self)
1754 def _set_from_binary(self, p):
1755 r"""_set_from_binary(PerinuclearVolumeLocationRestraint self, PyObject * p)"""
1756 return _IMP_npc.PerinuclearVolumeLocationRestraint__set_from_binary(self, p)
1758 def __getstate__(self):
1759 p = self._get_as_binary()
1760 if len(self.__dict__) > 1:
1761 d = self.__dict__.copy()
1766 def __setstate__(self, p):
1767 if not hasattr(self,
'this'):
1769 if isinstance(p, tuple):
1771 self.__dict__.update(d)
1772 return self._set_from_binary(p)
1776 _IMP_npc.PerinuclearVolumeLocationRestraint_swigregister(PerinuclearVolumeLocationRestraint)
1778 r"""Proxy of C++ IMP::npc::AssemblySymmetryByDistanceRestraint class."""
1780 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1782 def __init__(self, *args):
1784 __init__(AssemblySymmetryByDistanceRestraint self, Model m, _SingletonContainerAdaptor sc, double sigma=4) -> AssemblySymmetryByDistanceRestraint
1785 __init__(AssemblySymmetryByDistanceRestraint self, Model m, double sigma=4) -> AssemblySymmetryByDistanceRestraint
1786 __init__(AssemblySymmetryByDistanceRestraint self) -> AssemblySymmetryByDistanceRestraint
1788 _IMP_npc.AssemblySymmetryByDistanceRestraint_swiginit(self, _IMP_npc.new_AssemblySymmetryByDistanceRestraint(*args))
1791 r"""add_particle(AssemblySymmetryByDistanceRestraint self, Particle p)"""
1792 return _IMP_npc.AssemblySymmetryByDistanceRestraint_add_particle(self, p)
1795 r"""add_particles(AssemblySymmetryByDistanceRestraint self, IMP::ParticlesTemp const & ps)"""
1796 return _IMP_npc.AssemblySymmetryByDistanceRestraint_add_particles(self, ps)
1798 def set_particles(self, ps):
1799 r"""set_particles(AssemblySymmetryByDistanceRestraint self, IMP::ParticlesTemp const & ps)"""
1800 return _IMP_npc.AssemblySymmetryByDistanceRestraint_set_particles(self, ps)
1802 def do_get_inputs(self):
1803 r"""do_get_inputs(AssemblySymmetryByDistanceRestraint self) -> IMP::ModelObjectsTemp"""
1804 return _IMP_npc.AssemblySymmetryByDistanceRestraint_do_get_inputs(self)
1806 def get_version_info(self):
1807 r"""get_version_info(AssemblySymmetryByDistanceRestraint self) -> VersionInfo"""
1808 return _IMP_npc.AssemblySymmetryByDistanceRestraint_get_version_info(self)
1809 __swig_destroy__ = _IMP_npc.delete_AssemblySymmetryByDistanceRestraint
1812 r"""__str__(AssemblySymmetryByDistanceRestraint self) -> std::string"""
1813 return _IMP_npc.AssemblySymmetryByDistanceRestraint___str__(self)
1816 r"""__repr__(AssemblySymmetryByDistanceRestraint self) -> std::string"""
1817 return _IMP_npc.AssemblySymmetryByDistanceRestraint___repr__(self)
1821 return _object_cast_to_AssemblySymmetryByDistanceRestraint(o)
1824 def _get_as_binary(self):
1825 r"""_get_as_binary(AssemblySymmetryByDistanceRestraint self) -> PyObject *"""
1826 return _IMP_npc.AssemblySymmetryByDistanceRestraint__get_as_binary(self)
1828 def _set_from_binary(self, p):
1829 r"""_set_from_binary(AssemblySymmetryByDistanceRestraint self, PyObject * p)"""
1830 return _IMP_npc.AssemblySymmetryByDistanceRestraint__set_from_binary(self, p)
1832 def __getstate__(self):
1833 p = self._get_as_binary()
1834 if len(self.__dict__) > 1:
1835 d = self.__dict__.copy()
1840 def __setstate__(self, p):
1841 if not hasattr(self,
'this'):
1843 if isinstance(p, tuple):
1845 self.__dict__.update(d)
1846 return self._set_from_binary(p)
1850 _IMP_npc.AssemblySymmetryByDistanceRestraint_swigregister(AssemblySymmetryByDistanceRestraint)
1852 r"""Proxy of C++ IMP::npc::AssemblySymmetryByDihedralRestraint class."""
1854 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1856 def __init__(self, *args):
1858 __init__(AssemblySymmetryByDihedralRestraint self, Model m, _SingletonContainerAdaptor sc, double sigma=0.1) -> AssemblySymmetryByDihedralRestraint
1859 __init__(AssemblySymmetryByDihedralRestraint self, Model m, double sigma=0.1) -> AssemblySymmetryByDihedralRestraint
1860 __init__(AssemblySymmetryByDihedralRestraint self) -> AssemblySymmetryByDihedralRestraint
1862 _IMP_npc.AssemblySymmetryByDihedralRestraint_swiginit(self, _IMP_npc.new_AssemblySymmetryByDihedralRestraint(*args))
1865 r"""add_particle(AssemblySymmetryByDihedralRestraint self, Particle p)"""
1866 return _IMP_npc.AssemblySymmetryByDihedralRestraint_add_particle(self, p)
1869 r"""add_particles(AssemblySymmetryByDihedralRestraint self, IMP::ParticlesTemp const & ps)"""
1870 return _IMP_npc.AssemblySymmetryByDihedralRestraint_add_particles(self, ps)
1872 def set_particles(self, ps):
1873 r"""set_particles(AssemblySymmetryByDihedralRestraint self, IMP::ParticlesTemp const & ps)"""
1874 return _IMP_npc.AssemblySymmetryByDihedralRestraint_set_particles(self, ps)
1876 def do_get_inputs(self):
1877 r"""do_get_inputs(AssemblySymmetryByDihedralRestraint self) -> IMP::ModelObjectsTemp"""
1878 return _IMP_npc.AssemblySymmetryByDihedralRestraint_do_get_inputs(self)
1880 def get_version_info(self):
1881 r"""get_version_info(AssemblySymmetryByDihedralRestraint self) -> VersionInfo"""
1882 return _IMP_npc.AssemblySymmetryByDihedralRestraint_get_version_info(self)
1883 __swig_destroy__ = _IMP_npc.delete_AssemblySymmetryByDihedralRestraint
1886 r"""__str__(AssemblySymmetryByDihedralRestraint self) -> std::string"""
1887 return _IMP_npc.AssemblySymmetryByDihedralRestraint___str__(self)
1890 r"""__repr__(AssemblySymmetryByDihedralRestraint self) -> std::string"""
1891 return _IMP_npc.AssemblySymmetryByDihedralRestraint___repr__(self)
1895 return _object_cast_to_AssemblySymmetryByDihedralRestraint(o)
1898 def _get_as_binary(self):
1899 r"""_get_as_binary(AssemblySymmetryByDihedralRestraint self) -> PyObject *"""
1900 return _IMP_npc.AssemblySymmetryByDihedralRestraint__get_as_binary(self)
1902 def _set_from_binary(self, p):
1903 r"""_set_from_binary(AssemblySymmetryByDihedralRestraint self, PyObject * p)"""
1904 return _IMP_npc.AssemblySymmetryByDihedralRestraint__set_from_binary(self, p)
1906 def __getstate__(self):
1907 p = self._get_as_binary()
1908 if len(self.__dict__) > 1:
1909 d = self.__dict__.copy()
1914 def __setstate__(self, p):
1915 if not hasattr(self,
'this'):
1917 if isinstance(p, tuple):
1919 self.__dict__.update(d)
1920 return self._set_from_binary(p)
1924 _IMP_npc.AssemblySymmetryByDihedralRestraint_swigregister(AssemblySymmetryByDihedralRestraint)
1926 r"""Proxy of C++ IMP::npc::ProteinProximityRestraint class."""
1928 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1930 def __init__(self, *args):
1932 __init__(ProteinProximityRestraint self, Model m, _SingletonContainerAdaptor sc, double max_dist, double sigma=0.1) -> ProteinProximityRestraint
1933 __init__(ProteinProximityRestraint self, Model m, double max_dist, double sigma=0.1) -> ProteinProximityRestraint
1934 __init__(ProteinProximityRestraint self) -> ProteinProximityRestraint
1936 _IMP_npc.ProteinProximityRestraint_swiginit(self, _IMP_npc.new_ProteinProximityRestraint(*args))
1939 r"""add_particle(ProteinProximityRestraint self, Particle p)"""
1940 return _IMP_npc.ProteinProximityRestraint_add_particle(self, p)
1943 r"""add_particles(ProteinProximityRestraint self, IMP::ParticlesTemp const & ps)"""
1944 return _IMP_npc.ProteinProximityRestraint_add_particles(self, ps)
1946 def set_particles(self, ps):
1947 r"""set_particles(ProteinProximityRestraint self, IMP::ParticlesTemp const & ps)"""
1948 return _IMP_npc.ProteinProximityRestraint_set_particles(self, ps)
1950 def do_get_inputs(self):
1951 r"""do_get_inputs(ProteinProximityRestraint self) -> IMP::ModelObjectsTemp"""
1952 return _IMP_npc.ProteinProximityRestraint_do_get_inputs(self)
1954 def get_version_info(self):
1955 r"""get_version_info(ProteinProximityRestraint self) -> VersionInfo"""
1956 return _IMP_npc.ProteinProximityRestraint_get_version_info(self)
1957 __swig_destroy__ = _IMP_npc.delete_ProteinProximityRestraint
1960 r"""__str__(ProteinProximityRestraint self) -> std::string"""
1961 return _IMP_npc.ProteinProximityRestraint___str__(self)
1964 r"""__repr__(ProteinProximityRestraint self) -> std::string"""
1965 return _IMP_npc.ProteinProximityRestraint___repr__(self)
1969 return _object_cast_to_ProteinProximityRestraint(o)
1972 def _get_as_binary(self):
1973 r"""_get_as_binary(ProteinProximityRestraint self) -> PyObject *"""
1974 return _IMP_npc.ProteinProximityRestraint__get_as_binary(self)
1976 def _set_from_binary(self, p):
1977 r"""_set_from_binary(ProteinProximityRestraint self, PyObject * p)"""
1978 return _IMP_npc.ProteinProximityRestraint__set_from_binary(self, p)
1980 def __getstate__(self):
1981 p = self._get_as_binary()
1982 if len(self.__dict__) > 1:
1983 d = self.__dict__.copy()
1988 def __setstate__(self, p):
1989 if not hasattr(self,
'this'):
1991 if isinstance(p, tuple):
1993 self.__dict__.update(d)
1994 return self._set_from_binary(p)
1998 _IMP_npc.ProteinProximityRestraint_swigregister(ProteinProximityRestraint)
2000 r"""Proxy of C++ IMP::npc::XAxialPositionRestraint class."""
2002 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2004 def __init__(self, *args):
2006 __init__(XAxialPositionRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, double upper_bound, bool consider_radius, double sigma=1) -> XAxialPositionRestraint
2007 __init__(XAxialPositionRestraint self, Model m, double lower_bound, double upper_bound, bool consider_radius, double sigma=1) -> XAxialPositionRestraint
2008 __init__(XAxialPositionRestraint self) -> XAxialPositionRestraint
2010 _IMP_npc.XAxialPositionRestraint_swiginit(self, _IMP_npc.new_XAxialPositionRestraint(*args))
2013 r"""add_particle(XAxialPositionRestraint self, Particle p)"""
2014 return _IMP_npc.XAxialPositionRestraint_add_particle(self, p)
2017 r"""add_particles(XAxialPositionRestraint self, IMP::ParticlesTemp const & ps)"""
2018 return _IMP_npc.XAxialPositionRestraint_add_particles(self, ps)
2020 def set_particles(self, ps):
2021 r"""set_particles(XAxialPositionRestraint self, IMP::ParticlesTemp const & ps)"""
2022 return _IMP_npc.XAxialPositionRestraint_set_particles(self, ps)
2024 def do_get_inputs(self):
2025 r"""do_get_inputs(XAxialPositionRestraint self) -> IMP::ModelObjectsTemp"""
2026 return _IMP_npc.XAxialPositionRestraint_do_get_inputs(self)
2028 def get_version_info(self):
2029 r"""get_version_info(XAxialPositionRestraint self) -> VersionInfo"""
2030 return _IMP_npc.XAxialPositionRestraint_get_version_info(self)
2031 __swig_destroy__ = _IMP_npc.delete_XAxialPositionRestraint
2034 r"""__str__(XAxialPositionRestraint self) -> std::string"""
2035 return _IMP_npc.XAxialPositionRestraint___str__(self)
2038 r"""__repr__(XAxialPositionRestraint self) -> std::string"""
2039 return _IMP_npc.XAxialPositionRestraint___repr__(self)
2043 return _object_cast_to_XAxialPositionRestraint(o)
2046 def _get_as_binary(self):
2047 r"""_get_as_binary(XAxialPositionRestraint self) -> PyObject *"""
2048 return _IMP_npc.XAxialPositionRestraint__get_as_binary(self)
2050 def _set_from_binary(self, p):
2051 r"""_set_from_binary(XAxialPositionRestraint self, PyObject * p)"""
2052 return _IMP_npc.XAxialPositionRestraint__set_from_binary(self, p)
2054 def __getstate__(self):
2055 p = self._get_as_binary()
2056 if len(self.__dict__) > 1:
2057 d = self.__dict__.copy()
2062 def __setstate__(self, p):
2063 if not hasattr(self,
'this'):
2065 if isinstance(p, tuple):
2067 self.__dict__.update(d)
2068 return self._set_from_binary(p)
2072 _IMP_npc.XAxialPositionRestraint_swigregister(XAxialPositionRestraint)
2074 r"""Proxy of C++ IMP::npc::XAxialPositionLowerRestraint class."""
2076 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2078 def __init__(self, *args):
2080 __init__(XAxialPositionLowerRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, bool consider_radius, double sigma=1) -> XAxialPositionLowerRestraint
2081 __init__(XAxialPositionLowerRestraint self, Model m, double lower_bound, bool consider_radius, double sigma=1) -> XAxialPositionLowerRestraint
2082 __init__(XAxialPositionLowerRestraint self) -> XAxialPositionLowerRestraint
2084 _IMP_npc.XAxialPositionLowerRestraint_swiginit(self, _IMP_npc.new_XAxialPositionLowerRestraint(*args))
2087 r"""add_particle(XAxialPositionLowerRestraint self, Particle p)"""
2088 return _IMP_npc.XAxialPositionLowerRestraint_add_particle(self, p)
2091 r"""add_particles(XAxialPositionLowerRestraint self, IMP::ParticlesTemp const & ps)"""
2092 return _IMP_npc.XAxialPositionLowerRestraint_add_particles(self, ps)
2094 def set_particles(self, ps):
2095 r"""set_particles(XAxialPositionLowerRestraint self, IMP::ParticlesTemp const & ps)"""
2096 return _IMP_npc.XAxialPositionLowerRestraint_set_particles(self, ps)
2098 def do_get_inputs(self):
2099 r"""do_get_inputs(XAxialPositionLowerRestraint self) -> IMP::ModelObjectsTemp"""
2100 return _IMP_npc.XAxialPositionLowerRestraint_do_get_inputs(self)
2102 def get_version_info(self):
2103 r"""get_version_info(XAxialPositionLowerRestraint self) -> VersionInfo"""
2104 return _IMP_npc.XAxialPositionLowerRestraint_get_version_info(self)
2105 __swig_destroy__ = _IMP_npc.delete_XAxialPositionLowerRestraint
2108 r"""__str__(XAxialPositionLowerRestraint self) -> std::string"""
2109 return _IMP_npc.XAxialPositionLowerRestraint___str__(self)
2112 r"""__repr__(XAxialPositionLowerRestraint self) -> std::string"""
2113 return _IMP_npc.XAxialPositionLowerRestraint___repr__(self)
2117 return _object_cast_to_XAxialPositionLowerRestraint(o)
2120 def _get_as_binary(self):
2121 r"""_get_as_binary(XAxialPositionLowerRestraint self) -> PyObject *"""
2122 return _IMP_npc.XAxialPositionLowerRestraint__get_as_binary(self)
2124 def _set_from_binary(self, p):
2125 r"""_set_from_binary(XAxialPositionLowerRestraint self, PyObject * p)"""
2126 return _IMP_npc.XAxialPositionLowerRestraint__set_from_binary(self, p)
2128 def __getstate__(self):
2129 p = self._get_as_binary()
2130 if len(self.__dict__) > 1:
2131 d = self.__dict__.copy()
2136 def __setstate__(self, p):
2137 if not hasattr(self,
'this'):
2139 if isinstance(p, tuple):
2141 self.__dict__.update(d)
2142 return self._set_from_binary(p)
2146 _IMP_npc.XAxialPositionLowerRestraint_swigregister(XAxialPositionLowerRestraint)
2148 r"""Proxy of C++ IMP::npc::XAxialPositionUpperRestraint class."""
2150 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2152 def __init__(self, *args):
2154 __init__(XAxialPositionUpperRestraint self, Model m, _SingletonContainerAdaptor sc, double upper_bound, bool consider_radius, double sigma=1) -> XAxialPositionUpperRestraint
2155 __init__(XAxialPositionUpperRestraint self, Model m, double upper_bound, bool consider_radius, double sigma=1) -> XAxialPositionUpperRestraint
2156 __init__(XAxialPositionUpperRestraint self) -> XAxialPositionUpperRestraint
2158 _IMP_npc.XAxialPositionUpperRestraint_swiginit(self, _IMP_npc.new_XAxialPositionUpperRestraint(*args))
2161 r"""add_particle(XAxialPositionUpperRestraint self, Particle p)"""
2162 return _IMP_npc.XAxialPositionUpperRestraint_add_particle(self, p)
2165 r"""add_particles(XAxialPositionUpperRestraint self, IMP::ParticlesTemp const & ps)"""
2166 return _IMP_npc.XAxialPositionUpperRestraint_add_particles(self, ps)
2168 def set_particles(self, ps):
2169 r"""set_particles(XAxialPositionUpperRestraint self, IMP::ParticlesTemp const & ps)"""
2170 return _IMP_npc.XAxialPositionUpperRestraint_set_particles(self, ps)
2172 def do_get_inputs(self):
2173 r"""do_get_inputs(XAxialPositionUpperRestraint self) -> IMP::ModelObjectsTemp"""
2174 return _IMP_npc.XAxialPositionUpperRestraint_do_get_inputs(self)
2176 def get_version_info(self):
2177 r"""get_version_info(XAxialPositionUpperRestraint self) -> VersionInfo"""
2178 return _IMP_npc.XAxialPositionUpperRestraint_get_version_info(self)
2179 __swig_destroy__ = _IMP_npc.delete_XAxialPositionUpperRestraint
2182 r"""__str__(XAxialPositionUpperRestraint self) -> std::string"""
2183 return _IMP_npc.XAxialPositionUpperRestraint___str__(self)
2186 r"""__repr__(XAxialPositionUpperRestraint self) -> std::string"""
2187 return _IMP_npc.XAxialPositionUpperRestraint___repr__(self)
2191 return _object_cast_to_XAxialPositionUpperRestraint(o)
2194 def _get_as_binary(self):
2195 r"""_get_as_binary(XAxialPositionUpperRestraint self) -> PyObject *"""
2196 return _IMP_npc.XAxialPositionUpperRestraint__get_as_binary(self)
2198 def _set_from_binary(self, p):
2199 r"""_set_from_binary(XAxialPositionUpperRestraint self, PyObject * p)"""
2200 return _IMP_npc.XAxialPositionUpperRestraint__set_from_binary(self, p)
2202 def __getstate__(self):
2203 p = self._get_as_binary()
2204 if len(self.__dict__) > 1:
2205 d = self.__dict__.copy()
2210 def __setstate__(self, p):
2211 if not hasattr(self,
'this'):
2213 if isinstance(p, tuple):
2215 self.__dict__.update(d)
2216 return self._set_from_binary(p)
2220 _IMP_npc.XAxialPositionUpperRestraint_swigregister(XAxialPositionUpperRestraint)
2222 r"""Proxy of C++ IMP::npc::OverallPositionRestraint class."""
2224 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2226 def __init__(self, *args):
2228 __init__(OverallPositionRestraint self, Model m, _SingletonContainerAdaptor sc, double x_start, double y_start, double z_start, double tolerance, bool consider_radius, double sigma=1) -> OverallPositionRestraint
2229 __init__(OverallPositionRestraint self, Model m, double x_start, double y_start, double z_start, double tolerance, bool consider_radius, double sigma=1) -> OverallPositionRestraint
2230 __init__(OverallPositionRestraint self) -> OverallPositionRestraint
2232 _IMP_npc.OverallPositionRestraint_swiginit(self, _IMP_npc.new_OverallPositionRestraint(*args))
2235 r"""add_particle(OverallPositionRestraint self, Particle p)"""
2236 return _IMP_npc.OverallPositionRestraint_add_particle(self, p)
2239 r"""add_particles(OverallPositionRestraint self, IMP::ParticlesTemp const & ps)"""
2240 return _IMP_npc.OverallPositionRestraint_add_particles(self, ps)
2242 def set_particles(self, ps):
2243 r"""set_particles(OverallPositionRestraint self, IMP::ParticlesTemp const & ps)"""
2244 return _IMP_npc.OverallPositionRestraint_set_particles(self, ps)
2246 def do_get_inputs(self):
2247 r"""do_get_inputs(OverallPositionRestraint self) -> IMP::ModelObjectsTemp"""
2248 return _IMP_npc.OverallPositionRestraint_do_get_inputs(self)
2250 def get_version_info(self):
2251 r"""get_version_info(OverallPositionRestraint self) -> VersionInfo"""
2252 return _IMP_npc.OverallPositionRestraint_get_version_info(self)
2253 __swig_destroy__ = _IMP_npc.delete_OverallPositionRestraint
2256 r"""__str__(OverallPositionRestraint self) -> std::string"""
2257 return _IMP_npc.OverallPositionRestraint___str__(self)
2260 r"""__repr__(OverallPositionRestraint self) -> std::string"""
2261 return _IMP_npc.OverallPositionRestraint___repr__(self)
2265 return _object_cast_to_OverallPositionRestraint(o)
2268 def _get_as_binary(self):
2269 r"""_get_as_binary(OverallPositionRestraint self) -> PyObject *"""
2270 return _IMP_npc.OverallPositionRestraint__get_as_binary(self)
2272 def _set_from_binary(self, p):
2273 r"""_set_from_binary(OverallPositionRestraint self, PyObject * p)"""
2274 return _IMP_npc.OverallPositionRestraint__set_from_binary(self, p)
2276 def __getstate__(self):
2277 p = self._get_as_binary()
2278 if len(self.__dict__) > 1:
2279 d = self.__dict__.copy()
2284 def __setstate__(self, p):
2285 if not hasattr(self,
'this'):
2287 if isinstance(p, tuple):
2289 self.__dict__.update(d)
2290 return self._set_from_binary(p)
2294 _IMP_npc.OverallPositionRestraint_swigregister(OverallPositionRestraint)
2296 r"""Proxy of C++ IMP::npc::CompositeRestraint class."""
2298 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2300 def __init__(self, m, ps):
2301 r"""__init__(CompositeRestraint self, Model m, PairScore ps) -> CompositeRestraint"""
2302 _IMP_npc.CompositeRestraint_swiginit(self, _IMP_npc.new_CompositeRestraint(m, ps))
2304 def add_type(self, ps):
2305 r"""add_type(CompositeRestraint self, IMP::ParticleIndexes ps)"""
2306 return _IMP_npc.CompositeRestraint_add_type(self, ps)
2308 def get_connected_pairs(self):
2309 r"""get_connected_pairs(CompositeRestraint self) -> IMP::ParticleIndexPairs"""
2310 return _IMP_npc.CompositeRestraint_get_connected_pairs(self)
2312 def do_get_inputs(self):
2313 r"""do_get_inputs(CompositeRestraint self) -> IMP::ModelObjectsTemp"""
2314 return _IMP_npc.CompositeRestraint_do_get_inputs(self)
2316 def get_version_info(self):
2317 r"""get_version_info(CompositeRestraint self) -> VersionInfo"""
2318 return _IMP_npc.CompositeRestraint_get_version_info(self)
2319 __swig_destroy__ = _IMP_npc.delete_CompositeRestraint
2322 r"""__str__(CompositeRestraint self) -> std::string"""
2323 return _IMP_npc.CompositeRestraint___str__(self)
2326 r"""__repr__(CompositeRestraint self) -> std::string"""
2327 return _IMP_npc.CompositeRestraint___repr__(self)
2331 return _object_cast_to_CompositeRestraint(o)
2335 _IMP_npc.CompositeRestraint_swigregister(CompositeRestraint)
2337 r"""Proxy of C++ IMP::npc::MinimumSphereDistancePairScore class."""
2339 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2341 def __init__(self, *args):
2343 __init__(MinimumSphereDistancePairScore self, UnaryFunction f, IMP::algebra::Transformation3Ds transforms) -> MinimumSphereDistancePairScore
2344 __init__(MinimumSphereDistancePairScore self) -> MinimumSphereDistancePairScore
2346 _IMP_npc.MinimumSphereDistancePairScore_swiginit(self, _IMP_npc.new_MinimumSphereDistancePairScore(*args))
2348 def do_get_inputs(self, m, pis):
2349 r"""do_get_inputs(MinimumSphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
2350 return _IMP_npc.MinimumSphereDistancePairScore_do_get_inputs(self, m, pis)
2352 def evaluate_indexes(self, m, p, da, lower_bound, upper_bound, all_indexes_checked=False):
2353 r"""evaluate_indexes(MinimumSphereDistancePairScore self, Model m, IMP::ParticleIndexPairs const & p, DerivativeAccumulator da, unsigned int lower_bound, unsigned int upper_bound, bool all_indexes_checked=False) -> double"""
2354 return _IMP_npc.MinimumSphereDistancePairScore_evaluate_indexes(self, m, p, da, lower_bound, upper_bound, all_indexes_checked)
2356 def evaluate_indexes_scores(self, m, p, da, lower_bound, upper_bound, score, all_indexes_checked=False):
2357 r"""evaluate_indexes_scores(MinimumSphereDistancePairScore self, Model m, IMP::ParticleIndexPairs const & p, DerivativeAccumulator da, unsigned int lower_bound, unsigned int upper_bound, std::vector< double,std::allocator< double > > & score, bool all_indexes_checked=False) -> double"""
2358 return _IMP_npc.MinimumSphereDistancePairScore_evaluate_indexes_scores(self, m, p, da, lower_bound, upper_bound, score, all_indexes_checked)
2360 def evaluate_indexes_delta(self, m, p, da, indexes, score, all_indexes_checked=False):
2361 r"""evaluate_indexes_delta(MinimumSphereDistancePairScore self, Model m, IMP::ParticleIndexPairs const & p, DerivativeAccumulator da, std::vector< unsigned int,std::allocator< unsigned int > > const & indexes, std::vector< double,std::allocator< double > > & score, bool all_indexes_checked=False) -> double"""
2362 return _IMP_npc.MinimumSphereDistancePairScore_evaluate_indexes_delta(self, m, p, da, indexes, score, all_indexes_checked)
2364 def evaluate_if_good_indexes(self, m, p, da, max, lower_bound, upper_bound, all_indexes_checked=False):
2365 r"""evaluate_if_good_indexes(MinimumSphereDistancePairScore self, Model m, IMP::ParticleIndexPairs const & p, DerivativeAccumulator da, double max, unsigned int lower_bound, unsigned int upper_bound, bool all_indexes_checked=False) -> double"""
2366 return _IMP_npc.MinimumSphereDistancePairScore_evaluate_if_good_indexes(self, m, p, da, max, lower_bound, upper_bound, all_indexes_checked)
2368 def get_version_info(self):
2369 r"""get_version_info(MinimumSphereDistancePairScore self) -> VersionInfo"""
2370 return _IMP_npc.MinimumSphereDistancePairScore_get_version_info(self)
2371 __swig_destroy__ = _IMP_npc.delete_MinimumSphereDistancePairScore
2374 r"""__str__(MinimumSphereDistancePairScore self) -> std::string"""
2375 return _IMP_npc.MinimumSphereDistancePairScore___str__(self)
2378 r"""__repr__(MinimumSphereDistancePairScore self) -> std::string"""
2379 return _IMP_npc.MinimumSphereDistancePairScore___repr__(self)
2383 return _object_cast_to_MinimumSphereDistancePairScore(o)
2386 def _get_as_binary(self):
2387 r"""_get_as_binary(MinimumSphereDistancePairScore self) -> PyObject *"""
2388 return _IMP_npc.MinimumSphereDistancePairScore__get_as_binary(self)
2390 def _set_from_binary(self, p):
2391 r"""_set_from_binary(MinimumSphereDistancePairScore self, PyObject * p)"""
2392 return _IMP_npc.MinimumSphereDistancePairScore__set_from_binary(self, p)
2394 def __getstate__(self):
2395 p = self._get_as_binary()
2396 if len(self.__dict__) > 1:
2397 d = self.__dict__.copy()
2402 def __setstate__(self, p):
2403 if not hasattr(self,
'this'):
2405 if isinstance(p, tuple):
2407 self.__dict__.update(d)
2408 return self._set_from_binary(p)
2412 _IMP_npc.MinimumSphereDistancePairScore_swigregister(MinimumSphereDistancePairScore)
2414 r"""Proxy of C++ IMP::npc::SlabWithSphericalIndent class."""
2416 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2418 def set_sphere_radius(self, R):
2419 r"""set_sphere_radius(SlabWithSphericalIndent self, double R)"""
2420 return _IMP_npc.SlabWithSphericalIndent_set_sphere_radius(self, R)
2422 def set_sphere_depth(self, h):
2423 r"""set_sphere_depth(SlabWithSphericalIndent self, double h)"""
2424 return _IMP_npc.SlabWithSphericalIndent_set_sphere_depth(self, h)
2426 def get_sphere_radius(self):
2427 r"""get_sphere_radius(SlabWithSphericalIndent self) -> IMP::Float"""
2428 return _IMP_npc.SlabWithSphericalIndent_get_sphere_radius(self)
2430 def get_sphere_depth(self):
2431 r"""get_sphere_depth(SlabWithSphericalIndent self) -> IMP::Float"""
2432 return _IMP_npc.SlabWithSphericalIndent_get_sphere_depth(self)
2435 def get_sphere_radius_key():
2436 r"""get_sphere_radius_key() -> FloatKey"""
2437 return _IMP_npc.SlabWithSphericalIndent_get_sphere_radius_key()
2440 def get_sphere_depth_key():
2441 r"""get_sphere_depth_key() -> FloatKey"""
2442 return _IMP_npc.SlabWithSphericalIndent_get_sphere_depth_key()
2444 def get_decorator_name(self):
2445 r"""get_decorator_name(SlabWithSphericalIndent self) -> std::string"""
2446 return _IMP_npc.SlabWithSphericalIndent_get_decorator_name(self)
2448 def set_decorator_name(self, nm):
2449 r"""set_decorator_name(SlabWithSphericalIndent self, std::string nm)"""
2450 return _IMP_npc.SlabWithSphericalIndent_set_decorator_name(self, nm)
2452 def __init__(self, *args):
2454 __init__(SlabWithSphericalIndent self) -> SlabWithSphericalIndent
2455 __init__(SlabWithSphericalIndent self, Model m, ParticleIndex id) -> SlabWithSphericalIndent
2456 __init__(SlabWithSphericalIndent self, _ParticleAdaptor d) -> SlabWithSphericalIndent
2458 _IMP_npc.SlabWithSphericalIndent_swiginit(self, _IMP_npc.new_SlabWithSphericalIndent(*args))
2461 def get_is_setup(*args):
2463 get_is_setup(Model m, ParticleIndex pi) -> bool
2464 get_is_setup(_ParticleAdaptor p) -> bool
2466 return _IMP_npc.SlabWithSphericalIndent_get_is_setup(*args)
2468 def show(self, *args):
2469 r"""show(SlabWithSphericalIndent self, _ostream out=std::cout)"""
2470 return _IMP_npc.SlabWithSphericalIndent_show(self, *args)
2473 def setup_particle(*args):
2475 setup_particle(Model m, ParticleIndex pi, double R, double h) -> SlabWithSphericalIndent
2476 setup_particle(_ParticleAdaptor pa, double R, double h) -> SlabWithSphericalIndent
2478 return _IMP_npc.SlabWithSphericalIndent_setup_particle(*args)
2480 def add_attribute(self, *args):
2482 add_attribute(SlabWithSphericalIndent self, FloatKey k, IMP::Float v, bool opt)
2483 add_attribute(SlabWithSphericalIndent self, FloatKey a0, IMP::Float a1)
2484 add_attribute(SlabWithSphericalIndent self, IntKey a0, IMP::Int a1)
2485 add_attribute(SlabWithSphericalIndent self, FloatsKey a0, IMP::Floats a1)
2486 add_attribute(SlabWithSphericalIndent self, IntsKey a0, IMP::Ints a1)
2487 add_attribute(SlabWithSphericalIndent self, StringKey a0, IMP::String a1)
2488 add_attribute(SlabWithSphericalIndent self, ParticleIndexKey a0, Particle a1)
2489 add_attribute(SlabWithSphericalIndent self, ObjectKey a0, Object a1)
2490 add_attribute(SlabWithSphericalIndent self, SparseFloatKey a0, IMP::Float a1)
2491 add_attribute(SlabWithSphericalIndent self, SparseIntKey a0, IMP::Int a1)
2492 add_attribute(SlabWithSphericalIndent self, SparseStringKey a0, IMP::String a1)
2493 add_attribute(SlabWithSphericalIndent self, SparseParticleIndexKey a0, ParticleIndex a1)
2495 return _IMP_npc.SlabWithSphericalIndent_add_attribute(self, *args)
2497 def get_value(self, *args):
2499 get_value(SlabWithSphericalIndent self, FloatKey a0) -> IMP::Float
2500 get_value(SlabWithSphericalIndent self, IntKey a0) -> IMP::Int
2501 get_value(SlabWithSphericalIndent self, FloatsKey a0) -> IMP::Floats
2502 get_value(SlabWithSphericalIndent self, IntsKey a0) -> IMP::Ints
2503 get_value(SlabWithSphericalIndent self, StringKey a0) -> IMP::String
2504 get_value(SlabWithSphericalIndent self, ParticleIndexKey a0) -> Particle
2505 get_value(SlabWithSphericalIndent self, ObjectKey a0) -> Object
2506 get_value(SlabWithSphericalIndent self, SparseFloatKey a0) -> IMP::Float
2507 get_value(SlabWithSphericalIndent self, SparseIntKey a0) -> IMP::Int
2508 get_value(SlabWithSphericalIndent self, SparseStringKey a0) -> IMP::String
2509 get_value(SlabWithSphericalIndent self, SparseParticleIndexKey a0) -> ParticleIndex
2511 return _IMP_npc.SlabWithSphericalIndent_get_value(self, *args)
2513 def set_value(self, *args):
2515 set_value(SlabWithSphericalIndent self, FloatKey a0, IMP::Float a1)
2516 set_value(SlabWithSphericalIndent self, IntKey a0, IMP::Int a1)
2517 set_value(SlabWithSphericalIndent self, FloatsKey a0, IMP::Floats a1)
2518 set_value(SlabWithSphericalIndent self, IntsKey a0, IMP::Ints a1)
2519 set_value(SlabWithSphericalIndent self, StringKey a0, IMP::String a1)
2520 set_value(SlabWithSphericalIndent self, ParticleIndexKey a0, Particle a1)
2521 set_value(SlabWithSphericalIndent self, ObjectKey a0, Object a1)
2522 set_value(SlabWithSphericalIndent self, SparseFloatKey a0, IMP::Float a1)
2523 set_value(SlabWithSphericalIndent self, SparseIntKey a0, IMP::Int a1)
2524 set_value(SlabWithSphericalIndent self, SparseStringKey a0, IMP::String a1)
2525 set_value(SlabWithSphericalIndent self, SparseParticleIndexKey a0, ParticleIndex a1)
2527 return _IMP_npc.SlabWithSphericalIndent_set_value(self, *args)
2529 def remove_attribute(self, *args):
2531 remove_attribute(SlabWithSphericalIndent self, FloatKey a0)
2532 remove_attribute(SlabWithSphericalIndent self, IntKey a0)
2533 remove_attribute(SlabWithSphericalIndent self, FloatsKey a0)
2534 remove_attribute(SlabWithSphericalIndent self, IntsKey a0)
2535 remove_attribute(SlabWithSphericalIndent self, StringKey a0)
2536 remove_attribute(SlabWithSphericalIndent self, ParticleIndexKey a0)
2537 remove_attribute(SlabWithSphericalIndent self, ObjectKey a0)
2538 remove_attribute(SlabWithSphericalIndent self, SparseFloatKey a0)
2539 remove_attribute(SlabWithSphericalIndent self, SparseIntKey a0)
2540 remove_attribute(SlabWithSphericalIndent self, SparseStringKey a0)
2541 remove_attribute(SlabWithSphericalIndent self, SparseParticleIndexKey a0)
2543 return _IMP_npc.SlabWithSphericalIndent_remove_attribute(self, *args)
2545 def has_attribute(self, *args):
2547 has_attribute(SlabWithSphericalIndent self, FloatKey a0) -> bool
2548 has_attribute(SlabWithSphericalIndent self, IntKey a0) -> bool
2549 has_attribute(SlabWithSphericalIndent self, FloatsKey a0) -> bool
2550 has_attribute(SlabWithSphericalIndent self, IntsKey a0) -> bool
2551 has_attribute(SlabWithSphericalIndent self, StringKey a0) -> bool
2552 has_attribute(SlabWithSphericalIndent self, ParticleIndexKey a0) -> bool
2553 has_attribute(SlabWithSphericalIndent self, ObjectKey a0) -> bool
2554 has_attribute(SlabWithSphericalIndent self, SparseFloatKey a0) -> bool
2555 has_attribute(SlabWithSphericalIndent self, SparseIntKey a0) -> bool
2556 has_attribute(SlabWithSphericalIndent self, SparseStringKey a0) -> bool
2557 has_attribute(SlabWithSphericalIndent self, SparseParticleIndexKey a0) -> bool
2559 return _IMP_npc.SlabWithSphericalIndent_has_attribute(self, *args)
2561 def get_derivative(self, a0):
2562 r"""get_derivative(SlabWithSphericalIndent self, FloatKey a0) -> double"""
2563 return _IMP_npc.SlabWithSphericalIndent_get_derivative(self, a0)
2566 r"""get_name(SlabWithSphericalIndent self) -> std::string"""
2567 return _IMP_npc.SlabWithSphericalIndent_get_name(self)
2569 def clear_caches(self):
2570 r"""clear_caches(SlabWithSphericalIndent self)"""
2571 return _IMP_npc.SlabWithSphericalIndent_clear_caches(self)
2573 def set_name(self, a0):
2574 r"""set_name(SlabWithSphericalIndent self, std::string a0)"""
2575 return _IMP_npc.SlabWithSphericalIndent_set_name(self, a0)
2578 r"""set_check_level(SlabWithSphericalIndent self, IMP::CheckLevel a0)"""
2579 return _IMP_npc.SlabWithSphericalIndent_set_check_level(self, a0)
2581 def add_to_derivative(self, a0, a1, a2):
2582 r"""add_to_derivative(SlabWithSphericalIndent self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2583 return _IMP_npc.SlabWithSphericalIndent_add_to_derivative(self, a0, a1, a2)
2585 def set_is_optimized(self, a0, a1):
2586 r"""set_is_optimized(SlabWithSphericalIndent self, FloatKey a0, bool a1)"""
2587 return _IMP_npc.SlabWithSphericalIndent_set_is_optimized(self, a0, a1)
2589 def get_is_optimized(self, a0):
2590 r"""get_is_optimized(SlabWithSphericalIndent self, FloatKey a0) -> bool"""
2591 return _IMP_npc.SlabWithSphericalIndent_get_is_optimized(self, a0)
2594 r"""get_check_level(SlabWithSphericalIndent self) -> IMP::CheckLevel"""
2595 return _IMP_npc.SlabWithSphericalIndent_get_check_level(self)
2597 def __eq__(self, *args):
2599 __eq__(SlabWithSphericalIndent self, SlabWithSphericalIndent o) -> bool
2600 __eq__(SlabWithSphericalIndent self, Particle d) -> bool
2602 return _IMP_npc.SlabWithSphericalIndent___eq__(self, *args)
2604 def __ne__(self, *args):
2606 __ne__(SlabWithSphericalIndent self, SlabWithSphericalIndent o) -> bool
2607 __ne__(SlabWithSphericalIndent self, Particle d) -> bool
2609 return _IMP_npc.SlabWithSphericalIndent___ne__(self, *args)
2611 def __le__(self, *args):
2613 __le__(SlabWithSphericalIndent self, SlabWithSphericalIndent o) -> bool
2614 __le__(SlabWithSphericalIndent self, Particle d) -> bool
2616 return _IMP_npc.SlabWithSphericalIndent___le__(self, *args)
2618 def __lt__(self, *args):
2620 __lt__(SlabWithSphericalIndent self, SlabWithSphericalIndent o) -> bool
2621 __lt__(SlabWithSphericalIndent self, Particle d) -> bool
2623 return _IMP_npc.SlabWithSphericalIndent___lt__(self, *args)
2625 def __ge__(self, *args):
2627 __ge__(SlabWithSphericalIndent self, SlabWithSphericalIndent o) -> bool
2628 __ge__(SlabWithSphericalIndent self, Particle d) -> bool
2630 return _IMP_npc.SlabWithSphericalIndent___ge__(self, *args)
2632 def __gt__(self, *args):
2634 __gt__(SlabWithSphericalIndent self, SlabWithSphericalIndent o) -> bool
2635 __gt__(SlabWithSphericalIndent self, Particle d) -> bool
2637 return _IMP_npc.SlabWithSphericalIndent___gt__(self, *args)
2640 r"""__hash__(SlabWithSphericalIndent self) -> std::size_t"""
2641 return _IMP_npc.SlabWithSphericalIndent___hash__(self)
2644 r"""__str__(SlabWithSphericalIndent self) -> std::string"""
2645 return _IMP_npc.SlabWithSphericalIndent___str__(self)
2648 r"""__repr__(SlabWithSphericalIndent self) -> std::string"""
2649 return _IMP_npc.SlabWithSphericalIndent___repr__(self)
2651 def _get_as_binary(self):
2652 r"""_get_as_binary(SlabWithSphericalIndent self) -> PyObject *"""
2653 return _IMP_npc.SlabWithSphericalIndent__get_as_binary(self)
2655 def _set_from_binary(self, p):
2656 r"""_set_from_binary(SlabWithSphericalIndent self, PyObject * p)"""
2657 return _IMP_npc.SlabWithSphericalIndent__set_from_binary(self, p)
2659 def __getstate__(self):
2660 p = self._get_as_binary()
2661 if len(self.__dict__) > 1:
2662 d = self.__dict__.copy()
2667 def __setstate__(self, p):
2668 if not hasattr(self,
'this'):
2670 if isinstance(p, tuple):
2672 self.__dict__.update(d)
2673 return self._set_from_binary(p)
2675 __swig_destroy__ = _IMP_npc.delete_SlabWithSphericalIndent
2678 _IMP_npc.SlabWithSphericalIndent_swigregister(SlabWithSphericalIndent)
2680 r"""Proxy of C++ IMP::npc::SlabWithSphericalIndentMBMScore class."""
2682 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2684 def __init__(self, x0, k):
2685 r"""__init__(SlabWithSphericalIndentMBMScore self, double x0, double k) -> SlabWithSphericalIndentMBMScore"""
2686 _IMP_npc.SlabWithSphericalIndentMBMScore_swiginit(self, _IMP_npc.new_SlabWithSphericalIndentMBMScore(x0, k))
2688 def do_get_inputs(self, m, pis):
2689 r"""do_get_inputs(SlabWithSphericalIndentMBMScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
2690 return _IMP_npc.SlabWithSphericalIndentMBMScore_do_get_inputs(self, m, pis)
2692 def evaluate_indexes(self, m, p, da, lower_bound, upper_bound, all_indexes_checked=False):
2693 r"""evaluate_indexes(SlabWithSphericalIndentMBMScore self, Model m, IMP::ParticleIndexPairs const & p, DerivativeAccumulator da, unsigned int lower_bound, unsigned int upper_bound, bool all_indexes_checked=False) -> double"""
2694 return _IMP_npc.SlabWithSphericalIndentMBMScore_evaluate_indexes(self, m, p, da, lower_bound, upper_bound, all_indexes_checked)
2696 def evaluate_indexes_scores(self, m, p, da, lower_bound, upper_bound, score, all_indexes_checked=False):
2697 r"""evaluate_indexes_scores(SlabWithSphericalIndentMBMScore self, Model m, IMP::ParticleIndexPairs const & p, DerivativeAccumulator da, unsigned int lower_bound, unsigned int upper_bound, std::vector< double,std::allocator< double > > & score, bool all_indexes_checked=False) -> double"""
2698 return _IMP_npc.SlabWithSphericalIndentMBMScore_evaluate_indexes_scores(self, m, p, da, lower_bound, upper_bound, score, all_indexes_checked)
2700 def evaluate_indexes_delta(self, m, p, da, indexes, score, all_indexes_checked=False):
2701 r"""evaluate_indexes_delta(SlabWithSphericalIndentMBMScore self, Model m, IMP::ParticleIndexPairs const & p, DerivativeAccumulator da, std::vector< unsigned int,std::allocator< unsigned int > > const & indexes, std::vector< double,std::allocator< double > > & score, bool all_indexes_checked=False) -> double"""
2702 return _IMP_npc.SlabWithSphericalIndentMBMScore_evaluate_indexes_delta(self, m, p, da, indexes, score, all_indexes_checked)
2704 def evaluate_if_good_indexes(self, m, p, da, max, lower_bound, upper_bound, all_indexes_checked=False):
2705 r"""evaluate_if_good_indexes(SlabWithSphericalIndentMBMScore self, Model m, IMP::ParticleIndexPairs const & p, DerivativeAccumulator da, double max, unsigned int lower_bound, unsigned int upper_bound, bool all_indexes_checked=False) -> double"""
2706 return _IMP_npc.SlabWithSphericalIndentMBMScore_evaluate_if_good_indexes(self, m, p, da, max, lower_bound, upper_bound, all_indexes_checked)
2708 def get_version_info(self):
2709 r"""get_version_info(SlabWithSphericalIndentMBMScore self) -> VersionInfo"""
2710 return _IMP_npc.SlabWithSphericalIndentMBMScore_get_version_info(self)
2711 __swig_destroy__ = _IMP_npc.delete_SlabWithSphericalIndentMBMScore
2714 r"""__str__(SlabWithSphericalIndentMBMScore self) -> std::string"""
2715 return _IMP_npc.SlabWithSphericalIndentMBMScore___str__(self)
2718 r"""__repr__(SlabWithSphericalIndentMBMScore self) -> std::string"""
2719 return _IMP_npc.SlabWithSphericalIndentMBMScore___repr__(self)
2723 return _object_cast_to_SlabWithSphericalIndentMBMScore(o)
2727 _IMP_npc.SlabWithSphericalIndentMBMScore_swigregister(SlabWithSphericalIndentMBMScore)
2729 r"""Proxy of C++ IMP::npc::SlabWithSphericalIndentGeometry class."""
2731 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2733 def __init__(self, radius, depth, length):
2734 r"""__init__(SlabWithSphericalIndentGeometry self, double radius, double depth, double length) -> SlabWithSphericalIndentGeometry"""
2735 _IMP_npc.SlabWithSphericalIndentGeometry_swiginit(self, _IMP_npc.new_SlabWithSphericalIndentGeometry(radius, depth, length))
2737 def get_version_info(self):
2738 r"""get_version_info(SlabWithSphericalIndentGeometry self) -> VersionInfo"""
2739 return _IMP_npc.SlabWithSphericalIndentGeometry_get_version_info(self)
2740 __swig_destroy__ = _IMP_npc.delete_SlabWithSphericalIndentGeometry
2743 r"""__str__(SlabWithSphericalIndentGeometry self) -> std::string"""
2744 return _IMP_npc.SlabWithSphericalIndentGeometry___str__(self)
2747 r"""__repr__(SlabWithSphericalIndentGeometry self) -> std::string"""
2748 return _IMP_npc.SlabWithSphericalIndentGeometry___repr__(self)
2752 return _object_cast_to_SlabWithSphericalIndentGeometry(o)
2756 _IMP_npc.SlabWithSphericalIndentGeometry_swigregister(SlabWithSphericalIndentGeometry)
2758 r"""Proxy of C++ IMP::npc::SphericalIndentSurfaceDepthPairScore class."""
2760 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2762 def __init__(self, k):
2763 r"""__init__(SphericalIndentSurfaceDepthPairScore self, double k) -> SphericalIndentSurfaceDepthPairScore"""
2764 _IMP_npc.SphericalIndentSurfaceDepthPairScore_swiginit(self, _IMP_npc.new_SphericalIndentSurfaceDepthPairScore(k))
2766 def do_get_inputs(self, m, pis):
2767 r"""do_get_inputs(SphericalIndentSurfaceDepthPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
2768 return _IMP_npc.SphericalIndentSurfaceDepthPairScore_do_get_inputs(self, m, pis)
2770 def evaluate_indexes(self, m, p, da, lower_bound, upper_bound, all_indexes_checked=False):
2771 r"""evaluate_indexes(SphericalIndentSurfaceDepthPairScore self, Model m, IMP::ParticleIndexPairs const & p, DerivativeAccumulator da, unsigned int lower_bound, unsigned int upper_bound, bool all_indexes_checked=False) -> double"""
2772 return _IMP_npc.SphericalIndentSurfaceDepthPairScore_evaluate_indexes(self, m, p, da, lower_bound, upper_bound, all_indexes_checked)
2774 def evaluate_indexes_scores(self, m, p, da, lower_bound, upper_bound, score, all_indexes_checked=False):
2775 r"""evaluate_indexes_scores(SphericalIndentSurfaceDepthPairScore self, Model m, IMP::ParticleIndexPairs const & p, DerivativeAccumulator da, unsigned int lower_bound, unsigned int upper_bound, std::vector< double,std::allocator< double > > & score, bool all_indexes_checked=False) -> double"""
2776 return _IMP_npc.SphericalIndentSurfaceDepthPairScore_evaluate_indexes_scores(self, m, p, da, lower_bound, upper_bound, score, all_indexes_checked)
2778 def evaluate_indexes_delta(self, m, p, da, indexes, score, all_indexes_checked=False):
2779 r"""evaluate_indexes_delta(SphericalIndentSurfaceDepthPairScore self, Model m, IMP::ParticleIndexPairs const & p, DerivativeAccumulator da, std::vector< unsigned int,std::allocator< unsigned int > > const & indexes, std::vector< double,std::allocator< double > > & score, bool all_indexes_checked=False) -> double"""
2780 return _IMP_npc.SphericalIndentSurfaceDepthPairScore_evaluate_indexes_delta(self, m, p, da, indexes, score, all_indexes_checked)
2782 def evaluate_if_good_indexes(self, m, p, da, max, lower_bound, upper_bound, all_indexes_checked=False):
2783 r"""evaluate_if_good_indexes(SphericalIndentSurfaceDepthPairScore self, Model m, IMP::ParticleIndexPairs const & p, DerivativeAccumulator da, double max, unsigned int lower_bound, unsigned int upper_bound, bool all_indexes_checked=False) -> double"""
2784 return _IMP_npc.SphericalIndentSurfaceDepthPairScore_evaluate_if_good_indexes(self, m, p, da, max, lower_bound, upper_bound, all_indexes_checked)
2786 def get_version_info(self):
2787 r"""get_version_info(SphericalIndentSurfaceDepthPairScore self) -> VersionInfo"""
2788 return _IMP_npc.SphericalIndentSurfaceDepthPairScore_get_version_info(self)
2789 __swig_destroy__ = _IMP_npc.delete_SphericalIndentSurfaceDepthPairScore
2792 r"""__str__(SphericalIndentSurfaceDepthPairScore self) -> std::string"""
2793 return _IMP_npc.SphericalIndentSurfaceDepthPairScore___str__(self)
2796 r"""__repr__(SphericalIndentSurfaceDepthPairScore self) -> std::string"""
2797 return _IMP_npc.SphericalIndentSurfaceDepthPairScore___repr__(self)
2801 return _object_cast_to_SphericalIndentSurfaceDepthPairScore(o)
2805 _IMP_npc.SphericalIndentSurfaceDepthPairScore_swigregister(SphericalIndentSurfaceDepthPairScore)
2807 r"""Proxy of C++ IMP::npc::SlabWithToroidalPoreMBMScore class."""
2809 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2811 def __init__(self, x0_upper, x0_lower, k):
2812 r"""__init__(SlabWithToroidalPoreMBMScore self, double x0_upper, double x0_lower, double k) -> SlabWithToroidalPoreMBMScore"""
2813 _IMP_npc.SlabWithToroidalPoreMBMScore_swiginit(self, _IMP_npc.new_SlabWithToroidalPoreMBMScore(x0_upper, x0_lower, k))
2815 def do_get_inputs(self, m, pis):
2816 r"""do_get_inputs(SlabWithToroidalPoreMBMScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
2817 return _IMP_npc.SlabWithToroidalPoreMBMScore_do_get_inputs(self, m, pis)
2819 def evaluate_indexes(self, m, p, da, lower_bound, upper_bound, all_indexes_checked=False):
2820 r"""evaluate_indexes(SlabWithToroidalPoreMBMScore self, Model m, IMP::ParticleIndexPairs const & p, DerivativeAccumulator da, unsigned int lower_bound, unsigned int upper_bound, bool all_indexes_checked=False) -> double"""
2821 return _IMP_npc.SlabWithToroidalPoreMBMScore_evaluate_indexes(self, m, p, da, lower_bound, upper_bound, all_indexes_checked)
2823 def evaluate_indexes_scores(self, m, p, da, lower_bound, upper_bound, score, all_indexes_checked=False):
2824 r"""evaluate_indexes_scores(SlabWithToroidalPoreMBMScore self, Model m, IMP::ParticleIndexPairs const & p, DerivativeAccumulator da, unsigned int lower_bound, unsigned int upper_bound, std::vector< double,std::allocator< double > > & score, bool all_indexes_checked=False) -> double"""
2825 return _IMP_npc.SlabWithToroidalPoreMBMScore_evaluate_indexes_scores(self, m, p, da, lower_bound, upper_bound, score, all_indexes_checked)
2827 def evaluate_indexes_delta(self, m, p, da, indexes, score, all_indexes_checked=False):
2828 r"""evaluate_indexes_delta(SlabWithToroidalPoreMBMScore self, Model m, IMP::ParticleIndexPairs const & p, DerivativeAccumulator da, std::vector< unsigned int,std::allocator< unsigned int > > const & indexes, std::vector< double,std::allocator< double > > & score, bool all_indexes_checked=False) -> double"""
2829 return _IMP_npc.SlabWithToroidalPoreMBMScore_evaluate_indexes_delta(self, m, p, da, indexes, score, all_indexes_checked)
2831 def evaluate_if_good_indexes(self, m, p, da, max, lower_bound, upper_bound, all_indexes_checked=False):
2832 r"""evaluate_if_good_indexes(SlabWithToroidalPoreMBMScore self, Model m, IMP::ParticleIndexPairs const & p, DerivativeAccumulator da, double max, unsigned int lower_bound, unsigned int upper_bound, bool all_indexes_checked=False) -> double"""
2833 return _IMP_npc.SlabWithToroidalPoreMBMScore_evaluate_if_good_indexes(self, m, p, da, max, lower_bound, upper_bound, all_indexes_checked)
2835 def get_version_info(self):
2836 r"""get_version_info(SlabWithToroidalPoreMBMScore self) -> VersionInfo"""
2837 return _IMP_npc.SlabWithToroidalPoreMBMScore_get_version_info(self)
2838 __swig_destroy__ = _IMP_npc.delete_SlabWithToroidalPoreMBMScore
2841 r"""__str__(SlabWithToroidalPoreMBMScore self) -> std::string"""
2842 return _IMP_npc.SlabWithToroidalPoreMBMScore___str__(self)
2845 r"""__repr__(SlabWithToroidalPoreMBMScore self) -> std::string"""
2846 return _IMP_npc.SlabWithToroidalPoreMBMScore___repr__(self)
2850 return _object_cast_to_SlabWithToroidalPoreMBMScore(o)
2854 _IMP_npc.SlabWithToroidalPoreMBMScore_swigregister(SlabWithToroidalPoreMBMScore)
2856 r"""Proxy of C++ IMP::npc::SlabWithToroidalPoreGoPairScore class."""
2858 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2860 def __init__(self, x0, k):
2861 r"""__init__(SlabWithToroidalPoreGoPairScore self, double x0, double k) -> SlabWithToroidalPoreGoPairScore"""
2862 _IMP_npc.SlabWithToroidalPoreGoPairScore_swiginit(self, _IMP_npc.new_SlabWithToroidalPoreGoPairScore(x0, k))
2864 def do_get_inputs(self, m, pis):
2865 r"""do_get_inputs(SlabWithToroidalPoreGoPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
2866 return _IMP_npc.SlabWithToroidalPoreGoPairScore_do_get_inputs(self, m, pis)
2868 def evaluate_indexes(self, m, p, da, lower_bound, upper_bound, all_indexes_checked=False):
2869 r"""evaluate_indexes(SlabWithToroidalPoreGoPairScore self, Model m, IMP::ParticleIndexPairs const & p, DerivativeAccumulator da, unsigned int lower_bound, unsigned int upper_bound, bool all_indexes_checked=False) -> double"""
2870 return _IMP_npc.SlabWithToroidalPoreGoPairScore_evaluate_indexes(self, m, p, da, lower_bound, upper_bound, all_indexes_checked)
2872 def evaluate_indexes_scores(self, m, p, da, lower_bound, upper_bound, score, all_indexes_checked=False):
2873 r"""evaluate_indexes_scores(SlabWithToroidalPoreGoPairScore self, Model m, IMP::ParticleIndexPairs const & p, DerivativeAccumulator da, unsigned int lower_bound, unsigned int upper_bound, std::vector< double,std::allocator< double > > & score, bool all_indexes_checked=False) -> double"""
2874 return _IMP_npc.SlabWithToroidalPoreGoPairScore_evaluate_indexes_scores(self, m, p, da, lower_bound, upper_bound, score, all_indexes_checked)
2876 def evaluate_indexes_delta(self, m, p, da, indexes, score, all_indexes_checked=False):
2877 r"""evaluate_indexes_delta(SlabWithToroidalPoreGoPairScore self, Model m, IMP::ParticleIndexPairs const & p, DerivativeAccumulator da, std::vector< unsigned int,std::allocator< unsigned int > > const & indexes, std::vector< double,std::allocator< double > > & score, bool all_indexes_checked=False) -> double"""
2878 return _IMP_npc.SlabWithToroidalPoreGoPairScore_evaluate_indexes_delta(self, m, p, da, indexes, score, all_indexes_checked)
2880 def evaluate_if_good_indexes(self, m, p, da, max, lower_bound, upper_bound, all_indexes_checked=False):
2881 r"""evaluate_if_good_indexes(SlabWithToroidalPoreGoPairScore self, Model m, IMP::ParticleIndexPairs const & p, DerivativeAccumulator da, double max, unsigned int lower_bound, unsigned int upper_bound, bool all_indexes_checked=False) -> double"""
2882 return _IMP_npc.SlabWithToroidalPoreGoPairScore_evaluate_if_good_indexes(self, m, p, da, max, lower_bound, upper_bound, all_indexes_checked)
2884 def get_version_info(self):
2885 r"""get_version_info(SlabWithToroidalPoreGoPairScore self) -> VersionInfo"""
2886 return _IMP_npc.SlabWithToroidalPoreGoPairScore_get_version_info(self)
2887 __swig_destroy__ = _IMP_npc.delete_SlabWithToroidalPoreGoPairScore
2890 r"""__str__(SlabWithToroidalPoreGoPairScore self) -> std::string"""
2891 return _IMP_npc.SlabWithToroidalPoreGoPairScore___str__(self)
2894 r"""__repr__(SlabWithToroidalPoreGoPairScore self) -> std::string"""
2895 return _IMP_npc.SlabWithToroidalPoreGoPairScore___repr__(self)
2899 return _object_cast_to_SlabWithToroidalPoreGoPairScore(o)
2903 _IMP_npc.SlabWithToroidalPoreGoPairScore_swigregister(SlabWithToroidalPoreGoPairScore)
2905 r"""Proxy of C++ IMP::npc::ToroidalPoreSurfaceDepthPairScore class."""
2907 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2909 def __init__(self, k):
2910 r"""__init__(ToroidalPoreSurfaceDepthPairScore self, double k) -> ToroidalPoreSurfaceDepthPairScore"""
2911 _IMP_npc.ToroidalPoreSurfaceDepthPairScore_swiginit(self, _IMP_npc.new_ToroidalPoreSurfaceDepthPairScore(k))
2913 def do_get_inputs(self, m, pis):
2914 r"""do_get_inputs(ToroidalPoreSurfaceDepthPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
2915 return _IMP_npc.ToroidalPoreSurfaceDepthPairScore_do_get_inputs(self, m, pis)
2917 def evaluate_indexes(self, m, p, da, lower_bound, upper_bound, all_indexes_checked=False):
2918 r"""evaluate_indexes(ToroidalPoreSurfaceDepthPairScore self, Model m, IMP::ParticleIndexPairs const & p, DerivativeAccumulator da, unsigned int lower_bound, unsigned int upper_bound, bool all_indexes_checked=False) -> double"""
2919 return _IMP_npc.ToroidalPoreSurfaceDepthPairScore_evaluate_indexes(self, m, p, da, lower_bound, upper_bound, all_indexes_checked)
2921 def evaluate_indexes_scores(self, m, p, da, lower_bound, upper_bound, score, all_indexes_checked=False):
2922 r"""evaluate_indexes_scores(ToroidalPoreSurfaceDepthPairScore self, Model m, IMP::ParticleIndexPairs const & p, DerivativeAccumulator da, unsigned int lower_bound, unsigned int upper_bound, std::vector< double,std::allocator< double > > & score, bool all_indexes_checked=False) -> double"""
2923 return _IMP_npc.ToroidalPoreSurfaceDepthPairScore_evaluate_indexes_scores(self, m, p, da, lower_bound, upper_bound, score, all_indexes_checked)
2925 def evaluate_indexes_delta(self, m, p, da, indexes, score, all_indexes_checked=False):
2926 r"""evaluate_indexes_delta(ToroidalPoreSurfaceDepthPairScore self, Model m, IMP::ParticleIndexPairs const & p, DerivativeAccumulator da, std::vector< unsigned int,std::allocator< unsigned int > > const & indexes, std::vector< double,std::allocator< double > > & score, bool all_indexes_checked=False) -> double"""
2927 return _IMP_npc.ToroidalPoreSurfaceDepthPairScore_evaluate_indexes_delta(self, m, p, da, indexes, score, all_indexes_checked)
2929 def evaluate_if_good_indexes(self, m, p, da, max, lower_bound, upper_bound, all_indexes_checked=False):
2930 r"""evaluate_if_good_indexes(ToroidalPoreSurfaceDepthPairScore self, Model m, IMP::ParticleIndexPairs const & p, DerivativeAccumulator da, double max, unsigned int lower_bound, unsigned int upper_bound, bool all_indexes_checked=False) -> double"""
2931 return _IMP_npc.ToroidalPoreSurfaceDepthPairScore_evaluate_if_good_indexes(self, m, p, da, max, lower_bound, upper_bound, all_indexes_checked)
2933 def get_version_info(self):
2934 r"""get_version_info(ToroidalPoreSurfaceDepthPairScore self) -> VersionInfo"""
2935 return _IMP_npc.ToroidalPoreSurfaceDepthPairScore_get_version_info(self)
2936 __swig_destroy__ = _IMP_npc.delete_ToroidalPoreSurfaceDepthPairScore
2939 r"""__str__(ToroidalPoreSurfaceDepthPairScore self) -> std::string"""
2940 return _IMP_npc.ToroidalPoreSurfaceDepthPairScore___str__(self)
2943 r"""__repr__(ToroidalPoreSurfaceDepthPairScore self) -> std::string"""
2944 return _IMP_npc.ToroidalPoreSurfaceDepthPairScore___repr__(self)
2948 return _object_cast_to_ToroidalPoreSurfaceDepthPairScore(o)
2952 _IMP_npc.ToroidalPoreSurfaceDepthPairScore_swigregister(ToroidalPoreSurfaceDepthPairScore)
2954 r"""Proxy of C++ IMP::npc::SlabWithPore class."""
2956 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2958 def __init__(self, *args):
2960 __init__(SlabWithPore self) -> SlabWithPore
2961 __init__(SlabWithPore self, Model m, ParticleIndex id) -> SlabWithPore
2962 __init__(SlabWithPore self, _ParticleAdaptor d) -> SlabWithPore
2964 _IMP_npc.SlabWithPore_swiginit(self, _IMP_npc.new_SlabWithPore(*args))
2966 def show(self, *args):
2967 r"""show(SlabWithPore self, _ostream out=std::cout)"""
2968 return _IMP_npc.SlabWithPore_show(self, *args)
2971 def setup_particle(*args):
2973 setup_particle(Model m, ParticleIndex pi, double thickness, double pore_radius) -> SlabWithPore
2974 setup_particle(_ParticleAdaptor pa, double thickness, double pore_radius) -> SlabWithPore
2976 return _IMP_npc.SlabWithPore_setup_particle(*args)
2979 def get_is_setup(*args):
2981 get_is_setup(_ParticleAdaptor p) -> bool
2982 get_is_setup(Model m, ParticleIndex pi) -> bool
2984 return _IMP_npc.SlabWithPore_get_is_setup(*args)
2986 def set_thickness(self, thickness):
2987 r"""set_thickness(SlabWithPore self, double thickness)"""
2988 return _IMP_npc.SlabWithPore_set_thickness(self, thickness)
2990 def get_thickness(self):
2991 r"""get_thickness(SlabWithPore self) -> IMP::Float"""
2992 return _IMP_npc.SlabWithPore_get_thickness(self)
2994 def get_pore_radius(self):
2995 r"""get_pore_radius(SlabWithPore self) -> IMP::Float"""
2996 return _IMP_npc.SlabWithPore_get_pore_radius(self)
2998 def set_pore_radius(self, r):
2999 r"""set_pore_radius(SlabWithPore self, double r)"""
3000 return _IMP_npc.SlabWithPore_set_pore_radius(self, r)
3002 def add_to_pore_radius_derivative(self, v, d):
3003 r"""add_to_pore_radius_derivative(SlabWithPore self, double v, DerivativeAccumulator d)"""
3004 return _IMP_npc.SlabWithPore_add_to_pore_radius_derivative(self, v, d)
3006 def get_pore_radius_is_optimized(self):
3007 r"""get_pore_radius_is_optimized(SlabWithPore self) -> bool"""
3008 return _IMP_npc.SlabWithPore_get_pore_radius_is_optimized(self)
3010 def set_pore_radius_is_optimized(self, tf):
3011 r"""set_pore_radius_is_optimized(SlabWithPore self, bool tf)"""
3012 return _IMP_npc.SlabWithPore_set_pore_radius_is_optimized(self, tf)
3015 def get_thickness_key():
3016 r"""get_thickness_key() -> FloatKey"""
3017 return _IMP_npc.SlabWithPore_get_thickness_key()
3020 def get_pore_radius_key():
3021 r"""get_pore_radius_key() -> FloatKey"""
3022 return _IMP_npc.SlabWithPore_get_pore_radius_key()
3024 def add_attribute(self, *args):
3026 add_attribute(SlabWithPore self, FloatKey k, IMP::Float v, bool opt)
3027 add_attribute(SlabWithPore self, FloatKey a0, IMP::Float a1)
3028 add_attribute(SlabWithPore self, IntKey a0, IMP::Int a1)
3029 add_attribute(SlabWithPore self, FloatsKey a0, IMP::Floats a1)
3030 add_attribute(SlabWithPore self, IntsKey a0, IMP::Ints a1)
3031 add_attribute(SlabWithPore self, StringKey a0, IMP::String a1)
3032 add_attribute(SlabWithPore self, ParticleIndexKey a0, Particle a1)
3033 add_attribute(SlabWithPore self, ObjectKey a0, Object a1)
3034 add_attribute(SlabWithPore self, SparseFloatKey a0, IMP::Float a1)
3035 add_attribute(SlabWithPore self, SparseIntKey a0, IMP::Int a1)
3036 add_attribute(SlabWithPore self, SparseStringKey a0, IMP::String a1)
3037 add_attribute(SlabWithPore self, SparseParticleIndexKey a0, ParticleIndex a1)
3039 return _IMP_npc.SlabWithPore_add_attribute(self, *args)
3041 def get_value(self, *args):
3043 get_value(SlabWithPore self, FloatKey a0) -> IMP::Float
3044 get_value(SlabWithPore self, IntKey a0) -> IMP::Int
3045 get_value(SlabWithPore self, FloatsKey a0) -> IMP::Floats
3046 get_value(SlabWithPore self, IntsKey a0) -> IMP::Ints
3047 get_value(SlabWithPore self, StringKey a0) -> IMP::String
3048 get_value(SlabWithPore self, ParticleIndexKey a0) -> Particle
3049 get_value(SlabWithPore self, ObjectKey a0) -> Object
3050 get_value(SlabWithPore self, SparseFloatKey a0) -> IMP::Float
3051 get_value(SlabWithPore self, SparseIntKey a0) -> IMP::Int
3052 get_value(SlabWithPore self, SparseStringKey a0) -> IMP::String
3053 get_value(SlabWithPore self, SparseParticleIndexKey a0) -> ParticleIndex
3055 return _IMP_npc.SlabWithPore_get_value(self, *args)
3057 def set_value(self, *args):
3059 set_value(SlabWithPore self, FloatKey a0, IMP::Float a1)
3060 set_value(SlabWithPore self, IntKey a0, IMP::Int a1)
3061 set_value(SlabWithPore self, FloatsKey a0, IMP::Floats a1)
3062 set_value(SlabWithPore self, IntsKey a0, IMP::Ints a1)
3063 set_value(SlabWithPore self, StringKey a0, IMP::String a1)
3064 set_value(SlabWithPore self, ParticleIndexKey a0, Particle a1)
3065 set_value(SlabWithPore self, ObjectKey a0, Object a1)
3066 set_value(SlabWithPore self, SparseFloatKey a0, IMP::Float a1)
3067 set_value(SlabWithPore self, SparseIntKey a0, IMP::Int a1)
3068 set_value(SlabWithPore self, SparseStringKey a0, IMP::String a1)
3069 set_value(SlabWithPore self, SparseParticleIndexKey a0, ParticleIndex a1)
3071 return _IMP_npc.SlabWithPore_set_value(self, *args)
3073 def remove_attribute(self, *args):
3075 remove_attribute(SlabWithPore self, FloatKey a0)
3076 remove_attribute(SlabWithPore self, IntKey a0)
3077 remove_attribute(SlabWithPore self, FloatsKey a0)
3078 remove_attribute(SlabWithPore self, IntsKey a0)
3079 remove_attribute(SlabWithPore self, StringKey a0)
3080 remove_attribute(SlabWithPore self, ParticleIndexKey a0)
3081 remove_attribute(SlabWithPore self, ObjectKey a0)
3082 remove_attribute(SlabWithPore self, SparseFloatKey a0)
3083 remove_attribute(SlabWithPore self, SparseIntKey a0)
3084 remove_attribute(SlabWithPore self, SparseStringKey a0)
3085 remove_attribute(SlabWithPore self, SparseParticleIndexKey a0)
3087 return _IMP_npc.SlabWithPore_remove_attribute(self, *args)
3089 def has_attribute(self, *args):
3091 has_attribute(SlabWithPore self, FloatKey a0) -> bool
3092 has_attribute(SlabWithPore self, IntKey a0) -> bool
3093 has_attribute(SlabWithPore self, FloatsKey a0) -> bool
3094 has_attribute(SlabWithPore self, IntsKey a0) -> bool
3095 has_attribute(SlabWithPore self, StringKey a0) -> bool
3096 has_attribute(SlabWithPore self, ParticleIndexKey a0) -> bool
3097 has_attribute(SlabWithPore self, ObjectKey a0) -> bool
3098 has_attribute(SlabWithPore self, SparseFloatKey a0) -> bool
3099 has_attribute(SlabWithPore self, SparseIntKey a0) -> bool
3100 has_attribute(SlabWithPore self, SparseStringKey a0) -> bool
3101 has_attribute(SlabWithPore self, SparseParticleIndexKey a0) -> bool
3103 return _IMP_npc.SlabWithPore_has_attribute(self, *args)
3105 def get_derivative(self, a0):
3106 r"""get_derivative(SlabWithPore self, FloatKey a0) -> double"""
3107 return _IMP_npc.SlabWithPore_get_derivative(self, a0)
3110 r"""get_name(SlabWithPore self) -> std::string"""
3111 return _IMP_npc.SlabWithPore_get_name(self)
3113 def clear_caches(self):
3114 r"""clear_caches(SlabWithPore self)"""
3115 return _IMP_npc.SlabWithPore_clear_caches(self)
3117 def set_name(self, a0):
3118 r"""set_name(SlabWithPore self, std::string a0)"""
3119 return _IMP_npc.SlabWithPore_set_name(self, a0)
3122 r"""set_check_level(SlabWithPore self, IMP::CheckLevel a0)"""
3123 return _IMP_npc.SlabWithPore_set_check_level(self, a0)
3125 def add_to_derivative(self, a0, a1, a2):
3126 r"""add_to_derivative(SlabWithPore self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
3127 return _IMP_npc.SlabWithPore_add_to_derivative(self, a0, a1, a2)
3129 def set_is_optimized(self, a0, a1):
3130 r"""set_is_optimized(SlabWithPore self, FloatKey a0, bool a1)"""
3131 return _IMP_npc.SlabWithPore_set_is_optimized(self, a0, a1)
3133 def get_is_optimized(self, a0):
3134 r"""get_is_optimized(SlabWithPore self, FloatKey a0) -> bool"""
3135 return _IMP_npc.SlabWithPore_get_is_optimized(self, a0)
3138 r"""get_check_level(SlabWithPore self) -> IMP::CheckLevel"""
3139 return _IMP_npc.SlabWithPore_get_check_level(self)
3141 def __eq__(self, *args):
3143 __eq__(SlabWithPore self, SlabWithPore o) -> bool
3144 __eq__(SlabWithPore self, Particle d) -> bool
3146 return _IMP_npc.SlabWithPore___eq__(self, *args)
3148 def __ne__(self, *args):
3150 __ne__(SlabWithPore self, SlabWithPore o) -> bool
3151 __ne__(SlabWithPore self, Particle d) -> bool
3153 return _IMP_npc.SlabWithPore___ne__(self, *args)
3155 def __le__(self, *args):
3157 __le__(SlabWithPore self, SlabWithPore o) -> bool
3158 __le__(SlabWithPore self, Particle d) -> bool
3160 return _IMP_npc.SlabWithPore___le__(self, *args)
3162 def __lt__(self, *args):
3164 __lt__(SlabWithPore self, SlabWithPore o) -> bool
3165 __lt__(SlabWithPore self, Particle d) -> bool
3167 return _IMP_npc.SlabWithPore___lt__(self, *args)
3169 def __ge__(self, *args):
3171 __ge__(SlabWithPore self, SlabWithPore o) -> bool
3172 __ge__(SlabWithPore self, Particle d) -> bool
3174 return _IMP_npc.SlabWithPore___ge__(self, *args)
3176 def __gt__(self, *args):
3178 __gt__(SlabWithPore self, SlabWithPore o) -> bool
3179 __gt__(SlabWithPore self, Particle d) -> bool
3181 return _IMP_npc.SlabWithPore___gt__(self, *args)
3184 r"""__hash__(SlabWithPore self) -> std::size_t"""
3185 return _IMP_npc.SlabWithPore___hash__(self)
3188 r"""__str__(SlabWithPore self) -> std::string"""
3189 return _IMP_npc.SlabWithPore___str__(self)
3192 r"""__repr__(SlabWithPore self) -> std::string"""
3193 return _IMP_npc.SlabWithPore___repr__(self)
3195 def _get_as_binary(self):
3196 r"""_get_as_binary(SlabWithPore self) -> PyObject *"""
3197 return _IMP_npc.SlabWithPore__get_as_binary(self)
3199 def _set_from_binary(self, p):
3200 r"""_set_from_binary(SlabWithPore self, PyObject * p)"""
3201 return _IMP_npc.SlabWithPore__set_from_binary(self, p)
3203 def __getstate__(self):
3204 p = self._get_as_binary()
3205 if len(self.__dict__) > 1:
3206 d = self.__dict__.copy()
3211 def __setstate__(self, p):
3212 if not hasattr(self,
'this'):
3214 if isinstance(p, tuple):
3216 self.__dict__.update(d)
3217 return self._set_from_binary(p)
3219 __swig_destroy__ = _IMP_npc.delete_SlabWithPore
3222 _IMP_npc.SlabWithPore_swigregister(SlabWithPore)
3223 class SlabWithToroidalPore(SlabWithPore):
3224 r"""Proxy of C++ IMP::npc::SlabWithToroidalPore class."""
3226 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3228 def __init__(self, *args):
3230 __init__(SlabWithToroidalPore self) -> SlabWithToroidalPore
3231 __init__(SlabWithToroidalPore self, Model m, ParticleIndex id) -> SlabWithToroidalPore
3232 __init__(SlabWithToroidalPore self, _ParticleAdaptor d) -> SlabWithToroidalPore
3234 _IMP_npc.SlabWithToroidalPore_swiginit(self, _IMP_npc.new_SlabWithToroidalPore(*args))
3236 def show(self, *args):
3237 r"""show(SlabWithToroidalPore self, _ostream out=std::cout)"""
3238 return _IMP_npc.SlabWithToroidalPore_show(self, *args)
3241 def setup_particle(*args):
3243 setup_particle(Model m, ParticleIndex pi, double thickness, double major_radius) -> SlabWithToroidalPore
3244 setup_particle(_ParticleAdaptor pa, double thickness, double major_radius) -> SlabWithToroidalPore
3245 setup_particle(Model m, ParticleIndex pi, double thickness, double major_radius, double minor_radius_h2v_aspect_ratio) -> SlabWithToroidalPore
3246 setup_particle(_ParticleAdaptor pa, double thickness, double major_radius, double minor_radius_h2v_aspect_ratio) -> SlabWithToroidalPore
3248 return _IMP_npc.SlabWithToroidalPore_setup_particle(*args)
3251 def get_is_setup(*args):
3253 get_is_setup(_ParticleAdaptor p) -> bool
3254 get_is_setup(Model m, ParticleIndex pi) -> bool
3256 return _IMP_npc.SlabWithToroidalPore_get_is_setup(*args)
3258 def set_minor_radius_h2v_aspect_ratio(self, aspect_ratio):
3259 r"""set_minor_radius_h2v_aspect_ratio(SlabWithToroidalPore self, double aspect_ratio)"""
3260 return _IMP_npc.SlabWithToroidalPore_set_minor_radius_h2v_aspect_ratio(self, aspect_ratio)
3262 def get_minor_radius_h2v_aspect_ratio(self):
3263 r"""get_minor_radius_h2v_aspect_ratio(SlabWithToroidalPore self) -> double"""
3264 return _IMP_npc.SlabWithToroidalPore_get_minor_radius_h2v_aspect_ratio(self)
3266 def get_vertical_minor_radius(self):
3267 r"""get_vertical_minor_radius(SlabWithToroidalPore self) -> double"""
3268 return _IMP_npc.SlabWithToroidalPore_get_vertical_minor_radius(self)
3270 def set_vertical_minor_radius(self, rv):
3271 r"""set_vertical_minor_radius(SlabWithToroidalPore self, double rv)"""
3272 return _IMP_npc.SlabWithToroidalPore_set_vertical_minor_radius(self, rv)
3274 def get_horizontal_minor_radius(self):
3275 r"""get_horizontal_minor_radius(SlabWithToroidalPore self) -> double"""
3276 return _IMP_npc.SlabWithToroidalPore_get_horizontal_minor_radius(self)
3278 def set_horizontal_minor_radius(self, rh):
3279 r"""set_horizontal_minor_radius(SlabWithToroidalPore self, double rh)"""
3280 return _IMP_npc.SlabWithToroidalPore_set_horizontal_minor_radius(self, rh)
3283 def get_minor_radius_h2v_aspect_ratio_key():
3284 r"""get_minor_radius_h2v_aspect_ratio_key() -> FloatKey"""
3285 return _IMP_npc.SlabWithToroidalPore_get_minor_radius_h2v_aspect_ratio_key()
3288 def get_toroidal_pore_key():
3289 r"""get_toroidal_pore_key() -> IntKey"""
3290 return _IMP_npc.SlabWithToroidalPore_get_toroidal_pore_key()
3292 def add_attribute(self, *args):
3294 add_attribute(SlabWithToroidalPore self, FloatKey k, IMP::Float v, bool opt)
3295 add_attribute(SlabWithToroidalPore self, FloatKey a0, IMP::Float a1)
3296 add_attribute(SlabWithToroidalPore self, IntKey a0, IMP::Int a1)
3297 add_attribute(SlabWithToroidalPore self, FloatsKey a0, IMP::Floats a1)
3298 add_attribute(SlabWithToroidalPore self, IntsKey a0, IMP::Ints a1)
3299 add_attribute(SlabWithToroidalPore self, StringKey a0, IMP::String a1)
3300 add_attribute(SlabWithToroidalPore self, ParticleIndexKey a0, Particle a1)
3301 add_attribute(SlabWithToroidalPore self, ObjectKey a0, Object a1)
3302 add_attribute(SlabWithToroidalPore self, SparseFloatKey a0, IMP::Float a1)
3303 add_attribute(SlabWithToroidalPore self, SparseIntKey a0, IMP::Int a1)
3304 add_attribute(SlabWithToroidalPore self, SparseStringKey a0, IMP::String a1)
3305 add_attribute(SlabWithToroidalPore self, SparseParticleIndexKey a0, ParticleIndex a1)
3307 return _IMP_npc.SlabWithToroidalPore_add_attribute(self, *args)
3309 def get_value(self, *args):
3311 get_value(SlabWithToroidalPore self, FloatKey a0) -> IMP::Float
3312 get_value(SlabWithToroidalPore self, IntKey a0) -> IMP::Int
3313 get_value(SlabWithToroidalPore self, FloatsKey a0) -> IMP::Floats
3314 get_value(SlabWithToroidalPore self, IntsKey a0) -> IMP::Ints
3315 get_value(SlabWithToroidalPore self, StringKey a0) -> IMP::String
3316 get_value(SlabWithToroidalPore self, ParticleIndexKey a0) -> Particle
3317 get_value(SlabWithToroidalPore self, ObjectKey a0) -> Object
3318 get_value(SlabWithToroidalPore self, SparseFloatKey a0) -> IMP::Float
3319 get_value(SlabWithToroidalPore self, SparseIntKey a0) -> IMP::Int
3320 get_value(SlabWithToroidalPore self, SparseStringKey a0) -> IMP::String
3321 get_value(SlabWithToroidalPore self, SparseParticleIndexKey a0) -> ParticleIndex
3323 return _IMP_npc.SlabWithToroidalPore_get_value(self, *args)
3325 def set_value(self, *args):
3327 set_value(SlabWithToroidalPore self, FloatKey a0, IMP::Float a1)
3328 set_value(SlabWithToroidalPore self, IntKey a0, IMP::Int a1)
3329 set_value(SlabWithToroidalPore self, FloatsKey a0, IMP::Floats a1)
3330 set_value(SlabWithToroidalPore self, IntsKey a0, IMP::Ints a1)
3331 set_value(SlabWithToroidalPore self, StringKey a0, IMP::String a1)
3332 set_value(SlabWithToroidalPore self, ParticleIndexKey a0, Particle a1)
3333 set_value(SlabWithToroidalPore self, ObjectKey a0, Object a1)
3334 set_value(SlabWithToroidalPore self, SparseFloatKey a0, IMP::Float a1)
3335 set_value(SlabWithToroidalPore self, SparseIntKey a0, IMP::Int a1)
3336 set_value(SlabWithToroidalPore self, SparseStringKey a0, IMP::String a1)
3337 set_value(SlabWithToroidalPore self, SparseParticleIndexKey a0, ParticleIndex a1)
3339 return _IMP_npc.SlabWithToroidalPore_set_value(self, *args)
3341 def remove_attribute(self, *args):
3343 remove_attribute(SlabWithToroidalPore self, FloatKey a0)
3344 remove_attribute(SlabWithToroidalPore self, IntKey a0)
3345 remove_attribute(SlabWithToroidalPore self, FloatsKey a0)
3346 remove_attribute(SlabWithToroidalPore self, IntsKey a0)
3347 remove_attribute(SlabWithToroidalPore self, StringKey a0)
3348 remove_attribute(SlabWithToroidalPore self, ParticleIndexKey a0)
3349 remove_attribute(SlabWithToroidalPore self, ObjectKey a0)
3350 remove_attribute(SlabWithToroidalPore self, SparseFloatKey a0)
3351 remove_attribute(SlabWithToroidalPore self, SparseIntKey a0)
3352 remove_attribute(SlabWithToroidalPore self, SparseStringKey a0)
3353 remove_attribute(SlabWithToroidalPore self, SparseParticleIndexKey a0)
3355 return _IMP_npc.SlabWithToroidalPore_remove_attribute(self, *args)
3357 def has_attribute(self, *args):
3359 has_attribute(SlabWithToroidalPore self, FloatKey a0) -> bool
3360 has_attribute(SlabWithToroidalPore self, IntKey a0) -> bool
3361 has_attribute(SlabWithToroidalPore self, FloatsKey a0) -> bool
3362 has_attribute(SlabWithToroidalPore self, IntsKey a0) -> bool
3363 has_attribute(SlabWithToroidalPore self, StringKey a0) -> bool
3364 has_attribute(SlabWithToroidalPore self, ParticleIndexKey a0) -> bool
3365 has_attribute(SlabWithToroidalPore self, ObjectKey a0) -> bool
3366 has_attribute(SlabWithToroidalPore self, SparseFloatKey a0) -> bool
3367 has_attribute(SlabWithToroidalPore self, SparseIntKey a0) -> bool
3368 has_attribute(SlabWithToroidalPore self, SparseStringKey a0) -> bool
3369 has_attribute(SlabWithToroidalPore self, SparseParticleIndexKey a0) -> bool
3371 return _IMP_npc.SlabWithToroidalPore_has_attribute(self, *args)
3373 def get_derivative(self, a0):
3374 r"""get_derivative(SlabWithToroidalPore self, FloatKey a0) -> double"""
3375 return _IMP_npc.SlabWithToroidalPore_get_derivative(self, a0)
3378 r"""get_name(SlabWithToroidalPore self) -> std::string"""
3379 return _IMP_npc.SlabWithToroidalPore_get_name(self)
3381 def clear_caches(self):
3382 r"""clear_caches(SlabWithToroidalPore self)"""
3383 return _IMP_npc.SlabWithToroidalPore_clear_caches(self)
3385 def set_name(self, a0):
3386 r"""set_name(SlabWithToroidalPore self, std::string a0)"""
3387 return _IMP_npc.SlabWithToroidalPore_set_name(self, a0)
3390 r"""set_check_level(SlabWithToroidalPore self, IMP::CheckLevel a0)"""
3391 return _IMP_npc.SlabWithToroidalPore_set_check_level(self, a0)
3393 def add_to_derivative(self, a0, a1, a2):
3394 r"""add_to_derivative(SlabWithToroidalPore self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
3395 return _IMP_npc.SlabWithToroidalPore_add_to_derivative(self, a0, a1, a2)
3397 def set_is_optimized(self, a0, a1):
3398 r"""set_is_optimized(SlabWithToroidalPore self, FloatKey a0, bool a1)"""
3399 return _IMP_npc.SlabWithToroidalPore_set_is_optimized(self, a0, a1)
3401 def get_is_optimized(self, a0):
3402 r"""get_is_optimized(SlabWithToroidalPore self, FloatKey a0) -> bool"""
3403 return _IMP_npc.SlabWithToroidalPore_get_is_optimized(self, a0)
3406 r"""get_check_level(SlabWithToroidalPore self) -> IMP::CheckLevel"""
3407 return _IMP_npc.SlabWithToroidalPore_get_check_level(self)
3409 def __eq__(self, *args):
3411 __eq__(SlabWithToroidalPore self, SlabWithToroidalPore o) -> bool
3412 __eq__(SlabWithToroidalPore self, Particle d) -> bool
3414 return _IMP_npc.SlabWithToroidalPore___eq__(self, *args)
3416 def __ne__(self, *args):
3418 __ne__(SlabWithToroidalPore self, SlabWithToroidalPore o) -> bool
3419 __ne__(SlabWithToroidalPore self, Particle d) -> bool
3421 return _IMP_npc.SlabWithToroidalPore___ne__(self, *args)
3423 def __le__(self, *args):
3425 __le__(SlabWithToroidalPore self, SlabWithToroidalPore o) -> bool
3426 __le__(SlabWithToroidalPore self, Particle d) -> bool
3428 return _IMP_npc.SlabWithToroidalPore___le__(self, *args)
3430 def __lt__(self, *args):
3432 __lt__(SlabWithToroidalPore self, SlabWithToroidalPore o) -> bool
3433 __lt__(SlabWithToroidalPore self, Particle d) -> bool
3435 return _IMP_npc.SlabWithToroidalPore___lt__(self, *args)
3437 def __ge__(self, *args):
3439 __ge__(SlabWithToroidalPore self, SlabWithToroidalPore o) -> bool
3440 __ge__(SlabWithToroidalPore self, Particle d) -> bool
3442 return _IMP_npc.SlabWithToroidalPore___ge__(self, *args)
3444 def __gt__(self, *args):
3446 __gt__(SlabWithToroidalPore self, SlabWithToroidalPore o) -> bool
3447 __gt__(SlabWithToroidalPore self, Particle d) -> bool
3449 return _IMP_npc.SlabWithToroidalPore___gt__(self, *args)
3452 r"""__hash__(SlabWithToroidalPore self) -> std::size_t"""
3453 return _IMP_npc.SlabWithToroidalPore___hash__(self)
3456 r"""__str__(SlabWithToroidalPore self) -> std::string"""
3457 return _IMP_npc.SlabWithToroidalPore___str__(self)
3460 r"""__repr__(SlabWithToroidalPore self) -> std::string"""
3461 return _IMP_npc.SlabWithToroidalPore___repr__(self)
3463 def _get_as_binary(self):
3464 r"""_get_as_binary(SlabWithToroidalPore self) -> PyObject *"""
3465 return _IMP_npc.SlabWithToroidalPore__get_as_binary(self)
3467 def _set_from_binary(self, p):
3468 r"""_set_from_binary(SlabWithToroidalPore self, PyObject * p)"""
3469 return _IMP_npc.SlabWithToroidalPore__set_from_binary(self, p)
3471 def __getstate__(self):
3472 p = self._get_as_binary()
3473 if len(self.__dict__) > 1:
3474 d = self.__dict__.copy()
3479 def __setstate__(self, p):
3480 if not hasattr(self,
'this'):
3482 if isinstance(p, tuple):
3484 self.__dict__.update(d)
3485 return self._set_from_binary(p)
3487 __swig_destroy__ = _IMP_npc.delete_SlabWithToroidalPore
3490 _IMP_npc.SlabWithToroidalPore_swigregister(SlabWithToroidalPore)
3492 def __lshift__(*args):
3494 __lshift__(_ostream out, SlabWithSphericalIndent n) -> _ostream
3495 __lshift__(_ostream out, SlabWithPore n) -> _ostream
3496 __lshift__(_ostream out, SlabWithToroidalPore n) -> _ostream
3498 return _IMP_npc.__lshift__(*args)
3500 r"""Proxy of C++ IMP::npc::SlabWithToroidalPoreWireGeometry class."""
3502 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3504 def __init__(self, *args):
3506 __init__(SlabWithToroidalPoreWireGeometry self, double slab_height, double major_radius, double horizontal_semiaxis, double slab_length) -> SlabWithToroidalPoreWireGeometry
3507 __init__(SlabWithToroidalPoreWireGeometry self, double slab_height, double major_radius, double slab_length) -> SlabWithToroidalPoreWireGeometry
3509 _IMP_npc.SlabWithToroidalPoreWireGeometry_swiginit(self, _IMP_npc.new_SlabWithToroidalPoreWireGeometry(*args))
3511 def get_version_info(self):
3512 r"""get_version_info(SlabWithToroidalPoreWireGeometry self) -> VersionInfo"""
3513 return _IMP_npc.SlabWithToroidalPoreWireGeometry_get_version_info(self)
3514 __swig_destroy__ = _IMP_npc.delete_SlabWithToroidalPoreWireGeometry
3517 r"""__str__(SlabWithToroidalPoreWireGeometry self) -> std::string"""
3518 return _IMP_npc.SlabWithToroidalPoreWireGeometry___str__(self)
3521 r"""__repr__(SlabWithToroidalPoreWireGeometry self) -> std::string"""
3522 return _IMP_npc.SlabWithToroidalPoreWireGeometry___repr__(self)
3526 return _object_cast_to_SlabWithToroidalPoreWireGeometry(o)
3530 _IMP_npc.SlabWithToroidalPoreWireGeometry_swigregister(SlabWithToroidalPoreWireGeometry)
3533 r"""get_module_name() -> std::string const"""
3534 return _IMP_npc.get_module_name()
3537 r"""get_module_version() -> std::string const"""
3538 return _IMP_npc.get_module_version()
3541 r"""get_example_path(std::string fname) -> std::string"""
3542 return _IMP_npc.get_example_path(fname)
3545 r"""get_data_path(std::string fname) -> std::string"""
3546 return _IMP_npc.get_data_path(fname)
3548 from .
import _version_check
def get_example_path
Return the full path to one of this module's example files.
Abstract class for scoring object(s) of type ParticleIndexPair.
CheckLevel get_check_level()
Get the current audit mode.
def get_module_version
Return the version of this module, as a string.
void add_particles(RMF::FileHandle fh, const ParticlesTemp &hs)
The base class for geometry.
Make CGAL functionality available to IMP.
void add_particle(RMF::FileHandle fh, Particle *hs)
Composable functors to implement scores via compile-time composition.
def get_data_path
Return the full path to one of this module's data files.
def get_module_name
Return the fully-qualified name of this module.
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.
Basic functionality that is expected to be used by a wide variety of IMP users.
General purpose algebraic and geometric methods that are expected to be used by a wide variety of IMP...
Output IMP model data in various file formats.
void set_check_level(CheckLevel tf)
Control runtime checks in the code.
A restraint is a term in an IMP ScoringFunction.