10 from __future__
import print_function, division, absolute_import
15 from sys
import version_info
16 if version_info >= (2, 6, 0):
17 def swig_import_helper():
18 from os.path
import dirname
22 fp, pathname, description = imp.find_module(
'_IMP_isd', [dirname(__file__)])
28 _mod = imp.load_module(
'_IMP_isd', fp, pathname, description)
32 _IMP_isd = swig_import_helper()
33 del swig_import_helper
38 _swig_property = property
43 def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
44 if (name ==
"thisown"):
45 return self.this.own(value)
47 if type(value).__name__ ==
'SwigPyObject':
48 self.__dict__[name] = value
50 method = class_type.__swig_setmethods__.get(name,
None)
52 return method(self, value)
54 object.__setattr__(self, name, value)
56 raise AttributeError(
"You cannot add attributes to %s" % self)
59 def _swig_setattr(self, class_type, name, value):
60 return _swig_setattr_nondynamic(self, class_type, name, value, 0)
63 def _swig_getattr_nondynamic(self, class_type, name, static=1):
64 if (name ==
"thisown"):
65 return self.this.own()
66 method = class_type.__swig_getmethods__.get(name,
None)
70 return object.__getattr__(self, name)
72 raise AttributeError(name)
74 def _swig_getattr(self, class_type, name):
75 return _swig_getattr_nondynamic(self, class_type, name, 0)
80 strthis =
"proxy of " + self.this.__repr__()
83 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
88 except AttributeError:
95 def _swig_setattr_nondynamic_method(set):
96 def set_attr(self, name, value):
97 if (name ==
"thisown"):
98 return self.this.own(value)
99 if hasattr(self, name)
or (name ==
"this"):
100 set(self, name, value)
102 raise AttributeError(
"You cannot add attributes to %s" % self)
108 weakref_proxy = weakref.proxy
110 weakref_proxy =
lambda x: x
113 class IMP_ISD_SwigPyIterator(object):
114 """Proxy of C++ swig::IMP_ISD_SwigPyIterator class"""
115 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
117 def __init__(self, *args, **kwargs):
118 raise AttributeError(
"No constructor defined - class is abstract")
119 __repr__ = _swig_repr
120 __swig_destroy__ = _IMP_isd.delete_IMP_ISD_SwigPyIterator
121 __del__ =
lambda self:
None
124 """value(IMP_ISD_SwigPyIterator self) -> PyObject *"""
125 return _IMP_isd.IMP_ISD_SwigPyIterator_value(self)
130 incr(IMP_ISD_SwigPyIterator self, size_t n=1) -> IMP_ISD_SwigPyIterator
131 incr(IMP_ISD_SwigPyIterator self) -> IMP_ISD_SwigPyIterator
133 return _IMP_isd.IMP_ISD_SwigPyIterator_incr(self, n)
138 decr(IMP_ISD_SwigPyIterator self, size_t n=1) -> IMP_ISD_SwigPyIterator
139 decr(IMP_ISD_SwigPyIterator self) -> IMP_ISD_SwigPyIterator
141 return _IMP_isd.IMP_ISD_SwigPyIterator_decr(self, n)
144 def distance(self, x):
145 """distance(IMP_ISD_SwigPyIterator self, IMP_ISD_SwigPyIterator x) -> ptrdiff_t"""
146 return _IMP_isd.IMP_ISD_SwigPyIterator_distance(self, x)
150 """equal(IMP_ISD_SwigPyIterator self, IMP_ISD_SwigPyIterator x) -> bool"""
151 return _IMP_isd.IMP_ISD_SwigPyIterator_equal(self, x)
155 """copy(IMP_ISD_SwigPyIterator self) -> IMP_ISD_SwigPyIterator"""
156 return _IMP_isd.IMP_ISD_SwigPyIterator_copy(self)
160 """next(IMP_ISD_SwigPyIterator self) -> PyObject *"""
161 return _IMP_isd.IMP_ISD_SwigPyIterator_next(self)
165 """__next__(IMP_ISD_SwigPyIterator self) -> PyObject *"""
166 return _IMP_isd.IMP_ISD_SwigPyIterator___next__(self)
170 """previous(IMP_ISD_SwigPyIterator self) -> PyObject *"""
171 return _IMP_isd.IMP_ISD_SwigPyIterator_previous(self)
174 def advance(self, n):
175 """advance(IMP_ISD_SwigPyIterator self, ptrdiff_t n) -> IMP_ISD_SwigPyIterator"""
176 return _IMP_isd.IMP_ISD_SwigPyIterator_advance(self, n)
180 """__eq__(IMP_ISD_SwigPyIterator self, IMP_ISD_SwigPyIterator x) -> bool"""
181 return _IMP_isd.IMP_ISD_SwigPyIterator___eq__(self, x)
185 """__ne__(IMP_ISD_SwigPyIterator self, IMP_ISD_SwigPyIterator x) -> bool"""
186 return _IMP_isd.IMP_ISD_SwigPyIterator___ne__(self, x)
189 def __iadd__(self, n):
190 """__iadd__(IMP_ISD_SwigPyIterator self, ptrdiff_t n) -> IMP_ISD_SwigPyIterator"""
191 return _IMP_isd.IMP_ISD_SwigPyIterator___iadd__(self, n)
194 def __isub__(self, n):
195 """__isub__(IMP_ISD_SwigPyIterator self, ptrdiff_t n) -> IMP_ISD_SwigPyIterator"""
196 return _IMP_isd.IMP_ISD_SwigPyIterator___isub__(self, n)
199 def __add__(self, n):
200 """__add__(IMP_ISD_SwigPyIterator self, ptrdiff_t n) -> IMP_ISD_SwigPyIterator"""
201 return _IMP_isd.IMP_ISD_SwigPyIterator___add__(self, n)
204 def __sub__(self, *args):
206 __sub__(IMP_ISD_SwigPyIterator self, ptrdiff_t n) -> IMP_ISD_SwigPyIterator
207 __sub__(IMP_ISD_SwigPyIterator self, IMP_ISD_SwigPyIterator x) -> ptrdiff_t
209 return _IMP_isd.IMP_ISD_SwigPyIterator___sub__(self, *args)
213 IMP_ISD_SwigPyIterator_swigregister = _IMP_isd.IMP_ISD_SwigPyIterator_swigregister
214 IMP_ISD_SwigPyIterator_swigregister(IMP_ISD_SwigPyIterator)
223 _IMP_isd.IMP_DEBUG_swigconstant(_IMP_isd)
224 IMP_DEBUG = _IMP_isd.IMP_DEBUG
226 _IMP_isd.IMP_RELEASE_swigconstant(_IMP_isd)
227 IMP_RELEASE = _IMP_isd.IMP_RELEASE
229 _IMP_isd.IMP_SILENT_swigconstant(_IMP_isd)
230 IMP_SILENT = _IMP_isd.IMP_SILENT
232 _IMP_isd.IMP_PROGRESS_swigconstant(_IMP_isd)
233 IMP_PROGRESS = _IMP_isd.IMP_PROGRESS
235 _IMP_isd.IMP_TERSE_swigconstant(_IMP_isd)
236 IMP_TERSE = _IMP_isd.IMP_TERSE
238 _IMP_isd.IMP_VERBOSE_swigconstant(_IMP_isd)
239 IMP_VERBOSE = _IMP_isd.IMP_VERBOSE
241 _IMP_isd.IMP_MEMORY_swigconstant(_IMP_isd)
242 IMP_MEMORY = _IMP_isd.IMP_MEMORY
244 _IMP_isd.IMP_NONE_swigconstant(_IMP_isd)
245 IMP_NONE = _IMP_isd.IMP_NONE
247 _IMP_isd.IMP_USAGE_swigconstant(_IMP_isd)
248 IMP_USAGE = _IMP_isd.IMP_USAGE
250 _IMP_isd.IMP_INTERNAL_swigconstant(_IMP_isd)
251 IMP_INTERNAL = _IMP_isd.IMP_INTERNAL
253 _IMP_isd.IMP_KERNEL_HAS_LOG4CXX_swigconstant(_IMP_isd)
254 IMP_KERNEL_HAS_LOG4CXX = _IMP_isd.IMP_KERNEL_HAS_LOG4CXX
256 _IMP_isd.IMP_COMPILER_HAS_AUTO_swigconstant(_IMP_isd)
257 IMP_COMPILER_HAS_AUTO = _IMP_isd.IMP_COMPILER_HAS_AUTO
259 _IMP_isd.IMP_COMPILER_HAS_DEBUG_VECTOR_swigconstant(_IMP_isd)
260 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_isd.IMP_COMPILER_HAS_DEBUG_VECTOR
262 _IMP_isd.IMP_COMPILER_HAS_UNIQUE_PTR_swigconstant(_IMP_isd)
263 IMP_COMPILER_HAS_UNIQUE_PTR = _IMP_isd.IMP_COMPILER_HAS_UNIQUE_PTR
265 _IMP_isd.IMP_KERNEL_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
266 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_isd.IMP_KERNEL_HAS_BOOST_RANDOM
268 _IMP_isd.IMP_KERNEL_HAS_NUMPY_swigconstant(_IMP_isd)
269 IMP_KERNEL_HAS_NUMPY = _IMP_isd.IMP_KERNEL_HAS_NUMPY
271 _IMP_isd.IMP_KERNEL_HAS_GPERFTOOLS_swigconstant(_IMP_isd)
272 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_isd.IMP_KERNEL_HAS_GPERFTOOLS
274 _IMP_isd.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER_swigconstant(_IMP_isd)
275 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_isd.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
277 _IMP_isd.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER_swigconstant(_IMP_isd)
278 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_isd.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
280 _IMP_isd.IMPKERNEL_SHOW_WARNINGS_swigconstant(_IMP_isd)
281 IMPKERNEL_SHOW_WARNINGS = _IMP_isd.IMPKERNEL_SHOW_WARNINGS
284 class _DirectorObjects(object):
285 """@internal Simple class to keep references to director objects
286 to prevent premature deletion."""
289 def register(self, obj):
290 """Take a reference to a director object; will only work for
291 refcounted C++ classes"""
292 if hasattr(obj,
'get_ref_count'):
293 self._objects.append(obj)
295 """Only drop our reference and allow cleanup by Python if no other
296 Python references exist (we hold 3 references: one in self._objects,
297 one in x, and one in the argument list for getrefcount) *and* no
298 other C++ references exist (the Python object always holds one)"""
299 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
300 or x.get_ref_count() > 1]
304 def get_object_count(self):
305 """Get number of director objects (useful for testing only)"""
306 return len(self._objects)
307 _director_objects = _DirectorObjects()
309 class _ostream(object):
310 """Proxy of C++ std::ostream class"""
311 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
313 def __init__(self, *args, **kwargs):
314 raise AttributeError(
"No constructor defined")
315 __repr__ = _swig_repr
317 def write(self, osa_buf):
318 """write(_ostream self, char const * osa_buf)"""
319 return _IMP_isd._ostream_write(self, osa_buf)
321 _ostream_swigregister = _IMP_isd._ostream_swigregister
322 _ostream_swigregister(_ostream)
325 _IMP_isd.IMP_COMPILER_HAS_OVERRIDE_swigconstant(_IMP_isd)
326 IMP_COMPILER_HAS_OVERRIDE = _IMP_isd.IMP_COMPILER_HAS_OVERRIDE
328 _IMP_isd.IMP_COMPILER_HAS_FINAL_swigconstant(_IMP_isd)
329 IMP_COMPILER_HAS_FINAL = _IMP_isd.IMP_COMPILER_HAS_FINAL
331 _IMP_isd.IMP_HAS_NOEXCEPT_swigconstant(_IMP_isd)
332 IMP_HAS_NOEXCEPT = _IMP_isd.IMP_HAS_NOEXCEPT
334 _IMP_isd.IMP_C_OPEN_BINARY_swigconstant(_IMP_isd)
335 IMP_C_OPEN_BINARY = _IMP_isd.IMP_C_OPEN_BINARY
338 _IMP_isd.IMP_CGAL_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_isd)
339 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_CGAL_HAS_BOOST_FILESYSTEM
341 _IMP_isd.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_isd)
342 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
344 _IMP_isd.IMP_CGAL_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
345 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_isd.IMP_CGAL_HAS_BOOST_RANDOM
347 _IMP_isd.IMP_CGAL_HAS_BOOST_SYSTEM_swigconstant(_IMP_isd)
348 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_isd.IMP_CGAL_HAS_BOOST_SYSTEM
350 _IMP_isd.IMP_CGAL_HAS_NUMPY_swigconstant(_IMP_isd)
351 IMP_CGAL_HAS_NUMPY = _IMP_isd.IMP_CGAL_HAS_NUMPY
353 _IMP_isd.IMPCGAL_SHOW_WARNINGS_swigconstant(_IMP_isd)
354 IMPCGAL_SHOW_WARNINGS = _IMP_isd.IMPCGAL_SHOW_WARNINGS
357 _IMP_isd.IMP_ALGEBRA_HAS_IMP_CGAL_swigconstant(_IMP_isd)
358 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_isd.IMP_ALGEBRA_HAS_IMP_CGAL
360 _IMP_isd.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_isd)
361 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
363 _IMP_isd.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_isd)
364 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
366 _IMP_isd.IMP_ALGEBRA_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
367 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_isd.IMP_ALGEBRA_HAS_BOOST_RANDOM
369 _IMP_isd.IMP_ALGEBRA_HAS_BOOST_SYSTEM_swigconstant(_IMP_isd)
370 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_isd.IMP_ALGEBRA_HAS_BOOST_SYSTEM
372 _IMP_isd.IMP_ALGEBRA_HAS_CGAL_swigconstant(_IMP_isd)
373 IMP_ALGEBRA_HAS_CGAL = _IMP_isd.IMP_ALGEBRA_HAS_CGAL
375 _IMP_isd.IMP_ALGEBRA_HAS_NUMPY_swigconstant(_IMP_isd)
376 IMP_ALGEBRA_HAS_NUMPY = _IMP_isd.IMP_ALGEBRA_HAS_NUMPY
378 _IMP_isd.IMP_ALGEBRA_HAS_ANN_swigconstant(_IMP_isd)
379 IMP_ALGEBRA_HAS_ANN = _IMP_isd.IMP_ALGEBRA_HAS_ANN
381 _IMP_isd.IMPALGEBRA_SHOW_WARNINGS_swigconstant(_IMP_isd)
382 IMPALGEBRA_SHOW_WARNINGS = _IMP_isd.IMPALGEBRA_SHOW_WARNINGS
385 _IMP_isd.IMP_DISPLAY_HAS_IMP_CGAL_swigconstant(_IMP_isd)
386 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_isd.IMP_DISPLAY_HAS_IMP_CGAL
388 _IMP_isd.IMP_DISPLAY_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_isd)
389 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
391 _IMP_isd.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_isd)
392 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
394 _IMP_isd.IMP_DISPLAY_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
395 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_isd.IMP_DISPLAY_HAS_BOOST_RANDOM
397 _IMP_isd.IMP_DISPLAY_HAS_BOOST_SYSTEM_swigconstant(_IMP_isd)
398 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_isd.IMP_DISPLAY_HAS_BOOST_SYSTEM
400 _IMP_isd.IMP_DISPLAY_HAS_CGAL_swigconstant(_IMP_isd)
401 IMP_DISPLAY_HAS_CGAL = _IMP_isd.IMP_DISPLAY_HAS_CGAL
403 _IMP_isd.IMP_DISPLAY_HAS_NUMPY_swigconstant(_IMP_isd)
404 IMP_DISPLAY_HAS_NUMPY = _IMP_isd.IMP_DISPLAY_HAS_NUMPY
406 _IMP_isd.IMPDISPLAY_SHOW_WARNINGS_swigconstant(_IMP_isd)
407 IMPDISPLAY_SHOW_WARNINGS = _IMP_isd.IMPDISPLAY_SHOW_WARNINGS
410 _IMP_isd.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL_swigconstant(_IMP_isd)
411 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
413 _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_isd)
414 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
416 _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_isd)
417 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
419 _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
420 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
422 _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM_swigconstant(_IMP_isd)
423 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
425 _IMP_isd.IMP_SCORE_FUNCTOR_HAS_CGAL_swigconstant(_IMP_isd)
426 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_CGAL
428 _IMP_isd.IMP_SCORE_FUNCTOR_HAS_HDF5_swigconstant(_IMP_isd)
429 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_HDF5
431 _IMP_isd.IMP_SCORE_FUNCTOR_HAS_NUMPY_swigconstant(_IMP_isd)
432 IMP_SCORE_FUNCTOR_HAS_NUMPY = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_NUMPY
434 _IMP_isd.IMPSCOREFUNCTOR_SHOW_WARNINGS_swigconstant(_IMP_isd)
435 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_isd.IMPSCOREFUNCTOR_SHOW_WARNINGS
438 _IMP_isd.IMP_STATISTICS_HAS_IMP_CGAL_swigconstant(_IMP_isd)
439 IMP_STATISTICS_HAS_IMP_CGAL = _IMP_isd.IMP_STATISTICS_HAS_IMP_CGAL
441 _IMP_isd.IMP_STATISTICS_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_isd)
442 IMP_STATISTICS_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_STATISTICS_HAS_BOOST_FILESYSTEM
444 _IMP_isd.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_isd)
445 IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS
447 _IMP_isd.IMP_STATISTICS_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
448 IMP_STATISTICS_HAS_BOOST_RANDOM = _IMP_isd.IMP_STATISTICS_HAS_BOOST_RANDOM
450 _IMP_isd.IMP_STATISTICS_HAS_BOOST_SYSTEM_swigconstant(_IMP_isd)
451 IMP_STATISTICS_HAS_BOOST_SYSTEM = _IMP_isd.IMP_STATISTICS_HAS_BOOST_SYSTEM
453 _IMP_isd.IMP_STATISTICS_HAS_CGAL_swigconstant(_IMP_isd)
454 IMP_STATISTICS_HAS_CGAL = _IMP_isd.IMP_STATISTICS_HAS_CGAL
456 _IMP_isd.IMP_STATISTICS_HAS_NUMPY_swigconstant(_IMP_isd)
457 IMP_STATISTICS_HAS_NUMPY = _IMP_isd.IMP_STATISTICS_HAS_NUMPY
459 _IMP_isd.IMPSTATISTICS_SHOW_WARNINGS_swigconstant(_IMP_isd)
460 IMPSTATISTICS_SHOW_WARNINGS = _IMP_isd.IMPSTATISTICS_SHOW_WARNINGS
463 _IMP_isd.IMP_CORE_HAS_IMP_CGAL_swigconstant(_IMP_isd)
464 IMP_CORE_HAS_IMP_CGAL = _IMP_isd.IMP_CORE_HAS_IMP_CGAL
466 _IMP_isd.IMP_CORE_HAS_IMP_KERNEL_swigconstant(_IMP_isd)
467 IMP_CORE_HAS_IMP_KERNEL = _IMP_isd.IMP_CORE_HAS_IMP_KERNEL
469 _IMP_isd.IMP_CORE_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_isd)
470 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_CORE_HAS_BOOST_FILESYSTEM
472 _IMP_isd.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_isd)
473 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
475 _IMP_isd.IMP_CORE_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
476 IMP_CORE_HAS_BOOST_RANDOM = _IMP_isd.IMP_CORE_HAS_BOOST_RANDOM
478 _IMP_isd.IMP_CORE_HAS_BOOST_SYSTEM_swigconstant(_IMP_isd)
479 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_isd.IMP_CORE_HAS_BOOST_SYSTEM
481 _IMP_isd.IMP_CORE_HAS_CGAL_swigconstant(_IMP_isd)
482 IMP_CORE_HAS_CGAL = _IMP_isd.IMP_CORE_HAS_CGAL
484 _IMP_isd.IMP_CORE_HAS_HDF5_swigconstant(_IMP_isd)
485 IMP_CORE_HAS_HDF5 = _IMP_isd.IMP_CORE_HAS_HDF5
487 _IMP_isd.IMP_CORE_HAS_NUMPY_swigconstant(_IMP_isd)
488 IMP_CORE_HAS_NUMPY = _IMP_isd.IMP_CORE_HAS_NUMPY
490 _IMP_isd.IMPCORE_SHOW_WARNINGS_swigconstant(_IMP_isd)
491 IMPCORE_SHOW_WARNINGS = _IMP_isd.IMPCORE_SHOW_WARNINGS
494 _IMP_isd.IMP_CONTAINER_HAS_IMP_ALGEBRA_swigconstant(_IMP_isd)
495 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_isd.IMP_CONTAINER_HAS_IMP_ALGEBRA
497 _IMP_isd.IMP_CONTAINER_HAS_IMP_CGAL_swigconstant(_IMP_isd)
498 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_isd.IMP_CONTAINER_HAS_IMP_CGAL
500 _IMP_isd.IMP_CONTAINER_HAS_IMP_DISPLAY_swigconstant(_IMP_isd)
501 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_isd.IMP_CONTAINER_HAS_IMP_DISPLAY
503 _IMP_isd.IMP_CONTAINER_HAS_IMP_KERNEL_swigconstant(_IMP_isd)
504 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_isd.IMP_CONTAINER_HAS_IMP_KERNEL
506 _IMP_isd.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_isd)
507 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_isd.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
509 _IMP_isd.IMP_CONTAINER_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_isd)
510 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
512 _IMP_isd.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_isd)
513 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
515 _IMP_isd.IMP_CONTAINER_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
516 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_isd.IMP_CONTAINER_HAS_BOOST_RANDOM
518 _IMP_isd.IMP_CONTAINER_HAS_BOOST_SYSTEM_swigconstant(_IMP_isd)
519 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_isd.IMP_CONTAINER_HAS_BOOST_SYSTEM
521 _IMP_isd.IMP_CONTAINER_HAS_CGAL_swigconstant(_IMP_isd)
522 IMP_CONTAINER_HAS_CGAL = _IMP_isd.IMP_CONTAINER_HAS_CGAL
524 _IMP_isd.IMP_CONTAINER_HAS_HDF5_swigconstant(_IMP_isd)
525 IMP_CONTAINER_HAS_HDF5 = _IMP_isd.IMP_CONTAINER_HAS_HDF5
527 _IMP_isd.IMP_CONTAINER_HAS_NUMPY_swigconstant(_IMP_isd)
528 IMP_CONTAINER_HAS_NUMPY = _IMP_isd.IMP_CONTAINER_HAS_NUMPY
530 _IMP_isd.IMP_CONTAINER_HAS_PYTHON_IHM_swigconstant(_IMP_isd)
531 IMP_CONTAINER_HAS_PYTHON_IHM = _IMP_isd.IMP_CONTAINER_HAS_PYTHON_IHM
533 _IMP_isd.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP_swigconstant(_IMP_isd)
534 IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP = _IMP_isd.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP
536 _IMP_isd.IMP_CONTAINER_HAS_ROBIN_MAP_swigconstant(_IMP_isd)
537 IMP_CONTAINER_HAS_ROBIN_MAP = _IMP_isd.IMP_CONTAINER_HAS_ROBIN_MAP
539 _IMP_isd.IMPCONTAINER_SHOW_WARNINGS_swigconstant(_IMP_isd)
540 IMPCONTAINER_SHOW_WARNINGS = _IMP_isd.IMPCONTAINER_SHOW_WARNINGS
543 _IMP_isd.IMP_ATOM_HAS_IMP_CGAL_swigconstant(_IMP_isd)
544 IMP_ATOM_HAS_IMP_CGAL = _IMP_isd.IMP_ATOM_HAS_IMP_CGAL
546 _IMP_isd.IMP_ATOM_HAS_IMP_KERNEL_swigconstant(_IMP_isd)
547 IMP_ATOM_HAS_IMP_KERNEL = _IMP_isd.IMP_ATOM_HAS_IMP_KERNEL
549 _IMP_isd.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_isd)
550 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_isd.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
552 _IMP_isd.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_isd)
553 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
555 _IMP_isd.IMP_ATOM_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
556 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_isd.IMP_ATOM_HAS_BOOST_RANDOM
558 _IMP_isd.IMP_ATOM_HAS_BOOST_REGEX_swigconstant(_IMP_isd)
559 IMP_ATOM_HAS_BOOST_REGEX = _IMP_isd.IMP_ATOM_HAS_BOOST_REGEX
561 _IMP_isd.IMP_ATOM_HAS_BOOST_SYSTEM_swigconstant(_IMP_isd)
562 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_isd.IMP_ATOM_HAS_BOOST_SYSTEM
564 _IMP_isd.IMP_ATOM_HAS_CGAL_swigconstant(_IMP_isd)
565 IMP_ATOM_HAS_CGAL = _IMP_isd.IMP_ATOM_HAS_CGAL
567 _IMP_isd.IMP_ATOM_HAS_HDF5_swigconstant(_IMP_isd)
568 IMP_ATOM_HAS_HDF5 = _IMP_isd.IMP_ATOM_HAS_HDF5
570 _IMP_isd.IMP_ATOM_HAS_NUMPY_swigconstant(_IMP_isd)
571 IMP_ATOM_HAS_NUMPY = _IMP_isd.IMP_ATOM_HAS_NUMPY
573 _IMP_isd.IMP_ATOM_HAS_PYTHON_IHM_swigconstant(_IMP_isd)
574 IMP_ATOM_HAS_PYTHON_IHM = _IMP_isd.IMP_ATOM_HAS_PYTHON_IHM
576 _IMP_isd.IMPATOM_SHOW_WARNINGS_swigconstant(_IMP_isd)
577 IMPATOM_SHOW_WARNINGS = _IMP_isd.IMPATOM_SHOW_WARNINGS
579 _IMP_isd.IMP_ATOM_TYPE_INDEX_swigconstant(_IMP_isd)
580 IMP_ATOM_TYPE_INDEX = _IMP_isd.IMP_ATOM_TYPE_INDEX
582 _IMP_isd.IMP_RESIDUE_TYPE_INDEX_swigconstant(_IMP_isd)
583 IMP_RESIDUE_TYPE_INDEX = _IMP_isd.IMP_RESIDUE_TYPE_INDEX
585 _IMP_isd.IMP_HIERARCHY_TYPE_INDEX_swigconstant(_IMP_isd)
586 IMP_HIERARCHY_TYPE_INDEX = _IMP_isd.IMP_HIERARCHY_TYPE_INDEX
588 _IMP_isd.IMP_CHAIN_TYPE_INDEX_swigconstant(_IMP_isd)
589 IMP_CHAIN_TYPE_INDEX = _IMP_isd.IMP_CHAIN_TYPE_INDEX
592 _IMP_isd.IMP_EM_HAS_IMP_CGAL_swigconstant(_IMP_isd)
593 IMP_EM_HAS_IMP_CGAL = _IMP_isd.IMP_EM_HAS_IMP_CGAL
595 _IMP_isd.IMP_EM_HAS_IMP_CONTAINER_swigconstant(_IMP_isd)
596 IMP_EM_HAS_IMP_CONTAINER = _IMP_isd.IMP_EM_HAS_IMP_CONTAINER
598 _IMP_isd.IMP_EM_HAS_IMP_DISPLAY_swigconstant(_IMP_isd)
599 IMP_EM_HAS_IMP_DISPLAY = _IMP_isd.IMP_EM_HAS_IMP_DISPLAY
601 _IMP_isd.IMP_EM_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_isd)
602 IMP_EM_HAS_IMP_SCORE_FUNCTOR = _IMP_isd.IMP_EM_HAS_IMP_SCORE_FUNCTOR
604 _IMP_isd.IMP_EM_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_isd)
605 IMP_EM_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_EM_HAS_BOOST_FILESYSTEM
607 _IMP_isd.IMP_EM_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_isd)
608 IMP_EM_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_EM_HAS_BOOST_PROGRAMOPTIONS
610 _IMP_isd.IMP_EM_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
611 IMP_EM_HAS_BOOST_RANDOM = _IMP_isd.IMP_EM_HAS_BOOST_RANDOM
613 _IMP_isd.IMP_EM_HAS_BOOST_REGEX_swigconstant(_IMP_isd)
614 IMP_EM_HAS_BOOST_REGEX = _IMP_isd.IMP_EM_HAS_BOOST_REGEX
616 _IMP_isd.IMP_EM_HAS_BOOST_SYSTEM_swigconstant(_IMP_isd)
617 IMP_EM_HAS_BOOST_SYSTEM = _IMP_isd.IMP_EM_HAS_BOOST_SYSTEM
619 _IMP_isd.IMP_EM_HAS_CGAL_swigconstant(_IMP_isd)
620 IMP_EM_HAS_CGAL = _IMP_isd.IMP_EM_HAS_CGAL
622 _IMP_isd.IMP_EM_HAS_HDF5_swigconstant(_IMP_isd)
623 IMP_EM_HAS_HDF5 = _IMP_isd.IMP_EM_HAS_HDF5
625 _IMP_isd.IMP_EM_HAS_NUMPY_swigconstant(_IMP_isd)
626 IMP_EM_HAS_NUMPY = _IMP_isd.IMP_EM_HAS_NUMPY
628 _IMP_isd.IMP_EM_HAS_PYTHON_IHM_swigconstant(_IMP_isd)
629 IMP_EM_HAS_PYTHON_IHM = _IMP_isd.IMP_EM_HAS_PYTHON_IHM
631 _IMP_isd.IMPEM_SHOW_WARNINGS_swigconstant(_IMP_isd)
632 IMPEM_SHOW_WARNINGS = _IMP_isd.IMPEM_SHOW_WARNINGS
635 _IMP_isd.IMP_SAXS_HAS_IMP_CGAL_swigconstant(_IMP_isd)
636 IMP_SAXS_HAS_IMP_CGAL = _IMP_isd.IMP_SAXS_HAS_IMP_CGAL
638 _IMP_isd.IMP_SAXS_HAS_IMP_CONTAINER_swigconstant(_IMP_isd)
639 IMP_SAXS_HAS_IMP_CONTAINER = _IMP_isd.IMP_SAXS_HAS_IMP_CONTAINER
641 _IMP_isd.IMP_SAXS_HAS_IMP_DISPLAY_swigconstant(_IMP_isd)
642 IMP_SAXS_HAS_IMP_DISPLAY = _IMP_isd.IMP_SAXS_HAS_IMP_DISPLAY
644 _IMP_isd.IMP_SAXS_HAS_IMP_KERNEL_swigconstant(_IMP_isd)
645 IMP_SAXS_HAS_IMP_KERNEL = _IMP_isd.IMP_SAXS_HAS_IMP_KERNEL
647 _IMP_isd.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_isd)
648 IMP_SAXS_HAS_IMP_SCORE_FUNCTOR = _IMP_isd.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR
650 _IMP_isd.IMP_SAXS_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_isd)
651 IMP_SAXS_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_SAXS_HAS_BOOST_FILESYSTEM
653 _IMP_isd.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_isd)
654 IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS
656 _IMP_isd.IMP_SAXS_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
657 IMP_SAXS_HAS_BOOST_RANDOM = _IMP_isd.IMP_SAXS_HAS_BOOST_RANDOM
659 _IMP_isd.IMP_SAXS_HAS_BOOST_REGEX_swigconstant(_IMP_isd)
660 IMP_SAXS_HAS_BOOST_REGEX = _IMP_isd.IMP_SAXS_HAS_BOOST_REGEX
662 _IMP_isd.IMP_SAXS_HAS_BOOST_SYSTEM_swigconstant(_IMP_isd)
663 IMP_SAXS_HAS_BOOST_SYSTEM = _IMP_isd.IMP_SAXS_HAS_BOOST_SYSTEM
665 _IMP_isd.IMP_SAXS_HAS_CGAL_swigconstant(_IMP_isd)
666 IMP_SAXS_HAS_CGAL = _IMP_isd.IMP_SAXS_HAS_CGAL
668 _IMP_isd.IMP_SAXS_HAS_HDF5_swigconstant(_IMP_isd)
669 IMP_SAXS_HAS_HDF5 = _IMP_isd.IMP_SAXS_HAS_HDF5
671 _IMP_isd.IMP_SAXS_HAS_NUMPY_swigconstant(_IMP_isd)
672 IMP_SAXS_HAS_NUMPY = _IMP_isd.IMP_SAXS_HAS_NUMPY
674 _IMP_isd.IMP_SAXS_HAS_PYTHON_IHM_swigconstant(_IMP_isd)
675 IMP_SAXS_HAS_PYTHON_IHM = _IMP_isd.IMP_SAXS_HAS_PYTHON_IHM
677 _IMP_isd.IMPSAXS_SHOW_WARNINGS_swigconstant(_IMP_isd)
678 IMPSAXS_SHOW_WARNINGS = _IMP_isd.IMPSAXS_SHOW_WARNINGS
681 _IMP_isd.IMP_ISD_HAS_IMP_CGAL_swigconstant(_IMP_isd)
682 IMP_ISD_HAS_IMP_CGAL = _IMP_isd.IMP_ISD_HAS_IMP_CGAL
684 _IMP_isd.IMP_ISD_HAS_IMP_DISPLAY_swigconstant(_IMP_isd)
685 IMP_ISD_HAS_IMP_DISPLAY = _IMP_isd.IMP_ISD_HAS_IMP_DISPLAY
687 _IMP_isd.IMP_ISD_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_isd)
688 IMP_ISD_HAS_IMP_SCORE_FUNCTOR = _IMP_isd.IMP_ISD_HAS_IMP_SCORE_FUNCTOR
690 _IMP_isd.IMP_ISD_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_isd)
691 IMP_ISD_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_ISD_HAS_BOOST_FILESYSTEM
693 _IMP_isd.IMP_ISD_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_isd)
694 IMP_ISD_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_ISD_HAS_BOOST_PROGRAMOPTIONS
696 _IMP_isd.IMP_ISD_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
697 IMP_ISD_HAS_BOOST_RANDOM = _IMP_isd.IMP_ISD_HAS_BOOST_RANDOM
699 _IMP_isd.IMP_ISD_HAS_BOOST_REGEX_swigconstant(_IMP_isd)
700 IMP_ISD_HAS_BOOST_REGEX = _IMP_isd.IMP_ISD_HAS_BOOST_REGEX
702 _IMP_isd.IMP_ISD_HAS_BOOST_SYSTEM_swigconstant(_IMP_isd)
703 IMP_ISD_HAS_BOOST_SYSTEM = _IMP_isd.IMP_ISD_HAS_BOOST_SYSTEM
705 _IMP_isd.IMP_ISD_HAS_CGAL_swigconstant(_IMP_isd)
706 IMP_ISD_HAS_CGAL = _IMP_isd.IMP_ISD_HAS_CGAL
708 _IMP_isd.IMP_ISD_HAS_HDF5_swigconstant(_IMP_isd)
709 IMP_ISD_HAS_HDF5 = _IMP_isd.IMP_ISD_HAS_HDF5
711 _IMP_isd.IMP_ISD_HAS_NUMPY_swigconstant(_IMP_isd)
712 IMP_ISD_HAS_NUMPY = _IMP_isd.IMP_ISD_HAS_NUMPY
714 _IMP_isd.IMP_ISD_HAS_PYTHON_IHM_swigconstant(_IMP_isd)
715 IMP_ISD_HAS_PYTHON_IHM = _IMP_isd.IMP_ISD_HAS_PYTHON_IHM
717 _IMP_isd.IMPISD_SHOW_WARNINGS_swigconstant(_IMP_isd)
718 IMPISD_SHOW_WARNINGS = _IMP_isd.IMPISD_SHOW_WARNINGS
720 _object_types.append(
"ISDRestraint")
723 def _object_cast_to_ISDRestraint(o):
724 """_object_cast_to_ISDRestraint(Object o) -> ISDRestraint"""
725 return _IMP_isd._object_cast_to_ISDRestraint(o)
727 _object_types.append(
"CrossLinkMSRestraint")
730 def _object_cast_to_CrossLinkMSRestraint(o):
731 """_object_cast_to_CrossLinkMSRestraint(Object o) -> CrossLinkMSRestraint"""
732 return _IMP_isd._object_cast_to_CrossLinkMSRestraint(o)
734 _object_types.append(
"LogWrapper")
737 def _object_cast_to_LogWrapper(o):
738 """_object_cast_to_LogWrapper(Object o) -> LogWrapper"""
739 return _IMP_isd._object_cast_to_LogWrapper(o)
741 _object_types.append(
"UniformPrior")
744 def _object_cast_to_UniformPrior(o):
745 """_object_cast_to_UniformPrior(Object o) -> UniformPrior"""
746 return _IMP_isd._object_cast_to_UniformPrior(o)
748 _object_types.append(
"JeffreysRestraint")
751 def _object_cast_to_JeffreysRestraint(o):
752 """_object_cast_to_JeffreysRestraint(Object o) -> JeffreysRestraint"""
753 return _IMP_isd._object_cast_to_JeffreysRestraint(o)
755 _object_types.append(
"NormalSigmaPCRestraint")
758 def _object_cast_to_NormalSigmaPCRestraint(o):
759 """_object_cast_to_NormalSigmaPCRestraint(Object o) -> NormalSigmaPCRestraint"""
760 return _IMP_isd._object_cast_to_NormalSigmaPCRestraint(o)
762 _object_types.append(
"vonMisesKappaJeffreysRestraint")
765 def _object_cast_to_vonMisesKappaJeffreysRestraint(o):
766 """_object_cast_to_vonMisesKappaJeffreysRestraint(Object o) -> vonMisesKappaJeffreysRestraint"""
767 return _IMP_isd._object_cast_to_vonMisesKappaJeffreysRestraint(o)
769 _object_types.append(
"vonMisesKappaConjugateRestraint")
772 def _object_cast_to_vonMisesKappaConjugateRestraint(o):
773 """_object_cast_to_vonMisesKappaConjugateRestraint(Object o) -> vonMisesKappaConjugateRestraint"""
774 return _IMP_isd._object_cast_to_vonMisesKappaConjugateRestraint(o)
776 _object_types.append(
"Distribution")
779 def _object_cast_to_Distribution(o):
780 """_object_cast_to_Distribution(Object o) -> Distribution"""
781 return _IMP_isd._object_cast_to_Distribution(o)
783 _object_types.append(
"OneDimensionalDistribution")
786 def _object_cast_to_OneDimensionalDistribution(o):
787 """_object_cast_to_OneDimensionalDistribution(Object o) -> OneDimensionalDistribution"""
788 return _IMP_isd._object_cast_to_OneDimensionalDistribution(o)
790 _object_types.append(
"OneDimensionalSufficientDistribution")
793 def _object_cast_to_OneDimensionalSufficientDistribution(o):
794 """_object_cast_to_OneDimensionalSufficientDistribution(Object o) -> OneDimensionalSufficientDistribution"""
795 return _IMP_isd._object_cast_to_OneDimensionalSufficientDistribution(o)
797 _object_types.append(
"FNormal")
800 def _object_cast_to_FNormal(o):
801 """_object_cast_to_FNormal(Object o) -> FNormal"""
802 return _IMP_isd._object_cast_to_FNormal(o)
804 _object_types.append(
"FStudentT")
807 def _object_cast_to_FStudentT(o):
808 """_object_cast_to_FStudentT(Object o) -> FStudentT"""
809 return _IMP_isd._object_cast_to_FStudentT(o)
811 _object_types.append(
"vonMises")
814 def _object_cast_to_vonMises(o):
815 """_object_cast_to_vonMises(Object o) -> vonMises"""
816 return _IMP_isd._object_cast_to_vonMises(o)
818 _object_types.append(
"vonMisesSufficient")
821 def _object_cast_to_vonMisesSufficient(o):
822 """_object_cast_to_vonMisesSufficient(Object o) -> vonMisesSufficient"""
823 return _IMP_isd._object_cast_to_vonMisesSufficient(o)
825 _object_types.append(
"PenalizedComplexityPrior")
828 def _object_cast_to_PenalizedComplexityPrior(o):
829 """_object_cast_to_PenalizedComplexityPrior(Object o) -> PenalizedComplexityPrior"""
830 return _IMP_isd._object_cast_to_PenalizedComplexityPrior(o)
833 return [Nuisance(x)
for x
in l]
834 _plural_types.append(
"Nuisances")
837 _value_types.append(
"Nuisance")
841 return [Scale(x)
for x
in l]
842 _plural_types.append(
"Scales")
845 _value_types.append(
"Scale")
848 def Switchings(l=[]):
849 return [Switching(x)
for x
in l]
850 _plural_types.append(
"Switchings")
853 _value_types.append(
"Switching")
856 _object_types.append(
"NOERestraint")
859 def _object_cast_to_NOERestraint(o):
860 """_object_cast_to_NOERestraint(Object o) -> NOERestraint"""
861 return _IMP_isd._object_cast_to_NOERestraint(o)
864 return [Weight(x)
for x
in l]
865 _plural_types.append(
"Weights")
868 _value_types.append(
"Weight")
871 _object_types.append(
"GaussianRestraint")
874 def _object_cast_to_GaussianRestraint(o):
875 """_object_cast_to_GaussianRestraint(Object o) -> GaussianRestraint"""
876 return _IMP_isd._object_cast_to_GaussianRestraint(o)
878 _object_types.append(
"StudentTRestraint")
881 def _object_cast_to_StudentTRestraint(o):
882 """_object_cast_to_StudentTRestraint(Object o) -> StudentTRestraint"""
883 return _IMP_isd._object_cast_to_StudentTRestraint(o)
885 _object_types.append(
"LognormalRestraint")
888 def _object_cast_to_LognormalRestraint(o):
889 """_object_cast_to_LognormalRestraint(Object o) -> LognormalRestraint"""
890 return _IMP_isd._object_cast_to_LognormalRestraint(o)
892 _object_types.append(
"LognormalAmbiguousRestraint")
895 def _object_cast_to_LognormalAmbiguousRestraint(o):
896 """_object_cast_to_LognormalAmbiguousRestraint(Object o) -> LognormalAmbiguousRestraint"""
897 return _IMP_isd._object_cast_to_LognormalAmbiguousRestraint(o)
899 _object_types.append(
"AmbiguousNOERestraint")
902 def _object_cast_to_AmbiguousNOERestraint(o):
903 """_object_cast_to_AmbiguousNOERestraint(Object o) -> AmbiguousNOERestraint"""
904 return _IMP_isd._object_cast_to_AmbiguousNOERestraint(o)
906 _object_types.append(
"MarginalNOERestraint")
909 def _object_cast_to_MarginalNOERestraint(o):
910 """_object_cast_to_MarginalNOERestraint(Object o) -> MarginalNOERestraint"""
911 return _IMP_isd._object_cast_to_MarginalNOERestraint(o)
913 _object_types.append(
"MarginalHBondRestraint")
916 def _object_cast_to_MarginalHBondRestraint(o):
917 """_object_cast_to_MarginalHBondRestraint(Object o) -> MarginalHBondRestraint"""
918 return _IMP_isd._object_cast_to_MarginalHBondRestraint(o)
920 _object_types.append(
"TALOSRestraint")
923 def _object_cast_to_TALOSRestraint(o):
924 """_object_cast_to_TALOSRestraint(Object o) -> TALOSRestraint"""
925 return _IMP_isd._object_cast_to_TALOSRestraint(o)
927 _object_types.append(
"RepulsiveDistancePairScore")
930 def _object_cast_to_RepulsiveDistancePairScore(o):
931 """_object_cast_to_RepulsiveDistancePairScore(Object o) -> RepulsiveDistancePairScore"""
932 return _IMP_isd._object_cast_to_RepulsiveDistancePairScore(o)
934 _object_types.append(
"AmbiguousRestraint")
937 def _object_cast_to_AmbiguousRestraint(o):
938 """_object_cast_to_AmbiguousRestraint(Object o) -> AmbiguousRestraint"""
939 return _IMP_isd._object_cast_to_AmbiguousRestraint(o)
941 _object_types.append(
"UnivariateFunction")
944 def _object_cast_to_UnivariateFunction(o):
945 """_object_cast_to_UnivariateFunction(Object o) -> UnivariateFunction"""
946 return _IMP_isd._object_cast_to_UnivariateFunction(o)
948 _object_types.append(
"Linear1DFunction")
951 def _object_cast_to_Linear1DFunction(o):
952 """_object_cast_to_Linear1DFunction(Object o) -> Linear1DFunction"""
953 return _IMP_isd._object_cast_to_Linear1DFunction(o)
955 _object_types.append(
"GeneralizedGuinierPorodFunction")
958 def _object_cast_to_GeneralizedGuinierPorodFunction(o):
959 """_object_cast_to_GeneralizedGuinierPorodFunction(Object o) -> GeneralizedGuinierPorodFunction"""
960 return _IMP_isd._object_cast_to_GeneralizedGuinierPorodFunction(o)
962 _object_types.append(
"BivariateFunction")
965 def _object_cast_to_BivariateFunction(o):
966 """_object_cast_to_BivariateFunction(Object o) -> BivariateFunction"""
967 return _IMP_isd._object_cast_to_BivariateFunction(o)
969 _object_types.append(
"Covariance1DFunction")
972 def _object_cast_to_Covariance1DFunction(o):
973 """_object_cast_to_Covariance1DFunction(Object o) -> Covariance1DFunction"""
974 return _IMP_isd._object_cast_to_Covariance1DFunction(o)
976 _object_types.append(
"GaussianProcessInterpolation")
979 def _object_cast_to_GaussianProcessInterpolation(o):
980 """_object_cast_to_GaussianProcessInterpolation(Object o) -> GaussianProcessInterpolation"""
981 return _IMP_isd._object_cast_to_GaussianProcessInterpolation(o)
983 _object_types.append(
"GaussianProcessInterpolationRestraint")
986 def _object_cast_to_GaussianProcessInterpolationRestraint(o):
987 """_object_cast_to_GaussianProcessInterpolationRestraint(Object o) -> GaussianProcessInterpolationRestraint"""
988 return _IMP_isd._object_cast_to_GaussianProcessInterpolationRestraint(o)
990 _object_types.append(
"MolecularDynamics")
993 _object_types.append(
"MolecularDynamicsMover")
996 def _object_cast_to_MolecularDynamicsMover(o):
997 """_object_cast_to_MolecularDynamicsMover(Object o) -> MolecularDynamicsMover"""
998 return _IMP_isd._object_cast_to_MolecularDynamicsMover(o)
1000 _object_types.append(
"HybridMonteCarlo")
1003 def _object_cast_to_HybridMonteCarlo(o):
1004 """_object_cast_to_HybridMonteCarlo(Object o) -> HybridMonteCarlo"""
1005 return _IMP_isd._object_cast_to_HybridMonteCarlo(o)
1007 _object_types.append(
"FretData")
1010 def _object_cast_to_FretData(o):
1011 """_object_cast_to_FretData(Object o) -> FretData"""
1012 return _IMP_isd._object_cast_to_FretData(o)
1014 _object_types.append(
"FretRestraint")
1017 def _object_cast_to_FretRestraint(o):
1018 """_object_cast_to_FretRestraint(Object o) -> FretRestraint"""
1019 return _IMP_isd._object_cast_to_FretRestraint(o)
1021 _object_types.append(
"CrossLinkData")
1024 def _object_cast_to_CrossLinkData(o):
1025 """_object_cast_to_CrossLinkData(Object o) -> CrossLinkData"""
1026 return _IMP_isd._object_cast_to_CrossLinkData(o)
1028 _object_types.append(
"CysteineCrossLinkData")
1031 def _object_cast_to_CysteineCrossLinkData(o):
1032 """_object_cast_to_CysteineCrossLinkData(Object o) -> CysteineCrossLinkData"""
1033 return _IMP_isd._object_cast_to_CysteineCrossLinkData(o)
1035 _object_types.append(
"CysteineCrossLinkRestraint")
1038 def _object_cast_to_CysteineCrossLinkRestraint(o):
1039 """_object_cast_to_CysteineCrossLinkRestraint(Object o) -> CysteineCrossLinkRestraint"""
1040 return _IMP_isd._object_cast_to_CysteineCrossLinkRestraint(o)
1042 _object_types.append(
"WeightMover")
1045 def _object_cast_to_WeightMover(o):
1046 """_object_cast_to_WeightMover(Object o) -> WeightMover"""
1047 return _IMP_isd._object_cast_to_WeightMover(o)
1049 _object_types.append(
"WeightRestraint")
1052 def _object_cast_to_WeightRestraint(o):
1053 """_object_cast_to_WeightRestraint(Object o) -> WeightRestraint"""
1054 return _IMP_isd._object_cast_to_WeightRestraint(o)
1056 _object_types.append(
"AtomicCrossLinkMSRestraint")
1059 def _object_cast_to_AtomicCrossLinkMSRestraint(o):
1060 """_object_cast_to_AtomicCrossLinkMSRestraint(Object o) -> AtomicCrossLinkMSRestraint"""
1061 return _IMP_isd._object_cast_to_AtomicCrossLinkMSRestraint(o)
1063 _object_types.append(
"GaussianEMRestraint")
1066 def _object_cast_to_GaussianEMRestraint(o):
1067 """_object_cast_to_GaussianEMRestraint(Object o) -> GaussianEMRestraint"""
1068 return _IMP_isd._object_cast_to_GaussianEMRestraint(o)
1070 _object_types.append(
"GaussianAnchorEMRestraint")
1073 def _object_cast_to_GaussianAnchorEMRestraint(o):
1074 """_object_cast_to_GaussianAnchorEMRestraint(Object o) -> GaussianAnchorEMRestraint"""
1075 return _IMP_isd._object_cast_to_GaussianAnchorEMRestraint(o)
1077 _object_types.append(
"GammaPrior")
1080 def _object_cast_to_GammaPrior(o):
1081 """_object_cast_to_GammaPrior(Object o) -> GammaPrior"""
1082 return _IMP_isd._object_cast_to_GammaPrior(o)
1084 def create_model_and_particles():
1089 for i
in range(0,100):
1093 d.set_coordinates_are_optimized(
True)
1097 """Proxy of C++ IMP::isd::ISDRestraint class"""
1098 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1100 def __init__(self, m, name):
1101 """__init__(IMP::isd::ISDRestraint self, Model m, std::string name) -> ISDRestraint"""
1102 if self.__class__ == ISDRestraint:
1106 this = _IMP_isd.new_ISDRestraint(_self, m, name)
1108 self.this.append(this)
1112 if self.__class__ != ISDRestraint:
1113 _director_objects.register(self)
1118 def get_probability(self):
1119 """get_probability(ISDRestraint self) -> double"""
1120 return _IMP_isd.ISDRestraint_get_probability(self)
1123 def unprotected_evaluate(self, accum):
1124 """unprotected_evaluate(ISDRestraint self, DerivativeAccumulator accum) -> double"""
1125 return _IMP_isd.ISDRestraint_unprotected_evaluate(self, accum)
1129 """do_get_inputs(ISDRestraint self) -> IMP::ModelObjectsTemp"""
1130 return _IMP_isd.ISDRestraint_do_get_inputs(self)
1133 def get_type_name(self):
1134 """get_type_name(ISDRestraint self) -> std::string"""
1135 return _IMP_isd.ISDRestraint_get_type_name(self)
1139 """get_version_info(ISDRestraint self) -> VersionInfo"""
1140 return _IMP_isd.ISDRestraint_get_version_info(self)
1144 """__str__(ISDRestraint self) -> std::string"""
1145 return _IMP_isd.ISDRestraint___str__(self)
1149 """__repr__(ISDRestraint self) -> std::string"""
1150 return _IMP_isd.ISDRestraint___repr__(self)
1155 return _object_cast_to_ISDRestraint(o)
1158 def get_type_name(self):
1159 return self.__class__.__name__
1160 def do_show(self, out):
1163 if"IMP::isd" ==
"IMP":
1164 return VersionInfo(self.__module__,
1171 return _object_cast_to_ISDRestraint(o)
1173 def __disown__(self):
1175 _IMP_isd.disown_ISDRestraint(self)
1176 return weakref_proxy(self)
1179 """do_destroy(ISDRestraint self)"""
1180 return _IMP_isd.ISDRestraint_do_destroy(self)
1183 def handle_set_has_required_score_states(self, arg0):
1184 """handle_set_has_required_score_states(ISDRestraint self, bool arg0)"""
1185 return _IMP_isd.ISDRestraint_handle_set_has_required_score_states(self, arg0)
1189 """do_get_outputs(ISDRestraint self) -> IMP::ModelObjectsTemp"""
1190 return _IMP_isd.ISDRestraint_do_get_outputs(self)
1193 def do_get_interactions(self):
1194 """do_get_interactions(ISDRestraint self) -> IMP::ModelObjectsTemps"""
1195 return _IMP_isd.ISDRestraint_do_get_interactions(self)
1198 def do_create_decomposition(self):
1199 """do_create_decomposition(ISDRestraint self) -> IMP::Restraints"""
1200 return _IMP_isd.ISDRestraint_do_create_decomposition(self)
1203 def do_create_current_decomposition(self):
1204 """do_create_current_decomposition(ISDRestraint self) -> IMP::Restraints"""
1205 return _IMP_isd.ISDRestraint_do_create_current_decomposition(self)
1208 def do_add_score_and_derivatives(self, sa):
1209 """do_add_score_and_derivatives(ISDRestraint self, ScoreAccumulator sa)"""
1210 return _IMP_isd.ISDRestraint_do_add_score_and_derivatives(self, sa)
1213 def do_add_score_and_derivatives_moved(self, sa, moved_pis, reset_pis):
1214 """do_add_score_and_derivatives_moved(ISDRestraint self, ScoreAccumulator sa, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
1215 return _IMP_isd.ISDRestraint_do_add_score_and_derivatives_moved(self, sa, moved_pis, reset_pis)
1217 ISDRestraint_swigregister = _IMP_isd.ISDRestraint_swigregister
1218 ISDRestraint_swigregister(ISDRestraint)
1221 """Proxy of C++ IMP::isd::CrossLinkMSRestraint class"""
1222 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1224 def __init__(self, *args):
1226 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length, bool get_log_prob=False, std::string name) -> CrossLinkMSRestraint
1227 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length, bool get_log_prob=False) -> CrossLinkMSRestraint
1228 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length) -> CrossLinkMSRestraint
1229 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, _ParticleIndexAdaptor lengthi, bool get_log_prob=False, std::string name) -> CrossLinkMSRestraint
1230 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, _ParticleIndexAdaptor lengthi, bool get_log_prob=False) -> CrossLinkMSRestraint
1231 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, _ParticleIndexAdaptor lengthi) -> CrossLinkMSRestraint
1232 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length, double slope, bool get_log_prob=False, std::string name) -> CrossLinkMSRestraint
1233 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length, double slope, bool get_log_prob=False) -> CrossLinkMSRestraint
1234 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length, double slope) -> CrossLinkMSRestraint
1236 this = _IMP_isd.new_CrossLinkMSRestraint(*args)
1238 self.this.append(this)
1242 def add_contribution(self, pps, sigmas, psi):
1243 """add_contribution(CrossLinkMSRestraint self, IMP::ParticleIndexPair const & pps, IMP::ParticleIndexPair const & sigmas, ParticleIndex psi)"""
1244 return _IMP_isd.CrossLinkMSRestraint_add_contribution(self, pps, sigmas, psi)
1247 def get_probability(self):
1248 """get_probability(CrossLinkMSRestraint self) -> double"""
1249 return _IMP_isd.CrossLinkMSRestraint_get_probability(self)
1252 def get_length(self):
1253 """get_length(CrossLinkMSRestraint self) -> double"""
1254 return _IMP_isd.CrossLinkMSRestraint_get_length(self)
1257 def get_slope(self):
1258 """get_slope(CrossLinkMSRestraint self) -> double"""
1259 return _IMP_isd.CrossLinkMSRestraint_get_slope(self)
1262 def get_contribution_sigma_indexes(self, i):
1263 """get_contribution_sigma_indexes(CrossLinkMSRestraint self, int i) -> IMP::ParticleIndexPair"""
1264 return _IMP_isd.CrossLinkMSRestraint_get_contribution_sigma_indexes(self, i)
1267 def get_contribution_psi_index(self, i):
1268 """get_contribution_psi_index(CrossLinkMSRestraint self, int i) -> ParticleIndex"""
1269 return _IMP_isd.CrossLinkMSRestraint_get_contribution_psi_index(self, i)
1272 def get_contribution_particle_indexes(self, i):
1273 """get_contribution_particle_indexes(CrossLinkMSRestraint self, int i) -> IMP::ParticleIndexPair"""
1274 return _IMP_isd.CrossLinkMSRestraint_get_contribution_particle_indexes(self, i)
1277 def get_number_of_contributions(self):
1278 """get_number_of_contributions(CrossLinkMSRestraint self) -> unsigned int"""
1279 return _IMP_isd.CrossLinkMSRestraint_get_number_of_contributions(self)
1283 """do_get_inputs(CrossLinkMSRestraint self) -> IMP::ModelObjectsTemp"""
1284 return _IMP_isd.CrossLinkMSRestraint_do_get_inputs(self)
1288 """get_version_info(CrossLinkMSRestraint self) -> VersionInfo"""
1289 return _IMP_isd.CrossLinkMSRestraint_get_version_info(self)
1293 """__str__(CrossLinkMSRestraint self) -> std::string"""
1294 return _IMP_isd.CrossLinkMSRestraint___str__(self)
1298 """__repr__(CrossLinkMSRestraint self) -> std::string"""
1299 return _IMP_isd.CrossLinkMSRestraint___repr__(self)
1304 return _object_cast_to_CrossLinkMSRestraint(o)
1306 CrossLinkMSRestraint_swigregister = _IMP_isd.CrossLinkMSRestraint_swigregister
1307 CrossLinkMSRestraint_swigregister(CrossLinkMSRestraint)
1310 """Proxy of C++ IMP::isd::LogWrapper class"""
1311 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1313 def __init__(self, *args):
1315 __init__(IMP::isd::LogWrapper self, Model m, double weight, std::string const & name) -> LogWrapper
1316 __init__(IMP::isd::LogWrapper self, Model m, double weight) -> LogWrapper
1317 __init__(IMP::isd::LogWrapper self, Model m, std::string const & name) -> LogWrapper
1318 __init__(IMP::isd::LogWrapper self, Model m) -> LogWrapper
1319 __init__(IMP::isd::LogWrapper self, IMP::RestraintsTemp const & rs, double weight, std::string const & name) -> LogWrapper
1320 __init__(IMP::isd::LogWrapper self, IMP::RestraintsTemp const & rs, double weight) -> LogWrapper
1322 this = _IMP_isd.new_LogWrapper(*args)
1324 self.this.append(this)
1328 def do_add_score_and_derivatives(self, sa):
1329 """do_add_score_and_derivatives(LogWrapper self, ScoreAccumulator sa)"""
1330 return _IMP_isd.LogWrapper_do_add_score_and_derivatives(self, sa)
1333 def do_add_score_and_derivatives_moved(self, sa, moved_pis, reset_pis):
1334 """do_add_score_and_derivatives_moved(LogWrapper self, ScoreAccumulator sa, IMP::ParticleIndexes const & moved_pis, IMP::ParticleIndexes const & reset_pis)"""
1335 return _IMP_isd.LogWrapper_do_add_score_and_derivatives_moved(self, sa, moved_pis, reset_pis)
1339 """__str__(LogWrapper self) -> std::string"""
1340 return _IMP_isd.LogWrapper___str__(self)
1344 """__repr__(LogWrapper self) -> std::string"""
1345 return _IMP_isd.LogWrapper___repr__(self)
1350 return _object_cast_to_LogWrapper(o)
1352 LogWrapper_swigregister = _IMP_isd.LogWrapper_swigregister
1353 LogWrapper_swigregister(LogWrapper)
1356 """Proxy of C++ IMP::isd::UniformPrior class"""
1357 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1359 def __init__(self, *args):
1361 __init__(IMP::isd::UniformPrior self, Model m, Particle p, IMP::Float k, IMP::Float upperb, IMP::Float lowerb, std::string name) -> UniformPrior
1362 __init__(IMP::isd::UniformPrior self, Model m, Particle p, IMP::Float k, IMP::Float upperb, IMP::Float lowerb) -> UniformPrior
1364 this = _IMP_isd.new_UniformPrior(*args)
1366 self.this.append(this)
1371 """do_get_inputs(UniformPrior self) -> IMP::ModelObjectsTemp"""
1372 return _IMP_isd.UniformPrior_do_get_inputs(self)
1376 """get_version_info(UniformPrior self) -> VersionInfo"""
1377 return _IMP_isd.UniformPrior_get_version_info(self)
1380 def get_probability(self):
1381 """get_probability(UniformPrior self) -> double"""
1382 return _IMP_isd.UniformPrior_get_probability(self)
1386 """__str__(UniformPrior self) -> std::string"""
1387 return _IMP_isd.UniformPrior___str__(self)
1391 """__repr__(UniformPrior self) -> std::string"""
1392 return _IMP_isd.UniformPrior___repr__(self)
1397 return _object_cast_to_UniformPrior(o)
1399 UniformPrior_swigregister = _IMP_isd.UniformPrior_swigregister
1400 UniformPrior_swigregister(UniformPrior)
1403 """Proxy of C++ IMP::isd::Nuisance class"""
1404 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1406 def __init__(self, *args):
1408 __init__(IMP::isd::Nuisance self) -> Nuisance
1409 __init__(IMP::isd::Nuisance self, Model m, ParticleIndex id) -> Nuisance
1410 __init__(IMP::isd::Nuisance self, _ParticleAdaptor d) -> Nuisance
1412 this = _IMP_isd.new_Nuisance(*args)
1414 self.this.append(this)
1418 def show(self, *args):
1420 show(Nuisance self, _ostream out)
1423 return _IMP_isd.Nuisance_show(self, *args)
1426 def setup_particle(*args):
1428 setup_particle(Model m, ParticleIndex pi) -> Nuisance
1429 setup_particle(_ParticleAdaptor decorator) -> Nuisance
1430 setup_particle(Model m, ParticleIndex pi, double nuisance) -> Nuisance
1431 setup_particle(_ParticleAdaptor decorator, double nuisance) -> Nuisance
1433 return _IMP_isd.Nuisance_setup_particle(*args)
1435 setup_particle = staticmethod(setup_particle)
1437 def get_is_setup(*args):
1439 get_is_setup(_ParticleAdaptor p) -> bool
1440 get_is_setup(Model m, ParticleIndex pi) -> bool
1442 return _IMP_isd.Nuisance_get_is_setup(*args)
1444 get_is_setup = staticmethod(get_is_setup)
1446 def get_nuisance_key():
1447 """get_nuisance_key() -> FloatKey"""
1448 return _IMP_isd.Nuisance_get_nuisance_key()
1450 get_nuisance_key = staticmethod(get_nuisance_key)
1452 def get_nuisance(self):
1453 """get_nuisance(Nuisance self) -> IMP::Float"""
1454 return _IMP_isd.Nuisance_get_nuisance(self)
1457 def set_nuisance(self, d):
1458 """set_nuisance(Nuisance self, IMP::Float d)"""
1459 return _IMP_isd.Nuisance_set_nuisance(self, d)
1462 def get_has_lower(self):
1463 """get_has_lower(Nuisance self) -> bool"""
1464 return _IMP_isd.Nuisance_get_has_lower(self)
1467 def get_lower(self):
1468 """get_lower(Nuisance self) -> IMP::Float"""
1469 return _IMP_isd.Nuisance_get_lower(self)
1472 def get_lower_key():
1473 """get_lower_key() -> FloatKey"""
1474 return _IMP_isd.Nuisance_get_lower_key()
1476 get_lower_key = staticmethod(get_lower_key)
1478 def get_lower_particle_key():
1479 """get_lower_particle_key() -> ParticleIndexKey"""
1480 return _IMP_isd.Nuisance_get_lower_particle_key()
1482 get_lower_particle_key = staticmethod(get_lower_particle_key)
1484 def set_lower(self, *args):
1486 set_lower(Nuisance self, IMP::Float d)
1487 set_lower(Nuisance self, Particle d)
1489 return _IMP_isd.Nuisance_set_lower(self, *args)
1492 def remove_lower(self):
1493 """remove_lower(Nuisance self)"""
1494 return _IMP_isd.Nuisance_remove_lower(self)
1497 def get_has_upper(self):
1498 """get_has_upper(Nuisance self) -> bool"""
1499 return _IMP_isd.Nuisance_get_has_upper(self)
1502 def get_upper(self):
1503 """get_upper(Nuisance self) -> IMP::Float"""
1504 return _IMP_isd.Nuisance_get_upper(self)
1507 def get_upper_key():
1508 """get_upper_key() -> FloatKey"""
1509 return _IMP_isd.Nuisance_get_upper_key()
1511 get_upper_key = staticmethod(get_upper_key)
1513 def get_upper_particle_key():
1514 """get_upper_particle_key() -> ParticleIndexKey"""
1515 return _IMP_isd.Nuisance_get_upper_particle_key()
1517 get_upper_particle_key = staticmethod(get_upper_particle_key)
1519 def set_upper(self, *args):
1521 set_upper(Nuisance self, IMP::Float d)
1522 set_upper(Nuisance self, Particle d)
1524 return _IMP_isd.Nuisance_set_upper(self, *args)
1527 def remove_upper(self):
1528 """remove_upper(Nuisance self)"""
1529 return _IMP_isd.Nuisance_remove_upper(self)
1532 def get_nuisance_derivative(self):
1533 """get_nuisance_derivative(Nuisance self) -> IMP::Float"""
1534 return _IMP_isd.Nuisance_get_nuisance_derivative(self)
1537 def add_to_nuisance_derivative(self, d, accum):
1538 """add_to_nuisance_derivative(Nuisance self, IMP::Float d, DerivativeAccumulator accum)"""
1539 return _IMP_isd.Nuisance_add_to_nuisance_derivative(self, d, accum)
1542 def get_nuisance_is_optimized(self):
1543 """get_nuisance_is_optimized(Nuisance self) -> bool"""
1544 return _IMP_isd.Nuisance_get_nuisance_is_optimized(self)
1547 def set_nuisance_is_optimized(self, val):
1548 """set_nuisance_is_optimized(Nuisance self, bool val)"""
1549 return _IMP_isd.Nuisance_set_nuisance_is_optimized(self, val)
1552 def add_attribute(self, *args):
1554 add_attribute(Nuisance self, FloatKey k, IMP::Float v, bool opt)
1555 add_attribute(Nuisance self, FloatKey a0, IMP::Float a1)
1556 add_attribute(Nuisance self, IntKey a0, IMP::Int a1)
1557 add_attribute(Nuisance self, FloatsKey a0, IMP::Floats a1)
1558 add_attribute(Nuisance self, IntsKey a0, IMP::Ints a1)
1559 add_attribute(Nuisance self, StringKey a0, IMP::String a1)
1560 add_attribute(Nuisance self, ParticleIndexKey a0, Particle a1)
1561 add_attribute(Nuisance self, ObjectKey a0, Object a1)
1563 return _IMP_isd.Nuisance_add_attribute(self, *args)
1566 def get_value(self, *args):
1568 get_value(Nuisance self, FloatKey a0) -> IMP::Float
1569 get_value(Nuisance self, IntKey a0) -> IMP::Int
1570 get_value(Nuisance self, FloatsKey a0) -> IMP::Floats
1571 get_value(Nuisance self, IntsKey a0) -> IMP::Ints
1572 get_value(Nuisance self, StringKey a0) -> IMP::String
1573 get_value(Nuisance self, ParticleIndexKey a0) -> Particle
1574 get_value(Nuisance self, ObjectKey a0) -> Object
1576 return _IMP_isd.Nuisance_get_value(self, *args)
1579 def set_value(self, *args):
1581 set_value(Nuisance self, FloatKey a0, IMP::Float a1)
1582 set_value(Nuisance self, IntKey a0, IMP::Int a1)
1583 set_value(Nuisance self, FloatsKey a0, IMP::Floats a1)
1584 set_value(Nuisance self, IntsKey a0, IMP::Ints a1)
1585 set_value(Nuisance self, StringKey a0, IMP::String a1)
1586 set_value(Nuisance self, ParticleIndexKey a0, Particle a1)
1587 set_value(Nuisance self, ObjectKey a0, Object a1)
1589 return _IMP_isd.Nuisance_set_value(self, *args)
1592 def remove_attribute(self, *args):
1594 remove_attribute(Nuisance self, FloatKey a0)
1595 remove_attribute(Nuisance self, IntKey a0)
1596 remove_attribute(Nuisance self, FloatsKey a0)
1597 remove_attribute(Nuisance self, IntsKey a0)
1598 remove_attribute(Nuisance self, StringKey a0)
1599 remove_attribute(Nuisance self, ParticleIndexKey a0)
1600 remove_attribute(Nuisance self, ObjectKey a0)
1602 return _IMP_isd.Nuisance_remove_attribute(self, *args)
1605 def has_attribute(self, *args):
1607 has_attribute(Nuisance self, FloatKey a0) -> bool
1608 has_attribute(Nuisance self, IntKey a0) -> bool
1609 has_attribute(Nuisance self, FloatsKey a0) -> bool
1610 has_attribute(Nuisance self, IntsKey a0) -> bool
1611 has_attribute(Nuisance self, StringKey a0) -> bool
1612 has_attribute(Nuisance self, ParticleIndexKey a0) -> bool
1613 has_attribute(Nuisance self, ObjectKey a0) -> bool
1615 return _IMP_isd.Nuisance_has_attribute(self, *args)
1618 def get_derivative(self, a0):
1619 """get_derivative(Nuisance self, FloatKey a0) -> double"""
1620 return _IMP_isd.Nuisance_get_derivative(self, a0)
1624 """get_name(Nuisance self) -> std::string"""
1625 return _IMP_isd.Nuisance_get_name(self)
1629 """clear_caches(Nuisance self)"""
1630 return _IMP_isd.Nuisance_clear_caches(self)
1633 def set_name(self, a0):
1634 """set_name(Nuisance self, std::string a0)"""
1635 return _IMP_isd.Nuisance_set_name(self, a0)
1639 """set_check_level(Nuisance self, IMP::CheckLevel a0)"""
1640 return _IMP_isd.Nuisance_set_check_level(self, a0)
1643 def add_to_derivative(self, a0, a1, a2):
1644 """add_to_derivative(Nuisance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1645 return _IMP_isd.Nuisance_add_to_derivative(self, a0, a1, a2)
1648 def set_is_optimized(self, a0, a1):
1649 """set_is_optimized(Nuisance self, FloatKey a0, bool a1)"""
1650 return _IMP_isd.Nuisance_set_is_optimized(self, a0, a1)
1653 def get_is_optimized(self, a0):
1654 """get_is_optimized(Nuisance self, FloatKey a0) -> bool"""
1655 return _IMP_isd.Nuisance_get_is_optimized(self, a0)
1658 def get_check_level(self):
1659 """get_check_level(Nuisance self) -> IMP::CheckLevel"""
1660 return _IMP_isd.Nuisance_get_check_level(self)
1663 def __eq__(self, *args):
1665 __eq__(Nuisance self, Nuisance o) -> bool
1666 __eq__(Nuisance self, Particle d) -> bool
1668 return _IMP_isd.Nuisance___eq__(self, *args)
1671 def __ne__(self, *args):
1673 __ne__(Nuisance self, Nuisance o) -> bool
1674 __ne__(Nuisance self, Particle d) -> bool
1676 return _IMP_isd.Nuisance___ne__(self, *args)
1679 def __le__(self, *args):
1681 __le__(Nuisance self, Nuisance o) -> bool
1682 __le__(Nuisance self, Particle d) -> bool
1684 return _IMP_isd.Nuisance___le__(self, *args)
1687 def __lt__(self, *args):
1689 __lt__(Nuisance self, Nuisance o) -> bool
1690 __lt__(Nuisance self, Particle d) -> bool
1692 return _IMP_isd.Nuisance___lt__(self, *args)
1695 def __ge__(self, *args):
1697 __ge__(Nuisance self, Nuisance o) -> bool
1698 __ge__(Nuisance self, Particle d) -> bool
1700 return _IMP_isd.Nuisance___ge__(self, *args)
1703 def __gt__(self, *args):
1705 __gt__(Nuisance self, Nuisance o) -> bool
1706 __gt__(Nuisance self, Particle d) -> bool
1708 return _IMP_isd.Nuisance___gt__(self, *args)
1712 """__hash__(Nuisance self) -> std::size_t"""
1713 return _IMP_isd.Nuisance___hash__(self)
1717 """__str__(Nuisance self) -> std::string"""
1718 return _IMP_isd.Nuisance___str__(self)
1722 """__repr__(Nuisance self) -> std::string"""
1723 return _IMP_isd.Nuisance___repr__(self)
1725 __swig_destroy__ = _IMP_isd.delete_Nuisance
1726 __del__ =
lambda self:
None
1727 Nuisance_swigregister = _IMP_isd.Nuisance_swigregister
1728 Nuisance_swigregister(Nuisance)
1730 def Nuisance_setup_particle(*args):
1732 setup_particle(Model m, ParticleIndex pi) -> Nuisance
1733 setup_particle(_ParticleAdaptor decorator) -> Nuisance
1734 setup_particle(Model m, ParticleIndex pi, double nuisance) -> Nuisance
1735 Nuisance_setup_particle(_ParticleAdaptor decorator, double nuisance) -> Nuisance
1737 return _IMP_isd.Nuisance_setup_particle(*args)
1739 def Nuisance_get_is_setup(*args):
1741 get_is_setup(_ParticleAdaptor p) -> bool
1742 Nuisance_get_is_setup(Model m, ParticleIndex pi) -> bool
1744 return _IMP_isd.Nuisance_get_is_setup(*args)
1746 def Nuisance_get_nuisance_key():
1747 """Nuisance_get_nuisance_key() -> FloatKey"""
1748 return _IMP_isd.Nuisance_get_nuisance_key()
1750 def Nuisance_get_lower_key():
1751 """Nuisance_get_lower_key() -> FloatKey"""
1752 return _IMP_isd.Nuisance_get_lower_key()
1754 def Nuisance_get_lower_particle_key():
1755 """Nuisance_get_lower_particle_key() -> ParticleIndexKey"""
1756 return _IMP_isd.Nuisance_get_lower_particle_key()
1758 def Nuisance_get_upper_key():
1759 """Nuisance_get_upper_key() -> FloatKey"""
1760 return _IMP_isd.Nuisance_get_upper_key()
1762 def Nuisance_get_upper_particle_key():
1763 """Nuisance_get_upper_particle_key() -> ParticleIndexKey"""
1764 return _IMP_isd.Nuisance_get_upper_particle_key()
1766 class Scale(Nuisance):
1767 """Proxy of C++ IMP::isd::Scale class"""
1768 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1770 def __init__(self, *args):
1772 __init__(IMP::isd::Scale self) -> Scale
1773 __init__(IMP::isd::Scale self, Model m, ParticleIndex id) -> Scale
1774 __init__(IMP::isd::Scale self, _ParticleAdaptor d) -> Scale
1776 this = _IMP_isd.new_Scale(*args)
1778 self.this.append(this)
1782 def show(self, *args):
1784 show(Scale self, _ostream out)
1787 return _IMP_isd.Scale_show(self, *args)
1790 def setup_particle(*args):
1792 setup_particle(Model m, ParticleIndex pi) -> Scale
1793 setup_particle(_ParticleAdaptor decorator) -> Scale
1794 setup_particle(Model m, ParticleIndex pi, double scale) -> Scale
1795 setup_particle(_ParticleAdaptor decorator, double scale) -> Scale
1797 return _IMP_isd.Scale_setup_particle(*args)
1799 setup_particle = staticmethod(setup_particle)
1801 def get_is_setup(*args):
1803 get_is_setup(_ParticleAdaptor p) -> bool
1804 get_is_setup(Model m, ParticleIndex pi) -> bool
1806 return _IMP_isd.Scale_get_is_setup(*args)
1808 get_is_setup = staticmethod(get_is_setup)
1810 def get_scale(self):
1811 """get_scale(Scale self) -> IMP::Float"""
1812 return _IMP_isd.Scale_get_scale(self)
1815 def set_scale(self, d):
1816 """set_scale(Scale self, IMP::Float d)"""
1817 return _IMP_isd.Scale_set_scale(self, d)
1820 def add_to_scale_derivative(self, d, accum):
1821 """add_to_scale_derivative(Scale self, IMP::Float d, DerivativeAccumulator accum)"""
1822 return _IMP_isd.Scale_add_to_scale_derivative(self, d, accum)
1825 def get_scale_derivative(self):
1826 """get_scale_derivative(Scale self) -> IMP::Float"""
1827 return _IMP_isd.Scale_get_scale_derivative(self)
1830 def get_scale_key():
1831 """get_scale_key() -> FloatKey"""
1832 return _IMP_isd.Scale_get_scale_key()
1834 get_scale_key = staticmethod(get_scale_key)
1836 def get_scale_is_optimized(self):
1837 """get_scale_is_optimized(Scale self) -> bool"""
1838 return _IMP_isd.Scale_get_scale_is_optimized(self)
1841 def set_scale_is_optimized(self, val):
1842 """set_scale_is_optimized(Scale self, bool val)"""
1843 return _IMP_isd.Scale_set_scale_is_optimized(self, val)
1846 def add_attribute(self, *args):
1848 add_attribute(Scale self, FloatKey k, IMP::Float v, bool opt)
1849 add_attribute(Scale self, FloatKey a0, IMP::Float a1)
1850 add_attribute(Scale self, IntKey a0, IMP::Int a1)
1851 add_attribute(Scale self, FloatsKey a0, IMP::Floats a1)
1852 add_attribute(Scale self, IntsKey a0, IMP::Ints a1)
1853 add_attribute(Scale self, StringKey a0, IMP::String a1)
1854 add_attribute(Scale self, ParticleIndexKey a0, Particle a1)
1855 add_attribute(Scale self, ObjectKey a0, Object a1)
1857 return _IMP_isd.Scale_add_attribute(self, *args)
1860 def get_value(self, *args):
1862 get_value(Scale self, FloatKey a0) -> IMP::Float
1863 get_value(Scale self, IntKey a0) -> IMP::Int
1864 get_value(Scale self, FloatsKey a0) -> IMP::Floats
1865 get_value(Scale self, IntsKey a0) -> IMP::Ints
1866 get_value(Scale self, StringKey a0) -> IMP::String
1867 get_value(Scale self, ParticleIndexKey a0) -> Particle
1868 get_value(Scale self, ObjectKey a0) -> Object
1870 return _IMP_isd.Scale_get_value(self, *args)
1873 def set_value(self, *args):
1875 set_value(Scale self, FloatKey a0, IMP::Float a1)
1876 set_value(Scale self, IntKey a0, IMP::Int a1)
1877 set_value(Scale self, FloatsKey a0, IMP::Floats a1)
1878 set_value(Scale self, IntsKey a0, IMP::Ints a1)
1879 set_value(Scale self, StringKey a0, IMP::String a1)
1880 set_value(Scale self, ParticleIndexKey a0, Particle a1)
1881 set_value(Scale self, ObjectKey a0, Object a1)
1883 return _IMP_isd.Scale_set_value(self, *args)
1886 def remove_attribute(self, *args):
1888 remove_attribute(Scale self, FloatKey a0)
1889 remove_attribute(Scale self, IntKey a0)
1890 remove_attribute(Scale self, FloatsKey a0)
1891 remove_attribute(Scale self, IntsKey a0)
1892 remove_attribute(Scale self, StringKey a0)
1893 remove_attribute(Scale self, ParticleIndexKey a0)
1894 remove_attribute(Scale self, ObjectKey a0)
1896 return _IMP_isd.Scale_remove_attribute(self, *args)
1899 def has_attribute(self, *args):
1901 has_attribute(Scale self, FloatKey a0) -> bool
1902 has_attribute(Scale self, IntKey a0) -> bool
1903 has_attribute(Scale self, FloatsKey a0) -> bool
1904 has_attribute(Scale self, IntsKey a0) -> bool
1905 has_attribute(Scale self, StringKey a0) -> bool
1906 has_attribute(Scale self, ParticleIndexKey a0) -> bool
1907 has_attribute(Scale self, ObjectKey a0) -> bool
1909 return _IMP_isd.Scale_has_attribute(self, *args)
1912 def get_derivative(self, a0):
1913 """get_derivative(Scale self, FloatKey a0) -> double"""
1914 return _IMP_isd.Scale_get_derivative(self, a0)
1918 """get_name(Scale self) -> std::string"""
1919 return _IMP_isd.Scale_get_name(self)
1923 """clear_caches(Scale self)"""
1924 return _IMP_isd.Scale_clear_caches(self)
1927 def set_name(self, a0):
1928 """set_name(Scale self, std::string a0)"""
1929 return _IMP_isd.Scale_set_name(self, a0)
1933 """set_check_level(Scale self, IMP::CheckLevel a0)"""
1934 return _IMP_isd.Scale_set_check_level(self, a0)
1937 def add_to_derivative(self, a0, a1, a2):
1938 """add_to_derivative(Scale self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1939 return _IMP_isd.Scale_add_to_derivative(self, a0, a1, a2)
1942 def set_is_optimized(self, a0, a1):
1943 """set_is_optimized(Scale self, FloatKey a0, bool a1)"""
1944 return _IMP_isd.Scale_set_is_optimized(self, a0, a1)
1947 def get_is_optimized(self, a0):
1948 """get_is_optimized(Scale self, FloatKey a0) -> bool"""
1949 return _IMP_isd.Scale_get_is_optimized(self, a0)
1952 def get_check_level(self):
1953 """get_check_level(Scale self) -> IMP::CheckLevel"""
1954 return _IMP_isd.Scale_get_check_level(self)
1957 def __eq__(self, *args):
1959 __eq__(Scale self, Scale o) -> bool
1960 __eq__(Scale self, Particle d) -> bool
1962 return _IMP_isd.Scale___eq__(self, *args)
1965 def __ne__(self, *args):
1967 __ne__(Scale self, Scale o) -> bool
1968 __ne__(Scale self, Particle d) -> bool
1970 return _IMP_isd.Scale___ne__(self, *args)
1973 def __le__(self, *args):
1975 __le__(Scale self, Scale o) -> bool
1976 __le__(Scale self, Particle d) -> bool
1978 return _IMP_isd.Scale___le__(self, *args)
1981 def __lt__(self, *args):
1983 __lt__(Scale self, Scale o) -> bool
1984 __lt__(Scale self, Particle d) -> bool
1986 return _IMP_isd.Scale___lt__(self, *args)
1989 def __ge__(self, *args):
1991 __ge__(Scale self, Scale o) -> bool
1992 __ge__(Scale self, Particle d) -> bool
1994 return _IMP_isd.Scale___ge__(self, *args)
1997 def __gt__(self, *args):
1999 __gt__(Scale self, Scale o) -> bool
2000 __gt__(Scale self, Particle d) -> bool
2002 return _IMP_isd.Scale___gt__(self, *args)
2006 """__hash__(Scale self) -> std::size_t"""
2007 return _IMP_isd.Scale___hash__(self)
2011 """__str__(Scale self) -> std::string"""
2012 return _IMP_isd.Scale___str__(self)
2016 """__repr__(Scale self) -> std::string"""
2017 return _IMP_isd.Scale___repr__(self)
2019 __swig_destroy__ = _IMP_isd.delete_Scale
2020 __del__ =
lambda self:
None
2021 Scale_swigregister = _IMP_isd.Scale_swigregister
2022 Scale_swigregister(Scale)
2024 def Scale_setup_particle(*args):
2026 setup_particle(Model m, ParticleIndex pi) -> Scale
2027 setup_particle(_ParticleAdaptor decorator) -> Scale
2028 setup_particle(Model m, ParticleIndex pi, double scale) -> Scale
2029 Scale_setup_particle(_ParticleAdaptor decorator, double scale) -> Scale
2031 return _IMP_isd.Scale_setup_particle(*args)
2033 def Scale_get_is_setup(*args):
2035 get_is_setup(_ParticleAdaptor p) -> bool
2036 Scale_get_is_setup(Model m, ParticleIndex pi) -> bool
2038 return _IMP_isd.Scale_get_is_setup(*args)
2040 def Scale_get_scale_key():
2041 """Scale_get_scale_key() -> FloatKey"""
2042 return _IMP_isd.Scale_get_scale_key()
2044 class Switching(Nuisance):
2045 """Proxy of C++ IMP::isd::Switching class"""
2046 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2048 def __init__(self, *args):
2050 __init__(IMP::isd::Switching self) -> Switching
2051 __init__(IMP::isd::Switching self, Model m, ParticleIndex id) -> Switching
2052 __init__(IMP::isd::Switching self, _ParticleAdaptor d) -> Switching
2054 this = _IMP_isd.new_Switching(*args)
2056 self.this.append(this)
2060 def show(self, *args):
2062 show(Switching self, _ostream out)
2063 show(Switching self)
2065 return _IMP_isd.Switching_show(self, *args)
2068 def setup_particle(*args):
2070 setup_particle(Model m, ParticleIndex pi) -> Switching
2071 setup_particle(_ParticleAdaptor decorator) -> Switching
2072 setup_particle(Model m, ParticleIndex pi, double switching) -> Switching
2073 setup_particle(_ParticleAdaptor decorator, double switching) -> Switching
2075 return _IMP_isd.Switching_setup_particle(*args)
2077 setup_particle = staticmethod(setup_particle)
2079 def get_is_setup(*args):
2081 get_is_setup(_ParticleAdaptor p) -> bool
2082 get_is_setup(Model m, ParticleIndex pi) -> bool
2084 return _IMP_isd.Switching_get_is_setup(*args)
2086 get_is_setup = staticmethod(get_is_setup)
2088 def get_switching(self):
2089 """get_switching(Switching self) -> IMP::Float"""
2090 return _IMP_isd.Switching_get_switching(self)
2093 def set_switching(self, d):
2094 """set_switching(Switching self, IMP::Float d)"""
2095 return _IMP_isd.Switching_set_switching(self, d)
2098 def add_to_switching_derivative(self, d, accum):
2099 """add_to_switching_derivative(Switching self, IMP::Float d, DerivativeAccumulator accum)"""
2100 return _IMP_isd.Switching_add_to_switching_derivative(self, d, accum)
2103 def get_switching_derivative(self):
2104 """get_switching_derivative(Switching self) -> IMP::Float"""
2105 return _IMP_isd.Switching_get_switching_derivative(self)
2108 def get_switching_key():
2109 """get_switching_key() -> FloatKey"""
2110 return _IMP_isd.Switching_get_switching_key()
2112 get_switching_key = staticmethod(get_switching_key)
2114 def get_switching_is_optimized(self):
2115 """get_switching_is_optimized(Switching self) -> bool"""
2116 return _IMP_isd.Switching_get_switching_is_optimized(self)
2119 def set_switching_is_optimized(self, val):
2120 """set_switching_is_optimized(Switching self, bool val)"""
2121 return _IMP_isd.Switching_set_switching_is_optimized(self, val)
2124 def add_attribute(self, *args):
2126 add_attribute(Switching self, FloatKey k, IMP::Float v, bool opt)
2127 add_attribute(Switching self, FloatKey a0, IMP::Float a1)
2128 add_attribute(Switching self, IntKey a0, IMP::Int a1)
2129 add_attribute(Switching self, FloatsKey a0, IMP::Floats a1)
2130 add_attribute(Switching self, IntsKey a0, IMP::Ints a1)
2131 add_attribute(Switching self, StringKey a0, IMP::String a1)
2132 add_attribute(Switching self, ParticleIndexKey a0, Particle a1)
2133 add_attribute(Switching self, ObjectKey a0, Object a1)
2135 return _IMP_isd.Switching_add_attribute(self, *args)
2138 def get_value(self, *args):
2140 get_value(Switching self, FloatKey a0) -> IMP::Float
2141 get_value(Switching self, IntKey a0) -> IMP::Int
2142 get_value(Switching self, FloatsKey a0) -> IMP::Floats
2143 get_value(Switching self, IntsKey a0) -> IMP::Ints
2144 get_value(Switching self, StringKey a0) -> IMP::String
2145 get_value(Switching self, ParticleIndexKey a0) -> Particle
2146 get_value(Switching self, ObjectKey a0) -> Object
2148 return _IMP_isd.Switching_get_value(self, *args)
2151 def set_value(self, *args):
2153 set_value(Switching self, FloatKey a0, IMP::Float a1)
2154 set_value(Switching self, IntKey a0, IMP::Int a1)
2155 set_value(Switching self, FloatsKey a0, IMP::Floats a1)
2156 set_value(Switching self, IntsKey a0, IMP::Ints a1)
2157 set_value(Switching self, StringKey a0, IMP::String a1)
2158 set_value(Switching self, ParticleIndexKey a0, Particle a1)
2159 set_value(Switching self, ObjectKey a0, Object a1)
2161 return _IMP_isd.Switching_set_value(self, *args)
2164 def remove_attribute(self, *args):
2166 remove_attribute(Switching self, FloatKey a0)
2167 remove_attribute(Switching self, IntKey a0)
2168 remove_attribute(Switching self, FloatsKey a0)
2169 remove_attribute(Switching self, IntsKey a0)
2170 remove_attribute(Switching self, StringKey a0)
2171 remove_attribute(Switching self, ParticleIndexKey a0)
2172 remove_attribute(Switching self, ObjectKey a0)
2174 return _IMP_isd.Switching_remove_attribute(self, *args)
2177 def has_attribute(self, *args):
2179 has_attribute(Switching self, FloatKey a0) -> bool
2180 has_attribute(Switching self, IntKey a0) -> bool
2181 has_attribute(Switching self, FloatsKey a0) -> bool
2182 has_attribute(Switching self, IntsKey a0) -> bool
2183 has_attribute(Switching self, StringKey a0) -> bool
2184 has_attribute(Switching self, ParticleIndexKey a0) -> bool
2185 has_attribute(Switching self, ObjectKey a0) -> bool
2187 return _IMP_isd.Switching_has_attribute(self, *args)
2190 def get_derivative(self, a0):
2191 """get_derivative(Switching self, FloatKey a0) -> double"""
2192 return _IMP_isd.Switching_get_derivative(self, a0)
2196 """get_name(Switching self) -> std::string"""
2197 return _IMP_isd.Switching_get_name(self)
2201 """clear_caches(Switching self)"""
2202 return _IMP_isd.Switching_clear_caches(self)
2205 def set_name(self, a0):
2206 """set_name(Switching self, std::string a0)"""
2207 return _IMP_isd.Switching_set_name(self, a0)
2211 """set_check_level(Switching self, IMP::CheckLevel a0)"""
2212 return _IMP_isd.Switching_set_check_level(self, a0)
2215 def add_to_derivative(self, a0, a1, a2):
2216 """add_to_derivative(Switching self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2217 return _IMP_isd.Switching_add_to_derivative(self, a0, a1, a2)
2220 def set_is_optimized(self, a0, a1):
2221 """set_is_optimized(Switching self, FloatKey a0, bool a1)"""
2222 return _IMP_isd.Switching_set_is_optimized(self, a0, a1)
2225 def get_is_optimized(self, a0):
2226 """get_is_optimized(Switching self, FloatKey a0) -> bool"""
2227 return _IMP_isd.Switching_get_is_optimized(self, a0)
2230 def get_check_level(self):
2231 """get_check_level(Switching self) -> IMP::CheckLevel"""
2232 return _IMP_isd.Switching_get_check_level(self)
2235 def __eq__(self, *args):
2237 __eq__(Switching self, Switching o) -> bool
2238 __eq__(Switching self, Particle d) -> bool
2240 return _IMP_isd.Switching___eq__(self, *args)
2243 def __ne__(self, *args):
2245 __ne__(Switching self, Switching o) -> bool
2246 __ne__(Switching self, Particle d) -> bool
2248 return _IMP_isd.Switching___ne__(self, *args)
2251 def __le__(self, *args):
2253 __le__(Switching self, Switching o) -> bool
2254 __le__(Switching self, Particle d) -> bool
2256 return _IMP_isd.Switching___le__(self, *args)
2259 def __lt__(self, *args):
2261 __lt__(Switching self, Switching o) -> bool
2262 __lt__(Switching self, Particle d) -> bool
2264 return _IMP_isd.Switching___lt__(self, *args)
2267 def __ge__(self, *args):
2269 __ge__(Switching self, Switching o) -> bool
2270 __ge__(Switching self, Particle d) -> bool
2272 return _IMP_isd.Switching___ge__(self, *args)
2275 def __gt__(self, *args):
2277 __gt__(Switching self, Switching o) -> bool
2278 __gt__(Switching self, Particle d) -> bool
2280 return _IMP_isd.Switching___gt__(self, *args)
2284 """__hash__(Switching self) -> std::size_t"""
2285 return _IMP_isd.Switching___hash__(self)
2289 """__str__(Switching self) -> std::string"""
2290 return _IMP_isd.Switching___str__(self)
2294 """__repr__(Switching self) -> std::string"""
2295 return _IMP_isd.Switching___repr__(self)
2297 __swig_destroy__ = _IMP_isd.delete_Switching
2298 __del__ =
lambda self:
None
2299 Switching_swigregister = _IMP_isd.Switching_swigregister
2300 Switching_swigregister(Switching)
2302 def Switching_setup_particle(*args):
2304 setup_particle(Model m, ParticleIndex pi) -> Switching
2305 setup_particle(_ParticleAdaptor decorator) -> Switching
2306 setup_particle(Model m, ParticleIndex pi, double switching) -> Switching
2307 Switching_setup_particle(_ParticleAdaptor decorator, double switching) -> Switching
2309 return _IMP_isd.Switching_setup_particle(*args)
2311 def Switching_get_is_setup(*args):
2313 get_is_setup(_ParticleAdaptor p) -> bool
2314 Switching_get_is_setup(Model m, ParticleIndex pi) -> bool
2316 return _IMP_isd.Switching_get_is_setup(*args)
2318 def Switching_get_switching_key():
2319 """Switching_get_switching_key() -> FloatKey"""
2320 return _IMP_isd.Switching_get_switching_key()
2323 """Proxy of C++ IMP::isd::Weight class"""
2324 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2326 def __init__(self, *args):
2328 __init__(IMP::isd::Weight self) -> Weight
2329 __init__(IMP::isd::Weight self, Model m, ParticleIndex id) -> Weight
2330 __init__(IMP::isd::Weight self, _ParticleAdaptor d) -> Weight
2332 this = _IMP_isd.new_Weight(*args)
2334 self.this.append(this)
2338 def show(self, *args):
2340 show(Weight self, _ostream out)
2343 return _IMP_isd.Weight_show(self, *args)
2346 def setup_particle(*args):
2348 setup_particle(Model m, ParticleIndex pi) -> Weight
2349 setup_particle(_ParticleAdaptor decorator) -> Weight
2350 setup_particle(Model m, ParticleIndex pi, IMP::Int nweights) -> Weight
2351 setup_particle(_ParticleAdaptor decorator, IMP::Int nweights) -> Weight
2352 setup_particle(Model m, ParticleIndex pi, VectorKD w) -> Weight
2353 setup_particle(_ParticleAdaptor decorator, VectorKD w) -> Weight
2355 return _IMP_isd.Weight_setup_particle(*args)
2357 setup_particle = staticmethod(setup_particle)
2359 def get_nstates_key():
2360 """get_nstates_key() -> IntKey"""
2361 return _IMP_isd.Weight_get_nstates_key()
2363 get_nstates_key = staticmethod(get_nstates_key)
2365 def get_number_of_weights_key():
2366 """get_number_of_weights_key() -> IntKey"""
2367 return _IMP_isd.Weight_get_number_of_weights_key()
2369 get_number_of_weights_key = staticmethod(get_number_of_weights_key)
2371 def get_weight_key(i):
2372 """get_weight_key(int i) -> FloatKey"""
2373 return _IMP_isd.Weight_get_weight_key(i)
2375 get_weight_key = staticmethod(get_weight_key)
2377 def get_weight_keys(self):
2378 """get_weight_keys(Weight self) -> IMP::FloatKeys"""
2379 return _IMP_isd.Weight_get_weight_keys(self)
2382 def get_weight(self, i):
2383 """get_weight(Weight self, int i) -> IMP::Float"""
2384 return _IMP_isd.Weight_get_weight(self, i)
2387 def get_weights(self):
2388 """get_weights(Weight self) -> VectorKD"""
2389 return _IMP_isd.Weight_get_weights(self)
2392 def set_weight_lazy(self, i, wi):
2393 """set_weight_lazy(Weight self, int i, IMP::Float wi)"""
2394 return _IMP_isd.Weight_set_weight_lazy(self, i, wi)
2397 def set_weights_lazy(self, w):
2398 """set_weights_lazy(Weight self, VectorKD w)"""
2399 return _IMP_isd.Weight_set_weights_lazy(self, w)
2402 def set_weights(self, w):
2403 """set_weights(Weight self, VectorKD w)"""
2404 return _IMP_isd.Weight_set_weights(self, w)
2407 def get_weights_are_optimized(self):
2408 """get_weights_are_optimized(Weight self) -> bool"""
2409 return _IMP_isd.Weight_get_weights_are_optimized(self)
2412 def set_weights_are_optimized(self, tf):
2413 """set_weights_are_optimized(Weight self, bool tf)"""
2414 return _IMP_isd.Weight_set_weights_are_optimized(self, tf)
2417 def get_weight_derivative(self, i):
2418 """get_weight_derivative(Weight self, int i) -> IMP::Float"""
2419 return _IMP_isd.Weight_get_weight_derivative(self, i)
2422 def get_weights_derivatives(self):
2423 """get_weights_derivatives(Weight self) -> VectorKD"""
2424 return _IMP_isd.Weight_get_weights_derivatives(self)
2427 def add_to_weight_derivative(self, i, dwi, da):
2428 """add_to_weight_derivative(Weight self, int i, IMP::Float dwi, DerivativeAccumulator da)"""
2429 return _IMP_isd.Weight_add_to_weight_derivative(self, i, dwi, da)
2432 def add_to_weights_derivatives(self, dw, da):
2433 """add_to_weights_derivatives(Weight self, VectorKD dw, DerivativeAccumulator da)"""
2434 return _IMP_isd.Weight_add_to_weights_derivatives(self, dw, da)
2437 def add_weight_lazy(self, wi=0):
2439 add_weight_lazy(Weight self, IMP::Float wi=0)
2440 add_weight_lazy(Weight self)
2442 return _IMP_isd.Weight_add_weight_lazy(self, wi)
2445 def add_weight(self, wi=0):
2447 add_weight(Weight self, IMP::Float wi=0)
2448 add_weight(Weight self)
2450 return _IMP_isd.Weight_add_weight(self, wi)
2453 def get_number_of_weights(self):
2454 """get_number_of_weights(Weight self) -> IMP::Int"""
2455 return _IMP_isd.Weight_get_number_of_weights(self)
2458 def get_unit_simplex(self):
2459 """get_unit_simplex(Weight self) -> UnitSimplexKD"""
2460 return _IMP_isd.Weight_get_unit_simplex(self)
2463 def set_number_of_weights_lazy(self, nweights):
2464 """set_number_of_weights_lazy(Weight self, IMP::Int nweights)"""
2465 return _IMP_isd.Weight_set_number_of_weights_lazy(self, nweights)
2468 def set_number_of_weights(self, nweights):
2469 """set_number_of_weights(Weight self, IMP::Int nweights)"""
2470 return _IMP_isd.Weight_set_number_of_weights(self, nweights)
2473 def get_is_setup(*args):
2475 get_is_setup(_ParticleAdaptor p) -> bool
2476 get_is_setup(Model m, ParticleIndex pi) -> bool
2478 return _IMP_isd.Weight_get_is_setup(*args)
2480 get_is_setup = staticmethod(get_is_setup)
2482 def add_attribute(self, *args):
2484 add_attribute(Weight self, FloatKey k, IMP::Float v, bool opt)
2485 add_attribute(Weight self, FloatKey a0, IMP::Float a1)
2486 add_attribute(Weight self, IntKey a0, IMP::Int a1)
2487 add_attribute(Weight self, FloatsKey a0, IMP::Floats a1)
2488 add_attribute(Weight self, IntsKey a0, IMP::Ints a1)
2489 add_attribute(Weight self, StringKey a0, IMP::String a1)
2490 add_attribute(Weight self, ParticleIndexKey a0, Particle a1)
2491 add_attribute(Weight self, ObjectKey a0, Object a1)
2493 return _IMP_isd.Weight_add_attribute(self, *args)
2496 def get_value(self, *args):
2498 get_value(Weight self, FloatKey a0) -> IMP::Float
2499 get_value(Weight self, IntKey a0) -> IMP::Int
2500 get_value(Weight self, FloatsKey a0) -> IMP::Floats
2501 get_value(Weight self, IntsKey a0) -> IMP::Ints
2502 get_value(Weight self, StringKey a0) -> IMP::String
2503 get_value(Weight self, ParticleIndexKey a0) -> Particle
2504 get_value(Weight self, ObjectKey a0) -> Object
2506 return _IMP_isd.Weight_get_value(self, *args)
2509 def set_value(self, *args):
2511 set_value(Weight self, FloatKey a0, IMP::Float a1)
2512 set_value(Weight self, IntKey a0, IMP::Int a1)
2513 set_value(Weight self, FloatsKey a0, IMP::Floats a1)
2514 set_value(Weight self, IntsKey a0, IMP::Ints a1)
2515 set_value(Weight self, StringKey a0, IMP::String a1)
2516 set_value(Weight self, ParticleIndexKey a0, Particle a1)
2517 set_value(Weight self, ObjectKey a0, Object a1)
2519 return _IMP_isd.Weight_set_value(self, *args)
2522 def remove_attribute(self, *args):
2524 remove_attribute(Weight self, FloatKey a0)
2525 remove_attribute(Weight self, IntKey a0)
2526 remove_attribute(Weight self, FloatsKey a0)
2527 remove_attribute(Weight self, IntsKey a0)
2528 remove_attribute(Weight self, StringKey a0)
2529 remove_attribute(Weight self, ParticleIndexKey a0)
2530 remove_attribute(Weight self, ObjectKey a0)
2532 return _IMP_isd.Weight_remove_attribute(self, *args)
2535 def has_attribute(self, *args):
2537 has_attribute(Weight self, FloatKey a0) -> bool
2538 has_attribute(Weight self, IntKey a0) -> bool
2539 has_attribute(Weight self, FloatsKey a0) -> bool
2540 has_attribute(Weight self, IntsKey a0) -> bool
2541 has_attribute(Weight self, StringKey a0) -> bool
2542 has_attribute(Weight self, ParticleIndexKey a0) -> bool
2543 has_attribute(Weight self, ObjectKey a0) -> bool
2545 return _IMP_isd.Weight_has_attribute(self, *args)
2548 def get_derivative(self, a0):
2549 """get_derivative(Weight self, FloatKey a0) -> double"""
2550 return _IMP_isd.Weight_get_derivative(self, a0)
2554 """get_name(Weight self) -> std::string"""
2555 return _IMP_isd.Weight_get_name(self)
2559 """clear_caches(Weight self)"""
2560 return _IMP_isd.Weight_clear_caches(self)
2563 def set_name(self, a0):
2564 """set_name(Weight self, std::string a0)"""
2565 return _IMP_isd.Weight_set_name(self, a0)
2569 """set_check_level(Weight self, IMP::CheckLevel a0)"""
2570 return _IMP_isd.Weight_set_check_level(self, a0)
2573 def add_to_derivative(self, a0, a1, a2):
2574 """add_to_derivative(Weight self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2575 return _IMP_isd.Weight_add_to_derivative(self, a0, a1, a2)
2578 def set_is_optimized(self, a0, a1):
2579 """set_is_optimized(Weight self, FloatKey a0, bool a1)"""
2580 return _IMP_isd.Weight_set_is_optimized(self, a0, a1)
2583 def get_is_optimized(self, a0):
2584 """get_is_optimized(Weight self, FloatKey a0) -> bool"""
2585 return _IMP_isd.Weight_get_is_optimized(self, a0)
2588 def get_check_level(self):
2589 """get_check_level(Weight self) -> IMP::CheckLevel"""
2590 return _IMP_isd.Weight_get_check_level(self)
2593 def __eq__(self, *args):
2595 __eq__(Weight self, Weight o) -> bool
2596 __eq__(Weight self, Particle d) -> bool
2598 return _IMP_isd.Weight___eq__(self, *args)
2601 def __ne__(self, *args):
2603 __ne__(Weight self, Weight o) -> bool
2604 __ne__(Weight self, Particle d) -> bool
2606 return _IMP_isd.Weight___ne__(self, *args)
2609 def __le__(self, *args):
2611 __le__(Weight self, Weight o) -> bool
2612 __le__(Weight self, Particle d) -> bool
2614 return _IMP_isd.Weight___le__(self, *args)
2617 def __lt__(self, *args):
2619 __lt__(Weight self, Weight o) -> bool
2620 __lt__(Weight self, Particle d) -> bool
2622 return _IMP_isd.Weight___lt__(self, *args)
2625 def __ge__(self, *args):
2627 __ge__(Weight self, Weight o) -> bool
2628 __ge__(Weight self, Particle d) -> bool
2630 return _IMP_isd.Weight___ge__(self, *args)
2633 def __gt__(self, *args):
2635 __gt__(Weight self, Weight o) -> bool
2636 __gt__(Weight self, Particle d) -> bool
2638 return _IMP_isd.Weight___gt__(self, *args)
2642 """__hash__(Weight self) -> std::size_t"""
2643 return _IMP_isd.Weight___hash__(self)
2647 """__str__(Weight self) -> std::string"""
2648 return _IMP_isd.Weight___str__(self)
2652 """__repr__(Weight self) -> std::string"""
2653 return _IMP_isd.Weight___repr__(self)
2655 __swig_destroy__ = _IMP_isd.delete_Weight
2656 __del__ =
lambda self:
None
2657 Weight_swigregister = _IMP_isd.Weight_swigregister
2658 Weight_swigregister(Weight)
2659 cvar = _IMP_isd.cvar
2660 IMPISD_MAX_WEIGHTS = cvar.IMPISD_MAX_WEIGHTS
2662 def Weight_setup_particle(*args):
2664 setup_particle(Model m, ParticleIndex pi) -> Weight
2665 setup_particle(_ParticleAdaptor decorator) -> Weight
2666 setup_particle(Model m, ParticleIndex pi, IMP::Int nweights) -> Weight
2667 setup_particle(_ParticleAdaptor decorator, IMP::Int nweights) -> Weight
2668 setup_particle(Model m, ParticleIndex pi, VectorKD w) -> Weight
2669 Weight_setup_particle(_ParticleAdaptor decorator, VectorKD w) -> Weight
2671 return _IMP_isd.Weight_setup_particle(*args)
2673 def Weight_get_nstates_key():
2674 """Weight_get_nstates_key() -> IntKey"""
2675 return _IMP_isd.Weight_get_nstates_key()
2677 def Weight_get_number_of_weights_key():
2678 """Weight_get_number_of_weights_key() -> IntKey"""
2679 return _IMP_isd.Weight_get_number_of_weights_key()
2681 def Weight_get_weight_key(i):
2682 """Weight_get_weight_key(int i) -> FloatKey"""
2683 return _IMP_isd.Weight_get_weight_key(i)
2685 def Weight_get_is_setup(*args):
2687 get_is_setup(_ParticleAdaptor p) -> bool
2688 Weight_get_is_setup(Model m, ParticleIndex pi) -> bool
2690 return _IMP_isd.Weight_get_is_setup(*args)
2693 def __lshift__(*args):
2695 __lshift__(_ostream out, Nuisance n) -> _ostream
2696 __lshift__(_ostream out, Scale n) -> _ostream
2697 __lshift__(_ostream out, Switching n) -> _ostream
2698 __lshift__(_ostream out, Weight n) -> _ostream
2700 return _IMP_isd.__lshift__(*args)
2702 """Proxy of C++ IMP::isd::JeffreysRestraint class"""
2703 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2705 def __init__(self, m, p):
2706 """__init__(IMP::isd::JeffreysRestraint self, Model m, Particle p) -> JeffreysRestraint"""
2707 this = _IMP_isd.new_JeffreysRestraint(m, p)
2709 self.this.append(this)
2714 """do_get_inputs(JeffreysRestraint self) -> IMP::ModelObjectsTemp"""
2715 return _IMP_isd.JeffreysRestraint_do_get_inputs(self)
2719 """get_version_info(JeffreysRestraint self) -> VersionInfo"""
2720 return _IMP_isd.JeffreysRestraint_get_version_info(self)
2723 def get_probability(self):
2724 """get_probability(JeffreysRestraint self) -> double"""
2725 return _IMP_isd.JeffreysRestraint_get_probability(self)
2729 """__str__(JeffreysRestraint self) -> std::string"""
2730 return _IMP_isd.JeffreysRestraint___str__(self)
2734 """__repr__(JeffreysRestraint self) -> std::string"""
2735 return _IMP_isd.JeffreysRestraint___repr__(self)
2740 return _object_cast_to_JeffreysRestraint(o)
2742 JeffreysRestraint_swigregister = _IMP_isd.JeffreysRestraint_swigregister
2743 JeffreysRestraint_swigregister(JeffreysRestraint)
2746 """Proxy of C++ IMP::isd::NormalSigmaPCRestraint class"""
2747 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2749 def __init__(self, *args):
2751 __init__(IMP::isd::NormalSigmaPCRestraint self, Model m, ParticleIndex spi, double su, double alpha, std::string name) -> NormalSigmaPCRestraint
2752 __init__(IMP::isd::NormalSigmaPCRestraint self, Model m, ParticleIndex spi, double su, double alpha) -> NormalSigmaPCRestraint
2753 __init__(IMP::isd::NormalSigmaPCRestraint self, Scale s, double su, double alpha, std::string name) -> NormalSigmaPCRestraint
2754 __init__(IMP::isd::NormalSigmaPCRestraint self, Scale s, double su, double alpha) -> NormalSigmaPCRestraint
2756 this = _IMP_isd.new_NormalSigmaPCRestraint(*args)
2758 self.this.append(this)
2762 def get_sigma(self):
2763 """get_sigma(NormalSigmaPCRestraint self) -> Scale"""
2764 return _IMP_isd.NormalSigmaPCRestraint_get_sigma(self)
2767 def get_alpha(self):
2768 """get_alpha(NormalSigmaPCRestraint self) -> double"""
2769 return _IMP_isd.NormalSigmaPCRestraint_get_alpha(self)
2772 def get_sigma_upper(self):
2773 """get_sigma_upper(NormalSigmaPCRestraint self) -> double"""
2774 return _IMP_isd.NormalSigmaPCRestraint_get_sigma_upper(self)
2777 def get_probability(self):
2778 """get_probability(NormalSigmaPCRestraint self) -> double"""
2779 return _IMP_isd.NormalSigmaPCRestraint_get_probability(self)
2783 """do_get_inputs(NormalSigmaPCRestraint self) -> IMP::ModelObjectsTemp"""
2784 return _IMP_isd.NormalSigmaPCRestraint_do_get_inputs(self)
2788 """get_version_info(NormalSigmaPCRestraint self) -> VersionInfo"""
2789 return _IMP_isd.NormalSigmaPCRestraint_get_version_info(self)
2793 """__str__(NormalSigmaPCRestraint self) -> std::string"""
2794 return _IMP_isd.NormalSigmaPCRestraint___str__(self)
2798 """__repr__(NormalSigmaPCRestraint self) -> std::string"""
2799 return _IMP_isd.NormalSigmaPCRestraint___repr__(self)
2804 return _object_cast_to_NormalSigmaPCRestraint(o)
2806 NormalSigmaPCRestraint_swigregister = _IMP_isd.NormalSigmaPCRestraint_swigregister
2807 NormalSigmaPCRestraint_swigregister(NormalSigmaPCRestraint)
2810 """Proxy of C++ IMP::isd::Distribution class"""
2811 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2813 def __init__(self, *args):
2815 __init__(IMP::isd::Distribution self, std::string name) -> Distribution
2816 __init__(IMP::isd::Distribution self) -> Distribution
2818 if self.__class__ == Distribution:
2822 this = _IMP_isd.new_Distribution(_self, *args)
2824 self.this.append(this)
2828 if self.__class__ != Distribution:
2829 _director_objects.register(self)
2834 def get_type_name(self):
2835 """get_type_name(Distribution self) -> std::string"""
2836 return _IMP_isd.Distribution_get_type_name(self)
2840 """get_version_info(Distribution self) -> VersionInfo"""
2841 return _IMP_isd.Distribution_get_version_info(self)
2845 """__str__(Distribution self) -> std::string"""
2846 return _IMP_isd.Distribution___str__(self)
2850 """__repr__(Distribution self) -> std::string"""
2851 return _IMP_isd.Distribution___repr__(self)
2856 return _object_cast_to_Distribution(o)
2859 def get_type_name(self):
2860 return self.__class__.__name__
2861 def do_show(self, out):
2864 if"IMP::isd" ==
"IMP":
2865 return VersionInfo(self.__module__,
2872 return _object_cast_to_Distribution(o)
2874 def __disown__(self):
2876 _IMP_isd.disown_Distribution(self)
2877 return weakref_proxy(self)
2880 """do_destroy(Distribution self)"""
2881 return _IMP_isd.Distribution_do_destroy(self)
2883 Distribution_swigregister = _IMP_isd.Distribution_swigregister
2884 Distribution_swigregister(Distribution)
2886 class OneDimensionalDistribution(Distribution):
2887 """Proxy of C++ IMP::isd::OneDimensionalDistribution class"""
2888 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2890 def do_evaluate(self, *args):
2892 do_evaluate(OneDimensionalDistribution self, double v) -> double
2893 do_evaluate(OneDimensionalDistribution self, IMP::Floats const & vs) -> IMP::Floats
2895 return _IMP_isd.OneDimensionalDistribution_do_evaluate(self, *args)
2898 def do_get_density(self, *args):
2900 do_get_density(OneDimensionalDistribution self, double v) -> double
2901 do_get_density(OneDimensionalDistribution self, IMP::Floats const & vs) -> IMP::Floats
2903 return _IMP_isd.OneDimensionalDistribution_do_get_density(self, *args)
2906 def __init__(self, *args):
2908 __init__(IMP::isd::OneDimensionalDistribution self, std::string name) -> OneDimensionalDistribution
2909 __init__(IMP::isd::OneDimensionalDistribution self) -> OneDimensionalDistribution
2911 if self.__class__ == OneDimensionalDistribution:
2915 this = _IMP_isd.new_OneDimensionalDistribution(_self, *args)
2917 self.this.append(this)
2921 if self.__class__ != OneDimensionalDistribution:
2922 _director_objects.register(self)
2927 def evaluate(self, *args):
2929 evaluate(OneDimensionalDistribution self, double v) -> double
2930 evaluate(OneDimensionalDistribution self, IMP::Floats const & vs) -> IMP::Floats
2932 return _IMP_isd.OneDimensionalDistribution_evaluate(self, *args)
2935 def get_density(self, *args):
2937 get_density(OneDimensionalDistribution self, double v) -> double
2938 get_density(OneDimensionalDistribution self, IMP::Floats const & vs) -> IMP::Floats
2940 return _IMP_isd.OneDimensionalDistribution_get_density(self, *args)
2943 def get_type_name(self):
2944 """get_type_name(OneDimensionalDistribution self) -> std::string"""
2945 return _IMP_isd.OneDimensionalDistribution_get_type_name(self)
2949 """get_version_info(OneDimensionalDistribution self) -> VersionInfo"""
2950 return _IMP_isd.OneDimensionalDistribution_get_version_info(self)
2954 """__str__(OneDimensionalDistribution self) -> std::string"""
2955 return _IMP_isd.OneDimensionalDistribution___str__(self)
2959 """__repr__(OneDimensionalDistribution self) -> std::string"""
2960 return _IMP_isd.OneDimensionalDistribution___repr__(self)
2965 return _object_cast_to_OneDimensionalDistribution(o)
2968 def get_type_name(self):
2969 return self.__class__.__name__
2970 def do_show(self, out):
2973 if"IMP::isd" ==
"IMP":
2974 return VersionInfo(self.__module__,
2981 return _object_cast_to_OneDimensionalDistribution(o)
2983 def __disown__(self):
2985 _IMP_isd.disown_OneDimensionalDistribution(self)
2986 return weakref_proxy(self)
2989 """do_destroy(OneDimensionalDistribution self)"""
2990 return _IMP_isd.OneDimensionalDistribution_do_destroy(self)
2992 OneDimensionalDistribution_swigregister = _IMP_isd.OneDimensionalDistribution_swigregister
2993 OneDimensionalDistribution_swigregister(OneDimensionalDistribution)
2995 class OneDimensionalSufficientDistribution(Distribution):
2996 """Proxy of C++ IMP::isd::OneDimensionalSufficientDistribution class"""
2997 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2999 def do_update_sufficient_statistics(self, vs):
3000 """do_update_sufficient_statistics(OneDimensionalSufficientDistribution self, IMP::Floats vs)"""
3001 return _IMP_isd.OneDimensionalSufficientDistribution_do_update_sufficient_statistics(self, vs)
3004 def do_get_sufficient_statistics(self):
3005 """do_get_sufficient_statistics(OneDimensionalSufficientDistribution self) -> IMP::Floats"""
3006 return _IMP_isd.OneDimensionalSufficientDistribution_do_get_sufficient_statistics(self)
3009 def do_evaluate(self):
3010 """do_evaluate(OneDimensionalSufficientDistribution self) -> double"""
3011 return _IMP_isd.OneDimensionalSufficientDistribution_do_evaluate(self)
3014 def do_get_density(self):
3015 """do_get_density(OneDimensionalSufficientDistribution self) -> double"""
3016 return _IMP_isd.OneDimensionalSufficientDistribution_do_get_density(self)
3019 def __init__(self, *args):
3021 __init__(IMP::isd::OneDimensionalSufficientDistribution self, std::string name) -> OneDimensionalSufficientDistribution
3022 __init__(IMP::isd::OneDimensionalSufficientDistribution self) -> OneDimensionalSufficientDistribution
3024 if self.__class__ == OneDimensionalSufficientDistribution:
3028 this = _IMP_isd.new_OneDimensionalSufficientDistribution(_self, *args)
3030 self.this.append(this)
3034 if self.__class__ != OneDimensionalSufficientDistribution:
3035 _director_objects.register(self)
3040 def update_sufficient_statistics(self, vs):
3041 """update_sufficient_statistics(OneDimensionalSufficientDistribution self, IMP::Floats vs)"""
3042 return _IMP_isd.OneDimensionalSufficientDistribution_update_sufficient_statistics(self, vs)
3045 def get_sufficient_statistics(self):
3046 """get_sufficient_statistics(OneDimensionalSufficientDistribution self) -> IMP::Floats"""
3047 return _IMP_isd.OneDimensionalSufficientDistribution_get_sufficient_statistics(self)
3051 """evaluate(OneDimensionalSufficientDistribution self) -> double"""
3052 return _IMP_isd.OneDimensionalSufficientDistribution_evaluate(self)
3055 def get_density(self):
3056 """get_density(OneDimensionalSufficientDistribution self) -> double"""
3057 return _IMP_isd.OneDimensionalSufficientDistribution_get_density(self)
3060 def get_type_name(self):
3061 """get_type_name(OneDimensionalSufficientDistribution self) -> std::string"""
3062 return _IMP_isd.OneDimensionalSufficientDistribution_get_type_name(self)
3066 """get_version_info(OneDimensionalSufficientDistribution self) -> VersionInfo"""
3067 return _IMP_isd.OneDimensionalSufficientDistribution_get_version_info(self)
3071 """__str__(OneDimensionalSufficientDistribution self) -> std::string"""
3072 return _IMP_isd.OneDimensionalSufficientDistribution___str__(self)
3076 """__repr__(OneDimensionalSufficientDistribution self) -> std::string"""
3077 return _IMP_isd.OneDimensionalSufficientDistribution___repr__(self)
3082 return _object_cast_to_OneDimensionalSufficientDistribution(o)
3085 def get_type_name(self):
3086 return self.__class__.__name__
3087 def do_show(self, out):
3090 if"IMP::isd" ==
"IMP":
3091 return VersionInfo(self.__module__,
3098 return _object_cast_to_OneDimensionalSufficientDistribution(o)
3100 def __disown__(self):
3102 _IMP_isd.disown_OneDimensionalSufficientDistribution(self)
3103 return weakref_proxy(self)
3106 """do_destroy(OneDimensionalSufficientDistribution self)"""
3107 return _IMP_isd.OneDimensionalSufficientDistribution_do_destroy(self)
3109 OneDimensionalSufficientDistribution_swigregister = _IMP_isd.OneDimensionalSufficientDistribution_swigregister
3110 OneDimensionalSufficientDistribution_swigregister(OneDimensionalSufficientDistribution)
3112 class FNormal(OneDimensionalSufficientDistribution):
3113 """Proxy of C++ IMP::isd::FNormal class"""
3114 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3116 def __init__(self, FA, JA, FM, sigma):
3117 """__init__(IMP::isd::FNormal self, double FA, double JA, double FM, double sigma) -> FNormal"""
3118 this = _IMP_isd.new_FNormal(FA, JA, FM, sigma)
3120 self.this.append(this)
3124 def update_sufficient_statistics(self, FA):
3125 """update_sufficient_statistics(FNormal self, double FA)"""
3126 return _IMP_isd.FNormal_update_sufficient_statistics(self, FA)
3129 def do_update_sufficient_statistics(self, data):
3130 """do_update_sufficient_statistics(FNormal self, IMP::Floats data)"""
3131 return _IMP_isd.FNormal_do_update_sufficient_statistics(self, data)
3134 def do_get_sufficient_statistics(self):
3135 """do_get_sufficient_statistics(FNormal self) -> IMP::Floats"""
3136 return _IMP_isd.FNormal_do_get_sufficient_statistics(self)
3139 def do_evaluate(self):
3140 """do_evaluate(FNormal self) -> double"""
3141 return _IMP_isd.FNormal_do_evaluate(self)
3144 def evaluate_derivative_FA(self):
3145 """evaluate_derivative_FA(FNormal self) -> double"""
3146 return _IMP_isd.FNormal_evaluate_derivative_FA(self)
3149 def evaluate_derivative_JA(self):
3150 """evaluate_derivative_JA(FNormal self) -> double"""
3151 return _IMP_isd.FNormal_evaluate_derivative_JA(self)
3154 def evaluate_derivative_FM(self):
3155 """evaluate_derivative_FM(FNormal self) -> double"""
3156 return _IMP_isd.FNormal_evaluate_derivative_FM(self)
3159 def evaluate_derivative_sigma(self):
3160 """evaluate_derivative_sigma(FNormal self) -> double"""
3161 return _IMP_isd.FNormal_evaluate_derivative_sigma(self)
3164 def do_get_density(self):
3165 """do_get_density(FNormal self) -> double"""
3166 return _IMP_isd.FNormal_do_get_density(self)
3169 def set_FA(self, f):
3170 """set_FA(FNormal self, double f)"""
3171 return _IMP_isd.FNormal_set_FA(self, f)
3174 def set_JA(self, f):
3175 """set_JA(FNormal self, double f)"""
3176 return _IMP_isd.FNormal_set_JA(self, f)
3179 def set_FM(self, f):
3180 """set_FM(FNormal self, double f)"""
3181 return _IMP_isd.FNormal_set_FM(self, f)
3184 def set_sigma(self, f):
3185 """set_sigma(FNormal self, double f)"""
3186 return _IMP_isd.FNormal_set_sigma(self, f)
3190 """__str__(FNormal self) -> std::string"""
3191 return _IMP_isd.FNormal___str__(self)
3195 """__repr__(FNormal self) -> std::string"""
3196 return _IMP_isd.FNormal___repr__(self)
3201 return _object_cast_to_FNormal(o)
3203 FNormal_swigregister = _IMP_isd.FNormal_swigregister
3204 FNormal_swigregister(FNormal)
3206 class FStudentT(OneDimensionalSufficientDistribution):
3207 """Proxy of C++ IMP::isd::FStudentT class"""
3208 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3210 def __init__(self, *args):
3212 __init__(IMP::isd::FStudentT self, IMP::Floats FXs, IMP::Floats JXs, double FM, double sigma, double nu, std::string name) -> FStudentT
3213 __init__(IMP::isd::FStudentT self, IMP::Floats FXs, IMP::Floats JXs, double FM, double sigma, double nu) -> FStudentT
3214 __init__(IMP::isd::FStudentT self, double sumFX, double sumFX2, unsigned int N, double LogJX, double FM, double sigma, double nu, std::string name) -> FStudentT
3215 __init__(IMP::isd::FStudentT self, double sumFX, double sumFX2, unsigned int N, double LogJX, double FM, double sigma, double nu) -> FStudentT
3217 this = _IMP_isd.new_FStudentT(*args)
3219 self.this.append(this)
3223 def update_sufficient_statistics(self, FXs, JXs):
3224 """update_sufficient_statistics(FStudentT self, IMP::Floats FXs, IMP::Floats JXs)"""
3225 return _IMP_isd.FStudentT_update_sufficient_statistics(self, FXs, JXs)
3228 def evaluate_derivative_Fx(self, Fx):
3229 """evaluate_derivative_Fx(FStudentT self, double Fx) -> double"""
3230 return _IMP_isd.FStudentT_evaluate_derivative_Fx(self, Fx)
3233 def evaluate_derivative_FX(self, FXs):
3234 """evaluate_derivative_FX(FStudentT self, IMP::Floats const FXs) -> IMP::Floats"""
3235 return _IMP_isd.FStudentT_evaluate_derivative_FX(self, FXs)
3238 def evaluate_derivative_LogJX(self):
3239 """evaluate_derivative_LogJX(FStudentT self) -> double"""
3240 return _IMP_isd.FStudentT_evaluate_derivative_LogJX(self)
3243 def evaluate_derivative_FM(self):
3244 """evaluate_derivative_FM(FStudentT self) -> double"""
3245 return _IMP_isd.FStudentT_evaluate_derivative_FM(self)
3248 def evaluate_derivative_sigma(self):
3249 """evaluate_derivative_sigma(FStudentT self) -> double"""
3250 return _IMP_isd.FStudentT_evaluate_derivative_sigma(self)
3253 def evaluate_derivative_nu(self):
3254 """evaluate_derivative_nu(FStudentT self) -> double"""
3255 return _IMP_isd.FStudentT_evaluate_derivative_nu(self)
3258 def update_cached_values(self):
3259 """update_cached_values(FStudentT self)"""
3260 return _IMP_isd.FStudentT_update_cached_values(self)
3263 def set_sumFX(self, v):
3264 """set_sumFX(FStudentT self, double v)"""
3265 return _IMP_isd.FStudentT_set_sumFX(self, v)
3268 def set_sumFX2(self, v):
3269 """set_sumFX2(FStudentT self, double v)"""
3270 return _IMP_isd.FStudentT_set_sumFX2(self, v)
3274 """set_N(FStudentT self, unsigned int v)"""
3275 return _IMP_isd.FStudentT_set_N(self, v)
3278 def set_LogJX(self, v):
3279 """set_LogJX(FStudentT self, double v)"""
3280 return _IMP_isd.FStudentT_set_LogJX(self, v)
3283 def set_FM(self, v):
3284 """set_FM(FStudentT self, double v)"""
3285 return _IMP_isd.FStudentT_set_FM(self, v)
3288 def set_sigma(self, v):
3289 """set_sigma(FStudentT self, double v)"""
3290 return _IMP_isd.FStudentT_set_sigma(self, v)
3293 def set_nu(self, v):
3294 """set_nu(FStudentT self, double v)"""
3295 return _IMP_isd.FStudentT_set_nu(self, v)
3298 def get_sumFX(self):
3299 """get_sumFX(FStudentT self) -> double"""
3300 return _IMP_isd.FStudentT_get_sumFX(self)
3303 def get_sumFX2(self):
3304 """get_sumFX2(FStudentT self) -> double"""
3305 return _IMP_isd.FStudentT_get_sumFX2(self)
3309 """get_N(FStudentT self) -> unsigned int"""
3310 return _IMP_isd.FStudentT_get_N(self)
3313 def get_LogJX(self):
3314 """get_LogJX(FStudentT self) -> double"""
3315 return _IMP_isd.FStudentT_get_LogJX(self)
3319 """get_FM(FStudentT self) -> double"""
3320 return _IMP_isd.FStudentT_get_FM(self)
3323 def get_sigma(self):
3324 """get_sigma(FStudentT self) -> double"""
3325 return _IMP_isd.FStudentT_get_sigma(self)
3329 """get_nu(FStudentT self) -> double"""
3330 return _IMP_isd.FStudentT_get_nu(self)
3334 """__str__(FStudentT self) -> std::string"""
3335 return _IMP_isd.FStudentT___str__(self)
3339 """__repr__(FStudentT self) -> std::string"""
3340 return _IMP_isd.FStudentT___repr__(self)
3345 return _object_cast_to_FStudentT(o)
3347 FStudentT_swigregister = _IMP_isd.FStudentT_swigregister
3348 FStudentT_swigregister(FStudentT)
3351 """Proxy of C++ IMP::isd::vonMises class"""
3352 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3354 def __init__(self, x, mu, kappa):
3355 """__init__(IMP::isd::vonMises self, double x, double mu, double kappa) -> vonMises"""
3356 this = _IMP_isd.new_vonMises(x, mu, kappa)
3358 self.this.append(this)
3363 """evaluate(vonMises self) -> double"""
3364 return _IMP_isd.vonMises_evaluate(self)
3367 def evaluate_derivative_x(self):
3368 """evaluate_derivative_x(vonMises self) -> double"""
3369 return _IMP_isd.vonMises_evaluate_derivative_x(self)
3372 def evaluate_derivative_mu(self):
3373 """evaluate_derivative_mu(vonMises self) -> double"""
3374 return _IMP_isd.vonMises_evaluate_derivative_mu(self)
3377 def evaluate_derivative_kappa(self):
3378 """evaluate_derivative_kappa(vonMises self) -> double"""
3379 return _IMP_isd.vonMises_evaluate_derivative_kappa(self)
3383 """density(vonMises self) -> double"""
3384 return _IMP_isd.vonMises_density(self)
3388 """set_x(vonMises self, double x)"""
3389 return _IMP_isd.vonMises_set_x(self, x)
3392 def set_mu(self, mu):
3393 """set_mu(vonMises self, double mu)"""
3394 return _IMP_isd.vonMises_set_mu(self, mu)
3397 def set_kappa(self, kappa):
3398 """set_kappa(vonMises self, double kappa)"""
3399 return _IMP_isd.vonMises_set_kappa(self, kappa)
3403 """get_version_info(vonMises self) -> VersionInfo"""
3404 return _IMP_isd.vonMises_get_version_info(self)
3408 """__str__(vonMises self) -> std::string"""
3409 return _IMP_isd.vonMises___str__(self)
3413 """__repr__(vonMises self) -> std::string"""
3414 return _IMP_isd.vonMises___repr__(self)
3419 return _object_cast_to_vonMises(o)
3421 vonMises_swigregister = _IMP_isd.vonMises_swigregister
3422 vonMises_swigregister(vonMises)
3425 """Proxy of C++ IMP::isd::vonMisesSufficient class"""
3426 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3428 def __init__(self, *args):
3430 __init__(IMP::isd::vonMisesSufficient self, double chi, unsigned int N, double R0, double chiexp, double kappa) -> vonMisesSufficient
3431 __init__(IMP::isd::vonMisesSufficient self, double chi, IMP::Floats obs, double kappa) -> vonMisesSufficient
3433 this = _IMP_isd.new_vonMisesSufficient(*args)
3435 self.this.append(this)
3440 """evaluate(vonMisesSufficient self) -> double"""
3441 return _IMP_isd.vonMisesSufficient_evaluate(self)
3444 def evaluate_derivative_x(self):
3445 """evaluate_derivative_x(vonMisesSufficient self) -> double"""
3446 return _IMP_isd.vonMisesSufficient_evaluate_derivative_x(self)
3449 def evaluate_derivative_kappa(self):
3450 """evaluate_derivative_kappa(vonMisesSufficient self) -> double"""
3451 return _IMP_isd.vonMisesSufficient_evaluate_derivative_kappa(self)
3455 """density(vonMisesSufficient self) -> double"""
3456 return _IMP_isd.vonMisesSufficient_density(self)
3460 """get_x(vonMisesSufficient self) -> double"""
3461 return _IMP_isd.vonMisesSufficient_get_x(self)
3465 """get_R0(vonMisesSufficient self) -> double"""
3466 return _IMP_isd.vonMisesSufficient_get_R0(self)
3469 def get_chiexp(self):
3470 """get_chiexp(vonMisesSufficient self) -> double"""
3471 return _IMP_isd.vonMisesSufficient_get_chiexp(self)
3475 """get_N(vonMisesSufficient self) -> double"""
3476 return _IMP_isd.vonMisesSufficient_get_N(self)
3479 def get_kappa(self):
3480 """get_kappa(vonMisesSufficient self) -> double"""
3481 return _IMP_isd.vonMisesSufficient_get_kappa(self)
3485 """set_x(vonMisesSufficient self, double x)"""
3486 return _IMP_isd.vonMisesSufficient_set_x(self, x)
3489 def set_R0(self, R0):
3490 """set_R0(vonMisesSufficient self, double R0)"""
3491 return _IMP_isd.vonMisesSufficient_set_R0(self, R0)
3494 def set_chiexp(self, chiexp):
3495 """set_chiexp(vonMisesSufficient self, double chiexp)"""
3496 return _IMP_isd.vonMisesSufficient_set_chiexp(self, chiexp)
3500 """set_N(vonMisesSufficient self, unsigned int N)"""
3501 return _IMP_isd.vonMisesSufficient_set_N(self, N)
3504 def set_kappa(self, kappa):
3505 """set_kappa(vonMisesSufficient self, double kappa)"""
3506 return _IMP_isd.vonMisesSufficient_set_kappa(self, kappa)
3509 def get_sufficient_statistics(data):
3510 """get_sufficient_statistics(IMP::Floats data) -> IMP::Floats"""
3511 return _IMP_isd.vonMisesSufficient_get_sufficient_statistics(data)
3513 get_sufficient_statistics = staticmethod(get_sufficient_statistics)
3516 """get_version_info(vonMisesSufficient self) -> VersionInfo"""
3517 return _IMP_isd.vonMisesSufficient_get_version_info(self)
3521 """__str__(vonMisesSufficient self) -> std::string"""
3522 return _IMP_isd.vonMisesSufficient___str__(self)
3526 """__repr__(vonMisesSufficient self) -> std::string"""
3527 return _IMP_isd.vonMisesSufficient___repr__(self)
3532 return _object_cast_to_vonMisesSufficient(o)
3534 vonMisesSufficient_swigregister = _IMP_isd.vonMisesSufficient_swigregister
3535 vonMisesSufficient_swigregister(vonMisesSufficient)
3537 def vonMisesSufficient_get_sufficient_statistics(data):
3538 """vonMisesSufficient_get_sufficient_statistics(IMP::Floats data) -> IMP::Floats"""
3539 return _IMP_isd.vonMisesSufficient_get_sufficient_statistics(data)
3541 class PenalizedComplexityPrior(OneDimensionalSufficientDistribution):
3542 """Proxy of C++ IMP::isd::PenalizedComplexityPrior class"""
3543 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3545 def __init__(self, *args):
3547 __init__(IMP::isd::PenalizedComplexityPrior self, double Dxi, double Jxi, double alpha, std::string name) -> PenalizedComplexityPrior
3548 __init__(IMP::isd::PenalizedComplexityPrior self, double Dxi, double Jxi, double alpha) -> PenalizedComplexityPrior
3550 this = _IMP_isd.new_PenalizedComplexityPrior(*args)
3552 self.this.append(this)
3556 def update_sufficient_statistics(self, Dxis, Jxis):
3557 """update_sufficient_statistics(PenalizedComplexityPrior self, IMP::Floats Dxis, IMP::Floats Jxis)"""
3558 return _IMP_isd.PenalizedComplexityPrior_update_sufficient_statistics(self, Dxis, Jxis)
3561 def evaluate_derivative_Dxi(self):
3562 """evaluate_derivative_Dxi(PenalizedComplexityPrior self) -> double"""
3563 return _IMP_isd.PenalizedComplexityPrior_evaluate_derivative_Dxi(self)
3566 def evaluate_derivative_Jxi(self):
3567 """evaluate_derivative_Jxi(PenalizedComplexityPrior self) -> double"""
3568 return _IMP_isd.PenalizedComplexityPrior_evaluate_derivative_Jxi(self)
3571 def evaluate_derivative_alpha(self):
3572 """evaluate_derivative_alpha(PenalizedComplexityPrior self) -> double"""
3573 return _IMP_isd.PenalizedComplexityPrior_evaluate_derivative_alpha(self)
3576 def evaluate_derivative_xi(self, JJxi):
3577 """evaluate_derivative_xi(PenalizedComplexityPrior self, double JJxi) -> double"""
3578 return _IMP_isd.PenalizedComplexityPrior_evaluate_derivative_xi(self, JJxi)
3581 def set_Dxi(self, v):
3582 """set_Dxi(PenalizedComplexityPrior self, double v)"""
3583 return _IMP_isd.PenalizedComplexityPrior_set_Dxi(self, v)
3586 def set_Jxi(self, v):
3587 """set_Jxi(PenalizedComplexityPrior self, double v)"""
3588 return _IMP_isd.PenalizedComplexityPrior_set_Jxi(self, v)
3591 def set_alpha(self, v):
3592 """set_alpha(PenalizedComplexityPrior self, double v)"""
3593 return _IMP_isd.PenalizedComplexityPrior_set_alpha(self, v)
3597 """get_Dxi(PenalizedComplexityPrior self) -> double"""
3598 return _IMP_isd.PenalizedComplexityPrior_get_Dxi(self)
3602 """get_Jxi(PenalizedComplexityPrior self) -> double"""
3603 return _IMP_isd.PenalizedComplexityPrior_get_Jxi(self)
3606 def get_alpha(self):
3607 """get_alpha(PenalizedComplexityPrior self) -> double"""
3608 return _IMP_isd.PenalizedComplexityPrior_get_alpha(self)
3612 """__str__(PenalizedComplexityPrior self) -> std::string"""
3613 return _IMP_isd.PenalizedComplexityPrior___str__(self)
3617 """__repr__(PenalizedComplexityPrior self) -> std::string"""
3618 return _IMP_isd.PenalizedComplexityPrior___repr__(self)
3623 return _object_cast_to_PenalizedComplexityPrior(o)
3625 PenalizedComplexityPrior_swigregister = _IMP_isd.PenalizedComplexityPrior_swigregister
3626 PenalizedComplexityPrior_swigregister(PenalizedComplexityPrior)
3629 """Proxy of C++ IMP::isd::vonMisesKappaJeffreysRestraint class"""
3630 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3632 def __init__(self, m, kappa):
3633 """__init__(IMP::isd::vonMisesKappaJeffreysRestraint self, Model m, Particle kappa) -> vonMisesKappaJeffreysRestraint"""
3634 this = _IMP_isd.new_vonMisesKappaJeffreysRestraint(m, kappa)
3636 self.this.append(this)
3641 """do_get_inputs(vonMisesKappaJeffreysRestraint self) -> IMP::ModelObjectsTemp"""
3642 return _IMP_isd.vonMisesKappaJeffreysRestraint_do_get_inputs(self)
3646 """get_version_info(vonMisesKappaJeffreysRestraint self) -> VersionInfo"""
3647 return _IMP_isd.vonMisesKappaJeffreysRestraint_get_version_info(self)
3650 def get_probability(self):
3651 """get_probability(vonMisesKappaJeffreysRestraint self) -> double"""
3652 return _IMP_isd.vonMisesKappaJeffreysRestraint_get_probability(self)
3656 """__str__(vonMisesKappaJeffreysRestraint self) -> std::string"""
3657 return _IMP_isd.vonMisesKappaJeffreysRestraint___str__(self)
3661 """__repr__(vonMisesKappaJeffreysRestraint self) -> std::string"""
3662 return _IMP_isd.vonMisesKappaJeffreysRestraint___repr__(self)
3667 return _object_cast_to_vonMisesKappaJeffreysRestraint(o)
3669 vonMisesKappaJeffreysRestraint_swigregister = _IMP_isd.vonMisesKappaJeffreysRestraint_swigregister
3670 vonMisesKappaJeffreysRestraint_swigregister(vonMisesKappaJeffreysRestraint)
3673 """Proxy of C++ IMP::isd::vonMisesKappaConjugateRestraint class"""
3674 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3676 def __init__(self, m, kappa, c=10.0, R0=0.0):
3678 __init__(IMP::isd::vonMisesKappaConjugateRestraint self, Model m, Particle kappa, double c=10.0, double R0=0.0) -> vonMisesKappaConjugateRestraint
3679 __init__(IMP::isd::vonMisesKappaConjugateRestraint self, Model m, Particle kappa, double c=10.0) -> vonMisesKappaConjugateRestraint
3680 __init__(IMP::isd::vonMisesKappaConjugateRestraint self, Model m, Particle kappa) -> vonMisesKappaConjugateRestraint
3682 this = _IMP_isd.new_vonMisesKappaConjugateRestraint(m, kappa, c, R0)
3684 self.this.append(this)
3689 """do_get_inputs(vonMisesKappaConjugateRestraint self) -> IMP::ModelObjectsTemp"""
3690 return _IMP_isd.vonMisesKappaConjugateRestraint_do_get_inputs(self)
3694 """get_version_info(vonMisesKappaConjugateRestraint self) -> VersionInfo"""
3695 return _IMP_isd.vonMisesKappaConjugateRestraint_get_version_info(self)
3698 def get_probability(self):
3699 """get_probability(vonMisesKappaConjugateRestraint self) -> double"""
3700 return _IMP_isd.vonMisesKappaConjugateRestraint_get_probability(self)
3704 """__str__(vonMisesKappaConjugateRestraint self) -> std::string"""
3705 return _IMP_isd.vonMisesKappaConjugateRestraint___str__(self)
3709 """__repr__(vonMisesKappaConjugateRestraint self) -> std::string"""
3710 return _IMP_isd.vonMisesKappaConjugateRestraint___repr__(self)
3715 return _object_cast_to_vonMisesKappaConjugateRestraint(o)
3717 vonMisesKappaConjugateRestraint_swigregister = _IMP_isd.vonMisesKappaConjugateRestraint_swigregister
3718 vonMisesKappaConjugateRestraint_swigregister(vonMisesKappaConjugateRestraint)
3721 """Proxy of C++ IMP::isd::NOERestraint class"""
3722 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3724 def __init__(self, m, p0, p1, sigma, gamma, Iexp):
3725 """__init__(IMP::isd::NOERestraint self, Model m, Particle p0, Particle p1, Particle sigma, Particle gamma, double Iexp) -> NOERestraint"""
3726 this = _IMP_isd.new_NOERestraint(m, p0, p1, sigma, gamma, Iexp)
3728 self.this.append(this)
3732 def get_probability(self):
3733 """get_probability(NOERestraint self) -> double"""
3734 return _IMP_isd.NOERestraint_get_probability(self)
3738 """get_chi(NOERestraint self) -> double"""
3739 return _IMP_isd.NOERestraint_get_chi(self)
3743 """do_get_inputs(NOERestraint self) -> IMP::ModelObjectsTemp"""
3744 return _IMP_isd.NOERestraint_do_get_inputs(self)
3748 """get_version_info(NOERestraint self) -> VersionInfo"""
3749 return _IMP_isd.NOERestraint_get_version_info(self)
3753 """__str__(NOERestraint self) -> std::string"""
3754 return _IMP_isd.NOERestraint___str__(self)
3758 """__repr__(NOERestraint self) -> std::string"""
3759 return _IMP_isd.NOERestraint___repr__(self)
3764 return _object_cast_to_NOERestraint(o)
3766 NOERestraint_swigregister = _IMP_isd.NOERestraint_swigregister
3767 NOERestraint_swigregister(NOERestraint)
3770 """Proxy of C++ IMP::isd::GaussianRestraint class"""
3771 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3773 def __init__(self, *args):
3775 __init__(IMP::isd::GaussianRestraint self, Particle x, Particle mu, Particle sigma) -> GaussianRestraint
3776 __init__(IMP::isd::GaussianRestraint self, double x, Particle mu, Particle sigma) -> GaussianRestraint
3777 __init__(IMP::isd::GaussianRestraint self, Particle x, double mu, Particle sigma) -> GaussianRestraint
3778 __init__(IMP::isd::GaussianRestraint self, Particle x, Particle mu, double sigma) -> GaussianRestraint
3779 __init__(IMP::isd::GaussianRestraint self, double x, double mu, Particle sigma) -> GaussianRestraint
3780 __init__(IMP::isd::GaussianRestraint self, Particle x, double mu, double sigma) -> GaussianRestraint
3781 __init__(IMP::isd::GaussianRestraint self, double x, Particle mu, double sigma) -> GaussianRestraint
3783 this = _IMP_isd.new_GaussianRestraint(*args)
3785 self.this.append(this)
3789 def get_probability(self):
3790 """get_probability(GaussianRestraint self) -> double"""
3791 return _IMP_isd.GaussianRestraint_get_probability(self)
3795 """get_chi(GaussianRestraint self) -> double"""
3796 return _IMP_isd.GaussianRestraint_get_chi(self)
3800 """do_get_inputs(GaussianRestraint self) -> IMP::ModelObjectsTemp"""
3801 return _IMP_isd.GaussianRestraint_do_get_inputs(self)
3805 """get_version_info(GaussianRestraint self) -> VersionInfo"""
3806 return _IMP_isd.GaussianRestraint_get_version_info(self)
3810 """__str__(GaussianRestraint self) -> std::string"""
3811 return _IMP_isd.GaussianRestraint___str__(self)
3815 """__repr__(GaussianRestraint self) -> std::string"""
3816 return _IMP_isd.GaussianRestraint___repr__(self)
3821 return _object_cast_to_GaussianRestraint(o)
3823 GaussianRestraint_swigregister = _IMP_isd.GaussianRestraint_swigregister
3824 GaussianRestraint_swigregister(GaussianRestraint)
3827 """Proxy of C++ IMP::isd::StudentTRestraint class"""
3828 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3830 def __init__(self, *args):
3832 __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, _ParticleIndexAdaptor mu, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3833 __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, double mu, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3834 __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, _ParticleIndexAdaptor mu, double sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3835 __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, _ParticleIndexAdaptor mu, _ParticleIndexAdaptor sigma, double nu) -> StudentTRestraint
3836 __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, double mu, double sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3837 __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, double mu, _ParticleIndexAdaptor sigma, double nu) -> StudentTRestraint
3838 __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, _ParticleIndexAdaptor mu, double sigma, double nu) -> StudentTRestraint
3839 __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, double mu, double sigma, double nu) -> StudentTRestraint
3840 __init__(IMP::isd::StudentTRestraint self, Model m, double x, _ParticleIndexAdaptor mu, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3841 __init__(IMP::isd::StudentTRestraint self, Model m, double x, double mu, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3842 __init__(IMP::isd::StudentTRestraint self, Model m, double x, _ParticleIndexAdaptor mu, double sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3843 __init__(IMP::isd::StudentTRestraint self, Model m, double x, _ParticleIndexAdaptor mu, _ParticleIndexAdaptor sigma, double nu) -> StudentTRestraint
3844 __init__(IMP::isd::StudentTRestraint self, Model m, double x, double mu, double sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3845 __init__(IMP::isd::StudentTRestraint self, Model m, double x, double mu, _ParticleIndexAdaptor sigma, double nu) -> StudentTRestraint
3846 __init__(IMP::isd::StudentTRestraint self, Model m, double x, _ParticleIndexAdaptor mu, double sigma, double nu) -> StudentTRestraint
3848 this = _IMP_isd.new_StudentTRestraint(*args)
3850 self.this.append(this)
3854 def get_probability(self):
3855 """get_probability(StudentTRestraint self) -> double"""
3856 return _IMP_isd.StudentTRestraint_get_probability(self)
3860 """do_get_inputs(StudentTRestraint self) -> IMP::ModelObjectsTemp"""
3861 return _IMP_isd.StudentTRestraint_do_get_inputs(self)
3865 """get_version_info(StudentTRestraint self) -> VersionInfo"""
3866 return _IMP_isd.StudentTRestraint_get_version_info(self)
3870 """__str__(StudentTRestraint self) -> std::string"""
3871 return _IMP_isd.StudentTRestraint___str__(self)
3875 """__repr__(StudentTRestraint self) -> std::string"""
3876 return _IMP_isd.StudentTRestraint___repr__(self)
3881 return _object_cast_to_StudentTRestraint(o)
3883 StudentTRestraint_swigregister = _IMP_isd.StudentTRestraint_swigregister
3884 StudentTRestraint_swigregister(StudentTRestraint)
3887 """Proxy of C++ IMP::isd::LognormalRestraint class"""
3888 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3890 def __init__(self, *args):
3892 __init__(IMP::isd::LognormalRestraint self, Particle x, Particle mu, Particle sigma) -> LognormalRestraint
3893 __init__(IMP::isd::LognormalRestraint self, double x, Particle mu, Particle sigma) -> LognormalRestraint
3894 __init__(IMP::isd::LognormalRestraint self, Particle x, double mu, Particle sigma) -> LognormalRestraint
3895 __init__(IMP::isd::LognormalRestraint self, Particle x, Particle mu, double sigma) -> LognormalRestraint
3896 __init__(IMP::isd::LognormalRestraint self, double x, double mu, Particle sigma) -> LognormalRestraint
3897 __init__(IMP::isd::LognormalRestraint self, Particle x, double mu, double sigma) -> LognormalRestraint
3898 __init__(IMP::isd::LognormalRestraint self, double x, Particle mu, double sigma) -> LognormalRestraint
3900 this = _IMP_isd.new_LognormalRestraint(*args)
3902 self.this.append(this)
3906 def get_probability(self):
3907 """get_probability(LognormalRestraint self) -> double"""
3908 return _IMP_isd.LognormalRestraint_get_probability(self)
3912 """get_chi(LognormalRestraint self) -> double"""
3913 return _IMP_isd.LognormalRestraint_get_chi(self)
3917 """do_get_inputs(LognormalRestraint self) -> IMP::ModelObjectsTemp"""
3918 return _IMP_isd.LognormalRestraint_do_get_inputs(self)
3922 """get_version_info(LognormalRestraint self) -> VersionInfo"""
3923 return _IMP_isd.LognormalRestraint_get_version_info(self)
3927 """__str__(LognormalRestraint self) -> std::string"""
3928 return _IMP_isd.LognormalRestraint___str__(self)
3932 """__repr__(LognormalRestraint self) -> std::string"""
3933 return _IMP_isd.LognormalRestraint___repr__(self)
3938 return _object_cast_to_LognormalRestraint(o)
3940 LognormalRestraint_swigregister = _IMP_isd.LognormalRestraint_swigregister
3941 LognormalRestraint_swigregister(LognormalRestraint)
3944 """Proxy of C++ IMP::isd::LognormalAmbiguousRestraint class"""
3945 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3947 def __init__(self, p1, p2, ki, sigmaG):
3948 """__init__(IMP::isd::LognormalAmbiguousRestraint self, Particle p1, Particle p2, Particle ki, Particle sigmaG) -> LognormalAmbiguousRestraint"""
3949 this = _IMP_isd.new_LognormalAmbiguousRestraint(p1, p2, ki, sigmaG)
3951 self.this.append(this)
3955 def add_contribution(self, lexp, omega):
3956 """add_contribution(LognormalAmbiguousRestraint self, double lexp, Particle omega)"""
3957 return _IMP_isd.LognormalAmbiguousRestraint_add_contribution(self, lexp, omega)
3960 def get_number_of_contributions(self):
3961 """get_number_of_contributions(LognormalAmbiguousRestraint self) -> unsigned int"""
3962 return _IMP_isd.LognormalAmbiguousRestraint_get_number_of_contributions(self)
3965 def draw_k_from_posterior(self, kt):
3966 """draw_k_from_posterior(LognormalAmbiguousRestraint self, double kt)"""
3967 return _IMP_isd.LognormalAmbiguousRestraint_draw_k_from_posterior(self, kt)
3970 def get_probability(self):
3971 """get_probability(LognormalAmbiguousRestraint self) -> double"""
3972 return _IMP_isd.LognormalAmbiguousRestraint_get_probability(self)
3976 """do_get_inputs(LognormalAmbiguousRestraint self) -> IMP::ModelObjectsTemp"""
3977 return _IMP_isd.LognormalAmbiguousRestraint_do_get_inputs(self)
3981 """get_version_info(LognormalAmbiguousRestraint self) -> VersionInfo"""
3982 return _IMP_isd.LognormalAmbiguousRestraint_get_version_info(self)
3986 """__str__(LognormalAmbiguousRestraint self) -> std::string"""
3987 return _IMP_isd.LognormalAmbiguousRestraint___str__(self)
3991 """__repr__(LognormalAmbiguousRestraint self) -> std::string"""
3992 return _IMP_isd.LognormalAmbiguousRestraint___repr__(self)
3997 return _object_cast_to_LognormalAmbiguousRestraint(o)
3999 LognormalAmbiguousRestraint_swigregister = _IMP_isd.LognormalAmbiguousRestraint_swigregister
4000 LognormalAmbiguousRestraint_swigregister(LognormalAmbiguousRestraint)
4003 """Proxy of C++ IMP::isd::AmbiguousNOERestraint class"""
4004 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4006 def __init__(self, m, pc, sigma, gamma, Iexp):
4007 """__init__(IMP::isd::AmbiguousNOERestraint self, Model m, PairContainer pc, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor gamma, double Iexp) -> AmbiguousNOERestraint"""
4008 this = _IMP_isd.new_AmbiguousNOERestraint(m, pc, sigma, gamma, Iexp)
4010 self.this.append(this)
4014 def get_probability(self):
4015 """get_probability(AmbiguousNOERestraint self) -> double"""
4016 return _IMP_isd.AmbiguousNOERestraint_get_probability(self)
4020 """get_chi(AmbiguousNOERestraint self) -> double"""
4021 return _IMP_isd.AmbiguousNOERestraint_get_chi(self)
4025 """do_get_inputs(AmbiguousNOERestraint self) -> IMP::ModelObjectsTemp"""
4026 return _IMP_isd.AmbiguousNOERestraint_do_get_inputs(self)
4030 """get_version_info(AmbiguousNOERestraint self) -> VersionInfo"""
4031 return _IMP_isd.AmbiguousNOERestraint_get_version_info(self)
4035 """__str__(AmbiguousNOERestraint self) -> std::string"""
4036 return _IMP_isd.AmbiguousNOERestraint___str__(self)
4040 """__repr__(AmbiguousNOERestraint self) -> std::string"""
4041 return _IMP_isd.AmbiguousNOERestraint___repr__(self)
4046 return _object_cast_to_AmbiguousNOERestraint(o)
4048 AmbiguousNOERestraint_swigregister = _IMP_isd.AmbiguousNOERestraint_swigregister
4049 AmbiguousNOERestraint_swigregister(AmbiguousNOERestraint)
4052 """Proxy of C++ IMP::isd::MarginalNOERestraint class"""
4053 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4055 def __init__(self, m):
4056 """__init__(IMP::isd::MarginalNOERestraint self, Model m) -> MarginalNOERestraint"""
4057 this = _IMP_isd.new_MarginalNOERestraint(m)
4059 self.this.append(this)
4063 def add_contribution(self, *args):
4065 add_contribution(MarginalNOERestraint self, Particle p1, Particle p2, double Iexp)
4066 add_contribution(MarginalNOERestraint self, PairContainer pc, double Iexp)
4068 return _IMP_isd.MarginalNOERestraint_add_contribution(self, *args)
4071 def get_log_gammahat(self):
4072 """get_log_gammahat(MarginalNOERestraint self) -> double"""
4073 return _IMP_isd.MarginalNOERestraint_get_log_gammahat(self)
4077 """get_SS(MarginalNOERestraint self) -> double"""
4078 return _IMP_isd.MarginalNOERestraint_get_SS(self)
4081 def get_number_of_contributions(self):
4082 """get_number_of_contributions(MarginalNOERestraint self) -> unsigned int"""
4083 return _IMP_isd.MarginalNOERestraint_get_number_of_contributions(self)
4086 def get_probability(self):
4087 """get_probability(MarginalNOERestraint self) -> double"""
4088 return _IMP_isd.MarginalNOERestraint_get_probability(self)
4092 """do_get_inputs(MarginalNOERestraint self) -> IMP::ModelObjectsTemp"""
4093 return _IMP_isd.MarginalNOERestraint_do_get_inputs(self)
4097 """get_version_info(MarginalNOERestraint self) -> VersionInfo"""
4098 return _IMP_isd.MarginalNOERestraint_get_version_info(self)
4102 """__str__(MarginalNOERestraint self) -> std::string"""
4103 return _IMP_isd.MarginalNOERestraint___str__(self)
4107 """__repr__(MarginalNOERestraint self) -> std::string"""
4108 return _IMP_isd.MarginalNOERestraint___repr__(self)
4113 return _object_cast_to_MarginalNOERestraint(o)
4115 MarginalNOERestraint_swigregister = _IMP_isd.MarginalNOERestraint_swigregister
4116 MarginalNOERestraint_swigregister(MarginalNOERestraint)
4119 """Proxy of C++ IMP::isd::MarginalHBondRestraint class"""
4120 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4122 def __init__(self, m):
4123 """__init__(IMP::isd::MarginalHBondRestraint self, Model m) -> MarginalHBondRestraint"""
4124 this = _IMP_isd.new_MarginalHBondRestraint(m)
4126 self.this.append(this)
4130 def add_contribution(self, *args):
4132 add_contribution(MarginalHBondRestraint self, Particle p1, Particle p2, double Iexp)
4133 add_contribution(MarginalHBondRestraint self, PairContainer pc, double Iexp)
4135 return _IMP_isd.MarginalHBondRestraint_add_contribution(self, *args)
4138 def get_logsquares(self):
4139 """get_logsquares(MarginalHBondRestraint self) -> double"""
4140 return _IMP_isd.MarginalHBondRestraint_get_logsquares(self)
4143 def get_number_of_contributions(self):
4144 """get_number_of_contributions(MarginalHBondRestraint self) -> unsigned int"""
4145 return _IMP_isd.MarginalHBondRestraint_get_number_of_contributions(self)
4148 def get_probability(self):
4149 """get_probability(MarginalHBondRestraint self) -> double"""
4150 return _IMP_isd.MarginalHBondRestraint_get_probability(self)
4154 """do_get_inputs(MarginalHBondRestraint self) -> IMP::ModelObjectsTemp"""
4155 return _IMP_isd.MarginalHBondRestraint_do_get_inputs(self)
4159 """get_version_info(MarginalHBondRestraint self) -> VersionInfo"""
4160 return _IMP_isd.MarginalHBondRestraint_get_version_info(self)
4164 """__str__(MarginalHBondRestraint self) -> std::string"""
4165 return _IMP_isd.MarginalHBondRestraint___str__(self)
4169 """__repr__(MarginalHBondRestraint self) -> std::string"""
4170 return _IMP_isd.MarginalHBondRestraint___repr__(self)
4175 return _object_cast_to_MarginalHBondRestraint(o)
4177 MarginalHBondRestraint_swigregister = _IMP_isd.MarginalHBondRestraint_swigregister
4178 MarginalHBondRestraint_swigregister(MarginalHBondRestraint)
4181 """Proxy of C++ IMP::isd::TALOSRestraint class"""
4182 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4184 def __init__(self, *args):
4186 __init__(IMP::isd::TALOSRestraint self, Model m, IMP::Particles p, IMP::Floats data, Particle kappa) -> TALOSRestraint
4187 __init__(IMP::isd::TALOSRestraint self, Model m, Particle p1, Particle p2, Particle p3, Particle p4, IMP::Floats data, Particle kappa) -> TALOSRestraint
4188 __init__(IMP::isd::TALOSRestraint self, Model m, IMP::Particles p, unsigned int N, double R0, double chiexp, Particle kappa) -> TALOSRestraint
4189 __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
4191 this = _IMP_isd.new_TALOSRestraint(*args)
4193 self.this.append(this)
4197 def get_probability(self):
4198 """get_probability(TALOSRestraint self) -> double"""
4199 return _IMP_isd.TALOSRestraint_get_probability(self)
4203 """get_R0(TALOSRestraint self) -> double"""
4204 return _IMP_isd.TALOSRestraint_get_R0(self)
4207 def get_chiexp(self):
4208 """get_chiexp(TALOSRestraint self) -> double"""
4209 return _IMP_isd.TALOSRestraint_get_chiexp(self)
4213 """do_get_inputs(TALOSRestraint self) -> IMP::ModelObjectsTemp"""
4214 return _IMP_isd.TALOSRestraint_do_get_inputs(self)
4218 """get_version_info(TALOSRestraint self) -> VersionInfo"""
4219 return _IMP_isd.TALOSRestraint_get_version_info(self)
4223 """__str__(TALOSRestraint self) -> std::string"""
4224 return _IMP_isd.TALOSRestraint___str__(self)
4228 """__repr__(TALOSRestraint self) -> std::string"""
4229 return _IMP_isd.TALOSRestraint___repr__(self)
4234 return _object_cast_to_TALOSRestraint(o)
4236 TALOSRestraint_swigregister = _IMP_isd.TALOSRestraint_swigregister
4237 TALOSRestraint_swigregister(TALOSRestraint)
4240 """Proxy of C++ IMP::isd::RepulsiveDistancePairScore class"""
4241 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4243 def __init__(self, d0, k):
4244 """__init__(IMP::isd::RepulsiveDistancePairScore self, double d0, double k) -> RepulsiveDistancePairScore"""
4245 this = _IMP_isd.new_RepulsiveDistancePairScore(d0, k)
4247 self.this.append(this)
4251 def get_rest_length(self):
4252 """get_rest_length(RepulsiveDistancePairScore self) -> double"""
4253 return _IMP_isd.RepulsiveDistancePairScore_get_rest_length(self)
4256 def get_stiffness(self):
4257 """get_stiffness(RepulsiveDistancePairScore self) -> double"""
4258 return _IMP_isd.RepulsiveDistancePairScore_get_stiffness(self)
4262 """do_get_inputs(RepulsiveDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
4263 return _IMP_isd.RepulsiveDistancePairScore_do_get_inputs(self, m, pis)
4267 """get_version_info(RepulsiveDistancePairScore self) -> VersionInfo"""
4268 return _IMP_isd.RepulsiveDistancePairScore_get_version_info(self)
4272 """__str__(RepulsiveDistancePairScore self) -> std::string"""
4273 return _IMP_isd.RepulsiveDistancePairScore___str__(self)
4277 """__repr__(RepulsiveDistancePairScore self) -> std::string"""
4278 return _IMP_isd.RepulsiveDistancePairScore___repr__(self)
4283 return _object_cast_to_RepulsiveDistancePairScore(o)
4285 RepulsiveDistancePairScore_swigregister = _IMP_isd.RepulsiveDistancePairScore_swigregister
4286 RepulsiveDistancePairScore_swigregister(RepulsiveDistancePairScore)
4289 """Proxy of C++ IMP::isd::AmbiguousRestraint class"""
4290 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4292 def __init__(self, *args):
4294 __init__(IMP::isd::AmbiguousRestraint self, Model m, int d, Restraint r0, Restraint r1) -> AmbiguousRestraint
4295 __init__(IMP::isd::AmbiguousRestraint self, Model m, int d, IMP::Restraints rs) -> AmbiguousRestraint
4297 this = _IMP_isd.new_AmbiguousRestraint(*args)
4299 self.this.append(this)
4303 def get_probability(self):
4304 """get_probability(AmbiguousRestraint self) -> double"""
4305 return _IMP_isd.AmbiguousRestraint_get_probability(self)
4309 """do_get_inputs(AmbiguousRestraint self) -> IMP::ModelObjectsTemp"""
4310 return _IMP_isd.AmbiguousRestraint_do_get_inputs(self)
4314 """get_version_info(AmbiguousRestraint self) -> VersionInfo"""
4315 return _IMP_isd.AmbiguousRestraint_get_version_info(self)
4319 """__str__(AmbiguousRestraint self) -> std::string"""
4320 return _IMP_isd.AmbiguousRestraint___str__(self)
4324 """__repr__(AmbiguousRestraint self) -> std::string"""
4325 return _IMP_isd.AmbiguousRestraint___repr__(self)
4330 return _object_cast_to_AmbiguousRestraint(o)
4332 AmbiguousRestraint_swigregister = _IMP_isd.AmbiguousRestraint_swigregister
4333 AmbiguousRestraint_swigregister(AmbiguousRestraint)
4336 _IMP_isd.IMP_ISD_UNIVARIATE_FUNCTIONS_MINIMUM_swigconstant(_IMP_isd)
4337 IMP_ISD_UNIVARIATE_FUNCTIONS_MINIMUM = _IMP_isd.IMP_ISD_UNIVARIATE_FUNCTIONS_MINIMUM
4339 """Proxy of C++ IMP::isd::UnivariateFunction class"""
4340 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4342 def __init__(self, *args, **kwargs):
4343 raise AttributeError(
"No constructor defined - class is abstract")
4345 def __call__(self, *args):
4347 __call__(UnivariateFunction self, IMP::Floats const & x) -> IMP::Floats
4348 __call__(UnivariateFunction self, IMP::FloatsList const & xlist) -> Eigen::VectorXd
4349 __call__(UnivariateFunction self, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
4351 return _IMP_isd.UnivariateFunction___call__(self, *args)
4354 def has_changed(self):
4355 """has_changed(UnivariateFunction self) -> bool"""
4356 return _IMP_isd.UnivariateFunction_has_changed(self)
4360 """update(UnivariateFunction self)"""
4361 return _IMP_isd.UnivariateFunction_update(self)
4364 def add_to_derivatives(self, x, accum):
4365 """add_to_derivatives(UnivariateFunction self, IMP::Floats const & x, DerivativeAccumulator accum)"""
4366 return _IMP_isd.UnivariateFunction_add_to_derivatives(self, x, accum)
4369 def add_to_particle_derivative(self, particle_no, value, accum):
4370 """add_to_particle_derivative(UnivariateFunction self, unsigned int particle_no, double value, DerivativeAccumulator accum)"""
4371 return _IMP_isd.UnivariateFunction_add_to_particle_derivative(self, particle_no, value, accum)
4374 def get_derivative_vector(self, particle_no, xlist):
4375 """get_derivative_vector(UnivariateFunction self, unsigned int particle_no, IMP::FloatsList const & xlist) -> Eigen::VectorXd"""
4376 return _IMP_isd.UnivariateFunction_get_derivative_vector(self, particle_no, xlist)
4379 def get_derivative_matrix(self, xlist, stupid):
4380 """get_derivative_matrix(UnivariateFunction self, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList"""
4381 return _IMP_isd.UnivariateFunction_get_derivative_matrix(self, xlist, stupid)
4384 def get_second_derivative_vector(self, *args):
4386 get_second_derivative_vector(UnivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> Eigen::VectorXd
4387 get_second_derivative_vector(UnivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
4389 return _IMP_isd.UnivariateFunction_get_second_derivative_vector(self, *args)
4392 def get_ndims_x(self):
4393 """get_ndims_x(UnivariateFunction self) -> unsigned int"""
4394 return _IMP_isd.UnivariateFunction_get_ndims_x(self)
4397 def get_ndims_y(self):
4398 """get_ndims_y(UnivariateFunction self) -> unsigned int"""
4399 return _IMP_isd.UnivariateFunction_get_ndims_y(self)
4402 def get_number_of_particles(self):
4403 """get_number_of_particles(UnivariateFunction self) -> unsigned int"""
4404 return _IMP_isd.UnivariateFunction_get_number_of_particles(self)
4407 def get_particle_is_optimized(self, particle_no):
4408 """get_particle_is_optimized(UnivariateFunction self, unsigned int particle_no) -> bool"""
4409 return _IMP_isd.UnivariateFunction_get_particle_is_optimized(self, particle_no)
4412 def get_number_of_optimized_particles(self):
4413 """get_number_of_optimized_particles(UnivariateFunction self) -> unsigned int"""
4414 return _IMP_isd.UnivariateFunction_get_number_of_optimized_particles(self)
4418 """get_inputs(UnivariateFunction self) -> IMP::ModelObjectsTemp"""
4419 return _IMP_isd.UnivariateFunction_get_inputs(self)
4421 __swig_destroy__ = _IMP_isd.delete_UnivariateFunction
4422 __del__ =
lambda self:
None
4425 """__str__(UnivariateFunction self) -> std::string"""
4426 return _IMP_isd.UnivariateFunction___str__(self)
4430 """__repr__(UnivariateFunction self) -> std::string"""
4431 return _IMP_isd.UnivariateFunction___repr__(self)
4436 return _object_cast_to_UnivariateFunction(o)
4438 UnivariateFunction_swigregister = _IMP_isd.UnivariateFunction_swigregister
4439 UnivariateFunction_swigregister(UnivariateFunction)
4441 class Linear1DFunction(UnivariateFunction):
4442 """Proxy of C++ IMP::isd::Linear1DFunction class"""
4443 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4445 def __init__(self, a, b):
4446 """__init__(IMP::isd::Linear1DFunction self, Particle a, Particle b) -> Linear1DFunction"""
4447 this = _IMP_isd.new_Linear1DFunction(a, b)
4449 self.this.append(this)
4453 def __call__(self, *args):
4455 __call__(Linear1DFunction self, IMP::Floats const & x) -> IMP::Floats
4456 __call__(Linear1DFunction self, IMP::FloatsList const & xlist) -> Eigen::VectorXd
4457 __call__(Linear1DFunction self, IMP::FloatsList const & xlist, bool arg3) -> IMP::FloatsList
4459 return _IMP_isd.Linear1DFunction___call__(self, *args)
4462 def get_second_derivative_vector(self, *args):
4464 get_second_derivative_vector(Linear1DFunction self, unsigned int arg2, unsigned int arg3, IMP::FloatsList const & xlist) -> Eigen::VectorXd
4465 get_second_derivative_vector(Linear1DFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool arg5) -> IMP::FloatsList
4467 return _IMP_isd.Linear1DFunction_get_second_derivative_vector(self, *args)
4471 """get_version_info(Linear1DFunction self) -> VersionInfo"""
4472 return _IMP_isd.Linear1DFunction_get_version_info(self)
4476 """__str__(Linear1DFunction self) -> std::string"""
4477 return _IMP_isd.Linear1DFunction___str__(self)
4481 """__repr__(Linear1DFunction self) -> std::string"""
4482 return _IMP_isd.Linear1DFunction___repr__(self)
4487 return _object_cast_to_Linear1DFunction(o)
4489 Linear1DFunction_swigregister = _IMP_isd.Linear1DFunction_swigregister
4490 Linear1DFunction_swigregister(Linear1DFunction)
4492 class GeneralizedGuinierPorodFunction(UnivariateFunction):
4493 """Proxy of C++ IMP::isd::GeneralizedGuinierPorodFunction class"""
4494 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4496 def __init__(self, G, Rg, d, s, A):
4497 """__init__(IMP::isd::GeneralizedGuinierPorodFunction self, Particle G, Particle Rg, Particle d, Particle s, Particle A) -> GeneralizedGuinierPorodFunction"""
4498 this = _IMP_isd.new_GeneralizedGuinierPorodFunction(G, Rg, d, s, A)
4500 self.this.append(this)
4504 def __call__(self, *args):
4506 __call__(GeneralizedGuinierPorodFunction self, IMP::Floats const & x) -> IMP::Floats
4507 __call__(GeneralizedGuinierPorodFunction self, IMP::FloatsList const & xlist) -> Eigen::VectorXd
4508 __call__(GeneralizedGuinierPorodFunction self, IMP::FloatsList const & xlist, bool arg3) -> IMP::FloatsList
4510 return _IMP_isd.GeneralizedGuinierPorodFunction___call__(self, *args)
4513 def get_second_derivative_vector(self, *args):
4515 get_second_derivative_vector(GeneralizedGuinierPorodFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> Eigen::VectorXd
4516 get_second_derivative_vector(GeneralizedGuinierPorodFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool arg5) -> IMP::FloatsList
4518 return _IMP_isd.GeneralizedGuinierPorodFunction_get_second_derivative_vector(self, *args)
4522 """get_version_info(GeneralizedGuinierPorodFunction self) -> VersionInfo"""
4523 return _IMP_isd.GeneralizedGuinierPorodFunction_get_version_info(self)
4527 """__str__(GeneralizedGuinierPorodFunction self) -> std::string"""
4528 return _IMP_isd.GeneralizedGuinierPorodFunction___str__(self)
4532 """__repr__(GeneralizedGuinierPorodFunction self) -> std::string"""
4533 return _IMP_isd.GeneralizedGuinierPorodFunction___repr__(self)
4538 return _object_cast_to_GeneralizedGuinierPorodFunction(o)
4540 GeneralizedGuinierPorodFunction_swigregister = _IMP_isd.GeneralizedGuinierPorodFunction_swigregister
4541 GeneralizedGuinierPorodFunction_swigregister(GeneralizedGuinierPorodFunction)
4544 _IMP_isd.IMP_ISD_BIVARIATE_FUNCTIONS_MINIMUM_swigconstant(_IMP_isd)
4545 IMP_ISD_BIVARIATE_FUNCTIONS_MINIMUM = _IMP_isd.IMP_ISD_BIVARIATE_FUNCTIONS_MINIMUM
4547 """Proxy of C++ IMP::isd::BivariateFunction class"""
4548 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4550 def __init__(self, *args, **kwargs):
4551 raise AttributeError(
"No constructor defined - class is abstract")
4553 def __call__(self, *args):
4555 __call__(BivariateFunction self, IMP::Floats const & x1, IMP::Floats const & x2) -> IMP::Floats
4556 __call__(BivariateFunction self, IMP::FloatsList const & xlist) -> Eigen::MatrixXd
4557 __call__(BivariateFunction self, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
4559 return _IMP_isd.BivariateFunction___call__(self, *args)
4562 def has_changed(self):
4563 """has_changed(BivariateFunction self) -> bool"""
4564 return _IMP_isd.BivariateFunction_has_changed(self)
4568 """update(BivariateFunction self)"""
4569 return _IMP_isd.BivariateFunction_update(self)
4572 def add_to_derivatives(self, x1, x2, accum):
4573 """add_to_derivatives(BivariateFunction self, IMP::Floats const & x1, IMP::Floats const & x2, DerivativeAccumulator accum)"""
4574 return _IMP_isd.BivariateFunction_add_to_derivatives(self, x1, x2, accum)
4577 def add_to_particle_derivative(self, particle_no, value, accum):
4578 """add_to_particle_derivative(BivariateFunction self, unsigned int particle_no, double value, DerivativeAccumulator accum)"""
4579 return _IMP_isd.BivariateFunction_add_to_particle_derivative(self, particle_no, value, accum)
4582 def get_derivative_matrix(self, *args):
4584 get_derivative_matrix(BivariateFunction self, unsigned int particle_no, IMP::FloatsList const & xlist) -> Eigen::MatrixXd
4585 get_derivative_matrix(BivariateFunction self, unsigned int particle_no, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
4587 return _IMP_isd.BivariateFunction_get_derivative_matrix(self, *args)
4590 def get_second_derivative_matrix(self, *args):
4592 get_second_derivative_matrix(BivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> Eigen::MatrixXd
4593 get_second_derivative_matrix(BivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
4595 return _IMP_isd.BivariateFunction_get_second_derivative_matrix(self, *args)
4598 def get_ndims_x1(self):
4599 """get_ndims_x1(BivariateFunction self) -> unsigned int"""
4600 return _IMP_isd.BivariateFunction_get_ndims_x1(self)
4603 def get_ndims_x2(self):
4604 """get_ndims_x2(BivariateFunction self) -> unsigned int"""
4605 return _IMP_isd.BivariateFunction_get_ndims_x2(self)
4608 def get_ndims_y(self):
4609 """get_ndims_y(BivariateFunction self) -> unsigned int"""
4610 return _IMP_isd.BivariateFunction_get_ndims_y(self)
4613 def get_number_of_particles(self):
4614 """get_number_of_particles(BivariateFunction self) -> unsigned int"""
4615 return _IMP_isd.BivariateFunction_get_number_of_particles(self)
4618 def get_particle_is_optimized(self, particle_no):
4619 """get_particle_is_optimized(BivariateFunction self, unsigned int particle_no) -> bool"""
4620 return _IMP_isd.BivariateFunction_get_particle_is_optimized(self, particle_no)
4623 def get_number_of_optimized_particles(self):
4624 """get_number_of_optimized_particles(BivariateFunction self) -> unsigned int"""
4625 return _IMP_isd.BivariateFunction_get_number_of_optimized_particles(self)
4629 """get_inputs(BivariateFunction self) -> IMP::ModelObjectsTemp"""
4630 return _IMP_isd.BivariateFunction_get_inputs(self)
4632 __swig_destroy__ = _IMP_isd.delete_BivariateFunction
4633 __del__ =
lambda self:
None
4636 """__str__(BivariateFunction self) -> std::string"""
4637 return _IMP_isd.BivariateFunction___str__(self)
4641 """__repr__(BivariateFunction self) -> std::string"""
4642 return _IMP_isd.BivariateFunction___repr__(self)
4647 return _object_cast_to_BivariateFunction(o)
4649 BivariateFunction_swigregister = _IMP_isd.BivariateFunction_swigregister
4650 BivariateFunction_swigregister(BivariateFunction)
4652 class Covariance1DFunction(BivariateFunction):
4653 """Proxy of C++ IMP::isd::Covariance1DFunction class"""
4654 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4656 def __init__(self, tau, ilambda, alpha=2.0, jitter=0.0, cutoff=1e-7):
4658 __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda, double alpha=2.0, double jitter=0.0, double cutoff=1e-7) -> Covariance1DFunction
4659 __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda, double alpha=2.0, double jitter=0.0) -> Covariance1DFunction
4660 __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda, double alpha=2.0) -> Covariance1DFunction
4661 __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda) -> Covariance1DFunction
4663 this = _IMP_isd.new_Covariance1DFunction(tau, ilambda, alpha, jitter, cutoff)
4665 self.this.append(this)
4669 def __call__(self, *args):
4671 __call__(Covariance1DFunction self, IMP::Floats const & x1, IMP::Floats const & x2) -> IMP::Floats
4672 __call__(Covariance1DFunction self, IMP::FloatsList const & xlist) -> Eigen::MatrixXd
4673 __call__(Covariance1DFunction self, IMP::FloatsList const & xlist, bool arg3) -> IMP::FloatsList
4675 return _IMP_isd.Covariance1DFunction___call__(self, *args)
4678 def get_derivative_matrix(self, *args):
4680 get_derivative_matrix(Covariance1DFunction self, unsigned int particle_no, IMP::FloatsList const & xlist) -> Eigen::MatrixXd
4681 get_derivative_matrix(Covariance1DFunction self, unsigned int particle_no, IMP::FloatsList const & xlist, bool arg4) -> IMP::FloatsList
4683 return _IMP_isd.Covariance1DFunction_get_derivative_matrix(self, *args)
4686 def get_second_derivative_matrix(self, *args):
4688 get_second_derivative_matrix(Covariance1DFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> Eigen::MatrixXd
4689 get_second_derivative_matrix(Covariance1DFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool arg5) -> IMP::FloatsList
4691 return _IMP_isd.Covariance1DFunction_get_second_derivative_matrix(self, *args)
4695 """get_version_info(Covariance1DFunction self) -> VersionInfo"""
4696 return _IMP_isd.Covariance1DFunction_get_version_info(self)
4700 """__str__(Covariance1DFunction self) -> std::string"""
4701 return _IMP_isd.Covariance1DFunction___str__(self)
4705 """__repr__(Covariance1DFunction self) -> std::string"""
4706 return _IMP_isd.Covariance1DFunction___repr__(self)
4711 return _object_cast_to_Covariance1DFunction(o)
4713 Covariance1DFunction_swigregister = _IMP_isd.Covariance1DFunction_swigregister
4714 Covariance1DFunction_swigregister(Covariance1DFunction)
4716 class GaussianProcessInterpolation(
IMP.Object):
4717 """Proxy of C++ IMP::isd::GaussianProcessInterpolation class"""
4718 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4720 def __init__(self, x, sample_mean, sample_std, n_obs, mean_function, covariance_function, sigma, sparse_cutoff=1e-7):
4722 __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
4723 __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
4725 this = _IMP_isd.new_GaussianProcessInterpolation(x, sample_mean, sample_std, n_obs, mean_function, covariance_function, sigma, sparse_cutoff)
4727 self.this.append(this)
4731 def get_posterior_mean(self, x):
4732 """get_posterior_mean(GaussianProcessInterpolation self, IMP::Floats x) -> double"""
4733 return _IMP_isd.GaussianProcessInterpolation_get_posterior_mean(self, x)
4736 def get_posterior_covariance(self, x1, x2):
4737 """get_posterior_covariance(GaussianProcessInterpolation self, IMP::Floats x1, IMP::Floats x2) -> double"""
4738 return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance(self, x1, x2)
4741 def get_posterior_covariance_matrix(self, x, arg3):
4742 """get_posterior_covariance_matrix(GaussianProcessInterpolation self, IMP::FloatsList x, bool arg3) -> IMP::FloatsList"""
4743 return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance_matrix(self, x, arg3)
4746 def get_posterior_covariance_derivative(self, x, arg3):
4747 """get_posterior_covariance_derivative(GaussianProcessInterpolation self, IMP::Floats x, bool arg3) -> IMP::Floats"""
4748 return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance_derivative(self, x, arg3)
4751 def get_posterior_covariance_hessian(self, x, arg3):
4752 """get_posterior_covariance_hessian(GaussianProcessInterpolation self, IMP::Floats x, bool arg3) -> IMP::FloatsList"""
4753 return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance_hessian(self, x, arg3)
4757 """get_inputs(GaussianProcessInterpolation self) -> IMP::ModelObjectsTemp"""
4758 return _IMP_isd.GaussianProcessInterpolation_get_inputs(self)
4761 def force_mean_update(self):
4762 """force_mean_update(GaussianProcessInterpolation self)"""
4763 return _IMP_isd.GaussianProcessInterpolation_force_mean_update(self)
4766 def force_covariance_update(self):
4767 """force_covariance_update(GaussianProcessInterpolation self)"""
4768 return _IMP_isd.GaussianProcessInterpolation_force_covariance_update(self)
4771 def get_number_of_m_particles(self):
4772 """get_number_of_m_particles(GaussianProcessInterpolation self) -> unsigned int"""
4773 return _IMP_isd.GaussianProcessInterpolation_get_number_of_m_particles(self)
4776 def get_m_particle_is_optimized(self, i):
4777 """get_m_particle_is_optimized(GaussianProcessInterpolation self, unsigned int i) -> bool"""
4778 return _IMP_isd.GaussianProcessInterpolation_get_m_particle_is_optimized(self, i)
4781 def get_number_of_Omega_particles(self):
4782 """get_number_of_Omega_particles(GaussianProcessInterpolation self) -> unsigned int"""
4783 return _IMP_isd.GaussianProcessInterpolation_get_number_of_Omega_particles(self)
4786 def get_Omega_particle_is_optimized(self, i):
4787 """get_Omega_particle_is_optimized(GaussianProcessInterpolation self, unsigned int i) -> bool"""
4788 return _IMP_isd.GaussianProcessInterpolation_get_Omega_particle_is_optimized(self, i)
4791 def get_data_abscissa(self):
4792 """get_data_abscissa(GaussianProcessInterpolation self) -> IMP::FloatsList"""
4793 return _IMP_isd.GaussianProcessInterpolation_get_data_abscissa(self)
4796 def get_data_mean(self):
4797 """get_data_mean(GaussianProcessInterpolation self) -> IMP::Floats"""
4798 return _IMP_isd.GaussianProcessInterpolation_get_data_mean(self)
4801 def get_data_variance(self):
4802 """get_data_variance(GaussianProcessInterpolation self) -> IMP::FloatsList"""
4803 return _IMP_isd.GaussianProcessInterpolation_get_data_variance(self)
4807 """get_version_info(GaussianProcessInterpolation self) -> VersionInfo"""
4808 return _IMP_isd.GaussianProcessInterpolation_get_version_info(self)
4812 """__str__(GaussianProcessInterpolation self) -> std::string"""
4813 return _IMP_isd.GaussianProcessInterpolation___str__(self)
4817 """__repr__(GaussianProcessInterpolation self) -> std::string"""
4818 return _IMP_isd.GaussianProcessInterpolation___repr__(self)
4823 return _object_cast_to_GaussianProcessInterpolation(o)
4825 GaussianProcessInterpolation_swigregister = _IMP_isd.GaussianProcessInterpolation_swigregister
4826 GaussianProcessInterpolation_swigregister(GaussianProcessInterpolation)
4829 """Proxy of C++ IMP::isd::GaussianProcessInterpolationRestraint class"""
4830 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4832 def __init__(self, m, gpi):
4833 """__init__(IMP::isd::GaussianProcessInterpolationRestraint self, Model m, GaussianProcessInterpolation gpi) -> GaussianProcessInterpolationRestraint"""
4834 this = _IMP_isd.new_GaussianProcessInterpolationRestraint(m, gpi)
4836 self.this.append(this)
4840 def get_probability(self):
4841 """get_probability(GaussianProcessInterpolationRestraint self) -> double"""
4842 return _IMP_isd.GaussianProcessInterpolationRestraint_get_probability(self)
4845 def set_use_cg(self, use, tol):
4846 """set_use_cg(GaussianProcessInterpolationRestraint self, bool use, double tol)"""
4847 return _IMP_isd.GaussianProcessInterpolationRestraint_set_use_cg(self, use, tol)
4850 def get_minus_log_normalization(self):
4851 """get_minus_log_normalization(GaussianProcessInterpolationRestraint self) -> double"""
4852 return _IMP_isd.GaussianProcessInterpolationRestraint_get_minus_log_normalization(self)
4855 def get_minus_exponent(self):
4856 """get_minus_exponent(GaussianProcessInterpolationRestraint self) -> double"""
4857 return _IMP_isd.GaussianProcessInterpolationRestraint_get_minus_exponent(self)
4860 def get_logdet_hessian(self):
4861 """get_logdet_hessian(GaussianProcessInterpolationRestraint self) -> double"""
4862 return _IMP_isd.GaussianProcessInterpolationRestraint_get_logdet_hessian(self)
4865 def get_hessian(self, *args):
4867 get_hessian(GaussianProcessInterpolationRestraint self) -> Eigen::MatrixXd
4868 get_hessian(GaussianProcessInterpolationRestraint self, bool unused) -> IMP::FloatsList
4870 return _IMP_isd.GaussianProcessInterpolationRestraint_get_hessian(self, *args)
4874 """do_get_inputs(GaussianProcessInterpolationRestraint self) -> IMP::ModelObjectsTemp"""
4875 return _IMP_isd.GaussianProcessInterpolationRestraint_do_get_inputs(self)
4879 """get_version_info(GaussianProcessInterpolationRestraint self) -> VersionInfo"""
4880 return _IMP_isd.GaussianProcessInterpolationRestraint_get_version_info(self)
4884 """__str__(GaussianProcessInterpolationRestraint self) -> std::string"""
4885 return _IMP_isd.GaussianProcessInterpolationRestraint___str__(self)
4889 """__repr__(GaussianProcessInterpolationRestraint self) -> std::string"""
4890 return _IMP_isd.GaussianProcessInterpolationRestraint___repr__(self)
4895 return _object_cast_to_GaussianProcessInterpolationRestraint(o)
4897 GaussianProcessInterpolationRestraint_swigregister = _IMP_isd.GaussianProcessInterpolationRestraint_swigregister
4898 GaussianProcessInterpolationRestraint_swigregister(GaussianProcessInterpolationRestraint)
4901 """Proxy of C++ IMP::isd::MolecularDynamics class"""
4902 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4904 def __init__(self, m=None):
4906 __init__(IMP::isd::MolecularDynamics self, Model m=None) -> MolecularDynamics
4907 __init__(IMP::isd::MolecularDynamics self) -> MolecularDynamics
4909 this = _IMP_isd.new_MolecularDynamics(m)
4911 self.this.append(this)
4916 """__str__(MolecularDynamics self) -> std::string"""
4917 return _IMP_isd.MolecularDynamics___str__(self)
4921 """__repr__(MolecularDynamics self) -> std::string"""
4922 return _IMP_isd.MolecularDynamics___repr__(self)
4927 return _object_cast_to_MolecularDynamics(o)
4929 __swig_destroy__ = _IMP_isd.delete_MolecularDynamics
4930 __del__ =
lambda self:
None
4931 MolecularDynamics_swigregister = _IMP_isd.MolecularDynamics_swigregister
4932 MolecularDynamics_swigregister(MolecularDynamics)
4935 """Proxy of C++ IMP::isd::MolecularDynamicsMover class"""
4936 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4938 def __init__(self, m, nsteps=100, timestep=1.):
4940 __init__(IMP::isd::MolecularDynamicsMover self, Model m, unsigned int nsteps=100, IMP::Float timestep=1.) -> MolecularDynamicsMover
4941 __init__(IMP::isd::MolecularDynamicsMover self, Model m, unsigned int nsteps=100) -> MolecularDynamicsMover
4942 __init__(IMP::isd::MolecularDynamicsMover self, Model m) -> MolecularDynamicsMover
4944 this = _IMP_isd.new_MolecularDynamicsMover(m, nsteps, timestep)
4946 self.this.append(this)
4951 """get_md(MolecularDynamicsMover self) -> MolecularDynamics"""
4952 return _IMP_isd.MolecularDynamicsMover_get_md(self)
4955 def get_number_of_md_steps(self):
4956 """get_number_of_md_steps(MolecularDynamicsMover self) -> unsigned int"""
4957 return _IMP_isd.MolecularDynamicsMover_get_number_of_md_steps(self)
4960 def set_number_of_md_steps(self, nsteps):
4961 """set_number_of_md_steps(MolecularDynamicsMover self, unsigned int nsteps)"""
4962 return _IMP_isd.MolecularDynamicsMover_set_number_of_md_steps(self, nsteps)
4966 """get_version_info(MolecularDynamicsMover self) -> VersionInfo"""
4967 return _IMP_isd.MolecularDynamicsMover_get_version_info(self)
4971 """__str__(MolecularDynamicsMover self) -> std::string"""
4972 return _IMP_isd.MolecularDynamicsMover___str__(self)
4976 """__repr__(MolecularDynamicsMover self) -> std::string"""
4977 return _IMP_isd.MolecularDynamicsMover___repr__(self)
4982 return _object_cast_to_MolecularDynamicsMover(o)
4984 MolecularDynamicsMover_swigregister = _IMP_isd.MolecularDynamicsMover_swigregister
4985 MolecularDynamicsMover_swigregister(MolecularDynamicsMover)
4988 """Proxy of C++ IMP::isd::HybridMonteCarlo class"""
4989 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4991 def __init__(self, m, kT=1.0, steps=100, timestep=1.0, persistence=1):
4993 __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
4994 __init__(IMP::isd::HybridMonteCarlo self, Model m, IMP::Float kT=1.0, unsigned int steps=100, IMP::Float timestep=1.0) -> HybridMonteCarlo
4995 __init__(IMP::isd::HybridMonteCarlo self, Model m, IMP::Float kT=1.0, unsigned int steps=100) -> HybridMonteCarlo
4996 __init__(IMP::isd::HybridMonteCarlo self, Model m, IMP::Float kT=1.0) -> HybridMonteCarlo
4997 __init__(IMP::isd::HybridMonteCarlo self, Model m) -> HybridMonteCarlo
4999 this = _IMP_isd.new_HybridMonteCarlo(m, kT, steps, timestep, persistence)
5001 self.this.append(this)
5005 def get_kinetic_energy(self):
5006 """get_kinetic_energy(HybridMonteCarlo self) -> IMP::Float"""
5007 return _IMP_isd.HybridMonteCarlo_get_kinetic_energy(self)
5010 def get_potential_energy(self):
5011 """get_potential_energy(HybridMonteCarlo self) -> IMP::Float"""
5012 return _IMP_isd.HybridMonteCarlo_get_potential_energy(self)
5015 def get_total_energy(self):
5016 """get_total_energy(HybridMonteCarlo self) -> IMP::Float"""
5017 return _IMP_isd.HybridMonteCarlo_get_total_energy(self)
5020 def set_timestep(self, ts):
5021 """set_timestep(HybridMonteCarlo self, IMP::Float ts)"""
5022 return _IMP_isd.HybridMonteCarlo_set_timestep(self, ts)
5025 def get_timestep(self):
5026 """get_timestep(HybridMonteCarlo self) -> double"""
5027 return _IMP_isd.HybridMonteCarlo_get_timestep(self)
5030 def set_number_of_md_steps(self, nsteps):
5031 """set_number_of_md_steps(HybridMonteCarlo self, unsigned int nsteps)"""
5032 return _IMP_isd.HybridMonteCarlo_set_number_of_md_steps(self, nsteps)
5035 def get_number_of_md_steps(self):
5036 """get_number_of_md_steps(HybridMonteCarlo self) -> unsigned int"""
5037 return _IMP_isd.HybridMonteCarlo_get_number_of_md_steps(self)
5040 def set_persistence(self, persistence=1):
5042 set_persistence(HybridMonteCarlo self, unsigned int persistence=1)
5043 set_persistence(HybridMonteCarlo self)
5045 return _IMP_isd.HybridMonteCarlo_set_persistence(self, persistence)
5048 def get_persistence(self):
5049 """get_persistence(HybridMonteCarlo self) -> unsigned int"""
5050 return _IMP_isd.HybridMonteCarlo_get_persistence(self)
5054 """get_md(HybridMonteCarlo self) -> MolecularDynamics"""
5055 return _IMP_isd.HybridMonteCarlo_get_md(self)
5058 def do_evaluate(self, arg2, arg3):
5059 """do_evaluate(HybridMonteCarlo self, IMP::ParticleIndexes const & arg2, bool arg3) -> double"""
5060 return _IMP_isd.HybridMonteCarlo_do_evaluate(self, arg2, arg3)
5064 """do_step(HybridMonteCarlo self)"""
5065 return _IMP_isd.HybridMonteCarlo_do_step(self)
5069 """__str__(HybridMonteCarlo self) -> std::string"""
5070 return _IMP_isd.HybridMonteCarlo___str__(self)
5074 """__repr__(HybridMonteCarlo self) -> std::string"""
5075 return _IMP_isd.HybridMonteCarlo___repr__(self)
5080 return _object_cast_to_HybridMonteCarlo(o)
5082 HybridMonteCarlo_swigregister = _IMP_isd.HybridMonteCarlo_swigregister
5083 HybridMonteCarlo_swigregister(HybridMonteCarlo)
5086 """Proxy of C++ IMP::isd::FretData class"""
5087 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5089 def __init__(self, d_term, d_center, d_int, s_grid, R0, Rmin, Rmax, do_limit=True):
5091 __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
5092 __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
5094 this = _IMP_isd.new_FretData(d_term, d_center, d_int, s_grid, R0, Rmin, Rmax, do_limit)
5096 self.this.append(this)
5100 def get_closest(self, vec, value):
5101 """get_closest(FretData self, DistBase vec, double value) -> int"""
5102 return _IMP_isd.FretData_get_closest(self, vec, value)
5105 def get_probability(self, distn, dist, sigma):
5106 """get_probability(FretData self, IMP::Float distn, IMP::Float dist, IMP::Float sigma) -> IMP::Float"""
5107 return _IMP_isd.FretData_get_probability(self, distn, dist, sigma)
5110 def get_kernel(self, dist, R0):
5111 """get_kernel(FretData self, IMP::Float dist, IMP::Float R0) -> IMP::Float"""
5112 return _IMP_isd.FretData_get_kernel(self, dist, R0)
5115 def get_marginal_element(self, d_term, d_center, sigma):
5116 """get_marginal_element(FretData self, IMP::Float d_term, IMP::Float d_center, IMP::Float sigma) -> IMP::FloatPair"""
5117 return _IMP_isd.FretData_get_marginal_element(self, d_term, d_center, sigma)
5121 """get_version_info(FretData self) -> VersionInfo"""
5122 return _IMP_isd.FretData_get_version_info(self)
5126 """__str__(FretData self) -> std::string"""
5127 return _IMP_isd.FretData___str__(self)
5131 """__repr__(FretData self) -> std::string"""
5132 return _IMP_isd.FretData___repr__(self)
5137 return _object_cast_to_FretData(o)
5139 FretData_swigregister = _IMP_isd.FretData_swigregister
5140 FretData_swigregister(FretData)
5143 """Proxy of C++ IMP::isd::FretRestraint class"""
5144 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5146 def __init__(self, *args):
5148 __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
5149 __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
5150 __init__(IMP::isd::FretRestraint self, IMP::Particles pd, IMP::Particles pa, Particle kda, Particle Ida, Particle R0, Particle sigma0, Particle Pbl, double fexp) -> FretRestraint
5151 __init__(IMP::isd::FretRestraint self, Particle kda, Particle Ida, Particle sumFi, Particle sigma0, Particle Pbl, double fexp) -> FretRestraint
5152 __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
5154 this = _IMP_isd.new_FretRestraint(*args)
5156 self.this.append(this)
5160 def get_sumFi(self):
5161 """get_sumFi(FretRestraint self) -> double"""
5162 return _IMP_isd.FretRestraint_get_sumFi(self)
5165 def get_average_sigma(self, fmod):
5166 """get_average_sigma(FretRestraint self, double fmod) -> double"""
5167 return _IMP_isd.FretRestraint_get_average_sigma(self, fmod)
5170 def get_standard_error(self):
5171 """get_standard_error(FretRestraint self) -> double"""
5172 return _IMP_isd.FretRestraint_get_standard_error(self)
5175 def get_model_fretr(self):
5176 """get_model_fretr(FretRestraint self) -> double"""
5177 return _IMP_isd.FretRestraint_get_model_fretr(self)
5180 def get_probability(self):
5181 """get_probability(FretRestraint self) -> double"""
5182 return _IMP_isd.FretRestraint_get_probability(self)
5185 def get_experimental_value(self):
5186 """get_experimental_value(FretRestraint self) -> double"""
5187 return _IMP_isd.FretRestraint_get_experimental_value(self)
5190 def set_experimental_value(self, fexp):
5191 """set_experimental_value(FretRestraint self, double fexp)"""
5192 return _IMP_isd.FretRestraint_set_experimental_value(self, fexp)
5196 """do_get_inputs(FretRestraint self) -> IMP::ModelObjectsTemp"""
5197 return _IMP_isd.FretRestraint_do_get_inputs(self)
5201 """get_version_info(FretRestraint self) -> VersionInfo"""
5202 return _IMP_isd.FretRestraint_get_version_info(self)
5206 """__str__(FretRestraint self) -> std::string"""
5207 return _IMP_isd.FretRestraint___str__(self)
5211 """__repr__(FretRestraint self) -> std::string"""
5212 return _IMP_isd.FretRestraint___repr__(self)
5217 return _object_cast_to_FretRestraint(o)
5219 FretRestraint_swigregister = _IMP_isd.FretRestraint_swigregister
5220 FretRestraint_swigregister(FretRestraint)
5223 """Proxy of C++ IMP::isd::CysteineCrossLinkData class"""
5224 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5226 def __init__(self, fexp, fmod_grid, omega_grid, omega0_grid, prior_type=3):
5228 __init__(IMP::isd::CysteineCrossLinkData self, double fexp, IMP::Floats fmod_grid, IMP::Floats omega_grid, IMP::Floats omega0_grid, int prior_type=3) -> CysteineCrossLinkData
5229 __init__(IMP::isd::CysteineCrossLinkData self, double fexp, IMP::Floats fmod_grid, IMP::Floats omega_grid, IMP::Floats omega0_grid) -> CysteineCrossLinkData
5231 this = _IMP_isd.new_CysteineCrossLinkData(fexp, fmod_grid, omega_grid, omega0_grid, prior_type)
5233 self.this.append(this)
5237 def get_closest(self, vec, value):
5238 """get_closest(CysteineCrossLinkData self, DistBase vec, double value) -> int"""
5239 return _IMP_isd.CysteineCrossLinkData_get_closest(self, vec, value)
5242 def get_omegas(self, fmods, omega0):
5243 """get_omegas(CysteineCrossLinkData self, IMP::Floats fmods, double omega0) -> IMP::Floats"""
5244 return _IMP_isd.CysteineCrossLinkData_get_omegas(self, fmods, omega0)
5247 def get_nonmarginal_elements(self, fexp, fmods, omega):
5248 """get_nonmarginal_elements(CysteineCrossLinkData self, double fexp, IMP::Floats fmods, double omega) -> IMP::Floats"""
5249 return _IMP_isd.CysteineCrossLinkData_get_nonmarginal_elements(self, fexp, fmods, omega)
5252 def get_marginal_elements(self, fmods, omega0):
5253 """get_marginal_elements(CysteineCrossLinkData self, IMP::Floats fmods, double omega0) -> IMP::Floats"""
5254 return _IMP_isd.CysteineCrossLinkData_get_marginal_elements(self, fmods, omega0)
5257 def get_omega(self, fmod, omega0):
5258 """get_omega(CysteineCrossLinkData self, double fmod, double omega0) -> double"""
5259 return _IMP_isd.CysteineCrossLinkData_get_omega(self, fmod, omega0)
5262 def get_standard_deviation(self, fmod, omega0):
5263 """get_standard_deviation(CysteineCrossLinkData self, double fmod, double omega0) -> double"""
5264 return _IMP_isd.CysteineCrossLinkData_get_standard_deviation(self, fmod, omega0)
5267 def get_nonmarginal_element(self, fexp, fmod, omega):
5268 """get_nonmarginal_element(CysteineCrossLinkData self, double fexp, double fmod, double omega) -> double"""
5269 return _IMP_isd.CysteineCrossLinkData_get_nonmarginal_element(self, fexp, fmod, omega)
5272 def get_marginal_element(self, fmod, omega0):
5273 """get_marginal_element(CysteineCrossLinkData self, double fmod, double omega0) -> double"""
5274 return _IMP_isd.CysteineCrossLinkData_get_marginal_element(self, fmod, omega0)
5278 """get_version_info(CysteineCrossLinkData self) -> VersionInfo"""
5279 return _IMP_isd.CysteineCrossLinkData_get_version_info(self)
5283 """__str__(CysteineCrossLinkData self) -> std::string"""
5284 return _IMP_isd.CysteineCrossLinkData___str__(self)
5288 """__repr__(CysteineCrossLinkData self) -> std::string"""
5289 return _IMP_isd.CysteineCrossLinkData___repr__(self)
5294 return _object_cast_to_CysteineCrossLinkData(o)
5296 CysteineCrossLinkData_swigregister = _IMP_isd.CysteineCrossLinkData_swigregister
5297 CysteineCrossLinkData_swigregister(CysteineCrossLinkData)
5300 """Proxy of C++ IMP::isd::CrossLinkData class"""
5301 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5303 def __init__(self, *args):
5305 __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
5306 __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, double lexp_, double don, double doff) -> CrossLinkData
5307 __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, double lexp_, double don) -> CrossLinkData
5308 __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, double lexp_) -> CrossLinkData
5309 __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
5310 __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
5311 __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
5312 __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
5314 this = _IMP_isd.new_CrossLinkData(*args)
5316 self.this.append(this)
5320 def get_closest(self, vec, value):
5321 """get_closest(CrossLinkData self, DistBase vec, double value) -> int"""
5322 return _IMP_isd.CrossLinkData_get_closest(self, vec, value)
5325 def get_omegas(self, sigma, dists):
5326 """get_omegas(CrossLinkData self, double sigma, IMP::Floats dists) -> IMP::Floats"""
5327 return _IMP_isd.CrossLinkData_get_omegas(self, sigma, dists)
5330 def get_omega_prior(self, omega, omega0):
5331 """get_omega_prior(CrossLinkData self, double omega, double omega0) -> double"""
5332 return _IMP_isd.CrossLinkData_get_omega_prior(self, omega, omega0)
5335 def get_nonmarginal_elements(self, sigmai, dists):
5336 """get_nonmarginal_elements(CrossLinkData self, double sigmai, IMP::Floats dists) -> IMP::Floats"""
5337 return _IMP_isd.CrossLinkData_get_nonmarginal_elements(self, sigmai, dists)
5340 def get_marginal_elements(self, sigma, dists):
5341 """get_marginal_elements(CrossLinkData self, double sigma, IMP::Floats dists) -> IMP::Floats"""
5342 return _IMP_isd.CrossLinkData_get_marginal_elements(self, sigma, dists)
5345 def get_marginal_maximum(self, *args):
5347 get_marginal_maximum(CrossLinkData self, double sigma) -> double
5348 get_marginal_maximum(CrossLinkData self) -> double
5350 return _IMP_isd.CrossLinkData_get_marginal_maximum(self, *args)
5354 """get_version_info(CrossLinkData self) -> VersionInfo"""
5355 return _IMP_isd.CrossLinkData_get_version_info(self)
5359 """__str__(CrossLinkData self) -> std::string"""
5360 return _IMP_isd.CrossLinkData___str__(self)
5364 """__repr__(CrossLinkData self) -> std::string"""
5365 return _IMP_isd.CrossLinkData___repr__(self)
5370 return _object_cast_to_CrossLinkData(o)
5372 CrossLinkData_swigregister = _IMP_isd.CrossLinkData_swigregister
5373 CrossLinkData_swigregister(CrossLinkData)
5376 """Proxy of C++ IMP::isd::CysteineCrossLinkRestraint class"""
5377 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5379 def __init__(self, *args):
5381 __init__(IMP::isd::CysteineCrossLinkRestraint self, Model m, _ParticleIndexAdaptor beta, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor epsilon, _ParticleIndexAdaptor weight, CrossLinkData data, double fexp) -> CysteineCrossLinkRestraint
5382 __init__(IMP::isd::CysteineCrossLinkRestraint self, Model m, _ParticleIndexAdaptor beta, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor epsilon, _ParticleIndexAdaptor weight, CrossLinkData data, CysteineCrossLinkData ccldata) -> CysteineCrossLinkRestraint
5384 this = _IMP_isd.new_CysteineCrossLinkRestraint(*args)
5386 self.this.append(this)
5390 def get_probability(self):
5391 """get_probability(CysteineCrossLinkRestraint self) -> double"""
5392 return _IMP_isd.CysteineCrossLinkRestraint_get_probability(self)
5395 def get_standard_error(self):
5396 """get_standard_error(CysteineCrossLinkRestraint self) -> double"""
5397 return _IMP_isd.CysteineCrossLinkRestraint_get_standard_error(self)
5400 def get_frequencies(self):
5401 """get_frequencies(CysteineCrossLinkRestraint self) -> IMP::Floats"""
5402 return _IMP_isd.CysteineCrossLinkRestraint_get_frequencies(self)
5405 def get_model_frequency(self):
5406 """get_model_frequency(CysteineCrossLinkRestraint self) -> double"""
5407 return _IMP_isd.CysteineCrossLinkRestraint_get_model_frequency(self)
5410 def get_distances(self):
5411 """get_distances(CysteineCrossLinkRestraint self) -> IMP::Floats"""
5412 return _IMP_isd.CysteineCrossLinkRestraint_get_distances(self)
5415 def get_truncated_normalization(self, mean, sigma):
5416 """get_truncated_normalization(CysteineCrossLinkRestraint self, double mean, double sigma) -> double"""
5417 return _IMP_isd.CysteineCrossLinkRestraint_get_truncated_normalization(self, mean, sigma)
5420 def get_normal_pdf(self, mean, sigma, x):
5421 """get_normal_pdf(CysteineCrossLinkRestraint self, double mean, double sigma, double x) -> double"""
5422 return _IMP_isd.CysteineCrossLinkRestraint_get_normal_pdf(self, mean, sigma, x)
5425 def add_contribution(self, *args):
5427 add_contribution(CysteineCrossLinkRestraint self, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2)
5428 add_contribution(CysteineCrossLinkRestraint self, IMP::ParticleIndexes p1, IMP::ParticleIndexes p2)
5430 return _IMP_isd.CysteineCrossLinkRestraint_add_contribution(self, *args)
5433 def get_CB_coordinates(self, ps):
5434 """get_CB_coordinates(CysteineCrossLinkRestraint self, IMP::ParticleIndexes const & ps) -> Vector3D"""
5435 return _IMP_isd.CysteineCrossLinkRestraint_get_CB_coordinates(self, ps)
5438 def get_number_of_contributions(self):
5439 """get_number_of_contributions(CysteineCrossLinkRestraint self) -> unsigned int"""
5440 return _IMP_isd.CysteineCrossLinkRestraint_get_number_of_contributions(self)
5444 """do_get_inputs(CysteineCrossLinkRestraint self) -> IMP::ModelObjectsTemp"""
5445 return _IMP_isd.CysteineCrossLinkRestraint_do_get_inputs(self)
5449 """get_version_info(CysteineCrossLinkRestraint self) -> VersionInfo"""
5450 return _IMP_isd.CysteineCrossLinkRestraint_get_version_info(self)
5454 """__str__(CysteineCrossLinkRestraint self) -> std::string"""
5455 return _IMP_isd.CysteineCrossLinkRestraint___str__(self)
5459 """__repr__(CysteineCrossLinkRestraint self) -> std::string"""
5460 return _IMP_isd.CysteineCrossLinkRestraint___repr__(self)
5465 return _object_cast_to_CysteineCrossLinkRestraint(o)
5467 CysteineCrossLinkRestraint_swigregister = _IMP_isd.CysteineCrossLinkRestraint_swigregister
5468 CysteineCrossLinkRestraint_swigregister(CysteineCrossLinkRestraint)
5471 """Proxy of C++ IMP::isd::WeightMover class"""
5472 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5474 def __init__(self, w, radius):
5475 """__init__(IMP::isd::WeightMover self, Particle w, IMP::Float radius) -> WeightMover"""
5476 this = _IMP_isd.new_WeightMover(w, radius)
5478 self.this.append(this)
5482 def set_radius(self, radius):
5483 """set_radius(WeightMover self, IMP::Float radius)"""
5484 return _IMP_isd.WeightMover_set_radius(self, radius)
5487 def get_radius(self):
5488 """get_radius(WeightMover self) -> IMP::Float"""
5489 return _IMP_isd.WeightMover_get_radius(self)
5493 """get_version_info(WeightMover self) -> VersionInfo"""
5494 return _IMP_isd.WeightMover_get_version_info(self)
5498 """__str__(WeightMover self) -> std::string"""
5499 return _IMP_isd.WeightMover___str__(self)
5503 """__repr__(WeightMover self) -> std::string"""
5504 return _IMP_isd.WeightMover___repr__(self)
5509 return _object_cast_to_WeightMover(o)
5511 WeightMover_swigregister = _IMP_isd.WeightMover_swigregister
5512 WeightMover_swigregister(WeightMover)
5515 """Proxy of C++ IMP::isd::WeightRestraint class"""
5516 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5518 def __init__(self, w, wmin, wmax, kappa):
5519 """__init__(IMP::isd::WeightRestraint self, Particle w, IMP::Float wmin, IMP::Float wmax, IMP::Float kappa) -> WeightRestraint"""
5520 this = _IMP_isd.new_WeightRestraint(w, wmin, wmax, kappa)
5522 self.this.append(this)
5527 """do_get_inputs(WeightRestraint self) -> IMP::ModelObjectsTemp"""
5528 return _IMP_isd.WeightRestraint_do_get_inputs(self)
5532 """get_version_info(WeightRestraint self) -> VersionInfo"""
5533 return _IMP_isd.WeightRestraint_get_version_info(self)
5537 """__str__(WeightRestraint self) -> std::string"""
5538 return _IMP_isd.WeightRestraint___str__(self)
5542 """__repr__(WeightRestraint self) -> std::string"""
5543 return _IMP_isd.WeightRestraint___repr__(self)
5548 return _object_cast_to_WeightRestraint(o)
5550 WeightRestraint_swigregister = _IMP_isd.WeightRestraint_swigregister
5551 WeightRestraint_swigregister(WeightRestraint)
5554 """Proxy of C++ IMP::isd::AtomicCrossLinkMSRestraint class"""
5555 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5557 def __init__(self, *args):
5559 __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
5560 __init__(IMP::isd::AtomicCrossLinkMSRestraint self, Model m, double length, ParticleIndex psi, IMP::Float slope=0.0, bool part_of_log_score=False) -> AtomicCrossLinkMSRestraint
5561 __init__(IMP::isd::AtomicCrossLinkMSRestraint self, Model m, double length, ParticleIndex psi, IMP::Float slope=0.0) -> AtomicCrossLinkMSRestraint
5562 __init__(IMP::isd::AtomicCrossLinkMSRestraint self, Model m, double length, ParticleIndex psi) -> AtomicCrossLinkMSRestraint
5564 this = _IMP_isd.new_AtomicCrossLinkMSRestraint(*args)
5566 self.this.append(this)
5570 def add_contribution(self, ppi, sigmas):
5571 """add_contribution(AtomicCrossLinkMSRestraint self, IMP::ParticleIndexPair const & ppi, IMP::ParticleIndexPair const & sigmas)"""
5572 return _IMP_isd.AtomicCrossLinkMSRestraint_add_contribution(self, ppi, sigmas)
5575 def evaluate_for_contributions(self, c, accum):
5576 """evaluate_for_contributions(AtomicCrossLinkMSRestraint self, IMP::Ints c, DerivativeAccumulator accum) -> IMP::Float"""
5577 return _IMP_isd.AtomicCrossLinkMSRestraint_evaluate_for_contributions(self, c, accum)
5580 def get_number_of_contributions(self):
5581 """get_number_of_contributions(AtomicCrossLinkMSRestraint self) -> unsigned int"""
5582 return _IMP_isd.AtomicCrossLinkMSRestraint_get_number_of_contributions(self)
5585 def get_contribution(self, i):
5586 """get_contribution(AtomicCrossLinkMSRestraint self, int i) -> IMP::ParticleIndexPair"""
5587 return _IMP_isd.AtomicCrossLinkMSRestraint_get_contribution(self, i)
5590 def get_contribution_sigmas(self, i):
5591 """get_contribution_sigmas(AtomicCrossLinkMSRestraint self, int i) -> IMP::ParticleIndexPair"""
5592 return _IMP_isd.AtomicCrossLinkMSRestraint_get_contribution_sigmas(self, i)
5596 """get_psi(AtomicCrossLinkMSRestraint self) -> ParticleIndex"""
5597 return _IMP_isd.AtomicCrossLinkMSRestraint_get_psi(self)
5601 """do_get_inputs(AtomicCrossLinkMSRestraint self) -> IMP::ModelObjectsTemp"""
5602 return _IMP_isd.AtomicCrossLinkMSRestraint_do_get_inputs(self)
5605 def show(self, out):
5606 """show(AtomicCrossLinkMSRestraint self, _ostream out)"""
5607 return _IMP_isd.AtomicCrossLinkMSRestraint_show(self, out)
5610 def set_slope(self, slope):
5611 """set_slope(AtomicCrossLinkMSRestraint self, IMP::Float slope)"""
5612 return _IMP_isd.AtomicCrossLinkMSRestraint_set_slope(self, slope)
5615 def set_part_of_log_score(self, hey):
5616 """set_part_of_log_score(AtomicCrossLinkMSRestraint self, bool hey)"""
5617 return _IMP_isd.AtomicCrossLinkMSRestraint_set_part_of_log_score(self, hey)
5621 """get_version_info(AtomicCrossLinkMSRestraint self) -> VersionInfo"""
5622 return _IMP_isd.AtomicCrossLinkMSRestraint_get_version_info(self)
5626 """__str__(AtomicCrossLinkMSRestraint self) -> std::string"""
5627 return _IMP_isd.AtomicCrossLinkMSRestraint___str__(self)
5631 """__repr__(AtomicCrossLinkMSRestraint self) -> std::string"""
5632 return _IMP_isd.AtomicCrossLinkMSRestraint___repr__(self)
5637 return _object_cast_to_AtomicCrossLinkMSRestraint(o)
5639 AtomicCrossLinkMSRestraint_swigregister = _IMP_isd.AtomicCrossLinkMSRestraint_swigregister
5640 AtomicCrossLinkMSRestraint_swigregister(AtomicCrossLinkMSRestraint)
5643 """Proxy of C++ IMP::isd::GaussianEMRestraint class"""
5644 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5646 def __init__(self, *args):
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, bool update_model=True, bool backbone_slope=False, bool local=False, std::string name) -> GaussianEMRestraint
5649 __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
5650 __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
5651 __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
5652 __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
5654 this = _IMP_isd.new_GaussianEMRestraint(*args)
5656 self.this.append(this)
5660 def get_probability(self):
5661 """get_probability(GaussianEMRestraint self) -> double"""
5662 return _IMP_isd.GaussianEMRestraint_get_probability(self)
5666 """get_cross_correlation_coefficient(GaussianEMRestraint self) -> double"""
5667 return _IMP_isd.GaussianEMRestraint_get_cross_correlation_coefficient(self)
5670 def set_density_filename(self, density_fn):
5671 """set_density_filename(GaussianEMRestraint self, std::string density_fn)"""
5672 return _IMP_isd.GaussianEMRestraint_set_density_filename(self, density_fn)
5675 def compute_initial_scores(self):
5676 """compute_initial_scores(GaussianEMRestraint self)"""
5677 return _IMP_isd.GaussianEMRestraint_compute_initial_scores(self)
5680 def set_slope(self, s):
5681 """set_slope(GaussianEMRestraint self, IMP::Float s)"""
5682 return _IMP_isd.GaussianEMRestraint_set_slope(self, s)
5685 def get_slope(self):
5686 """get_slope(GaussianEMRestraint self) -> IMP::Float"""
5687 return _IMP_isd.GaussianEMRestraint_get_slope(self)
5691 """do_get_inputs(GaussianEMRestraint self) -> IMP::ModelObjectsTemp"""
5692 return _IMP_isd.GaussianEMRestraint_do_get_inputs(self)
5695 def show(self, out):
5696 """show(GaussianEMRestraint self, _ostream out)"""
5697 return _IMP_isd.GaussianEMRestraint_show(self, out)
5701 """get_version_info(GaussianEMRestraint self) -> VersionInfo"""
5702 return _IMP_isd.GaussianEMRestraint_get_version_info(self)
5706 """__str__(GaussianEMRestraint self) -> std::string"""
5707 return _IMP_isd.GaussianEMRestraint___str__(self)
5711 """__repr__(GaussianEMRestraint self) -> std::string"""
5712 return _IMP_isd.GaussianEMRestraint___repr__(self)
5717 return _object_cast_to_GaussianEMRestraint(o)
5719 GaussianEMRestraint_swigregister = _IMP_isd.GaussianEMRestraint_swigregister
5720 GaussianEMRestraint_swigregister(GaussianEMRestraint)
5722 class GaussianAnchorEMRestraint(ISDRestraint):
5723 """Proxy of C++ IMP::isd::GaussianAnchorEMRestraint class"""
5724 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5726 def __init__(self, *args):
5728 __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
5729 __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
5731 this = _IMP_isd.new_GaussianAnchorEMRestraint(*args)
5733 self.this.append(this)
5737 def get_density_particles(self):
5738 """get_density_particles(GaussianAnchorEMRestraint self) -> IMP::ParticlesTemp"""
5739 return _IMP_isd.GaussianAnchorEMRestraint_get_density_particles(self)
5743 """__str__(GaussianAnchorEMRestraint self) -> std::string"""
5744 return _IMP_isd.GaussianAnchorEMRestraint___str__(self)
5748 """__repr__(GaussianAnchorEMRestraint self) -> std::string"""
5749 return _IMP_isd.GaussianAnchorEMRestraint___repr__(self)
5754 return _object_cast_to_GaussianAnchorEMRestraint(o)
5756 GaussianAnchorEMRestraint_swigregister = _IMP_isd.GaussianAnchorEMRestraint_swigregister
5757 GaussianAnchorEMRestraint_swigregister(GaussianAnchorEMRestraint)
5760 """Proxy of C++ IMP::isd::GammaPrior class"""
5761 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5763 def __init__(self, *args):
5765 __init__(IMP::isd::GammaPrior self, Model m, Particle p, IMP::Float k, IMP::Float theta, std::string name) -> GammaPrior
5766 __init__(IMP::isd::GammaPrior self, Model m, Particle p, IMP::Float k, IMP::Float theta) -> GammaPrior
5768 this = _IMP_isd.new_GammaPrior(*args)
5770 self.this.append(this)
5774 def evaluate_at(self, val):
5775 """evaluate_at(GammaPrior self, IMP::Float val) -> double"""
5776 return _IMP_isd.GammaPrior_evaluate_at(self, val)
5780 """do_get_inputs(GammaPrior self) -> IMP::ModelObjectsTemp"""
5781 return _IMP_isd.GammaPrior_do_get_inputs(self)
5785 """get_version_info(GammaPrior self) -> VersionInfo"""
5786 return _IMP_isd.GammaPrior_get_version_info(self)
5789 def get_probability(self):
5790 """get_probability(GammaPrior self) -> double"""
5791 return _IMP_isd.GammaPrior_get_probability(self)
5795 """__str__(GammaPrior self) -> std::string"""
5796 return _IMP_isd.GammaPrior___str__(self)
5800 """__repr__(GammaPrior self) -> std::string"""
5801 return _IMP_isd.GammaPrior___repr__(self)
5806 return _object_cast_to_GammaPrior(o)
5808 GammaPrior_swigregister = _IMP_isd.GammaPrior_swigregister
5809 GammaPrior_swigregister(GammaPrior)
5812 def sample_points_from_density(dmap_orig, npoints, threshold=0.0):
5814 sample_points_from_density(DensityMap dmap_orig, int npoints, IMP::Float threshold=0.0) -> IMP::FloatsList
5815 sample_points_from_density(DensityMap dmap_orig, int npoints) -> IMP::FloatsList
5817 return _IMP_isd.sample_points_from_density(dmap_orig, npoints, threshold)
5820 """get_module_version() -> std::string const"""
5821 return _IMP_isd.get_module_version()
5824 """get_example_path(std::string fname) -> std::string"""
5825 return _IMP_isd.get_example_path(fname)
5828 """get_data_path(std::string fname) -> std::string"""
5829 return _IMP_isd.get_data_path(fname)
5831 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.