11 from __future__
import print_function, division, absolute_import
17 from sys
import version_info
18 if version_info >= (2, 6, 0):
19 def swig_import_helper():
20 from os.path
import dirname
24 fp, pathname, description = imp.find_module(
'_IMP_npc', [dirname(__file__)])
30 _mod = imp.load_module(
'_IMP_npc', fp, pathname, description)
34 _IMP_npc = swig_import_helper()
35 del swig_import_helper
40 _swig_property = property
45 def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
46 if (name ==
"thisown"):
47 return self.this.own(value)
49 if type(value).__name__ ==
'SwigPyObject':
50 self.__dict__[name] = value
52 method = class_type.__swig_setmethods__.get(name,
None)
54 return method(self, value)
56 object.__setattr__(self, name, value)
58 raise AttributeError(
"You cannot add attributes to %s" % self)
61 def _swig_setattr(self, class_type, name, value):
62 return _swig_setattr_nondynamic(self, class_type, name, value, 0)
65 def _swig_getattr_nondynamic(self, class_type, name, static=1):
66 if (name ==
"thisown"):
67 return self.this.own()
68 method = class_type.__swig_getmethods__.get(name,
None)
72 return object.__getattr__(self, name)
74 raise AttributeError(name)
76 def _swig_getattr(self, class_type, name):
77 return _swig_getattr_nondynamic(self, class_type, name, 0)
82 strthis =
"proxy of " + self.this.__repr__()
85 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
90 except AttributeError:
97 def _swig_setattr_nondynamic_method(set):
98 def set_attr(self, name, value):
99 if (name ==
"thisown"):
100 return self.this.own(value)
101 if hasattr(self, name)
or (name ==
"this"):
102 set(self, name, value)
104 raise AttributeError(
"You cannot add attributes to %s" % self)
110 weakref_proxy = weakref.proxy
112 weakref_proxy =
lambda x: x
115 class IMP_NPC_SwigPyIterator(object):
116 """Proxy of C++ swig::IMP_NPC_SwigPyIterator class"""
117 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
119 def __init__(self, *args, **kwargs):
120 raise AttributeError(
"No constructor defined - class is abstract")
121 __repr__ = _swig_repr
122 __swig_destroy__ = _IMP_npc.delete_IMP_NPC_SwigPyIterator
123 __del__ =
lambda self:
None
126 """value(IMP_NPC_SwigPyIterator self) -> PyObject *"""
127 return _IMP_npc.IMP_NPC_SwigPyIterator_value(self)
132 incr(IMP_NPC_SwigPyIterator self, size_t n=1) -> IMP_NPC_SwigPyIterator
133 incr(IMP_NPC_SwigPyIterator self) -> IMP_NPC_SwigPyIterator
135 return _IMP_npc.IMP_NPC_SwigPyIterator_incr(self, n)
140 decr(IMP_NPC_SwigPyIterator self, size_t n=1) -> IMP_NPC_SwigPyIterator
141 decr(IMP_NPC_SwigPyIterator self) -> IMP_NPC_SwigPyIterator
143 return _IMP_npc.IMP_NPC_SwigPyIterator_decr(self, n)
146 def distance(self, x):
147 """distance(IMP_NPC_SwigPyIterator self, IMP_NPC_SwigPyIterator x) -> ptrdiff_t"""
148 return _IMP_npc.IMP_NPC_SwigPyIterator_distance(self, x)
152 """equal(IMP_NPC_SwigPyIterator self, IMP_NPC_SwigPyIterator x) -> bool"""
153 return _IMP_npc.IMP_NPC_SwigPyIterator_equal(self, x)
157 """copy(IMP_NPC_SwigPyIterator self) -> IMP_NPC_SwigPyIterator"""
158 return _IMP_npc.IMP_NPC_SwigPyIterator_copy(self)
162 """next(IMP_NPC_SwigPyIterator self) -> PyObject *"""
163 return _IMP_npc.IMP_NPC_SwigPyIterator_next(self)
167 """__next__(IMP_NPC_SwigPyIterator self) -> PyObject *"""
168 return _IMP_npc.IMP_NPC_SwigPyIterator___next__(self)
172 """previous(IMP_NPC_SwigPyIterator self) -> PyObject *"""
173 return _IMP_npc.IMP_NPC_SwigPyIterator_previous(self)
176 def advance(self, n):
177 """advance(IMP_NPC_SwigPyIterator self, ptrdiff_t n) -> IMP_NPC_SwigPyIterator"""
178 return _IMP_npc.IMP_NPC_SwigPyIterator_advance(self, n)
182 """__eq__(IMP_NPC_SwigPyIterator self, IMP_NPC_SwigPyIterator x) -> bool"""
183 return _IMP_npc.IMP_NPC_SwigPyIterator___eq__(self, x)
187 """__ne__(IMP_NPC_SwigPyIterator self, IMP_NPC_SwigPyIterator x) -> bool"""
188 return _IMP_npc.IMP_NPC_SwigPyIterator___ne__(self, x)
191 def __iadd__(self, n):
192 """__iadd__(IMP_NPC_SwigPyIterator self, ptrdiff_t n) -> IMP_NPC_SwigPyIterator"""
193 return _IMP_npc.IMP_NPC_SwigPyIterator___iadd__(self, n)
196 def __isub__(self, n):
197 """__isub__(IMP_NPC_SwigPyIterator self, ptrdiff_t n) -> IMP_NPC_SwigPyIterator"""
198 return _IMP_npc.IMP_NPC_SwigPyIterator___isub__(self, n)
201 def __add__(self, n):
202 """__add__(IMP_NPC_SwigPyIterator self, ptrdiff_t n) -> IMP_NPC_SwigPyIterator"""
203 return _IMP_npc.IMP_NPC_SwigPyIterator___add__(self, n)
206 def __sub__(self, *args):
208 __sub__(IMP_NPC_SwigPyIterator self, ptrdiff_t n) -> IMP_NPC_SwigPyIterator
209 __sub__(IMP_NPC_SwigPyIterator self, IMP_NPC_SwigPyIterator x) -> ptrdiff_t
211 return _IMP_npc.IMP_NPC_SwigPyIterator___sub__(self, *args)
215 IMP_NPC_SwigPyIterator_swigregister = _IMP_npc.IMP_NPC_SwigPyIterator_swigregister
216 IMP_NPC_SwigPyIterator_swigregister(IMP_NPC_SwigPyIterator)
225 _IMP_npc.IMP_DEBUG_swigconstant(_IMP_npc)
226 IMP_DEBUG = _IMP_npc.IMP_DEBUG
228 _IMP_npc.IMP_RELEASE_swigconstant(_IMP_npc)
229 IMP_RELEASE = _IMP_npc.IMP_RELEASE
231 _IMP_npc.IMP_SILENT_swigconstant(_IMP_npc)
232 IMP_SILENT = _IMP_npc.IMP_SILENT
234 _IMP_npc.IMP_PROGRESS_swigconstant(_IMP_npc)
235 IMP_PROGRESS = _IMP_npc.IMP_PROGRESS
237 _IMP_npc.IMP_TERSE_swigconstant(_IMP_npc)
238 IMP_TERSE = _IMP_npc.IMP_TERSE
240 _IMP_npc.IMP_VERBOSE_swigconstant(_IMP_npc)
241 IMP_VERBOSE = _IMP_npc.IMP_VERBOSE
243 _IMP_npc.IMP_MEMORY_swigconstant(_IMP_npc)
244 IMP_MEMORY = _IMP_npc.IMP_MEMORY
246 _IMP_npc.IMP_NONE_swigconstant(_IMP_npc)
247 IMP_NONE = _IMP_npc.IMP_NONE
249 _IMP_npc.IMP_USAGE_swigconstant(_IMP_npc)
250 IMP_USAGE = _IMP_npc.IMP_USAGE
252 _IMP_npc.IMP_INTERNAL_swigconstant(_IMP_npc)
253 IMP_INTERNAL = _IMP_npc.IMP_INTERNAL
255 _IMP_npc.IMP_KERNEL_HAS_LOG4CXX_swigconstant(_IMP_npc)
256 IMP_KERNEL_HAS_LOG4CXX = _IMP_npc.IMP_KERNEL_HAS_LOG4CXX
258 _IMP_npc.IMP_COMPILER_HAS_DEBUG_VECTOR_swigconstant(_IMP_npc)
259 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_npc.IMP_COMPILER_HAS_DEBUG_VECTOR
261 _IMP_npc.IMP_COMPILER_HAS_RANDOM_SHUFFLE_swigconstant(_IMP_npc)
262 IMP_COMPILER_HAS_RANDOM_SHUFFLE = _IMP_npc.IMP_COMPILER_HAS_RANDOM_SHUFFLE
264 _IMP_npc.IMP_COMPILER_HAS_THREE_WAY_swigconstant(_IMP_npc)
265 IMP_COMPILER_HAS_THREE_WAY = _IMP_npc.IMP_COMPILER_HAS_THREE_WAY
267 _IMP_npc.IMP_KERNEL_HAS_BOOST_RANDOM_swigconstant(_IMP_npc)
268 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_npc.IMP_KERNEL_HAS_BOOST_RANDOM
270 _IMP_npc.IMP_KERNEL_HAS_NUMPY_swigconstant(_IMP_npc)
271 IMP_KERNEL_HAS_NUMPY = _IMP_npc.IMP_KERNEL_HAS_NUMPY
273 _IMP_npc.IMP_KERNEL_HAS_GPERFTOOLS_swigconstant(_IMP_npc)
274 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_npc.IMP_KERNEL_HAS_GPERFTOOLS
276 _IMP_npc.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER_swigconstant(_IMP_npc)
277 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_npc.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
279 _IMP_npc.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER_swigconstant(_IMP_npc)
280 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_npc.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
282 _IMP_npc.IMPKERNEL_SHOW_WARNINGS_swigconstant(_IMP_npc)
283 IMPKERNEL_SHOW_WARNINGS = _IMP_npc.IMPKERNEL_SHOW_WARNINGS
286 class _DirectorObjects(object):
287 """@internal Simple class to keep references to director objects
288 to prevent premature deletion."""
291 def register(self, obj):
292 """Take a reference to a director object; will only work for
293 refcounted C++ classes"""
294 if hasattr(obj,
'get_ref_count'):
295 self._objects.append(obj)
297 """Only drop our reference and allow cleanup by Python if no other
298 Python references exist (we hold 3 references: one in self._objects,
299 one in x, and one in the argument list for getrefcount) *and* no
300 other C++ references exist (the Python object always holds one)"""
301 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
302 or x.get_ref_count() > 1]
306 def get_object_count(self):
307 """Get number of director objects (useful for testing only)"""
308 return len(self._objects)
309 _director_objects = _DirectorObjects()
311 class _ostream(object):
312 """Proxy of C++ std::ostream class"""
313 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
315 def __init__(self, *args, **kwargs):
316 raise AttributeError(
"No constructor defined")
317 __repr__ = _swig_repr
319 def write(self, osa_buf):
320 """write(_ostream self, char const * osa_buf)"""
321 return _IMP_npc._ostream_write(self, osa_buf)
323 _ostream_swigregister = _IMP_npc._ostream_swigregister
324 _ostream_swigregister(_ostream)
327 _IMP_npc.IMP_HAS_NOEXCEPT_swigconstant(_IMP_npc)
328 IMP_HAS_NOEXCEPT = _IMP_npc.IMP_HAS_NOEXCEPT
330 _IMP_npc.IMP_C_OPEN_BINARY_swigconstant(_IMP_npc)
331 IMP_C_OPEN_BINARY = _IMP_npc.IMP_C_OPEN_BINARY
334 _IMP_npc.IMP_CGAL_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_npc)
335 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_npc.IMP_CGAL_HAS_BOOST_FILESYSTEM
337 _IMP_npc.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_npc)
338 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_npc.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
340 _IMP_npc.IMP_CGAL_HAS_BOOST_RANDOM_swigconstant(_IMP_npc)
341 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_npc.IMP_CGAL_HAS_BOOST_RANDOM
343 _IMP_npc.IMP_CGAL_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_npc)
344 IMP_CGAL_HAS_BOOST_SERIALIZATION = _IMP_npc.IMP_CGAL_HAS_BOOST_SERIALIZATION
346 _IMP_npc.IMP_CGAL_HAS_BOOST_SYSTEM_swigconstant(_IMP_npc)
347 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_npc.IMP_CGAL_HAS_BOOST_SYSTEM
349 _IMP_npc.IMP_CGAL_HAS_NUMPY_swigconstant(_IMP_npc)
350 IMP_CGAL_HAS_NUMPY = _IMP_npc.IMP_CGAL_HAS_NUMPY
352 _IMP_npc.IMPCGAL_SHOW_WARNINGS_swigconstant(_IMP_npc)
353 IMPCGAL_SHOW_WARNINGS = _IMP_npc.IMPCGAL_SHOW_WARNINGS
356 _IMP_npc.IMP_ALGEBRA_HAS_IMP_CGAL_swigconstant(_IMP_npc)
357 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_npc.IMP_ALGEBRA_HAS_IMP_CGAL
359 _IMP_npc.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_npc)
360 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_npc.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
362 _IMP_npc.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_npc)
363 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_npc.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
365 _IMP_npc.IMP_ALGEBRA_HAS_BOOST_RANDOM_swigconstant(_IMP_npc)
366 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_npc.IMP_ALGEBRA_HAS_BOOST_RANDOM
368 _IMP_npc.IMP_ALGEBRA_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_npc)
369 IMP_ALGEBRA_HAS_BOOST_SERIALIZATION = _IMP_npc.IMP_ALGEBRA_HAS_BOOST_SERIALIZATION
371 _IMP_npc.IMP_ALGEBRA_HAS_BOOST_SYSTEM_swigconstant(_IMP_npc)
372 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_npc.IMP_ALGEBRA_HAS_BOOST_SYSTEM
374 _IMP_npc.IMP_ALGEBRA_HAS_CGAL_swigconstant(_IMP_npc)
375 IMP_ALGEBRA_HAS_CGAL = _IMP_npc.IMP_ALGEBRA_HAS_CGAL
377 _IMP_npc.IMP_ALGEBRA_HAS_NUMPY_swigconstant(_IMP_npc)
378 IMP_ALGEBRA_HAS_NUMPY = _IMP_npc.IMP_ALGEBRA_HAS_NUMPY
380 _IMP_npc.IMP_ALGEBRA_HAS_ANN_swigconstant(_IMP_npc)
381 IMP_ALGEBRA_HAS_ANN = _IMP_npc.IMP_ALGEBRA_HAS_ANN
383 _IMP_npc.IMPALGEBRA_SHOW_WARNINGS_swigconstant(_IMP_npc)
384 IMPALGEBRA_SHOW_WARNINGS = _IMP_npc.IMPALGEBRA_SHOW_WARNINGS
387 _IMP_npc.IMP_DISPLAY_HAS_IMP_CGAL_swigconstant(_IMP_npc)
388 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_npc.IMP_DISPLAY_HAS_IMP_CGAL
390 _IMP_npc.IMP_DISPLAY_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_npc)
391 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_npc.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
393 _IMP_npc.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_npc)
394 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_npc.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
396 _IMP_npc.IMP_DISPLAY_HAS_BOOST_RANDOM_swigconstant(_IMP_npc)
397 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_npc.IMP_DISPLAY_HAS_BOOST_RANDOM
399 _IMP_npc.IMP_DISPLAY_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_npc)
400 IMP_DISPLAY_HAS_BOOST_SERIALIZATION = _IMP_npc.IMP_DISPLAY_HAS_BOOST_SERIALIZATION
402 _IMP_npc.IMP_DISPLAY_HAS_BOOST_SYSTEM_swigconstant(_IMP_npc)
403 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_npc.IMP_DISPLAY_HAS_BOOST_SYSTEM
405 _IMP_npc.IMP_DISPLAY_HAS_CGAL_swigconstant(_IMP_npc)
406 IMP_DISPLAY_HAS_CGAL = _IMP_npc.IMP_DISPLAY_HAS_CGAL
408 _IMP_npc.IMP_DISPLAY_HAS_NUMPY_swigconstant(_IMP_npc)
409 IMP_DISPLAY_HAS_NUMPY = _IMP_npc.IMP_DISPLAY_HAS_NUMPY
411 _IMP_npc.IMPDISPLAY_SHOW_WARNINGS_swigconstant(_IMP_npc)
412 IMPDISPLAY_SHOW_WARNINGS = _IMP_npc.IMPDISPLAY_SHOW_WARNINGS
415 _IMP_npc.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL_swigconstant(_IMP_npc)
416 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
418 _IMP_npc.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_npc)
419 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
421 _IMP_npc.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_npc)
422 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
424 _IMP_npc.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM_swigconstant(_IMP_npc)
425 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
427 _IMP_npc.IMP_SCORE_FUNCTOR_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_npc)
428 IMP_SCORE_FUNCTOR_HAS_BOOST_SERIALIZATION = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_BOOST_SERIALIZATION
430 _IMP_npc.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM_swigconstant(_IMP_npc)
431 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
433 _IMP_npc.IMP_SCORE_FUNCTOR_HAS_CGAL_swigconstant(_IMP_npc)
434 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_CGAL
436 _IMP_npc.IMP_SCORE_FUNCTOR_HAS_HDF5_swigconstant(_IMP_npc)
437 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_HDF5
439 _IMP_npc.IMP_SCORE_FUNCTOR_HAS_NUMPY_swigconstant(_IMP_npc)
440 IMP_SCORE_FUNCTOR_HAS_NUMPY = _IMP_npc.IMP_SCORE_FUNCTOR_HAS_NUMPY
442 _IMP_npc.IMPSCOREFUNCTOR_SHOW_WARNINGS_swigconstant(_IMP_npc)
443 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_npc.IMPSCOREFUNCTOR_SHOW_WARNINGS
446 _IMP_npc.IMP_CORE_HAS_IMP_CGAL_swigconstant(_IMP_npc)
447 IMP_CORE_HAS_IMP_CGAL = _IMP_npc.IMP_CORE_HAS_IMP_CGAL
449 _IMP_npc.IMP_CORE_HAS_IMP_KERNEL_swigconstant(_IMP_npc)
450 IMP_CORE_HAS_IMP_KERNEL = _IMP_npc.IMP_CORE_HAS_IMP_KERNEL
452 _IMP_npc.IMP_CORE_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_npc)
453 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_npc.IMP_CORE_HAS_BOOST_FILESYSTEM
455 _IMP_npc.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_npc)
456 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_npc.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
458 _IMP_npc.IMP_CORE_HAS_BOOST_RANDOM_swigconstant(_IMP_npc)
459 IMP_CORE_HAS_BOOST_RANDOM = _IMP_npc.IMP_CORE_HAS_BOOST_RANDOM
461 _IMP_npc.IMP_CORE_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_npc)
462 IMP_CORE_HAS_BOOST_SERIALIZATION = _IMP_npc.IMP_CORE_HAS_BOOST_SERIALIZATION
464 _IMP_npc.IMP_CORE_HAS_BOOST_SYSTEM_swigconstant(_IMP_npc)
465 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_npc.IMP_CORE_HAS_BOOST_SYSTEM
467 _IMP_npc.IMP_CORE_HAS_CGAL_swigconstant(_IMP_npc)
468 IMP_CORE_HAS_CGAL = _IMP_npc.IMP_CORE_HAS_CGAL
470 _IMP_npc.IMP_CORE_HAS_HDF5_swigconstant(_IMP_npc)
471 IMP_CORE_HAS_HDF5 = _IMP_npc.IMP_CORE_HAS_HDF5
473 _IMP_npc.IMP_CORE_HAS_NUMPY_swigconstant(_IMP_npc)
474 IMP_CORE_HAS_NUMPY = _IMP_npc.IMP_CORE_HAS_NUMPY
476 _IMP_npc.IMPCORE_SHOW_WARNINGS_swigconstant(_IMP_npc)
477 IMPCORE_SHOW_WARNINGS = _IMP_npc.IMPCORE_SHOW_WARNINGS
480 _IMP_npc.IMP_NPC_HAS_IMP_ALGEBRA_swigconstant(_IMP_npc)
481 IMP_NPC_HAS_IMP_ALGEBRA = _IMP_npc.IMP_NPC_HAS_IMP_ALGEBRA
483 _IMP_npc.IMP_NPC_HAS_IMP_CGAL_swigconstant(_IMP_npc)
484 IMP_NPC_HAS_IMP_CGAL = _IMP_npc.IMP_NPC_HAS_IMP_CGAL
486 _IMP_npc.IMP_NPC_HAS_IMP_DISPLAY_swigconstant(_IMP_npc)
487 IMP_NPC_HAS_IMP_DISPLAY = _IMP_npc.IMP_NPC_HAS_IMP_DISPLAY
489 _IMP_npc.IMP_NPC_HAS_IMP_KERNEL_swigconstant(_IMP_npc)
490 IMP_NPC_HAS_IMP_KERNEL = _IMP_npc.IMP_NPC_HAS_IMP_KERNEL
492 _IMP_npc.IMP_NPC_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_npc)
493 IMP_NPC_HAS_IMP_SCORE_FUNCTOR = _IMP_npc.IMP_NPC_HAS_IMP_SCORE_FUNCTOR
495 _IMP_npc.IMP_NPC_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_npc)
496 IMP_NPC_HAS_BOOST_FILESYSTEM = _IMP_npc.IMP_NPC_HAS_BOOST_FILESYSTEM
498 _IMP_npc.IMP_NPC_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_npc)
499 IMP_NPC_HAS_BOOST_PROGRAMOPTIONS = _IMP_npc.IMP_NPC_HAS_BOOST_PROGRAMOPTIONS
501 _IMP_npc.IMP_NPC_HAS_BOOST_RANDOM_swigconstant(_IMP_npc)
502 IMP_NPC_HAS_BOOST_RANDOM = _IMP_npc.IMP_NPC_HAS_BOOST_RANDOM
504 _IMP_npc.IMP_NPC_HAS_BOOST_SERIALIZATION_swigconstant(_IMP_npc)
505 IMP_NPC_HAS_BOOST_SERIALIZATION = _IMP_npc.IMP_NPC_HAS_BOOST_SERIALIZATION
507 _IMP_npc.IMP_NPC_HAS_BOOST_SYSTEM_swigconstant(_IMP_npc)
508 IMP_NPC_HAS_BOOST_SYSTEM = _IMP_npc.IMP_NPC_HAS_BOOST_SYSTEM
510 _IMP_npc.IMP_NPC_HAS_CGAL_swigconstant(_IMP_npc)
511 IMP_NPC_HAS_CGAL = _IMP_npc.IMP_NPC_HAS_CGAL
513 _IMP_npc.IMP_NPC_HAS_HDF5_swigconstant(_IMP_npc)
514 IMP_NPC_HAS_HDF5 = _IMP_npc.IMP_NPC_HAS_HDF5
516 _IMP_npc.IMP_NPC_HAS_NUMPY_swigconstant(_IMP_npc)
517 IMP_NPC_HAS_NUMPY = _IMP_npc.IMP_NPC_HAS_NUMPY
519 _IMP_npc.IMP_NPC_HAS_PYTHON_IHM_swigconstant(_IMP_npc)
520 IMP_NPC_HAS_PYTHON_IHM = _IMP_npc.IMP_NPC_HAS_PYTHON_IHM
522 _IMP_npc.IMPNPC_SHOW_WARNINGS_swigconstant(_IMP_npc)
523 IMPNPC_SHOW_WARNINGS = _IMP_npc.IMPNPC_SHOW_WARNINGS
525 _object_types.append(
"ZAxialPositionLowerRestraint")
528 def _object_cast_to_ZAxialPositionLowerRestraint(o):
529 """_object_cast_to_ZAxialPositionLowerRestraint(Object o) -> ZAxialPositionLowerRestraint"""
530 return _IMP_npc._object_cast_to_ZAxialPositionLowerRestraint(o)
532 _object_types.append(
"ZAxialPositionUpperRestraint")
535 def _object_cast_to_ZAxialPositionUpperRestraint(o):
536 """_object_cast_to_ZAxialPositionUpperRestraint(Object o) -> ZAxialPositionUpperRestraint"""
537 return _IMP_npc._object_cast_to_ZAxialPositionUpperRestraint(o)
539 _object_types.append(
"XYRadialPositionLowerRestraint")
542 def _object_cast_to_XYRadialPositionLowerRestraint(o):
543 """_object_cast_to_XYRadialPositionLowerRestraint(Object o) -> XYRadialPositionLowerRestraint"""
544 return _IMP_npc._object_cast_to_XYRadialPositionLowerRestraint(o)
546 _object_types.append(
"XYRadialPositionUpperRestraint")
549 def _object_cast_to_XYRadialPositionUpperRestraint(o):
550 """_object_cast_to_XYRadialPositionUpperRestraint(Object o) -> XYRadialPositionUpperRestraint"""
551 return _IMP_npc._object_cast_to_XYRadialPositionUpperRestraint(o)
553 _object_types.append(
"ProteinContactRestraint")
556 def _object_cast_to_ProteinContactRestraint(o):
557 """_object_cast_to_ProteinContactRestraint(Object o) -> ProteinContactRestraint"""
558 return _IMP_npc._object_cast_to_ProteinContactRestraint(o)
560 _object_types.append(
"ProteinChainRestraint")
563 def _object_cast_to_ProteinChainRestraint(o):
564 """_object_cast_to_ProteinChainRestraint(Object o) -> ProteinChainRestraint"""
565 return _IMP_npc._object_cast_to_ProteinChainRestraint(o)
567 _object_types.append(
"MembraneSurfaceLocationRestraint")
570 def _object_cast_to_MembraneSurfaceLocationRestraint(o):
571 """_object_cast_to_MembraneSurfaceLocationRestraint(Object o) -> MembraneSurfaceLocationRestraint"""
572 return _IMP_npc._object_cast_to_MembraneSurfaceLocationRestraint(o)
574 _object_types.append(
"PoreSideVolumeLocationRestraint")
577 def _object_cast_to_PoreSideVolumeLocationRestraint(o):
578 """_object_cast_to_PoreSideVolumeLocationRestraint(Object o) -> PoreSideVolumeLocationRestraint"""
579 return _IMP_npc._object_cast_to_PoreSideVolumeLocationRestraint(o)
581 _object_types.append(
"PerinuclearVolumeLocationRestraint")
584 def _object_cast_to_PerinuclearVolumeLocationRestraint(o):
585 """_object_cast_to_PerinuclearVolumeLocationRestraint(Object o) -> PerinuclearVolumeLocationRestraint"""
586 return _IMP_npc._object_cast_to_PerinuclearVolumeLocationRestraint(o)
588 _object_types.append(
"AssemblySymmetryByDistanceRestraint")
591 def _object_cast_to_AssemblySymmetryByDistanceRestraint(o):
592 """_object_cast_to_AssemblySymmetryByDistanceRestraint(Object o) -> AssemblySymmetryByDistanceRestraint"""
593 return _IMP_npc._object_cast_to_AssemblySymmetryByDistanceRestraint(o)
595 _object_types.append(
"AssemblySymmetryByDihedralRestraint")
598 def _object_cast_to_AssemblySymmetryByDihedralRestraint(o):
599 """_object_cast_to_AssemblySymmetryByDihedralRestraint(Object o) -> AssemblySymmetryByDihedralRestraint"""
600 return _IMP_npc._object_cast_to_AssemblySymmetryByDihedralRestraint(o)
602 _object_types.append(
"ProteinProximityRestraint")
605 def _object_cast_to_ProteinProximityRestraint(o):
606 """_object_cast_to_ProteinProximityRestraint(Object o) -> ProteinProximityRestraint"""
607 return _IMP_npc._object_cast_to_ProteinProximityRestraint(o)
609 _object_types.append(
"CompositeRestraint")
612 def _object_cast_to_CompositeRestraint(o):
613 """_object_cast_to_CompositeRestraint(Object o) -> CompositeRestraint"""
614 return _IMP_npc._object_cast_to_CompositeRestraint(o)
616 _object_types.append(
"MinimumSphereDistancePairScore")
619 def _object_cast_to_MinimumSphereDistancePairScore(o):
620 """_object_cast_to_MinimumSphereDistancePairScore(Object o) -> MinimumSphereDistancePairScore"""
621 return _IMP_npc._object_cast_to_MinimumSphereDistancePairScore(o)
623 _object_types.append(
"MembraneExclusionRestraint")
626 def _object_cast_to_MembraneExclusionRestraint(o):
627 """_object_cast_to_MembraneExclusionRestraint(Object o) -> MembraneExclusionRestraint"""
628 return _IMP_npc._object_cast_to_MembraneExclusionRestraint(o)
630 _object_types.append(
"MembraneSurfaceLocationConditionalRestraint")
633 def _object_cast_to_MembraneSurfaceLocationConditionalRestraint(o):
634 """_object_cast_to_MembraneSurfaceLocationConditionalRestraint(Object o) -> MembraneSurfaceLocationConditionalRestraint"""
635 return _IMP_npc._object_cast_to_MembraneSurfaceLocationConditionalRestraint(o)
637 _object_types.append(
"XYRadialPositionRestraint")
640 def _object_cast_to_XYRadialPositionRestraint(o):
641 """_object_cast_to_XYRadialPositionRestraint(Object o) -> XYRadialPositionRestraint"""
642 return _IMP_npc._object_cast_to_XYRadialPositionRestraint(o)
644 _object_types.append(
"YAxialPositionLowerRestraint")
647 def _object_cast_to_YAxialPositionLowerRestraint(o):
648 """_object_cast_to_YAxialPositionLowerRestraint(Object o) -> YAxialPositionLowerRestraint"""
649 return _IMP_npc._object_cast_to_YAxialPositionLowerRestraint(o)
651 _object_types.append(
"YAxialPositionRestraint")
654 def _object_cast_to_YAxialPositionRestraint(o):
655 """_object_cast_to_YAxialPositionRestraint(Object o) -> YAxialPositionRestraint"""
656 return _IMP_npc._object_cast_to_YAxialPositionRestraint(o)
658 _object_types.append(
"YAxialPositionUpperRestraint")
661 def _object_cast_to_YAxialPositionUpperRestraint(o):
662 """_object_cast_to_YAxialPositionUpperRestraint(Object o) -> YAxialPositionUpperRestraint"""
663 return _IMP_npc._object_cast_to_YAxialPositionUpperRestraint(o)
665 _object_types.append(
"ZAxialPositionRestraint")
668 def _object_cast_to_ZAxialPositionRestraint(o):
669 """_object_cast_to_ZAxialPositionRestraint(Object o) -> ZAxialPositionRestraint"""
670 return _IMP_npc._object_cast_to_ZAxialPositionRestraint(o)
672 """Proxy of C++ IMP::npc::ZAxialPositionRestraint class"""
673 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
677 __init__(IMP::npc::ZAxialPositionRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, double upper_bound, bool consider_radius, double sigma=1) -> ZAxialPositionRestraint
678 __init__(IMP::npc::ZAxialPositionRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, double upper_bound, bool consider_radius) -> ZAxialPositionRestraint
679 __init__(IMP::npc::ZAxialPositionRestraint self, Model m, double lower_bound, double upper_bound, bool consider_radius, double sigma=1) -> ZAxialPositionRestraint
680 __init__(IMP::npc::ZAxialPositionRestraint self, Model m, double lower_bound, double upper_bound, bool consider_radius) -> ZAxialPositionRestraint
682 this = _IMP_npc.new_ZAxialPositionRestraint(*args)
684 self.this.append(this)
689 """add_particle(ZAxialPositionRestraint self, Particle p)"""
690 return _IMP_npc.ZAxialPositionRestraint_add_particle(self, p)
694 """add_particles(ZAxialPositionRestraint self, IMP::ParticlesTemp const & ps)"""
695 return _IMP_npc.ZAxialPositionRestraint_add_particles(self, ps)
698 def set_particles(self, ps):
699 """set_particles(ZAxialPositionRestraint self, IMP::ParticlesTemp const & ps)"""
700 return _IMP_npc.ZAxialPositionRestraint_set_particles(self, ps)
703 def do_get_inputs(self):
704 """do_get_inputs(ZAxialPositionRestraint self) -> IMP::ModelObjectsTemp"""
705 return _IMP_npc.ZAxialPositionRestraint_do_get_inputs(self)
708 def get_version_info(self):
709 """get_version_info(ZAxialPositionRestraint self) -> VersionInfo"""
710 return _IMP_npc.ZAxialPositionRestraint_get_version_info(self)
714 """__str__(ZAxialPositionRestraint self) -> std::string"""
715 return _IMP_npc.ZAxialPositionRestraint___str__(self)
719 """__repr__(ZAxialPositionRestraint self) -> std::string"""
720 return _IMP_npc.ZAxialPositionRestraint___repr__(self)
725 return _object_cast_to_ZAxialPositionRestraint(o)
727 ZAxialPositionRestraint_swigregister = _IMP_npc.ZAxialPositionRestraint_swigregister
728 ZAxialPositionRestraint_swigregister(ZAxialPositionRestraint)
731 """Proxy of C++ IMP::npc::ZAxialPositionLowerRestraint class"""
732 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
736 __init__(IMP::npc::ZAxialPositionLowerRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, bool consider_radius, double sigma=1) -> ZAxialPositionLowerRestraint
737 __init__(IMP::npc::ZAxialPositionLowerRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, bool consider_radius) -> ZAxialPositionLowerRestraint
738 __init__(IMP::npc::ZAxialPositionLowerRestraint self, Model m, double lower_bound, bool consider_radius, double sigma=1) -> ZAxialPositionLowerRestraint
739 __init__(IMP::npc::ZAxialPositionLowerRestraint self, Model m, double lower_bound, bool consider_radius) -> ZAxialPositionLowerRestraint
741 this = _IMP_npc.new_ZAxialPositionLowerRestraint(*args)
743 self.this.append(this)
748 """add_particle(ZAxialPositionLowerRestraint self, Particle p)"""
749 return _IMP_npc.ZAxialPositionLowerRestraint_add_particle(self, p)
753 """add_particles(ZAxialPositionLowerRestraint self, IMP::ParticlesTemp const & ps)"""
754 return _IMP_npc.ZAxialPositionLowerRestraint_add_particles(self, ps)
757 def set_particles(self, ps):
758 """set_particles(ZAxialPositionLowerRestraint self, IMP::ParticlesTemp const & ps)"""
759 return _IMP_npc.ZAxialPositionLowerRestraint_set_particles(self, ps)
762 def do_get_inputs(self):
763 """do_get_inputs(ZAxialPositionLowerRestraint self) -> IMP::ModelObjectsTemp"""
764 return _IMP_npc.ZAxialPositionLowerRestraint_do_get_inputs(self)
767 def get_version_info(self):
768 """get_version_info(ZAxialPositionLowerRestraint self) -> VersionInfo"""
769 return _IMP_npc.ZAxialPositionLowerRestraint_get_version_info(self)
773 """__str__(ZAxialPositionLowerRestraint self) -> std::string"""
774 return _IMP_npc.ZAxialPositionLowerRestraint___str__(self)
778 """__repr__(ZAxialPositionLowerRestraint self) -> std::string"""
779 return _IMP_npc.ZAxialPositionLowerRestraint___repr__(self)
784 return _object_cast_to_ZAxialPositionLowerRestraint(o)
786 ZAxialPositionLowerRestraint_swigregister = _IMP_npc.ZAxialPositionLowerRestraint_swigregister
787 ZAxialPositionLowerRestraint_swigregister(ZAxialPositionLowerRestraint)
790 """Proxy of C++ IMP::npc::ZAxialPositionUpperRestraint class"""
791 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
795 __init__(IMP::npc::ZAxialPositionUpperRestraint self, Model m, _SingletonContainerAdaptor sc, double upper_bound, bool consider_radius, double sigma=1) -> ZAxialPositionUpperRestraint
796 __init__(IMP::npc::ZAxialPositionUpperRestraint self, Model m, _SingletonContainerAdaptor sc, double upper_bound, bool consider_radius) -> ZAxialPositionUpperRestraint
797 __init__(IMP::npc::ZAxialPositionUpperRestraint self, Model m, double upper_bound, bool consider_radius, double sigma=1) -> ZAxialPositionUpperRestraint
798 __init__(IMP::npc::ZAxialPositionUpperRestraint self, Model m, double upper_bound, bool consider_radius) -> ZAxialPositionUpperRestraint
800 this = _IMP_npc.new_ZAxialPositionUpperRestraint(*args)
802 self.this.append(this)
807 """add_particle(ZAxialPositionUpperRestraint self, Particle p)"""
808 return _IMP_npc.ZAxialPositionUpperRestraint_add_particle(self, p)
812 """add_particles(ZAxialPositionUpperRestraint self, IMP::ParticlesTemp const & ps)"""
813 return _IMP_npc.ZAxialPositionUpperRestraint_add_particles(self, ps)
816 def set_particles(self, ps):
817 """set_particles(ZAxialPositionUpperRestraint self, IMP::ParticlesTemp const & ps)"""
818 return _IMP_npc.ZAxialPositionUpperRestraint_set_particles(self, ps)
821 def do_get_inputs(self):
822 """do_get_inputs(ZAxialPositionUpperRestraint self) -> IMP::ModelObjectsTemp"""
823 return _IMP_npc.ZAxialPositionUpperRestraint_do_get_inputs(self)
826 def get_version_info(self):
827 """get_version_info(ZAxialPositionUpperRestraint self) -> VersionInfo"""
828 return _IMP_npc.ZAxialPositionUpperRestraint_get_version_info(self)
832 """__str__(ZAxialPositionUpperRestraint self) -> std::string"""
833 return _IMP_npc.ZAxialPositionUpperRestraint___str__(self)
837 """__repr__(ZAxialPositionUpperRestraint self) -> std::string"""
838 return _IMP_npc.ZAxialPositionUpperRestraint___repr__(self)
843 return _object_cast_to_ZAxialPositionUpperRestraint(o)
845 ZAxialPositionUpperRestraint_swigregister = _IMP_npc.ZAxialPositionUpperRestraint_swigregister
846 ZAxialPositionUpperRestraint_swigregister(ZAxialPositionUpperRestraint)
849 """Proxy of C++ IMP::npc::YAxialPositionRestraint class"""
850 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
854 __init__(IMP::npc::YAxialPositionRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, double upper_bound, bool consider_radius, double sigma=1) -> YAxialPositionRestraint
855 __init__(IMP::npc::YAxialPositionRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, double upper_bound, bool consider_radius) -> YAxialPositionRestraint
856 __init__(IMP::npc::YAxialPositionRestraint self, Model m, double lower_bound, double upper_bound, bool consider_radius, double sigma=1) -> YAxialPositionRestraint
857 __init__(IMP::npc::YAxialPositionRestraint self, Model m, double lower_bound, double upper_bound, bool consider_radius) -> YAxialPositionRestraint
859 this = _IMP_npc.new_YAxialPositionRestraint(*args)
861 self.this.append(this)
866 """add_particle(YAxialPositionRestraint self, Particle p)"""
867 return _IMP_npc.YAxialPositionRestraint_add_particle(self, p)
871 """add_particles(YAxialPositionRestraint self, IMP::ParticlesTemp const & ps)"""
872 return _IMP_npc.YAxialPositionRestraint_add_particles(self, ps)
875 def set_particles(self, ps):
876 """set_particles(YAxialPositionRestraint self, IMP::ParticlesTemp const & ps)"""
877 return _IMP_npc.YAxialPositionRestraint_set_particles(self, ps)
880 def do_get_inputs(self):
881 """do_get_inputs(YAxialPositionRestraint self) -> IMP::ModelObjectsTemp"""
882 return _IMP_npc.YAxialPositionRestraint_do_get_inputs(self)
885 def get_version_info(self):
886 """get_version_info(YAxialPositionRestraint self) -> VersionInfo"""
887 return _IMP_npc.YAxialPositionRestraint_get_version_info(self)
891 """__str__(YAxialPositionRestraint self) -> std::string"""
892 return _IMP_npc.YAxialPositionRestraint___str__(self)
896 """__repr__(YAxialPositionRestraint self) -> std::string"""
897 return _IMP_npc.YAxialPositionRestraint___repr__(self)
902 return _object_cast_to_YAxialPositionRestraint(o)
904 YAxialPositionRestraint_swigregister = _IMP_npc.YAxialPositionRestraint_swigregister
905 YAxialPositionRestraint_swigregister(YAxialPositionRestraint)
908 """Proxy of C++ IMP::npc::YAxialPositionLowerRestraint class"""
909 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
913 __init__(IMP::npc::YAxialPositionLowerRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, bool consider_radius, double sigma=1) -> YAxialPositionLowerRestraint
914 __init__(IMP::npc::YAxialPositionLowerRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, bool consider_radius) -> YAxialPositionLowerRestraint
915 __init__(IMP::npc::YAxialPositionLowerRestraint self, Model m, double lower_bound, bool consider_radius, double sigma=1) -> YAxialPositionLowerRestraint
916 __init__(IMP::npc::YAxialPositionLowerRestraint self, Model m, double lower_bound, bool consider_radius) -> YAxialPositionLowerRestraint
918 this = _IMP_npc.new_YAxialPositionLowerRestraint(*args)
920 self.this.append(this)
925 """add_particle(YAxialPositionLowerRestraint self, Particle p)"""
926 return _IMP_npc.YAxialPositionLowerRestraint_add_particle(self, p)
930 """add_particles(YAxialPositionLowerRestraint self, IMP::ParticlesTemp const & ps)"""
931 return _IMP_npc.YAxialPositionLowerRestraint_add_particles(self, ps)
934 def set_particles(self, ps):
935 """set_particles(YAxialPositionLowerRestraint self, IMP::ParticlesTemp const & ps)"""
936 return _IMP_npc.YAxialPositionLowerRestraint_set_particles(self, ps)
939 def do_get_inputs(self):
940 """do_get_inputs(YAxialPositionLowerRestraint self) -> IMP::ModelObjectsTemp"""
941 return _IMP_npc.YAxialPositionLowerRestraint_do_get_inputs(self)
944 def get_version_info(self):
945 """get_version_info(YAxialPositionLowerRestraint self) -> VersionInfo"""
946 return _IMP_npc.YAxialPositionLowerRestraint_get_version_info(self)
950 """__str__(YAxialPositionLowerRestraint self) -> std::string"""
951 return _IMP_npc.YAxialPositionLowerRestraint___str__(self)
955 """__repr__(YAxialPositionLowerRestraint self) -> std::string"""
956 return _IMP_npc.YAxialPositionLowerRestraint___repr__(self)
961 return _object_cast_to_YAxialPositionLowerRestraint(o)
963 YAxialPositionLowerRestraint_swigregister = _IMP_npc.YAxialPositionLowerRestraint_swigregister
964 YAxialPositionLowerRestraint_swigregister(YAxialPositionLowerRestraint)
967 """Proxy of C++ IMP::npc::YAxialPositionUpperRestraint class"""
968 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
972 __init__(IMP::npc::YAxialPositionUpperRestraint self, Model m, _SingletonContainerAdaptor sc, double upper_bound, bool consider_radius, double sigma=1) -> YAxialPositionUpperRestraint
973 __init__(IMP::npc::YAxialPositionUpperRestraint self, Model m, _SingletonContainerAdaptor sc, double upper_bound, bool consider_radius) -> YAxialPositionUpperRestraint
974 __init__(IMP::npc::YAxialPositionUpperRestraint self, Model m, double upper_bound, bool consider_radius, double sigma=1) -> YAxialPositionUpperRestraint
975 __init__(IMP::npc::YAxialPositionUpperRestraint self, Model m, double upper_bound, bool consider_radius) -> YAxialPositionUpperRestraint
977 this = _IMP_npc.new_YAxialPositionUpperRestraint(*args)
979 self.this.append(this)
984 """add_particle(YAxialPositionUpperRestraint self, Particle p)"""
985 return _IMP_npc.YAxialPositionUpperRestraint_add_particle(self, p)
989 """add_particles(YAxialPositionUpperRestraint self, IMP::ParticlesTemp const & ps)"""
990 return _IMP_npc.YAxialPositionUpperRestraint_add_particles(self, ps)
993 def set_particles(self, ps):
994 """set_particles(YAxialPositionUpperRestraint self, IMP::ParticlesTemp const & ps)"""
995 return _IMP_npc.YAxialPositionUpperRestraint_set_particles(self, ps)
998 def do_get_inputs(self):
999 """do_get_inputs(YAxialPositionUpperRestraint self) -> IMP::ModelObjectsTemp"""
1000 return _IMP_npc.YAxialPositionUpperRestraint_do_get_inputs(self)
1003 def get_version_info(self):
1004 """get_version_info(YAxialPositionUpperRestraint self) -> VersionInfo"""
1005 return _IMP_npc.YAxialPositionUpperRestraint_get_version_info(self)
1009 """__str__(YAxialPositionUpperRestraint self) -> std::string"""
1010 return _IMP_npc.YAxialPositionUpperRestraint___str__(self)
1014 """__repr__(YAxialPositionUpperRestraint self) -> std::string"""
1015 return _IMP_npc.YAxialPositionUpperRestraint___repr__(self)
1020 return _object_cast_to_YAxialPositionUpperRestraint(o)
1022 YAxialPositionUpperRestraint_swigregister = _IMP_npc.YAxialPositionUpperRestraint_swigregister
1023 YAxialPositionUpperRestraint_swigregister(YAxialPositionUpperRestraint)
1026 """Proxy of C++ IMP::npc::XYRadialPositionRestraint class"""
1027 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1031 __init__(IMP::npc::XYRadialPositionRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, double upper_bound, bool consider_radius, double sigma=1) -> XYRadialPositionRestraint
1032 __init__(IMP::npc::XYRadialPositionRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, double upper_bound, bool consider_radius) -> XYRadialPositionRestraint
1033 __init__(IMP::npc::XYRadialPositionRestraint self, Model m, double lower_bound, double upper_bound, bool consider_radius, double sigma=1) -> XYRadialPositionRestraint
1034 __init__(IMP::npc::XYRadialPositionRestraint self, Model m, double lower_bound, double upper_bound, bool consider_radius) -> XYRadialPositionRestraint
1036 this = _IMP_npc.new_XYRadialPositionRestraint(*args)
1038 self.this.append(this)
1043 """add_particle(XYRadialPositionRestraint self, Particle p)"""
1044 return _IMP_npc.XYRadialPositionRestraint_add_particle(self, p)
1048 """add_particles(XYRadialPositionRestraint self, IMP::ParticlesTemp const & ps)"""
1049 return _IMP_npc.XYRadialPositionRestraint_add_particles(self, ps)
1052 def set_particles(self, ps):
1053 """set_particles(XYRadialPositionRestraint self, IMP::ParticlesTemp const & ps)"""
1054 return _IMP_npc.XYRadialPositionRestraint_set_particles(self, ps)
1057 def do_get_inputs(self):
1058 """do_get_inputs(XYRadialPositionRestraint self) -> IMP::ModelObjectsTemp"""
1059 return _IMP_npc.XYRadialPositionRestraint_do_get_inputs(self)
1062 def get_version_info(self):
1063 """get_version_info(XYRadialPositionRestraint self) -> VersionInfo"""
1064 return _IMP_npc.XYRadialPositionRestraint_get_version_info(self)
1068 """__str__(XYRadialPositionRestraint self) -> std::string"""
1069 return _IMP_npc.XYRadialPositionRestraint___str__(self)
1073 """__repr__(XYRadialPositionRestraint self) -> std::string"""
1074 return _IMP_npc.XYRadialPositionRestraint___repr__(self)
1079 return _object_cast_to_XYRadialPositionRestraint(o)
1081 XYRadialPositionRestraint_swigregister = _IMP_npc.XYRadialPositionRestraint_swigregister
1082 XYRadialPositionRestraint_swigregister(XYRadialPositionRestraint)
1085 """Proxy of C++ IMP::npc::XYRadialPositionLowerRestraint class"""
1086 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1090 __init__(IMP::npc::XYRadialPositionLowerRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, bool consider_radius, double sigma=1) -> XYRadialPositionLowerRestraint
1091 __init__(IMP::npc::XYRadialPositionLowerRestraint self, Model m, _SingletonContainerAdaptor sc, double lower_bound, bool consider_radius) -> XYRadialPositionLowerRestraint
1092 __init__(IMP::npc::XYRadialPositionLowerRestraint self, Model m, double lower_bound, bool consider_radius, double sigma=1) -> XYRadialPositionLowerRestraint
1093 __init__(IMP::npc::XYRadialPositionLowerRestraint self, Model m, double lower_bound, bool consider_radius) -> XYRadialPositionLowerRestraint
1095 this = _IMP_npc.new_XYRadialPositionLowerRestraint(*args)
1097 self.this.append(this)
1102 """add_particle(XYRadialPositionLowerRestraint self, Particle p)"""
1103 return _IMP_npc.XYRadialPositionLowerRestraint_add_particle(self, p)
1107 """add_particles(XYRadialPositionLowerRestraint self, IMP::ParticlesTemp const & ps)"""
1108 return _IMP_npc.XYRadialPositionLowerRestraint_add_particles(self, ps)
1111 def set_particles(self, ps):
1112 """set_particles(XYRadialPositionLowerRestraint self, IMP::ParticlesTemp const & ps)"""
1113 return _IMP_npc.XYRadialPositionLowerRestraint_set_particles(self, ps)
1116 def do_get_inputs(self):
1117 """do_get_inputs(XYRadialPositionLowerRestraint self) -> IMP::ModelObjectsTemp"""
1118 return _IMP_npc.XYRadialPositionLowerRestraint_do_get_inputs(self)
1121 def get_version_info(self):
1122 """get_version_info(XYRadialPositionLowerRestraint self) -> VersionInfo"""
1123 return _IMP_npc.XYRadialPositionLowerRestraint_get_version_info(self)
1127 """__str__(XYRadialPositionLowerRestraint self) -> std::string"""
1128 return _IMP_npc.XYRadialPositionLowerRestraint___str__(self)
1132 """__repr__(XYRadialPositionLowerRestraint self) -> std::string"""
1133 return _IMP_npc.XYRadialPositionLowerRestraint___repr__(self)
1138 return _object_cast_to_XYRadialPositionLowerRestraint(o)
1140 XYRadialPositionLowerRestraint_swigregister = _IMP_npc.XYRadialPositionLowerRestraint_swigregister
1141 XYRadialPositionLowerRestraint_swigregister(XYRadialPositionLowerRestraint)
1144 """Proxy of C++ IMP::npc::XYRadialPositionUpperRestraint class"""
1145 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1149 __init__(IMP::npc::XYRadialPositionUpperRestraint self, Model m, _SingletonContainerAdaptor sc, double upper_bound, bool consider_radius, double sigma=1) -> XYRadialPositionUpperRestraint
1150 __init__(IMP::npc::XYRadialPositionUpperRestraint self, Model m, _SingletonContainerAdaptor sc, double upper_bound, bool consider_radius) -> XYRadialPositionUpperRestraint
1151 __init__(IMP::npc::XYRadialPositionUpperRestraint self, Model m, double upper_bound, bool consider_radius, double sigma=1) -> XYRadialPositionUpperRestraint
1152 __init__(IMP::npc::XYRadialPositionUpperRestraint self, Model m, double upper_bound, bool consider_radius) -> XYRadialPositionUpperRestraint
1154 this = _IMP_npc.new_XYRadialPositionUpperRestraint(*args)
1156 self.this.append(this)
1161 """add_particle(XYRadialPositionUpperRestraint self, Particle p)"""
1162 return _IMP_npc.XYRadialPositionUpperRestraint_add_particle(self, p)
1166 """add_particles(XYRadialPositionUpperRestraint self, IMP::ParticlesTemp const & ps)"""
1167 return _IMP_npc.XYRadialPositionUpperRestraint_add_particles(self, ps)
1170 def set_particles(self, ps):
1171 """set_particles(XYRadialPositionUpperRestraint self, IMP::ParticlesTemp const & ps)"""
1172 return _IMP_npc.XYRadialPositionUpperRestraint_set_particles(self, ps)
1175 def do_get_inputs(self):
1176 """do_get_inputs(XYRadialPositionUpperRestraint self) -> IMP::ModelObjectsTemp"""
1177 return _IMP_npc.XYRadialPositionUpperRestraint_do_get_inputs(self)
1180 def get_version_info(self):
1181 """get_version_info(XYRadialPositionUpperRestraint self) -> VersionInfo"""
1182 return _IMP_npc.XYRadialPositionUpperRestraint_get_version_info(self)
1186 """__str__(XYRadialPositionUpperRestraint self) -> std::string"""
1187 return _IMP_npc.XYRadialPositionUpperRestraint___str__(self)
1191 """__repr__(XYRadialPositionUpperRestraint self) -> std::string"""
1192 return _IMP_npc.XYRadialPositionUpperRestraint___repr__(self)
1197 return _object_cast_to_XYRadialPositionUpperRestraint(o)
1199 XYRadialPositionUpperRestraint_swigregister = _IMP_npc.XYRadialPositionUpperRestraint_swigregister
1200 XYRadialPositionUpperRestraint_swigregister(XYRadialPositionUpperRestraint)
1203 """Proxy of C++ IMP::npc::ProteinContactRestraint class"""
1204 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1208 __init__(IMP::npc::ProteinContactRestraint self, Model m, _SingletonContainerAdaptor sc, double tolerance_factor, double sigma=0.1) -> ProteinContactRestraint
1209 __init__(IMP::npc::ProteinContactRestraint self, Model m, _SingletonContainerAdaptor sc, double tolerance_factor) -> ProteinContactRestraint
1210 __init__(IMP::npc::ProteinContactRestraint self, Model m, double tolerance_factor, double sigma=0.1) -> ProteinContactRestraint
1211 __init__(IMP::npc::ProteinContactRestraint self, Model m, double tolerance_factor) -> ProteinContactRestraint
1213 this = _IMP_npc.new_ProteinContactRestraint(*args)
1215 self.this.append(this)
1220 """add_particle(ProteinContactRestraint self, Particle p)"""
1221 return _IMP_npc.ProteinContactRestraint_add_particle(self, p)
1225 """add_particles(ProteinContactRestraint self, IMP::ParticlesTemp const & ps)"""
1226 return _IMP_npc.ProteinContactRestraint_add_particles(self, ps)
1229 def set_particles(self, ps):
1230 """set_particles(ProteinContactRestraint self, IMP::ParticlesTemp const & ps)"""
1231 return _IMP_npc.ProteinContactRestraint_set_particles(self, ps)
1234 def do_get_inputs(self):
1235 """do_get_inputs(ProteinContactRestraint self) -> IMP::ModelObjectsTemp"""
1236 return _IMP_npc.ProteinContactRestraint_do_get_inputs(self)
1239 def get_version_info(self):
1240 """get_version_info(ProteinContactRestraint self) -> VersionInfo"""
1241 return _IMP_npc.ProteinContactRestraint_get_version_info(self)
1245 """__str__(ProteinContactRestraint self) -> std::string"""
1246 return _IMP_npc.ProteinContactRestraint___str__(self)
1250 """__repr__(ProteinContactRestraint self) -> std::string"""
1251 return _IMP_npc.ProteinContactRestraint___repr__(self)
1256 return _object_cast_to_ProteinContactRestraint(o)
1258 ProteinContactRestraint_swigregister = _IMP_npc.ProteinContactRestraint_swigregister
1259 ProteinContactRestraint_swigregister(ProteinContactRestraint)
1262 """Proxy of C++ IMP::npc::ProteinChainRestraint class"""
1263 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1267 __init__(IMP::npc::ProteinChainRestraint self, Model m, _SingletonContainerAdaptor sc, double sigma=0.1) -> ProteinChainRestraint
1268 __init__(IMP::npc::ProteinChainRestraint self, Model m, _SingletonContainerAdaptor sc) -> ProteinChainRestraint
1269 __init__(IMP::npc::ProteinChainRestraint self, Model m, double sigma=0.1) -> ProteinChainRestraint
1270 __init__(IMP::npc::ProteinChainRestraint self, Model m) -> ProteinChainRestraint
1272 this = _IMP_npc.new_ProteinChainRestraint(*args)
1274 self.this.append(this)
1279 """add_particle(ProteinChainRestraint self, Particle p)"""
1280 return _IMP_npc.ProteinChainRestraint_add_particle(self, p)
1284 """add_particles(ProteinChainRestraint self, IMP::ParticlesTemp const & ps)"""
1285 return _IMP_npc.ProteinChainRestraint_add_particles(self, ps)
1288 def set_particles(self, ps):
1289 """set_particles(ProteinChainRestraint self, IMP::ParticlesTemp const & ps)"""
1290 return _IMP_npc.ProteinChainRestraint_set_particles(self, ps)
1293 def do_get_inputs(self):
1294 """do_get_inputs(ProteinChainRestraint self) -> IMP::ModelObjectsTemp"""
1295 return _IMP_npc.ProteinChainRestraint_do_get_inputs(self)
1298 def get_version_info(self):
1299 """get_version_info(ProteinChainRestraint self) -> VersionInfo"""
1300 return _IMP_npc.ProteinChainRestraint_get_version_info(self)
1304 """__str__(ProteinChainRestraint self) -> std::string"""
1305 return _IMP_npc.ProteinChainRestraint___str__(self)
1309 """__repr__(ProteinChainRestraint self) -> std::string"""
1310 return _IMP_npc.ProteinChainRestraint___repr__(self)
1315 return _object_cast_to_ProteinChainRestraint(o)
1317 ProteinChainRestraint_swigregister = _IMP_npc.ProteinChainRestraint_swigregister
1318 ProteinChainRestraint_swigregister(ProteinChainRestraint)
1321 """Proxy of C++ IMP::npc::MembraneSurfaceLocationRestraint class"""
1322 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1326 __init__(IMP::npc::MembraneSurfaceLocationRestraint self, Model m, _SingletonContainerAdaptor sc, double R, double r, double thickness, double sigma=2) -> MembraneSurfaceLocationRestraint
1327 __init__(IMP::npc::MembraneSurfaceLocationRestraint self, Model m, _SingletonContainerAdaptor sc, double R, double r, double thickness) -> MembraneSurfaceLocationRestraint
1328 __init__(IMP::npc::MembraneSurfaceLocationRestraint self, Model m, double R, double r, double thickness, double sigma=2) -> MembraneSurfaceLocationRestraint
1329 __init__(IMP::npc::MembraneSurfaceLocationRestraint self, Model m, double R, double r, double thickness) -> MembraneSurfaceLocationRestraint
1331 this = _IMP_npc.new_MembraneSurfaceLocationRestraint(*args)
1333 self.this.append(this)
1338 """add_particle(MembraneSurfaceLocationRestraint self, Particle p)"""
1339 return _IMP_npc.MembraneSurfaceLocationRestraint_add_particle(self, p)
1343 """add_particles(MembraneSurfaceLocationRestraint self, IMP::ParticlesTemp const & ps)"""
1344 return _IMP_npc.MembraneSurfaceLocationRestraint_add_particles(self, ps)
1347 def set_particles(self, ps):
1348 """set_particles(MembraneSurfaceLocationRestraint self, IMP::ParticlesTemp const & ps)"""
1349 return _IMP_npc.MembraneSurfaceLocationRestraint_set_particles(self, ps)
1352 def do_get_inputs(self):
1353 """do_get_inputs(MembraneSurfaceLocationRestraint self) -> IMP::ModelObjectsTemp"""
1354 return _IMP_npc.MembraneSurfaceLocationRestraint_do_get_inputs(self)
1357 def get_version_info(self):
1358 """get_version_info(MembraneSurfaceLocationRestraint self) -> VersionInfo"""
1359 return _IMP_npc.MembraneSurfaceLocationRestraint_get_version_info(self)
1363 """__str__(MembraneSurfaceLocationRestraint self) -> std::string"""
1364 return _IMP_npc.MembraneSurfaceLocationRestraint___str__(self)
1368 """__repr__(MembraneSurfaceLocationRestraint self) -> std::string"""
1369 return _IMP_npc.MembraneSurfaceLocationRestraint___repr__(self)
1374 return _object_cast_to_MembraneSurfaceLocationRestraint(o)
1376 MembraneSurfaceLocationRestraint_swigregister = _IMP_npc.MembraneSurfaceLocationRestraint_swigregister
1377 MembraneSurfaceLocationRestraint_swigregister(MembraneSurfaceLocationRestraint)
1379 class MembraneSurfaceLocationConditionalRestraint(
IMP.Restraint):
1380 """Proxy of C++ IMP::npc::MembraneSurfaceLocationConditionalRestraint class"""
1381 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1385 __init__(IMP::npc::MembraneSurfaceLocationConditionalRestraint self, Model m, _SingletonContainerAdaptor sc1, _SingletonContainerAdaptor sc2, double R, double r, double thickness, double sigma=2) -> MembraneSurfaceLocationConditionalRestraint
1386 __init__(IMP::npc::MembraneSurfaceLocationConditionalRestraint self, Model m, _SingletonContainerAdaptor sc1, _SingletonContainerAdaptor sc2, double R, double r, double thickness) -> MembraneSurfaceLocationConditionalRestraint
1387 __init__(IMP::npc::MembraneSurfaceLocationConditionalRestraint self, Model m, double R, double r, double thickness, double sigma=2) -> MembraneSurfaceLocationConditionalRestraint
1388 __init__(IMP::npc::MembraneSurfaceLocationConditionalRestraint self, Model m, double R, double r, double thickness) -> MembraneSurfaceLocationConditionalRestraint
1390 this = _IMP_npc.new_MembraneSurfaceLocationConditionalRestraint(*args)
1392 self.this.append(this)
1396 def add_particle1(self, p):
1397 """add_particle1(MembraneSurfaceLocationConditionalRestraint self, Particle p)"""
1398 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_add_particle1(self, p)
1401 def add_particle2(self, p):
1402 """add_particle2(MembraneSurfaceLocationConditionalRestraint self, Particle p)"""
1403 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_add_particle2(self, p)
1406 def add_particles1(self, ps):
1407 """add_particles1(MembraneSurfaceLocationConditionalRestraint self, IMP::ParticlesTemp const & ps)"""
1408 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_add_particles1(self, ps)
1411 def add_particles2(self, ps):
1412 """add_particles2(MembraneSurfaceLocationConditionalRestraint self, IMP::ParticlesTemp const & ps)"""
1413 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_add_particles2(self, ps)
1416 def set_particles1(self, ps):
1417 """set_particles1(MembraneSurfaceLocationConditionalRestraint self, IMP::ParticlesTemp const & ps)"""
1418 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_set_particles1(self, ps)
1421 def set_particles2(self, ps):
1422 """set_particles2(MembraneSurfaceLocationConditionalRestraint self, IMP::ParticlesTemp const & ps)"""
1423 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_set_particles2(self, ps)
1426 def do_get_inputs(self):
1427 """do_get_inputs(MembraneSurfaceLocationConditionalRestraint self) -> IMP::ModelObjectsTemp"""
1428 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_do_get_inputs(self)
1431 def get_version_info(self):
1432 """get_version_info(MembraneSurfaceLocationConditionalRestraint self) -> VersionInfo"""
1433 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint_get_version_info(self)
1437 """__str__(MembraneSurfaceLocationConditionalRestraint self) -> std::string"""
1438 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint___str__(self)
1442 """__repr__(MembraneSurfaceLocationConditionalRestraint self) -> std::string"""
1443 return _IMP_npc.MembraneSurfaceLocationConditionalRestraint___repr__(self)
1448 return _object_cast_to_MembraneSurfaceLocationConditionalRestraint(o)
1450 MembraneSurfaceLocationConditionalRestraint_swigregister = _IMP_npc.MembraneSurfaceLocationConditionalRestraint_swigregister
1451 MembraneSurfaceLocationConditionalRestraint_swigregister(MembraneSurfaceLocationConditionalRestraint)
1454 """Proxy of C++ IMP::npc::MembraneExclusionRestraint class"""
1455 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1459 __init__(IMP::npc::MembraneExclusionRestraint self, Model m, _SingletonContainerAdaptor sc, double R, double r, double thickness, double sigma=2) -> MembraneExclusionRestraint
1460 __init__(IMP::npc::MembraneExclusionRestraint self, Model m, _SingletonContainerAdaptor sc, double R, double r, double thickness) -> MembraneExclusionRestraint
1461 __init__(IMP::npc::MembraneExclusionRestraint self, Model m, double R, double r, double thickness, double sigma=2) -> MembraneExclusionRestraint
1462 __init__(IMP::npc::MembraneExclusionRestraint self, Model m, double R, double r, double thickness) -> MembraneExclusionRestraint
1464 this = _IMP_npc.new_MembraneExclusionRestraint(*args)
1466 self.this.append(this)
1471 """add_particle(MembraneExclusionRestraint self, Particle p)"""
1472 return _IMP_npc.MembraneExclusionRestraint_add_particle(self, p)
1476 """add_particles(MembraneExclusionRestraint self, IMP::ParticlesTemp const & ps)"""
1477 return _IMP_npc.MembraneExclusionRestraint_add_particles(self, ps)
1480 def set_particles(self, ps):
1481 """set_particles(MembraneExclusionRestraint self, IMP::ParticlesTemp const & ps)"""
1482 return _IMP_npc.MembraneExclusionRestraint_set_particles(self, ps)
1485 def do_get_inputs(self):
1486 """do_get_inputs(MembraneExclusionRestraint self) -> IMP::ModelObjectsTemp"""
1487 return _IMP_npc.MembraneExclusionRestraint_do_get_inputs(self)
1490 def get_version_info(self):
1491 """get_version_info(MembraneExclusionRestraint self) -> VersionInfo"""
1492 return _IMP_npc.MembraneExclusionRestraint_get_version_info(self)
1496 """__str__(MembraneExclusionRestraint self) -> std::string"""
1497 return _IMP_npc.MembraneExclusionRestraint___str__(self)
1501 """__repr__(MembraneExclusionRestraint self) -> std::string"""
1502 return _IMP_npc.MembraneExclusionRestraint___repr__(self)
1507 return _object_cast_to_MembraneExclusionRestraint(o)
1509 MembraneExclusionRestraint_swigregister = _IMP_npc.MembraneExclusionRestraint_swigregister
1510 MembraneExclusionRestraint_swigregister(MembraneExclusionRestraint)
1513 """Proxy of C++ IMP::npc::PoreSideVolumeLocationRestraint class"""
1514 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1518 __init__(IMP::npc::PoreSideVolumeLocationRestraint self, Model m, _SingletonContainerAdaptor sc, double R, double r, double thickness, bool consider_radius, double sigma=2) -> PoreSideVolumeLocationRestraint
1519 __init__(IMP::npc::PoreSideVolumeLocationRestraint self, Model m, _SingletonContainerAdaptor sc, double R, double r, double thickness, bool consider_radius) -> PoreSideVolumeLocationRestraint
1520 __init__(IMP::npc::PoreSideVolumeLocationRestraint self, Model m, double R, double r, double thickness, bool consider_radius, double sigma=2) -> PoreSideVolumeLocationRestraint
1521 __init__(IMP::npc::PoreSideVolumeLocationRestraint self, Model m, double R, double r, double thickness, bool consider_radius) -> PoreSideVolumeLocationRestraint
1523 this = _IMP_npc.new_PoreSideVolumeLocationRestraint(*args)
1525 self.this.append(this)
1530 """add_particle(PoreSideVolumeLocationRestraint self, Particle p)"""
1531 return _IMP_npc.PoreSideVolumeLocationRestraint_add_particle(self, p)
1535 """add_particles(PoreSideVolumeLocationRestraint self, IMP::ParticlesTemp const & ps)"""
1536 return _IMP_npc.PoreSideVolumeLocationRestraint_add_particles(self, ps)
1539 def set_particles(self, ps):
1540 """set_particles(PoreSideVolumeLocationRestraint self, IMP::ParticlesTemp const & ps)"""
1541 return _IMP_npc.PoreSideVolumeLocationRestraint_set_particles(self, ps)
1544 def do_get_inputs(self):
1545 """do_get_inputs(PoreSideVolumeLocationRestraint self) -> IMP::ModelObjectsTemp"""
1546 return _IMP_npc.PoreSideVolumeLocationRestraint_do_get_inputs(self)
1549 def get_version_info(self):
1550 """get_version_info(PoreSideVolumeLocationRestraint self) -> VersionInfo"""
1551 return _IMP_npc.PoreSideVolumeLocationRestraint_get_version_info(self)
1555 """__str__(PoreSideVolumeLocationRestraint self) -> std::string"""
1556 return _IMP_npc.PoreSideVolumeLocationRestraint___str__(self)
1560 """__repr__(PoreSideVolumeLocationRestraint self) -> std::string"""
1561 return _IMP_npc.PoreSideVolumeLocationRestraint___repr__(self)
1566 return _object_cast_to_PoreSideVolumeLocationRestraint(o)
1568 PoreSideVolumeLocationRestraint_swigregister = _IMP_npc.PoreSideVolumeLocationRestraint_swigregister
1569 PoreSideVolumeLocationRestraint_swigregister(PoreSideVolumeLocationRestraint)
1572 """Proxy of C++ IMP::npc::PerinuclearVolumeLocationRestraint class"""
1573 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1577 __init__(IMP::npc::PerinuclearVolumeLocationRestraint self, Model m, _SingletonContainerAdaptor sc, double R, double r, double thickness, bool consider_radius, double sigma=2) -> PerinuclearVolumeLocationRestraint
1578 __init__(IMP::npc::PerinuclearVolumeLocationRestraint self, Model m, _SingletonContainerAdaptor sc, double R, double r, double thickness, bool consider_radius) -> PerinuclearVolumeLocationRestraint
1579 __init__(IMP::npc::PerinuclearVolumeLocationRestraint self, Model m, double R, double r, double thickness, bool consider_radius, double sigma=2) -> PerinuclearVolumeLocationRestraint
1580 __init__(IMP::npc::PerinuclearVolumeLocationRestraint self, Model m, double R, double r, double thickness, bool consider_radius) -> PerinuclearVolumeLocationRestraint
1582 this = _IMP_npc.new_PerinuclearVolumeLocationRestraint(*args)
1584 self.this.append(this)
1589 """add_particle(PerinuclearVolumeLocationRestraint self, Particle p)"""
1590 return _IMP_npc.PerinuclearVolumeLocationRestraint_add_particle(self, p)
1594 """add_particles(PerinuclearVolumeLocationRestraint self, IMP::ParticlesTemp const & ps)"""
1595 return _IMP_npc.PerinuclearVolumeLocationRestraint_add_particles(self, ps)
1598 def set_particles(self, ps):
1599 """set_particles(PerinuclearVolumeLocationRestraint self, IMP::ParticlesTemp const & ps)"""
1600 return _IMP_npc.PerinuclearVolumeLocationRestraint_set_particles(self, ps)
1603 def do_get_inputs(self):
1604 """do_get_inputs(PerinuclearVolumeLocationRestraint self) -> IMP::ModelObjectsTemp"""
1605 return _IMP_npc.PerinuclearVolumeLocationRestraint_do_get_inputs(self)
1608 def get_version_info(self):
1609 """get_version_info(PerinuclearVolumeLocationRestraint self) -> VersionInfo"""
1610 return _IMP_npc.PerinuclearVolumeLocationRestraint_get_version_info(self)
1614 """__str__(PerinuclearVolumeLocationRestraint self) -> std::string"""
1615 return _IMP_npc.PerinuclearVolumeLocationRestraint___str__(self)
1619 """__repr__(PerinuclearVolumeLocationRestraint self) -> std::string"""
1620 return _IMP_npc.PerinuclearVolumeLocationRestraint___repr__(self)
1625 return _object_cast_to_PerinuclearVolumeLocationRestraint(o)
1627 PerinuclearVolumeLocationRestraint_swigregister = _IMP_npc.PerinuclearVolumeLocationRestraint_swigregister
1628 PerinuclearVolumeLocationRestraint_swigregister(PerinuclearVolumeLocationRestraint)
1631 """Proxy of C++ IMP::npc::AssemblySymmetryByDistanceRestraint class"""
1632 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1636 __init__(IMP::npc::AssemblySymmetryByDistanceRestraint self, Model m, _SingletonContainerAdaptor sc, double sigma=4) -> AssemblySymmetryByDistanceRestraint
1637 __init__(IMP::npc::AssemblySymmetryByDistanceRestraint self, Model m, _SingletonContainerAdaptor sc) -> AssemblySymmetryByDistanceRestraint
1638 __init__(IMP::npc::AssemblySymmetryByDistanceRestraint self, Model m, double sigma=4) -> AssemblySymmetryByDistanceRestraint
1639 __init__(IMP::npc::AssemblySymmetryByDistanceRestraint self, Model m) -> AssemblySymmetryByDistanceRestraint
1641 this = _IMP_npc.new_AssemblySymmetryByDistanceRestraint(*args)
1643 self.this.append(this)
1648 """add_particle(AssemblySymmetryByDistanceRestraint self, Particle p)"""
1649 return _IMP_npc.AssemblySymmetryByDistanceRestraint_add_particle(self, p)
1653 """add_particles(AssemblySymmetryByDistanceRestraint self, IMP::ParticlesTemp const & ps)"""
1654 return _IMP_npc.AssemblySymmetryByDistanceRestraint_add_particles(self, ps)
1657 def set_particles(self, ps):
1658 """set_particles(AssemblySymmetryByDistanceRestraint self, IMP::ParticlesTemp const & ps)"""
1659 return _IMP_npc.AssemblySymmetryByDistanceRestraint_set_particles(self, ps)
1662 def do_get_inputs(self):
1663 """do_get_inputs(AssemblySymmetryByDistanceRestraint self) -> IMP::ModelObjectsTemp"""
1664 return _IMP_npc.AssemblySymmetryByDistanceRestraint_do_get_inputs(self)
1667 def get_version_info(self):
1668 """get_version_info(AssemblySymmetryByDistanceRestraint self) -> VersionInfo"""
1669 return _IMP_npc.AssemblySymmetryByDistanceRestraint_get_version_info(self)
1673 """__str__(AssemblySymmetryByDistanceRestraint self) -> std::string"""
1674 return _IMP_npc.AssemblySymmetryByDistanceRestraint___str__(self)
1678 """__repr__(AssemblySymmetryByDistanceRestraint self) -> std::string"""
1679 return _IMP_npc.AssemblySymmetryByDistanceRestraint___repr__(self)
1684 return _object_cast_to_AssemblySymmetryByDistanceRestraint(o)
1686 AssemblySymmetryByDistanceRestraint_swigregister = _IMP_npc.AssemblySymmetryByDistanceRestraint_swigregister
1687 AssemblySymmetryByDistanceRestraint_swigregister(AssemblySymmetryByDistanceRestraint)
1690 """Proxy of C++ IMP::npc::AssemblySymmetryByDihedralRestraint class"""
1691 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1695 __init__(IMP::npc::AssemblySymmetryByDihedralRestraint self, Model m, _SingletonContainerAdaptor sc, double sigma=0.1) -> AssemblySymmetryByDihedralRestraint
1696 __init__(IMP::npc::AssemblySymmetryByDihedralRestraint self, Model m, _SingletonContainerAdaptor sc) -> AssemblySymmetryByDihedralRestraint
1697 __init__(IMP::npc::AssemblySymmetryByDihedralRestraint self, Model m, double sigma=0.1) -> AssemblySymmetryByDihedralRestraint
1698 __init__(IMP::npc::AssemblySymmetryByDihedralRestraint self, Model m) -> AssemblySymmetryByDihedralRestraint
1700 this = _IMP_npc.new_AssemblySymmetryByDihedralRestraint(*args)
1702 self.this.append(this)
1707 """add_particle(AssemblySymmetryByDihedralRestraint self, Particle p)"""
1708 return _IMP_npc.AssemblySymmetryByDihedralRestraint_add_particle(self, p)
1712 """add_particles(AssemblySymmetryByDihedralRestraint self, IMP::ParticlesTemp const & ps)"""
1713 return _IMP_npc.AssemblySymmetryByDihedralRestraint_add_particles(self, ps)
1716 def set_particles(self, ps):
1717 """set_particles(AssemblySymmetryByDihedralRestraint self, IMP::ParticlesTemp const & ps)"""
1718 return _IMP_npc.AssemblySymmetryByDihedralRestraint_set_particles(self, ps)
1721 def do_get_inputs(self):
1722 """do_get_inputs(AssemblySymmetryByDihedralRestraint self) -> IMP::ModelObjectsTemp"""
1723 return _IMP_npc.AssemblySymmetryByDihedralRestraint_do_get_inputs(self)
1726 def get_version_info(self):
1727 """get_version_info(AssemblySymmetryByDihedralRestraint self) -> VersionInfo"""
1728 return _IMP_npc.AssemblySymmetryByDihedralRestraint_get_version_info(self)
1732 """__str__(AssemblySymmetryByDihedralRestraint self) -> std::string"""
1733 return _IMP_npc.AssemblySymmetryByDihedralRestraint___str__(self)
1737 """__repr__(AssemblySymmetryByDihedralRestraint self) -> std::string"""
1738 return _IMP_npc.AssemblySymmetryByDihedralRestraint___repr__(self)
1743 return _object_cast_to_AssemblySymmetryByDihedralRestraint(o)
1745 AssemblySymmetryByDihedralRestraint_swigregister = _IMP_npc.AssemblySymmetryByDihedralRestraint_swigregister
1746 AssemblySymmetryByDihedralRestraint_swigregister(AssemblySymmetryByDihedralRestraint)
1749 """Proxy of C++ IMP::npc::ProteinProximityRestraint class"""
1750 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1754 __init__(IMP::npc::ProteinProximityRestraint self, Model m, _SingletonContainerAdaptor sc, double max_dist, double sigma=0.1) -> ProteinProximityRestraint
1755 __init__(IMP::npc::ProteinProximityRestraint self, Model m, _SingletonContainerAdaptor sc, double max_dist) -> ProteinProximityRestraint
1756 __init__(IMP::npc::ProteinProximityRestraint self, Model m, double max_dist, double sigma=0.1) -> ProteinProximityRestraint
1757 __init__(IMP::npc::ProteinProximityRestraint self, Model m, double max_dist) -> ProteinProximityRestraint
1759 this = _IMP_npc.new_ProteinProximityRestraint(*args)
1761 self.this.append(this)
1766 """add_particle(ProteinProximityRestraint self, Particle p)"""
1767 return _IMP_npc.ProteinProximityRestraint_add_particle(self, p)
1771 """add_particles(ProteinProximityRestraint self, IMP::ParticlesTemp const & ps)"""
1772 return _IMP_npc.ProteinProximityRestraint_add_particles(self, ps)
1775 def set_particles(self, ps):
1776 """set_particles(ProteinProximityRestraint self, IMP::ParticlesTemp const & ps)"""
1777 return _IMP_npc.ProteinProximityRestraint_set_particles(self, ps)
1780 def do_get_inputs(self):
1781 """do_get_inputs(ProteinProximityRestraint self) -> IMP::ModelObjectsTemp"""
1782 return _IMP_npc.ProteinProximityRestraint_do_get_inputs(self)
1785 def get_version_info(self):
1786 """get_version_info(ProteinProximityRestraint self) -> VersionInfo"""
1787 return _IMP_npc.ProteinProximityRestraint_get_version_info(self)
1791 """__str__(ProteinProximityRestraint self) -> std::string"""
1792 return _IMP_npc.ProteinProximityRestraint___str__(self)
1796 """__repr__(ProteinProximityRestraint self) -> std::string"""
1797 return _IMP_npc.ProteinProximityRestraint___repr__(self)
1802 return _object_cast_to_ProteinProximityRestraint(o)
1804 ProteinProximityRestraint_swigregister = _IMP_npc.ProteinProximityRestraint_swigregister
1805 ProteinProximityRestraint_swigregister(ProteinProximityRestraint)
1808 """Proxy of C++ IMP::npc::CompositeRestraint class"""
1809 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1812 """__init__(IMP::npc::CompositeRestraint self, Model m, PairScore ps) -> CompositeRestraint"""
1813 this = _IMP_npc.new_CompositeRestraint(m, ps)
1815 self.this.append(this)
1819 def add_type(self, ps):
1820 """add_type(CompositeRestraint self, IMP::ParticleIndexes ps)"""
1821 return _IMP_npc.CompositeRestraint_add_type(self, ps)
1824 def get_connected_pairs(self):
1825 """get_connected_pairs(CompositeRestraint self) -> IMP::ParticleIndexPairs"""
1826 return _IMP_npc.CompositeRestraint_get_connected_pairs(self)
1829 def do_get_inputs(self):
1830 """do_get_inputs(CompositeRestraint self) -> IMP::ModelObjectsTemp"""
1831 return _IMP_npc.CompositeRestraint_do_get_inputs(self)
1834 def get_version_info(self):
1835 """get_version_info(CompositeRestraint self) -> VersionInfo"""
1836 return _IMP_npc.CompositeRestraint_get_version_info(self)
1840 """__str__(CompositeRestraint self) -> std::string"""
1841 return _IMP_npc.CompositeRestraint___str__(self)
1845 """__repr__(CompositeRestraint self) -> std::string"""
1846 return _IMP_npc.CompositeRestraint___repr__(self)
1851 return _object_cast_to_CompositeRestraint(o)
1853 CompositeRestraint_swigregister = _IMP_npc.CompositeRestraint_swigregister
1854 CompositeRestraint_swigregister(CompositeRestraint)
1857 """Proxy of C++ IMP::npc::MinimumSphereDistancePairScore class"""
1858 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1861 """__init__(IMP::npc::MinimumSphereDistancePairScore self, UnaryFunction f, IMP::algebra::Transformation3Ds transforms) -> MinimumSphereDistancePairScore"""
1862 this = _IMP_npc.new_MinimumSphereDistancePairScore(f, transforms)
1864 self.this.append(this)
1868 def do_get_inputs(self, m, pis):
1869 """do_get_inputs(MinimumSphereDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
1870 return _IMP_npc.MinimumSphereDistancePairScore_do_get_inputs(self, m, pis)
1873 def get_version_info(self):
1874 """get_version_info(MinimumSphereDistancePairScore self) -> VersionInfo"""
1875 return _IMP_npc.MinimumSphereDistancePairScore_get_version_info(self)
1879 """__str__(MinimumSphereDistancePairScore self) -> std::string"""
1880 return _IMP_npc.MinimumSphereDistancePairScore___str__(self)
1884 """__repr__(MinimumSphereDistancePairScore self) -> std::string"""
1885 return _IMP_npc.MinimumSphereDistancePairScore___repr__(self)
1890 return _object_cast_to_MinimumSphereDistancePairScore(o)
1892 MinimumSphereDistancePairScore_swigregister = _IMP_npc.MinimumSphereDistancePairScore_swigregister
1893 MinimumSphereDistancePairScore_swigregister(MinimumSphereDistancePairScore)
1897 """get_module_version() -> std::string const"""
1898 return _IMP_npc.get_module_version()
1901 """get_example_path(std::string fname) -> std::string"""
1902 return _IMP_npc.get_example_path(fname)
1905 """get_data_path(std::string fname) -> std::string"""
1906 return _IMP_npc.get_data_path(fname)
1908 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.