11 from __future__
import print_function, division, absolute_import
17 from sys
import version_info
18 if version_info >= (2, 6, 0):
19 def swig_import_helper():
20 from os.path
import dirname
24 fp, pathname, description = imp.find_module(
'_IMP_isd', [dirname(__file__)])
30 _mod = imp.load_module(
'_IMP_isd', fp, pathname, description)
34 _IMP_isd = swig_import_helper()
35 del swig_import_helper
40 _swig_property = property
45 def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
46 if (name ==
"thisown"):
47 return self.this.own(value)
49 if type(value).__name__ ==
'SwigPyObject':
50 self.__dict__[name] = value
52 method = class_type.__swig_setmethods__.get(name,
None)
54 return method(self, value)
56 object.__setattr__(self, name, value)
58 raise AttributeError(
"You cannot add attributes to %s" % self)
61 def _swig_setattr(self, class_type, name, value):
62 return _swig_setattr_nondynamic(self, class_type, name, value, 0)
65 def _swig_getattr_nondynamic(self, class_type, name, static=1):
66 if (name ==
"thisown"):
67 return self.this.own()
68 method = class_type.__swig_getmethods__.get(name,
None)
72 return object.__getattr__(self, name)
74 raise AttributeError(name)
76 def _swig_getattr(self, class_type, name):
77 return _swig_getattr_nondynamic(self, class_type, name, 0)
82 strthis =
"proxy of " + self.this.__repr__()
85 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
90 except AttributeError:
97 def _swig_setattr_nondynamic_method(set):
98 def set_attr(self, name, value):
99 if (name ==
"thisown"):
100 return self.this.own(value)
101 if hasattr(self, name)
or (name ==
"this"):
102 set(self, name, value)
104 raise AttributeError(
"You cannot add attributes to %s" % self)
110 weakref_proxy = weakref.proxy
112 weakref_proxy =
lambda x: x
115 class IMP_ISD_SwigPyIterator(object):
116 """Proxy of C++ swig::IMP_ISD_SwigPyIterator class"""
117 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
119 def __init__(self, *args, **kwargs):
120 raise AttributeError(
"No constructor defined - class is abstract")
121 __repr__ = _swig_repr
122 __swig_destroy__ = _IMP_isd.delete_IMP_ISD_SwigPyIterator
123 __del__ =
lambda self:
None
126 """value(IMP_ISD_SwigPyIterator self) -> PyObject *"""
127 return _IMP_isd.IMP_ISD_SwigPyIterator_value(self)
132 incr(IMP_ISD_SwigPyIterator self, size_t n=1) -> IMP_ISD_SwigPyIterator
133 incr(IMP_ISD_SwigPyIterator self) -> IMP_ISD_SwigPyIterator
135 return _IMP_isd.IMP_ISD_SwigPyIterator_incr(self, n)
140 decr(IMP_ISD_SwigPyIterator self, size_t n=1) -> IMP_ISD_SwigPyIterator
141 decr(IMP_ISD_SwigPyIterator self) -> IMP_ISD_SwigPyIterator
143 return _IMP_isd.IMP_ISD_SwigPyIterator_decr(self, n)
146 def distance(self, x):
147 """distance(IMP_ISD_SwigPyIterator self, IMP_ISD_SwigPyIterator x) -> ptrdiff_t"""
148 return _IMP_isd.IMP_ISD_SwigPyIterator_distance(self, x)
152 """equal(IMP_ISD_SwigPyIterator self, IMP_ISD_SwigPyIterator x) -> bool"""
153 return _IMP_isd.IMP_ISD_SwigPyIterator_equal(self, x)
157 """copy(IMP_ISD_SwigPyIterator self) -> IMP_ISD_SwigPyIterator"""
158 return _IMP_isd.IMP_ISD_SwigPyIterator_copy(self)
162 """next(IMP_ISD_SwigPyIterator self) -> PyObject *"""
163 return _IMP_isd.IMP_ISD_SwigPyIterator_next(self)
167 """__next__(IMP_ISD_SwigPyIterator self) -> PyObject *"""
168 return _IMP_isd.IMP_ISD_SwigPyIterator___next__(self)
172 """previous(IMP_ISD_SwigPyIterator self) -> PyObject *"""
173 return _IMP_isd.IMP_ISD_SwigPyIterator_previous(self)
176 def advance(self, n):
177 """advance(IMP_ISD_SwigPyIterator self, ptrdiff_t n) -> IMP_ISD_SwigPyIterator"""
178 return _IMP_isd.IMP_ISD_SwigPyIterator_advance(self, n)
182 """__eq__(IMP_ISD_SwigPyIterator self, IMP_ISD_SwigPyIterator x) -> bool"""
183 return _IMP_isd.IMP_ISD_SwigPyIterator___eq__(self, x)
187 """__ne__(IMP_ISD_SwigPyIterator self, IMP_ISD_SwigPyIterator x) -> bool"""
188 return _IMP_isd.IMP_ISD_SwigPyIterator___ne__(self, x)
191 def __iadd__(self, n):
192 """__iadd__(IMP_ISD_SwigPyIterator self, ptrdiff_t n) -> IMP_ISD_SwigPyIterator"""
193 return _IMP_isd.IMP_ISD_SwigPyIterator___iadd__(self, n)
196 def __isub__(self, n):
197 """__isub__(IMP_ISD_SwigPyIterator self, ptrdiff_t n) -> IMP_ISD_SwigPyIterator"""
198 return _IMP_isd.IMP_ISD_SwigPyIterator___isub__(self, n)
201 def __add__(self, n):
202 """__add__(IMP_ISD_SwigPyIterator self, ptrdiff_t n) -> IMP_ISD_SwigPyIterator"""
203 return _IMP_isd.IMP_ISD_SwigPyIterator___add__(self, n)
206 def __sub__(self, *args):
208 __sub__(IMP_ISD_SwigPyIterator self, ptrdiff_t n) -> IMP_ISD_SwigPyIterator
209 __sub__(IMP_ISD_SwigPyIterator self, IMP_ISD_SwigPyIterator x) -> ptrdiff_t
211 return _IMP_isd.IMP_ISD_SwigPyIterator___sub__(self, *args)
215 IMP_ISD_SwigPyIterator_swigregister = _IMP_isd.IMP_ISD_SwigPyIterator_swigregister
216 IMP_ISD_SwigPyIterator_swigregister(IMP_ISD_SwigPyIterator)
225 _IMP_isd.IMP_DEBUG_swigconstant(_IMP_isd)
226 IMP_DEBUG = _IMP_isd.IMP_DEBUG
228 _IMP_isd.IMP_RELEASE_swigconstant(_IMP_isd)
229 IMP_RELEASE = _IMP_isd.IMP_RELEASE
231 _IMP_isd.IMP_SILENT_swigconstant(_IMP_isd)
232 IMP_SILENT = _IMP_isd.IMP_SILENT
234 _IMP_isd.IMP_PROGRESS_swigconstant(_IMP_isd)
235 IMP_PROGRESS = _IMP_isd.IMP_PROGRESS
237 _IMP_isd.IMP_TERSE_swigconstant(_IMP_isd)
238 IMP_TERSE = _IMP_isd.IMP_TERSE
240 _IMP_isd.IMP_VERBOSE_swigconstant(_IMP_isd)
241 IMP_VERBOSE = _IMP_isd.IMP_VERBOSE
243 _IMP_isd.IMP_MEMORY_swigconstant(_IMP_isd)
244 IMP_MEMORY = _IMP_isd.IMP_MEMORY
246 _IMP_isd.IMP_NONE_swigconstant(_IMP_isd)
247 IMP_NONE = _IMP_isd.IMP_NONE
249 _IMP_isd.IMP_USAGE_swigconstant(_IMP_isd)
250 IMP_USAGE = _IMP_isd.IMP_USAGE
252 _IMP_isd.IMP_INTERNAL_swigconstant(_IMP_isd)
253 IMP_INTERNAL = _IMP_isd.IMP_INTERNAL
255 _IMP_isd.IMP_KERNEL_HAS_LOG4CXX_swigconstant(_IMP_isd)
256 IMP_KERNEL_HAS_LOG4CXX = _IMP_isd.IMP_KERNEL_HAS_LOG4CXX
258 _IMP_isd.IMP_COMPILER_HAS_DEBUG_VECTOR_swigconstant(_IMP_isd)
259 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_isd.IMP_COMPILER_HAS_DEBUG_VECTOR
261 _IMP_isd.IMP_COMPILER_HAS_RANDOM_SHUFFLE_swigconstant(_IMP_isd)
262 IMP_COMPILER_HAS_RANDOM_SHUFFLE = _IMP_isd.IMP_COMPILER_HAS_RANDOM_SHUFFLE
264 _IMP_isd.IMP_COMPILER_HAS_THREE_WAY_swigconstant(_IMP_isd)
265 IMP_COMPILER_HAS_THREE_WAY = _IMP_isd.IMP_COMPILER_HAS_THREE_WAY
267 _IMP_isd.IMP_KERNEL_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
268 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_isd.IMP_KERNEL_HAS_BOOST_RANDOM
270 _IMP_isd.IMP_KERNEL_HAS_NUMPY_swigconstant(_IMP_isd)
271 IMP_KERNEL_HAS_NUMPY = _IMP_isd.IMP_KERNEL_HAS_NUMPY
273 _IMP_isd.IMP_KERNEL_HAS_GPERFTOOLS_swigconstant(_IMP_isd)
274 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_isd.IMP_KERNEL_HAS_GPERFTOOLS
276 _IMP_isd.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER_swigconstant(_IMP_isd)
277 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_isd.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
279 _IMP_isd.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER_swigconstant(_IMP_isd)
280 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_isd.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
282 _IMP_isd.IMPKERNEL_SHOW_WARNINGS_swigconstant(_IMP_isd)
283 IMPKERNEL_SHOW_WARNINGS = _IMP_isd.IMPKERNEL_SHOW_WARNINGS
286 class _DirectorObjects(object):
287 """@internal Simple class to keep references to director objects
288 to prevent premature deletion."""
291 def register(self, obj):
292 """Take a reference to a director object; will only work for
293 refcounted C++ classes"""
294 if hasattr(obj,
'get_ref_count'):
295 self._objects.append(obj)
297 """Only drop our reference and allow cleanup by Python if no other
298 Python references exist (we hold 3 references: one in self._objects,
299 one in x, and one in the argument list for getrefcount) *and* no
300 other C++ references exist (the Python object always holds one)"""
301 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
302 or x.get_ref_count() > 1]
306 def get_object_count(self):
307 """Get number of director objects (useful for testing only)"""
308 return len(self._objects)
309 _director_objects = _DirectorObjects()
311 class _ostream(object):
312 """Proxy of C++ std::ostream class"""
313 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
315 def __init__(self, *args, **kwargs):
316 raise AttributeError(
"No constructor defined")
317 __repr__ = _swig_repr
319 def write(self, osa_buf):
320 """write(_ostream self, char const * osa_buf)"""
321 return _IMP_isd._ostream_write(self, osa_buf)
323 _ostream_swigregister = _IMP_isd._ostream_swigregister
324 _ostream_swigregister(_ostream)
327 _IMP_isd.IMP_HAS_NOEXCEPT_swigconstant(_IMP_isd)
328 IMP_HAS_NOEXCEPT = _IMP_isd.IMP_HAS_NOEXCEPT
330 _IMP_isd.IMP_C_OPEN_BINARY_swigconstant(_IMP_isd)
331 IMP_C_OPEN_BINARY = _IMP_isd.IMP_C_OPEN_BINARY
334 _IMP_isd.IMP_CGAL_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_isd)
335 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_CGAL_HAS_BOOST_FILESYSTEM
337 _IMP_isd.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_isd)
338 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
340 _IMP_isd.IMP_CGAL_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
341 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_isd.IMP_CGAL_HAS_BOOST_RANDOM
343 _IMP_isd.IMP_CGAL_HAS_BOOST_SYSTEM_swigconstant(_IMP_isd)
344 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_isd.IMP_CGAL_HAS_BOOST_SYSTEM
346 _IMP_isd.IMP_CGAL_HAS_NUMPY_swigconstant(_IMP_isd)
347 IMP_CGAL_HAS_NUMPY = _IMP_isd.IMP_CGAL_HAS_NUMPY
349 _IMP_isd.IMPCGAL_SHOW_WARNINGS_swigconstant(_IMP_isd)
350 IMPCGAL_SHOW_WARNINGS = _IMP_isd.IMPCGAL_SHOW_WARNINGS
353 _IMP_isd.IMP_ALGEBRA_HAS_IMP_CGAL_swigconstant(_IMP_isd)
354 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_isd.IMP_ALGEBRA_HAS_IMP_CGAL
356 _IMP_isd.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_isd)
357 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
359 _IMP_isd.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_isd)
360 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
362 _IMP_isd.IMP_ALGEBRA_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
363 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_isd.IMP_ALGEBRA_HAS_BOOST_RANDOM
365 _IMP_isd.IMP_ALGEBRA_HAS_BOOST_SYSTEM_swigconstant(_IMP_isd)
366 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_isd.IMP_ALGEBRA_HAS_BOOST_SYSTEM
368 _IMP_isd.IMP_ALGEBRA_HAS_CGAL_swigconstant(_IMP_isd)
369 IMP_ALGEBRA_HAS_CGAL = _IMP_isd.IMP_ALGEBRA_HAS_CGAL
371 _IMP_isd.IMP_ALGEBRA_HAS_NUMPY_swigconstant(_IMP_isd)
372 IMP_ALGEBRA_HAS_NUMPY = _IMP_isd.IMP_ALGEBRA_HAS_NUMPY
374 _IMP_isd.IMP_ALGEBRA_HAS_ANN_swigconstant(_IMP_isd)
375 IMP_ALGEBRA_HAS_ANN = _IMP_isd.IMP_ALGEBRA_HAS_ANN
377 _IMP_isd.IMPALGEBRA_SHOW_WARNINGS_swigconstant(_IMP_isd)
378 IMPALGEBRA_SHOW_WARNINGS = _IMP_isd.IMPALGEBRA_SHOW_WARNINGS
381 _IMP_isd.IMP_DISPLAY_HAS_IMP_CGAL_swigconstant(_IMP_isd)
382 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_isd.IMP_DISPLAY_HAS_IMP_CGAL
384 _IMP_isd.IMP_DISPLAY_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_isd)
385 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
387 _IMP_isd.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_isd)
388 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
390 _IMP_isd.IMP_DISPLAY_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
391 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_isd.IMP_DISPLAY_HAS_BOOST_RANDOM
393 _IMP_isd.IMP_DISPLAY_HAS_BOOST_SYSTEM_swigconstant(_IMP_isd)
394 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_isd.IMP_DISPLAY_HAS_BOOST_SYSTEM
396 _IMP_isd.IMP_DISPLAY_HAS_CGAL_swigconstant(_IMP_isd)
397 IMP_DISPLAY_HAS_CGAL = _IMP_isd.IMP_DISPLAY_HAS_CGAL
399 _IMP_isd.IMP_DISPLAY_HAS_NUMPY_swigconstant(_IMP_isd)
400 IMP_DISPLAY_HAS_NUMPY = _IMP_isd.IMP_DISPLAY_HAS_NUMPY
402 _IMP_isd.IMPDISPLAY_SHOW_WARNINGS_swigconstant(_IMP_isd)
403 IMPDISPLAY_SHOW_WARNINGS = _IMP_isd.IMPDISPLAY_SHOW_WARNINGS
406 _IMP_isd.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL_swigconstant(_IMP_isd)
407 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
409 _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_isd)
410 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
412 _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_isd)
413 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
415 _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
416 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
418 _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM_swigconstant(_IMP_isd)
419 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
421 _IMP_isd.IMP_SCORE_FUNCTOR_HAS_CGAL_swigconstant(_IMP_isd)
422 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_CGAL
424 _IMP_isd.IMP_SCORE_FUNCTOR_HAS_HDF5_swigconstant(_IMP_isd)
425 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_HDF5
427 _IMP_isd.IMP_SCORE_FUNCTOR_HAS_NUMPY_swigconstant(_IMP_isd)
428 IMP_SCORE_FUNCTOR_HAS_NUMPY = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_NUMPY
430 _IMP_isd.IMPSCOREFUNCTOR_SHOW_WARNINGS_swigconstant(_IMP_isd)
431 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_isd.IMPSCOREFUNCTOR_SHOW_WARNINGS
434 _IMP_isd.IMP_STATISTICS_HAS_IMP_CGAL_swigconstant(_IMP_isd)
435 IMP_STATISTICS_HAS_IMP_CGAL = _IMP_isd.IMP_STATISTICS_HAS_IMP_CGAL
437 _IMP_isd.IMP_STATISTICS_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_isd)
438 IMP_STATISTICS_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_STATISTICS_HAS_BOOST_FILESYSTEM
440 _IMP_isd.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_isd)
441 IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS
443 _IMP_isd.IMP_STATISTICS_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
444 IMP_STATISTICS_HAS_BOOST_RANDOM = _IMP_isd.IMP_STATISTICS_HAS_BOOST_RANDOM
446 _IMP_isd.IMP_STATISTICS_HAS_BOOST_SYSTEM_swigconstant(_IMP_isd)
447 IMP_STATISTICS_HAS_BOOST_SYSTEM = _IMP_isd.IMP_STATISTICS_HAS_BOOST_SYSTEM
449 _IMP_isd.IMP_STATISTICS_HAS_CGAL_swigconstant(_IMP_isd)
450 IMP_STATISTICS_HAS_CGAL = _IMP_isd.IMP_STATISTICS_HAS_CGAL
452 _IMP_isd.IMP_STATISTICS_HAS_NUMPY_swigconstant(_IMP_isd)
453 IMP_STATISTICS_HAS_NUMPY = _IMP_isd.IMP_STATISTICS_HAS_NUMPY
455 _IMP_isd.IMPSTATISTICS_SHOW_WARNINGS_swigconstant(_IMP_isd)
456 IMPSTATISTICS_SHOW_WARNINGS = _IMP_isd.IMPSTATISTICS_SHOW_WARNINGS
459 _IMP_isd.IMP_CORE_HAS_IMP_CGAL_swigconstant(_IMP_isd)
460 IMP_CORE_HAS_IMP_CGAL = _IMP_isd.IMP_CORE_HAS_IMP_CGAL
462 _IMP_isd.IMP_CORE_HAS_IMP_KERNEL_swigconstant(_IMP_isd)
463 IMP_CORE_HAS_IMP_KERNEL = _IMP_isd.IMP_CORE_HAS_IMP_KERNEL
465 _IMP_isd.IMP_CORE_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_isd)
466 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_CORE_HAS_BOOST_FILESYSTEM
468 _IMP_isd.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_isd)
469 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
471 _IMP_isd.IMP_CORE_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
472 IMP_CORE_HAS_BOOST_RANDOM = _IMP_isd.IMP_CORE_HAS_BOOST_RANDOM
474 _IMP_isd.IMP_CORE_HAS_BOOST_SYSTEM_swigconstant(_IMP_isd)
475 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_isd.IMP_CORE_HAS_BOOST_SYSTEM
477 _IMP_isd.IMP_CORE_HAS_CGAL_swigconstant(_IMP_isd)
478 IMP_CORE_HAS_CGAL = _IMP_isd.IMP_CORE_HAS_CGAL
480 _IMP_isd.IMP_CORE_HAS_HDF5_swigconstant(_IMP_isd)
481 IMP_CORE_HAS_HDF5 = _IMP_isd.IMP_CORE_HAS_HDF5
483 _IMP_isd.IMP_CORE_HAS_NUMPY_swigconstant(_IMP_isd)
484 IMP_CORE_HAS_NUMPY = _IMP_isd.IMP_CORE_HAS_NUMPY
486 _IMP_isd.IMPCORE_SHOW_WARNINGS_swigconstant(_IMP_isd)
487 IMPCORE_SHOW_WARNINGS = _IMP_isd.IMPCORE_SHOW_WARNINGS
490 _IMP_isd.IMP_CONTAINER_HAS_IMP_ALGEBRA_swigconstant(_IMP_isd)
491 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_isd.IMP_CONTAINER_HAS_IMP_ALGEBRA
493 _IMP_isd.IMP_CONTAINER_HAS_IMP_CGAL_swigconstant(_IMP_isd)
494 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_isd.IMP_CONTAINER_HAS_IMP_CGAL
496 _IMP_isd.IMP_CONTAINER_HAS_IMP_DISPLAY_swigconstant(_IMP_isd)
497 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_isd.IMP_CONTAINER_HAS_IMP_DISPLAY
499 _IMP_isd.IMP_CONTAINER_HAS_IMP_KERNEL_swigconstant(_IMP_isd)
500 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_isd.IMP_CONTAINER_HAS_IMP_KERNEL
502 _IMP_isd.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_isd)
503 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_isd.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
505 _IMP_isd.IMP_CONTAINER_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_isd)
506 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
508 _IMP_isd.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_isd)
509 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
511 _IMP_isd.IMP_CONTAINER_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
512 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_isd.IMP_CONTAINER_HAS_BOOST_RANDOM
514 _IMP_isd.IMP_CONTAINER_HAS_BOOST_SYSTEM_swigconstant(_IMP_isd)
515 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_isd.IMP_CONTAINER_HAS_BOOST_SYSTEM
517 _IMP_isd.IMP_CONTAINER_HAS_CGAL_swigconstant(_IMP_isd)
518 IMP_CONTAINER_HAS_CGAL = _IMP_isd.IMP_CONTAINER_HAS_CGAL
520 _IMP_isd.IMP_CONTAINER_HAS_HDF5_swigconstant(_IMP_isd)
521 IMP_CONTAINER_HAS_HDF5 = _IMP_isd.IMP_CONTAINER_HAS_HDF5
523 _IMP_isd.IMP_CONTAINER_HAS_NUMPY_swigconstant(_IMP_isd)
524 IMP_CONTAINER_HAS_NUMPY = _IMP_isd.IMP_CONTAINER_HAS_NUMPY
526 _IMP_isd.IMP_CONTAINER_HAS_PYTHON_IHM_swigconstant(_IMP_isd)
527 IMP_CONTAINER_HAS_PYTHON_IHM = _IMP_isd.IMP_CONTAINER_HAS_PYTHON_IHM
529 _IMP_isd.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP_swigconstant(_IMP_isd)
530 IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP = _IMP_isd.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP
532 _IMP_isd.IMP_CONTAINER_HAS_ROBIN_MAP_swigconstant(_IMP_isd)
533 IMP_CONTAINER_HAS_ROBIN_MAP = _IMP_isd.IMP_CONTAINER_HAS_ROBIN_MAP
535 _IMP_isd.IMPCONTAINER_SHOW_WARNINGS_swigconstant(_IMP_isd)
536 IMPCONTAINER_SHOW_WARNINGS = _IMP_isd.IMPCONTAINER_SHOW_WARNINGS
539 _IMP_isd.IMP_ATOM_HAS_IMP_CGAL_swigconstant(_IMP_isd)
540 IMP_ATOM_HAS_IMP_CGAL = _IMP_isd.IMP_ATOM_HAS_IMP_CGAL
542 _IMP_isd.IMP_ATOM_HAS_IMP_KERNEL_swigconstant(_IMP_isd)
543 IMP_ATOM_HAS_IMP_KERNEL = _IMP_isd.IMP_ATOM_HAS_IMP_KERNEL
545 _IMP_isd.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_isd)
546 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_isd.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
548 _IMP_isd.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_isd)
549 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
551 _IMP_isd.IMP_ATOM_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
552 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_isd.IMP_ATOM_HAS_BOOST_RANDOM
554 _IMP_isd.IMP_ATOM_HAS_BOOST_REGEX_swigconstant(_IMP_isd)
555 IMP_ATOM_HAS_BOOST_REGEX = _IMP_isd.IMP_ATOM_HAS_BOOST_REGEX
557 _IMP_isd.IMP_ATOM_HAS_BOOST_SYSTEM_swigconstant(_IMP_isd)
558 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_isd.IMP_ATOM_HAS_BOOST_SYSTEM
560 _IMP_isd.IMP_ATOM_HAS_CGAL_swigconstant(_IMP_isd)
561 IMP_ATOM_HAS_CGAL = _IMP_isd.IMP_ATOM_HAS_CGAL
563 _IMP_isd.IMP_ATOM_HAS_HDF5_swigconstant(_IMP_isd)
564 IMP_ATOM_HAS_HDF5 = _IMP_isd.IMP_ATOM_HAS_HDF5
566 _IMP_isd.IMP_ATOM_HAS_NUMPY_swigconstant(_IMP_isd)
567 IMP_ATOM_HAS_NUMPY = _IMP_isd.IMP_ATOM_HAS_NUMPY
569 _IMP_isd.IMP_ATOM_HAS_PYTHON_IHM_swigconstant(_IMP_isd)
570 IMP_ATOM_HAS_PYTHON_IHM = _IMP_isd.IMP_ATOM_HAS_PYTHON_IHM
572 _IMP_isd.IMPATOM_SHOW_WARNINGS_swigconstant(_IMP_isd)
573 IMPATOM_SHOW_WARNINGS = _IMP_isd.IMPATOM_SHOW_WARNINGS
575 _IMP_isd.IMP_ATOM_TYPE_INDEX_swigconstant(_IMP_isd)
576 IMP_ATOM_TYPE_INDEX = _IMP_isd.IMP_ATOM_TYPE_INDEX
578 _IMP_isd.IMP_RESIDUE_TYPE_INDEX_swigconstant(_IMP_isd)
579 IMP_RESIDUE_TYPE_INDEX = _IMP_isd.IMP_RESIDUE_TYPE_INDEX
581 _IMP_isd.IMP_HIERARCHY_TYPE_INDEX_swigconstant(_IMP_isd)
582 IMP_HIERARCHY_TYPE_INDEX = _IMP_isd.IMP_HIERARCHY_TYPE_INDEX
584 _IMP_isd.IMP_CHAIN_TYPE_INDEX_swigconstant(_IMP_isd)
585 IMP_CHAIN_TYPE_INDEX = _IMP_isd.IMP_CHAIN_TYPE_INDEX
588 _IMP_isd.IMP_EM_HAS_IMP_CGAL_swigconstant(_IMP_isd)
589 IMP_EM_HAS_IMP_CGAL = _IMP_isd.IMP_EM_HAS_IMP_CGAL
591 _IMP_isd.IMP_EM_HAS_IMP_CONTAINER_swigconstant(_IMP_isd)
592 IMP_EM_HAS_IMP_CONTAINER = _IMP_isd.IMP_EM_HAS_IMP_CONTAINER
594 _IMP_isd.IMP_EM_HAS_IMP_DISPLAY_swigconstant(_IMP_isd)
595 IMP_EM_HAS_IMP_DISPLAY = _IMP_isd.IMP_EM_HAS_IMP_DISPLAY
597 _IMP_isd.IMP_EM_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_isd)
598 IMP_EM_HAS_IMP_SCORE_FUNCTOR = _IMP_isd.IMP_EM_HAS_IMP_SCORE_FUNCTOR
600 _IMP_isd.IMP_EM_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_isd)
601 IMP_EM_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_EM_HAS_BOOST_FILESYSTEM
603 _IMP_isd.IMP_EM_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_isd)
604 IMP_EM_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_EM_HAS_BOOST_PROGRAMOPTIONS
606 _IMP_isd.IMP_EM_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
607 IMP_EM_HAS_BOOST_RANDOM = _IMP_isd.IMP_EM_HAS_BOOST_RANDOM
609 _IMP_isd.IMP_EM_HAS_BOOST_REGEX_swigconstant(_IMP_isd)
610 IMP_EM_HAS_BOOST_REGEX = _IMP_isd.IMP_EM_HAS_BOOST_REGEX
612 _IMP_isd.IMP_EM_HAS_BOOST_SYSTEM_swigconstant(_IMP_isd)
613 IMP_EM_HAS_BOOST_SYSTEM = _IMP_isd.IMP_EM_HAS_BOOST_SYSTEM
615 _IMP_isd.IMP_EM_HAS_CGAL_swigconstant(_IMP_isd)
616 IMP_EM_HAS_CGAL = _IMP_isd.IMP_EM_HAS_CGAL
618 _IMP_isd.IMP_EM_HAS_HDF5_swigconstant(_IMP_isd)
619 IMP_EM_HAS_HDF5 = _IMP_isd.IMP_EM_HAS_HDF5
621 _IMP_isd.IMP_EM_HAS_NUMPY_swigconstant(_IMP_isd)
622 IMP_EM_HAS_NUMPY = _IMP_isd.IMP_EM_HAS_NUMPY
624 _IMP_isd.IMP_EM_HAS_PYTHON_IHM_swigconstant(_IMP_isd)
625 IMP_EM_HAS_PYTHON_IHM = _IMP_isd.IMP_EM_HAS_PYTHON_IHM
627 _IMP_isd.IMPEM_SHOW_WARNINGS_swigconstant(_IMP_isd)
628 IMPEM_SHOW_WARNINGS = _IMP_isd.IMPEM_SHOW_WARNINGS
631 _IMP_isd.IMP_SAXS_HAS_IMP_CGAL_swigconstant(_IMP_isd)
632 IMP_SAXS_HAS_IMP_CGAL = _IMP_isd.IMP_SAXS_HAS_IMP_CGAL
634 _IMP_isd.IMP_SAXS_HAS_IMP_CONTAINER_swigconstant(_IMP_isd)
635 IMP_SAXS_HAS_IMP_CONTAINER = _IMP_isd.IMP_SAXS_HAS_IMP_CONTAINER
637 _IMP_isd.IMP_SAXS_HAS_IMP_DISPLAY_swigconstant(_IMP_isd)
638 IMP_SAXS_HAS_IMP_DISPLAY = _IMP_isd.IMP_SAXS_HAS_IMP_DISPLAY
640 _IMP_isd.IMP_SAXS_HAS_IMP_KERNEL_swigconstant(_IMP_isd)
641 IMP_SAXS_HAS_IMP_KERNEL = _IMP_isd.IMP_SAXS_HAS_IMP_KERNEL
643 _IMP_isd.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_isd)
644 IMP_SAXS_HAS_IMP_SCORE_FUNCTOR = _IMP_isd.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR
646 _IMP_isd.IMP_SAXS_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_isd)
647 IMP_SAXS_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_SAXS_HAS_BOOST_FILESYSTEM
649 _IMP_isd.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_isd)
650 IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS
652 _IMP_isd.IMP_SAXS_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
653 IMP_SAXS_HAS_BOOST_RANDOM = _IMP_isd.IMP_SAXS_HAS_BOOST_RANDOM
655 _IMP_isd.IMP_SAXS_HAS_BOOST_REGEX_swigconstant(_IMP_isd)
656 IMP_SAXS_HAS_BOOST_REGEX = _IMP_isd.IMP_SAXS_HAS_BOOST_REGEX
658 _IMP_isd.IMP_SAXS_HAS_BOOST_SYSTEM_swigconstant(_IMP_isd)
659 IMP_SAXS_HAS_BOOST_SYSTEM = _IMP_isd.IMP_SAXS_HAS_BOOST_SYSTEM
661 _IMP_isd.IMP_SAXS_HAS_CGAL_swigconstant(_IMP_isd)
662 IMP_SAXS_HAS_CGAL = _IMP_isd.IMP_SAXS_HAS_CGAL
664 _IMP_isd.IMP_SAXS_HAS_HDF5_swigconstant(_IMP_isd)
665 IMP_SAXS_HAS_HDF5 = _IMP_isd.IMP_SAXS_HAS_HDF5
667 _IMP_isd.IMP_SAXS_HAS_NUMPY_swigconstant(_IMP_isd)
668 IMP_SAXS_HAS_NUMPY = _IMP_isd.IMP_SAXS_HAS_NUMPY
670 _IMP_isd.IMP_SAXS_HAS_PYTHON_IHM_swigconstant(_IMP_isd)
671 IMP_SAXS_HAS_PYTHON_IHM = _IMP_isd.IMP_SAXS_HAS_PYTHON_IHM
673 _IMP_isd.IMPSAXS_SHOW_WARNINGS_swigconstant(_IMP_isd)
674 IMPSAXS_SHOW_WARNINGS = _IMP_isd.IMPSAXS_SHOW_WARNINGS
677 _IMP_isd.IMP_ISD_HAS_IMP_CGAL_swigconstant(_IMP_isd)
678 IMP_ISD_HAS_IMP_CGAL = _IMP_isd.IMP_ISD_HAS_IMP_CGAL
680 _IMP_isd.IMP_ISD_HAS_IMP_DISPLAY_swigconstant(_IMP_isd)
681 IMP_ISD_HAS_IMP_DISPLAY = _IMP_isd.IMP_ISD_HAS_IMP_DISPLAY
683 _IMP_isd.IMP_ISD_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_isd)
684 IMP_ISD_HAS_IMP_SCORE_FUNCTOR = _IMP_isd.IMP_ISD_HAS_IMP_SCORE_FUNCTOR
686 _IMP_isd.IMP_ISD_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_isd)
687 IMP_ISD_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_ISD_HAS_BOOST_FILESYSTEM
689 _IMP_isd.IMP_ISD_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_isd)
690 IMP_ISD_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_ISD_HAS_BOOST_PROGRAMOPTIONS
692 _IMP_isd.IMP_ISD_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
693 IMP_ISD_HAS_BOOST_RANDOM = _IMP_isd.IMP_ISD_HAS_BOOST_RANDOM
695 _IMP_isd.IMP_ISD_HAS_BOOST_REGEX_swigconstant(_IMP_isd)
696 IMP_ISD_HAS_BOOST_REGEX = _IMP_isd.IMP_ISD_HAS_BOOST_REGEX
698 _IMP_isd.IMP_ISD_HAS_BOOST_SYSTEM_swigconstant(_IMP_isd)
699 IMP_ISD_HAS_BOOST_SYSTEM = _IMP_isd.IMP_ISD_HAS_BOOST_SYSTEM
701 _IMP_isd.IMP_ISD_HAS_CGAL_swigconstant(_IMP_isd)
702 IMP_ISD_HAS_CGAL = _IMP_isd.IMP_ISD_HAS_CGAL
704 _IMP_isd.IMP_ISD_HAS_HDF5_swigconstant(_IMP_isd)
705 IMP_ISD_HAS_HDF5 = _IMP_isd.IMP_ISD_HAS_HDF5
707 _IMP_isd.IMP_ISD_HAS_NUMPY_swigconstant(_IMP_isd)
708 IMP_ISD_HAS_NUMPY = _IMP_isd.IMP_ISD_HAS_NUMPY
710 _IMP_isd.IMP_ISD_HAS_PYTHON_IHM_swigconstant(_IMP_isd)
711 IMP_ISD_HAS_PYTHON_IHM = _IMP_isd.IMP_ISD_HAS_PYTHON_IHM
713 _IMP_isd.IMPISD_SHOW_WARNINGS_swigconstant(_IMP_isd)
714 IMPISD_SHOW_WARNINGS = _IMP_isd.IMPISD_SHOW_WARNINGS
716 _object_types.append(
"ISDRestraint")
719 def _object_cast_to_ISDRestraint(o):
720 """_object_cast_to_ISDRestraint(Object o) -> ISDRestraint"""
721 return _IMP_isd._object_cast_to_ISDRestraint(o)
723 _object_types.append(
"CrossLinkMSRestraint")
726 def _object_cast_to_CrossLinkMSRestraint(o):
727 """_object_cast_to_CrossLinkMSRestraint(Object o) -> CrossLinkMSRestraint"""
728 return _IMP_isd._object_cast_to_CrossLinkMSRestraint(o)
730 _object_types.append(
"LogWrapper")
733 def _object_cast_to_LogWrapper(o):
734 """_object_cast_to_LogWrapper(Object o) -> LogWrapper"""
735 return _IMP_isd._object_cast_to_LogWrapper(o)
737 _object_types.append(
"UniformPrior")
740 def _object_cast_to_UniformPrior(o):
741 """_object_cast_to_UniformPrior(Object o) -> UniformPrior"""
742 return _IMP_isd._object_cast_to_UniformPrior(o)
744 _object_types.append(
"JeffreysRestraint")
747 def _object_cast_to_JeffreysRestraint(o):
748 """_object_cast_to_JeffreysRestraint(Object o) -> JeffreysRestraint"""
749 return _IMP_isd._object_cast_to_JeffreysRestraint(o)
751 _object_types.append(
"NormalSigmaPCRestraint")
754 def _object_cast_to_NormalSigmaPCRestraint(o):
755 """_object_cast_to_NormalSigmaPCRestraint(Object o) -> NormalSigmaPCRestraint"""
756 return _IMP_isd._object_cast_to_NormalSigmaPCRestraint(o)
758 _object_types.append(
"vonMisesKappaJeffreysRestraint")
761 def _object_cast_to_vonMisesKappaJeffreysRestraint(o):
762 """_object_cast_to_vonMisesKappaJeffreysRestraint(Object o) -> vonMisesKappaJeffreysRestraint"""
763 return _IMP_isd._object_cast_to_vonMisesKappaJeffreysRestraint(o)
765 _object_types.append(
"vonMisesKappaConjugateRestraint")
768 def _object_cast_to_vonMisesKappaConjugateRestraint(o):
769 """_object_cast_to_vonMisesKappaConjugateRestraint(Object o) -> vonMisesKappaConjugateRestraint"""
770 return _IMP_isd._object_cast_to_vonMisesKappaConjugateRestraint(o)
772 _object_types.append(
"Distribution")
775 def _object_cast_to_Distribution(o):
776 """_object_cast_to_Distribution(Object o) -> Distribution"""
777 return _IMP_isd._object_cast_to_Distribution(o)
779 _object_types.append(
"OneDimensionalDistribution")
782 def _object_cast_to_OneDimensionalDistribution(o):
783 """_object_cast_to_OneDimensionalDistribution(Object o) -> OneDimensionalDistribution"""
784 return _IMP_isd._object_cast_to_OneDimensionalDistribution(o)
786 _object_types.append(
"OneDimensionalSufficientDistribution")
789 def _object_cast_to_OneDimensionalSufficientDistribution(o):
790 """_object_cast_to_OneDimensionalSufficientDistribution(Object o) -> OneDimensionalSufficientDistribution"""
791 return _IMP_isd._object_cast_to_OneDimensionalSufficientDistribution(o)
793 _object_types.append(
"FNormal")
796 def _object_cast_to_FNormal(o):
797 """_object_cast_to_FNormal(Object o) -> FNormal"""
798 return _IMP_isd._object_cast_to_FNormal(o)
800 _object_types.append(
"FStudentT")
803 def _object_cast_to_FStudentT(o):
804 """_object_cast_to_FStudentT(Object o) -> FStudentT"""
805 return _IMP_isd._object_cast_to_FStudentT(o)
807 _object_types.append(
"vonMises")
810 def _object_cast_to_vonMises(o):
811 """_object_cast_to_vonMises(Object o) -> vonMises"""
812 return _IMP_isd._object_cast_to_vonMises(o)
814 _object_types.append(
"vonMisesSufficient")
817 def _object_cast_to_vonMisesSufficient(o):
818 """_object_cast_to_vonMisesSufficient(Object o) -> vonMisesSufficient"""
819 return _IMP_isd._object_cast_to_vonMisesSufficient(o)
821 _object_types.append(
"PenalizedComplexityPrior")
824 def _object_cast_to_PenalizedComplexityPrior(o):
825 """_object_cast_to_PenalizedComplexityPrior(Object o) -> PenalizedComplexityPrior"""
826 return _IMP_isd._object_cast_to_PenalizedComplexityPrior(o)
829 return [Nuisance(x)
for x
in l]
830 _plural_types.append(
"Nuisances")
833 _value_types.append(
"Nuisance")
837 return [Scale(x)
for x
in l]
838 _plural_types.append(
"Scales")
841 _value_types.append(
"Scale")
844 def Switchings(l=[]):
845 return [Switching(x)
for x
in l]
846 _plural_types.append(
"Switchings")
849 _value_types.append(
"Switching")
852 _object_types.append(
"NOERestraint")
855 def _object_cast_to_NOERestraint(o):
856 """_object_cast_to_NOERestraint(Object o) -> NOERestraint"""
857 return _IMP_isd._object_cast_to_NOERestraint(o)
860 return [Weight(x)
for x
in l]
861 _plural_types.append(
"Weights")
864 _value_types.append(
"Weight")
867 _object_types.append(
"GaussianRestraint")
870 def _object_cast_to_GaussianRestraint(o):
871 """_object_cast_to_GaussianRestraint(Object o) -> GaussianRestraint"""
872 return _IMP_isd._object_cast_to_GaussianRestraint(o)
874 _object_types.append(
"StudentTRestraint")
877 def _object_cast_to_StudentTRestraint(o):
878 """_object_cast_to_StudentTRestraint(Object o) -> StudentTRestraint"""
879 return _IMP_isd._object_cast_to_StudentTRestraint(o)
881 _object_types.append(
"LognormalRestraint")
884 def _object_cast_to_LognormalRestraint(o):
885 """_object_cast_to_LognormalRestraint(Object o) -> LognormalRestraint"""
886 return _IMP_isd._object_cast_to_LognormalRestraint(o)
888 _object_types.append(
"LognormalAmbiguousRestraint")
891 def _object_cast_to_LognormalAmbiguousRestraint(o):
892 """_object_cast_to_LognormalAmbiguousRestraint(Object o) -> LognormalAmbiguousRestraint"""
893 return _IMP_isd._object_cast_to_LognormalAmbiguousRestraint(o)
895 _object_types.append(
"AmbiguousNOERestraint")
898 def _object_cast_to_AmbiguousNOERestraint(o):
899 """_object_cast_to_AmbiguousNOERestraint(Object o) -> AmbiguousNOERestraint"""
900 return _IMP_isd._object_cast_to_AmbiguousNOERestraint(o)
902 _object_types.append(
"MarginalNOERestraint")
905 def _object_cast_to_MarginalNOERestraint(o):
906 """_object_cast_to_MarginalNOERestraint(Object o) -> MarginalNOERestraint"""
907 return _IMP_isd._object_cast_to_MarginalNOERestraint(o)
909 _object_types.append(
"MarginalHBondRestraint")
912 def _object_cast_to_MarginalHBondRestraint(o):
913 """_object_cast_to_MarginalHBondRestraint(Object o) -> MarginalHBondRestraint"""
914 return _IMP_isd._object_cast_to_MarginalHBondRestraint(o)
916 _object_types.append(
"TALOSRestraint")
919 def _object_cast_to_TALOSRestraint(o):
920 """_object_cast_to_TALOSRestraint(Object o) -> TALOSRestraint"""
921 return _IMP_isd._object_cast_to_TALOSRestraint(o)
923 _object_types.append(
"RepulsiveDistancePairScore")
926 def _object_cast_to_RepulsiveDistancePairScore(o):
927 """_object_cast_to_RepulsiveDistancePairScore(Object o) -> RepulsiveDistancePairScore"""
928 return _IMP_isd._object_cast_to_RepulsiveDistancePairScore(o)
930 _object_types.append(
"AmbiguousRestraint")
933 def _object_cast_to_AmbiguousRestraint(o):
934 """_object_cast_to_AmbiguousRestraint(Object o) -> AmbiguousRestraint"""
935 return _IMP_isd._object_cast_to_AmbiguousRestraint(o)
937 _object_types.append(
"UnivariateFunction")
940 def _object_cast_to_UnivariateFunction(o):
941 """_object_cast_to_UnivariateFunction(Object o) -> UnivariateFunction"""
942 return _IMP_isd._object_cast_to_UnivariateFunction(o)
944 _object_types.append(
"Linear1DFunction")
947 def _object_cast_to_Linear1DFunction(o):
948 """_object_cast_to_Linear1DFunction(Object o) -> Linear1DFunction"""
949 return _IMP_isd._object_cast_to_Linear1DFunction(o)
951 _object_types.append(
"GeneralizedGuinierPorodFunction")
954 def _object_cast_to_GeneralizedGuinierPorodFunction(o):
955 """_object_cast_to_GeneralizedGuinierPorodFunction(Object o) -> GeneralizedGuinierPorodFunction"""
956 return _IMP_isd._object_cast_to_GeneralizedGuinierPorodFunction(o)
958 _object_types.append(
"BivariateFunction")
961 def _object_cast_to_BivariateFunction(o):
962 """_object_cast_to_BivariateFunction(Object o) -> BivariateFunction"""
963 return _IMP_isd._object_cast_to_BivariateFunction(o)
965 _object_types.append(
"Covariance1DFunction")
968 def _object_cast_to_Covariance1DFunction(o):
969 """_object_cast_to_Covariance1DFunction(Object o) -> Covariance1DFunction"""
970 return _IMP_isd._object_cast_to_Covariance1DFunction(o)
972 _object_types.append(
"GaussianProcessInterpolation")
975 def _object_cast_to_GaussianProcessInterpolation(o):
976 """_object_cast_to_GaussianProcessInterpolation(Object o) -> GaussianProcessInterpolation"""
977 return _IMP_isd._object_cast_to_GaussianProcessInterpolation(o)
979 _object_types.append(
"GaussianProcessInterpolationRestraint")
982 def _object_cast_to_GaussianProcessInterpolationRestraint(o):
983 """_object_cast_to_GaussianProcessInterpolationRestraint(Object o) -> GaussianProcessInterpolationRestraint"""
984 return _IMP_isd._object_cast_to_GaussianProcessInterpolationRestraint(o)
986 _object_types.append(
"MolecularDynamics")
989 _object_types.append(
"MolecularDynamicsMover")
992 def _object_cast_to_MolecularDynamicsMover(o):
993 """_object_cast_to_MolecularDynamicsMover(Object o) -> MolecularDynamicsMover"""
994 return _IMP_isd._object_cast_to_MolecularDynamicsMover(o)
996 _object_types.append(
"HybridMonteCarlo")
999 def _object_cast_to_HybridMonteCarlo(o):
1000 """_object_cast_to_HybridMonteCarlo(Object o) -> HybridMonteCarlo"""
1001 return _IMP_isd._object_cast_to_HybridMonteCarlo(o)
1003 _object_types.append(
"FretData")
1006 def _object_cast_to_FretData(o):
1007 """_object_cast_to_FretData(Object o) -> FretData"""
1008 return _IMP_isd._object_cast_to_FretData(o)
1010 _object_types.append(
"FretRestraint")
1013 def _object_cast_to_FretRestraint(o):
1014 """_object_cast_to_FretRestraint(Object o) -> FretRestraint"""
1015 return _IMP_isd._object_cast_to_FretRestraint(o)
1017 _object_types.append(
"CrossLinkData")
1020 def _object_cast_to_CrossLinkData(o):
1021 """_object_cast_to_CrossLinkData(Object o) -> CrossLinkData"""
1022 return _IMP_isd._object_cast_to_CrossLinkData(o)
1024 _object_types.append(
"CysteineCrossLinkData")
1027 def _object_cast_to_CysteineCrossLinkData(o):
1028 """_object_cast_to_CysteineCrossLinkData(Object o) -> CysteineCrossLinkData"""
1029 return _IMP_isd._object_cast_to_CysteineCrossLinkData(o)
1031 _object_types.append(
"CysteineCrossLinkRestraint")
1034 def _object_cast_to_CysteineCrossLinkRestraint(o):
1035 """_object_cast_to_CysteineCrossLinkRestraint(Object o) -> CysteineCrossLinkRestraint"""
1036 return _IMP_isd._object_cast_to_CysteineCrossLinkRestraint(o)
1038 _object_types.append(
"WeightMover")
1041 def _object_cast_to_WeightMover(o):
1042 """_object_cast_to_WeightMover(Object o) -> WeightMover"""
1043 return _IMP_isd._object_cast_to_WeightMover(o)
1045 _object_types.append(
"WeightRestraint")
1048 def _object_cast_to_WeightRestraint(o):
1049 """_object_cast_to_WeightRestraint(Object o) -> WeightRestraint"""
1050 return _IMP_isd._object_cast_to_WeightRestraint(o)
1052 _object_types.append(
"AtomicCrossLinkMSRestraint")
1055 def _object_cast_to_AtomicCrossLinkMSRestraint(o):
1056 """_object_cast_to_AtomicCrossLinkMSRestraint(Object o) -> AtomicCrossLinkMSRestraint"""
1057 return _IMP_isd._object_cast_to_AtomicCrossLinkMSRestraint(o)
1059 _object_types.append(
"GaussianEMRestraint")
1062 def _object_cast_to_GaussianEMRestraint(o):
1063 """_object_cast_to_GaussianEMRestraint(Object o) -> GaussianEMRestraint"""
1064 return _IMP_isd._object_cast_to_GaussianEMRestraint(o)
1066 _object_types.append(
"GaussianAnchorEMRestraint")
1069 def _object_cast_to_GaussianAnchorEMRestraint(o):
1070 """_object_cast_to_GaussianAnchorEMRestraint(Object o) -> GaussianAnchorEMRestraint"""
1071 return _IMP_isd._object_cast_to_GaussianAnchorEMRestraint(o)
1073 _object_types.append(
"GammaPrior")
1076 def _object_cast_to_GammaPrior(o):
1077 """_object_cast_to_GammaPrior(Object o) -> GammaPrior"""
1078 return _IMP_isd._object_cast_to_GammaPrior(o)
1080 def create_model_and_particles():
1085 for i
in range(0,100):
1089 d.set_coordinates_are_optimized(
True)
1093 """Proxy of C++ IMP::isd::ISDRestraint class"""
1094 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1096 def __init__(self, m, name):
1097 """__init__(IMP::isd::ISDRestraint self, Model m, std::string name) -> ISDRestraint"""
1098 if self.__class__ == ISDRestraint:
1102 this = _IMP_isd.new_ISDRestraint(_self, m, name)
1104 self.this.append(this)
1108 if self.__class__ != ISDRestraint:
1109 _director_objects.register(self)
1114 def get_probability(self):
1115 """get_probability(ISDRestraint self) -> double"""
1116 return _IMP_isd.ISDRestraint_get_probability(self)
1119 def unprotected_evaluate(self, accum):
1120 """unprotected_evaluate(ISDRestraint self, DerivativeAccumulator accum) -> double"""
1121 return _IMP_isd.ISDRestraint_unprotected_evaluate(self, accum)
1125 """do_get_inputs(ISDRestraint self) -> IMP::ModelObjectsTemp"""
1126 return _IMP_isd.ISDRestraint_do_get_inputs(self)
1129 def get_type_name(self):
1130 """get_type_name(ISDRestraint self) -> std::string"""
1131 return _IMP_isd.ISDRestraint_get_type_name(self)
1135 """get_version_info(ISDRestraint self) -> VersionInfo"""
1136 return _IMP_isd.ISDRestraint_get_version_info(self)
1140 """__str__(ISDRestraint self) -> std::string"""
1141 return _IMP_isd.ISDRestraint___str__(self)
1145 """__repr__(ISDRestraint self) -> std::string"""
1146 return _IMP_isd.ISDRestraint___repr__(self)
1151 return _object_cast_to_ISDRestraint(o)
1154 def get_type_name(self):
1155 return self.__class__.__name__
1156 def do_show(self, out):
1159 if"IMP::isd" ==
"IMP":
1160 return VersionInfo(self.__module__,
1167 return _object_cast_to_ISDRestraint(o)
1169 def __disown__(self):
1171 _IMP_isd.disown_ISDRestraint(self)
1172 return weakref_proxy(self)
1175 """do_destroy(ISDRestraint self)"""
1176 return _IMP_isd.ISDRestraint_do_destroy(self)
1179 def handle_set_has_required_score_states(self, arg0):
1180 """handle_set_has_required_score_states(ISDRestraint self, bool arg0)"""
1181 return _IMP_isd.ISDRestraint_handle_set_has_required_score_states(self, arg0)
1185 """do_get_outputs(ISDRestraint self) -> IMP::ModelObjectsTemp"""
1186 return _IMP_isd.ISDRestraint_do_get_outputs(self)
1189 def do_get_interactions(self):
1190 """do_get_interactions(ISDRestraint self) -> IMP::ModelObjectsTemps"""
1191 return _IMP_isd.ISDRestraint_do_get_interactions(self)
1194 def do_create_decomposition(self):
1195 """do_create_decomposition(ISDRestraint self) -> IMP::Restraints"""
1196 return _IMP_isd.ISDRestraint_do_create_decomposition(self)
1199 def do_create_current_decomposition(self):
1200 """do_create_current_decomposition(ISDRestraint self) -> IMP::Restraints"""
1201 return _IMP_isd.ISDRestraint_do_create_current_decomposition(self)
1204 def do_add_score_and_derivatives(self, sa):
1205 """do_add_score_and_derivatives(ISDRestraint self, ScoreAccumulator sa)"""
1206 return _IMP_isd.ISDRestraint_do_add_score_and_derivatives(self, sa)
1209 def do_add_score_and_derivatives_moved(self, sa, moved_pis, reset_pis):
1210 """do_add_score_and_derivatives_moved(ISDRestraint self, ScoreAccumulator sa, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
1211 return _IMP_isd.ISDRestraint_do_add_score_and_derivatives_moved(self, sa, moved_pis, reset_pis)
1213 ISDRestraint_swigregister = _IMP_isd.ISDRestraint_swigregister
1214 ISDRestraint_swigregister(ISDRestraint)
1217 """Proxy of C++ IMP::isd::CrossLinkMSRestraint class"""
1218 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1220 def __init__(self, *args):
1222 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length, bool get_log_prob=False, std::string name) -> CrossLinkMSRestraint
1223 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length, bool get_log_prob=False) -> CrossLinkMSRestraint
1224 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length) -> CrossLinkMSRestraint
1225 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, _ParticleIndexAdaptor lengthi, bool get_log_prob=False, std::string name) -> CrossLinkMSRestraint
1226 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, _ParticleIndexAdaptor lengthi, bool get_log_prob=False) -> CrossLinkMSRestraint
1227 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, _ParticleIndexAdaptor lengthi) -> CrossLinkMSRestraint
1228 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length, double slope, bool get_log_prob=False, std::string name) -> CrossLinkMSRestraint
1229 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length, double slope, bool get_log_prob=False) -> CrossLinkMSRestraint
1230 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length, double slope) -> CrossLinkMSRestraint
1232 this = _IMP_isd.new_CrossLinkMSRestraint(*args)
1234 self.this.append(this)
1238 def add_contribution(self, pps, sigmas, psi):
1239 """add_contribution(CrossLinkMSRestraint self, IMP::ParticleIndexPair const & pps, IMP::ParticleIndexPair const & sigmas, ParticleIndex psi)"""
1240 return _IMP_isd.CrossLinkMSRestraint_add_contribution(self, pps, sigmas, psi)
1243 def get_probability(self):
1244 """get_probability(CrossLinkMSRestraint self) -> double"""
1245 return _IMP_isd.CrossLinkMSRestraint_get_probability(self)
1248 def get_length(self):
1249 """get_length(CrossLinkMSRestraint self) -> double"""
1250 return _IMP_isd.CrossLinkMSRestraint_get_length(self)
1253 def get_slope(self):
1254 """get_slope(CrossLinkMSRestraint self) -> double"""
1255 return _IMP_isd.CrossLinkMSRestraint_get_slope(self)
1258 def get_contribution_sigma_indexes(self, i):
1259 """get_contribution_sigma_indexes(CrossLinkMSRestraint self, int i) -> IMP::ParticleIndexPair"""
1260 return _IMP_isd.CrossLinkMSRestraint_get_contribution_sigma_indexes(self, i)
1263 def get_contribution_psi_index(self, i):
1264 """get_contribution_psi_index(CrossLinkMSRestraint self, int i) -> ParticleIndex"""
1265 return _IMP_isd.CrossLinkMSRestraint_get_contribution_psi_index(self, i)
1268 def get_contribution_particle_indexes(self, i):
1269 """get_contribution_particle_indexes(CrossLinkMSRestraint self, int i) -> IMP::ParticleIndexPair"""
1270 return _IMP_isd.CrossLinkMSRestraint_get_contribution_particle_indexes(self, i)
1273 def get_number_of_contributions(self):
1274 """get_number_of_contributions(CrossLinkMSRestraint self) -> unsigned int"""
1275 return _IMP_isd.CrossLinkMSRestraint_get_number_of_contributions(self)
1279 """do_get_inputs(CrossLinkMSRestraint self) -> IMP::ModelObjectsTemp"""
1280 return _IMP_isd.CrossLinkMSRestraint_do_get_inputs(self)
1284 """get_version_info(CrossLinkMSRestraint self) -> VersionInfo"""
1285 return _IMP_isd.CrossLinkMSRestraint_get_version_info(self)
1289 """__str__(CrossLinkMSRestraint self) -> std::string"""
1290 return _IMP_isd.CrossLinkMSRestraint___str__(self)
1294 """__repr__(CrossLinkMSRestraint self) -> std::string"""
1295 return _IMP_isd.CrossLinkMSRestraint___repr__(self)
1300 return _object_cast_to_CrossLinkMSRestraint(o)
1302 CrossLinkMSRestraint_swigregister = _IMP_isd.CrossLinkMSRestraint_swigregister
1303 CrossLinkMSRestraint_swigregister(CrossLinkMSRestraint)
1306 """Proxy of C++ IMP::isd::LogWrapper class"""
1307 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1309 def __init__(self, *args):
1311 __init__(IMP::isd::LogWrapper self, Model m, double weight, std::string const & name) -> LogWrapper
1312 __init__(IMP::isd::LogWrapper self, Model m, double weight) -> LogWrapper
1313 __init__(IMP::isd::LogWrapper self, Model m, std::string const & name) -> LogWrapper
1314 __init__(IMP::isd::LogWrapper self, Model m) -> LogWrapper
1315 __init__(IMP::isd::LogWrapper self, IMP::RestraintsTemp const & rs, double weight, std::string const & name) -> LogWrapper
1316 __init__(IMP::isd::LogWrapper self, IMP::RestraintsTemp const & rs, double weight) -> LogWrapper
1318 this = _IMP_isd.new_LogWrapper(*args)
1320 self.this.append(this)
1324 def do_add_score_and_derivatives(self, sa):
1325 """do_add_score_and_derivatives(LogWrapper self, ScoreAccumulator sa)"""
1326 return _IMP_isd.LogWrapper_do_add_score_and_derivatives(self, sa)
1329 def do_add_score_and_derivatives_moved(self, sa, moved_pis, reset_pis):
1330 """do_add_score_and_derivatives_moved(LogWrapper self, ScoreAccumulator sa, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
1331 return _IMP_isd.LogWrapper_do_add_score_and_derivatives_moved(self, sa, moved_pis, reset_pis)
1335 """__str__(LogWrapper self) -> std::string"""
1336 return _IMP_isd.LogWrapper___str__(self)
1340 """__repr__(LogWrapper self) -> std::string"""
1341 return _IMP_isd.LogWrapper___repr__(self)
1346 return _object_cast_to_LogWrapper(o)
1348 LogWrapper_swigregister = _IMP_isd.LogWrapper_swigregister
1349 LogWrapper_swigregister(LogWrapper)
1352 """Proxy of C++ IMP::isd::UniformPrior class"""
1353 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1355 def __init__(self, *args):
1357 __init__(IMP::isd::UniformPrior self, Model m, Particle p, IMP::Float k, IMP::Float upperb, IMP::Float lowerb, std::string name) -> UniformPrior
1358 __init__(IMP::isd::UniformPrior self, Model m, Particle p, IMP::Float k, IMP::Float upperb, IMP::Float lowerb) -> UniformPrior
1360 this = _IMP_isd.new_UniformPrior(*args)
1362 self.this.append(this)
1367 """do_get_inputs(UniformPrior self) -> IMP::ModelObjectsTemp"""
1368 return _IMP_isd.UniformPrior_do_get_inputs(self)
1372 """get_version_info(UniformPrior self) -> VersionInfo"""
1373 return _IMP_isd.UniformPrior_get_version_info(self)
1376 def get_probability(self):
1377 """get_probability(UniformPrior self) -> double"""
1378 return _IMP_isd.UniformPrior_get_probability(self)
1382 """__str__(UniformPrior self) -> std::string"""
1383 return _IMP_isd.UniformPrior___str__(self)
1387 """__repr__(UniformPrior self) -> std::string"""
1388 return _IMP_isd.UniformPrior___repr__(self)
1393 return _object_cast_to_UniformPrior(o)
1395 UniformPrior_swigregister = _IMP_isd.UniformPrior_swigregister
1396 UniformPrior_swigregister(UniformPrior)
1399 """Proxy of C++ IMP::isd::Nuisance class"""
1400 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1402 def __init__(self, *args):
1404 __init__(IMP::isd::Nuisance self) -> Nuisance
1405 __init__(IMP::isd::Nuisance self, Model m, ParticleIndex id) -> Nuisance
1406 __init__(IMP::isd::Nuisance self, _ParticleAdaptor d) -> Nuisance
1408 this = _IMP_isd.new_Nuisance(*args)
1410 self.this.append(this)
1414 def show(self, *args):
1416 show(Nuisance self, _ostream out)
1419 return _IMP_isd.Nuisance_show(self, *args)
1422 def setup_particle(*args):
1424 setup_particle(Model m, ParticleIndex pi) -> Nuisance
1425 setup_particle(_ParticleAdaptor decorator) -> Nuisance
1426 setup_particle(Model m, ParticleIndex pi, double nuisance) -> Nuisance
1427 setup_particle(_ParticleAdaptor decorator, double nuisance) -> Nuisance
1429 return _IMP_isd.Nuisance_setup_particle(*args)
1431 setup_particle = staticmethod(setup_particle)
1433 def get_is_setup(*args):
1435 get_is_setup(_ParticleAdaptor p) -> bool
1436 get_is_setup(Model m, ParticleIndex pi) -> bool
1438 return _IMP_isd.Nuisance_get_is_setup(*args)
1440 get_is_setup = staticmethod(get_is_setup)
1442 def get_nuisance_key():
1443 """get_nuisance_key() -> FloatKey"""
1444 return _IMP_isd.Nuisance_get_nuisance_key()
1446 get_nuisance_key = staticmethod(get_nuisance_key)
1448 def get_nuisance(self):
1449 """get_nuisance(Nuisance self) -> IMP::Float"""
1450 return _IMP_isd.Nuisance_get_nuisance(self)
1453 def set_nuisance(self, d):
1454 """set_nuisance(Nuisance self, IMP::Float d)"""
1455 return _IMP_isd.Nuisance_set_nuisance(self, d)
1458 def get_has_lower(self):
1459 """get_has_lower(Nuisance self) -> bool"""
1460 return _IMP_isd.Nuisance_get_has_lower(self)
1463 def get_lower(self):
1464 """get_lower(Nuisance self) -> IMP::Float"""
1465 return _IMP_isd.Nuisance_get_lower(self)
1468 def get_lower_key():
1469 """get_lower_key() -> FloatKey"""
1470 return _IMP_isd.Nuisance_get_lower_key()
1472 get_lower_key = staticmethod(get_lower_key)
1474 def get_lower_particle_key():
1475 """get_lower_particle_key() -> ParticleIndexKey"""
1476 return _IMP_isd.Nuisance_get_lower_particle_key()
1478 get_lower_particle_key = staticmethod(get_lower_particle_key)
1480 def set_lower(self, *args):
1482 set_lower(Nuisance self, IMP::Float d)
1483 set_lower(Nuisance self, Particle d)
1485 return _IMP_isd.Nuisance_set_lower(self, *args)
1488 def remove_lower(self):
1489 """remove_lower(Nuisance self)"""
1490 return _IMP_isd.Nuisance_remove_lower(self)
1493 def get_has_upper(self):
1494 """get_has_upper(Nuisance self) -> bool"""
1495 return _IMP_isd.Nuisance_get_has_upper(self)
1498 def get_upper(self):
1499 """get_upper(Nuisance self) -> IMP::Float"""
1500 return _IMP_isd.Nuisance_get_upper(self)
1503 def get_upper_key():
1504 """get_upper_key() -> FloatKey"""
1505 return _IMP_isd.Nuisance_get_upper_key()
1507 get_upper_key = staticmethod(get_upper_key)
1509 def get_upper_particle_key():
1510 """get_upper_particle_key() -> ParticleIndexKey"""
1511 return _IMP_isd.Nuisance_get_upper_particle_key()
1513 get_upper_particle_key = staticmethod(get_upper_particle_key)
1515 def set_upper(self, *args):
1517 set_upper(Nuisance self, IMP::Float d)
1518 set_upper(Nuisance self, Particle d)
1520 return _IMP_isd.Nuisance_set_upper(self, *args)
1523 def remove_upper(self):
1524 """remove_upper(Nuisance self)"""
1525 return _IMP_isd.Nuisance_remove_upper(self)
1528 def get_nuisance_derivative(self):
1529 """get_nuisance_derivative(Nuisance self) -> IMP::Float"""
1530 return _IMP_isd.Nuisance_get_nuisance_derivative(self)
1533 def add_to_nuisance_derivative(self, d, accum):
1534 """add_to_nuisance_derivative(Nuisance self, IMP::Float d, DerivativeAccumulator accum)"""
1535 return _IMP_isd.Nuisance_add_to_nuisance_derivative(self, d, accum)
1538 def get_nuisance_is_optimized(self):
1539 """get_nuisance_is_optimized(Nuisance self) -> bool"""
1540 return _IMP_isd.Nuisance_get_nuisance_is_optimized(self)
1543 def set_nuisance_is_optimized(self, val):
1544 """set_nuisance_is_optimized(Nuisance self, bool val)"""
1545 return _IMP_isd.Nuisance_set_nuisance_is_optimized(self, val)
1548 def add_attribute(self, *args):
1550 add_attribute(Nuisance self, FloatKey k, IMP::Float v, bool opt)
1551 add_attribute(Nuisance self, FloatKey a0, IMP::Float a1)
1552 add_attribute(Nuisance self, IntKey a0, IMP::Int a1)
1553 add_attribute(Nuisance self, FloatsKey a0, IMP::Floats a1)
1554 add_attribute(Nuisance self, IntsKey a0, IMP::Ints a1)
1555 add_attribute(Nuisance self, StringKey a0, IMP::String a1)
1556 add_attribute(Nuisance self, ParticleIndexKey a0, Particle a1)
1557 add_attribute(Nuisance self, ObjectKey a0, Object a1)
1559 return _IMP_isd.Nuisance_add_attribute(self, *args)
1562 def get_value(self, *args):
1564 get_value(Nuisance self, FloatKey a0) -> IMP::Float
1565 get_value(Nuisance self, IntKey a0) -> IMP::Int
1566 get_value(Nuisance self, FloatsKey a0) -> IMP::Floats
1567 get_value(Nuisance self, IntsKey a0) -> IMP::Ints
1568 get_value(Nuisance self, StringKey a0) -> IMP::String
1569 get_value(Nuisance self, ParticleIndexKey a0) -> Particle
1570 get_value(Nuisance self, ObjectKey a0) -> Object
1572 return _IMP_isd.Nuisance_get_value(self, *args)
1575 def set_value(self, *args):
1577 set_value(Nuisance self, FloatKey a0, IMP::Float a1)
1578 set_value(Nuisance self, IntKey a0, IMP::Int a1)
1579 set_value(Nuisance self, FloatsKey a0, IMP::Floats a1)
1580 set_value(Nuisance self, IntsKey a0, IMP::Ints a1)
1581 set_value(Nuisance self, StringKey a0, IMP::String a1)
1582 set_value(Nuisance self, ParticleIndexKey a0, Particle a1)
1583 set_value(Nuisance self, ObjectKey a0, Object a1)
1585 return _IMP_isd.Nuisance_set_value(self, *args)
1588 def remove_attribute(self, *args):
1590 remove_attribute(Nuisance self, FloatKey a0)
1591 remove_attribute(Nuisance self, IntKey a0)
1592 remove_attribute(Nuisance self, FloatsKey a0)
1593 remove_attribute(Nuisance self, IntsKey a0)
1594 remove_attribute(Nuisance self, StringKey a0)
1595 remove_attribute(Nuisance self, ParticleIndexKey a0)
1596 remove_attribute(Nuisance self, ObjectKey a0)
1598 return _IMP_isd.Nuisance_remove_attribute(self, *args)
1601 def has_attribute(self, *args):
1603 has_attribute(Nuisance self, FloatKey a0) -> bool
1604 has_attribute(Nuisance self, IntKey a0) -> bool
1605 has_attribute(Nuisance self, FloatsKey a0) -> bool
1606 has_attribute(Nuisance self, IntsKey a0) -> bool
1607 has_attribute(Nuisance self, StringKey a0) -> bool
1608 has_attribute(Nuisance self, ParticleIndexKey a0) -> bool
1609 has_attribute(Nuisance self, ObjectKey a0) -> bool
1611 return _IMP_isd.Nuisance_has_attribute(self, *args)
1614 def get_derivative(self, a0):
1615 """get_derivative(Nuisance self, FloatKey a0) -> double"""
1616 return _IMP_isd.Nuisance_get_derivative(self, a0)
1620 """get_name(Nuisance self) -> std::string"""
1621 return _IMP_isd.Nuisance_get_name(self)
1625 """clear_caches(Nuisance self)"""
1626 return _IMP_isd.Nuisance_clear_caches(self)
1629 def set_name(self, a0):
1630 """set_name(Nuisance self, std::string a0)"""
1631 return _IMP_isd.Nuisance_set_name(self, a0)
1635 """set_check_level(Nuisance self, IMP::CheckLevel a0)"""
1636 return _IMP_isd.Nuisance_set_check_level(self, a0)
1639 def add_to_derivative(self, a0, a1, a2):
1640 """add_to_derivative(Nuisance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1641 return _IMP_isd.Nuisance_add_to_derivative(self, a0, a1, a2)
1644 def set_is_optimized(self, a0, a1):
1645 """set_is_optimized(Nuisance self, FloatKey a0, bool a1)"""
1646 return _IMP_isd.Nuisance_set_is_optimized(self, a0, a1)
1649 def get_is_optimized(self, a0):
1650 """get_is_optimized(Nuisance self, FloatKey a0) -> bool"""
1651 return _IMP_isd.Nuisance_get_is_optimized(self, a0)
1654 def get_check_level(self):
1655 """get_check_level(Nuisance self) -> IMP::CheckLevel"""
1656 return _IMP_isd.Nuisance_get_check_level(self)
1659 def __eq__(self, *args):
1661 __eq__(Nuisance self, Nuisance o) -> bool
1662 __eq__(Nuisance self, Particle d) -> bool
1664 return _IMP_isd.Nuisance___eq__(self, *args)
1667 def __ne__(self, *args):
1669 __ne__(Nuisance self, Nuisance o) -> bool
1670 __ne__(Nuisance self, Particle d) -> bool
1672 return _IMP_isd.Nuisance___ne__(self, *args)
1675 def __le__(self, *args):
1677 __le__(Nuisance self, Nuisance o) -> bool
1678 __le__(Nuisance self, Particle d) -> bool
1680 return _IMP_isd.Nuisance___le__(self, *args)
1683 def __lt__(self, *args):
1685 __lt__(Nuisance self, Nuisance o) -> bool
1686 __lt__(Nuisance self, Particle d) -> bool
1688 return _IMP_isd.Nuisance___lt__(self, *args)
1691 def __ge__(self, *args):
1693 __ge__(Nuisance self, Nuisance o) -> bool
1694 __ge__(Nuisance self, Particle d) -> bool
1696 return _IMP_isd.Nuisance___ge__(self, *args)
1699 def __gt__(self, *args):
1701 __gt__(Nuisance self, Nuisance o) -> bool
1702 __gt__(Nuisance self, Particle d) -> bool
1704 return _IMP_isd.Nuisance___gt__(self, *args)
1708 """__hash__(Nuisance self) -> std::size_t"""
1709 return _IMP_isd.Nuisance___hash__(self)
1713 """__str__(Nuisance self) -> std::string"""
1714 return _IMP_isd.Nuisance___str__(self)
1718 """__repr__(Nuisance self) -> std::string"""
1719 return _IMP_isd.Nuisance___repr__(self)
1721 __swig_destroy__ = _IMP_isd.delete_Nuisance
1722 __del__ =
lambda self:
None
1723 Nuisance_swigregister = _IMP_isd.Nuisance_swigregister
1724 Nuisance_swigregister(Nuisance)
1726 def Nuisance_setup_particle(*args):
1728 setup_particle(Model m, ParticleIndex pi) -> Nuisance
1729 setup_particle(_ParticleAdaptor decorator) -> Nuisance
1730 setup_particle(Model m, ParticleIndex pi, double nuisance) -> Nuisance
1731 Nuisance_setup_particle(_ParticleAdaptor decorator, double nuisance) -> Nuisance
1733 return _IMP_isd.Nuisance_setup_particle(*args)
1735 def Nuisance_get_is_setup(*args):
1737 get_is_setup(_ParticleAdaptor p) -> bool
1738 Nuisance_get_is_setup(Model m, ParticleIndex pi) -> bool
1740 return _IMP_isd.Nuisance_get_is_setup(*args)
1742 def Nuisance_get_nuisance_key():
1743 """Nuisance_get_nuisance_key() -> FloatKey"""
1744 return _IMP_isd.Nuisance_get_nuisance_key()
1746 def Nuisance_get_lower_key():
1747 """Nuisance_get_lower_key() -> FloatKey"""
1748 return _IMP_isd.Nuisance_get_lower_key()
1750 def Nuisance_get_lower_particle_key():
1751 """Nuisance_get_lower_particle_key() -> ParticleIndexKey"""
1752 return _IMP_isd.Nuisance_get_lower_particle_key()
1754 def Nuisance_get_upper_key():
1755 """Nuisance_get_upper_key() -> FloatKey"""
1756 return _IMP_isd.Nuisance_get_upper_key()
1758 def Nuisance_get_upper_particle_key():
1759 """Nuisance_get_upper_particle_key() -> ParticleIndexKey"""
1760 return _IMP_isd.Nuisance_get_upper_particle_key()
1762 class Scale(Nuisance):
1763 """Proxy of C++ IMP::isd::Scale class"""
1764 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1766 def __init__(self, *args):
1768 __init__(IMP::isd::Scale self) -> Scale
1769 __init__(IMP::isd::Scale self, Model m, ParticleIndex id) -> Scale
1770 __init__(IMP::isd::Scale self, _ParticleAdaptor d) -> Scale
1772 this = _IMP_isd.new_Scale(*args)
1774 self.this.append(this)
1778 def show(self, *args):
1780 show(Scale self, _ostream out)
1783 return _IMP_isd.Scale_show(self, *args)
1786 def setup_particle(*args):
1788 setup_particle(Model m, ParticleIndex pi) -> Scale
1789 setup_particle(_ParticleAdaptor decorator) -> Scale
1790 setup_particle(Model m, ParticleIndex pi, double scale) -> Scale
1791 setup_particle(_ParticleAdaptor decorator, double scale) -> Scale
1793 return _IMP_isd.Scale_setup_particle(*args)
1795 setup_particle = staticmethod(setup_particle)
1797 def get_is_setup(*args):
1799 get_is_setup(_ParticleAdaptor p) -> bool
1800 get_is_setup(Model m, ParticleIndex pi) -> bool
1802 return _IMP_isd.Scale_get_is_setup(*args)
1804 get_is_setup = staticmethod(get_is_setup)
1806 def get_scale(self):
1807 """get_scale(Scale self) -> IMP::Float"""
1808 return _IMP_isd.Scale_get_scale(self)
1811 def set_scale(self, d):
1812 """set_scale(Scale self, IMP::Float d)"""
1813 return _IMP_isd.Scale_set_scale(self, d)
1816 def add_to_scale_derivative(self, d, accum):
1817 """add_to_scale_derivative(Scale self, IMP::Float d, DerivativeAccumulator accum)"""
1818 return _IMP_isd.Scale_add_to_scale_derivative(self, d, accum)
1821 def get_scale_derivative(self):
1822 """get_scale_derivative(Scale self) -> IMP::Float"""
1823 return _IMP_isd.Scale_get_scale_derivative(self)
1826 def get_scale_key():
1827 """get_scale_key() -> FloatKey"""
1828 return _IMP_isd.Scale_get_scale_key()
1830 get_scale_key = staticmethod(get_scale_key)
1832 def get_scale_is_optimized(self):
1833 """get_scale_is_optimized(Scale self) -> bool"""
1834 return _IMP_isd.Scale_get_scale_is_optimized(self)
1837 def set_scale_is_optimized(self, val):
1838 """set_scale_is_optimized(Scale self, bool val)"""
1839 return _IMP_isd.Scale_set_scale_is_optimized(self, val)
1842 def add_attribute(self, *args):
1844 add_attribute(Scale self, FloatKey k, IMP::Float v, bool opt)
1845 add_attribute(Scale self, FloatKey a0, IMP::Float a1)
1846 add_attribute(Scale self, IntKey a0, IMP::Int a1)
1847 add_attribute(Scale self, FloatsKey a0, IMP::Floats a1)
1848 add_attribute(Scale self, IntsKey a0, IMP::Ints a1)
1849 add_attribute(Scale self, StringKey a0, IMP::String a1)
1850 add_attribute(Scale self, ParticleIndexKey a0, Particle a1)
1851 add_attribute(Scale self, ObjectKey a0, Object a1)
1853 return _IMP_isd.Scale_add_attribute(self, *args)
1856 def get_value(self, *args):
1858 get_value(Scale self, FloatKey a0) -> IMP::Float
1859 get_value(Scale self, IntKey a0) -> IMP::Int
1860 get_value(Scale self, FloatsKey a0) -> IMP::Floats
1861 get_value(Scale self, IntsKey a0) -> IMP::Ints
1862 get_value(Scale self, StringKey a0) -> IMP::String
1863 get_value(Scale self, ParticleIndexKey a0) -> Particle
1864 get_value(Scale self, ObjectKey a0) -> Object
1866 return _IMP_isd.Scale_get_value(self, *args)
1869 def set_value(self, *args):
1871 set_value(Scale self, FloatKey a0, IMP::Float a1)
1872 set_value(Scale self, IntKey a0, IMP::Int a1)
1873 set_value(Scale self, FloatsKey a0, IMP::Floats a1)
1874 set_value(Scale self, IntsKey a0, IMP::Ints a1)
1875 set_value(Scale self, StringKey a0, IMP::String a1)
1876 set_value(Scale self, ParticleIndexKey a0, Particle a1)
1877 set_value(Scale self, ObjectKey a0, Object a1)
1879 return _IMP_isd.Scale_set_value(self, *args)
1882 def remove_attribute(self, *args):
1884 remove_attribute(Scale self, FloatKey a0)
1885 remove_attribute(Scale self, IntKey a0)
1886 remove_attribute(Scale self, FloatsKey a0)
1887 remove_attribute(Scale self, IntsKey a0)
1888 remove_attribute(Scale self, StringKey a0)
1889 remove_attribute(Scale self, ParticleIndexKey a0)
1890 remove_attribute(Scale self, ObjectKey a0)
1892 return _IMP_isd.Scale_remove_attribute(self, *args)
1895 def has_attribute(self, *args):
1897 has_attribute(Scale self, FloatKey a0) -> bool
1898 has_attribute(Scale self, IntKey a0) -> bool
1899 has_attribute(Scale self, FloatsKey a0) -> bool
1900 has_attribute(Scale self, IntsKey a0) -> bool
1901 has_attribute(Scale self, StringKey a0) -> bool
1902 has_attribute(Scale self, ParticleIndexKey a0) -> bool
1903 has_attribute(Scale self, ObjectKey a0) -> bool
1905 return _IMP_isd.Scale_has_attribute(self, *args)
1908 def get_derivative(self, a0):
1909 """get_derivative(Scale self, FloatKey a0) -> double"""
1910 return _IMP_isd.Scale_get_derivative(self, a0)
1914 """get_name(Scale self) -> std::string"""
1915 return _IMP_isd.Scale_get_name(self)
1919 """clear_caches(Scale self)"""
1920 return _IMP_isd.Scale_clear_caches(self)
1923 def set_name(self, a0):
1924 """set_name(Scale self, std::string a0)"""
1925 return _IMP_isd.Scale_set_name(self, a0)
1929 """set_check_level(Scale self, IMP::CheckLevel a0)"""
1930 return _IMP_isd.Scale_set_check_level(self, a0)
1933 def add_to_derivative(self, a0, a1, a2):
1934 """add_to_derivative(Scale self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1935 return _IMP_isd.Scale_add_to_derivative(self, a0, a1, a2)
1938 def set_is_optimized(self, a0, a1):
1939 """set_is_optimized(Scale self, FloatKey a0, bool a1)"""
1940 return _IMP_isd.Scale_set_is_optimized(self, a0, a1)
1943 def get_is_optimized(self, a0):
1944 """get_is_optimized(Scale self, FloatKey a0) -> bool"""
1945 return _IMP_isd.Scale_get_is_optimized(self, a0)
1948 def get_check_level(self):
1949 """get_check_level(Scale self) -> IMP::CheckLevel"""
1950 return _IMP_isd.Scale_get_check_level(self)
1953 def __eq__(self, *args):
1955 __eq__(Scale self, Scale o) -> bool
1956 __eq__(Scale self, Particle d) -> bool
1958 return _IMP_isd.Scale___eq__(self, *args)
1961 def __ne__(self, *args):
1963 __ne__(Scale self, Scale o) -> bool
1964 __ne__(Scale self, Particle d) -> bool
1966 return _IMP_isd.Scale___ne__(self, *args)
1969 def __le__(self, *args):
1971 __le__(Scale self, Scale o) -> bool
1972 __le__(Scale self, Particle d) -> bool
1974 return _IMP_isd.Scale___le__(self, *args)
1977 def __lt__(self, *args):
1979 __lt__(Scale self, Scale o) -> bool
1980 __lt__(Scale self, Particle d) -> bool
1982 return _IMP_isd.Scale___lt__(self, *args)
1985 def __ge__(self, *args):
1987 __ge__(Scale self, Scale o) -> bool
1988 __ge__(Scale self, Particle d) -> bool
1990 return _IMP_isd.Scale___ge__(self, *args)
1993 def __gt__(self, *args):
1995 __gt__(Scale self, Scale o) -> bool
1996 __gt__(Scale self, Particle d) -> bool
1998 return _IMP_isd.Scale___gt__(self, *args)
2002 """__hash__(Scale self) -> std::size_t"""
2003 return _IMP_isd.Scale___hash__(self)
2007 """__str__(Scale self) -> std::string"""
2008 return _IMP_isd.Scale___str__(self)
2012 """__repr__(Scale self) -> std::string"""
2013 return _IMP_isd.Scale___repr__(self)
2015 __swig_destroy__ = _IMP_isd.delete_Scale
2016 __del__ =
lambda self:
None
2017 Scale_swigregister = _IMP_isd.Scale_swigregister
2018 Scale_swigregister(Scale)
2020 def Scale_setup_particle(*args):
2022 setup_particle(Model m, ParticleIndex pi) -> Scale
2023 setup_particle(_ParticleAdaptor decorator) -> Scale
2024 setup_particle(Model m, ParticleIndex pi, double scale) -> Scale
2025 Scale_setup_particle(_ParticleAdaptor decorator, double scale) -> Scale
2027 return _IMP_isd.Scale_setup_particle(*args)
2029 def Scale_get_is_setup(*args):
2031 get_is_setup(_ParticleAdaptor p) -> bool
2032 Scale_get_is_setup(Model m, ParticleIndex pi) -> bool
2034 return _IMP_isd.Scale_get_is_setup(*args)
2036 def Scale_get_scale_key():
2037 """Scale_get_scale_key() -> FloatKey"""
2038 return _IMP_isd.Scale_get_scale_key()
2040 class Switching(Nuisance):
2041 """Proxy of C++ IMP::isd::Switching class"""
2042 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2044 def __init__(self, *args):
2046 __init__(IMP::isd::Switching self) -> Switching
2047 __init__(IMP::isd::Switching self, Model m, ParticleIndex id) -> Switching
2048 __init__(IMP::isd::Switching self, _ParticleAdaptor d) -> Switching
2050 this = _IMP_isd.new_Switching(*args)
2052 self.this.append(this)
2056 def show(self, *args):
2058 show(Switching self, _ostream out)
2059 show(Switching self)
2061 return _IMP_isd.Switching_show(self, *args)
2064 def setup_particle(*args):
2066 setup_particle(Model m, ParticleIndex pi) -> Switching
2067 setup_particle(_ParticleAdaptor decorator) -> Switching
2068 setup_particle(Model m, ParticleIndex pi, double switching) -> Switching
2069 setup_particle(_ParticleAdaptor decorator, double switching) -> Switching
2071 return _IMP_isd.Switching_setup_particle(*args)
2073 setup_particle = staticmethod(setup_particle)
2075 def get_is_setup(*args):
2077 get_is_setup(_ParticleAdaptor p) -> bool
2078 get_is_setup(Model m, ParticleIndex pi) -> bool
2080 return _IMP_isd.Switching_get_is_setup(*args)
2082 get_is_setup = staticmethod(get_is_setup)
2084 def get_switching(self):
2085 """get_switching(Switching self) -> IMP::Float"""
2086 return _IMP_isd.Switching_get_switching(self)
2089 def set_switching(self, d):
2090 """set_switching(Switching self, IMP::Float d)"""
2091 return _IMP_isd.Switching_set_switching(self, d)
2094 def add_to_switching_derivative(self, d, accum):
2095 """add_to_switching_derivative(Switching self, IMP::Float d, DerivativeAccumulator accum)"""
2096 return _IMP_isd.Switching_add_to_switching_derivative(self, d, accum)
2099 def get_switching_derivative(self):
2100 """get_switching_derivative(Switching self) -> IMP::Float"""
2101 return _IMP_isd.Switching_get_switching_derivative(self)
2104 def get_switching_key():
2105 """get_switching_key() -> FloatKey"""
2106 return _IMP_isd.Switching_get_switching_key()
2108 get_switching_key = staticmethod(get_switching_key)
2110 def get_switching_is_optimized(self):
2111 """get_switching_is_optimized(Switching self) -> bool"""
2112 return _IMP_isd.Switching_get_switching_is_optimized(self)
2115 def set_switching_is_optimized(self, val):
2116 """set_switching_is_optimized(Switching self, bool val)"""
2117 return _IMP_isd.Switching_set_switching_is_optimized(self, val)
2120 def add_attribute(self, *args):
2122 add_attribute(Switching self, FloatKey k, IMP::Float v, bool opt)
2123 add_attribute(Switching self, FloatKey a0, IMP::Float a1)
2124 add_attribute(Switching self, IntKey a0, IMP::Int a1)
2125 add_attribute(Switching self, FloatsKey a0, IMP::Floats a1)
2126 add_attribute(Switching self, IntsKey a0, IMP::Ints a1)
2127 add_attribute(Switching self, StringKey a0, IMP::String a1)
2128 add_attribute(Switching self, ParticleIndexKey a0, Particle a1)
2129 add_attribute(Switching self, ObjectKey a0, Object a1)
2131 return _IMP_isd.Switching_add_attribute(self, *args)
2134 def get_value(self, *args):
2136 get_value(Switching self, FloatKey a0) -> IMP::Float
2137 get_value(Switching self, IntKey a0) -> IMP::Int
2138 get_value(Switching self, FloatsKey a0) -> IMP::Floats
2139 get_value(Switching self, IntsKey a0) -> IMP::Ints
2140 get_value(Switching self, StringKey a0) -> IMP::String
2141 get_value(Switching self, ParticleIndexKey a0) -> Particle
2142 get_value(Switching self, ObjectKey a0) -> Object
2144 return _IMP_isd.Switching_get_value(self, *args)
2147 def set_value(self, *args):
2149 set_value(Switching self, FloatKey a0, IMP::Float a1)
2150 set_value(Switching self, IntKey a0, IMP::Int a1)
2151 set_value(Switching self, FloatsKey a0, IMP::Floats a1)
2152 set_value(Switching self, IntsKey a0, IMP::Ints a1)
2153 set_value(Switching self, StringKey a0, IMP::String a1)
2154 set_value(Switching self, ParticleIndexKey a0, Particle a1)
2155 set_value(Switching self, ObjectKey a0, Object a1)
2157 return _IMP_isd.Switching_set_value(self, *args)
2160 def remove_attribute(self, *args):
2162 remove_attribute(Switching self, FloatKey a0)
2163 remove_attribute(Switching self, IntKey a0)
2164 remove_attribute(Switching self, FloatsKey a0)
2165 remove_attribute(Switching self, IntsKey a0)
2166 remove_attribute(Switching self, StringKey a0)
2167 remove_attribute(Switching self, ParticleIndexKey a0)
2168 remove_attribute(Switching self, ObjectKey a0)
2170 return _IMP_isd.Switching_remove_attribute(self, *args)
2173 def has_attribute(self, *args):
2175 has_attribute(Switching self, FloatKey a0) -> bool
2176 has_attribute(Switching self, IntKey a0) -> bool
2177 has_attribute(Switching self, FloatsKey a0) -> bool
2178 has_attribute(Switching self, IntsKey a0) -> bool
2179 has_attribute(Switching self, StringKey a0) -> bool
2180 has_attribute(Switching self, ParticleIndexKey a0) -> bool
2181 has_attribute(Switching self, ObjectKey a0) -> bool
2183 return _IMP_isd.Switching_has_attribute(self, *args)
2186 def get_derivative(self, a0):
2187 """get_derivative(Switching self, FloatKey a0) -> double"""
2188 return _IMP_isd.Switching_get_derivative(self, a0)
2192 """get_name(Switching self) -> std::string"""
2193 return _IMP_isd.Switching_get_name(self)
2197 """clear_caches(Switching self)"""
2198 return _IMP_isd.Switching_clear_caches(self)
2201 def set_name(self, a0):
2202 """set_name(Switching self, std::string a0)"""
2203 return _IMP_isd.Switching_set_name(self, a0)
2207 """set_check_level(Switching self, IMP::CheckLevel a0)"""
2208 return _IMP_isd.Switching_set_check_level(self, a0)
2211 def add_to_derivative(self, a0, a1, a2):
2212 """add_to_derivative(Switching self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2213 return _IMP_isd.Switching_add_to_derivative(self, a0, a1, a2)
2216 def set_is_optimized(self, a0, a1):
2217 """set_is_optimized(Switching self, FloatKey a0, bool a1)"""
2218 return _IMP_isd.Switching_set_is_optimized(self, a0, a1)
2221 def get_is_optimized(self, a0):
2222 """get_is_optimized(Switching self, FloatKey a0) -> bool"""
2223 return _IMP_isd.Switching_get_is_optimized(self, a0)
2226 def get_check_level(self):
2227 """get_check_level(Switching self) -> IMP::CheckLevel"""
2228 return _IMP_isd.Switching_get_check_level(self)
2231 def __eq__(self, *args):
2233 __eq__(Switching self, Switching o) -> bool
2234 __eq__(Switching self, Particle d) -> bool
2236 return _IMP_isd.Switching___eq__(self, *args)
2239 def __ne__(self, *args):
2241 __ne__(Switching self, Switching o) -> bool
2242 __ne__(Switching self, Particle d) -> bool
2244 return _IMP_isd.Switching___ne__(self, *args)
2247 def __le__(self, *args):
2249 __le__(Switching self, Switching o) -> bool
2250 __le__(Switching self, Particle d) -> bool
2252 return _IMP_isd.Switching___le__(self, *args)
2255 def __lt__(self, *args):
2257 __lt__(Switching self, Switching o) -> bool
2258 __lt__(Switching self, Particle d) -> bool
2260 return _IMP_isd.Switching___lt__(self, *args)
2263 def __ge__(self, *args):
2265 __ge__(Switching self, Switching o) -> bool
2266 __ge__(Switching self, Particle d) -> bool
2268 return _IMP_isd.Switching___ge__(self, *args)
2271 def __gt__(self, *args):
2273 __gt__(Switching self, Switching o) -> bool
2274 __gt__(Switching self, Particle d) -> bool
2276 return _IMP_isd.Switching___gt__(self, *args)
2280 """__hash__(Switching self) -> std::size_t"""
2281 return _IMP_isd.Switching___hash__(self)
2285 """__str__(Switching self) -> std::string"""
2286 return _IMP_isd.Switching___str__(self)
2290 """__repr__(Switching self) -> std::string"""
2291 return _IMP_isd.Switching___repr__(self)
2293 __swig_destroy__ = _IMP_isd.delete_Switching
2294 __del__ =
lambda self:
None
2295 Switching_swigregister = _IMP_isd.Switching_swigregister
2296 Switching_swigregister(Switching)
2298 def Switching_setup_particle(*args):
2300 setup_particle(Model m, ParticleIndex pi) -> Switching
2301 setup_particle(_ParticleAdaptor decorator) -> Switching
2302 setup_particle(Model m, ParticleIndex pi, double switching) -> Switching
2303 Switching_setup_particle(_ParticleAdaptor decorator, double switching) -> Switching
2305 return _IMP_isd.Switching_setup_particle(*args)
2307 def Switching_get_is_setup(*args):
2309 get_is_setup(_ParticleAdaptor p) -> bool
2310 Switching_get_is_setup(Model m, ParticleIndex pi) -> bool
2312 return _IMP_isd.Switching_get_is_setup(*args)
2314 def Switching_get_switching_key():
2315 """Switching_get_switching_key() -> FloatKey"""
2316 return _IMP_isd.Switching_get_switching_key()
2319 """Proxy of C++ IMP::isd::Weight class"""
2320 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2322 def __init__(self, *args):
2324 __init__(IMP::isd::Weight self) -> Weight
2325 __init__(IMP::isd::Weight self, Model m, ParticleIndex id) -> Weight
2326 __init__(IMP::isd::Weight self, _ParticleAdaptor d) -> Weight
2328 this = _IMP_isd.new_Weight(*args)
2330 self.this.append(this)
2334 def show(self, *args):
2336 show(Weight self, _ostream out)
2339 return _IMP_isd.Weight_show(self, *args)
2342 def setup_particle(*args):
2344 setup_particle(Model m, ParticleIndex pi) -> Weight
2345 setup_particle(_ParticleAdaptor decorator) -> Weight
2346 setup_particle(Model m, ParticleIndex pi, IMP::Int nweights) -> Weight
2347 setup_particle(_ParticleAdaptor decorator, IMP::Int nweights) -> Weight
2348 setup_particle(Model m, ParticleIndex pi, VectorKD w) -> Weight
2349 setup_particle(_ParticleAdaptor decorator, VectorKD w) -> Weight
2351 return _IMP_isd.Weight_setup_particle(*args)
2353 setup_particle = staticmethod(setup_particle)
2355 def get_nstates_key():
2356 """get_nstates_key() -> IntKey"""
2357 return _IMP_isd.Weight_get_nstates_key()
2359 get_nstates_key = staticmethod(get_nstates_key)
2361 def get_number_of_weights_key():
2362 """get_number_of_weights_key() -> IntKey"""
2363 return _IMP_isd.Weight_get_number_of_weights_key()
2365 get_number_of_weights_key = staticmethod(get_number_of_weights_key)
2367 def get_weight_key(i):
2368 """get_weight_key(int i) -> FloatKey"""
2369 return _IMP_isd.Weight_get_weight_key(i)
2371 get_weight_key = staticmethod(get_weight_key)
2373 def get_weight_keys(self):
2374 """get_weight_keys(Weight self) -> IMP::FloatKeys"""
2375 return _IMP_isd.Weight_get_weight_keys(self)
2378 def get_weight(self, i):
2379 """get_weight(Weight self, int i) -> IMP::Float"""
2380 return _IMP_isd.Weight_get_weight(self, i)
2383 def get_weights(self):
2384 """get_weights(Weight self) -> VectorKD"""
2385 return _IMP_isd.Weight_get_weights(self)
2388 def set_weight_lazy(self, i, wi):
2389 """set_weight_lazy(Weight self, int i, IMP::Float wi)"""
2390 return _IMP_isd.Weight_set_weight_lazy(self, i, wi)
2393 def set_weights_lazy(self, w):
2394 """set_weights_lazy(Weight self, VectorKD w)"""
2395 return _IMP_isd.Weight_set_weights_lazy(self, w)
2398 def set_weights(self, w):
2399 """set_weights(Weight self, VectorKD w)"""
2400 return _IMP_isd.Weight_set_weights(self, w)
2403 def get_weights_are_optimized(self):
2404 """get_weights_are_optimized(Weight self) -> bool"""
2405 return _IMP_isd.Weight_get_weights_are_optimized(self)
2408 def set_weights_are_optimized(self, tf):
2409 """set_weights_are_optimized(Weight self, bool tf)"""
2410 return _IMP_isd.Weight_set_weights_are_optimized(self, tf)
2413 def get_weight_derivative(self, i):
2414 """get_weight_derivative(Weight self, int i) -> IMP::Float"""
2415 return _IMP_isd.Weight_get_weight_derivative(self, i)
2418 def get_weights_derivatives(self):
2419 """get_weights_derivatives(Weight self) -> VectorKD"""
2420 return _IMP_isd.Weight_get_weights_derivatives(self)
2423 def add_to_weight_derivative(self, i, dwi, da):
2424 """add_to_weight_derivative(Weight self, int i, IMP::Float dwi, DerivativeAccumulator da)"""
2425 return _IMP_isd.Weight_add_to_weight_derivative(self, i, dwi, da)
2428 def add_to_weights_derivatives(self, dw, da):
2429 """add_to_weights_derivatives(Weight self, VectorKD dw, DerivativeAccumulator da)"""
2430 return _IMP_isd.Weight_add_to_weights_derivatives(self, dw, da)
2433 def add_weight_lazy(self, wi=0):
2435 add_weight_lazy(Weight self, IMP::Float wi=0)
2436 add_weight_lazy(Weight self)
2438 return _IMP_isd.Weight_add_weight_lazy(self, wi)
2441 def add_weight(self, wi=0):
2443 add_weight(Weight self, IMP::Float wi=0)
2444 add_weight(Weight self)
2446 return _IMP_isd.Weight_add_weight(self, wi)
2449 def get_number_of_weights(self):
2450 """get_number_of_weights(Weight self) -> IMP::Int"""
2451 return _IMP_isd.Weight_get_number_of_weights(self)
2454 def get_unit_simplex(self):
2455 """get_unit_simplex(Weight self) -> UnitSimplexKD"""
2456 return _IMP_isd.Weight_get_unit_simplex(self)
2459 def set_number_of_weights_lazy(self, nweights):
2460 """set_number_of_weights_lazy(Weight self, IMP::Int nweights)"""
2461 return _IMP_isd.Weight_set_number_of_weights_lazy(self, nweights)
2464 def set_number_of_weights(self, nweights):
2465 """set_number_of_weights(Weight self, IMP::Int nweights)"""
2466 return _IMP_isd.Weight_set_number_of_weights(self, nweights)
2469 def get_is_setup(*args):
2471 get_is_setup(_ParticleAdaptor p) -> bool
2472 get_is_setup(Model m, ParticleIndex pi) -> bool
2474 return _IMP_isd.Weight_get_is_setup(*args)
2476 get_is_setup = staticmethod(get_is_setup)
2478 def add_attribute(self, *args):
2480 add_attribute(Weight self, FloatKey k, IMP::Float v, bool opt)
2481 add_attribute(Weight self, FloatKey a0, IMP::Float a1)
2482 add_attribute(Weight self, IntKey a0, IMP::Int a1)
2483 add_attribute(Weight self, FloatsKey a0, IMP::Floats a1)
2484 add_attribute(Weight self, IntsKey a0, IMP::Ints a1)
2485 add_attribute(Weight self, StringKey a0, IMP::String a1)
2486 add_attribute(Weight self, ParticleIndexKey a0, Particle a1)
2487 add_attribute(Weight self, ObjectKey a0, Object a1)
2489 return _IMP_isd.Weight_add_attribute(self, *args)
2492 def get_value(self, *args):
2494 get_value(Weight self, FloatKey a0) -> IMP::Float
2495 get_value(Weight self, IntKey a0) -> IMP::Int
2496 get_value(Weight self, FloatsKey a0) -> IMP::Floats
2497 get_value(Weight self, IntsKey a0) -> IMP::Ints
2498 get_value(Weight self, StringKey a0) -> IMP::String
2499 get_value(Weight self, ParticleIndexKey a0) -> Particle
2500 get_value(Weight self, ObjectKey a0) -> Object
2502 return _IMP_isd.Weight_get_value(self, *args)
2505 def set_value(self, *args):
2507 set_value(Weight self, FloatKey a0, IMP::Float a1)
2508 set_value(Weight self, IntKey a0, IMP::Int a1)
2509 set_value(Weight self, FloatsKey a0, IMP::Floats a1)
2510 set_value(Weight self, IntsKey a0, IMP::Ints a1)
2511 set_value(Weight self, StringKey a0, IMP::String a1)
2512 set_value(Weight self, ParticleIndexKey a0, Particle a1)
2513 set_value(Weight self, ObjectKey a0, Object a1)
2515 return _IMP_isd.Weight_set_value(self, *args)
2518 def remove_attribute(self, *args):
2520 remove_attribute(Weight self, FloatKey a0)
2521 remove_attribute(Weight self, IntKey a0)
2522 remove_attribute(Weight self, FloatsKey a0)
2523 remove_attribute(Weight self, IntsKey a0)
2524 remove_attribute(Weight self, StringKey a0)
2525 remove_attribute(Weight self, ParticleIndexKey a0)
2526 remove_attribute(Weight self, ObjectKey a0)
2528 return _IMP_isd.Weight_remove_attribute(self, *args)
2531 def has_attribute(self, *args):
2533 has_attribute(Weight self, FloatKey a0) -> bool
2534 has_attribute(Weight self, IntKey a0) -> bool
2535 has_attribute(Weight self, FloatsKey a0) -> bool
2536 has_attribute(Weight self, IntsKey a0) -> bool
2537 has_attribute(Weight self, StringKey a0) -> bool
2538 has_attribute(Weight self, ParticleIndexKey a0) -> bool
2539 has_attribute(Weight self, ObjectKey a0) -> bool
2541 return _IMP_isd.Weight_has_attribute(self, *args)
2544 def get_derivative(self, a0):
2545 """get_derivative(Weight self, FloatKey a0) -> double"""
2546 return _IMP_isd.Weight_get_derivative(self, a0)
2550 """get_name(Weight self) -> std::string"""
2551 return _IMP_isd.Weight_get_name(self)
2555 """clear_caches(Weight self)"""
2556 return _IMP_isd.Weight_clear_caches(self)
2559 def set_name(self, a0):
2560 """set_name(Weight self, std::string a0)"""
2561 return _IMP_isd.Weight_set_name(self, a0)
2565 """set_check_level(Weight self, IMP::CheckLevel a0)"""
2566 return _IMP_isd.Weight_set_check_level(self, a0)
2569 def add_to_derivative(self, a0, a1, a2):
2570 """add_to_derivative(Weight self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2571 return _IMP_isd.Weight_add_to_derivative(self, a0, a1, a2)
2574 def set_is_optimized(self, a0, a1):
2575 """set_is_optimized(Weight self, FloatKey a0, bool a1)"""
2576 return _IMP_isd.Weight_set_is_optimized(self, a0, a1)
2579 def get_is_optimized(self, a0):
2580 """get_is_optimized(Weight self, FloatKey a0) -> bool"""
2581 return _IMP_isd.Weight_get_is_optimized(self, a0)
2584 def get_check_level(self):
2585 """get_check_level(Weight self) -> IMP::CheckLevel"""
2586 return _IMP_isd.Weight_get_check_level(self)
2589 def __eq__(self, *args):
2591 __eq__(Weight self, Weight o) -> bool
2592 __eq__(Weight self, Particle d) -> bool
2594 return _IMP_isd.Weight___eq__(self, *args)
2597 def __ne__(self, *args):
2599 __ne__(Weight self, Weight o) -> bool
2600 __ne__(Weight self, Particle d) -> bool
2602 return _IMP_isd.Weight___ne__(self, *args)
2605 def __le__(self, *args):
2607 __le__(Weight self, Weight o) -> bool
2608 __le__(Weight self, Particle d) -> bool
2610 return _IMP_isd.Weight___le__(self, *args)
2613 def __lt__(self, *args):
2615 __lt__(Weight self, Weight o) -> bool
2616 __lt__(Weight self, Particle d) -> bool
2618 return _IMP_isd.Weight___lt__(self, *args)
2621 def __ge__(self, *args):
2623 __ge__(Weight self, Weight o) -> bool
2624 __ge__(Weight self, Particle d) -> bool
2626 return _IMP_isd.Weight___ge__(self, *args)
2629 def __gt__(self, *args):
2631 __gt__(Weight self, Weight o) -> bool
2632 __gt__(Weight self, Particle d) -> bool
2634 return _IMP_isd.Weight___gt__(self, *args)
2638 """__hash__(Weight self) -> std::size_t"""
2639 return _IMP_isd.Weight___hash__(self)
2643 """__str__(Weight self) -> std::string"""
2644 return _IMP_isd.Weight___str__(self)
2648 """__repr__(Weight self) -> std::string"""
2649 return _IMP_isd.Weight___repr__(self)
2651 __swig_destroy__ = _IMP_isd.delete_Weight
2652 __del__ =
lambda self:
None
2653 Weight_swigregister = _IMP_isd.Weight_swigregister
2654 Weight_swigregister(Weight)
2655 cvar = _IMP_isd.cvar
2656 IMPISD_MAX_WEIGHTS = cvar.IMPISD_MAX_WEIGHTS
2658 def Weight_setup_particle(*args):
2660 setup_particle(Model m, ParticleIndex pi) -> Weight
2661 setup_particle(_ParticleAdaptor decorator) -> Weight
2662 setup_particle(Model m, ParticleIndex pi, IMP::Int nweights) -> Weight
2663 setup_particle(_ParticleAdaptor decorator, IMP::Int nweights) -> Weight
2664 setup_particle(Model m, ParticleIndex pi, VectorKD w) -> Weight
2665 Weight_setup_particle(_ParticleAdaptor decorator, VectorKD w) -> Weight
2667 return _IMP_isd.Weight_setup_particle(*args)
2669 def Weight_get_nstates_key():
2670 """Weight_get_nstates_key() -> IntKey"""
2671 return _IMP_isd.Weight_get_nstates_key()
2673 def Weight_get_number_of_weights_key():
2674 """Weight_get_number_of_weights_key() -> IntKey"""
2675 return _IMP_isd.Weight_get_number_of_weights_key()
2677 def Weight_get_weight_key(i):
2678 """Weight_get_weight_key(int i) -> FloatKey"""
2679 return _IMP_isd.Weight_get_weight_key(i)
2681 def Weight_get_is_setup(*args):
2683 get_is_setup(_ParticleAdaptor p) -> bool
2684 Weight_get_is_setup(Model m, ParticleIndex pi) -> bool
2686 return _IMP_isd.Weight_get_is_setup(*args)
2689 def __lshift__(*args):
2691 __lshift__(_ostream out, Nuisance n) -> _ostream
2692 __lshift__(_ostream out, Scale n) -> _ostream
2693 __lshift__(_ostream out, Switching n) -> _ostream
2694 __lshift__(_ostream out, Weight n) -> _ostream
2696 return _IMP_isd.__lshift__(*args)
2698 """Proxy of C++ IMP::isd::JeffreysRestraint class"""
2699 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2701 def __init__(self, m, p):
2702 """__init__(IMP::isd::JeffreysRestraint self, Model m, Particle p) -> JeffreysRestraint"""
2703 this = _IMP_isd.new_JeffreysRestraint(m, p)
2705 self.this.append(this)
2710 """do_get_inputs(JeffreysRestraint self) -> IMP::ModelObjectsTemp"""
2711 return _IMP_isd.JeffreysRestraint_do_get_inputs(self)
2715 """get_version_info(JeffreysRestraint self) -> VersionInfo"""
2716 return _IMP_isd.JeffreysRestraint_get_version_info(self)
2719 def get_probability(self):
2720 """get_probability(JeffreysRestraint self) -> double"""
2721 return _IMP_isd.JeffreysRestraint_get_probability(self)
2725 """__str__(JeffreysRestraint self) -> std::string"""
2726 return _IMP_isd.JeffreysRestraint___str__(self)
2730 """__repr__(JeffreysRestraint self) -> std::string"""
2731 return _IMP_isd.JeffreysRestraint___repr__(self)
2736 return _object_cast_to_JeffreysRestraint(o)
2738 JeffreysRestraint_swigregister = _IMP_isd.JeffreysRestraint_swigregister
2739 JeffreysRestraint_swigregister(JeffreysRestraint)
2742 """Proxy of C++ IMP::isd::NormalSigmaPCRestraint class"""
2743 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2745 def __init__(self, *args):
2747 __init__(IMP::isd::NormalSigmaPCRestraint self, Model m, ParticleIndex spi, double su, double alpha, std::string name) -> NormalSigmaPCRestraint
2748 __init__(IMP::isd::NormalSigmaPCRestraint self, Model m, ParticleIndex spi, double su, double alpha) -> NormalSigmaPCRestraint
2749 __init__(IMP::isd::NormalSigmaPCRestraint self, Scale s, double su, double alpha, std::string name) -> NormalSigmaPCRestraint
2750 __init__(IMP::isd::NormalSigmaPCRestraint self, Scale s, double su, double alpha) -> NormalSigmaPCRestraint
2752 this = _IMP_isd.new_NormalSigmaPCRestraint(*args)
2754 self.this.append(this)
2758 def get_sigma(self):
2759 """get_sigma(NormalSigmaPCRestraint self) -> Scale"""
2760 return _IMP_isd.NormalSigmaPCRestraint_get_sigma(self)
2763 def get_alpha(self):
2764 """get_alpha(NormalSigmaPCRestraint self) -> double"""
2765 return _IMP_isd.NormalSigmaPCRestraint_get_alpha(self)
2768 def get_sigma_upper(self):
2769 """get_sigma_upper(NormalSigmaPCRestraint self) -> double"""
2770 return _IMP_isd.NormalSigmaPCRestraint_get_sigma_upper(self)
2773 def get_probability(self):
2774 """get_probability(NormalSigmaPCRestraint self) -> double"""
2775 return _IMP_isd.NormalSigmaPCRestraint_get_probability(self)
2779 """do_get_inputs(NormalSigmaPCRestraint self) -> IMP::ModelObjectsTemp"""
2780 return _IMP_isd.NormalSigmaPCRestraint_do_get_inputs(self)
2784 """get_version_info(NormalSigmaPCRestraint self) -> VersionInfo"""
2785 return _IMP_isd.NormalSigmaPCRestraint_get_version_info(self)
2789 """__str__(NormalSigmaPCRestraint self) -> std::string"""
2790 return _IMP_isd.NormalSigmaPCRestraint___str__(self)
2794 """__repr__(NormalSigmaPCRestraint self) -> std::string"""
2795 return _IMP_isd.NormalSigmaPCRestraint___repr__(self)
2800 return _object_cast_to_NormalSigmaPCRestraint(o)
2802 NormalSigmaPCRestraint_swigregister = _IMP_isd.NormalSigmaPCRestraint_swigregister
2803 NormalSigmaPCRestraint_swigregister(NormalSigmaPCRestraint)
2806 """Proxy of C++ IMP::isd::Distribution class"""
2807 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2809 def __init__(self, *args):
2811 __init__(IMP::isd::Distribution self, std::string name) -> Distribution
2812 __init__(IMP::isd::Distribution self) -> Distribution
2814 if self.__class__ == Distribution:
2818 this = _IMP_isd.new_Distribution(_self, *args)
2820 self.this.append(this)
2824 if self.__class__ != Distribution:
2825 _director_objects.register(self)
2830 def get_type_name(self):
2831 """get_type_name(Distribution self) -> std::string"""
2832 return _IMP_isd.Distribution_get_type_name(self)
2836 """get_version_info(Distribution self) -> VersionInfo"""
2837 return _IMP_isd.Distribution_get_version_info(self)
2841 """__str__(Distribution self) -> std::string"""
2842 return _IMP_isd.Distribution___str__(self)
2846 """__repr__(Distribution self) -> std::string"""
2847 return _IMP_isd.Distribution___repr__(self)
2852 return _object_cast_to_Distribution(o)
2855 def get_type_name(self):
2856 return self.__class__.__name__
2857 def do_show(self, out):
2860 if"IMP::isd" ==
"IMP":
2861 return VersionInfo(self.__module__,
2868 return _object_cast_to_Distribution(o)
2870 def __disown__(self):
2872 _IMP_isd.disown_Distribution(self)
2873 return weakref_proxy(self)
2876 """do_destroy(Distribution self)"""
2877 return _IMP_isd.Distribution_do_destroy(self)
2879 Distribution_swigregister = _IMP_isd.Distribution_swigregister
2880 Distribution_swigregister(Distribution)
2882 class OneDimensionalDistribution(Distribution):
2883 """Proxy of C++ IMP::isd::OneDimensionalDistribution class"""
2884 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2886 def do_evaluate(self, *args):
2888 do_evaluate(OneDimensionalDistribution self, double v) -> double
2889 do_evaluate(OneDimensionalDistribution self, IMP::Floats const & vs) -> IMP::Floats
2891 return _IMP_isd.OneDimensionalDistribution_do_evaluate(self, *args)
2894 def do_get_density(self, *args):
2896 do_get_density(OneDimensionalDistribution self, double v) -> double
2897 do_get_density(OneDimensionalDistribution self, IMP::Floats const & vs) -> IMP::Floats
2899 return _IMP_isd.OneDimensionalDistribution_do_get_density(self, *args)
2902 def __init__(self, *args):
2904 __init__(IMP::isd::OneDimensionalDistribution self, std::string name) -> OneDimensionalDistribution
2905 __init__(IMP::isd::OneDimensionalDistribution self) -> OneDimensionalDistribution
2907 if self.__class__ == OneDimensionalDistribution:
2911 this = _IMP_isd.new_OneDimensionalDistribution(_self, *args)
2913 self.this.append(this)
2917 if self.__class__ != OneDimensionalDistribution:
2918 _director_objects.register(self)
2923 def evaluate(self, *args):
2925 evaluate(OneDimensionalDistribution self, double v) -> double
2926 evaluate(OneDimensionalDistribution self, IMP::Floats const & vs) -> IMP::Floats
2928 return _IMP_isd.OneDimensionalDistribution_evaluate(self, *args)
2931 def get_density(self, *args):
2933 get_density(OneDimensionalDistribution self, double v) -> double
2934 get_density(OneDimensionalDistribution self, IMP::Floats const & vs) -> IMP::Floats
2936 return _IMP_isd.OneDimensionalDistribution_get_density(self, *args)
2939 def get_type_name(self):
2940 """get_type_name(OneDimensionalDistribution self) -> std::string"""
2941 return _IMP_isd.OneDimensionalDistribution_get_type_name(self)
2945 """get_version_info(OneDimensionalDistribution self) -> VersionInfo"""
2946 return _IMP_isd.OneDimensionalDistribution_get_version_info(self)
2950 """__str__(OneDimensionalDistribution self) -> std::string"""
2951 return _IMP_isd.OneDimensionalDistribution___str__(self)
2955 """__repr__(OneDimensionalDistribution self) -> std::string"""
2956 return _IMP_isd.OneDimensionalDistribution___repr__(self)
2961 return _object_cast_to_OneDimensionalDistribution(o)
2964 def get_type_name(self):
2965 return self.__class__.__name__
2966 def do_show(self, out):
2969 if"IMP::isd" ==
"IMP":
2970 return VersionInfo(self.__module__,
2977 return _object_cast_to_OneDimensionalDistribution(o)
2979 def __disown__(self):
2981 _IMP_isd.disown_OneDimensionalDistribution(self)
2982 return weakref_proxy(self)
2985 """do_destroy(OneDimensionalDistribution self)"""
2986 return _IMP_isd.OneDimensionalDistribution_do_destroy(self)
2988 OneDimensionalDistribution_swigregister = _IMP_isd.OneDimensionalDistribution_swigregister
2989 OneDimensionalDistribution_swigregister(OneDimensionalDistribution)
2991 class OneDimensionalSufficientDistribution(Distribution):
2992 """Proxy of C++ IMP::isd::OneDimensionalSufficientDistribution class"""
2993 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2995 def do_update_sufficient_statistics(self, vs):
2996 """do_update_sufficient_statistics(OneDimensionalSufficientDistribution self, IMP::Floats vs)"""
2997 return _IMP_isd.OneDimensionalSufficientDistribution_do_update_sufficient_statistics(self, vs)
3000 def do_get_sufficient_statistics(self):
3001 """do_get_sufficient_statistics(OneDimensionalSufficientDistribution self) -> IMP::Floats"""
3002 return _IMP_isd.OneDimensionalSufficientDistribution_do_get_sufficient_statistics(self)
3005 def do_evaluate(self):
3006 """do_evaluate(OneDimensionalSufficientDistribution self) -> double"""
3007 return _IMP_isd.OneDimensionalSufficientDistribution_do_evaluate(self)
3010 def do_get_density(self):
3011 """do_get_density(OneDimensionalSufficientDistribution self) -> double"""
3012 return _IMP_isd.OneDimensionalSufficientDistribution_do_get_density(self)
3015 def __init__(self, *args):
3017 __init__(IMP::isd::OneDimensionalSufficientDistribution self, std::string name) -> OneDimensionalSufficientDistribution
3018 __init__(IMP::isd::OneDimensionalSufficientDistribution self) -> OneDimensionalSufficientDistribution
3020 if self.__class__ == OneDimensionalSufficientDistribution:
3024 this = _IMP_isd.new_OneDimensionalSufficientDistribution(_self, *args)
3026 self.this.append(this)
3030 if self.__class__ != OneDimensionalSufficientDistribution:
3031 _director_objects.register(self)
3036 def update_sufficient_statistics(self, vs):
3037 """update_sufficient_statistics(OneDimensionalSufficientDistribution self, IMP::Floats vs)"""
3038 return _IMP_isd.OneDimensionalSufficientDistribution_update_sufficient_statistics(self, vs)
3041 def get_sufficient_statistics(self):
3042 """get_sufficient_statistics(OneDimensionalSufficientDistribution self) -> IMP::Floats"""
3043 return _IMP_isd.OneDimensionalSufficientDistribution_get_sufficient_statistics(self)
3047 """evaluate(OneDimensionalSufficientDistribution self) -> double"""
3048 return _IMP_isd.OneDimensionalSufficientDistribution_evaluate(self)
3051 def get_density(self):
3052 """get_density(OneDimensionalSufficientDistribution self) -> double"""
3053 return _IMP_isd.OneDimensionalSufficientDistribution_get_density(self)
3056 def get_type_name(self):
3057 """get_type_name(OneDimensionalSufficientDistribution self) -> std::string"""
3058 return _IMP_isd.OneDimensionalSufficientDistribution_get_type_name(self)
3062 """get_version_info(OneDimensionalSufficientDistribution self) -> VersionInfo"""
3063 return _IMP_isd.OneDimensionalSufficientDistribution_get_version_info(self)
3067 """__str__(OneDimensionalSufficientDistribution self) -> std::string"""
3068 return _IMP_isd.OneDimensionalSufficientDistribution___str__(self)
3072 """__repr__(OneDimensionalSufficientDistribution self) -> std::string"""
3073 return _IMP_isd.OneDimensionalSufficientDistribution___repr__(self)
3078 return _object_cast_to_OneDimensionalSufficientDistribution(o)
3081 def get_type_name(self):
3082 return self.__class__.__name__
3083 def do_show(self, out):
3086 if"IMP::isd" ==
"IMP":
3087 return VersionInfo(self.__module__,
3094 return _object_cast_to_OneDimensionalSufficientDistribution(o)
3096 def __disown__(self):
3098 _IMP_isd.disown_OneDimensionalSufficientDistribution(self)
3099 return weakref_proxy(self)
3102 """do_destroy(OneDimensionalSufficientDistribution self)"""
3103 return _IMP_isd.OneDimensionalSufficientDistribution_do_destroy(self)
3105 OneDimensionalSufficientDistribution_swigregister = _IMP_isd.OneDimensionalSufficientDistribution_swigregister
3106 OneDimensionalSufficientDistribution_swigregister(OneDimensionalSufficientDistribution)
3108 class FNormal(OneDimensionalSufficientDistribution):
3109 """Proxy of C++ IMP::isd::FNormal class"""
3110 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3112 def __init__(self, FA, JA, FM, sigma):
3113 """__init__(IMP::isd::FNormal self, double FA, double JA, double FM, double sigma) -> FNormal"""
3114 this = _IMP_isd.new_FNormal(FA, JA, FM, sigma)
3116 self.this.append(this)
3120 def update_sufficient_statistics(self, FA):
3121 """update_sufficient_statistics(FNormal self, double FA)"""
3122 return _IMP_isd.FNormal_update_sufficient_statistics(self, FA)
3125 def do_update_sufficient_statistics(self, data):
3126 """do_update_sufficient_statistics(FNormal self, IMP::Floats data)"""
3127 return _IMP_isd.FNormal_do_update_sufficient_statistics(self, data)
3130 def do_get_sufficient_statistics(self):
3131 """do_get_sufficient_statistics(FNormal self) -> IMP::Floats"""
3132 return _IMP_isd.FNormal_do_get_sufficient_statistics(self)
3135 def do_evaluate(self):
3136 """do_evaluate(FNormal self) -> double"""
3137 return _IMP_isd.FNormal_do_evaluate(self)
3140 def evaluate_derivative_FA(self):
3141 """evaluate_derivative_FA(FNormal self) -> double"""
3142 return _IMP_isd.FNormal_evaluate_derivative_FA(self)
3145 def evaluate_derivative_JA(self):
3146 """evaluate_derivative_JA(FNormal self) -> double"""
3147 return _IMP_isd.FNormal_evaluate_derivative_JA(self)
3150 def evaluate_derivative_FM(self):
3151 """evaluate_derivative_FM(FNormal self) -> double"""
3152 return _IMP_isd.FNormal_evaluate_derivative_FM(self)
3155 def evaluate_derivative_sigma(self):
3156 """evaluate_derivative_sigma(FNormal self) -> double"""
3157 return _IMP_isd.FNormal_evaluate_derivative_sigma(self)
3160 def do_get_density(self):
3161 """do_get_density(FNormal self) -> double"""
3162 return _IMP_isd.FNormal_do_get_density(self)
3165 def set_FA(self, f):
3166 """set_FA(FNormal self, double f)"""
3167 return _IMP_isd.FNormal_set_FA(self, f)
3170 def set_JA(self, f):
3171 """set_JA(FNormal self, double f)"""
3172 return _IMP_isd.FNormal_set_JA(self, f)
3175 def set_FM(self, f):
3176 """set_FM(FNormal self, double f)"""
3177 return _IMP_isd.FNormal_set_FM(self, f)
3180 def set_sigma(self, f):
3181 """set_sigma(FNormal self, double f)"""
3182 return _IMP_isd.FNormal_set_sigma(self, f)
3186 """__str__(FNormal self) -> std::string"""
3187 return _IMP_isd.FNormal___str__(self)
3191 """__repr__(FNormal self) -> std::string"""
3192 return _IMP_isd.FNormal___repr__(self)
3197 return _object_cast_to_FNormal(o)
3199 FNormal_swigregister = _IMP_isd.FNormal_swigregister
3200 FNormal_swigregister(FNormal)
3202 class FStudentT(OneDimensionalSufficientDistribution):
3203 """Proxy of C++ IMP::isd::FStudentT class"""
3204 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3206 def __init__(self, *args):
3208 __init__(IMP::isd::FStudentT self, IMP::Floats FXs, IMP::Floats JXs, double FM, double sigma, double nu, std::string name) -> FStudentT
3209 __init__(IMP::isd::FStudentT self, IMP::Floats FXs, IMP::Floats JXs, double FM, double sigma, double nu) -> FStudentT
3210 __init__(IMP::isd::FStudentT self, double sumFX, double sumFX2, unsigned int N, double LogJX, double FM, double sigma, double nu, std::string name) -> FStudentT
3211 __init__(IMP::isd::FStudentT self, double sumFX, double sumFX2, unsigned int N, double LogJX, double FM, double sigma, double nu) -> FStudentT
3213 this = _IMP_isd.new_FStudentT(*args)
3215 self.this.append(this)
3219 def update_sufficient_statistics(self, FXs, JXs):
3220 """update_sufficient_statistics(FStudentT self, IMP::Floats FXs, IMP::Floats JXs)"""
3221 return _IMP_isd.FStudentT_update_sufficient_statistics(self, FXs, JXs)
3224 def evaluate_derivative_Fx(self, Fx):
3225 """evaluate_derivative_Fx(FStudentT self, double Fx) -> double"""
3226 return _IMP_isd.FStudentT_evaluate_derivative_Fx(self, Fx)
3229 def evaluate_derivative_FX(self, FXs):
3230 """evaluate_derivative_FX(FStudentT self, IMP::Floats const FXs) -> IMP::Floats"""
3231 return _IMP_isd.FStudentT_evaluate_derivative_FX(self, FXs)
3234 def evaluate_derivative_LogJX(self):
3235 """evaluate_derivative_LogJX(FStudentT self) -> double"""
3236 return _IMP_isd.FStudentT_evaluate_derivative_LogJX(self)
3239 def evaluate_derivative_FM(self):
3240 """evaluate_derivative_FM(FStudentT self) -> double"""
3241 return _IMP_isd.FStudentT_evaluate_derivative_FM(self)
3244 def evaluate_derivative_sigma(self):
3245 """evaluate_derivative_sigma(FStudentT self) -> double"""
3246 return _IMP_isd.FStudentT_evaluate_derivative_sigma(self)
3249 def evaluate_derivative_nu(self):
3250 """evaluate_derivative_nu(FStudentT self) -> double"""
3251 return _IMP_isd.FStudentT_evaluate_derivative_nu(self)
3254 def update_cached_values(self):
3255 """update_cached_values(FStudentT self)"""
3256 return _IMP_isd.FStudentT_update_cached_values(self)
3259 def set_sumFX(self, v):
3260 """set_sumFX(FStudentT self, double v)"""
3261 return _IMP_isd.FStudentT_set_sumFX(self, v)
3264 def set_sumFX2(self, v):
3265 """set_sumFX2(FStudentT self, double v)"""
3266 return _IMP_isd.FStudentT_set_sumFX2(self, v)
3270 """set_N(FStudentT self, unsigned int v)"""
3271 return _IMP_isd.FStudentT_set_N(self, v)
3274 def set_LogJX(self, v):
3275 """set_LogJX(FStudentT self, double v)"""
3276 return _IMP_isd.FStudentT_set_LogJX(self, v)
3279 def set_FM(self, v):
3280 """set_FM(FStudentT self, double v)"""
3281 return _IMP_isd.FStudentT_set_FM(self, v)
3284 def set_sigma(self, v):
3285 """set_sigma(FStudentT self, double v)"""
3286 return _IMP_isd.FStudentT_set_sigma(self, v)
3289 def set_nu(self, v):
3290 """set_nu(FStudentT self, double v)"""
3291 return _IMP_isd.FStudentT_set_nu(self, v)
3294 def get_sumFX(self):
3295 """get_sumFX(FStudentT self) -> double"""
3296 return _IMP_isd.FStudentT_get_sumFX(self)
3299 def get_sumFX2(self):
3300 """get_sumFX2(FStudentT self) -> double"""
3301 return _IMP_isd.FStudentT_get_sumFX2(self)
3305 """get_N(FStudentT self) -> unsigned int"""
3306 return _IMP_isd.FStudentT_get_N(self)
3309 def get_LogJX(self):
3310 """get_LogJX(FStudentT self) -> double"""
3311 return _IMP_isd.FStudentT_get_LogJX(self)
3315 """get_FM(FStudentT self) -> double"""
3316 return _IMP_isd.FStudentT_get_FM(self)
3319 def get_sigma(self):
3320 """get_sigma(FStudentT self) -> double"""
3321 return _IMP_isd.FStudentT_get_sigma(self)
3325 """get_nu(FStudentT self) -> double"""
3326 return _IMP_isd.FStudentT_get_nu(self)
3330 """__str__(FStudentT self) -> std::string"""
3331 return _IMP_isd.FStudentT___str__(self)
3335 """__repr__(FStudentT self) -> std::string"""
3336 return _IMP_isd.FStudentT___repr__(self)
3341 return _object_cast_to_FStudentT(o)
3343 FStudentT_swigregister = _IMP_isd.FStudentT_swigregister
3344 FStudentT_swigregister(FStudentT)
3347 """Proxy of C++ IMP::isd::vonMises class"""
3348 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3350 def __init__(self, x, mu, kappa):
3351 """__init__(IMP::isd::vonMises self, double x, double mu, double kappa) -> vonMises"""
3352 this = _IMP_isd.new_vonMises(x, mu, kappa)
3354 self.this.append(this)
3359 """evaluate(vonMises self) -> double"""
3360 return _IMP_isd.vonMises_evaluate(self)
3363 def evaluate_derivative_x(self):
3364 """evaluate_derivative_x(vonMises self) -> double"""
3365 return _IMP_isd.vonMises_evaluate_derivative_x(self)
3368 def evaluate_derivative_mu(self):
3369 """evaluate_derivative_mu(vonMises self) -> double"""
3370 return _IMP_isd.vonMises_evaluate_derivative_mu(self)
3373 def evaluate_derivative_kappa(self):
3374 """evaluate_derivative_kappa(vonMises self) -> double"""
3375 return _IMP_isd.vonMises_evaluate_derivative_kappa(self)
3379 """density(vonMises self) -> double"""
3380 return _IMP_isd.vonMises_density(self)
3384 """set_x(vonMises self, double x)"""
3385 return _IMP_isd.vonMises_set_x(self, x)
3388 def set_mu(self, mu):
3389 """set_mu(vonMises self, double mu)"""
3390 return _IMP_isd.vonMises_set_mu(self, mu)
3393 def set_kappa(self, kappa):
3394 """set_kappa(vonMises self, double kappa)"""
3395 return _IMP_isd.vonMises_set_kappa(self, kappa)
3399 """get_version_info(vonMises self) -> VersionInfo"""
3400 return _IMP_isd.vonMises_get_version_info(self)
3404 """__str__(vonMises self) -> std::string"""
3405 return _IMP_isd.vonMises___str__(self)
3409 """__repr__(vonMises self) -> std::string"""
3410 return _IMP_isd.vonMises___repr__(self)
3415 return _object_cast_to_vonMises(o)
3417 vonMises_swigregister = _IMP_isd.vonMises_swigregister
3418 vonMises_swigregister(vonMises)
3421 """Proxy of C++ IMP::isd::vonMisesSufficient class"""
3422 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3424 def __init__(self, *args):
3426 __init__(IMP::isd::vonMisesSufficient self, double chi, unsigned int N, double R0, double chiexp, double kappa) -> vonMisesSufficient
3427 __init__(IMP::isd::vonMisesSufficient self, double chi, IMP::Floats obs, double kappa) -> vonMisesSufficient
3429 this = _IMP_isd.new_vonMisesSufficient(*args)
3431 self.this.append(this)
3436 """evaluate(vonMisesSufficient self) -> double"""
3437 return _IMP_isd.vonMisesSufficient_evaluate(self)
3440 def evaluate_derivative_x(self):
3441 """evaluate_derivative_x(vonMisesSufficient self) -> double"""
3442 return _IMP_isd.vonMisesSufficient_evaluate_derivative_x(self)
3445 def evaluate_derivative_kappa(self):
3446 """evaluate_derivative_kappa(vonMisesSufficient self) -> double"""
3447 return _IMP_isd.vonMisesSufficient_evaluate_derivative_kappa(self)
3451 """density(vonMisesSufficient self) -> double"""
3452 return _IMP_isd.vonMisesSufficient_density(self)
3456 """get_x(vonMisesSufficient self) -> double"""
3457 return _IMP_isd.vonMisesSufficient_get_x(self)
3461 """get_R0(vonMisesSufficient self) -> double"""
3462 return _IMP_isd.vonMisesSufficient_get_R0(self)
3465 def get_chiexp(self):
3466 """get_chiexp(vonMisesSufficient self) -> double"""
3467 return _IMP_isd.vonMisesSufficient_get_chiexp(self)
3471 """get_N(vonMisesSufficient self) -> double"""
3472 return _IMP_isd.vonMisesSufficient_get_N(self)
3475 def get_kappa(self):
3476 """get_kappa(vonMisesSufficient self) -> double"""
3477 return _IMP_isd.vonMisesSufficient_get_kappa(self)
3481 """set_x(vonMisesSufficient self, double x)"""
3482 return _IMP_isd.vonMisesSufficient_set_x(self, x)
3485 def set_R0(self, R0):
3486 """set_R0(vonMisesSufficient self, double R0)"""
3487 return _IMP_isd.vonMisesSufficient_set_R0(self, R0)
3490 def set_chiexp(self, chiexp):
3491 """set_chiexp(vonMisesSufficient self, double chiexp)"""
3492 return _IMP_isd.vonMisesSufficient_set_chiexp(self, chiexp)
3496 """set_N(vonMisesSufficient self, unsigned int N)"""
3497 return _IMP_isd.vonMisesSufficient_set_N(self, N)
3500 def set_kappa(self, kappa):
3501 """set_kappa(vonMisesSufficient self, double kappa)"""
3502 return _IMP_isd.vonMisesSufficient_set_kappa(self, kappa)
3505 def get_sufficient_statistics(data):
3506 """get_sufficient_statistics(IMP::Floats data) -> IMP::Floats"""
3507 return _IMP_isd.vonMisesSufficient_get_sufficient_statistics(data)
3509 get_sufficient_statistics = staticmethod(get_sufficient_statistics)
3512 """get_version_info(vonMisesSufficient self) -> VersionInfo"""
3513 return _IMP_isd.vonMisesSufficient_get_version_info(self)
3517 """__str__(vonMisesSufficient self) -> std::string"""
3518 return _IMP_isd.vonMisesSufficient___str__(self)
3522 """__repr__(vonMisesSufficient self) -> std::string"""
3523 return _IMP_isd.vonMisesSufficient___repr__(self)
3528 return _object_cast_to_vonMisesSufficient(o)
3530 vonMisesSufficient_swigregister = _IMP_isd.vonMisesSufficient_swigregister
3531 vonMisesSufficient_swigregister(vonMisesSufficient)
3533 def vonMisesSufficient_get_sufficient_statistics(data):
3534 """vonMisesSufficient_get_sufficient_statistics(IMP::Floats data) -> IMP::Floats"""
3535 return _IMP_isd.vonMisesSufficient_get_sufficient_statistics(data)
3537 class PenalizedComplexityPrior(OneDimensionalSufficientDistribution):
3538 """Proxy of C++ IMP::isd::PenalizedComplexityPrior class"""
3539 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3541 def __init__(self, *args):
3543 __init__(IMP::isd::PenalizedComplexityPrior self, double Dxi, double Jxi, double alpha, std::string name) -> PenalizedComplexityPrior
3544 __init__(IMP::isd::PenalizedComplexityPrior self, double Dxi, double Jxi, double alpha) -> PenalizedComplexityPrior
3546 this = _IMP_isd.new_PenalizedComplexityPrior(*args)
3548 self.this.append(this)
3552 def update_sufficient_statistics(self, Dxis, Jxis):
3553 """update_sufficient_statistics(PenalizedComplexityPrior self, IMP::Floats Dxis, IMP::Floats Jxis)"""
3554 return _IMP_isd.PenalizedComplexityPrior_update_sufficient_statistics(self, Dxis, Jxis)
3557 def evaluate_derivative_Dxi(self):
3558 """evaluate_derivative_Dxi(PenalizedComplexityPrior self) -> double"""
3559 return _IMP_isd.PenalizedComplexityPrior_evaluate_derivative_Dxi(self)
3562 def evaluate_derivative_Jxi(self):
3563 """evaluate_derivative_Jxi(PenalizedComplexityPrior self) -> double"""
3564 return _IMP_isd.PenalizedComplexityPrior_evaluate_derivative_Jxi(self)
3567 def evaluate_derivative_alpha(self):
3568 """evaluate_derivative_alpha(PenalizedComplexityPrior self) -> double"""
3569 return _IMP_isd.PenalizedComplexityPrior_evaluate_derivative_alpha(self)
3572 def evaluate_derivative_xi(self, JJxi):
3573 """evaluate_derivative_xi(PenalizedComplexityPrior self, double JJxi) -> double"""
3574 return _IMP_isd.PenalizedComplexityPrior_evaluate_derivative_xi(self, JJxi)
3577 def set_Dxi(self, v):
3578 """set_Dxi(PenalizedComplexityPrior self, double v)"""
3579 return _IMP_isd.PenalizedComplexityPrior_set_Dxi(self, v)
3582 def set_Jxi(self, v):
3583 """set_Jxi(PenalizedComplexityPrior self, double v)"""
3584 return _IMP_isd.PenalizedComplexityPrior_set_Jxi(self, v)
3587 def set_alpha(self, v):
3588 """set_alpha(PenalizedComplexityPrior self, double v)"""
3589 return _IMP_isd.PenalizedComplexityPrior_set_alpha(self, v)
3593 """get_Dxi(PenalizedComplexityPrior self) -> double"""
3594 return _IMP_isd.PenalizedComplexityPrior_get_Dxi(self)
3598 """get_Jxi(PenalizedComplexityPrior self) -> double"""
3599 return _IMP_isd.PenalizedComplexityPrior_get_Jxi(self)
3602 def get_alpha(self):
3603 """get_alpha(PenalizedComplexityPrior self) -> double"""
3604 return _IMP_isd.PenalizedComplexityPrior_get_alpha(self)
3608 """__str__(PenalizedComplexityPrior self) -> std::string"""
3609 return _IMP_isd.PenalizedComplexityPrior___str__(self)
3613 """__repr__(PenalizedComplexityPrior self) -> std::string"""
3614 return _IMP_isd.PenalizedComplexityPrior___repr__(self)
3619 return _object_cast_to_PenalizedComplexityPrior(o)
3621 PenalizedComplexityPrior_swigregister = _IMP_isd.PenalizedComplexityPrior_swigregister
3622 PenalizedComplexityPrior_swigregister(PenalizedComplexityPrior)
3625 """Proxy of C++ IMP::isd::vonMisesKappaJeffreysRestraint class"""
3626 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3628 def __init__(self, m, kappa):
3629 """__init__(IMP::isd::vonMisesKappaJeffreysRestraint self, Model m, Particle kappa) -> vonMisesKappaJeffreysRestraint"""
3630 this = _IMP_isd.new_vonMisesKappaJeffreysRestraint(m, kappa)
3632 self.this.append(this)
3637 """do_get_inputs(vonMisesKappaJeffreysRestraint self) -> IMP::ModelObjectsTemp"""
3638 return _IMP_isd.vonMisesKappaJeffreysRestraint_do_get_inputs(self)
3642 """get_version_info(vonMisesKappaJeffreysRestraint self) -> VersionInfo"""
3643 return _IMP_isd.vonMisesKappaJeffreysRestraint_get_version_info(self)
3646 def get_probability(self):
3647 """get_probability(vonMisesKappaJeffreysRestraint self) -> double"""
3648 return _IMP_isd.vonMisesKappaJeffreysRestraint_get_probability(self)
3652 """__str__(vonMisesKappaJeffreysRestraint self) -> std::string"""
3653 return _IMP_isd.vonMisesKappaJeffreysRestraint___str__(self)
3657 """__repr__(vonMisesKappaJeffreysRestraint self) -> std::string"""
3658 return _IMP_isd.vonMisesKappaJeffreysRestraint___repr__(self)
3663 return _object_cast_to_vonMisesKappaJeffreysRestraint(o)
3665 vonMisesKappaJeffreysRestraint_swigregister = _IMP_isd.vonMisesKappaJeffreysRestraint_swigregister
3666 vonMisesKappaJeffreysRestraint_swigregister(vonMisesKappaJeffreysRestraint)
3669 """Proxy of C++ IMP::isd::vonMisesKappaConjugateRestraint class"""
3670 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3672 def __init__(self, m, kappa, c=10.0, R0=0.0):
3674 __init__(IMP::isd::vonMisesKappaConjugateRestraint self, Model m, Particle kappa, double c=10.0, double R0=0.0) -> vonMisesKappaConjugateRestraint
3675 __init__(IMP::isd::vonMisesKappaConjugateRestraint self, Model m, Particle kappa, double c=10.0) -> vonMisesKappaConjugateRestraint
3676 __init__(IMP::isd::vonMisesKappaConjugateRestraint self, Model m, Particle kappa) -> vonMisesKappaConjugateRestraint
3678 this = _IMP_isd.new_vonMisesKappaConjugateRestraint(m, kappa, c, R0)
3680 self.this.append(this)
3685 """do_get_inputs(vonMisesKappaConjugateRestraint self) -> IMP::ModelObjectsTemp"""
3686 return _IMP_isd.vonMisesKappaConjugateRestraint_do_get_inputs(self)
3690 """get_version_info(vonMisesKappaConjugateRestraint self) -> VersionInfo"""
3691 return _IMP_isd.vonMisesKappaConjugateRestraint_get_version_info(self)
3694 def get_probability(self):
3695 """get_probability(vonMisesKappaConjugateRestraint self) -> double"""
3696 return _IMP_isd.vonMisesKappaConjugateRestraint_get_probability(self)
3700 """__str__(vonMisesKappaConjugateRestraint self) -> std::string"""
3701 return _IMP_isd.vonMisesKappaConjugateRestraint___str__(self)
3705 """__repr__(vonMisesKappaConjugateRestraint self) -> std::string"""
3706 return _IMP_isd.vonMisesKappaConjugateRestraint___repr__(self)
3711 return _object_cast_to_vonMisesKappaConjugateRestraint(o)
3713 vonMisesKappaConjugateRestraint_swigregister = _IMP_isd.vonMisesKappaConjugateRestraint_swigregister
3714 vonMisesKappaConjugateRestraint_swigregister(vonMisesKappaConjugateRestraint)
3717 """Proxy of C++ IMP::isd::NOERestraint class"""
3718 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3720 def __init__(self, m, p0, p1, sigma, gamma, Iexp):
3721 """__init__(IMP::isd::NOERestraint self, Model m, Particle p0, Particle p1, Particle sigma, Particle gamma, double Iexp) -> NOERestraint"""
3722 this = _IMP_isd.new_NOERestraint(m, p0, p1, sigma, gamma, Iexp)
3724 self.this.append(this)
3728 def get_probability(self):
3729 """get_probability(NOERestraint self) -> double"""
3730 return _IMP_isd.NOERestraint_get_probability(self)
3734 """get_chi(NOERestraint self) -> double"""
3735 return _IMP_isd.NOERestraint_get_chi(self)
3739 """do_get_inputs(NOERestraint self) -> IMP::ModelObjectsTemp"""
3740 return _IMP_isd.NOERestraint_do_get_inputs(self)
3744 """get_version_info(NOERestraint self) -> VersionInfo"""
3745 return _IMP_isd.NOERestraint_get_version_info(self)
3749 """__str__(NOERestraint self) -> std::string"""
3750 return _IMP_isd.NOERestraint___str__(self)
3754 """__repr__(NOERestraint self) -> std::string"""
3755 return _IMP_isd.NOERestraint___repr__(self)
3760 return _object_cast_to_NOERestraint(o)
3762 NOERestraint_swigregister = _IMP_isd.NOERestraint_swigregister
3763 NOERestraint_swigregister(NOERestraint)
3766 """Proxy of C++ IMP::isd::GaussianRestraint class"""
3767 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3769 def __init__(self, *args):
3771 __init__(IMP::isd::GaussianRestraint self, Particle x, Particle mu, Particle sigma) -> GaussianRestraint
3772 __init__(IMP::isd::GaussianRestraint self, double x, Particle mu, Particle sigma) -> GaussianRestraint
3773 __init__(IMP::isd::GaussianRestraint self, Particle x, double mu, Particle sigma) -> GaussianRestraint
3774 __init__(IMP::isd::GaussianRestraint self, Particle x, Particle mu, double sigma) -> GaussianRestraint
3775 __init__(IMP::isd::GaussianRestraint self, double x, double mu, Particle sigma) -> GaussianRestraint
3776 __init__(IMP::isd::GaussianRestraint self, Particle x, double mu, double sigma) -> GaussianRestraint
3777 __init__(IMP::isd::GaussianRestraint self, double x, Particle mu, double sigma) -> GaussianRestraint
3779 this = _IMP_isd.new_GaussianRestraint(*args)
3781 self.this.append(this)
3785 def get_probability(self):
3786 """get_probability(GaussianRestraint self) -> double"""
3787 return _IMP_isd.GaussianRestraint_get_probability(self)
3791 """get_chi(GaussianRestraint self) -> double"""
3792 return _IMP_isd.GaussianRestraint_get_chi(self)
3796 """do_get_inputs(GaussianRestraint self) -> IMP::ModelObjectsTemp"""
3797 return _IMP_isd.GaussianRestraint_do_get_inputs(self)
3801 """get_version_info(GaussianRestraint self) -> VersionInfo"""
3802 return _IMP_isd.GaussianRestraint_get_version_info(self)
3806 """__str__(GaussianRestraint self) -> std::string"""
3807 return _IMP_isd.GaussianRestraint___str__(self)
3811 """__repr__(GaussianRestraint self) -> std::string"""
3812 return _IMP_isd.GaussianRestraint___repr__(self)
3817 return _object_cast_to_GaussianRestraint(o)
3819 GaussianRestraint_swigregister = _IMP_isd.GaussianRestraint_swigregister
3820 GaussianRestraint_swigregister(GaussianRestraint)
3823 """Proxy of C++ IMP::isd::StudentTRestraint class"""
3824 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3826 def __init__(self, *args):
3828 __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, _ParticleIndexAdaptor mu, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3829 __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, double mu, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3830 __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, _ParticleIndexAdaptor mu, double sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3831 __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, _ParticleIndexAdaptor mu, _ParticleIndexAdaptor sigma, double nu) -> StudentTRestraint
3832 __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, double mu, double sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3833 __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, double mu, _ParticleIndexAdaptor sigma, double nu) -> StudentTRestraint
3834 __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, _ParticleIndexAdaptor mu, double sigma, double nu) -> StudentTRestraint
3835 __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, double mu, double sigma, double nu) -> StudentTRestraint
3836 __init__(IMP::isd::StudentTRestraint self, Model m, double x, _ParticleIndexAdaptor mu, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3837 __init__(IMP::isd::StudentTRestraint self, Model m, double x, double mu, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3838 __init__(IMP::isd::StudentTRestraint self, Model m, double x, _ParticleIndexAdaptor mu, double sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3839 __init__(IMP::isd::StudentTRestraint self, Model m, double x, _ParticleIndexAdaptor mu, _ParticleIndexAdaptor sigma, double nu) -> StudentTRestraint
3840 __init__(IMP::isd::StudentTRestraint self, Model m, double x, double mu, double sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3841 __init__(IMP::isd::StudentTRestraint self, Model m, double x, double mu, _ParticleIndexAdaptor sigma, double nu) -> StudentTRestraint
3842 __init__(IMP::isd::StudentTRestraint self, Model m, double x, _ParticleIndexAdaptor mu, double sigma, double nu) -> StudentTRestraint
3844 this = _IMP_isd.new_StudentTRestraint(*args)
3846 self.this.append(this)
3850 def get_probability(self):
3851 """get_probability(StudentTRestraint self) -> double"""
3852 return _IMP_isd.StudentTRestraint_get_probability(self)
3856 """do_get_inputs(StudentTRestraint self) -> IMP::ModelObjectsTemp"""
3857 return _IMP_isd.StudentTRestraint_do_get_inputs(self)
3861 """get_version_info(StudentTRestraint self) -> VersionInfo"""
3862 return _IMP_isd.StudentTRestraint_get_version_info(self)
3866 """__str__(StudentTRestraint self) -> std::string"""
3867 return _IMP_isd.StudentTRestraint___str__(self)
3871 """__repr__(StudentTRestraint self) -> std::string"""
3872 return _IMP_isd.StudentTRestraint___repr__(self)
3877 return _object_cast_to_StudentTRestraint(o)
3879 StudentTRestraint_swigregister = _IMP_isd.StudentTRestraint_swigregister
3880 StudentTRestraint_swigregister(StudentTRestraint)
3883 """Proxy of C++ IMP::isd::LognormalRestraint class"""
3884 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3886 def __init__(self, *args):
3888 __init__(IMP::isd::LognormalRestraint self, Particle x, Particle mu, Particle sigma) -> LognormalRestraint
3889 __init__(IMP::isd::LognormalRestraint self, double x, Particle mu, Particle sigma) -> LognormalRestraint
3890 __init__(IMP::isd::LognormalRestraint self, Particle x, double mu, Particle sigma) -> LognormalRestraint
3891 __init__(IMP::isd::LognormalRestraint self, Particle x, Particle mu, double sigma) -> LognormalRestraint
3892 __init__(IMP::isd::LognormalRestraint self, double x, double mu, Particle sigma) -> LognormalRestraint
3893 __init__(IMP::isd::LognormalRestraint self, Particle x, double mu, double sigma) -> LognormalRestraint
3894 __init__(IMP::isd::LognormalRestraint self, double x, Particle mu, double sigma) -> LognormalRestraint
3896 this = _IMP_isd.new_LognormalRestraint(*args)
3898 self.this.append(this)
3902 def get_probability(self):
3903 """get_probability(LognormalRestraint self) -> double"""
3904 return _IMP_isd.LognormalRestraint_get_probability(self)
3908 """get_chi(LognormalRestraint self) -> double"""
3909 return _IMP_isd.LognormalRestraint_get_chi(self)
3913 """do_get_inputs(LognormalRestraint self) -> IMP::ModelObjectsTemp"""
3914 return _IMP_isd.LognormalRestraint_do_get_inputs(self)
3918 """get_version_info(LognormalRestraint self) -> VersionInfo"""
3919 return _IMP_isd.LognormalRestraint_get_version_info(self)
3923 """__str__(LognormalRestraint self) -> std::string"""
3924 return _IMP_isd.LognormalRestraint___str__(self)
3928 """__repr__(LognormalRestraint self) -> std::string"""
3929 return _IMP_isd.LognormalRestraint___repr__(self)
3934 return _object_cast_to_LognormalRestraint(o)
3936 LognormalRestraint_swigregister = _IMP_isd.LognormalRestraint_swigregister
3937 LognormalRestraint_swigregister(LognormalRestraint)
3940 """Proxy of C++ IMP::isd::LognormalAmbiguousRestraint class"""
3941 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3943 def __init__(self, p1, p2, ki, sigmaG):
3944 """__init__(IMP::isd::LognormalAmbiguousRestraint self, Particle p1, Particle p2, Particle ki, Particle sigmaG) -> LognormalAmbiguousRestraint"""
3945 this = _IMP_isd.new_LognormalAmbiguousRestraint(p1, p2, ki, sigmaG)
3947 self.this.append(this)
3951 def add_contribution(self, lexp, omega):
3952 """add_contribution(LognormalAmbiguousRestraint self, double lexp, Particle omega)"""
3953 return _IMP_isd.LognormalAmbiguousRestraint_add_contribution(self, lexp, omega)
3956 def get_number_of_contributions(self):
3957 """get_number_of_contributions(LognormalAmbiguousRestraint self) -> unsigned int"""
3958 return _IMP_isd.LognormalAmbiguousRestraint_get_number_of_contributions(self)
3961 def draw_k_from_posterior(self, kt):
3962 """draw_k_from_posterior(LognormalAmbiguousRestraint self, double kt)"""
3963 return _IMP_isd.LognormalAmbiguousRestraint_draw_k_from_posterior(self, kt)
3966 def get_probability(self):
3967 """get_probability(LognormalAmbiguousRestraint self) -> double"""
3968 return _IMP_isd.LognormalAmbiguousRestraint_get_probability(self)
3972 """do_get_inputs(LognormalAmbiguousRestraint self) -> IMP::ModelObjectsTemp"""
3973 return _IMP_isd.LognormalAmbiguousRestraint_do_get_inputs(self)
3977 """get_version_info(LognormalAmbiguousRestraint self) -> VersionInfo"""
3978 return _IMP_isd.LognormalAmbiguousRestraint_get_version_info(self)
3982 """__str__(LognormalAmbiguousRestraint self) -> std::string"""
3983 return _IMP_isd.LognormalAmbiguousRestraint___str__(self)
3987 """__repr__(LognormalAmbiguousRestraint self) -> std::string"""
3988 return _IMP_isd.LognormalAmbiguousRestraint___repr__(self)
3993 return _object_cast_to_LognormalAmbiguousRestraint(o)
3995 LognormalAmbiguousRestraint_swigregister = _IMP_isd.LognormalAmbiguousRestraint_swigregister
3996 LognormalAmbiguousRestraint_swigregister(LognormalAmbiguousRestraint)
3999 """Proxy of C++ IMP::isd::AmbiguousNOERestraint class"""
4000 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4002 def __init__(self, m, pc, sigma, gamma, Iexp):
4003 """__init__(IMP::isd::AmbiguousNOERestraint self, Model m, PairContainer pc, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor gamma, double Iexp) -> AmbiguousNOERestraint"""
4004 this = _IMP_isd.new_AmbiguousNOERestraint(m, pc, sigma, gamma, Iexp)
4006 self.this.append(this)
4010 def get_probability(self):
4011 """get_probability(AmbiguousNOERestraint self) -> double"""
4012 return _IMP_isd.AmbiguousNOERestraint_get_probability(self)
4016 """get_chi(AmbiguousNOERestraint self) -> double"""
4017 return _IMP_isd.AmbiguousNOERestraint_get_chi(self)
4021 """do_get_inputs(AmbiguousNOERestraint self) -> IMP::ModelObjectsTemp"""
4022 return _IMP_isd.AmbiguousNOERestraint_do_get_inputs(self)
4026 """get_version_info(AmbiguousNOERestraint self) -> VersionInfo"""
4027 return _IMP_isd.AmbiguousNOERestraint_get_version_info(self)
4031 """__str__(AmbiguousNOERestraint self) -> std::string"""
4032 return _IMP_isd.AmbiguousNOERestraint___str__(self)
4036 """__repr__(AmbiguousNOERestraint self) -> std::string"""
4037 return _IMP_isd.AmbiguousNOERestraint___repr__(self)
4042 return _object_cast_to_AmbiguousNOERestraint(o)
4044 AmbiguousNOERestraint_swigregister = _IMP_isd.AmbiguousNOERestraint_swigregister
4045 AmbiguousNOERestraint_swigregister(AmbiguousNOERestraint)
4048 """Proxy of C++ IMP::isd::MarginalNOERestraint class"""
4049 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4051 def __init__(self, m):
4052 """__init__(IMP::isd::MarginalNOERestraint self, Model m) -> MarginalNOERestraint"""
4053 this = _IMP_isd.new_MarginalNOERestraint(m)
4055 self.this.append(this)
4059 def add_contribution(self, *args):
4061 add_contribution(MarginalNOERestraint self, Particle p1, Particle p2, double Iexp)
4062 add_contribution(MarginalNOERestraint self, PairContainer pc, double Iexp)
4064 return _IMP_isd.MarginalNOERestraint_add_contribution(self, *args)
4067 def get_log_gammahat(self):
4068 """get_log_gammahat(MarginalNOERestraint self) -> double"""
4069 return _IMP_isd.MarginalNOERestraint_get_log_gammahat(self)
4073 """get_SS(MarginalNOERestraint self) -> double"""
4074 return _IMP_isd.MarginalNOERestraint_get_SS(self)
4077 def get_number_of_contributions(self):
4078 """get_number_of_contributions(MarginalNOERestraint self) -> unsigned int"""
4079 return _IMP_isd.MarginalNOERestraint_get_number_of_contributions(self)
4082 def get_probability(self):
4083 """get_probability(MarginalNOERestraint self) -> double"""
4084 return _IMP_isd.MarginalNOERestraint_get_probability(self)
4088 """do_get_inputs(MarginalNOERestraint self) -> IMP::ModelObjectsTemp"""
4089 return _IMP_isd.MarginalNOERestraint_do_get_inputs(self)
4093 """get_version_info(MarginalNOERestraint self) -> VersionInfo"""
4094 return _IMP_isd.MarginalNOERestraint_get_version_info(self)
4098 """__str__(MarginalNOERestraint self) -> std::string"""
4099 return _IMP_isd.MarginalNOERestraint___str__(self)
4103 """__repr__(MarginalNOERestraint self) -> std::string"""
4104 return _IMP_isd.MarginalNOERestraint___repr__(self)
4109 return _object_cast_to_MarginalNOERestraint(o)
4111 MarginalNOERestraint_swigregister = _IMP_isd.MarginalNOERestraint_swigregister
4112 MarginalNOERestraint_swigregister(MarginalNOERestraint)
4115 """Proxy of C++ IMP::isd::MarginalHBondRestraint class"""
4116 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4118 def __init__(self, m):
4119 """__init__(IMP::isd::MarginalHBondRestraint self, Model m) -> MarginalHBondRestraint"""
4120 this = _IMP_isd.new_MarginalHBondRestraint(m)
4122 self.this.append(this)
4126 def add_contribution(self, *args):
4128 add_contribution(MarginalHBondRestraint self, Particle p1, Particle p2, double Iexp)
4129 add_contribution(MarginalHBondRestraint self, PairContainer pc, double Iexp)
4131 return _IMP_isd.MarginalHBondRestraint_add_contribution(self, *args)
4134 def get_logsquares(self):
4135 """get_logsquares(MarginalHBondRestraint self) -> double"""
4136 return _IMP_isd.MarginalHBondRestraint_get_logsquares(self)
4139 def get_number_of_contributions(self):
4140 """get_number_of_contributions(MarginalHBondRestraint self) -> unsigned int"""
4141 return _IMP_isd.MarginalHBondRestraint_get_number_of_contributions(self)
4144 def get_probability(self):
4145 """get_probability(MarginalHBondRestraint self) -> double"""
4146 return _IMP_isd.MarginalHBondRestraint_get_probability(self)
4150 """do_get_inputs(MarginalHBondRestraint self) -> IMP::ModelObjectsTemp"""
4151 return _IMP_isd.MarginalHBondRestraint_do_get_inputs(self)
4155 """get_version_info(MarginalHBondRestraint self) -> VersionInfo"""
4156 return _IMP_isd.MarginalHBondRestraint_get_version_info(self)
4160 """__str__(MarginalHBondRestraint self) -> std::string"""
4161 return _IMP_isd.MarginalHBondRestraint___str__(self)
4165 """__repr__(MarginalHBondRestraint self) -> std::string"""
4166 return _IMP_isd.MarginalHBondRestraint___repr__(self)
4171 return _object_cast_to_MarginalHBondRestraint(o)
4173 MarginalHBondRestraint_swigregister = _IMP_isd.MarginalHBondRestraint_swigregister
4174 MarginalHBondRestraint_swigregister(MarginalHBondRestraint)
4177 """Proxy of C++ IMP::isd::TALOSRestraint class"""
4178 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4180 def __init__(self, *args):
4182 __init__(IMP::isd::TALOSRestraint self, Model m, IMP::Particles p, IMP::Floats data, Particle kappa) -> TALOSRestraint
4183 __init__(IMP::isd::TALOSRestraint self, Model m, Particle p1, Particle p2, Particle p3, Particle p4, IMP::Floats data, Particle kappa) -> TALOSRestraint
4184 __init__(IMP::isd::TALOSRestraint self, Model m, IMP::Particles p, unsigned int N, double R0, double chiexp, Particle kappa) -> TALOSRestraint
4185 __init__(IMP::isd::TALOSRestraint self, Model m, Particle p1, Particle p2, Particle p3, Particle p4, unsigned int N, double R0, double chiexp, Particle kappa) -> TALOSRestraint
4187 this = _IMP_isd.new_TALOSRestraint(*args)
4189 self.this.append(this)
4193 def get_probability(self):
4194 """get_probability(TALOSRestraint self) -> double"""
4195 return _IMP_isd.TALOSRestraint_get_probability(self)
4199 """get_R0(TALOSRestraint self) -> double"""
4200 return _IMP_isd.TALOSRestraint_get_R0(self)
4203 def get_chiexp(self):
4204 """get_chiexp(TALOSRestraint self) -> double"""
4205 return _IMP_isd.TALOSRestraint_get_chiexp(self)
4209 """do_get_inputs(TALOSRestraint self) -> IMP::ModelObjectsTemp"""
4210 return _IMP_isd.TALOSRestraint_do_get_inputs(self)
4214 """get_version_info(TALOSRestraint self) -> VersionInfo"""
4215 return _IMP_isd.TALOSRestraint_get_version_info(self)
4219 """__str__(TALOSRestraint self) -> std::string"""
4220 return _IMP_isd.TALOSRestraint___str__(self)
4224 """__repr__(TALOSRestraint self) -> std::string"""
4225 return _IMP_isd.TALOSRestraint___repr__(self)
4230 return _object_cast_to_TALOSRestraint(o)
4232 TALOSRestraint_swigregister = _IMP_isd.TALOSRestraint_swigregister
4233 TALOSRestraint_swigregister(TALOSRestraint)
4236 """Proxy of C++ IMP::isd::RepulsiveDistancePairScore class"""
4237 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4239 def __init__(self, d0, k):
4240 """__init__(IMP::isd::RepulsiveDistancePairScore self, double d0, double k) -> RepulsiveDistancePairScore"""
4241 this = _IMP_isd.new_RepulsiveDistancePairScore(d0, k)
4243 self.this.append(this)
4247 def get_rest_length(self):
4248 """get_rest_length(RepulsiveDistancePairScore self) -> double"""
4249 return _IMP_isd.RepulsiveDistancePairScore_get_rest_length(self)
4252 def get_stiffness(self):
4253 """get_stiffness(RepulsiveDistancePairScore self) -> double"""
4254 return _IMP_isd.RepulsiveDistancePairScore_get_stiffness(self)
4258 """do_get_inputs(RepulsiveDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4259 return _IMP_isd.RepulsiveDistancePairScore_do_get_inputs(self, m, pis)
4263 """get_version_info(RepulsiveDistancePairScore self) -> VersionInfo"""
4264 return _IMP_isd.RepulsiveDistancePairScore_get_version_info(self)
4268 """__str__(RepulsiveDistancePairScore self) -> std::string"""
4269 return _IMP_isd.RepulsiveDistancePairScore___str__(self)
4273 """__repr__(RepulsiveDistancePairScore self) -> std::string"""
4274 return _IMP_isd.RepulsiveDistancePairScore___repr__(self)
4279 return _object_cast_to_RepulsiveDistancePairScore(o)
4281 RepulsiveDistancePairScore_swigregister = _IMP_isd.RepulsiveDistancePairScore_swigregister
4282 RepulsiveDistancePairScore_swigregister(RepulsiveDistancePairScore)
4285 """Proxy of C++ IMP::isd::AmbiguousRestraint class"""
4286 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4288 def __init__(self, *args):
4290 __init__(IMP::isd::AmbiguousRestraint self, Model m, int d, Restraint r0, Restraint r1) -> AmbiguousRestraint
4291 __init__(IMP::isd::AmbiguousRestraint self, Model m, int d, IMP::Restraints rs) -> AmbiguousRestraint
4293 this = _IMP_isd.new_AmbiguousRestraint(*args)
4295 self.this.append(this)
4299 def get_probability(self):
4300 """get_probability(AmbiguousRestraint self) -> double"""
4301 return _IMP_isd.AmbiguousRestraint_get_probability(self)
4305 """do_get_inputs(AmbiguousRestraint self) -> IMP::ModelObjectsTemp"""
4306 return _IMP_isd.AmbiguousRestraint_do_get_inputs(self)
4310 """get_version_info(AmbiguousRestraint self) -> VersionInfo"""
4311 return _IMP_isd.AmbiguousRestraint_get_version_info(self)
4315 """__str__(AmbiguousRestraint self) -> std::string"""
4316 return _IMP_isd.AmbiguousRestraint___str__(self)
4320 """__repr__(AmbiguousRestraint self) -> std::string"""
4321 return _IMP_isd.AmbiguousRestraint___repr__(self)
4326 return _object_cast_to_AmbiguousRestraint(o)
4328 AmbiguousRestraint_swigregister = _IMP_isd.AmbiguousRestraint_swigregister
4329 AmbiguousRestraint_swigregister(AmbiguousRestraint)
4332 _IMP_isd.IMP_ISD_UNIVARIATE_FUNCTIONS_MINIMUM_swigconstant(_IMP_isd)
4333 IMP_ISD_UNIVARIATE_FUNCTIONS_MINIMUM = _IMP_isd.IMP_ISD_UNIVARIATE_FUNCTIONS_MINIMUM
4335 """Proxy of C++ IMP::isd::UnivariateFunction class"""
4336 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4338 def __init__(self, *args, **kwargs):
4339 raise AttributeError(
"No constructor defined - class is abstract")
4341 def __call__(self, *args):
4343 __call__(UnivariateFunction self, IMP::Floats const & x) -> IMP::Floats
4344 __call__(UnivariateFunction self, IMP::FloatsList const & xlist) -> Eigen::VectorXd
4345 __call__(UnivariateFunction self, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
4347 return _IMP_isd.UnivariateFunction___call__(self, *args)
4350 def has_changed(self):
4351 """has_changed(UnivariateFunction self) -> bool"""
4352 return _IMP_isd.UnivariateFunction_has_changed(self)
4356 """update(UnivariateFunction self)"""
4357 return _IMP_isd.UnivariateFunction_update(self)
4360 def add_to_derivatives(self, x, accum):
4361 """add_to_derivatives(UnivariateFunction self, IMP::Floats const & x, DerivativeAccumulator accum)"""
4362 return _IMP_isd.UnivariateFunction_add_to_derivatives(self, x, accum)
4365 def add_to_particle_derivative(self, particle_no, value, accum):
4366 """add_to_particle_derivative(UnivariateFunction self, unsigned int particle_no, double value, DerivativeAccumulator accum)"""
4367 return _IMP_isd.UnivariateFunction_add_to_particle_derivative(self, particle_no, value, accum)
4370 def get_derivative_vector(self, particle_no, xlist):
4371 """get_derivative_vector(UnivariateFunction self, unsigned int particle_no, IMP::FloatsList const & xlist) -> Eigen::VectorXd"""
4372 return _IMP_isd.UnivariateFunction_get_derivative_vector(self, particle_no, xlist)
4375 def get_derivative_matrix(self, xlist, stupid):
4376 """get_derivative_matrix(UnivariateFunction self, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList"""
4377 return _IMP_isd.UnivariateFunction_get_derivative_matrix(self, xlist, stupid)
4380 def get_second_derivative_vector(self, *args):
4382 get_second_derivative_vector(UnivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> Eigen::VectorXd
4383 get_second_derivative_vector(UnivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
4385 return _IMP_isd.UnivariateFunction_get_second_derivative_vector(self, *args)
4388 def get_ndims_x(self):
4389 """get_ndims_x(UnivariateFunction self) -> unsigned int"""
4390 return _IMP_isd.UnivariateFunction_get_ndims_x(self)
4393 def get_ndims_y(self):
4394 """get_ndims_y(UnivariateFunction self) -> unsigned int"""
4395 return _IMP_isd.UnivariateFunction_get_ndims_y(self)
4398 def get_number_of_particles(self):
4399 """get_number_of_particles(UnivariateFunction self) -> unsigned int"""
4400 return _IMP_isd.UnivariateFunction_get_number_of_particles(self)
4403 def get_particle_is_optimized(self, particle_no):
4404 """get_particle_is_optimized(UnivariateFunction self, unsigned int particle_no) -> bool"""
4405 return _IMP_isd.UnivariateFunction_get_particle_is_optimized(self, particle_no)
4408 def get_number_of_optimized_particles(self):
4409 """get_number_of_optimized_particles(UnivariateFunction self) -> unsigned int"""
4410 return _IMP_isd.UnivariateFunction_get_number_of_optimized_particles(self)
4414 """get_inputs(UnivariateFunction self) -> IMP::ModelObjectsTemp"""
4415 return _IMP_isd.UnivariateFunction_get_inputs(self)
4417 __swig_destroy__ = _IMP_isd.delete_UnivariateFunction
4418 __del__ =
lambda self:
None
4421 """__str__(UnivariateFunction self) -> std::string"""
4422 return _IMP_isd.UnivariateFunction___str__(self)
4426 """__repr__(UnivariateFunction self) -> std::string"""
4427 return _IMP_isd.UnivariateFunction___repr__(self)
4432 return _object_cast_to_UnivariateFunction(o)
4434 UnivariateFunction_swigregister = _IMP_isd.UnivariateFunction_swigregister
4435 UnivariateFunction_swigregister(UnivariateFunction)
4437 class Linear1DFunction(UnivariateFunction):
4438 """Proxy of C++ IMP::isd::Linear1DFunction class"""
4439 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4441 def __init__(self, a, b):
4442 """__init__(IMP::isd::Linear1DFunction self, Particle a, Particle b) -> Linear1DFunction"""
4443 this = _IMP_isd.new_Linear1DFunction(a, b)
4445 self.this.append(this)
4449 def __call__(self, *args):
4451 __call__(Linear1DFunction self, IMP::Floats const & x) -> IMP::Floats
4452 __call__(Linear1DFunction self, IMP::FloatsList const & xlist) -> Eigen::VectorXd
4453 __call__(Linear1DFunction self, IMP::FloatsList const & xlist, bool arg3) -> IMP::FloatsList
4455 return _IMP_isd.Linear1DFunction___call__(self, *args)
4458 def get_second_derivative_vector(self, *args):
4460 get_second_derivative_vector(Linear1DFunction self, unsigned int arg2, unsigned int arg3, IMP::FloatsList const & xlist) -> Eigen::VectorXd
4461 get_second_derivative_vector(Linear1DFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool arg5) -> IMP::FloatsList
4463 return _IMP_isd.Linear1DFunction_get_second_derivative_vector(self, *args)
4467 """get_version_info(Linear1DFunction self) -> VersionInfo"""
4468 return _IMP_isd.Linear1DFunction_get_version_info(self)
4472 """__str__(Linear1DFunction self) -> std::string"""
4473 return _IMP_isd.Linear1DFunction___str__(self)
4477 """__repr__(Linear1DFunction self) -> std::string"""
4478 return _IMP_isd.Linear1DFunction___repr__(self)
4483 return _object_cast_to_Linear1DFunction(o)
4485 Linear1DFunction_swigregister = _IMP_isd.Linear1DFunction_swigregister
4486 Linear1DFunction_swigregister(Linear1DFunction)
4488 class GeneralizedGuinierPorodFunction(UnivariateFunction):
4489 """Proxy of C++ IMP::isd::GeneralizedGuinierPorodFunction class"""
4490 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4492 def __init__(self, G, Rg, d, s, A):
4493 """__init__(IMP::isd::GeneralizedGuinierPorodFunction self, Particle G, Particle Rg, Particle d, Particle s, Particle A) -> GeneralizedGuinierPorodFunction"""
4494 this = _IMP_isd.new_GeneralizedGuinierPorodFunction(G, Rg, d, s, A)
4496 self.this.append(this)
4500 def __call__(self, *args):
4502 __call__(GeneralizedGuinierPorodFunction self, IMP::Floats const & x) -> IMP::Floats
4503 __call__(GeneralizedGuinierPorodFunction self, IMP::FloatsList const & xlist) -> Eigen::VectorXd
4504 __call__(GeneralizedGuinierPorodFunction self, IMP::FloatsList const & xlist, bool arg3) -> IMP::FloatsList
4506 return _IMP_isd.GeneralizedGuinierPorodFunction___call__(self, *args)
4509 def get_second_derivative_vector(self, *args):
4511 get_second_derivative_vector(GeneralizedGuinierPorodFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> Eigen::VectorXd
4512 get_second_derivative_vector(GeneralizedGuinierPorodFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool arg5) -> IMP::FloatsList
4514 return _IMP_isd.GeneralizedGuinierPorodFunction_get_second_derivative_vector(self, *args)
4518 """get_version_info(GeneralizedGuinierPorodFunction self) -> VersionInfo"""
4519 return _IMP_isd.GeneralizedGuinierPorodFunction_get_version_info(self)
4523 """__str__(GeneralizedGuinierPorodFunction self) -> std::string"""
4524 return _IMP_isd.GeneralizedGuinierPorodFunction___str__(self)
4528 """__repr__(GeneralizedGuinierPorodFunction self) -> std::string"""
4529 return _IMP_isd.GeneralizedGuinierPorodFunction___repr__(self)
4534 return _object_cast_to_GeneralizedGuinierPorodFunction(o)
4536 GeneralizedGuinierPorodFunction_swigregister = _IMP_isd.GeneralizedGuinierPorodFunction_swigregister
4537 GeneralizedGuinierPorodFunction_swigregister(GeneralizedGuinierPorodFunction)
4540 _IMP_isd.IMP_ISD_BIVARIATE_FUNCTIONS_MINIMUM_swigconstant(_IMP_isd)
4541 IMP_ISD_BIVARIATE_FUNCTIONS_MINIMUM = _IMP_isd.IMP_ISD_BIVARIATE_FUNCTIONS_MINIMUM
4543 """Proxy of C++ IMP::isd::BivariateFunction class"""
4544 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4546 def __init__(self, *args, **kwargs):
4547 raise AttributeError(
"No constructor defined - class is abstract")
4549 def __call__(self, *args):
4551 __call__(BivariateFunction self, IMP::Floats const & x1, IMP::Floats const & x2) -> IMP::Floats
4552 __call__(BivariateFunction self, IMP::FloatsList const & xlist) -> Eigen::MatrixXd
4553 __call__(BivariateFunction self, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
4555 return _IMP_isd.BivariateFunction___call__(self, *args)
4558 def has_changed(self):
4559 """has_changed(BivariateFunction self) -> bool"""
4560 return _IMP_isd.BivariateFunction_has_changed(self)
4564 """update(BivariateFunction self)"""
4565 return _IMP_isd.BivariateFunction_update(self)
4568 def add_to_derivatives(self, x1, x2, accum):
4569 """add_to_derivatives(BivariateFunction self, IMP::Floats const & x1, IMP::Floats const & x2, DerivativeAccumulator accum)"""
4570 return _IMP_isd.BivariateFunction_add_to_derivatives(self, x1, x2, accum)
4573 def add_to_particle_derivative(self, particle_no, value, accum):
4574 """add_to_particle_derivative(BivariateFunction self, unsigned int particle_no, double value, DerivativeAccumulator accum)"""
4575 return _IMP_isd.BivariateFunction_add_to_particle_derivative(self, particle_no, value, accum)
4578 def get_derivative_matrix(self, *args):
4580 get_derivative_matrix(BivariateFunction self, unsigned int particle_no, IMP::FloatsList const & xlist) -> Eigen::MatrixXd
4581 get_derivative_matrix(BivariateFunction self, unsigned int particle_no, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
4583 return _IMP_isd.BivariateFunction_get_derivative_matrix(self, *args)
4586 def get_second_derivative_matrix(self, *args):
4588 get_second_derivative_matrix(BivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> Eigen::MatrixXd
4589 get_second_derivative_matrix(BivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
4591 return _IMP_isd.BivariateFunction_get_second_derivative_matrix(self, *args)
4594 def get_ndims_x1(self):
4595 """get_ndims_x1(BivariateFunction self) -> unsigned int"""
4596 return _IMP_isd.BivariateFunction_get_ndims_x1(self)
4599 def get_ndims_x2(self):
4600 """get_ndims_x2(BivariateFunction self) -> unsigned int"""
4601 return _IMP_isd.BivariateFunction_get_ndims_x2(self)
4604 def get_ndims_y(self):
4605 """get_ndims_y(BivariateFunction self) -> unsigned int"""
4606 return _IMP_isd.BivariateFunction_get_ndims_y(self)
4609 def get_number_of_particles(self):
4610 """get_number_of_particles(BivariateFunction self) -> unsigned int"""
4611 return _IMP_isd.BivariateFunction_get_number_of_particles(self)
4614 def get_particle_is_optimized(self, particle_no):
4615 """get_particle_is_optimized(BivariateFunction self, unsigned int particle_no) -> bool"""
4616 return _IMP_isd.BivariateFunction_get_particle_is_optimized(self, particle_no)
4619 def get_number_of_optimized_particles(self):
4620 """get_number_of_optimized_particles(BivariateFunction self) -> unsigned int"""
4621 return _IMP_isd.BivariateFunction_get_number_of_optimized_particles(self)
4625 """get_inputs(BivariateFunction self) -> IMP::ModelObjectsTemp"""
4626 return _IMP_isd.BivariateFunction_get_inputs(self)
4628 __swig_destroy__ = _IMP_isd.delete_BivariateFunction
4629 __del__ =
lambda self:
None
4632 """__str__(BivariateFunction self) -> std::string"""
4633 return _IMP_isd.BivariateFunction___str__(self)
4637 """__repr__(BivariateFunction self) -> std::string"""
4638 return _IMP_isd.BivariateFunction___repr__(self)
4643 return _object_cast_to_BivariateFunction(o)
4645 BivariateFunction_swigregister = _IMP_isd.BivariateFunction_swigregister
4646 BivariateFunction_swigregister(BivariateFunction)
4648 class Covariance1DFunction(BivariateFunction):
4649 """Proxy of C++ IMP::isd::Covariance1DFunction class"""
4650 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4652 def __init__(self, tau, ilambda, alpha=2.0, jitter=0.0, cutoff=1e-7):
4654 __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda, double alpha=2.0, double jitter=0.0, double cutoff=1e-7) -> Covariance1DFunction
4655 __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda, double alpha=2.0, double jitter=0.0) -> Covariance1DFunction
4656 __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda, double alpha=2.0) -> Covariance1DFunction
4657 __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda) -> Covariance1DFunction
4659 this = _IMP_isd.new_Covariance1DFunction(tau, ilambda, alpha, jitter, cutoff)
4661 self.this.append(this)
4665 def __call__(self, *args):
4667 __call__(Covariance1DFunction self, IMP::Floats const & x1, IMP::Floats const & x2) -> IMP::Floats
4668 __call__(Covariance1DFunction self, IMP::FloatsList const & xlist) -> Eigen::MatrixXd
4669 __call__(Covariance1DFunction self, IMP::FloatsList const & xlist, bool arg3) -> IMP::FloatsList
4671 return _IMP_isd.Covariance1DFunction___call__(self, *args)
4674 def get_derivative_matrix(self, *args):
4676 get_derivative_matrix(Covariance1DFunction self, unsigned int particle_no, IMP::FloatsList const & xlist) -> Eigen::MatrixXd
4677 get_derivative_matrix(Covariance1DFunction self, unsigned int particle_no, IMP::FloatsList const & xlist, bool arg4) -> IMP::FloatsList
4679 return _IMP_isd.Covariance1DFunction_get_derivative_matrix(self, *args)
4682 def get_second_derivative_matrix(self, *args):
4684 get_second_derivative_matrix(Covariance1DFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> Eigen::MatrixXd
4685 get_second_derivative_matrix(Covariance1DFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool arg5) -> IMP::FloatsList
4687 return _IMP_isd.Covariance1DFunction_get_second_derivative_matrix(self, *args)
4691 """get_version_info(Covariance1DFunction self) -> VersionInfo"""
4692 return _IMP_isd.Covariance1DFunction_get_version_info(self)
4696 """__str__(Covariance1DFunction self) -> std::string"""
4697 return _IMP_isd.Covariance1DFunction___str__(self)
4701 """__repr__(Covariance1DFunction self) -> std::string"""
4702 return _IMP_isd.Covariance1DFunction___repr__(self)
4707 return _object_cast_to_Covariance1DFunction(o)
4709 Covariance1DFunction_swigregister = _IMP_isd.Covariance1DFunction_swigregister
4710 Covariance1DFunction_swigregister(Covariance1DFunction)
4712 class GaussianProcessInterpolation(
IMP.Object):
4713 """Proxy of C++ IMP::isd::GaussianProcessInterpolation class"""
4714 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4716 def __init__(self, x, sample_mean, sample_std, n_obs, mean_function, covariance_function, sigma, sparse_cutoff=1e-7):
4718 __init__(IMP::isd::GaussianProcessInterpolation self, IMP::FloatsList x, IMP::Floats sample_mean, IMP::Floats sample_std, unsigned int n_obs, UnivariateFunction mean_function, BivariateFunction covariance_function, Particle sigma, double sparse_cutoff=1e-7) -> GaussianProcessInterpolation
4719 __init__(IMP::isd::GaussianProcessInterpolation self, IMP::FloatsList x, IMP::Floats sample_mean, IMP::Floats sample_std, unsigned int n_obs, UnivariateFunction mean_function, BivariateFunction covariance_function, Particle sigma) -> GaussianProcessInterpolation
4721 this = _IMP_isd.new_GaussianProcessInterpolation(x, sample_mean, sample_std, n_obs, mean_function, covariance_function, sigma, sparse_cutoff)
4723 self.this.append(this)
4727 def get_posterior_mean(self, x):
4728 """get_posterior_mean(GaussianProcessInterpolation self, IMP::Floats x) -> double"""
4729 return _IMP_isd.GaussianProcessInterpolation_get_posterior_mean(self, x)
4732 def get_posterior_covariance(self, x1, x2):
4733 """get_posterior_covariance(GaussianProcessInterpolation self, IMP::Floats x1, IMP::Floats x2) -> double"""
4734 return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance(self, x1, x2)
4737 def get_posterior_covariance_matrix(self, x, arg3):
4738 """get_posterior_covariance_matrix(GaussianProcessInterpolation self, IMP::FloatsList x, bool arg3) -> IMP::FloatsList"""
4739 return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance_matrix(self, x, arg3)
4742 def get_posterior_covariance_derivative(self, x, arg3):
4743 """get_posterior_covariance_derivative(GaussianProcessInterpolation self, IMP::Floats x, bool arg3) -> IMP::Floats"""
4744 return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance_derivative(self, x, arg3)
4747 def get_posterior_covariance_hessian(self, x, arg3):
4748 """get_posterior_covariance_hessian(GaussianProcessInterpolation self, IMP::Floats x, bool arg3) -> IMP::FloatsList"""
4749 return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance_hessian(self, x, arg3)
4753 """get_inputs(GaussianProcessInterpolation self) -> IMP::ModelObjectsTemp"""
4754 return _IMP_isd.GaussianProcessInterpolation_get_inputs(self)
4757 def force_mean_update(self):
4758 """force_mean_update(GaussianProcessInterpolation self)"""
4759 return _IMP_isd.GaussianProcessInterpolation_force_mean_update(self)
4762 def force_covariance_update(self):
4763 """force_covariance_update(GaussianProcessInterpolation self)"""
4764 return _IMP_isd.GaussianProcessInterpolation_force_covariance_update(self)
4767 def get_number_of_m_particles(self):
4768 """get_number_of_m_particles(GaussianProcessInterpolation self) -> unsigned int"""
4769 return _IMP_isd.GaussianProcessInterpolation_get_number_of_m_particles(self)
4772 def get_m_particle_is_optimized(self, i):
4773 """get_m_particle_is_optimized(GaussianProcessInterpolation self, unsigned int i) -> bool"""
4774 return _IMP_isd.GaussianProcessInterpolation_get_m_particle_is_optimized(self, i)
4777 def get_number_of_Omega_particles(self):
4778 """get_number_of_Omega_particles(GaussianProcessInterpolation self) -> unsigned int"""
4779 return _IMP_isd.GaussianProcessInterpolation_get_number_of_Omega_particles(self)
4782 def get_Omega_particle_is_optimized(self, i):
4783 """get_Omega_particle_is_optimized(GaussianProcessInterpolation self, unsigned int i) -> bool"""
4784 return _IMP_isd.GaussianProcessInterpolation_get_Omega_particle_is_optimized(self, i)
4787 def get_data_abscissa(self):
4788 """get_data_abscissa(GaussianProcessInterpolation self) -> IMP::FloatsList"""
4789 return _IMP_isd.GaussianProcessInterpolation_get_data_abscissa(self)
4792 def get_data_mean(self):
4793 """get_data_mean(GaussianProcessInterpolation self) -> IMP::Floats"""
4794 return _IMP_isd.GaussianProcessInterpolation_get_data_mean(self)
4797 def get_data_variance(self):
4798 """get_data_variance(GaussianProcessInterpolation self) -> IMP::FloatsList"""
4799 return _IMP_isd.GaussianProcessInterpolation_get_data_variance(self)
4803 """get_version_info(GaussianProcessInterpolation self) -> VersionInfo"""
4804 return _IMP_isd.GaussianProcessInterpolation_get_version_info(self)
4808 """__str__(GaussianProcessInterpolation self) -> std::string"""
4809 return _IMP_isd.GaussianProcessInterpolation___str__(self)
4813 """__repr__(GaussianProcessInterpolation self) -> std::string"""
4814 return _IMP_isd.GaussianProcessInterpolation___repr__(self)
4819 return _object_cast_to_GaussianProcessInterpolation(o)
4821 GaussianProcessInterpolation_swigregister = _IMP_isd.GaussianProcessInterpolation_swigregister
4822 GaussianProcessInterpolation_swigregister(GaussianProcessInterpolation)
4825 """Proxy of C++ IMP::isd::GaussianProcessInterpolationRestraint class"""
4826 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4828 def __init__(self, m, gpi):
4829 """__init__(IMP::isd::GaussianProcessInterpolationRestraint self, Model m, GaussianProcessInterpolation gpi) -> GaussianProcessInterpolationRestraint"""
4830 this = _IMP_isd.new_GaussianProcessInterpolationRestraint(m, gpi)
4832 self.this.append(this)
4836 def get_probability(self):
4837 """get_probability(GaussianProcessInterpolationRestraint self) -> double"""
4838 return _IMP_isd.GaussianProcessInterpolationRestraint_get_probability(self)
4841 def set_use_cg(self, use, tol):
4842 """set_use_cg(GaussianProcessInterpolationRestraint self, bool use, double tol)"""
4843 return _IMP_isd.GaussianProcessInterpolationRestraint_set_use_cg(self, use, tol)
4846 def get_minus_log_normalization(self):
4847 """get_minus_log_normalization(GaussianProcessInterpolationRestraint self) -> double"""
4848 return _IMP_isd.GaussianProcessInterpolationRestraint_get_minus_log_normalization(self)
4851 def get_minus_exponent(self):
4852 """get_minus_exponent(GaussianProcessInterpolationRestraint self) -> double"""
4853 return _IMP_isd.GaussianProcessInterpolationRestraint_get_minus_exponent(self)
4856 def get_logdet_hessian(self):
4857 """get_logdet_hessian(GaussianProcessInterpolationRestraint self) -> double"""
4858 return _IMP_isd.GaussianProcessInterpolationRestraint_get_logdet_hessian(self)
4861 def get_hessian(self, *args):
4863 get_hessian(GaussianProcessInterpolationRestraint self) -> Eigen::MatrixXd
4864 get_hessian(GaussianProcessInterpolationRestraint self, bool unused) -> IMP::FloatsList
4866 return _IMP_isd.GaussianProcessInterpolationRestraint_get_hessian(self, *args)
4870 """do_get_inputs(GaussianProcessInterpolationRestraint self) -> IMP::ModelObjectsTemp"""
4871 return _IMP_isd.GaussianProcessInterpolationRestraint_do_get_inputs(self)
4875 """get_version_info(GaussianProcessInterpolationRestraint self) -> VersionInfo"""
4876 return _IMP_isd.GaussianProcessInterpolationRestraint_get_version_info(self)
4880 """__str__(GaussianProcessInterpolationRestraint self) -> std::string"""
4881 return _IMP_isd.GaussianProcessInterpolationRestraint___str__(self)
4885 """__repr__(GaussianProcessInterpolationRestraint self) -> std::string"""
4886 return _IMP_isd.GaussianProcessInterpolationRestraint___repr__(self)
4891 return _object_cast_to_GaussianProcessInterpolationRestraint(o)
4893 GaussianProcessInterpolationRestraint_swigregister = _IMP_isd.GaussianProcessInterpolationRestraint_swigregister
4894 GaussianProcessInterpolationRestraint_swigregister(GaussianProcessInterpolationRestraint)
4897 """Proxy of C++ IMP::isd::MolecularDynamics class"""
4898 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4900 def __init__(self, m=None):
4902 __init__(IMP::isd::MolecularDynamics self, Model m=None) -> MolecularDynamics
4903 __init__(IMP::isd::MolecularDynamics self) -> MolecularDynamics
4905 this = _IMP_isd.new_MolecularDynamics(m)
4907 self.this.append(this)
4912 """__str__(MolecularDynamics self) -> std::string"""
4913 return _IMP_isd.MolecularDynamics___str__(self)
4917 """__repr__(MolecularDynamics self) -> std::string"""
4918 return _IMP_isd.MolecularDynamics___repr__(self)
4923 return _object_cast_to_MolecularDynamics(o)
4925 __swig_destroy__ = _IMP_isd.delete_MolecularDynamics
4926 __del__ =
lambda self:
None
4927 MolecularDynamics_swigregister = _IMP_isd.MolecularDynamics_swigregister
4928 MolecularDynamics_swigregister(MolecularDynamics)
4931 """Proxy of C++ IMP::isd::MolecularDynamicsMover class"""
4932 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4934 def __init__(self, m, nsteps=100, timestep=1.):
4936 __init__(IMP::isd::MolecularDynamicsMover self, Model m, unsigned int nsteps=100, IMP::Float timestep=1.) -> MolecularDynamicsMover
4937 __init__(IMP::isd::MolecularDynamicsMover self, Model m, unsigned int nsteps=100) -> MolecularDynamicsMover
4938 __init__(IMP::isd::MolecularDynamicsMover self, Model m) -> MolecularDynamicsMover
4940 this = _IMP_isd.new_MolecularDynamicsMover(m, nsteps, timestep)
4942 self.this.append(this)
4947 """get_md(MolecularDynamicsMover self) -> MolecularDynamics"""
4948 return _IMP_isd.MolecularDynamicsMover_get_md(self)
4951 def get_number_of_md_steps(self):
4952 """get_number_of_md_steps(MolecularDynamicsMover self) -> unsigned int"""
4953 return _IMP_isd.MolecularDynamicsMover_get_number_of_md_steps(self)
4956 def set_number_of_md_steps(self, nsteps):
4957 """set_number_of_md_steps(MolecularDynamicsMover self, unsigned int nsteps)"""
4958 return _IMP_isd.MolecularDynamicsMover_set_number_of_md_steps(self, nsteps)
4962 """get_version_info(MolecularDynamicsMover self) -> VersionInfo"""
4963 return _IMP_isd.MolecularDynamicsMover_get_version_info(self)
4967 """__str__(MolecularDynamicsMover self) -> std::string"""
4968 return _IMP_isd.MolecularDynamicsMover___str__(self)
4972 """__repr__(MolecularDynamicsMover self) -> std::string"""
4973 return _IMP_isd.MolecularDynamicsMover___repr__(self)
4978 return _object_cast_to_MolecularDynamicsMover(o)
4980 MolecularDynamicsMover_swigregister = _IMP_isd.MolecularDynamicsMover_swigregister
4981 MolecularDynamicsMover_swigregister(MolecularDynamicsMover)
4984 """Proxy of C++ IMP::isd::HybridMonteCarlo class"""
4985 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4987 def __init__(self, m, kT=1.0, steps=100, timestep=1.0, persistence=1):
4989 __init__(IMP::isd::HybridMonteCarlo self, Model m, IMP::Float kT=1.0, unsigned int steps=100, IMP::Float timestep=1.0, unsigned int persistence=1) -> HybridMonteCarlo
4990 __init__(IMP::isd::HybridMonteCarlo self, Model m, IMP::Float kT=1.0, unsigned int steps=100, IMP::Float timestep=1.0) -> HybridMonteCarlo
4991 __init__(IMP::isd::HybridMonteCarlo self, Model m, IMP::Float kT=1.0, unsigned int steps=100) -> HybridMonteCarlo
4992 __init__(IMP::isd::HybridMonteCarlo self, Model m, IMP::Float kT=1.0) -> HybridMonteCarlo
4993 __init__(IMP::isd::HybridMonteCarlo self, Model m) -> HybridMonteCarlo
4995 this = _IMP_isd.new_HybridMonteCarlo(m, kT, steps, timestep, persistence)
4997 self.this.append(this)
5001 def get_kinetic_energy(self):
5002 """get_kinetic_energy(HybridMonteCarlo self) -> IMP::Float"""
5003 return _IMP_isd.HybridMonteCarlo_get_kinetic_energy(self)
5006 def get_potential_energy(self):
5007 """get_potential_energy(HybridMonteCarlo self) -> IMP::Float"""
5008 return _IMP_isd.HybridMonteCarlo_get_potential_energy(self)
5011 def get_total_energy(self):
5012 """get_total_energy(HybridMonteCarlo self) -> IMP::Float"""
5013 return _IMP_isd.HybridMonteCarlo_get_total_energy(self)
5016 def set_timestep(self, ts):
5017 """set_timestep(HybridMonteCarlo self, IMP::Float ts)"""
5018 return _IMP_isd.HybridMonteCarlo_set_timestep(self, ts)
5021 def get_timestep(self):
5022 """get_timestep(HybridMonteCarlo self) -> double"""
5023 return _IMP_isd.HybridMonteCarlo_get_timestep(self)
5026 def set_number_of_md_steps(self, nsteps):
5027 """set_number_of_md_steps(HybridMonteCarlo self, unsigned int nsteps)"""
5028 return _IMP_isd.HybridMonteCarlo_set_number_of_md_steps(self, nsteps)
5031 def get_number_of_md_steps(self):
5032 """get_number_of_md_steps(HybridMonteCarlo self) -> unsigned int"""
5033 return _IMP_isd.HybridMonteCarlo_get_number_of_md_steps(self)
5036 def set_persistence(self, persistence=1):
5038 set_persistence(HybridMonteCarlo self, unsigned int persistence=1)
5039 set_persistence(HybridMonteCarlo self)
5041 return _IMP_isd.HybridMonteCarlo_set_persistence(self, persistence)
5044 def get_persistence(self):
5045 """get_persistence(HybridMonteCarlo self) -> unsigned int"""
5046 return _IMP_isd.HybridMonteCarlo_get_persistence(self)
5050 """get_md(HybridMonteCarlo self) -> MolecularDynamics"""
5051 return _IMP_isd.HybridMonteCarlo_get_md(self)
5054 def do_evaluate(self, arg2, arg3):
5055 """do_evaluate(HybridMonteCarlo self, IMP::ParticleIndexes const & arg2, bool arg3) -> double"""
5056 return _IMP_isd.HybridMonteCarlo_do_evaluate(self, arg2, arg3)
5060 """do_step(HybridMonteCarlo self)"""
5061 return _IMP_isd.HybridMonteCarlo_do_step(self)
5065 """__str__(HybridMonteCarlo self) -> std::string"""
5066 return _IMP_isd.HybridMonteCarlo___str__(self)
5070 """__repr__(HybridMonteCarlo self) -> std::string"""
5071 return _IMP_isd.HybridMonteCarlo___repr__(self)
5076 return _object_cast_to_HybridMonteCarlo(o)
5078 HybridMonteCarlo_swigregister = _IMP_isd.HybridMonteCarlo_swigregister
5079 HybridMonteCarlo_swigregister(HybridMonteCarlo)
5082 """Proxy of C++ IMP::isd::FretData class"""
5083 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5085 def __init__(self, d_term, d_center, d_int, s_grid, R0, Rmin, Rmax, do_limit=True):
5087 __init__(IMP::isd::FretData self, IMP::Floats d_term, IMP::Floats d_center, IMP::Floats d_int, IMP::Floats s_grid, IMP::Float R0, IMP::Float Rmin, IMP::Float Rmax, bool do_limit=True) -> FretData
5088 __init__(IMP::isd::FretData self, IMP::Floats d_term, IMP::Floats d_center, IMP::Floats d_int, IMP::Floats s_grid, IMP::Float R0, IMP::Float Rmin, IMP::Float Rmax) -> FretData
5090 this = _IMP_isd.new_FretData(d_term, d_center, d_int, s_grid, R0, Rmin, Rmax, do_limit)
5092 self.this.append(this)
5096 def get_closest(self, vec, value):
5097 """get_closest(FretData self, DistBase vec, double value) -> int"""
5098 return _IMP_isd.FretData_get_closest(self, vec, value)
5101 def get_probability(self, distn, dist, sigma):
5102 """get_probability(FretData self, IMP::Float distn, IMP::Float dist, IMP::Float sigma) -> IMP::Float"""
5103 return _IMP_isd.FretData_get_probability(self, distn, dist, sigma)
5106 def get_kernel(self, dist, R0):
5107 """get_kernel(FretData self, IMP::Float dist, IMP::Float R0) -> IMP::Float"""
5108 return _IMP_isd.FretData_get_kernel(self, dist, R0)
5111 def get_marginal_element(self, d_term, d_center, sigma):
5112 """get_marginal_element(FretData self, IMP::Float d_term, IMP::Float d_center, IMP::Float sigma) -> IMP::FloatPair"""
5113 return _IMP_isd.FretData_get_marginal_element(self, d_term, d_center, sigma)
5117 """get_version_info(FretData self) -> VersionInfo"""
5118 return _IMP_isd.FretData_get_version_info(self)
5122 """__str__(FretData self) -> std::string"""
5123 return _IMP_isd.FretData___str__(self)
5127 """__repr__(FretData self) -> std::string"""
5128 return _IMP_isd.FretData___repr__(self)
5133 return _object_cast_to_FretData(o)
5135 FretData_swigregister = _IMP_isd.FretData_swigregister
5136 FretData_swigregister(FretData)
5139 """Proxy of C++ IMP::isd::FretRestraint class"""
5140 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5142 def __init__(self, *args):
5144 __init__(IMP::isd::FretRestraint self, IMP::Particles pd, IMP::Particles pa, Particle kda, Particle Ida, Particle R0, Particle sigma0, Particle Pbl, double fexp, double m_d=1.0, double m_a=1.0) -> FretRestraint
5145 __init__(IMP::isd::FretRestraint self, IMP::Particles pd, IMP::Particles pa, Particle kda, Particle Ida, Particle R0, Particle sigma0, Particle Pbl, double fexp, double m_d=1.0) -> FretRestraint
5146 __init__(IMP::isd::FretRestraint self, IMP::Particles pd, IMP::Particles pa, Particle kda, Particle Ida, Particle R0, Particle sigma0, Particle Pbl, double fexp) -> FretRestraint
5147 __init__(IMP::isd::FretRestraint self, Particle kda, Particle Ida, Particle sumFi, Particle sigma0, Particle Pbl, double fexp) -> FretRestraint
5148 __init__(IMP::isd::FretRestraint self, Particle prd, Vector3D GMMterd, IMP::algebra::Vector3Ds GMMctrd, IMP::Floats GMMwd, IMP::Floats GMMsigd, Particle pra, Vector3D GMMtera, IMP::algebra::Vector3Ds GMMctra, IMP::Floats GMMwa, IMP::Floats GMMsiga, Particle kda, Particle Ida, Particle sigma0, Particle Pbl, FretData data, double fexp) -> FretRestraint
5150 this = _IMP_isd.new_FretRestraint(*args)
5152 self.this.append(this)
5156 def get_sumFi(self):
5157 """get_sumFi(FretRestraint self) -> double"""
5158 return _IMP_isd.FretRestraint_get_sumFi(self)
5161 def get_average_sigma(self, fmod):
5162 """get_average_sigma(FretRestraint self, double fmod) -> double"""
5163 return _IMP_isd.FretRestraint_get_average_sigma(self, fmod)
5166 def get_standard_error(self):
5167 """get_standard_error(FretRestraint self) -> double"""
5168 return _IMP_isd.FretRestraint_get_standard_error(self)
5171 def get_model_fretr(self):
5172 """get_model_fretr(FretRestraint self) -> double"""
5173 return _IMP_isd.FretRestraint_get_model_fretr(self)
5176 def get_probability(self):
5177 """get_probability(FretRestraint self) -> double"""
5178 return _IMP_isd.FretRestraint_get_probability(self)
5181 def get_experimental_value(self):
5182 """get_experimental_value(FretRestraint self) -> double"""
5183 return _IMP_isd.FretRestraint_get_experimental_value(self)
5186 def set_experimental_value(self, fexp):
5187 """set_experimental_value(FretRestraint self, double fexp)"""
5188 return _IMP_isd.FretRestraint_set_experimental_value(self, fexp)
5192 """do_get_inputs(FretRestraint self) -> IMP::ModelObjectsTemp"""
5193 return _IMP_isd.FretRestraint_do_get_inputs(self)
5197 """get_version_info(FretRestraint self) -> VersionInfo"""
5198 return _IMP_isd.FretRestraint_get_version_info(self)
5202 """__str__(FretRestraint self) -> std::string"""
5203 return _IMP_isd.FretRestraint___str__(self)
5207 """__repr__(FretRestraint self) -> std::string"""
5208 return _IMP_isd.FretRestraint___repr__(self)
5213 return _object_cast_to_FretRestraint(o)
5215 FretRestraint_swigregister = _IMP_isd.FretRestraint_swigregister
5216 FretRestraint_swigregister(FretRestraint)
5219 """Proxy of C++ IMP::isd::CysteineCrossLinkData class"""
5220 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5222 def __init__(self, fexp, fmod_grid, omega_grid, omega0_grid, prior_type=3):
5224 __init__(IMP::isd::CysteineCrossLinkData self, double fexp, IMP::Floats fmod_grid, IMP::Floats omega_grid, IMP::Floats omega0_grid, int prior_type=3) -> CysteineCrossLinkData
5225 __init__(IMP::isd::CysteineCrossLinkData self, double fexp, IMP::Floats fmod_grid, IMP::Floats omega_grid, IMP::Floats omega0_grid) -> CysteineCrossLinkData
5227 this = _IMP_isd.new_CysteineCrossLinkData(fexp, fmod_grid, omega_grid, omega0_grid, prior_type)
5229 self.this.append(this)
5233 def get_closest(self, vec, value):
5234 """get_closest(CysteineCrossLinkData self, DistBase vec, double value) -> int"""
5235 return _IMP_isd.CysteineCrossLinkData_get_closest(self, vec, value)
5238 def get_omegas(self, fmods, omega0):
5239 """get_omegas(CysteineCrossLinkData self, IMP::Floats fmods, double omega0) -> IMP::Floats"""
5240 return _IMP_isd.CysteineCrossLinkData_get_omegas(self, fmods, omega0)
5243 def get_nonmarginal_elements(self, fexp, fmods, omega):
5244 """get_nonmarginal_elements(CysteineCrossLinkData self, double fexp, IMP::Floats fmods, double omega) -> IMP::Floats"""
5245 return _IMP_isd.CysteineCrossLinkData_get_nonmarginal_elements(self, fexp, fmods, omega)
5248 def get_marginal_elements(self, fmods, omega0):
5249 """get_marginal_elements(CysteineCrossLinkData self, IMP::Floats fmods, double omega0) -> IMP::Floats"""
5250 return _IMP_isd.CysteineCrossLinkData_get_marginal_elements(self, fmods, omega0)
5253 def get_omega(self, fmod, omega0):
5254 """get_omega(CysteineCrossLinkData self, double fmod, double omega0) -> double"""
5255 return _IMP_isd.CysteineCrossLinkData_get_omega(self, fmod, omega0)
5258 def get_standard_deviation(self, fmod, omega0):
5259 """get_standard_deviation(CysteineCrossLinkData self, double fmod, double omega0) -> double"""
5260 return _IMP_isd.CysteineCrossLinkData_get_standard_deviation(self, fmod, omega0)
5263 def get_nonmarginal_element(self, fexp, fmod, omega):
5264 """get_nonmarginal_element(CysteineCrossLinkData self, double fexp, double fmod, double omega) -> double"""
5265 return _IMP_isd.CysteineCrossLinkData_get_nonmarginal_element(self, fexp, fmod, omega)
5268 def get_marginal_element(self, fmod, omega0):
5269 """get_marginal_element(CysteineCrossLinkData self, double fmod, double omega0) -> double"""
5270 return _IMP_isd.CysteineCrossLinkData_get_marginal_element(self, fmod, omega0)
5274 """get_version_info(CysteineCrossLinkData self) -> VersionInfo"""
5275 return _IMP_isd.CysteineCrossLinkData_get_version_info(self)
5279 """__str__(CysteineCrossLinkData self) -> std::string"""
5280 return _IMP_isd.CysteineCrossLinkData___str__(self)
5284 """__repr__(CysteineCrossLinkData self) -> std::string"""
5285 return _IMP_isd.CysteineCrossLinkData___repr__(self)
5290 return _object_cast_to_CysteineCrossLinkData(o)
5292 CysteineCrossLinkData_swigregister = _IMP_isd.CysteineCrossLinkData_swigregister
5293 CysteineCrossLinkData_swigregister(CysteineCrossLinkData)
5296 """Proxy of C++ IMP::isd::CrossLinkData class"""
5297 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5299 def __init__(self, *args):
5301 __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, double lexp_, double don, double doff, int prior_type=0) -> CrossLinkData
5302 __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, double lexp_, double don, double doff) -> CrossLinkData
5303 __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, double lexp_, double don) -> CrossLinkData
5304 __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, double lexp_) -> CrossLinkData
5305 __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, IMP::Floats pot_x_grid, IMP::Floats pot_value_grid, double don, double doff, int prior_type=0) -> CrossLinkData
5306 __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, IMP::Floats pot_x_grid, IMP::Floats pot_value_grid, double don, double doff) -> CrossLinkData
5307 __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, IMP::Floats pot_x_grid, IMP::Floats pot_value_grid, double don) -> CrossLinkData
5308 __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, IMP::Floats pot_x_grid, IMP::Floats pot_value_grid) -> CrossLinkData
5310 this = _IMP_isd.new_CrossLinkData(*args)
5312 self.this.append(this)
5316 def get_closest(self, vec, value):
5317 """get_closest(CrossLinkData self, DistBase vec, double value) -> int"""
5318 return _IMP_isd.CrossLinkData_get_closest(self, vec, value)
5321 def get_omegas(self, sigma, dists):
5322 """get_omegas(CrossLinkData self, double sigma, IMP::Floats dists) -> IMP::Floats"""
5323 return _IMP_isd.CrossLinkData_get_omegas(self, sigma, dists)
5326 def get_omega_prior(self, omega, omega0):
5327 """get_omega_prior(CrossLinkData self, double omega, double omega0) -> double"""
5328 return _IMP_isd.CrossLinkData_get_omega_prior(self, omega, omega0)
5331 def get_nonmarginal_elements(self, sigmai, dists):
5332 """get_nonmarginal_elements(CrossLinkData self, double sigmai, IMP::Floats dists) -> IMP::Floats"""
5333 return _IMP_isd.CrossLinkData_get_nonmarginal_elements(self, sigmai, dists)
5336 def get_marginal_elements(self, sigma, dists):
5337 """get_marginal_elements(CrossLinkData self, double sigma, IMP::Floats dists) -> IMP::Floats"""
5338 return _IMP_isd.CrossLinkData_get_marginal_elements(self, sigma, dists)
5341 def get_marginal_maximum(self, *args):
5343 get_marginal_maximum(CrossLinkData self, double sigma) -> double
5344 get_marginal_maximum(CrossLinkData self) -> double
5346 return _IMP_isd.CrossLinkData_get_marginal_maximum(self, *args)
5350 """get_version_info(CrossLinkData self) -> VersionInfo"""
5351 return _IMP_isd.CrossLinkData_get_version_info(self)
5355 """__str__(CrossLinkData self) -> std::string"""
5356 return _IMP_isd.CrossLinkData___str__(self)
5360 """__repr__(CrossLinkData self) -> std::string"""
5361 return _IMP_isd.CrossLinkData___repr__(self)
5366 return _object_cast_to_CrossLinkData(o)
5368 CrossLinkData_swigregister = _IMP_isd.CrossLinkData_swigregister
5369 CrossLinkData_swigregister(CrossLinkData)
5372 """Proxy of C++ IMP::isd::CysteineCrossLinkRestraint class"""
5373 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5375 def __init__(self, *args):
5377 __init__(IMP::isd::CysteineCrossLinkRestraint self, Model m, _ParticleIndexAdaptor beta, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor epsilon, _ParticleIndexAdaptor weight, CrossLinkData data, double fexp) -> CysteineCrossLinkRestraint
5378 __init__(IMP::isd::CysteineCrossLinkRestraint self, Model m, _ParticleIndexAdaptor beta, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor epsilon, _ParticleIndexAdaptor weight, CrossLinkData data, CysteineCrossLinkData ccldata) -> CysteineCrossLinkRestraint
5380 this = _IMP_isd.new_CysteineCrossLinkRestraint(*args)
5382 self.this.append(this)
5386 def get_probability(self):
5387 """get_probability(CysteineCrossLinkRestraint self) -> double"""
5388 return _IMP_isd.CysteineCrossLinkRestraint_get_probability(self)
5391 def get_standard_error(self):
5392 """get_standard_error(CysteineCrossLinkRestraint self) -> double"""
5393 return _IMP_isd.CysteineCrossLinkRestraint_get_standard_error(self)
5396 def get_frequencies(self):
5397 """get_frequencies(CysteineCrossLinkRestraint self) -> IMP::Floats"""
5398 return _IMP_isd.CysteineCrossLinkRestraint_get_frequencies(self)
5401 def get_model_frequency(self):
5402 """get_model_frequency(CysteineCrossLinkRestraint self) -> double"""
5403 return _IMP_isd.CysteineCrossLinkRestraint_get_model_frequency(self)
5406 def get_distances(self):
5407 """get_distances(CysteineCrossLinkRestraint self) -> IMP::Floats"""
5408 return _IMP_isd.CysteineCrossLinkRestraint_get_distances(self)
5411 def get_truncated_normalization(self, mean, sigma):
5412 """get_truncated_normalization(CysteineCrossLinkRestraint self, double mean, double sigma) -> double"""
5413 return _IMP_isd.CysteineCrossLinkRestraint_get_truncated_normalization(self, mean, sigma)
5416 def get_normal_pdf(self, mean, sigma, x):
5417 """get_normal_pdf(CysteineCrossLinkRestraint self, double mean, double sigma, double x) -> double"""
5418 return _IMP_isd.CysteineCrossLinkRestraint_get_normal_pdf(self, mean, sigma, x)
5421 def add_contribution(self, *args):
5423 add_contribution(CysteineCrossLinkRestraint self, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2)
5424 add_contribution(CysteineCrossLinkRestraint self, IMP::ParticleIndexes p1, IMP::ParticleIndexes p2)
5426 return _IMP_isd.CysteineCrossLinkRestraint_add_contribution(self, *args)
5429 def get_CB_coordinates(self, ps):
5430 """get_CB_coordinates(CysteineCrossLinkRestraint self, IMP::ParticleIndexes const & ps) -> Vector3D"""
5431 return _IMP_isd.CysteineCrossLinkRestraint_get_CB_coordinates(self, ps)
5434 def get_number_of_contributions(self):
5435 """get_number_of_contributions(CysteineCrossLinkRestraint self) -> unsigned int"""
5436 return _IMP_isd.CysteineCrossLinkRestraint_get_number_of_contributions(self)
5440 """do_get_inputs(CysteineCrossLinkRestraint self) -> IMP::ModelObjectsTemp"""
5441 return _IMP_isd.CysteineCrossLinkRestraint_do_get_inputs(self)
5445 """get_version_info(CysteineCrossLinkRestraint self) -> VersionInfo"""
5446 return _IMP_isd.CysteineCrossLinkRestraint_get_version_info(self)
5450 """__str__(CysteineCrossLinkRestraint self) -> std::string"""
5451 return _IMP_isd.CysteineCrossLinkRestraint___str__(self)
5455 """__repr__(CysteineCrossLinkRestraint self) -> std::string"""
5456 return _IMP_isd.CysteineCrossLinkRestraint___repr__(self)
5461 return _object_cast_to_CysteineCrossLinkRestraint(o)
5463 CysteineCrossLinkRestraint_swigregister = _IMP_isd.CysteineCrossLinkRestraint_swigregister
5464 CysteineCrossLinkRestraint_swigregister(CysteineCrossLinkRestraint)
5467 """Proxy of C++ IMP::isd::WeightMover class"""
5468 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5470 def __init__(self, w, radius):
5471 """__init__(IMP::isd::WeightMover self, Particle w, IMP::Float radius) -> WeightMover"""
5472 this = _IMP_isd.new_WeightMover(w, radius)
5474 self.this.append(this)
5478 def set_radius(self, radius):
5479 """set_radius(WeightMover self, IMP::Float radius)"""
5480 return _IMP_isd.WeightMover_set_radius(self, radius)
5483 def get_radius(self):
5484 """get_radius(WeightMover self) -> IMP::Float"""
5485 return _IMP_isd.WeightMover_get_radius(self)
5489 """get_version_info(WeightMover self) -> VersionInfo"""
5490 return _IMP_isd.WeightMover_get_version_info(self)
5494 """__str__(WeightMover self) -> std::string"""
5495 return _IMP_isd.WeightMover___str__(self)
5499 """__repr__(WeightMover self) -> std::string"""
5500 return _IMP_isd.WeightMover___repr__(self)
5505 return _object_cast_to_WeightMover(o)
5507 WeightMover_swigregister = _IMP_isd.WeightMover_swigregister
5508 WeightMover_swigregister(WeightMover)
5511 """Proxy of C++ IMP::isd::WeightRestraint class"""
5512 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5514 def __init__(self, w, wmin, wmax, kappa):
5515 """__init__(IMP::isd::WeightRestraint self, Particle w, IMP::Float wmin, IMP::Float wmax, IMP::Float kappa) -> WeightRestraint"""
5516 this = _IMP_isd.new_WeightRestraint(w, wmin, wmax, kappa)
5518 self.this.append(this)
5523 """do_get_inputs(WeightRestraint self) -> IMP::ModelObjectsTemp"""
5524 return _IMP_isd.WeightRestraint_do_get_inputs(self)
5528 """get_version_info(WeightRestraint self) -> VersionInfo"""
5529 return _IMP_isd.WeightRestraint_get_version_info(self)
5533 """__str__(WeightRestraint self) -> std::string"""
5534 return _IMP_isd.WeightRestraint___str__(self)
5538 """__repr__(WeightRestraint self) -> std::string"""
5539 return _IMP_isd.WeightRestraint___repr__(self)
5544 return _object_cast_to_WeightRestraint(o)
5546 WeightRestraint_swigregister = _IMP_isd.WeightRestraint_swigregister
5547 WeightRestraint_swigregister(WeightRestraint)
5550 """Proxy of C++ IMP::isd::AtomicCrossLinkMSRestraint class"""
5551 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5553 def __init__(self, *args):
5555 __init__(IMP::isd::AtomicCrossLinkMSRestraint self, Model m, double length, ParticleIndex psi, IMP::Float slope=0.0, bool part_of_log_score=False, std::string name) -> AtomicCrossLinkMSRestraint
5556 __init__(IMP::isd::AtomicCrossLinkMSRestraint self, Model m, double length, ParticleIndex psi, IMP::Float slope=0.0, bool part_of_log_score=False) -> AtomicCrossLinkMSRestraint
5557 __init__(IMP::isd::AtomicCrossLinkMSRestraint self, Model m, double length, ParticleIndex psi, IMP::Float slope=0.0) -> AtomicCrossLinkMSRestraint
5558 __init__(IMP::isd::AtomicCrossLinkMSRestraint self, Model m, double length, ParticleIndex psi) -> AtomicCrossLinkMSRestraint
5560 this = _IMP_isd.new_AtomicCrossLinkMSRestraint(*args)
5562 self.this.append(this)
5566 def add_contribution(self, ppi, sigmas):
5567 """add_contribution(AtomicCrossLinkMSRestraint self, IMP::ParticleIndexPair const & ppi, IMP::ParticleIndexPair const & sigmas)"""
5568 return _IMP_isd.AtomicCrossLinkMSRestraint_add_contribution(self, ppi, sigmas)
5571 def evaluate_for_contributions(self, c, accum):
5572 """evaluate_for_contributions(AtomicCrossLinkMSRestraint self, IMP::Ints c, DerivativeAccumulator accum) -> IMP::Float"""
5573 return _IMP_isd.AtomicCrossLinkMSRestraint_evaluate_for_contributions(self, c, accum)
5576 def get_number_of_contributions(self):
5577 """get_number_of_contributions(AtomicCrossLinkMSRestraint self) -> unsigned int"""
5578 return _IMP_isd.AtomicCrossLinkMSRestraint_get_number_of_contributions(self)
5581 def get_contribution(self, i):
5582 """get_contribution(AtomicCrossLinkMSRestraint self, int i) -> IMP::ParticleIndexPair"""
5583 return _IMP_isd.AtomicCrossLinkMSRestraint_get_contribution(self, i)
5586 def get_contribution_sigmas(self, i):
5587 """get_contribution_sigmas(AtomicCrossLinkMSRestraint self, int i) -> IMP::ParticleIndexPair"""
5588 return _IMP_isd.AtomicCrossLinkMSRestraint_get_contribution_sigmas(self, i)
5592 """get_psi(AtomicCrossLinkMSRestraint self) -> ParticleIndex"""
5593 return _IMP_isd.AtomicCrossLinkMSRestraint_get_psi(self)
5597 """do_get_inputs(AtomicCrossLinkMSRestraint self) -> IMP::ModelObjectsTemp"""
5598 return _IMP_isd.AtomicCrossLinkMSRestraint_do_get_inputs(self)
5601 def show(self, out):
5602 """show(AtomicCrossLinkMSRestraint self, _ostream out)"""
5603 return _IMP_isd.AtomicCrossLinkMSRestraint_show(self, out)
5606 def set_slope(self, slope):
5607 """set_slope(AtomicCrossLinkMSRestraint self, IMP::Float slope)"""
5608 return _IMP_isd.AtomicCrossLinkMSRestraint_set_slope(self, slope)
5611 def set_part_of_log_score(self, hey):
5612 """set_part_of_log_score(AtomicCrossLinkMSRestraint self, bool hey)"""
5613 return _IMP_isd.AtomicCrossLinkMSRestraint_set_part_of_log_score(self, hey)
5617 """get_version_info(AtomicCrossLinkMSRestraint self) -> VersionInfo"""
5618 return _IMP_isd.AtomicCrossLinkMSRestraint_get_version_info(self)
5622 """__str__(AtomicCrossLinkMSRestraint self) -> std::string"""
5623 return _IMP_isd.AtomicCrossLinkMSRestraint___str__(self)
5627 """__repr__(AtomicCrossLinkMSRestraint self) -> std::string"""
5628 return _IMP_isd.AtomicCrossLinkMSRestraint___repr__(self)
5633 return _object_cast_to_AtomicCrossLinkMSRestraint(o)
5635 AtomicCrossLinkMSRestraint_swigregister = _IMP_isd.AtomicCrossLinkMSRestraint_swigregister
5636 AtomicCrossLinkMSRestraint_swigregister(AtomicCrossLinkMSRestraint)
5639 """Proxy of C++ IMP::isd::GaussianEMRestraint class"""
5640 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5642 def __init__(self, *args):
5644 __init__(IMP::isd::GaussianEMRestraint self, Model mdl, IMP::ParticleIndexes model_ps, IMP::ParticleIndexes density_ps, ParticleIndex global_sigma, IMP::Float model_cutoff_dist, IMP::Float density_cutoff_dist, IMP::Float slope, bool update_model=True, bool backbone_slope=False, bool local=False, std::string name) -> GaussianEMRestraint
5645 __init__(IMP::isd::GaussianEMRestraint self, Model mdl, IMP::ParticleIndexes model_ps, IMP::ParticleIndexes density_ps, ParticleIndex global_sigma, IMP::Float model_cutoff_dist, IMP::Float density_cutoff_dist, IMP::Float slope, bool update_model=True, bool backbone_slope=False, bool local=False) -> GaussianEMRestraint
5646 __init__(IMP::isd::GaussianEMRestraint self, Model mdl, IMP::ParticleIndexes model_ps, IMP::ParticleIndexes density_ps, ParticleIndex global_sigma, IMP::Float model_cutoff_dist, IMP::Float density_cutoff_dist, IMP::Float slope, bool update_model=True, bool backbone_slope=False) -> GaussianEMRestraint
5647 __init__(IMP::isd::GaussianEMRestraint self, Model mdl, IMP::ParticleIndexes model_ps, IMP::ParticleIndexes density_ps, ParticleIndex global_sigma, IMP::Float model_cutoff_dist, IMP::Float density_cutoff_dist, IMP::Float slope, bool update_model=True) -> GaussianEMRestraint
5648 __init__(IMP::isd::GaussianEMRestraint self, Model mdl, IMP::ParticleIndexes model_ps, IMP::ParticleIndexes density_ps, ParticleIndex global_sigma, IMP::Float model_cutoff_dist, IMP::Float density_cutoff_dist, IMP::Float slope) -> GaussianEMRestraint
5650 this = _IMP_isd.new_GaussianEMRestraint(*args)
5652 self.this.append(this)
5656 def get_probability(self):
5657 """get_probability(GaussianEMRestraint self) -> double"""
5658 return _IMP_isd.GaussianEMRestraint_get_probability(self)
5662 """get_cross_correlation_coefficient(GaussianEMRestraint self) -> double"""
5663 return _IMP_isd.GaussianEMRestraint_get_cross_correlation_coefficient(self)
5666 def set_density_filename(self, density_fn):
5667 """set_density_filename(GaussianEMRestraint self, std::string density_fn)"""
5668 return _IMP_isd.GaussianEMRestraint_set_density_filename(self, density_fn)
5671 def compute_initial_scores(self):
5672 """compute_initial_scores(GaussianEMRestraint self)"""
5673 return _IMP_isd.GaussianEMRestraint_compute_initial_scores(self)
5676 def set_slope(self, s):
5677 """set_slope(GaussianEMRestraint self, IMP::Float s)"""
5678 return _IMP_isd.GaussianEMRestraint_set_slope(self, s)
5681 def get_slope(self):
5682 """get_slope(GaussianEMRestraint self) -> IMP::Float"""
5683 return _IMP_isd.GaussianEMRestraint_get_slope(self)
5687 """do_get_inputs(GaussianEMRestraint self) -> IMP::ModelObjectsTemp"""
5688 return _IMP_isd.GaussianEMRestraint_do_get_inputs(self)
5691 def show(self, out):
5692 """show(GaussianEMRestraint self, _ostream out)"""
5693 return _IMP_isd.GaussianEMRestraint_show(self, out)
5697 """get_version_info(GaussianEMRestraint self) -> VersionInfo"""
5698 return _IMP_isd.GaussianEMRestraint_get_version_info(self)
5702 """__str__(GaussianEMRestraint self) -> std::string"""
5703 return _IMP_isd.GaussianEMRestraint___str__(self)
5707 """__repr__(GaussianEMRestraint self) -> std::string"""
5708 return _IMP_isd.GaussianEMRestraint___repr__(self)
5713 return _object_cast_to_GaussianEMRestraint(o)
5715 GaussianEMRestraint_swigregister = _IMP_isd.GaussianEMRestraint_swigregister
5716 GaussianEMRestraint_swigregister(GaussianEMRestraint)
5718 class GaussianAnchorEMRestraint(ISDRestraint):
5719 """Proxy of C++ IMP::isd::GaussianAnchorEMRestraint class"""
5720 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5722 def __init__(self, *args):
5724 __init__(IMP::isd::GaussianAnchorEMRestraint self, IMP::ParticlesTemp model_ps, IMP::Floats model_sigs, IMP::Floats model_weights, IMP::ParticlesTemp density_ps, IMP::Floats density_sigs, IMP::Floats density_weights, Particle global_sigma, IMP::Float cutoff_dist, bool rigid, bool tabexp, std::string name) -> GaussianAnchorEMRestraint
5725 __init__(IMP::isd::GaussianAnchorEMRestraint self, IMP::ParticlesTemp model_ps, IMP::Floats model_sigs, IMP::Floats model_weights, IMP::ParticlesTemp density_ps, IMP::Floats density_sigs, IMP::Floats density_weights, Particle global_sigma, IMP::Float cutoff_dist, bool rigid, bool tabexp) -> GaussianAnchorEMRestraint
5727 this = _IMP_isd.new_GaussianAnchorEMRestraint(*args)
5729 self.this.append(this)
5733 def get_density_particles(self):
5734 """get_density_particles(GaussianAnchorEMRestraint self) -> IMP::ParticlesTemp"""
5735 return _IMP_isd.GaussianAnchorEMRestraint_get_density_particles(self)
5739 """__str__(GaussianAnchorEMRestraint self) -> std::string"""
5740 return _IMP_isd.GaussianAnchorEMRestraint___str__(self)
5744 """__repr__(GaussianAnchorEMRestraint self) -> std::string"""
5745 return _IMP_isd.GaussianAnchorEMRestraint___repr__(self)
5750 return _object_cast_to_GaussianAnchorEMRestraint(o)
5752 GaussianAnchorEMRestraint_swigregister = _IMP_isd.GaussianAnchorEMRestraint_swigregister
5753 GaussianAnchorEMRestraint_swigregister(GaussianAnchorEMRestraint)
5756 """Proxy of C++ IMP::isd::GammaPrior class"""
5757 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5759 def __init__(self, *args):
5761 __init__(IMP::isd::GammaPrior self, Model m, Particle p, IMP::Float k, IMP::Float theta, std::string name) -> GammaPrior
5762 __init__(IMP::isd::GammaPrior self, Model m, Particle p, IMP::Float k, IMP::Float theta) -> GammaPrior
5764 this = _IMP_isd.new_GammaPrior(*args)
5766 self.this.append(this)
5770 def evaluate_at(self, val):
5771 """evaluate_at(GammaPrior self, IMP::Float val) -> double"""
5772 return _IMP_isd.GammaPrior_evaluate_at(self, val)
5776 """do_get_inputs(GammaPrior self) -> IMP::ModelObjectsTemp"""
5777 return _IMP_isd.GammaPrior_do_get_inputs(self)
5781 """get_version_info(GammaPrior self) -> VersionInfo"""
5782 return _IMP_isd.GammaPrior_get_version_info(self)
5785 def get_probability(self):
5786 """get_probability(GammaPrior self) -> double"""
5787 return _IMP_isd.GammaPrior_get_probability(self)
5791 """__str__(GammaPrior self) -> std::string"""
5792 return _IMP_isd.GammaPrior___str__(self)
5796 """__repr__(GammaPrior self) -> std::string"""
5797 return _IMP_isd.GammaPrior___repr__(self)
5802 return _object_cast_to_GammaPrior(o)
5804 GammaPrior_swigregister = _IMP_isd.GammaPrior_swigregister
5805 GammaPrior_swigregister(GammaPrior)
5808 def sample_points_from_density(dmap_orig, npoints, threshold=0.0):
5810 sample_points_from_density(DensityMap dmap_orig, int npoints, IMP::Float threshold=0.0) -> IMP::FloatsList
5811 sample_points_from_density(DensityMap dmap_orig, int npoints) -> IMP::FloatsList
5813 return _IMP_isd.sample_points_from_density(dmap_orig, npoints, threshold)
5816 """get_module_version() -> std::string const"""
5817 return _IMP_isd.get_module_version()
5820 """get_example_path(std::string fname) -> std::string"""
5821 return _IMP_isd.get_example_path(fname)
5824 """get_data_path(std::string fname) -> std::string"""
5825 return _IMP_isd.get_data_path(fname)
5827 from .
import _version_check
Abstract class for scoring object(s) of type ParticleIndexPair.
Various classes to hold sets of particles.
static XYZR setup_particle(Model *m, ParticleIndex pi)
Make CGAL functionality available to IMP.
virtual void clear_caches()
virtual ModelObjectsTemp do_get_outputs(Model *m, const ParticleIndexes &pis) const =0
Overload this method to specify the outputs.
Composable functors to implement scores via compile-time composition.
Vector3D get_random_vector_in(const Cylinder3D &c)
Generate a random vector in a cylinder with uniform density.
Code to compute statistical measures.
Object used to hold a set of restraints.
Class for storing model, its restraints, constraints, and particles.
ModelObjectsTemp get_inputs(Model *m, const ParticleIndexes &pis) const
Get the ModelObjects read when the given list of particles is used.
virtual void do_destroy()
Common base class for heavy weight IMP objects.
Simple molecular dynamics optimizer.
Store a list of ParticleIndexes.
A base class for classes which perturb particles.
virtual ModelObjectsTemp do_get_inputs(Model *m, const ParticleIndexes &pis) const =0
Overload this method to specify the inputs.
Version and module information for Objects.
Basic utilities for handling cryo-electron microscopy 3D density maps.
double get_cross_correlation_coefficient(Image *im1, Image *im2)
Cross correlation between two images.
Interface to specialized Particle types (e.g. atoms)
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...
std::string get_module_version()
Return the version of this module, as a string.
virtual VersionInfo get_version_info() const
Get information about the module and version of the object.
Class to handle individual particles of a Model object.
void set_check_level(CheckLevel l)
std::string get_example_path(std::string file_name)
Return the full path to one of this module's example files.
Output IMP model data in various file formats.
Functionality for loading, creating, manipulating and scoring atomic structures.
std::string get_data_path(std::string file_name)
Return the full path to one of this module's data files.
Support for small angle X-ray scattering (SAXS) data.
A restraint is a term in an IMP ScoringFunction.