10 from __future__
import print_function, division, absolute_import
15 from sys
import version_info
16 if version_info >= (2, 6, 0):
17 def swig_import_helper():
18 from os.path
import dirname
22 fp, pathname, description = imp.find_module(
'_IMP_pmi', [dirname(__file__)])
28 _mod = imp.load_module(
'_IMP_pmi', fp, pathname, description)
32 _IMP_pmi = swig_import_helper()
33 del swig_import_helper
38 _swig_property = property
43 def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
44 if (name ==
"thisown"):
45 return self.this.own(value)
47 if type(value).__name__ ==
'SwigPyObject':
48 self.__dict__[name] = value
50 method = class_type.__swig_setmethods__.get(name,
None)
52 return method(self, value)
54 object.__setattr__(self, name, value)
56 raise AttributeError(
"You cannot add attributes to %s" % self)
59 def _swig_setattr(self, class_type, name, value):
60 return _swig_setattr_nondynamic(self, class_type, name, value, 0)
63 def _swig_getattr_nondynamic(self, class_type, name, static=1):
64 if (name ==
"thisown"):
65 return self.this.own()
66 method = class_type.__swig_getmethods__.get(name,
None)
70 return object.__getattr__(self, name)
72 raise AttributeError(name)
74 def _swig_getattr(self, class_type, name):
75 return _swig_getattr_nondynamic(self, class_type, name, 0)
80 strthis =
"proxy of " + self.this.__repr__()
83 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
88 except AttributeError:
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
110 weakref_proxy =
lambda x: x
113 class IMP_PMI_SwigPyIterator(object):
114 """Proxy of C++ swig::IMP_PMI_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_pmi.delete_IMP_PMI_SwigPyIterator
122 __del__ =
lambda self:
None
125 """value(IMP_PMI_SwigPyIterator self) -> PyObject *"""
126 return _IMP_pmi.IMP_PMI_SwigPyIterator_value(self)
131 incr(IMP_PMI_SwigPyIterator self, size_t n=1) -> IMP_PMI_SwigPyIterator
132 incr(IMP_PMI_SwigPyIterator self) -> IMP_PMI_SwigPyIterator
134 return _IMP_pmi.IMP_PMI_SwigPyIterator_incr(self, n)
139 decr(IMP_PMI_SwigPyIterator self, size_t n=1) -> IMP_PMI_SwigPyIterator
140 decr(IMP_PMI_SwigPyIterator self) -> IMP_PMI_SwigPyIterator
142 return _IMP_pmi.IMP_PMI_SwigPyIterator_decr(self, n)
145 def distance(self, x):
146 """distance(IMP_PMI_SwigPyIterator self, IMP_PMI_SwigPyIterator x) -> ptrdiff_t"""
147 return _IMP_pmi.IMP_PMI_SwigPyIterator_distance(self, x)
151 """equal(IMP_PMI_SwigPyIterator self, IMP_PMI_SwigPyIterator x) -> bool"""
152 return _IMP_pmi.IMP_PMI_SwigPyIterator_equal(self, x)
156 """copy(IMP_PMI_SwigPyIterator self) -> IMP_PMI_SwigPyIterator"""
157 return _IMP_pmi.IMP_PMI_SwigPyIterator_copy(self)
161 """next(IMP_PMI_SwigPyIterator self) -> PyObject *"""
162 return _IMP_pmi.IMP_PMI_SwigPyIterator_next(self)
166 """__next__(IMP_PMI_SwigPyIterator self) -> PyObject *"""
167 return _IMP_pmi.IMP_PMI_SwigPyIterator___next__(self)
171 """previous(IMP_PMI_SwigPyIterator self) -> PyObject *"""
172 return _IMP_pmi.IMP_PMI_SwigPyIterator_previous(self)
175 def advance(self, n):
176 """advance(IMP_PMI_SwigPyIterator self, ptrdiff_t n) -> IMP_PMI_SwigPyIterator"""
177 return _IMP_pmi.IMP_PMI_SwigPyIterator_advance(self, n)
181 """__eq__(IMP_PMI_SwigPyIterator self, IMP_PMI_SwigPyIterator x) -> bool"""
182 return _IMP_pmi.IMP_PMI_SwigPyIterator___eq__(self, x)
186 """__ne__(IMP_PMI_SwigPyIterator self, IMP_PMI_SwigPyIterator x) -> bool"""
187 return _IMP_pmi.IMP_PMI_SwigPyIterator___ne__(self, x)
190 def __iadd__(self, n):
191 """__iadd__(IMP_PMI_SwigPyIterator self, ptrdiff_t n) -> IMP_PMI_SwigPyIterator"""
192 return _IMP_pmi.IMP_PMI_SwigPyIterator___iadd__(self, n)
195 def __isub__(self, n):
196 """__isub__(IMP_PMI_SwigPyIterator self, ptrdiff_t n) -> IMP_PMI_SwigPyIterator"""
197 return _IMP_pmi.IMP_PMI_SwigPyIterator___isub__(self, n)
200 def __add__(self, n):
201 """__add__(IMP_PMI_SwigPyIterator self, ptrdiff_t n) -> IMP_PMI_SwigPyIterator"""
202 return _IMP_pmi.IMP_PMI_SwigPyIterator___add__(self, n)
205 def __sub__(self, *args):
207 __sub__(IMP_PMI_SwigPyIterator self, ptrdiff_t n) -> IMP_PMI_SwigPyIterator
208 __sub__(IMP_PMI_SwigPyIterator self, IMP_PMI_SwigPyIterator x) -> ptrdiff_t
210 return _IMP_pmi.IMP_PMI_SwigPyIterator___sub__(self, *args)
214 IMP_PMI_SwigPyIterator_swigregister = _IMP_pmi.IMP_PMI_SwigPyIterator_swigregister
215 IMP_PMI_SwigPyIterator_swigregister(IMP_PMI_SwigPyIterator)
224 _IMP_pmi.IMP_DEBUG_swigconstant(_IMP_pmi)
225 IMP_DEBUG = _IMP_pmi.IMP_DEBUG
227 _IMP_pmi.IMP_RELEASE_swigconstant(_IMP_pmi)
228 IMP_RELEASE = _IMP_pmi.IMP_RELEASE
230 _IMP_pmi.IMP_SILENT_swigconstant(_IMP_pmi)
231 IMP_SILENT = _IMP_pmi.IMP_SILENT
233 _IMP_pmi.IMP_PROGRESS_swigconstant(_IMP_pmi)
234 IMP_PROGRESS = _IMP_pmi.IMP_PROGRESS
236 _IMP_pmi.IMP_TERSE_swigconstant(_IMP_pmi)
237 IMP_TERSE = _IMP_pmi.IMP_TERSE
239 _IMP_pmi.IMP_VERBOSE_swigconstant(_IMP_pmi)
240 IMP_VERBOSE = _IMP_pmi.IMP_VERBOSE
242 _IMP_pmi.IMP_MEMORY_swigconstant(_IMP_pmi)
243 IMP_MEMORY = _IMP_pmi.IMP_MEMORY
245 _IMP_pmi.IMP_NONE_swigconstant(_IMP_pmi)
246 IMP_NONE = _IMP_pmi.IMP_NONE
248 _IMP_pmi.IMP_USAGE_swigconstant(_IMP_pmi)
249 IMP_USAGE = _IMP_pmi.IMP_USAGE
251 _IMP_pmi.IMP_INTERNAL_swigconstant(_IMP_pmi)
252 IMP_INTERNAL = _IMP_pmi.IMP_INTERNAL
254 _IMP_pmi.IMP_KERNEL_HAS_LOG4CXX_swigconstant(_IMP_pmi)
255 IMP_KERNEL_HAS_LOG4CXX = _IMP_pmi.IMP_KERNEL_HAS_LOG4CXX
257 _IMP_pmi.IMP_COMPILER_HAS_AUTO_swigconstant(_IMP_pmi)
258 IMP_COMPILER_HAS_AUTO = _IMP_pmi.IMP_COMPILER_HAS_AUTO
260 _IMP_pmi.IMP_COMPILER_HAS_DEBUG_VECTOR_swigconstant(_IMP_pmi)
261 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_pmi.IMP_COMPILER_HAS_DEBUG_VECTOR
263 _IMP_pmi.IMP_COMPILER_HAS_UNIQUE_PTR_swigconstant(_IMP_pmi)
264 IMP_COMPILER_HAS_UNIQUE_PTR = _IMP_pmi.IMP_COMPILER_HAS_UNIQUE_PTR
266 _IMP_pmi.IMP_KERNEL_HAS_BOOST_RANDOM_swigconstant(_IMP_pmi)
267 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_pmi.IMP_KERNEL_HAS_BOOST_RANDOM
269 _IMP_pmi.IMP_KERNEL_HAS_GPERFTOOLS_swigconstant(_IMP_pmi)
270 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_pmi.IMP_KERNEL_HAS_GPERFTOOLS
272 _IMP_pmi.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER_swigconstant(_IMP_pmi)
273 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_pmi.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
275 _IMP_pmi.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER_swigconstant(_IMP_pmi)
276 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_pmi.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
278 _IMP_pmi.IMPKERNEL_SHOW_WARNINGS_swigconstant(_IMP_pmi)
279 IMPKERNEL_SHOW_WARNINGS = _IMP_pmi.IMPKERNEL_SHOW_WARNINGS
282 class _DirectorObjects(object):
283 """@internal Simple class to keep references to director objects
284 to prevent premature deletion."""
287 def register(self, obj):
288 """Take a reference to a director object; will only work for
289 refcounted C++ classes"""
290 if hasattr(obj,
'get_ref_count'):
291 self._objects.append(obj)
293 """Only drop our reference and allow cleanup by Python if no other
294 Python references exist (we hold 3 references: one in self._objects,
295 one in x, and one in the argument list for getrefcount) *and* no
296 other C++ references exist (the Python object always holds one)"""
297 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
298 or x.get_ref_count() > 1]
302 def get_object_count(self):
303 """Get number of director objects (useful for testing only)"""
304 return len(self._objects)
305 _director_objects = _DirectorObjects()
307 class _ostream(object):
308 """Proxy of C++ std::ostream class."""
310 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
312 def __init__(self, *args, **kwargs):
313 raise AttributeError(
"No constructor defined")
314 __repr__ = _swig_repr
316 def write(self, osa_buf):
317 """write(_ostream self, char const * osa_buf)"""
318 return _IMP_pmi._ostream_write(self, osa_buf)
320 _ostream_swigregister = _IMP_pmi._ostream_swigregister
321 _ostream_swigregister(_ostream)
324 _IMP_pmi.IMP_COMPILER_HAS_OVERRIDE_swigconstant(_IMP_pmi)
325 IMP_COMPILER_HAS_OVERRIDE = _IMP_pmi.IMP_COMPILER_HAS_OVERRIDE
327 _IMP_pmi.IMP_COMPILER_HAS_FINAL_swigconstant(_IMP_pmi)
328 IMP_COMPILER_HAS_FINAL = _IMP_pmi.IMP_COMPILER_HAS_FINAL
330 _IMP_pmi.IMP_HAS_NOEXCEPT_swigconstant(_IMP_pmi)
331 IMP_HAS_NOEXCEPT = _IMP_pmi.IMP_HAS_NOEXCEPT
334 _IMP_pmi.IMP_CGAL_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_pmi)
335 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_CGAL_HAS_BOOST_FILESYSTEM
337 _IMP_pmi.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_pmi)
338 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
340 _IMP_pmi.IMP_CGAL_HAS_BOOST_RANDOM_swigconstant(_IMP_pmi)
341 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_pmi.IMP_CGAL_HAS_BOOST_RANDOM
343 _IMP_pmi.IMP_CGAL_HAS_BOOST_SYSTEM_swigconstant(_IMP_pmi)
344 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_CGAL_HAS_BOOST_SYSTEM
346 _IMP_pmi.IMPCGAL_SHOW_WARNINGS_swigconstant(_IMP_pmi)
347 IMPCGAL_SHOW_WARNINGS = _IMP_pmi.IMPCGAL_SHOW_WARNINGS
350 _IMP_pmi.IMP_ALGEBRA_HAS_IMP_CGAL_swigconstant(_IMP_pmi)
351 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_pmi.IMP_ALGEBRA_HAS_IMP_CGAL
353 _IMP_pmi.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_pmi)
354 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
356 _IMP_pmi.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_pmi)
357 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
359 _IMP_pmi.IMP_ALGEBRA_HAS_BOOST_RANDOM_swigconstant(_IMP_pmi)
360 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_pmi.IMP_ALGEBRA_HAS_BOOST_RANDOM
362 _IMP_pmi.IMP_ALGEBRA_HAS_BOOST_SYSTEM_swigconstant(_IMP_pmi)
363 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_ALGEBRA_HAS_BOOST_SYSTEM
365 _IMP_pmi.IMP_ALGEBRA_HAS_CGAL_swigconstant(_IMP_pmi)
366 IMP_ALGEBRA_HAS_CGAL = _IMP_pmi.IMP_ALGEBRA_HAS_CGAL
368 _IMP_pmi.IMP_ALGEBRA_HAS_ANN_swigconstant(_IMP_pmi)
369 IMP_ALGEBRA_HAS_ANN = _IMP_pmi.IMP_ALGEBRA_HAS_ANN
371 _IMP_pmi.IMPALGEBRA_SHOW_WARNINGS_swigconstant(_IMP_pmi)
372 IMPALGEBRA_SHOW_WARNINGS = _IMP_pmi.IMPALGEBRA_SHOW_WARNINGS
375 _IMP_pmi.IMP_DISPLAY_HAS_IMP_CGAL_swigconstant(_IMP_pmi)
376 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_pmi.IMP_DISPLAY_HAS_IMP_CGAL
378 _IMP_pmi.IMP_DISPLAY_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_pmi)
379 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
381 _IMP_pmi.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_pmi)
382 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
384 _IMP_pmi.IMP_DISPLAY_HAS_BOOST_RANDOM_swigconstant(_IMP_pmi)
385 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_pmi.IMP_DISPLAY_HAS_BOOST_RANDOM
387 _IMP_pmi.IMP_DISPLAY_HAS_BOOST_SYSTEM_swigconstant(_IMP_pmi)
388 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_DISPLAY_HAS_BOOST_SYSTEM
390 _IMP_pmi.IMP_DISPLAY_HAS_CGAL_swigconstant(_IMP_pmi)
391 IMP_DISPLAY_HAS_CGAL = _IMP_pmi.IMP_DISPLAY_HAS_CGAL
393 _IMP_pmi.IMPDISPLAY_SHOW_WARNINGS_swigconstant(_IMP_pmi)
394 IMPDISPLAY_SHOW_WARNINGS = _IMP_pmi.IMPDISPLAY_SHOW_WARNINGS
397 _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL_swigconstant(_IMP_pmi)
398 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
400 _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_pmi)
401 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
403 _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_pmi)
404 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
406 _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM_swigconstant(_IMP_pmi)
407 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
409 _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM_swigconstant(_IMP_pmi)
410 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
412 _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_CGAL_swigconstant(_IMP_pmi)
413 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_CGAL
415 _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_HDF5_swigconstant(_IMP_pmi)
416 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_HDF5
418 _IMP_pmi.IMPSCOREFUNCTOR_SHOW_WARNINGS_swigconstant(_IMP_pmi)
419 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_pmi.IMPSCOREFUNCTOR_SHOW_WARNINGS
422 _IMP_pmi.IMP_STATISTICS_HAS_IMP_CGAL_swigconstant(_IMP_pmi)
423 IMP_STATISTICS_HAS_IMP_CGAL = _IMP_pmi.IMP_STATISTICS_HAS_IMP_CGAL
425 _IMP_pmi.IMP_STATISTICS_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_pmi)
426 IMP_STATISTICS_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_STATISTICS_HAS_BOOST_FILESYSTEM
428 _IMP_pmi.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_pmi)
429 IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS
431 _IMP_pmi.IMP_STATISTICS_HAS_BOOST_RANDOM_swigconstant(_IMP_pmi)
432 IMP_STATISTICS_HAS_BOOST_RANDOM = _IMP_pmi.IMP_STATISTICS_HAS_BOOST_RANDOM
434 _IMP_pmi.IMP_STATISTICS_HAS_BOOST_SYSTEM_swigconstant(_IMP_pmi)
435 IMP_STATISTICS_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_STATISTICS_HAS_BOOST_SYSTEM
437 _IMP_pmi.IMP_STATISTICS_HAS_CGAL_swigconstant(_IMP_pmi)
438 IMP_STATISTICS_HAS_CGAL = _IMP_pmi.IMP_STATISTICS_HAS_CGAL
440 _IMP_pmi.IMPSTATISTICS_SHOW_WARNINGS_swigconstant(_IMP_pmi)
441 IMPSTATISTICS_SHOW_WARNINGS = _IMP_pmi.IMPSTATISTICS_SHOW_WARNINGS
444 _IMP_pmi.IMP_CORE_HAS_IMP_CGAL_swigconstant(_IMP_pmi)
445 IMP_CORE_HAS_IMP_CGAL = _IMP_pmi.IMP_CORE_HAS_IMP_CGAL
447 _IMP_pmi.IMP_CORE_HAS_IMP_KERNEL_swigconstant(_IMP_pmi)
448 IMP_CORE_HAS_IMP_KERNEL = _IMP_pmi.IMP_CORE_HAS_IMP_KERNEL
450 _IMP_pmi.IMP_CORE_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_pmi)
451 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_CORE_HAS_BOOST_FILESYSTEM
453 _IMP_pmi.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_pmi)
454 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
456 _IMP_pmi.IMP_CORE_HAS_BOOST_RANDOM_swigconstant(_IMP_pmi)
457 IMP_CORE_HAS_BOOST_RANDOM = _IMP_pmi.IMP_CORE_HAS_BOOST_RANDOM
459 _IMP_pmi.IMP_CORE_HAS_BOOST_SYSTEM_swigconstant(_IMP_pmi)
460 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_CORE_HAS_BOOST_SYSTEM
462 _IMP_pmi.IMP_CORE_HAS_CGAL_swigconstant(_IMP_pmi)
463 IMP_CORE_HAS_CGAL = _IMP_pmi.IMP_CORE_HAS_CGAL
465 _IMP_pmi.IMP_CORE_HAS_HDF5_swigconstant(_IMP_pmi)
466 IMP_CORE_HAS_HDF5 = _IMP_pmi.IMP_CORE_HAS_HDF5
468 _IMP_pmi.IMPCORE_SHOW_WARNINGS_swigconstant(_IMP_pmi)
469 IMPCORE_SHOW_WARNINGS = _IMP_pmi.IMPCORE_SHOW_WARNINGS
472 _IMP_pmi.IMP_CONTAINER_HAS_IMP_ALGEBRA_swigconstant(_IMP_pmi)
473 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_pmi.IMP_CONTAINER_HAS_IMP_ALGEBRA
475 _IMP_pmi.IMP_CONTAINER_HAS_IMP_CGAL_swigconstant(_IMP_pmi)
476 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_pmi.IMP_CONTAINER_HAS_IMP_CGAL
478 _IMP_pmi.IMP_CONTAINER_HAS_IMP_DISPLAY_swigconstant(_IMP_pmi)
479 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_pmi.IMP_CONTAINER_HAS_IMP_DISPLAY
481 _IMP_pmi.IMP_CONTAINER_HAS_IMP_KERNEL_swigconstant(_IMP_pmi)
482 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_pmi.IMP_CONTAINER_HAS_IMP_KERNEL
484 _IMP_pmi.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_pmi)
485 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
487 _IMP_pmi.IMP_CONTAINER_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_pmi)
488 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
490 _IMP_pmi.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_pmi)
491 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
493 _IMP_pmi.IMP_CONTAINER_HAS_BOOST_RANDOM_swigconstant(_IMP_pmi)
494 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_pmi.IMP_CONTAINER_HAS_BOOST_RANDOM
496 _IMP_pmi.IMP_CONTAINER_HAS_BOOST_SYSTEM_swigconstant(_IMP_pmi)
497 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_CONTAINER_HAS_BOOST_SYSTEM
499 _IMP_pmi.IMP_CONTAINER_HAS_CGAL_swigconstant(_IMP_pmi)
500 IMP_CONTAINER_HAS_CGAL = _IMP_pmi.IMP_CONTAINER_HAS_CGAL
502 _IMP_pmi.IMP_CONTAINER_HAS_HDF5_swigconstant(_IMP_pmi)
503 IMP_CONTAINER_HAS_HDF5 = _IMP_pmi.IMP_CONTAINER_HAS_HDF5
505 _IMP_pmi.IMPCONTAINER_SHOW_WARNINGS_swigconstant(_IMP_pmi)
506 IMPCONTAINER_SHOW_WARNINGS = _IMP_pmi.IMPCONTAINER_SHOW_WARNINGS
509 _IMP_pmi.IMP_ATOM_HAS_IMP_CGAL_swigconstant(_IMP_pmi)
510 IMP_ATOM_HAS_IMP_CGAL = _IMP_pmi.IMP_ATOM_HAS_IMP_CGAL
512 _IMP_pmi.IMP_ATOM_HAS_IMP_KERNEL_swigconstant(_IMP_pmi)
513 IMP_ATOM_HAS_IMP_KERNEL = _IMP_pmi.IMP_ATOM_HAS_IMP_KERNEL
515 _IMP_pmi.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_pmi)
516 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
518 _IMP_pmi.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_pmi)
519 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
521 _IMP_pmi.IMP_ATOM_HAS_BOOST_RANDOM_swigconstant(_IMP_pmi)
522 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_pmi.IMP_ATOM_HAS_BOOST_RANDOM
524 _IMP_pmi.IMP_ATOM_HAS_BOOST_REGEX_swigconstant(_IMP_pmi)
525 IMP_ATOM_HAS_BOOST_REGEX = _IMP_pmi.IMP_ATOM_HAS_BOOST_REGEX
527 _IMP_pmi.IMP_ATOM_HAS_BOOST_SYSTEM_swigconstant(_IMP_pmi)
528 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_ATOM_HAS_BOOST_SYSTEM
530 _IMP_pmi.IMP_ATOM_HAS_CGAL_swigconstant(_IMP_pmi)
531 IMP_ATOM_HAS_CGAL = _IMP_pmi.IMP_ATOM_HAS_CGAL
533 _IMP_pmi.IMP_ATOM_HAS_HDF5_swigconstant(_IMP_pmi)
534 IMP_ATOM_HAS_HDF5 = _IMP_pmi.IMP_ATOM_HAS_HDF5
536 _IMP_pmi.IMPATOM_SHOW_WARNINGS_swigconstant(_IMP_pmi)
537 IMPATOM_SHOW_WARNINGS = _IMP_pmi.IMPATOM_SHOW_WARNINGS
539 _IMP_pmi.IMP_ATOM_TYPE_INDEX_swigconstant(_IMP_pmi)
540 IMP_ATOM_TYPE_INDEX = _IMP_pmi.IMP_ATOM_TYPE_INDEX
542 _IMP_pmi.IMP_RESIDUE_TYPE_INDEX_swigconstant(_IMP_pmi)
543 IMP_RESIDUE_TYPE_INDEX = _IMP_pmi.IMP_RESIDUE_TYPE_INDEX
545 _IMP_pmi.IMP_HIERARCHY_TYPE_INDEX_swigconstant(_IMP_pmi)
546 IMP_HIERARCHY_TYPE_INDEX = _IMP_pmi.IMP_HIERARCHY_TYPE_INDEX
549 _IMP_pmi.IMP_EM_HAS_IMP_CGAL_swigconstant(_IMP_pmi)
550 IMP_EM_HAS_IMP_CGAL = _IMP_pmi.IMP_EM_HAS_IMP_CGAL
552 _IMP_pmi.IMP_EM_HAS_IMP_CONTAINER_swigconstant(_IMP_pmi)
553 IMP_EM_HAS_IMP_CONTAINER = _IMP_pmi.IMP_EM_HAS_IMP_CONTAINER
555 _IMP_pmi.IMP_EM_HAS_IMP_DISPLAY_swigconstant(_IMP_pmi)
556 IMP_EM_HAS_IMP_DISPLAY = _IMP_pmi.IMP_EM_HAS_IMP_DISPLAY
558 _IMP_pmi.IMP_EM_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_pmi)
559 IMP_EM_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi.IMP_EM_HAS_IMP_SCORE_FUNCTOR
561 _IMP_pmi.IMP_EM_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_pmi)
562 IMP_EM_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_EM_HAS_BOOST_FILESYSTEM
564 _IMP_pmi.IMP_EM_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_pmi)
565 IMP_EM_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_EM_HAS_BOOST_PROGRAMOPTIONS
567 _IMP_pmi.IMP_EM_HAS_BOOST_RANDOM_swigconstant(_IMP_pmi)
568 IMP_EM_HAS_BOOST_RANDOM = _IMP_pmi.IMP_EM_HAS_BOOST_RANDOM
570 _IMP_pmi.IMP_EM_HAS_BOOST_REGEX_swigconstant(_IMP_pmi)
571 IMP_EM_HAS_BOOST_REGEX = _IMP_pmi.IMP_EM_HAS_BOOST_REGEX
573 _IMP_pmi.IMP_EM_HAS_BOOST_SYSTEM_swigconstant(_IMP_pmi)
574 IMP_EM_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_EM_HAS_BOOST_SYSTEM
576 _IMP_pmi.IMP_EM_HAS_CGAL_swigconstant(_IMP_pmi)
577 IMP_EM_HAS_CGAL = _IMP_pmi.IMP_EM_HAS_CGAL
579 _IMP_pmi.IMP_EM_HAS_HDF5_swigconstant(_IMP_pmi)
580 IMP_EM_HAS_HDF5 = _IMP_pmi.IMP_EM_HAS_HDF5
582 _IMP_pmi.IMPEM_SHOW_WARNINGS_swigconstant(_IMP_pmi)
583 IMPEM_SHOW_WARNINGS = _IMP_pmi.IMPEM_SHOW_WARNINGS
586 _IMP_pmi.IMP_SAXS_HAS_IMP_CGAL_swigconstant(_IMP_pmi)
587 IMP_SAXS_HAS_IMP_CGAL = _IMP_pmi.IMP_SAXS_HAS_IMP_CGAL
589 _IMP_pmi.IMP_SAXS_HAS_IMP_CONTAINER_swigconstant(_IMP_pmi)
590 IMP_SAXS_HAS_IMP_CONTAINER = _IMP_pmi.IMP_SAXS_HAS_IMP_CONTAINER
592 _IMP_pmi.IMP_SAXS_HAS_IMP_DISPLAY_swigconstant(_IMP_pmi)
593 IMP_SAXS_HAS_IMP_DISPLAY = _IMP_pmi.IMP_SAXS_HAS_IMP_DISPLAY
595 _IMP_pmi.IMP_SAXS_HAS_IMP_KERNEL_swigconstant(_IMP_pmi)
596 IMP_SAXS_HAS_IMP_KERNEL = _IMP_pmi.IMP_SAXS_HAS_IMP_KERNEL
598 _IMP_pmi.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_pmi)
599 IMP_SAXS_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR
601 _IMP_pmi.IMP_SAXS_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_pmi)
602 IMP_SAXS_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_SAXS_HAS_BOOST_FILESYSTEM
604 _IMP_pmi.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_pmi)
605 IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS
607 _IMP_pmi.IMP_SAXS_HAS_BOOST_RANDOM_swigconstant(_IMP_pmi)
608 IMP_SAXS_HAS_BOOST_RANDOM = _IMP_pmi.IMP_SAXS_HAS_BOOST_RANDOM
610 _IMP_pmi.IMP_SAXS_HAS_BOOST_REGEX_swigconstant(_IMP_pmi)
611 IMP_SAXS_HAS_BOOST_REGEX = _IMP_pmi.IMP_SAXS_HAS_BOOST_REGEX
613 _IMP_pmi.IMP_SAXS_HAS_BOOST_SYSTEM_swigconstant(_IMP_pmi)
614 IMP_SAXS_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_SAXS_HAS_BOOST_SYSTEM
616 _IMP_pmi.IMP_SAXS_HAS_CGAL_swigconstant(_IMP_pmi)
617 IMP_SAXS_HAS_CGAL = _IMP_pmi.IMP_SAXS_HAS_CGAL
619 _IMP_pmi.IMP_SAXS_HAS_HDF5_swigconstant(_IMP_pmi)
620 IMP_SAXS_HAS_HDF5 = _IMP_pmi.IMP_SAXS_HAS_HDF5
622 _IMP_pmi.IMPSAXS_SHOW_WARNINGS_swigconstant(_IMP_pmi)
623 IMPSAXS_SHOW_WARNINGS = _IMP_pmi.IMPSAXS_SHOW_WARNINGS
626 _IMP_pmi.IMP_ISD_HAS_IMP_CGAL_swigconstant(_IMP_pmi)
627 IMP_ISD_HAS_IMP_CGAL = _IMP_pmi.IMP_ISD_HAS_IMP_CGAL
629 _IMP_pmi.IMP_ISD_HAS_IMP_DISPLAY_swigconstant(_IMP_pmi)
630 IMP_ISD_HAS_IMP_DISPLAY = _IMP_pmi.IMP_ISD_HAS_IMP_DISPLAY
632 _IMP_pmi.IMP_ISD_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_pmi)
633 IMP_ISD_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi.IMP_ISD_HAS_IMP_SCORE_FUNCTOR
635 _IMP_pmi.IMP_ISD_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_pmi)
636 IMP_ISD_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_ISD_HAS_BOOST_FILESYSTEM
638 _IMP_pmi.IMP_ISD_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_pmi)
639 IMP_ISD_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_ISD_HAS_BOOST_PROGRAMOPTIONS
641 _IMP_pmi.IMP_ISD_HAS_BOOST_RANDOM_swigconstant(_IMP_pmi)
642 IMP_ISD_HAS_BOOST_RANDOM = _IMP_pmi.IMP_ISD_HAS_BOOST_RANDOM
644 _IMP_pmi.IMP_ISD_HAS_BOOST_REGEX_swigconstant(_IMP_pmi)
645 IMP_ISD_HAS_BOOST_REGEX = _IMP_pmi.IMP_ISD_HAS_BOOST_REGEX
647 _IMP_pmi.IMP_ISD_HAS_BOOST_SYSTEM_swigconstant(_IMP_pmi)
648 IMP_ISD_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_ISD_HAS_BOOST_SYSTEM
650 _IMP_pmi.IMP_ISD_HAS_CGAL_swigconstant(_IMP_pmi)
651 IMP_ISD_HAS_CGAL = _IMP_pmi.IMP_ISD_HAS_CGAL
653 _IMP_pmi.IMP_ISD_HAS_HDF5_swigconstant(_IMP_pmi)
654 IMP_ISD_HAS_HDF5 = _IMP_pmi.IMP_ISD_HAS_HDF5
656 _IMP_pmi.IMPISD_SHOW_WARNINGS_swigconstant(_IMP_pmi)
657 IMPISD_SHOW_WARNINGS = _IMP_pmi.IMPISD_SHOW_WARNINGS
660 _IMP_pmi.IMP_PMI_HAS_IMP_ALGEBRA_swigconstant(_IMP_pmi)
661 IMP_PMI_HAS_IMP_ALGEBRA = _IMP_pmi.IMP_PMI_HAS_IMP_ALGEBRA
663 _IMP_pmi.IMP_PMI_HAS_IMP_ATOM_swigconstant(_IMP_pmi)
664 IMP_PMI_HAS_IMP_ATOM = _IMP_pmi.IMP_PMI_HAS_IMP_ATOM
666 _IMP_pmi.IMP_PMI_HAS_IMP_CGAL_swigconstant(_IMP_pmi)
667 IMP_PMI_HAS_IMP_CGAL = _IMP_pmi.IMP_PMI_HAS_IMP_CGAL
669 _IMP_pmi.IMP_PMI_HAS_IMP_DISPLAY_swigconstant(_IMP_pmi)
670 IMP_PMI_HAS_IMP_DISPLAY = _IMP_pmi.IMP_PMI_HAS_IMP_DISPLAY
672 _IMP_pmi.IMP_PMI_HAS_IMP_EM_swigconstant(_IMP_pmi)
673 IMP_PMI_HAS_IMP_EM = _IMP_pmi.IMP_PMI_HAS_IMP_EM
675 _IMP_pmi.IMP_PMI_HAS_IMP_KERNEL_swigconstant(_IMP_pmi)
676 IMP_PMI_HAS_IMP_KERNEL = _IMP_pmi.IMP_PMI_HAS_IMP_KERNEL
678 _IMP_pmi.IMP_PMI_HAS_IMP_SAXS_swigconstant(_IMP_pmi)
679 IMP_PMI_HAS_IMP_SAXS = _IMP_pmi.IMP_PMI_HAS_IMP_SAXS
681 _IMP_pmi.IMP_PMI_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_pmi)
682 IMP_PMI_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi.IMP_PMI_HAS_IMP_SCORE_FUNCTOR
684 _IMP_pmi.IMP_PMI_HAS_IMP_STATISTICS_swigconstant(_IMP_pmi)
685 IMP_PMI_HAS_IMP_STATISTICS = _IMP_pmi.IMP_PMI_HAS_IMP_STATISTICS
687 _IMP_pmi.IMP_PMI_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_pmi)
688 IMP_PMI_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_PMI_HAS_BOOST_FILESYSTEM
690 _IMP_pmi.IMP_PMI_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_pmi)
691 IMP_PMI_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_PMI_HAS_BOOST_PROGRAMOPTIONS
693 _IMP_pmi.IMP_PMI_HAS_BOOST_RANDOM_swigconstant(_IMP_pmi)
694 IMP_PMI_HAS_BOOST_RANDOM = _IMP_pmi.IMP_PMI_HAS_BOOST_RANDOM
696 _IMP_pmi.IMP_PMI_HAS_BOOST_REGEX_swigconstant(_IMP_pmi)
697 IMP_PMI_HAS_BOOST_REGEX = _IMP_pmi.IMP_PMI_HAS_BOOST_REGEX
699 _IMP_pmi.IMP_PMI_HAS_BOOST_SYSTEM_swigconstant(_IMP_pmi)
700 IMP_PMI_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_PMI_HAS_BOOST_SYSTEM
702 _IMP_pmi.IMP_PMI_HAS_CGAL_swigconstant(_IMP_pmi)
703 IMP_PMI_HAS_CGAL = _IMP_pmi.IMP_PMI_HAS_CGAL
705 _IMP_pmi.IMP_PMI_HAS_HDF5_swigconstant(_IMP_pmi)
706 IMP_PMI_HAS_HDF5 = _IMP_pmi.IMP_PMI_HAS_HDF5
708 _IMP_pmi.IMPPMI_SHOW_WARNINGS_swigconstant(_IMP_pmi)
709 IMPPMI_SHOW_WARNINGS = _IMP_pmi.IMPPMI_SHOW_WARNINGS
711 _object_types.append(
"MembraneRestraint")
714 def _object_cast_to_MembraneRestraint(o):
715 """_object_cast_to_MembraneRestraint(Object o) -> MembraneRestraint"""
716 return _IMP_pmi._object_cast_to_MembraneRestraint(o)
718 _object_types.append(
"CompositeRestraint")
721 def _object_cast_to_CompositeRestraint(o):
722 """_object_cast_to_CompositeRestraint(Object o) -> CompositeRestraint"""
723 return _IMP_pmi._object_cast_to_CompositeRestraint(o)
725 def Uncertainties(l=[]):
726 return [Uncertainty(x)
for x
in l]
727 _plural_types.append(
"Uncertainties")
730 _value_types.append(
"Uncertainty")
733 def Resolutions(l=[]):
734 return [Resolution(x)
for x
in l]
735 _plural_types.append(
"Resolutions")
738 _value_types.append(
"Resolution")
741 def Symmetrics(l=[]):
742 return [Symmetric(x)
for x
in l]
743 _plural_types.append(
"Symmetrics")
746 _value_types.append(
"Symmetric")
749 _object_types.append(
"SigmoidRestraintSphere")
752 def _object_cast_to_SigmoidRestraintSphere(o):
753 """_object_cast_to_SigmoidRestraintSphere(Object o) -> SigmoidRestraintSphere"""
754 return _IMP_pmi._object_cast_to_SigmoidRestraintSphere(o)
756 _object_types.append(
"TransformMover")
759 def _object_cast_to_TransformMover(o):
760 """_object_cast_to_TransformMover(Object o) -> TransformMover"""
761 return _IMP_pmi._object_cast_to_TransformMover(o)
763 """Proxy of C++ IMP::pmi::MembraneRestraint class."""
765 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
767 def __init__(self, m, z_nuisance, thickness, softness, plateau, linear):
768 """__init__(IMP::pmi::MembraneRestraint self, Model m, ParticleIndex z_nuisance, double thickness, double softness, double plateau, double linear) -> MembraneRestraint"""
769 this = _IMP_pmi.new_MembraneRestraint(m, z_nuisance, thickness, softness, plateau, linear)
771 self.this.append(this)
775 def add_particles_below(self, particles):
776 """add_particles_below(MembraneRestraint self, IMP::ParticleIndexes const & particles)"""
777 return _IMP_pmi.MembraneRestraint_add_particles_below(self, particles)
780 def add_particles_above(self, particles):
781 """add_particles_above(MembraneRestraint self, IMP::ParticleIndexes const & particles)"""
782 return _IMP_pmi.MembraneRestraint_add_particles_above(self, particles)
785 def add_particles_inside(self, particles):
786 """add_particles_inside(MembraneRestraint self, IMP::ParticleIndexes const & particles)"""
787 return _IMP_pmi.MembraneRestraint_add_particles_inside(self, particles)
790 def get_score(self, prob):
791 """get_score(MembraneRestraint self, double prob) -> double"""
792 return _IMP_pmi.MembraneRestraint_get_score(self, prob)
795 def get_probability_above(self, z, z_slope_center_upper):
796 """get_probability_above(MembraneRestraint self, double z, double z_slope_center_upper) -> double"""
797 return _IMP_pmi.MembraneRestraint_get_probability_above(self, z, z_slope_center_upper)
800 def get_score_above(self, z, z_slope_center_upper):
801 """get_score_above(MembraneRestraint self, double z, double z_slope_center_upper) -> double"""
802 return _IMP_pmi.MembraneRestraint_get_score_above(self, z, z_slope_center_upper)
805 def get_probability_below(self, z, z_slope_center_lower):
806 """get_probability_below(MembraneRestraint self, double z, double z_slope_center_lower) -> double"""
807 return _IMP_pmi.MembraneRestraint_get_probability_below(self, z, z_slope_center_lower)
810 def get_score_below(self, z, z_slope_center_lower):
811 """get_score_below(MembraneRestraint self, double z, double z_slope_center_lower) -> double"""
812 return _IMP_pmi.MembraneRestraint_get_score_below(self, z, z_slope_center_lower)
815 def get_score_inside(self, z, z_slope_center_lower, z_slope_center_upper):
816 """get_score_inside(MembraneRestraint self, double z, double z_slope_center_lower, double z_slope_center_upper) -> double"""
817 return _IMP_pmi.MembraneRestraint_get_score_inside(self, z, z_slope_center_lower, z_slope_center_upper)
821 """__str__(MembraneRestraint self) -> std::string"""
822 return _IMP_pmi.MembraneRestraint___str__(self)
826 """__repr__(MembraneRestraint self) -> std::string"""
827 return _IMP_pmi.MembraneRestraint___repr__(self)
832 return _object_cast_to_MembraneRestraint(o)
834 MembraneRestraint_swigregister = _IMP_pmi.MembraneRestraint_swigregister
835 MembraneRestraint_swigregister(MembraneRestraint)
838 """Proxy of C++ IMP::pmi::CompositeRestraint class."""
840 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
844 __init__(IMP::pmi::CompositeRestraint self, Model m, _ParticleIndexesAdaptor handle_particle_indexes, double coffd, double l, bool tabprob, double plateau, std::string name) -> CompositeRestraint
845 __init__(IMP::pmi::CompositeRestraint self, Model m, _ParticleIndexesAdaptor handle_particle_indexes, double coffd, double l, bool tabprob, double plateau) -> CompositeRestraint
847 this = _IMP_pmi.new_CompositeRestraint(*args)
849 self.this.append(this)
853 def add_composite_particle(self, pi):
854 """add_composite_particle(CompositeRestraint self, _ParticleIndexesAdaptor pi)"""
855 return _IMP_pmi.CompositeRestraint_add_composite_particle(self, pi)
858 def get_number_of_elements(self):
859 """get_number_of_elements(CompositeRestraint self) -> unsigned int"""
860 return _IMP_pmi.CompositeRestraint_get_number_of_elements(self)
863 def do_get_inputs(self):
864 """do_get_inputs(CompositeRestraint self) -> IMP::ModelObjectsTemp"""
865 return _IMP_pmi.CompositeRestraint_do_get_inputs(self)
868 def get_version_info(self):
869 """get_version_info(CompositeRestraint self) -> VersionInfo"""
870 return _IMP_pmi.CompositeRestraint_get_version_info(self)
873 def get_probability(self):
874 """get_probability(CompositeRestraint self) -> double"""
875 return _IMP_pmi.CompositeRestraint_get_probability(self)
879 """__str__(CompositeRestraint self) -> std::string"""
880 return _IMP_pmi.CompositeRestraint___str__(self)
884 """__repr__(CompositeRestraint self) -> std::string"""
885 return _IMP_pmi.CompositeRestraint___repr__(self)
890 return _object_cast_to_CompositeRestraint(o)
892 CompositeRestraint_swigregister = _IMP_pmi.CompositeRestraint_swigregister
893 CompositeRestraint_swigregister(CompositeRestraint)
896 """Proxy of C++ IMP::pmi::Uncertainty class."""
898 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
900 def get_uncertainty(self):
901 """get_uncertainty(Uncertainty self) -> IMP::Float"""
902 return _IMP_pmi.Uncertainty_get_uncertainty(self)
905 def set_uncertainty(self, d):
906 """set_uncertainty(Uncertainty self, IMP::Float d)"""
907 return _IMP_pmi.Uncertainty_set_uncertainty(self, d)
912 __init__(IMP::pmi::Uncertainty self) -> Uncertainty
913 __init__(IMP::pmi::Uncertainty self, Model m, ParticleIndex id) -> Uncertainty
914 __init__(IMP::pmi::Uncertainty self, _ParticleAdaptor d) -> Uncertainty
916 this = _IMP_pmi.new_Uncertainty(*args)
918 self.this.append(this)
922 def get_is_setup(*args):
924 get_is_setup(Model m, ParticleIndex pi) -> bool
925 get_is_setup(_ParticleAdaptor p) -> bool
927 return _IMP_pmi.Uncertainty_get_is_setup(*args)
929 get_is_setup = staticmethod(get_is_setup)
931 def show(self, *args):
933 show(Uncertainty self, _ostream out)
934 show(Uncertainty self)
936 return _IMP_pmi.Uncertainty_show(self, *args)
939 def setup_particle(*args):
941 setup_particle(Model m, ParticleIndex pi, IMP::Float uncertainty) -> Uncertainty
942 setup_particle(_ParticleAdaptor decorator, IMP::Float uncertainty) -> Uncertainty
944 return _IMP_pmi.Uncertainty_setup_particle(*args)
946 setup_particle = staticmethod(setup_particle)
948 def get_uncertainty_key():
949 """get_uncertainty_key() -> FloatKey"""
950 return _IMP_pmi.Uncertainty_get_uncertainty_key()
952 get_uncertainty_key = staticmethod(get_uncertainty_key)
954 def add_attribute(self, *args):
956 add_attribute(Uncertainty self, FloatKey k, IMP::Float v, bool opt)
957 add_attribute(Uncertainty self, FloatKey a0, IMP::Float a1)
958 add_attribute(Uncertainty self, IntKey a0, IMP::Int a1)
959 add_attribute(Uncertainty self, StringKey a0, IMP::String a1)
960 add_attribute(Uncertainty self, ParticleIndexKey a0, Particle a1)
961 add_attribute(Uncertainty self, ObjectKey a0, Object a1)
963 return _IMP_pmi.Uncertainty_add_attribute(self, *args)
966 def get_value(self, *args):
968 get_value(Uncertainty self, FloatKey a0) -> IMP::Float
969 get_value(Uncertainty self, IntKey a0) -> IMP::Int
970 get_value(Uncertainty self, StringKey a0) -> IMP::String
971 get_value(Uncertainty self, ParticleIndexKey a0) -> Particle
972 get_value(Uncertainty self, ObjectKey a0) -> Object
974 return _IMP_pmi.Uncertainty_get_value(self, *args)
977 def set_value(self, *args):
979 set_value(Uncertainty self, FloatKey a0, IMP::Float a1)
980 set_value(Uncertainty self, IntKey a0, IMP::Int a1)
981 set_value(Uncertainty self, StringKey a0, IMP::String a1)
982 set_value(Uncertainty self, ParticleIndexKey a0, Particle a1)
983 set_value(Uncertainty self, ObjectKey a0, Object a1)
985 return _IMP_pmi.Uncertainty_set_value(self, *args)
988 def remove_attribute(self, *args):
990 remove_attribute(Uncertainty self, FloatKey a0)
991 remove_attribute(Uncertainty self, IntKey a0)
992 remove_attribute(Uncertainty self, StringKey a0)
993 remove_attribute(Uncertainty self, ParticleIndexKey a0)
994 remove_attribute(Uncertainty self, ObjectKey a0)
996 return _IMP_pmi.Uncertainty_remove_attribute(self, *args)
999 def has_attribute(self, *args):
1001 has_attribute(Uncertainty self, FloatKey a0) -> bool
1002 has_attribute(Uncertainty self, IntKey a0) -> bool
1003 has_attribute(Uncertainty self, StringKey a0) -> bool
1004 has_attribute(Uncertainty self, ParticleIndexKey a0) -> bool
1005 has_attribute(Uncertainty self, ObjectKey a0) -> bool
1007 return _IMP_pmi.Uncertainty_has_attribute(self, *args)
1010 def get_derivative(self, a0):
1011 """get_derivative(Uncertainty self, FloatKey a0) -> double"""
1012 return _IMP_pmi.Uncertainty_get_derivative(self, a0)
1016 """get_name(Uncertainty self) -> std::string"""
1017 return _IMP_pmi.Uncertainty_get_name(self)
1020 def clear_caches(self):
1021 """clear_caches(Uncertainty self)"""
1022 return _IMP_pmi.Uncertainty_clear_caches(self)
1025 def set_name(self, a0):
1026 """set_name(Uncertainty self, std::string a0)"""
1027 return _IMP_pmi.Uncertainty_set_name(self, a0)
1031 """set_check_level(Uncertainty self, IMP::CheckLevel a0)"""
1032 return _IMP_pmi.Uncertainty_set_check_level(self, a0)
1035 def add_to_derivative(self, a0, a1, a2):
1036 """add_to_derivative(Uncertainty self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1037 return _IMP_pmi.Uncertainty_add_to_derivative(self, a0, a1, a2)
1040 def set_is_optimized(self, a0, a1):
1041 """set_is_optimized(Uncertainty self, FloatKey a0, bool a1)"""
1042 return _IMP_pmi.Uncertainty_set_is_optimized(self, a0, a1)
1045 def get_is_optimized(self, a0):
1046 """get_is_optimized(Uncertainty self, FloatKey a0) -> bool"""
1047 return _IMP_pmi.Uncertainty_get_is_optimized(self, a0)
1051 """get_check_level(Uncertainty self) -> IMP::CheckLevel"""
1052 return _IMP_pmi.Uncertainty_get_check_level(self)
1055 def __eq__(self, *args):
1057 __eq__(Uncertainty self, Uncertainty o) -> bool
1058 __eq__(Uncertainty self, Particle d) -> bool
1060 return _IMP_pmi.Uncertainty___eq__(self, *args)
1063 def __ne__(self, *args):
1065 __ne__(Uncertainty self, Uncertainty o) -> bool
1066 __ne__(Uncertainty self, Particle d) -> bool
1068 return _IMP_pmi.Uncertainty___ne__(self, *args)
1071 def __le__(self, *args):
1073 __le__(Uncertainty self, Uncertainty o) -> bool
1074 __le__(Uncertainty self, Particle d) -> bool
1076 return _IMP_pmi.Uncertainty___le__(self, *args)
1079 def __lt__(self, *args):
1081 __lt__(Uncertainty self, Uncertainty o) -> bool
1082 __lt__(Uncertainty self, Particle d) -> bool
1084 return _IMP_pmi.Uncertainty___lt__(self, *args)
1087 def __ge__(self, *args):
1089 __ge__(Uncertainty self, Uncertainty o) -> bool
1090 __ge__(Uncertainty self, Particle d) -> bool
1092 return _IMP_pmi.Uncertainty___ge__(self, *args)
1095 def __gt__(self, *args):
1097 __gt__(Uncertainty self, Uncertainty o) -> bool
1098 __gt__(Uncertainty self, Particle d) -> bool
1100 return _IMP_pmi.Uncertainty___gt__(self, *args)
1104 """__hash__(Uncertainty self) -> std::size_t"""
1105 return _IMP_pmi.Uncertainty___hash__(self)
1109 """__str__(Uncertainty self) -> std::string"""
1110 return _IMP_pmi.Uncertainty___str__(self)
1114 """__repr__(Uncertainty self) -> std::string"""
1115 return _IMP_pmi.Uncertainty___repr__(self)
1117 __swig_destroy__ = _IMP_pmi.delete_Uncertainty
1118 __del__ =
lambda self:
None
1119 Uncertainty_swigregister = _IMP_pmi.Uncertainty_swigregister
1120 Uncertainty_swigregister(Uncertainty)
1122 def Uncertainty_get_is_setup(*args):
1124 get_is_setup(Model m, ParticleIndex pi) -> bool
1125 Uncertainty_get_is_setup(_ParticleAdaptor p) -> bool
1127 return _IMP_pmi.Uncertainty_get_is_setup(*args)
1129 def Uncertainty_setup_particle(*args):
1131 setup_particle(Model m, ParticleIndex pi, IMP::Float uncertainty) -> Uncertainty
1132 Uncertainty_setup_particle(_ParticleAdaptor decorator, IMP::Float uncertainty) -> Uncertainty
1134 return _IMP_pmi.Uncertainty_setup_particle(*args)
1136 def Uncertainty_get_uncertainty_key():
1137 """Uncertainty_get_uncertainty_key() -> FloatKey"""
1138 return _IMP_pmi.Uncertainty_get_uncertainty_key()
1141 """Proxy of C++ IMP::pmi::Resolution class."""
1143 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1146 """get_resolution(Resolution self) -> IMP::Float"""
1147 return _IMP_pmi.Resolution_get_resolution(self)
1150 def set_resolution(self, d):
1151 """set_resolution(Resolution self, IMP::Float d)"""
1152 return _IMP_pmi.Resolution_set_resolution(self, d)
1157 __init__(IMP::pmi::Resolution self) -> Resolution
1158 __init__(IMP::pmi::Resolution self, Model m, ParticleIndex id) -> Resolution
1159 __init__(IMP::pmi::Resolution self, _ParticleAdaptor d) -> Resolution
1161 this = _IMP_pmi.new_Resolution(*args)
1163 self.this.append(this)
1167 def get_is_setup(*args):
1169 get_is_setup(Model m, ParticleIndex pi) -> bool
1170 get_is_setup(_ParticleAdaptor p) -> bool
1172 return _IMP_pmi.Resolution_get_is_setup(*args)
1174 get_is_setup = staticmethod(get_is_setup)
1176 def show(self, *args):
1178 show(Resolution self, _ostream out)
1179 show(Resolution self)
1181 return _IMP_pmi.Resolution_show(self, *args)
1184 def setup_particle(*args):
1186 setup_particle(Model m, ParticleIndex pi, IMP::Float resolution) -> Resolution
1187 setup_particle(_ParticleAdaptor decorator, IMP::Float resolution) -> Resolution
1189 return _IMP_pmi.Resolution_setup_particle(*args)
1191 setup_particle = staticmethod(setup_particle)
1193 def get_resolution_key():
1194 """get_resolution_key() -> FloatKey"""
1195 return _IMP_pmi.Resolution_get_resolution_key()
1197 get_resolution_key = staticmethod(get_resolution_key)
1199 def add_attribute(self, *args):
1201 add_attribute(Resolution self, FloatKey k, IMP::Float v, bool opt)
1202 add_attribute(Resolution self, FloatKey a0, IMP::Float a1)
1203 add_attribute(Resolution self, IntKey a0, IMP::Int a1)
1204 add_attribute(Resolution self, StringKey a0, IMP::String a1)
1205 add_attribute(Resolution self, ParticleIndexKey a0, Particle a1)
1206 add_attribute(Resolution self, ObjectKey a0, Object a1)
1208 return _IMP_pmi.Resolution_add_attribute(self, *args)
1211 def get_value(self, *args):
1213 get_value(Resolution self, FloatKey a0) -> IMP::Float
1214 get_value(Resolution self, IntKey a0) -> IMP::Int
1215 get_value(Resolution self, StringKey a0) -> IMP::String
1216 get_value(Resolution self, ParticleIndexKey a0) -> Particle
1217 get_value(Resolution self, ObjectKey a0) -> Object
1219 return _IMP_pmi.Resolution_get_value(self, *args)
1222 def set_value(self, *args):
1224 set_value(Resolution self, FloatKey a0, IMP::Float a1)
1225 set_value(Resolution self, IntKey a0, IMP::Int a1)
1226 set_value(Resolution self, StringKey a0, IMP::String a1)
1227 set_value(Resolution self, ParticleIndexKey a0, Particle a1)
1228 set_value(Resolution self, ObjectKey a0, Object a1)
1230 return _IMP_pmi.Resolution_set_value(self, *args)
1233 def remove_attribute(self, *args):
1235 remove_attribute(Resolution self, FloatKey a0)
1236 remove_attribute(Resolution self, IntKey a0)
1237 remove_attribute(Resolution self, StringKey a0)
1238 remove_attribute(Resolution self, ParticleIndexKey a0)
1239 remove_attribute(Resolution self, ObjectKey a0)
1241 return _IMP_pmi.Resolution_remove_attribute(self, *args)
1244 def has_attribute(self, *args):
1246 has_attribute(Resolution self, FloatKey a0) -> bool
1247 has_attribute(Resolution self, IntKey a0) -> bool
1248 has_attribute(Resolution self, StringKey a0) -> bool
1249 has_attribute(Resolution self, ParticleIndexKey a0) -> bool
1250 has_attribute(Resolution self, ObjectKey a0) -> bool
1252 return _IMP_pmi.Resolution_has_attribute(self, *args)
1255 def get_derivative(self, a0):
1256 """get_derivative(Resolution self, FloatKey a0) -> double"""
1257 return _IMP_pmi.Resolution_get_derivative(self, a0)
1261 """get_name(Resolution self) -> std::string"""
1262 return _IMP_pmi.Resolution_get_name(self)
1265 def clear_caches(self):
1266 """clear_caches(Resolution self)"""
1267 return _IMP_pmi.Resolution_clear_caches(self)
1270 def set_name(self, a0):
1271 """set_name(Resolution self, std::string a0)"""
1272 return _IMP_pmi.Resolution_set_name(self, a0)
1276 """set_check_level(Resolution self, IMP::CheckLevel a0)"""
1277 return _IMP_pmi.Resolution_set_check_level(self, a0)
1280 def add_to_derivative(self, a0, a1, a2):
1281 """add_to_derivative(Resolution self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1282 return _IMP_pmi.Resolution_add_to_derivative(self, a0, a1, a2)
1285 def set_is_optimized(self, a0, a1):
1286 """set_is_optimized(Resolution self, FloatKey a0, bool a1)"""
1287 return _IMP_pmi.Resolution_set_is_optimized(self, a0, a1)
1290 def get_is_optimized(self, a0):
1291 """get_is_optimized(Resolution self, FloatKey a0) -> bool"""
1292 return _IMP_pmi.Resolution_get_is_optimized(self, a0)
1296 """get_check_level(Resolution self) -> IMP::CheckLevel"""
1297 return _IMP_pmi.Resolution_get_check_level(self)
1300 def __eq__(self, *args):
1302 __eq__(Resolution self, Resolution o) -> bool
1303 __eq__(Resolution self, Particle d) -> bool
1305 return _IMP_pmi.Resolution___eq__(self, *args)
1308 def __ne__(self, *args):
1310 __ne__(Resolution self, Resolution o) -> bool
1311 __ne__(Resolution self, Particle d) -> bool
1313 return _IMP_pmi.Resolution___ne__(self, *args)
1316 def __le__(self, *args):
1318 __le__(Resolution self, Resolution o) -> bool
1319 __le__(Resolution self, Particle d) -> bool
1321 return _IMP_pmi.Resolution___le__(self, *args)
1324 def __lt__(self, *args):
1326 __lt__(Resolution self, Resolution o) -> bool
1327 __lt__(Resolution self, Particle d) -> bool
1329 return _IMP_pmi.Resolution___lt__(self, *args)
1332 def __ge__(self, *args):
1334 __ge__(Resolution self, Resolution o) -> bool
1335 __ge__(Resolution self, Particle d) -> bool
1337 return _IMP_pmi.Resolution___ge__(self, *args)
1340 def __gt__(self, *args):
1342 __gt__(Resolution self, Resolution o) -> bool
1343 __gt__(Resolution self, Particle d) -> bool
1345 return _IMP_pmi.Resolution___gt__(self, *args)
1349 """__hash__(Resolution self) -> std::size_t"""
1350 return _IMP_pmi.Resolution___hash__(self)
1354 """__str__(Resolution self) -> std::string"""
1355 return _IMP_pmi.Resolution___str__(self)
1359 """__repr__(Resolution self) -> std::string"""
1360 return _IMP_pmi.Resolution___repr__(self)
1362 __swig_destroy__ = _IMP_pmi.delete_Resolution
1363 __del__ =
lambda self:
None
1364 Resolution_swigregister = _IMP_pmi.Resolution_swigregister
1365 Resolution_swigregister(Resolution)
1367 def Resolution_get_is_setup(*args):
1369 get_is_setup(Model m, ParticleIndex pi) -> bool
1370 Resolution_get_is_setup(_ParticleAdaptor p) -> bool
1372 return _IMP_pmi.Resolution_get_is_setup(*args)
1374 def Resolution_setup_particle(*args):
1376 setup_particle(Model m, ParticleIndex pi, IMP::Float resolution) -> Resolution
1377 Resolution_setup_particle(_ParticleAdaptor decorator, IMP::Float resolution) -> Resolution
1379 return _IMP_pmi.Resolution_setup_particle(*args)
1381 def Resolution_get_resolution_key():
1382 """Resolution_get_resolution_key() -> FloatKey"""
1383 return _IMP_pmi.Resolution_get_resolution_key()
1386 """Proxy of C++ IMP::pmi::Symmetric class."""
1388 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1390 def get_symmetric(self):
1391 """get_symmetric(Symmetric self) -> IMP::Float"""
1392 return _IMP_pmi.Symmetric_get_symmetric(self)
1395 def set_symmetric(self, d):
1396 """set_symmetric(Symmetric self, IMP::Float d)"""
1397 return _IMP_pmi.Symmetric_set_symmetric(self, d)
1402 __init__(IMP::pmi::Symmetric self) -> Symmetric
1403 __init__(IMP::pmi::Symmetric self, Model m, ParticleIndex id) -> Symmetric
1404 __init__(IMP::pmi::Symmetric self, _ParticleAdaptor d) -> Symmetric
1406 this = _IMP_pmi.new_Symmetric(*args)
1408 self.this.append(this)
1412 def get_is_setup(*args):
1414 get_is_setup(Model m, ParticleIndex pi) -> bool
1415 get_is_setup(_ParticleAdaptor p) -> bool
1417 return _IMP_pmi.Symmetric_get_is_setup(*args)
1419 get_is_setup = staticmethod(get_is_setup)
1421 def show(self, *args):
1423 show(Symmetric self, _ostream out)
1424 show(Symmetric self)
1426 return _IMP_pmi.Symmetric_show(self, *args)
1429 def setup_particle(*args):
1431 setup_particle(Model m, ParticleIndex pi, IMP::Float symmetric) -> Symmetric
1432 setup_particle(_ParticleAdaptor decorator, IMP::Float symmetric) -> Symmetric
1434 return _IMP_pmi.Symmetric_setup_particle(*args)
1436 setup_particle = staticmethod(setup_particle)
1438 def get_symmetric_key():
1439 """get_symmetric_key() -> FloatKey"""
1440 return _IMP_pmi.Symmetric_get_symmetric_key()
1442 get_symmetric_key = staticmethod(get_symmetric_key)
1444 def add_attribute(self, *args):
1446 add_attribute(Symmetric self, FloatKey k, IMP::Float v, bool opt)
1447 add_attribute(Symmetric self, FloatKey a0, IMP::Float a1)
1448 add_attribute(Symmetric self, IntKey a0, IMP::Int a1)
1449 add_attribute(Symmetric self, StringKey a0, IMP::String a1)
1450 add_attribute(Symmetric self, ParticleIndexKey a0, Particle a1)
1451 add_attribute(Symmetric self, ObjectKey a0, Object a1)
1453 return _IMP_pmi.Symmetric_add_attribute(self, *args)
1456 def get_value(self, *args):
1458 get_value(Symmetric self, FloatKey a0) -> IMP::Float
1459 get_value(Symmetric self, IntKey a0) -> IMP::Int
1460 get_value(Symmetric self, StringKey a0) -> IMP::String
1461 get_value(Symmetric self, ParticleIndexKey a0) -> Particle
1462 get_value(Symmetric self, ObjectKey a0) -> Object
1464 return _IMP_pmi.Symmetric_get_value(self, *args)
1467 def set_value(self, *args):
1469 set_value(Symmetric self, FloatKey a0, IMP::Float a1)
1470 set_value(Symmetric self, IntKey a0, IMP::Int a1)
1471 set_value(Symmetric self, StringKey a0, IMP::String a1)
1472 set_value(Symmetric self, ParticleIndexKey a0, Particle a1)
1473 set_value(Symmetric self, ObjectKey a0, Object a1)
1475 return _IMP_pmi.Symmetric_set_value(self, *args)
1478 def remove_attribute(self, *args):
1480 remove_attribute(Symmetric self, FloatKey a0)
1481 remove_attribute(Symmetric self, IntKey a0)
1482 remove_attribute(Symmetric self, StringKey a0)
1483 remove_attribute(Symmetric self, ParticleIndexKey a0)
1484 remove_attribute(Symmetric self, ObjectKey a0)
1486 return _IMP_pmi.Symmetric_remove_attribute(self, *args)
1489 def has_attribute(self, *args):
1491 has_attribute(Symmetric self, FloatKey a0) -> bool
1492 has_attribute(Symmetric self, IntKey a0) -> bool
1493 has_attribute(Symmetric self, StringKey a0) -> bool
1494 has_attribute(Symmetric self, ParticleIndexKey a0) -> bool
1495 has_attribute(Symmetric self, ObjectKey a0) -> bool
1497 return _IMP_pmi.Symmetric_has_attribute(self, *args)
1500 def get_derivative(self, a0):
1501 """get_derivative(Symmetric self, FloatKey a0) -> double"""
1502 return _IMP_pmi.Symmetric_get_derivative(self, a0)
1506 """get_name(Symmetric self) -> std::string"""
1507 return _IMP_pmi.Symmetric_get_name(self)
1510 def clear_caches(self):
1511 """clear_caches(Symmetric self)"""
1512 return _IMP_pmi.Symmetric_clear_caches(self)
1515 def set_name(self, a0):
1516 """set_name(Symmetric self, std::string a0)"""
1517 return _IMP_pmi.Symmetric_set_name(self, a0)
1521 """set_check_level(Symmetric self, IMP::CheckLevel a0)"""
1522 return _IMP_pmi.Symmetric_set_check_level(self, a0)
1525 def add_to_derivative(self, a0, a1, a2):
1526 """add_to_derivative(Symmetric self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1527 return _IMP_pmi.Symmetric_add_to_derivative(self, a0, a1, a2)
1530 def set_is_optimized(self, a0, a1):
1531 """set_is_optimized(Symmetric self, FloatKey a0, bool a1)"""
1532 return _IMP_pmi.Symmetric_set_is_optimized(self, a0, a1)
1535 def get_is_optimized(self, a0):
1536 """get_is_optimized(Symmetric self, FloatKey a0) -> bool"""
1537 return _IMP_pmi.Symmetric_get_is_optimized(self, a0)
1541 """get_check_level(Symmetric self) -> IMP::CheckLevel"""
1542 return _IMP_pmi.Symmetric_get_check_level(self)
1545 def __eq__(self, *args):
1547 __eq__(Symmetric self, Symmetric o) -> bool
1548 __eq__(Symmetric self, Particle d) -> bool
1550 return _IMP_pmi.Symmetric___eq__(self, *args)
1553 def __ne__(self, *args):
1555 __ne__(Symmetric self, Symmetric o) -> bool
1556 __ne__(Symmetric self, Particle d) -> bool
1558 return _IMP_pmi.Symmetric___ne__(self, *args)
1561 def __le__(self, *args):
1563 __le__(Symmetric self, Symmetric o) -> bool
1564 __le__(Symmetric self, Particle d) -> bool
1566 return _IMP_pmi.Symmetric___le__(self, *args)
1569 def __lt__(self, *args):
1571 __lt__(Symmetric self, Symmetric o) -> bool
1572 __lt__(Symmetric self, Particle d) -> bool
1574 return _IMP_pmi.Symmetric___lt__(self, *args)
1577 def __ge__(self, *args):
1579 __ge__(Symmetric self, Symmetric o) -> bool
1580 __ge__(Symmetric self, Particle d) -> bool
1582 return _IMP_pmi.Symmetric___ge__(self, *args)
1585 def __gt__(self, *args):
1587 __gt__(Symmetric self, Symmetric o) -> bool
1588 __gt__(Symmetric self, Particle d) -> bool
1590 return _IMP_pmi.Symmetric___gt__(self, *args)
1594 """__hash__(Symmetric self) -> std::size_t"""
1595 return _IMP_pmi.Symmetric___hash__(self)
1599 """__str__(Symmetric self) -> std::string"""
1600 return _IMP_pmi.Symmetric___str__(self)
1604 """__repr__(Symmetric self) -> std::string"""
1605 return _IMP_pmi.Symmetric___repr__(self)
1607 __swig_destroy__ = _IMP_pmi.delete_Symmetric
1608 __del__ =
lambda self:
None
1609 Symmetric_swigregister = _IMP_pmi.Symmetric_swigregister
1610 Symmetric_swigregister(Symmetric)
1612 def Symmetric_get_is_setup(*args):
1614 get_is_setup(Model m, ParticleIndex pi) -> bool
1615 Symmetric_get_is_setup(_ParticleAdaptor p) -> bool
1617 return _IMP_pmi.Symmetric_get_is_setup(*args)
1619 def Symmetric_setup_particle(*args):
1621 setup_particle(Model m, ParticleIndex pi, IMP::Float symmetric) -> Symmetric
1622 Symmetric_setup_particle(_ParticleAdaptor decorator, IMP::Float symmetric) -> Symmetric
1624 return _IMP_pmi.Symmetric_setup_particle(*args)
1626 def Symmetric_get_symmetric_key():
1627 """Symmetric_get_symmetric_key() -> FloatKey"""
1628 return _IMP_pmi.Symmetric_get_symmetric_key()
1631 """Proxy of C++ IMP::pmi::SigmoidRestraintSphere class."""
1633 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1637 __init__(IMP::pmi::SigmoidRestraintSphere self, Model m, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2, double inflection, double slope, double amplitude, double line_slope_=0, std::string name) -> SigmoidRestraintSphere
1638 __init__(IMP::pmi::SigmoidRestraintSphere self, Model m, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2, double inflection, double slope, double amplitude, double line_slope_=0) -> SigmoidRestraintSphere
1639 __init__(IMP::pmi::SigmoidRestraintSphere self, Model m, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2, double inflection, double slope, double amplitude) -> SigmoidRestraintSphere
1641 this = _IMP_pmi.new_SigmoidRestraintSphere(*args)
1643 self.this.append(this)
1647 def set_amplitude(self, amplitude):
1648 """set_amplitude(SigmoidRestraintSphere self, double amplitude)"""
1649 return _IMP_pmi.SigmoidRestraintSphere_set_amplitude(self, amplitude)
1652 def increment_amplitude(self, amplitude):
1653 """increment_amplitude(SigmoidRestraintSphere self, double amplitude)"""
1654 return _IMP_pmi.SigmoidRestraintSphere_increment_amplitude(self, amplitude)
1657 def get_amplitude(self):
1658 """get_amplitude(SigmoidRestraintSphere self) -> double"""
1659 return _IMP_pmi.SigmoidRestraintSphere_get_amplitude(self)
1662 def do_get_inputs(self):
1663 """do_get_inputs(SigmoidRestraintSphere self) -> IMP::ModelObjectsTemp"""
1664 return _IMP_pmi.SigmoidRestraintSphere_do_get_inputs(self)
1667 def get_version_info(self):
1668 """get_version_info(SigmoidRestraintSphere self) -> VersionInfo"""
1669 return _IMP_pmi.SigmoidRestraintSphere_get_version_info(self)
1673 """__str__(SigmoidRestraintSphere self) -> std::string"""
1674 return _IMP_pmi.SigmoidRestraintSphere___str__(self)
1678 """__repr__(SigmoidRestraintSphere self) -> std::string"""
1679 return _IMP_pmi.SigmoidRestraintSphere___repr__(self)
1684 return _object_cast_to_SigmoidRestraintSphere(o)
1686 SigmoidRestraintSphere_swigregister = _IMP_pmi.SigmoidRestraintSphere_swigregister
1687 SigmoidRestraintSphere_swigregister(SigmoidRestraintSphere)
1690 """Proxy of C++ IMP::pmi::TransformMover class."""
1692 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1696 __init__(IMP::pmi::TransformMover self, Model m, IMP::Float max_translation, IMP::Float max_rotation) -> TransformMover
1697 __init__(IMP::pmi::TransformMover self, Model m, Vector3D axis, IMP::Float max_translation, IMP::Float max_rotation) -> TransformMover
1699 this = _IMP_pmi.new_TransformMover(*args)
1701 self.this.append(this)
1705 def add_xyz_particle(self, pi):
1706 """add_xyz_particle(TransformMover self, _ParticleIndexAdaptor pi)"""
1707 return _IMP_pmi.TransformMover_add_xyz_particle(self, pi)
1710 def add_rigid_body_particle(self, pi):
1711 """add_rigid_body_particle(TransformMover self, _ParticleIndexAdaptor pi)"""
1712 return _IMP_pmi.TransformMover_add_rigid_body_particle(self, pi)
1715 def set_maximum_translation(self, mt):
1716 """set_maximum_translation(TransformMover self, IMP::Float mt)"""
1717 return _IMP_pmi.TransformMover_set_maximum_translation(self, mt)
1720 def set_maximum_rotation(self, mr):
1721 """set_maximum_rotation(TransformMover self, IMP::Float mr)"""
1722 return _IMP_pmi.TransformMover_set_maximum_rotation(self, mr)
1725 def get_maximum_translation(self):
1726 """get_maximum_translation(TransformMover self) -> IMP::Float"""
1727 return _IMP_pmi.TransformMover_get_maximum_translation(self)
1730 def get_maximum_rotation(self):
1731 """get_maximum_rotation(TransformMover self) -> IMP::Float"""
1732 return _IMP_pmi.TransformMover_get_maximum_rotation(self)
1735 def get_last_transformation(self):
1736 """get_last_transformation(TransformMover self) -> Transformation3D"""
1737 return _IMP_pmi.TransformMover_get_last_transformation(self)
1740 def get_version_info(self):
1741 """get_version_info(TransformMover self) -> VersionInfo"""
1742 return _IMP_pmi.TransformMover_get_version_info(self)
1746 """__str__(TransformMover self) -> std::string"""
1747 return _IMP_pmi.TransformMover___str__(self)
1751 """__repr__(TransformMover self) -> std::string"""
1752 return _IMP_pmi.TransformMover___repr__(self)
1757 return _object_cast_to_TransformMover(o)
1759 TransformMover_swigregister = _IMP_pmi.TransformMover_swigregister
1760 TransformMover_swigregister(TransformMover)
1764 """create_elastic_network(IMP::Particles const & ps, IMP::Float dist_cutoff, IMP::Float strength) -> RestraintSet"""
1765 return _IMP_pmi.create_elastic_network(ps, dist_cutoff, strength)
1767 def get_bipartite_minimum_sphere_distance(m1, m2):
1768 """get_bipartite_minimum_sphere_distance(IMP::core::XYZRs const & m1, IMP::core::XYZRs const & m2) -> IMP::Float"""
1769 return _IMP_pmi.get_bipartite_minimum_sphere_distance(m1, m2)
1771 def get_list_of_bipartite_minimum_sphere_distance(pss):
1772 """get_list_of_bipartite_minimum_sphere_distance(IMP::ParticlesTemps const & pss) -> IMP::Floats"""
1773 return _IMP_pmi.get_list_of_bipartite_minimum_sphere_distance(pss)
1776 """get_parent_representation(Hierarchy h) -> Hierarchy"""
1777 return _IMP_pmi.get_parent_representation(h)
1780 """get_molecule_name_and_copy(Hierarchy h) -> std::string"""
1781 return _IMP_pmi.get_molecule_name_and_copy(h)
1784 """get_is_canonical(Hierarchy h) -> bool"""
1785 return _IMP_pmi.get_is_canonical(h)
1787 def get_module_version():
1788 """get_module_version() -> std::string const"""
1789 return _IMP_pmi.get_module_version()
1792 """get_example_path(std::string fname) -> std::string"""
1793 return _IMP_pmi.get_example_path(fname)
1796 """get_data_path(std::string fname) -> std::string"""
1797 return _IMP_pmi.get_data_path(fname)
1799 from .
import _version_check
1800 _version_check.check_version(get_module_version())
1801 __version__ = get_module_version()
CheckLevel get_check_level()
Get the current audit mode.
std::string get_data_path(std::string file_name)
Return the full path to one of this module's data files.
A base class for ISD Restraints.
Various classes to hold sets of particles.
Make CGAL functionality available to IMP.
Composable functors to implement scores via compile-time composition.
Code to compute statistical measures.
std::string get_molecule_name_and_copy(atom::Hierarchy h)
Walk up a PMI2 hierarchy/representations and get the "molname.copynum".
RestraintSet * create_elastic_network(const Particles &ps, Float dist_cutoff, Float strength)
Create an elastic network restraint set.
A base class for classes which perturb particles.
std::string get_example_path(std::string file_name)
Return the full path to one of this module's example files.
Basic utilities for handling cryo-electron microscopy 3D density maps.
bool get_is_canonical(atom::Hierarchy h)
Walk up a PMI2 hierarchy/representations and check if the root is named System.
Interface to specialized Particle types (e.g. atoms)
std::ostream & show(Hierarchy h, std::ostream &out=std::cout)
Print the hierarchy using a given decorator to display each node.
Basic functionality that is expected to be used by a wide variety of IMP users.
General purpose algebraic and geometric methods that are expected to be used by a wide variety of IMP...
atom::Hierarchy get_parent_representation(atom::Hierarchy h)
Get the parent, or if non-tree Representation get the fake parent.
double get_resolution(Model *m, ParticleIndex pi)
Estimate the resolution of the hierarchy as used by Representation.
Output IMP model data in various file formats.
Functionality for loading, creating, manipulating and scoring atomic structures.
Support for small angle X-ray scattering (SAXS) data.
void set_check_level(CheckLevel tf)
Control runtime checks in the code.
Inferential scoring building on methods developed as part of the Inferential Structure Determination ...
A restraint is a term in an IMP ScoringFunction.