14 from sys
import version_info
as _swig_python_version_info
18 import builtins
as __builtin__
24 strthis =
"proxy of " + self.this.__repr__()
25 except __builtin__.Exception:
27 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
30 def _swig_setattr_nondynamic_instance_variable(set):
31 def set_instance_attr(self, name, value):
33 set(self, name, value)
34 elif name ==
"thisown":
36 elif hasattr(self, name)
and isinstance(getattr(type(self), name), property):
37 set(self, name, value)
39 raise AttributeError(
"You cannot add instance attributes to %s" % self)
40 return set_instance_attr
43 def _swig_setattr_nondynamic_class_variable(set):
44 def set_class_attr(cls, name, value):
45 if hasattr(cls, name)
and not isinstance(getattr(cls, name), property):
48 raise AttributeError(
"You cannot add class attributes to %s" % cls)
52 def _swig_add_metaclass(metaclass):
53 """Class decorator for adding a metaclass to a SWIG wrapped class - a slimmed down version of six.add_metaclass"""
55 return metaclass(cls.__name__, cls.__bases__, cls.__dict__.copy())
59 class _SwigNonDynamicMeta(type):
60 """Meta class to enforce nondynamic attributes (no new attributes) for a class"""
61 __setattr__ = _swig_setattr_nondynamic_class_variable(type.__setattr__)
66 class IMP_NPC_SwigPyIterator(object):
67 r"""Proxy of C++ swig::IMP_NPC_SwigPyIterator class."""
69 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
71 def __init__(self, *args, **kwargs):
72 raise AttributeError(
"No constructor defined - class is abstract")
74 __swig_destroy__ = _IMP_npc.delete_IMP_NPC_SwigPyIterator
77 r"""value(IMP_NPC_SwigPyIterator self) -> PyObject *"""
78 return _IMP_npc.IMP_NPC_SwigPyIterator_value(self)
81 r"""incr(IMP_NPC_SwigPyIterator self, size_t n=1) -> IMP_NPC_SwigPyIterator"""
82 return _IMP_npc.IMP_NPC_SwigPyIterator_incr(self, n)
85 r"""decr(IMP_NPC_SwigPyIterator self, size_t n=1) -> IMP_NPC_SwigPyIterator"""
86 return _IMP_npc.IMP_NPC_SwigPyIterator_decr(self, n)
88 def distance(self, x):
89 r"""distance(IMP_NPC_SwigPyIterator self, IMP_NPC_SwigPyIterator x) -> ptrdiff_t"""
90 return _IMP_npc.IMP_NPC_SwigPyIterator_distance(self, x)
93 r"""equal(IMP_NPC_SwigPyIterator self, IMP_NPC_SwigPyIterator x) -> bool"""
94 return _IMP_npc.IMP_NPC_SwigPyIterator_equal(self, x)
97 r"""copy(IMP_NPC_SwigPyIterator self) -> IMP_NPC_SwigPyIterator"""
98 return _IMP_npc.IMP_NPC_SwigPyIterator_copy(self)
101 r"""next(IMP_NPC_SwigPyIterator self) -> PyObject *"""
102 return _IMP_npc.IMP_NPC_SwigPyIterator_next(self)
105 r"""__next__(IMP_NPC_SwigPyIterator self) -> PyObject *"""
106 return _IMP_npc.IMP_NPC_SwigPyIterator___next__(self)
109 r"""previous(IMP_NPC_SwigPyIterator self) -> PyObject *"""
110 return _IMP_npc.IMP_NPC_SwigPyIterator_previous(self)
112 def advance(self, n):
113 r"""advance(IMP_NPC_SwigPyIterator self, ptrdiff_t n) -> IMP_NPC_SwigPyIterator"""
114 return _IMP_npc.IMP_NPC_SwigPyIterator_advance(self, n)
117 r"""__eq__(IMP_NPC_SwigPyIterator self, IMP_NPC_SwigPyIterator x) -> bool"""
118 return _IMP_npc.IMP_NPC_SwigPyIterator___eq__(self, x)
121 r"""__ne__(IMP_NPC_SwigPyIterator self, IMP_NPC_SwigPyIterator x) -> bool"""
122 return _IMP_npc.IMP_NPC_SwigPyIterator___ne__(self, x)
124 def __iadd__(self, n):
125 r"""__iadd__(IMP_NPC_SwigPyIterator self, ptrdiff_t n) -> IMP_NPC_SwigPyIterator"""
126 return _IMP_npc.IMP_NPC_SwigPyIterator___iadd__(self, n)
128 def __isub__(self, n):
129 r"""__isub__(IMP_NPC_SwigPyIterator self, ptrdiff_t n) -> IMP_NPC_SwigPyIterator"""
130 return _IMP_npc.IMP_NPC_SwigPyIterator___isub__(self, n)
132 def __add__(self, n):
133 r"""__add__(IMP_NPC_SwigPyIterator self, ptrdiff_t n) -> IMP_NPC_SwigPyIterator"""
134 return _IMP_npc.IMP_NPC_SwigPyIterator___add__(self, n)
136 def __sub__(self, *args):
138 __sub__(IMP_NPC_SwigPyIterator self, ptrdiff_t n) -> IMP_NPC_SwigPyIterator
139 __sub__(IMP_NPC_SwigPyIterator self, IMP_NPC_SwigPyIterator x) -> ptrdiff_t
141 return _IMP_npc.IMP_NPC_SwigPyIterator___sub__(self, *args)
146 _IMP_npc.IMP_NPC_SwigPyIterator_swigregister(IMP_NPC_SwigPyIterator)
153 IMP_DEBUG = _IMP_npc.IMP_DEBUG
155 IMP_RELEASE = _IMP_npc.IMP_RELEASE
157 IMP_SILENT = _IMP_npc.IMP_SILENT
159 IMP_PROGRESS = _IMP_npc.IMP_PROGRESS
161 IMP_TERSE = _IMP_npc.IMP_TERSE
163 IMP_VERBOSE = _IMP_npc.IMP_VERBOSE
165 IMP_MEMORY = _IMP_npc.IMP_MEMORY
167 IMP_NONE = _IMP_npc.IMP_NONE
169 IMP_USAGE = _IMP_npc.IMP_USAGE
171 IMP_INTERNAL = _IMP_npc.IMP_INTERNAL
173 IMP_KERNEL_HAS_LOG4CXX = _IMP_npc.IMP_KERNEL_HAS_LOG4CXX
175 IMP_COMPILER_HAS_CEREAL_RAW_POINTER = _IMP_npc.IMP_COMPILER_HAS_CEREAL_RAW_POINTER
177 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_npc.IMP_COMPILER_HAS_DEBUG_VECTOR
179 IMP_COMPILER_HAS_RANDOM_SHUFFLE = _IMP_npc.IMP_COMPILER_HAS_RANDOM_SHUFFLE
181 IMP_COMPILER_HAS_THREE_WAY = _IMP_npc.IMP_COMPILER_HAS_THREE_WAY
183 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_npc.IMP_KERNEL_HAS_BOOST_RANDOM
185 IMP_KERNEL_HAS_NUMPY = _IMP_npc.IMP_KERNEL_HAS_NUMPY
187 IMP_KERNEL_HAS_BOOST_SYSTEM = _IMP_npc.IMP_KERNEL_HAS_BOOST_SYSTEM
189 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_npc.IMP_KERNEL_HAS_GPERFTOOLS
191 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_npc.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
193 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_npc.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
195 IMPKERNEL_SHOW_WARNINGS = _IMP_npc.IMPKERNEL_SHOW_WARNINGS
199 class _DirectorObjects:
200 """@internal Simple class to keep references to director objects
201 to prevent premature deletion."""
204 def register(self, obj):
205 """Take a reference to a director object; will only work for
206 refcounted C++ classes"""
207 if hasattr(obj,
'get_ref_count'):
208 self._objects.append(obj)
210 """Only drop our reference and allow cleanup by Python if no other
211 Python references exist (we hold 3 references: one in self._objects,
212 one in x, and one in the argument list for getrefcount) *and* no
213 other C++ references exist (the Python object always holds one)"""
214 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
215 or x.get_ref_count() > 1]
219 def get_object_count(self):
220 """Get number of director objects (useful for testing only)"""
221 return len(self._objects)
222 _director_objects = _DirectorObjects()
224 class _ostream(object):
225 r"""Proxy of C++ std::ostream class."""
227 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
229 def __init__(self, *args, **kwargs):
230 raise AttributeError(
"No constructor defined")
231 __repr__ = _swig_repr
233 def write(self, osa_buf):
234 r"""write(_ostream self, char const * osa_buf)"""
235 return _IMP_npc._ostream_write(self, osa_buf)
238 _IMP_npc._ostream_swigregister(_ostream)
239 IMP_C_OPEN_BINARY = _IMP_npc.IMP_C_OPEN_BINARY
242 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_npc.IMP_CGAL_HAS_BOOST_FILESYSTEM
244 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_npc.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
246 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_npc.IMP_CGAL_HAS_BOOST_RANDOM
248 IMP_CGAL_HAS_NUMPY = _IMP_npc.IMP_CGAL_HAS_NUMPY
250 IMPCGAL_SHOW_WARNINGS = _IMP_npc.IMPCGAL_SHOW_WARNINGS
253 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_npc.IMP_ALGEBRA_HAS_IMP_CGAL
255 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_npc.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
257 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_npc.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
259 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_npc.IMP_ALGEBRA_HAS_BOOST_RANDOM
261 IMP_ALGEBRA_HAS_CGAL = _IMP_npc.IMP_ALGEBRA_HAS_CGAL
263 IMP_ALGEBRA_HAS_NUMPY = _IMP_npc.IMP_ALGEBRA_HAS_NUMPY
265 IMP_ALGEBRA_HAS_ANN = _IMP_npc.IMP_ALGEBRA_HAS_ANN
267 IMPALGEBRA_SHOW_WARNINGS = _IMP_npc.IMPALGEBRA_SHOW_WARNINGS
270 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_npc.IMP_DISPLAY_HAS_IMP_CGAL
272 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_npc.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
274 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_npc.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
276 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_npc.IMP_DISPLAY_HAS_BOOST_RANDOM
278 IMP_DISPLAY_HAS_CGAL = _IMP_npc.IMP_DISPLAY_HAS_CGAL
280 IMP_DISPLAY_HAS_NUMPY = _IMP_npc.IMP_DISPLAY_HAS_NUMPY
282 IMPDISPLAY_SHOW_WARNINGS = _IMP_npc.IMPDISPLAY_SHOW_WARNINGS
285 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
287 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
289 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
291 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
293 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_CGAL
295 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_HDF5
297 IMP_SCORE_FUNCTOR_HAS_NUMPY = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_NUMPY
299 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_npc.IMPSCOREFUNCTOR_SHOW_WARNINGS
302 IMP_CORE_HAS_IMP_CGAL = _IMP_npc.IMP_CORE_HAS_IMP_CGAL
304 IMP_CORE_HAS_IMP_KERNEL = _IMP_npc.IMP_CORE_HAS_IMP_KERNEL
306 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_npc.IMP_CORE_HAS_BOOST_FILESYSTEM
308 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_npc.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
310 IMP_CORE_HAS_BOOST_RANDOM = _IMP_npc.IMP_CORE_HAS_BOOST_RANDOM
312 IMP_CORE_HAS_CGAL = _IMP_npc.IMP_CORE_HAS_CGAL
314 IMP_CORE_HAS_HDF5 = _IMP_npc.IMP_CORE_HAS_HDF5
316 IMP_CORE_HAS_NUMPY = _IMP_npc.IMP_CORE_HAS_NUMPY
318 IMPCORE_SHOW_WARNINGS = _IMP_npc.IMPCORE_SHOW_WARNINGS
321 IMP_NPC_HAS_IMP_ALGEBRA = _IMP_npc.IMP_NPC_HAS_IMP_ALGEBRA
323 IMP_NPC_HAS_IMP_CGAL = _IMP_npc.IMP_NPC_HAS_IMP_CGAL
325 IMP_NPC_HAS_IMP_DISPLAY = _IMP_npc.IMP_NPC_HAS_IMP_DISPLAY
327 IMP_NPC_HAS_IMP_KERNEL = _IMP_npc.IMP_NPC_HAS_IMP_KERNEL
329 IMP_NPC_HAS_IMP_SCORE_FUNCTOR = _IMP_npc.IMP_NPC_HAS_IMP_SCORE_FUNCTOR
331 IMP_NPC_HAS_BOOST_FILESYSTEM = _IMP_npc.IMP_NPC_HAS_BOOST_FILESYSTEM
333 IMP_NPC_HAS_BOOST_PROGRAMOPTIONS = _IMP_npc.IMP_NPC_HAS_BOOST_PROGRAMOPTIONS
335 IMP_NPC_HAS_BOOST_RANDOM = _IMP_npc.IMP_NPC_HAS_BOOST_RANDOM
337 IMP_NPC_HAS_CGAL = _IMP_npc.IMP_NPC_HAS_CGAL
339 IMP_NPC_HAS_HDF5 = _IMP_npc.IMP_NPC_HAS_HDF5
341 IMP_NPC_HAS_NUMPY = _IMP_npc.IMP_NPC_HAS_NUMPY
343 IMP_NPC_HAS_PYTHON_IHM = _IMP_npc.IMP_NPC_HAS_PYTHON_IHM
345 IMPNPC_SHOW_WARNINGS = _IMP_npc.IMPNPC_SHOW_WARNINGS
348 _object_types.append(
"ZAxialPositionLowerRestraint")
351 def _object_cast_to_ZAxialPositionLowerRestraint(o):
352 r"""_object_cast_to_ZAxialPositionLowerRestraint(Object o) -> ZAxialPositionLowerRestraint"""
353 return _IMP_npc._object_cast_to_ZAxialPositionLowerRestraint(o)
355 _object_types.append(
"ZAxialPositionUpperRestraint")
358 def _object_cast_to_ZAxialPositionUpperRestraint(o):
359 r"""_object_cast_to_ZAxialPositionUpperRestraint(Object o) -> ZAxialPositionUpperRestraint"""
360 return _IMP_npc._object_cast_to_ZAxialPositionUpperRestraint(o)
362 _object_types.append(
"XYRadialPositionLowerRestraint")
365 def _object_cast_to_XYRadialPositionLowerRestraint(o):
366 r"""_object_cast_to_XYRadialPositionLowerRestraint(Object o) -> XYRadialPositionLowerRestraint"""
367 return _IMP_npc._object_cast_to_XYRadialPositionLowerRestraint(o)
369 _object_types.append(
"XYRadialPositionUpperRestraint")
372 def _object_cast_to_XYRadialPositionUpperRestraint(o):
373 r"""_object_cast_to_XYRadialPositionUpperRestraint(Object o) -> XYRadialPositionUpperRestraint"""
374 return _IMP_npc._object_cast_to_XYRadialPositionUpperRestraint(o)
376 _object_types.append(
"ProteinContactRestraint")
379 def _object_cast_to_ProteinContactRestraint(o):
380 r"""_object_cast_to_ProteinContactRestraint(Object o) -> ProteinContactRestraint"""
381 return _IMP_npc._object_cast_to_ProteinContactRestraint(o)
383 _object_types.append(
"ProteinChainRestraint")
386 def _object_cast_to_ProteinChainRestraint(o):
387 r"""_object_cast_to_ProteinChainRestraint(Object o) -> ProteinChainRestraint"""
388 return _IMP_npc._object_cast_to_ProteinChainRestraint(o)
390 _object_types.append(
"MembraneSurfaceLocationRestraint")
393 def _object_cast_to_MembraneSurfaceLocationRestraint(o):
394 r"""_object_cast_to_MembraneSurfaceLocationRestraint(Object o) -> MembraneSurfaceLocationRestraint"""
395 return _IMP_npc._object_cast_to_MembraneSurfaceLocationRestraint(o)
397 _object_types.append(
"PoreSideVolumeLocationRestraint")
400 def _object_cast_to_PoreSideVolumeLocationRestraint(o):
401 r"""_object_cast_to_PoreSideVolumeLocationRestraint(Object o) -> PoreSideVolumeLocationRestraint"""
402 return _IMP_npc._object_cast_to_PoreSideVolumeLocationRestraint(o)
404 _object_types.append(
"PerinuclearVolumeLocationRestraint")
407 def _object_cast_to_PerinuclearVolumeLocationRestraint(o):
408 r"""_object_cast_to_PerinuclearVolumeLocationRestraint(Object o) -> PerinuclearVolumeLocationRestraint"""
409 return _IMP_npc._object_cast_to_PerinuclearVolumeLocationRestraint(o)
411 _object_types.append(
"AssemblySymmetryByDistanceRestraint")
414 def _object_cast_to_AssemblySymmetryByDistanceRestraint(o):
415 r"""_object_cast_to_AssemblySymmetryByDistanceRestraint(Object o) -> AssemblySymmetryByDistanceRestraint"""
416 return _IMP_npc._object_cast_to_AssemblySymmetryByDistanceRestraint(o)
418 _object_types.append(
"AssemblySymmetryByDihedralRestraint")
421 def _object_cast_to_AssemblySymmetryByDihedralRestraint(o):
422 r"""_object_cast_to_AssemblySymmetryByDihedralRestraint(Object o) -> AssemblySymmetryByDihedralRestraint"""
423 return _IMP_npc._object_cast_to_AssemblySymmetryByDihedralRestraint(o)
425 _object_types.append(
"ProteinProximityRestraint")
428 def _object_cast_to_ProteinProximityRestraint(o):
429 r"""_object_cast_to_ProteinProximityRestraint(Object o) -> ProteinProximityRestraint"""
430 return _IMP_npc._object_cast_to_ProteinProximityRestraint(o)
432 _object_types.append(
"CompositeRestraint")
435 def _object_cast_to_CompositeRestraint(o):
436 r"""_object_cast_to_CompositeRestraint(Object o) -> CompositeRestraint"""
437 return _IMP_npc._object_cast_to_CompositeRestraint(o)
439 _object_types.append(
"MinimumSphereDistancePairScore")
442 def _object_cast_to_MinimumSphereDistancePairScore(o):
443 r"""_object_cast_to_MinimumSphereDistancePairScore(Object o) -> MinimumSphereDistancePairScore"""
444 return _IMP_npc._object_cast_to_MinimumSphereDistancePairScore(o)
446 _object_types.append(
"MembraneExclusionRestraint")
449 def _object_cast_to_MembraneExclusionRestraint(o):
450 r"""_object_cast_to_MembraneExclusionRestraint(Object o) -> MembraneExclusionRestraint"""
451 return _IMP_npc._object_cast_to_MembraneExclusionRestraint(o)
453 _object_types.append(
"MembraneSurfaceLocationConditionalRestraint")
456 def _object_cast_to_MembraneSurfaceLocationConditionalRestraint(o):
457 r"""_object_cast_to_MembraneSurfaceLocationConditionalRestraint(Object o) -> MembraneSurfaceLocationConditionalRestraint"""
458 return _IMP_npc._object_cast_to_MembraneSurfaceLocationConditionalRestraint(o)
460 _object_types.append(
"XYRadialPositionRestraint")
463 def _object_cast_to_XYRadialPositionRestraint(o):
464 r"""_object_cast_to_XYRadialPositionRestraint(Object o) -> XYRadialPositionRestraint"""
465 return _IMP_npc._object_cast_to_XYRadialPositionRestraint(o)
467 _object_types.append(
"YAxialPositionLowerRestraint")
470 def _object_cast_to_YAxialPositionLowerRestraint(o):
471 r"""_object_cast_to_YAxialPositionLowerRestraint(Object o) -> YAxialPositionLowerRestraint"""
472 return _IMP_npc._object_cast_to_YAxialPositionLowerRestraint(o)
474 _object_types.append(
"YAxialPositionRestraint")
477 def _object_cast_to_YAxialPositionRestraint(o):
478 r"""_object_cast_to_YAxialPositionRestraint(Object o) -> YAxialPositionRestraint"""
479 return _IMP_npc._object_cast_to_YAxialPositionRestraint(o)
481 _object_types.append(
"YAxialPositionUpperRestraint")
484 def _object_cast_to_YAxialPositionUpperRestraint(o):
485 r"""_object_cast_to_YAxialPositionUpperRestraint(Object o) -> YAxialPositionUpperRestraint"""
486 return _IMP_npc._object_cast_to_YAxialPositionUpperRestraint(o)
488 _object_types.append(
"ZAxialPositionRestraint")
491 def _object_cast_to_ZAxialPositionRestraint(o):
492 r"""_object_cast_to_ZAxialPositionRestraint(Object o) -> ZAxialPositionRestraint"""
493 return _IMP_npc._object_cast_to_ZAxialPositionRestraint(o)
495 _object_types.append(
"XAxialPositionLowerRestraint")
498 def _object_cast_to_XAxialPositionLowerRestraint(o):
499 r"""_object_cast_to_XAxialPositionLowerRestraint(Object o) -> XAxialPositionLowerRestraint"""
500 return _IMP_npc._object_cast_to_XAxialPositionLowerRestraint(o)
502 _object_types.append(
"XAxialPositionRestraint")
505 def _object_cast_to_XAxialPositionRestraint(o):
506 r"""_object_cast_to_XAxialPositionRestraint(Object o) -> XAxialPositionRestraint"""
507 return _IMP_npc._object_cast_to_XAxialPositionRestraint(o)
509 _object_types.append(
"XAxialPositionUpperRestraint")
512 def _object_cast_to_XAxialPositionUpperRestraint(o):
513 r"""_object_cast_to_XAxialPositionUpperRestraint(Object o) -> XAxialPositionUpperRestraint"""
514 return _IMP_npc._object_cast_to_XAxialPositionUpperRestraint(o)
516 _object_types.append(
"OverallPositionRestraint")
519 def _object_cast_to_OverallPositionRestraint(o):
520 r"""_object_cast_to_OverallPositionRestraint(Object o) -> OverallPositionRestraint"""
521 return _IMP_npc._object_cast_to_OverallPositionRestraint(o)
523 def SlabWithSphericalIndents(l=[]):
524 return [SlabWithSphericalIndent(x)
for x
in l]
525 _plural_types.append(
"SlabWithSphericalIndents")
528 _value_types.append(
"SlabWithSphericalIndent")
531 _object_types.append(
"SlabWithSphericalIndentMBMScore")
534 def _object_cast_to_SlabWithSphericalIndentMBMScore(o):
535 r"""_object_cast_to_SlabWithSphericalIndentMBMScore(Object o) -> SlabWithSphericalIndentMBMScore"""
536 return _IMP_npc._object_cast_to_SlabWithSphericalIndentMBMScore(o)
538 _object_types.append(
"SlabWithSphericalIndentGeometry")
541 def _object_cast_to_SlabWithSphericalIndentGeometry(o):
542 r"""_object_cast_to_SlabWithSphericalIndentGeometry(Object o) -> SlabWithSphericalIndentGeometry"""
543 return _IMP_npc._object_cast_to_SlabWithSphericalIndentGeometry(o)
545 _object_types.append(
"SphericalIndentSurfaceDepthPairScore")
548 def _object_cast_to_SphericalIndentSurfaceDepthPairScore(o):
549 r"""_object_cast_to_SphericalIndentSurfaceDepthPairScore(Object o) -> SphericalIndentSurfaceDepthPairScore"""
550 return _IMP_npc._object_cast_to_SphericalIndentSurfaceDepthPairScore(o)
552 _object_types.append(
"SlabWithToroidalPoreMBMScore")
555 def _object_cast_to_SlabWithToroidalPoreMBMScore(o):
556 r"""_object_cast_to_SlabWithToroidalPoreMBMScore(Object o) -> SlabWithToroidalPoreMBMScore"""
557 return _IMP_npc._object_cast_to_SlabWithToroidalPoreMBMScore(o)
559 _object_types.append(
"SlabWithToroidalPoreGoPairScore")
562 def _object_cast_to_SlabWithToroidalPoreGoPairScore(o):
563 r"""_object_cast_to_SlabWithToroidalPoreGoPairScore(Object o) -> SlabWithToroidalPoreGoPairScore"""
564 return _IMP_npc._object_cast_to_SlabWithToroidalPoreGoPairScore(o)
566 _object_types.append(
"ToroidalPoreSurfaceDepthPairScore")
569 def _object_cast_to_ToroidalPoreSurfaceDepthPairScore(o):
570 r"""_object_cast_to_ToroidalPoreSurfaceDepthPairScore(Object o) -> ToroidalPoreSurfaceDepthPairScore"""
571 return _IMP_npc._object_cast_to_ToroidalPoreSurfaceDepthPairScore(o)
573 def SlabWithPores(l=[]):
574 return [SlabWithPore(x)
for x
in l]
575 _plural_types.append(
"SlabWithPores")
578 _value_types.append(
"SlabWithPore")
581 def SlabWithToroidalPores(l=[]):
582 return [SlabWithToroidalPore(x)
for x
in l]
583 _plural_types.append(
"SlabWithToroidalPores")
586 _value_types.append(
"SlabWithToroidalPore")
589 _object_types.append(
"SlabWithToroidalPoreWireGeometry")
592 def _object_cast_to_SlabWithToroidalPoreWireGeometry(o):
593 r"""_object_cast_to_SlabWithToroidalPoreWireGeometry(Object o) -> SlabWithToroidalPoreWireGeometry"""
594 return _IMP_npc._object_cast_to_SlabWithToroidalPoreWireGeometry(o)
596 r"""Proxy of C++ IMP::npc::ZAxialPositionRestraint class."""
598 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
600 def __init__(self, *args):
602 __init__(ZAxialPositionRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, double upper_bound, bool consider_radius, double sigma=1) -> ZAxialPositionRestraint
603 __init__(ZAxialPositionRestraint self, Model m, double lower_bound, double upper_bound, bool consider_radius, double sigma=1) -> ZAxialPositionRestraint
604 __init__(ZAxialPositionRestraint self) -> ZAxialPositionRestraint
606 _IMP_npc.ZAxialPositionRestraint_swiginit(self, _IMP_npc.new_ZAxialPositionRestraint(*args))
609 r"""add_particle(ZAxialPositionRestraint self, Particle p)"""
610 return _IMP_npc.ZAxialPositionRestraint_add_particle(self, p)
613 r"""add_particles(ZAxialPositionRestraint self, IMP::ParticlesTemp const & ps)"""
614 return _IMP_npc.ZAxialPositionRestraint_add_particles(self, ps)
616 def set_particles(self, ps):
617 r"""set_particles(ZAxialPositionRestraint self, IMP::ParticlesTemp const & ps)"""
618 return _IMP_npc.ZAxialPositionRestraint_set_particles(self, ps)
620 def do_get_inputs(self):
621 r"""do_get_inputs(ZAxialPositionRestraint self) -> IMP::ModelObjectsTemp"""
622 return _IMP_npc.ZAxialPositionRestraint_do_get_inputs(self)
624 def get_version_info(self):
625 r"""get_version_info(ZAxialPositionRestraint self) -> VersionInfo"""
626 return _IMP_npc.ZAxialPositionRestraint_get_version_info(self)
627 __swig_destroy__ = _IMP_npc.delete_ZAxialPositionRestraint
630 r"""__str__(ZAxialPositionRestraint self) -> std::string"""
631 return _IMP_npc.ZAxialPositionRestraint___str__(self)
634 r"""__repr__(ZAxialPositionRestraint self) -> std::string"""
635 return _IMP_npc.ZAxialPositionRestraint___repr__(self)
639 return _object_cast_to_ZAxialPositionRestraint(o)
642 def _get_as_binary(self):
643 r"""_get_as_binary(ZAxialPositionRestraint self) -> PyObject *"""
644 return _IMP_npc.ZAxialPositionRestraint__get_as_binary(self)
646 def _set_from_binary(self, p):
647 r"""_set_from_binary(ZAxialPositionRestraint self, PyObject * p)"""
648 return _IMP_npc.ZAxialPositionRestraint__set_from_binary(self, p)
650 def __getstate__(self):
651 p = self._get_as_binary()
652 if len(self.__dict__) > 1:
653 d = self.__dict__.copy()
658 def __setstate__(self, p):
659 if not hasattr(self,
'this'):
661 if isinstance(p, tuple):
663 self.__dict__.update(d)
664 return self._set_from_binary(p)
668 _IMP_npc.ZAxialPositionRestraint_swigregister(ZAxialPositionRestraint)
670 r"""Proxy of C++ IMP::npc::ZAxialPositionLowerRestraint class."""
672 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
674 def __init__(self, *args):
676 __init__(ZAxialPositionLowerRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, bool consider_radius, double sigma=1) -> ZAxialPositionLowerRestraint
677 __init__(ZAxialPositionLowerRestraint self, Model m, double lower_bound, bool consider_radius, double sigma=1) -> ZAxialPositionLowerRestraint
678 __init__(ZAxialPositionLowerRestraint self) -> ZAxialPositionLowerRestraint
680 _IMP_npc.ZAxialPositionLowerRestraint_swiginit(self, _IMP_npc.new_ZAxialPositionLowerRestraint(*args))
683 r"""add_particle(ZAxialPositionLowerRestraint self, Particle p)"""
684 return _IMP_npc.ZAxialPositionLowerRestraint_add_particle(self, p)
687 r"""add_particles(ZAxialPositionLowerRestraint self, IMP::ParticlesTemp const & ps)"""
688 return _IMP_npc.ZAxialPositionLowerRestraint_add_particles(self, ps)
690 def set_particles(self, ps):
691 r"""set_particles(ZAxialPositionLowerRestraint self, IMP::ParticlesTemp const & ps)"""
692 return _IMP_npc.ZAxialPositionLowerRestraint_set_particles(self, ps)
694 def do_get_inputs(self):
695 r"""do_get_inputs(ZAxialPositionLowerRestraint self) -> IMP::ModelObjectsTemp"""
696 return _IMP_npc.ZAxialPositionLowerRestraint_do_get_inputs(self)
698 def get_version_info(self):
699 r"""get_version_info(ZAxialPositionLowerRestraint self) -> VersionInfo"""
700 return _IMP_npc.ZAxialPositionLowerRestraint_get_version_info(self)
701 __swig_destroy__ = _IMP_npc.delete_ZAxialPositionLowerRestraint
704 r"""__str__(ZAxialPositionLowerRestraint self) -> std::string"""
705 return _IMP_npc.ZAxialPositionLowerRestraint___str__(self)
708 r"""__repr__(ZAxialPositionLowerRestraint self) -> std::string"""
709 return _IMP_npc.ZAxialPositionLowerRestraint___repr__(self)
713 return _object_cast_to_ZAxialPositionLowerRestraint(o)
716 def _get_as_binary(self):
717 r"""_get_as_binary(ZAxialPositionLowerRestraint self) -> PyObject *"""
718 return _IMP_npc.ZAxialPositionLowerRestraint__get_as_binary(self)
720 def _set_from_binary(self, p):
721 r"""_set_from_binary(ZAxialPositionLowerRestraint self, PyObject * p)"""
722 return _IMP_npc.ZAxialPositionLowerRestraint__set_from_binary(self, p)
724 def __getstate__(self):
725 p = self._get_as_binary()
726 if len(self.__dict__) > 1:
727 d = self.__dict__.copy()
732 def __setstate__(self, p):
733 if not hasattr(self,
'this'):
735 if isinstance(p, tuple):
737 self.__dict__.update(d)
738 return self._set_from_binary(p)
742 _IMP_npc.ZAxialPositionLowerRestraint_swigregister(ZAxialPositionLowerRestraint)
744 r"""Proxy of C++ IMP::npc::ZAxialPositionUpperRestraint class."""
746 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
748 def __init__(self, *args):
750 __init__(ZAxialPositionUpperRestraint self, Model m, _SingletonContainerAdaptor sc, double upper_bound, bool consider_radius, double sigma=1) -> ZAxialPositionUpperRestraint
751 __init__(ZAxialPositionUpperRestraint self, Model m, double upper_bound, bool consider_radius, double sigma=1) -> ZAxialPositionUpperRestraint
752 __init__(ZAxialPositionUpperRestraint self) -> ZAxialPositionUpperRestraint
754 _IMP_npc.ZAxialPositionUpperRestraint_swiginit(self, _IMP_npc.new_ZAxialPositionUpperRestraint(*args))
757 r"""add_particle(ZAxialPositionUpperRestraint self, Particle p)"""
758 return _IMP_npc.ZAxialPositionUpperRestraint_add_particle(self, p)
761 r"""add_particles(ZAxialPositionUpperRestraint self, IMP::ParticlesTemp const & ps)"""
762 return _IMP_npc.ZAxialPositionUpperRestraint_add_particles(self, ps)
764 def set_particles(self, ps):
765 r"""set_particles(ZAxialPositionUpperRestraint self, IMP::ParticlesTemp const & ps)"""
766 return _IMP_npc.ZAxialPositionUpperRestraint_set_particles(self, ps)
768 def do_get_inputs(self):
769 r"""do_get_inputs(ZAxialPositionUpperRestraint self) -> IMP::ModelObjectsTemp"""
770 return _IMP_npc.ZAxialPositionUpperRestraint_do_get_inputs(self)
772 def get_version_info(self):
773 r"""get_version_info(ZAxialPositionUpperRestraint self) -> VersionInfo"""
774 return _IMP_npc.ZAxialPositionUpperRestraint_get_version_info(self)
775 __swig_destroy__ = _IMP_npc.delete_ZAxialPositionUpperRestraint
778 r"""__str__(ZAxialPositionUpperRestraint self) -> std::string"""
779 return _IMP_npc.ZAxialPositionUpperRestraint___str__(self)
782 r"""__repr__(ZAxialPositionUpperRestraint self) -> std::string"""
783 return _IMP_npc.ZAxialPositionUpperRestraint___repr__(self)
787 return _object_cast_to_ZAxialPositionUpperRestraint(o)
790 def _get_as_binary(self):
791 r"""_get_as_binary(ZAxialPositionUpperRestraint self) -> PyObject *"""
792 return _IMP_npc.ZAxialPositionUpperRestraint__get_as_binary(self)
794 def _set_from_binary(self, p):
795 r"""_set_from_binary(ZAxialPositionUpperRestraint self, PyObject * p)"""
796 return _IMP_npc.ZAxialPositionUpperRestraint__set_from_binary(self, p)
798 def __getstate__(self):
799 p = self._get_as_binary()
800 if len(self.__dict__) > 1:
801 d = self.__dict__.copy()
806 def __setstate__(self, p):
807 if not hasattr(self,
'this'):
809 if isinstance(p, tuple):
811 self.__dict__.update(d)
812 return self._set_from_binary(p)
816 _IMP_npc.ZAxialPositionUpperRestraint_swigregister(ZAxialPositionUpperRestraint)
818 r"""Proxy of C++ IMP::npc::YAxialPositionRestraint class."""
820 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
822 def __init__(self, *args):
824 __init__(YAxialPositionRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, double upper_bound, bool consider_radius, double sigma=1) -> YAxialPositionRestraint
825 __init__(YAxialPositionRestraint self, Model m, double lower_bound, double upper_bound, bool consider_radius, double sigma=1) -> YAxialPositionRestraint
826 __init__(YAxialPositionRestraint self) -> YAxialPositionRestraint
828 _IMP_npc.YAxialPositionRestraint_swiginit(self, _IMP_npc.new_YAxialPositionRestraint(*args))
831 r"""add_particle(YAxialPositionRestraint self, Particle p)"""
832 return _IMP_npc.YAxialPositionRestraint_add_particle(self, p)
835 r"""add_particles(YAxialPositionRestraint self, IMP::ParticlesTemp const & ps)"""
836 return _IMP_npc.YAxialPositionRestraint_add_particles(self, ps)
838 def set_particles(self, ps):
839 r"""set_particles(YAxialPositionRestraint self, IMP::ParticlesTemp const & ps)"""
840 return _IMP_npc.YAxialPositionRestraint_set_particles(self, ps)
842 def do_get_inputs(self):
843 r"""do_get_inputs(YAxialPositionRestraint self) -> IMP::ModelObjectsTemp"""
844 return _IMP_npc.YAxialPositionRestraint_do_get_inputs(self)
846 def get_version_info(self):
847 r"""get_version_info(YAxialPositionRestraint self) -> VersionInfo"""
848 return _IMP_npc.YAxialPositionRestraint_get_version_info(self)
849 __swig_destroy__ = _IMP_npc.delete_YAxialPositionRestraint
852 r"""__str__(YAxialPositionRestraint self) -> std::string"""
853 return _IMP_npc.YAxialPositionRestraint___str__(self)
856 r"""__repr__(YAxialPositionRestraint self) -> std::string"""
857 return _IMP_npc.YAxialPositionRestraint___repr__(self)
861 return _object_cast_to_YAxialPositionRestraint(o)
864 def _get_as_binary(self):
865 r"""_get_as_binary(YAxialPositionRestraint self) -> PyObject *"""
866 return _IMP_npc.YAxialPositionRestraint__get_as_binary(self)
868 def _set_from_binary(self, p):
869 r"""_set_from_binary(YAxialPositionRestraint self, PyObject * p)"""
870 return _IMP_npc.YAxialPositionRestraint__set_from_binary(self, p)
872 def __getstate__(self):
873 p = self._get_as_binary()
874 if len(self.__dict__) > 1:
875 d = self.__dict__.copy()
880 def __setstate__(self, p):
881 if not hasattr(self,
'this'):
883 if isinstance(p, tuple):
885 self.__dict__.update(d)
886 return self._set_from_binary(p)
890 _IMP_npc.YAxialPositionRestraint_swigregister(YAxialPositionRestraint)
892 r"""Proxy of C++ IMP::npc::YAxialPositionLowerRestraint class."""
894 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
896 def __init__(self, *args):
898 __init__(YAxialPositionLowerRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, bool consider_radius, double sigma=1) -> YAxialPositionLowerRestraint
899 __init__(YAxialPositionLowerRestraint self, Model m, double lower_bound, bool consider_radius, double sigma=1) -> YAxialPositionLowerRestraint
900 __init__(YAxialPositionLowerRestraint self) -> YAxialPositionLowerRestraint
902 _IMP_npc.YAxialPositionLowerRestraint_swiginit(self, _IMP_npc.new_YAxialPositionLowerRestraint(*args))
905 r"""add_particle(YAxialPositionLowerRestraint self, Particle p)"""
906 return _IMP_npc.YAxialPositionLowerRestraint_add_particle(self, p)
909 r"""add_particles(YAxialPositionLowerRestraint self, IMP::ParticlesTemp const & ps)"""
910 return _IMP_npc.YAxialPositionLowerRestraint_add_particles(self, ps)
912 def set_particles(self, ps):
913 r"""set_particles(YAxialPositionLowerRestraint self, IMP::ParticlesTemp const & ps)"""
914 return _IMP_npc.YAxialPositionLowerRestraint_set_particles(self, ps)
916 def do_get_inputs(self):
917 r"""do_get_inputs(YAxialPositionLowerRestraint self) -> IMP::ModelObjectsTemp"""
918 return _IMP_npc.YAxialPositionLowerRestraint_do_get_inputs(self)
920 def get_version_info(self):
921 r"""get_version_info(YAxialPositionLowerRestraint self) -> VersionInfo"""
922 return _IMP_npc.YAxialPositionLowerRestraint_get_version_info(self)
923 __swig_destroy__ = _IMP_npc.delete_YAxialPositionLowerRestraint
926 r"""__str__(YAxialPositionLowerRestraint self) -> std::string"""
927 return _IMP_npc.YAxialPositionLowerRestraint___str__(self)
930 r"""__repr__(YAxialPositionLowerRestraint self) -> std::string"""
931 return _IMP_npc.YAxialPositionLowerRestraint___repr__(self)
935 return _object_cast_to_YAxialPositionLowerRestraint(o)
938 def _get_as_binary(self):
939 r"""_get_as_binary(YAxialPositionLowerRestraint self) -> PyObject *"""
940 return _IMP_npc.YAxialPositionLowerRestraint__get_as_binary(self)
942 def _set_from_binary(self, p):
943 r"""_set_from_binary(YAxialPositionLowerRestraint self, PyObject * p)"""
944 return _IMP_npc.YAxialPositionLowerRestraint__set_from_binary(self, p)
946 def __getstate__(self):
947 p = self._get_as_binary()
948 if len(self.__dict__) > 1:
949 d = self.__dict__.copy()
954 def __setstate__(self, p):
955 if not hasattr(self,
'this'):
957 if isinstance(p, tuple):
959 self.__dict__.update(d)
960 return self._set_from_binary(p)
964 _IMP_npc.YAxialPositionLowerRestraint_swigregister(YAxialPositionLowerRestraint)
966 r"""Proxy of C++ IMP::npc::YAxialPositionUpperRestraint class."""
968 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
970 def __init__(self, *args):
972 __init__(YAxialPositionUpperRestraint self, Model m, _SingletonContainerAdaptor sc, double upper_bound, bool consider_radius, double sigma=1) -> YAxialPositionUpperRestraint
973 __init__(YAxialPositionUpperRestraint self, Model m, double upper_bound, bool consider_radius, double sigma=1) -> YAxialPositionUpperRestraint
974 __init__(YAxialPositionUpperRestraint self) -> YAxialPositionUpperRestraint
976 _IMP_npc.YAxialPositionUpperRestraint_swiginit(self, _IMP_npc.new_YAxialPositionUpperRestraint(*args))
979 r"""add_particle(YAxialPositionUpperRestraint self, Particle p)"""
980 return _IMP_npc.YAxialPositionUpperRestraint_add_particle(self, p)
983 r"""add_particles(YAxialPositionUpperRestraint self, IMP::ParticlesTemp const & ps)"""
984 return _IMP_npc.YAxialPositionUpperRestraint_add_particles(self, ps)
986 def set_particles(self, ps):
987 r"""set_particles(YAxialPositionUpperRestraint self, IMP::ParticlesTemp const & ps)"""
988 return _IMP_npc.YAxialPositionUpperRestraint_set_particles(self, ps)
990 def do_get_inputs(self):
991 r"""do_get_inputs(YAxialPositionUpperRestraint self) -> IMP::ModelObjectsTemp"""
992 return _IMP_npc.YAxialPositionUpperRestraint_do_get_inputs(self)
994 def get_version_info(self):
995 r"""get_version_info(YAxialPositionUpperRestraint self) -> VersionInfo"""
996 return _IMP_npc.YAxialPositionUpperRestraint_get_version_info(self)
997 __swig_destroy__ = _IMP_npc.delete_YAxialPositionUpperRestraint
1000 r"""__str__(YAxialPositionUpperRestraint self) -> std::string"""
1001 return _IMP_npc.YAxialPositionUpperRestraint___str__(self)
1004 r"""__repr__(YAxialPositionUpperRestraint self) -> std::string"""
1005 return _IMP_npc.YAxialPositionUpperRestraint___repr__(self)
1009 return _object_cast_to_YAxialPositionUpperRestraint(o)
1012 def _get_as_binary(self):
1013 r"""_get_as_binary(YAxialPositionUpperRestraint self) -> PyObject *"""
1014 return _IMP_npc.YAxialPositionUpperRestraint__get_as_binary(self)
1016 def _set_from_binary(self, p):
1017 r"""_set_from_binary(YAxialPositionUpperRestraint self, PyObject * p)"""
1018 return _IMP_npc.YAxialPositionUpperRestraint__set_from_binary(self, p)
1020 def __getstate__(self):
1021 p = self._get_as_binary()
1022 if len(self.__dict__) > 1:
1023 d = self.__dict__.copy()
1028 def __setstate__(self, p):
1029 if not hasattr(self,
'this'):
1031 if isinstance(p, tuple):
1033 self.__dict__.update(d)
1034 return self._set_from_binary(p)
1038 _IMP_npc.YAxialPositionUpperRestraint_swigregister(YAxialPositionUpperRestraint)
1040 r"""Proxy of C++ IMP::npc::XYRadialPositionRestraint class."""
1042 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1044 def __init__(self, *args):
1046 __init__(XYRadialPositionRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, double upper_bound, bool consider_radius, double sigma=1) -> XYRadialPositionRestraint
1047 __init__(XYRadialPositionRestraint self, Model m, double lower_bound, double upper_bound, bool consider_radius, double sigma=1) -> XYRadialPositionRestraint
1048 __init__(XYRadialPositionRestraint self) -> XYRadialPositionRestraint
1050 _IMP_npc.XYRadialPositionRestraint_swiginit(self, _IMP_npc.new_XYRadialPositionRestraint(*args))
1053 r"""add_particle(XYRadialPositionRestraint self, Particle p)"""
1054 return _IMP_npc.XYRadialPositionRestraint_add_particle(self, p)
1057 r"""add_particles(XYRadialPositionRestraint self, IMP::ParticlesTemp const & ps)"""
1058 return _IMP_npc.XYRadialPositionRestraint_add_particles(self, ps)
1060 def set_particles(self, ps):
1061 r"""set_particles(XYRadialPositionRestraint self, IMP::ParticlesTemp const & ps)"""
1062 return _IMP_npc.XYRadialPositionRestraint_set_particles(self, ps)
1064 def do_get_inputs(self):
1065 r"""do_get_inputs(XYRadialPositionRestraint self) -> IMP::ModelObjectsTemp"""
1066 return _IMP_npc.XYRadialPositionRestraint_do_get_inputs(self)
1068 def get_version_info(self):
1069 r"""get_version_info(XYRadialPositionRestraint self) -> VersionInfo"""
1070 return _IMP_npc.XYRadialPositionRestraint_get_version_info(self)
1071 __swig_destroy__ = _IMP_npc.delete_XYRadialPositionRestraint
1074 r"""__str__(XYRadialPositionRestraint self) -> std::string"""
1075 return _IMP_npc.XYRadialPositionRestraint___str__(self)
1078 r"""__repr__(XYRadialPositionRestraint self) -> std::string"""
1079 return _IMP_npc.XYRadialPositionRestraint___repr__(self)
1083 return _object_cast_to_XYRadialPositionRestraint(o)
1086 def _get_as_binary(self):
1087 r"""_get_as_binary(XYRadialPositionRestraint self) -> PyObject *"""
1088 return _IMP_npc.XYRadialPositionRestraint__get_as_binary(self)
1090 def _set_from_binary(self, p):
1091 r"""_set_from_binary(XYRadialPositionRestraint self, PyObject * p)"""
1092 return _IMP_npc.XYRadialPositionRestraint__set_from_binary(self, p)
1094 def __getstate__(self):
1095 p = self._get_as_binary()
1096 if len(self.__dict__) > 1:
1097 d = self.__dict__.copy()
1102 def __setstate__(self, p):
1103 if not hasattr(self,
'this'):
1105 if isinstance(p, tuple):
1107 self.__dict__.update(d)
1108 return self._set_from_binary(p)
1112 _IMP_npc.XYRadialPositionRestraint_swigregister(XYRadialPositionRestraint)
1114 r"""Proxy of C++ IMP::npc::XYRadialPositionLowerRestraint class."""
1116 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1118 def __init__(self, *args):
1120 __init__(XYRadialPositionLowerRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, bool consider_radius, double sigma=1) -> XYRadialPositionLowerRestraint
1121 __init__(XYRadialPositionLowerRestraint self, Model m, double lower_bound, bool consider_radius, double sigma=1) -> XYRadialPositionLowerRestraint
1122 __init__(XYRadialPositionLowerRestraint self) -> XYRadialPositionLowerRestraint
1124 _IMP_npc.XYRadialPositionLowerRestraint_swiginit(self, _IMP_npc.new_XYRadialPositionLowerRestraint(*args))
1127 r"""add_particle(XYRadialPositionLowerRestraint self, Particle p)"""
1128 return _IMP_npc.XYRadialPositionLowerRestraint_add_particle(self, p)
1131 r"""add_particles(XYRadialPositionLowerRestraint self, IMP::ParticlesTemp const & ps)"""
1132 return _IMP_npc.XYRadialPositionLowerRestraint_add_particles(self, ps)
1134 def set_particles(self, ps):
1135 r"""set_particles(XYRadialPositionLowerRestraint self, IMP::ParticlesTemp const & ps)"""
1136 return _IMP_npc.XYRadialPositionLowerRestraint_set_particles(self, ps)
1138 def do_get_inputs(self):
1139 r"""do_get_inputs(XYRadialPositionLowerRestraint self) -> IMP::ModelObjectsTemp"""
1140 return _IMP_npc.XYRadialPositionLowerRestraint_do_get_inputs(self)
1142 def get_version_info(self):
1143 r"""get_version_info(XYRadialPositionLowerRestraint self) -> VersionInfo"""
1144 return _IMP_npc.XYRadialPositionLowerRestraint_get_version_info(self)
1145 __swig_destroy__ = _IMP_npc.delete_XYRadialPositionLowerRestraint
1148 r"""__str__(XYRadialPositionLowerRestraint self) -> std::string"""
1149 return _IMP_npc.XYRadialPositionLowerRestraint___str__(self)
1152 r"""__repr__(XYRadialPositionLowerRestraint self) -> std::string"""
1153 return _IMP_npc.XYRadialPositionLowerRestraint___repr__(self)
1157 return _object_cast_to_XYRadialPositionLowerRestraint(o)
1160 def _get_as_binary(self):
1161 r"""_get_as_binary(XYRadialPositionLowerRestraint self) -> PyObject *"""
1162 return _IMP_npc.XYRadialPositionLowerRestraint__get_as_binary(self)
1164 def _set_from_binary(self, p):
1165 r"""_set_from_binary(XYRadialPositionLowerRestraint self, PyObject * p)"""
1166 return _IMP_npc.XYRadialPositionLowerRestraint__set_from_binary(self, p)
1168 def __getstate__(self):
1169 p = self._get_as_binary()
1170 if len(self.__dict__) > 1:
1171 d = self.__dict__.copy()
1176 def __setstate__(self, p):
1177 if not hasattr(self,
'this'):
1179 if isinstance(p, tuple):
1181 self.__dict__.update(d)
1182 return self._set_from_binary(p)
1186 _IMP_npc.XYRadialPositionLowerRestraint_swigregister(XYRadialPositionLowerRestraint)
1188 r"""Proxy of C++ IMP::npc::XYRadialPositionUpperRestraint class."""
1190 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1192 def __init__(self, *args):
1194 __init__(XYRadialPositionUpperRestraint self, Model m, _SingletonContainerAdaptor sc, double upper_bound, bool consider_radius, double sigma=1) -> XYRadialPositionUpperRestraint
1195 __init__(XYRadialPositionUpperRestraint self, Model m, double upper_bound, bool consider_radius, double sigma=1) -> XYRadialPositionUpperRestraint
1196 __init__(XYRadialPositionUpperRestraint self) -> XYRadialPositionUpperRestraint
1198 _IMP_npc.XYRadialPositionUpperRestraint_swiginit(self, _IMP_npc.new_XYRadialPositionUpperRestraint(*args))
1201 r"""add_particle(XYRadialPositionUpperRestraint self, Particle p)"""
1202 return _IMP_npc.XYRadialPositionUpperRestraint_add_particle(self, p)
1205 r"""add_particles(XYRadialPositionUpperRestraint self, IMP::ParticlesTemp const & ps)"""
1206 return _IMP_npc.XYRadialPositionUpperRestraint_add_particles(self, ps)
1208 def set_particles(self, ps):
1209 r"""set_particles(XYRadialPositionUpperRestraint self, IMP::ParticlesTemp const & ps)"""
1210 return _IMP_npc.XYRadialPositionUpperRestraint_set_particles(self, ps)
1212 def do_get_inputs(self):
1213 r"""do_get_inputs(XYRadialPositionUpperRestraint self) -> IMP::ModelObjectsTemp"""
1214 return _IMP_npc.XYRadialPositionUpperRestraint_do_get_inputs(self)
1216 def get_version_info(self):
1217 r"""get_version_info(XYRadialPositionUpperRestraint self) -> VersionInfo"""
1218 return _IMP_npc.XYRadialPositionUpperRestraint_get_version_info(self)
1219 __swig_destroy__ = _IMP_npc.delete_XYRadialPositionUpperRestraint
1222 r"""__str__(XYRadialPositionUpperRestraint self) -> std::string"""
1223 return _IMP_npc.XYRadialPositionUpperRestraint___str__(self)
1226 r"""__repr__(XYRadialPositionUpperRestraint self) -> std::string"""
1227 return _IMP_npc.XYRadialPositionUpperRestraint___repr__(self)
1231 return _object_cast_to_XYRadialPositionUpperRestraint(o)
1234 def _get_as_binary(self):
1235 r"""_get_as_binary(XYRadialPositionUpperRestraint self) -> PyObject *"""
1236 return _IMP_npc.XYRadialPositionUpperRestraint__get_as_binary(self)
1238 def _set_from_binary(self, p):
1239 r"""_set_from_binary(XYRadialPositionUpperRestraint self, PyObject * p)"""
1240 return _IMP_npc.XYRadialPositionUpperRestraint__set_from_binary(self, p)
1242 def __getstate__(self):
1243 p = self._get_as_binary()
1244 if len(self.__dict__) > 1:
1245 d = self.__dict__.copy()
1250 def __setstate__(self, p):
1251 if not hasattr(self,
'this'):
1253 if isinstance(p, tuple):
1255 self.__dict__.update(d)
1256 return self._set_from_binary(p)
1260 _IMP_npc.XYRadialPositionUpperRestraint_swigregister(XYRadialPositionUpperRestraint)
1262 r"""Proxy of C++ IMP::npc::ProteinContactRestraint class."""
1264 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1266 def __init__(self, *args):
1268 __init__(ProteinContactRestraint self, Model m, _SingletonContainerAdaptor sc, double tolerance_factor, double sigma=0.1) -> ProteinContactRestraint
1269 __init__(ProteinContactRestraint self, Model m, double tolerance_factor, double sigma=0.1) -> ProteinContactRestraint
1270 __init__(ProteinContactRestraint self) -> ProteinContactRestraint
1272 _IMP_npc.ProteinContactRestraint_swiginit(self, _IMP_npc.new_ProteinContactRestraint(*args))
1275 r"""add_particle(ProteinContactRestraint self, Particle p)"""
1276 return _IMP_npc.ProteinContactRestraint_add_particle(self, p)
1279 r"""add_particles(ProteinContactRestraint self, IMP::ParticlesTemp const & ps)"""
1280 return _IMP_npc.ProteinContactRestraint_add_particles(self, ps)
1282 def set_particles(self, ps):
1283 r"""set_particles(ProteinContactRestraint self, IMP::ParticlesTemp const & ps)"""
1284 return _IMP_npc.ProteinContactRestraint_set_particles(self, ps)
1286 def do_get_inputs(self):
1287 r"""do_get_inputs(ProteinContactRestraint self) -> IMP::ModelObjectsTemp"""
1288 return _IMP_npc.ProteinContactRestraint_do_get_inputs(self)
1290 def get_version_info(self):
1291 r"""get_version_info(ProteinContactRestraint self) -> VersionInfo"""
1292 return _IMP_npc.ProteinContactRestraint_get_version_info(self)
1293 __swig_destroy__ = _IMP_npc.delete_ProteinContactRestraint
1296 r"""__str__(ProteinContactRestraint self) -> std::string"""
1297 return _IMP_npc.ProteinContactRestraint___str__(self)
1300 r"""__repr__(ProteinContactRestraint self) -> std::string"""
1301 return _IMP_npc.ProteinContactRestraint___repr__(self)
1305 return _object_cast_to_ProteinContactRestraint(o)
1308 def _get_as_binary(self):
1309 r"""_get_as_binary(ProteinContactRestraint self) -> PyObject *"""
1310 return _IMP_npc.ProteinContactRestraint__get_as_binary(self)
1312 def _set_from_binary(self, p):
1313 r"""_set_from_binary(ProteinContactRestraint self, PyObject * p)"""
1314 return _IMP_npc.ProteinContactRestraint__set_from_binary(self, p)
1316 def __getstate__(self):
1317 p = self._get_as_binary()
1318 if len(self.__dict__) > 1:
1319 d = self.__dict__.copy()
1324 def __setstate__(self, p):
1325 if not hasattr(self,
'this'):
1327 if isinstance(p, tuple):
1329 self.__dict__.update(d)
1330 return self._set_from_binary(p)
1334 _IMP_npc.ProteinContactRestraint_swigregister(ProteinContactRestraint)
1336 r"""Proxy of C++ IMP::npc::ProteinChainRestraint class."""
1338 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1340 def __init__(self, *args):
1342 __init__(ProteinChainRestraint self, Model m, _SingletonContainerAdaptor sc, double sigma=0.1) -> ProteinChainRestraint
1343 __init__(ProteinChainRestraint self, Model m, double sigma=0.1) -> ProteinChainRestraint
1344 __init__(ProteinChainRestraint self) -> ProteinChainRestraint
1346 _IMP_npc.ProteinChainRestraint_swiginit(self, _IMP_npc.new_ProteinChainRestraint(*args))
1349 r"""add_particle(ProteinChainRestraint self, Particle p)"""
1350 return _IMP_npc.ProteinChainRestraint_add_particle(self, p)
1353 r"""add_particles(ProteinChainRestraint self, IMP::ParticlesTemp const & ps)"""
1354 return _IMP_npc.ProteinChainRestraint_add_particles(self, ps)
1356 def set_particles(self, ps):
1357 r"""set_particles(ProteinChainRestraint self, IMP::ParticlesTemp const & ps)"""
1358 return _IMP_npc.ProteinChainRestraint_set_particles(self, ps)
1360 def do_get_inputs(self):
1361 r"""do_get_inputs(ProteinChainRestraint self) -> IMP::ModelObjectsTemp"""
1362 return _IMP_npc.ProteinChainRestraint_do_get_inputs(self)
1364 def get_version_info(self):
1365 r"""get_version_info(ProteinChainRestraint self) -> VersionInfo"""
1366 return _IMP_npc.ProteinChainRestraint_get_version_info(self)
1367 __swig_destroy__ = _IMP_npc.delete_ProteinChainRestraint
1370 r"""__str__(ProteinChainRestraint self) -> std::string"""
1371 return _IMP_npc.ProteinChainRestraint___str__(self)
1374 r"""__repr__(ProteinChainRestraint self) -> std::string"""
1375 return _IMP_npc.ProteinChainRestraint___repr__(self)
1379 return _object_cast_to_ProteinChainRestraint(o)
1382 def _get_as_binary(self):
1383 r"""_get_as_binary(ProteinChainRestraint self) -> PyObject *"""
1384 return _IMP_npc.ProteinChainRestraint__get_as_binary(self)
1386 def _set_from_binary(self, p):
1387 r"""_set_from_binary(ProteinChainRestraint self, PyObject * p)"""
1388 return _IMP_npc.ProteinChainRestraint__set_from_binary(self, p)
1390 def __getstate__(self):
1391 p = self._get_as_binary()
1392 if len(self.__dict__) > 1:
1393 d = self.__dict__.copy()
1398 def __setstate__(self, p):
1399 if not hasattr(self,
'this'):
1401 if isinstance(p, tuple):
1403 self.__dict__.update(d)
1404 return self._set_from_binary(p)
1408 _IMP_npc.ProteinChainRestraint_swigregister(ProteinChainRestraint)
1410 r"""Proxy of C++ IMP::npc::MembraneSurfaceLocationRestraint class."""
1412 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1414 def __init__(self, *args):
1416 __init__(MembraneSurfaceLocationRestraint self, Model m, _SingletonContainerAdaptor sc, double R, double r, double thickness, double sigma=2) -> MembraneSurfaceLocationRestraint
1417 __init__(MembraneSurfaceLocationRestraint self, Model m, double R, double r, double thickness, double sigma=2) -> MembraneSurfaceLocationRestraint
1418 __init__(MembraneSurfaceLocationRestraint self) -> MembraneSurfaceLocationRestraint
1420 _IMP_npc.MembraneSurfaceLocationRestraint_swiginit(self, _IMP_npc.new_MembraneSurfaceLocationRestraint(*args))
1423 r"""add_particle(MembraneSurfaceLocationRestraint self, Particle p)"""
1424 return _IMP_npc.MembraneSurfaceLocationRestraint_add_particle(self, p)
1427 r"""add_particles(MembraneSurfaceLocationRestraint self, IMP::ParticlesTemp const & ps)"""
1428 return _IMP_npc.MembraneSurfaceLocationRestraint_add_particles(self, ps)
1430 def set_particles(self, ps):
1431 r"""set_particles(MembraneSurfaceLocationRestraint self, IMP::ParticlesTemp const & ps)"""
1432 return _IMP_npc.MembraneSurfaceLocationRestraint_set_particles(self, ps)
1434 def do_get_inputs(self):
1435 r"""do_get_inputs(MembraneSurfaceLocationRestraint self) -> IMP::ModelObjectsTemp"""
1436 return _IMP_npc.MembraneSurfaceLocationRestraint_do_get_inputs(self)
1438 def get_version_info(self):
1439 r"""get_version_info(MembraneSurfaceLocationRestraint self) -> VersionInfo"""
1440 return _IMP_npc.MembraneSurfaceLocationRestraint_get_version_info(self)
1441 __swig_destroy__ = _IMP_npc.delete_MembraneSurfaceLocationRestraint
1444 r"""__str__(MembraneSurfaceLocationRestraint self) -> std::string"""
1445 return _IMP_npc.MembraneSurfaceLocationRestraint___str__(self)
1448 r"""__repr__(MembraneSurfaceLocationRestraint self) -> std::string"""
1449 return _IMP_npc.MembraneSurfaceLocationRestraint___repr__(self)
1453 return _object_cast_to_MembraneSurfaceLocationRestraint(o)
1456 def _get_as_binary(self):
1457 r"""_get_as_binary(MembraneSurfaceLocationRestraint self) -> PyObject *"""
1458 return _IMP_npc.MembraneSurfaceLocationRestraint__get_as_binary(self)
1460 def _set_from_binary(self, p):
1461 r"""_set_from_binary(MembraneSurfaceLocationRestraint self, PyObject * p)"""
1462 return _IMP_npc.MembraneSurfaceLocationRestraint__set_from_binary(self, p)
1464 def __getstate__(self):
1465 p = self._get_as_binary()
1466 if len(self.__dict__) > 1:
1467 d = self.__dict__.copy()
1472 def __setstate__(self, p):
1473 if not hasattr(self,
'this'):
1475 if isinstance(p, tuple):
1477 self.__dict__.update(d)
1478 return self._set_from_binary(p)
1482 _IMP_npc.MembraneSurfaceLocationRestraint_swigregister(MembraneSurfaceLocationRestraint)
1483 class MembraneSurfaceLocationConditionalRestraint(
IMP.Restraint):
1484 r"""Proxy of C++ IMP::npc::MembraneSurfaceLocationConditionalRestraint class."""
1486 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1488 def __init__(self, *args):
1490 __init__(MembraneSurfaceLocationConditionalRestraint self, Model m, _SingletonContainerAdaptor sc1, _SingletonContainerAdaptor sc2, double R, double r, double thickness, double sigma=2) -> MembraneSurfaceLocationConditionalRestraint
1491 __init__(MembraneSurfaceLocationConditionalRestraint self, Model m, double R, double r, double thickness, double sigma=2) -> MembraneSurfaceLocationConditionalRestraint
1492 __init__(MembraneSurfaceLocationConditionalRestraint self) -> MembraneSurfaceLocationConditionalRestraint
1494 _IMP_npc.MembraneSurfaceLocationConditionalRestraint_swiginit(self, _IMP_npc.new_MembraneSurfaceLocationConditionalRestraint(*args))
1496 def add_particle1(self, p):
1497 r"""add_particle1(MembraneSurfaceLocationConditionalRestraint self, Particle p)"""
1498 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_add_particle1(self, p)
1500 def add_particle2(self, p):
1501 r"""add_particle2(MembraneSurfaceLocationConditionalRestraint self, Particle p)"""
1502 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_add_particle2(self, p)
1504 def add_particles1(self, ps):
1505 r"""add_particles1(MembraneSurfaceLocationConditionalRestraint self, IMP::ParticlesTemp const & ps)"""
1506 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_add_particles1(self, ps)
1508 def add_particles2(self, ps):
1509 r"""add_particles2(MembraneSurfaceLocationConditionalRestraint self, IMP::ParticlesTemp const & ps)"""
1510 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_add_particles2(self, ps)
1512 def set_particles1(self, ps):
1513 r"""set_particles1(MembraneSurfaceLocationConditionalRestraint self, IMP::ParticlesTemp const & ps)"""
1514 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_set_particles1(self, ps)
1516 def set_particles2(self, ps):
1517 r"""set_particles2(MembraneSurfaceLocationConditionalRestraint self, IMP::ParticlesTemp const & ps)"""
1518 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_set_particles2(self, ps)
1520 def do_get_inputs(self):
1521 r"""do_get_inputs(MembraneSurfaceLocationConditionalRestraint self) -> IMP::ModelObjectsTemp"""
1522 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_do_get_inputs(self)
1524 def get_version_info(self):
1525 r"""get_version_info(MembraneSurfaceLocationConditionalRestraint self) -> VersionInfo"""
1526 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_get_version_info(self)
1527 __swig_destroy__ = _IMP_npc.delete_MembraneSurfaceLocationConditionalRestraint
1530 r"""__str__(MembraneSurfaceLocationConditionalRestraint self) -> std::string"""
1531 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint___str__(self)
1534 r"""__repr__(MembraneSurfaceLocationConditionalRestraint self) -> std::string"""
1535 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint___repr__(self)
1539 return _object_cast_to_MembraneSurfaceLocationConditionalRestraint(o)
1542 def _get_as_binary(self):
1543 r"""_get_as_binary(MembraneSurfaceLocationConditionalRestraint self) -> PyObject *"""
1544 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint__get_as_binary(self)
1546 def _set_from_binary(self, p):
1547 r"""_set_from_binary(MembraneSurfaceLocationConditionalRestraint self, PyObject * p)"""
1548 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint__set_from_binary(self, p)
1550 def __getstate__(self):
1551 p = self._get_as_binary()
1552 if len(self.__dict__) > 1:
1553 d = self.__dict__.copy()
1558 def __setstate__(self, p):
1559 if not hasattr(self,
'this'):
1561 if isinstance(p, tuple):
1563 self.__dict__.update(d)
1564 return self._set_from_binary(p)
1568 _IMP_npc.MembraneSurfaceLocationConditionalRestraint_swigregister(MembraneSurfaceLocationConditionalRestraint)
1570 r"""Proxy of C++ IMP::npc::MembraneExclusionRestraint class."""
1572 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1574 def __init__(self, *args):
1576 __init__(MembraneExclusionRestraint self, Model m, _SingletonContainerAdaptor sc, double R, double r, double thickness, double sigma=2) -> MembraneExclusionRestraint
1577 __init__(MembraneExclusionRestraint self, Model m, double R, double r, double thickness, double sigma=2) -> MembraneExclusionRestraint
1578 __init__(MembraneExclusionRestraint self) -> MembraneExclusionRestraint
1580 _IMP_npc.MembraneExclusionRestraint_swiginit(self, _IMP_npc.new_MembraneExclusionRestraint(*args))
1583 r"""add_particle(MembraneExclusionRestraint self, Particle p)"""
1584 return _IMP_npc.MembraneExclusionRestraint_add_particle(self, p)
1587 r"""add_particles(MembraneExclusionRestraint self, IMP::ParticlesTemp const & ps)"""
1588 return _IMP_npc.MembraneExclusionRestraint_add_particles(self, ps)
1590 def set_particles(self, ps):
1591 r"""set_particles(MembraneExclusionRestraint self, IMP::ParticlesTemp const & ps)"""
1592 return _IMP_npc.MembraneExclusionRestraint_set_particles(self, ps)
1594 def do_get_inputs(self):
1595 r"""do_get_inputs(MembraneExclusionRestraint self) -> IMP::ModelObjectsTemp"""
1596 return _IMP_npc.MembraneExclusionRestraint_do_get_inputs(self)
1598 def get_version_info(self):
1599 r"""get_version_info(MembraneExclusionRestraint self) -> VersionInfo"""
1600 return _IMP_npc.MembraneExclusionRestraint_get_version_info(self)
1601 __swig_destroy__ = _IMP_npc.delete_MembraneExclusionRestraint
1604 r"""__str__(MembraneExclusionRestraint self) -> std::string"""
1605 return _IMP_npc.MembraneExclusionRestraint___str__(self)
1608 r"""__repr__(MembraneExclusionRestraint self) -> std::string"""
1609 return _IMP_npc.MembraneExclusionRestraint___repr__(self)
1613 return _object_cast_to_MembraneExclusionRestraint(o)
1616 def _get_as_binary(self):
1617 r"""_get_as_binary(MembraneExclusionRestraint self) -> PyObject *"""
1618 return _IMP_npc.MembraneExclusionRestraint__get_as_binary(self)
1620 def _set_from_binary(self, p):
1621 r"""_set_from_binary(MembraneExclusionRestraint self, PyObject * p)"""
1622 return _IMP_npc.MembraneExclusionRestraint__set_from_binary(self, p)
1624 def __getstate__(self):
1625 p = self._get_as_binary()
1626 if len(self.__dict__) > 1:
1627 d = self.__dict__.copy()
1632 def __setstate__(self, p):
1633 if not hasattr(self,
'this'):
1635 if isinstance(p, tuple):
1637 self.__dict__.update(d)
1638 return self._set_from_binary(p)
1642 _IMP_npc.MembraneExclusionRestraint_swigregister(MembraneExclusionRestraint)
1644 r"""Proxy of C++ IMP::npc::PoreSideVolumeLocationRestraint class."""
1646 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1648 def __init__(self, *args):
1650 __init__(PoreSideVolumeLocationRestraint self, Model m, _SingletonContainerAdaptor sc, double R, double r, double thickness, bool consider_radius, double sigma=2) -> PoreSideVolumeLocationRestraint
1651 __init__(PoreSideVolumeLocationRestraint self, Model m, double R, double r, double thickness, bool consider_radius, double sigma=2) -> PoreSideVolumeLocationRestraint
1652 __init__(PoreSideVolumeLocationRestraint self) -> PoreSideVolumeLocationRestraint
1654 _IMP_npc.PoreSideVolumeLocationRestraint_swiginit(self, _IMP_npc.new_PoreSideVolumeLocationRestraint(*args))
1657 r"""add_particle(PoreSideVolumeLocationRestraint self, Particle p)"""
1658 return _IMP_npc.PoreSideVolumeLocationRestraint_add_particle(self, p)
1661 r"""add_particles(PoreSideVolumeLocationRestraint self, IMP::ParticlesTemp const & ps)"""
1662 return _IMP_npc.PoreSideVolumeLocationRestraint_add_particles(self, ps)
1664 def set_particles(self, ps):
1665 r"""set_particles(PoreSideVolumeLocationRestraint self, IMP::ParticlesTemp const & ps)"""
1666 return _IMP_npc.PoreSideVolumeLocationRestraint_set_particles(self, ps)
1668 def do_get_inputs(self):
1669 r"""do_get_inputs(PoreSideVolumeLocationRestraint self) -> IMP::ModelObjectsTemp"""
1670 return _IMP_npc.PoreSideVolumeLocationRestraint_do_get_inputs(self)
1672 def get_version_info(self):
1673 r"""get_version_info(PoreSideVolumeLocationRestraint self) -> VersionInfo"""
1674 return _IMP_npc.PoreSideVolumeLocationRestraint_get_version_info(self)
1675 __swig_destroy__ = _IMP_npc.delete_PoreSideVolumeLocationRestraint
1678 r"""__str__(PoreSideVolumeLocationRestraint self) -> std::string"""
1679 return _IMP_npc.PoreSideVolumeLocationRestraint___str__(self)
1682 r"""__repr__(PoreSideVolumeLocationRestraint self) -> std::string"""
1683 return _IMP_npc.PoreSideVolumeLocationRestraint___repr__(self)
1687 return _object_cast_to_PoreSideVolumeLocationRestraint(o)
1690 def _get_as_binary(self):
1691 r"""_get_as_binary(PoreSideVolumeLocationRestraint self) -> PyObject *"""
1692 return _IMP_npc.PoreSideVolumeLocationRestraint__get_as_binary(self)
1694 def _set_from_binary(self, p):
1695 r"""_set_from_binary(PoreSideVolumeLocationRestraint self, PyObject * p)"""
1696 return _IMP_npc.PoreSideVolumeLocationRestraint__set_from_binary(self, p)
1698 def __getstate__(self):
1699 p = self._get_as_binary()
1700 if len(self.__dict__) > 1:
1701 d = self.__dict__.copy()
1706 def __setstate__(self, p):
1707 if not hasattr(self,
'this'):
1709 if isinstance(p, tuple):
1711 self.__dict__.update(d)
1712 return self._set_from_binary(p)
1716 _IMP_npc.PoreSideVolumeLocationRestraint_swigregister(PoreSideVolumeLocationRestraint)
1718 r"""Proxy of C++ IMP::npc::PerinuclearVolumeLocationRestraint class."""
1720 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1722 def __init__(self, *args):
1724 __init__(PerinuclearVolumeLocationRestraint self, Model m, _SingletonContainerAdaptor sc, double R, double r, double thickness, bool consider_radius, double sigma=2) -> PerinuclearVolumeLocationRestraint
1725 __init__(PerinuclearVolumeLocationRestraint self, Model m, double R, double r, double thickness, bool consider_radius, double sigma=2) -> PerinuclearVolumeLocationRestraint
1726 __init__(PerinuclearVolumeLocationRestraint self) -> PerinuclearVolumeLocationRestraint
1728 _IMP_npc.PerinuclearVolumeLocationRestraint_swiginit(self, _IMP_npc.new_PerinuclearVolumeLocationRestraint(*args))
1731 r"""add_particle(PerinuclearVolumeLocationRestraint self, Particle p)"""
1732 return _IMP_npc.PerinuclearVolumeLocationRestraint_add_particle(self, p)
1735 r"""add_particles(PerinuclearVolumeLocationRestraint self, IMP::ParticlesTemp const & ps)"""
1736 return _IMP_npc.PerinuclearVolumeLocationRestraint_add_particles(self, ps)
1738 def set_particles(self, ps):
1739 r"""set_particles(PerinuclearVolumeLocationRestraint self, IMP::ParticlesTemp const & ps)"""
1740 return _IMP_npc.PerinuclearVolumeLocationRestraint_set_particles(self, ps)
1742 def do_get_inputs(self):
1743 r"""do_get_inputs(PerinuclearVolumeLocationRestraint self) -> IMP::ModelObjectsTemp"""
1744 return _IMP_npc.PerinuclearVolumeLocationRestraint_do_get_inputs(self)
1746 def get_version_info(self):
1747 r"""get_version_info(PerinuclearVolumeLocationRestraint self) -> VersionInfo"""
1748 return _IMP_npc.PerinuclearVolumeLocationRestraint_get_version_info(self)
1749 __swig_destroy__ = _IMP_npc.delete_PerinuclearVolumeLocationRestraint
1752 r"""__str__(PerinuclearVolumeLocationRestraint self) -> std::string"""
1753 return _IMP_npc.PerinuclearVolumeLocationRestraint___str__(self)
1756 r"""__repr__(PerinuclearVolumeLocationRestraint self) -> std::string"""
1757 return _IMP_npc.PerinuclearVolumeLocationRestraint___repr__(self)
1761 return _object_cast_to_PerinuclearVolumeLocationRestraint(o)
1764 def _get_as_binary(self):
1765 r"""_get_as_binary(PerinuclearVolumeLocationRestraint self) -> PyObject *"""
1766 return _IMP_npc.PerinuclearVolumeLocationRestraint__get_as_binary(self)
1768 def _set_from_binary(self, p):
1769 r"""_set_from_binary(PerinuclearVolumeLocationRestraint self, PyObject * p)"""
1770 return _IMP_npc.PerinuclearVolumeLocationRestraint__set_from_binary(self, p)
1772 def __getstate__(self):
1773 p = self._get_as_binary()
1774 if len(self.__dict__) > 1:
1775 d = self.__dict__.copy()
1780 def __setstate__(self, p):
1781 if not hasattr(self,
'this'):
1783 if isinstance(p, tuple):
1785 self.__dict__.update(d)
1786 return self._set_from_binary(p)
1790 _IMP_npc.PerinuclearVolumeLocationRestraint_swigregister(PerinuclearVolumeLocationRestraint)
1792 r"""Proxy of C++ IMP::npc::AssemblySymmetryByDistanceRestraint class."""
1794 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1796 def __init__(self, *args):
1798 __init__(AssemblySymmetryByDistanceRestraint self, Model m, _SingletonContainerAdaptor sc, double sigma=4) -> AssemblySymmetryByDistanceRestraint
1799 __init__(AssemblySymmetryByDistanceRestraint self, Model m, double sigma=4) -> AssemblySymmetryByDistanceRestraint
1800 __init__(AssemblySymmetryByDistanceRestraint self) -> AssemblySymmetryByDistanceRestraint
1802 _IMP_npc.AssemblySymmetryByDistanceRestraint_swiginit(self, _IMP_npc.new_AssemblySymmetryByDistanceRestraint(*args))
1805 r"""add_particle(AssemblySymmetryByDistanceRestraint self, Particle p)"""
1806 return _IMP_npc.AssemblySymmetryByDistanceRestraint_add_particle(self, p)
1809 r"""add_particles(AssemblySymmetryByDistanceRestraint self, IMP::ParticlesTemp const & ps)"""
1810 return _IMP_npc.AssemblySymmetryByDistanceRestraint_add_particles(self, ps)
1812 def set_particles(self, ps):
1813 r"""set_particles(AssemblySymmetryByDistanceRestraint self, IMP::ParticlesTemp const & ps)"""
1814 return _IMP_npc.AssemblySymmetryByDistanceRestraint_set_particles(self, ps)
1816 def do_get_inputs(self):
1817 r"""do_get_inputs(AssemblySymmetryByDistanceRestraint self) -> IMP::ModelObjectsTemp"""
1818 return _IMP_npc.AssemblySymmetryByDistanceRestraint_do_get_inputs(self)
1820 def get_version_info(self):
1821 r"""get_version_info(AssemblySymmetryByDistanceRestraint self) -> VersionInfo"""
1822 return _IMP_npc.AssemblySymmetryByDistanceRestraint_get_version_info(self)
1823 __swig_destroy__ = _IMP_npc.delete_AssemblySymmetryByDistanceRestraint
1826 r"""__str__(AssemblySymmetryByDistanceRestraint self) -> std::string"""
1827 return _IMP_npc.AssemblySymmetryByDistanceRestraint___str__(self)
1830 r"""__repr__(AssemblySymmetryByDistanceRestraint self) -> std::string"""
1831 return _IMP_npc.AssemblySymmetryByDistanceRestraint___repr__(self)
1835 return _object_cast_to_AssemblySymmetryByDistanceRestraint(o)
1838 def _get_as_binary(self):
1839 r"""_get_as_binary(AssemblySymmetryByDistanceRestraint self) -> PyObject *"""
1840 return _IMP_npc.AssemblySymmetryByDistanceRestraint__get_as_binary(self)
1842 def _set_from_binary(self, p):
1843 r"""_set_from_binary(AssemblySymmetryByDistanceRestraint self, PyObject * p)"""
1844 return _IMP_npc.AssemblySymmetryByDistanceRestraint__set_from_binary(self, p)
1846 def __getstate__(self):
1847 p = self._get_as_binary()
1848 if len(self.__dict__) > 1:
1849 d = self.__dict__.copy()
1854 def __setstate__(self, p):
1855 if not hasattr(self,
'this'):
1857 if isinstance(p, tuple):
1859 self.__dict__.update(d)
1860 return self._set_from_binary(p)
1864 _IMP_npc.AssemblySymmetryByDistanceRestraint_swigregister(AssemblySymmetryByDistanceRestraint)
1866 r"""Proxy of C++ IMP::npc::AssemblySymmetryByDihedralRestraint class."""
1868 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1870 def __init__(self, *args):
1872 __init__(AssemblySymmetryByDihedralRestraint self, Model m, _SingletonContainerAdaptor sc, double sigma=0.1) -> AssemblySymmetryByDihedralRestraint
1873 __init__(AssemblySymmetryByDihedralRestraint self, Model m, double sigma=0.1) -> AssemblySymmetryByDihedralRestraint
1874 __init__(AssemblySymmetryByDihedralRestraint self) -> AssemblySymmetryByDihedralRestraint
1876 _IMP_npc.AssemblySymmetryByDihedralRestraint_swiginit(self, _IMP_npc.new_AssemblySymmetryByDihedralRestraint(*args))
1879 r"""add_particle(AssemblySymmetryByDihedralRestraint self, Particle p)"""
1880 return _IMP_npc.AssemblySymmetryByDihedralRestraint_add_particle(self, p)
1883 r"""add_particles(AssemblySymmetryByDihedralRestraint self, IMP::ParticlesTemp const & ps)"""
1884 return _IMP_npc.AssemblySymmetryByDihedralRestraint_add_particles(self, ps)
1886 def set_particles(self, ps):
1887 r"""set_particles(AssemblySymmetryByDihedralRestraint self, IMP::ParticlesTemp const & ps)"""
1888 return _IMP_npc.AssemblySymmetryByDihedralRestraint_set_particles(self, ps)
1890 def do_get_inputs(self):
1891 r"""do_get_inputs(AssemblySymmetryByDihedralRestraint self) -> IMP::ModelObjectsTemp"""
1892 return _IMP_npc.AssemblySymmetryByDihedralRestraint_do_get_inputs(self)
1894 def get_version_info(self):
1895 r"""get_version_info(AssemblySymmetryByDihedralRestraint self) -> VersionInfo"""
1896 return _IMP_npc.AssemblySymmetryByDihedralRestraint_get_version_info(self)
1897 __swig_destroy__ = _IMP_npc.delete_AssemblySymmetryByDihedralRestraint
1900 r"""__str__(AssemblySymmetryByDihedralRestraint self) -> std::string"""
1901 return _IMP_npc.AssemblySymmetryByDihedralRestraint___str__(self)
1904 r"""__repr__(AssemblySymmetryByDihedralRestraint self) -> std::string"""
1905 return _IMP_npc.AssemblySymmetryByDihedralRestraint___repr__(self)
1909 return _object_cast_to_AssemblySymmetryByDihedralRestraint(o)
1912 def _get_as_binary(self):
1913 r"""_get_as_binary(AssemblySymmetryByDihedralRestraint self) -> PyObject *"""
1914 return _IMP_npc.AssemblySymmetryByDihedralRestraint__get_as_binary(self)
1916 def _set_from_binary(self, p):
1917 r"""_set_from_binary(AssemblySymmetryByDihedralRestraint self, PyObject * p)"""
1918 return _IMP_npc.AssemblySymmetryByDihedralRestraint__set_from_binary(self, p)
1920 def __getstate__(self):
1921 p = self._get_as_binary()
1922 if len(self.__dict__) > 1:
1923 d = self.__dict__.copy()
1928 def __setstate__(self, p):
1929 if not hasattr(self,
'this'):
1931 if isinstance(p, tuple):
1933 self.__dict__.update(d)
1934 return self._set_from_binary(p)
1938 _IMP_npc.AssemblySymmetryByDihedralRestraint_swigregister(AssemblySymmetryByDihedralRestraint)
1940 r"""Proxy of C++ IMP::npc::ProteinProximityRestraint class."""
1942 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
1944 def __init__(self, *args):
1946 __init__(ProteinProximityRestraint self, Model m, _SingletonContainerAdaptor sc, double max_dist, double sigma=0.1) -> ProteinProximityRestraint
1947 __init__(ProteinProximityRestraint self, Model m, double max_dist, double sigma=0.1) -> ProteinProximityRestraint
1948 __init__(ProteinProximityRestraint self) -> ProteinProximityRestraint
1950 _IMP_npc.ProteinProximityRestraint_swiginit(self, _IMP_npc.new_ProteinProximityRestraint(*args))
1953 r"""add_particle(ProteinProximityRestraint self, Particle p)"""
1954 return _IMP_npc.ProteinProximityRestraint_add_particle(self, p)
1957 r"""add_particles(ProteinProximityRestraint self, IMP::ParticlesTemp const & ps)"""
1958 return _IMP_npc.ProteinProximityRestraint_add_particles(self, ps)
1960 def set_particles(self, ps):
1961 r"""set_particles(ProteinProximityRestraint self, IMP::ParticlesTemp const & ps)"""
1962 return _IMP_npc.ProteinProximityRestraint_set_particles(self, ps)
1964 def do_get_inputs(self):
1965 r"""do_get_inputs(ProteinProximityRestraint self) -> IMP::ModelObjectsTemp"""
1966 return _IMP_npc.ProteinProximityRestraint_do_get_inputs(self)
1968 def get_version_info(self):
1969 r"""get_version_info(ProteinProximityRestraint self) -> VersionInfo"""
1970 return _IMP_npc.ProteinProximityRestraint_get_version_info(self)
1971 __swig_destroy__ = _IMP_npc.delete_ProteinProximityRestraint
1974 r"""__str__(ProteinProximityRestraint self) -> std::string"""
1975 return _IMP_npc.ProteinProximityRestraint___str__(self)
1978 r"""__repr__(ProteinProximityRestraint self) -> std::string"""
1979 return _IMP_npc.ProteinProximityRestraint___repr__(self)
1983 return _object_cast_to_ProteinProximityRestraint(o)
1986 def _get_as_binary(self):
1987 r"""_get_as_binary(ProteinProximityRestraint self) -> PyObject *"""
1988 return _IMP_npc.ProteinProximityRestraint__get_as_binary(self)
1990 def _set_from_binary(self, p):
1991 r"""_set_from_binary(ProteinProximityRestraint self, PyObject * p)"""
1992 return _IMP_npc.ProteinProximityRestraint__set_from_binary(self, p)
1994 def __getstate__(self):
1995 p = self._get_as_binary()
1996 if len(self.__dict__) > 1:
1997 d = self.__dict__.copy()
2002 def __setstate__(self, p):
2003 if not hasattr(self,
'this'):
2005 if isinstance(p, tuple):
2007 self.__dict__.update(d)
2008 return self._set_from_binary(p)
2012 _IMP_npc.ProteinProximityRestraint_swigregister(ProteinProximityRestraint)
2014 r"""Proxy of C++ IMP::npc::XAxialPositionRestraint class."""
2016 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2018 def __init__(self, *args):
2020 __init__(XAxialPositionRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, double upper_bound, bool consider_radius, double sigma=1) -> XAxialPositionRestraint
2021 __init__(XAxialPositionRestraint self, Model m, double lower_bound, double upper_bound, bool consider_radius, double sigma=1) -> XAxialPositionRestraint
2022 __init__(XAxialPositionRestraint self) -> XAxialPositionRestraint
2024 _IMP_npc.XAxialPositionRestraint_swiginit(self, _IMP_npc.new_XAxialPositionRestraint(*args))
2027 r"""add_particle(XAxialPositionRestraint self, Particle p)"""
2028 return _IMP_npc.XAxialPositionRestraint_add_particle(self, p)
2031 r"""add_particles(XAxialPositionRestraint self, IMP::ParticlesTemp const & ps)"""
2032 return _IMP_npc.XAxialPositionRestraint_add_particles(self, ps)
2034 def set_particles(self, ps):
2035 r"""set_particles(XAxialPositionRestraint self, IMP::ParticlesTemp const & ps)"""
2036 return _IMP_npc.XAxialPositionRestraint_set_particles(self, ps)
2038 def do_get_inputs(self):
2039 r"""do_get_inputs(XAxialPositionRestraint self) -> IMP::ModelObjectsTemp"""
2040 return _IMP_npc.XAxialPositionRestraint_do_get_inputs(self)
2042 def get_version_info(self):
2043 r"""get_version_info(XAxialPositionRestraint self) -> VersionInfo"""
2044 return _IMP_npc.XAxialPositionRestraint_get_version_info(self)
2045 __swig_destroy__ = _IMP_npc.delete_XAxialPositionRestraint
2048 r"""__str__(XAxialPositionRestraint self) -> std::string"""
2049 return _IMP_npc.XAxialPositionRestraint___str__(self)
2052 r"""__repr__(XAxialPositionRestraint self) -> std::string"""
2053 return _IMP_npc.XAxialPositionRestraint___repr__(self)
2057 return _object_cast_to_XAxialPositionRestraint(o)
2060 def _get_as_binary(self):
2061 r"""_get_as_binary(XAxialPositionRestraint self) -> PyObject *"""
2062 return _IMP_npc.XAxialPositionRestraint__get_as_binary(self)
2064 def _set_from_binary(self, p):
2065 r"""_set_from_binary(XAxialPositionRestraint self, PyObject * p)"""
2066 return _IMP_npc.XAxialPositionRestraint__set_from_binary(self, p)
2068 def __getstate__(self):
2069 p = self._get_as_binary()
2070 if len(self.__dict__) > 1:
2071 d = self.__dict__.copy()
2076 def __setstate__(self, p):
2077 if not hasattr(self,
'this'):
2079 if isinstance(p, tuple):
2081 self.__dict__.update(d)
2082 return self._set_from_binary(p)
2086 _IMP_npc.XAxialPositionRestraint_swigregister(XAxialPositionRestraint)
2088 r"""Proxy of C++ IMP::npc::XAxialPositionLowerRestraint class."""
2090 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2092 def __init__(self, *args):
2094 __init__(XAxialPositionLowerRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, bool consider_radius, double sigma=1) -> XAxialPositionLowerRestraint
2095 __init__(XAxialPositionLowerRestraint self, Model m, double lower_bound, bool consider_radius, double sigma=1) -> XAxialPositionLowerRestraint
2096 __init__(XAxialPositionLowerRestraint self) -> XAxialPositionLowerRestraint
2098 _IMP_npc.XAxialPositionLowerRestraint_swiginit(self, _IMP_npc.new_XAxialPositionLowerRestraint(*args))
2101 r"""add_particle(XAxialPositionLowerRestraint self, Particle p)"""
2102 return _IMP_npc.XAxialPositionLowerRestraint_add_particle(self, p)
2105 r"""add_particles(XAxialPositionLowerRestraint self, IMP::ParticlesTemp const & ps)"""
2106 return _IMP_npc.XAxialPositionLowerRestraint_add_particles(self, ps)
2108 def set_particles(self, ps):
2109 r"""set_particles(XAxialPositionLowerRestraint self, IMP::ParticlesTemp const & ps)"""
2110 return _IMP_npc.XAxialPositionLowerRestraint_set_particles(self, ps)
2112 def do_get_inputs(self):
2113 r"""do_get_inputs(XAxialPositionLowerRestraint self) -> IMP::ModelObjectsTemp"""
2114 return _IMP_npc.XAxialPositionLowerRestraint_do_get_inputs(self)
2116 def get_version_info(self):
2117 r"""get_version_info(XAxialPositionLowerRestraint self) -> VersionInfo"""
2118 return _IMP_npc.XAxialPositionLowerRestraint_get_version_info(self)
2119 __swig_destroy__ = _IMP_npc.delete_XAxialPositionLowerRestraint
2122 r"""__str__(XAxialPositionLowerRestraint self) -> std::string"""
2123 return _IMP_npc.XAxialPositionLowerRestraint___str__(self)
2126 r"""__repr__(XAxialPositionLowerRestraint self) -> std::string"""
2127 return _IMP_npc.XAxialPositionLowerRestraint___repr__(self)
2131 return _object_cast_to_XAxialPositionLowerRestraint(o)
2134 def _get_as_binary(self):
2135 r"""_get_as_binary(XAxialPositionLowerRestraint self) -> PyObject *"""
2136 return _IMP_npc.XAxialPositionLowerRestraint__get_as_binary(self)
2138 def _set_from_binary(self, p):
2139 r"""_set_from_binary(XAxialPositionLowerRestraint self, PyObject * p)"""
2140 return _IMP_npc.XAxialPositionLowerRestraint__set_from_binary(self, p)
2142 def __getstate__(self):
2143 p = self._get_as_binary()
2144 if len(self.__dict__) > 1:
2145 d = self.__dict__.copy()
2150 def __setstate__(self, p):
2151 if not hasattr(self,
'this'):
2153 if isinstance(p, tuple):
2155 self.__dict__.update(d)
2156 return self._set_from_binary(p)
2160 _IMP_npc.XAxialPositionLowerRestraint_swigregister(XAxialPositionLowerRestraint)
2162 r"""Proxy of C++ IMP::npc::XAxialPositionUpperRestraint class."""
2164 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2166 def __init__(self, *args):
2168 __init__(XAxialPositionUpperRestraint self, Model m, _SingletonContainerAdaptor sc, double upper_bound, bool consider_radius, double sigma=1) -> XAxialPositionUpperRestraint
2169 __init__(XAxialPositionUpperRestraint self, Model m, double upper_bound, bool consider_radius, double sigma=1) -> XAxialPositionUpperRestraint
2170 __init__(XAxialPositionUpperRestraint self) -> XAxialPositionUpperRestraint
2172 _IMP_npc.XAxialPositionUpperRestraint_swiginit(self, _IMP_npc.new_XAxialPositionUpperRestraint(*args))
2175 r"""add_particle(XAxialPositionUpperRestraint self, Particle p)"""
2176 return _IMP_npc.XAxialPositionUpperRestraint_add_particle(self, p)
2179 r"""add_particles(XAxialPositionUpperRestraint self, IMP::ParticlesTemp const & ps)"""
2180 return _IMP_npc.XAxialPositionUpperRestraint_add_particles(self, ps)
2182 def set_particles(self, ps):
2183 r"""set_particles(XAxialPositionUpperRestraint self, IMP::ParticlesTemp const & ps)"""
2184 return _IMP_npc.XAxialPositionUpperRestraint_set_particles(self, ps)
2186 def do_get_inputs(self):
2187 r"""do_get_inputs(XAxialPositionUpperRestraint self) -> IMP::ModelObjectsTemp"""
2188 return _IMP_npc.XAxialPositionUpperRestraint_do_get_inputs(self)
2190 def get_version_info(self):
2191 r"""get_version_info(XAxialPositionUpperRestraint self) -> VersionInfo"""
2192 return _IMP_npc.XAxialPositionUpperRestraint_get_version_info(self)
2193 __swig_destroy__ = _IMP_npc.delete_XAxialPositionUpperRestraint
2196 r"""__str__(XAxialPositionUpperRestraint self) -> std::string"""
2197 return _IMP_npc.XAxialPositionUpperRestraint___str__(self)
2200 r"""__repr__(XAxialPositionUpperRestraint self) -> std::string"""
2201 return _IMP_npc.XAxialPositionUpperRestraint___repr__(self)
2205 return _object_cast_to_XAxialPositionUpperRestraint(o)
2208 def _get_as_binary(self):
2209 r"""_get_as_binary(XAxialPositionUpperRestraint self) -> PyObject *"""
2210 return _IMP_npc.XAxialPositionUpperRestraint__get_as_binary(self)
2212 def _set_from_binary(self, p):
2213 r"""_set_from_binary(XAxialPositionUpperRestraint self, PyObject * p)"""
2214 return _IMP_npc.XAxialPositionUpperRestraint__set_from_binary(self, p)
2216 def __getstate__(self):
2217 p = self._get_as_binary()
2218 if len(self.__dict__) > 1:
2219 d = self.__dict__.copy()
2224 def __setstate__(self, p):
2225 if not hasattr(self,
'this'):
2227 if isinstance(p, tuple):
2229 self.__dict__.update(d)
2230 return self._set_from_binary(p)
2234 _IMP_npc.XAxialPositionUpperRestraint_swigregister(XAxialPositionUpperRestraint)
2236 r"""Proxy of C++ IMP::npc::OverallPositionRestraint class."""
2238 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2240 def __init__(self, *args):
2242 __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
2243 __init__(OverallPositionRestraint self, Model m, double x_start, double y_start, double z_start, double tolerance, bool consider_radius, double sigma=1) -> OverallPositionRestraint
2244 __init__(OverallPositionRestraint self) -> OverallPositionRestraint
2246 _IMP_npc.OverallPositionRestraint_swiginit(self, _IMP_npc.new_OverallPositionRestraint(*args))
2249 r"""add_particle(OverallPositionRestraint self, Particle p)"""
2250 return _IMP_npc.OverallPositionRestraint_add_particle(self, p)
2253 r"""add_particles(OverallPositionRestraint self, IMP::ParticlesTemp const & ps)"""
2254 return _IMP_npc.OverallPositionRestraint_add_particles(self, ps)
2256 def set_particles(self, ps):
2257 r"""set_particles(OverallPositionRestraint self, IMP::ParticlesTemp const & ps)"""
2258 return _IMP_npc.OverallPositionRestraint_set_particles(self, ps)
2260 def do_get_inputs(self):
2261 r"""do_get_inputs(OverallPositionRestraint self) -> IMP::ModelObjectsTemp"""
2262 return _IMP_npc.OverallPositionRestraint_do_get_inputs(self)
2264 def get_version_info(self):
2265 r"""get_version_info(OverallPositionRestraint self) -> VersionInfo"""
2266 return _IMP_npc.OverallPositionRestraint_get_version_info(self)
2267 __swig_destroy__ = _IMP_npc.delete_OverallPositionRestraint
2270 r"""__str__(OverallPositionRestraint self) -> std::string"""
2271 return _IMP_npc.OverallPositionRestraint___str__(self)
2274 r"""__repr__(OverallPositionRestraint self) -> std::string"""
2275 return _IMP_npc.OverallPositionRestraint___repr__(self)
2279 return _object_cast_to_OverallPositionRestraint(o)
2282 def _get_as_binary(self):
2283 r"""_get_as_binary(OverallPositionRestraint self) -> PyObject *"""
2284 return _IMP_npc.OverallPositionRestraint__get_as_binary(self)
2286 def _set_from_binary(self, p):
2287 r"""_set_from_binary(OverallPositionRestraint self, PyObject * p)"""
2288 return _IMP_npc.OverallPositionRestraint__set_from_binary(self, p)
2290 def __getstate__(self):
2291 p = self._get_as_binary()
2292 if len(self.__dict__) > 1:
2293 d = self.__dict__.copy()
2298 def __setstate__(self, p):
2299 if not hasattr(self,
'this'):
2301 if isinstance(p, tuple):
2303 self.__dict__.update(d)
2304 return self._set_from_binary(p)
2308 _IMP_npc.OverallPositionRestraint_swigregister(OverallPositionRestraint)
2310 r"""Proxy of C++ IMP::npc::CompositeRestraint class."""
2312 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2314 def __init__(self, m, ps):
2315 r"""__init__(CompositeRestraint self, Model m, PairScore ps) -> CompositeRestraint"""
2316 _IMP_npc.CompositeRestraint_swiginit(self, _IMP_npc.new_CompositeRestraint(m, ps))
2318 def add_type(self, ps):
2319 r"""add_type(CompositeRestraint self, IMP::ParticleIndexes ps)"""
2320 return _IMP_npc.CompositeRestraint_add_type(self, ps)
2322 def get_connected_pairs(self):
2323 r"""get_connected_pairs(CompositeRestraint self) -> IMP::ParticleIndexPairs"""
2324 return _IMP_npc.CompositeRestraint_get_connected_pairs(self)
2326 def do_get_inputs(self):
2327 r"""do_get_inputs(CompositeRestraint self) -> IMP::ModelObjectsTemp"""
2328 return _IMP_npc.CompositeRestraint_do_get_inputs(self)
2330 def get_version_info(self):
2331 r"""get_version_info(CompositeRestraint self) -> VersionInfo"""
2332 return _IMP_npc.CompositeRestraint_get_version_info(self)
2333 __swig_destroy__ = _IMP_npc.delete_CompositeRestraint
2336 r"""__str__(CompositeRestraint self) -> std::string"""
2337 return _IMP_npc.CompositeRestraint___str__(self)
2340 r"""__repr__(CompositeRestraint self) -> std::string"""
2341 return _IMP_npc.CompositeRestraint___repr__(self)
2345 return _object_cast_to_CompositeRestraint(o)
2349 _IMP_npc.CompositeRestraint_swigregister(CompositeRestraint)
2351 r"""Proxy of C++ IMP::npc::MinimumSphereDistancePairScore class."""
2353 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2355 def __init__(self, *args):
2357 __init__(MinimumSphereDistancePairScore self, UnaryFunction f, IMP::algebra::Transformation3Ds transforms) -> MinimumSphereDistancePairScore
2358 __init__(MinimumSphereDistancePairScore self) -> MinimumSphereDistancePairScore
2360 _IMP_npc.MinimumSphereDistancePairScore_swiginit(self, _IMP_npc.new_MinimumSphereDistancePairScore(*args))
2362 def do_get_inputs(self, m, pis):
2363 r"""do_get_inputs(MinimumSphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
2364 return _IMP_npc.MinimumSphereDistancePairScore_do_get_inputs(self, m, pis)
2366 def evaluate_indexes(self, m, p, da, lower_bound, upper_bound, all_indexes_checked=False):
2367 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"""
2368 return _IMP_npc.MinimumSphereDistancePairScore_evaluate_indexes(self, m, p, da, lower_bound, upper_bound, all_indexes_checked)
2370 def evaluate_indexes_scores(self, m, p, da, lower_bound, upper_bound, score, all_indexes_checked=False):
2371 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"""
2372 return _IMP_npc.MinimumSphereDistancePairScore_evaluate_indexes_scores(self, m, p, da, lower_bound, upper_bound, score, all_indexes_checked)
2374 def evaluate_indexes_delta(self, m, p, da, indexes, score, all_indexes_checked=False):
2375 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"""
2376 return _IMP_npc.MinimumSphereDistancePairScore_evaluate_indexes_delta(self, m, p, da, indexes, score, all_indexes_checked)
2378 def evaluate_if_good_indexes(self, m, p, da, max, lower_bound, upper_bound, all_indexes_checked=False):
2379 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"""
2380 return _IMP_npc.MinimumSphereDistancePairScore_evaluate_if_good_indexes(self, m, p, da, max, lower_bound, upper_bound, all_indexes_checked)
2382 def get_version_info(self):
2383 r"""get_version_info(MinimumSphereDistancePairScore self) -> VersionInfo"""
2384 return _IMP_npc.MinimumSphereDistancePairScore_get_version_info(self)
2385 __swig_destroy__ = _IMP_npc.delete_MinimumSphereDistancePairScore
2388 r"""__str__(MinimumSphereDistancePairScore self) -> std::string"""
2389 return _IMP_npc.MinimumSphereDistancePairScore___str__(self)
2392 r"""__repr__(MinimumSphereDistancePairScore self) -> std::string"""
2393 return _IMP_npc.MinimumSphereDistancePairScore___repr__(self)
2397 return _object_cast_to_MinimumSphereDistancePairScore(o)
2400 def _get_as_binary(self):
2401 r"""_get_as_binary(MinimumSphereDistancePairScore self) -> PyObject *"""
2402 return _IMP_npc.MinimumSphereDistancePairScore__get_as_binary(self)
2404 def _set_from_binary(self, p):
2405 r"""_set_from_binary(MinimumSphereDistancePairScore self, PyObject * p)"""
2406 return _IMP_npc.MinimumSphereDistancePairScore__set_from_binary(self, p)
2408 def __getstate__(self):
2409 p = self._get_as_binary()
2410 if len(self.__dict__) > 1:
2411 d = self.__dict__.copy()
2416 def __setstate__(self, p):
2417 if not hasattr(self,
'this'):
2419 if isinstance(p, tuple):
2421 self.__dict__.update(d)
2422 return self._set_from_binary(p)
2426 _IMP_npc.MinimumSphereDistancePairScore_swigregister(MinimumSphereDistancePairScore)
2428 r"""Proxy of C++ IMP::npc::SlabWithSphericalIndent class."""
2430 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2432 def set_sphere_radius(self, R):
2433 r"""set_sphere_radius(SlabWithSphericalIndent self, double R)"""
2434 return _IMP_npc.SlabWithSphericalIndent_set_sphere_radius(self, R)
2436 def set_sphere_depth(self, h):
2437 r"""set_sphere_depth(SlabWithSphericalIndent self, double h)"""
2438 return _IMP_npc.SlabWithSphericalIndent_set_sphere_depth(self, h)
2440 def get_sphere_radius(self):
2441 r"""get_sphere_radius(SlabWithSphericalIndent self) -> IMP::Float"""
2442 return _IMP_npc.SlabWithSphericalIndent_get_sphere_radius(self)
2444 def get_sphere_depth(self):
2445 r"""get_sphere_depth(SlabWithSphericalIndent self) -> IMP::Float"""
2446 return _IMP_npc.SlabWithSphericalIndent_get_sphere_depth(self)
2449 def get_sphere_radius_key():
2450 r"""get_sphere_radius_key() -> FloatKey"""
2451 return _IMP_npc.SlabWithSphericalIndent_get_sphere_radius_key()
2454 def get_sphere_depth_key():
2455 r"""get_sphere_depth_key() -> FloatKey"""
2456 return _IMP_npc.SlabWithSphericalIndent_get_sphere_depth_key()
2458 def get_decorator_name(self):
2459 r"""get_decorator_name(SlabWithSphericalIndent self) -> std::string"""
2460 return _IMP_npc.SlabWithSphericalIndent_get_decorator_name(self)
2462 def set_decorator_name(self, nm):
2463 r"""set_decorator_name(SlabWithSphericalIndent self, std::string nm)"""
2464 return _IMP_npc.SlabWithSphericalIndent_set_decorator_name(self, nm)
2466 def __init__(self, *args):
2468 __init__(SlabWithSphericalIndent self) -> SlabWithSphericalIndent
2469 __init__(SlabWithSphericalIndent self, Model m, ParticleIndex id) -> SlabWithSphericalIndent
2470 __init__(SlabWithSphericalIndent self, _ParticleAdaptor d) -> SlabWithSphericalIndent
2472 _IMP_npc.SlabWithSphericalIndent_swiginit(self, _IMP_npc.new_SlabWithSphericalIndent(*args))
2475 def get_is_setup(*args):
2477 get_is_setup(Model m, ParticleIndex pi) -> bool
2478 get_is_setup(_ParticleAdaptor p) -> bool
2480 return _IMP_npc.SlabWithSphericalIndent_get_is_setup(*args)
2482 def show(self, *args):
2483 r"""show(SlabWithSphericalIndent self, _ostream out=std::cout)"""
2484 return _IMP_npc.SlabWithSphericalIndent_show(self, *args)
2487 def setup_particle(*args):
2489 setup_particle(Model m, ParticleIndex pi, double R, double h) -> SlabWithSphericalIndent
2490 setup_particle(_ParticleAdaptor pa, double R, double h) -> SlabWithSphericalIndent
2492 return _IMP_npc.SlabWithSphericalIndent_setup_particle(*args)
2494 def add_attribute(self, *args):
2496 add_attribute(SlabWithSphericalIndent self, FloatKey k, IMP::Float v, bool opt)
2497 add_attribute(SlabWithSphericalIndent self, FloatKey a0, IMP::Float a1)
2498 add_attribute(SlabWithSphericalIndent self, IntKey a0, IMP::Int a1)
2499 add_attribute(SlabWithSphericalIndent self, FloatsKey a0, IMP::Floats a1)
2500 add_attribute(SlabWithSphericalIndent self, IntsKey a0, IMP::Ints a1)
2501 add_attribute(SlabWithSphericalIndent self, StringKey a0, IMP::String a1)
2502 add_attribute(SlabWithSphericalIndent self, ParticleIndexKey a0, Particle a1)
2503 add_attribute(SlabWithSphericalIndent self, ObjectKey a0, Object a1)
2504 add_attribute(SlabWithSphericalIndent self, SparseFloatKey a0, IMP::Float a1)
2505 add_attribute(SlabWithSphericalIndent self, SparseIntKey a0, IMP::Int a1)
2506 add_attribute(SlabWithSphericalIndent self, SparseStringKey a0, IMP::String a1)
2507 add_attribute(SlabWithSphericalIndent self, SparseParticleIndexKey a0, ParticleIndex a1)
2509 return _IMP_npc.SlabWithSphericalIndent_add_attribute(self, *args)
2511 def get_value(self, *args):
2513 get_value(SlabWithSphericalIndent self, FloatKey a0) -> IMP::Float
2514 get_value(SlabWithSphericalIndent self, IntKey a0) -> IMP::Int
2515 get_value(SlabWithSphericalIndent self, FloatsKey a0) -> IMP::Floats
2516 get_value(SlabWithSphericalIndent self, IntsKey a0) -> IMP::Ints
2517 get_value(SlabWithSphericalIndent self, StringKey a0) -> IMP::String
2518 get_value(SlabWithSphericalIndent self, ParticleIndexKey a0) -> Particle
2519 get_value(SlabWithSphericalIndent self, ObjectKey a0) -> Object
2520 get_value(SlabWithSphericalIndent self, SparseFloatKey a0) -> IMP::Float
2521 get_value(SlabWithSphericalIndent self, SparseIntKey a0) -> IMP::Int
2522 get_value(SlabWithSphericalIndent self, SparseStringKey a0) -> IMP::String
2523 get_value(SlabWithSphericalIndent self, SparseParticleIndexKey a0) -> ParticleIndex
2525 return _IMP_npc.SlabWithSphericalIndent_get_value(self, *args)
2527 def set_value(self, *args):
2529 set_value(SlabWithSphericalIndent self, FloatKey a0, IMP::Float a1)
2530 set_value(SlabWithSphericalIndent self, IntKey a0, IMP::Int a1)
2531 set_value(SlabWithSphericalIndent self, FloatsKey a0, IMP::Floats a1)
2532 set_value(SlabWithSphericalIndent self, IntsKey a0, IMP::Ints a1)
2533 set_value(SlabWithSphericalIndent self, StringKey a0, IMP::String a1)
2534 set_value(SlabWithSphericalIndent self, ParticleIndexKey a0, Particle a1)
2535 set_value(SlabWithSphericalIndent self, ObjectKey a0, Object a1)
2536 set_value(SlabWithSphericalIndent self, SparseFloatKey a0, IMP::Float a1)
2537 set_value(SlabWithSphericalIndent self, SparseIntKey a0, IMP::Int a1)
2538 set_value(SlabWithSphericalIndent self, SparseStringKey a0, IMP::String a1)
2539 set_value(SlabWithSphericalIndent self, SparseParticleIndexKey a0, ParticleIndex a1)
2541 return _IMP_npc.SlabWithSphericalIndent_set_value(self, *args)
2543 def remove_attribute(self, *args):
2545 remove_attribute(SlabWithSphericalIndent self, FloatKey a0)
2546 remove_attribute(SlabWithSphericalIndent self, IntKey a0)
2547 remove_attribute(SlabWithSphericalIndent self, FloatsKey a0)
2548 remove_attribute(SlabWithSphericalIndent self, IntsKey a0)
2549 remove_attribute(SlabWithSphericalIndent self, StringKey a0)
2550 remove_attribute(SlabWithSphericalIndent self, ParticleIndexKey a0)
2551 remove_attribute(SlabWithSphericalIndent self, ObjectKey a0)
2552 remove_attribute(SlabWithSphericalIndent self, SparseFloatKey a0)
2553 remove_attribute(SlabWithSphericalIndent self, SparseIntKey a0)
2554 remove_attribute(SlabWithSphericalIndent self, SparseStringKey a0)
2555 remove_attribute(SlabWithSphericalIndent self, SparseParticleIndexKey a0)
2557 return _IMP_npc.SlabWithSphericalIndent_remove_attribute(self, *args)
2559 def has_attribute(self, *args):
2561 has_attribute(SlabWithSphericalIndent self, FloatKey a0) -> bool
2562 has_attribute(SlabWithSphericalIndent self, IntKey a0) -> bool
2563 has_attribute(SlabWithSphericalIndent self, FloatsKey a0) -> bool
2564 has_attribute(SlabWithSphericalIndent self, IntsKey a0) -> bool
2565 has_attribute(SlabWithSphericalIndent self, StringKey a0) -> bool
2566 has_attribute(SlabWithSphericalIndent self, ParticleIndexKey a0) -> bool
2567 has_attribute(SlabWithSphericalIndent self, ObjectKey a0) -> bool
2568 has_attribute(SlabWithSphericalIndent self, SparseFloatKey a0) -> bool
2569 has_attribute(SlabWithSphericalIndent self, SparseIntKey a0) -> bool
2570 has_attribute(SlabWithSphericalIndent self, SparseStringKey a0) -> bool
2571 has_attribute(SlabWithSphericalIndent self, SparseParticleIndexKey a0) -> bool
2573 return _IMP_npc.SlabWithSphericalIndent_has_attribute(self, *args)
2575 def get_derivative(self, a0):
2576 r"""get_derivative(SlabWithSphericalIndent self, FloatKey a0) -> double"""
2577 return _IMP_npc.SlabWithSphericalIndent_get_derivative(self, a0)
2580 r"""get_name(SlabWithSphericalIndent self) -> std::string"""
2581 return _IMP_npc.SlabWithSphericalIndent_get_name(self)
2583 def clear_caches(self):
2584 r"""clear_caches(SlabWithSphericalIndent self)"""
2585 return _IMP_npc.SlabWithSphericalIndent_clear_caches(self)
2587 def set_name(self, a0):
2588 r"""set_name(SlabWithSphericalIndent self, std::string a0)"""
2589 return _IMP_npc.SlabWithSphericalIndent_set_name(self, a0)
2592 r"""set_check_level(SlabWithSphericalIndent self, IMP::CheckLevel a0)"""
2593 return _IMP_npc.SlabWithSphericalIndent_set_check_level(self, a0)
2595 def add_to_derivative(self, a0, a1, a2):
2596 r"""add_to_derivative(SlabWithSphericalIndent self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2597 return _IMP_npc.SlabWithSphericalIndent_add_to_derivative(self, a0, a1, a2)
2599 def set_is_optimized(self, a0, a1):
2600 r"""set_is_optimized(SlabWithSphericalIndent self, FloatKey a0, bool a1)"""
2601 return _IMP_npc.SlabWithSphericalIndent_set_is_optimized(self, a0, a1)
2603 def get_is_optimized(self, a0):
2604 r"""get_is_optimized(SlabWithSphericalIndent self, FloatKey a0) -> bool"""
2605 return _IMP_npc.SlabWithSphericalIndent_get_is_optimized(self, a0)
2608 r"""get_check_level(SlabWithSphericalIndent self) -> IMP::CheckLevel"""
2609 return _IMP_npc.SlabWithSphericalIndent_get_check_level(self)
2611 def __eq__(self, *args):
2613 __eq__(SlabWithSphericalIndent self, SlabWithSphericalIndent o) -> bool
2614 __eq__(SlabWithSphericalIndent self, Particle d) -> bool
2616 return _IMP_npc.SlabWithSphericalIndent___eq__(self, *args)
2618 def __ne__(self, *args):
2620 __ne__(SlabWithSphericalIndent self, SlabWithSphericalIndent o) -> bool
2621 __ne__(SlabWithSphericalIndent self, Particle d) -> bool
2623 return _IMP_npc.SlabWithSphericalIndent___ne__(self, *args)
2625 def __le__(self, *args):
2627 __le__(SlabWithSphericalIndent self, SlabWithSphericalIndent o) -> bool
2628 __le__(SlabWithSphericalIndent self, Particle d) -> bool
2630 return _IMP_npc.SlabWithSphericalIndent___le__(self, *args)
2632 def __lt__(self, *args):
2634 __lt__(SlabWithSphericalIndent self, SlabWithSphericalIndent o) -> bool
2635 __lt__(SlabWithSphericalIndent self, Particle d) -> bool
2637 return _IMP_npc.SlabWithSphericalIndent___lt__(self, *args)
2639 def __ge__(self, *args):
2641 __ge__(SlabWithSphericalIndent self, SlabWithSphericalIndent o) -> bool
2642 __ge__(SlabWithSphericalIndent self, Particle d) -> bool
2644 return _IMP_npc.SlabWithSphericalIndent___ge__(self, *args)
2646 def __gt__(self, *args):
2648 __gt__(SlabWithSphericalIndent self, SlabWithSphericalIndent o) -> bool
2649 __gt__(SlabWithSphericalIndent self, Particle d) -> bool
2651 return _IMP_npc.SlabWithSphericalIndent___gt__(self, *args)
2654 r"""__hash__(SlabWithSphericalIndent self) -> std::size_t"""
2655 return _IMP_npc.SlabWithSphericalIndent___hash__(self)
2658 r"""__str__(SlabWithSphericalIndent self) -> std::string"""
2659 return _IMP_npc.SlabWithSphericalIndent___str__(self)
2662 r"""__repr__(SlabWithSphericalIndent self) -> std::string"""
2663 return _IMP_npc.SlabWithSphericalIndent___repr__(self)
2665 def _get_as_binary(self):
2666 r"""_get_as_binary(SlabWithSphericalIndent self) -> PyObject *"""
2667 return _IMP_npc.SlabWithSphericalIndent__get_as_binary(self)
2669 def _set_from_binary(self, p):
2670 r"""_set_from_binary(SlabWithSphericalIndent self, PyObject * p)"""
2671 return _IMP_npc.SlabWithSphericalIndent__set_from_binary(self, p)
2673 def __getstate__(self):
2674 p = self._get_as_binary()
2675 if len(self.__dict__) > 1:
2676 d = self.__dict__.copy()
2681 def __setstate__(self, p):
2682 if not hasattr(self,
'this'):
2684 if isinstance(p, tuple):
2686 self.__dict__.update(d)
2687 return self._set_from_binary(p)
2689 __swig_destroy__ = _IMP_npc.delete_SlabWithSphericalIndent
2692 _IMP_npc.SlabWithSphericalIndent_swigregister(SlabWithSphericalIndent)
2694 r"""Proxy of C++ IMP::npc::SlabWithSphericalIndentMBMScore class."""
2696 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2698 def __init__(self, x0, k):
2699 r"""__init__(SlabWithSphericalIndentMBMScore self, double x0, double k) -> SlabWithSphericalIndentMBMScore"""
2700 _IMP_npc.SlabWithSphericalIndentMBMScore_swiginit(self, _IMP_npc.new_SlabWithSphericalIndentMBMScore(x0, k))
2702 def do_get_inputs(self, m, pis):
2703 r"""do_get_inputs(SlabWithSphericalIndentMBMScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
2704 return _IMP_npc.SlabWithSphericalIndentMBMScore_do_get_inputs(self, m, pis)
2706 def evaluate_indexes(self, m, p, da, lower_bound, upper_bound, all_indexes_checked=False):
2707 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"""
2708 return _IMP_npc.SlabWithSphericalIndentMBMScore_evaluate_indexes(self, m, p, da, lower_bound, upper_bound, all_indexes_checked)
2710 def evaluate_indexes_scores(self, m, p, da, lower_bound, upper_bound, score, all_indexes_checked=False):
2711 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"""
2712 return _IMP_npc.SlabWithSphericalIndentMBMScore_evaluate_indexes_scores(self, m, p, da, lower_bound, upper_bound, score, all_indexes_checked)
2714 def evaluate_indexes_delta(self, m, p, da, indexes, score, all_indexes_checked=False):
2715 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"""
2716 return _IMP_npc.SlabWithSphericalIndentMBMScore_evaluate_indexes_delta(self, m, p, da, indexes, score, all_indexes_checked)
2718 def evaluate_if_good_indexes(self, m, p, da, max, lower_bound, upper_bound, all_indexes_checked=False):
2719 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"""
2720 return _IMP_npc.SlabWithSphericalIndentMBMScore_evaluate_if_good_indexes(self, m, p, da, max, lower_bound, upper_bound, all_indexes_checked)
2722 def get_version_info(self):
2723 r"""get_version_info(SlabWithSphericalIndentMBMScore self) -> VersionInfo"""
2724 return _IMP_npc.SlabWithSphericalIndentMBMScore_get_version_info(self)
2725 __swig_destroy__ = _IMP_npc.delete_SlabWithSphericalIndentMBMScore
2728 r"""__str__(SlabWithSphericalIndentMBMScore self) -> std::string"""
2729 return _IMP_npc.SlabWithSphericalIndentMBMScore___str__(self)
2732 r"""__repr__(SlabWithSphericalIndentMBMScore self) -> std::string"""
2733 return _IMP_npc.SlabWithSphericalIndentMBMScore___repr__(self)
2737 return _object_cast_to_SlabWithSphericalIndentMBMScore(o)
2741 _IMP_npc.SlabWithSphericalIndentMBMScore_swigregister(SlabWithSphericalIndentMBMScore)
2743 r"""Proxy of C++ IMP::npc::SlabWithSphericalIndentGeometry class."""
2745 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2747 def __init__(self, radius, depth, length):
2748 r"""__init__(SlabWithSphericalIndentGeometry self, double radius, double depth, double length) -> SlabWithSphericalIndentGeometry"""
2749 _IMP_npc.SlabWithSphericalIndentGeometry_swiginit(self, _IMP_npc.new_SlabWithSphericalIndentGeometry(radius, depth, length))
2751 def get_version_info(self):
2752 r"""get_version_info(SlabWithSphericalIndentGeometry self) -> VersionInfo"""
2753 return _IMP_npc.SlabWithSphericalIndentGeometry_get_version_info(self)
2754 __swig_destroy__ = _IMP_npc.delete_SlabWithSphericalIndentGeometry
2757 r"""__str__(SlabWithSphericalIndentGeometry self) -> std::string"""
2758 return _IMP_npc.SlabWithSphericalIndentGeometry___str__(self)
2761 r"""__repr__(SlabWithSphericalIndentGeometry self) -> std::string"""
2762 return _IMP_npc.SlabWithSphericalIndentGeometry___repr__(self)
2766 return _object_cast_to_SlabWithSphericalIndentGeometry(o)
2770 _IMP_npc.SlabWithSphericalIndentGeometry_swigregister(SlabWithSphericalIndentGeometry)
2772 r"""Proxy of C++ IMP::npc::SphericalIndentSurfaceDepthPairScore class."""
2774 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2776 def __init__(self, k):
2777 r"""__init__(SphericalIndentSurfaceDepthPairScore self, double k) -> SphericalIndentSurfaceDepthPairScore"""
2778 _IMP_npc.SphericalIndentSurfaceDepthPairScore_swiginit(self, _IMP_npc.new_SphericalIndentSurfaceDepthPairScore(k))
2780 def do_get_inputs(self, m, pis):
2781 r"""do_get_inputs(SphericalIndentSurfaceDepthPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
2782 return _IMP_npc.SphericalIndentSurfaceDepthPairScore_do_get_inputs(self, m, pis)
2784 def evaluate_indexes(self, m, p, da, lower_bound, upper_bound, all_indexes_checked=False):
2785 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"""
2786 return _IMP_npc.SphericalIndentSurfaceDepthPairScore_evaluate_indexes(self, m, p, da, lower_bound, upper_bound, all_indexes_checked)
2788 def evaluate_indexes_scores(self, m, p, da, lower_bound, upper_bound, score, all_indexes_checked=False):
2789 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"""
2790 return _IMP_npc.SphericalIndentSurfaceDepthPairScore_evaluate_indexes_scores(self, m, p, da, lower_bound, upper_bound, score, all_indexes_checked)
2792 def evaluate_indexes_delta(self, m, p, da, indexes, score, all_indexes_checked=False):
2793 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"""
2794 return _IMP_npc.SphericalIndentSurfaceDepthPairScore_evaluate_indexes_delta(self, m, p, da, indexes, score, all_indexes_checked)
2796 def evaluate_if_good_indexes(self, m, p, da, max, lower_bound, upper_bound, all_indexes_checked=False):
2797 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"""
2798 return _IMP_npc.SphericalIndentSurfaceDepthPairScore_evaluate_if_good_indexes(self, m, p, da, max, lower_bound, upper_bound, all_indexes_checked)
2800 def get_version_info(self):
2801 r"""get_version_info(SphericalIndentSurfaceDepthPairScore self) -> VersionInfo"""
2802 return _IMP_npc.SphericalIndentSurfaceDepthPairScore_get_version_info(self)
2803 __swig_destroy__ = _IMP_npc.delete_SphericalIndentSurfaceDepthPairScore
2806 r"""__str__(SphericalIndentSurfaceDepthPairScore self) -> std::string"""
2807 return _IMP_npc.SphericalIndentSurfaceDepthPairScore___str__(self)
2810 r"""__repr__(SphericalIndentSurfaceDepthPairScore self) -> std::string"""
2811 return _IMP_npc.SphericalIndentSurfaceDepthPairScore___repr__(self)
2815 return _object_cast_to_SphericalIndentSurfaceDepthPairScore(o)
2819 _IMP_npc.SphericalIndentSurfaceDepthPairScore_swigregister(SphericalIndentSurfaceDepthPairScore)
2821 r"""Proxy of C++ IMP::npc::SlabWithToroidalPoreMBMScore class."""
2823 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2825 def __init__(self, x0_upper, x0_lower, k):
2826 r"""__init__(SlabWithToroidalPoreMBMScore self, double x0_upper, double x0_lower, double k) -> SlabWithToroidalPoreMBMScore"""
2827 _IMP_npc.SlabWithToroidalPoreMBMScore_swiginit(self, _IMP_npc.new_SlabWithToroidalPoreMBMScore(x0_upper, x0_lower, k))
2829 def do_get_inputs(self, m, pis):
2830 r"""do_get_inputs(SlabWithToroidalPoreMBMScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
2831 return _IMP_npc.SlabWithToroidalPoreMBMScore_do_get_inputs(self, m, pis)
2833 def evaluate_indexes(self, m, p, da, lower_bound, upper_bound, all_indexes_checked=False):
2834 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"""
2835 return _IMP_npc.SlabWithToroidalPoreMBMScore_evaluate_indexes(self, m, p, da, lower_bound, upper_bound, all_indexes_checked)
2837 def evaluate_indexes_scores(self, m, p, da, lower_bound, upper_bound, score, all_indexes_checked=False):
2838 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"""
2839 return _IMP_npc.SlabWithToroidalPoreMBMScore_evaluate_indexes_scores(self, m, p, da, lower_bound, upper_bound, score, all_indexes_checked)
2841 def evaluate_indexes_delta(self, m, p, da, indexes, score, all_indexes_checked=False):
2842 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"""
2843 return _IMP_npc.SlabWithToroidalPoreMBMScore_evaluate_indexes_delta(self, m, p, da, indexes, score, all_indexes_checked)
2845 def evaluate_if_good_indexes(self, m, p, da, max, lower_bound, upper_bound, all_indexes_checked=False):
2846 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"""
2847 return _IMP_npc.SlabWithToroidalPoreMBMScore_evaluate_if_good_indexes(self, m, p, da, max, lower_bound, upper_bound, all_indexes_checked)
2849 def get_version_info(self):
2850 r"""get_version_info(SlabWithToroidalPoreMBMScore self) -> VersionInfo"""
2851 return _IMP_npc.SlabWithToroidalPoreMBMScore_get_version_info(self)
2852 __swig_destroy__ = _IMP_npc.delete_SlabWithToroidalPoreMBMScore
2855 r"""__str__(SlabWithToroidalPoreMBMScore self) -> std::string"""
2856 return _IMP_npc.SlabWithToroidalPoreMBMScore___str__(self)
2859 r"""__repr__(SlabWithToroidalPoreMBMScore self) -> std::string"""
2860 return _IMP_npc.SlabWithToroidalPoreMBMScore___repr__(self)
2864 return _object_cast_to_SlabWithToroidalPoreMBMScore(o)
2868 _IMP_npc.SlabWithToroidalPoreMBMScore_swigregister(SlabWithToroidalPoreMBMScore)
2870 r"""Proxy of C++ IMP::npc::SlabWithToroidalPoreGoPairScore class."""
2872 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2874 def __init__(self, x0, k):
2875 r"""__init__(SlabWithToroidalPoreGoPairScore self, double x0, double k) -> SlabWithToroidalPoreGoPairScore"""
2876 _IMP_npc.SlabWithToroidalPoreGoPairScore_swiginit(self, _IMP_npc.new_SlabWithToroidalPoreGoPairScore(x0, k))
2878 def do_get_inputs(self, m, pis):
2879 r"""do_get_inputs(SlabWithToroidalPoreGoPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
2880 return _IMP_npc.SlabWithToroidalPoreGoPairScore_do_get_inputs(self, m, pis)
2882 def evaluate_indexes(self, m, p, da, lower_bound, upper_bound, all_indexes_checked=False):
2883 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"""
2884 return _IMP_npc.SlabWithToroidalPoreGoPairScore_evaluate_indexes(self, m, p, da, lower_bound, upper_bound, all_indexes_checked)
2886 def evaluate_indexes_scores(self, m, p, da, lower_bound, upper_bound, score, all_indexes_checked=False):
2887 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"""
2888 return _IMP_npc.SlabWithToroidalPoreGoPairScore_evaluate_indexes_scores(self, m, p, da, lower_bound, upper_bound, score, all_indexes_checked)
2890 def evaluate_indexes_delta(self, m, p, da, indexes, score, all_indexes_checked=False):
2891 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"""
2892 return _IMP_npc.SlabWithToroidalPoreGoPairScore_evaluate_indexes_delta(self, m, p, da, indexes, score, all_indexes_checked)
2894 def evaluate_if_good_indexes(self, m, p, da, max, lower_bound, upper_bound, all_indexes_checked=False):
2895 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"""
2896 return _IMP_npc.SlabWithToroidalPoreGoPairScore_evaluate_if_good_indexes(self, m, p, da, max, lower_bound, upper_bound, all_indexes_checked)
2898 def get_version_info(self):
2899 r"""get_version_info(SlabWithToroidalPoreGoPairScore self) -> VersionInfo"""
2900 return _IMP_npc.SlabWithToroidalPoreGoPairScore_get_version_info(self)
2901 __swig_destroy__ = _IMP_npc.delete_SlabWithToroidalPoreGoPairScore
2904 r"""__str__(SlabWithToroidalPoreGoPairScore self) -> std::string"""
2905 return _IMP_npc.SlabWithToroidalPoreGoPairScore___str__(self)
2908 r"""__repr__(SlabWithToroidalPoreGoPairScore self) -> std::string"""
2909 return _IMP_npc.SlabWithToroidalPoreGoPairScore___repr__(self)
2913 return _object_cast_to_SlabWithToroidalPoreGoPairScore(o)
2917 _IMP_npc.SlabWithToroidalPoreGoPairScore_swigregister(SlabWithToroidalPoreGoPairScore)
2919 r"""Proxy of C++ IMP::npc::ToroidalPoreSurfaceDepthPairScore class."""
2921 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2923 def __init__(self, k):
2924 r"""__init__(ToroidalPoreSurfaceDepthPairScore self, double k) -> ToroidalPoreSurfaceDepthPairScore"""
2925 _IMP_npc.ToroidalPoreSurfaceDepthPairScore_swiginit(self, _IMP_npc.new_ToroidalPoreSurfaceDepthPairScore(k))
2927 def do_get_inputs(self, m, pis):
2928 r"""do_get_inputs(ToroidalPoreSurfaceDepthPairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
2929 return _IMP_npc.ToroidalPoreSurfaceDepthPairScore_do_get_inputs(self, m, pis)
2931 def evaluate_indexes(self, m, p, da, lower_bound, upper_bound, all_indexes_checked=False):
2932 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"""
2933 return _IMP_npc.ToroidalPoreSurfaceDepthPairScore_evaluate_indexes(self, m, p, da, lower_bound, upper_bound, all_indexes_checked)
2935 def evaluate_indexes_scores(self, m, p, da, lower_bound, upper_bound, score, all_indexes_checked=False):
2936 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"""
2937 return _IMP_npc.ToroidalPoreSurfaceDepthPairScore_evaluate_indexes_scores(self, m, p, da, lower_bound, upper_bound, score, all_indexes_checked)
2939 def evaluate_indexes_delta(self, m, p, da, indexes, score, all_indexes_checked=False):
2940 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"""
2941 return _IMP_npc.ToroidalPoreSurfaceDepthPairScore_evaluate_indexes_delta(self, m, p, da, indexes, score, all_indexes_checked)
2943 def evaluate_if_good_indexes(self, m, p, da, max, lower_bound, upper_bound, all_indexes_checked=False):
2944 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"""
2945 return _IMP_npc.ToroidalPoreSurfaceDepthPairScore_evaluate_if_good_indexes(self, m, p, da, max, lower_bound, upper_bound, all_indexes_checked)
2947 def get_version_info(self):
2948 r"""get_version_info(ToroidalPoreSurfaceDepthPairScore self) -> VersionInfo"""
2949 return _IMP_npc.ToroidalPoreSurfaceDepthPairScore_get_version_info(self)
2950 __swig_destroy__ = _IMP_npc.delete_ToroidalPoreSurfaceDepthPairScore
2953 r"""__str__(ToroidalPoreSurfaceDepthPairScore self) -> std::string"""
2954 return _IMP_npc.ToroidalPoreSurfaceDepthPairScore___str__(self)
2957 r"""__repr__(ToroidalPoreSurfaceDepthPairScore self) -> std::string"""
2958 return _IMP_npc.ToroidalPoreSurfaceDepthPairScore___repr__(self)
2962 return _object_cast_to_ToroidalPoreSurfaceDepthPairScore(o)
2966 _IMP_npc.ToroidalPoreSurfaceDepthPairScore_swigregister(ToroidalPoreSurfaceDepthPairScore)
2968 r"""Proxy of C++ IMP::npc::SlabWithPore class."""
2970 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
2972 def __init__(self, *args):
2974 __init__(SlabWithPore self) -> SlabWithPore
2975 __init__(SlabWithPore self, Model m, ParticleIndex id) -> SlabWithPore
2976 __init__(SlabWithPore self, _ParticleAdaptor d) -> SlabWithPore
2978 _IMP_npc.SlabWithPore_swiginit(self, _IMP_npc.new_SlabWithPore(*args))
2980 def show(self, *args):
2981 r"""show(SlabWithPore self, _ostream out=std::cout)"""
2982 return _IMP_npc.SlabWithPore_show(self, *args)
2985 def setup_particle(*args):
2987 setup_particle(Model m, ParticleIndex pi, double thickness, double pore_radius) -> SlabWithPore
2988 setup_particle(_ParticleAdaptor pa, double thickness, double pore_radius) -> SlabWithPore
2990 return _IMP_npc.SlabWithPore_setup_particle(*args)
2993 def get_is_setup(*args):
2995 get_is_setup(_ParticleAdaptor p) -> bool
2996 get_is_setup(Model m, ParticleIndex pi) -> bool
2998 return _IMP_npc.SlabWithPore_get_is_setup(*args)
3000 def set_thickness(self, thickness):
3001 r"""set_thickness(SlabWithPore self, double thickness)"""
3002 return _IMP_npc.SlabWithPore_set_thickness(self, thickness)
3004 def get_thickness(self):
3005 r"""get_thickness(SlabWithPore self) -> IMP::Float"""
3006 return _IMP_npc.SlabWithPore_get_thickness(self)
3008 def get_pore_radius(self):
3009 r"""get_pore_radius(SlabWithPore self) -> IMP::Float"""
3010 return _IMP_npc.SlabWithPore_get_pore_radius(self)
3012 def set_pore_radius(self, r):
3013 r"""set_pore_radius(SlabWithPore self, double r)"""
3014 return _IMP_npc.SlabWithPore_set_pore_radius(self, r)
3016 def add_to_pore_radius_derivative(self, v, d):
3017 r"""add_to_pore_radius_derivative(SlabWithPore self, double v, DerivativeAccumulator d)"""
3018 return _IMP_npc.SlabWithPore_add_to_pore_radius_derivative(self, v, d)
3020 def get_pore_radius_is_optimized(self):
3021 r"""get_pore_radius_is_optimized(SlabWithPore self) -> bool"""
3022 return _IMP_npc.SlabWithPore_get_pore_radius_is_optimized(self)
3024 def set_pore_radius_is_optimized(self, tf):
3025 r"""set_pore_radius_is_optimized(SlabWithPore self, bool tf)"""
3026 return _IMP_npc.SlabWithPore_set_pore_radius_is_optimized(self, tf)
3029 def get_thickness_key():
3030 r"""get_thickness_key() -> FloatKey"""
3031 return _IMP_npc.SlabWithPore_get_thickness_key()
3034 def get_pore_radius_key():
3035 r"""get_pore_radius_key() -> FloatKey"""
3036 return _IMP_npc.SlabWithPore_get_pore_radius_key()
3038 def add_attribute(self, *args):
3040 add_attribute(SlabWithPore self, FloatKey k, IMP::Float v, bool opt)
3041 add_attribute(SlabWithPore self, FloatKey a0, IMP::Float a1)
3042 add_attribute(SlabWithPore self, IntKey a0, IMP::Int a1)
3043 add_attribute(SlabWithPore self, FloatsKey a0, IMP::Floats a1)
3044 add_attribute(SlabWithPore self, IntsKey a0, IMP::Ints a1)
3045 add_attribute(SlabWithPore self, StringKey a0, IMP::String a1)
3046 add_attribute(SlabWithPore self, ParticleIndexKey a0, Particle a1)
3047 add_attribute(SlabWithPore self, ObjectKey a0, Object a1)
3048 add_attribute(SlabWithPore self, SparseFloatKey a0, IMP::Float a1)
3049 add_attribute(SlabWithPore self, SparseIntKey a0, IMP::Int a1)
3050 add_attribute(SlabWithPore self, SparseStringKey a0, IMP::String a1)
3051 add_attribute(SlabWithPore self, SparseParticleIndexKey a0, ParticleIndex a1)
3053 return _IMP_npc.SlabWithPore_add_attribute(self, *args)
3055 def get_value(self, *args):
3057 get_value(SlabWithPore self, FloatKey a0) -> IMP::Float
3058 get_value(SlabWithPore self, IntKey a0) -> IMP::Int
3059 get_value(SlabWithPore self, FloatsKey a0) -> IMP::Floats
3060 get_value(SlabWithPore self, IntsKey a0) -> IMP::Ints
3061 get_value(SlabWithPore self, StringKey a0) -> IMP::String
3062 get_value(SlabWithPore self, ParticleIndexKey a0) -> Particle
3063 get_value(SlabWithPore self, ObjectKey a0) -> Object
3064 get_value(SlabWithPore self, SparseFloatKey a0) -> IMP::Float
3065 get_value(SlabWithPore self, SparseIntKey a0) -> IMP::Int
3066 get_value(SlabWithPore self, SparseStringKey a0) -> IMP::String
3067 get_value(SlabWithPore self, SparseParticleIndexKey a0) -> ParticleIndex
3069 return _IMP_npc.SlabWithPore_get_value(self, *args)
3071 def set_value(self, *args):
3073 set_value(SlabWithPore self, FloatKey a0, IMP::Float a1)
3074 set_value(SlabWithPore self, IntKey a0, IMP::Int a1)
3075 set_value(SlabWithPore self, FloatsKey a0, IMP::Floats a1)
3076 set_value(SlabWithPore self, IntsKey a0, IMP::Ints a1)
3077 set_value(SlabWithPore self, StringKey a0, IMP::String a1)
3078 set_value(SlabWithPore self, ParticleIndexKey a0, Particle a1)
3079 set_value(SlabWithPore self, ObjectKey a0, Object a1)
3080 set_value(SlabWithPore self, SparseFloatKey a0, IMP::Float a1)
3081 set_value(SlabWithPore self, SparseIntKey a0, IMP::Int a1)
3082 set_value(SlabWithPore self, SparseStringKey a0, IMP::String a1)
3083 set_value(SlabWithPore self, SparseParticleIndexKey a0, ParticleIndex a1)
3085 return _IMP_npc.SlabWithPore_set_value(self, *args)
3087 def remove_attribute(self, *args):
3089 remove_attribute(SlabWithPore self, FloatKey a0)
3090 remove_attribute(SlabWithPore self, IntKey a0)
3091 remove_attribute(SlabWithPore self, FloatsKey a0)
3092 remove_attribute(SlabWithPore self, IntsKey a0)
3093 remove_attribute(SlabWithPore self, StringKey a0)
3094 remove_attribute(SlabWithPore self, ParticleIndexKey a0)
3095 remove_attribute(SlabWithPore self, ObjectKey a0)
3096 remove_attribute(SlabWithPore self, SparseFloatKey a0)
3097 remove_attribute(SlabWithPore self, SparseIntKey a0)
3098 remove_attribute(SlabWithPore self, SparseStringKey a0)
3099 remove_attribute(SlabWithPore self, SparseParticleIndexKey a0)
3101 return _IMP_npc.SlabWithPore_remove_attribute(self, *args)
3103 def has_attribute(self, *args):
3105 has_attribute(SlabWithPore self, FloatKey a0) -> bool
3106 has_attribute(SlabWithPore self, IntKey a0) -> bool
3107 has_attribute(SlabWithPore self, FloatsKey a0) -> bool
3108 has_attribute(SlabWithPore self, IntsKey a0) -> bool
3109 has_attribute(SlabWithPore self, StringKey a0) -> bool
3110 has_attribute(SlabWithPore self, ParticleIndexKey a0) -> bool
3111 has_attribute(SlabWithPore self, ObjectKey a0) -> bool
3112 has_attribute(SlabWithPore self, SparseFloatKey a0) -> bool
3113 has_attribute(SlabWithPore self, SparseIntKey a0) -> bool
3114 has_attribute(SlabWithPore self, SparseStringKey a0) -> bool
3115 has_attribute(SlabWithPore self, SparseParticleIndexKey a0) -> bool
3117 return _IMP_npc.SlabWithPore_has_attribute(self, *args)
3119 def get_derivative(self, a0):
3120 r"""get_derivative(SlabWithPore self, FloatKey a0) -> double"""
3121 return _IMP_npc.SlabWithPore_get_derivative(self, a0)
3124 r"""get_name(SlabWithPore self) -> std::string"""
3125 return _IMP_npc.SlabWithPore_get_name(self)
3127 def clear_caches(self):
3128 r"""clear_caches(SlabWithPore self)"""
3129 return _IMP_npc.SlabWithPore_clear_caches(self)
3131 def set_name(self, a0):
3132 r"""set_name(SlabWithPore self, std::string a0)"""
3133 return _IMP_npc.SlabWithPore_set_name(self, a0)
3136 r"""set_check_level(SlabWithPore self, IMP::CheckLevel a0)"""
3137 return _IMP_npc.SlabWithPore_set_check_level(self, a0)
3139 def add_to_derivative(self, a0, a1, a2):
3140 r"""add_to_derivative(SlabWithPore self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
3141 return _IMP_npc.SlabWithPore_add_to_derivative(self, a0, a1, a2)
3143 def set_is_optimized(self, a0, a1):
3144 r"""set_is_optimized(SlabWithPore self, FloatKey a0, bool a1)"""
3145 return _IMP_npc.SlabWithPore_set_is_optimized(self, a0, a1)
3147 def get_is_optimized(self, a0):
3148 r"""get_is_optimized(SlabWithPore self, FloatKey a0) -> bool"""
3149 return _IMP_npc.SlabWithPore_get_is_optimized(self, a0)
3152 r"""get_check_level(SlabWithPore self) -> IMP::CheckLevel"""
3153 return _IMP_npc.SlabWithPore_get_check_level(self)
3155 def __eq__(self, *args):
3157 __eq__(SlabWithPore self, SlabWithPore o) -> bool
3158 __eq__(SlabWithPore self, Particle d) -> bool
3160 return _IMP_npc.SlabWithPore___eq__(self, *args)
3162 def __ne__(self, *args):
3164 __ne__(SlabWithPore self, SlabWithPore o) -> bool
3165 __ne__(SlabWithPore self, Particle d) -> bool
3167 return _IMP_npc.SlabWithPore___ne__(self, *args)
3169 def __le__(self, *args):
3171 __le__(SlabWithPore self, SlabWithPore o) -> bool
3172 __le__(SlabWithPore self, Particle d) -> bool
3174 return _IMP_npc.SlabWithPore___le__(self, *args)
3176 def __lt__(self, *args):
3178 __lt__(SlabWithPore self, SlabWithPore o) -> bool
3179 __lt__(SlabWithPore self, Particle d) -> bool
3181 return _IMP_npc.SlabWithPore___lt__(self, *args)
3183 def __ge__(self, *args):
3185 __ge__(SlabWithPore self, SlabWithPore o) -> bool
3186 __ge__(SlabWithPore self, Particle d) -> bool
3188 return _IMP_npc.SlabWithPore___ge__(self, *args)
3190 def __gt__(self, *args):
3192 __gt__(SlabWithPore self, SlabWithPore o) -> bool
3193 __gt__(SlabWithPore self, Particle d) -> bool
3195 return _IMP_npc.SlabWithPore___gt__(self, *args)
3198 r"""__hash__(SlabWithPore self) -> std::size_t"""
3199 return _IMP_npc.SlabWithPore___hash__(self)
3202 r"""__str__(SlabWithPore self) -> std::string"""
3203 return _IMP_npc.SlabWithPore___str__(self)
3206 r"""__repr__(SlabWithPore self) -> std::string"""
3207 return _IMP_npc.SlabWithPore___repr__(self)
3209 def _get_as_binary(self):
3210 r"""_get_as_binary(SlabWithPore self) -> PyObject *"""
3211 return _IMP_npc.SlabWithPore__get_as_binary(self)
3213 def _set_from_binary(self, p):
3214 r"""_set_from_binary(SlabWithPore self, PyObject * p)"""
3215 return _IMP_npc.SlabWithPore__set_from_binary(self, p)
3217 def __getstate__(self):
3218 p = self._get_as_binary()
3219 if len(self.__dict__) > 1:
3220 d = self.__dict__.copy()
3225 def __setstate__(self, p):
3226 if not hasattr(self,
'this'):
3228 if isinstance(p, tuple):
3230 self.__dict__.update(d)
3231 return self._set_from_binary(p)
3233 __swig_destroy__ = _IMP_npc.delete_SlabWithPore
3236 _IMP_npc.SlabWithPore_swigregister(SlabWithPore)
3237 class SlabWithToroidalPore(SlabWithPore):
3238 r"""Proxy of C++ IMP::npc::SlabWithToroidalPore class."""
3240 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3242 def __init__(self, *args):
3244 __init__(SlabWithToroidalPore self) -> SlabWithToroidalPore
3245 __init__(SlabWithToroidalPore self, Model m, ParticleIndex id) -> SlabWithToroidalPore
3246 __init__(SlabWithToroidalPore self, _ParticleAdaptor d) -> SlabWithToroidalPore
3248 _IMP_npc.SlabWithToroidalPore_swiginit(self, _IMP_npc.new_SlabWithToroidalPore(*args))
3250 def show(self, *args):
3251 r"""show(SlabWithToroidalPore self, _ostream out=std::cout)"""
3252 return _IMP_npc.SlabWithToroidalPore_show(self, *args)
3255 def setup_particle(*args):
3257 setup_particle(Model m, ParticleIndex pi, double thickness, double major_radius) -> SlabWithToroidalPore
3258 setup_particle(_ParticleAdaptor pa, double thickness, double major_radius) -> SlabWithToroidalPore
3259 setup_particle(Model m, ParticleIndex pi, double thickness, double major_radius, double minor_radius_h2v_aspect_ratio) -> SlabWithToroidalPore
3260 setup_particle(_ParticleAdaptor pa, double thickness, double major_radius, double minor_radius_h2v_aspect_ratio) -> SlabWithToroidalPore
3262 return _IMP_npc.SlabWithToroidalPore_setup_particle(*args)
3265 def get_is_setup(*args):
3267 get_is_setup(_ParticleAdaptor p) -> bool
3268 get_is_setup(Model m, ParticleIndex pi) -> bool
3270 return _IMP_npc.SlabWithToroidalPore_get_is_setup(*args)
3272 def set_minor_radius_h2v_aspect_ratio(self, aspect_ratio):
3273 r"""set_minor_radius_h2v_aspect_ratio(SlabWithToroidalPore self, double aspect_ratio)"""
3274 return _IMP_npc.SlabWithToroidalPore_set_minor_radius_h2v_aspect_ratio(self, aspect_ratio)
3276 def get_minor_radius_h2v_aspect_ratio(self):
3277 r"""get_minor_radius_h2v_aspect_ratio(SlabWithToroidalPore self) -> double"""
3278 return _IMP_npc.SlabWithToroidalPore_get_minor_radius_h2v_aspect_ratio(self)
3280 def get_vertical_minor_radius(self):
3281 r"""get_vertical_minor_radius(SlabWithToroidalPore self) -> double"""
3282 return _IMP_npc.SlabWithToroidalPore_get_vertical_minor_radius(self)
3284 def set_vertical_minor_radius(self, rv):
3285 r"""set_vertical_minor_radius(SlabWithToroidalPore self, double rv)"""
3286 return _IMP_npc.SlabWithToroidalPore_set_vertical_minor_radius(self, rv)
3288 def get_horizontal_minor_radius(self):
3289 r"""get_horizontal_minor_radius(SlabWithToroidalPore self) -> double"""
3290 return _IMP_npc.SlabWithToroidalPore_get_horizontal_minor_radius(self)
3292 def set_horizontal_minor_radius(self, rh):
3293 r"""set_horizontal_minor_radius(SlabWithToroidalPore self, double rh)"""
3294 return _IMP_npc.SlabWithToroidalPore_set_horizontal_minor_radius(self, rh)
3297 def get_minor_radius_h2v_aspect_ratio_key():
3298 r"""get_minor_radius_h2v_aspect_ratio_key() -> FloatKey"""
3299 return _IMP_npc.SlabWithToroidalPore_get_minor_radius_h2v_aspect_ratio_key()
3302 def get_toroidal_pore_key():
3303 r"""get_toroidal_pore_key() -> IntKey"""
3304 return _IMP_npc.SlabWithToroidalPore_get_toroidal_pore_key()
3306 def add_attribute(self, *args):
3308 add_attribute(SlabWithToroidalPore self, FloatKey k, IMP::Float v, bool opt)
3309 add_attribute(SlabWithToroidalPore self, FloatKey a0, IMP::Float a1)
3310 add_attribute(SlabWithToroidalPore self, IntKey a0, IMP::Int a1)
3311 add_attribute(SlabWithToroidalPore self, FloatsKey a0, IMP::Floats a1)
3312 add_attribute(SlabWithToroidalPore self, IntsKey a0, IMP::Ints a1)
3313 add_attribute(SlabWithToroidalPore self, StringKey a0, IMP::String a1)
3314 add_attribute(SlabWithToroidalPore self, ParticleIndexKey a0, Particle a1)
3315 add_attribute(SlabWithToroidalPore self, ObjectKey a0, Object a1)
3316 add_attribute(SlabWithToroidalPore self, SparseFloatKey a0, IMP::Float a1)
3317 add_attribute(SlabWithToroidalPore self, SparseIntKey a0, IMP::Int a1)
3318 add_attribute(SlabWithToroidalPore self, SparseStringKey a0, IMP::String a1)
3319 add_attribute(SlabWithToroidalPore self, SparseParticleIndexKey a0, ParticleIndex a1)
3321 return _IMP_npc.SlabWithToroidalPore_add_attribute(self, *args)
3323 def get_value(self, *args):
3325 get_value(SlabWithToroidalPore self, FloatKey a0) -> IMP::Float
3326 get_value(SlabWithToroidalPore self, IntKey a0) -> IMP::Int
3327 get_value(SlabWithToroidalPore self, FloatsKey a0) -> IMP::Floats
3328 get_value(SlabWithToroidalPore self, IntsKey a0) -> IMP::Ints
3329 get_value(SlabWithToroidalPore self, StringKey a0) -> IMP::String
3330 get_value(SlabWithToroidalPore self, ParticleIndexKey a0) -> Particle
3331 get_value(SlabWithToroidalPore self, ObjectKey a0) -> Object
3332 get_value(SlabWithToroidalPore self, SparseFloatKey a0) -> IMP::Float
3333 get_value(SlabWithToroidalPore self, SparseIntKey a0) -> IMP::Int
3334 get_value(SlabWithToroidalPore self, SparseStringKey a0) -> IMP::String
3335 get_value(SlabWithToroidalPore self, SparseParticleIndexKey a0) -> ParticleIndex
3337 return _IMP_npc.SlabWithToroidalPore_get_value(self, *args)
3339 def set_value(self, *args):
3341 set_value(SlabWithToroidalPore self, FloatKey a0, IMP::Float a1)
3342 set_value(SlabWithToroidalPore self, IntKey a0, IMP::Int a1)
3343 set_value(SlabWithToroidalPore self, FloatsKey a0, IMP::Floats a1)
3344 set_value(SlabWithToroidalPore self, IntsKey a0, IMP::Ints a1)
3345 set_value(SlabWithToroidalPore self, StringKey a0, IMP::String a1)
3346 set_value(SlabWithToroidalPore self, ParticleIndexKey a0, Particle a1)
3347 set_value(SlabWithToroidalPore self, ObjectKey a0, Object a1)
3348 set_value(SlabWithToroidalPore self, SparseFloatKey a0, IMP::Float a1)
3349 set_value(SlabWithToroidalPore self, SparseIntKey a0, IMP::Int a1)
3350 set_value(SlabWithToroidalPore self, SparseStringKey a0, IMP::String a1)
3351 set_value(SlabWithToroidalPore self, SparseParticleIndexKey a0, ParticleIndex a1)
3353 return _IMP_npc.SlabWithToroidalPore_set_value(self, *args)
3355 def remove_attribute(self, *args):
3357 remove_attribute(SlabWithToroidalPore self, FloatKey a0)
3358 remove_attribute(SlabWithToroidalPore self, IntKey a0)
3359 remove_attribute(SlabWithToroidalPore self, FloatsKey a0)
3360 remove_attribute(SlabWithToroidalPore self, IntsKey a0)
3361 remove_attribute(SlabWithToroidalPore self, StringKey a0)
3362 remove_attribute(SlabWithToroidalPore self, ParticleIndexKey a0)
3363 remove_attribute(SlabWithToroidalPore self, ObjectKey a0)
3364 remove_attribute(SlabWithToroidalPore self, SparseFloatKey a0)
3365 remove_attribute(SlabWithToroidalPore self, SparseIntKey a0)
3366 remove_attribute(SlabWithToroidalPore self, SparseStringKey a0)
3367 remove_attribute(SlabWithToroidalPore self, SparseParticleIndexKey a0)
3369 return _IMP_npc.SlabWithToroidalPore_remove_attribute(self, *args)
3371 def has_attribute(self, *args):
3373 has_attribute(SlabWithToroidalPore self, FloatKey a0) -> bool
3374 has_attribute(SlabWithToroidalPore self, IntKey a0) -> bool
3375 has_attribute(SlabWithToroidalPore self, FloatsKey a0) -> bool
3376 has_attribute(SlabWithToroidalPore self, IntsKey a0) -> bool
3377 has_attribute(SlabWithToroidalPore self, StringKey a0) -> bool
3378 has_attribute(SlabWithToroidalPore self, ParticleIndexKey a0) -> bool
3379 has_attribute(SlabWithToroidalPore self, ObjectKey a0) -> bool
3380 has_attribute(SlabWithToroidalPore self, SparseFloatKey a0) -> bool
3381 has_attribute(SlabWithToroidalPore self, SparseIntKey a0) -> bool
3382 has_attribute(SlabWithToroidalPore self, SparseStringKey a0) -> bool
3383 has_attribute(SlabWithToroidalPore self, SparseParticleIndexKey a0) -> bool
3385 return _IMP_npc.SlabWithToroidalPore_has_attribute(self, *args)
3387 def get_derivative(self, a0):
3388 r"""get_derivative(SlabWithToroidalPore self, FloatKey a0) -> double"""
3389 return _IMP_npc.SlabWithToroidalPore_get_derivative(self, a0)
3392 r"""get_name(SlabWithToroidalPore self) -> std::string"""
3393 return _IMP_npc.SlabWithToroidalPore_get_name(self)
3395 def clear_caches(self):
3396 r"""clear_caches(SlabWithToroidalPore self)"""
3397 return _IMP_npc.SlabWithToroidalPore_clear_caches(self)
3399 def set_name(self, a0):
3400 r"""set_name(SlabWithToroidalPore self, std::string a0)"""
3401 return _IMP_npc.SlabWithToroidalPore_set_name(self, a0)
3404 r"""set_check_level(SlabWithToroidalPore self, IMP::CheckLevel a0)"""
3405 return _IMP_npc.SlabWithToroidalPore_set_check_level(self, a0)
3407 def add_to_derivative(self, a0, a1, a2):
3408 r"""add_to_derivative(SlabWithToroidalPore self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
3409 return _IMP_npc.SlabWithToroidalPore_add_to_derivative(self, a0, a1, a2)
3411 def set_is_optimized(self, a0, a1):
3412 r"""set_is_optimized(SlabWithToroidalPore self, FloatKey a0, bool a1)"""
3413 return _IMP_npc.SlabWithToroidalPore_set_is_optimized(self, a0, a1)
3415 def get_is_optimized(self, a0):
3416 r"""get_is_optimized(SlabWithToroidalPore self, FloatKey a0) -> bool"""
3417 return _IMP_npc.SlabWithToroidalPore_get_is_optimized(self, a0)
3420 r"""get_check_level(SlabWithToroidalPore self) -> IMP::CheckLevel"""
3421 return _IMP_npc.SlabWithToroidalPore_get_check_level(self)
3423 def __eq__(self, *args):
3425 __eq__(SlabWithToroidalPore self, SlabWithToroidalPore o) -> bool
3426 __eq__(SlabWithToroidalPore self, Particle d) -> bool
3428 return _IMP_npc.SlabWithToroidalPore___eq__(self, *args)
3430 def __ne__(self, *args):
3432 __ne__(SlabWithToroidalPore self, SlabWithToroidalPore o) -> bool
3433 __ne__(SlabWithToroidalPore self, Particle d) -> bool
3435 return _IMP_npc.SlabWithToroidalPore___ne__(self, *args)
3437 def __le__(self, *args):
3439 __le__(SlabWithToroidalPore self, SlabWithToroidalPore o) -> bool
3440 __le__(SlabWithToroidalPore self, Particle d) -> bool
3442 return _IMP_npc.SlabWithToroidalPore___le__(self, *args)
3444 def __lt__(self, *args):
3446 __lt__(SlabWithToroidalPore self, SlabWithToroidalPore o) -> bool
3447 __lt__(SlabWithToroidalPore self, Particle d) -> bool
3449 return _IMP_npc.SlabWithToroidalPore___lt__(self, *args)
3451 def __ge__(self, *args):
3453 __ge__(SlabWithToroidalPore self, SlabWithToroidalPore o) -> bool
3454 __ge__(SlabWithToroidalPore self, Particle d) -> bool
3456 return _IMP_npc.SlabWithToroidalPore___ge__(self, *args)
3458 def __gt__(self, *args):
3460 __gt__(SlabWithToroidalPore self, SlabWithToroidalPore o) -> bool
3461 __gt__(SlabWithToroidalPore self, Particle d) -> bool
3463 return _IMP_npc.SlabWithToroidalPore___gt__(self, *args)
3466 r"""__hash__(SlabWithToroidalPore self) -> std::size_t"""
3467 return _IMP_npc.SlabWithToroidalPore___hash__(self)
3470 r"""__str__(SlabWithToroidalPore self) -> std::string"""
3471 return _IMP_npc.SlabWithToroidalPore___str__(self)
3474 r"""__repr__(SlabWithToroidalPore self) -> std::string"""
3475 return _IMP_npc.SlabWithToroidalPore___repr__(self)
3477 def _get_as_binary(self):
3478 r"""_get_as_binary(SlabWithToroidalPore self) -> PyObject *"""
3479 return _IMP_npc.SlabWithToroidalPore__get_as_binary(self)
3481 def _set_from_binary(self, p):
3482 r"""_set_from_binary(SlabWithToroidalPore self, PyObject * p)"""
3483 return _IMP_npc.SlabWithToroidalPore__set_from_binary(self, p)
3485 def __getstate__(self):
3486 p = self._get_as_binary()
3487 if len(self.__dict__) > 1:
3488 d = self.__dict__.copy()
3493 def __setstate__(self, p):
3494 if not hasattr(self,
'this'):
3496 if isinstance(p, tuple):
3498 self.__dict__.update(d)
3499 return self._set_from_binary(p)
3501 __swig_destroy__ = _IMP_npc.delete_SlabWithToroidalPore
3504 _IMP_npc.SlabWithToroidalPore_swigregister(SlabWithToroidalPore)
3506 def __lshift__(*args):
3508 __lshift__(_ostream out, SlabWithSphericalIndent n) -> _ostream
3509 __lshift__(_ostream out, SlabWithPore n) -> _ostream
3510 __lshift__(_ostream out, SlabWithToroidalPore n) -> _ostream
3512 return _IMP_npc.__lshift__(*args)
3514 r"""Proxy of C++ IMP::npc::SlabWithToroidalPoreWireGeometry class."""
3516 thisown = property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
"The membership flag")
3518 def __init__(self, *args):
3520 __init__(SlabWithToroidalPoreWireGeometry self, double slab_height, double major_radius, double horizontal_semiaxis, double slab_length) -> SlabWithToroidalPoreWireGeometry
3521 __init__(SlabWithToroidalPoreWireGeometry self, double slab_height, double major_radius, double slab_length) -> SlabWithToroidalPoreWireGeometry
3523 _IMP_npc.SlabWithToroidalPoreWireGeometry_swiginit(self, _IMP_npc.new_SlabWithToroidalPoreWireGeometry(*args))
3525 def get_version_info(self):
3526 r"""get_version_info(SlabWithToroidalPoreWireGeometry self) -> VersionInfo"""
3527 return _IMP_npc.SlabWithToroidalPoreWireGeometry_get_version_info(self)
3528 __swig_destroy__ = _IMP_npc.delete_SlabWithToroidalPoreWireGeometry
3531 r"""__str__(SlabWithToroidalPoreWireGeometry self) -> std::string"""
3532 return _IMP_npc.SlabWithToroidalPoreWireGeometry___str__(self)
3535 r"""__repr__(SlabWithToroidalPoreWireGeometry self) -> std::string"""
3536 return _IMP_npc.SlabWithToroidalPoreWireGeometry___repr__(self)
3540 return _object_cast_to_SlabWithToroidalPoreWireGeometry(o)
3544 _IMP_npc.SlabWithToroidalPoreWireGeometry_swigregister(SlabWithToroidalPoreWireGeometry)
3547 r"""get_module_name() -> std::string const"""
3548 return _IMP_npc.get_module_name()
3551 r"""get_module_version() -> std::string const"""
3552 return _IMP_npc.get_module_version()
3555 r"""get_example_path(std::string fname) -> std::string"""
3556 return _IMP_npc.get_example_path(fname)
3559 r"""get_data_path(std::string fname) -> std::string"""
3560 return _IMP_npc.get_data_path(fname)
3562 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.