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."""
116 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
118 def __init__(self, *args, **kwargs):
119 raise AttributeError(
"No constructor defined - class is abstract")
120 __repr__ = _swig_repr
121 __swig_destroy__ = _IMP_isd.delete_IMP_ISD_SwigPyIterator
122 __del__ =
lambda self:
None
125 """value(IMP_ISD_SwigPyIterator self) -> PyObject *"""
126 return _IMP_isd.IMP_ISD_SwigPyIterator_value(self)
131 incr(IMP_ISD_SwigPyIterator self, size_t n=1) -> IMP_ISD_SwigPyIterator
132 incr(IMP_ISD_SwigPyIterator self) -> IMP_ISD_SwigPyIterator
134 return _IMP_isd.IMP_ISD_SwigPyIterator_incr(self, n)
139 decr(IMP_ISD_SwigPyIterator self, size_t n=1) -> IMP_ISD_SwigPyIterator
140 decr(IMP_ISD_SwigPyIterator self) -> IMP_ISD_SwigPyIterator
142 return _IMP_isd.IMP_ISD_SwigPyIterator_decr(self, n)
145 def distance(self, x):
146 """distance(IMP_ISD_SwigPyIterator self, IMP_ISD_SwigPyIterator x) -> ptrdiff_t"""
147 return _IMP_isd.IMP_ISD_SwigPyIterator_distance(self, x)
151 """equal(IMP_ISD_SwigPyIterator self, IMP_ISD_SwigPyIterator x) -> bool"""
152 return _IMP_isd.IMP_ISD_SwigPyIterator_equal(self, x)
156 """copy(IMP_ISD_SwigPyIterator self) -> IMP_ISD_SwigPyIterator"""
157 return _IMP_isd.IMP_ISD_SwigPyIterator_copy(self)
161 """next(IMP_ISD_SwigPyIterator self) -> PyObject *"""
162 return _IMP_isd.IMP_ISD_SwigPyIterator_next(self)
166 """__next__(IMP_ISD_SwigPyIterator self) -> PyObject *"""
167 return _IMP_isd.IMP_ISD_SwigPyIterator___next__(self)
171 """previous(IMP_ISD_SwigPyIterator self) -> PyObject *"""
172 return _IMP_isd.IMP_ISD_SwigPyIterator_previous(self)
175 def advance(self, n):
176 """advance(IMP_ISD_SwigPyIterator self, ptrdiff_t n) -> IMP_ISD_SwigPyIterator"""
177 return _IMP_isd.IMP_ISD_SwigPyIterator_advance(self, n)
181 """__eq__(IMP_ISD_SwigPyIterator self, IMP_ISD_SwigPyIterator x) -> bool"""
182 return _IMP_isd.IMP_ISD_SwigPyIterator___eq__(self, x)
186 """__ne__(IMP_ISD_SwigPyIterator self, IMP_ISD_SwigPyIterator x) -> bool"""
187 return _IMP_isd.IMP_ISD_SwigPyIterator___ne__(self, x)
190 def __iadd__(self, n):
191 """__iadd__(IMP_ISD_SwigPyIterator self, ptrdiff_t n) -> IMP_ISD_SwigPyIterator"""
192 return _IMP_isd.IMP_ISD_SwigPyIterator___iadd__(self, n)
195 def __isub__(self, n):
196 """__isub__(IMP_ISD_SwigPyIterator self, ptrdiff_t n) -> IMP_ISD_SwigPyIterator"""
197 return _IMP_isd.IMP_ISD_SwigPyIterator___isub__(self, n)
200 def __add__(self, n):
201 """__add__(IMP_ISD_SwigPyIterator self, ptrdiff_t n) -> IMP_ISD_SwigPyIterator"""
202 return _IMP_isd.IMP_ISD_SwigPyIterator___add__(self, n)
205 def __sub__(self, *args):
207 __sub__(IMP_ISD_SwigPyIterator self, ptrdiff_t n) -> IMP_ISD_SwigPyIterator
208 __sub__(IMP_ISD_SwigPyIterator self, IMP_ISD_SwigPyIterator x) -> ptrdiff_t
210 return _IMP_isd.IMP_ISD_SwigPyIterator___sub__(self, *args)
214 IMP_ISD_SwigPyIterator_swigregister = _IMP_isd.IMP_ISD_SwigPyIterator_swigregister
215 IMP_ISD_SwigPyIterator_swigregister(IMP_ISD_SwigPyIterator)
224 _IMP_isd.IMP_DEBUG_swigconstant(_IMP_isd)
225 IMP_DEBUG = _IMP_isd.IMP_DEBUG
227 _IMP_isd.IMP_RELEASE_swigconstant(_IMP_isd)
228 IMP_RELEASE = _IMP_isd.IMP_RELEASE
230 _IMP_isd.IMP_SILENT_swigconstant(_IMP_isd)
231 IMP_SILENT = _IMP_isd.IMP_SILENT
233 _IMP_isd.IMP_PROGRESS_swigconstant(_IMP_isd)
234 IMP_PROGRESS = _IMP_isd.IMP_PROGRESS
236 _IMP_isd.IMP_TERSE_swigconstant(_IMP_isd)
237 IMP_TERSE = _IMP_isd.IMP_TERSE
239 _IMP_isd.IMP_VERBOSE_swigconstant(_IMP_isd)
240 IMP_VERBOSE = _IMP_isd.IMP_VERBOSE
242 _IMP_isd.IMP_MEMORY_swigconstant(_IMP_isd)
243 IMP_MEMORY = _IMP_isd.IMP_MEMORY
245 _IMP_isd.IMP_NONE_swigconstant(_IMP_isd)
246 IMP_NONE = _IMP_isd.IMP_NONE
248 _IMP_isd.IMP_USAGE_swigconstant(_IMP_isd)
249 IMP_USAGE = _IMP_isd.IMP_USAGE
251 _IMP_isd.IMP_INTERNAL_swigconstant(_IMP_isd)
252 IMP_INTERNAL = _IMP_isd.IMP_INTERNAL
254 _IMP_isd.IMP_KERNEL_HAS_LOG4CXX_swigconstant(_IMP_isd)
255 IMP_KERNEL_HAS_LOG4CXX = _IMP_isd.IMP_KERNEL_HAS_LOG4CXX
257 _IMP_isd.IMP_COMPILER_HAS_AUTO_swigconstant(_IMP_isd)
258 IMP_COMPILER_HAS_AUTO = _IMP_isd.IMP_COMPILER_HAS_AUTO
260 _IMP_isd.IMP_COMPILER_HAS_DEBUG_VECTOR_swigconstant(_IMP_isd)
261 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_isd.IMP_COMPILER_HAS_DEBUG_VECTOR
263 _IMP_isd.IMP_COMPILER_HAS_UNIQUE_PTR_swigconstant(_IMP_isd)
264 IMP_COMPILER_HAS_UNIQUE_PTR = _IMP_isd.IMP_COMPILER_HAS_UNIQUE_PTR
266 _IMP_isd.IMP_KERNEL_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
267 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_isd.IMP_KERNEL_HAS_BOOST_RANDOM
269 _IMP_isd.IMP_KERNEL_HAS_GPERFTOOLS_swigconstant(_IMP_isd)
270 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_isd.IMP_KERNEL_HAS_GPERFTOOLS
272 _IMP_isd.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER_swigconstant(_IMP_isd)
273 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_isd.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
275 _IMP_isd.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER_swigconstant(_IMP_isd)
276 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_isd.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
278 _IMP_isd.IMPKERNEL_SHOW_WARNINGS_swigconstant(_IMP_isd)
279 IMPKERNEL_SHOW_WARNINGS = _IMP_isd.IMPKERNEL_SHOW_WARNINGS
282 class _DirectorObjects(object):
283 """@internal Simple class to keep references to director objects
284 to prevent premature deletion."""
287 def register(self, obj):
288 """Take a reference to a director object; will only work for
289 refcounted C++ classes"""
290 if hasattr(obj,
'get_ref_count'):
291 self._objects.append(obj)
293 """Only drop our reference and allow cleanup by Python if no other
294 Python references exist (we hold 3 references: one in self._objects,
295 one in x, and one in the argument list for getrefcount) *and* no
296 other C++ references exist (the Python object always holds one)"""
297 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
298 or x.get_ref_count() > 1]
302 def get_object_count(self):
303 """Get number of director objects (useful for testing only)"""
304 return len(self._objects)
305 _director_objects = _DirectorObjects()
307 class _ostream(object):
308 """Proxy of C++ std::ostream class."""
310 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
312 def __init__(self, *args, **kwargs):
313 raise AttributeError(
"No constructor defined")
314 __repr__ = _swig_repr
316 def write(self, osa_buf):
317 """write(_ostream self, char const * osa_buf)"""
318 return _IMP_isd._ostream_write(self, osa_buf)
320 _ostream_swigregister = _IMP_isd._ostream_swigregister
321 _ostream_swigregister(_ostream)
324 _IMP_isd.IMP_COMPILER_HAS_OVERRIDE_swigconstant(_IMP_isd)
325 IMP_COMPILER_HAS_OVERRIDE = _IMP_isd.IMP_COMPILER_HAS_OVERRIDE
327 _IMP_isd.IMP_COMPILER_HAS_FINAL_swigconstant(_IMP_isd)
328 IMP_COMPILER_HAS_FINAL = _IMP_isd.IMP_COMPILER_HAS_FINAL
330 _IMP_isd.IMP_HAS_NOEXCEPT_swigconstant(_IMP_isd)
331 IMP_HAS_NOEXCEPT = _IMP_isd.IMP_HAS_NOEXCEPT
334 _IMP_isd.IMP_CGAL_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_isd)
335 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_CGAL_HAS_BOOST_FILESYSTEM
337 _IMP_isd.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_isd)
338 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
340 _IMP_isd.IMP_CGAL_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
341 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_isd.IMP_CGAL_HAS_BOOST_RANDOM
343 _IMP_isd.IMP_CGAL_HAS_BOOST_SYSTEM_swigconstant(_IMP_isd)
344 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_isd.IMP_CGAL_HAS_BOOST_SYSTEM
346 _IMP_isd.IMPCGAL_SHOW_WARNINGS_swigconstant(_IMP_isd)
347 IMPCGAL_SHOW_WARNINGS = _IMP_isd.IMPCGAL_SHOW_WARNINGS
350 _IMP_isd.IMP_ALGEBRA_HAS_IMP_CGAL_swigconstant(_IMP_isd)
351 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_isd.IMP_ALGEBRA_HAS_IMP_CGAL
353 _IMP_isd.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_isd)
354 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
356 _IMP_isd.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_isd)
357 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
359 _IMP_isd.IMP_ALGEBRA_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
360 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_isd.IMP_ALGEBRA_HAS_BOOST_RANDOM
362 _IMP_isd.IMP_ALGEBRA_HAS_BOOST_SYSTEM_swigconstant(_IMP_isd)
363 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_isd.IMP_ALGEBRA_HAS_BOOST_SYSTEM
365 _IMP_isd.IMP_ALGEBRA_HAS_CGAL_swigconstant(_IMP_isd)
366 IMP_ALGEBRA_HAS_CGAL = _IMP_isd.IMP_ALGEBRA_HAS_CGAL
368 _IMP_isd.IMP_ALGEBRA_HAS_ANN_swigconstant(_IMP_isd)
369 IMP_ALGEBRA_HAS_ANN = _IMP_isd.IMP_ALGEBRA_HAS_ANN
371 _IMP_isd.IMPALGEBRA_SHOW_WARNINGS_swigconstant(_IMP_isd)
372 IMPALGEBRA_SHOW_WARNINGS = _IMP_isd.IMPALGEBRA_SHOW_WARNINGS
375 _IMP_isd.IMP_DISPLAY_HAS_IMP_CGAL_swigconstant(_IMP_isd)
376 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_isd.IMP_DISPLAY_HAS_IMP_CGAL
378 _IMP_isd.IMP_DISPLAY_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_isd)
379 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
381 _IMP_isd.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_isd)
382 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
384 _IMP_isd.IMP_DISPLAY_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
385 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_isd.IMP_DISPLAY_HAS_BOOST_RANDOM
387 _IMP_isd.IMP_DISPLAY_HAS_BOOST_SYSTEM_swigconstant(_IMP_isd)
388 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_isd.IMP_DISPLAY_HAS_BOOST_SYSTEM
390 _IMP_isd.IMP_DISPLAY_HAS_CGAL_swigconstant(_IMP_isd)
391 IMP_DISPLAY_HAS_CGAL = _IMP_isd.IMP_DISPLAY_HAS_CGAL
393 _IMP_isd.IMPDISPLAY_SHOW_WARNINGS_swigconstant(_IMP_isd)
394 IMPDISPLAY_SHOW_WARNINGS = _IMP_isd.IMPDISPLAY_SHOW_WARNINGS
397 _IMP_isd.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL_swigconstant(_IMP_isd)
398 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
400 _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_isd)
401 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
403 _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_isd)
404 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
406 _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
407 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
409 _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM_swigconstant(_IMP_isd)
410 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
412 _IMP_isd.IMP_SCORE_FUNCTOR_HAS_CGAL_swigconstant(_IMP_isd)
413 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_CGAL
415 _IMP_isd.IMP_SCORE_FUNCTOR_HAS_HDF5_swigconstant(_IMP_isd)
416 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_HDF5
418 _IMP_isd.IMPSCOREFUNCTOR_SHOW_WARNINGS_swigconstant(_IMP_isd)
419 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_isd.IMPSCOREFUNCTOR_SHOW_WARNINGS
422 _IMP_isd.IMP_STATISTICS_HAS_IMP_CGAL_swigconstant(_IMP_isd)
423 IMP_STATISTICS_HAS_IMP_CGAL = _IMP_isd.IMP_STATISTICS_HAS_IMP_CGAL
425 _IMP_isd.IMP_STATISTICS_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_isd)
426 IMP_STATISTICS_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_STATISTICS_HAS_BOOST_FILESYSTEM
428 _IMP_isd.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_isd)
429 IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS
431 _IMP_isd.IMP_STATISTICS_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
432 IMP_STATISTICS_HAS_BOOST_RANDOM = _IMP_isd.IMP_STATISTICS_HAS_BOOST_RANDOM
434 _IMP_isd.IMP_STATISTICS_HAS_BOOST_SYSTEM_swigconstant(_IMP_isd)
435 IMP_STATISTICS_HAS_BOOST_SYSTEM = _IMP_isd.IMP_STATISTICS_HAS_BOOST_SYSTEM
437 _IMP_isd.IMP_STATISTICS_HAS_CGAL_swigconstant(_IMP_isd)
438 IMP_STATISTICS_HAS_CGAL = _IMP_isd.IMP_STATISTICS_HAS_CGAL
440 _IMP_isd.IMPSTATISTICS_SHOW_WARNINGS_swigconstant(_IMP_isd)
441 IMPSTATISTICS_SHOW_WARNINGS = _IMP_isd.IMPSTATISTICS_SHOW_WARNINGS
444 _IMP_isd.IMP_CORE_HAS_IMP_CGAL_swigconstant(_IMP_isd)
445 IMP_CORE_HAS_IMP_CGAL = _IMP_isd.IMP_CORE_HAS_IMP_CGAL
447 _IMP_isd.IMP_CORE_HAS_IMP_KERNEL_swigconstant(_IMP_isd)
448 IMP_CORE_HAS_IMP_KERNEL = _IMP_isd.IMP_CORE_HAS_IMP_KERNEL
450 _IMP_isd.IMP_CORE_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_isd)
451 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_CORE_HAS_BOOST_FILESYSTEM
453 _IMP_isd.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_isd)
454 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
456 _IMP_isd.IMP_CORE_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
457 IMP_CORE_HAS_BOOST_RANDOM = _IMP_isd.IMP_CORE_HAS_BOOST_RANDOM
459 _IMP_isd.IMP_CORE_HAS_BOOST_SYSTEM_swigconstant(_IMP_isd)
460 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_isd.IMP_CORE_HAS_BOOST_SYSTEM
462 _IMP_isd.IMP_CORE_HAS_CGAL_swigconstant(_IMP_isd)
463 IMP_CORE_HAS_CGAL = _IMP_isd.IMP_CORE_HAS_CGAL
465 _IMP_isd.IMP_CORE_HAS_HDF5_swigconstant(_IMP_isd)
466 IMP_CORE_HAS_HDF5 = _IMP_isd.IMP_CORE_HAS_HDF5
468 _IMP_isd.IMPCORE_SHOW_WARNINGS_swigconstant(_IMP_isd)
469 IMPCORE_SHOW_WARNINGS = _IMP_isd.IMPCORE_SHOW_WARNINGS
472 _IMP_isd.IMP_CONTAINER_HAS_IMP_ALGEBRA_swigconstant(_IMP_isd)
473 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_isd.IMP_CONTAINER_HAS_IMP_ALGEBRA
475 _IMP_isd.IMP_CONTAINER_HAS_IMP_CGAL_swigconstant(_IMP_isd)
476 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_isd.IMP_CONTAINER_HAS_IMP_CGAL
478 _IMP_isd.IMP_CONTAINER_HAS_IMP_DISPLAY_swigconstant(_IMP_isd)
479 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_isd.IMP_CONTAINER_HAS_IMP_DISPLAY
481 _IMP_isd.IMP_CONTAINER_HAS_IMP_KERNEL_swigconstant(_IMP_isd)
482 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_isd.IMP_CONTAINER_HAS_IMP_KERNEL
484 _IMP_isd.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_isd)
485 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_isd.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
487 _IMP_isd.IMP_CONTAINER_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_isd)
488 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
490 _IMP_isd.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_isd)
491 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
493 _IMP_isd.IMP_CONTAINER_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
494 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_isd.IMP_CONTAINER_HAS_BOOST_RANDOM
496 _IMP_isd.IMP_CONTAINER_HAS_BOOST_SYSTEM_swigconstant(_IMP_isd)
497 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_isd.IMP_CONTAINER_HAS_BOOST_SYSTEM
499 _IMP_isd.IMP_CONTAINER_HAS_CGAL_swigconstant(_IMP_isd)
500 IMP_CONTAINER_HAS_CGAL = _IMP_isd.IMP_CONTAINER_HAS_CGAL
502 _IMP_isd.IMP_CONTAINER_HAS_HDF5_swigconstant(_IMP_isd)
503 IMP_CONTAINER_HAS_HDF5 = _IMP_isd.IMP_CONTAINER_HAS_HDF5
505 _IMP_isd.IMPCONTAINER_SHOW_WARNINGS_swigconstant(_IMP_isd)
506 IMPCONTAINER_SHOW_WARNINGS = _IMP_isd.IMPCONTAINER_SHOW_WARNINGS
509 _IMP_isd.IMP_ATOM_HAS_IMP_CGAL_swigconstant(_IMP_isd)
510 IMP_ATOM_HAS_IMP_CGAL = _IMP_isd.IMP_ATOM_HAS_IMP_CGAL
512 _IMP_isd.IMP_ATOM_HAS_IMP_KERNEL_swigconstant(_IMP_isd)
513 IMP_ATOM_HAS_IMP_KERNEL = _IMP_isd.IMP_ATOM_HAS_IMP_KERNEL
515 _IMP_isd.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_isd)
516 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_isd.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
518 _IMP_isd.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_isd)
519 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
521 _IMP_isd.IMP_ATOM_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
522 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_isd.IMP_ATOM_HAS_BOOST_RANDOM
524 _IMP_isd.IMP_ATOM_HAS_BOOST_REGEX_swigconstant(_IMP_isd)
525 IMP_ATOM_HAS_BOOST_REGEX = _IMP_isd.IMP_ATOM_HAS_BOOST_REGEX
527 _IMP_isd.IMP_ATOM_HAS_BOOST_SYSTEM_swigconstant(_IMP_isd)
528 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_isd.IMP_ATOM_HAS_BOOST_SYSTEM
530 _IMP_isd.IMP_ATOM_HAS_CGAL_swigconstant(_IMP_isd)
531 IMP_ATOM_HAS_CGAL = _IMP_isd.IMP_ATOM_HAS_CGAL
533 _IMP_isd.IMP_ATOM_HAS_HDF5_swigconstant(_IMP_isd)
534 IMP_ATOM_HAS_HDF5 = _IMP_isd.IMP_ATOM_HAS_HDF5
536 _IMP_isd.IMPATOM_SHOW_WARNINGS_swigconstant(_IMP_isd)
537 IMPATOM_SHOW_WARNINGS = _IMP_isd.IMPATOM_SHOW_WARNINGS
539 _IMP_isd.IMP_ATOM_TYPE_INDEX_swigconstant(_IMP_isd)
540 IMP_ATOM_TYPE_INDEX = _IMP_isd.IMP_ATOM_TYPE_INDEX
542 _IMP_isd.IMP_RESIDUE_TYPE_INDEX_swigconstant(_IMP_isd)
543 IMP_RESIDUE_TYPE_INDEX = _IMP_isd.IMP_RESIDUE_TYPE_INDEX
545 _IMP_isd.IMP_HIERARCHY_TYPE_INDEX_swigconstant(_IMP_isd)
546 IMP_HIERARCHY_TYPE_INDEX = _IMP_isd.IMP_HIERARCHY_TYPE_INDEX
549 _IMP_isd.IMP_EM_HAS_IMP_CGAL_swigconstant(_IMP_isd)
550 IMP_EM_HAS_IMP_CGAL = _IMP_isd.IMP_EM_HAS_IMP_CGAL
552 _IMP_isd.IMP_EM_HAS_IMP_CONTAINER_swigconstant(_IMP_isd)
553 IMP_EM_HAS_IMP_CONTAINER = _IMP_isd.IMP_EM_HAS_IMP_CONTAINER
555 _IMP_isd.IMP_EM_HAS_IMP_DISPLAY_swigconstant(_IMP_isd)
556 IMP_EM_HAS_IMP_DISPLAY = _IMP_isd.IMP_EM_HAS_IMP_DISPLAY
558 _IMP_isd.IMP_EM_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_isd)
559 IMP_EM_HAS_IMP_SCORE_FUNCTOR = _IMP_isd.IMP_EM_HAS_IMP_SCORE_FUNCTOR
561 _IMP_isd.IMP_EM_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_isd)
562 IMP_EM_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_EM_HAS_BOOST_FILESYSTEM
564 _IMP_isd.IMP_EM_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_isd)
565 IMP_EM_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_EM_HAS_BOOST_PROGRAMOPTIONS
567 _IMP_isd.IMP_EM_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
568 IMP_EM_HAS_BOOST_RANDOM = _IMP_isd.IMP_EM_HAS_BOOST_RANDOM
570 _IMP_isd.IMP_EM_HAS_BOOST_REGEX_swigconstant(_IMP_isd)
571 IMP_EM_HAS_BOOST_REGEX = _IMP_isd.IMP_EM_HAS_BOOST_REGEX
573 _IMP_isd.IMP_EM_HAS_BOOST_SYSTEM_swigconstant(_IMP_isd)
574 IMP_EM_HAS_BOOST_SYSTEM = _IMP_isd.IMP_EM_HAS_BOOST_SYSTEM
576 _IMP_isd.IMP_EM_HAS_CGAL_swigconstant(_IMP_isd)
577 IMP_EM_HAS_CGAL = _IMP_isd.IMP_EM_HAS_CGAL
579 _IMP_isd.IMP_EM_HAS_HDF5_swigconstant(_IMP_isd)
580 IMP_EM_HAS_HDF5 = _IMP_isd.IMP_EM_HAS_HDF5
582 _IMP_isd.IMPEM_SHOW_WARNINGS_swigconstant(_IMP_isd)
583 IMPEM_SHOW_WARNINGS = _IMP_isd.IMPEM_SHOW_WARNINGS
586 _IMP_isd.IMP_SAXS_HAS_IMP_CGAL_swigconstant(_IMP_isd)
587 IMP_SAXS_HAS_IMP_CGAL = _IMP_isd.IMP_SAXS_HAS_IMP_CGAL
589 _IMP_isd.IMP_SAXS_HAS_IMP_CONTAINER_swigconstant(_IMP_isd)
590 IMP_SAXS_HAS_IMP_CONTAINER = _IMP_isd.IMP_SAXS_HAS_IMP_CONTAINER
592 _IMP_isd.IMP_SAXS_HAS_IMP_DISPLAY_swigconstant(_IMP_isd)
593 IMP_SAXS_HAS_IMP_DISPLAY = _IMP_isd.IMP_SAXS_HAS_IMP_DISPLAY
595 _IMP_isd.IMP_SAXS_HAS_IMP_KERNEL_swigconstant(_IMP_isd)
596 IMP_SAXS_HAS_IMP_KERNEL = _IMP_isd.IMP_SAXS_HAS_IMP_KERNEL
598 _IMP_isd.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_isd)
599 IMP_SAXS_HAS_IMP_SCORE_FUNCTOR = _IMP_isd.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR
601 _IMP_isd.IMP_SAXS_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_isd)
602 IMP_SAXS_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_SAXS_HAS_BOOST_FILESYSTEM
604 _IMP_isd.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_isd)
605 IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS
607 _IMP_isd.IMP_SAXS_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
608 IMP_SAXS_HAS_BOOST_RANDOM = _IMP_isd.IMP_SAXS_HAS_BOOST_RANDOM
610 _IMP_isd.IMP_SAXS_HAS_BOOST_REGEX_swigconstant(_IMP_isd)
611 IMP_SAXS_HAS_BOOST_REGEX = _IMP_isd.IMP_SAXS_HAS_BOOST_REGEX
613 _IMP_isd.IMP_SAXS_HAS_BOOST_SYSTEM_swigconstant(_IMP_isd)
614 IMP_SAXS_HAS_BOOST_SYSTEM = _IMP_isd.IMP_SAXS_HAS_BOOST_SYSTEM
616 _IMP_isd.IMP_SAXS_HAS_CGAL_swigconstant(_IMP_isd)
617 IMP_SAXS_HAS_CGAL = _IMP_isd.IMP_SAXS_HAS_CGAL
619 _IMP_isd.IMP_SAXS_HAS_HDF5_swigconstant(_IMP_isd)
620 IMP_SAXS_HAS_HDF5 = _IMP_isd.IMP_SAXS_HAS_HDF5
622 _IMP_isd.IMPSAXS_SHOW_WARNINGS_swigconstant(_IMP_isd)
623 IMPSAXS_SHOW_WARNINGS = _IMP_isd.IMPSAXS_SHOW_WARNINGS
626 _IMP_isd.IMP_ISD_HAS_IMP_CGAL_swigconstant(_IMP_isd)
627 IMP_ISD_HAS_IMP_CGAL = _IMP_isd.IMP_ISD_HAS_IMP_CGAL
629 _IMP_isd.IMP_ISD_HAS_IMP_DISPLAY_swigconstant(_IMP_isd)
630 IMP_ISD_HAS_IMP_DISPLAY = _IMP_isd.IMP_ISD_HAS_IMP_DISPLAY
632 _IMP_isd.IMP_ISD_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_isd)
633 IMP_ISD_HAS_IMP_SCORE_FUNCTOR = _IMP_isd.IMP_ISD_HAS_IMP_SCORE_FUNCTOR
635 _IMP_isd.IMP_ISD_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_isd)
636 IMP_ISD_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_ISD_HAS_BOOST_FILESYSTEM
638 _IMP_isd.IMP_ISD_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_isd)
639 IMP_ISD_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_ISD_HAS_BOOST_PROGRAMOPTIONS
641 _IMP_isd.IMP_ISD_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
642 IMP_ISD_HAS_BOOST_RANDOM = _IMP_isd.IMP_ISD_HAS_BOOST_RANDOM
644 _IMP_isd.IMP_ISD_HAS_BOOST_REGEX_swigconstant(_IMP_isd)
645 IMP_ISD_HAS_BOOST_REGEX = _IMP_isd.IMP_ISD_HAS_BOOST_REGEX
647 _IMP_isd.IMP_ISD_HAS_BOOST_SYSTEM_swigconstant(_IMP_isd)
648 IMP_ISD_HAS_BOOST_SYSTEM = _IMP_isd.IMP_ISD_HAS_BOOST_SYSTEM
650 _IMP_isd.IMP_ISD_HAS_CGAL_swigconstant(_IMP_isd)
651 IMP_ISD_HAS_CGAL = _IMP_isd.IMP_ISD_HAS_CGAL
653 _IMP_isd.IMP_ISD_HAS_HDF5_swigconstant(_IMP_isd)
654 IMP_ISD_HAS_HDF5 = _IMP_isd.IMP_ISD_HAS_HDF5
656 _IMP_isd.IMPISD_SHOW_WARNINGS_swigconstant(_IMP_isd)
657 IMPISD_SHOW_WARNINGS = _IMP_isd.IMPISD_SHOW_WARNINGS
659 _object_types.append(
"ISDRestraint")
662 def _object_cast_to_ISDRestraint(o):
663 """_object_cast_to_ISDRestraint(Object o) -> ISDRestraint"""
664 return _IMP_isd._object_cast_to_ISDRestraint(o)
666 _object_types.append(
"CrossLinkMSRestraint")
669 def _object_cast_to_CrossLinkMSRestraint(o):
670 """_object_cast_to_CrossLinkMSRestraint(Object o) -> CrossLinkMSRestraint"""
671 return _IMP_isd._object_cast_to_CrossLinkMSRestraint(o)
673 _object_types.append(
"LogWrapper")
676 def _object_cast_to_LogWrapper(o):
677 """_object_cast_to_LogWrapper(Object o) -> LogWrapper"""
678 return _IMP_isd._object_cast_to_LogWrapper(o)
680 _object_types.append(
"UniformPrior")
683 def _object_cast_to_UniformPrior(o):
684 """_object_cast_to_UniformPrior(Object o) -> UniformPrior"""
685 return _IMP_isd._object_cast_to_UniformPrior(o)
687 _object_types.append(
"JeffreysRestraint")
690 def _object_cast_to_JeffreysRestraint(o):
691 """_object_cast_to_JeffreysRestraint(Object o) -> JeffreysRestraint"""
692 return _IMP_isd._object_cast_to_JeffreysRestraint(o)
694 _object_types.append(
"vonMisesKappaJeffreysRestraint")
697 def _object_cast_to_vonMisesKappaJeffreysRestraint(o):
698 """_object_cast_to_vonMisesKappaJeffreysRestraint(Object o) -> vonMisesKappaJeffreysRestraint"""
699 return _IMP_isd._object_cast_to_vonMisesKappaJeffreysRestraint(o)
701 _object_types.append(
"vonMisesKappaConjugateRestraint")
704 def _object_cast_to_vonMisesKappaConjugateRestraint(o):
705 """_object_cast_to_vonMisesKappaConjugateRestraint(Object o) -> vonMisesKappaConjugateRestraint"""
706 return _IMP_isd._object_cast_to_vonMisesKappaConjugateRestraint(o)
708 _object_types.append(
"FNormal")
711 def _object_cast_to_FNormal(o):
712 """_object_cast_to_FNormal(Object o) -> FNormal"""
713 return _IMP_isd._object_cast_to_FNormal(o)
715 _object_types.append(
"vonMises")
718 def _object_cast_to_vonMises(o):
719 """_object_cast_to_vonMises(Object o) -> vonMises"""
720 return _IMP_isd._object_cast_to_vonMises(o)
722 _object_types.append(
"vonMisesSufficient")
725 def _object_cast_to_vonMisesSufficient(o):
726 """_object_cast_to_vonMisesSufficient(Object o) -> vonMisesSufficient"""
727 return _IMP_isd._object_cast_to_vonMisesSufficient(o)
730 return [Nuisance(x)
for x
in l]
731 _plural_types.append(
"Nuisances")
734 _value_types.append(
"Nuisance")
738 return [Scale(x)
for x
in l]
739 _plural_types.append(
"Scales")
742 _value_types.append(
"Scale")
745 def Switchings(l=[]):
746 return [Switching(x)
for x
in l]
747 _plural_types.append(
"Switchings")
750 _value_types.append(
"Switching")
753 _object_types.append(
"NOERestraint")
756 def _object_cast_to_NOERestraint(o):
757 """_object_cast_to_NOERestraint(Object o) -> NOERestraint"""
758 return _IMP_isd._object_cast_to_NOERestraint(o)
761 return [Weight(x)
for x
in l]
762 _plural_types.append(
"Weights")
765 _value_types.append(
"Weight")
768 _object_types.append(
"GaussianRestraint")
771 def _object_cast_to_GaussianRestraint(o):
772 """_object_cast_to_GaussianRestraint(Object o) -> GaussianRestraint"""
773 return _IMP_isd._object_cast_to_GaussianRestraint(o)
775 _object_types.append(
"LognormalRestraint")
778 def _object_cast_to_LognormalRestraint(o):
779 """_object_cast_to_LognormalRestraint(Object o) -> LognormalRestraint"""
780 return _IMP_isd._object_cast_to_LognormalRestraint(o)
782 _object_types.append(
"LognormalAmbiguousRestraint")
785 def _object_cast_to_LognormalAmbiguousRestraint(o):
786 """_object_cast_to_LognormalAmbiguousRestraint(Object o) -> LognormalAmbiguousRestraint"""
787 return _IMP_isd._object_cast_to_LognormalAmbiguousRestraint(o)
789 _object_types.append(
"AmbiguousNOERestraint")
792 def _object_cast_to_AmbiguousNOERestraint(o):
793 """_object_cast_to_AmbiguousNOERestraint(Object o) -> AmbiguousNOERestraint"""
794 return _IMP_isd._object_cast_to_AmbiguousNOERestraint(o)
796 _object_types.append(
"MarginalNOERestraint")
799 def _object_cast_to_MarginalNOERestraint(o):
800 """_object_cast_to_MarginalNOERestraint(Object o) -> MarginalNOERestraint"""
801 return _IMP_isd._object_cast_to_MarginalNOERestraint(o)
803 _object_types.append(
"MarginalHBondRestraint")
806 def _object_cast_to_MarginalHBondRestraint(o):
807 """_object_cast_to_MarginalHBondRestraint(Object o) -> MarginalHBondRestraint"""
808 return _IMP_isd._object_cast_to_MarginalHBondRestraint(o)
810 _object_types.append(
"TALOSRestraint")
813 def _object_cast_to_TALOSRestraint(o):
814 """_object_cast_to_TALOSRestraint(Object o) -> TALOSRestraint"""
815 return _IMP_isd._object_cast_to_TALOSRestraint(o)
817 _object_types.append(
"RepulsiveDistancePairScore")
820 def _object_cast_to_RepulsiveDistancePairScore(o):
821 """_object_cast_to_RepulsiveDistancePairScore(Object o) -> RepulsiveDistancePairScore"""
822 return _IMP_isd._object_cast_to_RepulsiveDistancePairScore(o)
824 _object_types.append(
"AmbiguousRestraint")
827 def _object_cast_to_AmbiguousRestraint(o):
828 """_object_cast_to_AmbiguousRestraint(Object o) -> AmbiguousRestraint"""
829 return _IMP_isd._object_cast_to_AmbiguousRestraint(o)
831 _object_types.append(
"UnivariateFunction")
834 def _object_cast_to_UnivariateFunction(o):
835 """_object_cast_to_UnivariateFunction(Object o) -> UnivariateFunction"""
836 return _IMP_isd._object_cast_to_UnivariateFunction(o)
838 _object_types.append(
"Linear1DFunction")
841 def _object_cast_to_Linear1DFunction(o):
842 """_object_cast_to_Linear1DFunction(Object o) -> Linear1DFunction"""
843 return _IMP_isd._object_cast_to_Linear1DFunction(o)
845 _object_types.append(
"GeneralizedGuinierPorodFunction")
848 def _object_cast_to_GeneralizedGuinierPorodFunction(o):
849 """_object_cast_to_GeneralizedGuinierPorodFunction(Object o) -> GeneralizedGuinierPorodFunction"""
850 return _IMP_isd._object_cast_to_GeneralizedGuinierPorodFunction(o)
852 _object_types.append(
"BivariateFunction")
855 def _object_cast_to_BivariateFunction(o):
856 """_object_cast_to_BivariateFunction(Object o) -> BivariateFunction"""
857 return _IMP_isd._object_cast_to_BivariateFunction(o)
859 _object_types.append(
"Covariance1DFunction")
862 def _object_cast_to_Covariance1DFunction(o):
863 """_object_cast_to_Covariance1DFunction(Object o) -> Covariance1DFunction"""
864 return _IMP_isd._object_cast_to_Covariance1DFunction(o)
866 _object_types.append(
"GaussianProcessInterpolation")
869 def _object_cast_to_GaussianProcessInterpolation(o):
870 """_object_cast_to_GaussianProcessInterpolation(Object o) -> GaussianProcessInterpolation"""
871 return _IMP_isd._object_cast_to_GaussianProcessInterpolation(o)
873 _object_types.append(
"GaussianProcessInterpolationRestraint")
876 def _object_cast_to_GaussianProcessInterpolationRestraint(o):
877 """_object_cast_to_GaussianProcessInterpolationRestraint(Object o) -> GaussianProcessInterpolationRestraint"""
878 return _IMP_isd._object_cast_to_GaussianProcessInterpolationRestraint(o)
880 _object_types.append(
"MolecularDynamics")
883 _object_types.append(
"MolecularDynamicsMover")
886 def _object_cast_to_MolecularDynamicsMover(o):
887 """_object_cast_to_MolecularDynamicsMover(Object o) -> MolecularDynamicsMover"""
888 return _IMP_isd._object_cast_to_MolecularDynamicsMover(o)
890 _object_types.append(
"HybridMonteCarlo")
893 def _object_cast_to_HybridMonteCarlo(o):
894 """_object_cast_to_HybridMonteCarlo(Object o) -> HybridMonteCarlo"""
895 return _IMP_isd._object_cast_to_HybridMonteCarlo(o)
897 _object_types.append(
"FretData")
900 def _object_cast_to_FretData(o):
901 """_object_cast_to_FretData(Object o) -> FretData"""
902 return _IMP_isd._object_cast_to_FretData(o)
904 _object_types.append(
"FretRestraint")
907 def _object_cast_to_FretRestraint(o):
908 """_object_cast_to_FretRestraint(Object o) -> FretRestraint"""
909 return _IMP_isd._object_cast_to_FretRestraint(o)
911 _object_types.append(
"CrossLinkData")
914 def _object_cast_to_CrossLinkData(o):
915 """_object_cast_to_CrossLinkData(Object o) -> CrossLinkData"""
916 return _IMP_isd._object_cast_to_CrossLinkData(o)
918 _object_types.append(
"CysteineCrossLinkData")
921 def _object_cast_to_CysteineCrossLinkData(o):
922 """_object_cast_to_CysteineCrossLinkData(Object o) -> CysteineCrossLinkData"""
923 return _IMP_isd._object_cast_to_CysteineCrossLinkData(o)
925 _object_types.append(
"CysteineCrossLinkRestraint")
928 def _object_cast_to_CysteineCrossLinkRestraint(o):
929 """_object_cast_to_CysteineCrossLinkRestraint(Object o) -> CysteineCrossLinkRestraint"""
930 return _IMP_isd._object_cast_to_CysteineCrossLinkRestraint(o)
932 _object_types.append(
"WeightMover")
935 def _object_cast_to_WeightMover(o):
936 """_object_cast_to_WeightMover(Object o) -> WeightMover"""
937 return _IMP_isd._object_cast_to_WeightMover(o)
939 _object_types.append(
"WeightRestraint")
942 def _object_cast_to_WeightRestraint(o):
943 """_object_cast_to_WeightRestraint(Object o) -> WeightRestraint"""
944 return _IMP_isd._object_cast_to_WeightRestraint(o)
946 _object_types.append(
"AtomicCrossLinkMSRestraint")
949 def _object_cast_to_AtomicCrossLinkMSRestraint(o):
950 """_object_cast_to_AtomicCrossLinkMSRestraint(Object o) -> AtomicCrossLinkMSRestraint"""
951 return _IMP_isd._object_cast_to_AtomicCrossLinkMSRestraint(o)
953 _object_types.append(
"GaussianEMRestraint")
956 def _object_cast_to_GaussianEMRestraint(o):
957 """_object_cast_to_GaussianEMRestraint(Object o) -> GaussianEMRestraint"""
958 return _IMP_isd._object_cast_to_GaussianEMRestraint(o)
960 def create_model_and_particles():
965 for i
in range(0,100):
969 d.set_coordinates_are_optimized(
True)
973 """Proxy of C++ IMP::isd::ISDRestraint class."""
975 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
977 def __init__(self, m, name):
978 """__init__(IMP::isd::ISDRestraint self, Model m, std::string name) -> ISDRestraint"""
979 if self.__class__ == ISDRestraint:
983 this = _IMP_isd.new_ISDRestraint(_self, m, name)
985 self.this.append(this)
989 if self.__class__ != ISDRestraint:
990 _director_objects.register(self)
995 def get_probability(self):
996 """get_probability(ISDRestraint self) -> double"""
997 return _IMP_isd.ISDRestraint_get_probability(self)
1000 def unprotected_evaluate(self, accum):
1001 """unprotected_evaluate(ISDRestraint self, DerivativeAccumulator accum) -> double"""
1002 return _IMP_isd.ISDRestraint_unprotected_evaluate(self, accum)
1006 """do_get_inputs(ISDRestraint self) -> IMP::ModelObjectsTemp"""
1007 return _IMP_isd.ISDRestraint_do_get_inputs(self)
1010 def get_type_name(self):
1011 """get_type_name(ISDRestraint self) -> std::string"""
1012 return _IMP_isd.ISDRestraint_get_type_name(self)
1016 """get_version_info(ISDRestraint self) -> VersionInfo"""
1017 return _IMP_isd.ISDRestraint_get_version_info(self)
1021 """__str__(ISDRestraint self) -> std::string"""
1022 return _IMP_isd.ISDRestraint___str__(self)
1026 """__repr__(ISDRestraint self) -> std::string"""
1027 return _IMP_isd.ISDRestraint___repr__(self)
1032 return _object_cast_to_ISDRestraint(o)
1035 def get_type_name(self):
1036 return self.__class__.__name__
1037 def do_show(self, out):
1040 if"IMP::isd" ==
"IMP":
1041 return VersionInfo(self.__module__,
1042 __import__(self.__module__).get_module_version())
1045 __import__(self.__module__).get_module_version())
1048 return _object_cast_to_ISDRestraint(o)
1050 def __disown__(self):
1052 _IMP_isd.disown_ISDRestraint(self)
1053 return weakref_proxy(self)
1056 """do_destroy(ISDRestraint self)"""
1057 return _IMP_isd.ISDRestraint_do_destroy(self)
1060 def handle_set_has_required_score_states(self, arg0):
1061 """handle_set_has_required_score_states(ISDRestraint self, bool arg0)"""
1062 return _IMP_isd.ISDRestraint_handle_set_has_required_score_states(self, arg0)
1066 """do_get_outputs(ISDRestraint self) -> IMP::ModelObjectsTemp"""
1067 return _IMP_isd.ISDRestraint_do_get_outputs(self)
1070 def do_get_interactions(self):
1071 """do_get_interactions(ISDRestraint self) -> IMP::ModelObjectsTemps"""
1072 return _IMP_isd.ISDRestraint_do_get_interactions(self)
1075 def do_create_decomposition(self):
1076 """do_create_decomposition(ISDRestraint self) -> IMP::Restraints"""
1077 return _IMP_isd.ISDRestraint_do_create_decomposition(self)
1080 def do_create_current_decomposition(self):
1081 """do_create_current_decomposition(ISDRestraint self) -> IMP::Restraints"""
1082 return _IMP_isd.ISDRestraint_do_create_current_decomposition(self)
1085 def do_add_score_and_derivatives(self, sa):
1086 """do_add_score_and_derivatives(ISDRestraint self, ScoreAccumulator sa)"""
1087 return _IMP_isd.ISDRestraint_do_add_score_and_derivatives(self, sa)
1089 ISDRestraint_swigregister = _IMP_isd.ISDRestraint_swigregister
1090 ISDRestraint_swigregister(ISDRestraint)
1093 """Proxy of C++ IMP::isd::CrossLinkMSRestraint class."""
1095 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1097 def __init__(self, *args):
1099 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length, bool get_log_prob=False, std::string name) -> CrossLinkMSRestraint
1100 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length, bool get_log_prob=False) -> CrossLinkMSRestraint
1101 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length) -> CrossLinkMSRestraint
1102 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, _ParticleIndexAdaptor lengthi, bool get_log_prob=False, std::string name) -> CrossLinkMSRestraint
1103 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, _ParticleIndexAdaptor lengthi, bool get_log_prob=False) -> CrossLinkMSRestraint
1104 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, _ParticleIndexAdaptor lengthi) -> CrossLinkMSRestraint
1105 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length, double slope, bool get_log_prob=False, std::string name) -> CrossLinkMSRestraint
1106 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length, double slope, bool get_log_prob=False) -> CrossLinkMSRestraint
1107 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length, double slope) -> CrossLinkMSRestraint
1109 this = _IMP_isd.new_CrossLinkMSRestraint(*args)
1111 self.this.append(this)
1115 def add_contribution(self, pps, sigmas, psi):
1116 """add_contribution(CrossLinkMSRestraint self, IMP::ParticleIndexPair const & pps, IMP::ParticleIndexPair const & sigmas, ParticleIndex psi)"""
1117 return _IMP_isd.CrossLinkMSRestraint_add_contribution(self, pps, sigmas, psi)
1120 def get_probability(self):
1121 """get_probability(CrossLinkMSRestraint self) -> double"""
1122 return _IMP_isd.CrossLinkMSRestraint_get_probability(self)
1125 def get_number_of_contributions(self):
1126 """get_number_of_contributions(CrossLinkMSRestraint self) -> unsigned int"""
1127 return _IMP_isd.CrossLinkMSRestraint_get_number_of_contributions(self)
1131 """do_get_inputs(CrossLinkMSRestraint self) -> IMP::ModelObjectsTemp"""
1132 return _IMP_isd.CrossLinkMSRestraint_do_get_inputs(self)
1136 """get_version_info(CrossLinkMSRestraint self) -> VersionInfo"""
1137 return _IMP_isd.CrossLinkMSRestraint_get_version_info(self)
1141 """__str__(CrossLinkMSRestraint self) -> std::string"""
1142 return _IMP_isd.CrossLinkMSRestraint___str__(self)
1146 """__repr__(CrossLinkMSRestraint self) -> std::string"""
1147 return _IMP_isd.CrossLinkMSRestraint___repr__(self)
1152 return _object_cast_to_CrossLinkMSRestraint(o)
1154 CrossLinkMSRestraint_swigregister = _IMP_isd.CrossLinkMSRestraint_swigregister
1155 CrossLinkMSRestraint_swigregister(CrossLinkMSRestraint)
1158 """Proxy of C++ IMP::isd::LogWrapper class."""
1160 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1162 def __init__(self, *args):
1164 __init__(IMP::isd::LogWrapper self, Model m, double weight, std::string const & name) -> LogWrapper
1165 __init__(IMP::isd::LogWrapper self, Model m, double weight) -> LogWrapper
1166 __init__(IMP::isd::LogWrapper self, Model m, std::string const & name) -> LogWrapper
1167 __init__(IMP::isd::LogWrapper self, Model m) -> LogWrapper
1168 __init__(IMP::isd::LogWrapper self, IMP::RestraintsTemp const & rs, double weight, std::string const & name) -> LogWrapper
1169 __init__(IMP::isd::LogWrapper self, IMP::RestraintsTemp const & rs, double weight) -> LogWrapper
1171 this = _IMP_isd.new_LogWrapper(*args)
1173 self.this.append(this)
1178 """do_get_inputs(LogWrapper self) -> IMP::ModelObjectsTemp"""
1179 return _IMP_isd.LogWrapper_do_get_inputs(self)
1183 """get_version_info(LogWrapper self) -> VersionInfo"""
1184 return _IMP_isd.LogWrapper_get_version_info(self)
1187 def remove_restraint(self, d):
1188 """remove_restraint(LogWrapper self, Restraint d)"""
1189 return _IMP_isd.LogWrapper_remove_restraint(self, d)
1192 def remove_restraints(self, d):
1193 """remove_restraints(LogWrapper self, IMP::Restraints const & d)"""
1194 return _IMP_isd.LogWrapper_remove_restraints(self, d)
1197 def set_restraints(self, ps):
1198 """set_restraints(LogWrapper self, IMP::Restraints const & ps)"""
1199 return _IMP_isd.LogWrapper_set_restraints(self, ps)
1202 def set_restraints_order(self, objs):
1203 """set_restraints_order(LogWrapper self, IMP::Restraints const & objs)"""
1204 return _IMP_isd.LogWrapper_set_restraints_order(self, objs)
1208 """add_restraint(LogWrapper self, Restraint obj) -> unsigned int"""
1209 return _IMP_isd.LogWrapper_add_restraint(self, obj)
1213 """add_restraints(LogWrapper self, IMP::Restraints const & objs)"""
1214 return _IMP_isd.LogWrapper_add_restraints(self, objs)
1217 def clear_restraints(self):
1218 """clear_restraints(LogWrapper self)"""
1219 return _IMP_isd.LogWrapper_clear_restraints(self)
1222 def get_number_of_restraints(self):
1223 """get_number_of_restraints(LogWrapper self) -> unsigned int"""
1224 return _IMP_isd.LogWrapper_get_number_of_restraints(self)
1227 def get_has_restraints(self):
1228 """get_has_restraints(LogWrapper self) -> bool"""
1229 return _IMP_isd.LogWrapper_get_has_restraints(self)
1232 def get_restraint(self, i):
1233 """get_restraint(LogWrapper self, unsigned int i) -> Restraint"""
1234 return _IMP_isd.LogWrapper_get_restraint(self, i)
1237 def get_restraints(self):
1238 """get_restraints(LogWrapper self) -> IMP::Restraints"""
1239 return _IMP_isd.LogWrapper_get_restraints(self)
1242 def reserve_restraints(self, sz):
1243 """reserve_restraints(LogWrapper self, unsigned int sz)"""
1244 return _IMP_isd.LogWrapper_reserve_restraints(self, sz)
1248 """__str__(LogWrapper self) -> std::string"""
1249 return _IMP_isd.LogWrapper___str__(self)
1253 """__repr__(LogWrapper self) -> std::string"""
1254 return _IMP_isd.LogWrapper___repr__(self)
1259 return _object_cast_to_LogWrapper(o)
1261 LogWrapper_swigregister = _IMP_isd.LogWrapper_swigregister
1262 LogWrapper_swigregister(LogWrapper)
1265 """Proxy of C++ IMP::isd::UniformPrior class."""
1267 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1269 def __init__(self, *args):
1271 __init__(IMP::isd::UniformPrior self, Model m, Particle p, IMP::Float k, IMP::Float upperb, IMP::Float lowerb, std::string name) -> UniformPrior
1272 __init__(IMP::isd::UniformPrior self, Model m, Particle p, IMP::Float k, IMP::Float upperb, IMP::Float lowerb) -> UniformPrior
1274 this = _IMP_isd.new_UniformPrior(*args)
1276 self.this.append(this)
1281 """do_get_inputs(UniformPrior self) -> IMP::ModelObjectsTemp"""
1282 return _IMP_isd.UniformPrior_do_get_inputs(self)
1286 """get_version_info(UniformPrior self) -> VersionInfo"""
1287 return _IMP_isd.UniformPrior_get_version_info(self)
1290 def get_probability(self):
1291 """get_probability(UniformPrior self) -> double"""
1292 return _IMP_isd.UniformPrior_get_probability(self)
1296 """__str__(UniformPrior self) -> std::string"""
1297 return _IMP_isd.UniformPrior___str__(self)
1301 """__repr__(UniformPrior self) -> std::string"""
1302 return _IMP_isd.UniformPrior___repr__(self)
1307 return _object_cast_to_UniformPrior(o)
1309 UniformPrior_swigregister = _IMP_isd.UniformPrior_swigregister
1310 UniformPrior_swigregister(UniformPrior)
1313 """Proxy of C++ IMP::isd::Nuisance class."""
1315 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1317 def __init__(self, *args):
1319 __init__(IMP::isd::Nuisance self) -> Nuisance
1320 __init__(IMP::isd::Nuisance self, Model m, ParticleIndex id) -> Nuisance
1321 __init__(IMP::isd::Nuisance self, _ParticleAdaptor d) -> Nuisance
1323 this = _IMP_isd.new_Nuisance(*args)
1325 self.this.append(this)
1329 def show(self, *args):
1331 show(Nuisance self, _ostream out)
1334 return _IMP_isd.Nuisance_show(self, *args)
1337 def setup_particle(*args):
1339 setup_particle(Model m, ParticleIndex pi) -> Nuisance
1340 setup_particle(_ParticleAdaptor decorator) -> Nuisance
1341 setup_particle(Model m, ParticleIndex pi, double nuisance) -> Nuisance
1342 setup_particle(_ParticleAdaptor decorator, double nuisance) -> Nuisance
1344 return _IMP_isd.Nuisance_setup_particle(*args)
1346 setup_particle = staticmethod(setup_particle)
1348 def get_is_setup(*args):
1350 get_is_setup(_ParticleAdaptor p) -> bool
1351 get_is_setup(Model m, ParticleIndex pi) -> bool
1353 return _IMP_isd.Nuisance_get_is_setup(*args)
1355 get_is_setup = staticmethod(get_is_setup)
1357 def get_nuisance_key():
1358 """get_nuisance_key() -> FloatKey"""
1359 return _IMP_isd.Nuisance_get_nuisance_key()
1361 get_nuisance_key = staticmethod(get_nuisance_key)
1363 def get_nuisance(self):
1364 """get_nuisance(Nuisance self) -> IMP::Float"""
1365 return _IMP_isd.Nuisance_get_nuisance(self)
1368 def set_nuisance(self, d):
1369 """set_nuisance(Nuisance self, IMP::Float d)"""
1370 return _IMP_isd.Nuisance_set_nuisance(self, d)
1373 def get_has_lower(self):
1374 """get_has_lower(Nuisance self) -> bool"""
1375 return _IMP_isd.Nuisance_get_has_lower(self)
1378 def get_lower(self):
1379 """get_lower(Nuisance self) -> IMP::Float"""
1380 return _IMP_isd.Nuisance_get_lower(self)
1383 def get_lower_key():
1384 """get_lower_key() -> FloatKey"""
1385 return _IMP_isd.Nuisance_get_lower_key()
1387 get_lower_key = staticmethod(get_lower_key)
1389 def get_lower_particle_key():
1390 """get_lower_particle_key() -> ParticleIndexKey"""
1391 return _IMP_isd.Nuisance_get_lower_particle_key()
1393 get_lower_particle_key = staticmethod(get_lower_particle_key)
1395 def set_lower(self, *args):
1397 set_lower(Nuisance self, IMP::Float d)
1398 set_lower(Nuisance self, Particle d)
1400 return _IMP_isd.Nuisance_set_lower(self, *args)
1403 def remove_lower(self):
1404 """remove_lower(Nuisance self)"""
1405 return _IMP_isd.Nuisance_remove_lower(self)
1408 def get_has_upper(self):
1409 """get_has_upper(Nuisance self) -> bool"""
1410 return _IMP_isd.Nuisance_get_has_upper(self)
1413 def get_upper(self):
1414 """get_upper(Nuisance self) -> IMP::Float"""
1415 return _IMP_isd.Nuisance_get_upper(self)
1418 def get_upper_key():
1419 """get_upper_key() -> FloatKey"""
1420 return _IMP_isd.Nuisance_get_upper_key()
1422 get_upper_key = staticmethod(get_upper_key)
1424 def get_upper_particle_key():
1425 """get_upper_particle_key() -> ParticleIndexKey"""
1426 return _IMP_isd.Nuisance_get_upper_particle_key()
1428 get_upper_particle_key = staticmethod(get_upper_particle_key)
1430 def set_upper(self, *args):
1432 set_upper(Nuisance self, IMP::Float d)
1433 set_upper(Nuisance self, Particle d)
1435 return _IMP_isd.Nuisance_set_upper(self, *args)
1438 def remove_upper(self):
1439 """remove_upper(Nuisance self)"""
1440 return _IMP_isd.Nuisance_remove_upper(self)
1443 def get_nuisance_derivative(self):
1444 """get_nuisance_derivative(Nuisance self) -> IMP::Float"""
1445 return _IMP_isd.Nuisance_get_nuisance_derivative(self)
1448 def add_to_nuisance_derivative(self, d, accum):
1449 """add_to_nuisance_derivative(Nuisance self, IMP::Float d, DerivativeAccumulator accum)"""
1450 return _IMP_isd.Nuisance_add_to_nuisance_derivative(self, d, accum)
1453 def get_nuisance_is_optimized(self):
1454 """get_nuisance_is_optimized(Nuisance self) -> bool"""
1455 return _IMP_isd.Nuisance_get_nuisance_is_optimized(self)
1458 def set_nuisance_is_optimized(self, val):
1459 """set_nuisance_is_optimized(Nuisance self, bool val)"""
1460 return _IMP_isd.Nuisance_set_nuisance_is_optimized(self, val)
1463 def add_attribute(self, *args):
1465 add_attribute(Nuisance self, FloatKey k, IMP::Float v, bool opt)
1466 add_attribute(Nuisance self, FloatKey a0, IMP::Float a1)
1467 add_attribute(Nuisance self, IntKey a0, IMP::Int a1)
1468 add_attribute(Nuisance self, StringKey a0, IMP::String a1)
1469 add_attribute(Nuisance self, ParticleIndexKey a0, Particle a1)
1470 add_attribute(Nuisance self, ObjectKey a0, Object a1)
1472 return _IMP_isd.Nuisance_add_attribute(self, *args)
1475 def get_value(self, *args):
1477 get_value(Nuisance self, FloatKey a0) -> IMP::Float
1478 get_value(Nuisance self, IntKey a0) -> IMP::Int
1479 get_value(Nuisance self, StringKey a0) -> IMP::String
1480 get_value(Nuisance self, ParticleIndexKey a0) -> Particle
1481 get_value(Nuisance self, ObjectKey a0) -> Object
1483 return _IMP_isd.Nuisance_get_value(self, *args)
1486 def set_value(self, *args):
1488 set_value(Nuisance self, FloatKey a0, IMP::Float a1)
1489 set_value(Nuisance self, IntKey a0, IMP::Int a1)
1490 set_value(Nuisance self, StringKey a0, IMP::String a1)
1491 set_value(Nuisance self, ParticleIndexKey a0, Particle a1)
1492 set_value(Nuisance self, ObjectKey a0, Object a1)
1494 return _IMP_isd.Nuisance_set_value(self, *args)
1497 def remove_attribute(self, *args):
1499 remove_attribute(Nuisance self, FloatKey a0)
1500 remove_attribute(Nuisance self, IntKey a0)
1501 remove_attribute(Nuisance self, StringKey a0)
1502 remove_attribute(Nuisance self, ParticleIndexKey a0)
1503 remove_attribute(Nuisance self, ObjectKey a0)
1505 return _IMP_isd.Nuisance_remove_attribute(self, *args)
1508 def has_attribute(self, *args):
1510 has_attribute(Nuisance self, FloatKey a0) -> bool
1511 has_attribute(Nuisance self, IntKey a0) -> bool
1512 has_attribute(Nuisance self, StringKey a0) -> bool
1513 has_attribute(Nuisance self, ParticleIndexKey a0) -> bool
1514 has_attribute(Nuisance self, ObjectKey a0) -> bool
1516 return _IMP_isd.Nuisance_has_attribute(self, *args)
1519 def get_derivative(self, a0):
1520 """get_derivative(Nuisance self, FloatKey a0) -> double"""
1521 return _IMP_isd.Nuisance_get_derivative(self, a0)
1525 """get_name(Nuisance self) -> std::string"""
1526 return _IMP_isd.Nuisance_get_name(self)
1530 """clear_caches(Nuisance self)"""
1531 return _IMP_isd.Nuisance_clear_caches(self)
1534 def set_name(self, a0):
1535 """set_name(Nuisance self, std::string a0)"""
1536 return _IMP_isd.Nuisance_set_name(self, a0)
1540 """set_check_level(Nuisance self, IMP::CheckLevel a0)"""
1541 return _IMP_isd.Nuisance_set_check_level(self, a0)
1544 def add_to_derivative(self, a0, a1, a2):
1545 """add_to_derivative(Nuisance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1546 return _IMP_isd.Nuisance_add_to_derivative(self, a0, a1, a2)
1549 def set_is_optimized(self, a0, a1):
1550 """set_is_optimized(Nuisance self, FloatKey a0, bool a1)"""
1551 return _IMP_isd.Nuisance_set_is_optimized(self, a0, a1)
1554 def get_is_optimized(self, a0):
1555 """get_is_optimized(Nuisance self, FloatKey a0) -> bool"""
1556 return _IMP_isd.Nuisance_get_is_optimized(self, a0)
1559 def get_check_level(self):
1560 """get_check_level(Nuisance self) -> IMP::CheckLevel"""
1561 return _IMP_isd.Nuisance_get_check_level(self)
1564 def __eq__(self, *args):
1566 __eq__(Nuisance self, Nuisance o) -> bool
1567 __eq__(Nuisance self, Particle d) -> bool
1569 return _IMP_isd.Nuisance___eq__(self, *args)
1572 def __ne__(self, *args):
1574 __ne__(Nuisance self, Nuisance o) -> bool
1575 __ne__(Nuisance self, Particle d) -> bool
1577 return _IMP_isd.Nuisance___ne__(self, *args)
1580 def __le__(self, *args):
1582 __le__(Nuisance self, Nuisance o) -> bool
1583 __le__(Nuisance self, Particle d) -> bool
1585 return _IMP_isd.Nuisance___le__(self, *args)
1588 def __lt__(self, *args):
1590 __lt__(Nuisance self, Nuisance o) -> bool
1591 __lt__(Nuisance self, Particle d) -> bool
1593 return _IMP_isd.Nuisance___lt__(self, *args)
1596 def __ge__(self, *args):
1598 __ge__(Nuisance self, Nuisance o) -> bool
1599 __ge__(Nuisance self, Particle d) -> bool
1601 return _IMP_isd.Nuisance___ge__(self, *args)
1604 def __gt__(self, *args):
1606 __gt__(Nuisance self, Nuisance o) -> bool
1607 __gt__(Nuisance self, Particle d) -> bool
1609 return _IMP_isd.Nuisance___gt__(self, *args)
1613 """__hash__(Nuisance self) -> std::size_t"""
1614 return _IMP_isd.Nuisance___hash__(self)
1618 """__str__(Nuisance self) -> std::string"""
1619 return _IMP_isd.Nuisance___str__(self)
1623 """__repr__(Nuisance self) -> std::string"""
1624 return _IMP_isd.Nuisance___repr__(self)
1626 __swig_destroy__ = _IMP_isd.delete_Nuisance
1627 __del__ =
lambda self:
None
1628 Nuisance_swigregister = _IMP_isd.Nuisance_swigregister
1629 Nuisance_swigregister(Nuisance)
1631 def Nuisance_setup_particle(*args):
1633 setup_particle(Model m, ParticleIndex pi) -> Nuisance
1634 setup_particle(_ParticleAdaptor decorator) -> Nuisance
1635 setup_particle(Model m, ParticleIndex pi, double nuisance) -> Nuisance
1636 Nuisance_setup_particle(_ParticleAdaptor decorator, double nuisance) -> Nuisance
1638 return _IMP_isd.Nuisance_setup_particle(*args)
1640 def Nuisance_get_is_setup(*args):
1642 get_is_setup(_ParticleAdaptor p) -> bool
1643 Nuisance_get_is_setup(Model m, ParticleIndex pi) -> bool
1645 return _IMP_isd.Nuisance_get_is_setup(*args)
1647 def Nuisance_get_nuisance_key():
1648 """Nuisance_get_nuisance_key() -> FloatKey"""
1649 return _IMP_isd.Nuisance_get_nuisance_key()
1651 def Nuisance_get_lower_key():
1652 """Nuisance_get_lower_key() -> FloatKey"""
1653 return _IMP_isd.Nuisance_get_lower_key()
1655 def Nuisance_get_lower_particle_key():
1656 """Nuisance_get_lower_particle_key() -> ParticleIndexKey"""
1657 return _IMP_isd.Nuisance_get_lower_particle_key()
1659 def Nuisance_get_upper_key():
1660 """Nuisance_get_upper_key() -> FloatKey"""
1661 return _IMP_isd.Nuisance_get_upper_key()
1663 def Nuisance_get_upper_particle_key():
1664 """Nuisance_get_upper_particle_key() -> ParticleIndexKey"""
1665 return _IMP_isd.Nuisance_get_upper_particle_key()
1667 class Scale(Nuisance):
1668 """Proxy of C++ IMP::isd::Scale class."""
1670 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1672 def __init__(self, *args):
1674 __init__(IMP::isd::Scale self) -> Scale
1675 __init__(IMP::isd::Scale self, Model m, ParticleIndex id) -> Scale
1676 __init__(IMP::isd::Scale self, _ParticleAdaptor d) -> Scale
1678 this = _IMP_isd.new_Scale(*args)
1680 self.this.append(this)
1684 def show(self, *args):
1686 show(Scale self, _ostream out)
1689 return _IMP_isd.Scale_show(self, *args)
1692 def setup_particle(*args):
1694 setup_particle(Model m, ParticleIndex pi) -> Scale
1695 setup_particle(_ParticleAdaptor decorator) -> Scale
1696 setup_particle(Model m, ParticleIndex pi, double scale) -> Scale
1697 setup_particle(_ParticleAdaptor decorator, double scale) -> Scale
1699 return _IMP_isd.Scale_setup_particle(*args)
1701 setup_particle = staticmethod(setup_particle)
1703 def get_is_setup(*args):
1705 get_is_setup(_ParticleAdaptor p) -> bool
1706 get_is_setup(Model m, ParticleIndex pi) -> bool
1708 return _IMP_isd.Scale_get_is_setup(*args)
1710 get_is_setup = staticmethod(get_is_setup)
1712 def get_scale(self):
1713 """get_scale(Scale self) -> IMP::Float"""
1714 return _IMP_isd.Scale_get_scale(self)
1717 def set_scale(self, d):
1718 """set_scale(Scale self, IMP::Float d)"""
1719 return _IMP_isd.Scale_set_scale(self, d)
1722 def add_to_scale_derivative(self, d, accum):
1723 """add_to_scale_derivative(Scale self, IMP::Float d, DerivativeAccumulator accum)"""
1724 return _IMP_isd.Scale_add_to_scale_derivative(self, d, accum)
1727 def get_scale_derivative(self):
1728 """get_scale_derivative(Scale self) -> IMP::Float"""
1729 return _IMP_isd.Scale_get_scale_derivative(self)
1732 def get_scale_key():
1733 """get_scale_key() -> FloatKey"""
1734 return _IMP_isd.Scale_get_scale_key()
1736 get_scale_key = staticmethod(get_scale_key)
1738 def get_scale_is_optimized(self):
1739 """get_scale_is_optimized(Scale self) -> bool"""
1740 return _IMP_isd.Scale_get_scale_is_optimized(self)
1743 def set_scale_is_optimized(self, val):
1744 """set_scale_is_optimized(Scale self, bool val)"""
1745 return _IMP_isd.Scale_set_scale_is_optimized(self, val)
1748 def add_attribute(self, *args):
1750 add_attribute(Scale self, FloatKey k, IMP::Float v, bool opt)
1751 add_attribute(Scale self, FloatKey a0, IMP::Float a1)
1752 add_attribute(Scale self, IntKey a0, IMP::Int a1)
1753 add_attribute(Scale self, StringKey a0, IMP::String a1)
1754 add_attribute(Scale self, ParticleIndexKey a0, Particle a1)
1755 add_attribute(Scale self, ObjectKey a0, Object a1)
1757 return _IMP_isd.Scale_add_attribute(self, *args)
1760 def get_value(self, *args):
1762 get_value(Scale self, FloatKey a0) -> IMP::Float
1763 get_value(Scale self, IntKey a0) -> IMP::Int
1764 get_value(Scale self, StringKey a0) -> IMP::String
1765 get_value(Scale self, ParticleIndexKey a0) -> Particle
1766 get_value(Scale self, ObjectKey a0) -> Object
1768 return _IMP_isd.Scale_get_value(self, *args)
1771 def set_value(self, *args):
1773 set_value(Scale self, FloatKey a0, IMP::Float a1)
1774 set_value(Scale self, IntKey a0, IMP::Int a1)
1775 set_value(Scale self, StringKey a0, IMP::String a1)
1776 set_value(Scale self, ParticleIndexKey a0, Particle a1)
1777 set_value(Scale self, ObjectKey a0, Object a1)
1779 return _IMP_isd.Scale_set_value(self, *args)
1782 def remove_attribute(self, *args):
1784 remove_attribute(Scale self, FloatKey a0)
1785 remove_attribute(Scale self, IntKey a0)
1786 remove_attribute(Scale self, StringKey a0)
1787 remove_attribute(Scale self, ParticleIndexKey a0)
1788 remove_attribute(Scale self, ObjectKey a0)
1790 return _IMP_isd.Scale_remove_attribute(self, *args)
1793 def has_attribute(self, *args):
1795 has_attribute(Scale self, FloatKey a0) -> bool
1796 has_attribute(Scale self, IntKey a0) -> bool
1797 has_attribute(Scale self, StringKey a0) -> bool
1798 has_attribute(Scale self, ParticleIndexKey a0) -> bool
1799 has_attribute(Scale self, ObjectKey a0) -> bool
1801 return _IMP_isd.Scale_has_attribute(self, *args)
1804 def get_derivative(self, a0):
1805 """get_derivative(Scale self, FloatKey a0) -> double"""
1806 return _IMP_isd.Scale_get_derivative(self, a0)
1810 """get_name(Scale self) -> std::string"""
1811 return _IMP_isd.Scale_get_name(self)
1815 """clear_caches(Scale self)"""
1816 return _IMP_isd.Scale_clear_caches(self)
1819 def set_name(self, a0):
1820 """set_name(Scale self, std::string a0)"""
1821 return _IMP_isd.Scale_set_name(self, a0)
1825 """set_check_level(Scale self, IMP::CheckLevel a0)"""
1826 return _IMP_isd.Scale_set_check_level(self, a0)
1829 def add_to_derivative(self, a0, a1, a2):
1830 """add_to_derivative(Scale self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1831 return _IMP_isd.Scale_add_to_derivative(self, a0, a1, a2)
1834 def set_is_optimized(self, a0, a1):
1835 """set_is_optimized(Scale self, FloatKey a0, bool a1)"""
1836 return _IMP_isd.Scale_set_is_optimized(self, a0, a1)
1839 def get_is_optimized(self, a0):
1840 """get_is_optimized(Scale self, FloatKey a0) -> bool"""
1841 return _IMP_isd.Scale_get_is_optimized(self, a0)
1844 def get_check_level(self):
1845 """get_check_level(Scale self) -> IMP::CheckLevel"""
1846 return _IMP_isd.Scale_get_check_level(self)
1849 def __eq__(self, *args):
1851 __eq__(Scale self, Scale o) -> bool
1852 __eq__(Scale self, Particle d) -> bool
1854 return _IMP_isd.Scale___eq__(self, *args)
1857 def __ne__(self, *args):
1859 __ne__(Scale self, Scale o) -> bool
1860 __ne__(Scale self, Particle d) -> bool
1862 return _IMP_isd.Scale___ne__(self, *args)
1865 def __le__(self, *args):
1867 __le__(Scale self, Scale o) -> bool
1868 __le__(Scale self, Particle d) -> bool
1870 return _IMP_isd.Scale___le__(self, *args)
1873 def __lt__(self, *args):
1875 __lt__(Scale self, Scale o) -> bool
1876 __lt__(Scale self, Particle d) -> bool
1878 return _IMP_isd.Scale___lt__(self, *args)
1881 def __ge__(self, *args):
1883 __ge__(Scale self, Scale o) -> bool
1884 __ge__(Scale self, Particle d) -> bool
1886 return _IMP_isd.Scale___ge__(self, *args)
1889 def __gt__(self, *args):
1891 __gt__(Scale self, Scale o) -> bool
1892 __gt__(Scale self, Particle d) -> bool
1894 return _IMP_isd.Scale___gt__(self, *args)
1898 """__hash__(Scale self) -> std::size_t"""
1899 return _IMP_isd.Scale___hash__(self)
1903 """__str__(Scale self) -> std::string"""
1904 return _IMP_isd.Scale___str__(self)
1908 """__repr__(Scale self) -> std::string"""
1909 return _IMP_isd.Scale___repr__(self)
1911 __swig_destroy__ = _IMP_isd.delete_Scale
1912 __del__ =
lambda self:
None
1913 Scale_swigregister = _IMP_isd.Scale_swigregister
1914 Scale_swigregister(Scale)
1916 def Scale_setup_particle(*args):
1918 setup_particle(Model m, ParticleIndex pi) -> Scale
1919 setup_particle(_ParticleAdaptor decorator) -> Scale
1920 setup_particle(Model m, ParticleIndex pi, double scale) -> Scale
1921 Scale_setup_particle(_ParticleAdaptor decorator, double scale) -> Scale
1923 return _IMP_isd.Scale_setup_particle(*args)
1925 def Scale_get_is_setup(*args):
1927 get_is_setup(_ParticleAdaptor p) -> bool
1928 Scale_get_is_setup(Model m, ParticleIndex pi) -> bool
1930 return _IMP_isd.Scale_get_is_setup(*args)
1932 def Scale_get_scale_key():
1933 """Scale_get_scale_key() -> FloatKey"""
1934 return _IMP_isd.Scale_get_scale_key()
1936 class Switching(Nuisance):
1937 """Proxy of C++ IMP::isd::Switching class."""
1939 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1941 def __init__(self, *args):
1943 __init__(IMP::isd::Switching self) -> Switching
1944 __init__(IMP::isd::Switching self, Model m, ParticleIndex id) -> Switching
1945 __init__(IMP::isd::Switching self, _ParticleAdaptor d) -> Switching
1947 this = _IMP_isd.new_Switching(*args)
1949 self.this.append(this)
1953 def show(self, *args):
1955 show(Switching self, _ostream out)
1956 show(Switching self)
1958 return _IMP_isd.Switching_show(self, *args)
1961 def setup_particle(*args):
1963 setup_particle(Model m, ParticleIndex pi) -> Switching
1964 setup_particle(_ParticleAdaptor decorator) -> Switching
1965 setup_particle(Model m, ParticleIndex pi, double switching) -> Switching
1966 setup_particle(_ParticleAdaptor decorator, double switching) -> Switching
1968 return _IMP_isd.Switching_setup_particle(*args)
1970 setup_particle = staticmethod(setup_particle)
1972 def get_is_setup(*args):
1974 get_is_setup(_ParticleAdaptor p) -> bool
1975 get_is_setup(Model m, ParticleIndex pi) -> bool
1977 return _IMP_isd.Switching_get_is_setup(*args)
1979 get_is_setup = staticmethod(get_is_setup)
1981 def get_switching(self):
1982 """get_switching(Switching self) -> IMP::Float"""
1983 return _IMP_isd.Switching_get_switching(self)
1986 def set_switching(self, d):
1987 """set_switching(Switching self, IMP::Float d)"""
1988 return _IMP_isd.Switching_set_switching(self, d)
1991 def add_to_switching_derivative(self, d, accum):
1992 """add_to_switching_derivative(Switching self, IMP::Float d, DerivativeAccumulator accum)"""
1993 return _IMP_isd.Switching_add_to_switching_derivative(self, d, accum)
1996 def get_switching_derivative(self):
1997 """get_switching_derivative(Switching self) -> IMP::Float"""
1998 return _IMP_isd.Switching_get_switching_derivative(self)
2001 def get_switching_key():
2002 """get_switching_key() -> FloatKey"""
2003 return _IMP_isd.Switching_get_switching_key()
2005 get_switching_key = staticmethod(get_switching_key)
2007 def get_switching_is_optimized(self):
2008 """get_switching_is_optimized(Switching self) -> bool"""
2009 return _IMP_isd.Switching_get_switching_is_optimized(self)
2012 def set_switching_is_optimized(self, val):
2013 """set_switching_is_optimized(Switching self, bool val)"""
2014 return _IMP_isd.Switching_set_switching_is_optimized(self, val)
2017 def add_attribute(self, *args):
2019 add_attribute(Switching self, FloatKey k, IMP::Float v, bool opt)
2020 add_attribute(Switching self, FloatKey a0, IMP::Float a1)
2021 add_attribute(Switching self, IntKey a0, IMP::Int a1)
2022 add_attribute(Switching self, StringKey a0, IMP::String a1)
2023 add_attribute(Switching self, ParticleIndexKey a0, Particle a1)
2024 add_attribute(Switching self, ObjectKey a0, Object a1)
2026 return _IMP_isd.Switching_add_attribute(self, *args)
2029 def get_value(self, *args):
2031 get_value(Switching self, FloatKey a0) -> IMP::Float
2032 get_value(Switching self, IntKey a0) -> IMP::Int
2033 get_value(Switching self, StringKey a0) -> IMP::String
2034 get_value(Switching self, ParticleIndexKey a0) -> Particle
2035 get_value(Switching self, ObjectKey a0) -> Object
2037 return _IMP_isd.Switching_get_value(self, *args)
2040 def set_value(self, *args):
2042 set_value(Switching self, FloatKey a0, IMP::Float a1)
2043 set_value(Switching self, IntKey a0, IMP::Int a1)
2044 set_value(Switching self, StringKey a0, IMP::String a1)
2045 set_value(Switching self, ParticleIndexKey a0, Particle a1)
2046 set_value(Switching self, ObjectKey a0, Object a1)
2048 return _IMP_isd.Switching_set_value(self, *args)
2051 def remove_attribute(self, *args):
2053 remove_attribute(Switching self, FloatKey a0)
2054 remove_attribute(Switching self, IntKey a0)
2055 remove_attribute(Switching self, StringKey a0)
2056 remove_attribute(Switching self, ParticleIndexKey a0)
2057 remove_attribute(Switching self, ObjectKey a0)
2059 return _IMP_isd.Switching_remove_attribute(self, *args)
2062 def has_attribute(self, *args):
2064 has_attribute(Switching self, FloatKey a0) -> bool
2065 has_attribute(Switching self, IntKey a0) -> bool
2066 has_attribute(Switching self, StringKey a0) -> bool
2067 has_attribute(Switching self, ParticleIndexKey a0) -> bool
2068 has_attribute(Switching self, ObjectKey a0) -> bool
2070 return _IMP_isd.Switching_has_attribute(self, *args)
2073 def get_derivative(self, a0):
2074 """get_derivative(Switching self, FloatKey a0) -> double"""
2075 return _IMP_isd.Switching_get_derivative(self, a0)
2079 """get_name(Switching self) -> std::string"""
2080 return _IMP_isd.Switching_get_name(self)
2084 """clear_caches(Switching self)"""
2085 return _IMP_isd.Switching_clear_caches(self)
2088 def set_name(self, a0):
2089 """set_name(Switching self, std::string a0)"""
2090 return _IMP_isd.Switching_set_name(self, a0)
2094 """set_check_level(Switching self, IMP::CheckLevel a0)"""
2095 return _IMP_isd.Switching_set_check_level(self, a0)
2098 def add_to_derivative(self, a0, a1, a2):
2099 """add_to_derivative(Switching self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2100 return _IMP_isd.Switching_add_to_derivative(self, a0, a1, a2)
2103 def set_is_optimized(self, a0, a1):
2104 """set_is_optimized(Switching self, FloatKey a0, bool a1)"""
2105 return _IMP_isd.Switching_set_is_optimized(self, a0, a1)
2108 def get_is_optimized(self, a0):
2109 """get_is_optimized(Switching self, FloatKey a0) -> bool"""
2110 return _IMP_isd.Switching_get_is_optimized(self, a0)
2113 def get_check_level(self):
2114 """get_check_level(Switching self) -> IMP::CheckLevel"""
2115 return _IMP_isd.Switching_get_check_level(self)
2118 def __eq__(self, *args):
2120 __eq__(Switching self, Switching o) -> bool
2121 __eq__(Switching self, Particle d) -> bool
2123 return _IMP_isd.Switching___eq__(self, *args)
2126 def __ne__(self, *args):
2128 __ne__(Switching self, Switching o) -> bool
2129 __ne__(Switching self, Particle d) -> bool
2131 return _IMP_isd.Switching___ne__(self, *args)
2134 def __le__(self, *args):
2136 __le__(Switching self, Switching o) -> bool
2137 __le__(Switching self, Particle d) -> bool
2139 return _IMP_isd.Switching___le__(self, *args)
2142 def __lt__(self, *args):
2144 __lt__(Switching self, Switching o) -> bool
2145 __lt__(Switching self, Particle d) -> bool
2147 return _IMP_isd.Switching___lt__(self, *args)
2150 def __ge__(self, *args):
2152 __ge__(Switching self, Switching o) -> bool
2153 __ge__(Switching self, Particle d) -> bool
2155 return _IMP_isd.Switching___ge__(self, *args)
2158 def __gt__(self, *args):
2160 __gt__(Switching self, Switching o) -> bool
2161 __gt__(Switching self, Particle d) -> bool
2163 return _IMP_isd.Switching___gt__(self, *args)
2167 """__hash__(Switching self) -> std::size_t"""
2168 return _IMP_isd.Switching___hash__(self)
2172 """__str__(Switching self) -> std::string"""
2173 return _IMP_isd.Switching___str__(self)
2177 """__repr__(Switching self) -> std::string"""
2178 return _IMP_isd.Switching___repr__(self)
2180 __swig_destroy__ = _IMP_isd.delete_Switching
2181 __del__ =
lambda self:
None
2182 Switching_swigregister = _IMP_isd.Switching_swigregister
2183 Switching_swigregister(Switching)
2185 def Switching_setup_particle(*args):
2187 setup_particle(Model m, ParticleIndex pi) -> Switching
2188 setup_particle(_ParticleAdaptor decorator) -> Switching
2189 setup_particle(Model m, ParticleIndex pi, double switching) -> Switching
2190 Switching_setup_particle(_ParticleAdaptor decorator, double switching) -> Switching
2192 return _IMP_isd.Switching_setup_particle(*args)
2194 def Switching_get_is_setup(*args):
2196 get_is_setup(_ParticleAdaptor p) -> bool
2197 Switching_get_is_setup(Model m, ParticleIndex pi) -> bool
2199 return _IMP_isd.Switching_get_is_setup(*args)
2201 def Switching_get_switching_key():
2202 """Switching_get_switching_key() -> FloatKey"""
2203 return _IMP_isd.Switching_get_switching_key()
2206 def __lshift__(*args):
2208 __lshift__(_ostream out, Nuisance n) -> _ostream
2209 __lshift__(_ostream out, Scale n) -> _ostream
2210 __lshift__(_ostream out, Switching n) -> _ostream
2212 return _IMP_isd.__lshift__(*args)
2214 """Proxy of C++ IMP::isd::Weight class."""
2216 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2218 def __init__(self, *args):
2220 __init__(IMP::isd::Weight self) -> Weight
2221 __init__(IMP::isd::Weight self, Model m, ParticleIndex id) -> Weight
2222 __init__(IMP::isd::Weight self, _ParticleAdaptor d) -> Weight
2224 this = _IMP_isd.new_Weight(*args)
2226 self.this.append(this)
2230 def show(self, *args):
2232 show(Weight self, _ostream out)
2235 return _IMP_isd.Weight_show(self, *args)
2238 def setup_particle(*args):
2240 setup_particle(Model m, ParticleIndex pi) -> Weight
2241 setup_particle(_ParticleAdaptor decorator) -> Weight
2243 return _IMP_isd.Weight_setup_particle(*args)
2245 setup_particle = staticmethod(setup_particle)
2247 def get_nstates_key():
2248 """get_nstates_key() -> IntKey"""
2249 return _IMP_isd.Weight_get_nstates_key()
2251 get_nstates_key = staticmethod(get_nstates_key)
2253 def get_weight_key(i):
2254 """get_weight_key(int i) -> FloatKey"""
2255 return _IMP_isd.Weight_get_weight_key(i)
2257 get_weight_key = staticmethod(get_weight_key)
2259 def set_weights(self, w):
2260 """set_weights(Weight self, VectorKD w)"""
2261 return _IMP_isd.Weight_set_weights(self, w)
2264 def add_weight(self):
2265 """add_weight(Weight self)"""
2266 return _IMP_isd.Weight_add_weight(self)
2269 def get_weight(self, i):
2270 """get_weight(Weight self, int i) -> IMP::Float"""
2271 return _IMP_isd.Weight_get_weight(self, i)
2274 def get_weights(self):
2275 """get_weights(Weight self) -> VectorKD"""
2276 return _IMP_isd.Weight_get_weights(self)
2279 def set_weights_are_optimized(self, tf):
2280 """set_weights_are_optimized(Weight self, bool tf)"""
2281 return _IMP_isd.Weight_set_weights_are_optimized(self, tf)
2284 def get_number_of_states(self):
2285 """get_number_of_states(Weight self) -> IMP::Int"""
2286 return _IMP_isd.Weight_get_number_of_states(self)
2289 def get_is_setup(*args):
2291 get_is_setup(_ParticleAdaptor p) -> bool
2292 get_is_setup(Model m, ParticleIndex pi) -> bool
2294 return _IMP_isd.Weight_get_is_setup(*args)
2296 get_is_setup = staticmethod(get_is_setup)
2298 def add_attribute(self, *args):
2300 add_attribute(Weight self, FloatKey k, IMP::Float v, bool opt)
2301 add_attribute(Weight self, FloatKey a0, IMP::Float a1)
2302 add_attribute(Weight self, IntKey a0, IMP::Int a1)
2303 add_attribute(Weight self, StringKey a0, IMP::String a1)
2304 add_attribute(Weight self, ParticleIndexKey a0, Particle a1)
2305 add_attribute(Weight self, ObjectKey a0, Object a1)
2307 return _IMP_isd.Weight_add_attribute(self, *args)
2310 def get_value(self, *args):
2312 get_value(Weight self, FloatKey a0) -> IMP::Float
2313 get_value(Weight self, IntKey a0) -> IMP::Int
2314 get_value(Weight self, StringKey a0) -> IMP::String
2315 get_value(Weight self, ParticleIndexKey a0) -> Particle
2316 get_value(Weight self, ObjectKey a0) -> Object
2318 return _IMP_isd.Weight_get_value(self, *args)
2321 def set_value(self, *args):
2323 set_value(Weight self, FloatKey a0, IMP::Float a1)
2324 set_value(Weight self, IntKey a0, IMP::Int a1)
2325 set_value(Weight self, StringKey a0, IMP::String a1)
2326 set_value(Weight self, ParticleIndexKey a0, Particle a1)
2327 set_value(Weight self, ObjectKey a0, Object a1)
2329 return _IMP_isd.Weight_set_value(self, *args)
2332 def remove_attribute(self, *args):
2334 remove_attribute(Weight self, FloatKey a0)
2335 remove_attribute(Weight self, IntKey a0)
2336 remove_attribute(Weight self, StringKey a0)
2337 remove_attribute(Weight self, ParticleIndexKey a0)
2338 remove_attribute(Weight self, ObjectKey a0)
2340 return _IMP_isd.Weight_remove_attribute(self, *args)
2343 def has_attribute(self, *args):
2345 has_attribute(Weight self, FloatKey a0) -> bool
2346 has_attribute(Weight self, IntKey a0) -> bool
2347 has_attribute(Weight self, StringKey a0) -> bool
2348 has_attribute(Weight self, ParticleIndexKey a0) -> bool
2349 has_attribute(Weight self, ObjectKey a0) -> bool
2351 return _IMP_isd.Weight_has_attribute(self, *args)
2354 def get_derivative(self, a0):
2355 """get_derivative(Weight self, FloatKey a0) -> double"""
2356 return _IMP_isd.Weight_get_derivative(self, a0)
2360 """get_name(Weight self) -> std::string"""
2361 return _IMP_isd.Weight_get_name(self)
2365 """clear_caches(Weight self)"""
2366 return _IMP_isd.Weight_clear_caches(self)
2369 def set_name(self, a0):
2370 """set_name(Weight self, std::string a0)"""
2371 return _IMP_isd.Weight_set_name(self, a0)
2375 """set_check_level(Weight self, IMP::CheckLevel a0)"""
2376 return _IMP_isd.Weight_set_check_level(self, a0)
2379 def add_to_derivative(self, a0, a1, a2):
2380 """add_to_derivative(Weight self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2381 return _IMP_isd.Weight_add_to_derivative(self, a0, a1, a2)
2384 def set_is_optimized(self, a0, a1):
2385 """set_is_optimized(Weight self, FloatKey a0, bool a1)"""
2386 return _IMP_isd.Weight_set_is_optimized(self, a0, a1)
2389 def get_is_optimized(self, a0):
2390 """get_is_optimized(Weight self, FloatKey a0) -> bool"""
2391 return _IMP_isd.Weight_get_is_optimized(self, a0)
2394 def get_check_level(self):
2395 """get_check_level(Weight self) -> IMP::CheckLevel"""
2396 return _IMP_isd.Weight_get_check_level(self)
2399 def __eq__(self, *args):
2401 __eq__(Weight self, Weight o) -> bool
2402 __eq__(Weight self, Particle d) -> bool
2404 return _IMP_isd.Weight___eq__(self, *args)
2407 def __ne__(self, *args):
2409 __ne__(Weight self, Weight o) -> bool
2410 __ne__(Weight self, Particle d) -> bool
2412 return _IMP_isd.Weight___ne__(self, *args)
2415 def __le__(self, *args):
2417 __le__(Weight self, Weight o) -> bool
2418 __le__(Weight self, Particle d) -> bool
2420 return _IMP_isd.Weight___le__(self, *args)
2423 def __lt__(self, *args):
2425 __lt__(Weight self, Weight o) -> bool
2426 __lt__(Weight self, Particle d) -> bool
2428 return _IMP_isd.Weight___lt__(self, *args)
2431 def __ge__(self, *args):
2433 __ge__(Weight self, Weight o) -> bool
2434 __ge__(Weight self, Particle d) -> bool
2436 return _IMP_isd.Weight___ge__(self, *args)
2439 def __gt__(self, *args):
2441 __gt__(Weight self, Weight o) -> bool
2442 __gt__(Weight self, Particle d) -> bool
2444 return _IMP_isd.Weight___gt__(self, *args)
2448 """__hash__(Weight self) -> std::size_t"""
2449 return _IMP_isd.Weight___hash__(self)
2453 """__str__(Weight self) -> std::string"""
2454 return _IMP_isd.Weight___str__(self)
2458 """__repr__(Weight self) -> std::string"""
2459 return _IMP_isd.Weight___repr__(self)
2461 __swig_destroy__ = _IMP_isd.delete_Weight
2462 __del__ =
lambda self:
None
2463 Weight_swigregister = _IMP_isd.Weight_swigregister
2464 Weight_swigregister(Weight)
2466 def Weight_setup_particle(*args):
2468 setup_particle(Model m, ParticleIndex pi) -> Weight
2469 Weight_setup_particle(_ParticleAdaptor decorator) -> Weight
2471 return _IMP_isd.Weight_setup_particle(*args)
2473 def Weight_get_nstates_key():
2474 """Weight_get_nstates_key() -> IntKey"""
2475 return _IMP_isd.Weight_get_nstates_key()
2477 def Weight_get_weight_key(i):
2478 """Weight_get_weight_key(int i) -> FloatKey"""
2479 return _IMP_isd.Weight_get_weight_key(i)
2481 def Weight_get_is_setup(*args):
2483 get_is_setup(_ParticleAdaptor p) -> bool
2484 Weight_get_is_setup(Model m, ParticleIndex pi) -> bool
2486 return _IMP_isd.Weight_get_is_setup(*args)
2489 """Proxy of C++ IMP::isd::JeffreysRestraint class."""
2491 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2493 def __init__(self, m, p):
2494 """__init__(IMP::isd::JeffreysRestraint self, Model m, Particle p) -> JeffreysRestraint"""
2495 this = _IMP_isd.new_JeffreysRestraint(m, p)
2497 self.this.append(this)
2502 """do_get_inputs(JeffreysRestraint self) -> IMP::ModelObjectsTemp"""
2503 return _IMP_isd.JeffreysRestraint_do_get_inputs(self)
2507 """get_version_info(JeffreysRestraint self) -> VersionInfo"""
2508 return _IMP_isd.JeffreysRestraint_get_version_info(self)
2511 def get_probability(self):
2512 """get_probability(JeffreysRestraint self) -> double"""
2513 return _IMP_isd.JeffreysRestraint_get_probability(self)
2517 """__str__(JeffreysRestraint self) -> std::string"""
2518 return _IMP_isd.JeffreysRestraint___str__(self)
2522 """__repr__(JeffreysRestraint self) -> std::string"""
2523 return _IMP_isd.JeffreysRestraint___repr__(self)
2528 return _object_cast_to_JeffreysRestraint(o)
2530 JeffreysRestraint_swigregister = _IMP_isd.JeffreysRestraint_swigregister
2531 JeffreysRestraint_swigregister(JeffreysRestraint)
2534 """Proxy of C++ IMP::isd::FNormal class."""
2536 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2538 def __init__(self, FA, JA, FM, sigma):
2539 """__init__(IMP::isd::FNormal self, double FA, double JA, double FM, double sigma) -> FNormal"""
2540 this = _IMP_isd.new_FNormal(FA, JA, FM, sigma)
2542 self.this.append(this)
2547 """evaluate(FNormal self) -> double"""
2548 return _IMP_isd.FNormal_evaluate(self)
2551 def evaluate_derivative_FA(self):
2552 """evaluate_derivative_FA(FNormal self) -> double"""
2553 return _IMP_isd.FNormal_evaluate_derivative_FA(self)
2556 def evaluate_derivative_JA(self):
2557 """evaluate_derivative_JA(FNormal self) -> double"""
2558 return _IMP_isd.FNormal_evaluate_derivative_JA(self)
2561 def evaluate_derivative_FM(self):
2562 """evaluate_derivative_FM(FNormal self) -> double"""
2563 return _IMP_isd.FNormal_evaluate_derivative_FM(self)
2566 def evaluate_derivative_sigma(self):
2567 """evaluate_derivative_sigma(FNormal self) -> double"""
2568 return _IMP_isd.FNormal_evaluate_derivative_sigma(self)
2572 """density(FNormal self) -> double"""
2573 return _IMP_isd.FNormal_density(self)
2576 def set_FA(self, f):
2577 """set_FA(FNormal self, double f)"""
2578 return _IMP_isd.FNormal_set_FA(self, f)
2581 def set_JA(self, f):
2582 """set_JA(FNormal self, double f)"""
2583 return _IMP_isd.FNormal_set_JA(self, f)
2586 def set_FM(self, f):
2587 """set_FM(FNormal self, double f)"""
2588 return _IMP_isd.FNormal_set_FM(self, f)
2591 def set_sigma(self, f):
2592 """set_sigma(FNormal self, double f)"""
2593 return _IMP_isd.FNormal_set_sigma(self, f)
2597 """get_version_info(FNormal self) -> VersionInfo"""
2598 return _IMP_isd.FNormal_get_version_info(self)
2602 """__str__(FNormal self) -> std::string"""
2603 return _IMP_isd.FNormal___str__(self)
2607 """__repr__(FNormal self) -> std::string"""
2608 return _IMP_isd.FNormal___repr__(self)
2613 return _object_cast_to_FNormal(o)
2615 FNormal_swigregister = _IMP_isd.FNormal_swigregister
2616 FNormal_swigregister(FNormal)
2619 """Proxy of C++ IMP::isd::vonMises class."""
2621 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2623 def __init__(self, x, mu, kappa):
2624 """__init__(IMP::isd::vonMises self, double x, double mu, double kappa) -> vonMises"""
2625 this = _IMP_isd.new_vonMises(x, mu, kappa)
2627 self.this.append(this)
2632 """evaluate(vonMises self) -> double"""
2633 return _IMP_isd.vonMises_evaluate(self)
2636 def evaluate_derivative_x(self):
2637 """evaluate_derivative_x(vonMises self) -> double"""
2638 return _IMP_isd.vonMises_evaluate_derivative_x(self)
2641 def evaluate_derivative_mu(self):
2642 """evaluate_derivative_mu(vonMises self) -> double"""
2643 return _IMP_isd.vonMises_evaluate_derivative_mu(self)
2646 def evaluate_derivative_kappa(self):
2647 """evaluate_derivative_kappa(vonMises self) -> double"""
2648 return _IMP_isd.vonMises_evaluate_derivative_kappa(self)
2652 """density(vonMises self) -> double"""
2653 return _IMP_isd.vonMises_density(self)
2657 """set_x(vonMises self, double x)"""
2658 return _IMP_isd.vonMises_set_x(self, x)
2661 def set_mu(self, mu):
2662 """set_mu(vonMises self, double mu)"""
2663 return _IMP_isd.vonMises_set_mu(self, mu)
2666 def set_kappa(self, kappa):
2667 """set_kappa(vonMises self, double kappa)"""
2668 return _IMP_isd.vonMises_set_kappa(self, kappa)
2672 """get_version_info(vonMises self) -> VersionInfo"""
2673 return _IMP_isd.vonMises_get_version_info(self)
2677 """__str__(vonMises self) -> std::string"""
2678 return _IMP_isd.vonMises___str__(self)
2682 """__repr__(vonMises self) -> std::string"""
2683 return _IMP_isd.vonMises___repr__(self)
2688 return _object_cast_to_vonMises(o)
2690 vonMises_swigregister = _IMP_isd.vonMises_swigregister
2691 vonMises_swigregister(vonMises)
2694 """Proxy of C++ IMP::isd::vonMisesSufficient class."""
2696 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2698 def __init__(self, *args):
2700 __init__(IMP::isd::vonMisesSufficient self, double chi, unsigned int N, double R0, double chiexp, double kappa) -> vonMisesSufficient
2701 __init__(IMP::isd::vonMisesSufficient self, double chi, IMP::Floats obs, double kappa) -> vonMisesSufficient
2703 this = _IMP_isd.new_vonMisesSufficient(*args)
2705 self.this.append(this)
2710 """evaluate(vonMisesSufficient self) -> double"""
2711 return _IMP_isd.vonMisesSufficient_evaluate(self)
2714 def evaluate_derivative_x(self):
2715 """evaluate_derivative_x(vonMisesSufficient self) -> double"""
2716 return _IMP_isd.vonMisesSufficient_evaluate_derivative_x(self)
2719 def evaluate_derivative_kappa(self):
2720 """evaluate_derivative_kappa(vonMisesSufficient self) -> double"""
2721 return _IMP_isd.vonMisesSufficient_evaluate_derivative_kappa(self)
2725 """density(vonMisesSufficient self) -> double"""
2726 return _IMP_isd.vonMisesSufficient_density(self)
2730 """get_x(vonMisesSufficient self) -> double"""
2731 return _IMP_isd.vonMisesSufficient_get_x(self)
2735 """get_R0(vonMisesSufficient self) -> double"""
2736 return _IMP_isd.vonMisesSufficient_get_R0(self)
2739 def get_chiexp(self):
2740 """get_chiexp(vonMisesSufficient self) -> double"""
2741 return _IMP_isd.vonMisesSufficient_get_chiexp(self)
2745 """get_N(vonMisesSufficient self) -> double"""
2746 return _IMP_isd.vonMisesSufficient_get_N(self)
2749 def get_kappa(self):
2750 """get_kappa(vonMisesSufficient self) -> double"""
2751 return _IMP_isd.vonMisesSufficient_get_kappa(self)
2755 """set_x(vonMisesSufficient self, double x)"""
2756 return _IMP_isd.vonMisesSufficient_set_x(self, x)
2759 def set_R0(self, R0):
2760 """set_R0(vonMisesSufficient self, double R0)"""
2761 return _IMP_isd.vonMisesSufficient_set_R0(self, R0)
2764 def set_chiexp(self, chiexp):
2765 """set_chiexp(vonMisesSufficient self, double chiexp)"""
2766 return _IMP_isd.vonMisesSufficient_set_chiexp(self, chiexp)
2770 """set_N(vonMisesSufficient self, unsigned int N)"""
2771 return _IMP_isd.vonMisesSufficient_set_N(self, N)
2774 def set_kappa(self, kappa):
2775 """set_kappa(vonMisesSufficient self, double kappa)"""
2776 return _IMP_isd.vonMisesSufficient_set_kappa(self, kappa)
2779 def get_sufficient_statistics(data):
2780 """get_sufficient_statistics(IMP::Floats data) -> IMP::Floats"""
2781 return _IMP_isd.vonMisesSufficient_get_sufficient_statistics(data)
2783 get_sufficient_statistics = staticmethod(get_sufficient_statistics)
2786 """get_version_info(vonMisesSufficient self) -> VersionInfo"""
2787 return _IMP_isd.vonMisesSufficient_get_version_info(self)
2791 """__str__(vonMisesSufficient self) -> std::string"""
2792 return _IMP_isd.vonMisesSufficient___str__(self)
2796 """__repr__(vonMisesSufficient self) -> std::string"""
2797 return _IMP_isd.vonMisesSufficient___repr__(self)
2802 return _object_cast_to_vonMisesSufficient(o)
2804 vonMisesSufficient_swigregister = _IMP_isd.vonMisesSufficient_swigregister
2805 vonMisesSufficient_swigregister(vonMisesSufficient)
2807 def vonMisesSufficient_get_sufficient_statistics(data):
2808 """vonMisesSufficient_get_sufficient_statistics(IMP::Floats data) -> IMP::Floats"""
2809 return _IMP_isd.vonMisesSufficient_get_sufficient_statistics(data)
2812 """Proxy of C++ IMP::isd::vonMisesKappaJeffreysRestraint class."""
2814 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2816 def __init__(self, m, kappa):
2817 """__init__(IMP::isd::vonMisesKappaJeffreysRestraint self, Model m, Particle kappa) -> vonMisesKappaJeffreysRestraint"""
2818 this = _IMP_isd.new_vonMisesKappaJeffreysRestraint(m, kappa)
2820 self.this.append(this)
2825 """do_get_inputs(vonMisesKappaJeffreysRestraint self) -> IMP::ModelObjectsTemp"""
2826 return _IMP_isd.vonMisesKappaJeffreysRestraint_do_get_inputs(self)
2830 """get_version_info(vonMisesKappaJeffreysRestraint self) -> VersionInfo"""
2831 return _IMP_isd.vonMisesKappaJeffreysRestraint_get_version_info(self)
2834 def get_probability(self):
2835 """get_probability(vonMisesKappaJeffreysRestraint self) -> double"""
2836 return _IMP_isd.vonMisesKappaJeffreysRestraint_get_probability(self)
2840 """__str__(vonMisesKappaJeffreysRestraint self) -> std::string"""
2841 return _IMP_isd.vonMisesKappaJeffreysRestraint___str__(self)
2845 """__repr__(vonMisesKappaJeffreysRestraint self) -> std::string"""
2846 return _IMP_isd.vonMisesKappaJeffreysRestraint___repr__(self)
2851 return _object_cast_to_vonMisesKappaJeffreysRestraint(o)
2853 vonMisesKappaJeffreysRestraint_swigregister = _IMP_isd.vonMisesKappaJeffreysRestraint_swigregister
2854 vonMisesKappaJeffreysRestraint_swigregister(vonMisesKappaJeffreysRestraint)
2857 """Proxy of C++ IMP::isd::vonMisesKappaConjugateRestraint class."""
2859 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2861 def __init__(self, m, kappa, c=10.0, R0=0.0):
2863 __init__(IMP::isd::vonMisesKappaConjugateRestraint self, Model m, Particle kappa, double c=10.0, double R0=0.0) -> vonMisesKappaConjugateRestraint
2864 __init__(IMP::isd::vonMisesKappaConjugateRestraint self, Model m, Particle kappa, double c=10.0) -> vonMisesKappaConjugateRestraint
2865 __init__(IMP::isd::vonMisesKappaConjugateRestraint self, Model m, Particle kappa) -> vonMisesKappaConjugateRestraint
2867 this = _IMP_isd.new_vonMisesKappaConjugateRestraint(m, kappa, c, R0)
2869 self.this.append(this)
2874 """do_get_inputs(vonMisesKappaConjugateRestraint self) -> IMP::ModelObjectsTemp"""
2875 return _IMP_isd.vonMisesKappaConjugateRestraint_do_get_inputs(self)
2879 """get_version_info(vonMisesKappaConjugateRestraint self) -> VersionInfo"""
2880 return _IMP_isd.vonMisesKappaConjugateRestraint_get_version_info(self)
2883 def get_probability(self):
2884 """get_probability(vonMisesKappaConjugateRestraint self) -> double"""
2885 return _IMP_isd.vonMisesKappaConjugateRestraint_get_probability(self)
2889 """__str__(vonMisesKappaConjugateRestraint self) -> std::string"""
2890 return _IMP_isd.vonMisesKappaConjugateRestraint___str__(self)
2894 """__repr__(vonMisesKappaConjugateRestraint self) -> std::string"""
2895 return _IMP_isd.vonMisesKappaConjugateRestraint___repr__(self)
2900 return _object_cast_to_vonMisesKappaConjugateRestraint(o)
2902 vonMisesKappaConjugateRestraint_swigregister = _IMP_isd.vonMisesKappaConjugateRestraint_swigregister
2903 vonMisesKappaConjugateRestraint_swigregister(vonMisesKappaConjugateRestraint)
2906 """Proxy of C++ IMP::isd::NOERestraint class."""
2908 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2910 def __init__(self, m, p0, p1, sigma, gamma, Iexp):
2911 """__init__(IMP::isd::NOERestraint self, Model m, Particle p0, Particle p1, Particle sigma, Particle gamma, double Iexp) -> NOERestraint"""
2912 this = _IMP_isd.new_NOERestraint(m, p0, p1, sigma, gamma, Iexp)
2914 self.this.append(this)
2918 def get_probability(self):
2919 """get_probability(NOERestraint self) -> double"""
2920 return _IMP_isd.NOERestraint_get_probability(self)
2924 """get_chi(NOERestraint self) -> double"""
2925 return _IMP_isd.NOERestraint_get_chi(self)
2929 """do_get_inputs(NOERestraint self) -> IMP::ModelObjectsTemp"""
2930 return _IMP_isd.NOERestraint_do_get_inputs(self)
2934 """get_version_info(NOERestraint self) -> VersionInfo"""
2935 return _IMP_isd.NOERestraint_get_version_info(self)
2939 """__str__(NOERestraint self) -> std::string"""
2940 return _IMP_isd.NOERestraint___str__(self)
2944 """__repr__(NOERestraint self) -> std::string"""
2945 return _IMP_isd.NOERestraint___repr__(self)
2950 return _object_cast_to_NOERestraint(o)
2952 NOERestraint_swigregister = _IMP_isd.NOERestraint_swigregister
2953 NOERestraint_swigregister(NOERestraint)
2956 """Proxy of C++ IMP::isd::GaussianRestraint class."""
2958 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2960 def __init__(self, *args):
2962 __init__(IMP::isd::GaussianRestraint self, Particle x, Particle mu, Particle sigma) -> GaussianRestraint
2963 __init__(IMP::isd::GaussianRestraint self, double x, Particle mu, Particle sigma) -> GaussianRestraint
2964 __init__(IMP::isd::GaussianRestraint self, Particle x, double mu, Particle sigma) -> GaussianRestraint
2965 __init__(IMP::isd::GaussianRestraint self, Particle x, Particle mu, double sigma) -> GaussianRestraint
2966 __init__(IMP::isd::GaussianRestraint self, double x, double mu, Particle sigma) -> GaussianRestraint
2967 __init__(IMP::isd::GaussianRestraint self, Particle x, double mu, double sigma) -> GaussianRestraint
2968 __init__(IMP::isd::GaussianRestraint self, double x, Particle mu, double sigma) -> GaussianRestraint
2970 this = _IMP_isd.new_GaussianRestraint(*args)
2972 self.this.append(this)
2976 def get_probability(self):
2977 """get_probability(GaussianRestraint self) -> double"""
2978 return _IMP_isd.GaussianRestraint_get_probability(self)
2982 """get_chi(GaussianRestraint self) -> double"""
2983 return _IMP_isd.GaussianRestraint_get_chi(self)
2987 """do_get_inputs(GaussianRestraint self) -> IMP::ModelObjectsTemp"""
2988 return _IMP_isd.GaussianRestraint_do_get_inputs(self)
2992 """get_version_info(GaussianRestraint self) -> VersionInfo"""
2993 return _IMP_isd.GaussianRestraint_get_version_info(self)
2997 """__str__(GaussianRestraint self) -> std::string"""
2998 return _IMP_isd.GaussianRestraint___str__(self)
3002 """__repr__(GaussianRestraint self) -> std::string"""
3003 return _IMP_isd.GaussianRestraint___repr__(self)
3008 return _object_cast_to_GaussianRestraint(o)
3010 GaussianRestraint_swigregister = _IMP_isd.GaussianRestraint_swigregister
3011 GaussianRestraint_swigregister(GaussianRestraint)
3014 """Proxy of C++ IMP::isd::LognormalRestraint class."""
3016 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3018 def __init__(self, *args):
3020 __init__(IMP::isd::LognormalRestraint self, Particle x, Particle mu, Particle sigma) -> LognormalRestraint
3021 __init__(IMP::isd::LognormalRestraint self, double x, Particle mu, Particle sigma) -> LognormalRestraint
3022 __init__(IMP::isd::LognormalRestraint self, Particle x, double mu, Particle sigma) -> LognormalRestraint
3023 __init__(IMP::isd::LognormalRestraint self, Particle x, Particle mu, double sigma) -> LognormalRestraint
3024 __init__(IMP::isd::LognormalRestraint self, double x, double mu, Particle sigma) -> LognormalRestraint
3025 __init__(IMP::isd::LognormalRestraint self, Particle x, double mu, double sigma) -> LognormalRestraint
3026 __init__(IMP::isd::LognormalRestraint self, double x, Particle mu, double sigma) -> LognormalRestraint
3028 this = _IMP_isd.new_LognormalRestraint(*args)
3030 self.this.append(this)
3034 def get_probability(self):
3035 """get_probability(LognormalRestraint self) -> double"""
3036 return _IMP_isd.LognormalRestraint_get_probability(self)
3040 """get_chi(LognormalRestraint self) -> double"""
3041 return _IMP_isd.LognormalRestraint_get_chi(self)
3045 """do_get_inputs(LognormalRestraint self) -> IMP::ModelObjectsTemp"""
3046 return _IMP_isd.LognormalRestraint_do_get_inputs(self)
3050 """get_version_info(LognormalRestraint self) -> VersionInfo"""
3051 return _IMP_isd.LognormalRestraint_get_version_info(self)
3055 """__str__(LognormalRestraint self) -> std::string"""
3056 return _IMP_isd.LognormalRestraint___str__(self)
3060 """__repr__(LognormalRestraint self) -> std::string"""
3061 return _IMP_isd.LognormalRestraint___repr__(self)
3066 return _object_cast_to_LognormalRestraint(o)
3068 LognormalRestraint_swigregister = _IMP_isd.LognormalRestraint_swigregister
3069 LognormalRestraint_swigregister(LognormalRestraint)
3072 """Proxy of C++ IMP::isd::LognormalAmbiguousRestraint class."""
3074 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3076 def __init__(self, p1, p2, ki, sigmaG):
3077 """__init__(IMP::isd::LognormalAmbiguousRestraint self, Particle p1, Particle p2, Particle ki, Particle sigmaG) -> LognormalAmbiguousRestraint"""
3078 this = _IMP_isd.new_LognormalAmbiguousRestraint(p1, p2, ki, sigmaG)
3080 self.this.append(this)
3084 def add_contribution(self, lexp, omega):
3085 """add_contribution(LognormalAmbiguousRestraint self, double lexp, Particle omega)"""
3086 return _IMP_isd.LognormalAmbiguousRestraint_add_contribution(self, lexp, omega)
3089 def get_number_of_contributions(self):
3090 """get_number_of_contributions(LognormalAmbiguousRestraint self) -> unsigned int"""
3091 return _IMP_isd.LognormalAmbiguousRestraint_get_number_of_contributions(self)
3094 def draw_k_from_posterior(self, kt):
3095 """draw_k_from_posterior(LognormalAmbiguousRestraint self, double kt)"""
3096 return _IMP_isd.LognormalAmbiguousRestraint_draw_k_from_posterior(self, kt)
3099 def get_probability(self):
3100 """get_probability(LognormalAmbiguousRestraint self) -> double"""
3101 return _IMP_isd.LognormalAmbiguousRestraint_get_probability(self)
3105 """do_get_inputs(LognormalAmbiguousRestraint self) -> IMP::ModelObjectsTemp"""
3106 return _IMP_isd.LognormalAmbiguousRestraint_do_get_inputs(self)
3110 """get_version_info(LognormalAmbiguousRestraint self) -> VersionInfo"""
3111 return _IMP_isd.LognormalAmbiguousRestraint_get_version_info(self)
3115 """__str__(LognormalAmbiguousRestraint self) -> std::string"""
3116 return _IMP_isd.LognormalAmbiguousRestraint___str__(self)
3120 """__repr__(LognormalAmbiguousRestraint self) -> std::string"""
3121 return _IMP_isd.LognormalAmbiguousRestraint___repr__(self)
3126 return _object_cast_to_LognormalAmbiguousRestraint(o)
3128 LognormalAmbiguousRestraint_swigregister = _IMP_isd.LognormalAmbiguousRestraint_swigregister
3129 LognormalAmbiguousRestraint_swigregister(LognormalAmbiguousRestraint)
3132 """Proxy of C++ IMP::isd::AmbiguousNOERestraint class."""
3134 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3136 def __init__(self, m, pc, sigma, gamma, Iexp):
3137 """__init__(IMP::isd::AmbiguousNOERestraint self, Model m, PairContainer pc, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor gamma, double Iexp) -> AmbiguousNOERestraint"""
3138 this = _IMP_isd.new_AmbiguousNOERestraint(m, pc, sigma, gamma, Iexp)
3140 self.this.append(this)
3144 def get_probability(self):
3145 """get_probability(AmbiguousNOERestraint self) -> double"""
3146 return _IMP_isd.AmbiguousNOERestraint_get_probability(self)
3150 """get_chi(AmbiguousNOERestraint self) -> double"""
3151 return _IMP_isd.AmbiguousNOERestraint_get_chi(self)
3155 """do_get_inputs(AmbiguousNOERestraint self) -> IMP::ModelObjectsTemp"""
3156 return _IMP_isd.AmbiguousNOERestraint_do_get_inputs(self)
3160 """get_version_info(AmbiguousNOERestraint self) -> VersionInfo"""
3161 return _IMP_isd.AmbiguousNOERestraint_get_version_info(self)
3165 """__str__(AmbiguousNOERestraint self) -> std::string"""
3166 return _IMP_isd.AmbiguousNOERestraint___str__(self)
3170 """__repr__(AmbiguousNOERestraint self) -> std::string"""
3171 return _IMP_isd.AmbiguousNOERestraint___repr__(self)
3176 return _object_cast_to_AmbiguousNOERestraint(o)
3178 AmbiguousNOERestraint_swigregister = _IMP_isd.AmbiguousNOERestraint_swigregister
3179 AmbiguousNOERestraint_swigregister(AmbiguousNOERestraint)
3182 """Proxy of C++ IMP::isd::MarginalNOERestraint class."""
3184 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3186 def __init__(self, m):
3187 """__init__(IMP::isd::MarginalNOERestraint self, Model m) -> MarginalNOERestraint"""
3188 this = _IMP_isd.new_MarginalNOERestraint(m)
3190 self.this.append(this)
3194 def add_contribution(self, *args):
3196 add_contribution(MarginalNOERestraint self, Particle p1, Particle p2, double Iexp)
3197 add_contribution(MarginalNOERestraint self, PairContainer pc, double Iexp)
3199 return _IMP_isd.MarginalNOERestraint_add_contribution(self, *args)
3202 def get_log_gammahat(self):
3203 """get_log_gammahat(MarginalNOERestraint self) -> double"""
3204 return _IMP_isd.MarginalNOERestraint_get_log_gammahat(self)
3208 """get_SS(MarginalNOERestraint self) -> double"""
3209 return _IMP_isd.MarginalNOERestraint_get_SS(self)
3212 def get_number_of_contributions(self):
3213 """get_number_of_contributions(MarginalNOERestraint self) -> unsigned int"""
3214 return _IMP_isd.MarginalNOERestraint_get_number_of_contributions(self)
3217 def get_probability(self):
3218 """get_probability(MarginalNOERestraint self) -> double"""
3219 return _IMP_isd.MarginalNOERestraint_get_probability(self)
3223 """do_get_inputs(MarginalNOERestraint self) -> IMP::ModelObjectsTemp"""
3224 return _IMP_isd.MarginalNOERestraint_do_get_inputs(self)
3228 """get_version_info(MarginalNOERestraint self) -> VersionInfo"""
3229 return _IMP_isd.MarginalNOERestraint_get_version_info(self)
3233 """__str__(MarginalNOERestraint self) -> std::string"""
3234 return _IMP_isd.MarginalNOERestraint___str__(self)
3238 """__repr__(MarginalNOERestraint self) -> std::string"""
3239 return _IMP_isd.MarginalNOERestraint___repr__(self)
3244 return _object_cast_to_MarginalNOERestraint(o)
3246 MarginalNOERestraint_swigregister = _IMP_isd.MarginalNOERestraint_swigregister
3247 MarginalNOERestraint_swigregister(MarginalNOERestraint)
3250 """Proxy of C++ IMP::isd::MarginalHBondRestraint class."""
3252 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3254 def __init__(self, m):
3255 """__init__(IMP::isd::MarginalHBondRestraint self, Model m) -> MarginalHBondRestraint"""
3256 this = _IMP_isd.new_MarginalHBondRestraint(m)
3258 self.this.append(this)
3262 def add_contribution(self, *args):
3264 add_contribution(MarginalHBondRestraint self, Particle p1, Particle p2, double Iexp)
3265 add_contribution(MarginalHBondRestraint self, PairContainer pc, double Iexp)
3267 return _IMP_isd.MarginalHBondRestraint_add_contribution(self, *args)
3270 def get_logsquares(self):
3271 """get_logsquares(MarginalHBondRestraint self) -> double"""
3272 return _IMP_isd.MarginalHBondRestraint_get_logsquares(self)
3275 def get_number_of_contributions(self):
3276 """get_number_of_contributions(MarginalHBondRestraint self) -> unsigned int"""
3277 return _IMP_isd.MarginalHBondRestraint_get_number_of_contributions(self)
3280 def get_probability(self):
3281 """get_probability(MarginalHBondRestraint self) -> double"""
3282 return _IMP_isd.MarginalHBondRestraint_get_probability(self)
3286 """do_get_inputs(MarginalHBondRestraint self) -> IMP::ModelObjectsTemp"""
3287 return _IMP_isd.MarginalHBondRestraint_do_get_inputs(self)
3291 """get_version_info(MarginalHBondRestraint self) -> VersionInfo"""
3292 return _IMP_isd.MarginalHBondRestraint_get_version_info(self)
3296 """__str__(MarginalHBondRestraint self) -> std::string"""
3297 return _IMP_isd.MarginalHBondRestraint___str__(self)
3301 """__repr__(MarginalHBondRestraint self) -> std::string"""
3302 return _IMP_isd.MarginalHBondRestraint___repr__(self)
3307 return _object_cast_to_MarginalHBondRestraint(o)
3309 MarginalHBondRestraint_swigregister = _IMP_isd.MarginalHBondRestraint_swigregister
3310 MarginalHBondRestraint_swigregister(MarginalHBondRestraint)
3313 """Proxy of C++ IMP::isd::TALOSRestraint class."""
3315 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3317 def __init__(self, *args):
3319 __init__(IMP::isd::TALOSRestraint self, Model m, IMP::Particles p, IMP::Floats data, Particle kappa) -> TALOSRestraint
3320 __init__(IMP::isd::TALOSRestraint self, Model m, Particle p1, Particle p2, Particle p3, Particle p4, IMP::Floats data, Particle kappa) -> TALOSRestraint
3321 __init__(IMP::isd::TALOSRestraint self, Model m, IMP::Particles p, unsigned int N, double R0, double chiexp, Particle kappa) -> TALOSRestraint
3322 __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
3324 this = _IMP_isd.new_TALOSRestraint(*args)
3326 self.this.append(this)
3330 def get_probability(self):
3331 """get_probability(TALOSRestraint self) -> double"""
3332 return _IMP_isd.TALOSRestraint_get_probability(self)
3336 """get_R0(TALOSRestraint self) -> double"""
3337 return _IMP_isd.TALOSRestraint_get_R0(self)
3340 def get_chiexp(self):
3341 """get_chiexp(TALOSRestraint self) -> double"""
3342 return _IMP_isd.TALOSRestraint_get_chiexp(self)
3346 """do_get_inputs(TALOSRestraint self) -> IMP::ModelObjectsTemp"""
3347 return _IMP_isd.TALOSRestraint_do_get_inputs(self)
3351 """get_version_info(TALOSRestraint self) -> VersionInfo"""
3352 return _IMP_isd.TALOSRestraint_get_version_info(self)
3356 """__str__(TALOSRestraint self) -> std::string"""
3357 return _IMP_isd.TALOSRestraint___str__(self)
3361 """__repr__(TALOSRestraint self) -> std::string"""
3362 return _IMP_isd.TALOSRestraint___repr__(self)
3367 return _object_cast_to_TALOSRestraint(o)
3369 TALOSRestraint_swigregister = _IMP_isd.TALOSRestraint_swigregister
3370 TALOSRestraint_swigregister(TALOSRestraint)
3373 """Proxy of C++ IMP::isd::RepulsiveDistancePairScore class."""
3375 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3377 def __init__(self, d0, k):
3378 """__init__(IMP::isd::RepulsiveDistancePairScore self, double d0, double k) -> RepulsiveDistancePairScore"""
3379 this = _IMP_isd.new_RepulsiveDistancePairScore(d0, k)
3381 self.this.append(this)
3385 def get_rest_length(self):
3386 """get_rest_length(RepulsiveDistancePairScore self) -> double"""
3387 return _IMP_isd.RepulsiveDistancePairScore_get_rest_length(self)
3390 def get_stiffness(self):
3391 """get_stiffness(RepulsiveDistancePairScore self) -> double"""
3392 return _IMP_isd.RepulsiveDistancePairScore_get_stiffness(self)
3396 """do_get_inputs(RepulsiveDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3397 return _IMP_isd.RepulsiveDistancePairScore_do_get_inputs(self, m, pis)
3401 """get_version_info(RepulsiveDistancePairScore self) -> VersionInfo"""
3402 return _IMP_isd.RepulsiveDistancePairScore_get_version_info(self)
3406 """__str__(RepulsiveDistancePairScore self) -> std::string"""
3407 return _IMP_isd.RepulsiveDistancePairScore___str__(self)
3411 """__repr__(RepulsiveDistancePairScore self) -> std::string"""
3412 return _IMP_isd.RepulsiveDistancePairScore___repr__(self)
3417 return _object_cast_to_RepulsiveDistancePairScore(o)
3419 RepulsiveDistancePairScore_swigregister = _IMP_isd.RepulsiveDistancePairScore_swigregister
3420 RepulsiveDistancePairScore_swigregister(RepulsiveDistancePairScore)
3423 """Proxy of C++ IMP::isd::AmbiguousRestraint class."""
3425 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3427 def __init__(self, *args):
3429 __init__(IMP::isd::AmbiguousRestraint self, Model m, int d, Restraint r0, Restraint r1) -> AmbiguousRestraint
3430 __init__(IMP::isd::AmbiguousRestraint self, Model m, int d, IMP::Restraints rs) -> AmbiguousRestraint
3432 this = _IMP_isd.new_AmbiguousRestraint(*args)
3434 self.this.append(this)
3438 def get_probability(self):
3439 """get_probability(AmbiguousRestraint self) -> double"""
3440 return _IMP_isd.AmbiguousRestraint_get_probability(self)
3444 """do_get_inputs(AmbiguousRestraint self) -> IMP::ModelObjectsTemp"""
3445 return _IMP_isd.AmbiguousRestraint_do_get_inputs(self)
3449 """get_version_info(AmbiguousRestraint self) -> VersionInfo"""
3450 return _IMP_isd.AmbiguousRestraint_get_version_info(self)
3454 """__str__(AmbiguousRestraint self) -> std::string"""
3455 return _IMP_isd.AmbiguousRestraint___str__(self)
3459 """__repr__(AmbiguousRestraint self) -> std::string"""
3460 return _IMP_isd.AmbiguousRestraint___repr__(self)
3465 return _object_cast_to_AmbiguousRestraint(o)
3467 AmbiguousRestraint_swigregister = _IMP_isd.AmbiguousRestraint_swigregister
3468 AmbiguousRestraint_swigregister(AmbiguousRestraint)
3471 _IMP_isd.IMP_ISD_UNIVARIATE_FUNCTIONS_MINIMUM_swigconstant(_IMP_isd)
3472 IMP_ISD_UNIVARIATE_FUNCTIONS_MINIMUM = _IMP_isd.IMP_ISD_UNIVARIATE_FUNCTIONS_MINIMUM
3474 """Proxy of C++ IMP::isd::UnivariateFunction class."""
3476 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3478 def __init__(self, *args, **kwargs):
3479 raise AttributeError(
"No constructor defined - class is abstract")
3481 def __call__(self, *args):
3483 __call__(UnivariateFunction self, IMP::Floats const & x) -> IMP::Floats
3484 __call__(UnivariateFunction self, IMP::FloatsList const & xlist) -> IMP_Eigen::VectorXd
3485 __call__(UnivariateFunction self, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
3487 return _IMP_isd.UnivariateFunction___call__(self, *args)
3490 def has_changed(self):
3491 """has_changed(UnivariateFunction self) -> bool"""
3492 return _IMP_isd.UnivariateFunction_has_changed(self)
3496 """update(UnivariateFunction self)"""
3497 return _IMP_isd.UnivariateFunction_update(self)
3500 def add_to_derivatives(self, x, accum):
3501 """add_to_derivatives(UnivariateFunction self, IMP::Floats const & x, DerivativeAccumulator accum)"""
3502 return _IMP_isd.UnivariateFunction_add_to_derivatives(self, x, accum)
3505 def add_to_particle_derivative(self, particle_no, value, accum):
3506 """add_to_particle_derivative(UnivariateFunction self, unsigned int particle_no, double value, DerivativeAccumulator accum)"""
3507 return _IMP_isd.UnivariateFunction_add_to_particle_derivative(self, particle_no, value, accum)
3510 def get_derivative_vector(self, particle_no, xlist):
3511 """get_derivative_vector(UnivariateFunction self, unsigned int particle_no, IMP::FloatsList const & xlist) -> IMP_Eigen::VectorXd"""
3512 return _IMP_isd.UnivariateFunction_get_derivative_vector(self, particle_no, xlist)
3515 def get_derivative_matrix(self, xlist, stupid):
3516 """get_derivative_matrix(UnivariateFunction self, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList"""
3517 return _IMP_isd.UnivariateFunction_get_derivative_matrix(self, xlist, stupid)
3520 def get_second_derivative_vector(self, *args):
3522 get_second_derivative_vector(UnivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> IMP_Eigen::VectorXd
3523 get_second_derivative_vector(UnivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
3525 return _IMP_isd.UnivariateFunction_get_second_derivative_vector(self, *args)
3528 def get_ndims_x(self):
3529 """get_ndims_x(UnivariateFunction self) -> unsigned int"""
3530 return _IMP_isd.UnivariateFunction_get_ndims_x(self)
3533 def get_ndims_y(self):
3534 """get_ndims_y(UnivariateFunction self) -> unsigned int"""
3535 return _IMP_isd.UnivariateFunction_get_ndims_y(self)
3538 def get_number_of_particles(self):
3539 """get_number_of_particles(UnivariateFunction self) -> unsigned int"""
3540 return _IMP_isd.UnivariateFunction_get_number_of_particles(self)
3543 def get_particle_is_optimized(self, particle_no):
3544 """get_particle_is_optimized(UnivariateFunction self, unsigned int particle_no) -> bool"""
3545 return _IMP_isd.UnivariateFunction_get_particle_is_optimized(self, particle_no)
3548 def get_number_of_optimized_particles(self):
3549 """get_number_of_optimized_particles(UnivariateFunction self) -> unsigned int"""
3550 return _IMP_isd.UnivariateFunction_get_number_of_optimized_particles(self)
3554 """get_inputs(UnivariateFunction self) -> IMP::ModelObjectsTemp"""
3555 return _IMP_isd.UnivariateFunction_get_inputs(self)
3557 __swig_destroy__ = _IMP_isd.delete_UnivariateFunction
3558 __del__ =
lambda self:
None
3561 """__str__(UnivariateFunction self) -> std::string"""
3562 return _IMP_isd.UnivariateFunction___str__(self)
3566 """__repr__(UnivariateFunction self) -> std::string"""
3567 return _IMP_isd.UnivariateFunction___repr__(self)
3572 return _object_cast_to_UnivariateFunction(o)
3574 UnivariateFunction_swigregister = _IMP_isd.UnivariateFunction_swigregister
3575 UnivariateFunction_swigregister(UnivariateFunction)
3577 class Linear1DFunction(UnivariateFunction):
3578 """Proxy of C++ IMP::isd::Linear1DFunction class."""
3580 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3582 def __init__(self, a, b):
3583 """__init__(IMP::isd::Linear1DFunction self, Particle a, Particle b) -> Linear1DFunction"""
3584 this = _IMP_isd.new_Linear1DFunction(a, b)
3586 self.this.append(this)
3590 def __call__(self, *args):
3592 __call__(Linear1DFunction self, IMP::Floats const & x) -> IMP::Floats
3593 __call__(Linear1DFunction self, IMP::FloatsList const & xlist) -> IMP_Eigen::VectorXd
3594 __call__(Linear1DFunction self, IMP::FloatsList const & xlist, bool arg3) -> IMP::FloatsList
3596 return _IMP_isd.Linear1DFunction___call__(self, *args)
3599 def get_second_derivative_vector(self, *args):
3601 get_second_derivative_vector(Linear1DFunction self, unsigned int arg2, unsigned int arg3, IMP::FloatsList const & xlist) -> IMP_Eigen::VectorXd
3602 get_second_derivative_vector(Linear1DFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool arg5) -> IMP::FloatsList
3604 return _IMP_isd.Linear1DFunction_get_second_derivative_vector(self, *args)
3608 """get_version_info(Linear1DFunction self) -> VersionInfo"""
3609 return _IMP_isd.Linear1DFunction_get_version_info(self)
3613 """__str__(Linear1DFunction self) -> std::string"""
3614 return _IMP_isd.Linear1DFunction___str__(self)
3618 """__repr__(Linear1DFunction self) -> std::string"""
3619 return _IMP_isd.Linear1DFunction___repr__(self)
3624 return _object_cast_to_Linear1DFunction(o)
3626 Linear1DFunction_swigregister = _IMP_isd.Linear1DFunction_swigregister
3627 Linear1DFunction_swigregister(Linear1DFunction)
3629 class GeneralizedGuinierPorodFunction(UnivariateFunction):
3630 """Proxy of C++ IMP::isd::GeneralizedGuinierPorodFunction class."""
3632 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3634 def __init__(self, G, Rg, d, s, A):
3635 """__init__(IMP::isd::GeneralizedGuinierPorodFunction self, Particle G, Particle Rg, Particle d, Particle s, Particle A) -> GeneralizedGuinierPorodFunction"""
3636 this = _IMP_isd.new_GeneralizedGuinierPorodFunction(G, Rg, d, s, A)
3638 self.this.append(this)
3642 def __call__(self, *args):
3644 __call__(GeneralizedGuinierPorodFunction self, IMP::Floats const & x) -> IMP::Floats
3645 __call__(GeneralizedGuinierPorodFunction self, IMP::FloatsList const & xlist) -> IMP_Eigen::VectorXd
3646 __call__(GeneralizedGuinierPorodFunction self, IMP::FloatsList const & xlist, bool arg3) -> IMP::FloatsList
3648 return _IMP_isd.GeneralizedGuinierPorodFunction___call__(self, *args)
3651 def get_second_derivative_vector(self, *args):
3653 get_second_derivative_vector(GeneralizedGuinierPorodFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> IMP_Eigen::VectorXd
3654 get_second_derivative_vector(GeneralizedGuinierPorodFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool arg5) -> IMP::FloatsList
3656 return _IMP_isd.GeneralizedGuinierPorodFunction_get_second_derivative_vector(self, *args)
3660 """get_version_info(GeneralizedGuinierPorodFunction self) -> VersionInfo"""
3661 return _IMP_isd.GeneralizedGuinierPorodFunction_get_version_info(self)
3665 """__str__(GeneralizedGuinierPorodFunction self) -> std::string"""
3666 return _IMP_isd.GeneralizedGuinierPorodFunction___str__(self)
3670 """__repr__(GeneralizedGuinierPorodFunction self) -> std::string"""
3671 return _IMP_isd.GeneralizedGuinierPorodFunction___repr__(self)
3676 return _object_cast_to_GeneralizedGuinierPorodFunction(o)
3678 GeneralizedGuinierPorodFunction_swigregister = _IMP_isd.GeneralizedGuinierPorodFunction_swigregister
3679 GeneralizedGuinierPorodFunction_swigregister(GeneralizedGuinierPorodFunction)
3682 _IMP_isd.IMP_ISD_BIVARIATE_FUNCTIONS_MINIMUM_swigconstant(_IMP_isd)
3683 IMP_ISD_BIVARIATE_FUNCTIONS_MINIMUM = _IMP_isd.IMP_ISD_BIVARIATE_FUNCTIONS_MINIMUM
3685 """Proxy of C++ IMP::isd::BivariateFunction class."""
3687 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3689 def __init__(self, *args, **kwargs):
3690 raise AttributeError(
"No constructor defined - class is abstract")
3692 def __call__(self, *args):
3694 __call__(BivariateFunction self, IMP::Floats const & x1, IMP::Floats const & x2) -> IMP::Floats
3695 __call__(BivariateFunction self, IMP::FloatsList const & xlist) -> IMP_Eigen::MatrixXd
3696 __call__(BivariateFunction self, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
3698 return _IMP_isd.BivariateFunction___call__(self, *args)
3701 def has_changed(self):
3702 """has_changed(BivariateFunction self) -> bool"""
3703 return _IMP_isd.BivariateFunction_has_changed(self)
3707 """update(BivariateFunction self)"""
3708 return _IMP_isd.BivariateFunction_update(self)
3711 def add_to_derivatives(self, x1, x2, accum):
3712 """add_to_derivatives(BivariateFunction self, IMP::Floats const & x1, IMP::Floats const & x2, DerivativeAccumulator accum)"""
3713 return _IMP_isd.BivariateFunction_add_to_derivatives(self, x1, x2, accum)
3716 def add_to_particle_derivative(self, particle_no, value, accum):
3717 """add_to_particle_derivative(BivariateFunction self, unsigned int particle_no, double value, DerivativeAccumulator accum)"""
3718 return _IMP_isd.BivariateFunction_add_to_particle_derivative(self, particle_no, value, accum)
3721 def get_derivative_matrix(self, *args):
3723 get_derivative_matrix(BivariateFunction self, unsigned int particle_no, IMP::FloatsList const & xlist) -> IMP_Eigen::MatrixXd
3724 get_derivative_matrix(BivariateFunction self, unsigned int particle_no, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
3726 return _IMP_isd.BivariateFunction_get_derivative_matrix(self, *args)
3729 def get_second_derivative_matrix(self, *args):
3731 get_second_derivative_matrix(BivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> IMP_Eigen::MatrixXd
3732 get_second_derivative_matrix(BivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
3734 return _IMP_isd.BivariateFunction_get_second_derivative_matrix(self, *args)
3737 def get_ndims_x1(self):
3738 """get_ndims_x1(BivariateFunction self) -> unsigned int"""
3739 return _IMP_isd.BivariateFunction_get_ndims_x1(self)
3742 def get_ndims_x2(self):
3743 """get_ndims_x2(BivariateFunction self) -> unsigned int"""
3744 return _IMP_isd.BivariateFunction_get_ndims_x2(self)
3747 def get_ndims_y(self):
3748 """get_ndims_y(BivariateFunction self) -> unsigned int"""
3749 return _IMP_isd.BivariateFunction_get_ndims_y(self)
3752 def get_number_of_particles(self):
3753 """get_number_of_particles(BivariateFunction self) -> unsigned int"""
3754 return _IMP_isd.BivariateFunction_get_number_of_particles(self)
3757 def get_particle_is_optimized(self, particle_no):
3758 """get_particle_is_optimized(BivariateFunction self, unsigned int particle_no) -> bool"""
3759 return _IMP_isd.BivariateFunction_get_particle_is_optimized(self, particle_no)
3762 def get_number_of_optimized_particles(self):
3763 """get_number_of_optimized_particles(BivariateFunction self) -> unsigned int"""
3764 return _IMP_isd.BivariateFunction_get_number_of_optimized_particles(self)
3768 """get_inputs(BivariateFunction self) -> IMP::ModelObjectsTemp"""
3769 return _IMP_isd.BivariateFunction_get_inputs(self)
3771 __swig_destroy__ = _IMP_isd.delete_BivariateFunction
3772 __del__ =
lambda self:
None
3775 """__str__(BivariateFunction self) -> std::string"""
3776 return _IMP_isd.BivariateFunction___str__(self)
3780 """__repr__(BivariateFunction self) -> std::string"""
3781 return _IMP_isd.BivariateFunction___repr__(self)
3786 return _object_cast_to_BivariateFunction(o)
3788 BivariateFunction_swigregister = _IMP_isd.BivariateFunction_swigregister
3789 BivariateFunction_swigregister(BivariateFunction)
3791 class Covariance1DFunction(BivariateFunction):
3792 """Proxy of C++ IMP::isd::Covariance1DFunction class."""
3794 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3796 def __init__(self, tau, ilambda, alpha=2.0, jitter=0.0, cutoff=1e-7):
3798 __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda, double alpha=2.0, double jitter=0.0, double cutoff=1e-7) -> Covariance1DFunction
3799 __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda, double alpha=2.0, double jitter=0.0) -> Covariance1DFunction
3800 __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda, double alpha=2.0) -> Covariance1DFunction
3801 __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda) -> Covariance1DFunction
3803 this = _IMP_isd.new_Covariance1DFunction(tau, ilambda, alpha, jitter, cutoff)
3805 self.this.append(this)
3809 def __call__(self, *args):
3811 __call__(Covariance1DFunction self, IMP::Floats const & x1, IMP::Floats const & x2) -> IMP::Floats
3812 __call__(Covariance1DFunction self, IMP::FloatsList const & xlist) -> IMP_Eigen::MatrixXd
3813 __call__(Covariance1DFunction self, IMP::FloatsList const & xlist, bool arg3) -> IMP::FloatsList
3815 return _IMP_isd.Covariance1DFunction___call__(self, *args)
3818 def get_derivative_matrix(self, *args):
3820 get_derivative_matrix(Covariance1DFunction self, unsigned int particle_no, IMP::FloatsList const & xlist) -> IMP_Eigen::MatrixXd
3821 get_derivative_matrix(Covariance1DFunction self, unsigned int particle_no, IMP::FloatsList const & xlist, bool arg4) -> IMP::FloatsList
3823 return _IMP_isd.Covariance1DFunction_get_derivative_matrix(self, *args)
3826 def get_second_derivative_matrix(self, *args):
3828 get_second_derivative_matrix(Covariance1DFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> IMP_Eigen::MatrixXd
3829 get_second_derivative_matrix(Covariance1DFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool arg5) -> IMP::FloatsList
3831 return _IMP_isd.Covariance1DFunction_get_second_derivative_matrix(self, *args)
3835 """get_version_info(Covariance1DFunction self) -> VersionInfo"""
3836 return _IMP_isd.Covariance1DFunction_get_version_info(self)
3840 """__str__(Covariance1DFunction self) -> std::string"""
3841 return _IMP_isd.Covariance1DFunction___str__(self)
3845 """__repr__(Covariance1DFunction self) -> std::string"""
3846 return _IMP_isd.Covariance1DFunction___repr__(self)
3851 return _object_cast_to_Covariance1DFunction(o)
3853 Covariance1DFunction_swigregister = _IMP_isd.Covariance1DFunction_swigregister
3854 Covariance1DFunction_swigregister(Covariance1DFunction)
3856 class GaussianProcessInterpolation(
IMP.Object):
3857 """Proxy of C++ IMP::isd::GaussianProcessInterpolation class."""
3859 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3861 def __init__(self, x, sample_mean, sample_std, n_obs, mean_function, covariance_function, sigma, sparse_cutoff=1e-7):
3863 __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
3864 __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
3866 this = _IMP_isd.new_GaussianProcessInterpolation(x, sample_mean, sample_std, n_obs, mean_function, covariance_function, sigma, sparse_cutoff)
3868 self.this.append(this)
3872 def get_posterior_mean(self, x):
3873 """get_posterior_mean(GaussianProcessInterpolation self, IMP::Floats x) -> double"""
3874 return _IMP_isd.GaussianProcessInterpolation_get_posterior_mean(self, x)
3877 def get_posterior_covariance(self, x1, x2):
3878 """get_posterior_covariance(GaussianProcessInterpolation self, IMP::Floats x1, IMP::Floats x2) -> double"""
3879 return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance(self, x1, x2)
3882 def get_posterior_covariance_matrix(self, x, arg3):
3883 """get_posterior_covariance_matrix(GaussianProcessInterpolation self, IMP::FloatsList x, bool arg3) -> IMP::FloatsList"""
3884 return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance_matrix(self, x, arg3)
3887 def get_posterior_covariance_derivative(self, x, arg3):
3888 """get_posterior_covariance_derivative(GaussianProcessInterpolation self, IMP::Floats x, bool arg3) -> IMP::Floats"""
3889 return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance_derivative(self, x, arg3)
3892 def get_posterior_covariance_hessian(self, x, arg3):
3893 """get_posterior_covariance_hessian(GaussianProcessInterpolation self, IMP::Floats x, bool arg3) -> IMP::FloatsList"""
3894 return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance_hessian(self, x, arg3)
3898 """get_inputs(GaussianProcessInterpolation self) -> IMP::ModelObjectsTemp"""
3899 return _IMP_isd.GaussianProcessInterpolation_get_inputs(self)
3902 def force_mean_update(self):
3903 """force_mean_update(GaussianProcessInterpolation self)"""
3904 return _IMP_isd.GaussianProcessInterpolation_force_mean_update(self)
3907 def force_covariance_update(self):
3908 """force_covariance_update(GaussianProcessInterpolation self)"""
3909 return _IMP_isd.GaussianProcessInterpolation_force_covariance_update(self)
3912 def get_number_of_m_particles(self):
3913 """get_number_of_m_particles(GaussianProcessInterpolation self) -> unsigned int"""
3914 return _IMP_isd.GaussianProcessInterpolation_get_number_of_m_particles(self)
3917 def get_m_particle_is_optimized(self, i):
3918 """get_m_particle_is_optimized(GaussianProcessInterpolation self, unsigned int i) -> bool"""
3919 return _IMP_isd.GaussianProcessInterpolation_get_m_particle_is_optimized(self, i)
3922 def get_number_of_Omega_particles(self):
3923 """get_number_of_Omega_particles(GaussianProcessInterpolation self) -> unsigned int"""
3924 return _IMP_isd.GaussianProcessInterpolation_get_number_of_Omega_particles(self)
3927 def get_Omega_particle_is_optimized(self, i):
3928 """get_Omega_particle_is_optimized(GaussianProcessInterpolation self, unsigned int i) -> bool"""
3929 return _IMP_isd.GaussianProcessInterpolation_get_Omega_particle_is_optimized(self, i)
3932 def get_data_abscissa(self):
3933 """get_data_abscissa(GaussianProcessInterpolation self) -> IMP::FloatsList"""
3934 return _IMP_isd.GaussianProcessInterpolation_get_data_abscissa(self)
3937 def get_data_mean(self):
3938 """get_data_mean(GaussianProcessInterpolation self) -> IMP::Floats"""
3939 return _IMP_isd.GaussianProcessInterpolation_get_data_mean(self)
3942 def get_data_variance(self):
3943 """get_data_variance(GaussianProcessInterpolation self) -> IMP::FloatsList"""
3944 return _IMP_isd.GaussianProcessInterpolation_get_data_variance(self)
3948 """get_version_info(GaussianProcessInterpolation self) -> VersionInfo"""
3949 return _IMP_isd.GaussianProcessInterpolation_get_version_info(self)
3953 """__str__(GaussianProcessInterpolation self) -> std::string"""
3954 return _IMP_isd.GaussianProcessInterpolation___str__(self)
3958 """__repr__(GaussianProcessInterpolation self) -> std::string"""
3959 return _IMP_isd.GaussianProcessInterpolation___repr__(self)
3964 return _object_cast_to_GaussianProcessInterpolation(o)
3966 GaussianProcessInterpolation_swigregister = _IMP_isd.GaussianProcessInterpolation_swigregister
3967 GaussianProcessInterpolation_swigregister(GaussianProcessInterpolation)
3970 """Proxy of C++ IMP::isd::GaussianProcessInterpolationRestraint class."""
3972 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3974 def __init__(self, m, gpi):
3975 """__init__(IMP::isd::GaussianProcessInterpolationRestraint self, Model m, GaussianProcessInterpolation gpi) -> GaussianProcessInterpolationRestraint"""
3976 this = _IMP_isd.new_GaussianProcessInterpolationRestraint(m, gpi)
3978 self.this.append(this)
3982 def get_probability(self):
3983 """get_probability(GaussianProcessInterpolationRestraint self) -> double"""
3984 return _IMP_isd.GaussianProcessInterpolationRestraint_get_probability(self)
3988 """stats(GaussianProcessInterpolationRestraint self)"""
3989 return _IMP_isd.GaussianProcessInterpolationRestraint_stats(self)
3992 def set_use_cg(self, use, tol):
3993 """set_use_cg(GaussianProcessInterpolationRestraint self, bool use, double tol)"""
3994 return _IMP_isd.GaussianProcessInterpolationRestraint_set_use_cg(self, use, tol)
3997 def get_minus_log_normalization(self):
3998 """get_minus_log_normalization(GaussianProcessInterpolationRestraint self) -> double"""
3999 return _IMP_isd.GaussianProcessInterpolationRestraint_get_minus_log_normalization(self)
4002 def get_minus_exponent(self):
4003 """get_minus_exponent(GaussianProcessInterpolationRestraint self) -> double"""
4004 return _IMP_isd.GaussianProcessInterpolationRestraint_get_minus_exponent(self)
4007 def get_logdet_hessian(self):
4008 """get_logdet_hessian(GaussianProcessInterpolationRestraint self) -> double"""
4009 return _IMP_isd.GaussianProcessInterpolationRestraint_get_logdet_hessian(self)
4012 def get_hessian(self, *args):
4014 get_hessian(GaussianProcessInterpolationRestraint self) -> IMP_Eigen::MatrixXd
4015 get_hessian(GaussianProcessInterpolationRestraint self, bool unused) -> IMP::FloatsList
4017 return _IMP_isd.GaussianProcessInterpolationRestraint_get_hessian(self, *args)
4021 """do_get_inputs(GaussianProcessInterpolationRestraint self) -> IMP::ModelObjectsTemp"""
4022 return _IMP_isd.GaussianProcessInterpolationRestraint_do_get_inputs(self)
4026 """get_version_info(GaussianProcessInterpolationRestraint self) -> VersionInfo"""
4027 return _IMP_isd.GaussianProcessInterpolationRestraint_get_version_info(self)
4031 """__str__(GaussianProcessInterpolationRestraint self) -> std::string"""
4032 return _IMP_isd.GaussianProcessInterpolationRestraint___str__(self)
4036 """__repr__(GaussianProcessInterpolationRestraint self) -> std::string"""
4037 return _IMP_isd.GaussianProcessInterpolationRestraint___repr__(self)
4042 return _object_cast_to_GaussianProcessInterpolationRestraint(o)
4044 GaussianProcessInterpolationRestraint_swigregister = _IMP_isd.GaussianProcessInterpolationRestraint_swigregister
4045 GaussianProcessInterpolationRestraint_swigregister(GaussianProcessInterpolationRestraint)
4048 """Proxy of C++ IMP::isd::MolecularDynamics class."""
4050 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4052 def __init__(self, m=None):
4054 __init__(IMP::isd::MolecularDynamics self, Model m=None) -> MolecularDynamics
4055 __init__(IMP::isd::MolecularDynamics self) -> MolecularDynamics
4057 this = _IMP_isd.new_MolecularDynamics(m)
4059 self.this.append(this)
4064 """__str__(MolecularDynamics self) -> std::string"""
4065 return _IMP_isd.MolecularDynamics___str__(self)
4069 """__repr__(MolecularDynamics self) -> std::string"""
4070 return _IMP_isd.MolecularDynamics___repr__(self)
4075 return _object_cast_to_MolecularDynamics(o)
4077 __swig_destroy__ = _IMP_isd.delete_MolecularDynamics
4078 __del__ =
lambda self:
None
4079 MolecularDynamics_swigregister = _IMP_isd.MolecularDynamics_swigregister
4080 MolecularDynamics_swigregister(MolecularDynamics)
4083 """Proxy of C++ IMP::isd::MolecularDynamicsMover class."""
4085 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4087 def __init__(self, m, nsteps=100, timestep=1.):
4089 __init__(IMP::isd::MolecularDynamicsMover self, Model m, unsigned int nsteps=100, IMP::Float timestep=1.) -> MolecularDynamicsMover
4090 __init__(IMP::isd::MolecularDynamicsMover self, Model m, unsigned int nsteps=100) -> MolecularDynamicsMover
4091 __init__(IMP::isd::MolecularDynamicsMover self, Model m) -> MolecularDynamicsMover
4093 this = _IMP_isd.new_MolecularDynamicsMover(m, nsteps, timestep)
4095 self.this.append(this)
4100 """get_md(MolecularDynamicsMover self) -> MolecularDynamics"""
4101 return _IMP_isd.MolecularDynamicsMover_get_md(self)
4104 def get_number_of_md_steps(self):
4105 """get_number_of_md_steps(MolecularDynamicsMover self) -> unsigned int"""
4106 return _IMP_isd.MolecularDynamicsMover_get_number_of_md_steps(self)
4109 def set_number_of_md_steps(self, nsteps):
4110 """set_number_of_md_steps(MolecularDynamicsMover self, unsigned int nsteps)"""
4111 return _IMP_isd.MolecularDynamicsMover_set_number_of_md_steps(self, nsteps)
4115 """get_version_info(MolecularDynamicsMover self) -> VersionInfo"""
4116 return _IMP_isd.MolecularDynamicsMover_get_version_info(self)
4120 """__str__(MolecularDynamicsMover self) -> std::string"""
4121 return _IMP_isd.MolecularDynamicsMover___str__(self)
4125 """__repr__(MolecularDynamicsMover self) -> std::string"""
4126 return _IMP_isd.MolecularDynamicsMover___repr__(self)
4131 return _object_cast_to_MolecularDynamicsMover(o)
4133 MolecularDynamicsMover_swigregister = _IMP_isd.MolecularDynamicsMover_swigregister
4134 MolecularDynamicsMover_swigregister(MolecularDynamicsMover)
4137 """Proxy of C++ IMP::isd::HybridMonteCarlo class."""
4139 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4141 def __init__(self, m, kT=1.0, steps=100, timestep=1.0, persistence=1):
4143 __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
4144 __init__(IMP::isd::HybridMonteCarlo self, Model m, IMP::Float kT=1.0, unsigned int steps=100, IMP::Float timestep=1.0) -> HybridMonteCarlo
4145 __init__(IMP::isd::HybridMonteCarlo self, Model m, IMP::Float kT=1.0, unsigned int steps=100) -> HybridMonteCarlo
4146 __init__(IMP::isd::HybridMonteCarlo self, Model m, IMP::Float kT=1.0) -> HybridMonteCarlo
4147 __init__(IMP::isd::HybridMonteCarlo self, Model m) -> HybridMonteCarlo
4149 this = _IMP_isd.new_HybridMonteCarlo(m, kT, steps, timestep, persistence)
4151 self.this.append(this)
4155 def get_kinetic_energy(self):
4156 """get_kinetic_energy(HybridMonteCarlo self) -> IMP::Float"""
4157 return _IMP_isd.HybridMonteCarlo_get_kinetic_energy(self)
4160 def get_potential_energy(self):
4161 """get_potential_energy(HybridMonteCarlo self) -> IMP::Float"""
4162 return _IMP_isd.HybridMonteCarlo_get_potential_energy(self)
4165 def get_total_energy(self):
4166 """get_total_energy(HybridMonteCarlo self) -> IMP::Float"""
4167 return _IMP_isd.HybridMonteCarlo_get_total_energy(self)
4170 def set_timestep(self, ts):
4171 """set_timestep(HybridMonteCarlo self, IMP::Float ts)"""
4172 return _IMP_isd.HybridMonteCarlo_set_timestep(self, ts)
4175 def get_timestep(self):
4176 """get_timestep(HybridMonteCarlo self) -> double"""
4177 return _IMP_isd.HybridMonteCarlo_get_timestep(self)
4180 def set_number_of_md_steps(self, nsteps):
4181 """set_number_of_md_steps(HybridMonteCarlo self, unsigned int nsteps)"""
4182 return _IMP_isd.HybridMonteCarlo_set_number_of_md_steps(self, nsteps)
4185 def get_number_of_md_steps(self):
4186 """get_number_of_md_steps(HybridMonteCarlo self) -> unsigned int"""
4187 return _IMP_isd.HybridMonteCarlo_get_number_of_md_steps(self)
4190 def set_persistence(self, persistence=1):
4192 set_persistence(HybridMonteCarlo self, unsigned int persistence=1)
4193 set_persistence(HybridMonteCarlo self)
4195 return _IMP_isd.HybridMonteCarlo_set_persistence(self, persistence)
4198 def get_persistence(self):
4199 """get_persistence(HybridMonteCarlo self) -> unsigned int"""
4200 return _IMP_isd.HybridMonteCarlo_get_persistence(self)
4204 """get_md(HybridMonteCarlo self) -> MolecularDynamics"""
4205 return _IMP_isd.HybridMonteCarlo_get_md(self)
4208 def do_evaluate(self, arg2):
4209 """do_evaluate(HybridMonteCarlo self, IMP::ParticleIndexes const & arg2) -> double"""
4210 return _IMP_isd.HybridMonteCarlo_do_evaluate(self, arg2)
4214 """do_step(HybridMonteCarlo self)"""
4215 return _IMP_isd.HybridMonteCarlo_do_step(self)
4219 """__str__(HybridMonteCarlo self) -> std::string"""
4220 return _IMP_isd.HybridMonteCarlo___str__(self)
4224 """__repr__(HybridMonteCarlo self) -> std::string"""
4225 return _IMP_isd.HybridMonteCarlo___repr__(self)
4230 return _object_cast_to_HybridMonteCarlo(o)
4232 HybridMonteCarlo_swigregister = _IMP_isd.HybridMonteCarlo_swigregister
4233 HybridMonteCarlo_swigregister(HybridMonteCarlo)
4236 """Proxy of C++ IMP::isd::FretData class."""
4238 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4240 def __init__(self, d_term, d_center, d_int, s_grid, R0, Rmin, Rmax, do_limit=True):
4242 __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
4243 __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
4245 this = _IMP_isd.new_FretData(d_term, d_center, d_int, s_grid, R0, Rmin, Rmax, do_limit)
4247 self.this.append(this)
4251 def get_closest(self, vec, value):
4252 """get_closest(FretData self, DistBase vec, double value) -> int"""
4253 return _IMP_isd.FretData_get_closest(self, vec, value)
4256 def get_probability(self, distn, dist, sigma):
4257 """get_probability(FretData self, IMP::Float distn, IMP::Float dist, IMP::Float sigma) -> IMP::Float"""
4258 return _IMP_isd.FretData_get_probability(self, distn, dist, sigma)
4261 def get_kernel(self, dist, R0):
4262 """get_kernel(FretData self, IMP::Float dist, IMP::Float R0) -> IMP::Float"""
4263 return _IMP_isd.FretData_get_kernel(self, dist, R0)
4266 def get_marginal_element(self, d_term, d_center, sigma):
4267 """get_marginal_element(FretData self, IMP::Float d_term, IMP::Float d_center, IMP::Float sigma) -> IMP::FloatPair"""
4268 return _IMP_isd.FretData_get_marginal_element(self, d_term, d_center, sigma)
4272 """get_version_info(FretData self) -> VersionInfo"""
4273 return _IMP_isd.FretData_get_version_info(self)
4277 """__str__(FretData self) -> std::string"""
4278 return _IMP_isd.FretData___str__(self)
4282 """__repr__(FretData self) -> std::string"""
4283 return _IMP_isd.FretData___repr__(self)
4288 return _object_cast_to_FretData(o)
4290 FretData_swigregister = _IMP_isd.FretData_swigregister
4291 FretData_swigregister(FretData)
4294 """Proxy of C++ IMP::isd::FretRestraint class."""
4296 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4298 def __init__(self, *args):
4300 __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
4301 __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
4302 __init__(IMP::isd::FretRestraint self, IMP::Particles pd, IMP::Particles pa, Particle kda, Particle Ida, Particle R0, Particle sigma0, Particle Pbl, double fexp) -> FretRestraint
4303 __init__(IMP::isd::FretRestraint self, Particle kda, Particle Ida, Particle sumFi, Particle sigma0, Particle Pbl, double fexp) -> FretRestraint
4304 __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
4306 this = _IMP_isd.new_FretRestraint(*args)
4308 self.this.append(this)
4312 def get_sumFi(self):
4313 """get_sumFi(FretRestraint self) -> double"""
4314 return _IMP_isd.FretRestraint_get_sumFi(self)
4317 def get_average_sigma(self, fmod):
4318 """get_average_sigma(FretRestraint self, double fmod) -> double"""
4319 return _IMP_isd.FretRestraint_get_average_sigma(self, fmod)
4322 def get_standard_error(self):
4323 """get_standard_error(FretRestraint self) -> double"""
4324 return _IMP_isd.FretRestraint_get_standard_error(self)
4327 def get_model_fretr(self):
4328 """get_model_fretr(FretRestraint self) -> double"""
4329 return _IMP_isd.FretRestraint_get_model_fretr(self)
4332 def get_probability(self):
4333 """get_probability(FretRestraint self) -> double"""
4334 return _IMP_isd.FretRestraint_get_probability(self)
4337 def get_experimental_value(self):
4338 """get_experimental_value(FretRestraint self) -> double"""
4339 return _IMP_isd.FretRestraint_get_experimental_value(self)
4342 def set_experimental_value(self, fexp):
4343 """set_experimental_value(FretRestraint self, double fexp)"""
4344 return _IMP_isd.FretRestraint_set_experimental_value(self, fexp)
4348 """do_get_inputs(FretRestraint self) -> IMP::ModelObjectsTemp"""
4349 return _IMP_isd.FretRestraint_do_get_inputs(self)
4353 """get_version_info(FretRestraint self) -> VersionInfo"""
4354 return _IMP_isd.FretRestraint_get_version_info(self)
4358 """__str__(FretRestraint self) -> std::string"""
4359 return _IMP_isd.FretRestraint___str__(self)
4363 """__repr__(FretRestraint self) -> std::string"""
4364 return _IMP_isd.FretRestraint___repr__(self)
4369 return _object_cast_to_FretRestraint(o)
4371 FretRestraint_swigregister = _IMP_isd.FretRestraint_swigregister
4372 FretRestraint_swigregister(FretRestraint)
4375 """Proxy of C++ IMP::isd::CysteineCrossLinkData class."""
4377 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4379 def __init__(self, fexp, fmod_grid, omega_grid, omega0_grid, prior_type=3):
4381 __init__(IMP::isd::CysteineCrossLinkData self, double fexp, IMP::Floats fmod_grid, IMP::Floats omega_grid, IMP::Floats omega0_grid, int prior_type=3) -> CysteineCrossLinkData
4382 __init__(IMP::isd::CysteineCrossLinkData self, double fexp, IMP::Floats fmod_grid, IMP::Floats omega_grid, IMP::Floats omega0_grid) -> CysteineCrossLinkData
4384 this = _IMP_isd.new_CysteineCrossLinkData(fexp, fmod_grid, omega_grid, omega0_grid, prior_type)
4386 self.this.append(this)
4390 def get_closest(self, vec, value):
4391 """get_closest(CysteineCrossLinkData self, DistBase vec, double value) -> int"""
4392 return _IMP_isd.CysteineCrossLinkData_get_closest(self, vec, value)
4395 def get_omegas(self, fmods, omega0):
4396 """get_omegas(CysteineCrossLinkData self, IMP::Floats fmods, double omega0) -> IMP::Floats"""
4397 return _IMP_isd.CysteineCrossLinkData_get_omegas(self, fmods, omega0)
4400 def get_nonmarginal_elements(self, fexp, fmods, omega):
4401 """get_nonmarginal_elements(CysteineCrossLinkData self, double fexp, IMP::Floats fmods, double omega) -> IMP::Floats"""
4402 return _IMP_isd.CysteineCrossLinkData_get_nonmarginal_elements(self, fexp, fmods, omega)
4405 def get_marginal_elements(self, fmods, omega0):
4406 """get_marginal_elements(CysteineCrossLinkData self, IMP::Floats fmods, double omega0) -> IMP::Floats"""
4407 return _IMP_isd.CysteineCrossLinkData_get_marginal_elements(self, fmods, omega0)
4410 def get_omega(self, fmod, omega0):
4411 """get_omega(CysteineCrossLinkData self, double fmod, double omega0) -> double"""
4412 return _IMP_isd.CysteineCrossLinkData_get_omega(self, fmod, omega0)
4415 def get_standard_deviation(self, fmod, omega0):
4416 """get_standard_deviation(CysteineCrossLinkData self, double fmod, double omega0) -> double"""
4417 return _IMP_isd.CysteineCrossLinkData_get_standard_deviation(self, fmod, omega0)
4420 def get_nonmarginal_element(self, fexp, fmod, omega):
4421 """get_nonmarginal_element(CysteineCrossLinkData self, double fexp, double fmod, double omega) -> double"""
4422 return _IMP_isd.CysteineCrossLinkData_get_nonmarginal_element(self, fexp, fmod, omega)
4425 def get_marginal_element(self, fmod, omega0):
4426 """get_marginal_element(CysteineCrossLinkData self, double fmod, double omega0) -> double"""
4427 return _IMP_isd.CysteineCrossLinkData_get_marginal_element(self, fmod, omega0)
4431 """get_version_info(CysteineCrossLinkData self) -> VersionInfo"""
4432 return _IMP_isd.CysteineCrossLinkData_get_version_info(self)
4436 """__str__(CysteineCrossLinkData self) -> std::string"""
4437 return _IMP_isd.CysteineCrossLinkData___str__(self)
4441 """__repr__(CysteineCrossLinkData self) -> std::string"""
4442 return _IMP_isd.CysteineCrossLinkData___repr__(self)
4447 return _object_cast_to_CysteineCrossLinkData(o)
4449 CysteineCrossLinkData_swigregister = _IMP_isd.CysteineCrossLinkData_swigregister
4450 CysteineCrossLinkData_swigregister(CysteineCrossLinkData)
4453 """Proxy of C++ IMP::isd::CrossLinkData class."""
4455 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4457 def __init__(self, *args):
4459 __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
4460 __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, double lexp_, double don, double doff) -> CrossLinkData
4461 __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, double lexp_, double don) -> CrossLinkData
4462 __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, double lexp_) -> CrossLinkData
4463 __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
4464 __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
4465 __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
4466 __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
4468 this = _IMP_isd.new_CrossLinkData(*args)
4470 self.this.append(this)
4474 def get_closest(self, vec, value):
4475 """get_closest(CrossLinkData self, DistBase vec, double value) -> int"""
4476 return _IMP_isd.CrossLinkData_get_closest(self, vec, value)
4479 def get_omegas(self, sigma, dists):
4480 """get_omegas(CrossLinkData self, double sigma, IMP::Floats dists) -> IMP::Floats"""
4481 return _IMP_isd.CrossLinkData_get_omegas(self, sigma, dists)
4484 def get_omega_prior(self, omega, omega0):
4485 """get_omega_prior(CrossLinkData self, double omega, double omega0) -> double"""
4486 return _IMP_isd.CrossLinkData_get_omega_prior(self, omega, omega0)
4489 def get_nonmarginal_elements(self, sigmai, dists):
4490 """get_nonmarginal_elements(CrossLinkData self, double sigmai, IMP::Floats dists) -> IMP::Floats"""
4491 return _IMP_isd.CrossLinkData_get_nonmarginal_elements(self, sigmai, dists)
4494 def get_marginal_elements(self, sigma, dists):
4495 """get_marginal_elements(CrossLinkData self, double sigma, IMP::Floats dists) -> IMP::Floats"""
4496 return _IMP_isd.CrossLinkData_get_marginal_elements(self, sigma, dists)
4499 def get_marginal_maximum(self, *args):
4501 get_marginal_maximum(CrossLinkData self, double sigma) -> double
4502 get_marginal_maximum(CrossLinkData self) -> double
4504 return _IMP_isd.CrossLinkData_get_marginal_maximum(self, *args)
4508 """get_version_info(CrossLinkData self) -> VersionInfo"""
4509 return _IMP_isd.CrossLinkData_get_version_info(self)
4513 """__str__(CrossLinkData self) -> std::string"""
4514 return _IMP_isd.CrossLinkData___str__(self)
4518 """__repr__(CrossLinkData self) -> std::string"""
4519 return _IMP_isd.CrossLinkData___repr__(self)
4524 return _object_cast_to_CrossLinkData(o)
4526 CrossLinkData_swigregister = _IMP_isd.CrossLinkData_swigregister
4527 CrossLinkData_swigregister(CrossLinkData)
4530 """Proxy of C++ IMP::isd::CysteineCrossLinkRestraint class."""
4532 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4534 def __init__(self, *args):
4536 __init__(IMP::isd::CysteineCrossLinkRestraint self, Model m, _ParticleIndexAdaptor beta, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor epsilon, _ParticleIndexAdaptor weight, CrossLinkData data, double fexp) -> CysteineCrossLinkRestraint
4537 __init__(IMP::isd::CysteineCrossLinkRestraint self, Model m, _ParticleIndexAdaptor beta, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor epsilon, _ParticleIndexAdaptor weight, CrossLinkData data, CysteineCrossLinkData ccldata) -> CysteineCrossLinkRestraint
4539 this = _IMP_isd.new_CysteineCrossLinkRestraint(*args)
4541 self.this.append(this)
4545 def get_probability(self):
4546 """get_probability(CysteineCrossLinkRestraint self) -> double"""
4547 return _IMP_isd.CysteineCrossLinkRestraint_get_probability(self)
4550 def get_standard_error(self):
4551 """get_standard_error(CysteineCrossLinkRestraint self) -> double"""
4552 return _IMP_isd.CysteineCrossLinkRestraint_get_standard_error(self)
4555 def get_frequencies(self):
4556 """get_frequencies(CysteineCrossLinkRestraint self) -> IMP::Floats"""
4557 return _IMP_isd.CysteineCrossLinkRestraint_get_frequencies(self)
4560 def get_model_frequency(self):
4561 """get_model_frequency(CysteineCrossLinkRestraint self) -> double"""
4562 return _IMP_isd.CysteineCrossLinkRestraint_get_model_frequency(self)
4565 def get_distances(self):
4566 """get_distances(CysteineCrossLinkRestraint self) -> IMP::Floats"""
4567 return _IMP_isd.CysteineCrossLinkRestraint_get_distances(self)
4570 def get_truncated_normalization(self, mean, sigma):
4571 """get_truncated_normalization(CysteineCrossLinkRestraint self, double mean, double sigma) -> double"""
4572 return _IMP_isd.CysteineCrossLinkRestraint_get_truncated_normalization(self, mean, sigma)
4575 def get_normal_pdf(self, mean, sigma, x):
4576 """get_normal_pdf(CysteineCrossLinkRestraint self, double mean, double sigma, double x) -> double"""
4577 return _IMP_isd.CysteineCrossLinkRestraint_get_normal_pdf(self, mean, sigma, x)
4580 def add_contribution(self, *args):
4582 add_contribution(CysteineCrossLinkRestraint self, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2)
4583 add_contribution(CysteineCrossLinkRestraint self, IMP::ParticleIndexes p1, IMP::ParticleIndexes p2)
4585 return _IMP_isd.CysteineCrossLinkRestraint_add_contribution(self, *args)
4588 def get_CB_coordinates(self, ps):
4589 """get_CB_coordinates(CysteineCrossLinkRestraint self, IMP::ParticleIndexes const & ps) -> Vector3D"""
4590 return _IMP_isd.CysteineCrossLinkRestraint_get_CB_coordinates(self, ps)
4593 def get_number_of_contributions(self):
4594 """get_number_of_contributions(CysteineCrossLinkRestraint self) -> unsigned int"""
4595 return _IMP_isd.CysteineCrossLinkRestraint_get_number_of_contributions(self)
4599 """do_get_inputs(CysteineCrossLinkRestraint self) -> IMP::ModelObjectsTemp"""
4600 return _IMP_isd.CysteineCrossLinkRestraint_do_get_inputs(self)
4604 """get_version_info(CysteineCrossLinkRestraint self) -> VersionInfo"""
4605 return _IMP_isd.CysteineCrossLinkRestraint_get_version_info(self)
4609 """__str__(CysteineCrossLinkRestraint self) -> std::string"""
4610 return _IMP_isd.CysteineCrossLinkRestraint___str__(self)
4614 """__repr__(CysteineCrossLinkRestraint self) -> std::string"""
4615 return _IMP_isd.CysteineCrossLinkRestraint___repr__(self)
4620 return _object_cast_to_CysteineCrossLinkRestraint(o)
4622 CysteineCrossLinkRestraint_swigregister = _IMP_isd.CysteineCrossLinkRestraint_swigregister
4623 CysteineCrossLinkRestraint_swigregister(CysteineCrossLinkRestraint)
4626 """Proxy of C++ IMP::isd::WeightMover class."""
4628 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4630 def __init__(self, w, radius):
4631 """__init__(IMP::isd::WeightMover self, Particle w, IMP::Float radius) -> WeightMover"""
4632 this = _IMP_isd.new_WeightMover(w, radius)
4634 self.this.append(this)
4638 def set_radius(self, radius):
4639 """set_radius(WeightMover self, IMP::Float radius)"""
4640 return _IMP_isd.WeightMover_set_radius(self, radius)
4643 def get_radius(self):
4644 """get_radius(WeightMover self) -> IMP::Float"""
4645 return _IMP_isd.WeightMover_get_radius(self)
4649 """get_version_info(WeightMover self) -> VersionInfo"""
4650 return _IMP_isd.WeightMover_get_version_info(self)
4654 """__str__(WeightMover self) -> std::string"""
4655 return _IMP_isd.WeightMover___str__(self)
4659 """__repr__(WeightMover self) -> std::string"""
4660 return _IMP_isd.WeightMover___repr__(self)
4665 return _object_cast_to_WeightMover(o)
4667 WeightMover_swigregister = _IMP_isd.WeightMover_swigregister
4668 WeightMover_swigregister(WeightMover)
4671 """Proxy of C++ IMP::isd::WeightRestraint class."""
4673 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4675 def __init__(self, w, wmin, wmax, kappa):
4676 """__init__(IMP::isd::WeightRestraint self, Particle w, IMP::Float wmin, IMP::Float wmax, IMP::Float kappa) -> WeightRestraint"""
4677 this = _IMP_isd.new_WeightRestraint(w, wmin, wmax, kappa)
4679 self.this.append(this)
4684 """do_get_inputs(WeightRestraint self) -> IMP::ModelObjectsTemp"""
4685 return _IMP_isd.WeightRestraint_do_get_inputs(self)
4689 """get_version_info(WeightRestraint self) -> VersionInfo"""
4690 return _IMP_isd.WeightRestraint_get_version_info(self)
4694 """__str__(WeightRestraint self) -> std::string"""
4695 return _IMP_isd.WeightRestraint___str__(self)
4699 """__repr__(WeightRestraint self) -> std::string"""
4700 return _IMP_isd.WeightRestraint___repr__(self)
4705 return _object_cast_to_WeightRestraint(o)
4707 WeightRestraint_swigregister = _IMP_isd.WeightRestraint_swigregister
4708 WeightRestraint_swigregister(WeightRestraint)
4711 """Proxy of C++ IMP::isd::AtomicCrossLinkMSRestraint class."""
4713 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4715 def __init__(self, *args):
4717 __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
4718 __init__(IMP::isd::AtomicCrossLinkMSRestraint self, Model m, double length, ParticleIndex psi, IMP::Float slope=0.0, bool part_of_log_score=False) -> AtomicCrossLinkMSRestraint
4719 __init__(IMP::isd::AtomicCrossLinkMSRestraint self, Model m, double length, ParticleIndex psi, IMP::Float slope=0.0) -> AtomicCrossLinkMSRestraint
4720 __init__(IMP::isd::AtomicCrossLinkMSRestraint self, Model m, double length, ParticleIndex psi) -> AtomicCrossLinkMSRestraint
4722 this = _IMP_isd.new_AtomicCrossLinkMSRestraint(*args)
4724 self.this.append(this)
4728 def add_contribution(self, ppi, sigmas):
4729 """add_contribution(AtomicCrossLinkMSRestraint self, IMP::ParticleIndexPair const & ppi, IMP::ParticleIndexPair const & sigmas)"""
4730 return _IMP_isd.AtomicCrossLinkMSRestraint_add_contribution(self, ppi, sigmas)
4733 def evaluate_for_contributions(self, c, accum):
4734 """evaluate_for_contributions(AtomicCrossLinkMSRestraint self, IMP::Ints c, DerivativeAccumulator accum) -> IMP::Float"""
4735 return _IMP_isd.AtomicCrossLinkMSRestraint_evaluate_for_contributions(self, c, accum)
4738 def get_number_of_contributions(self):
4739 """get_number_of_contributions(AtomicCrossLinkMSRestraint self) -> unsigned int"""
4740 return _IMP_isd.AtomicCrossLinkMSRestraint_get_number_of_contributions(self)
4743 def get_contribution(self, i):
4744 """get_contribution(AtomicCrossLinkMSRestraint self, int i) -> IMP::ParticleIndexPair"""
4745 return _IMP_isd.AtomicCrossLinkMSRestraint_get_contribution(self, i)
4748 def get_contribution_sigmas(self, i):
4749 """get_contribution_sigmas(AtomicCrossLinkMSRestraint self, int i) -> IMP::ParticleIndexPair"""
4750 return _IMP_isd.AtomicCrossLinkMSRestraint_get_contribution_sigmas(self, i)
4754 """get_psi(AtomicCrossLinkMSRestraint self) -> ParticleIndex"""
4755 return _IMP_isd.AtomicCrossLinkMSRestraint_get_psi(self)
4759 """do_get_inputs(AtomicCrossLinkMSRestraint self) -> IMP::ModelObjectsTemp"""
4760 return _IMP_isd.AtomicCrossLinkMSRestraint_do_get_inputs(self)
4763 def show(self, out):
4764 """show(AtomicCrossLinkMSRestraint self, _ostream out)"""
4765 return _IMP_isd.AtomicCrossLinkMSRestraint_show(self, out)
4768 def set_slope(self, slope):
4769 """set_slope(AtomicCrossLinkMSRestraint self, IMP::Float slope)"""
4770 return _IMP_isd.AtomicCrossLinkMSRestraint_set_slope(self, slope)
4773 def set_part_of_log_score(self, hey):
4774 """set_part_of_log_score(AtomicCrossLinkMSRestraint self, bool hey)"""
4775 return _IMP_isd.AtomicCrossLinkMSRestraint_set_part_of_log_score(self, hey)
4779 """get_version_info(AtomicCrossLinkMSRestraint self) -> VersionInfo"""
4780 return _IMP_isd.AtomicCrossLinkMSRestraint_get_version_info(self)
4784 """__str__(AtomicCrossLinkMSRestraint self) -> std::string"""
4785 return _IMP_isd.AtomicCrossLinkMSRestraint___str__(self)
4789 """__repr__(AtomicCrossLinkMSRestraint self) -> std::string"""
4790 return _IMP_isd.AtomicCrossLinkMSRestraint___repr__(self)
4795 return _object_cast_to_AtomicCrossLinkMSRestraint(o)
4797 AtomicCrossLinkMSRestraint_swigregister = _IMP_isd.AtomicCrossLinkMSRestraint_swigregister
4798 AtomicCrossLinkMSRestraint_swigregister(AtomicCrossLinkMSRestraint)
4801 """Proxy of C++ IMP::isd::GaussianEMRestraint class."""
4803 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4805 def __init__(self, *args):
4807 __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, std::string name) -> GaussianEMRestraint
4808 __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
4809 __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
4810 __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
4812 this = _IMP_isd.new_GaussianEMRestraint(*args)
4814 self.this.append(this)
4818 def get_probability(self):
4819 """get_probability(GaussianEMRestraint self) -> double"""
4820 return _IMP_isd.GaussianEMRestraint_get_probability(self)
4823 def compute_initial_scores(self):
4824 """compute_initial_scores(GaussianEMRestraint self)"""
4825 return _IMP_isd.GaussianEMRestraint_compute_initial_scores(self)
4828 def set_slope(self, s):
4829 """set_slope(GaussianEMRestraint self, IMP::Float s)"""
4830 return _IMP_isd.GaussianEMRestraint_set_slope(self, s)
4833 def get_slope(self):
4834 """get_slope(GaussianEMRestraint self) -> IMP::Float"""
4835 return _IMP_isd.GaussianEMRestraint_get_slope(self)
4839 """do_get_inputs(GaussianEMRestraint self) -> IMP::ModelObjectsTemp"""
4840 return _IMP_isd.GaussianEMRestraint_do_get_inputs(self)
4843 def show(self, out):
4844 """show(GaussianEMRestraint self, _ostream out)"""
4845 return _IMP_isd.GaussianEMRestraint_show(self, out)
4849 """get_version_info(GaussianEMRestraint self) -> VersionInfo"""
4850 return _IMP_isd.GaussianEMRestraint_get_version_info(self)
4854 """__str__(GaussianEMRestraint self) -> std::string"""
4855 return _IMP_isd.GaussianEMRestraint___str__(self)
4859 """__repr__(GaussianEMRestraint self) -> std::string"""
4860 return _IMP_isd.GaussianEMRestraint___repr__(self)
4865 return _object_cast_to_GaussianEMRestraint(o)
4867 GaussianEMRestraint_swigregister = _IMP_isd.GaussianEMRestraint_swigregister
4868 GaussianEMRestraint_swigregister(GaussianEMRestraint)
4871 def sample_points_from_density(dmap_orig, npoints, threshold=0.0):
4873 sample_points_from_density(DensityMap dmap_orig, int npoints, IMP::Float threshold=0.0) -> IMP::FloatsList
4874 sample_points_from_density(DensityMap dmap_orig, int npoints) -> IMP::FloatsList
4876 return _IMP_isd.sample_points_from_density(dmap_orig, npoints, threshold)
4878 def get_module_version():
4879 """get_module_version() -> std::string const"""
4880 return _IMP_isd.get_module_version()
4883 """get_example_path(std::string fname) -> std::string"""
4884 return _IMP_isd.get_example_path(fname)
4887 """get_data_path(std::string fname) -> std::string"""
4888 return _IMP_isd.get_data_path(fname)
4890 from .
import _version_check
4891 _version_check.check_version(get_module_version())
4892 __version__ = get_module_version()
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
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.
Class for storing model, its restraints, constraints, and particles.
void add_restraint(RMF::FileHandle fh, Restraint *hs)
ModelObjectsTemp get_inputs(Model *m, const ParticleIndexes &pis) const
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.
void add_restraints(RMF::FileHandle fh, const Restraints &hs)
virtual ModelObjectsTemp do_get_inputs(Model *m, const ParticleIndexes &pis) const =0
Version and module information for Objects.
Basic utilities for handling cryo-electron microscopy 3D density maps.
IMP::Vector< Weight > Weights
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...
virtual VersionInfo get_version_info() const
Get information about the module and version of the object.
Class to handle individual model particles.
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.