10 from __future__
import print_function, division, absolute_import
15 from sys
import version_info
as _swig_python_version_info
16 if _swig_python_version_info >= (2, 7, 0):
17 def swig_import_helper():
19 pkg = __name__.rpartition(
'.')[0]
20 mname =
'.'.join((pkg,
'_IMP_npc')).lstrip(
'.')
22 return importlib.import_module(mname)
24 return importlib.import_module(
'_IMP_npc')
25 _IMP_npc = swig_import_helper()
26 del swig_import_helper
27 elif _swig_python_version_info >= (2, 6, 0):
28 def swig_import_helper():
29 from os.path
import dirname
33 fp, pathname, description = imp.find_module(
'_IMP_npc', [dirname(__file__)])
39 _mod = imp.load_module(
'_IMP_npc', fp, pathname, description)
43 _IMP_npc = swig_import_helper()
44 del swig_import_helper
47 del _swig_python_version_info
49 _swig_property = property
54 import builtins
as __builtin__
58 def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
59 if (name ==
"thisown"):
60 return self.this.own(value)
62 if type(value).__name__ ==
'SwigPyObject':
63 self.__dict__[name] = value
65 method = class_type.__swig_setmethods__.get(name,
None)
67 return method(self, value)
69 object.__setattr__(self, name, value)
71 raise AttributeError(
"You cannot add attributes to %s" % self)
74 def _swig_setattr(self, class_type, name, value):
75 return _swig_setattr_nondynamic(self, class_type, name, value, 0)
78 def _swig_getattr(self, class_type, name):
79 if (name ==
"thisown"):
80 return self.this.own()
81 method = class_type.__swig_getmethods__.get(name,
None)
84 raise AttributeError(
"'%s' object has no attribute '%s'" % (class_type.__name__, name))
89 strthis =
"proxy of " + self.this.__repr__()
90 except __builtin__.Exception:
92 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
95 def _swig_setattr_nondynamic_method(set):
96 def set_attr(self, name, value):
97 if (name ==
"thisown"):
98 return self.this.own(value)
99 if hasattr(self, name)
or (name ==
"this"):
100 set(self, name, value)
102 raise AttributeError(
"You cannot add attributes to %s" % self)
108 weakref_proxy = weakref.proxy
109 except __builtin__.Exception:
110 weakref_proxy =
lambda x: x
113 class IMP_NPC_SwigPyIterator(object):
114 """Proxy of C++ swig::IMP_NPC_SwigPyIterator class."""
116 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
118 def __init__(self, *args, **kwargs):
119 raise AttributeError(
"No constructor defined - class is abstract")
120 __repr__ = _swig_repr
121 __swig_destroy__ = _IMP_npc.delete_IMP_NPC_SwigPyIterator
122 __del__ =
lambda self:
None
125 """value(IMP_NPC_SwigPyIterator self) -> PyObject *"""
126 return _IMP_npc.IMP_NPC_SwigPyIterator_value(self)
131 incr(IMP_NPC_SwigPyIterator self, size_t n=1) -> IMP_NPC_SwigPyIterator
132 incr(IMP_NPC_SwigPyIterator self) -> IMP_NPC_SwigPyIterator
134 return _IMP_npc.IMP_NPC_SwigPyIterator_incr(self, n)
139 decr(IMP_NPC_SwigPyIterator self, size_t n=1) -> IMP_NPC_SwigPyIterator
140 decr(IMP_NPC_SwigPyIterator self) -> IMP_NPC_SwigPyIterator
142 return _IMP_npc.IMP_NPC_SwigPyIterator_decr(self, n)
145 def distance(self, x):
146 """distance(IMP_NPC_SwigPyIterator self, IMP_NPC_SwigPyIterator x) -> ptrdiff_t"""
147 return _IMP_npc.IMP_NPC_SwigPyIterator_distance(self, x)
151 """equal(IMP_NPC_SwigPyIterator self, IMP_NPC_SwigPyIterator x) -> bool"""
152 return _IMP_npc.IMP_NPC_SwigPyIterator_equal(self, x)
156 """copy(IMP_NPC_SwigPyIterator self) -> IMP_NPC_SwigPyIterator"""
157 return _IMP_npc.IMP_NPC_SwigPyIterator_copy(self)
161 """next(IMP_NPC_SwigPyIterator self) -> PyObject *"""
162 return _IMP_npc.IMP_NPC_SwigPyIterator_next(self)
166 """__next__(IMP_NPC_SwigPyIterator self) -> PyObject *"""
167 return _IMP_npc.IMP_NPC_SwigPyIterator___next__(self)
171 """previous(IMP_NPC_SwigPyIterator self) -> PyObject *"""
172 return _IMP_npc.IMP_NPC_SwigPyIterator_previous(self)
175 def advance(self, n):
176 """advance(IMP_NPC_SwigPyIterator self, ptrdiff_t n) -> IMP_NPC_SwigPyIterator"""
177 return _IMP_npc.IMP_NPC_SwigPyIterator_advance(self, n)
181 """__eq__(IMP_NPC_SwigPyIterator self, IMP_NPC_SwigPyIterator x) -> bool"""
182 return _IMP_npc.IMP_NPC_SwigPyIterator___eq__(self, x)
186 """__ne__(IMP_NPC_SwigPyIterator self, IMP_NPC_SwigPyIterator x) -> bool"""
187 return _IMP_npc.IMP_NPC_SwigPyIterator___ne__(self, x)
190 def __iadd__(self, n):
191 """__iadd__(IMP_NPC_SwigPyIterator self, ptrdiff_t n) -> IMP_NPC_SwigPyIterator"""
192 return _IMP_npc.IMP_NPC_SwigPyIterator___iadd__(self, n)
195 def __isub__(self, n):
196 """__isub__(IMP_NPC_SwigPyIterator self, ptrdiff_t n) -> IMP_NPC_SwigPyIterator"""
197 return _IMP_npc.IMP_NPC_SwigPyIterator___isub__(self, n)
200 def __add__(self, n):
201 """__add__(IMP_NPC_SwigPyIterator self, ptrdiff_t n) -> IMP_NPC_SwigPyIterator"""
202 return _IMP_npc.IMP_NPC_SwigPyIterator___add__(self, n)
205 def __sub__(self, *args):
207 __sub__(IMP_NPC_SwigPyIterator self, ptrdiff_t n) -> IMP_NPC_SwigPyIterator
208 __sub__(IMP_NPC_SwigPyIterator self, IMP_NPC_SwigPyIterator x) -> ptrdiff_t
210 return _IMP_npc.IMP_NPC_SwigPyIterator___sub__(self, *args)
214 IMP_NPC_SwigPyIterator_swigregister = _IMP_npc.IMP_NPC_SwigPyIterator_swigregister
215 IMP_NPC_SwigPyIterator_swigregister(IMP_NPC_SwigPyIterator)
223 IMP_DEBUG = _IMP_npc.IMP_DEBUG
224 IMP_RELEASE = _IMP_npc.IMP_RELEASE
225 IMP_SILENT = _IMP_npc.IMP_SILENT
226 IMP_PROGRESS = _IMP_npc.IMP_PROGRESS
227 IMP_TERSE = _IMP_npc.IMP_TERSE
228 IMP_VERBOSE = _IMP_npc.IMP_VERBOSE
229 IMP_MEMORY = _IMP_npc.IMP_MEMORY
230 IMP_NONE = _IMP_npc.IMP_NONE
231 IMP_USAGE = _IMP_npc.IMP_USAGE
232 IMP_INTERNAL = _IMP_npc.IMP_INTERNAL
233 IMP_KERNEL_HAS_LOG4CXX = _IMP_npc.IMP_KERNEL_HAS_LOG4CXX
234 IMP_COMPILER_HAS_AUTO = _IMP_npc.IMP_COMPILER_HAS_AUTO
235 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_npc.IMP_COMPILER_HAS_DEBUG_VECTOR
236 IMP_COMPILER_HAS_UNIQUE_PTR = _IMP_npc.IMP_COMPILER_HAS_UNIQUE_PTR
237 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_npc.IMP_KERNEL_HAS_BOOST_RANDOM
238 IMP_KERNEL_HAS_NUMPY = _IMP_npc.IMP_KERNEL_HAS_NUMPY
239 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_npc.IMP_KERNEL_HAS_GPERFTOOLS
240 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_npc.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
241 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_npc.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
242 IMPKERNEL_SHOW_WARNINGS = _IMP_npc.IMPKERNEL_SHOW_WARNINGS
245 class _DirectorObjects(object):
246 """@internal Simple class to keep references to director objects
247 to prevent premature deletion."""
250 def register(self, obj):
251 """Take a reference to a director object; will only work for
252 refcounted C++ classes"""
253 if hasattr(obj,
'get_ref_count'):
254 self._objects.append(obj)
256 """Only drop our reference and allow cleanup by Python if no other
257 Python references exist (we hold 3 references: one in self._objects,
258 one in x, and one in the argument list for getrefcount) *and* no
259 other C++ references exist (the Python object always holds one)"""
260 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
261 or x.get_ref_count() > 1]
265 def get_object_count(self):
266 """Get number of director objects (useful for testing only)"""
267 return len(self._objects)
268 _director_objects = _DirectorObjects()
270 class _ostream(object):
271 """Proxy of C++ std::ostream class."""
273 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
275 def __init__(self, *args, **kwargs):
276 raise AttributeError(
"No constructor defined")
277 __repr__ = _swig_repr
279 def write(self, osa_buf):
280 """write(_ostream self, char const * osa_buf)"""
281 return _IMP_npc._ostream_write(self, osa_buf)
283 _ostream_swigregister = _IMP_npc._ostream_swigregister
284 _ostream_swigregister(_ostream)
286 IMP_COMPILER_HAS_OVERRIDE = _IMP_npc.IMP_COMPILER_HAS_OVERRIDE
287 IMP_COMPILER_HAS_FINAL = _IMP_npc.IMP_COMPILER_HAS_FINAL
288 IMP_HAS_NOEXCEPT = _IMP_npc.IMP_HAS_NOEXCEPT
289 IMP_C_OPEN_BINARY = _IMP_npc.IMP_C_OPEN_BINARY
291 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_npc.IMP_CGAL_HAS_BOOST_FILESYSTEM
292 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_npc.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
293 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_npc.IMP_CGAL_HAS_BOOST_RANDOM
294 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_npc.IMP_CGAL_HAS_BOOST_SYSTEM
295 IMP_CGAL_HAS_NUMPY = _IMP_npc.IMP_CGAL_HAS_NUMPY
296 IMPCGAL_SHOW_WARNINGS = _IMP_npc.IMPCGAL_SHOW_WARNINGS
298 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_npc.IMP_ALGEBRA_HAS_IMP_CGAL
299 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_npc.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
300 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_npc.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
301 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_npc.IMP_ALGEBRA_HAS_BOOST_RANDOM
302 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_npc.IMP_ALGEBRA_HAS_BOOST_SYSTEM
303 IMP_ALGEBRA_HAS_CGAL = _IMP_npc.IMP_ALGEBRA_HAS_CGAL
304 IMP_ALGEBRA_HAS_NUMPY = _IMP_npc.IMP_ALGEBRA_HAS_NUMPY
305 IMP_ALGEBRA_HAS_ANN = _IMP_npc.IMP_ALGEBRA_HAS_ANN
306 IMPALGEBRA_SHOW_WARNINGS = _IMP_npc.IMPALGEBRA_SHOW_WARNINGS
308 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_npc.IMP_DISPLAY_HAS_IMP_CGAL
309 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_npc.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
310 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_npc.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
311 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_npc.IMP_DISPLAY_HAS_BOOST_RANDOM
312 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_npc.IMP_DISPLAY_HAS_BOOST_SYSTEM
313 IMP_DISPLAY_HAS_CGAL = _IMP_npc.IMP_DISPLAY_HAS_CGAL
314 IMP_DISPLAY_HAS_NUMPY = _IMP_npc.IMP_DISPLAY_HAS_NUMPY
315 IMPDISPLAY_SHOW_WARNINGS = _IMP_npc.IMPDISPLAY_SHOW_WARNINGS
317 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
318 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
319 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
320 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
321 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
322 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_CGAL
323 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_HDF5
324 IMP_SCORE_FUNCTOR_HAS_NUMPY = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_NUMPY
325 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_npc.IMPSCOREFUNCTOR_SHOW_WARNINGS
327 IMP_CORE_HAS_IMP_CGAL = _IMP_npc.IMP_CORE_HAS_IMP_CGAL
328 IMP_CORE_HAS_IMP_KERNEL = _IMP_npc.IMP_CORE_HAS_IMP_KERNEL
329 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_npc.IMP_CORE_HAS_BOOST_FILESYSTEM
330 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_npc.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
331 IMP_CORE_HAS_BOOST_RANDOM = _IMP_npc.IMP_CORE_HAS_BOOST_RANDOM
332 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_npc.IMP_CORE_HAS_BOOST_SYSTEM
333 IMP_CORE_HAS_CGAL = _IMP_npc.IMP_CORE_HAS_CGAL
334 IMP_CORE_HAS_HDF5 = _IMP_npc.IMP_CORE_HAS_HDF5
335 IMP_CORE_HAS_NUMPY = _IMP_npc.IMP_CORE_HAS_NUMPY
336 IMPCORE_SHOW_WARNINGS = _IMP_npc.IMPCORE_SHOW_WARNINGS
338 IMP_NPC_HAS_IMP_ALGEBRA = _IMP_npc.IMP_NPC_HAS_IMP_ALGEBRA
339 IMP_NPC_HAS_IMP_CGAL = _IMP_npc.IMP_NPC_HAS_IMP_CGAL
340 IMP_NPC_HAS_IMP_DISPLAY = _IMP_npc.IMP_NPC_HAS_IMP_DISPLAY
341 IMP_NPC_HAS_IMP_KERNEL = _IMP_npc.IMP_NPC_HAS_IMP_KERNEL
342 IMP_NPC_HAS_IMP_SCORE_FUNCTOR = _IMP_npc.IMP_NPC_HAS_IMP_SCORE_FUNCTOR
343 IMP_NPC_HAS_BOOST_FILESYSTEM = _IMP_npc.IMP_NPC_HAS_BOOST_FILESYSTEM
344 IMP_NPC_HAS_BOOST_PROGRAMOPTIONS = _IMP_npc.IMP_NPC_HAS_BOOST_PROGRAMOPTIONS
345 IMP_NPC_HAS_BOOST_RANDOM = _IMP_npc.IMP_NPC_HAS_BOOST_RANDOM
346 IMP_NPC_HAS_BOOST_SYSTEM = _IMP_npc.IMP_NPC_HAS_BOOST_SYSTEM
347 IMP_NPC_HAS_CGAL = _IMP_npc.IMP_NPC_HAS_CGAL
348 IMP_NPC_HAS_HDF5 = _IMP_npc.IMP_NPC_HAS_HDF5
349 IMP_NPC_HAS_NUMPY = _IMP_npc.IMP_NPC_HAS_NUMPY
350 IMP_NPC_HAS_PYTHON_IHM = _IMP_npc.IMP_NPC_HAS_PYTHON_IHM
351 IMPNPC_SHOW_WARNINGS = _IMP_npc.IMPNPC_SHOW_WARNINGS
353 _object_types.append(
"ZAxialPositionLowerRestraint")
356 def _object_cast_to_ZAxialPositionLowerRestraint(o):
357 """_object_cast_to_ZAxialPositionLowerRestraint(Object o) -> ZAxialPositionLowerRestraint"""
358 return _IMP_npc._object_cast_to_ZAxialPositionLowerRestraint(o)
360 _object_types.append(
"ZAxialPositionUpperRestraint")
363 def _object_cast_to_ZAxialPositionUpperRestraint(o):
364 """_object_cast_to_ZAxialPositionUpperRestraint(Object o) -> ZAxialPositionUpperRestraint"""
365 return _IMP_npc._object_cast_to_ZAxialPositionUpperRestraint(o)
367 _object_types.append(
"XYRadialPositionLowerRestraint")
370 def _object_cast_to_XYRadialPositionLowerRestraint(o):
371 """_object_cast_to_XYRadialPositionLowerRestraint(Object o) -> XYRadialPositionLowerRestraint"""
372 return _IMP_npc._object_cast_to_XYRadialPositionLowerRestraint(o)
374 _object_types.append(
"XYRadialPositionUpperRestraint")
377 def _object_cast_to_XYRadialPositionUpperRestraint(o):
378 """_object_cast_to_XYRadialPositionUpperRestraint(Object o) -> XYRadialPositionUpperRestraint"""
379 return _IMP_npc._object_cast_to_XYRadialPositionUpperRestraint(o)
381 _object_types.append(
"ProteinContactRestraint")
384 def _object_cast_to_ProteinContactRestraint(o):
385 """_object_cast_to_ProteinContactRestraint(Object o) -> ProteinContactRestraint"""
386 return _IMP_npc._object_cast_to_ProteinContactRestraint(o)
388 _object_types.append(
"ProteinChainRestraint")
391 def _object_cast_to_ProteinChainRestraint(o):
392 """_object_cast_to_ProteinChainRestraint(Object o) -> ProteinChainRestraint"""
393 return _IMP_npc._object_cast_to_ProteinChainRestraint(o)
395 _object_types.append(
"MembraneSurfaceLocationRestraint")
398 def _object_cast_to_MembraneSurfaceLocationRestraint(o):
399 """_object_cast_to_MembraneSurfaceLocationRestraint(Object o) -> MembraneSurfaceLocationRestraint"""
400 return _IMP_npc._object_cast_to_MembraneSurfaceLocationRestraint(o)
402 _object_types.append(
"PoreSideVolumeLocationRestraint")
405 def _object_cast_to_PoreSideVolumeLocationRestraint(o):
406 """_object_cast_to_PoreSideVolumeLocationRestraint(Object o) -> PoreSideVolumeLocationRestraint"""
407 return _IMP_npc._object_cast_to_PoreSideVolumeLocationRestraint(o)
409 _object_types.append(
"PerinuclearVolumeLocationRestraint")
412 def _object_cast_to_PerinuclearVolumeLocationRestraint(o):
413 """_object_cast_to_PerinuclearVolumeLocationRestraint(Object o) -> PerinuclearVolumeLocationRestraint"""
414 return _IMP_npc._object_cast_to_PerinuclearVolumeLocationRestraint(o)
416 _object_types.append(
"AssemblySymmetryByDistanceRestraint")
419 def _object_cast_to_AssemblySymmetryByDistanceRestraint(o):
420 """_object_cast_to_AssemblySymmetryByDistanceRestraint(Object o) -> AssemblySymmetryByDistanceRestraint"""
421 return _IMP_npc._object_cast_to_AssemblySymmetryByDistanceRestraint(o)
423 _object_types.append(
"AssemblySymmetryByDihedralRestraint")
426 def _object_cast_to_AssemblySymmetryByDihedralRestraint(o):
427 """_object_cast_to_AssemblySymmetryByDihedralRestraint(Object o) -> AssemblySymmetryByDihedralRestraint"""
428 return _IMP_npc._object_cast_to_AssemblySymmetryByDihedralRestraint(o)
430 _object_types.append(
"ProteinProximityRestraint")
433 def _object_cast_to_ProteinProximityRestraint(o):
434 """_object_cast_to_ProteinProximityRestraint(Object o) -> ProteinProximityRestraint"""
435 return _IMP_npc._object_cast_to_ProteinProximityRestraint(o)
437 _object_types.append(
"CompositeRestraint")
440 def _object_cast_to_CompositeRestraint(o):
441 """_object_cast_to_CompositeRestraint(Object o) -> CompositeRestraint"""
442 return _IMP_npc._object_cast_to_CompositeRestraint(o)
444 _object_types.append(
"MinimumSphereDistancePairScore")
447 def _object_cast_to_MinimumSphereDistancePairScore(o):
448 """_object_cast_to_MinimumSphereDistancePairScore(Object o) -> MinimumSphereDistancePairScore"""
449 return _IMP_npc._object_cast_to_MinimumSphereDistancePairScore(o)
451 _object_types.append(
"MembraneExclusionRestraint")
454 def _object_cast_to_MembraneExclusionRestraint(o):
455 """_object_cast_to_MembraneExclusionRestraint(Object o) -> MembraneExclusionRestraint"""
456 return _IMP_npc._object_cast_to_MembraneExclusionRestraint(o)
458 _object_types.append(
"MembraneSurfaceLocationConditionalRestraint")
461 def _object_cast_to_MembraneSurfaceLocationConditionalRestraint(o):
462 """_object_cast_to_MembraneSurfaceLocationConditionalRestraint(Object o) -> MembraneSurfaceLocationConditionalRestraint"""
463 return _IMP_npc._object_cast_to_MembraneSurfaceLocationConditionalRestraint(o)
465 _object_types.append(
"XYRadialPositionRestraint")
468 def _object_cast_to_XYRadialPositionRestraint(o):
469 """_object_cast_to_XYRadialPositionRestraint(Object o) -> XYRadialPositionRestraint"""
470 return _IMP_npc._object_cast_to_XYRadialPositionRestraint(o)
472 _object_types.append(
"YAxialPositionLowerRestraint")
475 def _object_cast_to_YAxialPositionLowerRestraint(o):
476 """_object_cast_to_YAxialPositionLowerRestraint(Object o) -> YAxialPositionLowerRestraint"""
477 return _IMP_npc._object_cast_to_YAxialPositionLowerRestraint(o)
479 _object_types.append(
"YAxialPositionRestraint")
482 def _object_cast_to_YAxialPositionRestraint(o):
483 """_object_cast_to_YAxialPositionRestraint(Object o) -> YAxialPositionRestraint"""
484 return _IMP_npc._object_cast_to_YAxialPositionRestraint(o)
486 _object_types.append(
"YAxialPositionUpperRestraint")
489 def _object_cast_to_YAxialPositionUpperRestraint(o):
490 """_object_cast_to_YAxialPositionUpperRestraint(Object o) -> YAxialPositionUpperRestraint"""
491 return _IMP_npc._object_cast_to_YAxialPositionUpperRestraint(o)
493 _object_types.append(
"ZAxialPositionRestraint")
496 def _object_cast_to_ZAxialPositionRestraint(o):
497 """_object_cast_to_ZAxialPositionRestraint(Object o) -> ZAxialPositionRestraint"""
498 return _IMP_npc._object_cast_to_ZAxialPositionRestraint(o)
500 """Proxy of C++ IMP::npc::ZAxialPositionRestraint class."""
502 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
506 __init__(IMP::npc::ZAxialPositionRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, double upper_bound, bool consider_radius, double sigma=1) -> ZAxialPositionRestraint
507 __init__(IMP::npc::ZAxialPositionRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, double upper_bound, bool consider_radius) -> ZAxialPositionRestraint
508 __init__(IMP::npc::ZAxialPositionRestraint self, Model m, double lower_bound, double upper_bound, bool consider_radius, double sigma=1) -> ZAxialPositionRestraint
509 __init__(IMP::npc::ZAxialPositionRestraint self, Model m, double lower_bound, double upper_bound, bool consider_radius) -> ZAxialPositionRestraint
511 this = _IMP_npc.new_ZAxialPositionRestraint(*args)
513 self.this.append(this)
514 except __builtin__.Exception:
518 """add_particle(ZAxialPositionRestraint self, Particle p)"""
519 return _IMP_npc.ZAxialPositionRestraint_add_particle(self, p)
523 """add_particles(ZAxialPositionRestraint self, IMP::ParticlesTemp const & ps)"""
524 return _IMP_npc.ZAxialPositionRestraint_add_particles(self, ps)
527 def set_particles(self, ps):
528 """set_particles(ZAxialPositionRestraint self, IMP::ParticlesTemp const & ps)"""
529 return _IMP_npc.ZAxialPositionRestraint_set_particles(self, ps)
532 def do_get_inputs(self):
533 """do_get_inputs(ZAxialPositionRestraint self) -> IMP::ModelObjectsTemp"""
534 return _IMP_npc.ZAxialPositionRestraint_do_get_inputs(self)
537 def get_version_info(self):
538 """get_version_info(ZAxialPositionRestraint self) -> VersionInfo"""
539 return _IMP_npc.ZAxialPositionRestraint_get_version_info(self)
543 """__str__(ZAxialPositionRestraint self) -> std::string"""
544 return _IMP_npc.ZAxialPositionRestraint___str__(self)
548 """__repr__(ZAxialPositionRestraint self) -> std::string"""
549 return _IMP_npc.ZAxialPositionRestraint___repr__(self)
554 return _object_cast_to_ZAxialPositionRestraint(o)
556 ZAxialPositionRestraint_swigregister = _IMP_npc.ZAxialPositionRestraint_swigregister
557 ZAxialPositionRestraint_swigregister(ZAxialPositionRestraint)
560 """Proxy of C++ IMP::npc::ZAxialPositionLowerRestraint class."""
562 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
566 __init__(IMP::npc::ZAxialPositionLowerRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, bool consider_radius, double sigma=1) -> ZAxialPositionLowerRestraint
567 __init__(IMP::npc::ZAxialPositionLowerRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, bool consider_radius) -> ZAxialPositionLowerRestraint
568 __init__(IMP::npc::ZAxialPositionLowerRestraint self, Model m, double lower_bound, bool consider_radius, double sigma=1) -> ZAxialPositionLowerRestraint
569 __init__(IMP::npc::ZAxialPositionLowerRestraint self, Model m, double lower_bound, bool consider_radius) -> ZAxialPositionLowerRestraint
571 this = _IMP_npc.new_ZAxialPositionLowerRestraint(*args)
573 self.this.append(this)
574 except __builtin__.Exception:
578 """add_particle(ZAxialPositionLowerRestraint self, Particle p)"""
579 return _IMP_npc.ZAxialPositionLowerRestraint_add_particle(self, p)
583 """add_particles(ZAxialPositionLowerRestraint self, IMP::ParticlesTemp const & ps)"""
584 return _IMP_npc.ZAxialPositionLowerRestraint_add_particles(self, ps)
587 def set_particles(self, ps):
588 """set_particles(ZAxialPositionLowerRestraint self, IMP::ParticlesTemp const & ps)"""
589 return _IMP_npc.ZAxialPositionLowerRestraint_set_particles(self, ps)
592 def do_get_inputs(self):
593 """do_get_inputs(ZAxialPositionLowerRestraint self) -> IMP::ModelObjectsTemp"""
594 return _IMP_npc.ZAxialPositionLowerRestraint_do_get_inputs(self)
597 def get_version_info(self):
598 """get_version_info(ZAxialPositionLowerRestraint self) -> VersionInfo"""
599 return _IMP_npc.ZAxialPositionLowerRestraint_get_version_info(self)
603 """__str__(ZAxialPositionLowerRestraint self) -> std::string"""
604 return _IMP_npc.ZAxialPositionLowerRestraint___str__(self)
608 """__repr__(ZAxialPositionLowerRestraint self) -> std::string"""
609 return _IMP_npc.ZAxialPositionLowerRestraint___repr__(self)
614 return _object_cast_to_ZAxialPositionLowerRestraint(o)
616 ZAxialPositionLowerRestraint_swigregister = _IMP_npc.ZAxialPositionLowerRestraint_swigregister
617 ZAxialPositionLowerRestraint_swigregister(ZAxialPositionLowerRestraint)
620 """Proxy of C++ IMP::npc::ZAxialPositionUpperRestraint class."""
622 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
626 __init__(IMP::npc::ZAxialPositionUpperRestraint self, Model m, _SingletonContainerAdaptor sc, double upper_bound, bool consider_radius, double sigma=1) -> ZAxialPositionUpperRestraint
627 __init__(IMP::npc::ZAxialPositionUpperRestraint self, Model m, _SingletonContainerAdaptor sc, double upper_bound, bool consider_radius) -> ZAxialPositionUpperRestraint
628 __init__(IMP::npc::ZAxialPositionUpperRestraint self, Model m, double upper_bound, bool consider_radius, double sigma=1) -> ZAxialPositionUpperRestraint
629 __init__(IMP::npc::ZAxialPositionUpperRestraint self, Model m, double upper_bound, bool consider_radius) -> ZAxialPositionUpperRestraint
631 this = _IMP_npc.new_ZAxialPositionUpperRestraint(*args)
633 self.this.append(this)
634 except __builtin__.Exception:
638 """add_particle(ZAxialPositionUpperRestraint self, Particle p)"""
639 return _IMP_npc.ZAxialPositionUpperRestraint_add_particle(self, p)
643 """add_particles(ZAxialPositionUpperRestraint self, IMP::ParticlesTemp const & ps)"""
644 return _IMP_npc.ZAxialPositionUpperRestraint_add_particles(self, ps)
647 def set_particles(self, ps):
648 """set_particles(ZAxialPositionUpperRestraint self, IMP::ParticlesTemp const & ps)"""
649 return _IMP_npc.ZAxialPositionUpperRestraint_set_particles(self, ps)
652 def do_get_inputs(self):
653 """do_get_inputs(ZAxialPositionUpperRestraint self) -> IMP::ModelObjectsTemp"""
654 return _IMP_npc.ZAxialPositionUpperRestraint_do_get_inputs(self)
657 def get_version_info(self):
658 """get_version_info(ZAxialPositionUpperRestraint self) -> VersionInfo"""
659 return _IMP_npc.ZAxialPositionUpperRestraint_get_version_info(self)
663 """__str__(ZAxialPositionUpperRestraint self) -> std::string"""
664 return _IMP_npc.ZAxialPositionUpperRestraint___str__(self)
668 """__repr__(ZAxialPositionUpperRestraint self) -> std::string"""
669 return _IMP_npc.ZAxialPositionUpperRestraint___repr__(self)
674 return _object_cast_to_ZAxialPositionUpperRestraint(o)
676 ZAxialPositionUpperRestraint_swigregister = _IMP_npc.ZAxialPositionUpperRestraint_swigregister
677 ZAxialPositionUpperRestraint_swigregister(ZAxialPositionUpperRestraint)
680 """Proxy of C++ IMP::npc::YAxialPositionRestraint class."""
682 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
686 __init__(IMP::npc::YAxialPositionRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, double upper_bound, bool consider_radius, double sigma=1) -> YAxialPositionRestraint
687 __init__(IMP::npc::YAxialPositionRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, double upper_bound, bool consider_radius) -> YAxialPositionRestraint
688 __init__(IMP::npc::YAxialPositionRestraint self, Model m, double lower_bound, double upper_bound, bool consider_radius, double sigma=1) -> YAxialPositionRestraint
689 __init__(IMP::npc::YAxialPositionRestraint self, Model m, double lower_bound, double upper_bound, bool consider_radius) -> YAxialPositionRestraint
691 this = _IMP_npc.new_YAxialPositionRestraint(*args)
693 self.this.append(this)
694 except __builtin__.Exception:
698 """add_particle(YAxialPositionRestraint self, Particle p)"""
699 return _IMP_npc.YAxialPositionRestraint_add_particle(self, p)
703 """add_particles(YAxialPositionRestraint self, IMP::ParticlesTemp const & ps)"""
704 return _IMP_npc.YAxialPositionRestraint_add_particles(self, ps)
707 def set_particles(self, ps):
708 """set_particles(YAxialPositionRestraint self, IMP::ParticlesTemp const & ps)"""
709 return _IMP_npc.YAxialPositionRestraint_set_particles(self, ps)
712 def do_get_inputs(self):
713 """do_get_inputs(YAxialPositionRestraint self) -> IMP::ModelObjectsTemp"""
714 return _IMP_npc.YAxialPositionRestraint_do_get_inputs(self)
717 def get_version_info(self):
718 """get_version_info(YAxialPositionRestraint self) -> VersionInfo"""
719 return _IMP_npc.YAxialPositionRestraint_get_version_info(self)
723 """__str__(YAxialPositionRestraint self) -> std::string"""
724 return _IMP_npc.YAxialPositionRestraint___str__(self)
728 """__repr__(YAxialPositionRestraint self) -> std::string"""
729 return _IMP_npc.YAxialPositionRestraint___repr__(self)
734 return _object_cast_to_YAxialPositionRestraint(o)
736 YAxialPositionRestraint_swigregister = _IMP_npc.YAxialPositionRestraint_swigregister
737 YAxialPositionRestraint_swigregister(YAxialPositionRestraint)
740 """Proxy of C++ IMP::npc::YAxialPositionLowerRestraint class."""
742 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
746 __init__(IMP::npc::YAxialPositionLowerRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, bool consider_radius, double sigma=1) -> YAxialPositionLowerRestraint
747 __init__(IMP::npc::YAxialPositionLowerRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, bool consider_radius) -> YAxialPositionLowerRestraint
748 __init__(IMP::npc::YAxialPositionLowerRestraint self, Model m, double lower_bound, bool consider_radius, double sigma=1) -> YAxialPositionLowerRestraint
749 __init__(IMP::npc::YAxialPositionLowerRestraint self, Model m, double lower_bound, bool consider_radius) -> YAxialPositionLowerRestraint
751 this = _IMP_npc.new_YAxialPositionLowerRestraint(*args)
753 self.this.append(this)
754 except __builtin__.Exception:
758 """add_particle(YAxialPositionLowerRestraint self, Particle p)"""
759 return _IMP_npc.YAxialPositionLowerRestraint_add_particle(self, p)
763 """add_particles(YAxialPositionLowerRestraint self, IMP::ParticlesTemp const & ps)"""
764 return _IMP_npc.YAxialPositionLowerRestraint_add_particles(self, ps)
767 def set_particles(self, ps):
768 """set_particles(YAxialPositionLowerRestraint self, IMP::ParticlesTemp const & ps)"""
769 return _IMP_npc.YAxialPositionLowerRestraint_set_particles(self, ps)
772 def do_get_inputs(self):
773 """do_get_inputs(YAxialPositionLowerRestraint self) -> IMP::ModelObjectsTemp"""
774 return _IMP_npc.YAxialPositionLowerRestraint_do_get_inputs(self)
777 def get_version_info(self):
778 """get_version_info(YAxialPositionLowerRestraint self) -> VersionInfo"""
779 return _IMP_npc.YAxialPositionLowerRestraint_get_version_info(self)
783 """__str__(YAxialPositionLowerRestraint self) -> std::string"""
784 return _IMP_npc.YAxialPositionLowerRestraint___str__(self)
788 """__repr__(YAxialPositionLowerRestraint self) -> std::string"""
789 return _IMP_npc.YAxialPositionLowerRestraint___repr__(self)
794 return _object_cast_to_YAxialPositionLowerRestraint(o)
796 YAxialPositionLowerRestraint_swigregister = _IMP_npc.YAxialPositionLowerRestraint_swigregister
797 YAxialPositionLowerRestraint_swigregister(YAxialPositionLowerRestraint)
800 """Proxy of C++ IMP::npc::YAxialPositionUpperRestraint class."""
802 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
806 __init__(IMP::npc::YAxialPositionUpperRestraint self, Model m, _SingletonContainerAdaptor sc, double upper_bound, bool consider_radius, double sigma=1) -> YAxialPositionUpperRestraint
807 __init__(IMP::npc::YAxialPositionUpperRestraint self, Model m, _SingletonContainerAdaptor sc, double upper_bound, bool consider_radius) -> YAxialPositionUpperRestraint
808 __init__(IMP::npc::YAxialPositionUpperRestraint self, Model m, double upper_bound, bool consider_radius, double sigma=1) -> YAxialPositionUpperRestraint
809 __init__(IMP::npc::YAxialPositionUpperRestraint self, Model m, double upper_bound, bool consider_radius) -> YAxialPositionUpperRestraint
811 this = _IMP_npc.new_YAxialPositionUpperRestraint(*args)
813 self.this.append(this)
814 except __builtin__.Exception:
818 """add_particle(YAxialPositionUpperRestraint self, Particle p)"""
819 return _IMP_npc.YAxialPositionUpperRestraint_add_particle(self, p)
823 """add_particles(YAxialPositionUpperRestraint self, IMP::ParticlesTemp const & ps)"""
824 return _IMP_npc.YAxialPositionUpperRestraint_add_particles(self, ps)
827 def set_particles(self, ps):
828 """set_particles(YAxialPositionUpperRestraint self, IMP::ParticlesTemp const & ps)"""
829 return _IMP_npc.YAxialPositionUpperRestraint_set_particles(self, ps)
832 def do_get_inputs(self):
833 """do_get_inputs(YAxialPositionUpperRestraint self) -> IMP::ModelObjectsTemp"""
834 return _IMP_npc.YAxialPositionUpperRestraint_do_get_inputs(self)
837 def get_version_info(self):
838 """get_version_info(YAxialPositionUpperRestraint self) -> VersionInfo"""
839 return _IMP_npc.YAxialPositionUpperRestraint_get_version_info(self)
843 """__str__(YAxialPositionUpperRestraint self) -> std::string"""
844 return _IMP_npc.YAxialPositionUpperRestraint___str__(self)
848 """__repr__(YAxialPositionUpperRestraint self) -> std::string"""
849 return _IMP_npc.YAxialPositionUpperRestraint___repr__(self)
854 return _object_cast_to_YAxialPositionUpperRestraint(o)
856 YAxialPositionUpperRestraint_swigregister = _IMP_npc.YAxialPositionUpperRestraint_swigregister
857 YAxialPositionUpperRestraint_swigregister(YAxialPositionUpperRestraint)
860 """Proxy of C++ IMP::npc::XYRadialPositionRestraint class."""
862 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
866 __init__(IMP::npc::XYRadialPositionRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, double upper_bound, bool consider_radius, double sigma=1) -> XYRadialPositionRestraint
867 __init__(IMP::npc::XYRadialPositionRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, double upper_bound, bool consider_radius) -> XYRadialPositionRestraint
868 __init__(IMP::npc::XYRadialPositionRestraint self, Model m, double lower_bound, double upper_bound, bool consider_radius, double sigma=1) -> XYRadialPositionRestraint
869 __init__(IMP::npc::XYRadialPositionRestraint self, Model m, double lower_bound, double upper_bound, bool consider_radius) -> XYRadialPositionRestraint
871 this = _IMP_npc.new_XYRadialPositionRestraint(*args)
873 self.this.append(this)
874 except __builtin__.Exception:
878 """add_particle(XYRadialPositionRestraint self, Particle p)"""
879 return _IMP_npc.XYRadialPositionRestraint_add_particle(self, p)
883 """add_particles(XYRadialPositionRestraint self, IMP::ParticlesTemp const & ps)"""
884 return _IMP_npc.XYRadialPositionRestraint_add_particles(self, ps)
887 def set_particles(self, ps):
888 """set_particles(XYRadialPositionRestraint self, IMP::ParticlesTemp const & ps)"""
889 return _IMP_npc.XYRadialPositionRestraint_set_particles(self, ps)
892 def do_get_inputs(self):
893 """do_get_inputs(XYRadialPositionRestraint self) -> IMP::ModelObjectsTemp"""
894 return _IMP_npc.XYRadialPositionRestraint_do_get_inputs(self)
897 def get_version_info(self):
898 """get_version_info(XYRadialPositionRestraint self) -> VersionInfo"""
899 return _IMP_npc.XYRadialPositionRestraint_get_version_info(self)
903 """__str__(XYRadialPositionRestraint self) -> std::string"""
904 return _IMP_npc.XYRadialPositionRestraint___str__(self)
908 """__repr__(XYRadialPositionRestraint self) -> std::string"""
909 return _IMP_npc.XYRadialPositionRestraint___repr__(self)
914 return _object_cast_to_XYRadialPositionRestraint(o)
916 XYRadialPositionRestraint_swigregister = _IMP_npc.XYRadialPositionRestraint_swigregister
917 XYRadialPositionRestraint_swigregister(XYRadialPositionRestraint)
920 """Proxy of C++ IMP::npc::XYRadialPositionLowerRestraint class."""
922 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
926 __init__(IMP::npc::XYRadialPositionLowerRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, bool consider_radius, double sigma=1) -> XYRadialPositionLowerRestraint
927 __init__(IMP::npc::XYRadialPositionLowerRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, bool consider_radius) -> XYRadialPositionLowerRestraint
928 __init__(IMP::npc::XYRadialPositionLowerRestraint self, Model m, double lower_bound, bool consider_radius, double sigma=1) -> XYRadialPositionLowerRestraint
929 __init__(IMP::npc::XYRadialPositionLowerRestraint self, Model m, double lower_bound, bool consider_radius) -> XYRadialPositionLowerRestraint
931 this = _IMP_npc.new_XYRadialPositionLowerRestraint(*args)
933 self.this.append(this)
934 except __builtin__.Exception:
938 """add_particle(XYRadialPositionLowerRestraint self, Particle p)"""
939 return _IMP_npc.XYRadialPositionLowerRestraint_add_particle(self, p)
943 """add_particles(XYRadialPositionLowerRestraint self, IMP::ParticlesTemp const & ps)"""
944 return _IMP_npc.XYRadialPositionLowerRestraint_add_particles(self, ps)
947 def set_particles(self, ps):
948 """set_particles(XYRadialPositionLowerRestraint self, IMP::ParticlesTemp const & ps)"""
949 return _IMP_npc.XYRadialPositionLowerRestraint_set_particles(self, ps)
952 def do_get_inputs(self):
953 """do_get_inputs(XYRadialPositionLowerRestraint self) -> IMP::ModelObjectsTemp"""
954 return _IMP_npc.XYRadialPositionLowerRestraint_do_get_inputs(self)
957 def get_version_info(self):
958 """get_version_info(XYRadialPositionLowerRestraint self) -> VersionInfo"""
959 return _IMP_npc.XYRadialPositionLowerRestraint_get_version_info(self)
963 """__str__(XYRadialPositionLowerRestraint self) -> std::string"""
964 return _IMP_npc.XYRadialPositionLowerRestraint___str__(self)
968 """__repr__(XYRadialPositionLowerRestraint self) -> std::string"""
969 return _IMP_npc.XYRadialPositionLowerRestraint___repr__(self)
974 return _object_cast_to_XYRadialPositionLowerRestraint(o)
976 XYRadialPositionLowerRestraint_swigregister = _IMP_npc.XYRadialPositionLowerRestraint_swigregister
977 XYRadialPositionLowerRestraint_swigregister(XYRadialPositionLowerRestraint)
980 """Proxy of C++ IMP::npc::XYRadialPositionUpperRestraint class."""
982 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
986 __init__(IMP::npc::XYRadialPositionUpperRestraint self, Model m, _SingletonContainerAdaptor sc, double upper_bound, bool consider_radius, double sigma=1) -> XYRadialPositionUpperRestraint
987 __init__(IMP::npc::XYRadialPositionUpperRestraint self, Model m, _SingletonContainerAdaptor sc, double upper_bound, bool consider_radius) -> XYRadialPositionUpperRestraint
988 __init__(IMP::npc::XYRadialPositionUpperRestraint self, Model m, double upper_bound, bool consider_radius, double sigma=1) -> XYRadialPositionUpperRestraint
989 __init__(IMP::npc::XYRadialPositionUpperRestraint self, Model m, double upper_bound, bool consider_radius) -> XYRadialPositionUpperRestraint
991 this = _IMP_npc.new_XYRadialPositionUpperRestraint(*args)
993 self.this.append(this)
994 except __builtin__.Exception:
998 """add_particle(XYRadialPositionUpperRestraint self, Particle p)"""
999 return _IMP_npc.XYRadialPositionUpperRestraint_add_particle(self, p)
1003 """add_particles(XYRadialPositionUpperRestraint self, IMP::ParticlesTemp const & ps)"""
1004 return _IMP_npc.XYRadialPositionUpperRestraint_add_particles(self, ps)
1007 def set_particles(self, ps):
1008 """set_particles(XYRadialPositionUpperRestraint self, IMP::ParticlesTemp const & ps)"""
1009 return _IMP_npc.XYRadialPositionUpperRestraint_set_particles(self, ps)
1012 def do_get_inputs(self):
1013 """do_get_inputs(XYRadialPositionUpperRestraint self) -> IMP::ModelObjectsTemp"""
1014 return _IMP_npc.XYRadialPositionUpperRestraint_do_get_inputs(self)
1017 def get_version_info(self):
1018 """get_version_info(XYRadialPositionUpperRestraint self) -> VersionInfo"""
1019 return _IMP_npc.XYRadialPositionUpperRestraint_get_version_info(self)
1023 """__str__(XYRadialPositionUpperRestraint self) -> std::string"""
1024 return _IMP_npc.XYRadialPositionUpperRestraint___str__(self)
1028 """__repr__(XYRadialPositionUpperRestraint self) -> std::string"""
1029 return _IMP_npc.XYRadialPositionUpperRestraint___repr__(self)
1034 return _object_cast_to_XYRadialPositionUpperRestraint(o)
1036 XYRadialPositionUpperRestraint_swigregister = _IMP_npc.XYRadialPositionUpperRestraint_swigregister
1037 XYRadialPositionUpperRestraint_swigregister(XYRadialPositionUpperRestraint)
1040 """Proxy of C++ IMP::npc::ProteinContactRestraint class."""
1042 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1046 __init__(IMP::npc::ProteinContactRestraint self, Model m, _SingletonContainerAdaptor sc, double tolerance_factor, double sigma=0.1) -> ProteinContactRestraint
1047 __init__(IMP::npc::ProteinContactRestraint self, Model m, _SingletonContainerAdaptor sc, double tolerance_factor) -> ProteinContactRestraint
1048 __init__(IMP::npc::ProteinContactRestraint self, Model m, double tolerance_factor, double sigma=0.1) -> ProteinContactRestraint
1049 __init__(IMP::npc::ProteinContactRestraint self, Model m, double tolerance_factor) -> ProteinContactRestraint
1051 this = _IMP_npc.new_ProteinContactRestraint(*args)
1053 self.this.append(this)
1054 except __builtin__.Exception:
1058 """add_particle(ProteinContactRestraint self, Particle p)"""
1059 return _IMP_npc.ProteinContactRestraint_add_particle(self, p)
1063 """add_particles(ProteinContactRestraint self, IMP::ParticlesTemp const & ps)"""
1064 return _IMP_npc.ProteinContactRestraint_add_particles(self, ps)
1067 def set_particles(self, ps):
1068 """set_particles(ProteinContactRestraint self, IMP::ParticlesTemp const & ps)"""
1069 return _IMP_npc.ProteinContactRestraint_set_particles(self, ps)
1072 def do_get_inputs(self):
1073 """do_get_inputs(ProteinContactRestraint self) -> IMP::ModelObjectsTemp"""
1074 return _IMP_npc.ProteinContactRestraint_do_get_inputs(self)
1077 def get_version_info(self):
1078 """get_version_info(ProteinContactRestraint self) -> VersionInfo"""
1079 return _IMP_npc.ProteinContactRestraint_get_version_info(self)
1083 """__str__(ProteinContactRestraint self) -> std::string"""
1084 return _IMP_npc.ProteinContactRestraint___str__(self)
1088 """__repr__(ProteinContactRestraint self) -> std::string"""
1089 return _IMP_npc.ProteinContactRestraint___repr__(self)
1094 return _object_cast_to_ProteinContactRestraint(o)
1096 ProteinContactRestraint_swigregister = _IMP_npc.ProteinContactRestraint_swigregister
1097 ProteinContactRestraint_swigregister(ProteinContactRestraint)
1100 """Proxy of C++ IMP::npc::ProteinChainRestraint class."""
1102 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1106 __init__(IMP::npc::ProteinChainRestraint self, Model m, _SingletonContainerAdaptor sc, double sigma=0.1) -> ProteinChainRestraint
1107 __init__(IMP::npc::ProteinChainRestraint self, Model m, _SingletonContainerAdaptor sc) -> ProteinChainRestraint
1108 __init__(IMP::npc::ProteinChainRestraint self, Model m, double sigma=0.1) -> ProteinChainRestraint
1109 __init__(IMP::npc::ProteinChainRestraint self, Model m) -> ProteinChainRestraint
1111 this = _IMP_npc.new_ProteinChainRestraint(*args)
1113 self.this.append(this)
1114 except __builtin__.Exception:
1118 """add_particle(ProteinChainRestraint self, Particle p)"""
1119 return _IMP_npc.ProteinChainRestraint_add_particle(self, p)
1123 """add_particles(ProteinChainRestraint self, IMP::ParticlesTemp const & ps)"""
1124 return _IMP_npc.ProteinChainRestraint_add_particles(self, ps)
1127 def set_particles(self, ps):
1128 """set_particles(ProteinChainRestraint self, IMP::ParticlesTemp const & ps)"""
1129 return _IMP_npc.ProteinChainRestraint_set_particles(self, ps)
1132 def do_get_inputs(self):
1133 """do_get_inputs(ProteinChainRestraint self) -> IMP::ModelObjectsTemp"""
1134 return _IMP_npc.ProteinChainRestraint_do_get_inputs(self)
1137 def get_version_info(self):
1138 """get_version_info(ProteinChainRestraint self) -> VersionInfo"""
1139 return _IMP_npc.ProteinChainRestraint_get_version_info(self)
1143 """__str__(ProteinChainRestraint self) -> std::string"""
1144 return _IMP_npc.ProteinChainRestraint___str__(self)
1148 """__repr__(ProteinChainRestraint self) -> std::string"""
1149 return _IMP_npc.ProteinChainRestraint___repr__(self)
1154 return _object_cast_to_ProteinChainRestraint(o)
1156 ProteinChainRestraint_swigregister = _IMP_npc.ProteinChainRestraint_swigregister
1157 ProteinChainRestraint_swigregister(ProteinChainRestraint)
1160 """Proxy of C++ IMP::npc::MembraneSurfaceLocationRestraint class."""
1162 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1166 __init__(IMP::npc::MembraneSurfaceLocationRestraint self, Model m, _SingletonContainerAdaptor sc, double R, double r, double thickness, double sigma=2) -> MembraneSurfaceLocationRestraint
1167 __init__(IMP::npc::MembraneSurfaceLocationRestraint self, Model m, _SingletonContainerAdaptor sc, double R, double r, double thickness) -> MembraneSurfaceLocationRestraint
1168 __init__(IMP::npc::MembraneSurfaceLocationRestraint self, Model m, double R, double r, double thickness, double sigma=2) -> MembraneSurfaceLocationRestraint
1169 __init__(IMP::npc::MembraneSurfaceLocationRestraint self, Model m, double R, double r, double thickness) -> MembraneSurfaceLocationRestraint
1171 this = _IMP_npc.new_MembraneSurfaceLocationRestraint(*args)
1173 self.this.append(this)
1174 except __builtin__.Exception:
1178 """add_particle(MembraneSurfaceLocationRestraint self, Particle p)"""
1179 return _IMP_npc.MembraneSurfaceLocationRestraint_add_particle(self, p)
1183 """add_particles(MembraneSurfaceLocationRestraint self, IMP::ParticlesTemp const & ps)"""
1184 return _IMP_npc.MembraneSurfaceLocationRestraint_add_particles(self, ps)
1187 def set_particles(self, ps):
1188 """set_particles(MembraneSurfaceLocationRestraint self, IMP::ParticlesTemp const & ps)"""
1189 return _IMP_npc.MembraneSurfaceLocationRestraint_set_particles(self, ps)
1192 def do_get_inputs(self):
1193 """do_get_inputs(MembraneSurfaceLocationRestraint self) -> IMP::ModelObjectsTemp"""
1194 return _IMP_npc.MembraneSurfaceLocationRestraint_do_get_inputs(self)
1197 def get_version_info(self):
1198 """get_version_info(MembraneSurfaceLocationRestraint self) -> VersionInfo"""
1199 return _IMP_npc.MembraneSurfaceLocationRestraint_get_version_info(self)
1203 """__str__(MembraneSurfaceLocationRestraint self) -> std::string"""
1204 return _IMP_npc.MembraneSurfaceLocationRestraint___str__(self)
1208 """__repr__(MembraneSurfaceLocationRestraint self) -> std::string"""
1209 return _IMP_npc.MembraneSurfaceLocationRestraint___repr__(self)
1214 return _object_cast_to_MembraneSurfaceLocationRestraint(o)
1216 MembraneSurfaceLocationRestraint_swigregister = _IMP_npc.MembraneSurfaceLocationRestraint_swigregister
1217 MembraneSurfaceLocationRestraint_swigregister(MembraneSurfaceLocationRestraint)
1219 class MembraneSurfaceLocationConditionalRestraint(
IMP.Restraint):
1220 """Proxy of C++ IMP::npc::MembraneSurfaceLocationConditionalRestraint class."""
1222 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1226 __init__(IMP::npc::MembraneSurfaceLocationConditionalRestraint self, Model m, _SingletonContainerAdaptor sc1, _SingletonContainerAdaptor sc2, double R, double r, double thickness, double sigma=2) -> MembraneSurfaceLocationConditionalRestraint
1227 __init__(IMP::npc::MembraneSurfaceLocationConditionalRestraint self, Model m, _SingletonContainerAdaptor sc1, _SingletonContainerAdaptor sc2, double R, double r, double thickness) -> MembraneSurfaceLocationConditionalRestraint
1228 __init__(IMP::npc::MembraneSurfaceLocationConditionalRestraint self, Model m, double R, double r, double thickness, double sigma=2) -> MembraneSurfaceLocationConditionalRestraint
1229 __init__(IMP::npc::MembraneSurfaceLocationConditionalRestraint self, Model m, double R, double r, double thickness) -> MembraneSurfaceLocationConditionalRestraint
1231 this = _IMP_npc.new_MembraneSurfaceLocationConditionalRestraint(*args)
1233 self.this.append(this)
1234 except __builtin__.Exception:
1237 def add_particle1(self, p):
1238 """add_particle1(MembraneSurfaceLocationConditionalRestraint self, Particle p)"""
1239 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_add_particle1(self, p)
1242 def add_particle2(self, p):
1243 """add_particle2(MembraneSurfaceLocationConditionalRestraint self, Particle p)"""
1244 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_add_particle2(self, p)
1247 def add_particles1(self, ps):
1248 """add_particles1(MembraneSurfaceLocationConditionalRestraint self, IMP::ParticlesTemp const & ps)"""
1249 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_add_particles1(self, ps)
1252 def add_particles2(self, ps):
1253 """add_particles2(MembraneSurfaceLocationConditionalRestraint self, IMP::ParticlesTemp const & ps)"""
1254 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_add_particles2(self, ps)
1257 def set_particles1(self, ps):
1258 """set_particles1(MembraneSurfaceLocationConditionalRestraint self, IMP::ParticlesTemp const & ps)"""
1259 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_set_particles1(self, ps)
1262 def set_particles2(self, ps):
1263 """set_particles2(MembraneSurfaceLocationConditionalRestraint self, IMP::ParticlesTemp const & ps)"""
1264 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_set_particles2(self, ps)
1267 def do_get_inputs(self):
1268 """do_get_inputs(MembraneSurfaceLocationConditionalRestraint self) -> IMP::ModelObjectsTemp"""
1269 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_do_get_inputs(self)
1272 def get_version_info(self):
1273 """get_version_info(MembraneSurfaceLocationConditionalRestraint self) -> VersionInfo"""
1274 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_get_version_info(self)
1278 """__str__(MembraneSurfaceLocationConditionalRestraint self) -> std::string"""
1279 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint___str__(self)
1283 """__repr__(MembraneSurfaceLocationConditionalRestraint self) -> std::string"""
1284 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint___repr__(self)
1289 return _object_cast_to_MembraneSurfaceLocationConditionalRestraint(o)
1291 MembraneSurfaceLocationConditionalRestraint_swigregister = _IMP_npc.MembraneSurfaceLocationConditionalRestraint_swigregister
1292 MembraneSurfaceLocationConditionalRestraint_swigregister(MembraneSurfaceLocationConditionalRestraint)
1295 """Proxy of C++ IMP::npc::MembraneExclusionRestraint class."""
1297 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1301 __init__(IMP::npc::MembraneExclusionRestraint self, Model m, _SingletonContainerAdaptor sc, double R, double r, double thickness, double sigma=2) -> MembraneExclusionRestraint
1302 __init__(IMP::npc::MembraneExclusionRestraint self, Model m, _SingletonContainerAdaptor sc, double R, double r, double thickness) -> MembraneExclusionRestraint
1303 __init__(IMP::npc::MembraneExclusionRestraint self, Model m, double R, double r, double thickness, double sigma=2) -> MembraneExclusionRestraint
1304 __init__(IMP::npc::MembraneExclusionRestraint self, Model m, double R, double r, double thickness) -> MembraneExclusionRestraint
1306 this = _IMP_npc.new_MembraneExclusionRestraint(*args)
1308 self.this.append(this)
1309 except __builtin__.Exception:
1313 """add_particle(MembraneExclusionRestraint self, Particle p)"""
1314 return _IMP_npc.MembraneExclusionRestraint_add_particle(self, p)
1318 """add_particles(MembraneExclusionRestraint self, IMP::ParticlesTemp const & ps)"""
1319 return _IMP_npc.MembraneExclusionRestraint_add_particles(self, ps)
1322 def set_particles(self, ps):
1323 """set_particles(MembraneExclusionRestraint self, IMP::ParticlesTemp const & ps)"""
1324 return _IMP_npc.MembraneExclusionRestraint_set_particles(self, ps)
1327 def do_get_inputs(self):
1328 """do_get_inputs(MembraneExclusionRestraint self) -> IMP::ModelObjectsTemp"""
1329 return _IMP_npc.MembraneExclusionRestraint_do_get_inputs(self)
1332 def get_version_info(self):
1333 """get_version_info(MembraneExclusionRestraint self) -> VersionInfo"""
1334 return _IMP_npc.MembraneExclusionRestraint_get_version_info(self)
1338 """__str__(MembraneExclusionRestraint self) -> std::string"""
1339 return _IMP_npc.MembraneExclusionRestraint___str__(self)
1343 """__repr__(MembraneExclusionRestraint self) -> std::string"""
1344 return _IMP_npc.MembraneExclusionRestraint___repr__(self)
1349 return _object_cast_to_MembraneExclusionRestraint(o)
1351 MembraneExclusionRestraint_swigregister = _IMP_npc.MembraneExclusionRestraint_swigregister
1352 MembraneExclusionRestraint_swigregister(MembraneExclusionRestraint)
1355 """Proxy of C++ IMP::npc::PoreSideVolumeLocationRestraint class."""
1357 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1361 __init__(IMP::npc::PoreSideVolumeLocationRestraint self, Model m, _SingletonContainerAdaptor sc, double R, double r, double thickness, bool consider_radius, double sigma=2) -> PoreSideVolumeLocationRestraint
1362 __init__(IMP::npc::PoreSideVolumeLocationRestraint self, Model m, _SingletonContainerAdaptor sc, double R, double r, double thickness, bool consider_radius) -> PoreSideVolumeLocationRestraint
1363 __init__(IMP::npc::PoreSideVolumeLocationRestraint self, Model m, double R, double r, double thickness, bool consider_radius, double sigma=2) -> PoreSideVolumeLocationRestraint
1364 __init__(IMP::npc::PoreSideVolumeLocationRestraint self, Model m, double R, double r, double thickness, bool consider_radius) -> PoreSideVolumeLocationRestraint
1366 this = _IMP_npc.new_PoreSideVolumeLocationRestraint(*args)
1368 self.this.append(this)
1369 except __builtin__.Exception:
1373 """add_particle(PoreSideVolumeLocationRestraint self, Particle p)"""
1374 return _IMP_npc.PoreSideVolumeLocationRestraint_add_particle(self, p)
1378 """add_particles(PoreSideVolumeLocationRestraint self, IMP::ParticlesTemp const & ps)"""
1379 return _IMP_npc.PoreSideVolumeLocationRestraint_add_particles(self, ps)
1382 def set_particles(self, ps):
1383 """set_particles(PoreSideVolumeLocationRestraint self, IMP::ParticlesTemp const & ps)"""
1384 return _IMP_npc.PoreSideVolumeLocationRestraint_set_particles(self, ps)
1387 def do_get_inputs(self):
1388 """do_get_inputs(PoreSideVolumeLocationRestraint self) -> IMP::ModelObjectsTemp"""
1389 return _IMP_npc.PoreSideVolumeLocationRestraint_do_get_inputs(self)
1392 def get_version_info(self):
1393 """get_version_info(PoreSideVolumeLocationRestraint self) -> VersionInfo"""
1394 return _IMP_npc.PoreSideVolumeLocationRestraint_get_version_info(self)
1398 """__str__(PoreSideVolumeLocationRestraint self) -> std::string"""
1399 return _IMP_npc.PoreSideVolumeLocationRestraint___str__(self)
1403 """__repr__(PoreSideVolumeLocationRestraint self) -> std::string"""
1404 return _IMP_npc.PoreSideVolumeLocationRestraint___repr__(self)
1409 return _object_cast_to_PoreSideVolumeLocationRestraint(o)
1411 PoreSideVolumeLocationRestraint_swigregister = _IMP_npc.PoreSideVolumeLocationRestraint_swigregister
1412 PoreSideVolumeLocationRestraint_swigregister(PoreSideVolumeLocationRestraint)
1415 """Proxy of C++ IMP::npc::PerinuclearVolumeLocationRestraint class."""
1417 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1421 __init__(IMP::npc::PerinuclearVolumeLocationRestraint self, Model m, _SingletonContainerAdaptor sc, double R, double r, double thickness, bool consider_radius, double sigma=2) -> PerinuclearVolumeLocationRestraint
1422 __init__(IMP::npc::PerinuclearVolumeLocationRestraint self, Model m, _SingletonContainerAdaptor sc, double R, double r, double thickness, bool consider_radius) -> PerinuclearVolumeLocationRestraint
1423 __init__(IMP::npc::PerinuclearVolumeLocationRestraint self, Model m, double R, double r, double thickness, bool consider_radius, double sigma=2) -> PerinuclearVolumeLocationRestraint
1424 __init__(IMP::npc::PerinuclearVolumeLocationRestraint self, Model m, double R, double r, double thickness, bool consider_radius) -> PerinuclearVolumeLocationRestraint
1426 this = _IMP_npc.new_PerinuclearVolumeLocationRestraint(*args)
1428 self.this.append(this)
1429 except __builtin__.Exception:
1433 """add_particle(PerinuclearVolumeLocationRestraint self, Particle p)"""
1434 return _IMP_npc.PerinuclearVolumeLocationRestraint_add_particle(self, p)
1438 """add_particles(PerinuclearVolumeLocationRestraint self, IMP::ParticlesTemp const & ps)"""
1439 return _IMP_npc.PerinuclearVolumeLocationRestraint_add_particles(self, ps)
1442 def set_particles(self, ps):
1443 """set_particles(PerinuclearVolumeLocationRestraint self, IMP::ParticlesTemp const & ps)"""
1444 return _IMP_npc.PerinuclearVolumeLocationRestraint_set_particles(self, ps)
1447 def do_get_inputs(self):
1448 """do_get_inputs(PerinuclearVolumeLocationRestraint self) -> IMP::ModelObjectsTemp"""
1449 return _IMP_npc.PerinuclearVolumeLocationRestraint_do_get_inputs(self)
1452 def get_version_info(self):
1453 """get_version_info(PerinuclearVolumeLocationRestraint self) -> VersionInfo"""
1454 return _IMP_npc.PerinuclearVolumeLocationRestraint_get_version_info(self)
1458 """__str__(PerinuclearVolumeLocationRestraint self) -> std::string"""
1459 return _IMP_npc.PerinuclearVolumeLocationRestraint___str__(self)
1463 """__repr__(PerinuclearVolumeLocationRestraint self) -> std::string"""
1464 return _IMP_npc.PerinuclearVolumeLocationRestraint___repr__(self)
1469 return _object_cast_to_PerinuclearVolumeLocationRestraint(o)
1471 PerinuclearVolumeLocationRestraint_swigregister = _IMP_npc.PerinuclearVolumeLocationRestraint_swigregister
1472 PerinuclearVolumeLocationRestraint_swigregister(PerinuclearVolumeLocationRestraint)
1475 """Proxy of C++ IMP::npc::AssemblySymmetryByDistanceRestraint class."""
1477 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1481 __init__(IMP::npc::AssemblySymmetryByDistanceRestraint self, Model m, _SingletonContainerAdaptor sc, double sigma=4) -> AssemblySymmetryByDistanceRestraint
1482 __init__(IMP::npc::AssemblySymmetryByDistanceRestraint self, Model m, _SingletonContainerAdaptor sc) -> AssemblySymmetryByDistanceRestraint
1483 __init__(IMP::npc::AssemblySymmetryByDistanceRestraint self, Model m, double sigma=4) -> AssemblySymmetryByDistanceRestraint
1484 __init__(IMP::npc::AssemblySymmetryByDistanceRestraint self, Model m) -> AssemblySymmetryByDistanceRestraint
1486 this = _IMP_npc.new_AssemblySymmetryByDistanceRestraint(*args)
1488 self.this.append(this)
1489 except __builtin__.Exception:
1493 """add_particle(AssemblySymmetryByDistanceRestraint self, Particle p)"""
1494 return _IMP_npc.AssemblySymmetryByDistanceRestraint_add_particle(self, p)
1498 """add_particles(AssemblySymmetryByDistanceRestraint self, IMP::ParticlesTemp const & ps)"""
1499 return _IMP_npc.AssemblySymmetryByDistanceRestraint_add_particles(self, ps)
1502 def set_particles(self, ps):
1503 """set_particles(AssemblySymmetryByDistanceRestraint self, IMP::ParticlesTemp const & ps)"""
1504 return _IMP_npc.AssemblySymmetryByDistanceRestraint_set_particles(self, ps)
1507 def do_get_inputs(self):
1508 """do_get_inputs(AssemblySymmetryByDistanceRestraint self) -> IMP::ModelObjectsTemp"""
1509 return _IMP_npc.AssemblySymmetryByDistanceRestraint_do_get_inputs(self)
1512 def get_version_info(self):
1513 """get_version_info(AssemblySymmetryByDistanceRestraint self) -> VersionInfo"""
1514 return _IMP_npc.AssemblySymmetryByDistanceRestraint_get_version_info(self)
1518 """__str__(AssemblySymmetryByDistanceRestraint self) -> std::string"""
1519 return _IMP_npc.AssemblySymmetryByDistanceRestraint___str__(self)
1523 """__repr__(AssemblySymmetryByDistanceRestraint self) -> std::string"""
1524 return _IMP_npc.AssemblySymmetryByDistanceRestraint___repr__(self)
1529 return _object_cast_to_AssemblySymmetryByDistanceRestraint(o)
1531 AssemblySymmetryByDistanceRestraint_swigregister = _IMP_npc.AssemblySymmetryByDistanceRestraint_swigregister
1532 AssemblySymmetryByDistanceRestraint_swigregister(AssemblySymmetryByDistanceRestraint)
1535 """Proxy of C++ IMP::npc::AssemblySymmetryByDihedralRestraint class."""
1537 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1541 __init__(IMP::npc::AssemblySymmetryByDihedralRestraint self, Model m, _SingletonContainerAdaptor sc, double sigma=0.1) -> AssemblySymmetryByDihedralRestraint
1542 __init__(IMP::npc::AssemblySymmetryByDihedralRestraint self, Model m, _SingletonContainerAdaptor sc) -> AssemblySymmetryByDihedralRestraint
1543 __init__(IMP::npc::AssemblySymmetryByDihedralRestraint self, Model m, double sigma=0.1) -> AssemblySymmetryByDihedralRestraint
1544 __init__(IMP::npc::AssemblySymmetryByDihedralRestraint self, Model m) -> AssemblySymmetryByDihedralRestraint
1546 this = _IMP_npc.new_AssemblySymmetryByDihedralRestraint(*args)
1548 self.this.append(this)
1549 except __builtin__.Exception:
1553 """add_particle(AssemblySymmetryByDihedralRestraint self, Particle p)"""
1554 return _IMP_npc.AssemblySymmetryByDihedralRestraint_add_particle(self, p)
1558 """add_particles(AssemblySymmetryByDihedralRestraint self, IMP::ParticlesTemp const & ps)"""
1559 return _IMP_npc.AssemblySymmetryByDihedralRestraint_add_particles(self, ps)
1562 def set_particles(self, ps):
1563 """set_particles(AssemblySymmetryByDihedralRestraint self, IMP::ParticlesTemp const & ps)"""
1564 return _IMP_npc.AssemblySymmetryByDihedralRestraint_set_particles(self, ps)
1567 def do_get_inputs(self):
1568 """do_get_inputs(AssemblySymmetryByDihedralRestraint self) -> IMP::ModelObjectsTemp"""
1569 return _IMP_npc.AssemblySymmetryByDihedralRestraint_do_get_inputs(self)
1572 def get_version_info(self):
1573 """get_version_info(AssemblySymmetryByDihedralRestraint self) -> VersionInfo"""
1574 return _IMP_npc.AssemblySymmetryByDihedralRestraint_get_version_info(self)
1578 """__str__(AssemblySymmetryByDihedralRestraint self) -> std::string"""
1579 return _IMP_npc.AssemblySymmetryByDihedralRestraint___str__(self)
1583 """__repr__(AssemblySymmetryByDihedralRestraint self) -> std::string"""
1584 return _IMP_npc.AssemblySymmetryByDihedralRestraint___repr__(self)
1589 return _object_cast_to_AssemblySymmetryByDihedralRestraint(o)
1591 AssemblySymmetryByDihedralRestraint_swigregister = _IMP_npc.AssemblySymmetryByDihedralRestraint_swigregister
1592 AssemblySymmetryByDihedralRestraint_swigregister(AssemblySymmetryByDihedralRestraint)
1595 """Proxy of C++ IMP::npc::ProteinProximityRestraint class."""
1597 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1601 __init__(IMP::npc::ProteinProximityRestraint self, Model m, _SingletonContainerAdaptor sc, double max_dist, double sigma=0.1) -> ProteinProximityRestraint
1602 __init__(IMP::npc::ProteinProximityRestraint self, Model m, _SingletonContainerAdaptor sc, double max_dist) -> ProteinProximityRestraint
1603 __init__(IMP::npc::ProteinProximityRestraint self, Model m, double max_dist, double sigma=0.1) -> ProteinProximityRestraint
1604 __init__(IMP::npc::ProteinProximityRestraint self, Model m, double max_dist) -> ProteinProximityRestraint
1606 this = _IMP_npc.new_ProteinProximityRestraint(*args)
1608 self.this.append(this)
1609 except __builtin__.Exception:
1613 """add_particle(ProteinProximityRestraint self, Particle p)"""
1614 return _IMP_npc.ProteinProximityRestraint_add_particle(self, p)
1618 """add_particles(ProteinProximityRestraint self, IMP::ParticlesTemp const & ps)"""
1619 return _IMP_npc.ProteinProximityRestraint_add_particles(self, ps)
1622 def set_particles(self, ps):
1623 """set_particles(ProteinProximityRestraint self, IMP::ParticlesTemp const & ps)"""
1624 return _IMP_npc.ProteinProximityRestraint_set_particles(self, ps)
1627 def do_get_inputs(self):
1628 """do_get_inputs(ProteinProximityRestraint self) -> IMP::ModelObjectsTemp"""
1629 return _IMP_npc.ProteinProximityRestraint_do_get_inputs(self)
1632 def get_version_info(self):
1633 """get_version_info(ProteinProximityRestraint self) -> VersionInfo"""
1634 return _IMP_npc.ProteinProximityRestraint_get_version_info(self)
1638 """__str__(ProteinProximityRestraint self) -> std::string"""
1639 return _IMP_npc.ProteinProximityRestraint___str__(self)
1643 """__repr__(ProteinProximityRestraint self) -> std::string"""
1644 return _IMP_npc.ProteinProximityRestraint___repr__(self)
1649 return _object_cast_to_ProteinProximityRestraint(o)
1651 ProteinProximityRestraint_swigregister = _IMP_npc.ProteinProximityRestraint_swigregister
1652 ProteinProximityRestraint_swigregister(ProteinProximityRestraint)
1655 """Proxy of C++ IMP::npc::CompositeRestraint class."""
1657 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1660 """__init__(IMP::npc::CompositeRestraint self, Model m, PairScore ps) -> CompositeRestraint"""
1661 this = _IMP_npc.new_CompositeRestraint(m, ps)
1663 self.this.append(this)
1664 except __builtin__.Exception:
1667 def add_type(self, ps):
1668 """add_type(CompositeRestraint self, IMP::ParticleIndexes ps)"""
1669 return _IMP_npc.CompositeRestraint_add_type(self, ps)
1672 def get_connected_pairs(self):
1673 """get_connected_pairs(CompositeRestraint self) -> IMP::ParticleIndexPairs"""
1674 return _IMP_npc.CompositeRestraint_get_connected_pairs(self)
1677 def do_get_inputs(self):
1678 """do_get_inputs(CompositeRestraint self) -> IMP::ModelObjectsTemp"""
1679 return _IMP_npc.CompositeRestraint_do_get_inputs(self)
1682 def get_version_info(self):
1683 """get_version_info(CompositeRestraint self) -> VersionInfo"""
1684 return _IMP_npc.CompositeRestraint_get_version_info(self)
1688 """__str__(CompositeRestraint self) -> std::string"""
1689 return _IMP_npc.CompositeRestraint___str__(self)
1693 """__repr__(CompositeRestraint self) -> std::string"""
1694 return _IMP_npc.CompositeRestraint___repr__(self)
1699 return _object_cast_to_CompositeRestraint(o)
1701 CompositeRestraint_swigregister = _IMP_npc.CompositeRestraint_swigregister
1702 CompositeRestraint_swigregister(CompositeRestraint)
1705 """Proxy of C++ IMP::npc::MinimumSphereDistancePairScore class."""
1707 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1710 """__init__(IMP::npc::MinimumSphereDistancePairScore self, UnaryFunction f, IMP::algebra::Transformation3Ds transforms) -> MinimumSphereDistancePairScore"""
1711 this = _IMP_npc.new_MinimumSphereDistancePairScore(f, transforms)
1713 self.this.append(this)
1714 except __builtin__.Exception:
1717 def do_get_inputs(self, m, pis):
1718 """do_get_inputs(MinimumSphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1719 return _IMP_npc.MinimumSphereDistancePairScore_do_get_inputs(self, m, pis)
1722 def get_version_info(self):
1723 """get_version_info(MinimumSphereDistancePairScore self) -> VersionInfo"""
1724 return _IMP_npc.MinimumSphereDistancePairScore_get_version_info(self)
1728 """__str__(MinimumSphereDistancePairScore self) -> std::string"""
1729 return _IMP_npc.MinimumSphereDistancePairScore___str__(self)
1733 """__repr__(MinimumSphereDistancePairScore self) -> std::string"""
1734 return _IMP_npc.MinimumSphereDistancePairScore___repr__(self)
1739 return _object_cast_to_MinimumSphereDistancePairScore(o)
1741 MinimumSphereDistancePairScore_swigregister = _IMP_npc.MinimumSphereDistancePairScore_swigregister
1742 MinimumSphereDistancePairScore_swigregister(MinimumSphereDistancePairScore)
1746 """get_module_version() -> std::string const"""
1747 return _IMP_npc.get_module_version()
1750 """get_example_path(std::string fname) -> std::string"""
1751 return _IMP_npc.get_example_path(fname)
1754 """get_data_path(std::string fname) -> std::string"""
1755 return _IMP_npc.get_data_path(fname)
1757 from .
import _version_check
Abstract class for scoring object(s) of type ParticleIndexPair.
std::string get_example_path(std::string file_name)
Return the full path to one of this module's example files.
void add_particles(RMF::FileHandle fh, const ParticlesTemp &hs)
Make CGAL functionality available to IMP.
std::string get_module_version()
Return the version of this module, as a string.
std::string get_data_path(std::string file_name)
Return the full path to one of this module's data files.
void add_particle(RMF::FileHandle fh, Particle *hs)
Composable functors to implement scores via compile-time composition.
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.
A restraint is a term in an IMP ScoringFunction.