10 from __future__
import print_function, division, absolute_import
15 from sys
import version_info
16 if version_info >= (2, 6, 0):
17 def swig_import_helper():
18 from os.path
import dirname
22 fp, pathname, description = imp.find_module(
'_IMP_isd', [dirname(__file__)])
28 _mod = imp.load_module(
'_IMP_isd', fp, pathname, description)
32 _IMP_isd = swig_import_helper()
33 del swig_import_helper
38 _swig_property = property
43 def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
44 if (name ==
"thisown"):
45 return self.this.own(value)
47 if type(value).__name__ ==
'SwigPyObject':
48 self.__dict__[name] = value
50 method = class_type.__swig_setmethods__.get(name,
None)
52 return method(self, value)
54 object.__setattr__(self, name, value)
56 raise AttributeError(
"You cannot add attributes to %s" % self)
59 def _swig_setattr(self, class_type, name, value):
60 return _swig_setattr_nondynamic(self, class_type, name, value, 0)
63 def _swig_getattr_nondynamic(self, class_type, name, static=1):
64 if (name ==
"thisown"):
65 return self.this.own()
66 method = class_type.__swig_getmethods__.get(name,
None)
70 return object.__getattr__(self, name)
72 raise AttributeError(name)
74 def _swig_getattr(self, class_type, name):
75 return _swig_getattr_nondynamic(self, class_type, name, 0)
80 strthis =
"proxy of " + self.this.__repr__()
83 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
88 except AttributeError:
95 def _swig_setattr_nondynamic_method(set):
96 def set_attr(self, name, value):
97 if (name ==
"thisown"):
98 return self.this.own(value)
99 if hasattr(self, name)
or (name ==
"this"):
100 set(self, name, value)
102 raise AttributeError(
"You cannot add attributes to %s" % self)
108 weakref_proxy = weakref.proxy
110 weakref_proxy =
lambda x: x
113 class IMP_ISD_SwigPyIterator(object):
114 """Proxy of C++ swig::IMP_ISD_SwigPyIterator class"""
115 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
117 def __init__(self, *args, **kwargs):
118 raise AttributeError(
"No constructor defined - class is abstract")
119 __repr__ = _swig_repr
120 __swig_destroy__ = _IMP_isd.delete_IMP_ISD_SwigPyIterator
121 __del__ =
lambda self:
None
124 """value(IMP_ISD_SwigPyIterator self) -> PyObject *"""
125 return _IMP_isd.IMP_ISD_SwigPyIterator_value(self)
130 incr(IMP_ISD_SwigPyIterator self, size_t n=1) -> IMP_ISD_SwigPyIterator
131 incr(IMP_ISD_SwigPyIterator self) -> IMP_ISD_SwigPyIterator
133 return _IMP_isd.IMP_ISD_SwigPyIterator_incr(self, n)
138 decr(IMP_ISD_SwigPyIterator self, size_t n=1) -> IMP_ISD_SwigPyIterator
139 decr(IMP_ISD_SwigPyIterator self) -> IMP_ISD_SwigPyIterator
141 return _IMP_isd.IMP_ISD_SwigPyIterator_decr(self, n)
144 def distance(self, x):
145 """distance(IMP_ISD_SwigPyIterator self, IMP_ISD_SwigPyIterator x) -> ptrdiff_t"""
146 return _IMP_isd.IMP_ISD_SwigPyIterator_distance(self, x)
150 """equal(IMP_ISD_SwigPyIterator self, IMP_ISD_SwigPyIterator x) -> bool"""
151 return _IMP_isd.IMP_ISD_SwigPyIterator_equal(self, x)
155 """copy(IMP_ISD_SwigPyIterator self) -> IMP_ISD_SwigPyIterator"""
156 return _IMP_isd.IMP_ISD_SwigPyIterator_copy(self)
160 """next(IMP_ISD_SwigPyIterator self) -> PyObject *"""
161 return _IMP_isd.IMP_ISD_SwigPyIterator_next(self)
165 """__next__(IMP_ISD_SwigPyIterator self) -> PyObject *"""
166 return _IMP_isd.IMP_ISD_SwigPyIterator___next__(self)
170 """previous(IMP_ISD_SwigPyIterator self) -> PyObject *"""
171 return _IMP_isd.IMP_ISD_SwigPyIterator_previous(self)
174 def advance(self, n):
175 """advance(IMP_ISD_SwigPyIterator self, ptrdiff_t n) -> IMP_ISD_SwigPyIterator"""
176 return _IMP_isd.IMP_ISD_SwigPyIterator_advance(self, n)
180 """__eq__(IMP_ISD_SwigPyIterator self, IMP_ISD_SwigPyIterator x) -> bool"""
181 return _IMP_isd.IMP_ISD_SwigPyIterator___eq__(self, x)
185 """__ne__(IMP_ISD_SwigPyIterator self, IMP_ISD_SwigPyIterator x) -> bool"""
186 return _IMP_isd.IMP_ISD_SwigPyIterator___ne__(self, x)
189 def __iadd__(self, n):
190 """__iadd__(IMP_ISD_SwigPyIterator self, ptrdiff_t n) -> IMP_ISD_SwigPyIterator"""
191 return _IMP_isd.IMP_ISD_SwigPyIterator___iadd__(self, n)
194 def __isub__(self, n):
195 """__isub__(IMP_ISD_SwigPyIterator self, ptrdiff_t n) -> IMP_ISD_SwigPyIterator"""
196 return _IMP_isd.IMP_ISD_SwigPyIterator___isub__(self, n)
199 def __add__(self, n):
200 """__add__(IMP_ISD_SwigPyIterator self, ptrdiff_t n) -> IMP_ISD_SwigPyIterator"""
201 return _IMP_isd.IMP_ISD_SwigPyIterator___add__(self, n)
204 def __sub__(self, *args):
206 __sub__(IMP_ISD_SwigPyIterator self, ptrdiff_t n) -> IMP_ISD_SwigPyIterator
207 __sub__(IMP_ISD_SwigPyIterator self, IMP_ISD_SwigPyIterator x) -> ptrdiff_t
209 return _IMP_isd.IMP_ISD_SwigPyIterator___sub__(self, *args)
213 IMP_ISD_SwigPyIterator_swigregister = _IMP_isd.IMP_ISD_SwigPyIterator_swigregister
214 IMP_ISD_SwigPyIterator_swigregister(IMP_ISD_SwigPyIterator)
222 _IMP_isd.IMP_DEBUG_swigconstant(_IMP_isd)
223 IMP_DEBUG = _IMP_isd.IMP_DEBUG
225 _IMP_isd.IMP_RELEASE_swigconstant(_IMP_isd)
226 IMP_RELEASE = _IMP_isd.IMP_RELEASE
228 _IMP_isd.IMP_SILENT_swigconstant(_IMP_isd)
229 IMP_SILENT = _IMP_isd.IMP_SILENT
231 _IMP_isd.IMP_PROGRESS_swigconstant(_IMP_isd)
232 IMP_PROGRESS = _IMP_isd.IMP_PROGRESS
234 _IMP_isd.IMP_TERSE_swigconstant(_IMP_isd)
235 IMP_TERSE = _IMP_isd.IMP_TERSE
237 _IMP_isd.IMP_VERBOSE_swigconstant(_IMP_isd)
238 IMP_VERBOSE = _IMP_isd.IMP_VERBOSE
240 _IMP_isd.IMP_MEMORY_swigconstant(_IMP_isd)
241 IMP_MEMORY = _IMP_isd.IMP_MEMORY
243 _IMP_isd.IMP_NONE_swigconstant(_IMP_isd)
244 IMP_NONE = _IMP_isd.IMP_NONE
246 _IMP_isd.IMP_USAGE_swigconstant(_IMP_isd)
247 IMP_USAGE = _IMP_isd.IMP_USAGE
249 _IMP_isd.IMP_INTERNAL_swigconstant(_IMP_isd)
250 IMP_INTERNAL = _IMP_isd.IMP_INTERNAL
252 _IMP_isd.IMP_KERNEL_HAS_LOG4CXX_swigconstant(_IMP_isd)
253 IMP_KERNEL_HAS_LOG4CXX = _IMP_isd.IMP_KERNEL_HAS_LOG4CXX
255 _IMP_isd.IMP_COMPILER_HAS_AUTO_swigconstant(_IMP_isd)
256 IMP_COMPILER_HAS_AUTO = _IMP_isd.IMP_COMPILER_HAS_AUTO
258 _IMP_isd.IMP_COMPILER_HAS_DEBUG_VECTOR_swigconstant(_IMP_isd)
259 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_isd.IMP_COMPILER_HAS_DEBUG_VECTOR
261 _IMP_isd.IMP_KERNEL_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
262 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_isd.IMP_KERNEL_HAS_BOOST_RANDOM
264 _IMP_isd.IMP_KERNEL_HAS_GPERFTOOLS_swigconstant(_IMP_isd)
265 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_isd.IMP_KERNEL_HAS_GPERFTOOLS
267 _IMP_isd.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER_swigconstant(_IMP_isd)
268 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_isd.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
270 _IMP_isd.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER_swigconstant(_IMP_isd)
271 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_isd.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
273 _IMP_isd.IMPKERNEL_SHOW_WARNINGS_swigconstant(_IMP_isd)
274 IMPKERNEL_SHOW_WARNINGS = _IMP_isd.IMPKERNEL_SHOW_WARNINGS
276 class _DirectorObjects(object):
277 """@internal Simple class to keep references to director objects
278 to prevent premature deletion."""
281 def register(self, obj):
282 """Take a reference to a director object; will only work for
283 refcounted C++ classes"""
284 if hasattr(obj,
'get_ref_count'):
285 self._objects.append(obj)
287 """Only drop our reference and allow cleanup by Python if no other
288 Python references exist (we hold 3 references: one in self._objects,
289 one in x, and one in the argument list for getrefcount) *and* no
290 other C++ references exist (the Python object always holds one)"""
291 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
292 or x.get_ref_count() > 1]
296 def get_object_count(self):
297 """Get number of director objects (useful for testing only)"""
298 return len(self._objects)
299 _director_objects = _DirectorObjects()
301 class _ostream(object):
302 """Proxy of C++ std::ostream class"""
303 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
305 def __init__(self, *args, **kwargs):
306 raise AttributeError(
"No constructor defined")
307 __repr__ = _swig_repr
309 def write(self, osa_buf):
310 """write(_ostream self, char const * osa_buf)"""
311 return _IMP_isd._ostream_write(self, osa_buf)
313 _ostream_swigregister = _IMP_isd._ostream_swigregister
314 _ostream_swigregister(_ostream)
317 _IMP_isd.IMP_COMPILER_HAS_OVERRIDE_swigconstant(_IMP_isd)
318 IMP_COMPILER_HAS_OVERRIDE = _IMP_isd.IMP_COMPILER_HAS_OVERRIDE
320 _IMP_isd.IMP_COMPILER_HAS_FINAL_swigconstant(_IMP_isd)
321 IMP_COMPILER_HAS_FINAL = _IMP_isd.IMP_COMPILER_HAS_FINAL
323 _IMP_isd.IMP_HAS_NOEXCEPT_swigconstant(_IMP_isd)
324 IMP_HAS_NOEXCEPT = _IMP_isd.IMP_HAS_NOEXCEPT
327 _IMP_isd.IMP_CGAL_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_isd)
328 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_CGAL_HAS_BOOST_FILESYSTEM
330 _IMP_isd.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_isd)
331 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
333 _IMP_isd.IMP_CGAL_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
334 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_isd.IMP_CGAL_HAS_BOOST_RANDOM
336 _IMP_isd.IMP_CGAL_HAS_BOOST_SYSTEM_swigconstant(_IMP_isd)
337 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_isd.IMP_CGAL_HAS_BOOST_SYSTEM
339 _IMP_isd.IMPCGAL_SHOW_WARNINGS_swigconstant(_IMP_isd)
340 IMPCGAL_SHOW_WARNINGS = _IMP_isd.IMPCGAL_SHOW_WARNINGS
343 _IMP_isd.IMP_ALGEBRA_HAS_IMP_CGAL_swigconstant(_IMP_isd)
344 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_isd.IMP_ALGEBRA_HAS_IMP_CGAL
346 _IMP_isd.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_isd)
347 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
349 _IMP_isd.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_isd)
350 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
352 _IMP_isd.IMP_ALGEBRA_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
353 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_isd.IMP_ALGEBRA_HAS_BOOST_RANDOM
355 _IMP_isd.IMP_ALGEBRA_HAS_BOOST_SYSTEM_swigconstant(_IMP_isd)
356 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_isd.IMP_ALGEBRA_HAS_BOOST_SYSTEM
358 _IMP_isd.IMP_ALGEBRA_HAS_CGAL_swigconstant(_IMP_isd)
359 IMP_ALGEBRA_HAS_CGAL = _IMP_isd.IMP_ALGEBRA_HAS_CGAL
361 _IMP_isd.IMP_ALGEBRA_HAS_ANN_swigconstant(_IMP_isd)
362 IMP_ALGEBRA_HAS_ANN = _IMP_isd.IMP_ALGEBRA_HAS_ANN
364 _IMP_isd.IMPALGEBRA_SHOW_WARNINGS_swigconstant(_IMP_isd)
365 IMPALGEBRA_SHOW_WARNINGS = _IMP_isd.IMPALGEBRA_SHOW_WARNINGS
368 _IMP_isd.IMP_DISPLAY_HAS_IMP_CGAL_swigconstant(_IMP_isd)
369 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_isd.IMP_DISPLAY_HAS_IMP_CGAL
371 _IMP_isd.IMP_DISPLAY_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_isd)
372 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
374 _IMP_isd.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_isd)
375 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
377 _IMP_isd.IMP_DISPLAY_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
378 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_isd.IMP_DISPLAY_HAS_BOOST_RANDOM
380 _IMP_isd.IMP_DISPLAY_HAS_BOOST_SYSTEM_swigconstant(_IMP_isd)
381 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_isd.IMP_DISPLAY_HAS_BOOST_SYSTEM
383 _IMP_isd.IMP_DISPLAY_HAS_CGAL_swigconstant(_IMP_isd)
384 IMP_DISPLAY_HAS_CGAL = _IMP_isd.IMP_DISPLAY_HAS_CGAL
386 _IMP_isd.IMPDISPLAY_SHOW_WARNINGS_swigconstant(_IMP_isd)
387 IMPDISPLAY_SHOW_WARNINGS = _IMP_isd.IMPDISPLAY_SHOW_WARNINGS
390 _IMP_isd.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL_swigconstant(_IMP_isd)
391 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
393 _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_isd)
394 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
396 _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_isd)
397 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
399 _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
400 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
402 _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM_swigconstant(_IMP_isd)
403 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
405 _IMP_isd.IMP_SCORE_FUNCTOR_HAS_CGAL_swigconstant(_IMP_isd)
406 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_CGAL
408 _IMP_isd.IMP_SCORE_FUNCTOR_HAS_HDF5_swigconstant(_IMP_isd)
409 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_HDF5
411 _IMP_isd.IMPSCOREFUNCTOR_SHOW_WARNINGS_swigconstant(_IMP_isd)
412 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_isd.IMPSCOREFUNCTOR_SHOW_WARNINGS
415 _IMP_isd.IMP_STATISTICS_HAS_IMP_CGAL_swigconstant(_IMP_isd)
416 IMP_STATISTICS_HAS_IMP_CGAL = _IMP_isd.IMP_STATISTICS_HAS_IMP_CGAL
418 _IMP_isd.IMP_STATISTICS_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_isd)
419 IMP_STATISTICS_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_STATISTICS_HAS_BOOST_FILESYSTEM
421 _IMP_isd.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_isd)
422 IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS
424 _IMP_isd.IMP_STATISTICS_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
425 IMP_STATISTICS_HAS_BOOST_RANDOM = _IMP_isd.IMP_STATISTICS_HAS_BOOST_RANDOM
427 _IMP_isd.IMP_STATISTICS_HAS_BOOST_SYSTEM_swigconstant(_IMP_isd)
428 IMP_STATISTICS_HAS_BOOST_SYSTEM = _IMP_isd.IMP_STATISTICS_HAS_BOOST_SYSTEM
430 _IMP_isd.IMP_STATISTICS_HAS_CGAL_swigconstant(_IMP_isd)
431 IMP_STATISTICS_HAS_CGAL = _IMP_isd.IMP_STATISTICS_HAS_CGAL
433 _IMP_isd.IMPSTATISTICS_SHOW_WARNINGS_swigconstant(_IMP_isd)
434 IMPSTATISTICS_SHOW_WARNINGS = _IMP_isd.IMPSTATISTICS_SHOW_WARNINGS
437 _IMP_isd.IMP_CORE_HAS_IMP_CGAL_swigconstant(_IMP_isd)
438 IMP_CORE_HAS_IMP_CGAL = _IMP_isd.IMP_CORE_HAS_IMP_CGAL
440 _IMP_isd.IMP_CORE_HAS_IMP_KERNEL_swigconstant(_IMP_isd)
441 IMP_CORE_HAS_IMP_KERNEL = _IMP_isd.IMP_CORE_HAS_IMP_KERNEL
443 _IMP_isd.IMP_CORE_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_isd)
444 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_CORE_HAS_BOOST_FILESYSTEM
446 _IMP_isd.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_isd)
447 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
449 _IMP_isd.IMP_CORE_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
450 IMP_CORE_HAS_BOOST_RANDOM = _IMP_isd.IMP_CORE_HAS_BOOST_RANDOM
452 _IMP_isd.IMP_CORE_HAS_BOOST_SYSTEM_swigconstant(_IMP_isd)
453 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_isd.IMP_CORE_HAS_BOOST_SYSTEM
455 _IMP_isd.IMP_CORE_HAS_CGAL_swigconstant(_IMP_isd)
456 IMP_CORE_HAS_CGAL = _IMP_isd.IMP_CORE_HAS_CGAL
458 _IMP_isd.IMP_CORE_HAS_HDF5_swigconstant(_IMP_isd)
459 IMP_CORE_HAS_HDF5 = _IMP_isd.IMP_CORE_HAS_HDF5
461 _IMP_isd.IMPCORE_SHOW_WARNINGS_swigconstant(_IMP_isd)
462 IMPCORE_SHOW_WARNINGS = _IMP_isd.IMPCORE_SHOW_WARNINGS
465 _IMP_isd.IMP_CONTAINER_HAS_IMP_ALGEBRA_swigconstant(_IMP_isd)
466 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_isd.IMP_CONTAINER_HAS_IMP_ALGEBRA
468 _IMP_isd.IMP_CONTAINER_HAS_IMP_CGAL_swigconstant(_IMP_isd)
469 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_isd.IMP_CONTAINER_HAS_IMP_CGAL
471 _IMP_isd.IMP_CONTAINER_HAS_IMP_DISPLAY_swigconstant(_IMP_isd)
472 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_isd.IMP_CONTAINER_HAS_IMP_DISPLAY
474 _IMP_isd.IMP_CONTAINER_HAS_IMP_KERNEL_swigconstant(_IMP_isd)
475 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_isd.IMP_CONTAINER_HAS_IMP_KERNEL
477 _IMP_isd.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_isd)
478 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_isd.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
480 _IMP_isd.IMP_CONTAINER_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_isd)
481 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
483 _IMP_isd.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_isd)
484 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
486 _IMP_isd.IMP_CONTAINER_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
487 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_isd.IMP_CONTAINER_HAS_BOOST_RANDOM
489 _IMP_isd.IMP_CONTAINER_HAS_BOOST_SYSTEM_swigconstant(_IMP_isd)
490 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_isd.IMP_CONTAINER_HAS_BOOST_SYSTEM
492 _IMP_isd.IMP_CONTAINER_HAS_CGAL_swigconstant(_IMP_isd)
493 IMP_CONTAINER_HAS_CGAL = _IMP_isd.IMP_CONTAINER_HAS_CGAL
495 _IMP_isd.IMP_CONTAINER_HAS_HDF5_swigconstant(_IMP_isd)
496 IMP_CONTAINER_HAS_HDF5 = _IMP_isd.IMP_CONTAINER_HAS_HDF5
498 _IMP_isd.IMPCONTAINER_SHOW_WARNINGS_swigconstant(_IMP_isd)
499 IMPCONTAINER_SHOW_WARNINGS = _IMP_isd.IMPCONTAINER_SHOW_WARNINGS
502 _IMP_isd.IMP_ATOM_HAS_IMP_CGAL_swigconstant(_IMP_isd)
503 IMP_ATOM_HAS_IMP_CGAL = _IMP_isd.IMP_ATOM_HAS_IMP_CGAL
505 _IMP_isd.IMP_ATOM_HAS_IMP_KERNEL_swigconstant(_IMP_isd)
506 IMP_ATOM_HAS_IMP_KERNEL = _IMP_isd.IMP_ATOM_HAS_IMP_KERNEL
508 _IMP_isd.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_isd)
509 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_isd.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
511 _IMP_isd.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_isd)
512 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
514 _IMP_isd.IMP_ATOM_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
515 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_isd.IMP_ATOM_HAS_BOOST_RANDOM
517 _IMP_isd.IMP_ATOM_HAS_BOOST_REGEX_swigconstant(_IMP_isd)
518 IMP_ATOM_HAS_BOOST_REGEX = _IMP_isd.IMP_ATOM_HAS_BOOST_REGEX
520 _IMP_isd.IMP_ATOM_HAS_BOOST_SYSTEM_swigconstant(_IMP_isd)
521 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_isd.IMP_ATOM_HAS_BOOST_SYSTEM
523 _IMP_isd.IMP_ATOM_HAS_CGAL_swigconstant(_IMP_isd)
524 IMP_ATOM_HAS_CGAL = _IMP_isd.IMP_ATOM_HAS_CGAL
526 _IMP_isd.IMP_ATOM_HAS_HDF5_swigconstant(_IMP_isd)
527 IMP_ATOM_HAS_HDF5 = _IMP_isd.IMP_ATOM_HAS_HDF5
529 _IMP_isd.IMPATOM_SHOW_WARNINGS_swigconstant(_IMP_isd)
530 IMPATOM_SHOW_WARNINGS = _IMP_isd.IMPATOM_SHOW_WARNINGS
532 _IMP_isd.IMP_ATOM_TYPE_INDEX_swigconstant(_IMP_isd)
533 IMP_ATOM_TYPE_INDEX = _IMP_isd.IMP_ATOM_TYPE_INDEX
535 _IMP_isd.IMP_RESIDUE_TYPE_INDEX_swigconstant(_IMP_isd)
536 IMP_RESIDUE_TYPE_INDEX = _IMP_isd.IMP_RESIDUE_TYPE_INDEX
538 _IMP_isd.IMP_HIERARCHY_TYPE_INDEX_swigconstant(_IMP_isd)
539 IMP_HIERARCHY_TYPE_INDEX = _IMP_isd.IMP_HIERARCHY_TYPE_INDEX
542 _IMP_isd.IMP_EM_HAS_IMP_CGAL_swigconstant(_IMP_isd)
543 IMP_EM_HAS_IMP_CGAL = _IMP_isd.IMP_EM_HAS_IMP_CGAL
545 _IMP_isd.IMP_EM_HAS_IMP_CONTAINER_swigconstant(_IMP_isd)
546 IMP_EM_HAS_IMP_CONTAINER = _IMP_isd.IMP_EM_HAS_IMP_CONTAINER
548 _IMP_isd.IMP_EM_HAS_IMP_DISPLAY_swigconstant(_IMP_isd)
549 IMP_EM_HAS_IMP_DISPLAY = _IMP_isd.IMP_EM_HAS_IMP_DISPLAY
551 _IMP_isd.IMP_EM_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_isd)
552 IMP_EM_HAS_IMP_SCORE_FUNCTOR = _IMP_isd.IMP_EM_HAS_IMP_SCORE_FUNCTOR
554 _IMP_isd.IMP_EM_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_isd)
555 IMP_EM_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_EM_HAS_BOOST_FILESYSTEM
557 _IMP_isd.IMP_EM_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_isd)
558 IMP_EM_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_EM_HAS_BOOST_PROGRAMOPTIONS
560 _IMP_isd.IMP_EM_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
561 IMP_EM_HAS_BOOST_RANDOM = _IMP_isd.IMP_EM_HAS_BOOST_RANDOM
563 _IMP_isd.IMP_EM_HAS_BOOST_REGEX_swigconstant(_IMP_isd)
564 IMP_EM_HAS_BOOST_REGEX = _IMP_isd.IMP_EM_HAS_BOOST_REGEX
566 _IMP_isd.IMP_EM_HAS_BOOST_SYSTEM_swigconstant(_IMP_isd)
567 IMP_EM_HAS_BOOST_SYSTEM = _IMP_isd.IMP_EM_HAS_BOOST_SYSTEM
569 _IMP_isd.IMP_EM_HAS_CGAL_swigconstant(_IMP_isd)
570 IMP_EM_HAS_CGAL = _IMP_isd.IMP_EM_HAS_CGAL
572 _IMP_isd.IMP_EM_HAS_HDF5_swigconstant(_IMP_isd)
573 IMP_EM_HAS_HDF5 = _IMP_isd.IMP_EM_HAS_HDF5
575 _IMP_isd.IMPEM_SHOW_WARNINGS_swigconstant(_IMP_isd)
576 IMPEM_SHOW_WARNINGS = _IMP_isd.IMPEM_SHOW_WARNINGS
579 _IMP_isd.IMP_SAXS_HAS_IMP_CGAL_swigconstant(_IMP_isd)
580 IMP_SAXS_HAS_IMP_CGAL = _IMP_isd.IMP_SAXS_HAS_IMP_CGAL
582 _IMP_isd.IMP_SAXS_HAS_IMP_CONTAINER_swigconstant(_IMP_isd)
583 IMP_SAXS_HAS_IMP_CONTAINER = _IMP_isd.IMP_SAXS_HAS_IMP_CONTAINER
585 _IMP_isd.IMP_SAXS_HAS_IMP_DISPLAY_swigconstant(_IMP_isd)
586 IMP_SAXS_HAS_IMP_DISPLAY = _IMP_isd.IMP_SAXS_HAS_IMP_DISPLAY
588 _IMP_isd.IMP_SAXS_HAS_IMP_KERNEL_swigconstant(_IMP_isd)
589 IMP_SAXS_HAS_IMP_KERNEL = _IMP_isd.IMP_SAXS_HAS_IMP_KERNEL
591 _IMP_isd.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_isd)
592 IMP_SAXS_HAS_IMP_SCORE_FUNCTOR = _IMP_isd.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR
594 _IMP_isd.IMP_SAXS_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_isd)
595 IMP_SAXS_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_SAXS_HAS_BOOST_FILESYSTEM
597 _IMP_isd.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_isd)
598 IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS
600 _IMP_isd.IMP_SAXS_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
601 IMP_SAXS_HAS_BOOST_RANDOM = _IMP_isd.IMP_SAXS_HAS_BOOST_RANDOM
603 _IMP_isd.IMP_SAXS_HAS_BOOST_REGEX_swigconstant(_IMP_isd)
604 IMP_SAXS_HAS_BOOST_REGEX = _IMP_isd.IMP_SAXS_HAS_BOOST_REGEX
606 _IMP_isd.IMP_SAXS_HAS_BOOST_SYSTEM_swigconstant(_IMP_isd)
607 IMP_SAXS_HAS_BOOST_SYSTEM = _IMP_isd.IMP_SAXS_HAS_BOOST_SYSTEM
609 _IMP_isd.IMP_SAXS_HAS_CGAL_swigconstant(_IMP_isd)
610 IMP_SAXS_HAS_CGAL = _IMP_isd.IMP_SAXS_HAS_CGAL
612 _IMP_isd.IMP_SAXS_HAS_HDF5_swigconstant(_IMP_isd)
613 IMP_SAXS_HAS_HDF5 = _IMP_isd.IMP_SAXS_HAS_HDF5
615 _IMP_isd.IMPSAXS_SHOW_WARNINGS_swigconstant(_IMP_isd)
616 IMPSAXS_SHOW_WARNINGS = _IMP_isd.IMPSAXS_SHOW_WARNINGS
619 _IMP_isd.IMP_ISD_HAS_IMP_CGAL_swigconstant(_IMP_isd)
620 IMP_ISD_HAS_IMP_CGAL = _IMP_isd.IMP_ISD_HAS_IMP_CGAL
622 _IMP_isd.IMP_ISD_HAS_IMP_DISPLAY_swigconstant(_IMP_isd)
623 IMP_ISD_HAS_IMP_DISPLAY = _IMP_isd.IMP_ISD_HAS_IMP_DISPLAY
625 _IMP_isd.IMP_ISD_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_isd)
626 IMP_ISD_HAS_IMP_SCORE_FUNCTOR = _IMP_isd.IMP_ISD_HAS_IMP_SCORE_FUNCTOR
628 _IMP_isd.IMP_ISD_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_isd)
629 IMP_ISD_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_ISD_HAS_BOOST_FILESYSTEM
631 _IMP_isd.IMP_ISD_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_isd)
632 IMP_ISD_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_ISD_HAS_BOOST_PROGRAMOPTIONS
634 _IMP_isd.IMP_ISD_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
635 IMP_ISD_HAS_BOOST_RANDOM = _IMP_isd.IMP_ISD_HAS_BOOST_RANDOM
637 _IMP_isd.IMP_ISD_HAS_BOOST_REGEX_swigconstant(_IMP_isd)
638 IMP_ISD_HAS_BOOST_REGEX = _IMP_isd.IMP_ISD_HAS_BOOST_REGEX
640 _IMP_isd.IMP_ISD_HAS_BOOST_SYSTEM_swigconstant(_IMP_isd)
641 IMP_ISD_HAS_BOOST_SYSTEM = _IMP_isd.IMP_ISD_HAS_BOOST_SYSTEM
643 _IMP_isd.IMP_ISD_HAS_CGAL_swigconstant(_IMP_isd)
644 IMP_ISD_HAS_CGAL = _IMP_isd.IMP_ISD_HAS_CGAL
646 _IMP_isd.IMP_ISD_HAS_HDF5_swigconstant(_IMP_isd)
647 IMP_ISD_HAS_HDF5 = _IMP_isd.IMP_ISD_HAS_HDF5
649 _IMP_isd.IMPISD_SHOW_WARNINGS_swigconstant(_IMP_isd)
650 IMPISD_SHOW_WARNINGS = _IMP_isd.IMPISD_SHOW_WARNINGS
651 _object_types.append(
"CrossLinkMSRestraint")
654 def _object_cast_to_CrossLinkMSRestraint(o):
655 """_object_cast_to_CrossLinkMSRestraint(Object o) -> CrossLinkMSRestraint"""
656 return _IMP_isd._object_cast_to_CrossLinkMSRestraint(o)
657 _object_types.append(
"LogWrapper")
660 def _object_cast_to_LogWrapper(o):
661 """_object_cast_to_LogWrapper(Object o) -> LogWrapper"""
662 return _IMP_isd._object_cast_to_LogWrapper(o)
663 _object_types.append(
"UniformPrior")
666 def _object_cast_to_UniformPrior(o):
667 """_object_cast_to_UniformPrior(Object o) -> UniformPrior"""
668 return _IMP_isd._object_cast_to_UniformPrior(o)
669 _object_types.append(
"JeffreysRestraint")
672 def _object_cast_to_JeffreysRestraint(o):
673 """_object_cast_to_JeffreysRestraint(Object o) -> JeffreysRestraint"""
674 return _IMP_isd._object_cast_to_JeffreysRestraint(o)
675 _object_types.append(
"vonMisesKappaJeffreysRestraint")
678 def _object_cast_to_vonMisesKappaJeffreysRestraint(o):
679 """_object_cast_to_vonMisesKappaJeffreysRestraint(Object o) -> vonMisesKappaJeffreysRestraint"""
680 return _IMP_isd._object_cast_to_vonMisesKappaJeffreysRestraint(o)
681 _object_types.append(
"vonMisesKappaConjugateRestraint")
684 def _object_cast_to_vonMisesKappaConjugateRestraint(o):
685 """_object_cast_to_vonMisesKappaConjugateRestraint(Object o) -> vonMisesKappaConjugateRestraint"""
686 return _IMP_isd._object_cast_to_vonMisesKappaConjugateRestraint(o)
687 _object_types.append(
"FNormal")
690 def _object_cast_to_FNormal(o):
691 """_object_cast_to_FNormal(Object o) -> FNormal"""
692 return _IMP_isd._object_cast_to_FNormal(o)
693 _object_types.append(
"vonMises")
696 def _object_cast_to_vonMises(o):
697 """_object_cast_to_vonMises(Object o) -> vonMises"""
698 return _IMP_isd._object_cast_to_vonMises(o)
699 _object_types.append(
"vonMisesSufficient")
702 def _object_cast_to_vonMisesSufficient(o):
703 """_object_cast_to_vonMisesSufficient(Object o) -> vonMisesSufficient"""
704 return _IMP_isd._object_cast_to_vonMisesSufficient(o)
706 return [Nuisance(x)
for x
in l]
707 _plural_types.append(
"Nuisances")
709 _value_types.append(
"Nuisance")
712 return [Scale(x)
for x
in l]
713 _plural_types.append(
"Scales")
715 _value_types.append(
"Scale")
717 def Switchings(l=[]):
718 return [Switching(x)
for x
in l]
719 _plural_types.append(
"Switchings")
721 _value_types.append(
"Switching")
723 _object_types.append(
"NOERestraint")
726 def _object_cast_to_NOERestraint(o):
727 """_object_cast_to_NOERestraint(Object o) -> NOERestraint"""
728 return _IMP_isd._object_cast_to_NOERestraint(o)
730 return [Weight(x)
for x
in l]
731 _plural_types.append(
"Weights")
733 _value_types.append(
"Weight")
735 _object_types.append(
"GaussianRestraint")
738 def _object_cast_to_GaussianRestraint(o):
739 """_object_cast_to_GaussianRestraint(Object o) -> GaussianRestraint"""
740 return _IMP_isd._object_cast_to_GaussianRestraint(o)
741 _object_types.append(
"LognormalRestraint")
744 def _object_cast_to_LognormalRestraint(o):
745 """_object_cast_to_LognormalRestraint(Object o) -> LognormalRestraint"""
746 return _IMP_isd._object_cast_to_LognormalRestraint(o)
747 _object_types.append(
"LognormalAmbiguousRestraint")
750 def _object_cast_to_LognormalAmbiguousRestraint(o):
751 """_object_cast_to_LognormalAmbiguousRestraint(Object o) -> LognormalAmbiguousRestraint"""
752 return _IMP_isd._object_cast_to_LognormalAmbiguousRestraint(o)
753 _object_types.append(
"AmbiguousNOERestraint")
756 def _object_cast_to_AmbiguousNOERestraint(o):
757 """_object_cast_to_AmbiguousNOERestraint(Object o) -> AmbiguousNOERestraint"""
758 return _IMP_isd._object_cast_to_AmbiguousNOERestraint(o)
759 _object_types.append(
"MarginalNOERestraint")
762 def _object_cast_to_MarginalNOERestraint(o):
763 """_object_cast_to_MarginalNOERestraint(Object o) -> MarginalNOERestraint"""
764 return _IMP_isd._object_cast_to_MarginalNOERestraint(o)
765 _object_types.append(
"MarginalHBondRestraint")
768 def _object_cast_to_MarginalHBondRestraint(o):
769 """_object_cast_to_MarginalHBondRestraint(Object o) -> MarginalHBondRestraint"""
770 return _IMP_isd._object_cast_to_MarginalHBondRestraint(o)
771 _object_types.append(
"TALOSRestraint")
774 def _object_cast_to_TALOSRestraint(o):
775 """_object_cast_to_TALOSRestraint(Object o) -> TALOSRestraint"""
776 return _IMP_isd._object_cast_to_TALOSRestraint(o)
777 _object_types.append(
"RepulsiveDistancePairScore")
780 def _object_cast_to_RepulsiveDistancePairScore(o):
781 """_object_cast_to_RepulsiveDistancePairScore(Object o) -> RepulsiveDistancePairScore"""
782 return _IMP_isd._object_cast_to_RepulsiveDistancePairScore(o)
783 _object_types.append(
"AmbiguousRestraint")
786 def _object_cast_to_AmbiguousRestraint(o):
787 """_object_cast_to_AmbiguousRestraint(Object o) -> AmbiguousRestraint"""
788 return _IMP_isd._object_cast_to_AmbiguousRestraint(o)
789 _object_types.append(
"UnivariateFunction")
792 def _object_cast_to_UnivariateFunction(o):
793 """_object_cast_to_UnivariateFunction(Object o) -> UnivariateFunction"""
794 return _IMP_isd._object_cast_to_UnivariateFunction(o)
795 _object_types.append(
"Linear1DFunction")
798 def _object_cast_to_Linear1DFunction(o):
799 """_object_cast_to_Linear1DFunction(Object o) -> Linear1DFunction"""
800 return _IMP_isd._object_cast_to_Linear1DFunction(o)
801 _object_types.append(
"GeneralizedGuinierPorodFunction")
804 def _object_cast_to_GeneralizedGuinierPorodFunction(o):
805 """_object_cast_to_GeneralizedGuinierPorodFunction(Object o) -> GeneralizedGuinierPorodFunction"""
806 return _IMP_isd._object_cast_to_GeneralizedGuinierPorodFunction(o)
807 _object_types.append(
"BivariateFunction")
810 def _object_cast_to_BivariateFunction(o):
811 """_object_cast_to_BivariateFunction(Object o) -> BivariateFunction"""
812 return _IMP_isd._object_cast_to_BivariateFunction(o)
813 _object_types.append(
"Covariance1DFunction")
816 def _object_cast_to_Covariance1DFunction(o):
817 """_object_cast_to_Covariance1DFunction(Object o) -> Covariance1DFunction"""
818 return _IMP_isd._object_cast_to_Covariance1DFunction(o)
819 _object_types.append(
"GaussianProcessInterpolation")
822 def _object_cast_to_GaussianProcessInterpolation(o):
823 """_object_cast_to_GaussianProcessInterpolation(Object o) -> GaussianProcessInterpolation"""
824 return _IMP_isd._object_cast_to_GaussianProcessInterpolation(o)
825 _object_types.append(
"GaussianProcessInterpolationRestraint")
828 def _object_cast_to_GaussianProcessInterpolationRestraint(o):
829 """_object_cast_to_GaussianProcessInterpolationRestraint(Object o) -> GaussianProcessInterpolationRestraint"""
830 return _IMP_isd._object_cast_to_GaussianProcessInterpolationRestraint(o)
831 _object_types.append(
"MolecularDynamics")
833 _object_types.append(
"MolecularDynamicsMover")
836 def _object_cast_to_MolecularDynamicsMover(o):
837 """_object_cast_to_MolecularDynamicsMover(Object o) -> MolecularDynamicsMover"""
838 return _IMP_isd._object_cast_to_MolecularDynamicsMover(o)
839 _object_types.append(
"HybridMonteCarlo")
842 def _object_cast_to_HybridMonteCarlo(o):
843 """_object_cast_to_HybridMonteCarlo(Object o) -> HybridMonteCarlo"""
844 return _IMP_isd._object_cast_to_HybridMonteCarlo(o)
845 _object_types.append(
"FretData")
848 def _object_cast_to_FretData(o):
849 """_object_cast_to_FretData(Object o) -> FretData"""
850 return _IMP_isd._object_cast_to_FretData(o)
851 _object_types.append(
"FretRestraint")
854 def _object_cast_to_FretRestraint(o):
855 """_object_cast_to_FretRestraint(Object o) -> FretRestraint"""
856 return _IMP_isd._object_cast_to_FretRestraint(o)
857 _object_types.append(
"CrossLinkData")
860 def _object_cast_to_CrossLinkData(o):
861 """_object_cast_to_CrossLinkData(Object o) -> CrossLinkData"""
862 return _IMP_isd._object_cast_to_CrossLinkData(o)
863 _object_types.append(
"CysteineCrossLinkData")
866 def _object_cast_to_CysteineCrossLinkData(o):
867 """_object_cast_to_CysteineCrossLinkData(Object o) -> CysteineCrossLinkData"""
868 return _IMP_isd._object_cast_to_CysteineCrossLinkData(o)
869 _object_types.append(
"CysteineCrossLinkRestraint")
872 def _object_cast_to_CysteineCrossLinkRestraint(o):
873 """_object_cast_to_CysteineCrossLinkRestraint(Object o) -> CysteineCrossLinkRestraint"""
874 return _IMP_isd._object_cast_to_CysteineCrossLinkRestraint(o)
875 _object_types.append(
"WeightMover")
878 def _object_cast_to_WeightMover(o):
879 """_object_cast_to_WeightMover(Object o) -> WeightMover"""
880 return _IMP_isd._object_cast_to_WeightMover(o)
881 _object_types.append(
"WeightRestraint")
884 def _object_cast_to_WeightRestraint(o):
885 """_object_cast_to_WeightRestraint(Object o) -> WeightRestraint"""
886 return _IMP_isd._object_cast_to_WeightRestraint(o)
887 _object_types.append(
"AtomicCrossLinkMSRestraint")
890 def _object_cast_to_AtomicCrossLinkMSRestraint(o):
891 """_object_cast_to_AtomicCrossLinkMSRestraint(Object o) -> AtomicCrossLinkMSRestraint"""
892 return _IMP_isd._object_cast_to_AtomicCrossLinkMSRestraint(o)
893 _object_types.append(
"GaussianEMRestraint")
896 def _object_cast_to_GaussianEMRestraint(o):
897 """_object_cast_to_GaussianEMRestraint(Object o) -> GaussianEMRestraint"""
898 return _IMP_isd._object_cast_to_GaussianEMRestraint(o)
899 def create_model_and_particles():
904 for i
in range(0,100):
908 d.set_coordinates_are_optimized(
True)
912 """Proxy of C++ IMP::isd::CrossLinkMSRestraint class"""
913 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
915 def __init__(self, *args):
917 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length, std::string name) -> CrossLinkMSRestraint
918 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length) -> CrossLinkMSRestraint
919 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, _ParticleIndexAdaptor lengthi, std::string name) -> CrossLinkMSRestraint
920 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, _ParticleIndexAdaptor lengthi) -> CrossLinkMSRestraint
921 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length, double slope, std::string name) -> CrossLinkMSRestraint
922 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length, double slope) -> CrossLinkMSRestraint
924 this = _IMP_isd.new_CrossLinkMSRestraint(*args)
926 self.this.append(this)
930 def add_contribution(self, pps, sigmas, psi):
931 """add_contribution(CrossLinkMSRestraint self, IMP::ParticleIndexPair const & pps, IMP::ParticleIndexPair const & sigmas, ParticleIndex psi)"""
932 return _IMP_isd.CrossLinkMSRestraint_add_contribution(self, pps, sigmas, psi)
935 def get_probability(self):
936 """get_probability(CrossLinkMSRestraint self) -> double"""
937 return _IMP_isd.CrossLinkMSRestraint_get_probability(self)
940 def get_number_of_contributions(self):
941 """get_number_of_contributions(CrossLinkMSRestraint self) -> unsigned int"""
942 return _IMP_isd.CrossLinkMSRestraint_get_number_of_contributions(self)
946 """do_get_inputs(CrossLinkMSRestraint self) -> IMP::ModelObjectsTemp"""
947 return _IMP_isd.CrossLinkMSRestraint_do_get_inputs(self)
951 """get_version_info(CrossLinkMSRestraint self) -> VersionInfo"""
952 return _IMP_isd.CrossLinkMSRestraint_get_version_info(self)
956 """__str__(CrossLinkMSRestraint self) -> std::string"""
957 return _IMP_isd.CrossLinkMSRestraint___str__(self)
961 """__repr__(CrossLinkMSRestraint self) -> std::string"""
962 return _IMP_isd.CrossLinkMSRestraint___repr__(self)
965 return _object_cast_to_CrossLinkMSRestraint(o)
966 get_from = staticmethod(get_from)
968 CrossLinkMSRestraint_swigregister = _IMP_isd.CrossLinkMSRestraint_swigregister
969 CrossLinkMSRestraint_swigregister(CrossLinkMSRestraint)
972 """Proxy of C++ IMP::isd::LogWrapper class"""
973 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
975 def __init__(self, *args):
977 __init__(IMP::isd::LogWrapper self, Model m, double weight, std::string const & name) -> LogWrapper
978 __init__(IMP::isd::LogWrapper self, Model m, double weight) -> LogWrapper
979 __init__(IMP::isd::LogWrapper self, Model m, std::string const & name) -> LogWrapper
980 __init__(IMP::isd::LogWrapper self, Model m) -> LogWrapper
981 __init__(IMP::isd::LogWrapper self, IMP::RestraintsTemp const & rs, double weight, std::string const & name) -> LogWrapper
982 __init__(IMP::isd::LogWrapper self, IMP::RestraintsTemp const & rs, double weight) -> LogWrapper
984 this = _IMP_isd.new_LogWrapper(*args)
986 self.this.append(this)
991 """do_get_inputs(LogWrapper self) -> IMP::ModelObjectsTemp"""
992 return _IMP_isd.LogWrapper_do_get_inputs(self)
996 """get_version_info(LogWrapper self) -> VersionInfo"""
997 return _IMP_isd.LogWrapper_get_version_info(self)
1000 def remove_restraint(self, d):
1001 """remove_restraint(LogWrapper self, Restraint d)"""
1002 return _IMP_isd.LogWrapper_remove_restraint(self, d)
1005 def remove_restraints(self, d):
1006 """remove_restraints(LogWrapper self, IMP::Restraints const & d)"""
1007 return _IMP_isd.LogWrapper_remove_restraints(self, d)
1010 def set_restraints(self, ps):
1011 """set_restraints(LogWrapper self, IMP::Restraints const & ps)"""
1012 return _IMP_isd.LogWrapper_set_restraints(self, ps)
1015 def set_restraints_order(self, objs):
1016 """set_restraints_order(LogWrapper self, IMP::Restraints const & objs)"""
1017 return _IMP_isd.LogWrapper_set_restraints_order(self, objs)
1021 """add_restraint(LogWrapper self, Restraint obj) -> unsigned int"""
1022 return _IMP_isd.LogWrapper_add_restraint(self, obj)
1026 """add_restraints(LogWrapper self, IMP::Restraints const & objs)"""
1027 return _IMP_isd.LogWrapper_add_restraints(self, objs)
1030 def clear_restraints(self):
1031 """clear_restraints(LogWrapper self)"""
1032 return _IMP_isd.LogWrapper_clear_restraints(self)
1035 def get_number_of_restraints(self):
1036 """get_number_of_restraints(LogWrapper self) -> unsigned int"""
1037 return _IMP_isd.LogWrapper_get_number_of_restraints(self)
1040 def get_has_restraints(self):
1041 """get_has_restraints(LogWrapper self) -> bool"""
1042 return _IMP_isd.LogWrapper_get_has_restraints(self)
1045 def get_restraint(self, i):
1046 """get_restraint(LogWrapper self, unsigned int i) -> Restraint"""
1047 return _IMP_isd.LogWrapper_get_restraint(self, i)
1050 def get_restraints(self):
1051 """get_restraints(LogWrapper self) -> IMP::Restraints"""
1052 return _IMP_isd.LogWrapper_get_restraints(self)
1055 def reserve_restraints(self, sz):
1056 """reserve_restraints(LogWrapper self, unsigned int sz)"""
1057 return _IMP_isd.LogWrapper_reserve_restraints(self, sz)
1061 """__str__(LogWrapper self) -> std::string"""
1062 return _IMP_isd.LogWrapper___str__(self)
1066 """__repr__(LogWrapper self) -> std::string"""
1067 return _IMP_isd.LogWrapper___repr__(self)
1070 return _object_cast_to_LogWrapper(o)
1071 get_from = staticmethod(get_from)
1073 LogWrapper_swigregister = _IMP_isd.LogWrapper_swigregister
1074 LogWrapper_swigregister(LogWrapper)
1077 """Proxy of C++ IMP::isd::UniformPrior class"""
1078 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1080 def __init__(self, *args):
1082 __init__(IMP::isd::UniformPrior self, Model m, Particle p, IMP::Float k, IMP::Float upperb, IMP::Float lowerb, std::string name) -> UniformPrior
1083 __init__(IMP::isd::UniformPrior self, Model m, Particle p, IMP::Float k, IMP::Float upperb, IMP::Float lowerb) -> UniformPrior
1085 this = _IMP_isd.new_UniformPrior(*args)
1087 self.this.append(this)
1092 """do_get_inputs(UniformPrior self) -> IMP::ModelObjectsTemp"""
1093 return _IMP_isd.UniformPrior_do_get_inputs(self)
1097 """get_version_info(UniformPrior self) -> VersionInfo"""
1098 return _IMP_isd.UniformPrior_get_version_info(self)
1101 def get_probability(self):
1102 """get_probability(UniformPrior self) -> double"""
1103 return _IMP_isd.UniformPrior_get_probability(self)
1107 """__str__(UniformPrior self) -> std::string"""
1108 return _IMP_isd.UniformPrior___str__(self)
1112 """__repr__(UniformPrior self) -> std::string"""
1113 return _IMP_isd.UniformPrior___repr__(self)
1116 return _object_cast_to_UniformPrior(o)
1117 get_from = staticmethod(get_from)
1119 UniformPrior_swigregister = _IMP_isd.UniformPrior_swigregister
1120 UniformPrior_swigregister(UniformPrior)
1123 """Proxy of C++ IMP::isd::Nuisance class"""
1124 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1126 def __init__(self, *args):
1128 __init__(IMP::isd::Nuisance self) -> Nuisance
1129 __init__(IMP::isd::Nuisance self, Model m, ParticleIndex id) -> Nuisance
1130 __init__(IMP::isd::Nuisance self, _ParticleAdaptor d) -> Nuisance
1132 this = _IMP_isd.new_Nuisance(*args)
1134 self.this.append(this)
1138 def show(self, *args):
1140 show(Nuisance self, _ostream out)
1143 return _IMP_isd.Nuisance_show(self, *args)
1146 def setup_particle(*args):
1148 setup_particle(Model m, ParticleIndex pi) -> Nuisance
1149 setup_particle(_ParticleAdaptor decorator) -> Nuisance
1150 setup_particle(Model m, ParticleIndex pi, double nuisance) -> Nuisance
1151 setup_particle(_ParticleAdaptor decorator, double nuisance) -> Nuisance
1153 return _IMP_isd.Nuisance_setup_particle(*args)
1155 setup_particle = staticmethod(setup_particle)
1157 def get_is_setup(*args):
1159 get_is_setup(_ParticleAdaptor p) -> bool
1160 get_is_setup(Model m, ParticleIndex pi) -> bool
1162 return _IMP_isd.Nuisance_get_is_setup(*args)
1164 get_is_setup = staticmethod(get_is_setup)
1166 def get_nuisance_key():
1167 """get_nuisance_key() -> FloatKey"""
1168 return _IMP_isd.Nuisance_get_nuisance_key()
1170 get_nuisance_key = staticmethod(get_nuisance_key)
1172 def get_nuisance(self):
1173 """get_nuisance(Nuisance self) -> IMP::Float"""
1174 return _IMP_isd.Nuisance_get_nuisance(self)
1177 def set_nuisance(self, d):
1178 """set_nuisance(Nuisance self, IMP::Float d)"""
1179 return _IMP_isd.Nuisance_set_nuisance(self, d)
1182 def get_has_lower(self):
1183 """get_has_lower(Nuisance self) -> bool"""
1184 return _IMP_isd.Nuisance_get_has_lower(self)
1187 def get_lower(self):
1188 """get_lower(Nuisance self) -> IMP::Float"""
1189 return _IMP_isd.Nuisance_get_lower(self)
1192 def get_lower_key():
1193 """get_lower_key() -> FloatKey"""
1194 return _IMP_isd.Nuisance_get_lower_key()
1196 get_lower_key = staticmethod(get_lower_key)
1198 def get_lower_particle_key():
1199 """get_lower_particle_key() -> ParticleIndexKey"""
1200 return _IMP_isd.Nuisance_get_lower_particle_key()
1202 get_lower_particle_key = staticmethod(get_lower_particle_key)
1204 def set_lower(self, *args):
1206 set_lower(Nuisance self, IMP::Float d)
1207 set_lower(Nuisance self, Particle d)
1209 return _IMP_isd.Nuisance_set_lower(self, *args)
1212 def remove_lower(self):
1213 """remove_lower(Nuisance self)"""
1214 return _IMP_isd.Nuisance_remove_lower(self)
1217 def get_has_upper(self):
1218 """get_has_upper(Nuisance self) -> bool"""
1219 return _IMP_isd.Nuisance_get_has_upper(self)
1222 def get_upper(self):
1223 """get_upper(Nuisance self) -> IMP::Float"""
1224 return _IMP_isd.Nuisance_get_upper(self)
1227 def get_upper_key():
1228 """get_upper_key() -> FloatKey"""
1229 return _IMP_isd.Nuisance_get_upper_key()
1231 get_upper_key = staticmethod(get_upper_key)
1233 def get_upper_particle_key():
1234 """get_upper_particle_key() -> ParticleIndexKey"""
1235 return _IMP_isd.Nuisance_get_upper_particle_key()
1237 get_upper_particle_key = staticmethod(get_upper_particle_key)
1239 def set_upper(self, *args):
1241 set_upper(Nuisance self, IMP::Float d)
1242 set_upper(Nuisance self, Particle d)
1244 return _IMP_isd.Nuisance_set_upper(self, *args)
1247 def remove_upper(self):
1248 """remove_upper(Nuisance self)"""
1249 return _IMP_isd.Nuisance_remove_upper(self)
1252 def get_nuisance_derivative(self):
1253 """get_nuisance_derivative(Nuisance self) -> IMP::Float"""
1254 return _IMP_isd.Nuisance_get_nuisance_derivative(self)
1257 def add_to_nuisance_derivative(self, d, accum):
1258 """add_to_nuisance_derivative(Nuisance self, IMP::Float d, DerivativeAccumulator accum)"""
1259 return _IMP_isd.Nuisance_add_to_nuisance_derivative(self, d, accum)
1262 def get_nuisance_is_optimized(self):
1263 """get_nuisance_is_optimized(Nuisance self) -> bool"""
1264 return _IMP_isd.Nuisance_get_nuisance_is_optimized(self)
1267 def set_nuisance_is_optimized(self, val):
1268 """set_nuisance_is_optimized(Nuisance self, bool val)"""
1269 return _IMP_isd.Nuisance_set_nuisance_is_optimized(self, val)
1272 def add_attribute(self, *args):
1274 add_attribute(Nuisance self, FloatKey k, IMP::Float v, bool opt)
1275 add_attribute(Nuisance self, FloatKey a0, IMP::Float a1)
1276 add_attribute(Nuisance self, IntKey a0, IMP::Int a1)
1277 add_attribute(Nuisance self, StringKey a0, IMP::String a1)
1278 add_attribute(Nuisance self, ParticleIndexKey a0, Particle a1)
1279 add_attribute(Nuisance self, ObjectKey a0, Object a1)
1281 return _IMP_isd.Nuisance_add_attribute(self, *args)
1284 def get_value(self, *args):
1286 get_value(Nuisance self, FloatKey a0) -> IMP::Float
1287 get_value(Nuisance self, IntKey a0) -> IMP::Int
1288 get_value(Nuisance self, StringKey a0) -> IMP::String
1289 get_value(Nuisance self, ParticleIndexKey a0) -> Particle
1290 get_value(Nuisance self, ObjectKey a0) -> Object
1292 return _IMP_isd.Nuisance_get_value(self, *args)
1295 def set_value(self, *args):
1297 set_value(Nuisance self, FloatKey a0, IMP::Float a1)
1298 set_value(Nuisance self, IntKey a0, IMP::Int a1)
1299 set_value(Nuisance self, StringKey a0, IMP::String a1)
1300 set_value(Nuisance self, ParticleIndexKey a0, Particle a1)
1301 set_value(Nuisance self, ObjectKey a0, Object a1)
1303 return _IMP_isd.Nuisance_set_value(self, *args)
1306 def remove_attribute(self, *args):
1308 remove_attribute(Nuisance self, FloatKey a0)
1309 remove_attribute(Nuisance self, IntKey a0)
1310 remove_attribute(Nuisance self, StringKey a0)
1311 remove_attribute(Nuisance self, ParticleIndexKey a0)
1312 remove_attribute(Nuisance self, ObjectKey a0)
1314 return _IMP_isd.Nuisance_remove_attribute(self, *args)
1317 def has_attribute(self, *args):
1319 has_attribute(Nuisance self, FloatKey a0) -> bool
1320 has_attribute(Nuisance self, IntKey a0) -> bool
1321 has_attribute(Nuisance self, StringKey a0) -> bool
1322 has_attribute(Nuisance self, ParticleIndexKey a0) -> bool
1323 has_attribute(Nuisance self, ObjectKey a0) -> bool
1325 return _IMP_isd.Nuisance_has_attribute(self, *args)
1328 def get_derivative(self, a0):
1329 """get_derivative(Nuisance self, FloatKey a0) -> double"""
1330 return _IMP_isd.Nuisance_get_derivative(self, a0)
1334 """get_name(Nuisance self) -> std::string"""
1335 return _IMP_isd.Nuisance_get_name(self)
1339 """clear_caches(Nuisance self)"""
1340 return _IMP_isd.Nuisance_clear_caches(self)
1343 def set_name(self, a0):
1344 """set_name(Nuisance self, std::string a0)"""
1345 return _IMP_isd.Nuisance_set_name(self, a0)
1349 """set_check_level(Nuisance self, IMP::CheckLevel a0)"""
1350 return _IMP_isd.Nuisance_set_check_level(self, a0)
1353 def add_to_derivative(self, a0, a1, a2):
1354 """add_to_derivative(Nuisance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1355 return _IMP_isd.Nuisance_add_to_derivative(self, a0, a1, a2)
1358 def set_is_optimized(self, a0, a1):
1359 """set_is_optimized(Nuisance self, FloatKey a0, bool a1)"""
1360 return _IMP_isd.Nuisance_set_is_optimized(self, a0, a1)
1363 def get_is_optimized(self, a0):
1364 """get_is_optimized(Nuisance self, FloatKey a0) -> bool"""
1365 return _IMP_isd.Nuisance_get_is_optimized(self, a0)
1368 def get_check_level(self):
1369 """get_check_level(Nuisance self) -> IMP::CheckLevel"""
1370 return _IMP_isd.Nuisance_get_check_level(self)
1373 def __eq__(self, *args):
1375 __eq__(Nuisance self, Nuisance o) -> bool
1376 __eq__(Nuisance self, Particle d) -> bool
1378 return _IMP_isd.Nuisance___eq__(self, *args)
1381 def __ne__(self, *args):
1383 __ne__(Nuisance self, Nuisance o) -> bool
1384 __ne__(Nuisance self, Particle d) -> bool
1386 return _IMP_isd.Nuisance___ne__(self, *args)
1389 def __le__(self, *args):
1391 __le__(Nuisance self, Nuisance o) -> bool
1392 __le__(Nuisance self, Particle d) -> bool
1394 return _IMP_isd.Nuisance___le__(self, *args)
1397 def __lt__(self, *args):
1399 __lt__(Nuisance self, Nuisance o) -> bool
1400 __lt__(Nuisance self, Particle d) -> bool
1402 return _IMP_isd.Nuisance___lt__(self, *args)
1405 def __ge__(self, *args):
1407 __ge__(Nuisance self, Nuisance o) -> bool
1408 __ge__(Nuisance self, Particle d) -> bool
1410 return _IMP_isd.Nuisance___ge__(self, *args)
1413 def __gt__(self, *args):
1415 __gt__(Nuisance self, Nuisance o) -> bool
1416 __gt__(Nuisance self, Particle d) -> bool
1418 return _IMP_isd.Nuisance___gt__(self, *args)
1422 """__hash__(Nuisance self) -> std::size_t"""
1423 return _IMP_isd.Nuisance___hash__(self)
1427 """__str__(Nuisance self) -> std::string"""
1428 return _IMP_isd.Nuisance___str__(self)
1432 """__repr__(Nuisance self) -> std::string"""
1433 return _IMP_isd.Nuisance___repr__(self)
1435 __swig_destroy__ = _IMP_isd.delete_Nuisance
1436 __del__ =
lambda self:
None
1437 Nuisance_swigregister = _IMP_isd.Nuisance_swigregister
1438 Nuisance_swigregister(Nuisance)
1440 def Nuisance_setup_particle(*args):
1442 setup_particle(Model m, ParticleIndex pi) -> Nuisance
1443 setup_particle(_ParticleAdaptor decorator) -> Nuisance
1444 setup_particle(Model m, ParticleIndex pi, double nuisance) -> Nuisance
1445 Nuisance_setup_particle(_ParticleAdaptor decorator, double nuisance) -> Nuisance
1447 return _IMP_isd.Nuisance_setup_particle(*args)
1449 def Nuisance_get_is_setup(*args):
1451 get_is_setup(_ParticleAdaptor p) -> bool
1452 Nuisance_get_is_setup(Model m, ParticleIndex pi) -> bool
1454 return _IMP_isd.Nuisance_get_is_setup(*args)
1456 def Nuisance_get_nuisance_key():
1457 """Nuisance_get_nuisance_key() -> FloatKey"""
1458 return _IMP_isd.Nuisance_get_nuisance_key()
1460 def Nuisance_get_lower_key():
1461 """Nuisance_get_lower_key() -> FloatKey"""
1462 return _IMP_isd.Nuisance_get_lower_key()
1464 def Nuisance_get_lower_particle_key():
1465 """Nuisance_get_lower_particle_key() -> ParticleIndexKey"""
1466 return _IMP_isd.Nuisance_get_lower_particle_key()
1468 def Nuisance_get_upper_key():
1469 """Nuisance_get_upper_key() -> FloatKey"""
1470 return _IMP_isd.Nuisance_get_upper_key()
1472 def Nuisance_get_upper_particle_key():
1473 """Nuisance_get_upper_particle_key() -> ParticleIndexKey"""
1474 return _IMP_isd.Nuisance_get_upper_particle_key()
1476 class Scale(Nuisance):
1477 """Proxy of C++ IMP::isd::Scale class"""
1478 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1480 def __init__(self, *args):
1482 __init__(IMP::isd::Scale self) -> Scale
1483 __init__(IMP::isd::Scale self, Model m, ParticleIndex id) -> Scale
1484 __init__(IMP::isd::Scale self, _ParticleAdaptor d) -> Scale
1486 this = _IMP_isd.new_Scale(*args)
1488 self.this.append(this)
1492 def show(self, *args):
1494 show(Scale self, _ostream out)
1497 return _IMP_isd.Scale_show(self, *args)
1500 def setup_particle(*args):
1502 setup_particle(Model m, ParticleIndex pi) -> Scale
1503 setup_particle(_ParticleAdaptor decorator) -> Scale
1504 setup_particle(Model m, ParticleIndex pi, double scale) -> Scale
1505 setup_particle(_ParticleAdaptor decorator, double scale) -> Scale
1507 return _IMP_isd.Scale_setup_particle(*args)
1509 setup_particle = staticmethod(setup_particle)
1511 def get_is_setup(*args):
1513 get_is_setup(_ParticleAdaptor p) -> bool
1514 get_is_setup(Model m, ParticleIndex pi) -> bool
1516 return _IMP_isd.Scale_get_is_setup(*args)
1518 get_is_setup = staticmethod(get_is_setup)
1520 def get_scale(self):
1521 """get_scale(Scale self) -> IMP::Float"""
1522 return _IMP_isd.Scale_get_scale(self)
1525 def set_scale(self, d):
1526 """set_scale(Scale self, IMP::Float d)"""
1527 return _IMP_isd.Scale_set_scale(self, d)
1530 def add_to_scale_derivative(self, d, accum):
1531 """add_to_scale_derivative(Scale self, IMP::Float d, DerivativeAccumulator accum)"""
1532 return _IMP_isd.Scale_add_to_scale_derivative(self, d, accum)
1535 def get_scale_derivative(self):
1536 """get_scale_derivative(Scale self) -> IMP::Float"""
1537 return _IMP_isd.Scale_get_scale_derivative(self)
1540 def get_scale_key():
1541 """get_scale_key() -> FloatKey"""
1542 return _IMP_isd.Scale_get_scale_key()
1544 get_scale_key = staticmethod(get_scale_key)
1546 def get_scale_is_optimized(self):
1547 """get_scale_is_optimized(Scale self) -> bool"""
1548 return _IMP_isd.Scale_get_scale_is_optimized(self)
1551 def set_scale_is_optimized(self, val):
1552 """set_scale_is_optimized(Scale self, bool val)"""
1553 return _IMP_isd.Scale_set_scale_is_optimized(self, val)
1556 def add_attribute(self, *args):
1558 add_attribute(Scale self, FloatKey k, IMP::Float v, bool opt)
1559 add_attribute(Scale self, FloatKey a0, IMP::Float a1)
1560 add_attribute(Scale self, IntKey a0, IMP::Int a1)
1561 add_attribute(Scale self, StringKey a0, IMP::String a1)
1562 add_attribute(Scale self, ParticleIndexKey a0, Particle a1)
1563 add_attribute(Scale self, ObjectKey a0, Object a1)
1565 return _IMP_isd.Scale_add_attribute(self, *args)
1568 def get_value(self, *args):
1570 get_value(Scale self, FloatKey a0) -> IMP::Float
1571 get_value(Scale self, IntKey a0) -> IMP::Int
1572 get_value(Scale self, StringKey a0) -> IMP::String
1573 get_value(Scale self, ParticleIndexKey a0) -> Particle
1574 get_value(Scale self, ObjectKey a0) -> Object
1576 return _IMP_isd.Scale_get_value(self, *args)
1579 def set_value(self, *args):
1581 set_value(Scale self, FloatKey a0, IMP::Float a1)
1582 set_value(Scale self, IntKey a0, IMP::Int a1)
1583 set_value(Scale self, StringKey a0, IMP::String a1)
1584 set_value(Scale self, ParticleIndexKey a0, Particle a1)
1585 set_value(Scale self, ObjectKey a0, Object a1)
1587 return _IMP_isd.Scale_set_value(self, *args)
1590 def remove_attribute(self, *args):
1592 remove_attribute(Scale self, FloatKey a0)
1593 remove_attribute(Scale self, IntKey a0)
1594 remove_attribute(Scale self, StringKey a0)
1595 remove_attribute(Scale self, ParticleIndexKey a0)
1596 remove_attribute(Scale self, ObjectKey a0)
1598 return _IMP_isd.Scale_remove_attribute(self, *args)
1601 def has_attribute(self, *args):
1603 has_attribute(Scale self, FloatKey a0) -> bool
1604 has_attribute(Scale self, IntKey a0) -> bool
1605 has_attribute(Scale self, StringKey a0) -> bool
1606 has_attribute(Scale self, ParticleIndexKey a0) -> bool
1607 has_attribute(Scale self, ObjectKey a0) -> bool
1609 return _IMP_isd.Scale_has_attribute(self, *args)
1612 def get_derivative(self, a0):
1613 """get_derivative(Scale self, FloatKey a0) -> double"""
1614 return _IMP_isd.Scale_get_derivative(self, a0)
1618 """get_name(Scale self) -> std::string"""
1619 return _IMP_isd.Scale_get_name(self)
1623 """clear_caches(Scale self)"""
1624 return _IMP_isd.Scale_clear_caches(self)
1627 def set_name(self, a0):
1628 """set_name(Scale self, std::string a0)"""
1629 return _IMP_isd.Scale_set_name(self, a0)
1633 """set_check_level(Scale self, IMP::CheckLevel a0)"""
1634 return _IMP_isd.Scale_set_check_level(self, a0)
1637 def add_to_derivative(self, a0, a1, a2):
1638 """add_to_derivative(Scale self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1639 return _IMP_isd.Scale_add_to_derivative(self, a0, a1, a2)
1642 def set_is_optimized(self, a0, a1):
1643 """set_is_optimized(Scale self, FloatKey a0, bool a1)"""
1644 return _IMP_isd.Scale_set_is_optimized(self, a0, a1)
1647 def get_is_optimized(self, a0):
1648 """get_is_optimized(Scale self, FloatKey a0) -> bool"""
1649 return _IMP_isd.Scale_get_is_optimized(self, a0)
1652 def get_check_level(self):
1653 """get_check_level(Scale self) -> IMP::CheckLevel"""
1654 return _IMP_isd.Scale_get_check_level(self)
1657 def __eq__(self, *args):
1659 __eq__(Scale self, Scale o) -> bool
1660 __eq__(Scale self, Particle d) -> bool
1662 return _IMP_isd.Scale___eq__(self, *args)
1665 def __ne__(self, *args):
1667 __ne__(Scale self, Scale o) -> bool
1668 __ne__(Scale self, Particle d) -> bool
1670 return _IMP_isd.Scale___ne__(self, *args)
1673 def __le__(self, *args):
1675 __le__(Scale self, Scale o) -> bool
1676 __le__(Scale self, Particle d) -> bool
1678 return _IMP_isd.Scale___le__(self, *args)
1681 def __lt__(self, *args):
1683 __lt__(Scale self, Scale o) -> bool
1684 __lt__(Scale self, Particle d) -> bool
1686 return _IMP_isd.Scale___lt__(self, *args)
1689 def __ge__(self, *args):
1691 __ge__(Scale self, Scale o) -> bool
1692 __ge__(Scale self, Particle d) -> bool
1694 return _IMP_isd.Scale___ge__(self, *args)
1697 def __gt__(self, *args):
1699 __gt__(Scale self, Scale o) -> bool
1700 __gt__(Scale self, Particle d) -> bool
1702 return _IMP_isd.Scale___gt__(self, *args)
1706 """__hash__(Scale self) -> std::size_t"""
1707 return _IMP_isd.Scale___hash__(self)
1711 """__str__(Scale self) -> std::string"""
1712 return _IMP_isd.Scale___str__(self)
1716 """__repr__(Scale self) -> std::string"""
1717 return _IMP_isd.Scale___repr__(self)
1719 __swig_destroy__ = _IMP_isd.delete_Scale
1720 __del__ =
lambda self:
None
1721 Scale_swigregister = _IMP_isd.Scale_swigregister
1722 Scale_swigregister(Scale)
1724 def Scale_setup_particle(*args):
1726 setup_particle(Model m, ParticleIndex pi) -> Scale
1727 setup_particle(_ParticleAdaptor decorator) -> Scale
1728 setup_particle(Model m, ParticleIndex pi, double scale) -> Scale
1729 Scale_setup_particle(_ParticleAdaptor decorator, double scale) -> Scale
1731 return _IMP_isd.Scale_setup_particle(*args)
1733 def Scale_get_is_setup(*args):
1735 get_is_setup(_ParticleAdaptor p) -> bool
1736 Scale_get_is_setup(Model m, ParticleIndex pi) -> bool
1738 return _IMP_isd.Scale_get_is_setup(*args)
1740 def Scale_get_scale_key():
1741 """Scale_get_scale_key() -> FloatKey"""
1742 return _IMP_isd.Scale_get_scale_key()
1744 class Switching(Nuisance):
1745 """Proxy of C++ IMP::isd::Switching class"""
1746 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1748 def __init__(self, *args):
1750 __init__(IMP::isd::Switching self) -> Switching
1751 __init__(IMP::isd::Switching self, Model m, ParticleIndex id) -> Switching
1752 __init__(IMP::isd::Switching self, _ParticleAdaptor d) -> Switching
1754 this = _IMP_isd.new_Switching(*args)
1756 self.this.append(this)
1760 def show(self, *args):
1762 show(Switching self, _ostream out)
1763 show(Switching self)
1765 return _IMP_isd.Switching_show(self, *args)
1768 def setup_particle(*args):
1770 setup_particle(Model m, ParticleIndex pi) -> Switching
1771 setup_particle(_ParticleAdaptor decorator) -> Switching
1772 setup_particle(Model m, ParticleIndex pi, double switching) -> Switching
1773 setup_particle(_ParticleAdaptor decorator, double switching) -> Switching
1775 return _IMP_isd.Switching_setup_particle(*args)
1777 setup_particle = staticmethod(setup_particle)
1779 def get_is_setup(*args):
1781 get_is_setup(_ParticleAdaptor p) -> bool
1782 get_is_setup(Model m, ParticleIndex pi) -> bool
1784 return _IMP_isd.Switching_get_is_setup(*args)
1786 get_is_setup = staticmethod(get_is_setup)
1788 def get_switching(self):
1789 """get_switching(Switching self) -> IMP::Float"""
1790 return _IMP_isd.Switching_get_switching(self)
1793 def set_switching(self, d):
1794 """set_switching(Switching self, IMP::Float d)"""
1795 return _IMP_isd.Switching_set_switching(self, d)
1798 def add_to_switching_derivative(self, d, accum):
1799 """add_to_switching_derivative(Switching self, IMP::Float d, DerivativeAccumulator accum)"""
1800 return _IMP_isd.Switching_add_to_switching_derivative(self, d, accum)
1803 def get_switching_derivative(self):
1804 """get_switching_derivative(Switching self) -> IMP::Float"""
1805 return _IMP_isd.Switching_get_switching_derivative(self)
1808 def get_switching_key():
1809 """get_switching_key() -> FloatKey"""
1810 return _IMP_isd.Switching_get_switching_key()
1812 get_switching_key = staticmethod(get_switching_key)
1814 def get_switching_is_optimized(self):
1815 """get_switching_is_optimized(Switching self) -> bool"""
1816 return _IMP_isd.Switching_get_switching_is_optimized(self)
1819 def set_switching_is_optimized(self, val):
1820 """set_switching_is_optimized(Switching self, bool val)"""
1821 return _IMP_isd.Switching_set_switching_is_optimized(self, val)
1824 def add_attribute(self, *args):
1826 add_attribute(Switching self, FloatKey k, IMP::Float v, bool opt)
1827 add_attribute(Switching self, FloatKey a0, IMP::Float a1)
1828 add_attribute(Switching self, IntKey a0, IMP::Int a1)
1829 add_attribute(Switching self, StringKey a0, IMP::String a1)
1830 add_attribute(Switching self, ParticleIndexKey a0, Particle a1)
1831 add_attribute(Switching self, ObjectKey a0, Object a1)
1833 return _IMP_isd.Switching_add_attribute(self, *args)
1836 def get_value(self, *args):
1838 get_value(Switching self, FloatKey a0) -> IMP::Float
1839 get_value(Switching self, IntKey a0) -> IMP::Int
1840 get_value(Switching self, StringKey a0) -> IMP::String
1841 get_value(Switching self, ParticleIndexKey a0) -> Particle
1842 get_value(Switching self, ObjectKey a0) -> Object
1844 return _IMP_isd.Switching_get_value(self, *args)
1847 def set_value(self, *args):
1849 set_value(Switching self, FloatKey a0, IMP::Float a1)
1850 set_value(Switching self, IntKey a0, IMP::Int a1)
1851 set_value(Switching self, StringKey a0, IMP::String a1)
1852 set_value(Switching self, ParticleIndexKey a0, Particle a1)
1853 set_value(Switching self, ObjectKey a0, Object a1)
1855 return _IMP_isd.Switching_set_value(self, *args)
1858 def remove_attribute(self, *args):
1860 remove_attribute(Switching self, FloatKey a0)
1861 remove_attribute(Switching self, IntKey a0)
1862 remove_attribute(Switching self, StringKey a0)
1863 remove_attribute(Switching self, ParticleIndexKey a0)
1864 remove_attribute(Switching self, ObjectKey a0)
1866 return _IMP_isd.Switching_remove_attribute(self, *args)
1869 def has_attribute(self, *args):
1871 has_attribute(Switching self, FloatKey a0) -> bool
1872 has_attribute(Switching self, IntKey a0) -> bool
1873 has_attribute(Switching self, StringKey a0) -> bool
1874 has_attribute(Switching self, ParticleIndexKey a0) -> bool
1875 has_attribute(Switching self, ObjectKey a0) -> bool
1877 return _IMP_isd.Switching_has_attribute(self, *args)
1880 def get_derivative(self, a0):
1881 """get_derivative(Switching self, FloatKey a0) -> double"""
1882 return _IMP_isd.Switching_get_derivative(self, a0)
1886 """get_name(Switching self) -> std::string"""
1887 return _IMP_isd.Switching_get_name(self)
1891 """clear_caches(Switching self)"""
1892 return _IMP_isd.Switching_clear_caches(self)
1895 def set_name(self, a0):
1896 """set_name(Switching self, std::string a0)"""
1897 return _IMP_isd.Switching_set_name(self, a0)
1901 """set_check_level(Switching self, IMP::CheckLevel a0)"""
1902 return _IMP_isd.Switching_set_check_level(self, a0)
1905 def add_to_derivative(self, a0, a1, a2):
1906 """add_to_derivative(Switching self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1907 return _IMP_isd.Switching_add_to_derivative(self, a0, a1, a2)
1910 def set_is_optimized(self, a0, a1):
1911 """set_is_optimized(Switching self, FloatKey a0, bool a1)"""
1912 return _IMP_isd.Switching_set_is_optimized(self, a0, a1)
1915 def get_is_optimized(self, a0):
1916 """get_is_optimized(Switching self, FloatKey a0) -> bool"""
1917 return _IMP_isd.Switching_get_is_optimized(self, a0)
1920 def get_check_level(self):
1921 """get_check_level(Switching self) -> IMP::CheckLevel"""
1922 return _IMP_isd.Switching_get_check_level(self)
1925 def __eq__(self, *args):
1927 __eq__(Switching self, Switching o) -> bool
1928 __eq__(Switching self, Particle d) -> bool
1930 return _IMP_isd.Switching___eq__(self, *args)
1933 def __ne__(self, *args):
1935 __ne__(Switching self, Switching o) -> bool
1936 __ne__(Switching self, Particle d) -> bool
1938 return _IMP_isd.Switching___ne__(self, *args)
1941 def __le__(self, *args):
1943 __le__(Switching self, Switching o) -> bool
1944 __le__(Switching self, Particle d) -> bool
1946 return _IMP_isd.Switching___le__(self, *args)
1949 def __lt__(self, *args):
1951 __lt__(Switching self, Switching o) -> bool
1952 __lt__(Switching self, Particle d) -> bool
1954 return _IMP_isd.Switching___lt__(self, *args)
1957 def __ge__(self, *args):
1959 __ge__(Switching self, Switching o) -> bool
1960 __ge__(Switching self, Particle d) -> bool
1962 return _IMP_isd.Switching___ge__(self, *args)
1965 def __gt__(self, *args):
1967 __gt__(Switching self, Switching o) -> bool
1968 __gt__(Switching self, Particle d) -> bool
1970 return _IMP_isd.Switching___gt__(self, *args)
1974 """__hash__(Switching self) -> std::size_t"""
1975 return _IMP_isd.Switching___hash__(self)
1979 """__str__(Switching self) -> std::string"""
1980 return _IMP_isd.Switching___str__(self)
1984 """__repr__(Switching self) -> std::string"""
1985 return _IMP_isd.Switching___repr__(self)
1987 __swig_destroy__ = _IMP_isd.delete_Switching
1988 __del__ =
lambda self:
None
1989 Switching_swigregister = _IMP_isd.Switching_swigregister
1990 Switching_swigregister(Switching)
1992 def Switching_setup_particle(*args):
1994 setup_particle(Model m, ParticleIndex pi) -> Switching
1995 setup_particle(_ParticleAdaptor decorator) -> Switching
1996 setup_particle(Model m, ParticleIndex pi, double switching) -> Switching
1997 Switching_setup_particle(_ParticleAdaptor decorator, double switching) -> Switching
1999 return _IMP_isd.Switching_setup_particle(*args)
2001 def Switching_get_is_setup(*args):
2003 get_is_setup(_ParticleAdaptor p) -> bool
2004 Switching_get_is_setup(Model m, ParticleIndex pi) -> bool
2006 return _IMP_isd.Switching_get_is_setup(*args)
2008 def Switching_get_switching_key():
2009 """Switching_get_switching_key() -> FloatKey"""
2010 return _IMP_isd.Switching_get_switching_key()
2013 def __lshift__(*args):
2015 __lshift__(_ostream out, Nuisance n) -> _ostream
2016 __lshift__(_ostream out, Scale n) -> _ostream
2017 __lshift__(_ostream out, Switching n) -> _ostream
2019 return _IMP_isd.__lshift__(*args)
2021 """Proxy of C++ IMP::isd::Weight class"""
2022 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2024 def __init__(self, *args):
2026 __init__(IMP::isd::Weight self) -> Weight
2027 __init__(IMP::isd::Weight self, Model m, ParticleIndex id) -> Weight
2028 __init__(IMP::isd::Weight self, _ParticleAdaptor d) -> Weight
2030 this = _IMP_isd.new_Weight(*args)
2032 self.this.append(this)
2036 def show(self, *args):
2038 show(Weight self, _ostream out)
2041 return _IMP_isd.Weight_show(self, *args)
2044 def setup_particle(*args):
2046 setup_particle(Model m, ParticleIndex pi) -> Weight
2047 setup_particle(_ParticleAdaptor decorator) -> Weight
2049 return _IMP_isd.Weight_setup_particle(*args)
2051 setup_particle = staticmethod(setup_particle)
2053 def get_nstates_key():
2054 """get_nstates_key() -> IntKey"""
2055 return _IMP_isd.Weight_get_nstates_key()
2057 get_nstates_key = staticmethod(get_nstates_key)
2059 def get_weight_key(i):
2060 """get_weight_key(int i) -> FloatKey"""
2061 return _IMP_isd.Weight_get_weight_key(i)
2063 get_weight_key = staticmethod(get_weight_key)
2065 def set_weights(self, w):
2066 """set_weights(Weight self, VectorKD w)"""
2067 return _IMP_isd.Weight_set_weights(self, w)
2070 def add_weight(self):
2071 """add_weight(Weight self)"""
2072 return _IMP_isd.Weight_add_weight(self)
2075 def get_weight(self, i):
2076 """get_weight(Weight self, int i) -> IMP::Float"""
2077 return _IMP_isd.Weight_get_weight(self, i)
2080 def get_weights(self):
2081 """get_weights(Weight self) -> VectorKD"""
2082 return _IMP_isd.Weight_get_weights(self)
2085 def set_weights_are_optimized(self, tf):
2086 """set_weights_are_optimized(Weight self, bool tf)"""
2087 return _IMP_isd.Weight_set_weights_are_optimized(self, tf)
2090 def get_number_of_states(self):
2091 """get_number_of_states(Weight self) -> IMP::Int"""
2092 return _IMP_isd.Weight_get_number_of_states(self)
2095 def get_is_setup(*args):
2097 get_is_setup(_ParticleAdaptor p) -> bool
2098 get_is_setup(Model m, ParticleIndex pi) -> bool
2100 return _IMP_isd.Weight_get_is_setup(*args)
2102 get_is_setup = staticmethod(get_is_setup)
2104 def add_attribute(self, *args):
2106 add_attribute(Weight self, FloatKey k, IMP::Float v, bool opt)
2107 add_attribute(Weight self, FloatKey a0, IMP::Float a1)
2108 add_attribute(Weight self, IntKey a0, IMP::Int a1)
2109 add_attribute(Weight self, StringKey a0, IMP::String a1)
2110 add_attribute(Weight self, ParticleIndexKey a0, Particle a1)
2111 add_attribute(Weight self, ObjectKey a0, Object a1)
2113 return _IMP_isd.Weight_add_attribute(self, *args)
2116 def get_value(self, *args):
2118 get_value(Weight self, FloatKey a0) -> IMP::Float
2119 get_value(Weight self, IntKey a0) -> IMP::Int
2120 get_value(Weight self, StringKey a0) -> IMP::String
2121 get_value(Weight self, ParticleIndexKey a0) -> Particle
2122 get_value(Weight self, ObjectKey a0) -> Object
2124 return _IMP_isd.Weight_get_value(self, *args)
2127 def set_value(self, *args):
2129 set_value(Weight self, FloatKey a0, IMP::Float a1)
2130 set_value(Weight self, IntKey a0, IMP::Int a1)
2131 set_value(Weight self, StringKey a0, IMP::String a1)
2132 set_value(Weight self, ParticleIndexKey a0, Particle a1)
2133 set_value(Weight self, ObjectKey a0, Object a1)
2135 return _IMP_isd.Weight_set_value(self, *args)
2138 def remove_attribute(self, *args):
2140 remove_attribute(Weight self, FloatKey a0)
2141 remove_attribute(Weight self, IntKey a0)
2142 remove_attribute(Weight self, StringKey a0)
2143 remove_attribute(Weight self, ParticleIndexKey a0)
2144 remove_attribute(Weight self, ObjectKey a0)
2146 return _IMP_isd.Weight_remove_attribute(self, *args)
2149 def has_attribute(self, *args):
2151 has_attribute(Weight self, FloatKey a0) -> bool
2152 has_attribute(Weight self, IntKey a0) -> bool
2153 has_attribute(Weight self, StringKey a0) -> bool
2154 has_attribute(Weight self, ParticleIndexKey a0) -> bool
2155 has_attribute(Weight self, ObjectKey a0) -> bool
2157 return _IMP_isd.Weight_has_attribute(self, *args)
2160 def get_derivative(self, a0):
2161 """get_derivative(Weight self, FloatKey a0) -> double"""
2162 return _IMP_isd.Weight_get_derivative(self, a0)
2166 """get_name(Weight self) -> std::string"""
2167 return _IMP_isd.Weight_get_name(self)
2171 """clear_caches(Weight self)"""
2172 return _IMP_isd.Weight_clear_caches(self)
2175 def set_name(self, a0):
2176 """set_name(Weight self, std::string a0)"""
2177 return _IMP_isd.Weight_set_name(self, a0)
2181 """set_check_level(Weight self, IMP::CheckLevel a0)"""
2182 return _IMP_isd.Weight_set_check_level(self, a0)
2185 def add_to_derivative(self, a0, a1, a2):
2186 """add_to_derivative(Weight self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2187 return _IMP_isd.Weight_add_to_derivative(self, a0, a1, a2)
2190 def set_is_optimized(self, a0, a1):
2191 """set_is_optimized(Weight self, FloatKey a0, bool a1)"""
2192 return _IMP_isd.Weight_set_is_optimized(self, a0, a1)
2195 def get_is_optimized(self, a0):
2196 """get_is_optimized(Weight self, FloatKey a0) -> bool"""
2197 return _IMP_isd.Weight_get_is_optimized(self, a0)
2200 def get_check_level(self):
2201 """get_check_level(Weight self) -> IMP::CheckLevel"""
2202 return _IMP_isd.Weight_get_check_level(self)
2205 def __eq__(self, *args):
2207 __eq__(Weight self, Weight o) -> bool
2208 __eq__(Weight self, Particle d) -> bool
2210 return _IMP_isd.Weight___eq__(self, *args)
2213 def __ne__(self, *args):
2215 __ne__(Weight self, Weight o) -> bool
2216 __ne__(Weight self, Particle d) -> bool
2218 return _IMP_isd.Weight___ne__(self, *args)
2221 def __le__(self, *args):
2223 __le__(Weight self, Weight o) -> bool
2224 __le__(Weight self, Particle d) -> bool
2226 return _IMP_isd.Weight___le__(self, *args)
2229 def __lt__(self, *args):
2231 __lt__(Weight self, Weight o) -> bool
2232 __lt__(Weight self, Particle d) -> bool
2234 return _IMP_isd.Weight___lt__(self, *args)
2237 def __ge__(self, *args):
2239 __ge__(Weight self, Weight o) -> bool
2240 __ge__(Weight self, Particle d) -> bool
2242 return _IMP_isd.Weight___ge__(self, *args)
2245 def __gt__(self, *args):
2247 __gt__(Weight self, Weight o) -> bool
2248 __gt__(Weight self, Particle d) -> bool
2250 return _IMP_isd.Weight___gt__(self, *args)
2254 """__hash__(Weight self) -> std::size_t"""
2255 return _IMP_isd.Weight___hash__(self)
2259 """__str__(Weight self) -> std::string"""
2260 return _IMP_isd.Weight___str__(self)
2264 """__repr__(Weight self) -> std::string"""
2265 return _IMP_isd.Weight___repr__(self)
2267 __swig_destroy__ = _IMP_isd.delete_Weight
2268 __del__ =
lambda self:
None
2269 Weight_swigregister = _IMP_isd.Weight_swigregister
2270 Weight_swigregister(Weight)
2272 def Weight_setup_particle(*args):
2274 setup_particle(Model m, ParticleIndex pi) -> Weight
2275 Weight_setup_particle(_ParticleAdaptor decorator) -> Weight
2277 return _IMP_isd.Weight_setup_particle(*args)
2279 def Weight_get_nstates_key():
2280 """Weight_get_nstates_key() -> IntKey"""
2281 return _IMP_isd.Weight_get_nstates_key()
2283 def Weight_get_weight_key(i):
2284 """Weight_get_weight_key(int i) -> FloatKey"""
2285 return _IMP_isd.Weight_get_weight_key(i)
2287 def Weight_get_is_setup(*args):
2289 get_is_setup(_ParticleAdaptor p) -> bool
2290 Weight_get_is_setup(Model m, ParticleIndex pi) -> bool
2292 return _IMP_isd.Weight_get_is_setup(*args)
2295 """Proxy of C++ IMP::isd::JeffreysRestraint class"""
2296 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2298 def __init__(self, m, p):
2299 """__init__(IMP::isd::JeffreysRestraint self, Model m, Particle p) -> JeffreysRestraint"""
2300 this = _IMP_isd.new_JeffreysRestraint(m, p)
2302 self.this.append(this)
2307 """do_get_inputs(JeffreysRestraint self) -> IMP::ModelObjectsTemp"""
2308 return _IMP_isd.JeffreysRestraint_do_get_inputs(self)
2312 """get_version_info(JeffreysRestraint self) -> VersionInfo"""
2313 return _IMP_isd.JeffreysRestraint_get_version_info(self)
2316 def get_probability(self):
2317 """get_probability(JeffreysRestraint self) -> double"""
2318 return _IMP_isd.JeffreysRestraint_get_probability(self)
2322 """__str__(JeffreysRestraint self) -> std::string"""
2323 return _IMP_isd.JeffreysRestraint___str__(self)
2327 """__repr__(JeffreysRestraint self) -> std::string"""
2328 return _IMP_isd.JeffreysRestraint___repr__(self)
2331 return _object_cast_to_JeffreysRestraint(o)
2332 get_from = staticmethod(get_from)
2334 JeffreysRestraint_swigregister = _IMP_isd.JeffreysRestraint_swigregister
2335 JeffreysRestraint_swigregister(JeffreysRestraint)
2338 """Proxy of C++ IMP::isd::FNormal class"""
2339 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2341 def __init__(self, FA, JA, FM, sigma):
2342 """__init__(IMP::isd::FNormal self, double FA, double JA, double FM, double sigma) -> FNormal"""
2343 this = _IMP_isd.new_FNormal(FA, JA, FM, sigma)
2345 self.this.append(this)
2350 """evaluate(FNormal self) -> double"""
2351 return _IMP_isd.FNormal_evaluate(self)
2354 def evaluate_derivative_FA(self):
2355 """evaluate_derivative_FA(FNormal self) -> double"""
2356 return _IMP_isd.FNormal_evaluate_derivative_FA(self)
2359 def evaluate_derivative_JA(self):
2360 """evaluate_derivative_JA(FNormal self) -> double"""
2361 return _IMP_isd.FNormal_evaluate_derivative_JA(self)
2364 def evaluate_derivative_FM(self):
2365 """evaluate_derivative_FM(FNormal self) -> double"""
2366 return _IMP_isd.FNormal_evaluate_derivative_FM(self)
2369 def evaluate_derivative_sigma(self):
2370 """evaluate_derivative_sigma(FNormal self) -> double"""
2371 return _IMP_isd.FNormal_evaluate_derivative_sigma(self)
2375 """density(FNormal self) -> double"""
2376 return _IMP_isd.FNormal_density(self)
2379 def set_FA(self, f):
2380 """set_FA(FNormal self, double f)"""
2381 return _IMP_isd.FNormal_set_FA(self, f)
2384 def set_JA(self, f):
2385 """set_JA(FNormal self, double f)"""
2386 return _IMP_isd.FNormal_set_JA(self, f)
2389 def set_FM(self, f):
2390 """set_FM(FNormal self, double f)"""
2391 return _IMP_isd.FNormal_set_FM(self, f)
2394 def set_sigma(self, f):
2395 """set_sigma(FNormal self, double f)"""
2396 return _IMP_isd.FNormal_set_sigma(self, f)
2400 """get_version_info(FNormal self) -> VersionInfo"""
2401 return _IMP_isd.FNormal_get_version_info(self)
2405 """__str__(FNormal self) -> std::string"""
2406 return _IMP_isd.FNormal___str__(self)
2410 """__repr__(FNormal self) -> std::string"""
2411 return _IMP_isd.FNormal___repr__(self)
2414 return _object_cast_to_FNormal(o)
2415 get_from = staticmethod(get_from)
2417 FNormal_swigregister = _IMP_isd.FNormal_swigregister
2418 FNormal_swigregister(FNormal)
2421 """Proxy of C++ IMP::isd::vonMises class"""
2422 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2424 def __init__(self, x, mu, kappa):
2425 """__init__(IMP::isd::vonMises self, double x, double mu, double kappa) -> vonMises"""
2426 this = _IMP_isd.new_vonMises(x, mu, kappa)
2428 self.this.append(this)
2433 """evaluate(vonMises self) -> double"""
2434 return _IMP_isd.vonMises_evaluate(self)
2437 def evaluate_derivative_x(self):
2438 """evaluate_derivative_x(vonMises self) -> double"""
2439 return _IMP_isd.vonMises_evaluate_derivative_x(self)
2442 def evaluate_derivative_mu(self):
2443 """evaluate_derivative_mu(vonMises self) -> double"""
2444 return _IMP_isd.vonMises_evaluate_derivative_mu(self)
2447 def evaluate_derivative_kappa(self):
2448 """evaluate_derivative_kappa(vonMises self) -> double"""
2449 return _IMP_isd.vonMises_evaluate_derivative_kappa(self)
2453 """density(vonMises self) -> double"""
2454 return _IMP_isd.vonMises_density(self)
2458 """set_x(vonMises self, double x)"""
2459 return _IMP_isd.vonMises_set_x(self, x)
2462 def set_mu(self, mu):
2463 """set_mu(vonMises self, double mu)"""
2464 return _IMP_isd.vonMises_set_mu(self, mu)
2467 def set_kappa(self, kappa):
2468 """set_kappa(vonMises self, double kappa)"""
2469 return _IMP_isd.vonMises_set_kappa(self, kappa)
2473 """get_version_info(vonMises self) -> VersionInfo"""
2474 return _IMP_isd.vonMises_get_version_info(self)
2478 """__str__(vonMises self) -> std::string"""
2479 return _IMP_isd.vonMises___str__(self)
2483 """__repr__(vonMises self) -> std::string"""
2484 return _IMP_isd.vonMises___repr__(self)
2487 return _object_cast_to_vonMises(o)
2488 get_from = staticmethod(get_from)
2490 vonMises_swigregister = _IMP_isd.vonMises_swigregister
2491 vonMises_swigregister(vonMises)
2494 """Proxy of C++ IMP::isd::vonMisesSufficient class"""
2495 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2497 def __init__(self, *args):
2499 __init__(IMP::isd::vonMisesSufficient self, double chi, unsigned int N, double R0, double chiexp, double kappa) -> vonMisesSufficient
2500 __init__(IMP::isd::vonMisesSufficient self, double chi, IMP::Floats obs, double kappa) -> vonMisesSufficient
2502 this = _IMP_isd.new_vonMisesSufficient(*args)
2504 self.this.append(this)
2509 """evaluate(vonMisesSufficient self) -> double"""
2510 return _IMP_isd.vonMisesSufficient_evaluate(self)
2513 def evaluate_derivative_x(self):
2514 """evaluate_derivative_x(vonMisesSufficient self) -> double"""
2515 return _IMP_isd.vonMisesSufficient_evaluate_derivative_x(self)
2518 def evaluate_derivative_kappa(self):
2519 """evaluate_derivative_kappa(vonMisesSufficient self) -> double"""
2520 return _IMP_isd.vonMisesSufficient_evaluate_derivative_kappa(self)
2524 """density(vonMisesSufficient self) -> double"""
2525 return _IMP_isd.vonMisesSufficient_density(self)
2529 """get_x(vonMisesSufficient self) -> double"""
2530 return _IMP_isd.vonMisesSufficient_get_x(self)
2534 """get_R0(vonMisesSufficient self) -> double"""
2535 return _IMP_isd.vonMisesSufficient_get_R0(self)
2538 def get_chiexp(self):
2539 """get_chiexp(vonMisesSufficient self) -> double"""
2540 return _IMP_isd.vonMisesSufficient_get_chiexp(self)
2544 """get_N(vonMisesSufficient self) -> double"""
2545 return _IMP_isd.vonMisesSufficient_get_N(self)
2548 def get_kappa(self):
2549 """get_kappa(vonMisesSufficient self) -> double"""
2550 return _IMP_isd.vonMisesSufficient_get_kappa(self)
2554 """set_x(vonMisesSufficient self, double x)"""
2555 return _IMP_isd.vonMisesSufficient_set_x(self, x)
2558 def set_R0(self, R0):
2559 """set_R0(vonMisesSufficient self, double R0)"""
2560 return _IMP_isd.vonMisesSufficient_set_R0(self, R0)
2563 def set_chiexp(self, chiexp):
2564 """set_chiexp(vonMisesSufficient self, double chiexp)"""
2565 return _IMP_isd.vonMisesSufficient_set_chiexp(self, chiexp)
2569 """set_N(vonMisesSufficient self, unsigned int N)"""
2570 return _IMP_isd.vonMisesSufficient_set_N(self, N)
2573 def set_kappa(self, kappa):
2574 """set_kappa(vonMisesSufficient self, double kappa)"""
2575 return _IMP_isd.vonMisesSufficient_set_kappa(self, kappa)
2578 def get_sufficient_statistics(data):
2579 """get_sufficient_statistics(IMP::Floats data) -> IMP::Floats"""
2580 return _IMP_isd.vonMisesSufficient_get_sufficient_statistics(data)
2582 get_sufficient_statistics = staticmethod(get_sufficient_statistics)
2585 """get_version_info(vonMisesSufficient self) -> VersionInfo"""
2586 return _IMP_isd.vonMisesSufficient_get_version_info(self)
2590 """__str__(vonMisesSufficient self) -> std::string"""
2591 return _IMP_isd.vonMisesSufficient___str__(self)
2595 """__repr__(vonMisesSufficient self) -> std::string"""
2596 return _IMP_isd.vonMisesSufficient___repr__(self)
2599 return _object_cast_to_vonMisesSufficient(o)
2600 get_from = staticmethod(get_from)
2602 vonMisesSufficient_swigregister = _IMP_isd.vonMisesSufficient_swigregister
2603 vonMisesSufficient_swigregister(vonMisesSufficient)
2605 def vonMisesSufficient_get_sufficient_statistics(data):
2606 """vonMisesSufficient_get_sufficient_statistics(IMP::Floats data) -> IMP::Floats"""
2607 return _IMP_isd.vonMisesSufficient_get_sufficient_statistics(data)
2610 """Proxy of C++ IMP::isd::vonMisesKappaJeffreysRestraint class"""
2611 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2613 def __init__(self, m, kappa):
2614 """__init__(IMP::isd::vonMisesKappaJeffreysRestraint self, Model m, Particle kappa) -> vonMisesKappaJeffreysRestraint"""
2615 this = _IMP_isd.new_vonMisesKappaJeffreysRestraint(m, kappa)
2617 self.this.append(this)
2622 """do_get_inputs(vonMisesKappaJeffreysRestraint self) -> IMP::ModelObjectsTemp"""
2623 return _IMP_isd.vonMisesKappaJeffreysRestraint_do_get_inputs(self)
2627 """get_version_info(vonMisesKappaJeffreysRestraint self) -> VersionInfo"""
2628 return _IMP_isd.vonMisesKappaJeffreysRestraint_get_version_info(self)
2631 def get_probability(self):
2632 """get_probability(vonMisesKappaJeffreysRestraint self) -> double"""
2633 return _IMP_isd.vonMisesKappaJeffreysRestraint_get_probability(self)
2637 """__str__(vonMisesKappaJeffreysRestraint self) -> std::string"""
2638 return _IMP_isd.vonMisesKappaJeffreysRestraint___str__(self)
2642 """__repr__(vonMisesKappaJeffreysRestraint self) -> std::string"""
2643 return _IMP_isd.vonMisesKappaJeffreysRestraint___repr__(self)
2646 return _object_cast_to_vonMisesKappaJeffreysRestraint(o)
2647 get_from = staticmethod(get_from)
2649 vonMisesKappaJeffreysRestraint_swigregister = _IMP_isd.vonMisesKappaJeffreysRestraint_swigregister
2650 vonMisesKappaJeffreysRestraint_swigregister(vonMisesKappaJeffreysRestraint)
2653 """Proxy of C++ IMP::isd::vonMisesKappaConjugateRestraint class"""
2654 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2656 def __init__(self, m, kappa, c=10.0, R0=0.0):
2658 __init__(IMP::isd::vonMisesKappaConjugateRestraint self, Model m, Particle kappa, double c=10.0, double R0=0.0) -> vonMisesKappaConjugateRestraint
2659 __init__(IMP::isd::vonMisesKappaConjugateRestraint self, Model m, Particle kappa, double c=10.0) -> vonMisesKappaConjugateRestraint
2660 __init__(IMP::isd::vonMisesKappaConjugateRestraint self, Model m, Particle kappa) -> vonMisesKappaConjugateRestraint
2662 this = _IMP_isd.new_vonMisesKappaConjugateRestraint(m, kappa, c, R0)
2664 self.this.append(this)
2669 """do_get_inputs(vonMisesKappaConjugateRestraint self) -> IMP::ModelObjectsTemp"""
2670 return _IMP_isd.vonMisesKappaConjugateRestraint_do_get_inputs(self)
2674 """get_version_info(vonMisesKappaConjugateRestraint self) -> VersionInfo"""
2675 return _IMP_isd.vonMisesKappaConjugateRestraint_get_version_info(self)
2678 def get_probability(self):
2679 """get_probability(vonMisesKappaConjugateRestraint self) -> double"""
2680 return _IMP_isd.vonMisesKappaConjugateRestraint_get_probability(self)
2684 """__str__(vonMisesKappaConjugateRestraint self) -> std::string"""
2685 return _IMP_isd.vonMisesKappaConjugateRestraint___str__(self)
2689 """__repr__(vonMisesKappaConjugateRestraint self) -> std::string"""
2690 return _IMP_isd.vonMisesKappaConjugateRestraint___repr__(self)
2693 return _object_cast_to_vonMisesKappaConjugateRestraint(o)
2694 get_from = staticmethod(get_from)
2696 vonMisesKappaConjugateRestraint_swigregister = _IMP_isd.vonMisesKappaConjugateRestraint_swigregister
2697 vonMisesKappaConjugateRestraint_swigregister(vonMisesKappaConjugateRestraint)
2700 """Proxy of C++ IMP::isd::NOERestraint class"""
2701 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2703 def __init__(self, m, p0, p1, sigma, gamma, Iexp):
2704 """__init__(IMP::isd::NOERestraint self, Model m, Particle p0, Particle p1, Particle sigma, Particle gamma, double Iexp) -> NOERestraint"""
2705 this = _IMP_isd.new_NOERestraint(m, p0, p1, sigma, gamma, Iexp)
2707 self.this.append(this)
2711 def get_probability(self):
2712 """get_probability(NOERestraint self) -> double"""
2713 return _IMP_isd.NOERestraint_get_probability(self)
2717 """get_chi(NOERestraint self) -> double"""
2718 return _IMP_isd.NOERestraint_get_chi(self)
2722 """do_get_inputs(NOERestraint self) -> IMP::ModelObjectsTemp"""
2723 return _IMP_isd.NOERestraint_do_get_inputs(self)
2727 """get_version_info(NOERestraint self) -> VersionInfo"""
2728 return _IMP_isd.NOERestraint_get_version_info(self)
2732 """__str__(NOERestraint self) -> std::string"""
2733 return _IMP_isd.NOERestraint___str__(self)
2737 """__repr__(NOERestraint self) -> std::string"""
2738 return _IMP_isd.NOERestraint___repr__(self)
2741 return _object_cast_to_NOERestraint(o)
2742 get_from = staticmethod(get_from)
2744 NOERestraint_swigregister = _IMP_isd.NOERestraint_swigregister
2745 NOERestraint_swigregister(NOERestraint)
2748 """Proxy of C++ IMP::isd::GaussianRestraint class"""
2749 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2751 def __init__(self, *args):
2753 __init__(IMP::isd::GaussianRestraint self, Particle x, Particle mu, Particle sigma) -> GaussianRestraint
2754 __init__(IMP::isd::GaussianRestraint self, double x, Particle mu, Particle sigma) -> GaussianRestraint
2755 __init__(IMP::isd::GaussianRestraint self, Particle x, double mu, Particle sigma) -> GaussianRestraint
2756 __init__(IMP::isd::GaussianRestraint self, Particle x, Particle mu, double sigma) -> GaussianRestraint
2757 __init__(IMP::isd::GaussianRestraint self, double x, double mu, Particle sigma) -> GaussianRestraint
2758 __init__(IMP::isd::GaussianRestraint self, Particle x, double mu, double sigma) -> GaussianRestraint
2759 __init__(IMP::isd::GaussianRestraint self, double x, Particle mu, double sigma) -> GaussianRestraint
2761 this = _IMP_isd.new_GaussianRestraint(*args)
2763 self.this.append(this)
2767 def get_probability(self):
2768 """get_probability(GaussianRestraint self) -> double"""
2769 return _IMP_isd.GaussianRestraint_get_probability(self)
2773 """get_chi(GaussianRestraint self) -> double"""
2774 return _IMP_isd.GaussianRestraint_get_chi(self)
2778 """do_get_inputs(GaussianRestraint self) -> IMP::ModelObjectsTemp"""
2779 return _IMP_isd.GaussianRestraint_do_get_inputs(self)
2783 """get_version_info(GaussianRestraint self) -> VersionInfo"""
2784 return _IMP_isd.GaussianRestraint_get_version_info(self)
2788 """__str__(GaussianRestraint self) -> std::string"""
2789 return _IMP_isd.GaussianRestraint___str__(self)
2793 """__repr__(GaussianRestraint self) -> std::string"""
2794 return _IMP_isd.GaussianRestraint___repr__(self)
2797 return _object_cast_to_GaussianRestraint(o)
2798 get_from = staticmethod(get_from)
2800 GaussianRestraint_swigregister = _IMP_isd.GaussianRestraint_swigregister
2801 GaussianRestraint_swigregister(GaussianRestraint)
2804 """Proxy of C++ IMP::isd::LognormalRestraint class"""
2805 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2807 def __init__(self, *args):
2809 __init__(IMP::isd::LognormalRestraint self, Particle x, Particle mu, Particle sigma) -> LognormalRestraint
2810 __init__(IMP::isd::LognormalRestraint self, double x, Particle mu, Particle sigma) -> LognormalRestraint
2811 __init__(IMP::isd::LognormalRestraint self, Particle x, double mu, Particle sigma) -> LognormalRestraint
2812 __init__(IMP::isd::LognormalRestraint self, Particle x, Particle mu, double sigma) -> LognormalRestraint
2813 __init__(IMP::isd::LognormalRestraint self, double x, double mu, Particle sigma) -> LognormalRestraint
2814 __init__(IMP::isd::LognormalRestraint self, Particle x, double mu, double sigma) -> LognormalRestraint
2815 __init__(IMP::isd::LognormalRestraint self, double x, Particle mu, double sigma) -> LognormalRestraint
2817 this = _IMP_isd.new_LognormalRestraint(*args)
2819 self.this.append(this)
2823 def get_probability(self):
2824 """get_probability(LognormalRestraint self) -> double"""
2825 return _IMP_isd.LognormalRestraint_get_probability(self)
2829 """get_chi(LognormalRestraint self) -> double"""
2830 return _IMP_isd.LognormalRestraint_get_chi(self)
2834 """do_get_inputs(LognormalRestraint self) -> IMP::ModelObjectsTemp"""
2835 return _IMP_isd.LognormalRestraint_do_get_inputs(self)
2839 """get_version_info(LognormalRestraint self) -> VersionInfo"""
2840 return _IMP_isd.LognormalRestraint_get_version_info(self)
2844 """__str__(LognormalRestraint self) -> std::string"""
2845 return _IMP_isd.LognormalRestraint___str__(self)
2849 """__repr__(LognormalRestraint self) -> std::string"""
2850 return _IMP_isd.LognormalRestraint___repr__(self)
2853 return _object_cast_to_LognormalRestraint(o)
2854 get_from = staticmethod(get_from)
2856 LognormalRestraint_swigregister = _IMP_isd.LognormalRestraint_swigregister
2857 LognormalRestraint_swigregister(LognormalRestraint)
2860 """Proxy of C++ IMP::isd::LognormalAmbiguousRestraint class"""
2861 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2863 def __init__(self, p1, p2, ki, sigmaG):
2864 """__init__(IMP::isd::LognormalAmbiguousRestraint self, Particle p1, Particle p2, Particle ki, Particle sigmaG) -> LognormalAmbiguousRestraint"""
2865 this = _IMP_isd.new_LognormalAmbiguousRestraint(p1, p2, ki, sigmaG)
2867 self.this.append(this)
2871 def add_contribution(self, lexp, omega):
2872 """add_contribution(LognormalAmbiguousRestraint self, double lexp, Particle omega)"""
2873 return _IMP_isd.LognormalAmbiguousRestraint_add_contribution(self, lexp, omega)
2876 def get_number_of_contributions(self):
2877 """get_number_of_contributions(LognormalAmbiguousRestraint self) -> unsigned int"""
2878 return _IMP_isd.LognormalAmbiguousRestraint_get_number_of_contributions(self)
2881 def draw_k_from_posterior(self, kt):
2882 """draw_k_from_posterior(LognormalAmbiguousRestraint self, double kt)"""
2883 return _IMP_isd.LognormalAmbiguousRestraint_draw_k_from_posterior(self, kt)
2886 def get_probability(self):
2887 """get_probability(LognormalAmbiguousRestraint self) -> double"""
2888 return _IMP_isd.LognormalAmbiguousRestraint_get_probability(self)
2892 """do_get_inputs(LognormalAmbiguousRestraint self) -> IMP::ModelObjectsTemp"""
2893 return _IMP_isd.LognormalAmbiguousRestraint_do_get_inputs(self)
2897 """get_version_info(LognormalAmbiguousRestraint self) -> VersionInfo"""
2898 return _IMP_isd.LognormalAmbiguousRestraint_get_version_info(self)
2902 """__str__(LognormalAmbiguousRestraint self) -> std::string"""
2903 return _IMP_isd.LognormalAmbiguousRestraint___str__(self)
2907 """__repr__(LognormalAmbiguousRestraint self) -> std::string"""
2908 return _IMP_isd.LognormalAmbiguousRestraint___repr__(self)
2911 return _object_cast_to_LognormalAmbiguousRestraint(o)
2912 get_from = staticmethod(get_from)
2914 LognormalAmbiguousRestraint_swigregister = _IMP_isd.LognormalAmbiguousRestraint_swigregister
2915 LognormalAmbiguousRestraint_swigregister(LognormalAmbiguousRestraint)
2918 """Proxy of C++ IMP::isd::AmbiguousNOERestraint class"""
2919 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2921 def __init__(self, m, pc, sigma, gamma, Iexp):
2922 """__init__(IMP::isd::AmbiguousNOERestraint self, Model m, PairContainer pc, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor gamma, double Iexp) -> AmbiguousNOERestraint"""
2923 this = _IMP_isd.new_AmbiguousNOERestraint(m, pc, sigma, gamma, Iexp)
2925 self.this.append(this)
2929 def get_probability(self):
2930 """get_probability(AmbiguousNOERestraint self) -> double"""
2931 return _IMP_isd.AmbiguousNOERestraint_get_probability(self)
2935 """get_chi(AmbiguousNOERestraint self) -> double"""
2936 return _IMP_isd.AmbiguousNOERestraint_get_chi(self)
2940 """do_get_inputs(AmbiguousNOERestraint self) -> IMP::ModelObjectsTemp"""
2941 return _IMP_isd.AmbiguousNOERestraint_do_get_inputs(self)
2945 """get_version_info(AmbiguousNOERestraint self) -> VersionInfo"""
2946 return _IMP_isd.AmbiguousNOERestraint_get_version_info(self)
2950 """__str__(AmbiguousNOERestraint self) -> std::string"""
2951 return _IMP_isd.AmbiguousNOERestraint___str__(self)
2955 """__repr__(AmbiguousNOERestraint self) -> std::string"""
2956 return _IMP_isd.AmbiguousNOERestraint___repr__(self)
2959 return _object_cast_to_AmbiguousNOERestraint(o)
2960 get_from = staticmethod(get_from)
2962 AmbiguousNOERestraint_swigregister = _IMP_isd.AmbiguousNOERestraint_swigregister
2963 AmbiguousNOERestraint_swigregister(AmbiguousNOERestraint)
2966 """Proxy of C++ IMP::isd::MarginalNOERestraint class"""
2967 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2969 def __init__(self, m):
2970 """__init__(IMP::isd::MarginalNOERestraint self, Model m) -> MarginalNOERestraint"""
2971 this = _IMP_isd.new_MarginalNOERestraint(m)
2973 self.this.append(this)
2977 def add_contribution(self, *args):
2979 add_contribution(MarginalNOERestraint self, Particle p1, Particle p2, double Iexp)
2980 add_contribution(MarginalNOERestraint self, PairContainer pc, double Iexp)
2982 return _IMP_isd.MarginalNOERestraint_add_contribution(self, *args)
2985 def get_log_gammahat(self):
2986 """get_log_gammahat(MarginalNOERestraint self) -> double"""
2987 return _IMP_isd.MarginalNOERestraint_get_log_gammahat(self)
2991 """get_SS(MarginalNOERestraint self) -> double"""
2992 return _IMP_isd.MarginalNOERestraint_get_SS(self)
2995 def get_number_of_contributions(self):
2996 """get_number_of_contributions(MarginalNOERestraint self) -> unsigned int"""
2997 return _IMP_isd.MarginalNOERestraint_get_number_of_contributions(self)
3000 def get_probability(self):
3001 """get_probability(MarginalNOERestraint self) -> double"""
3002 return _IMP_isd.MarginalNOERestraint_get_probability(self)
3006 """do_get_inputs(MarginalNOERestraint self) -> IMP::ModelObjectsTemp"""
3007 return _IMP_isd.MarginalNOERestraint_do_get_inputs(self)
3011 """get_version_info(MarginalNOERestraint self) -> VersionInfo"""
3012 return _IMP_isd.MarginalNOERestraint_get_version_info(self)
3016 """__str__(MarginalNOERestraint self) -> std::string"""
3017 return _IMP_isd.MarginalNOERestraint___str__(self)
3021 """__repr__(MarginalNOERestraint self) -> std::string"""
3022 return _IMP_isd.MarginalNOERestraint___repr__(self)
3025 return _object_cast_to_MarginalNOERestraint(o)
3026 get_from = staticmethod(get_from)
3028 MarginalNOERestraint_swigregister = _IMP_isd.MarginalNOERestraint_swigregister
3029 MarginalNOERestraint_swigregister(MarginalNOERestraint)
3032 """Proxy of C++ IMP::isd::MarginalHBondRestraint class"""
3033 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3035 def __init__(self, m):
3036 """__init__(IMP::isd::MarginalHBondRestraint self, Model m) -> MarginalHBondRestraint"""
3037 this = _IMP_isd.new_MarginalHBondRestraint(m)
3039 self.this.append(this)
3043 def add_contribution(self, *args):
3045 add_contribution(MarginalHBondRestraint self, Particle p1, Particle p2, double Iexp)
3046 add_contribution(MarginalHBondRestraint self, PairContainer pc, double Iexp)
3048 return _IMP_isd.MarginalHBondRestraint_add_contribution(self, *args)
3051 def get_logsquares(self):
3052 """get_logsquares(MarginalHBondRestraint self) -> double"""
3053 return _IMP_isd.MarginalHBondRestraint_get_logsquares(self)
3056 def get_number_of_contributions(self):
3057 """get_number_of_contributions(MarginalHBondRestraint self) -> unsigned int"""
3058 return _IMP_isd.MarginalHBondRestraint_get_number_of_contributions(self)
3061 def get_probability(self):
3062 """get_probability(MarginalHBondRestraint self) -> double"""
3063 return _IMP_isd.MarginalHBondRestraint_get_probability(self)
3067 """do_get_inputs(MarginalHBondRestraint self) -> IMP::ModelObjectsTemp"""
3068 return _IMP_isd.MarginalHBondRestraint_do_get_inputs(self)
3072 """get_version_info(MarginalHBondRestraint self) -> VersionInfo"""
3073 return _IMP_isd.MarginalHBondRestraint_get_version_info(self)
3077 """__str__(MarginalHBondRestraint self) -> std::string"""
3078 return _IMP_isd.MarginalHBondRestraint___str__(self)
3082 """__repr__(MarginalHBondRestraint self) -> std::string"""
3083 return _IMP_isd.MarginalHBondRestraint___repr__(self)
3086 return _object_cast_to_MarginalHBondRestraint(o)
3087 get_from = staticmethod(get_from)
3089 MarginalHBondRestraint_swigregister = _IMP_isd.MarginalHBondRestraint_swigregister
3090 MarginalHBondRestraint_swigregister(MarginalHBondRestraint)
3093 """Proxy of C++ IMP::isd::TALOSRestraint class"""
3094 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3096 def __init__(self, *args):
3098 __init__(IMP::isd::TALOSRestraint self, Model m, IMP::Particles p, IMP::Floats data, Particle kappa) -> TALOSRestraint
3099 __init__(IMP::isd::TALOSRestraint self, Model m, Particle p1, Particle p2, Particle p3, Particle p4, IMP::Floats data, Particle kappa) -> TALOSRestraint
3100 __init__(IMP::isd::TALOSRestraint self, Model m, IMP::Particles p, unsigned int N, double R0, double chiexp, Particle kappa) -> TALOSRestraint
3101 __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
3103 this = _IMP_isd.new_TALOSRestraint(*args)
3105 self.this.append(this)
3109 def get_probability(self):
3110 """get_probability(TALOSRestraint self) -> double"""
3111 return _IMP_isd.TALOSRestraint_get_probability(self)
3115 """get_R0(TALOSRestraint self) -> double"""
3116 return _IMP_isd.TALOSRestraint_get_R0(self)
3119 def get_chiexp(self):
3120 """get_chiexp(TALOSRestraint self) -> double"""
3121 return _IMP_isd.TALOSRestraint_get_chiexp(self)
3125 """do_get_inputs(TALOSRestraint self) -> IMP::ModelObjectsTemp"""
3126 return _IMP_isd.TALOSRestraint_do_get_inputs(self)
3130 """get_version_info(TALOSRestraint self) -> VersionInfo"""
3131 return _IMP_isd.TALOSRestraint_get_version_info(self)
3135 """__str__(TALOSRestraint self) -> std::string"""
3136 return _IMP_isd.TALOSRestraint___str__(self)
3140 """__repr__(TALOSRestraint self) -> std::string"""
3141 return _IMP_isd.TALOSRestraint___repr__(self)
3144 return _object_cast_to_TALOSRestraint(o)
3145 get_from = staticmethod(get_from)
3147 TALOSRestraint_swigregister = _IMP_isd.TALOSRestraint_swigregister
3148 TALOSRestraint_swigregister(TALOSRestraint)
3151 """Proxy of C++ IMP::isd::RepulsiveDistancePairScore class"""
3152 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3154 def __init__(self, d0, k):
3155 """__init__(IMP::isd::RepulsiveDistancePairScore self, double d0, double k) -> RepulsiveDistancePairScore"""
3156 this = _IMP_isd.new_RepulsiveDistancePairScore(d0, k)
3158 self.this.append(this)
3162 def get_rest_length(self):
3163 """get_rest_length(RepulsiveDistancePairScore self) -> double"""
3164 return _IMP_isd.RepulsiveDistancePairScore_get_rest_length(self)
3167 def get_stiffness(self):
3168 """get_stiffness(RepulsiveDistancePairScore self) -> double"""
3169 return _IMP_isd.RepulsiveDistancePairScore_get_stiffness(self)
3173 """do_get_inputs(RepulsiveDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3174 return _IMP_isd.RepulsiveDistancePairScore_do_get_inputs(self, m, pis)
3178 """get_version_info(RepulsiveDistancePairScore self) -> VersionInfo"""
3179 return _IMP_isd.RepulsiveDistancePairScore_get_version_info(self)
3183 """__str__(RepulsiveDistancePairScore self) -> std::string"""
3184 return _IMP_isd.RepulsiveDistancePairScore___str__(self)
3188 """__repr__(RepulsiveDistancePairScore self) -> std::string"""
3189 return _IMP_isd.RepulsiveDistancePairScore___repr__(self)
3192 return _object_cast_to_RepulsiveDistancePairScore(o)
3193 get_from = staticmethod(get_from)
3195 RepulsiveDistancePairScore_swigregister = _IMP_isd.RepulsiveDistancePairScore_swigregister
3196 RepulsiveDistancePairScore_swigregister(RepulsiveDistancePairScore)
3199 """Proxy of C++ IMP::isd::AmbiguousRestraint class"""
3200 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3202 def __init__(self, *args):
3204 __init__(IMP::isd::AmbiguousRestraint self, Model m, int d, Restraint r0, Restraint r1) -> AmbiguousRestraint
3205 __init__(IMP::isd::AmbiguousRestraint self, Model m, int d, IMP::Restraints rs) -> AmbiguousRestraint
3207 this = _IMP_isd.new_AmbiguousRestraint(*args)
3209 self.this.append(this)
3213 def get_probability(self):
3214 """get_probability(AmbiguousRestraint self) -> double"""
3215 return _IMP_isd.AmbiguousRestraint_get_probability(self)
3219 """do_get_inputs(AmbiguousRestraint self) -> IMP::ModelObjectsTemp"""
3220 return _IMP_isd.AmbiguousRestraint_do_get_inputs(self)
3224 """get_version_info(AmbiguousRestraint self) -> VersionInfo"""
3225 return _IMP_isd.AmbiguousRestraint_get_version_info(self)
3229 """__str__(AmbiguousRestraint self) -> std::string"""
3230 return _IMP_isd.AmbiguousRestraint___str__(self)
3234 """__repr__(AmbiguousRestraint self) -> std::string"""
3235 return _IMP_isd.AmbiguousRestraint___repr__(self)
3238 return _object_cast_to_AmbiguousRestraint(o)
3239 get_from = staticmethod(get_from)
3241 AmbiguousRestraint_swigregister = _IMP_isd.AmbiguousRestraint_swigregister
3242 AmbiguousRestraint_swigregister(AmbiguousRestraint)
3245 _IMP_isd.IMP_ISD_UNIVARIATE_FUNCTIONS_MINIMUM_swigconstant(_IMP_isd)
3246 IMP_ISD_UNIVARIATE_FUNCTIONS_MINIMUM = _IMP_isd.IMP_ISD_UNIVARIATE_FUNCTIONS_MINIMUM
3248 """Proxy of C++ IMP::isd::UnivariateFunction class"""
3249 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3251 def __init__(self, *args, **kwargs):
3252 raise AttributeError(
"No constructor defined - class is abstract")
3254 def __call__(self, *args):
3256 __call__(UnivariateFunction self, IMP::Floats const & x) -> IMP::Floats
3257 __call__(UnivariateFunction self, IMP::FloatsList const & xlist) -> IMP_Eigen::VectorXd
3258 __call__(UnivariateFunction self, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
3260 return _IMP_isd.UnivariateFunction___call__(self, *args)
3263 def has_changed(self):
3264 """has_changed(UnivariateFunction self) -> bool"""
3265 return _IMP_isd.UnivariateFunction_has_changed(self)
3269 """update(UnivariateFunction self)"""
3270 return _IMP_isd.UnivariateFunction_update(self)
3273 def add_to_derivatives(self, x, accum):
3274 """add_to_derivatives(UnivariateFunction self, IMP::Floats const & x, DerivativeAccumulator accum)"""
3275 return _IMP_isd.UnivariateFunction_add_to_derivatives(self, x, accum)
3278 def add_to_particle_derivative(self, particle_no, value, accum):
3279 """add_to_particle_derivative(UnivariateFunction self, unsigned int particle_no, double value, DerivativeAccumulator accum)"""
3280 return _IMP_isd.UnivariateFunction_add_to_particle_derivative(self, particle_no, value, accum)
3283 def get_derivative_vector(self, particle_no, xlist):
3284 """get_derivative_vector(UnivariateFunction self, unsigned int particle_no, IMP::FloatsList const & xlist) -> IMP_Eigen::VectorXd"""
3285 return _IMP_isd.UnivariateFunction_get_derivative_vector(self, particle_no, xlist)
3288 def get_derivative_matrix(self, xlist, stupid):
3289 """get_derivative_matrix(UnivariateFunction self, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList"""
3290 return _IMP_isd.UnivariateFunction_get_derivative_matrix(self, xlist, stupid)
3293 def get_second_derivative_vector(self, *args):
3295 get_second_derivative_vector(UnivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> IMP_Eigen::VectorXd
3296 get_second_derivative_vector(UnivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
3298 return _IMP_isd.UnivariateFunction_get_second_derivative_vector(self, *args)
3301 def get_ndims_x(self):
3302 """get_ndims_x(UnivariateFunction self) -> unsigned int"""
3303 return _IMP_isd.UnivariateFunction_get_ndims_x(self)
3306 def get_ndims_y(self):
3307 """get_ndims_y(UnivariateFunction self) -> unsigned int"""
3308 return _IMP_isd.UnivariateFunction_get_ndims_y(self)
3311 def get_number_of_particles(self):
3312 """get_number_of_particles(UnivariateFunction self) -> unsigned int"""
3313 return _IMP_isd.UnivariateFunction_get_number_of_particles(self)
3316 def get_particle_is_optimized(self, particle_no):
3317 """get_particle_is_optimized(UnivariateFunction self, unsigned int particle_no) -> bool"""
3318 return _IMP_isd.UnivariateFunction_get_particle_is_optimized(self, particle_no)
3321 def get_number_of_optimized_particles(self):
3322 """get_number_of_optimized_particles(UnivariateFunction self) -> unsigned int"""
3323 return _IMP_isd.UnivariateFunction_get_number_of_optimized_particles(self)
3327 """get_inputs(UnivariateFunction self) -> IMP::ModelObjectsTemp"""
3328 return _IMP_isd.UnivariateFunction_get_inputs(self)
3330 __swig_destroy__ = _IMP_isd.delete_UnivariateFunction
3331 __del__ =
lambda self:
None
3334 """__str__(UnivariateFunction self) -> std::string"""
3335 return _IMP_isd.UnivariateFunction___str__(self)
3339 """__repr__(UnivariateFunction self) -> std::string"""
3340 return _IMP_isd.UnivariateFunction___repr__(self)
3343 return _object_cast_to_UnivariateFunction(o)
3344 get_from = staticmethod(get_from)
3346 UnivariateFunction_swigregister = _IMP_isd.UnivariateFunction_swigregister
3347 UnivariateFunction_swigregister(UnivariateFunction)
3349 class Linear1DFunction(UnivariateFunction):
3350 """Proxy of C++ IMP::isd::Linear1DFunction class"""
3351 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3353 def __init__(self, a, b):
3354 """__init__(IMP::isd::Linear1DFunction self, Particle a, Particle b) -> Linear1DFunction"""
3355 this = _IMP_isd.new_Linear1DFunction(a, b)
3357 self.this.append(this)
3361 def __call__(self, *args):
3363 __call__(Linear1DFunction self, IMP::Floats const & x) -> IMP::Floats
3364 __call__(Linear1DFunction self, IMP::FloatsList const & xlist) -> IMP_Eigen::VectorXd
3365 __call__(Linear1DFunction self, IMP::FloatsList const & xlist, bool arg3) -> IMP::FloatsList
3367 return _IMP_isd.Linear1DFunction___call__(self, *args)
3370 def get_second_derivative_vector(self, *args):
3372 get_second_derivative_vector(Linear1DFunction self, unsigned int arg2, unsigned int arg3, IMP::FloatsList const & xlist) -> IMP_Eigen::VectorXd
3373 get_second_derivative_vector(Linear1DFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool arg5) -> IMP::FloatsList
3375 return _IMP_isd.Linear1DFunction_get_second_derivative_vector(self, *args)
3379 """get_version_info(Linear1DFunction self) -> VersionInfo"""
3380 return _IMP_isd.Linear1DFunction_get_version_info(self)
3384 """__str__(Linear1DFunction self) -> std::string"""
3385 return _IMP_isd.Linear1DFunction___str__(self)
3389 """__repr__(Linear1DFunction self) -> std::string"""
3390 return _IMP_isd.Linear1DFunction___repr__(self)
3393 return _object_cast_to_Linear1DFunction(o)
3394 get_from = staticmethod(get_from)
3396 Linear1DFunction_swigregister = _IMP_isd.Linear1DFunction_swigregister
3397 Linear1DFunction_swigregister(Linear1DFunction)
3399 class GeneralizedGuinierPorodFunction(UnivariateFunction):
3400 """Proxy of C++ IMP::isd::GeneralizedGuinierPorodFunction class"""
3401 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3403 def __init__(self, G, Rg, d, s, A):
3404 """__init__(IMP::isd::GeneralizedGuinierPorodFunction self, Particle G, Particle Rg, Particle d, Particle s, Particle A) -> GeneralizedGuinierPorodFunction"""
3405 this = _IMP_isd.new_GeneralizedGuinierPorodFunction(G, Rg, d, s, A)
3407 self.this.append(this)
3411 def __call__(self, *args):
3413 __call__(GeneralizedGuinierPorodFunction self, IMP::Floats const & x) -> IMP::Floats
3414 __call__(GeneralizedGuinierPorodFunction self, IMP::FloatsList const & xlist) -> IMP_Eigen::VectorXd
3415 __call__(GeneralizedGuinierPorodFunction self, IMP::FloatsList const & xlist, bool arg3) -> IMP::FloatsList
3417 return _IMP_isd.GeneralizedGuinierPorodFunction___call__(self, *args)
3420 def get_second_derivative_vector(self, *args):
3422 get_second_derivative_vector(GeneralizedGuinierPorodFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> IMP_Eigen::VectorXd
3423 get_second_derivative_vector(GeneralizedGuinierPorodFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool arg5) -> IMP::FloatsList
3425 return _IMP_isd.GeneralizedGuinierPorodFunction_get_second_derivative_vector(self, *args)
3429 """get_version_info(GeneralizedGuinierPorodFunction self) -> VersionInfo"""
3430 return _IMP_isd.GeneralizedGuinierPorodFunction_get_version_info(self)
3434 """__str__(GeneralizedGuinierPorodFunction self) -> std::string"""
3435 return _IMP_isd.GeneralizedGuinierPorodFunction___str__(self)
3439 """__repr__(GeneralizedGuinierPorodFunction self) -> std::string"""
3440 return _IMP_isd.GeneralizedGuinierPorodFunction___repr__(self)
3443 return _object_cast_to_GeneralizedGuinierPorodFunction(o)
3444 get_from = staticmethod(get_from)
3446 GeneralizedGuinierPorodFunction_swigregister = _IMP_isd.GeneralizedGuinierPorodFunction_swigregister
3447 GeneralizedGuinierPorodFunction_swigregister(GeneralizedGuinierPorodFunction)
3450 _IMP_isd.IMP_ISD_BIVARIATE_FUNCTIONS_MINIMUM_swigconstant(_IMP_isd)
3451 IMP_ISD_BIVARIATE_FUNCTIONS_MINIMUM = _IMP_isd.IMP_ISD_BIVARIATE_FUNCTIONS_MINIMUM
3453 """Proxy of C++ IMP::isd::BivariateFunction class"""
3454 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3456 def __init__(self, *args, **kwargs):
3457 raise AttributeError(
"No constructor defined - class is abstract")
3459 def __call__(self, *args):
3461 __call__(BivariateFunction self, IMP::Floats const & x1, IMP::Floats const & x2) -> IMP::Floats
3462 __call__(BivariateFunction self, IMP::FloatsList const & xlist) -> IMP_Eigen::MatrixXd
3463 __call__(BivariateFunction self, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
3465 return _IMP_isd.BivariateFunction___call__(self, *args)
3468 def has_changed(self):
3469 """has_changed(BivariateFunction self) -> bool"""
3470 return _IMP_isd.BivariateFunction_has_changed(self)
3474 """update(BivariateFunction self)"""
3475 return _IMP_isd.BivariateFunction_update(self)
3478 def add_to_derivatives(self, x1, x2, accum):
3479 """add_to_derivatives(BivariateFunction self, IMP::Floats const & x1, IMP::Floats const & x2, DerivativeAccumulator accum)"""
3480 return _IMP_isd.BivariateFunction_add_to_derivatives(self, x1, x2, accum)
3483 def add_to_particle_derivative(self, particle_no, value, accum):
3484 """add_to_particle_derivative(BivariateFunction self, unsigned int particle_no, double value, DerivativeAccumulator accum)"""
3485 return _IMP_isd.BivariateFunction_add_to_particle_derivative(self, particle_no, value, accum)
3488 def get_derivative_matrix(self, *args):
3490 get_derivative_matrix(BivariateFunction self, unsigned int particle_no, IMP::FloatsList const & xlist) -> IMP_Eigen::MatrixXd
3491 get_derivative_matrix(BivariateFunction self, unsigned int particle_no, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
3493 return _IMP_isd.BivariateFunction_get_derivative_matrix(self, *args)
3496 def get_second_derivative_matrix(self, *args):
3498 get_second_derivative_matrix(BivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> IMP_Eigen::MatrixXd
3499 get_second_derivative_matrix(BivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
3501 return _IMP_isd.BivariateFunction_get_second_derivative_matrix(self, *args)
3504 def get_ndims_x1(self):
3505 """get_ndims_x1(BivariateFunction self) -> unsigned int"""
3506 return _IMP_isd.BivariateFunction_get_ndims_x1(self)
3509 def get_ndims_x2(self):
3510 """get_ndims_x2(BivariateFunction self) -> unsigned int"""
3511 return _IMP_isd.BivariateFunction_get_ndims_x2(self)
3514 def get_ndims_y(self):
3515 """get_ndims_y(BivariateFunction self) -> unsigned int"""
3516 return _IMP_isd.BivariateFunction_get_ndims_y(self)
3519 def get_number_of_particles(self):
3520 """get_number_of_particles(BivariateFunction self) -> unsigned int"""
3521 return _IMP_isd.BivariateFunction_get_number_of_particles(self)
3524 def get_particle_is_optimized(self, particle_no):
3525 """get_particle_is_optimized(BivariateFunction self, unsigned int particle_no) -> bool"""
3526 return _IMP_isd.BivariateFunction_get_particle_is_optimized(self, particle_no)
3529 def get_number_of_optimized_particles(self):
3530 """get_number_of_optimized_particles(BivariateFunction self) -> unsigned int"""
3531 return _IMP_isd.BivariateFunction_get_number_of_optimized_particles(self)
3535 """get_inputs(BivariateFunction self) -> IMP::ModelObjectsTemp"""
3536 return _IMP_isd.BivariateFunction_get_inputs(self)
3538 __swig_destroy__ = _IMP_isd.delete_BivariateFunction
3539 __del__ =
lambda self:
None
3542 """__str__(BivariateFunction self) -> std::string"""
3543 return _IMP_isd.BivariateFunction___str__(self)
3547 """__repr__(BivariateFunction self) -> std::string"""
3548 return _IMP_isd.BivariateFunction___repr__(self)
3551 return _object_cast_to_BivariateFunction(o)
3552 get_from = staticmethod(get_from)
3554 BivariateFunction_swigregister = _IMP_isd.BivariateFunction_swigregister
3555 BivariateFunction_swigregister(BivariateFunction)
3557 class Covariance1DFunction(BivariateFunction):
3558 """Proxy of C++ IMP::isd::Covariance1DFunction class"""
3559 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3561 def __init__(self, tau, ilambda, alpha=2.0, jitter=0.0, cutoff=1e-7):
3563 __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda, double alpha=2.0, double jitter=0.0, double cutoff=1e-7) -> Covariance1DFunction
3564 __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda, double alpha=2.0, double jitter=0.0) -> Covariance1DFunction
3565 __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda, double alpha=2.0) -> Covariance1DFunction
3566 __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda) -> Covariance1DFunction
3568 this = _IMP_isd.new_Covariance1DFunction(tau, ilambda, alpha, jitter, cutoff)
3570 self.this.append(this)
3574 def __call__(self, *args):
3576 __call__(Covariance1DFunction self, IMP::Floats const & x1, IMP::Floats const & x2) -> IMP::Floats
3577 __call__(Covariance1DFunction self, IMP::FloatsList const & xlist) -> IMP_Eigen::MatrixXd
3578 __call__(Covariance1DFunction self, IMP::FloatsList const & xlist, bool arg3) -> IMP::FloatsList
3580 return _IMP_isd.Covariance1DFunction___call__(self, *args)
3583 def get_derivative_matrix(self, *args):
3585 get_derivative_matrix(Covariance1DFunction self, unsigned int particle_no, IMP::FloatsList const & xlist) -> IMP_Eigen::MatrixXd
3586 get_derivative_matrix(Covariance1DFunction self, unsigned int particle_no, IMP::FloatsList const & xlist, bool arg4) -> IMP::FloatsList
3588 return _IMP_isd.Covariance1DFunction_get_derivative_matrix(self, *args)
3591 def get_second_derivative_matrix(self, *args):
3593 get_second_derivative_matrix(Covariance1DFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> IMP_Eigen::MatrixXd
3594 get_second_derivative_matrix(Covariance1DFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool arg5) -> IMP::FloatsList
3596 return _IMP_isd.Covariance1DFunction_get_second_derivative_matrix(self, *args)
3600 """get_version_info(Covariance1DFunction self) -> VersionInfo"""
3601 return _IMP_isd.Covariance1DFunction_get_version_info(self)
3605 """__str__(Covariance1DFunction self) -> std::string"""
3606 return _IMP_isd.Covariance1DFunction___str__(self)
3610 """__repr__(Covariance1DFunction self) -> std::string"""
3611 return _IMP_isd.Covariance1DFunction___repr__(self)
3614 return _object_cast_to_Covariance1DFunction(o)
3615 get_from = staticmethod(get_from)
3617 Covariance1DFunction_swigregister = _IMP_isd.Covariance1DFunction_swigregister
3618 Covariance1DFunction_swigregister(Covariance1DFunction)
3620 class GaussianProcessInterpolation(
IMP.Object):
3621 """Proxy of C++ IMP::isd::GaussianProcessInterpolation class"""
3622 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3624 def __init__(self, x, sample_mean, sample_std, n_obs, mean_function, covariance_function, sigma, sparse_cutoff=1e-7):
3626 __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
3627 __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
3629 this = _IMP_isd.new_GaussianProcessInterpolation(x, sample_mean, sample_std, n_obs, mean_function, covariance_function, sigma, sparse_cutoff)
3631 self.this.append(this)
3635 def get_posterior_mean(self, x):
3636 """get_posterior_mean(GaussianProcessInterpolation self, IMP::Floats x) -> double"""
3637 return _IMP_isd.GaussianProcessInterpolation_get_posterior_mean(self, x)
3640 def get_posterior_covariance(self, x1, x2):
3641 """get_posterior_covariance(GaussianProcessInterpolation self, IMP::Floats x1, IMP::Floats x2) -> double"""
3642 return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance(self, x1, x2)
3645 def get_posterior_covariance_matrix(self, x, arg3):
3646 """get_posterior_covariance_matrix(GaussianProcessInterpolation self, IMP::FloatsList x, bool arg3) -> IMP::FloatsList"""
3647 return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance_matrix(self, x, arg3)
3650 def get_posterior_covariance_derivative(self, x, arg3):
3651 """get_posterior_covariance_derivative(GaussianProcessInterpolation self, IMP::Floats x, bool arg3) -> IMP::Floats"""
3652 return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance_derivative(self, x, arg3)
3655 def get_posterior_covariance_hessian(self, x, arg3):
3656 """get_posterior_covariance_hessian(GaussianProcessInterpolation self, IMP::Floats x, bool arg3) -> IMP::FloatsList"""
3657 return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance_hessian(self, x, arg3)
3661 """get_inputs(GaussianProcessInterpolation self) -> IMP::ModelObjectsTemp"""
3662 return _IMP_isd.GaussianProcessInterpolation_get_inputs(self)
3665 def force_mean_update(self):
3666 """force_mean_update(GaussianProcessInterpolation self)"""
3667 return _IMP_isd.GaussianProcessInterpolation_force_mean_update(self)
3670 def force_covariance_update(self):
3671 """force_covariance_update(GaussianProcessInterpolation self)"""
3672 return _IMP_isd.GaussianProcessInterpolation_force_covariance_update(self)
3675 def get_number_of_m_particles(self):
3676 """get_number_of_m_particles(GaussianProcessInterpolation self) -> unsigned int"""
3677 return _IMP_isd.GaussianProcessInterpolation_get_number_of_m_particles(self)
3680 def get_m_particle_is_optimized(self, i):
3681 """get_m_particle_is_optimized(GaussianProcessInterpolation self, unsigned int i) -> bool"""
3682 return _IMP_isd.GaussianProcessInterpolation_get_m_particle_is_optimized(self, i)
3685 def get_number_of_Omega_particles(self):
3686 """get_number_of_Omega_particles(GaussianProcessInterpolation self) -> unsigned int"""
3687 return _IMP_isd.GaussianProcessInterpolation_get_number_of_Omega_particles(self)
3690 def get_Omega_particle_is_optimized(self, i):
3691 """get_Omega_particle_is_optimized(GaussianProcessInterpolation self, unsigned int i) -> bool"""
3692 return _IMP_isd.GaussianProcessInterpolation_get_Omega_particle_is_optimized(self, i)
3695 def get_data_abscissa(self):
3696 """get_data_abscissa(GaussianProcessInterpolation self) -> IMP::FloatsList"""
3697 return _IMP_isd.GaussianProcessInterpolation_get_data_abscissa(self)
3700 def get_data_mean(self):
3701 """get_data_mean(GaussianProcessInterpolation self) -> IMP::Floats"""
3702 return _IMP_isd.GaussianProcessInterpolation_get_data_mean(self)
3705 def get_data_variance(self):
3706 """get_data_variance(GaussianProcessInterpolation self) -> IMP::FloatsList"""
3707 return _IMP_isd.GaussianProcessInterpolation_get_data_variance(self)
3711 """get_version_info(GaussianProcessInterpolation self) -> VersionInfo"""
3712 return _IMP_isd.GaussianProcessInterpolation_get_version_info(self)
3716 """__str__(GaussianProcessInterpolation self) -> std::string"""
3717 return _IMP_isd.GaussianProcessInterpolation___str__(self)
3721 """__repr__(GaussianProcessInterpolation self) -> std::string"""
3722 return _IMP_isd.GaussianProcessInterpolation___repr__(self)
3725 return _object_cast_to_GaussianProcessInterpolation(o)
3726 get_from = staticmethod(get_from)
3728 GaussianProcessInterpolation_swigregister = _IMP_isd.GaussianProcessInterpolation_swigregister
3729 GaussianProcessInterpolation_swigregister(GaussianProcessInterpolation)
3732 """Proxy of C++ IMP::isd::GaussianProcessInterpolationRestraint class"""
3733 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3735 def __init__(self, m, gpi):
3736 """__init__(IMP::isd::GaussianProcessInterpolationRestraint self, Model m, GaussianProcessInterpolation gpi) -> GaussianProcessInterpolationRestraint"""
3737 this = _IMP_isd.new_GaussianProcessInterpolationRestraint(m, gpi)
3739 self.this.append(this)
3743 def get_probability(self):
3744 """get_probability(GaussianProcessInterpolationRestraint self) -> double"""
3745 return _IMP_isd.GaussianProcessInterpolationRestraint_get_probability(self)
3749 """stats(GaussianProcessInterpolationRestraint self)"""
3750 return _IMP_isd.GaussianProcessInterpolationRestraint_stats(self)
3753 def set_use_cg(self, use, tol):
3754 """set_use_cg(GaussianProcessInterpolationRestraint self, bool use, double tol)"""
3755 return _IMP_isd.GaussianProcessInterpolationRestraint_set_use_cg(self, use, tol)
3758 def get_minus_log_normalization(self):
3759 """get_minus_log_normalization(GaussianProcessInterpolationRestraint self) -> double"""
3760 return _IMP_isd.GaussianProcessInterpolationRestraint_get_minus_log_normalization(self)
3763 def get_minus_exponent(self):
3764 """get_minus_exponent(GaussianProcessInterpolationRestraint self) -> double"""
3765 return _IMP_isd.GaussianProcessInterpolationRestraint_get_minus_exponent(self)
3768 def get_logdet_hessian(self):
3769 """get_logdet_hessian(GaussianProcessInterpolationRestraint self) -> double"""
3770 return _IMP_isd.GaussianProcessInterpolationRestraint_get_logdet_hessian(self)
3773 def get_hessian(self, *args):
3775 get_hessian(GaussianProcessInterpolationRestraint self) -> IMP_Eigen::MatrixXd
3776 get_hessian(GaussianProcessInterpolationRestraint self, bool unused) -> IMP::FloatsList
3778 return _IMP_isd.GaussianProcessInterpolationRestraint_get_hessian(self, *args)
3782 """do_get_inputs(GaussianProcessInterpolationRestraint self) -> IMP::ModelObjectsTemp"""
3783 return _IMP_isd.GaussianProcessInterpolationRestraint_do_get_inputs(self)
3787 """get_version_info(GaussianProcessInterpolationRestraint self) -> VersionInfo"""
3788 return _IMP_isd.GaussianProcessInterpolationRestraint_get_version_info(self)
3792 """__str__(GaussianProcessInterpolationRestraint self) -> std::string"""
3793 return _IMP_isd.GaussianProcessInterpolationRestraint___str__(self)
3797 """__repr__(GaussianProcessInterpolationRestraint self) -> std::string"""
3798 return _IMP_isd.GaussianProcessInterpolationRestraint___repr__(self)
3801 return _object_cast_to_GaussianProcessInterpolationRestraint(o)
3802 get_from = staticmethod(get_from)
3804 GaussianProcessInterpolationRestraint_swigregister = _IMP_isd.GaussianProcessInterpolationRestraint_swigregister
3805 GaussianProcessInterpolationRestraint_swigregister(GaussianProcessInterpolationRestraint)
3808 """Proxy of C++ IMP::isd::MolecularDynamics class"""
3809 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3811 def __init__(self, m=None):
3813 __init__(IMP::isd::MolecularDynamics self, Model m=None) -> MolecularDynamics
3814 __init__(IMP::isd::MolecularDynamics self) -> MolecularDynamics
3816 this = _IMP_isd.new_MolecularDynamics(m)
3818 self.this.append(this)
3823 """__str__(MolecularDynamics self) -> std::string"""
3824 return _IMP_isd.MolecularDynamics___str__(self)
3828 """__repr__(MolecularDynamics self) -> std::string"""
3829 return _IMP_isd.MolecularDynamics___repr__(self)
3832 return _object_cast_to_MolecularDynamics(o)
3833 get_from = staticmethod(get_from)
3835 __swig_destroy__ = _IMP_isd.delete_MolecularDynamics
3836 __del__ =
lambda self:
None
3837 MolecularDynamics_swigregister = _IMP_isd.MolecularDynamics_swigregister
3838 MolecularDynamics_swigregister(MolecularDynamics)
3841 """Proxy of C++ IMP::isd::MolecularDynamicsMover class"""
3842 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3844 def __init__(self, m, nsteps=100, timestep=1.):
3846 __init__(IMP::isd::MolecularDynamicsMover self, Model m, unsigned int nsteps=100, IMP::Float timestep=1.) -> MolecularDynamicsMover
3847 __init__(IMP::isd::MolecularDynamicsMover self, Model m, unsigned int nsteps=100) -> MolecularDynamicsMover
3848 __init__(IMP::isd::MolecularDynamicsMover self, Model m) -> MolecularDynamicsMover
3850 this = _IMP_isd.new_MolecularDynamicsMover(m, nsteps, timestep)
3852 self.this.append(this)
3857 """get_md(MolecularDynamicsMover self) -> MolecularDynamics"""
3858 return _IMP_isd.MolecularDynamicsMover_get_md(self)
3861 def get_number_of_md_steps(self):
3862 """get_number_of_md_steps(MolecularDynamicsMover self) -> unsigned int"""
3863 return _IMP_isd.MolecularDynamicsMover_get_number_of_md_steps(self)
3866 def set_number_of_md_steps(self, nsteps):
3867 """set_number_of_md_steps(MolecularDynamicsMover self, unsigned int nsteps)"""
3868 return _IMP_isd.MolecularDynamicsMover_set_number_of_md_steps(self, nsteps)
3872 """get_version_info(MolecularDynamicsMover self) -> VersionInfo"""
3873 return _IMP_isd.MolecularDynamicsMover_get_version_info(self)
3877 """__str__(MolecularDynamicsMover self) -> std::string"""
3878 return _IMP_isd.MolecularDynamicsMover___str__(self)
3882 """__repr__(MolecularDynamicsMover self) -> std::string"""
3883 return _IMP_isd.MolecularDynamicsMover___repr__(self)
3886 return _object_cast_to_MolecularDynamicsMover(o)
3887 get_from = staticmethod(get_from)
3889 MolecularDynamicsMover_swigregister = _IMP_isd.MolecularDynamicsMover_swigregister
3890 MolecularDynamicsMover_swigregister(MolecularDynamicsMover)
3893 """Proxy of C++ IMP::isd::HybridMonteCarlo class"""
3894 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3896 def __init__(self, m, kT=1.0, steps=100, timestep=1.0, persistence=1):
3898 __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
3899 __init__(IMP::isd::HybridMonteCarlo self, Model m, IMP::Float kT=1.0, unsigned int steps=100, IMP::Float timestep=1.0) -> HybridMonteCarlo
3900 __init__(IMP::isd::HybridMonteCarlo self, Model m, IMP::Float kT=1.0, unsigned int steps=100) -> HybridMonteCarlo
3901 __init__(IMP::isd::HybridMonteCarlo self, Model m, IMP::Float kT=1.0) -> HybridMonteCarlo
3902 __init__(IMP::isd::HybridMonteCarlo self, Model m) -> HybridMonteCarlo
3904 this = _IMP_isd.new_HybridMonteCarlo(m, kT, steps, timestep, persistence)
3906 self.this.append(this)
3910 def get_kinetic_energy(self):
3911 """get_kinetic_energy(HybridMonteCarlo self) -> IMP::Float"""
3912 return _IMP_isd.HybridMonteCarlo_get_kinetic_energy(self)
3915 def get_potential_energy(self):
3916 """get_potential_energy(HybridMonteCarlo self) -> IMP::Float"""
3917 return _IMP_isd.HybridMonteCarlo_get_potential_energy(self)
3920 def get_total_energy(self):
3921 """get_total_energy(HybridMonteCarlo self) -> IMP::Float"""
3922 return _IMP_isd.HybridMonteCarlo_get_total_energy(self)
3925 def set_timestep(self, ts):
3926 """set_timestep(HybridMonteCarlo self, IMP::Float ts)"""
3927 return _IMP_isd.HybridMonteCarlo_set_timestep(self, ts)
3930 def get_timestep(self):
3931 """get_timestep(HybridMonteCarlo self) -> double"""
3932 return _IMP_isd.HybridMonteCarlo_get_timestep(self)
3935 def set_number_of_md_steps(self, nsteps):
3936 """set_number_of_md_steps(HybridMonteCarlo self, unsigned int nsteps)"""
3937 return _IMP_isd.HybridMonteCarlo_set_number_of_md_steps(self, nsteps)
3940 def get_number_of_md_steps(self):
3941 """get_number_of_md_steps(HybridMonteCarlo self) -> unsigned int"""
3942 return _IMP_isd.HybridMonteCarlo_get_number_of_md_steps(self)
3945 def set_persistence(self, persistence=1):
3947 set_persistence(HybridMonteCarlo self, unsigned int persistence=1)
3948 set_persistence(HybridMonteCarlo self)
3950 return _IMP_isd.HybridMonteCarlo_set_persistence(self, persistence)
3953 def get_persistence(self):
3954 """get_persistence(HybridMonteCarlo self) -> unsigned int"""
3955 return _IMP_isd.HybridMonteCarlo_get_persistence(self)
3959 """get_md(HybridMonteCarlo self) -> MolecularDynamics"""
3960 return _IMP_isd.HybridMonteCarlo_get_md(self)
3963 def do_evaluate(self, arg2):
3964 """do_evaluate(HybridMonteCarlo self, IMP::ParticleIndexes const & arg2) -> double"""
3965 return _IMP_isd.HybridMonteCarlo_do_evaluate(self, arg2)
3969 """do_step(HybridMonteCarlo self)"""
3970 return _IMP_isd.HybridMonteCarlo_do_step(self)
3974 """__str__(HybridMonteCarlo self) -> std::string"""
3975 return _IMP_isd.HybridMonteCarlo___str__(self)
3979 """__repr__(HybridMonteCarlo self) -> std::string"""
3980 return _IMP_isd.HybridMonteCarlo___repr__(self)
3983 return _object_cast_to_HybridMonteCarlo(o)
3984 get_from = staticmethod(get_from)
3986 HybridMonteCarlo_swigregister = _IMP_isd.HybridMonteCarlo_swigregister
3987 HybridMonteCarlo_swigregister(HybridMonteCarlo)
3990 """Proxy of C++ IMP::isd::FretData class"""
3991 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3993 def __init__(self, d_term, d_center, d_int, s_grid, R0, Rmin, Rmax, do_limit=True):
3995 __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
3996 __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
3998 this = _IMP_isd.new_FretData(d_term, d_center, d_int, s_grid, R0, Rmin, Rmax, do_limit)
4000 self.this.append(this)
4004 def get_closest(self, vec, value):
4005 """get_closest(FretData self, DistBase vec, double value) -> int"""
4006 return _IMP_isd.FretData_get_closest(self, vec, value)
4009 def get_probability(self, distn, dist, sigma):
4010 """get_probability(FretData self, IMP::Float distn, IMP::Float dist, IMP::Float sigma) -> IMP::Float"""
4011 return _IMP_isd.FretData_get_probability(self, distn, dist, sigma)
4014 def get_kernel(self, dist, R0):
4015 """get_kernel(FretData self, IMP::Float dist, IMP::Float R0) -> IMP::Float"""
4016 return _IMP_isd.FretData_get_kernel(self, dist, R0)
4019 def get_marginal_element(self, d_term, d_center, sigma):
4020 """get_marginal_element(FretData self, IMP::Float d_term, IMP::Float d_center, IMP::Float sigma) -> IMP::FloatPair"""
4021 return _IMP_isd.FretData_get_marginal_element(self, d_term, d_center, sigma)
4025 """get_version_info(FretData self) -> VersionInfo"""
4026 return _IMP_isd.FretData_get_version_info(self)
4030 """__str__(FretData self) -> std::string"""
4031 return _IMP_isd.FretData___str__(self)
4035 """__repr__(FretData self) -> std::string"""
4036 return _IMP_isd.FretData___repr__(self)
4039 return _object_cast_to_FretData(o)
4040 get_from = staticmethod(get_from)
4042 FretData_swigregister = _IMP_isd.FretData_swigregister
4043 FretData_swigregister(FretData)
4046 """Proxy of C++ IMP::isd::FretRestraint class"""
4047 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4049 def __init__(self, *args):
4051 __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
4052 __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
4053 __init__(IMP::isd::FretRestraint self, IMP::Particles pd, IMP::Particles pa, Particle kda, Particle Ida, Particle R0, Particle sigma0, Particle Pbl, double fexp) -> FretRestraint
4054 __init__(IMP::isd::FretRestraint self, Particle kda, Particle Ida, Particle sumFi, Particle sigma0, Particle Pbl, double fexp) -> FretRestraint
4055 __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
4057 this = _IMP_isd.new_FretRestraint(*args)
4059 self.this.append(this)
4063 def get_sumFi(self):
4064 """get_sumFi(FretRestraint self) -> double"""
4065 return _IMP_isd.FretRestraint_get_sumFi(self)
4068 def get_average_sigma(self, fmod):
4069 """get_average_sigma(FretRestraint self, double fmod) -> double"""
4070 return _IMP_isd.FretRestraint_get_average_sigma(self, fmod)
4073 def get_standard_error(self):
4074 """get_standard_error(FretRestraint self) -> double"""
4075 return _IMP_isd.FretRestraint_get_standard_error(self)
4078 def get_model_fretr(self):
4079 """get_model_fretr(FretRestraint self) -> double"""
4080 return _IMP_isd.FretRestraint_get_model_fretr(self)
4083 def get_probability(self):
4084 """get_probability(FretRestraint self) -> double"""
4085 return _IMP_isd.FretRestraint_get_probability(self)
4088 def get_experimental_value(self):
4089 """get_experimental_value(FretRestraint self) -> double"""
4090 return _IMP_isd.FretRestraint_get_experimental_value(self)
4093 def set_experimental_value(self, fexp):
4094 """set_experimental_value(FretRestraint self, double fexp)"""
4095 return _IMP_isd.FretRestraint_set_experimental_value(self, fexp)
4099 """do_get_inputs(FretRestraint self) -> IMP::ModelObjectsTemp"""
4100 return _IMP_isd.FretRestraint_do_get_inputs(self)
4104 """get_version_info(FretRestraint self) -> VersionInfo"""
4105 return _IMP_isd.FretRestraint_get_version_info(self)
4109 """__str__(FretRestraint self) -> std::string"""
4110 return _IMP_isd.FretRestraint___str__(self)
4114 """__repr__(FretRestraint self) -> std::string"""
4115 return _IMP_isd.FretRestraint___repr__(self)
4118 return _object_cast_to_FretRestraint(o)
4119 get_from = staticmethod(get_from)
4121 FretRestraint_swigregister = _IMP_isd.FretRestraint_swigregister
4122 FretRestraint_swigregister(FretRestraint)
4125 """Proxy of C++ IMP::isd::CysteineCrossLinkData class"""
4126 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4128 def __init__(self, fexp, fmod_grid, omega_grid, omega0_grid, prior_type=3):
4130 __init__(IMP::isd::CysteineCrossLinkData self, double fexp, IMP::Floats fmod_grid, IMP::Floats omega_grid, IMP::Floats omega0_grid, int prior_type=3) -> CysteineCrossLinkData
4131 __init__(IMP::isd::CysteineCrossLinkData self, double fexp, IMP::Floats fmod_grid, IMP::Floats omega_grid, IMP::Floats omega0_grid) -> CysteineCrossLinkData
4133 this = _IMP_isd.new_CysteineCrossLinkData(fexp, fmod_grid, omega_grid, omega0_grid, prior_type)
4135 self.this.append(this)
4139 def get_closest(self, vec, value):
4140 """get_closest(CysteineCrossLinkData self, DistBase vec, double value) -> int"""
4141 return _IMP_isd.CysteineCrossLinkData_get_closest(self, vec, value)
4144 def get_omegas(self, fmods, omega0):
4145 """get_omegas(CysteineCrossLinkData self, IMP::Floats fmods, double omega0) -> IMP::Floats"""
4146 return _IMP_isd.CysteineCrossLinkData_get_omegas(self, fmods, omega0)
4149 def get_nonmarginal_elements(self, fexp, fmods, omega):
4150 """get_nonmarginal_elements(CysteineCrossLinkData self, double fexp, IMP::Floats fmods, double omega) -> IMP::Floats"""
4151 return _IMP_isd.CysteineCrossLinkData_get_nonmarginal_elements(self, fexp, fmods, omega)
4154 def get_marginal_elements(self, fmods, omega0):
4155 """get_marginal_elements(CysteineCrossLinkData self, IMP::Floats fmods, double omega0) -> IMP::Floats"""
4156 return _IMP_isd.CysteineCrossLinkData_get_marginal_elements(self, fmods, omega0)
4159 def get_omega(self, fmod, omega0):
4160 """get_omega(CysteineCrossLinkData self, double fmod, double omega0) -> double"""
4161 return _IMP_isd.CysteineCrossLinkData_get_omega(self, fmod, omega0)
4164 def get_standard_deviation(self, fmod, omega0):
4165 """get_standard_deviation(CysteineCrossLinkData self, double fmod, double omega0) -> double"""
4166 return _IMP_isd.CysteineCrossLinkData_get_standard_deviation(self, fmod, omega0)
4169 def get_nonmarginal_element(self, fexp, fmod, omega):
4170 """get_nonmarginal_element(CysteineCrossLinkData self, double fexp, double fmod, double omega) -> double"""
4171 return _IMP_isd.CysteineCrossLinkData_get_nonmarginal_element(self, fexp, fmod, omega)
4174 def get_marginal_element(self, fmod, omega0):
4175 """get_marginal_element(CysteineCrossLinkData self, double fmod, double omega0) -> double"""
4176 return _IMP_isd.CysteineCrossLinkData_get_marginal_element(self, fmod, omega0)
4180 """get_version_info(CysteineCrossLinkData self) -> VersionInfo"""
4181 return _IMP_isd.CysteineCrossLinkData_get_version_info(self)
4185 """__str__(CysteineCrossLinkData self) -> std::string"""
4186 return _IMP_isd.CysteineCrossLinkData___str__(self)
4190 """__repr__(CysteineCrossLinkData self) -> std::string"""
4191 return _IMP_isd.CysteineCrossLinkData___repr__(self)
4194 return _object_cast_to_CysteineCrossLinkData(o)
4195 get_from = staticmethod(get_from)
4197 CysteineCrossLinkData_swigregister = _IMP_isd.CysteineCrossLinkData_swigregister
4198 CysteineCrossLinkData_swigregister(CysteineCrossLinkData)
4201 """Proxy of C++ IMP::isd::CrossLinkData class"""
4202 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4204 def __init__(self, *args):
4206 __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
4207 __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, double lexp_, double don, double doff) -> CrossLinkData
4208 __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, double lexp_, double don) -> CrossLinkData
4209 __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, double lexp_) -> CrossLinkData
4210 __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
4211 __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
4212 __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
4213 __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
4215 this = _IMP_isd.new_CrossLinkData(*args)
4217 self.this.append(this)
4221 def get_closest(self, vec, value):
4222 """get_closest(CrossLinkData self, DistBase vec, double value) -> int"""
4223 return _IMP_isd.CrossLinkData_get_closest(self, vec, value)
4226 def get_omegas(self, sigma, dists):
4227 """get_omegas(CrossLinkData self, double sigma, IMP::Floats dists) -> IMP::Floats"""
4228 return _IMP_isd.CrossLinkData_get_omegas(self, sigma, dists)
4231 def get_omega_prior(self, omega, omega0):
4232 """get_omega_prior(CrossLinkData self, double omega, double omega0) -> double"""
4233 return _IMP_isd.CrossLinkData_get_omega_prior(self, omega, omega0)
4236 def get_nonmarginal_elements(self, sigmai, dists):
4237 """get_nonmarginal_elements(CrossLinkData self, double sigmai, IMP::Floats dists) -> IMP::Floats"""
4238 return _IMP_isd.CrossLinkData_get_nonmarginal_elements(self, sigmai, dists)
4241 def get_marginal_elements(self, sigma, dists):
4242 """get_marginal_elements(CrossLinkData self, double sigma, IMP::Floats dists) -> IMP::Floats"""
4243 return _IMP_isd.CrossLinkData_get_marginal_elements(self, sigma, dists)
4246 def get_marginal_maximum(self, *args):
4248 get_marginal_maximum(CrossLinkData self, double sigma) -> double
4249 get_marginal_maximum(CrossLinkData self) -> double
4251 return _IMP_isd.CrossLinkData_get_marginal_maximum(self, *args)
4255 """get_version_info(CrossLinkData self) -> VersionInfo"""
4256 return _IMP_isd.CrossLinkData_get_version_info(self)
4260 """__str__(CrossLinkData self) -> std::string"""
4261 return _IMP_isd.CrossLinkData___str__(self)
4265 """__repr__(CrossLinkData self) -> std::string"""
4266 return _IMP_isd.CrossLinkData___repr__(self)
4269 return _object_cast_to_CrossLinkData(o)
4270 get_from = staticmethod(get_from)
4272 CrossLinkData_swigregister = _IMP_isd.CrossLinkData_swigregister
4273 CrossLinkData_swigregister(CrossLinkData)
4276 """Proxy of C++ IMP::isd::CysteineCrossLinkRestraint class"""
4277 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4279 def __init__(self, *args):
4281 __init__(IMP::isd::CysteineCrossLinkRestraint self, Model m, _ParticleIndexAdaptor beta, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor epsilon, _ParticleIndexAdaptor weight, CrossLinkData data, double fexp) -> CysteineCrossLinkRestraint
4282 __init__(IMP::isd::CysteineCrossLinkRestraint self, Model m, _ParticleIndexAdaptor beta, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor epsilon, _ParticleIndexAdaptor weight, CrossLinkData data, CysteineCrossLinkData ccldata) -> CysteineCrossLinkRestraint
4283 __init__(IMP::isd::CysteineCrossLinkRestraint self, Particle beta, Particle sigma, Particle epsilon, Particle weight, CrossLinkData data, double fexp) -> CysteineCrossLinkRestraint
4284 __init__(IMP::isd::CysteineCrossLinkRestraint self, Particle beta, Particle sigma, Particle epsilon, Particle weight, CrossLinkData data, CysteineCrossLinkData ccldata) -> CysteineCrossLinkRestraint
4286 this = _IMP_isd.new_CysteineCrossLinkRestraint(*args)
4288 self.this.append(this)
4292 def get_probability(self):
4293 """get_probability(CysteineCrossLinkRestraint self) -> double"""
4294 return _IMP_isd.CysteineCrossLinkRestraint_get_probability(self)
4297 def get_standard_error(self):
4298 """get_standard_error(CysteineCrossLinkRestraint self) -> double"""
4299 return _IMP_isd.CysteineCrossLinkRestraint_get_standard_error(self)
4302 def get_frequencies(self):
4303 """get_frequencies(CysteineCrossLinkRestraint self) -> IMP::Floats"""
4304 return _IMP_isd.CysteineCrossLinkRestraint_get_frequencies(self)
4307 def get_model_frequency(self):
4308 """get_model_frequency(CysteineCrossLinkRestraint self) -> double"""
4309 return _IMP_isd.CysteineCrossLinkRestraint_get_model_frequency(self)
4312 def get_distances(self):
4313 """get_distances(CysteineCrossLinkRestraint self) -> IMP::Floats"""
4314 return _IMP_isd.CysteineCrossLinkRestraint_get_distances(self)
4317 def get_truncated_normalization(self, mean, sigma):
4318 """get_truncated_normalization(CysteineCrossLinkRestraint self, double mean, double sigma) -> double"""
4319 return _IMP_isd.CysteineCrossLinkRestraint_get_truncated_normalization(self, mean, sigma)
4322 def get_normal_pdf(self, mean, sigma, x):
4323 """get_normal_pdf(CysteineCrossLinkRestraint self, double mean, double sigma, double x) -> double"""
4324 return _IMP_isd.CysteineCrossLinkRestraint_get_normal_pdf(self, mean, sigma, x)
4327 def add_contribution(self, *args):
4329 add_contribution(CysteineCrossLinkRestraint self, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2)
4330 add_contribution(CysteineCrossLinkRestraint self, IMP::ParticleIndexes p1, IMP::ParticleIndexes p2)
4332 return _IMP_isd.CysteineCrossLinkRestraint_add_contribution(self, *args)
4335 def get_CB_coordinates(self, ps):
4336 """get_CB_coordinates(CysteineCrossLinkRestraint self, IMP::ParticleIndexes const & ps) -> Vector3D"""
4337 return _IMP_isd.CysteineCrossLinkRestraint_get_CB_coordinates(self, ps)
4340 def get_number_of_contributions(self):
4341 """get_number_of_contributions(CysteineCrossLinkRestraint self) -> unsigned int"""
4342 return _IMP_isd.CysteineCrossLinkRestraint_get_number_of_contributions(self)
4346 """do_get_inputs(CysteineCrossLinkRestraint self) -> IMP::ModelObjectsTemp"""
4347 return _IMP_isd.CysteineCrossLinkRestraint_do_get_inputs(self)
4351 """get_version_info(CysteineCrossLinkRestraint self) -> VersionInfo"""
4352 return _IMP_isd.CysteineCrossLinkRestraint_get_version_info(self)
4356 """__str__(CysteineCrossLinkRestraint self) -> std::string"""
4357 return _IMP_isd.CysteineCrossLinkRestraint___str__(self)
4361 """__repr__(CysteineCrossLinkRestraint self) -> std::string"""
4362 return _IMP_isd.CysteineCrossLinkRestraint___repr__(self)
4365 return _object_cast_to_CysteineCrossLinkRestraint(o)
4366 get_from = staticmethod(get_from)
4368 CysteineCrossLinkRestraint_swigregister = _IMP_isd.CysteineCrossLinkRestraint_swigregister
4369 CysteineCrossLinkRestraint_swigregister(CysteineCrossLinkRestraint)
4372 """Proxy of C++ IMP::isd::WeightMover class"""
4373 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4375 def __init__(self, w, radius):
4376 """__init__(IMP::isd::WeightMover self, Particle w, IMP::Float radius) -> WeightMover"""
4377 this = _IMP_isd.new_WeightMover(w, radius)
4379 self.this.append(this)
4383 def set_radius(self, radius):
4384 """set_radius(WeightMover self, IMP::Float radius)"""
4385 return _IMP_isd.WeightMover_set_radius(self, radius)
4388 def get_radius(self):
4389 """get_radius(WeightMover self) -> IMP::Float"""
4390 return _IMP_isd.WeightMover_get_radius(self)
4394 """get_version_info(WeightMover self) -> VersionInfo"""
4395 return _IMP_isd.WeightMover_get_version_info(self)
4399 """__str__(WeightMover self) -> std::string"""
4400 return _IMP_isd.WeightMover___str__(self)
4404 """__repr__(WeightMover self) -> std::string"""
4405 return _IMP_isd.WeightMover___repr__(self)
4408 return _object_cast_to_WeightMover(o)
4409 get_from = staticmethod(get_from)
4411 WeightMover_swigregister = _IMP_isd.WeightMover_swigregister
4412 WeightMover_swigregister(WeightMover)
4415 """Proxy of C++ IMP::isd::WeightRestraint class"""
4416 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4418 def __init__(self, w, wmin, wmax, kappa):
4419 """__init__(IMP::isd::WeightRestraint self, Particle w, IMP::Float wmin, IMP::Float wmax, IMP::Float kappa) -> WeightRestraint"""
4420 this = _IMP_isd.new_WeightRestraint(w, wmin, wmax, kappa)
4422 self.this.append(this)
4427 """do_get_inputs(WeightRestraint self) -> IMP::ModelObjectsTemp"""
4428 return _IMP_isd.WeightRestraint_do_get_inputs(self)
4432 """get_version_info(WeightRestraint self) -> VersionInfo"""
4433 return _IMP_isd.WeightRestraint_get_version_info(self)
4437 """__str__(WeightRestraint self) -> std::string"""
4438 return _IMP_isd.WeightRestraint___str__(self)
4442 """__repr__(WeightRestraint self) -> std::string"""
4443 return _IMP_isd.WeightRestraint___repr__(self)
4446 return _object_cast_to_WeightRestraint(o)
4447 get_from = staticmethod(get_from)
4449 WeightRestraint_swigregister = _IMP_isd.WeightRestraint_swigregister
4450 WeightRestraint_swigregister(WeightRestraint)
4453 """Proxy of C++ IMP::isd::AtomicCrossLinkMSRestraint class"""
4454 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4456 def __init__(self, *args):
4458 __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
4459 __init__(IMP::isd::AtomicCrossLinkMSRestraint self, Model m, double length, ParticleIndex psi, IMP::Float slope=0.0, bool part_of_log_score=False) -> AtomicCrossLinkMSRestraint
4460 __init__(IMP::isd::AtomicCrossLinkMSRestraint self, Model m, double length, ParticleIndex psi, IMP::Float slope=0.0) -> AtomicCrossLinkMSRestraint
4461 __init__(IMP::isd::AtomicCrossLinkMSRestraint self, Model m, double length, ParticleIndex psi) -> AtomicCrossLinkMSRestraint
4463 this = _IMP_isd.new_AtomicCrossLinkMSRestraint(*args)
4465 self.this.append(this)
4469 def add_contribution(self, ppi, sigmas):
4470 """add_contribution(AtomicCrossLinkMSRestraint self, IMP::ParticleIndexPair const & ppi, IMP::ParticleIndexPair const & sigmas)"""
4471 return _IMP_isd.AtomicCrossLinkMSRestraint_add_contribution(self, ppi, sigmas)
4474 def evaluate_for_contributions(self, c, accum):
4475 """evaluate_for_contributions(AtomicCrossLinkMSRestraint self, IMP::Ints c, DerivativeAccumulator accum) -> IMP::Float"""
4476 return _IMP_isd.AtomicCrossLinkMSRestraint_evaluate_for_contributions(self, c, accum)
4479 def get_number_of_contributions(self):
4480 """get_number_of_contributions(AtomicCrossLinkMSRestraint self) -> unsigned int"""
4481 return _IMP_isd.AtomicCrossLinkMSRestraint_get_number_of_contributions(self)
4484 def get_contribution(self, i):
4485 """get_contribution(AtomicCrossLinkMSRestraint self, int i) -> IMP::ParticleIndexPair"""
4486 return _IMP_isd.AtomicCrossLinkMSRestraint_get_contribution(self, i)
4489 def get_contribution_sigmas(self, i):
4490 """get_contribution_sigmas(AtomicCrossLinkMSRestraint self, int i) -> IMP::ParticleIndexPair"""
4491 return _IMP_isd.AtomicCrossLinkMSRestraint_get_contribution_sigmas(self, i)
4495 """get_psi(AtomicCrossLinkMSRestraint self) -> ParticleIndex"""
4496 return _IMP_isd.AtomicCrossLinkMSRestraint_get_psi(self)
4500 """do_get_inputs(AtomicCrossLinkMSRestraint self) -> IMP::ModelObjectsTemp"""
4501 return _IMP_isd.AtomicCrossLinkMSRestraint_do_get_inputs(self)
4504 def show(self, out):
4505 """show(AtomicCrossLinkMSRestraint self, _ostream out)"""
4506 return _IMP_isd.AtomicCrossLinkMSRestraint_show(self, out)
4509 def set_slope(self, slope):
4510 """set_slope(AtomicCrossLinkMSRestraint self, IMP::Float slope)"""
4511 return _IMP_isd.AtomicCrossLinkMSRestraint_set_slope(self, slope)
4514 def set_part_of_log_score(self, hey):
4515 """set_part_of_log_score(AtomicCrossLinkMSRestraint self, bool hey)"""
4516 return _IMP_isd.AtomicCrossLinkMSRestraint_set_part_of_log_score(self, hey)
4520 """get_version_info(AtomicCrossLinkMSRestraint self) -> VersionInfo"""
4521 return _IMP_isd.AtomicCrossLinkMSRestraint_get_version_info(self)
4525 """__str__(AtomicCrossLinkMSRestraint self) -> std::string"""
4526 return _IMP_isd.AtomicCrossLinkMSRestraint___str__(self)
4530 """__repr__(AtomicCrossLinkMSRestraint self) -> std::string"""
4531 return _IMP_isd.AtomicCrossLinkMSRestraint___repr__(self)
4534 return _object_cast_to_AtomicCrossLinkMSRestraint(o)
4535 get_from = staticmethod(get_from)
4537 AtomicCrossLinkMSRestraint_swigregister = _IMP_isd.AtomicCrossLinkMSRestraint_swigregister
4538 AtomicCrossLinkMSRestraint_swigregister(AtomicCrossLinkMSRestraint)
4541 """Proxy of C++ IMP::isd::GaussianEMRestraint class"""
4542 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4544 def __init__(self, *args):
4546 __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
4547 __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
4548 __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
4549 __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
4551 this = _IMP_isd.new_GaussianEMRestraint(*args)
4553 self.this.append(this)
4557 def get_probability(self):
4558 """get_probability(GaussianEMRestraint self) -> double"""
4559 return _IMP_isd.GaussianEMRestraint_get_probability(self)
4562 def compute_initial_scores(self):
4563 """compute_initial_scores(GaussianEMRestraint self)"""
4564 return _IMP_isd.GaussianEMRestraint_compute_initial_scores(self)
4567 def set_slope(self, s):
4568 """set_slope(GaussianEMRestraint self, IMP::Float s)"""
4569 return _IMP_isd.GaussianEMRestraint_set_slope(self, s)
4572 def get_slope(self):
4573 """get_slope(GaussianEMRestraint self) -> IMP::Float"""
4574 return _IMP_isd.GaussianEMRestraint_get_slope(self)
4578 """do_get_inputs(GaussianEMRestraint self) -> IMP::ModelObjectsTemp"""
4579 return _IMP_isd.GaussianEMRestraint_do_get_inputs(self)
4582 def show(self, out):
4583 """show(GaussianEMRestraint self, _ostream out)"""
4584 return _IMP_isd.GaussianEMRestraint_show(self, out)
4588 """get_version_info(GaussianEMRestraint self) -> VersionInfo"""
4589 return _IMP_isd.GaussianEMRestraint_get_version_info(self)
4593 """__str__(GaussianEMRestraint self) -> std::string"""
4594 return _IMP_isd.GaussianEMRestraint___str__(self)
4598 """__repr__(GaussianEMRestraint self) -> std::string"""
4599 return _IMP_isd.GaussianEMRestraint___repr__(self)
4602 return _object_cast_to_GaussianEMRestraint(o)
4603 get_from = staticmethod(get_from)
4605 GaussianEMRestraint_swigregister = _IMP_isd.GaussianEMRestraint_swigregister
4606 GaussianEMRestraint_swigregister(GaussianEMRestraint)
4609 def sample_points_from_density(dmap_orig, npoints, threshold=0.0):
4611 sample_points_from_density(DensityMap dmap_orig, int npoints, IMP::Float threshold=0.0) -> IMP::FloatsList
4612 sample_points_from_density(DensityMap dmap_orig, int npoints) -> IMP::FloatsList
4614 return _IMP_isd.sample_points_from_density(dmap_orig, npoints, threshold)
4616 def get_module_version():
4617 """get_module_version() -> std::string const"""
4618 return _IMP_isd.get_module_version()
4621 """get_example_path(std::string fname) -> std::string"""
4622 return _IMP_isd.get_example_path(fname)
4625 """get_data_path(std::string fname) -> std::string"""
4626 return _IMP_isd.get_data_path(fname)
4627 from .
import _version_check
4628 _version_check.check_version(get_module_version())
4629 __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()
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
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
Basic utilities for handling cryo-electron microscopy 3D density maps.
IMP::Vector< Weight > Weights
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.