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"""
115 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
117 def __init__(self, *args, **kwargs):
118 raise AttributeError(
"No constructor defined - class is abstract")
119 __repr__ = _swig_repr
120 __swig_destroy__ = _IMP_pmi.delete_IMP_PMI_SwigPyIterator
121 __del__ =
lambda self:
None
124 """value(IMP_PMI_SwigPyIterator self) -> PyObject *"""
125 return _IMP_pmi.IMP_PMI_SwigPyIterator_value(self)
130 incr(IMP_PMI_SwigPyIterator self, size_t n=1) -> IMP_PMI_SwigPyIterator
131 incr(IMP_PMI_SwigPyIterator self) -> IMP_PMI_SwigPyIterator
133 return _IMP_pmi.IMP_PMI_SwigPyIterator_incr(self, n)
138 decr(IMP_PMI_SwigPyIterator self, size_t n=1) -> IMP_PMI_SwigPyIterator
139 decr(IMP_PMI_SwigPyIterator self) -> IMP_PMI_SwigPyIterator
141 return _IMP_pmi.IMP_PMI_SwigPyIterator_decr(self, n)
144 def distance(self, x):
145 """distance(IMP_PMI_SwigPyIterator self, IMP_PMI_SwigPyIterator x) -> ptrdiff_t"""
146 return _IMP_pmi.IMP_PMI_SwigPyIterator_distance(self, x)
150 """equal(IMP_PMI_SwigPyIterator self, IMP_PMI_SwigPyIterator x) -> bool"""
151 return _IMP_pmi.IMP_PMI_SwigPyIterator_equal(self, x)
155 """copy(IMP_PMI_SwigPyIterator self) -> IMP_PMI_SwigPyIterator"""
156 return _IMP_pmi.IMP_PMI_SwigPyIterator_copy(self)
160 """next(IMP_PMI_SwigPyIterator self) -> PyObject *"""
161 return _IMP_pmi.IMP_PMI_SwigPyIterator_next(self)
165 """__next__(IMP_PMI_SwigPyIterator self) -> PyObject *"""
166 return _IMP_pmi.IMP_PMI_SwigPyIterator___next__(self)
170 """previous(IMP_PMI_SwigPyIterator self) -> PyObject *"""
171 return _IMP_pmi.IMP_PMI_SwigPyIterator_previous(self)
174 def advance(self, n):
175 """advance(IMP_PMI_SwigPyIterator self, ptrdiff_t n) -> IMP_PMI_SwigPyIterator"""
176 return _IMP_pmi.IMP_PMI_SwigPyIterator_advance(self, n)
180 """__eq__(IMP_PMI_SwigPyIterator self, IMP_PMI_SwigPyIterator x) -> bool"""
181 return _IMP_pmi.IMP_PMI_SwigPyIterator___eq__(self, x)
185 """__ne__(IMP_PMI_SwigPyIterator self, IMP_PMI_SwigPyIterator x) -> bool"""
186 return _IMP_pmi.IMP_PMI_SwigPyIterator___ne__(self, x)
189 def __iadd__(self, n):
190 """__iadd__(IMP_PMI_SwigPyIterator self, ptrdiff_t n) -> IMP_PMI_SwigPyIterator"""
191 return _IMP_pmi.IMP_PMI_SwigPyIterator___iadd__(self, n)
194 def __isub__(self, n):
195 """__isub__(IMP_PMI_SwigPyIterator self, ptrdiff_t n) -> IMP_PMI_SwigPyIterator"""
196 return _IMP_pmi.IMP_PMI_SwigPyIterator___isub__(self, n)
199 def __add__(self, n):
200 """__add__(IMP_PMI_SwigPyIterator self, ptrdiff_t n) -> IMP_PMI_SwigPyIterator"""
201 return _IMP_pmi.IMP_PMI_SwigPyIterator___add__(self, n)
204 def __sub__(self, *args):
206 __sub__(IMP_PMI_SwigPyIterator self, ptrdiff_t n) -> IMP_PMI_SwigPyIterator
207 __sub__(IMP_PMI_SwigPyIterator self, IMP_PMI_SwigPyIterator x) -> ptrdiff_t
209 return _IMP_pmi.IMP_PMI_SwigPyIterator___sub__(self, *args)
213 IMP_PMI_SwigPyIterator_swigregister = _IMP_pmi.IMP_PMI_SwigPyIterator_swigregister
214 IMP_PMI_SwigPyIterator_swigregister(IMP_PMI_SwigPyIterator)
223 _IMP_pmi.IMP_DEBUG_swigconstant(_IMP_pmi)
224 IMP_DEBUG = _IMP_pmi.IMP_DEBUG
226 _IMP_pmi.IMP_RELEASE_swigconstant(_IMP_pmi)
227 IMP_RELEASE = _IMP_pmi.IMP_RELEASE
229 _IMP_pmi.IMP_SILENT_swigconstant(_IMP_pmi)
230 IMP_SILENT = _IMP_pmi.IMP_SILENT
232 _IMP_pmi.IMP_PROGRESS_swigconstant(_IMP_pmi)
233 IMP_PROGRESS = _IMP_pmi.IMP_PROGRESS
235 _IMP_pmi.IMP_TERSE_swigconstant(_IMP_pmi)
236 IMP_TERSE = _IMP_pmi.IMP_TERSE
238 _IMP_pmi.IMP_VERBOSE_swigconstant(_IMP_pmi)
239 IMP_VERBOSE = _IMP_pmi.IMP_VERBOSE
241 _IMP_pmi.IMP_MEMORY_swigconstant(_IMP_pmi)
242 IMP_MEMORY = _IMP_pmi.IMP_MEMORY
244 _IMP_pmi.IMP_NONE_swigconstant(_IMP_pmi)
245 IMP_NONE = _IMP_pmi.IMP_NONE
247 _IMP_pmi.IMP_USAGE_swigconstant(_IMP_pmi)
248 IMP_USAGE = _IMP_pmi.IMP_USAGE
250 _IMP_pmi.IMP_INTERNAL_swigconstant(_IMP_pmi)
251 IMP_INTERNAL = _IMP_pmi.IMP_INTERNAL
253 _IMP_pmi.IMP_KERNEL_HAS_LOG4CXX_swigconstant(_IMP_pmi)
254 IMP_KERNEL_HAS_LOG4CXX = _IMP_pmi.IMP_KERNEL_HAS_LOG4CXX
256 _IMP_pmi.IMP_COMPILER_HAS_AUTO_swigconstant(_IMP_pmi)
257 IMP_COMPILER_HAS_AUTO = _IMP_pmi.IMP_COMPILER_HAS_AUTO
259 _IMP_pmi.IMP_COMPILER_HAS_DEBUG_VECTOR_swigconstant(_IMP_pmi)
260 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_pmi.IMP_COMPILER_HAS_DEBUG_VECTOR
262 _IMP_pmi.IMP_COMPILER_HAS_UNIQUE_PTR_swigconstant(_IMP_pmi)
263 IMP_COMPILER_HAS_UNIQUE_PTR = _IMP_pmi.IMP_COMPILER_HAS_UNIQUE_PTR
265 _IMP_pmi.IMP_KERNEL_HAS_BOOST_RANDOM_swigconstant(_IMP_pmi)
266 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_pmi.IMP_KERNEL_HAS_BOOST_RANDOM
268 _IMP_pmi.IMP_KERNEL_HAS_GPERFTOOLS_swigconstant(_IMP_pmi)
269 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_pmi.IMP_KERNEL_HAS_GPERFTOOLS
271 _IMP_pmi.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER_swigconstant(_IMP_pmi)
272 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_pmi.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
274 _IMP_pmi.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER_swigconstant(_IMP_pmi)
275 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_pmi.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
277 _IMP_pmi.IMPKERNEL_SHOW_WARNINGS_swigconstant(_IMP_pmi)
278 IMPKERNEL_SHOW_WARNINGS = _IMP_pmi.IMPKERNEL_SHOW_WARNINGS
281 class _DirectorObjects(object):
282 """@internal Simple class to keep references to director objects
283 to prevent premature deletion."""
286 def register(self, obj):
287 """Take a reference to a director object; will only work for
288 refcounted C++ classes"""
289 if hasattr(obj,
'get_ref_count'):
290 self._objects.append(obj)
292 """Only drop our reference and allow cleanup by Python if no other
293 Python references exist (we hold 3 references: one in self._objects,
294 one in x, and one in the argument list for getrefcount) *and* no
295 other C++ references exist (the Python object always holds one)"""
296 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
297 or x.get_ref_count() > 1]
301 def get_object_count(self):
302 """Get number of director objects (useful for testing only)"""
303 return len(self._objects)
304 _director_objects = _DirectorObjects()
306 class _ostream(object):
307 """Proxy of C++ std::ostream class"""
308 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
310 def __init__(self, *args, **kwargs):
311 raise AttributeError(
"No constructor defined")
312 __repr__ = _swig_repr
314 def write(self, osa_buf):
315 """write(_ostream self, char const * osa_buf)"""
316 return _IMP_pmi._ostream_write(self, osa_buf)
318 _ostream_swigregister = _IMP_pmi._ostream_swigregister
319 _ostream_swigregister(_ostream)
322 _IMP_pmi.IMP_COMPILER_HAS_OVERRIDE_swigconstant(_IMP_pmi)
323 IMP_COMPILER_HAS_OVERRIDE = _IMP_pmi.IMP_COMPILER_HAS_OVERRIDE
325 _IMP_pmi.IMP_COMPILER_HAS_FINAL_swigconstant(_IMP_pmi)
326 IMP_COMPILER_HAS_FINAL = _IMP_pmi.IMP_COMPILER_HAS_FINAL
328 _IMP_pmi.IMP_HAS_NOEXCEPT_swigconstant(_IMP_pmi)
329 IMP_HAS_NOEXCEPT = _IMP_pmi.IMP_HAS_NOEXCEPT
332 _IMP_pmi.IMP_CGAL_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_pmi)
333 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_CGAL_HAS_BOOST_FILESYSTEM
335 _IMP_pmi.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_pmi)
336 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
338 _IMP_pmi.IMP_CGAL_HAS_BOOST_RANDOM_swigconstant(_IMP_pmi)
339 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_pmi.IMP_CGAL_HAS_BOOST_RANDOM
341 _IMP_pmi.IMP_CGAL_HAS_BOOST_SYSTEM_swigconstant(_IMP_pmi)
342 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_CGAL_HAS_BOOST_SYSTEM
344 _IMP_pmi.IMPCGAL_SHOW_WARNINGS_swigconstant(_IMP_pmi)
345 IMPCGAL_SHOW_WARNINGS = _IMP_pmi.IMPCGAL_SHOW_WARNINGS
348 _IMP_pmi.IMP_ALGEBRA_HAS_IMP_CGAL_swigconstant(_IMP_pmi)
349 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_pmi.IMP_ALGEBRA_HAS_IMP_CGAL
351 _IMP_pmi.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_pmi)
352 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
354 _IMP_pmi.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_pmi)
355 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
357 _IMP_pmi.IMP_ALGEBRA_HAS_BOOST_RANDOM_swigconstant(_IMP_pmi)
358 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_pmi.IMP_ALGEBRA_HAS_BOOST_RANDOM
360 _IMP_pmi.IMP_ALGEBRA_HAS_BOOST_SYSTEM_swigconstant(_IMP_pmi)
361 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_ALGEBRA_HAS_BOOST_SYSTEM
363 _IMP_pmi.IMP_ALGEBRA_HAS_CGAL_swigconstant(_IMP_pmi)
364 IMP_ALGEBRA_HAS_CGAL = _IMP_pmi.IMP_ALGEBRA_HAS_CGAL
366 _IMP_pmi.IMP_ALGEBRA_HAS_ANN_swigconstant(_IMP_pmi)
367 IMP_ALGEBRA_HAS_ANN = _IMP_pmi.IMP_ALGEBRA_HAS_ANN
369 _IMP_pmi.IMPALGEBRA_SHOW_WARNINGS_swigconstant(_IMP_pmi)
370 IMPALGEBRA_SHOW_WARNINGS = _IMP_pmi.IMPALGEBRA_SHOW_WARNINGS
373 _IMP_pmi.IMP_DISPLAY_HAS_IMP_CGAL_swigconstant(_IMP_pmi)
374 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_pmi.IMP_DISPLAY_HAS_IMP_CGAL
376 _IMP_pmi.IMP_DISPLAY_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_pmi)
377 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
379 _IMP_pmi.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_pmi)
380 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
382 _IMP_pmi.IMP_DISPLAY_HAS_BOOST_RANDOM_swigconstant(_IMP_pmi)
383 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_pmi.IMP_DISPLAY_HAS_BOOST_RANDOM
385 _IMP_pmi.IMP_DISPLAY_HAS_BOOST_SYSTEM_swigconstant(_IMP_pmi)
386 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_DISPLAY_HAS_BOOST_SYSTEM
388 _IMP_pmi.IMP_DISPLAY_HAS_CGAL_swigconstant(_IMP_pmi)
389 IMP_DISPLAY_HAS_CGAL = _IMP_pmi.IMP_DISPLAY_HAS_CGAL
391 _IMP_pmi.IMPDISPLAY_SHOW_WARNINGS_swigconstant(_IMP_pmi)
392 IMPDISPLAY_SHOW_WARNINGS = _IMP_pmi.IMPDISPLAY_SHOW_WARNINGS
395 _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL_swigconstant(_IMP_pmi)
396 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
398 _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_pmi)
399 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
401 _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_pmi)
402 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
404 _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM_swigconstant(_IMP_pmi)
405 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
407 _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM_swigconstant(_IMP_pmi)
408 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
410 _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_CGAL_swigconstant(_IMP_pmi)
411 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_CGAL
413 _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_HDF5_swigconstant(_IMP_pmi)
414 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_pmi.IMP_SCORE_FUNCTOR_HAS_HDF5
416 _IMP_pmi.IMPSCOREFUNCTOR_SHOW_WARNINGS_swigconstant(_IMP_pmi)
417 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_pmi.IMPSCOREFUNCTOR_SHOW_WARNINGS
420 _IMP_pmi.IMP_STATISTICS_HAS_IMP_CGAL_swigconstant(_IMP_pmi)
421 IMP_STATISTICS_HAS_IMP_CGAL = _IMP_pmi.IMP_STATISTICS_HAS_IMP_CGAL
423 _IMP_pmi.IMP_STATISTICS_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_pmi)
424 IMP_STATISTICS_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_STATISTICS_HAS_BOOST_FILESYSTEM
426 _IMP_pmi.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_pmi)
427 IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS
429 _IMP_pmi.IMP_STATISTICS_HAS_BOOST_RANDOM_swigconstant(_IMP_pmi)
430 IMP_STATISTICS_HAS_BOOST_RANDOM = _IMP_pmi.IMP_STATISTICS_HAS_BOOST_RANDOM
432 _IMP_pmi.IMP_STATISTICS_HAS_BOOST_SYSTEM_swigconstant(_IMP_pmi)
433 IMP_STATISTICS_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_STATISTICS_HAS_BOOST_SYSTEM
435 _IMP_pmi.IMP_STATISTICS_HAS_CGAL_swigconstant(_IMP_pmi)
436 IMP_STATISTICS_HAS_CGAL = _IMP_pmi.IMP_STATISTICS_HAS_CGAL
438 _IMP_pmi.IMPSTATISTICS_SHOW_WARNINGS_swigconstant(_IMP_pmi)
439 IMPSTATISTICS_SHOW_WARNINGS = _IMP_pmi.IMPSTATISTICS_SHOW_WARNINGS
442 _IMP_pmi.IMP_CORE_HAS_IMP_CGAL_swigconstant(_IMP_pmi)
443 IMP_CORE_HAS_IMP_CGAL = _IMP_pmi.IMP_CORE_HAS_IMP_CGAL
445 _IMP_pmi.IMP_CORE_HAS_IMP_KERNEL_swigconstant(_IMP_pmi)
446 IMP_CORE_HAS_IMP_KERNEL = _IMP_pmi.IMP_CORE_HAS_IMP_KERNEL
448 _IMP_pmi.IMP_CORE_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_pmi)
449 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_CORE_HAS_BOOST_FILESYSTEM
451 _IMP_pmi.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_pmi)
452 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
454 _IMP_pmi.IMP_CORE_HAS_BOOST_RANDOM_swigconstant(_IMP_pmi)
455 IMP_CORE_HAS_BOOST_RANDOM = _IMP_pmi.IMP_CORE_HAS_BOOST_RANDOM
457 _IMP_pmi.IMP_CORE_HAS_BOOST_SYSTEM_swigconstant(_IMP_pmi)
458 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_CORE_HAS_BOOST_SYSTEM
460 _IMP_pmi.IMP_CORE_HAS_CGAL_swigconstant(_IMP_pmi)
461 IMP_CORE_HAS_CGAL = _IMP_pmi.IMP_CORE_HAS_CGAL
463 _IMP_pmi.IMP_CORE_HAS_HDF5_swigconstant(_IMP_pmi)
464 IMP_CORE_HAS_HDF5 = _IMP_pmi.IMP_CORE_HAS_HDF5
466 _IMP_pmi.IMPCORE_SHOW_WARNINGS_swigconstant(_IMP_pmi)
467 IMPCORE_SHOW_WARNINGS = _IMP_pmi.IMPCORE_SHOW_WARNINGS
470 _IMP_pmi.IMP_CONTAINER_HAS_IMP_ALGEBRA_swigconstant(_IMP_pmi)
471 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_pmi.IMP_CONTAINER_HAS_IMP_ALGEBRA
473 _IMP_pmi.IMP_CONTAINER_HAS_IMP_CGAL_swigconstant(_IMP_pmi)
474 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_pmi.IMP_CONTAINER_HAS_IMP_CGAL
476 _IMP_pmi.IMP_CONTAINER_HAS_IMP_DISPLAY_swigconstant(_IMP_pmi)
477 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_pmi.IMP_CONTAINER_HAS_IMP_DISPLAY
479 _IMP_pmi.IMP_CONTAINER_HAS_IMP_KERNEL_swigconstant(_IMP_pmi)
480 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_pmi.IMP_CONTAINER_HAS_IMP_KERNEL
482 _IMP_pmi.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_pmi)
483 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
485 _IMP_pmi.IMP_CONTAINER_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_pmi)
486 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
488 _IMP_pmi.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_pmi)
489 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
491 _IMP_pmi.IMP_CONTAINER_HAS_BOOST_RANDOM_swigconstant(_IMP_pmi)
492 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_pmi.IMP_CONTAINER_HAS_BOOST_RANDOM
494 _IMP_pmi.IMP_CONTAINER_HAS_BOOST_SYSTEM_swigconstant(_IMP_pmi)
495 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_CONTAINER_HAS_BOOST_SYSTEM
497 _IMP_pmi.IMP_CONTAINER_HAS_CGAL_swigconstant(_IMP_pmi)
498 IMP_CONTAINER_HAS_CGAL = _IMP_pmi.IMP_CONTAINER_HAS_CGAL
500 _IMP_pmi.IMP_CONTAINER_HAS_HDF5_swigconstant(_IMP_pmi)
501 IMP_CONTAINER_HAS_HDF5 = _IMP_pmi.IMP_CONTAINER_HAS_HDF5
503 _IMP_pmi.IMPCONTAINER_SHOW_WARNINGS_swigconstant(_IMP_pmi)
504 IMPCONTAINER_SHOW_WARNINGS = _IMP_pmi.IMPCONTAINER_SHOW_WARNINGS
507 _IMP_pmi.IMP_ATOM_HAS_IMP_CGAL_swigconstant(_IMP_pmi)
508 IMP_ATOM_HAS_IMP_CGAL = _IMP_pmi.IMP_ATOM_HAS_IMP_CGAL
510 _IMP_pmi.IMP_ATOM_HAS_IMP_KERNEL_swigconstant(_IMP_pmi)
511 IMP_ATOM_HAS_IMP_KERNEL = _IMP_pmi.IMP_ATOM_HAS_IMP_KERNEL
513 _IMP_pmi.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_pmi)
514 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
516 _IMP_pmi.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_pmi)
517 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
519 _IMP_pmi.IMP_ATOM_HAS_BOOST_RANDOM_swigconstant(_IMP_pmi)
520 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_pmi.IMP_ATOM_HAS_BOOST_RANDOM
522 _IMP_pmi.IMP_ATOM_HAS_BOOST_REGEX_swigconstant(_IMP_pmi)
523 IMP_ATOM_HAS_BOOST_REGEX = _IMP_pmi.IMP_ATOM_HAS_BOOST_REGEX
525 _IMP_pmi.IMP_ATOM_HAS_BOOST_SYSTEM_swigconstant(_IMP_pmi)
526 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_ATOM_HAS_BOOST_SYSTEM
528 _IMP_pmi.IMP_ATOM_HAS_CGAL_swigconstant(_IMP_pmi)
529 IMP_ATOM_HAS_CGAL = _IMP_pmi.IMP_ATOM_HAS_CGAL
531 _IMP_pmi.IMP_ATOM_HAS_HDF5_swigconstant(_IMP_pmi)
532 IMP_ATOM_HAS_HDF5 = _IMP_pmi.IMP_ATOM_HAS_HDF5
534 _IMP_pmi.IMPATOM_SHOW_WARNINGS_swigconstant(_IMP_pmi)
535 IMPATOM_SHOW_WARNINGS = _IMP_pmi.IMPATOM_SHOW_WARNINGS
537 _IMP_pmi.IMP_ATOM_TYPE_INDEX_swigconstant(_IMP_pmi)
538 IMP_ATOM_TYPE_INDEX = _IMP_pmi.IMP_ATOM_TYPE_INDEX
540 _IMP_pmi.IMP_RESIDUE_TYPE_INDEX_swigconstant(_IMP_pmi)
541 IMP_RESIDUE_TYPE_INDEX = _IMP_pmi.IMP_RESIDUE_TYPE_INDEX
543 _IMP_pmi.IMP_HIERARCHY_TYPE_INDEX_swigconstant(_IMP_pmi)
544 IMP_HIERARCHY_TYPE_INDEX = _IMP_pmi.IMP_HIERARCHY_TYPE_INDEX
547 _IMP_pmi.IMP_EM_HAS_IMP_CGAL_swigconstant(_IMP_pmi)
548 IMP_EM_HAS_IMP_CGAL = _IMP_pmi.IMP_EM_HAS_IMP_CGAL
550 _IMP_pmi.IMP_EM_HAS_IMP_CONTAINER_swigconstant(_IMP_pmi)
551 IMP_EM_HAS_IMP_CONTAINER = _IMP_pmi.IMP_EM_HAS_IMP_CONTAINER
553 _IMP_pmi.IMP_EM_HAS_IMP_DISPLAY_swigconstant(_IMP_pmi)
554 IMP_EM_HAS_IMP_DISPLAY = _IMP_pmi.IMP_EM_HAS_IMP_DISPLAY
556 _IMP_pmi.IMP_EM_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_pmi)
557 IMP_EM_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi.IMP_EM_HAS_IMP_SCORE_FUNCTOR
559 _IMP_pmi.IMP_EM_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_pmi)
560 IMP_EM_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_EM_HAS_BOOST_FILESYSTEM
562 _IMP_pmi.IMP_EM_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_pmi)
563 IMP_EM_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_EM_HAS_BOOST_PROGRAMOPTIONS
565 _IMP_pmi.IMP_EM_HAS_BOOST_RANDOM_swigconstant(_IMP_pmi)
566 IMP_EM_HAS_BOOST_RANDOM = _IMP_pmi.IMP_EM_HAS_BOOST_RANDOM
568 _IMP_pmi.IMP_EM_HAS_BOOST_REGEX_swigconstant(_IMP_pmi)
569 IMP_EM_HAS_BOOST_REGEX = _IMP_pmi.IMP_EM_HAS_BOOST_REGEX
571 _IMP_pmi.IMP_EM_HAS_BOOST_SYSTEM_swigconstant(_IMP_pmi)
572 IMP_EM_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_EM_HAS_BOOST_SYSTEM
574 _IMP_pmi.IMP_EM_HAS_CGAL_swigconstant(_IMP_pmi)
575 IMP_EM_HAS_CGAL = _IMP_pmi.IMP_EM_HAS_CGAL
577 _IMP_pmi.IMP_EM_HAS_HDF5_swigconstant(_IMP_pmi)
578 IMP_EM_HAS_HDF5 = _IMP_pmi.IMP_EM_HAS_HDF5
580 _IMP_pmi.IMPEM_SHOW_WARNINGS_swigconstant(_IMP_pmi)
581 IMPEM_SHOW_WARNINGS = _IMP_pmi.IMPEM_SHOW_WARNINGS
584 _IMP_pmi.IMP_SAXS_HAS_IMP_CGAL_swigconstant(_IMP_pmi)
585 IMP_SAXS_HAS_IMP_CGAL = _IMP_pmi.IMP_SAXS_HAS_IMP_CGAL
587 _IMP_pmi.IMP_SAXS_HAS_IMP_CONTAINER_swigconstant(_IMP_pmi)
588 IMP_SAXS_HAS_IMP_CONTAINER = _IMP_pmi.IMP_SAXS_HAS_IMP_CONTAINER
590 _IMP_pmi.IMP_SAXS_HAS_IMP_DISPLAY_swigconstant(_IMP_pmi)
591 IMP_SAXS_HAS_IMP_DISPLAY = _IMP_pmi.IMP_SAXS_HAS_IMP_DISPLAY
593 _IMP_pmi.IMP_SAXS_HAS_IMP_KERNEL_swigconstant(_IMP_pmi)
594 IMP_SAXS_HAS_IMP_KERNEL = _IMP_pmi.IMP_SAXS_HAS_IMP_KERNEL
596 _IMP_pmi.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_pmi)
597 IMP_SAXS_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR
599 _IMP_pmi.IMP_SAXS_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_pmi)
600 IMP_SAXS_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_SAXS_HAS_BOOST_FILESYSTEM
602 _IMP_pmi.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_pmi)
603 IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS
605 _IMP_pmi.IMP_SAXS_HAS_BOOST_RANDOM_swigconstant(_IMP_pmi)
606 IMP_SAXS_HAS_BOOST_RANDOM = _IMP_pmi.IMP_SAXS_HAS_BOOST_RANDOM
608 _IMP_pmi.IMP_SAXS_HAS_BOOST_REGEX_swigconstant(_IMP_pmi)
609 IMP_SAXS_HAS_BOOST_REGEX = _IMP_pmi.IMP_SAXS_HAS_BOOST_REGEX
611 _IMP_pmi.IMP_SAXS_HAS_BOOST_SYSTEM_swigconstant(_IMP_pmi)
612 IMP_SAXS_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_SAXS_HAS_BOOST_SYSTEM
614 _IMP_pmi.IMP_SAXS_HAS_CGAL_swigconstant(_IMP_pmi)
615 IMP_SAXS_HAS_CGAL = _IMP_pmi.IMP_SAXS_HAS_CGAL
617 _IMP_pmi.IMP_SAXS_HAS_HDF5_swigconstant(_IMP_pmi)
618 IMP_SAXS_HAS_HDF5 = _IMP_pmi.IMP_SAXS_HAS_HDF5
620 _IMP_pmi.IMPSAXS_SHOW_WARNINGS_swigconstant(_IMP_pmi)
621 IMPSAXS_SHOW_WARNINGS = _IMP_pmi.IMPSAXS_SHOW_WARNINGS
624 _IMP_pmi.IMP_ISD_HAS_IMP_CGAL_swigconstant(_IMP_pmi)
625 IMP_ISD_HAS_IMP_CGAL = _IMP_pmi.IMP_ISD_HAS_IMP_CGAL
627 _IMP_pmi.IMP_ISD_HAS_IMP_DISPLAY_swigconstant(_IMP_pmi)
628 IMP_ISD_HAS_IMP_DISPLAY = _IMP_pmi.IMP_ISD_HAS_IMP_DISPLAY
630 _IMP_pmi.IMP_ISD_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_pmi)
631 IMP_ISD_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi.IMP_ISD_HAS_IMP_SCORE_FUNCTOR
633 _IMP_pmi.IMP_ISD_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_pmi)
634 IMP_ISD_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_ISD_HAS_BOOST_FILESYSTEM
636 _IMP_pmi.IMP_ISD_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_pmi)
637 IMP_ISD_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_ISD_HAS_BOOST_PROGRAMOPTIONS
639 _IMP_pmi.IMP_ISD_HAS_BOOST_RANDOM_swigconstant(_IMP_pmi)
640 IMP_ISD_HAS_BOOST_RANDOM = _IMP_pmi.IMP_ISD_HAS_BOOST_RANDOM
642 _IMP_pmi.IMP_ISD_HAS_BOOST_REGEX_swigconstant(_IMP_pmi)
643 IMP_ISD_HAS_BOOST_REGEX = _IMP_pmi.IMP_ISD_HAS_BOOST_REGEX
645 _IMP_pmi.IMP_ISD_HAS_BOOST_SYSTEM_swigconstant(_IMP_pmi)
646 IMP_ISD_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_ISD_HAS_BOOST_SYSTEM
648 _IMP_pmi.IMP_ISD_HAS_CGAL_swigconstant(_IMP_pmi)
649 IMP_ISD_HAS_CGAL = _IMP_pmi.IMP_ISD_HAS_CGAL
651 _IMP_pmi.IMP_ISD_HAS_HDF5_swigconstant(_IMP_pmi)
652 IMP_ISD_HAS_HDF5 = _IMP_pmi.IMP_ISD_HAS_HDF5
654 _IMP_pmi.IMPISD_SHOW_WARNINGS_swigconstant(_IMP_pmi)
655 IMPISD_SHOW_WARNINGS = _IMP_pmi.IMPISD_SHOW_WARNINGS
658 _IMP_pmi.IMP_PMI_HAS_IMP_ALGEBRA_swigconstant(_IMP_pmi)
659 IMP_PMI_HAS_IMP_ALGEBRA = _IMP_pmi.IMP_PMI_HAS_IMP_ALGEBRA
661 _IMP_pmi.IMP_PMI_HAS_IMP_ATOM_swigconstant(_IMP_pmi)
662 IMP_PMI_HAS_IMP_ATOM = _IMP_pmi.IMP_PMI_HAS_IMP_ATOM
664 _IMP_pmi.IMP_PMI_HAS_IMP_CGAL_swigconstant(_IMP_pmi)
665 IMP_PMI_HAS_IMP_CGAL = _IMP_pmi.IMP_PMI_HAS_IMP_CGAL
667 _IMP_pmi.IMP_PMI_HAS_IMP_DISPLAY_swigconstant(_IMP_pmi)
668 IMP_PMI_HAS_IMP_DISPLAY = _IMP_pmi.IMP_PMI_HAS_IMP_DISPLAY
670 _IMP_pmi.IMP_PMI_HAS_IMP_EM_swigconstant(_IMP_pmi)
671 IMP_PMI_HAS_IMP_EM = _IMP_pmi.IMP_PMI_HAS_IMP_EM
673 _IMP_pmi.IMP_PMI_HAS_IMP_KERNEL_swigconstant(_IMP_pmi)
674 IMP_PMI_HAS_IMP_KERNEL = _IMP_pmi.IMP_PMI_HAS_IMP_KERNEL
676 _IMP_pmi.IMP_PMI_HAS_IMP_SAXS_swigconstant(_IMP_pmi)
677 IMP_PMI_HAS_IMP_SAXS = _IMP_pmi.IMP_PMI_HAS_IMP_SAXS
679 _IMP_pmi.IMP_PMI_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_pmi)
680 IMP_PMI_HAS_IMP_SCORE_FUNCTOR = _IMP_pmi.IMP_PMI_HAS_IMP_SCORE_FUNCTOR
682 _IMP_pmi.IMP_PMI_HAS_IMP_STATISTICS_swigconstant(_IMP_pmi)
683 IMP_PMI_HAS_IMP_STATISTICS = _IMP_pmi.IMP_PMI_HAS_IMP_STATISTICS
685 _IMP_pmi.IMP_PMI_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_pmi)
686 IMP_PMI_HAS_BOOST_FILESYSTEM = _IMP_pmi.IMP_PMI_HAS_BOOST_FILESYSTEM
688 _IMP_pmi.IMP_PMI_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_pmi)
689 IMP_PMI_HAS_BOOST_PROGRAMOPTIONS = _IMP_pmi.IMP_PMI_HAS_BOOST_PROGRAMOPTIONS
691 _IMP_pmi.IMP_PMI_HAS_BOOST_RANDOM_swigconstant(_IMP_pmi)
692 IMP_PMI_HAS_BOOST_RANDOM = _IMP_pmi.IMP_PMI_HAS_BOOST_RANDOM
694 _IMP_pmi.IMP_PMI_HAS_BOOST_REGEX_swigconstant(_IMP_pmi)
695 IMP_PMI_HAS_BOOST_REGEX = _IMP_pmi.IMP_PMI_HAS_BOOST_REGEX
697 _IMP_pmi.IMP_PMI_HAS_BOOST_SYSTEM_swigconstant(_IMP_pmi)
698 IMP_PMI_HAS_BOOST_SYSTEM = _IMP_pmi.IMP_PMI_HAS_BOOST_SYSTEM
700 _IMP_pmi.IMP_PMI_HAS_CGAL_swigconstant(_IMP_pmi)
701 IMP_PMI_HAS_CGAL = _IMP_pmi.IMP_PMI_HAS_CGAL
703 _IMP_pmi.IMP_PMI_HAS_HDF5_swigconstant(_IMP_pmi)
704 IMP_PMI_HAS_HDF5 = _IMP_pmi.IMP_PMI_HAS_HDF5
706 _IMP_pmi.IMPPMI_SHOW_WARNINGS_swigconstant(_IMP_pmi)
707 IMPPMI_SHOW_WARNINGS = _IMP_pmi.IMPPMI_SHOW_WARNINGS
709 _object_types.append(
"MembraneRestraint")
712 def _object_cast_to_MembraneRestraint(o):
713 """_object_cast_to_MembraneRestraint(Object o) -> MembraneRestraint"""
714 return _IMP_pmi._object_cast_to_MembraneRestraint(o)
716 _object_types.append(
"CompositeRestraint")
719 def _object_cast_to_CompositeRestraint(o):
720 """_object_cast_to_CompositeRestraint(Object o) -> CompositeRestraint"""
721 return _IMP_pmi._object_cast_to_CompositeRestraint(o)
723 def Uncertainties(l=[]):
724 return [Uncertainty(x)
for x
in l]
725 _plural_types.append(
"Uncertainties")
728 _value_types.append(
"Uncertainty")
731 def Resolutions(l=[]):
732 return [Resolution(x)
for x
in l]
733 _plural_types.append(
"Resolutions")
736 _value_types.append(
"Resolution")
739 def Symmetrics(l=[]):
740 return [Symmetric(x)
for x
in l]
741 _plural_types.append(
"Symmetrics")
744 _value_types.append(
"Symmetric")
747 _object_types.append(
"SigmoidRestraintSphere")
750 def _object_cast_to_SigmoidRestraintSphere(o):
751 """_object_cast_to_SigmoidRestraintSphere(Object o) -> SigmoidRestraintSphere"""
752 return _IMP_pmi._object_cast_to_SigmoidRestraintSphere(o)
754 _object_types.append(
"TransformMover")
757 def _object_cast_to_TransformMover(o):
758 """_object_cast_to_TransformMover(Object o) -> TransformMover"""
759 return _IMP_pmi._object_cast_to_TransformMover(o)
761 """Proxy of C++ IMP::pmi::MembraneRestraint class"""
762 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
764 def __init__(self, m, z_nuisance, thickness, softness, plateau, linear):
765 """__init__(IMP::pmi::MembraneRestraint self, Model m, ParticleIndex z_nuisance, double thickness, double softness, double plateau, double linear) -> MembraneRestraint"""
766 this = _IMP_pmi.new_MembraneRestraint(m, z_nuisance, thickness, softness, plateau, linear)
768 self.this.append(this)
772 def add_particles_below(self, particles):
773 """add_particles_below(MembraneRestraint self, IMP::ParticleIndexes const & particles)"""
774 return _IMP_pmi.MembraneRestraint_add_particles_below(self, particles)
777 def add_particles_above(self, particles):
778 """add_particles_above(MembraneRestraint self, IMP::ParticleIndexes const & particles)"""
779 return _IMP_pmi.MembraneRestraint_add_particles_above(self, particles)
782 def add_particles_inside(self, particles):
783 """add_particles_inside(MembraneRestraint self, IMP::ParticleIndexes const & particles)"""
784 return _IMP_pmi.MembraneRestraint_add_particles_inside(self, particles)
787 def get_score(self, prob):
788 """get_score(MembraneRestraint self, double prob) -> double"""
789 return _IMP_pmi.MembraneRestraint_get_score(self, prob)
792 def get_probability_above(self, z, z_slope_center_upper):
793 """get_probability_above(MembraneRestraint self, double z, double z_slope_center_upper) -> double"""
794 return _IMP_pmi.MembraneRestraint_get_probability_above(self, z, z_slope_center_upper)
797 def get_score_above(self, z, z_slope_center_upper):
798 """get_score_above(MembraneRestraint self, double z, double z_slope_center_upper) -> double"""
799 return _IMP_pmi.MembraneRestraint_get_score_above(self, z, z_slope_center_upper)
802 def get_probability_below(self, z, z_slope_center_lower):
803 """get_probability_below(MembraneRestraint self, double z, double z_slope_center_lower) -> double"""
804 return _IMP_pmi.MembraneRestraint_get_probability_below(self, z, z_slope_center_lower)
807 def get_score_below(self, z, z_slope_center_lower):
808 """get_score_below(MembraneRestraint self, double z, double z_slope_center_lower) -> double"""
809 return _IMP_pmi.MembraneRestraint_get_score_below(self, z, z_slope_center_lower)
812 def get_score_inside(self, z, z_slope_center_lower, z_slope_center_upper):
813 """get_score_inside(MembraneRestraint self, double z, double z_slope_center_lower, double z_slope_center_upper) -> double"""
814 return _IMP_pmi.MembraneRestraint_get_score_inside(self, z, z_slope_center_lower, z_slope_center_upper)
818 """__str__(MembraneRestraint self) -> std::string"""
819 return _IMP_pmi.MembraneRestraint___str__(self)
823 """__repr__(MembraneRestraint self) -> std::string"""
824 return _IMP_pmi.MembraneRestraint___repr__(self)
829 return _object_cast_to_MembraneRestraint(o)
831 MembraneRestraint_swigregister = _IMP_pmi.MembraneRestraint_swigregister
832 MembraneRestraint_swigregister(MembraneRestraint)
835 """Proxy of C++ IMP::pmi::CompositeRestraint class"""
836 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
840 __init__(IMP::pmi::CompositeRestraint self, Model m, _ParticleIndexesAdaptor handle_particle_indexes, double coffd, double l, bool tabprob, double plateau, std::string name) -> CompositeRestraint
841 __init__(IMP::pmi::CompositeRestraint self, Model m, _ParticleIndexesAdaptor handle_particle_indexes, double coffd, double l, bool tabprob, double plateau) -> CompositeRestraint
843 this = _IMP_pmi.new_CompositeRestraint(*args)
845 self.this.append(this)
849 def add_composite_particle(self, pi):
850 """add_composite_particle(CompositeRestraint self, _ParticleIndexesAdaptor pi)"""
851 return _IMP_pmi.CompositeRestraint_add_composite_particle(self, pi)
854 def get_number_of_elements(self):
855 """get_number_of_elements(CompositeRestraint self) -> unsigned int"""
856 return _IMP_pmi.CompositeRestraint_get_number_of_elements(self)
859 def do_get_inputs(self):
860 """do_get_inputs(CompositeRestraint self) -> IMP::ModelObjectsTemp"""
861 return _IMP_pmi.CompositeRestraint_do_get_inputs(self)
864 def get_version_info(self):
865 """get_version_info(CompositeRestraint self) -> VersionInfo"""
866 return _IMP_pmi.CompositeRestraint_get_version_info(self)
869 def get_probability(self):
870 """get_probability(CompositeRestraint self) -> double"""
871 return _IMP_pmi.CompositeRestraint_get_probability(self)
875 """__str__(CompositeRestraint self) -> std::string"""
876 return _IMP_pmi.CompositeRestraint___str__(self)
880 """__repr__(CompositeRestraint self) -> std::string"""
881 return _IMP_pmi.CompositeRestraint___repr__(self)
886 return _object_cast_to_CompositeRestraint(o)
888 CompositeRestraint_swigregister = _IMP_pmi.CompositeRestraint_swigregister
889 CompositeRestraint_swigregister(CompositeRestraint)
892 """Proxy of C++ IMP::pmi::Uncertainty class"""
893 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
895 def get_uncertainty(self):
896 """get_uncertainty(Uncertainty self) -> IMP::Float"""
897 return _IMP_pmi.Uncertainty_get_uncertainty(self)
900 def set_uncertainty(self, d):
901 """set_uncertainty(Uncertainty self, IMP::Float d)"""
902 return _IMP_pmi.Uncertainty_set_uncertainty(self, d)
907 __init__(IMP::pmi::Uncertainty self) -> Uncertainty
908 __init__(IMP::pmi::Uncertainty self, Model m, ParticleIndex id) -> Uncertainty
909 __init__(IMP::pmi::Uncertainty self, _ParticleAdaptor d) -> Uncertainty
911 this = _IMP_pmi.new_Uncertainty(*args)
913 self.this.append(this)
917 def get_is_setup(*args):
919 get_is_setup(Model m, ParticleIndex pi) -> bool
920 get_is_setup(_ParticleAdaptor p) -> bool
922 return _IMP_pmi.Uncertainty_get_is_setup(*args)
924 get_is_setup = staticmethod(get_is_setup)
926 def show(self, *args):
928 show(Uncertainty self, _ostream out)
929 show(Uncertainty self)
931 return _IMP_pmi.Uncertainty_show(self, *args)
934 def setup_particle(*args):
936 setup_particle(Model m, ParticleIndex pi, IMP::Float uncertainty) -> Uncertainty
937 setup_particle(_ParticleAdaptor decorator, IMP::Float uncertainty) -> Uncertainty
939 return _IMP_pmi.Uncertainty_setup_particle(*args)
941 setup_particle = staticmethod(setup_particle)
943 def get_uncertainty_key():
944 """get_uncertainty_key() -> FloatKey"""
945 return _IMP_pmi.Uncertainty_get_uncertainty_key()
947 get_uncertainty_key = staticmethod(get_uncertainty_key)
949 def add_attribute(self, *args):
951 add_attribute(Uncertainty self, FloatKey k, IMP::Float v, bool opt)
952 add_attribute(Uncertainty self, FloatKey a0, IMP::Float a1)
953 add_attribute(Uncertainty self, IntKey a0, IMP::Int a1)
954 add_attribute(Uncertainty self, StringKey a0, IMP::String a1)
955 add_attribute(Uncertainty self, ParticleIndexKey a0, Particle a1)
956 add_attribute(Uncertainty self, ObjectKey a0, Object a1)
958 return _IMP_pmi.Uncertainty_add_attribute(self, *args)
961 def get_value(self, *args):
963 get_value(Uncertainty self, FloatKey a0) -> IMP::Float
964 get_value(Uncertainty self, IntKey a0) -> IMP::Int
965 get_value(Uncertainty self, StringKey a0) -> IMP::String
966 get_value(Uncertainty self, ParticleIndexKey a0) -> Particle
967 get_value(Uncertainty self, ObjectKey a0) -> Object
969 return _IMP_pmi.Uncertainty_get_value(self, *args)
972 def set_value(self, *args):
974 set_value(Uncertainty self, FloatKey a0, IMP::Float a1)
975 set_value(Uncertainty self, IntKey a0, IMP::Int a1)
976 set_value(Uncertainty self, StringKey a0, IMP::String a1)
977 set_value(Uncertainty self, ParticleIndexKey a0, Particle a1)
978 set_value(Uncertainty self, ObjectKey a0, Object a1)
980 return _IMP_pmi.Uncertainty_set_value(self, *args)
983 def remove_attribute(self, *args):
985 remove_attribute(Uncertainty self, FloatKey a0)
986 remove_attribute(Uncertainty self, IntKey a0)
987 remove_attribute(Uncertainty self, StringKey a0)
988 remove_attribute(Uncertainty self, ParticleIndexKey a0)
989 remove_attribute(Uncertainty self, ObjectKey a0)
991 return _IMP_pmi.Uncertainty_remove_attribute(self, *args)
994 def has_attribute(self, *args):
996 has_attribute(Uncertainty self, FloatKey a0) -> bool
997 has_attribute(Uncertainty self, IntKey a0) -> bool
998 has_attribute(Uncertainty self, StringKey a0) -> bool
999 has_attribute(Uncertainty self, ParticleIndexKey a0) -> bool
1000 has_attribute(Uncertainty self, ObjectKey a0) -> bool
1002 return _IMP_pmi.Uncertainty_has_attribute(self, *args)
1005 def get_derivative(self, a0):
1006 """get_derivative(Uncertainty self, FloatKey a0) -> double"""
1007 return _IMP_pmi.Uncertainty_get_derivative(self, a0)
1011 """get_name(Uncertainty self) -> std::string"""
1012 return _IMP_pmi.Uncertainty_get_name(self)
1015 def clear_caches(self):
1016 """clear_caches(Uncertainty self)"""
1017 return _IMP_pmi.Uncertainty_clear_caches(self)
1020 def set_name(self, a0):
1021 """set_name(Uncertainty self, std::string a0)"""
1022 return _IMP_pmi.Uncertainty_set_name(self, a0)
1026 """set_check_level(Uncertainty self, IMP::CheckLevel a0)"""
1027 return _IMP_pmi.Uncertainty_set_check_level(self, a0)
1030 def add_to_derivative(self, a0, a1, a2):
1031 """add_to_derivative(Uncertainty self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1032 return _IMP_pmi.Uncertainty_add_to_derivative(self, a0, a1, a2)
1035 def set_is_optimized(self, a0, a1):
1036 """set_is_optimized(Uncertainty self, FloatKey a0, bool a1)"""
1037 return _IMP_pmi.Uncertainty_set_is_optimized(self, a0, a1)
1040 def get_is_optimized(self, a0):
1041 """get_is_optimized(Uncertainty self, FloatKey a0) -> bool"""
1042 return _IMP_pmi.Uncertainty_get_is_optimized(self, a0)
1046 """get_check_level(Uncertainty self) -> IMP::CheckLevel"""
1047 return _IMP_pmi.Uncertainty_get_check_level(self)
1050 def __eq__(self, *args):
1052 __eq__(Uncertainty self, Uncertainty o) -> bool
1053 __eq__(Uncertainty self, Particle d) -> bool
1055 return _IMP_pmi.Uncertainty___eq__(self, *args)
1058 def __ne__(self, *args):
1060 __ne__(Uncertainty self, Uncertainty o) -> bool
1061 __ne__(Uncertainty self, Particle d) -> bool
1063 return _IMP_pmi.Uncertainty___ne__(self, *args)
1066 def __le__(self, *args):
1068 __le__(Uncertainty self, Uncertainty o) -> bool
1069 __le__(Uncertainty self, Particle d) -> bool
1071 return _IMP_pmi.Uncertainty___le__(self, *args)
1074 def __lt__(self, *args):
1076 __lt__(Uncertainty self, Uncertainty o) -> bool
1077 __lt__(Uncertainty self, Particle d) -> bool
1079 return _IMP_pmi.Uncertainty___lt__(self, *args)
1082 def __ge__(self, *args):
1084 __ge__(Uncertainty self, Uncertainty o) -> bool
1085 __ge__(Uncertainty self, Particle d) -> bool
1087 return _IMP_pmi.Uncertainty___ge__(self, *args)
1090 def __gt__(self, *args):
1092 __gt__(Uncertainty self, Uncertainty o) -> bool
1093 __gt__(Uncertainty self, Particle d) -> bool
1095 return _IMP_pmi.Uncertainty___gt__(self, *args)
1099 """__hash__(Uncertainty self) -> std::size_t"""
1100 return _IMP_pmi.Uncertainty___hash__(self)
1104 """__str__(Uncertainty self) -> std::string"""
1105 return _IMP_pmi.Uncertainty___str__(self)
1109 """__repr__(Uncertainty self) -> std::string"""
1110 return _IMP_pmi.Uncertainty___repr__(self)
1112 __swig_destroy__ = _IMP_pmi.delete_Uncertainty
1113 __del__ =
lambda self:
None
1114 Uncertainty_swigregister = _IMP_pmi.Uncertainty_swigregister
1115 Uncertainty_swigregister(Uncertainty)
1117 def Uncertainty_get_is_setup(*args):
1119 get_is_setup(Model m, ParticleIndex pi) -> bool
1120 Uncertainty_get_is_setup(_ParticleAdaptor p) -> bool
1122 return _IMP_pmi.Uncertainty_get_is_setup(*args)
1124 def Uncertainty_setup_particle(*args):
1126 setup_particle(Model m, ParticleIndex pi, IMP::Float uncertainty) -> Uncertainty
1127 Uncertainty_setup_particle(_ParticleAdaptor decorator, IMP::Float uncertainty) -> Uncertainty
1129 return _IMP_pmi.Uncertainty_setup_particle(*args)
1131 def Uncertainty_get_uncertainty_key():
1132 """Uncertainty_get_uncertainty_key() -> FloatKey"""
1133 return _IMP_pmi.Uncertainty_get_uncertainty_key()
1136 """Proxy of C++ IMP::pmi::Resolution class"""
1137 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1140 """get_resolution(Resolution self) -> IMP::Float"""
1141 return _IMP_pmi.Resolution_get_resolution(self)
1144 def set_resolution(self, d):
1145 """set_resolution(Resolution self, IMP::Float d)"""
1146 return _IMP_pmi.Resolution_set_resolution(self, d)
1151 __init__(IMP::pmi::Resolution self) -> Resolution
1152 __init__(IMP::pmi::Resolution self, Model m, ParticleIndex id) -> Resolution
1153 __init__(IMP::pmi::Resolution self, _ParticleAdaptor d) -> Resolution
1155 this = _IMP_pmi.new_Resolution(*args)
1157 self.this.append(this)
1161 def get_is_setup(*args):
1163 get_is_setup(Model m, ParticleIndex pi) -> bool
1164 get_is_setup(_ParticleAdaptor p) -> bool
1166 return _IMP_pmi.Resolution_get_is_setup(*args)
1168 get_is_setup = staticmethod(get_is_setup)
1170 def show(self, *args):
1172 show(Resolution self, _ostream out)
1173 show(Resolution self)
1175 return _IMP_pmi.Resolution_show(self, *args)
1178 def setup_particle(*args):
1180 setup_particle(Model m, ParticleIndex pi, IMP::Float resolution) -> Resolution
1181 setup_particle(_ParticleAdaptor decorator, IMP::Float resolution) -> Resolution
1183 return _IMP_pmi.Resolution_setup_particle(*args)
1185 setup_particle = staticmethod(setup_particle)
1187 def get_resolution_key():
1188 """get_resolution_key() -> FloatKey"""
1189 return _IMP_pmi.Resolution_get_resolution_key()
1191 get_resolution_key = staticmethod(get_resolution_key)
1193 def add_attribute(self, *args):
1195 add_attribute(Resolution self, FloatKey k, IMP::Float v, bool opt)
1196 add_attribute(Resolution self, FloatKey a0, IMP::Float a1)
1197 add_attribute(Resolution self, IntKey a0, IMP::Int a1)
1198 add_attribute(Resolution self, StringKey a0, IMP::String a1)
1199 add_attribute(Resolution self, ParticleIndexKey a0, Particle a1)
1200 add_attribute(Resolution self, ObjectKey a0, Object a1)
1202 return _IMP_pmi.Resolution_add_attribute(self, *args)
1205 def get_value(self, *args):
1207 get_value(Resolution self, FloatKey a0) -> IMP::Float
1208 get_value(Resolution self, IntKey a0) -> IMP::Int
1209 get_value(Resolution self, StringKey a0) -> IMP::String
1210 get_value(Resolution self, ParticleIndexKey a0) -> Particle
1211 get_value(Resolution self, ObjectKey a0) -> Object
1213 return _IMP_pmi.Resolution_get_value(self, *args)
1216 def set_value(self, *args):
1218 set_value(Resolution self, FloatKey a0, IMP::Float a1)
1219 set_value(Resolution self, IntKey a0, IMP::Int a1)
1220 set_value(Resolution self, StringKey a0, IMP::String a1)
1221 set_value(Resolution self, ParticleIndexKey a0, Particle a1)
1222 set_value(Resolution self, ObjectKey a0, Object a1)
1224 return _IMP_pmi.Resolution_set_value(self, *args)
1227 def remove_attribute(self, *args):
1229 remove_attribute(Resolution self, FloatKey a0)
1230 remove_attribute(Resolution self, IntKey a0)
1231 remove_attribute(Resolution self, StringKey a0)
1232 remove_attribute(Resolution self, ParticleIndexKey a0)
1233 remove_attribute(Resolution self, ObjectKey a0)
1235 return _IMP_pmi.Resolution_remove_attribute(self, *args)
1238 def has_attribute(self, *args):
1240 has_attribute(Resolution self, FloatKey a0) -> bool
1241 has_attribute(Resolution self, IntKey a0) -> bool
1242 has_attribute(Resolution self, StringKey a0) -> bool
1243 has_attribute(Resolution self, ParticleIndexKey a0) -> bool
1244 has_attribute(Resolution self, ObjectKey a0) -> bool
1246 return _IMP_pmi.Resolution_has_attribute(self, *args)
1249 def get_derivative(self, a0):
1250 """get_derivative(Resolution self, FloatKey a0) -> double"""
1251 return _IMP_pmi.Resolution_get_derivative(self, a0)
1255 """get_name(Resolution self) -> std::string"""
1256 return _IMP_pmi.Resolution_get_name(self)
1259 def clear_caches(self):
1260 """clear_caches(Resolution self)"""
1261 return _IMP_pmi.Resolution_clear_caches(self)
1264 def set_name(self, a0):
1265 """set_name(Resolution self, std::string a0)"""
1266 return _IMP_pmi.Resolution_set_name(self, a0)
1270 """set_check_level(Resolution self, IMP::CheckLevel a0)"""
1271 return _IMP_pmi.Resolution_set_check_level(self, a0)
1274 def add_to_derivative(self, a0, a1, a2):
1275 """add_to_derivative(Resolution self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1276 return _IMP_pmi.Resolution_add_to_derivative(self, a0, a1, a2)
1279 def set_is_optimized(self, a0, a1):
1280 """set_is_optimized(Resolution self, FloatKey a0, bool a1)"""
1281 return _IMP_pmi.Resolution_set_is_optimized(self, a0, a1)
1284 def get_is_optimized(self, a0):
1285 """get_is_optimized(Resolution self, FloatKey a0) -> bool"""
1286 return _IMP_pmi.Resolution_get_is_optimized(self, a0)
1290 """get_check_level(Resolution self) -> IMP::CheckLevel"""
1291 return _IMP_pmi.Resolution_get_check_level(self)
1294 def __eq__(self, *args):
1296 __eq__(Resolution self, Resolution o) -> bool
1297 __eq__(Resolution self, Particle d) -> bool
1299 return _IMP_pmi.Resolution___eq__(self, *args)
1302 def __ne__(self, *args):
1304 __ne__(Resolution self, Resolution o) -> bool
1305 __ne__(Resolution self, Particle d) -> bool
1307 return _IMP_pmi.Resolution___ne__(self, *args)
1310 def __le__(self, *args):
1312 __le__(Resolution self, Resolution o) -> bool
1313 __le__(Resolution self, Particle d) -> bool
1315 return _IMP_pmi.Resolution___le__(self, *args)
1318 def __lt__(self, *args):
1320 __lt__(Resolution self, Resolution o) -> bool
1321 __lt__(Resolution self, Particle d) -> bool
1323 return _IMP_pmi.Resolution___lt__(self, *args)
1326 def __ge__(self, *args):
1328 __ge__(Resolution self, Resolution o) -> bool
1329 __ge__(Resolution self, Particle d) -> bool
1331 return _IMP_pmi.Resolution___ge__(self, *args)
1334 def __gt__(self, *args):
1336 __gt__(Resolution self, Resolution o) -> bool
1337 __gt__(Resolution self, Particle d) -> bool
1339 return _IMP_pmi.Resolution___gt__(self, *args)
1343 """__hash__(Resolution self) -> std::size_t"""
1344 return _IMP_pmi.Resolution___hash__(self)
1348 """__str__(Resolution self) -> std::string"""
1349 return _IMP_pmi.Resolution___str__(self)
1353 """__repr__(Resolution self) -> std::string"""
1354 return _IMP_pmi.Resolution___repr__(self)
1356 __swig_destroy__ = _IMP_pmi.delete_Resolution
1357 __del__ =
lambda self:
None
1358 Resolution_swigregister = _IMP_pmi.Resolution_swigregister
1359 Resolution_swigregister(Resolution)
1361 def Resolution_get_is_setup(*args):
1363 get_is_setup(Model m, ParticleIndex pi) -> bool
1364 Resolution_get_is_setup(_ParticleAdaptor p) -> bool
1366 return _IMP_pmi.Resolution_get_is_setup(*args)
1368 def Resolution_setup_particle(*args):
1370 setup_particle(Model m, ParticleIndex pi, IMP::Float resolution) -> Resolution
1371 Resolution_setup_particle(_ParticleAdaptor decorator, IMP::Float resolution) -> Resolution
1373 return _IMP_pmi.Resolution_setup_particle(*args)
1375 def Resolution_get_resolution_key():
1376 """Resolution_get_resolution_key() -> FloatKey"""
1377 return _IMP_pmi.Resolution_get_resolution_key()
1380 """Proxy of C++ IMP::pmi::Symmetric class"""
1381 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1383 def get_symmetric(self):
1384 """get_symmetric(Symmetric self) -> IMP::Float"""
1385 return _IMP_pmi.Symmetric_get_symmetric(self)
1388 def set_symmetric(self, d):
1389 """set_symmetric(Symmetric self, IMP::Float d)"""
1390 return _IMP_pmi.Symmetric_set_symmetric(self, d)
1395 __init__(IMP::pmi::Symmetric self) -> Symmetric
1396 __init__(IMP::pmi::Symmetric self, Model m, ParticleIndex id) -> Symmetric
1397 __init__(IMP::pmi::Symmetric self, _ParticleAdaptor d) -> Symmetric
1399 this = _IMP_pmi.new_Symmetric(*args)
1401 self.this.append(this)
1405 def get_is_setup(*args):
1407 get_is_setup(Model m, ParticleIndex pi) -> bool
1408 get_is_setup(_ParticleAdaptor p) -> bool
1410 return _IMP_pmi.Symmetric_get_is_setup(*args)
1412 get_is_setup = staticmethod(get_is_setup)
1414 def show(self, *args):
1416 show(Symmetric self, _ostream out)
1417 show(Symmetric self)
1419 return _IMP_pmi.Symmetric_show(self, *args)
1422 def setup_particle(*args):
1424 setup_particle(Model m, ParticleIndex pi, IMP::Float symmetric) -> Symmetric
1425 setup_particle(_ParticleAdaptor decorator, IMP::Float symmetric) -> Symmetric
1427 return _IMP_pmi.Symmetric_setup_particle(*args)
1429 setup_particle = staticmethod(setup_particle)
1431 def get_symmetric_key():
1432 """get_symmetric_key() -> FloatKey"""
1433 return _IMP_pmi.Symmetric_get_symmetric_key()
1435 get_symmetric_key = staticmethod(get_symmetric_key)
1437 def add_attribute(self, *args):
1439 add_attribute(Symmetric self, FloatKey k, IMP::Float v, bool opt)
1440 add_attribute(Symmetric self, FloatKey a0, IMP::Float a1)
1441 add_attribute(Symmetric self, IntKey a0, IMP::Int a1)
1442 add_attribute(Symmetric self, StringKey a0, IMP::String a1)
1443 add_attribute(Symmetric self, ParticleIndexKey a0, Particle a1)
1444 add_attribute(Symmetric self, ObjectKey a0, Object a1)
1446 return _IMP_pmi.Symmetric_add_attribute(self, *args)
1449 def get_value(self, *args):
1451 get_value(Symmetric self, FloatKey a0) -> IMP::Float
1452 get_value(Symmetric self, IntKey a0) -> IMP::Int
1453 get_value(Symmetric self, StringKey a0) -> IMP::String
1454 get_value(Symmetric self, ParticleIndexKey a0) -> Particle
1455 get_value(Symmetric self, ObjectKey a0) -> Object
1457 return _IMP_pmi.Symmetric_get_value(self, *args)
1460 def set_value(self, *args):
1462 set_value(Symmetric self, FloatKey a0, IMP::Float a1)
1463 set_value(Symmetric self, IntKey a0, IMP::Int a1)
1464 set_value(Symmetric self, StringKey a0, IMP::String a1)
1465 set_value(Symmetric self, ParticleIndexKey a0, Particle a1)
1466 set_value(Symmetric self, ObjectKey a0, Object a1)
1468 return _IMP_pmi.Symmetric_set_value(self, *args)
1471 def remove_attribute(self, *args):
1473 remove_attribute(Symmetric self, FloatKey a0)
1474 remove_attribute(Symmetric self, IntKey a0)
1475 remove_attribute(Symmetric self, StringKey a0)
1476 remove_attribute(Symmetric self, ParticleIndexKey a0)
1477 remove_attribute(Symmetric self, ObjectKey a0)
1479 return _IMP_pmi.Symmetric_remove_attribute(self, *args)
1482 def has_attribute(self, *args):
1484 has_attribute(Symmetric self, FloatKey a0) -> bool
1485 has_attribute(Symmetric self, IntKey a0) -> bool
1486 has_attribute(Symmetric self, StringKey a0) -> bool
1487 has_attribute(Symmetric self, ParticleIndexKey a0) -> bool
1488 has_attribute(Symmetric self, ObjectKey a0) -> bool
1490 return _IMP_pmi.Symmetric_has_attribute(self, *args)
1493 def get_derivative(self, a0):
1494 """get_derivative(Symmetric self, FloatKey a0) -> double"""
1495 return _IMP_pmi.Symmetric_get_derivative(self, a0)
1499 """get_name(Symmetric self) -> std::string"""
1500 return _IMP_pmi.Symmetric_get_name(self)
1503 def clear_caches(self):
1504 """clear_caches(Symmetric self)"""
1505 return _IMP_pmi.Symmetric_clear_caches(self)
1508 def set_name(self, a0):
1509 """set_name(Symmetric self, std::string a0)"""
1510 return _IMP_pmi.Symmetric_set_name(self, a0)
1514 """set_check_level(Symmetric self, IMP::CheckLevel a0)"""
1515 return _IMP_pmi.Symmetric_set_check_level(self, a0)
1518 def add_to_derivative(self, a0, a1, a2):
1519 """add_to_derivative(Symmetric self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1520 return _IMP_pmi.Symmetric_add_to_derivative(self, a0, a1, a2)
1523 def set_is_optimized(self, a0, a1):
1524 """set_is_optimized(Symmetric self, FloatKey a0, bool a1)"""
1525 return _IMP_pmi.Symmetric_set_is_optimized(self, a0, a1)
1528 def get_is_optimized(self, a0):
1529 """get_is_optimized(Symmetric self, FloatKey a0) -> bool"""
1530 return _IMP_pmi.Symmetric_get_is_optimized(self, a0)
1534 """get_check_level(Symmetric self) -> IMP::CheckLevel"""
1535 return _IMP_pmi.Symmetric_get_check_level(self)
1538 def __eq__(self, *args):
1540 __eq__(Symmetric self, Symmetric o) -> bool
1541 __eq__(Symmetric self, Particle d) -> bool
1543 return _IMP_pmi.Symmetric___eq__(self, *args)
1546 def __ne__(self, *args):
1548 __ne__(Symmetric self, Symmetric o) -> bool
1549 __ne__(Symmetric self, Particle d) -> bool
1551 return _IMP_pmi.Symmetric___ne__(self, *args)
1554 def __le__(self, *args):
1556 __le__(Symmetric self, Symmetric o) -> bool
1557 __le__(Symmetric self, Particle d) -> bool
1559 return _IMP_pmi.Symmetric___le__(self, *args)
1562 def __lt__(self, *args):
1564 __lt__(Symmetric self, Symmetric o) -> bool
1565 __lt__(Symmetric self, Particle d) -> bool
1567 return _IMP_pmi.Symmetric___lt__(self, *args)
1570 def __ge__(self, *args):
1572 __ge__(Symmetric self, Symmetric o) -> bool
1573 __ge__(Symmetric self, Particle d) -> bool
1575 return _IMP_pmi.Symmetric___ge__(self, *args)
1578 def __gt__(self, *args):
1580 __gt__(Symmetric self, Symmetric o) -> bool
1581 __gt__(Symmetric self, Particle d) -> bool
1583 return _IMP_pmi.Symmetric___gt__(self, *args)
1587 """__hash__(Symmetric self) -> std::size_t"""
1588 return _IMP_pmi.Symmetric___hash__(self)
1592 """__str__(Symmetric self) -> std::string"""
1593 return _IMP_pmi.Symmetric___str__(self)
1597 """__repr__(Symmetric self) -> std::string"""
1598 return _IMP_pmi.Symmetric___repr__(self)
1600 __swig_destroy__ = _IMP_pmi.delete_Symmetric
1601 __del__ =
lambda self:
None
1602 Symmetric_swigregister = _IMP_pmi.Symmetric_swigregister
1603 Symmetric_swigregister(Symmetric)
1605 def Symmetric_get_is_setup(*args):
1607 get_is_setup(Model m, ParticleIndex pi) -> bool
1608 Symmetric_get_is_setup(_ParticleAdaptor p) -> bool
1610 return _IMP_pmi.Symmetric_get_is_setup(*args)
1612 def Symmetric_setup_particle(*args):
1614 setup_particle(Model m, ParticleIndex pi, IMP::Float symmetric) -> Symmetric
1615 Symmetric_setup_particle(_ParticleAdaptor decorator, IMP::Float symmetric) -> Symmetric
1617 return _IMP_pmi.Symmetric_setup_particle(*args)
1619 def Symmetric_get_symmetric_key():
1620 """Symmetric_get_symmetric_key() -> FloatKey"""
1621 return _IMP_pmi.Symmetric_get_symmetric_key()
1624 """Proxy of C++ IMP::pmi::SigmoidRestraintSphere class"""
1625 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1629 __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
1630 __init__(IMP::pmi::SigmoidRestraintSphere self, Model m, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2, double inflection, double slope, double amplitude, double line_slope_=0) -> SigmoidRestraintSphere
1631 __init__(IMP::pmi::SigmoidRestraintSphere self, Model m, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2, double inflection, double slope, double amplitude) -> SigmoidRestraintSphere
1633 this = _IMP_pmi.new_SigmoidRestraintSphere(*args)
1635 self.this.append(this)
1639 def set_amplitude(self, amplitude):
1640 """set_amplitude(SigmoidRestraintSphere self, double amplitude)"""
1641 return _IMP_pmi.SigmoidRestraintSphere_set_amplitude(self, amplitude)
1644 def increment_amplitude(self, amplitude):
1645 """increment_amplitude(SigmoidRestraintSphere self, double amplitude)"""
1646 return _IMP_pmi.SigmoidRestraintSphere_increment_amplitude(self, amplitude)
1649 def get_amplitude(self):
1650 """get_amplitude(SigmoidRestraintSphere self) -> double"""
1651 return _IMP_pmi.SigmoidRestraintSphere_get_amplitude(self)
1654 def do_get_inputs(self):
1655 """do_get_inputs(SigmoidRestraintSphere self) -> IMP::ModelObjectsTemp"""
1656 return _IMP_pmi.SigmoidRestraintSphere_do_get_inputs(self)
1659 def get_version_info(self):
1660 """get_version_info(SigmoidRestraintSphere self) -> VersionInfo"""
1661 return _IMP_pmi.SigmoidRestraintSphere_get_version_info(self)
1665 """__str__(SigmoidRestraintSphere self) -> std::string"""
1666 return _IMP_pmi.SigmoidRestraintSphere___str__(self)
1670 """__repr__(SigmoidRestraintSphere self) -> std::string"""
1671 return _IMP_pmi.SigmoidRestraintSphere___repr__(self)
1676 return _object_cast_to_SigmoidRestraintSphere(o)
1678 SigmoidRestraintSphere_swigregister = _IMP_pmi.SigmoidRestraintSphere_swigregister
1679 SigmoidRestraintSphere_swigregister(SigmoidRestraintSphere)
1682 """Proxy of C++ IMP::pmi::TransformMover class"""
1683 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1687 __init__(IMP::pmi::TransformMover self, Model m, IMP::Float max_translation, IMP::Float max_rotation) -> TransformMover
1688 __init__(IMP::pmi::TransformMover self, Model m, Vector3D axis, IMP::Float max_translation, IMP::Float max_rotation) -> TransformMover
1690 this = _IMP_pmi.new_TransformMover(*args)
1692 self.this.append(this)
1696 def add_xyz_particle(self, pi):
1697 """add_xyz_particle(TransformMover self, _ParticleIndexAdaptor pi)"""
1698 return _IMP_pmi.TransformMover_add_xyz_particle(self, pi)
1701 def add_rigid_body_particle(self, pi):
1702 """add_rigid_body_particle(TransformMover self, _ParticleIndexAdaptor pi)"""
1703 return _IMP_pmi.TransformMover_add_rigid_body_particle(self, pi)
1706 def set_maximum_translation(self, mt):
1707 """set_maximum_translation(TransformMover self, IMP::Float mt)"""
1708 return _IMP_pmi.TransformMover_set_maximum_translation(self, mt)
1711 def set_maximum_rotation(self, mr):
1712 """set_maximum_rotation(TransformMover self, IMP::Float mr)"""
1713 return _IMP_pmi.TransformMover_set_maximum_rotation(self, mr)
1716 def get_maximum_translation(self):
1717 """get_maximum_translation(TransformMover self) -> IMP::Float"""
1718 return _IMP_pmi.TransformMover_get_maximum_translation(self)
1721 def get_maximum_rotation(self):
1722 """get_maximum_rotation(TransformMover self) -> IMP::Float"""
1723 return _IMP_pmi.TransformMover_get_maximum_rotation(self)
1726 def get_last_transformation(self):
1727 """get_last_transformation(TransformMover self) -> Transformation3D"""
1728 return _IMP_pmi.TransformMover_get_last_transformation(self)
1731 def get_version_info(self):
1732 """get_version_info(TransformMover self) -> VersionInfo"""
1733 return _IMP_pmi.TransformMover_get_version_info(self)
1737 """__str__(TransformMover self) -> std::string"""
1738 return _IMP_pmi.TransformMover___str__(self)
1742 """__repr__(TransformMover self) -> std::string"""
1743 return _IMP_pmi.TransformMover___repr__(self)
1748 return _object_cast_to_TransformMover(o)
1750 TransformMover_swigregister = _IMP_pmi.TransformMover_swigregister
1751 TransformMover_swigregister(TransformMover)
1755 """create_elastic_network(IMP::Particles const & ps, IMP::Float dist_cutoff, IMP::Float strength) -> RestraintSet"""
1756 return _IMP_pmi.create_elastic_network(ps, dist_cutoff, strength)
1758 def get_bipartite_minimum_sphere_distance(m1, m2):
1759 """get_bipartite_minimum_sphere_distance(IMP::core::XYZRs const & m1, IMP::core::XYZRs const & m2) -> IMP::Float"""
1760 return _IMP_pmi.get_bipartite_minimum_sphere_distance(m1, m2)
1762 def get_list_of_bipartite_minimum_sphere_distance(pss):
1763 """get_list_of_bipartite_minimum_sphere_distance(IMP::ParticlesTemps const & pss) -> IMP::Floats"""
1764 return _IMP_pmi.get_list_of_bipartite_minimum_sphere_distance(pss)
1767 """get_parent_representation(Hierarchy h) -> Hierarchy"""
1768 return _IMP_pmi.get_parent_representation(h)
1771 """get_molecule_name_and_copy(Hierarchy h) -> std::string"""
1772 return _IMP_pmi.get_molecule_name_and_copy(h)
1775 """get_is_canonical(Hierarchy h) -> bool"""
1776 return _IMP_pmi.get_is_canonical(h)
1778 def get_module_version():
1779 """get_module_version() -> std::string const"""
1780 return _IMP_pmi.get_module_version()
1783 """get_example_path(std::string fname) -> std::string"""
1784 return _IMP_pmi.get_example_path(fname)
1787 """get_data_path(std::string fname) -> std::string"""
1788 return _IMP_pmi.get_data_path(fname)
1790 from .
import _version_check
1791 _version_check.check_version(get_module_version())
1792 __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.