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_GPERFTOOLS = _IMP_npc.IMP_KERNEL_HAS_GPERFTOOLS
239 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_npc.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
240 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_npc.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
241 IMPKERNEL_SHOW_WARNINGS = _IMP_npc.IMPKERNEL_SHOW_WARNINGS
244 class _DirectorObjects(object):
245 """@internal Simple class to keep references to director objects
246 to prevent premature deletion."""
249 def register(self, obj):
250 """Take a reference to a director object; will only work for
251 refcounted C++ classes"""
252 if hasattr(obj,
'get_ref_count'):
253 self._objects.append(obj)
255 """Only drop our reference and allow cleanup by Python if no other
256 Python references exist (we hold 3 references: one in self._objects,
257 one in x, and one in the argument list for getrefcount) *and* no
258 other C++ references exist (the Python object always holds one)"""
259 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
260 or x.get_ref_count() > 1]
264 def get_object_count(self):
265 """Get number of director objects (useful for testing only)"""
266 return len(self._objects)
267 _director_objects = _DirectorObjects()
269 class _ostream(object):
270 """Proxy of C++ std::ostream class."""
272 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
274 def __init__(self, *args, **kwargs):
275 raise AttributeError(
"No constructor defined")
276 __repr__ = _swig_repr
278 def write(self, osa_buf):
279 """write(_ostream self, char const * osa_buf)"""
280 return _IMP_npc._ostream_write(self, osa_buf)
282 _ostream_swigregister = _IMP_npc._ostream_swigregister
283 _ostream_swigregister(_ostream)
285 IMP_COMPILER_HAS_OVERRIDE = _IMP_npc.IMP_COMPILER_HAS_OVERRIDE
286 IMP_COMPILER_HAS_FINAL = _IMP_npc.IMP_COMPILER_HAS_FINAL
287 IMP_HAS_NOEXCEPT = _IMP_npc.IMP_HAS_NOEXCEPT
288 IMP_C_OPEN_BINARY = _IMP_npc.IMP_C_OPEN_BINARY
290 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_npc.IMP_CGAL_HAS_BOOST_FILESYSTEM
291 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_npc.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
292 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_npc.IMP_CGAL_HAS_BOOST_RANDOM
293 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_npc.IMP_CGAL_HAS_BOOST_SYSTEM
294 IMPCGAL_SHOW_WARNINGS = _IMP_npc.IMPCGAL_SHOW_WARNINGS
296 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_npc.IMP_ALGEBRA_HAS_IMP_CGAL
297 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_npc.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
298 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_npc.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
299 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_npc.IMP_ALGEBRA_HAS_BOOST_RANDOM
300 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_npc.IMP_ALGEBRA_HAS_BOOST_SYSTEM
301 IMP_ALGEBRA_HAS_CGAL = _IMP_npc.IMP_ALGEBRA_HAS_CGAL
302 IMP_ALGEBRA_HAS_ANN = _IMP_npc.IMP_ALGEBRA_HAS_ANN
303 IMPALGEBRA_SHOW_WARNINGS = _IMP_npc.IMPALGEBRA_SHOW_WARNINGS
305 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_npc.IMP_DISPLAY_HAS_IMP_CGAL
306 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_npc.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
307 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_npc.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
308 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_npc.IMP_DISPLAY_HAS_BOOST_RANDOM
309 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_npc.IMP_DISPLAY_HAS_BOOST_SYSTEM
310 IMP_DISPLAY_HAS_CGAL = _IMP_npc.IMP_DISPLAY_HAS_CGAL
311 IMPDISPLAY_SHOW_WARNINGS = _IMP_npc.IMPDISPLAY_SHOW_WARNINGS
313 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
314 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
315 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
316 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
317 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
318 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_CGAL
319 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_HDF5
320 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_npc.IMPSCOREFUNCTOR_SHOW_WARNINGS
322 IMP_CORE_HAS_IMP_CGAL = _IMP_npc.IMP_CORE_HAS_IMP_CGAL
323 IMP_CORE_HAS_IMP_KERNEL = _IMP_npc.IMP_CORE_HAS_IMP_KERNEL
324 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_npc.IMP_CORE_HAS_BOOST_FILESYSTEM
325 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_npc.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
326 IMP_CORE_HAS_BOOST_RANDOM = _IMP_npc.IMP_CORE_HAS_BOOST_RANDOM
327 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_npc.IMP_CORE_HAS_BOOST_SYSTEM
328 IMP_CORE_HAS_CGAL = _IMP_npc.IMP_CORE_HAS_CGAL
329 IMP_CORE_HAS_HDF5 = _IMP_npc.IMP_CORE_HAS_HDF5
330 IMPCORE_SHOW_WARNINGS = _IMP_npc.IMPCORE_SHOW_WARNINGS
332 IMP_NPC_HAS_IMP_ALGEBRA = _IMP_npc.IMP_NPC_HAS_IMP_ALGEBRA
333 IMP_NPC_HAS_IMP_CGAL = _IMP_npc.IMP_NPC_HAS_IMP_CGAL
334 IMP_NPC_HAS_IMP_DISPLAY = _IMP_npc.IMP_NPC_HAS_IMP_DISPLAY
335 IMP_NPC_HAS_IMP_KERNEL = _IMP_npc.IMP_NPC_HAS_IMP_KERNEL
336 IMP_NPC_HAS_IMP_SCORE_FUNCTOR = _IMP_npc.IMP_NPC_HAS_IMP_SCORE_FUNCTOR
337 IMP_NPC_HAS_BOOST_FILESYSTEM = _IMP_npc.IMP_NPC_HAS_BOOST_FILESYSTEM
338 IMP_NPC_HAS_BOOST_PROGRAMOPTIONS = _IMP_npc.IMP_NPC_HAS_BOOST_PROGRAMOPTIONS
339 IMP_NPC_HAS_BOOST_RANDOM = _IMP_npc.IMP_NPC_HAS_BOOST_RANDOM
340 IMP_NPC_HAS_BOOST_SYSTEM = _IMP_npc.IMP_NPC_HAS_BOOST_SYSTEM
341 IMP_NPC_HAS_CGAL = _IMP_npc.IMP_NPC_HAS_CGAL
342 IMP_NPC_HAS_HDF5 = _IMP_npc.IMP_NPC_HAS_HDF5
343 IMP_NPC_HAS_PYTHON_IHM = _IMP_npc.IMP_NPC_HAS_PYTHON_IHM
344 IMPNPC_SHOW_WARNINGS = _IMP_npc.IMPNPC_SHOW_WARNINGS
346 _object_types.append(
"ZAxialPositionLowerRestraint")
349 def _object_cast_to_ZAxialPositionLowerRestraint(o):
350 """_object_cast_to_ZAxialPositionLowerRestraint(Object o) -> ZAxialPositionLowerRestraint"""
351 return _IMP_npc._object_cast_to_ZAxialPositionLowerRestraint(o)
353 _object_types.append(
"ZAxialPositionUpperRestraint")
356 def _object_cast_to_ZAxialPositionUpperRestraint(o):
357 """_object_cast_to_ZAxialPositionUpperRestraint(Object o) -> ZAxialPositionUpperRestraint"""
358 return _IMP_npc._object_cast_to_ZAxialPositionUpperRestraint(o)
360 _object_types.append(
"XYRadialPositionLowerRestraint")
363 def _object_cast_to_XYRadialPositionLowerRestraint(o):
364 """_object_cast_to_XYRadialPositionLowerRestraint(Object o) -> XYRadialPositionLowerRestraint"""
365 return _IMP_npc._object_cast_to_XYRadialPositionLowerRestraint(o)
367 _object_types.append(
"XYRadialPositionUpperRestraint")
370 def _object_cast_to_XYRadialPositionUpperRestraint(o):
371 """_object_cast_to_XYRadialPositionUpperRestraint(Object o) -> XYRadialPositionUpperRestraint"""
372 return _IMP_npc._object_cast_to_XYRadialPositionUpperRestraint(o)
374 _object_types.append(
"ProteinContactRestraint")
377 def _object_cast_to_ProteinContactRestraint(o):
378 """_object_cast_to_ProteinContactRestraint(Object o) -> ProteinContactRestraint"""
379 return _IMP_npc._object_cast_to_ProteinContactRestraint(o)
381 _object_types.append(
"ProteinChainRestraint")
384 def _object_cast_to_ProteinChainRestraint(o):
385 """_object_cast_to_ProteinChainRestraint(Object o) -> ProteinChainRestraint"""
386 return _IMP_npc._object_cast_to_ProteinChainRestraint(o)
388 _object_types.append(
"MembraneSurfaceLocationRestraint")
391 def _object_cast_to_MembraneSurfaceLocationRestraint(o):
392 """_object_cast_to_MembraneSurfaceLocationRestraint(Object o) -> MembraneSurfaceLocationRestraint"""
393 return _IMP_npc._object_cast_to_MembraneSurfaceLocationRestraint(o)
395 _object_types.append(
"PoreSideVolumeLocationRestraint")
398 def _object_cast_to_PoreSideVolumeLocationRestraint(o):
399 """_object_cast_to_PoreSideVolumeLocationRestraint(Object o) -> PoreSideVolumeLocationRestraint"""
400 return _IMP_npc._object_cast_to_PoreSideVolumeLocationRestraint(o)
402 _object_types.append(
"PerinuclearVolumeLocationRestraint")
405 def _object_cast_to_PerinuclearVolumeLocationRestraint(o):
406 """_object_cast_to_PerinuclearVolumeLocationRestraint(Object o) -> PerinuclearVolumeLocationRestraint"""
407 return _IMP_npc._object_cast_to_PerinuclearVolumeLocationRestraint(o)
409 _object_types.append(
"AssemblySymmetryByDistanceRestraint")
412 def _object_cast_to_AssemblySymmetryByDistanceRestraint(o):
413 """_object_cast_to_AssemblySymmetryByDistanceRestraint(Object o) -> AssemblySymmetryByDistanceRestraint"""
414 return _IMP_npc._object_cast_to_AssemblySymmetryByDistanceRestraint(o)
416 _object_types.append(
"AssemblySymmetryByDihedralRestraint")
419 def _object_cast_to_AssemblySymmetryByDihedralRestraint(o):
420 """_object_cast_to_AssemblySymmetryByDihedralRestraint(Object o) -> AssemblySymmetryByDihedralRestraint"""
421 return _IMP_npc._object_cast_to_AssemblySymmetryByDihedralRestraint(o)
423 _object_types.append(
"ProteinProximityRestraint")
426 def _object_cast_to_ProteinProximityRestraint(o):
427 """_object_cast_to_ProteinProximityRestraint(Object o) -> ProteinProximityRestraint"""
428 return _IMP_npc._object_cast_to_ProteinProximityRestraint(o)
430 _object_types.append(
"CompositeRestraint")
433 def _object_cast_to_CompositeRestraint(o):
434 """_object_cast_to_CompositeRestraint(Object o) -> CompositeRestraint"""
435 return _IMP_npc._object_cast_to_CompositeRestraint(o)
437 _object_types.append(
"MinimumSphereDistancePairScore")
440 def _object_cast_to_MinimumSphereDistancePairScore(o):
441 """_object_cast_to_MinimumSphereDistancePairScore(Object o) -> MinimumSphereDistancePairScore"""
442 return _IMP_npc._object_cast_to_MinimumSphereDistancePairScore(o)
444 _object_types.append(
"MembraneExclusionRestraint")
447 def _object_cast_to_MembraneExclusionRestraint(o):
448 """_object_cast_to_MembraneExclusionRestraint(Object o) -> MembraneExclusionRestraint"""
449 return _IMP_npc._object_cast_to_MembraneExclusionRestraint(o)
451 _object_types.append(
"MembraneSurfaceLocationConditionalRestraint")
454 def _object_cast_to_MembraneSurfaceLocationConditionalRestraint(o):
455 """_object_cast_to_MembraneSurfaceLocationConditionalRestraint(Object o) -> MembraneSurfaceLocationConditionalRestraint"""
456 return _IMP_npc._object_cast_to_MembraneSurfaceLocationConditionalRestraint(o)
458 _object_types.append(
"XYRadialPositionRestraint")
461 def _object_cast_to_XYRadialPositionRestraint(o):
462 """_object_cast_to_XYRadialPositionRestraint(Object o) -> XYRadialPositionRestraint"""
463 return _IMP_npc._object_cast_to_XYRadialPositionRestraint(o)
465 _object_types.append(
"YAxialPositionLowerRestraint")
468 def _object_cast_to_YAxialPositionLowerRestraint(o):
469 """_object_cast_to_YAxialPositionLowerRestraint(Object o) -> YAxialPositionLowerRestraint"""
470 return _IMP_npc._object_cast_to_YAxialPositionLowerRestraint(o)
472 _object_types.append(
"YAxialPositionRestraint")
475 def _object_cast_to_YAxialPositionRestraint(o):
476 """_object_cast_to_YAxialPositionRestraint(Object o) -> YAxialPositionRestraint"""
477 return _IMP_npc._object_cast_to_YAxialPositionRestraint(o)
479 _object_types.append(
"YAxialPositionUpperRestraint")
482 def _object_cast_to_YAxialPositionUpperRestraint(o):
483 """_object_cast_to_YAxialPositionUpperRestraint(Object o) -> YAxialPositionUpperRestraint"""
484 return _IMP_npc._object_cast_to_YAxialPositionUpperRestraint(o)
486 _object_types.append(
"ZAxialPositionRestraint")
489 def _object_cast_to_ZAxialPositionRestraint(o):
490 """_object_cast_to_ZAxialPositionRestraint(Object o) -> ZAxialPositionRestraint"""
491 return _IMP_npc._object_cast_to_ZAxialPositionRestraint(o)
493 """Proxy of C++ IMP::npc::ZAxialPositionRestraint class."""
495 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
499 __init__(IMP::npc::ZAxialPositionRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, double upper_bound, bool consider_radius, double sigma=1) -> ZAxialPositionRestraint
500 __init__(IMP::npc::ZAxialPositionRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, double upper_bound, bool consider_radius) -> ZAxialPositionRestraint
501 __init__(IMP::npc::ZAxialPositionRestraint self, Model m, double lower_bound, double upper_bound, bool consider_radius, double sigma=1) -> ZAxialPositionRestraint
502 __init__(IMP::npc::ZAxialPositionRestraint self, Model m, double lower_bound, double upper_bound, bool consider_radius) -> ZAxialPositionRestraint
504 this = _IMP_npc.new_ZAxialPositionRestraint(*args)
506 self.this.append(this)
507 except __builtin__.Exception:
511 """add_particle(ZAxialPositionRestraint self, Particle p)"""
512 return _IMP_npc.ZAxialPositionRestraint_add_particle(self, p)
516 """add_particles(ZAxialPositionRestraint self, IMP::ParticlesTemp const & ps)"""
517 return _IMP_npc.ZAxialPositionRestraint_add_particles(self, ps)
520 def set_particles(self, ps):
521 """set_particles(ZAxialPositionRestraint self, IMP::ParticlesTemp const & ps)"""
522 return _IMP_npc.ZAxialPositionRestraint_set_particles(self, ps)
525 def do_get_inputs(self):
526 """do_get_inputs(ZAxialPositionRestraint self) -> IMP::ModelObjectsTemp"""
527 return _IMP_npc.ZAxialPositionRestraint_do_get_inputs(self)
530 def get_version_info(self):
531 """get_version_info(ZAxialPositionRestraint self) -> VersionInfo"""
532 return _IMP_npc.ZAxialPositionRestraint_get_version_info(self)
536 """__str__(ZAxialPositionRestraint self) -> std::string"""
537 return _IMP_npc.ZAxialPositionRestraint___str__(self)
541 """__repr__(ZAxialPositionRestraint self) -> std::string"""
542 return _IMP_npc.ZAxialPositionRestraint___repr__(self)
547 return _object_cast_to_ZAxialPositionRestraint(o)
549 ZAxialPositionRestraint_swigregister = _IMP_npc.ZAxialPositionRestraint_swigregister
550 ZAxialPositionRestraint_swigregister(ZAxialPositionRestraint)
553 """Proxy of C++ IMP::npc::ZAxialPositionLowerRestraint class."""
555 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
559 __init__(IMP::npc::ZAxialPositionLowerRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, bool consider_radius, double sigma=1) -> ZAxialPositionLowerRestraint
560 __init__(IMP::npc::ZAxialPositionLowerRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, bool consider_radius) -> ZAxialPositionLowerRestraint
561 __init__(IMP::npc::ZAxialPositionLowerRestraint self, Model m, double lower_bound, bool consider_radius, double sigma=1) -> ZAxialPositionLowerRestraint
562 __init__(IMP::npc::ZAxialPositionLowerRestraint self, Model m, double lower_bound, bool consider_radius) -> ZAxialPositionLowerRestraint
564 this = _IMP_npc.new_ZAxialPositionLowerRestraint(*args)
566 self.this.append(this)
567 except __builtin__.Exception:
571 """add_particle(ZAxialPositionLowerRestraint self, Particle p)"""
572 return _IMP_npc.ZAxialPositionLowerRestraint_add_particle(self, p)
576 """add_particles(ZAxialPositionLowerRestraint self, IMP::ParticlesTemp const & ps)"""
577 return _IMP_npc.ZAxialPositionLowerRestraint_add_particles(self, ps)
580 def set_particles(self, ps):
581 """set_particles(ZAxialPositionLowerRestraint self, IMP::ParticlesTemp const & ps)"""
582 return _IMP_npc.ZAxialPositionLowerRestraint_set_particles(self, ps)
585 def do_get_inputs(self):
586 """do_get_inputs(ZAxialPositionLowerRestraint self) -> IMP::ModelObjectsTemp"""
587 return _IMP_npc.ZAxialPositionLowerRestraint_do_get_inputs(self)
590 def get_version_info(self):
591 """get_version_info(ZAxialPositionLowerRestraint self) -> VersionInfo"""
592 return _IMP_npc.ZAxialPositionLowerRestraint_get_version_info(self)
596 """__str__(ZAxialPositionLowerRestraint self) -> std::string"""
597 return _IMP_npc.ZAxialPositionLowerRestraint___str__(self)
601 """__repr__(ZAxialPositionLowerRestraint self) -> std::string"""
602 return _IMP_npc.ZAxialPositionLowerRestraint___repr__(self)
607 return _object_cast_to_ZAxialPositionLowerRestraint(o)
609 ZAxialPositionLowerRestraint_swigregister = _IMP_npc.ZAxialPositionLowerRestraint_swigregister
610 ZAxialPositionLowerRestraint_swigregister(ZAxialPositionLowerRestraint)
613 """Proxy of C++ IMP::npc::ZAxialPositionUpperRestraint class."""
615 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
619 __init__(IMP::npc::ZAxialPositionUpperRestraint self, Model m, _SingletonContainerAdaptor sc, double upper_bound, bool consider_radius, double sigma=1) -> ZAxialPositionUpperRestraint
620 __init__(IMP::npc::ZAxialPositionUpperRestraint self, Model m, _SingletonContainerAdaptor sc, double upper_bound, bool consider_radius) -> ZAxialPositionUpperRestraint
621 __init__(IMP::npc::ZAxialPositionUpperRestraint self, Model m, double upper_bound, bool consider_radius, double sigma=1) -> ZAxialPositionUpperRestraint
622 __init__(IMP::npc::ZAxialPositionUpperRestraint self, Model m, double upper_bound, bool consider_radius) -> ZAxialPositionUpperRestraint
624 this = _IMP_npc.new_ZAxialPositionUpperRestraint(*args)
626 self.this.append(this)
627 except __builtin__.Exception:
631 """add_particle(ZAxialPositionUpperRestraint self, Particle p)"""
632 return _IMP_npc.ZAxialPositionUpperRestraint_add_particle(self, p)
636 """add_particles(ZAxialPositionUpperRestraint self, IMP::ParticlesTemp const & ps)"""
637 return _IMP_npc.ZAxialPositionUpperRestraint_add_particles(self, ps)
640 def set_particles(self, ps):
641 """set_particles(ZAxialPositionUpperRestraint self, IMP::ParticlesTemp const & ps)"""
642 return _IMP_npc.ZAxialPositionUpperRestraint_set_particles(self, ps)
645 def do_get_inputs(self):
646 """do_get_inputs(ZAxialPositionUpperRestraint self) -> IMP::ModelObjectsTemp"""
647 return _IMP_npc.ZAxialPositionUpperRestraint_do_get_inputs(self)
650 def get_version_info(self):
651 """get_version_info(ZAxialPositionUpperRestraint self) -> VersionInfo"""
652 return _IMP_npc.ZAxialPositionUpperRestraint_get_version_info(self)
656 """__str__(ZAxialPositionUpperRestraint self) -> std::string"""
657 return _IMP_npc.ZAxialPositionUpperRestraint___str__(self)
661 """__repr__(ZAxialPositionUpperRestraint self) -> std::string"""
662 return _IMP_npc.ZAxialPositionUpperRestraint___repr__(self)
667 return _object_cast_to_ZAxialPositionUpperRestraint(o)
669 ZAxialPositionUpperRestraint_swigregister = _IMP_npc.ZAxialPositionUpperRestraint_swigregister
670 ZAxialPositionUpperRestraint_swigregister(ZAxialPositionUpperRestraint)
673 """Proxy of C++ IMP::npc::YAxialPositionRestraint class."""
675 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
679 __init__(IMP::npc::YAxialPositionRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, double upper_bound, bool consider_radius, double sigma=1) -> YAxialPositionRestraint
680 __init__(IMP::npc::YAxialPositionRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, double upper_bound, bool consider_radius) -> YAxialPositionRestraint
681 __init__(IMP::npc::YAxialPositionRestraint self, Model m, double lower_bound, double upper_bound, bool consider_radius, double sigma=1) -> YAxialPositionRestraint
682 __init__(IMP::npc::YAxialPositionRestraint self, Model m, double lower_bound, double upper_bound, bool consider_radius) -> YAxialPositionRestraint
684 this = _IMP_npc.new_YAxialPositionRestraint(*args)
686 self.this.append(this)
687 except __builtin__.Exception:
691 """add_particle(YAxialPositionRestraint self, Particle p)"""
692 return _IMP_npc.YAxialPositionRestraint_add_particle(self, p)
696 """add_particles(YAxialPositionRestraint self, IMP::ParticlesTemp const & ps)"""
697 return _IMP_npc.YAxialPositionRestraint_add_particles(self, ps)
700 def set_particles(self, ps):
701 """set_particles(YAxialPositionRestraint self, IMP::ParticlesTemp const & ps)"""
702 return _IMP_npc.YAxialPositionRestraint_set_particles(self, ps)
705 def do_get_inputs(self):
706 """do_get_inputs(YAxialPositionRestraint self) -> IMP::ModelObjectsTemp"""
707 return _IMP_npc.YAxialPositionRestraint_do_get_inputs(self)
710 def get_version_info(self):
711 """get_version_info(YAxialPositionRestraint self) -> VersionInfo"""
712 return _IMP_npc.YAxialPositionRestraint_get_version_info(self)
716 """__str__(YAxialPositionRestraint self) -> std::string"""
717 return _IMP_npc.YAxialPositionRestraint___str__(self)
721 """__repr__(YAxialPositionRestraint self) -> std::string"""
722 return _IMP_npc.YAxialPositionRestraint___repr__(self)
727 return _object_cast_to_YAxialPositionRestraint(o)
729 YAxialPositionRestraint_swigregister = _IMP_npc.YAxialPositionRestraint_swigregister
730 YAxialPositionRestraint_swigregister(YAxialPositionRestraint)
733 """Proxy of C++ IMP::npc::YAxialPositionLowerRestraint class."""
735 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
739 __init__(IMP::npc::YAxialPositionLowerRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, bool consider_radius, double sigma=1) -> YAxialPositionLowerRestraint
740 __init__(IMP::npc::YAxialPositionLowerRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, bool consider_radius) -> YAxialPositionLowerRestraint
741 __init__(IMP::npc::YAxialPositionLowerRestraint self, Model m, double lower_bound, bool consider_radius, double sigma=1) -> YAxialPositionLowerRestraint
742 __init__(IMP::npc::YAxialPositionLowerRestraint self, Model m, double lower_bound, bool consider_radius) -> YAxialPositionLowerRestraint
744 this = _IMP_npc.new_YAxialPositionLowerRestraint(*args)
746 self.this.append(this)
747 except __builtin__.Exception:
751 """add_particle(YAxialPositionLowerRestraint self, Particle p)"""
752 return _IMP_npc.YAxialPositionLowerRestraint_add_particle(self, p)
756 """add_particles(YAxialPositionLowerRestraint self, IMP::ParticlesTemp const & ps)"""
757 return _IMP_npc.YAxialPositionLowerRestraint_add_particles(self, ps)
760 def set_particles(self, ps):
761 """set_particles(YAxialPositionLowerRestraint self, IMP::ParticlesTemp const & ps)"""
762 return _IMP_npc.YAxialPositionLowerRestraint_set_particles(self, ps)
765 def do_get_inputs(self):
766 """do_get_inputs(YAxialPositionLowerRestraint self) -> IMP::ModelObjectsTemp"""
767 return _IMP_npc.YAxialPositionLowerRestraint_do_get_inputs(self)
770 def get_version_info(self):
771 """get_version_info(YAxialPositionLowerRestraint self) -> VersionInfo"""
772 return _IMP_npc.YAxialPositionLowerRestraint_get_version_info(self)
776 """__str__(YAxialPositionLowerRestraint self) -> std::string"""
777 return _IMP_npc.YAxialPositionLowerRestraint___str__(self)
781 """__repr__(YAxialPositionLowerRestraint self) -> std::string"""
782 return _IMP_npc.YAxialPositionLowerRestraint___repr__(self)
787 return _object_cast_to_YAxialPositionLowerRestraint(o)
789 YAxialPositionLowerRestraint_swigregister = _IMP_npc.YAxialPositionLowerRestraint_swigregister
790 YAxialPositionLowerRestraint_swigregister(YAxialPositionLowerRestraint)
793 """Proxy of C++ IMP::npc::YAxialPositionUpperRestraint class."""
795 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
799 __init__(IMP::npc::YAxialPositionUpperRestraint self, Model m, _SingletonContainerAdaptor sc, double upper_bound, bool consider_radius, double sigma=1) -> YAxialPositionUpperRestraint
800 __init__(IMP::npc::YAxialPositionUpperRestraint self, Model m, _SingletonContainerAdaptor sc, double upper_bound, bool consider_radius) -> YAxialPositionUpperRestraint
801 __init__(IMP::npc::YAxialPositionUpperRestraint self, Model m, double upper_bound, bool consider_radius, double sigma=1) -> YAxialPositionUpperRestraint
802 __init__(IMP::npc::YAxialPositionUpperRestraint self, Model m, double upper_bound, bool consider_radius) -> YAxialPositionUpperRestraint
804 this = _IMP_npc.new_YAxialPositionUpperRestraint(*args)
806 self.this.append(this)
807 except __builtin__.Exception:
811 """add_particle(YAxialPositionUpperRestraint self, Particle p)"""
812 return _IMP_npc.YAxialPositionUpperRestraint_add_particle(self, p)
816 """add_particles(YAxialPositionUpperRestraint self, IMP::ParticlesTemp const & ps)"""
817 return _IMP_npc.YAxialPositionUpperRestraint_add_particles(self, ps)
820 def set_particles(self, ps):
821 """set_particles(YAxialPositionUpperRestraint self, IMP::ParticlesTemp const & ps)"""
822 return _IMP_npc.YAxialPositionUpperRestraint_set_particles(self, ps)
825 def do_get_inputs(self):
826 """do_get_inputs(YAxialPositionUpperRestraint self) -> IMP::ModelObjectsTemp"""
827 return _IMP_npc.YAxialPositionUpperRestraint_do_get_inputs(self)
830 def get_version_info(self):
831 """get_version_info(YAxialPositionUpperRestraint self) -> VersionInfo"""
832 return _IMP_npc.YAxialPositionUpperRestraint_get_version_info(self)
836 """__str__(YAxialPositionUpperRestraint self) -> std::string"""
837 return _IMP_npc.YAxialPositionUpperRestraint___str__(self)
841 """__repr__(YAxialPositionUpperRestraint self) -> std::string"""
842 return _IMP_npc.YAxialPositionUpperRestraint___repr__(self)
847 return _object_cast_to_YAxialPositionUpperRestraint(o)
849 YAxialPositionUpperRestraint_swigregister = _IMP_npc.YAxialPositionUpperRestraint_swigregister
850 YAxialPositionUpperRestraint_swigregister(YAxialPositionUpperRestraint)
853 """Proxy of C++ IMP::npc::XYRadialPositionRestraint class."""
855 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
859 __init__(IMP::npc::XYRadialPositionRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, double upper_bound, bool consider_radius, double sigma=1) -> XYRadialPositionRestraint
860 __init__(IMP::npc::XYRadialPositionRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, double upper_bound, bool consider_radius) -> XYRadialPositionRestraint
861 __init__(IMP::npc::XYRadialPositionRestraint self, Model m, double lower_bound, double upper_bound, bool consider_radius, double sigma=1) -> XYRadialPositionRestraint
862 __init__(IMP::npc::XYRadialPositionRestraint self, Model m, double lower_bound, double upper_bound, bool consider_radius) -> XYRadialPositionRestraint
864 this = _IMP_npc.new_XYRadialPositionRestraint(*args)
866 self.this.append(this)
867 except __builtin__.Exception:
871 """add_particle(XYRadialPositionRestraint self, Particle p)"""
872 return _IMP_npc.XYRadialPositionRestraint_add_particle(self, p)
876 """add_particles(XYRadialPositionRestraint self, IMP::ParticlesTemp const & ps)"""
877 return _IMP_npc.XYRadialPositionRestraint_add_particles(self, ps)
880 def set_particles(self, ps):
881 """set_particles(XYRadialPositionRestraint self, IMP::ParticlesTemp const & ps)"""
882 return _IMP_npc.XYRadialPositionRestraint_set_particles(self, ps)
885 def do_get_inputs(self):
886 """do_get_inputs(XYRadialPositionRestraint self) -> IMP::ModelObjectsTemp"""
887 return _IMP_npc.XYRadialPositionRestraint_do_get_inputs(self)
890 def get_version_info(self):
891 """get_version_info(XYRadialPositionRestraint self) -> VersionInfo"""
892 return _IMP_npc.XYRadialPositionRestraint_get_version_info(self)
896 """__str__(XYRadialPositionRestraint self) -> std::string"""
897 return _IMP_npc.XYRadialPositionRestraint___str__(self)
901 """__repr__(XYRadialPositionRestraint self) -> std::string"""
902 return _IMP_npc.XYRadialPositionRestraint___repr__(self)
907 return _object_cast_to_XYRadialPositionRestraint(o)
909 XYRadialPositionRestraint_swigregister = _IMP_npc.XYRadialPositionRestraint_swigregister
910 XYRadialPositionRestraint_swigregister(XYRadialPositionRestraint)
913 """Proxy of C++ IMP::npc::XYRadialPositionLowerRestraint class."""
915 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
919 __init__(IMP::npc::XYRadialPositionLowerRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, bool consider_radius, double sigma=1) -> XYRadialPositionLowerRestraint
920 __init__(IMP::npc::XYRadialPositionLowerRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, bool consider_radius) -> XYRadialPositionLowerRestraint
921 __init__(IMP::npc::XYRadialPositionLowerRestraint self, Model m, double lower_bound, bool consider_radius, double sigma=1) -> XYRadialPositionLowerRestraint
922 __init__(IMP::npc::XYRadialPositionLowerRestraint self, Model m, double lower_bound, bool consider_radius) -> XYRadialPositionLowerRestraint
924 this = _IMP_npc.new_XYRadialPositionLowerRestraint(*args)
926 self.this.append(this)
927 except __builtin__.Exception:
931 """add_particle(XYRadialPositionLowerRestraint self, Particle p)"""
932 return _IMP_npc.XYRadialPositionLowerRestraint_add_particle(self, p)
936 """add_particles(XYRadialPositionLowerRestraint self, IMP::ParticlesTemp const & ps)"""
937 return _IMP_npc.XYRadialPositionLowerRestraint_add_particles(self, ps)
940 def set_particles(self, ps):
941 """set_particles(XYRadialPositionLowerRestraint self, IMP::ParticlesTemp const & ps)"""
942 return _IMP_npc.XYRadialPositionLowerRestraint_set_particles(self, ps)
945 def do_get_inputs(self):
946 """do_get_inputs(XYRadialPositionLowerRestraint self) -> IMP::ModelObjectsTemp"""
947 return _IMP_npc.XYRadialPositionLowerRestraint_do_get_inputs(self)
950 def get_version_info(self):
951 """get_version_info(XYRadialPositionLowerRestraint self) -> VersionInfo"""
952 return _IMP_npc.XYRadialPositionLowerRestraint_get_version_info(self)
956 """__str__(XYRadialPositionLowerRestraint self) -> std::string"""
957 return _IMP_npc.XYRadialPositionLowerRestraint___str__(self)
961 """__repr__(XYRadialPositionLowerRestraint self) -> std::string"""
962 return _IMP_npc.XYRadialPositionLowerRestraint___repr__(self)
967 return _object_cast_to_XYRadialPositionLowerRestraint(o)
969 XYRadialPositionLowerRestraint_swigregister = _IMP_npc.XYRadialPositionLowerRestraint_swigregister
970 XYRadialPositionLowerRestraint_swigregister(XYRadialPositionLowerRestraint)
973 """Proxy of C++ IMP::npc::XYRadialPositionUpperRestraint class."""
975 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
979 __init__(IMP::npc::XYRadialPositionUpperRestraint self, Model m, _SingletonContainerAdaptor sc, double upper_bound, bool consider_radius, double sigma=1) -> XYRadialPositionUpperRestraint
980 __init__(IMP::npc::XYRadialPositionUpperRestraint self, Model m, _SingletonContainerAdaptor sc, double upper_bound, bool consider_radius) -> XYRadialPositionUpperRestraint
981 __init__(IMP::npc::XYRadialPositionUpperRestraint self, Model m, double upper_bound, bool consider_radius, double sigma=1) -> XYRadialPositionUpperRestraint
982 __init__(IMP::npc::XYRadialPositionUpperRestraint self, Model m, double upper_bound, bool consider_radius) -> XYRadialPositionUpperRestraint
984 this = _IMP_npc.new_XYRadialPositionUpperRestraint(*args)
986 self.this.append(this)
987 except __builtin__.Exception:
991 """add_particle(XYRadialPositionUpperRestraint self, Particle p)"""
992 return _IMP_npc.XYRadialPositionUpperRestraint_add_particle(self, p)
996 """add_particles(XYRadialPositionUpperRestraint self, IMP::ParticlesTemp const & ps)"""
997 return _IMP_npc.XYRadialPositionUpperRestraint_add_particles(self, ps)
1000 def set_particles(self, ps):
1001 """set_particles(XYRadialPositionUpperRestraint self, IMP::ParticlesTemp const & ps)"""
1002 return _IMP_npc.XYRadialPositionUpperRestraint_set_particles(self, ps)
1005 def do_get_inputs(self):
1006 """do_get_inputs(XYRadialPositionUpperRestraint self) -> IMP::ModelObjectsTemp"""
1007 return _IMP_npc.XYRadialPositionUpperRestraint_do_get_inputs(self)
1010 def get_version_info(self):
1011 """get_version_info(XYRadialPositionUpperRestraint self) -> VersionInfo"""
1012 return _IMP_npc.XYRadialPositionUpperRestraint_get_version_info(self)
1016 """__str__(XYRadialPositionUpperRestraint self) -> std::string"""
1017 return _IMP_npc.XYRadialPositionUpperRestraint___str__(self)
1021 """__repr__(XYRadialPositionUpperRestraint self) -> std::string"""
1022 return _IMP_npc.XYRadialPositionUpperRestraint___repr__(self)
1027 return _object_cast_to_XYRadialPositionUpperRestraint(o)
1029 XYRadialPositionUpperRestraint_swigregister = _IMP_npc.XYRadialPositionUpperRestraint_swigregister
1030 XYRadialPositionUpperRestraint_swigregister(XYRadialPositionUpperRestraint)
1033 """Proxy of C++ IMP::npc::ProteinContactRestraint class."""
1035 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1039 __init__(IMP::npc::ProteinContactRestraint self, Model m, _SingletonContainerAdaptor sc, double tolerance_factor, double sigma=0.1) -> ProteinContactRestraint
1040 __init__(IMP::npc::ProteinContactRestraint self, Model m, _SingletonContainerAdaptor sc, double tolerance_factor) -> ProteinContactRestraint
1041 __init__(IMP::npc::ProteinContactRestraint self, Model m, double tolerance_factor, double sigma=0.1) -> ProteinContactRestraint
1042 __init__(IMP::npc::ProteinContactRestraint self, Model m, double tolerance_factor) -> ProteinContactRestraint
1044 this = _IMP_npc.new_ProteinContactRestraint(*args)
1046 self.this.append(this)
1047 except __builtin__.Exception:
1051 """add_particle(ProteinContactRestraint self, Particle p)"""
1052 return _IMP_npc.ProteinContactRestraint_add_particle(self, p)
1056 """add_particles(ProteinContactRestraint self, IMP::ParticlesTemp const & ps)"""
1057 return _IMP_npc.ProteinContactRestraint_add_particles(self, ps)
1060 def set_particles(self, ps):
1061 """set_particles(ProteinContactRestraint self, IMP::ParticlesTemp const & ps)"""
1062 return _IMP_npc.ProteinContactRestraint_set_particles(self, ps)
1065 def do_get_inputs(self):
1066 """do_get_inputs(ProteinContactRestraint self) -> IMP::ModelObjectsTemp"""
1067 return _IMP_npc.ProteinContactRestraint_do_get_inputs(self)
1070 def get_version_info(self):
1071 """get_version_info(ProteinContactRestraint self) -> VersionInfo"""
1072 return _IMP_npc.ProteinContactRestraint_get_version_info(self)
1076 """__str__(ProteinContactRestraint self) -> std::string"""
1077 return _IMP_npc.ProteinContactRestraint___str__(self)
1081 """__repr__(ProteinContactRestraint self) -> std::string"""
1082 return _IMP_npc.ProteinContactRestraint___repr__(self)
1087 return _object_cast_to_ProteinContactRestraint(o)
1089 ProteinContactRestraint_swigregister = _IMP_npc.ProteinContactRestraint_swigregister
1090 ProteinContactRestraint_swigregister(ProteinContactRestraint)
1093 """Proxy of C++ IMP::npc::ProteinChainRestraint class."""
1095 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1099 __init__(IMP::npc::ProteinChainRestraint self, Model m, _SingletonContainerAdaptor sc, double sigma=0.1) -> ProteinChainRestraint
1100 __init__(IMP::npc::ProteinChainRestraint self, Model m, _SingletonContainerAdaptor sc) -> ProteinChainRestraint
1101 __init__(IMP::npc::ProteinChainRestraint self, Model m, double sigma=0.1) -> ProteinChainRestraint
1102 __init__(IMP::npc::ProteinChainRestraint self, Model m) -> ProteinChainRestraint
1104 this = _IMP_npc.new_ProteinChainRestraint(*args)
1106 self.this.append(this)
1107 except __builtin__.Exception:
1111 """add_particle(ProteinChainRestraint self, Particle p)"""
1112 return _IMP_npc.ProteinChainRestraint_add_particle(self, p)
1116 """add_particles(ProteinChainRestraint self, IMP::ParticlesTemp const & ps)"""
1117 return _IMP_npc.ProteinChainRestraint_add_particles(self, ps)
1120 def set_particles(self, ps):
1121 """set_particles(ProteinChainRestraint self, IMP::ParticlesTemp const & ps)"""
1122 return _IMP_npc.ProteinChainRestraint_set_particles(self, ps)
1125 def do_get_inputs(self):
1126 """do_get_inputs(ProteinChainRestraint self) -> IMP::ModelObjectsTemp"""
1127 return _IMP_npc.ProteinChainRestraint_do_get_inputs(self)
1130 def get_version_info(self):
1131 """get_version_info(ProteinChainRestraint self) -> VersionInfo"""
1132 return _IMP_npc.ProteinChainRestraint_get_version_info(self)
1136 """__str__(ProteinChainRestraint self) -> std::string"""
1137 return _IMP_npc.ProteinChainRestraint___str__(self)
1141 """__repr__(ProteinChainRestraint self) -> std::string"""
1142 return _IMP_npc.ProteinChainRestraint___repr__(self)
1147 return _object_cast_to_ProteinChainRestraint(o)
1149 ProteinChainRestraint_swigregister = _IMP_npc.ProteinChainRestraint_swigregister
1150 ProteinChainRestraint_swigregister(ProteinChainRestraint)
1153 """Proxy of C++ IMP::npc::MembraneSurfaceLocationRestraint class."""
1155 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1159 __init__(IMP::npc::MembraneSurfaceLocationRestraint self, Model m, _SingletonContainerAdaptor sc, double R, double r, double thickness, double sigma=2) -> MembraneSurfaceLocationRestraint
1160 __init__(IMP::npc::MembraneSurfaceLocationRestraint self, Model m, _SingletonContainerAdaptor sc, double R, double r, double thickness) -> MembraneSurfaceLocationRestraint
1161 __init__(IMP::npc::MembraneSurfaceLocationRestraint self, Model m, double R, double r, double thickness, double sigma=2) -> MembraneSurfaceLocationRestraint
1162 __init__(IMP::npc::MembraneSurfaceLocationRestraint self, Model m, double R, double r, double thickness) -> MembraneSurfaceLocationRestraint
1164 this = _IMP_npc.new_MembraneSurfaceLocationRestraint(*args)
1166 self.this.append(this)
1167 except __builtin__.Exception:
1171 """add_particle(MembraneSurfaceLocationRestraint self, Particle p)"""
1172 return _IMP_npc.MembraneSurfaceLocationRestraint_add_particle(self, p)
1176 """add_particles(MembraneSurfaceLocationRestraint self, IMP::ParticlesTemp const & ps)"""
1177 return _IMP_npc.MembraneSurfaceLocationRestraint_add_particles(self, ps)
1180 def set_particles(self, ps):
1181 """set_particles(MembraneSurfaceLocationRestraint self, IMP::ParticlesTemp const & ps)"""
1182 return _IMP_npc.MembraneSurfaceLocationRestraint_set_particles(self, ps)
1185 def do_get_inputs(self):
1186 """do_get_inputs(MembraneSurfaceLocationRestraint self) -> IMP::ModelObjectsTemp"""
1187 return _IMP_npc.MembraneSurfaceLocationRestraint_do_get_inputs(self)
1190 def get_version_info(self):
1191 """get_version_info(MembraneSurfaceLocationRestraint self) -> VersionInfo"""
1192 return _IMP_npc.MembraneSurfaceLocationRestraint_get_version_info(self)
1196 """__str__(MembraneSurfaceLocationRestraint self) -> std::string"""
1197 return _IMP_npc.MembraneSurfaceLocationRestraint___str__(self)
1201 """__repr__(MembraneSurfaceLocationRestraint self) -> std::string"""
1202 return _IMP_npc.MembraneSurfaceLocationRestraint___repr__(self)
1207 return _object_cast_to_MembraneSurfaceLocationRestraint(o)
1209 MembraneSurfaceLocationRestraint_swigregister = _IMP_npc.MembraneSurfaceLocationRestraint_swigregister
1210 MembraneSurfaceLocationRestraint_swigregister(MembraneSurfaceLocationRestraint)
1212 class MembraneSurfaceLocationConditionalRestraint(
IMP.Restraint):
1213 """Proxy of C++ IMP::npc::MembraneSurfaceLocationConditionalRestraint class."""
1215 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1219 __init__(IMP::npc::MembraneSurfaceLocationConditionalRestraint self, Model m, _SingletonContainerAdaptor sc1, _SingletonContainerAdaptor sc2, double R, double r, double thickness, double sigma=2) -> MembraneSurfaceLocationConditionalRestraint
1220 __init__(IMP::npc::MembraneSurfaceLocationConditionalRestraint self, Model m, _SingletonContainerAdaptor sc1, _SingletonContainerAdaptor sc2, double R, double r, double thickness) -> MembraneSurfaceLocationConditionalRestraint
1221 __init__(IMP::npc::MembraneSurfaceLocationConditionalRestraint self, Model m, double R, double r, double thickness, double sigma=2) -> MembraneSurfaceLocationConditionalRestraint
1222 __init__(IMP::npc::MembraneSurfaceLocationConditionalRestraint self, Model m, double R, double r, double thickness) -> MembraneSurfaceLocationConditionalRestraint
1224 this = _IMP_npc.new_MembraneSurfaceLocationConditionalRestraint(*args)
1226 self.this.append(this)
1227 except __builtin__.Exception:
1230 def add_particle1(self, p):
1231 """add_particle1(MembraneSurfaceLocationConditionalRestraint self, Particle p)"""
1232 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_add_particle1(self, p)
1235 def add_particle2(self, p):
1236 """add_particle2(MembraneSurfaceLocationConditionalRestraint self, Particle p)"""
1237 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_add_particle2(self, p)
1240 def add_particles1(self, ps):
1241 """add_particles1(MembraneSurfaceLocationConditionalRestraint self, IMP::ParticlesTemp const & ps)"""
1242 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_add_particles1(self, ps)
1245 def add_particles2(self, ps):
1246 """add_particles2(MembraneSurfaceLocationConditionalRestraint self, IMP::ParticlesTemp const & ps)"""
1247 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_add_particles2(self, ps)
1250 def set_particles1(self, ps):
1251 """set_particles1(MembraneSurfaceLocationConditionalRestraint self, IMP::ParticlesTemp const & ps)"""
1252 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_set_particles1(self, ps)
1255 def set_particles2(self, ps):
1256 """set_particles2(MembraneSurfaceLocationConditionalRestraint self, IMP::ParticlesTemp const & ps)"""
1257 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_set_particles2(self, ps)
1260 def do_get_inputs(self):
1261 """do_get_inputs(MembraneSurfaceLocationConditionalRestraint self) -> IMP::ModelObjectsTemp"""
1262 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_do_get_inputs(self)
1265 def get_version_info(self):
1266 """get_version_info(MembraneSurfaceLocationConditionalRestraint self) -> VersionInfo"""
1267 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_get_version_info(self)
1271 """__str__(MembraneSurfaceLocationConditionalRestraint self) -> std::string"""
1272 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint___str__(self)
1276 """__repr__(MembraneSurfaceLocationConditionalRestraint self) -> std::string"""
1277 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint___repr__(self)
1282 return _object_cast_to_MembraneSurfaceLocationConditionalRestraint(o)
1284 MembraneSurfaceLocationConditionalRestraint_swigregister = _IMP_npc.MembraneSurfaceLocationConditionalRestraint_swigregister
1285 MembraneSurfaceLocationConditionalRestraint_swigregister(MembraneSurfaceLocationConditionalRestraint)
1288 """Proxy of C++ IMP::npc::MembraneExclusionRestraint class."""
1290 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1294 __init__(IMP::npc::MembraneExclusionRestraint self, Model m, _SingletonContainerAdaptor sc, double R, double r, double thickness, double sigma=2) -> MembraneExclusionRestraint
1295 __init__(IMP::npc::MembraneExclusionRestraint self, Model m, _SingletonContainerAdaptor sc, double R, double r, double thickness) -> MembraneExclusionRestraint
1296 __init__(IMP::npc::MembraneExclusionRestraint self, Model m, double R, double r, double thickness, double sigma=2) -> MembraneExclusionRestraint
1297 __init__(IMP::npc::MembraneExclusionRestraint self, Model m, double R, double r, double thickness) -> MembraneExclusionRestraint
1299 this = _IMP_npc.new_MembraneExclusionRestraint(*args)
1301 self.this.append(this)
1302 except __builtin__.Exception:
1306 """add_particle(MembraneExclusionRestraint self, Particle p)"""
1307 return _IMP_npc.MembraneExclusionRestraint_add_particle(self, p)
1311 """add_particles(MembraneExclusionRestraint self, IMP::ParticlesTemp const & ps)"""
1312 return _IMP_npc.MembraneExclusionRestraint_add_particles(self, ps)
1315 def set_particles(self, ps):
1316 """set_particles(MembraneExclusionRestraint self, IMP::ParticlesTemp const & ps)"""
1317 return _IMP_npc.MembraneExclusionRestraint_set_particles(self, ps)
1320 def do_get_inputs(self):
1321 """do_get_inputs(MembraneExclusionRestraint self) -> IMP::ModelObjectsTemp"""
1322 return _IMP_npc.MembraneExclusionRestraint_do_get_inputs(self)
1325 def get_version_info(self):
1326 """get_version_info(MembraneExclusionRestraint self) -> VersionInfo"""
1327 return _IMP_npc.MembraneExclusionRestraint_get_version_info(self)
1331 """__str__(MembraneExclusionRestraint self) -> std::string"""
1332 return _IMP_npc.MembraneExclusionRestraint___str__(self)
1336 """__repr__(MembraneExclusionRestraint self) -> std::string"""
1337 return _IMP_npc.MembraneExclusionRestraint___repr__(self)
1342 return _object_cast_to_MembraneExclusionRestraint(o)
1344 MembraneExclusionRestraint_swigregister = _IMP_npc.MembraneExclusionRestraint_swigregister
1345 MembraneExclusionRestraint_swigregister(MembraneExclusionRestraint)
1348 """Proxy of C++ IMP::npc::PoreSideVolumeLocationRestraint class."""
1350 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1354 __init__(IMP::npc::PoreSideVolumeLocationRestraint self, Model m, _SingletonContainerAdaptor sc, double R, double r, double thickness, bool consider_radius, double sigma=2) -> PoreSideVolumeLocationRestraint
1355 __init__(IMP::npc::PoreSideVolumeLocationRestraint self, Model m, _SingletonContainerAdaptor sc, double R, double r, double thickness, bool consider_radius) -> PoreSideVolumeLocationRestraint
1356 __init__(IMP::npc::PoreSideVolumeLocationRestraint self, Model m, double R, double r, double thickness, bool consider_radius, double sigma=2) -> PoreSideVolumeLocationRestraint
1357 __init__(IMP::npc::PoreSideVolumeLocationRestraint self, Model m, double R, double r, double thickness, bool consider_radius) -> PoreSideVolumeLocationRestraint
1359 this = _IMP_npc.new_PoreSideVolumeLocationRestraint(*args)
1361 self.this.append(this)
1362 except __builtin__.Exception:
1366 """add_particle(PoreSideVolumeLocationRestraint self, Particle p)"""
1367 return _IMP_npc.PoreSideVolumeLocationRestraint_add_particle(self, p)
1371 """add_particles(PoreSideVolumeLocationRestraint self, IMP::ParticlesTemp const & ps)"""
1372 return _IMP_npc.PoreSideVolumeLocationRestraint_add_particles(self, ps)
1375 def set_particles(self, ps):
1376 """set_particles(PoreSideVolumeLocationRestraint self, IMP::ParticlesTemp const & ps)"""
1377 return _IMP_npc.PoreSideVolumeLocationRestraint_set_particles(self, ps)
1380 def do_get_inputs(self):
1381 """do_get_inputs(PoreSideVolumeLocationRestraint self) -> IMP::ModelObjectsTemp"""
1382 return _IMP_npc.PoreSideVolumeLocationRestraint_do_get_inputs(self)
1385 def get_version_info(self):
1386 """get_version_info(PoreSideVolumeLocationRestraint self) -> VersionInfo"""
1387 return _IMP_npc.PoreSideVolumeLocationRestraint_get_version_info(self)
1391 """__str__(PoreSideVolumeLocationRestraint self) -> std::string"""
1392 return _IMP_npc.PoreSideVolumeLocationRestraint___str__(self)
1396 """__repr__(PoreSideVolumeLocationRestraint self) -> std::string"""
1397 return _IMP_npc.PoreSideVolumeLocationRestraint___repr__(self)
1402 return _object_cast_to_PoreSideVolumeLocationRestraint(o)
1404 PoreSideVolumeLocationRestraint_swigregister = _IMP_npc.PoreSideVolumeLocationRestraint_swigregister
1405 PoreSideVolumeLocationRestraint_swigregister(PoreSideVolumeLocationRestraint)
1408 """Proxy of C++ IMP::npc::PerinuclearVolumeLocationRestraint class."""
1410 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1414 __init__(IMP::npc::PerinuclearVolumeLocationRestraint self, Model m, _SingletonContainerAdaptor sc, double R, double r, double thickness, bool consider_radius, double sigma=2) -> PerinuclearVolumeLocationRestraint
1415 __init__(IMP::npc::PerinuclearVolumeLocationRestraint self, Model m, _SingletonContainerAdaptor sc, double R, double r, double thickness, bool consider_radius) -> PerinuclearVolumeLocationRestraint
1416 __init__(IMP::npc::PerinuclearVolumeLocationRestraint self, Model m, double R, double r, double thickness, bool consider_radius, double sigma=2) -> PerinuclearVolumeLocationRestraint
1417 __init__(IMP::npc::PerinuclearVolumeLocationRestraint self, Model m, double R, double r, double thickness, bool consider_radius) -> PerinuclearVolumeLocationRestraint
1419 this = _IMP_npc.new_PerinuclearVolumeLocationRestraint(*args)
1421 self.this.append(this)
1422 except __builtin__.Exception:
1426 """add_particle(PerinuclearVolumeLocationRestraint self, Particle p)"""
1427 return _IMP_npc.PerinuclearVolumeLocationRestraint_add_particle(self, p)
1431 """add_particles(PerinuclearVolumeLocationRestraint self, IMP::ParticlesTemp const & ps)"""
1432 return _IMP_npc.PerinuclearVolumeLocationRestraint_add_particles(self, ps)
1435 def set_particles(self, ps):
1436 """set_particles(PerinuclearVolumeLocationRestraint self, IMP::ParticlesTemp const & ps)"""
1437 return _IMP_npc.PerinuclearVolumeLocationRestraint_set_particles(self, ps)
1440 def do_get_inputs(self):
1441 """do_get_inputs(PerinuclearVolumeLocationRestraint self) -> IMP::ModelObjectsTemp"""
1442 return _IMP_npc.PerinuclearVolumeLocationRestraint_do_get_inputs(self)
1445 def get_version_info(self):
1446 """get_version_info(PerinuclearVolumeLocationRestraint self) -> VersionInfo"""
1447 return _IMP_npc.PerinuclearVolumeLocationRestraint_get_version_info(self)
1451 """__str__(PerinuclearVolumeLocationRestraint self) -> std::string"""
1452 return _IMP_npc.PerinuclearVolumeLocationRestraint___str__(self)
1456 """__repr__(PerinuclearVolumeLocationRestraint self) -> std::string"""
1457 return _IMP_npc.PerinuclearVolumeLocationRestraint___repr__(self)
1462 return _object_cast_to_PerinuclearVolumeLocationRestraint(o)
1464 PerinuclearVolumeLocationRestraint_swigregister = _IMP_npc.PerinuclearVolumeLocationRestraint_swigregister
1465 PerinuclearVolumeLocationRestraint_swigregister(PerinuclearVolumeLocationRestraint)
1468 """Proxy of C++ IMP::npc::AssemblySymmetryByDistanceRestraint class."""
1470 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1474 __init__(IMP::npc::AssemblySymmetryByDistanceRestraint self, Model m, _SingletonContainerAdaptor sc, double sigma=4) -> AssemblySymmetryByDistanceRestraint
1475 __init__(IMP::npc::AssemblySymmetryByDistanceRestraint self, Model m, _SingletonContainerAdaptor sc) -> AssemblySymmetryByDistanceRestraint
1476 __init__(IMP::npc::AssemblySymmetryByDistanceRestraint self, Model m, double sigma=4) -> AssemblySymmetryByDistanceRestraint
1477 __init__(IMP::npc::AssemblySymmetryByDistanceRestraint self, Model m) -> AssemblySymmetryByDistanceRestraint
1479 this = _IMP_npc.new_AssemblySymmetryByDistanceRestraint(*args)
1481 self.this.append(this)
1482 except __builtin__.Exception:
1486 """add_particle(AssemblySymmetryByDistanceRestraint self, Particle p)"""
1487 return _IMP_npc.AssemblySymmetryByDistanceRestraint_add_particle(self, p)
1491 """add_particles(AssemblySymmetryByDistanceRestraint self, IMP::ParticlesTemp const & ps)"""
1492 return _IMP_npc.AssemblySymmetryByDistanceRestraint_add_particles(self, ps)
1495 def set_particles(self, ps):
1496 """set_particles(AssemblySymmetryByDistanceRestraint self, IMP::ParticlesTemp const & ps)"""
1497 return _IMP_npc.AssemblySymmetryByDistanceRestraint_set_particles(self, ps)
1500 def do_get_inputs(self):
1501 """do_get_inputs(AssemblySymmetryByDistanceRestraint self) -> IMP::ModelObjectsTemp"""
1502 return _IMP_npc.AssemblySymmetryByDistanceRestraint_do_get_inputs(self)
1505 def get_version_info(self):
1506 """get_version_info(AssemblySymmetryByDistanceRestraint self) -> VersionInfo"""
1507 return _IMP_npc.AssemblySymmetryByDistanceRestraint_get_version_info(self)
1511 """__str__(AssemblySymmetryByDistanceRestraint self) -> std::string"""
1512 return _IMP_npc.AssemblySymmetryByDistanceRestraint___str__(self)
1516 """__repr__(AssemblySymmetryByDistanceRestraint self) -> std::string"""
1517 return _IMP_npc.AssemblySymmetryByDistanceRestraint___repr__(self)
1522 return _object_cast_to_AssemblySymmetryByDistanceRestraint(o)
1524 AssemblySymmetryByDistanceRestraint_swigregister = _IMP_npc.AssemblySymmetryByDistanceRestraint_swigregister
1525 AssemblySymmetryByDistanceRestraint_swigregister(AssemblySymmetryByDistanceRestraint)
1528 """Proxy of C++ IMP::npc::AssemblySymmetryByDihedralRestraint class."""
1530 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1534 __init__(IMP::npc::AssemblySymmetryByDihedralRestraint self, Model m, _SingletonContainerAdaptor sc, double sigma=0.1) -> AssemblySymmetryByDihedralRestraint
1535 __init__(IMP::npc::AssemblySymmetryByDihedralRestraint self, Model m, _SingletonContainerAdaptor sc) -> AssemblySymmetryByDihedralRestraint
1536 __init__(IMP::npc::AssemblySymmetryByDihedralRestraint self, Model m, double sigma=0.1) -> AssemblySymmetryByDihedralRestraint
1537 __init__(IMP::npc::AssemblySymmetryByDihedralRestraint self, Model m) -> AssemblySymmetryByDihedralRestraint
1539 this = _IMP_npc.new_AssemblySymmetryByDihedralRestraint(*args)
1541 self.this.append(this)
1542 except __builtin__.Exception:
1546 """add_particle(AssemblySymmetryByDihedralRestraint self, Particle p)"""
1547 return _IMP_npc.AssemblySymmetryByDihedralRestraint_add_particle(self, p)
1551 """add_particles(AssemblySymmetryByDihedralRestraint self, IMP::ParticlesTemp const & ps)"""
1552 return _IMP_npc.AssemblySymmetryByDihedralRestraint_add_particles(self, ps)
1555 def set_particles(self, ps):
1556 """set_particles(AssemblySymmetryByDihedralRestraint self, IMP::ParticlesTemp const & ps)"""
1557 return _IMP_npc.AssemblySymmetryByDihedralRestraint_set_particles(self, ps)
1560 def do_get_inputs(self):
1561 """do_get_inputs(AssemblySymmetryByDihedralRestraint self) -> IMP::ModelObjectsTemp"""
1562 return _IMP_npc.AssemblySymmetryByDihedralRestraint_do_get_inputs(self)
1565 def get_version_info(self):
1566 """get_version_info(AssemblySymmetryByDihedralRestraint self) -> VersionInfo"""
1567 return _IMP_npc.AssemblySymmetryByDihedralRestraint_get_version_info(self)
1571 """__str__(AssemblySymmetryByDihedralRestraint self) -> std::string"""
1572 return _IMP_npc.AssemblySymmetryByDihedralRestraint___str__(self)
1576 """__repr__(AssemblySymmetryByDihedralRestraint self) -> std::string"""
1577 return _IMP_npc.AssemblySymmetryByDihedralRestraint___repr__(self)
1582 return _object_cast_to_AssemblySymmetryByDihedralRestraint(o)
1584 AssemblySymmetryByDihedralRestraint_swigregister = _IMP_npc.AssemblySymmetryByDihedralRestraint_swigregister
1585 AssemblySymmetryByDihedralRestraint_swigregister(AssemblySymmetryByDihedralRestraint)
1588 """Proxy of C++ IMP::npc::ProteinProximityRestraint class."""
1590 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1594 __init__(IMP::npc::ProteinProximityRestraint self, Model m, _SingletonContainerAdaptor sc, double max_dist, double sigma=0.1) -> ProteinProximityRestraint
1595 __init__(IMP::npc::ProteinProximityRestraint self, Model m, _SingletonContainerAdaptor sc, double max_dist) -> ProteinProximityRestraint
1596 __init__(IMP::npc::ProteinProximityRestraint self, Model m, double max_dist, double sigma=0.1) -> ProteinProximityRestraint
1597 __init__(IMP::npc::ProteinProximityRestraint self, Model m, double max_dist) -> ProteinProximityRestraint
1599 this = _IMP_npc.new_ProteinProximityRestraint(*args)
1601 self.this.append(this)
1602 except __builtin__.Exception:
1606 """add_particle(ProteinProximityRestraint self, Particle p)"""
1607 return _IMP_npc.ProteinProximityRestraint_add_particle(self, p)
1611 """add_particles(ProteinProximityRestraint self, IMP::ParticlesTemp const & ps)"""
1612 return _IMP_npc.ProteinProximityRestraint_add_particles(self, ps)
1615 def set_particles(self, ps):
1616 """set_particles(ProteinProximityRestraint self, IMP::ParticlesTemp const & ps)"""
1617 return _IMP_npc.ProteinProximityRestraint_set_particles(self, ps)
1620 def do_get_inputs(self):
1621 """do_get_inputs(ProteinProximityRestraint self) -> IMP::ModelObjectsTemp"""
1622 return _IMP_npc.ProteinProximityRestraint_do_get_inputs(self)
1625 def get_version_info(self):
1626 """get_version_info(ProteinProximityRestraint self) -> VersionInfo"""
1627 return _IMP_npc.ProteinProximityRestraint_get_version_info(self)
1631 """__str__(ProteinProximityRestraint self) -> std::string"""
1632 return _IMP_npc.ProteinProximityRestraint___str__(self)
1636 """__repr__(ProteinProximityRestraint self) -> std::string"""
1637 return _IMP_npc.ProteinProximityRestraint___repr__(self)
1642 return _object_cast_to_ProteinProximityRestraint(o)
1644 ProteinProximityRestraint_swigregister = _IMP_npc.ProteinProximityRestraint_swigregister
1645 ProteinProximityRestraint_swigregister(ProteinProximityRestraint)
1648 """Proxy of C++ IMP::npc::CompositeRestraint class."""
1650 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1653 """__init__(IMP::npc::CompositeRestraint self, Model m, PairScore ps) -> CompositeRestraint"""
1654 this = _IMP_npc.new_CompositeRestraint(m, ps)
1656 self.this.append(this)
1657 except __builtin__.Exception:
1660 def add_type(self, ps):
1661 """add_type(CompositeRestraint self, IMP::ParticleIndexes ps)"""
1662 return _IMP_npc.CompositeRestraint_add_type(self, ps)
1665 def get_connected_pairs(self):
1666 """get_connected_pairs(CompositeRestraint self) -> IMP::ParticleIndexPairs"""
1667 return _IMP_npc.CompositeRestraint_get_connected_pairs(self)
1670 def do_get_inputs(self):
1671 """do_get_inputs(CompositeRestraint self) -> IMP::ModelObjectsTemp"""
1672 return _IMP_npc.CompositeRestraint_do_get_inputs(self)
1675 def get_version_info(self):
1676 """get_version_info(CompositeRestraint self) -> VersionInfo"""
1677 return _IMP_npc.CompositeRestraint_get_version_info(self)
1681 """__str__(CompositeRestraint self) -> std::string"""
1682 return _IMP_npc.CompositeRestraint___str__(self)
1686 """__repr__(CompositeRestraint self) -> std::string"""
1687 return _IMP_npc.CompositeRestraint___repr__(self)
1692 return _object_cast_to_CompositeRestraint(o)
1694 CompositeRestraint_swigregister = _IMP_npc.CompositeRestraint_swigregister
1695 CompositeRestraint_swigregister(CompositeRestraint)
1698 """Proxy of C++ IMP::npc::MinimumSphereDistancePairScore class."""
1700 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1703 """__init__(IMP::npc::MinimumSphereDistancePairScore self, UnaryFunction f, IMP::algebra::Transformation3Ds transforms) -> MinimumSphereDistancePairScore"""
1704 this = _IMP_npc.new_MinimumSphereDistancePairScore(f, transforms)
1706 self.this.append(this)
1707 except __builtin__.Exception:
1710 def do_get_inputs(self, m, pis):
1711 """do_get_inputs(MinimumSphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1712 return _IMP_npc.MinimumSphereDistancePairScore_do_get_inputs(self, m, pis)
1715 def get_version_info(self):
1716 """get_version_info(MinimumSphereDistancePairScore self) -> VersionInfo"""
1717 return _IMP_npc.MinimumSphereDistancePairScore_get_version_info(self)
1721 """__str__(MinimumSphereDistancePairScore self) -> std::string"""
1722 return _IMP_npc.MinimumSphereDistancePairScore___str__(self)
1726 """__repr__(MinimumSphereDistancePairScore self) -> std::string"""
1727 return _IMP_npc.MinimumSphereDistancePairScore___repr__(self)
1732 return _object_cast_to_MinimumSphereDistancePairScore(o)
1734 MinimumSphereDistancePairScore_swigregister = _IMP_npc.MinimumSphereDistancePairScore_swigregister
1735 MinimumSphereDistancePairScore_swigregister(MinimumSphereDistancePairScore)
1738 def get_module_version():
1739 """get_module_version() -> std::string const"""
1740 return _IMP_npc.get_module_version()
1743 """get_example_path(std::string fname) -> std::string"""
1744 return _IMP_npc.get_example_path(fname)
1747 """get_data_path(std::string fname) -> std::string"""
1748 return _IMP_npc.get_data_path(fname)
1750 from .
import _version_check
1751 _version_check.check_version(get_module_version())
1752 __version__ = get_module_version()
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_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.