10 from __future__
import print_function, division, absolute_import
15 from sys
import version_info
16 if version_info >= (2, 6, 0):
17 def swig_import_helper():
18 from os.path
import dirname
22 fp, pathname, description = imp.find_module(
'_IMP_isd', [dirname(__file__)])
28 _mod = imp.load_module(
'_IMP_isd', fp, pathname, description)
32 _IMP_isd = swig_import_helper()
33 del swig_import_helper
38 _swig_property = property
43 def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
44 if (name ==
"thisown"):
45 return self.this.own(value)
47 if type(value).__name__ ==
'SwigPyObject':
48 self.__dict__[name] = value
50 method = class_type.__swig_setmethods__.get(name,
None)
52 return method(self, value)
54 object.__setattr__(self, name, value)
56 raise AttributeError(
"You cannot add attributes to %s" % self)
59 def _swig_setattr(self, class_type, name, value):
60 return _swig_setattr_nondynamic(self, class_type, name, value, 0)
63 def _swig_getattr_nondynamic(self, class_type, name, static=1):
64 if (name ==
"thisown"):
65 return self.this.own()
66 method = class_type.__swig_getmethods__.get(name,
None)
70 return object.__getattr__(self, name)
72 raise AttributeError(name)
74 def _swig_getattr(self, class_type, name):
75 return _swig_getattr_nondynamic(self, class_type, name, 0)
80 strthis =
"proxy of " + self.this.__repr__()
83 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
88 except AttributeError:
95 def _swig_setattr_nondynamic_method(set):
96 def set_attr(self, name, value):
97 if (name ==
"thisown"):
98 return self.this.own(value)
99 if hasattr(self, name)
or (name ==
"this"):
100 set(self, name, value)
102 raise AttributeError(
"You cannot add attributes to %s" % self)
108 weakref_proxy = weakref.proxy
110 weakref_proxy =
lambda x: x
113 class IMP_ISD_SwigPyIterator(object):
114 """Proxy of C++ swig::IMP_ISD_SwigPyIterator class"""
115 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
117 def __init__(self, *args, **kwargs):
118 raise AttributeError(
"No constructor defined - class is abstract")
119 __repr__ = _swig_repr
120 __swig_destroy__ = _IMP_isd.delete_IMP_ISD_SwigPyIterator
121 __del__ =
lambda self:
None
124 """value(IMP_ISD_SwigPyIterator self) -> PyObject *"""
125 return _IMP_isd.IMP_ISD_SwigPyIterator_value(self)
130 incr(IMP_ISD_SwigPyIterator self, size_t n=1) -> IMP_ISD_SwigPyIterator
131 incr(IMP_ISD_SwigPyIterator self) -> IMP_ISD_SwigPyIterator
133 return _IMP_isd.IMP_ISD_SwigPyIterator_incr(self, n)
138 decr(IMP_ISD_SwigPyIterator self, size_t n=1) -> IMP_ISD_SwigPyIterator
139 decr(IMP_ISD_SwigPyIterator self) -> IMP_ISD_SwigPyIterator
141 return _IMP_isd.IMP_ISD_SwigPyIterator_decr(self, n)
144 def distance(self, x):
145 """distance(IMP_ISD_SwigPyIterator self, IMP_ISD_SwigPyIterator x) -> ptrdiff_t"""
146 return _IMP_isd.IMP_ISD_SwigPyIterator_distance(self, x)
150 """equal(IMP_ISD_SwigPyIterator self, IMP_ISD_SwigPyIterator x) -> bool"""
151 return _IMP_isd.IMP_ISD_SwigPyIterator_equal(self, x)
155 """copy(IMP_ISD_SwigPyIterator self) -> IMP_ISD_SwigPyIterator"""
156 return _IMP_isd.IMP_ISD_SwigPyIterator_copy(self)
160 """next(IMP_ISD_SwigPyIterator self) -> PyObject *"""
161 return _IMP_isd.IMP_ISD_SwigPyIterator_next(self)
165 """__next__(IMP_ISD_SwigPyIterator self) -> PyObject *"""
166 return _IMP_isd.IMP_ISD_SwigPyIterator___next__(self)
170 """previous(IMP_ISD_SwigPyIterator self) -> PyObject *"""
171 return _IMP_isd.IMP_ISD_SwigPyIterator_previous(self)
174 def advance(self, n):
175 """advance(IMP_ISD_SwigPyIterator self, ptrdiff_t n) -> IMP_ISD_SwigPyIterator"""
176 return _IMP_isd.IMP_ISD_SwigPyIterator_advance(self, n)
180 """__eq__(IMP_ISD_SwigPyIterator self, IMP_ISD_SwigPyIterator x) -> bool"""
181 return _IMP_isd.IMP_ISD_SwigPyIterator___eq__(self, x)
185 """__ne__(IMP_ISD_SwigPyIterator self, IMP_ISD_SwigPyIterator x) -> bool"""
186 return _IMP_isd.IMP_ISD_SwigPyIterator___ne__(self, x)
189 def __iadd__(self, n):
190 """__iadd__(IMP_ISD_SwigPyIterator self, ptrdiff_t n) -> IMP_ISD_SwigPyIterator"""
191 return _IMP_isd.IMP_ISD_SwigPyIterator___iadd__(self, n)
194 def __isub__(self, n):
195 """__isub__(IMP_ISD_SwigPyIterator self, ptrdiff_t n) -> IMP_ISD_SwigPyIterator"""
196 return _IMP_isd.IMP_ISD_SwigPyIterator___isub__(self, n)
199 def __add__(self, n):
200 """__add__(IMP_ISD_SwigPyIterator self, ptrdiff_t n) -> IMP_ISD_SwigPyIterator"""
201 return _IMP_isd.IMP_ISD_SwigPyIterator___add__(self, n)
204 def __sub__(self, *args):
206 __sub__(IMP_ISD_SwigPyIterator self, ptrdiff_t n) -> IMP_ISD_SwigPyIterator
207 __sub__(IMP_ISD_SwigPyIterator self, IMP_ISD_SwigPyIterator x) -> ptrdiff_t
209 return _IMP_isd.IMP_ISD_SwigPyIterator___sub__(self, *args)
213 IMP_ISD_SwigPyIterator_swigregister = _IMP_isd.IMP_ISD_SwigPyIterator_swigregister
214 IMP_ISD_SwigPyIterator_swigregister(IMP_ISD_SwigPyIterator)
223 _IMP_isd.IMP_DEBUG_swigconstant(_IMP_isd)
224 IMP_DEBUG = _IMP_isd.IMP_DEBUG
226 _IMP_isd.IMP_RELEASE_swigconstant(_IMP_isd)
227 IMP_RELEASE = _IMP_isd.IMP_RELEASE
229 _IMP_isd.IMP_SILENT_swigconstant(_IMP_isd)
230 IMP_SILENT = _IMP_isd.IMP_SILENT
232 _IMP_isd.IMP_PROGRESS_swigconstant(_IMP_isd)
233 IMP_PROGRESS = _IMP_isd.IMP_PROGRESS
235 _IMP_isd.IMP_TERSE_swigconstant(_IMP_isd)
236 IMP_TERSE = _IMP_isd.IMP_TERSE
238 _IMP_isd.IMP_VERBOSE_swigconstant(_IMP_isd)
239 IMP_VERBOSE = _IMP_isd.IMP_VERBOSE
241 _IMP_isd.IMP_MEMORY_swigconstant(_IMP_isd)
242 IMP_MEMORY = _IMP_isd.IMP_MEMORY
244 _IMP_isd.IMP_NONE_swigconstant(_IMP_isd)
245 IMP_NONE = _IMP_isd.IMP_NONE
247 _IMP_isd.IMP_USAGE_swigconstant(_IMP_isd)
248 IMP_USAGE = _IMP_isd.IMP_USAGE
250 _IMP_isd.IMP_INTERNAL_swigconstant(_IMP_isd)
251 IMP_INTERNAL = _IMP_isd.IMP_INTERNAL
253 _IMP_isd.IMP_KERNEL_HAS_LOG4CXX_swigconstant(_IMP_isd)
254 IMP_KERNEL_HAS_LOG4CXX = _IMP_isd.IMP_KERNEL_HAS_LOG4CXX
256 _IMP_isd.IMP_COMPILER_HAS_AUTO_swigconstant(_IMP_isd)
257 IMP_COMPILER_HAS_AUTO = _IMP_isd.IMP_COMPILER_HAS_AUTO
259 _IMP_isd.IMP_COMPILER_HAS_DEBUG_VECTOR_swigconstant(_IMP_isd)
260 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_isd.IMP_COMPILER_HAS_DEBUG_VECTOR
262 _IMP_isd.IMP_COMPILER_HAS_UNIQUE_PTR_swigconstant(_IMP_isd)
263 IMP_COMPILER_HAS_UNIQUE_PTR = _IMP_isd.IMP_COMPILER_HAS_UNIQUE_PTR
265 _IMP_isd.IMP_KERNEL_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
266 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_isd.IMP_KERNEL_HAS_BOOST_RANDOM
268 _IMP_isd.IMP_KERNEL_HAS_GPERFTOOLS_swigconstant(_IMP_isd)
269 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_isd.IMP_KERNEL_HAS_GPERFTOOLS
271 _IMP_isd.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER_swigconstant(_IMP_isd)
272 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_isd.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
274 _IMP_isd.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER_swigconstant(_IMP_isd)
275 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_isd.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
277 _IMP_isd.IMPKERNEL_SHOW_WARNINGS_swigconstant(_IMP_isd)
278 IMPKERNEL_SHOW_WARNINGS = _IMP_isd.IMPKERNEL_SHOW_WARNINGS
281 class _DirectorObjects(object):
282 """@internal Simple class to keep references to director objects
283 to prevent premature deletion."""
286 def register(self, obj):
287 """Take a reference to a director object; will only work for
288 refcounted C++ classes"""
289 if hasattr(obj,
'get_ref_count'):
290 self._objects.append(obj)
292 """Only drop our reference and allow cleanup by Python if no other
293 Python references exist (we hold 3 references: one in self._objects,
294 one in x, and one in the argument list for getrefcount) *and* no
295 other C++ references exist (the Python object always holds one)"""
296 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
297 or x.get_ref_count() > 1]
301 def get_object_count(self):
302 """Get number of director objects (useful for testing only)"""
303 return len(self._objects)
304 _director_objects = _DirectorObjects()
306 class _ostream(object):
307 """Proxy of C++ std::ostream class"""
308 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
310 def __init__(self, *args, **kwargs):
311 raise AttributeError(
"No constructor defined")
312 __repr__ = _swig_repr
314 def write(self, osa_buf):
315 """write(_ostream self, char const * osa_buf)"""
316 return _IMP_isd._ostream_write(self, osa_buf)
318 _ostream_swigregister = _IMP_isd._ostream_swigregister
319 _ostream_swigregister(_ostream)
322 _IMP_isd.IMP_COMPILER_HAS_OVERRIDE_swigconstant(_IMP_isd)
323 IMP_COMPILER_HAS_OVERRIDE = _IMP_isd.IMP_COMPILER_HAS_OVERRIDE
325 _IMP_isd.IMP_COMPILER_HAS_FINAL_swigconstant(_IMP_isd)
326 IMP_COMPILER_HAS_FINAL = _IMP_isd.IMP_COMPILER_HAS_FINAL
328 _IMP_isd.IMP_HAS_NOEXCEPT_swigconstant(_IMP_isd)
329 IMP_HAS_NOEXCEPT = _IMP_isd.IMP_HAS_NOEXCEPT
332 _IMP_isd.IMP_CGAL_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_isd)
333 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_CGAL_HAS_BOOST_FILESYSTEM
335 _IMP_isd.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_isd)
336 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
338 _IMP_isd.IMP_CGAL_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
339 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_isd.IMP_CGAL_HAS_BOOST_RANDOM
341 _IMP_isd.IMP_CGAL_HAS_BOOST_SYSTEM_swigconstant(_IMP_isd)
342 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_isd.IMP_CGAL_HAS_BOOST_SYSTEM
344 _IMP_isd.IMPCGAL_SHOW_WARNINGS_swigconstant(_IMP_isd)
345 IMPCGAL_SHOW_WARNINGS = _IMP_isd.IMPCGAL_SHOW_WARNINGS
348 _IMP_isd.IMP_ALGEBRA_HAS_IMP_CGAL_swigconstant(_IMP_isd)
349 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_isd.IMP_ALGEBRA_HAS_IMP_CGAL
351 _IMP_isd.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_isd)
352 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
354 _IMP_isd.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_isd)
355 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
357 _IMP_isd.IMP_ALGEBRA_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
358 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_isd.IMP_ALGEBRA_HAS_BOOST_RANDOM
360 _IMP_isd.IMP_ALGEBRA_HAS_BOOST_SYSTEM_swigconstant(_IMP_isd)
361 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_isd.IMP_ALGEBRA_HAS_BOOST_SYSTEM
363 _IMP_isd.IMP_ALGEBRA_HAS_CGAL_swigconstant(_IMP_isd)
364 IMP_ALGEBRA_HAS_CGAL = _IMP_isd.IMP_ALGEBRA_HAS_CGAL
366 _IMP_isd.IMP_ALGEBRA_HAS_ANN_swigconstant(_IMP_isd)
367 IMP_ALGEBRA_HAS_ANN = _IMP_isd.IMP_ALGEBRA_HAS_ANN
369 _IMP_isd.IMPALGEBRA_SHOW_WARNINGS_swigconstant(_IMP_isd)
370 IMPALGEBRA_SHOW_WARNINGS = _IMP_isd.IMPALGEBRA_SHOW_WARNINGS
373 _IMP_isd.IMP_DISPLAY_HAS_IMP_CGAL_swigconstant(_IMP_isd)
374 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_isd.IMP_DISPLAY_HAS_IMP_CGAL
376 _IMP_isd.IMP_DISPLAY_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_isd)
377 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
379 _IMP_isd.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_isd)
380 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
382 _IMP_isd.IMP_DISPLAY_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
383 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_isd.IMP_DISPLAY_HAS_BOOST_RANDOM
385 _IMP_isd.IMP_DISPLAY_HAS_BOOST_SYSTEM_swigconstant(_IMP_isd)
386 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_isd.IMP_DISPLAY_HAS_BOOST_SYSTEM
388 _IMP_isd.IMP_DISPLAY_HAS_CGAL_swigconstant(_IMP_isd)
389 IMP_DISPLAY_HAS_CGAL = _IMP_isd.IMP_DISPLAY_HAS_CGAL
391 _IMP_isd.IMPDISPLAY_SHOW_WARNINGS_swigconstant(_IMP_isd)
392 IMPDISPLAY_SHOW_WARNINGS = _IMP_isd.IMPDISPLAY_SHOW_WARNINGS
395 _IMP_isd.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL_swigconstant(_IMP_isd)
396 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
398 _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_isd)
399 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
401 _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_isd)
402 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
404 _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
405 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
407 _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM_swigconstant(_IMP_isd)
408 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
410 _IMP_isd.IMP_SCORE_FUNCTOR_HAS_CGAL_swigconstant(_IMP_isd)
411 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_CGAL
413 _IMP_isd.IMP_SCORE_FUNCTOR_HAS_HDF5_swigconstant(_IMP_isd)
414 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_HDF5
416 _IMP_isd.IMPSCOREFUNCTOR_SHOW_WARNINGS_swigconstant(_IMP_isd)
417 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_isd.IMPSCOREFUNCTOR_SHOW_WARNINGS
420 _IMP_isd.IMP_STATISTICS_HAS_IMP_CGAL_swigconstant(_IMP_isd)
421 IMP_STATISTICS_HAS_IMP_CGAL = _IMP_isd.IMP_STATISTICS_HAS_IMP_CGAL
423 _IMP_isd.IMP_STATISTICS_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_isd)
424 IMP_STATISTICS_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_STATISTICS_HAS_BOOST_FILESYSTEM
426 _IMP_isd.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_isd)
427 IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS
429 _IMP_isd.IMP_STATISTICS_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
430 IMP_STATISTICS_HAS_BOOST_RANDOM = _IMP_isd.IMP_STATISTICS_HAS_BOOST_RANDOM
432 _IMP_isd.IMP_STATISTICS_HAS_BOOST_SYSTEM_swigconstant(_IMP_isd)
433 IMP_STATISTICS_HAS_BOOST_SYSTEM = _IMP_isd.IMP_STATISTICS_HAS_BOOST_SYSTEM
435 _IMP_isd.IMP_STATISTICS_HAS_CGAL_swigconstant(_IMP_isd)
436 IMP_STATISTICS_HAS_CGAL = _IMP_isd.IMP_STATISTICS_HAS_CGAL
438 _IMP_isd.IMPSTATISTICS_SHOW_WARNINGS_swigconstant(_IMP_isd)
439 IMPSTATISTICS_SHOW_WARNINGS = _IMP_isd.IMPSTATISTICS_SHOW_WARNINGS
442 _IMP_isd.IMP_CORE_HAS_IMP_CGAL_swigconstant(_IMP_isd)
443 IMP_CORE_HAS_IMP_CGAL = _IMP_isd.IMP_CORE_HAS_IMP_CGAL
445 _IMP_isd.IMP_CORE_HAS_IMP_KERNEL_swigconstant(_IMP_isd)
446 IMP_CORE_HAS_IMP_KERNEL = _IMP_isd.IMP_CORE_HAS_IMP_KERNEL
448 _IMP_isd.IMP_CORE_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_isd)
449 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_CORE_HAS_BOOST_FILESYSTEM
451 _IMP_isd.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_isd)
452 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
454 _IMP_isd.IMP_CORE_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
455 IMP_CORE_HAS_BOOST_RANDOM = _IMP_isd.IMP_CORE_HAS_BOOST_RANDOM
457 _IMP_isd.IMP_CORE_HAS_BOOST_SYSTEM_swigconstant(_IMP_isd)
458 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_isd.IMP_CORE_HAS_BOOST_SYSTEM
460 _IMP_isd.IMP_CORE_HAS_CGAL_swigconstant(_IMP_isd)
461 IMP_CORE_HAS_CGAL = _IMP_isd.IMP_CORE_HAS_CGAL
463 _IMP_isd.IMP_CORE_HAS_HDF5_swigconstant(_IMP_isd)
464 IMP_CORE_HAS_HDF5 = _IMP_isd.IMP_CORE_HAS_HDF5
466 _IMP_isd.IMPCORE_SHOW_WARNINGS_swigconstant(_IMP_isd)
467 IMPCORE_SHOW_WARNINGS = _IMP_isd.IMPCORE_SHOW_WARNINGS
470 _IMP_isd.IMP_CONTAINER_HAS_IMP_ALGEBRA_swigconstant(_IMP_isd)
471 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_isd.IMP_CONTAINER_HAS_IMP_ALGEBRA
473 _IMP_isd.IMP_CONTAINER_HAS_IMP_CGAL_swigconstant(_IMP_isd)
474 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_isd.IMP_CONTAINER_HAS_IMP_CGAL
476 _IMP_isd.IMP_CONTAINER_HAS_IMP_DISPLAY_swigconstant(_IMP_isd)
477 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_isd.IMP_CONTAINER_HAS_IMP_DISPLAY
479 _IMP_isd.IMP_CONTAINER_HAS_IMP_KERNEL_swigconstant(_IMP_isd)
480 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_isd.IMP_CONTAINER_HAS_IMP_KERNEL
482 _IMP_isd.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_isd)
483 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_isd.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
485 _IMP_isd.IMP_CONTAINER_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_isd)
486 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
488 _IMP_isd.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_isd)
489 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
491 _IMP_isd.IMP_CONTAINER_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
492 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_isd.IMP_CONTAINER_HAS_BOOST_RANDOM
494 _IMP_isd.IMP_CONTAINER_HAS_BOOST_SYSTEM_swigconstant(_IMP_isd)
495 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_isd.IMP_CONTAINER_HAS_BOOST_SYSTEM
497 _IMP_isd.IMP_CONTAINER_HAS_CGAL_swigconstant(_IMP_isd)
498 IMP_CONTAINER_HAS_CGAL = _IMP_isd.IMP_CONTAINER_HAS_CGAL
500 _IMP_isd.IMP_CONTAINER_HAS_HDF5_swigconstant(_IMP_isd)
501 IMP_CONTAINER_HAS_HDF5 = _IMP_isd.IMP_CONTAINER_HAS_HDF5
503 _IMP_isd.IMPCONTAINER_SHOW_WARNINGS_swigconstant(_IMP_isd)
504 IMPCONTAINER_SHOW_WARNINGS = _IMP_isd.IMPCONTAINER_SHOW_WARNINGS
507 _IMP_isd.IMP_ATOM_HAS_IMP_CGAL_swigconstant(_IMP_isd)
508 IMP_ATOM_HAS_IMP_CGAL = _IMP_isd.IMP_ATOM_HAS_IMP_CGAL
510 _IMP_isd.IMP_ATOM_HAS_IMP_KERNEL_swigconstant(_IMP_isd)
511 IMP_ATOM_HAS_IMP_KERNEL = _IMP_isd.IMP_ATOM_HAS_IMP_KERNEL
513 _IMP_isd.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_isd)
514 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_isd.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
516 _IMP_isd.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_isd)
517 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
519 _IMP_isd.IMP_ATOM_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
520 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_isd.IMP_ATOM_HAS_BOOST_RANDOM
522 _IMP_isd.IMP_ATOM_HAS_BOOST_REGEX_swigconstant(_IMP_isd)
523 IMP_ATOM_HAS_BOOST_REGEX = _IMP_isd.IMP_ATOM_HAS_BOOST_REGEX
525 _IMP_isd.IMP_ATOM_HAS_BOOST_SYSTEM_swigconstant(_IMP_isd)
526 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_isd.IMP_ATOM_HAS_BOOST_SYSTEM
528 _IMP_isd.IMP_ATOM_HAS_CGAL_swigconstant(_IMP_isd)
529 IMP_ATOM_HAS_CGAL = _IMP_isd.IMP_ATOM_HAS_CGAL
531 _IMP_isd.IMP_ATOM_HAS_HDF5_swigconstant(_IMP_isd)
532 IMP_ATOM_HAS_HDF5 = _IMP_isd.IMP_ATOM_HAS_HDF5
534 _IMP_isd.IMPATOM_SHOW_WARNINGS_swigconstant(_IMP_isd)
535 IMPATOM_SHOW_WARNINGS = _IMP_isd.IMPATOM_SHOW_WARNINGS
537 _IMP_isd.IMP_ATOM_TYPE_INDEX_swigconstant(_IMP_isd)
538 IMP_ATOM_TYPE_INDEX = _IMP_isd.IMP_ATOM_TYPE_INDEX
540 _IMP_isd.IMP_RESIDUE_TYPE_INDEX_swigconstant(_IMP_isd)
541 IMP_RESIDUE_TYPE_INDEX = _IMP_isd.IMP_RESIDUE_TYPE_INDEX
543 _IMP_isd.IMP_HIERARCHY_TYPE_INDEX_swigconstant(_IMP_isd)
544 IMP_HIERARCHY_TYPE_INDEX = _IMP_isd.IMP_HIERARCHY_TYPE_INDEX
547 _IMP_isd.IMP_EM_HAS_IMP_CGAL_swigconstant(_IMP_isd)
548 IMP_EM_HAS_IMP_CGAL = _IMP_isd.IMP_EM_HAS_IMP_CGAL
550 _IMP_isd.IMP_EM_HAS_IMP_CONTAINER_swigconstant(_IMP_isd)
551 IMP_EM_HAS_IMP_CONTAINER = _IMP_isd.IMP_EM_HAS_IMP_CONTAINER
553 _IMP_isd.IMP_EM_HAS_IMP_DISPLAY_swigconstant(_IMP_isd)
554 IMP_EM_HAS_IMP_DISPLAY = _IMP_isd.IMP_EM_HAS_IMP_DISPLAY
556 _IMP_isd.IMP_EM_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_isd)
557 IMP_EM_HAS_IMP_SCORE_FUNCTOR = _IMP_isd.IMP_EM_HAS_IMP_SCORE_FUNCTOR
559 _IMP_isd.IMP_EM_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_isd)
560 IMP_EM_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_EM_HAS_BOOST_FILESYSTEM
562 _IMP_isd.IMP_EM_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_isd)
563 IMP_EM_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_EM_HAS_BOOST_PROGRAMOPTIONS
565 _IMP_isd.IMP_EM_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
566 IMP_EM_HAS_BOOST_RANDOM = _IMP_isd.IMP_EM_HAS_BOOST_RANDOM
568 _IMP_isd.IMP_EM_HAS_BOOST_REGEX_swigconstant(_IMP_isd)
569 IMP_EM_HAS_BOOST_REGEX = _IMP_isd.IMP_EM_HAS_BOOST_REGEX
571 _IMP_isd.IMP_EM_HAS_BOOST_SYSTEM_swigconstant(_IMP_isd)
572 IMP_EM_HAS_BOOST_SYSTEM = _IMP_isd.IMP_EM_HAS_BOOST_SYSTEM
574 _IMP_isd.IMP_EM_HAS_CGAL_swigconstant(_IMP_isd)
575 IMP_EM_HAS_CGAL = _IMP_isd.IMP_EM_HAS_CGAL
577 _IMP_isd.IMP_EM_HAS_HDF5_swigconstant(_IMP_isd)
578 IMP_EM_HAS_HDF5 = _IMP_isd.IMP_EM_HAS_HDF5
580 _IMP_isd.IMPEM_SHOW_WARNINGS_swigconstant(_IMP_isd)
581 IMPEM_SHOW_WARNINGS = _IMP_isd.IMPEM_SHOW_WARNINGS
584 _IMP_isd.IMP_SAXS_HAS_IMP_CGAL_swigconstant(_IMP_isd)
585 IMP_SAXS_HAS_IMP_CGAL = _IMP_isd.IMP_SAXS_HAS_IMP_CGAL
587 _IMP_isd.IMP_SAXS_HAS_IMP_CONTAINER_swigconstant(_IMP_isd)
588 IMP_SAXS_HAS_IMP_CONTAINER = _IMP_isd.IMP_SAXS_HAS_IMP_CONTAINER
590 _IMP_isd.IMP_SAXS_HAS_IMP_DISPLAY_swigconstant(_IMP_isd)
591 IMP_SAXS_HAS_IMP_DISPLAY = _IMP_isd.IMP_SAXS_HAS_IMP_DISPLAY
593 _IMP_isd.IMP_SAXS_HAS_IMP_KERNEL_swigconstant(_IMP_isd)
594 IMP_SAXS_HAS_IMP_KERNEL = _IMP_isd.IMP_SAXS_HAS_IMP_KERNEL
596 _IMP_isd.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_isd)
597 IMP_SAXS_HAS_IMP_SCORE_FUNCTOR = _IMP_isd.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR
599 _IMP_isd.IMP_SAXS_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_isd)
600 IMP_SAXS_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_SAXS_HAS_BOOST_FILESYSTEM
602 _IMP_isd.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_isd)
603 IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS
605 _IMP_isd.IMP_SAXS_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
606 IMP_SAXS_HAS_BOOST_RANDOM = _IMP_isd.IMP_SAXS_HAS_BOOST_RANDOM
608 _IMP_isd.IMP_SAXS_HAS_BOOST_REGEX_swigconstant(_IMP_isd)
609 IMP_SAXS_HAS_BOOST_REGEX = _IMP_isd.IMP_SAXS_HAS_BOOST_REGEX
611 _IMP_isd.IMP_SAXS_HAS_BOOST_SYSTEM_swigconstant(_IMP_isd)
612 IMP_SAXS_HAS_BOOST_SYSTEM = _IMP_isd.IMP_SAXS_HAS_BOOST_SYSTEM
614 _IMP_isd.IMP_SAXS_HAS_CGAL_swigconstant(_IMP_isd)
615 IMP_SAXS_HAS_CGAL = _IMP_isd.IMP_SAXS_HAS_CGAL
617 _IMP_isd.IMP_SAXS_HAS_HDF5_swigconstant(_IMP_isd)
618 IMP_SAXS_HAS_HDF5 = _IMP_isd.IMP_SAXS_HAS_HDF5
620 _IMP_isd.IMPSAXS_SHOW_WARNINGS_swigconstant(_IMP_isd)
621 IMPSAXS_SHOW_WARNINGS = _IMP_isd.IMPSAXS_SHOW_WARNINGS
624 _IMP_isd.IMP_ISD_HAS_IMP_CGAL_swigconstant(_IMP_isd)
625 IMP_ISD_HAS_IMP_CGAL = _IMP_isd.IMP_ISD_HAS_IMP_CGAL
627 _IMP_isd.IMP_ISD_HAS_IMP_DISPLAY_swigconstant(_IMP_isd)
628 IMP_ISD_HAS_IMP_DISPLAY = _IMP_isd.IMP_ISD_HAS_IMP_DISPLAY
630 _IMP_isd.IMP_ISD_HAS_IMP_SCORE_FUNCTOR_swigconstant(_IMP_isd)
631 IMP_ISD_HAS_IMP_SCORE_FUNCTOR = _IMP_isd.IMP_ISD_HAS_IMP_SCORE_FUNCTOR
633 _IMP_isd.IMP_ISD_HAS_BOOST_FILESYSTEM_swigconstant(_IMP_isd)
634 IMP_ISD_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_ISD_HAS_BOOST_FILESYSTEM
636 _IMP_isd.IMP_ISD_HAS_BOOST_PROGRAMOPTIONS_swigconstant(_IMP_isd)
637 IMP_ISD_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_ISD_HAS_BOOST_PROGRAMOPTIONS
639 _IMP_isd.IMP_ISD_HAS_BOOST_RANDOM_swigconstant(_IMP_isd)
640 IMP_ISD_HAS_BOOST_RANDOM = _IMP_isd.IMP_ISD_HAS_BOOST_RANDOM
642 _IMP_isd.IMP_ISD_HAS_BOOST_REGEX_swigconstant(_IMP_isd)
643 IMP_ISD_HAS_BOOST_REGEX = _IMP_isd.IMP_ISD_HAS_BOOST_REGEX
645 _IMP_isd.IMP_ISD_HAS_BOOST_SYSTEM_swigconstant(_IMP_isd)
646 IMP_ISD_HAS_BOOST_SYSTEM = _IMP_isd.IMP_ISD_HAS_BOOST_SYSTEM
648 _IMP_isd.IMP_ISD_HAS_CGAL_swigconstant(_IMP_isd)
649 IMP_ISD_HAS_CGAL = _IMP_isd.IMP_ISD_HAS_CGAL
651 _IMP_isd.IMP_ISD_HAS_HDF5_swigconstant(_IMP_isd)
652 IMP_ISD_HAS_HDF5 = _IMP_isd.IMP_ISD_HAS_HDF5
654 _IMP_isd.IMPISD_SHOW_WARNINGS_swigconstant(_IMP_isd)
655 IMPISD_SHOW_WARNINGS = _IMP_isd.IMPISD_SHOW_WARNINGS
657 _object_types.append(
"ISDRestraint")
660 def _object_cast_to_ISDRestraint(o):
661 """_object_cast_to_ISDRestraint(Object o) -> ISDRestraint"""
662 return _IMP_isd._object_cast_to_ISDRestraint(o)
664 _object_types.append(
"CrossLinkMSRestraint")
667 def _object_cast_to_CrossLinkMSRestraint(o):
668 """_object_cast_to_CrossLinkMSRestraint(Object o) -> CrossLinkMSRestraint"""
669 return _IMP_isd._object_cast_to_CrossLinkMSRestraint(o)
671 _object_types.append(
"LogWrapper")
674 def _object_cast_to_LogWrapper(o):
675 """_object_cast_to_LogWrapper(Object o) -> LogWrapper"""
676 return _IMP_isd._object_cast_to_LogWrapper(o)
678 _object_types.append(
"UniformPrior")
681 def _object_cast_to_UniformPrior(o):
682 """_object_cast_to_UniformPrior(Object o) -> UniformPrior"""
683 return _IMP_isd._object_cast_to_UniformPrior(o)
685 _object_types.append(
"JeffreysRestraint")
688 def _object_cast_to_JeffreysRestraint(o):
689 """_object_cast_to_JeffreysRestraint(Object o) -> JeffreysRestraint"""
690 return _IMP_isd._object_cast_to_JeffreysRestraint(o)
692 _object_types.append(
"vonMisesKappaJeffreysRestraint")
695 def _object_cast_to_vonMisesKappaJeffreysRestraint(o):
696 """_object_cast_to_vonMisesKappaJeffreysRestraint(Object o) -> vonMisesKappaJeffreysRestraint"""
697 return _IMP_isd._object_cast_to_vonMisesKappaJeffreysRestraint(o)
699 _object_types.append(
"vonMisesKappaConjugateRestraint")
702 def _object_cast_to_vonMisesKappaConjugateRestraint(o):
703 """_object_cast_to_vonMisesKappaConjugateRestraint(Object o) -> vonMisesKappaConjugateRestraint"""
704 return _IMP_isd._object_cast_to_vonMisesKappaConjugateRestraint(o)
706 _object_types.append(
"FNormal")
709 def _object_cast_to_FNormal(o):
710 """_object_cast_to_FNormal(Object o) -> FNormal"""
711 return _IMP_isd._object_cast_to_FNormal(o)
713 _object_types.append(
"vonMises")
716 def _object_cast_to_vonMises(o):
717 """_object_cast_to_vonMises(Object o) -> vonMises"""
718 return _IMP_isd._object_cast_to_vonMises(o)
720 _object_types.append(
"vonMisesSufficient")
723 def _object_cast_to_vonMisesSufficient(o):
724 """_object_cast_to_vonMisesSufficient(Object o) -> vonMisesSufficient"""
725 return _IMP_isd._object_cast_to_vonMisesSufficient(o)
728 return [Nuisance(x)
for x
in l]
729 _plural_types.append(
"Nuisances")
732 _value_types.append(
"Nuisance")
736 return [Scale(x)
for x
in l]
737 _plural_types.append(
"Scales")
740 _value_types.append(
"Scale")
743 def Switchings(l=[]):
744 return [Switching(x)
for x
in l]
745 _plural_types.append(
"Switchings")
748 _value_types.append(
"Switching")
751 _object_types.append(
"NOERestraint")
754 def _object_cast_to_NOERestraint(o):
755 """_object_cast_to_NOERestraint(Object o) -> NOERestraint"""
756 return _IMP_isd._object_cast_to_NOERestraint(o)
759 return [Weight(x)
for x
in l]
760 _plural_types.append(
"Weights")
763 _value_types.append(
"Weight")
766 _object_types.append(
"GaussianRestraint")
769 def _object_cast_to_GaussianRestraint(o):
770 """_object_cast_to_GaussianRestraint(Object o) -> GaussianRestraint"""
771 return _IMP_isd._object_cast_to_GaussianRestraint(o)
773 _object_types.append(
"LognormalRestraint")
776 def _object_cast_to_LognormalRestraint(o):
777 """_object_cast_to_LognormalRestraint(Object o) -> LognormalRestraint"""
778 return _IMP_isd._object_cast_to_LognormalRestraint(o)
780 _object_types.append(
"LognormalAmbiguousRestraint")
783 def _object_cast_to_LognormalAmbiguousRestraint(o):
784 """_object_cast_to_LognormalAmbiguousRestraint(Object o) -> LognormalAmbiguousRestraint"""
785 return _IMP_isd._object_cast_to_LognormalAmbiguousRestraint(o)
787 _object_types.append(
"AmbiguousNOERestraint")
790 def _object_cast_to_AmbiguousNOERestraint(o):
791 """_object_cast_to_AmbiguousNOERestraint(Object o) -> AmbiguousNOERestraint"""
792 return _IMP_isd._object_cast_to_AmbiguousNOERestraint(o)
794 _object_types.append(
"MarginalNOERestraint")
797 def _object_cast_to_MarginalNOERestraint(o):
798 """_object_cast_to_MarginalNOERestraint(Object o) -> MarginalNOERestraint"""
799 return _IMP_isd._object_cast_to_MarginalNOERestraint(o)
801 _object_types.append(
"MarginalHBondRestraint")
804 def _object_cast_to_MarginalHBondRestraint(o):
805 """_object_cast_to_MarginalHBondRestraint(Object o) -> MarginalHBondRestraint"""
806 return _IMP_isd._object_cast_to_MarginalHBondRestraint(o)
808 _object_types.append(
"TALOSRestraint")
811 def _object_cast_to_TALOSRestraint(o):
812 """_object_cast_to_TALOSRestraint(Object o) -> TALOSRestraint"""
813 return _IMP_isd._object_cast_to_TALOSRestraint(o)
815 _object_types.append(
"RepulsiveDistancePairScore")
818 def _object_cast_to_RepulsiveDistancePairScore(o):
819 """_object_cast_to_RepulsiveDistancePairScore(Object o) -> RepulsiveDistancePairScore"""
820 return _IMP_isd._object_cast_to_RepulsiveDistancePairScore(o)
822 _object_types.append(
"AmbiguousRestraint")
825 def _object_cast_to_AmbiguousRestraint(o):
826 """_object_cast_to_AmbiguousRestraint(Object o) -> AmbiguousRestraint"""
827 return _IMP_isd._object_cast_to_AmbiguousRestraint(o)
829 _object_types.append(
"UnivariateFunction")
832 def _object_cast_to_UnivariateFunction(o):
833 """_object_cast_to_UnivariateFunction(Object o) -> UnivariateFunction"""
834 return _IMP_isd._object_cast_to_UnivariateFunction(o)
836 _object_types.append(
"Linear1DFunction")
839 def _object_cast_to_Linear1DFunction(o):
840 """_object_cast_to_Linear1DFunction(Object o) -> Linear1DFunction"""
841 return _IMP_isd._object_cast_to_Linear1DFunction(o)
843 _object_types.append(
"GeneralizedGuinierPorodFunction")
846 def _object_cast_to_GeneralizedGuinierPorodFunction(o):
847 """_object_cast_to_GeneralizedGuinierPorodFunction(Object o) -> GeneralizedGuinierPorodFunction"""
848 return _IMP_isd._object_cast_to_GeneralizedGuinierPorodFunction(o)
850 _object_types.append(
"BivariateFunction")
853 def _object_cast_to_BivariateFunction(o):
854 """_object_cast_to_BivariateFunction(Object o) -> BivariateFunction"""
855 return _IMP_isd._object_cast_to_BivariateFunction(o)
857 _object_types.append(
"Covariance1DFunction")
860 def _object_cast_to_Covariance1DFunction(o):
861 """_object_cast_to_Covariance1DFunction(Object o) -> Covariance1DFunction"""
862 return _IMP_isd._object_cast_to_Covariance1DFunction(o)
864 _object_types.append(
"GaussianProcessInterpolation")
867 def _object_cast_to_GaussianProcessInterpolation(o):
868 """_object_cast_to_GaussianProcessInterpolation(Object o) -> GaussianProcessInterpolation"""
869 return _IMP_isd._object_cast_to_GaussianProcessInterpolation(o)
871 _object_types.append(
"GaussianProcessInterpolationRestraint")
874 def _object_cast_to_GaussianProcessInterpolationRestraint(o):
875 """_object_cast_to_GaussianProcessInterpolationRestraint(Object o) -> GaussianProcessInterpolationRestraint"""
876 return _IMP_isd._object_cast_to_GaussianProcessInterpolationRestraint(o)
878 _object_types.append(
"MolecularDynamics")
881 _object_types.append(
"MolecularDynamicsMover")
884 def _object_cast_to_MolecularDynamicsMover(o):
885 """_object_cast_to_MolecularDynamicsMover(Object o) -> MolecularDynamicsMover"""
886 return _IMP_isd._object_cast_to_MolecularDynamicsMover(o)
888 _object_types.append(
"HybridMonteCarlo")
891 def _object_cast_to_HybridMonteCarlo(o):
892 """_object_cast_to_HybridMonteCarlo(Object o) -> HybridMonteCarlo"""
893 return _IMP_isd._object_cast_to_HybridMonteCarlo(o)
895 _object_types.append(
"FretData")
898 def _object_cast_to_FretData(o):
899 """_object_cast_to_FretData(Object o) -> FretData"""
900 return _IMP_isd._object_cast_to_FretData(o)
902 _object_types.append(
"FretRestraint")
905 def _object_cast_to_FretRestraint(o):
906 """_object_cast_to_FretRestraint(Object o) -> FretRestraint"""
907 return _IMP_isd._object_cast_to_FretRestraint(o)
909 _object_types.append(
"CrossLinkData")
912 def _object_cast_to_CrossLinkData(o):
913 """_object_cast_to_CrossLinkData(Object o) -> CrossLinkData"""
914 return _IMP_isd._object_cast_to_CrossLinkData(o)
916 _object_types.append(
"CysteineCrossLinkData")
919 def _object_cast_to_CysteineCrossLinkData(o):
920 """_object_cast_to_CysteineCrossLinkData(Object o) -> CysteineCrossLinkData"""
921 return _IMP_isd._object_cast_to_CysteineCrossLinkData(o)
923 _object_types.append(
"CysteineCrossLinkRestraint")
926 def _object_cast_to_CysteineCrossLinkRestraint(o):
927 """_object_cast_to_CysteineCrossLinkRestraint(Object o) -> CysteineCrossLinkRestraint"""
928 return _IMP_isd._object_cast_to_CysteineCrossLinkRestraint(o)
930 _object_types.append(
"WeightMover")
933 def _object_cast_to_WeightMover(o):
934 """_object_cast_to_WeightMover(Object o) -> WeightMover"""
935 return _IMP_isd._object_cast_to_WeightMover(o)
937 _object_types.append(
"WeightRestraint")
940 def _object_cast_to_WeightRestraint(o):
941 """_object_cast_to_WeightRestraint(Object o) -> WeightRestraint"""
942 return _IMP_isd._object_cast_to_WeightRestraint(o)
944 _object_types.append(
"AtomicCrossLinkMSRestraint")
947 def _object_cast_to_AtomicCrossLinkMSRestraint(o):
948 """_object_cast_to_AtomicCrossLinkMSRestraint(Object o) -> AtomicCrossLinkMSRestraint"""
949 return _IMP_isd._object_cast_to_AtomicCrossLinkMSRestraint(o)
951 _object_types.append(
"GaussianEMRestraint")
954 def _object_cast_to_GaussianEMRestraint(o):
955 """_object_cast_to_GaussianEMRestraint(Object o) -> GaussianEMRestraint"""
956 return _IMP_isd._object_cast_to_GaussianEMRestraint(o)
958 def create_model_and_particles():
963 for i
in range(0,100):
967 d.set_coordinates_are_optimized(
True)
971 """Proxy of C++ IMP::isd::ISDRestraint class"""
972 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
974 def __init__(self, m, name):
975 """__init__(IMP::isd::ISDRestraint self, Model m, std::string name) -> ISDRestraint"""
976 if self.__class__ == ISDRestraint:
980 this = _IMP_isd.new_ISDRestraint(_self, m, name)
982 self.this.append(this)
986 if self.__class__ != ISDRestraint:
987 _director_objects.register(self)
992 def get_probability(self):
993 """get_probability(ISDRestraint self) -> double"""
994 return _IMP_isd.ISDRestraint_get_probability(self)
997 def unprotected_evaluate(self, accum):
998 """unprotected_evaluate(ISDRestraint self, DerivativeAccumulator accum) -> double"""
999 return _IMP_isd.ISDRestraint_unprotected_evaluate(self, accum)
1003 """do_get_inputs(ISDRestraint self) -> IMP::ModelObjectsTemp"""
1004 return _IMP_isd.ISDRestraint_do_get_inputs(self)
1007 def get_type_name(self):
1008 """get_type_name(ISDRestraint self) -> std::string"""
1009 return _IMP_isd.ISDRestraint_get_type_name(self)
1013 """get_version_info(ISDRestraint self) -> VersionInfo"""
1014 return _IMP_isd.ISDRestraint_get_version_info(self)
1018 """__str__(ISDRestraint self) -> std::string"""
1019 return _IMP_isd.ISDRestraint___str__(self)
1023 """__repr__(ISDRestraint self) -> std::string"""
1024 return _IMP_isd.ISDRestraint___repr__(self)
1029 return _object_cast_to_ISDRestraint(o)
1032 def get_type_name(self):
1033 return self.__class__.__name__
1034 def do_show(self, out):
1037 if"IMP::isd" ==
"IMP":
1038 return VersionInfo(self.__module__,
1039 __import__(self.__module__).get_module_version())
1042 __import__(self.__module__).get_module_version())
1045 return _object_cast_to_ISDRestraint(o)
1047 def __disown__(self):
1049 _IMP_isd.disown_ISDRestraint(self)
1050 return weakref_proxy(self)
1053 """do_destroy(ISDRestraint self)"""
1054 return _IMP_isd.ISDRestraint_do_destroy(self)
1057 def handle_set_has_required_score_states(self, arg0):
1058 """handle_set_has_required_score_states(ISDRestraint self, bool arg0)"""
1059 return _IMP_isd.ISDRestraint_handle_set_has_required_score_states(self, arg0)
1063 """do_get_outputs(ISDRestraint self) -> IMP::ModelObjectsTemp"""
1064 return _IMP_isd.ISDRestraint_do_get_outputs(self)
1067 def do_get_interactions(self):
1068 """do_get_interactions(ISDRestraint self) -> IMP::ModelObjectsTemps"""
1069 return _IMP_isd.ISDRestraint_do_get_interactions(self)
1072 def do_create_decomposition(self):
1073 """do_create_decomposition(ISDRestraint self) -> IMP::Restraints"""
1074 return _IMP_isd.ISDRestraint_do_create_decomposition(self)
1077 def do_create_current_decomposition(self):
1078 """do_create_current_decomposition(ISDRestraint self) -> IMP::Restraints"""
1079 return _IMP_isd.ISDRestraint_do_create_current_decomposition(self)
1082 def do_add_score_and_derivatives(self, sa):
1083 """do_add_score_and_derivatives(ISDRestraint self, ScoreAccumulator sa)"""
1084 return _IMP_isd.ISDRestraint_do_add_score_and_derivatives(self, sa)
1086 ISDRestraint_swigregister = _IMP_isd.ISDRestraint_swigregister
1087 ISDRestraint_swigregister(ISDRestraint)
1090 """Proxy of C++ IMP::isd::CrossLinkMSRestraint class"""
1091 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1093 def __init__(self, *args):
1095 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length, bool get_log_prob=False, std::string name) -> CrossLinkMSRestraint
1096 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length, bool get_log_prob=False) -> CrossLinkMSRestraint
1097 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length) -> CrossLinkMSRestraint
1098 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, _ParticleIndexAdaptor lengthi, bool get_log_prob=False, std::string name) -> CrossLinkMSRestraint
1099 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, _ParticleIndexAdaptor lengthi, bool get_log_prob=False) -> CrossLinkMSRestraint
1100 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, _ParticleIndexAdaptor lengthi) -> CrossLinkMSRestraint
1101 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length, double slope, bool get_log_prob=False, std::string name) -> CrossLinkMSRestraint
1102 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length, double slope, bool get_log_prob=False) -> CrossLinkMSRestraint
1103 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length, double slope) -> CrossLinkMSRestraint
1105 this = _IMP_isd.new_CrossLinkMSRestraint(*args)
1107 self.this.append(this)
1111 def add_contribution(self, pps, sigmas, psi):
1112 """add_contribution(CrossLinkMSRestraint self, IMP::ParticleIndexPair const & pps, IMP::ParticleIndexPair const & sigmas, ParticleIndex psi)"""
1113 return _IMP_isd.CrossLinkMSRestraint_add_contribution(self, pps, sigmas, psi)
1116 def get_probability(self):
1117 """get_probability(CrossLinkMSRestraint self) -> double"""
1118 return _IMP_isd.CrossLinkMSRestraint_get_probability(self)
1121 def get_number_of_contributions(self):
1122 """get_number_of_contributions(CrossLinkMSRestraint self) -> unsigned int"""
1123 return _IMP_isd.CrossLinkMSRestraint_get_number_of_contributions(self)
1127 """do_get_inputs(CrossLinkMSRestraint self) -> IMP::ModelObjectsTemp"""
1128 return _IMP_isd.CrossLinkMSRestraint_do_get_inputs(self)
1132 """get_version_info(CrossLinkMSRestraint self) -> VersionInfo"""
1133 return _IMP_isd.CrossLinkMSRestraint_get_version_info(self)
1137 """__str__(CrossLinkMSRestraint self) -> std::string"""
1138 return _IMP_isd.CrossLinkMSRestraint___str__(self)
1142 """__repr__(CrossLinkMSRestraint self) -> std::string"""
1143 return _IMP_isd.CrossLinkMSRestraint___repr__(self)
1148 return _object_cast_to_CrossLinkMSRestraint(o)
1150 CrossLinkMSRestraint_swigregister = _IMP_isd.CrossLinkMSRestraint_swigregister
1151 CrossLinkMSRestraint_swigregister(CrossLinkMSRestraint)
1154 """Proxy of C++ IMP::isd::LogWrapper class"""
1155 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1157 def __init__(self, *args):
1159 __init__(IMP::isd::LogWrapper self, Model m, double weight, std::string const & name) -> LogWrapper
1160 __init__(IMP::isd::LogWrapper self, Model m, double weight) -> LogWrapper
1161 __init__(IMP::isd::LogWrapper self, Model m, std::string const & name) -> LogWrapper
1162 __init__(IMP::isd::LogWrapper self, Model m) -> LogWrapper
1163 __init__(IMP::isd::LogWrapper self, IMP::RestraintsTemp const & rs, double weight, std::string const & name) -> LogWrapper
1164 __init__(IMP::isd::LogWrapper self, IMP::RestraintsTemp const & rs, double weight) -> LogWrapper
1166 this = _IMP_isd.new_LogWrapper(*args)
1168 self.this.append(this)
1173 """do_get_inputs(LogWrapper self) -> IMP::ModelObjectsTemp"""
1174 return _IMP_isd.LogWrapper_do_get_inputs(self)
1178 """get_version_info(LogWrapper self) -> VersionInfo"""
1179 return _IMP_isd.LogWrapper_get_version_info(self)
1182 def remove_restraint(self, d):
1183 """remove_restraint(LogWrapper self, Restraint d)"""
1184 return _IMP_isd.LogWrapper_remove_restraint(self, d)
1187 def remove_restraints(self, d):
1188 """remove_restraints(LogWrapper self, IMP::Restraints const & d)"""
1189 return _IMP_isd.LogWrapper_remove_restraints(self, d)
1192 def set_restraints(self, ps):
1193 """set_restraints(LogWrapper self, IMP::Restraints const & ps)"""
1194 return _IMP_isd.LogWrapper_set_restraints(self, ps)
1197 def set_restraints_order(self, objs):
1198 """set_restraints_order(LogWrapper self, IMP::Restraints const & objs)"""
1199 return _IMP_isd.LogWrapper_set_restraints_order(self, objs)
1203 """add_restraint(LogWrapper self, Restraint obj) -> unsigned int"""
1204 return _IMP_isd.LogWrapper_add_restraint(self, obj)
1208 """add_restraints(LogWrapper self, IMP::Restraints const & objs)"""
1209 return _IMP_isd.LogWrapper_add_restraints(self, objs)
1212 def clear_restraints(self):
1213 """clear_restraints(LogWrapper self)"""
1214 return _IMP_isd.LogWrapper_clear_restraints(self)
1217 def get_number_of_restraints(self):
1218 """get_number_of_restraints(LogWrapper self) -> unsigned int"""
1219 return _IMP_isd.LogWrapper_get_number_of_restraints(self)
1222 def get_has_restraints(self):
1223 """get_has_restraints(LogWrapper self) -> bool"""
1224 return _IMP_isd.LogWrapper_get_has_restraints(self)
1227 def get_restraint(self, i):
1228 """get_restraint(LogWrapper self, unsigned int i) -> Restraint"""
1229 return _IMP_isd.LogWrapper_get_restraint(self, i)
1232 def get_restraints(self):
1233 """get_restraints(LogWrapper self) -> IMP::Restraints"""
1234 return _IMP_isd.LogWrapper_get_restraints(self)
1237 def reserve_restraints(self, sz):
1238 """reserve_restraints(LogWrapper self, unsigned int sz)"""
1239 return _IMP_isd.LogWrapper_reserve_restraints(self, sz)
1243 """__str__(LogWrapper self) -> std::string"""
1244 return _IMP_isd.LogWrapper___str__(self)
1248 """__repr__(LogWrapper self) -> std::string"""
1249 return _IMP_isd.LogWrapper___repr__(self)
1254 return _object_cast_to_LogWrapper(o)
1256 LogWrapper_swigregister = _IMP_isd.LogWrapper_swigregister
1257 LogWrapper_swigregister(LogWrapper)
1260 """Proxy of C++ IMP::isd::UniformPrior class"""
1261 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1263 def __init__(self, *args):
1265 __init__(IMP::isd::UniformPrior self, Model m, Particle p, IMP::Float k, IMP::Float upperb, IMP::Float lowerb, std::string name) -> UniformPrior
1266 __init__(IMP::isd::UniformPrior self, Model m, Particle p, IMP::Float k, IMP::Float upperb, IMP::Float lowerb) -> UniformPrior
1268 this = _IMP_isd.new_UniformPrior(*args)
1270 self.this.append(this)
1275 """do_get_inputs(UniformPrior self) -> IMP::ModelObjectsTemp"""
1276 return _IMP_isd.UniformPrior_do_get_inputs(self)
1280 """get_version_info(UniformPrior self) -> VersionInfo"""
1281 return _IMP_isd.UniformPrior_get_version_info(self)
1284 def get_probability(self):
1285 """get_probability(UniformPrior self) -> double"""
1286 return _IMP_isd.UniformPrior_get_probability(self)
1290 """__str__(UniformPrior self) -> std::string"""
1291 return _IMP_isd.UniformPrior___str__(self)
1295 """__repr__(UniformPrior self) -> std::string"""
1296 return _IMP_isd.UniformPrior___repr__(self)
1301 return _object_cast_to_UniformPrior(o)
1303 UniformPrior_swigregister = _IMP_isd.UniformPrior_swigregister
1304 UniformPrior_swigregister(UniformPrior)
1307 """Proxy of C++ IMP::isd::Nuisance class"""
1308 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1310 def __init__(self, *args):
1312 __init__(IMP::isd::Nuisance self) -> Nuisance
1313 __init__(IMP::isd::Nuisance self, Model m, ParticleIndex id) -> Nuisance
1314 __init__(IMP::isd::Nuisance self, _ParticleAdaptor d) -> Nuisance
1316 this = _IMP_isd.new_Nuisance(*args)
1318 self.this.append(this)
1322 def show(self, *args):
1324 show(Nuisance self, _ostream out)
1327 return _IMP_isd.Nuisance_show(self, *args)
1330 def setup_particle(*args):
1332 setup_particle(Model m, ParticleIndex pi) -> Nuisance
1333 setup_particle(_ParticleAdaptor decorator) -> Nuisance
1334 setup_particle(Model m, ParticleIndex pi, double nuisance) -> Nuisance
1335 setup_particle(_ParticleAdaptor decorator, double nuisance) -> Nuisance
1337 return _IMP_isd.Nuisance_setup_particle(*args)
1339 setup_particle = staticmethod(setup_particle)
1341 def get_is_setup(*args):
1343 get_is_setup(_ParticleAdaptor p) -> bool
1344 get_is_setup(Model m, ParticleIndex pi) -> bool
1346 return _IMP_isd.Nuisance_get_is_setup(*args)
1348 get_is_setup = staticmethod(get_is_setup)
1350 def get_nuisance_key():
1351 """get_nuisance_key() -> FloatKey"""
1352 return _IMP_isd.Nuisance_get_nuisance_key()
1354 get_nuisance_key = staticmethod(get_nuisance_key)
1356 def get_nuisance(self):
1357 """get_nuisance(Nuisance self) -> IMP::Float"""
1358 return _IMP_isd.Nuisance_get_nuisance(self)
1361 def set_nuisance(self, d):
1362 """set_nuisance(Nuisance self, IMP::Float d)"""
1363 return _IMP_isd.Nuisance_set_nuisance(self, d)
1366 def get_has_lower(self):
1367 """get_has_lower(Nuisance self) -> bool"""
1368 return _IMP_isd.Nuisance_get_has_lower(self)
1371 def get_lower(self):
1372 """get_lower(Nuisance self) -> IMP::Float"""
1373 return _IMP_isd.Nuisance_get_lower(self)
1376 def get_lower_key():
1377 """get_lower_key() -> FloatKey"""
1378 return _IMP_isd.Nuisance_get_lower_key()
1380 get_lower_key = staticmethod(get_lower_key)
1382 def get_lower_particle_key():
1383 """get_lower_particle_key() -> ParticleIndexKey"""
1384 return _IMP_isd.Nuisance_get_lower_particle_key()
1386 get_lower_particle_key = staticmethod(get_lower_particle_key)
1388 def set_lower(self, *args):
1390 set_lower(Nuisance self, IMP::Float d)
1391 set_lower(Nuisance self, Particle d)
1393 return _IMP_isd.Nuisance_set_lower(self, *args)
1396 def remove_lower(self):
1397 """remove_lower(Nuisance self)"""
1398 return _IMP_isd.Nuisance_remove_lower(self)
1401 def get_has_upper(self):
1402 """get_has_upper(Nuisance self) -> bool"""
1403 return _IMP_isd.Nuisance_get_has_upper(self)
1406 def get_upper(self):
1407 """get_upper(Nuisance self) -> IMP::Float"""
1408 return _IMP_isd.Nuisance_get_upper(self)
1411 def get_upper_key():
1412 """get_upper_key() -> FloatKey"""
1413 return _IMP_isd.Nuisance_get_upper_key()
1415 get_upper_key = staticmethod(get_upper_key)
1417 def get_upper_particle_key():
1418 """get_upper_particle_key() -> ParticleIndexKey"""
1419 return _IMP_isd.Nuisance_get_upper_particle_key()
1421 get_upper_particle_key = staticmethod(get_upper_particle_key)
1423 def set_upper(self, *args):
1425 set_upper(Nuisance self, IMP::Float d)
1426 set_upper(Nuisance self, Particle d)
1428 return _IMP_isd.Nuisance_set_upper(self, *args)
1431 def remove_upper(self):
1432 """remove_upper(Nuisance self)"""
1433 return _IMP_isd.Nuisance_remove_upper(self)
1436 def get_nuisance_derivative(self):
1437 """get_nuisance_derivative(Nuisance self) -> IMP::Float"""
1438 return _IMP_isd.Nuisance_get_nuisance_derivative(self)
1441 def add_to_nuisance_derivative(self, d, accum):
1442 """add_to_nuisance_derivative(Nuisance self, IMP::Float d, DerivativeAccumulator accum)"""
1443 return _IMP_isd.Nuisance_add_to_nuisance_derivative(self, d, accum)
1446 def get_nuisance_is_optimized(self):
1447 """get_nuisance_is_optimized(Nuisance self) -> bool"""
1448 return _IMP_isd.Nuisance_get_nuisance_is_optimized(self)
1451 def set_nuisance_is_optimized(self, val):
1452 """set_nuisance_is_optimized(Nuisance self, bool val)"""
1453 return _IMP_isd.Nuisance_set_nuisance_is_optimized(self, val)
1456 def add_attribute(self, *args):
1458 add_attribute(Nuisance self, FloatKey k, IMP::Float v, bool opt)
1459 add_attribute(Nuisance self, FloatKey a0, IMP::Float a1)
1460 add_attribute(Nuisance self, IntKey a0, IMP::Int a1)
1461 add_attribute(Nuisance self, StringKey a0, IMP::String a1)
1462 add_attribute(Nuisance self, ParticleIndexKey a0, Particle a1)
1463 add_attribute(Nuisance self, ObjectKey a0, Object a1)
1465 return _IMP_isd.Nuisance_add_attribute(self, *args)
1468 def get_value(self, *args):
1470 get_value(Nuisance self, FloatKey a0) -> IMP::Float
1471 get_value(Nuisance self, IntKey a0) -> IMP::Int
1472 get_value(Nuisance self, StringKey a0) -> IMP::String
1473 get_value(Nuisance self, ParticleIndexKey a0) -> Particle
1474 get_value(Nuisance self, ObjectKey a0) -> Object
1476 return _IMP_isd.Nuisance_get_value(self, *args)
1479 def set_value(self, *args):
1481 set_value(Nuisance self, FloatKey a0, IMP::Float a1)
1482 set_value(Nuisance self, IntKey a0, IMP::Int a1)
1483 set_value(Nuisance self, StringKey a0, IMP::String a1)
1484 set_value(Nuisance self, ParticleIndexKey a0, Particle a1)
1485 set_value(Nuisance self, ObjectKey a0, Object a1)
1487 return _IMP_isd.Nuisance_set_value(self, *args)
1490 def remove_attribute(self, *args):
1492 remove_attribute(Nuisance self, FloatKey a0)
1493 remove_attribute(Nuisance self, IntKey a0)
1494 remove_attribute(Nuisance self, StringKey a0)
1495 remove_attribute(Nuisance self, ParticleIndexKey a0)
1496 remove_attribute(Nuisance self, ObjectKey a0)
1498 return _IMP_isd.Nuisance_remove_attribute(self, *args)
1501 def has_attribute(self, *args):
1503 has_attribute(Nuisance self, FloatKey a0) -> bool
1504 has_attribute(Nuisance self, IntKey a0) -> bool
1505 has_attribute(Nuisance self, StringKey a0) -> bool
1506 has_attribute(Nuisance self, ParticleIndexKey a0) -> bool
1507 has_attribute(Nuisance self, ObjectKey a0) -> bool
1509 return _IMP_isd.Nuisance_has_attribute(self, *args)
1512 def get_derivative(self, a0):
1513 """get_derivative(Nuisance self, FloatKey a0) -> double"""
1514 return _IMP_isd.Nuisance_get_derivative(self, a0)
1518 """get_name(Nuisance self) -> std::string"""
1519 return _IMP_isd.Nuisance_get_name(self)
1523 """clear_caches(Nuisance self)"""
1524 return _IMP_isd.Nuisance_clear_caches(self)
1527 def set_name(self, a0):
1528 """set_name(Nuisance self, std::string a0)"""
1529 return _IMP_isd.Nuisance_set_name(self, a0)
1533 """set_check_level(Nuisance self, IMP::CheckLevel a0)"""
1534 return _IMP_isd.Nuisance_set_check_level(self, a0)
1537 def add_to_derivative(self, a0, a1, a2):
1538 """add_to_derivative(Nuisance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1539 return _IMP_isd.Nuisance_add_to_derivative(self, a0, a1, a2)
1542 def set_is_optimized(self, a0, a1):
1543 """set_is_optimized(Nuisance self, FloatKey a0, bool a1)"""
1544 return _IMP_isd.Nuisance_set_is_optimized(self, a0, a1)
1547 def get_is_optimized(self, a0):
1548 """get_is_optimized(Nuisance self, FloatKey a0) -> bool"""
1549 return _IMP_isd.Nuisance_get_is_optimized(self, a0)
1552 def get_check_level(self):
1553 """get_check_level(Nuisance self) -> IMP::CheckLevel"""
1554 return _IMP_isd.Nuisance_get_check_level(self)
1557 def __eq__(self, *args):
1559 __eq__(Nuisance self, Nuisance o) -> bool
1560 __eq__(Nuisance self, Particle d) -> bool
1562 return _IMP_isd.Nuisance___eq__(self, *args)
1565 def __ne__(self, *args):
1567 __ne__(Nuisance self, Nuisance o) -> bool
1568 __ne__(Nuisance self, Particle d) -> bool
1570 return _IMP_isd.Nuisance___ne__(self, *args)
1573 def __le__(self, *args):
1575 __le__(Nuisance self, Nuisance o) -> bool
1576 __le__(Nuisance self, Particle d) -> bool
1578 return _IMP_isd.Nuisance___le__(self, *args)
1581 def __lt__(self, *args):
1583 __lt__(Nuisance self, Nuisance o) -> bool
1584 __lt__(Nuisance self, Particle d) -> bool
1586 return _IMP_isd.Nuisance___lt__(self, *args)
1589 def __ge__(self, *args):
1591 __ge__(Nuisance self, Nuisance o) -> bool
1592 __ge__(Nuisance self, Particle d) -> bool
1594 return _IMP_isd.Nuisance___ge__(self, *args)
1597 def __gt__(self, *args):
1599 __gt__(Nuisance self, Nuisance o) -> bool
1600 __gt__(Nuisance self, Particle d) -> bool
1602 return _IMP_isd.Nuisance___gt__(self, *args)
1606 """__hash__(Nuisance self) -> std::size_t"""
1607 return _IMP_isd.Nuisance___hash__(self)
1611 """__str__(Nuisance self) -> std::string"""
1612 return _IMP_isd.Nuisance___str__(self)
1616 """__repr__(Nuisance self) -> std::string"""
1617 return _IMP_isd.Nuisance___repr__(self)
1619 __swig_destroy__ = _IMP_isd.delete_Nuisance
1620 __del__ =
lambda self:
None
1621 Nuisance_swigregister = _IMP_isd.Nuisance_swigregister
1622 Nuisance_swigregister(Nuisance)
1624 def Nuisance_setup_particle(*args):
1626 setup_particle(Model m, ParticleIndex pi) -> Nuisance
1627 setup_particle(_ParticleAdaptor decorator) -> Nuisance
1628 setup_particle(Model m, ParticleIndex pi, double nuisance) -> Nuisance
1629 Nuisance_setup_particle(_ParticleAdaptor decorator, double nuisance) -> Nuisance
1631 return _IMP_isd.Nuisance_setup_particle(*args)
1633 def Nuisance_get_is_setup(*args):
1635 get_is_setup(_ParticleAdaptor p) -> bool
1636 Nuisance_get_is_setup(Model m, ParticleIndex pi) -> bool
1638 return _IMP_isd.Nuisance_get_is_setup(*args)
1640 def Nuisance_get_nuisance_key():
1641 """Nuisance_get_nuisance_key() -> FloatKey"""
1642 return _IMP_isd.Nuisance_get_nuisance_key()
1644 def Nuisance_get_lower_key():
1645 """Nuisance_get_lower_key() -> FloatKey"""
1646 return _IMP_isd.Nuisance_get_lower_key()
1648 def Nuisance_get_lower_particle_key():
1649 """Nuisance_get_lower_particle_key() -> ParticleIndexKey"""
1650 return _IMP_isd.Nuisance_get_lower_particle_key()
1652 def Nuisance_get_upper_key():
1653 """Nuisance_get_upper_key() -> FloatKey"""
1654 return _IMP_isd.Nuisance_get_upper_key()
1656 def Nuisance_get_upper_particle_key():
1657 """Nuisance_get_upper_particle_key() -> ParticleIndexKey"""
1658 return _IMP_isd.Nuisance_get_upper_particle_key()
1660 class Scale(Nuisance):
1661 """Proxy of C++ IMP::isd::Scale class"""
1662 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1664 def __init__(self, *args):
1666 __init__(IMP::isd::Scale self) -> Scale
1667 __init__(IMP::isd::Scale self, Model m, ParticleIndex id) -> Scale
1668 __init__(IMP::isd::Scale self, _ParticleAdaptor d) -> Scale
1670 this = _IMP_isd.new_Scale(*args)
1672 self.this.append(this)
1676 def show(self, *args):
1678 show(Scale self, _ostream out)
1681 return _IMP_isd.Scale_show(self, *args)
1684 def setup_particle(*args):
1686 setup_particle(Model m, ParticleIndex pi) -> Scale
1687 setup_particle(_ParticleAdaptor decorator) -> Scale
1688 setup_particle(Model m, ParticleIndex pi, double scale) -> Scale
1689 setup_particle(_ParticleAdaptor decorator, double scale) -> Scale
1691 return _IMP_isd.Scale_setup_particle(*args)
1693 setup_particle = staticmethod(setup_particle)
1695 def get_is_setup(*args):
1697 get_is_setup(_ParticleAdaptor p) -> bool
1698 get_is_setup(Model m, ParticleIndex pi) -> bool
1700 return _IMP_isd.Scale_get_is_setup(*args)
1702 get_is_setup = staticmethod(get_is_setup)
1704 def get_scale(self):
1705 """get_scale(Scale self) -> IMP::Float"""
1706 return _IMP_isd.Scale_get_scale(self)
1709 def set_scale(self, d):
1710 """set_scale(Scale self, IMP::Float d)"""
1711 return _IMP_isd.Scale_set_scale(self, d)
1714 def add_to_scale_derivative(self, d, accum):
1715 """add_to_scale_derivative(Scale self, IMP::Float d, DerivativeAccumulator accum)"""
1716 return _IMP_isd.Scale_add_to_scale_derivative(self, d, accum)
1719 def get_scale_derivative(self):
1720 """get_scale_derivative(Scale self) -> IMP::Float"""
1721 return _IMP_isd.Scale_get_scale_derivative(self)
1724 def get_scale_key():
1725 """get_scale_key() -> FloatKey"""
1726 return _IMP_isd.Scale_get_scale_key()
1728 get_scale_key = staticmethod(get_scale_key)
1730 def get_scale_is_optimized(self):
1731 """get_scale_is_optimized(Scale self) -> bool"""
1732 return _IMP_isd.Scale_get_scale_is_optimized(self)
1735 def set_scale_is_optimized(self, val):
1736 """set_scale_is_optimized(Scale self, bool val)"""
1737 return _IMP_isd.Scale_set_scale_is_optimized(self, val)
1740 def add_attribute(self, *args):
1742 add_attribute(Scale self, FloatKey k, IMP::Float v, bool opt)
1743 add_attribute(Scale self, FloatKey a0, IMP::Float a1)
1744 add_attribute(Scale self, IntKey a0, IMP::Int a1)
1745 add_attribute(Scale self, StringKey a0, IMP::String a1)
1746 add_attribute(Scale self, ParticleIndexKey a0, Particle a1)
1747 add_attribute(Scale self, ObjectKey a0, Object a1)
1749 return _IMP_isd.Scale_add_attribute(self, *args)
1752 def get_value(self, *args):
1754 get_value(Scale self, FloatKey a0) -> IMP::Float
1755 get_value(Scale self, IntKey a0) -> IMP::Int
1756 get_value(Scale self, StringKey a0) -> IMP::String
1757 get_value(Scale self, ParticleIndexKey a0) -> Particle
1758 get_value(Scale self, ObjectKey a0) -> Object
1760 return _IMP_isd.Scale_get_value(self, *args)
1763 def set_value(self, *args):
1765 set_value(Scale self, FloatKey a0, IMP::Float a1)
1766 set_value(Scale self, IntKey a0, IMP::Int a1)
1767 set_value(Scale self, StringKey a0, IMP::String a1)
1768 set_value(Scale self, ParticleIndexKey a0, Particle a1)
1769 set_value(Scale self, ObjectKey a0, Object a1)
1771 return _IMP_isd.Scale_set_value(self, *args)
1774 def remove_attribute(self, *args):
1776 remove_attribute(Scale self, FloatKey a0)
1777 remove_attribute(Scale self, IntKey a0)
1778 remove_attribute(Scale self, StringKey a0)
1779 remove_attribute(Scale self, ParticleIndexKey a0)
1780 remove_attribute(Scale self, ObjectKey a0)
1782 return _IMP_isd.Scale_remove_attribute(self, *args)
1785 def has_attribute(self, *args):
1787 has_attribute(Scale self, FloatKey a0) -> bool
1788 has_attribute(Scale self, IntKey a0) -> bool
1789 has_attribute(Scale self, StringKey a0) -> bool
1790 has_attribute(Scale self, ParticleIndexKey a0) -> bool
1791 has_attribute(Scale self, ObjectKey a0) -> bool
1793 return _IMP_isd.Scale_has_attribute(self, *args)
1796 def get_derivative(self, a0):
1797 """get_derivative(Scale self, FloatKey a0) -> double"""
1798 return _IMP_isd.Scale_get_derivative(self, a0)
1802 """get_name(Scale self) -> std::string"""
1803 return _IMP_isd.Scale_get_name(self)
1807 """clear_caches(Scale self)"""
1808 return _IMP_isd.Scale_clear_caches(self)
1811 def set_name(self, a0):
1812 """set_name(Scale self, std::string a0)"""
1813 return _IMP_isd.Scale_set_name(self, a0)
1817 """set_check_level(Scale self, IMP::CheckLevel a0)"""
1818 return _IMP_isd.Scale_set_check_level(self, a0)
1821 def add_to_derivative(self, a0, a1, a2):
1822 """add_to_derivative(Scale self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1823 return _IMP_isd.Scale_add_to_derivative(self, a0, a1, a2)
1826 def set_is_optimized(self, a0, a1):
1827 """set_is_optimized(Scale self, FloatKey a0, bool a1)"""
1828 return _IMP_isd.Scale_set_is_optimized(self, a0, a1)
1831 def get_is_optimized(self, a0):
1832 """get_is_optimized(Scale self, FloatKey a0) -> bool"""
1833 return _IMP_isd.Scale_get_is_optimized(self, a0)
1836 def get_check_level(self):
1837 """get_check_level(Scale self) -> IMP::CheckLevel"""
1838 return _IMP_isd.Scale_get_check_level(self)
1841 def __eq__(self, *args):
1843 __eq__(Scale self, Scale o) -> bool
1844 __eq__(Scale self, Particle d) -> bool
1846 return _IMP_isd.Scale___eq__(self, *args)
1849 def __ne__(self, *args):
1851 __ne__(Scale self, Scale o) -> bool
1852 __ne__(Scale self, Particle d) -> bool
1854 return _IMP_isd.Scale___ne__(self, *args)
1857 def __le__(self, *args):
1859 __le__(Scale self, Scale o) -> bool
1860 __le__(Scale self, Particle d) -> bool
1862 return _IMP_isd.Scale___le__(self, *args)
1865 def __lt__(self, *args):
1867 __lt__(Scale self, Scale o) -> bool
1868 __lt__(Scale self, Particle d) -> bool
1870 return _IMP_isd.Scale___lt__(self, *args)
1873 def __ge__(self, *args):
1875 __ge__(Scale self, Scale o) -> bool
1876 __ge__(Scale self, Particle d) -> bool
1878 return _IMP_isd.Scale___ge__(self, *args)
1881 def __gt__(self, *args):
1883 __gt__(Scale self, Scale o) -> bool
1884 __gt__(Scale self, Particle d) -> bool
1886 return _IMP_isd.Scale___gt__(self, *args)
1890 """__hash__(Scale self) -> std::size_t"""
1891 return _IMP_isd.Scale___hash__(self)
1895 """__str__(Scale self) -> std::string"""
1896 return _IMP_isd.Scale___str__(self)
1900 """__repr__(Scale self) -> std::string"""
1901 return _IMP_isd.Scale___repr__(self)
1903 __swig_destroy__ = _IMP_isd.delete_Scale
1904 __del__ =
lambda self:
None
1905 Scale_swigregister = _IMP_isd.Scale_swigregister
1906 Scale_swigregister(Scale)
1908 def Scale_setup_particle(*args):
1910 setup_particle(Model m, ParticleIndex pi) -> Scale
1911 setup_particle(_ParticleAdaptor decorator) -> Scale
1912 setup_particle(Model m, ParticleIndex pi, double scale) -> Scale
1913 Scale_setup_particle(_ParticleAdaptor decorator, double scale) -> Scale
1915 return _IMP_isd.Scale_setup_particle(*args)
1917 def Scale_get_is_setup(*args):
1919 get_is_setup(_ParticleAdaptor p) -> bool
1920 Scale_get_is_setup(Model m, ParticleIndex pi) -> bool
1922 return _IMP_isd.Scale_get_is_setup(*args)
1924 def Scale_get_scale_key():
1925 """Scale_get_scale_key() -> FloatKey"""
1926 return _IMP_isd.Scale_get_scale_key()
1928 class Switching(Nuisance):
1929 """Proxy of C++ IMP::isd::Switching class"""
1930 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1932 def __init__(self, *args):
1934 __init__(IMP::isd::Switching self) -> Switching
1935 __init__(IMP::isd::Switching self, Model m, ParticleIndex id) -> Switching
1936 __init__(IMP::isd::Switching self, _ParticleAdaptor d) -> Switching
1938 this = _IMP_isd.new_Switching(*args)
1940 self.this.append(this)
1944 def show(self, *args):
1946 show(Switching self, _ostream out)
1947 show(Switching self)
1949 return _IMP_isd.Switching_show(self, *args)
1952 def setup_particle(*args):
1954 setup_particle(Model m, ParticleIndex pi) -> Switching
1955 setup_particle(_ParticleAdaptor decorator) -> Switching
1956 setup_particle(Model m, ParticleIndex pi, double switching) -> Switching
1957 setup_particle(_ParticleAdaptor decorator, double switching) -> Switching
1959 return _IMP_isd.Switching_setup_particle(*args)
1961 setup_particle = staticmethod(setup_particle)
1963 def get_is_setup(*args):
1965 get_is_setup(_ParticleAdaptor p) -> bool
1966 get_is_setup(Model m, ParticleIndex pi) -> bool
1968 return _IMP_isd.Switching_get_is_setup(*args)
1970 get_is_setup = staticmethod(get_is_setup)
1972 def get_switching(self):
1973 """get_switching(Switching self) -> IMP::Float"""
1974 return _IMP_isd.Switching_get_switching(self)
1977 def set_switching(self, d):
1978 """set_switching(Switching self, IMP::Float d)"""
1979 return _IMP_isd.Switching_set_switching(self, d)
1982 def add_to_switching_derivative(self, d, accum):
1983 """add_to_switching_derivative(Switching self, IMP::Float d, DerivativeAccumulator accum)"""
1984 return _IMP_isd.Switching_add_to_switching_derivative(self, d, accum)
1987 def get_switching_derivative(self):
1988 """get_switching_derivative(Switching self) -> IMP::Float"""
1989 return _IMP_isd.Switching_get_switching_derivative(self)
1992 def get_switching_key():
1993 """get_switching_key() -> FloatKey"""
1994 return _IMP_isd.Switching_get_switching_key()
1996 get_switching_key = staticmethod(get_switching_key)
1998 def get_switching_is_optimized(self):
1999 """get_switching_is_optimized(Switching self) -> bool"""
2000 return _IMP_isd.Switching_get_switching_is_optimized(self)
2003 def set_switching_is_optimized(self, val):
2004 """set_switching_is_optimized(Switching self, bool val)"""
2005 return _IMP_isd.Switching_set_switching_is_optimized(self, val)
2008 def add_attribute(self, *args):
2010 add_attribute(Switching self, FloatKey k, IMP::Float v, bool opt)
2011 add_attribute(Switching self, FloatKey a0, IMP::Float a1)
2012 add_attribute(Switching self, IntKey a0, IMP::Int a1)
2013 add_attribute(Switching self, StringKey a0, IMP::String a1)
2014 add_attribute(Switching self, ParticleIndexKey a0, Particle a1)
2015 add_attribute(Switching self, ObjectKey a0, Object a1)
2017 return _IMP_isd.Switching_add_attribute(self, *args)
2020 def get_value(self, *args):
2022 get_value(Switching self, FloatKey a0) -> IMP::Float
2023 get_value(Switching self, IntKey a0) -> IMP::Int
2024 get_value(Switching self, StringKey a0) -> IMP::String
2025 get_value(Switching self, ParticleIndexKey a0) -> Particle
2026 get_value(Switching self, ObjectKey a0) -> Object
2028 return _IMP_isd.Switching_get_value(self, *args)
2031 def set_value(self, *args):
2033 set_value(Switching self, FloatKey a0, IMP::Float a1)
2034 set_value(Switching self, IntKey a0, IMP::Int a1)
2035 set_value(Switching self, StringKey a0, IMP::String a1)
2036 set_value(Switching self, ParticleIndexKey a0, Particle a1)
2037 set_value(Switching self, ObjectKey a0, Object a1)
2039 return _IMP_isd.Switching_set_value(self, *args)
2042 def remove_attribute(self, *args):
2044 remove_attribute(Switching self, FloatKey a0)
2045 remove_attribute(Switching self, IntKey a0)
2046 remove_attribute(Switching self, StringKey a0)
2047 remove_attribute(Switching self, ParticleIndexKey a0)
2048 remove_attribute(Switching self, ObjectKey a0)
2050 return _IMP_isd.Switching_remove_attribute(self, *args)
2053 def has_attribute(self, *args):
2055 has_attribute(Switching self, FloatKey a0) -> bool
2056 has_attribute(Switching self, IntKey a0) -> bool
2057 has_attribute(Switching self, StringKey a0) -> bool
2058 has_attribute(Switching self, ParticleIndexKey a0) -> bool
2059 has_attribute(Switching self, ObjectKey a0) -> bool
2061 return _IMP_isd.Switching_has_attribute(self, *args)
2064 def get_derivative(self, a0):
2065 """get_derivative(Switching self, FloatKey a0) -> double"""
2066 return _IMP_isd.Switching_get_derivative(self, a0)
2070 """get_name(Switching self) -> std::string"""
2071 return _IMP_isd.Switching_get_name(self)
2075 """clear_caches(Switching self)"""
2076 return _IMP_isd.Switching_clear_caches(self)
2079 def set_name(self, a0):
2080 """set_name(Switching self, std::string a0)"""
2081 return _IMP_isd.Switching_set_name(self, a0)
2085 """set_check_level(Switching self, IMP::CheckLevel a0)"""
2086 return _IMP_isd.Switching_set_check_level(self, a0)
2089 def add_to_derivative(self, a0, a1, a2):
2090 """add_to_derivative(Switching self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2091 return _IMP_isd.Switching_add_to_derivative(self, a0, a1, a2)
2094 def set_is_optimized(self, a0, a1):
2095 """set_is_optimized(Switching self, FloatKey a0, bool a1)"""
2096 return _IMP_isd.Switching_set_is_optimized(self, a0, a1)
2099 def get_is_optimized(self, a0):
2100 """get_is_optimized(Switching self, FloatKey a0) -> bool"""
2101 return _IMP_isd.Switching_get_is_optimized(self, a0)
2104 def get_check_level(self):
2105 """get_check_level(Switching self) -> IMP::CheckLevel"""
2106 return _IMP_isd.Switching_get_check_level(self)
2109 def __eq__(self, *args):
2111 __eq__(Switching self, Switching o) -> bool
2112 __eq__(Switching self, Particle d) -> bool
2114 return _IMP_isd.Switching___eq__(self, *args)
2117 def __ne__(self, *args):
2119 __ne__(Switching self, Switching o) -> bool
2120 __ne__(Switching self, Particle d) -> bool
2122 return _IMP_isd.Switching___ne__(self, *args)
2125 def __le__(self, *args):
2127 __le__(Switching self, Switching o) -> bool
2128 __le__(Switching self, Particle d) -> bool
2130 return _IMP_isd.Switching___le__(self, *args)
2133 def __lt__(self, *args):
2135 __lt__(Switching self, Switching o) -> bool
2136 __lt__(Switching self, Particle d) -> bool
2138 return _IMP_isd.Switching___lt__(self, *args)
2141 def __ge__(self, *args):
2143 __ge__(Switching self, Switching o) -> bool
2144 __ge__(Switching self, Particle d) -> bool
2146 return _IMP_isd.Switching___ge__(self, *args)
2149 def __gt__(self, *args):
2151 __gt__(Switching self, Switching o) -> bool
2152 __gt__(Switching self, Particle d) -> bool
2154 return _IMP_isd.Switching___gt__(self, *args)
2158 """__hash__(Switching self) -> std::size_t"""
2159 return _IMP_isd.Switching___hash__(self)
2163 """__str__(Switching self) -> std::string"""
2164 return _IMP_isd.Switching___str__(self)
2168 """__repr__(Switching self) -> std::string"""
2169 return _IMP_isd.Switching___repr__(self)
2171 __swig_destroy__ = _IMP_isd.delete_Switching
2172 __del__ =
lambda self:
None
2173 Switching_swigregister = _IMP_isd.Switching_swigregister
2174 Switching_swigregister(Switching)
2176 def Switching_setup_particle(*args):
2178 setup_particle(Model m, ParticleIndex pi) -> Switching
2179 setup_particle(_ParticleAdaptor decorator) -> Switching
2180 setup_particle(Model m, ParticleIndex pi, double switching) -> Switching
2181 Switching_setup_particle(_ParticleAdaptor decorator, double switching) -> Switching
2183 return _IMP_isd.Switching_setup_particle(*args)
2185 def Switching_get_is_setup(*args):
2187 get_is_setup(_ParticleAdaptor p) -> bool
2188 Switching_get_is_setup(Model m, ParticleIndex pi) -> bool
2190 return _IMP_isd.Switching_get_is_setup(*args)
2192 def Switching_get_switching_key():
2193 """Switching_get_switching_key() -> FloatKey"""
2194 return _IMP_isd.Switching_get_switching_key()
2197 def __lshift__(*args):
2199 __lshift__(_ostream out, Nuisance n) -> _ostream
2200 __lshift__(_ostream out, Scale n) -> _ostream
2201 __lshift__(_ostream out, Switching n) -> _ostream
2203 return _IMP_isd.__lshift__(*args)
2205 """Proxy of C++ IMP::isd::Weight class"""
2206 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2208 def __init__(self, *args):
2210 __init__(IMP::isd::Weight self) -> Weight
2211 __init__(IMP::isd::Weight self, Model m, ParticleIndex id) -> Weight
2212 __init__(IMP::isd::Weight self, _ParticleAdaptor d) -> Weight
2214 this = _IMP_isd.new_Weight(*args)
2216 self.this.append(this)
2220 def show(self, *args):
2222 show(Weight self, _ostream out)
2225 return _IMP_isd.Weight_show(self, *args)
2228 def setup_particle(*args):
2230 setup_particle(Model m, ParticleIndex pi) -> Weight
2231 setup_particle(_ParticleAdaptor decorator) -> Weight
2233 return _IMP_isd.Weight_setup_particle(*args)
2235 setup_particle = staticmethod(setup_particle)
2237 def get_nstates_key():
2238 """get_nstates_key() -> IntKey"""
2239 return _IMP_isd.Weight_get_nstates_key()
2241 get_nstates_key = staticmethod(get_nstates_key)
2243 def get_weight_key(i):
2244 """get_weight_key(int i) -> FloatKey"""
2245 return _IMP_isd.Weight_get_weight_key(i)
2247 get_weight_key = staticmethod(get_weight_key)
2249 def set_weights(self, w):
2250 """set_weights(Weight self, VectorKD w)"""
2251 return _IMP_isd.Weight_set_weights(self, w)
2254 def add_weight(self):
2255 """add_weight(Weight self)"""
2256 return _IMP_isd.Weight_add_weight(self)
2259 def get_weight(self, i):
2260 """get_weight(Weight self, int i) -> IMP::Float"""
2261 return _IMP_isd.Weight_get_weight(self, i)
2264 def get_weights(self):
2265 """get_weights(Weight self) -> VectorKD"""
2266 return _IMP_isd.Weight_get_weights(self)
2269 def set_weights_are_optimized(self, tf):
2270 """set_weights_are_optimized(Weight self, bool tf)"""
2271 return _IMP_isd.Weight_set_weights_are_optimized(self, tf)
2274 def get_number_of_states(self):
2275 """get_number_of_states(Weight self) -> IMP::Int"""
2276 return _IMP_isd.Weight_get_number_of_states(self)
2279 def get_is_setup(*args):
2281 get_is_setup(_ParticleAdaptor p) -> bool
2282 get_is_setup(Model m, ParticleIndex pi) -> bool
2284 return _IMP_isd.Weight_get_is_setup(*args)
2286 get_is_setup = staticmethod(get_is_setup)
2288 def add_attribute(self, *args):
2290 add_attribute(Weight self, FloatKey k, IMP::Float v, bool opt)
2291 add_attribute(Weight self, FloatKey a0, IMP::Float a1)
2292 add_attribute(Weight self, IntKey a0, IMP::Int a1)
2293 add_attribute(Weight self, StringKey a0, IMP::String a1)
2294 add_attribute(Weight self, ParticleIndexKey a0, Particle a1)
2295 add_attribute(Weight self, ObjectKey a0, Object a1)
2297 return _IMP_isd.Weight_add_attribute(self, *args)
2300 def get_value(self, *args):
2302 get_value(Weight self, FloatKey a0) -> IMP::Float
2303 get_value(Weight self, IntKey a0) -> IMP::Int
2304 get_value(Weight self, StringKey a0) -> IMP::String
2305 get_value(Weight self, ParticleIndexKey a0) -> Particle
2306 get_value(Weight self, ObjectKey a0) -> Object
2308 return _IMP_isd.Weight_get_value(self, *args)
2311 def set_value(self, *args):
2313 set_value(Weight self, FloatKey a0, IMP::Float a1)
2314 set_value(Weight self, IntKey a0, IMP::Int a1)
2315 set_value(Weight self, StringKey a0, IMP::String a1)
2316 set_value(Weight self, ParticleIndexKey a0, Particle a1)
2317 set_value(Weight self, ObjectKey a0, Object a1)
2319 return _IMP_isd.Weight_set_value(self, *args)
2322 def remove_attribute(self, *args):
2324 remove_attribute(Weight self, FloatKey a0)
2325 remove_attribute(Weight self, IntKey a0)
2326 remove_attribute(Weight self, StringKey a0)
2327 remove_attribute(Weight self, ParticleIndexKey a0)
2328 remove_attribute(Weight self, ObjectKey a0)
2330 return _IMP_isd.Weight_remove_attribute(self, *args)
2333 def has_attribute(self, *args):
2335 has_attribute(Weight self, FloatKey a0) -> bool
2336 has_attribute(Weight self, IntKey a0) -> bool
2337 has_attribute(Weight self, StringKey a0) -> bool
2338 has_attribute(Weight self, ParticleIndexKey a0) -> bool
2339 has_attribute(Weight self, ObjectKey a0) -> bool
2341 return _IMP_isd.Weight_has_attribute(self, *args)
2344 def get_derivative(self, a0):
2345 """get_derivative(Weight self, FloatKey a0) -> double"""
2346 return _IMP_isd.Weight_get_derivative(self, a0)
2350 """get_name(Weight self) -> std::string"""
2351 return _IMP_isd.Weight_get_name(self)
2355 """clear_caches(Weight self)"""
2356 return _IMP_isd.Weight_clear_caches(self)
2359 def set_name(self, a0):
2360 """set_name(Weight self, std::string a0)"""
2361 return _IMP_isd.Weight_set_name(self, a0)
2365 """set_check_level(Weight self, IMP::CheckLevel a0)"""
2366 return _IMP_isd.Weight_set_check_level(self, a0)
2369 def add_to_derivative(self, a0, a1, a2):
2370 """add_to_derivative(Weight self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2371 return _IMP_isd.Weight_add_to_derivative(self, a0, a1, a2)
2374 def set_is_optimized(self, a0, a1):
2375 """set_is_optimized(Weight self, FloatKey a0, bool a1)"""
2376 return _IMP_isd.Weight_set_is_optimized(self, a0, a1)
2379 def get_is_optimized(self, a0):
2380 """get_is_optimized(Weight self, FloatKey a0) -> bool"""
2381 return _IMP_isd.Weight_get_is_optimized(self, a0)
2384 def get_check_level(self):
2385 """get_check_level(Weight self) -> IMP::CheckLevel"""
2386 return _IMP_isd.Weight_get_check_level(self)
2389 def __eq__(self, *args):
2391 __eq__(Weight self, Weight o) -> bool
2392 __eq__(Weight self, Particle d) -> bool
2394 return _IMP_isd.Weight___eq__(self, *args)
2397 def __ne__(self, *args):
2399 __ne__(Weight self, Weight o) -> bool
2400 __ne__(Weight self, Particle d) -> bool
2402 return _IMP_isd.Weight___ne__(self, *args)
2405 def __le__(self, *args):
2407 __le__(Weight self, Weight o) -> bool
2408 __le__(Weight self, Particle d) -> bool
2410 return _IMP_isd.Weight___le__(self, *args)
2413 def __lt__(self, *args):
2415 __lt__(Weight self, Weight o) -> bool
2416 __lt__(Weight self, Particle d) -> bool
2418 return _IMP_isd.Weight___lt__(self, *args)
2421 def __ge__(self, *args):
2423 __ge__(Weight self, Weight o) -> bool
2424 __ge__(Weight self, Particle d) -> bool
2426 return _IMP_isd.Weight___ge__(self, *args)
2429 def __gt__(self, *args):
2431 __gt__(Weight self, Weight o) -> bool
2432 __gt__(Weight self, Particle d) -> bool
2434 return _IMP_isd.Weight___gt__(self, *args)
2438 """__hash__(Weight self) -> std::size_t"""
2439 return _IMP_isd.Weight___hash__(self)
2443 """__str__(Weight self) -> std::string"""
2444 return _IMP_isd.Weight___str__(self)
2448 """__repr__(Weight self) -> std::string"""
2449 return _IMP_isd.Weight___repr__(self)
2451 __swig_destroy__ = _IMP_isd.delete_Weight
2452 __del__ =
lambda self:
None
2453 Weight_swigregister = _IMP_isd.Weight_swigregister
2454 Weight_swigregister(Weight)
2456 def Weight_setup_particle(*args):
2458 setup_particle(Model m, ParticleIndex pi) -> Weight
2459 Weight_setup_particle(_ParticleAdaptor decorator) -> Weight
2461 return _IMP_isd.Weight_setup_particle(*args)
2463 def Weight_get_nstates_key():
2464 """Weight_get_nstates_key() -> IntKey"""
2465 return _IMP_isd.Weight_get_nstates_key()
2467 def Weight_get_weight_key(i):
2468 """Weight_get_weight_key(int i) -> FloatKey"""
2469 return _IMP_isd.Weight_get_weight_key(i)
2471 def Weight_get_is_setup(*args):
2473 get_is_setup(_ParticleAdaptor p) -> bool
2474 Weight_get_is_setup(Model m, ParticleIndex pi) -> bool
2476 return _IMP_isd.Weight_get_is_setup(*args)
2479 """Proxy of C++ IMP::isd::JeffreysRestraint class"""
2480 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2482 def __init__(self, m, p):
2483 """__init__(IMP::isd::JeffreysRestraint self, Model m, Particle p) -> JeffreysRestraint"""
2484 this = _IMP_isd.new_JeffreysRestraint(m, p)
2486 self.this.append(this)
2491 """do_get_inputs(JeffreysRestraint self) -> IMP::ModelObjectsTemp"""
2492 return _IMP_isd.JeffreysRestraint_do_get_inputs(self)
2496 """get_version_info(JeffreysRestraint self) -> VersionInfo"""
2497 return _IMP_isd.JeffreysRestraint_get_version_info(self)
2500 def get_probability(self):
2501 """get_probability(JeffreysRestraint self) -> double"""
2502 return _IMP_isd.JeffreysRestraint_get_probability(self)
2506 """__str__(JeffreysRestraint self) -> std::string"""
2507 return _IMP_isd.JeffreysRestraint___str__(self)
2511 """__repr__(JeffreysRestraint self) -> std::string"""
2512 return _IMP_isd.JeffreysRestraint___repr__(self)
2517 return _object_cast_to_JeffreysRestraint(o)
2519 JeffreysRestraint_swigregister = _IMP_isd.JeffreysRestraint_swigregister
2520 JeffreysRestraint_swigregister(JeffreysRestraint)
2523 """Proxy of C++ IMP::isd::FNormal class"""
2524 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2526 def __init__(self, FA, JA, FM, sigma):
2527 """__init__(IMP::isd::FNormal self, double FA, double JA, double FM, double sigma) -> FNormal"""
2528 this = _IMP_isd.new_FNormal(FA, JA, FM, sigma)
2530 self.this.append(this)
2535 """evaluate(FNormal self) -> double"""
2536 return _IMP_isd.FNormal_evaluate(self)
2539 def evaluate_derivative_FA(self):
2540 """evaluate_derivative_FA(FNormal self) -> double"""
2541 return _IMP_isd.FNormal_evaluate_derivative_FA(self)
2544 def evaluate_derivative_JA(self):
2545 """evaluate_derivative_JA(FNormal self) -> double"""
2546 return _IMP_isd.FNormal_evaluate_derivative_JA(self)
2549 def evaluate_derivative_FM(self):
2550 """evaluate_derivative_FM(FNormal self) -> double"""
2551 return _IMP_isd.FNormal_evaluate_derivative_FM(self)
2554 def evaluate_derivative_sigma(self):
2555 """evaluate_derivative_sigma(FNormal self) -> double"""
2556 return _IMP_isd.FNormal_evaluate_derivative_sigma(self)
2560 """density(FNormal self) -> double"""
2561 return _IMP_isd.FNormal_density(self)
2564 def set_FA(self, f):
2565 """set_FA(FNormal self, double f)"""
2566 return _IMP_isd.FNormal_set_FA(self, f)
2569 def set_JA(self, f):
2570 """set_JA(FNormal self, double f)"""
2571 return _IMP_isd.FNormal_set_JA(self, f)
2574 def set_FM(self, f):
2575 """set_FM(FNormal self, double f)"""
2576 return _IMP_isd.FNormal_set_FM(self, f)
2579 def set_sigma(self, f):
2580 """set_sigma(FNormal self, double f)"""
2581 return _IMP_isd.FNormal_set_sigma(self, f)
2585 """get_version_info(FNormal self) -> VersionInfo"""
2586 return _IMP_isd.FNormal_get_version_info(self)
2590 """__str__(FNormal self) -> std::string"""
2591 return _IMP_isd.FNormal___str__(self)
2595 """__repr__(FNormal self) -> std::string"""
2596 return _IMP_isd.FNormal___repr__(self)
2601 return _object_cast_to_FNormal(o)
2603 FNormal_swigregister = _IMP_isd.FNormal_swigregister
2604 FNormal_swigregister(FNormal)
2607 """Proxy of C++ IMP::isd::vonMises class"""
2608 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2610 def __init__(self, x, mu, kappa):
2611 """__init__(IMP::isd::vonMises self, double x, double mu, double kappa) -> vonMises"""
2612 this = _IMP_isd.new_vonMises(x, mu, kappa)
2614 self.this.append(this)
2619 """evaluate(vonMises self) -> double"""
2620 return _IMP_isd.vonMises_evaluate(self)
2623 def evaluate_derivative_x(self):
2624 """evaluate_derivative_x(vonMises self) -> double"""
2625 return _IMP_isd.vonMises_evaluate_derivative_x(self)
2628 def evaluate_derivative_mu(self):
2629 """evaluate_derivative_mu(vonMises self) -> double"""
2630 return _IMP_isd.vonMises_evaluate_derivative_mu(self)
2633 def evaluate_derivative_kappa(self):
2634 """evaluate_derivative_kappa(vonMises self) -> double"""
2635 return _IMP_isd.vonMises_evaluate_derivative_kappa(self)
2639 """density(vonMises self) -> double"""
2640 return _IMP_isd.vonMises_density(self)
2644 """set_x(vonMises self, double x)"""
2645 return _IMP_isd.vonMises_set_x(self, x)
2648 def set_mu(self, mu):
2649 """set_mu(vonMises self, double mu)"""
2650 return _IMP_isd.vonMises_set_mu(self, mu)
2653 def set_kappa(self, kappa):
2654 """set_kappa(vonMises self, double kappa)"""
2655 return _IMP_isd.vonMises_set_kappa(self, kappa)
2659 """get_version_info(vonMises self) -> VersionInfo"""
2660 return _IMP_isd.vonMises_get_version_info(self)
2664 """__str__(vonMises self) -> std::string"""
2665 return _IMP_isd.vonMises___str__(self)
2669 """__repr__(vonMises self) -> std::string"""
2670 return _IMP_isd.vonMises___repr__(self)
2675 return _object_cast_to_vonMises(o)
2677 vonMises_swigregister = _IMP_isd.vonMises_swigregister
2678 vonMises_swigregister(vonMises)
2681 """Proxy of C++ IMP::isd::vonMisesSufficient class"""
2682 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2684 def __init__(self, *args):
2686 __init__(IMP::isd::vonMisesSufficient self, double chi, unsigned int N, double R0, double chiexp, double kappa) -> vonMisesSufficient
2687 __init__(IMP::isd::vonMisesSufficient self, double chi, IMP::Floats obs, double kappa) -> vonMisesSufficient
2689 this = _IMP_isd.new_vonMisesSufficient(*args)
2691 self.this.append(this)
2696 """evaluate(vonMisesSufficient self) -> double"""
2697 return _IMP_isd.vonMisesSufficient_evaluate(self)
2700 def evaluate_derivative_x(self):
2701 """evaluate_derivative_x(vonMisesSufficient self) -> double"""
2702 return _IMP_isd.vonMisesSufficient_evaluate_derivative_x(self)
2705 def evaluate_derivative_kappa(self):
2706 """evaluate_derivative_kappa(vonMisesSufficient self) -> double"""
2707 return _IMP_isd.vonMisesSufficient_evaluate_derivative_kappa(self)
2711 """density(vonMisesSufficient self) -> double"""
2712 return _IMP_isd.vonMisesSufficient_density(self)
2716 """get_x(vonMisesSufficient self) -> double"""
2717 return _IMP_isd.vonMisesSufficient_get_x(self)
2721 """get_R0(vonMisesSufficient self) -> double"""
2722 return _IMP_isd.vonMisesSufficient_get_R0(self)
2725 def get_chiexp(self):
2726 """get_chiexp(vonMisesSufficient self) -> double"""
2727 return _IMP_isd.vonMisesSufficient_get_chiexp(self)
2731 """get_N(vonMisesSufficient self) -> double"""
2732 return _IMP_isd.vonMisesSufficient_get_N(self)
2735 def get_kappa(self):
2736 """get_kappa(vonMisesSufficient self) -> double"""
2737 return _IMP_isd.vonMisesSufficient_get_kappa(self)
2741 """set_x(vonMisesSufficient self, double x)"""
2742 return _IMP_isd.vonMisesSufficient_set_x(self, x)
2745 def set_R0(self, R0):
2746 """set_R0(vonMisesSufficient self, double R0)"""
2747 return _IMP_isd.vonMisesSufficient_set_R0(self, R0)
2750 def set_chiexp(self, chiexp):
2751 """set_chiexp(vonMisesSufficient self, double chiexp)"""
2752 return _IMP_isd.vonMisesSufficient_set_chiexp(self, chiexp)
2756 """set_N(vonMisesSufficient self, unsigned int N)"""
2757 return _IMP_isd.vonMisesSufficient_set_N(self, N)
2760 def set_kappa(self, kappa):
2761 """set_kappa(vonMisesSufficient self, double kappa)"""
2762 return _IMP_isd.vonMisesSufficient_set_kappa(self, kappa)
2765 def get_sufficient_statistics(data):
2766 """get_sufficient_statistics(IMP::Floats data) -> IMP::Floats"""
2767 return _IMP_isd.vonMisesSufficient_get_sufficient_statistics(data)
2769 get_sufficient_statistics = staticmethod(get_sufficient_statistics)
2772 """get_version_info(vonMisesSufficient self) -> VersionInfo"""
2773 return _IMP_isd.vonMisesSufficient_get_version_info(self)
2777 """__str__(vonMisesSufficient self) -> std::string"""
2778 return _IMP_isd.vonMisesSufficient___str__(self)
2782 """__repr__(vonMisesSufficient self) -> std::string"""
2783 return _IMP_isd.vonMisesSufficient___repr__(self)
2788 return _object_cast_to_vonMisesSufficient(o)
2790 vonMisesSufficient_swigregister = _IMP_isd.vonMisesSufficient_swigregister
2791 vonMisesSufficient_swigregister(vonMisesSufficient)
2793 def vonMisesSufficient_get_sufficient_statistics(data):
2794 """vonMisesSufficient_get_sufficient_statistics(IMP::Floats data) -> IMP::Floats"""
2795 return _IMP_isd.vonMisesSufficient_get_sufficient_statistics(data)
2798 """Proxy of C++ IMP::isd::vonMisesKappaJeffreysRestraint class"""
2799 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2801 def __init__(self, m, kappa):
2802 """__init__(IMP::isd::vonMisesKappaJeffreysRestraint self, Model m, Particle kappa) -> vonMisesKappaJeffreysRestraint"""
2803 this = _IMP_isd.new_vonMisesKappaJeffreysRestraint(m, kappa)
2805 self.this.append(this)
2810 """do_get_inputs(vonMisesKappaJeffreysRestraint self) -> IMP::ModelObjectsTemp"""
2811 return _IMP_isd.vonMisesKappaJeffreysRestraint_do_get_inputs(self)
2815 """get_version_info(vonMisesKappaJeffreysRestraint self) -> VersionInfo"""
2816 return _IMP_isd.vonMisesKappaJeffreysRestraint_get_version_info(self)
2819 def get_probability(self):
2820 """get_probability(vonMisesKappaJeffreysRestraint self) -> double"""
2821 return _IMP_isd.vonMisesKappaJeffreysRestraint_get_probability(self)
2825 """__str__(vonMisesKappaJeffreysRestraint self) -> std::string"""
2826 return _IMP_isd.vonMisesKappaJeffreysRestraint___str__(self)
2830 """__repr__(vonMisesKappaJeffreysRestraint self) -> std::string"""
2831 return _IMP_isd.vonMisesKappaJeffreysRestraint___repr__(self)
2836 return _object_cast_to_vonMisesKappaJeffreysRestraint(o)
2838 vonMisesKappaJeffreysRestraint_swigregister = _IMP_isd.vonMisesKappaJeffreysRestraint_swigregister
2839 vonMisesKappaJeffreysRestraint_swigregister(vonMisesKappaJeffreysRestraint)
2842 """Proxy of C++ IMP::isd::vonMisesKappaConjugateRestraint class"""
2843 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2845 def __init__(self, m, kappa, c=10.0, R0=0.0):
2847 __init__(IMP::isd::vonMisesKappaConjugateRestraint self, Model m, Particle kappa, double c=10.0, double R0=0.0) -> vonMisesKappaConjugateRestraint
2848 __init__(IMP::isd::vonMisesKappaConjugateRestraint self, Model m, Particle kappa, double c=10.0) -> vonMisesKappaConjugateRestraint
2849 __init__(IMP::isd::vonMisesKappaConjugateRestraint self, Model m, Particle kappa) -> vonMisesKappaConjugateRestraint
2851 this = _IMP_isd.new_vonMisesKappaConjugateRestraint(m, kappa, c, R0)
2853 self.this.append(this)
2858 """do_get_inputs(vonMisesKappaConjugateRestraint self) -> IMP::ModelObjectsTemp"""
2859 return _IMP_isd.vonMisesKappaConjugateRestraint_do_get_inputs(self)
2863 """get_version_info(vonMisesKappaConjugateRestraint self) -> VersionInfo"""
2864 return _IMP_isd.vonMisesKappaConjugateRestraint_get_version_info(self)
2867 def get_probability(self):
2868 """get_probability(vonMisesKappaConjugateRestraint self) -> double"""
2869 return _IMP_isd.vonMisesKappaConjugateRestraint_get_probability(self)
2873 """__str__(vonMisesKappaConjugateRestraint self) -> std::string"""
2874 return _IMP_isd.vonMisesKappaConjugateRestraint___str__(self)
2878 """__repr__(vonMisesKappaConjugateRestraint self) -> std::string"""
2879 return _IMP_isd.vonMisesKappaConjugateRestraint___repr__(self)
2884 return _object_cast_to_vonMisesKappaConjugateRestraint(o)
2886 vonMisesKappaConjugateRestraint_swigregister = _IMP_isd.vonMisesKappaConjugateRestraint_swigregister
2887 vonMisesKappaConjugateRestraint_swigregister(vonMisesKappaConjugateRestraint)
2890 """Proxy of C++ IMP::isd::NOERestraint class"""
2891 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2893 def __init__(self, m, p0, p1, sigma, gamma, Iexp):
2894 """__init__(IMP::isd::NOERestraint self, Model m, Particle p0, Particle p1, Particle sigma, Particle gamma, double Iexp) -> NOERestraint"""
2895 this = _IMP_isd.new_NOERestraint(m, p0, p1, sigma, gamma, Iexp)
2897 self.this.append(this)
2901 def get_probability(self):
2902 """get_probability(NOERestraint self) -> double"""
2903 return _IMP_isd.NOERestraint_get_probability(self)
2907 """get_chi(NOERestraint self) -> double"""
2908 return _IMP_isd.NOERestraint_get_chi(self)
2912 """do_get_inputs(NOERestraint self) -> IMP::ModelObjectsTemp"""
2913 return _IMP_isd.NOERestraint_do_get_inputs(self)
2917 """get_version_info(NOERestraint self) -> VersionInfo"""
2918 return _IMP_isd.NOERestraint_get_version_info(self)
2922 """__str__(NOERestraint self) -> std::string"""
2923 return _IMP_isd.NOERestraint___str__(self)
2927 """__repr__(NOERestraint self) -> std::string"""
2928 return _IMP_isd.NOERestraint___repr__(self)
2933 return _object_cast_to_NOERestraint(o)
2935 NOERestraint_swigregister = _IMP_isd.NOERestraint_swigregister
2936 NOERestraint_swigregister(NOERestraint)
2939 """Proxy of C++ IMP::isd::GaussianRestraint class"""
2940 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2942 def __init__(self, *args):
2944 __init__(IMP::isd::GaussianRestraint self, Particle x, Particle mu, Particle sigma) -> GaussianRestraint
2945 __init__(IMP::isd::GaussianRestraint self, double x, Particle mu, Particle sigma) -> GaussianRestraint
2946 __init__(IMP::isd::GaussianRestraint self, Particle x, double mu, Particle sigma) -> GaussianRestraint
2947 __init__(IMP::isd::GaussianRestraint self, Particle x, Particle mu, double sigma) -> GaussianRestraint
2948 __init__(IMP::isd::GaussianRestraint self, double x, double mu, Particle sigma) -> GaussianRestraint
2949 __init__(IMP::isd::GaussianRestraint self, Particle x, double mu, double sigma) -> GaussianRestraint
2950 __init__(IMP::isd::GaussianRestraint self, double x, Particle mu, double sigma) -> GaussianRestraint
2952 this = _IMP_isd.new_GaussianRestraint(*args)
2954 self.this.append(this)
2958 def get_probability(self):
2959 """get_probability(GaussianRestraint self) -> double"""
2960 return _IMP_isd.GaussianRestraint_get_probability(self)
2964 """get_chi(GaussianRestraint self) -> double"""
2965 return _IMP_isd.GaussianRestraint_get_chi(self)
2969 """do_get_inputs(GaussianRestraint self) -> IMP::ModelObjectsTemp"""
2970 return _IMP_isd.GaussianRestraint_do_get_inputs(self)
2974 """get_version_info(GaussianRestraint self) -> VersionInfo"""
2975 return _IMP_isd.GaussianRestraint_get_version_info(self)
2979 """__str__(GaussianRestraint self) -> std::string"""
2980 return _IMP_isd.GaussianRestraint___str__(self)
2984 """__repr__(GaussianRestraint self) -> std::string"""
2985 return _IMP_isd.GaussianRestraint___repr__(self)
2990 return _object_cast_to_GaussianRestraint(o)
2992 GaussianRestraint_swigregister = _IMP_isd.GaussianRestraint_swigregister
2993 GaussianRestraint_swigregister(GaussianRestraint)
2996 """Proxy of C++ IMP::isd::LognormalRestraint class"""
2997 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2999 def __init__(self, *args):
3001 __init__(IMP::isd::LognormalRestraint self, Particle x, Particle mu, Particle sigma) -> LognormalRestraint
3002 __init__(IMP::isd::LognormalRestraint self, double x, Particle mu, Particle sigma) -> LognormalRestraint
3003 __init__(IMP::isd::LognormalRestraint self, Particle x, double mu, Particle sigma) -> LognormalRestraint
3004 __init__(IMP::isd::LognormalRestraint self, Particle x, Particle mu, double sigma) -> LognormalRestraint
3005 __init__(IMP::isd::LognormalRestraint self, double x, double mu, Particle sigma) -> LognormalRestraint
3006 __init__(IMP::isd::LognormalRestraint self, Particle x, double mu, double sigma) -> LognormalRestraint
3007 __init__(IMP::isd::LognormalRestraint self, double x, Particle mu, double sigma) -> LognormalRestraint
3009 this = _IMP_isd.new_LognormalRestraint(*args)
3011 self.this.append(this)
3015 def get_probability(self):
3016 """get_probability(LognormalRestraint self) -> double"""
3017 return _IMP_isd.LognormalRestraint_get_probability(self)
3021 """get_chi(LognormalRestraint self) -> double"""
3022 return _IMP_isd.LognormalRestraint_get_chi(self)
3026 """do_get_inputs(LognormalRestraint self) -> IMP::ModelObjectsTemp"""
3027 return _IMP_isd.LognormalRestraint_do_get_inputs(self)
3031 """get_version_info(LognormalRestraint self) -> VersionInfo"""
3032 return _IMP_isd.LognormalRestraint_get_version_info(self)
3036 """__str__(LognormalRestraint self) -> std::string"""
3037 return _IMP_isd.LognormalRestraint___str__(self)
3041 """__repr__(LognormalRestraint self) -> std::string"""
3042 return _IMP_isd.LognormalRestraint___repr__(self)
3047 return _object_cast_to_LognormalRestraint(o)
3049 LognormalRestraint_swigregister = _IMP_isd.LognormalRestraint_swigregister
3050 LognormalRestraint_swigregister(LognormalRestraint)
3053 """Proxy of C++ IMP::isd::LognormalAmbiguousRestraint class"""
3054 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3056 def __init__(self, p1, p2, ki, sigmaG):
3057 """__init__(IMP::isd::LognormalAmbiguousRestraint self, Particle p1, Particle p2, Particle ki, Particle sigmaG) -> LognormalAmbiguousRestraint"""
3058 this = _IMP_isd.new_LognormalAmbiguousRestraint(p1, p2, ki, sigmaG)
3060 self.this.append(this)
3064 def add_contribution(self, lexp, omega):
3065 """add_contribution(LognormalAmbiguousRestraint self, double lexp, Particle omega)"""
3066 return _IMP_isd.LognormalAmbiguousRestraint_add_contribution(self, lexp, omega)
3069 def get_number_of_contributions(self):
3070 """get_number_of_contributions(LognormalAmbiguousRestraint self) -> unsigned int"""
3071 return _IMP_isd.LognormalAmbiguousRestraint_get_number_of_contributions(self)
3074 def draw_k_from_posterior(self, kt):
3075 """draw_k_from_posterior(LognormalAmbiguousRestraint self, double kt)"""
3076 return _IMP_isd.LognormalAmbiguousRestraint_draw_k_from_posterior(self, kt)
3079 def get_probability(self):
3080 """get_probability(LognormalAmbiguousRestraint self) -> double"""
3081 return _IMP_isd.LognormalAmbiguousRestraint_get_probability(self)
3085 """do_get_inputs(LognormalAmbiguousRestraint self) -> IMP::ModelObjectsTemp"""
3086 return _IMP_isd.LognormalAmbiguousRestraint_do_get_inputs(self)
3090 """get_version_info(LognormalAmbiguousRestraint self) -> VersionInfo"""
3091 return _IMP_isd.LognormalAmbiguousRestraint_get_version_info(self)
3095 """__str__(LognormalAmbiguousRestraint self) -> std::string"""
3096 return _IMP_isd.LognormalAmbiguousRestraint___str__(self)
3100 """__repr__(LognormalAmbiguousRestraint self) -> std::string"""
3101 return _IMP_isd.LognormalAmbiguousRestraint___repr__(self)
3106 return _object_cast_to_LognormalAmbiguousRestraint(o)
3108 LognormalAmbiguousRestraint_swigregister = _IMP_isd.LognormalAmbiguousRestraint_swigregister
3109 LognormalAmbiguousRestraint_swigregister(LognormalAmbiguousRestraint)
3112 """Proxy of C++ IMP::isd::AmbiguousNOERestraint class"""
3113 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3115 def __init__(self, m, pc, sigma, gamma, Iexp):
3116 """__init__(IMP::isd::AmbiguousNOERestraint self, Model m, PairContainer pc, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor gamma, double Iexp) -> AmbiguousNOERestraint"""
3117 this = _IMP_isd.new_AmbiguousNOERestraint(m, pc, sigma, gamma, Iexp)
3119 self.this.append(this)
3123 def get_probability(self):
3124 """get_probability(AmbiguousNOERestraint self) -> double"""
3125 return _IMP_isd.AmbiguousNOERestraint_get_probability(self)
3129 """get_chi(AmbiguousNOERestraint self) -> double"""
3130 return _IMP_isd.AmbiguousNOERestraint_get_chi(self)
3134 """do_get_inputs(AmbiguousNOERestraint self) -> IMP::ModelObjectsTemp"""
3135 return _IMP_isd.AmbiguousNOERestraint_do_get_inputs(self)
3139 """get_version_info(AmbiguousNOERestraint self) -> VersionInfo"""
3140 return _IMP_isd.AmbiguousNOERestraint_get_version_info(self)
3144 """__str__(AmbiguousNOERestraint self) -> std::string"""
3145 return _IMP_isd.AmbiguousNOERestraint___str__(self)
3149 """__repr__(AmbiguousNOERestraint self) -> std::string"""
3150 return _IMP_isd.AmbiguousNOERestraint___repr__(self)
3155 return _object_cast_to_AmbiguousNOERestraint(o)
3157 AmbiguousNOERestraint_swigregister = _IMP_isd.AmbiguousNOERestraint_swigregister
3158 AmbiguousNOERestraint_swigregister(AmbiguousNOERestraint)
3161 """Proxy of C++ IMP::isd::MarginalNOERestraint class"""
3162 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3164 def __init__(self, m):
3165 """__init__(IMP::isd::MarginalNOERestraint self, Model m) -> MarginalNOERestraint"""
3166 this = _IMP_isd.new_MarginalNOERestraint(m)
3168 self.this.append(this)
3172 def add_contribution(self, *args):
3174 add_contribution(MarginalNOERestraint self, Particle p1, Particle p2, double Iexp)
3175 add_contribution(MarginalNOERestraint self, PairContainer pc, double Iexp)
3177 return _IMP_isd.MarginalNOERestraint_add_contribution(self, *args)
3180 def get_log_gammahat(self):
3181 """get_log_gammahat(MarginalNOERestraint self) -> double"""
3182 return _IMP_isd.MarginalNOERestraint_get_log_gammahat(self)
3186 """get_SS(MarginalNOERestraint self) -> double"""
3187 return _IMP_isd.MarginalNOERestraint_get_SS(self)
3190 def get_number_of_contributions(self):
3191 """get_number_of_contributions(MarginalNOERestraint self) -> unsigned int"""
3192 return _IMP_isd.MarginalNOERestraint_get_number_of_contributions(self)
3195 def get_probability(self):
3196 """get_probability(MarginalNOERestraint self) -> double"""
3197 return _IMP_isd.MarginalNOERestraint_get_probability(self)
3201 """do_get_inputs(MarginalNOERestraint self) -> IMP::ModelObjectsTemp"""
3202 return _IMP_isd.MarginalNOERestraint_do_get_inputs(self)
3206 """get_version_info(MarginalNOERestraint self) -> VersionInfo"""
3207 return _IMP_isd.MarginalNOERestraint_get_version_info(self)
3211 """__str__(MarginalNOERestraint self) -> std::string"""
3212 return _IMP_isd.MarginalNOERestraint___str__(self)
3216 """__repr__(MarginalNOERestraint self) -> std::string"""
3217 return _IMP_isd.MarginalNOERestraint___repr__(self)
3222 return _object_cast_to_MarginalNOERestraint(o)
3224 MarginalNOERestraint_swigregister = _IMP_isd.MarginalNOERestraint_swigregister
3225 MarginalNOERestraint_swigregister(MarginalNOERestraint)
3228 """Proxy of C++ IMP::isd::MarginalHBondRestraint class"""
3229 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3231 def __init__(self, m):
3232 """__init__(IMP::isd::MarginalHBondRestraint self, Model m) -> MarginalHBondRestraint"""
3233 this = _IMP_isd.new_MarginalHBondRestraint(m)
3235 self.this.append(this)
3239 def add_contribution(self, *args):
3241 add_contribution(MarginalHBondRestraint self, Particle p1, Particle p2, double Iexp)
3242 add_contribution(MarginalHBondRestraint self, PairContainer pc, double Iexp)
3244 return _IMP_isd.MarginalHBondRestraint_add_contribution(self, *args)
3247 def get_logsquares(self):
3248 """get_logsquares(MarginalHBondRestraint self) -> double"""
3249 return _IMP_isd.MarginalHBondRestraint_get_logsquares(self)
3252 def get_number_of_contributions(self):
3253 """get_number_of_contributions(MarginalHBondRestraint self) -> unsigned int"""
3254 return _IMP_isd.MarginalHBondRestraint_get_number_of_contributions(self)
3257 def get_probability(self):
3258 """get_probability(MarginalHBondRestraint self) -> double"""
3259 return _IMP_isd.MarginalHBondRestraint_get_probability(self)
3263 """do_get_inputs(MarginalHBondRestraint self) -> IMP::ModelObjectsTemp"""
3264 return _IMP_isd.MarginalHBondRestraint_do_get_inputs(self)
3268 """get_version_info(MarginalHBondRestraint self) -> VersionInfo"""
3269 return _IMP_isd.MarginalHBondRestraint_get_version_info(self)
3273 """__str__(MarginalHBondRestraint self) -> std::string"""
3274 return _IMP_isd.MarginalHBondRestraint___str__(self)
3278 """__repr__(MarginalHBondRestraint self) -> std::string"""
3279 return _IMP_isd.MarginalHBondRestraint___repr__(self)
3284 return _object_cast_to_MarginalHBondRestraint(o)
3286 MarginalHBondRestraint_swigregister = _IMP_isd.MarginalHBondRestraint_swigregister
3287 MarginalHBondRestraint_swigregister(MarginalHBondRestraint)
3290 """Proxy of C++ IMP::isd::TALOSRestraint class"""
3291 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3293 def __init__(self, *args):
3295 __init__(IMP::isd::TALOSRestraint self, Model m, IMP::Particles p, IMP::Floats data, Particle kappa) -> TALOSRestraint
3296 __init__(IMP::isd::TALOSRestraint self, Model m, Particle p1, Particle p2, Particle p3, Particle p4, IMP::Floats data, Particle kappa) -> TALOSRestraint
3297 __init__(IMP::isd::TALOSRestraint self, Model m, IMP::Particles p, unsigned int N, double R0, double chiexp, Particle kappa) -> TALOSRestraint
3298 __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
3300 this = _IMP_isd.new_TALOSRestraint(*args)
3302 self.this.append(this)
3306 def get_probability(self):
3307 """get_probability(TALOSRestraint self) -> double"""
3308 return _IMP_isd.TALOSRestraint_get_probability(self)
3312 """get_R0(TALOSRestraint self) -> double"""
3313 return _IMP_isd.TALOSRestraint_get_R0(self)
3316 def get_chiexp(self):
3317 """get_chiexp(TALOSRestraint self) -> double"""
3318 return _IMP_isd.TALOSRestraint_get_chiexp(self)
3322 """do_get_inputs(TALOSRestraint self) -> IMP::ModelObjectsTemp"""
3323 return _IMP_isd.TALOSRestraint_do_get_inputs(self)
3327 """get_version_info(TALOSRestraint self) -> VersionInfo"""
3328 return _IMP_isd.TALOSRestraint_get_version_info(self)
3332 """__str__(TALOSRestraint self) -> std::string"""
3333 return _IMP_isd.TALOSRestraint___str__(self)
3337 """__repr__(TALOSRestraint self) -> std::string"""
3338 return _IMP_isd.TALOSRestraint___repr__(self)
3343 return _object_cast_to_TALOSRestraint(o)
3345 TALOSRestraint_swigregister = _IMP_isd.TALOSRestraint_swigregister
3346 TALOSRestraint_swigregister(TALOSRestraint)
3349 """Proxy of C++ IMP::isd::RepulsiveDistancePairScore class"""
3350 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3352 def __init__(self, d0, k):
3353 """__init__(IMP::isd::RepulsiveDistancePairScore self, double d0, double k) -> RepulsiveDistancePairScore"""
3354 this = _IMP_isd.new_RepulsiveDistancePairScore(d0, k)
3356 self.this.append(this)
3360 def get_rest_length(self):
3361 """get_rest_length(RepulsiveDistancePairScore self) -> double"""
3362 return _IMP_isd.RepulsiveDistancePairScore_get_rest_length(self)
3365 def get_stiffness(self):
3366 """get_stiffness(RepulsiveDistancePairScore self) -> double"""
3367 return _IMP_isd.RepulsiveDistancePairScore_get_stiffness(self)
3371 """do_get_inputs(RepulsiveDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3372 return _IMP_isd.RepulsiveDistancePairScore_do_get_inputs(self, m, pis)
3376 """get_version_info(RepulsiveDistancePairScore self) -> VersionInfo"""
3377 return _IMP_isd.RepulsiveDistancePairScore_get_version_info(self)
3381 """__str__(RepulsiveDistancePairScore self) -> std::string"""
3382 return _IMP_isd.RepulsiveDistancePairScore___str__(self)
3386 """__repr__(RepulsiveDistancePairScore self) -> std::string"""
3387 return _IMP_isd.RepulsiveDistancePairScore___repr__(self)
3392 return _object_cast_to_RepulsiveDistancePairScore(o)
3394 RepulsiveDistancePairScore_swigregister = _IMP_isd.RepulsiveDistancePairScore_swigregister
3395 RepulsiveDistancePairScore_swigregister(RepulsiveDistancePairScore)
3398 """Proxy of C++ IMP::isd::AmbiguousRestraint class"""
3399 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3401 def __init__(self, *args):
3403 __init__(IMP::isd::AmbiguousRestraint self, Model m, int d, Restraint r0, Restraint r1) -> AmbiguousRestraint
3404 __init__(IMP::isd::AmbiguousRestraint self, Model m, int d, IMP::Restraints rs) -> AmbiguousRestraint
3406 this = _IMP_isd.new_AmbiguousRestraint(*args)
3408 self.this.append(this)
3412 def get_probability(self):
3413 """get_probability(AmbiguousRestraint self) -> double"""
3414 return _IMP_isd.AmbiguousRestraint_get_probability(self)
3418 """do_get_inputs(AmbiguousRestraint self) -> IMP::ModelObjectsTemp"""
3419 return _IMP_isd.AmbiguousRestraint_do_get_inputs(self)
3423 """get_version_info(AmbiguousRestraint self) -> VersionInfo"""
3424 return _IMP_isd.AmbiguousRestraint_get_version_info(self)
3428 """__str__(AmbiguousRestraint self) -> std::string"""
3429 return _IMP_isd.AmbiguousRestraint___str__(self)
3433 """__repr__(AmbiguousRestraint self) -> std::string"""
3434 return _IMP_isd.AmbiguousRestraint___repr__(self)
3439 return _object_cast_to_AmbiguousRestraint(o)
3441 AmbiguousRestraint_swigregister = _IMP_isd.AmbiguousRestraint_swigregister
3442 AmbiguousRestraint_swigregister(AmbiguousRestraint)
3445 _IMP_isd.IMP_ISD_UNIVARIATE_FUNCTIONS_MINIMUM_swigconstant(_IMP_isd)
3446 IMP_ISD_UNIVARIATE_FUNCTIONS_MINIMUM = _IMP_isd.IMP_ISD_UNIVARIATE_FUNCTIONS_MINIMUM
3448 """Proxy of C++ IMP::isd::UnivariateFunction class"""
3449 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3451 def __init__(self, *args, **kwargs):
3452 raise AttributeError(
"No constructor defined - class is abstract")
3454 def __call__(self, *args):
3456 __call__(UnivariateFunction self, IMP::Floats const & x) -> IMP::Floats
3457 __call__(UnivariateFunction self, IMP::FloatsList const & xlist) -> IMP_Eigen::VectorXd
3458 __call__(UnivariateFunction self, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
3460 return _IMP_isd.UnivariateFunction___call__(self, *args)
3463 def has_changed(self):
3464 """has_changed(UnivariateFunction self) -> bool"""
3465 return _IMP_isd.UnivariateFunction_has_changed(self)
3469 """update(UnivariateFunction self)"""
3470 return _IMP_isd.UnivariateFunction_update(self)
3473 def add_to_derivatives(self, x, accum):
3474 """add_to_derivatives(UnivariateFunction self, IMP::Floats const & x, DerivativeAccumulator accum)"""
3475 return _IMP_isd.UnivariateFunction_add_to_derivatives(self, x, accum)
3478 def add_to_particle_derivative(self, particle_no, value, accum):
3479 """add_to_particle_derivative(UnivariateFunction self, unsigned int particle_no, double value, DerivativeAccumulator accum)"""
3480 return _IMP_isd.UnivariateFunction_add_to_particle_derivative(self, particle_no, value, accum)
3483 def get_derivative_vector(self, particle_no, xlist):
3484 """get_derivative_vector(UnivariateFunction self, unsigned int particle_no, IMP::FloatsList const & xlist) -> IMP_Eigen::VectorXd"""
3485 return _IMP_isd.UnivariateFunction_get_derivative_vector(self, particle_no, xlist)
3488 def get_derivative_matrix(self, xlist, stupid):
3489 """get_derivative_matrix(UnivariateFunction self, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList"""
3490 return _IMP_isd.UnivariateFunction_get_derivative_matrix(self, xlist, stupid)
3493 def get_second_derivative_vector(self, *args):
3495 get_second_derivative_vector(UnivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> IMP_Eigen::VectorXd
3496 get_second_derivative_vector(UnivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
3498 return _IMP_isd.UnivariateFunction_get_second_derivative_vector(self, *args)
3501 def get_ndims_x(self):
3502 """get_ndims_x(UnivariateFunction self) -> unsigned int"""
3503 return _IMP_isd.UnivariateFunction_get_ndims_x(self)
3506 def get_ndims_y(self):
3507 """get_ndims_y(UnivariateFunction self) -> unsigned int"""
3508 return _IMP_isd.UnivariateFunction_get_ndims_y(self)
3511 def get_number_of_particles(self):
3512 """get_number_of_particles(UnivariateFunction self) -> unsigned int"""
3513 return _IMP_isd.UnivariateFunction_get_number_of_particles(self)
3516 def get_particle_is_optimized(self, particle_no):
3517 """get_particle_is_optimized(UnivariateFunction self, unsigned int particle_no) -> bool"""
3518 return _IMP_isd.UnivariateFunction_get_particle_is_optimized(self, particle_no)
3521 def get_number_of_optimized_particles(self):
3522 """get_number_of_optimized_particles(UnivariateFunction self) -> unsigned int"""
3523 return _IMP_isd.UnivariateFunction_get_number_of_optimized_particles(self)
3527 """get_inputs(UnivariateFunction self) -> IMP::ModelObjectsTemp"""
3528 return _IMP_isd.UnivariateFunction_get_inputs(self)
3530 __swig_destroy__ = _IMP_isd.delete_UnivariateFunction
3531 __del__ =
lambda self:
None
3534 """__str__(UnivariateFunction self) -> std::string"""
3535 return _IMP_isd.UnivariateFunction___str__(self)
3539 """__repr__(UnivariateFunction self) -> std::string"""
3540 return _IMP_isd.UnivariateFunction___repr__(self)
3545 return _object_cast_to_UnivariateFunction(o)
3547 UnivariateFunction_swigregister = _IMP_isd.UnivariateFunction_swigregister
3548 UnivariateFunction_swigregister(UnivariateFunction)
3550 class Linear1DFunction(UnivariateFunction):
3551 """Proxy of C++ IMP::isd::Linear1DFunction class"""
3552 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3554 def __init__(self, a, b):
3555 """__init__(IMP::isd::Linear1DFunction self, Particle a, Particle b) -> Linear1DFunction"""
3556 this = _IMP_isd.new_Linear1DFunction(a, b)
3558 self.this.append(this)
3562 def __call__(self, *args):
3564 __call__(Linear1DFunction self, IMP::Floats const & x) -> IMP::Floats
3565 __call__(Linear1DFunction self, IMP::FloatsList const & xlist) -> IMP_Eigen::VectorXd
3566 __call__(Linear1DFunction self, IMP::FloatsList const & xlist, bool arg3) -> IMP::FloatsList
3568 return _IMP_isd.Linear1DFunction___call__(self, *args)
3571 def get_second_derivative_vector(self, *args):
3573 get_second_derivative_vector(Linear1DFunction self, unsigned int arg2, unsigned int arg3, IMP::FloatsList const & xlist) -> IMP_Eigen::VectorXd
3574 get_second_derivative_vector(Linear1DFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool arg5) -> IMP::FloatsList
3576 return _IMP_isd.Linear1DFunction_get_second_derivative_vector(self, *args)
3580 """get_version_info(Linear1DFunction self) -> VersionInfo"""
3581 return _IMP_isd.Linear1DFunction_get_version_info(self)
3585 """__str__(Linear1DFunction self) -> std::string"""
3586 return _IMP_isd.Linear1DFunction___str__(self)
3590 """__repr__(Linear1DFunction self) -> std::string"""
3591 return _IMP_isd.Linear1DFunction___repr__(self)
3596 return _object_cast_to_Linear1DFunction(o)
3598 Linear1DFunction_swigregister = _IMP_isd.Linear1DFunction_swigregister
3599 Linear1DFunction_swigregister(Linear1DFunction)
3601 class GeneralizedGuinierPorodFunction(UnivariateFunction):
3602 """Proxy of C++ IMP::isd::GeneralizedGuinierPorodFunction class"""
3603 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3605 def __init__(self, G, Rg, d, s, A):
3606 """__init__(IMP::isd::GeneralizedGuinierPorodFunction self, Particle G, Particle Rg, Particle d, Particle s, Particle A) -> GeneralizedGuinierPorodFunction"""
3607 this = _IMP_isd.new_GeneralizedGuinierPorodFunction(G, Rg, d, s, A)
3609 self.this.append(this)
3613 def __call__(self, *args):
3615 __call__(GeneralizedGuinierPorodFunction self, IMP::Floats const & x) -> IMP::Floats
3616 __call__(GeneralizedGuinierPorodFunction self, IMP::FloatsList const & xlist) -> IMP_Eigen::VectorXd
3617 __call__(GeneralizedGuinierPorodFunction self, IMP::FloatsList const & xlist, bool arg3) -> IMP::FloatsList
3619 return _IMP_isd.GeneralizedGuinierPorodFunction___call__(self, *args)
3622 def get_second_derivative_vector(self, *args):
3624 get_second_derivative_vector(GeneralizedGuinierPorodFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> IMP_Eigen::VectorXd
3625 get_second_derivative_vector(GeneralizedGuinierPorodFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool arg5) -> IMP::FloatsList
3627 return _IMP_isd.GeneralizedGuinierPorodFunction_get_second_derivative_vector(self, *args)
3631 """get_version_info(GeneralizedGuinierPorodFunction self) -> VersionInfo"""
3632 return _IMP_isd.GeneralizedGuinierPorodFunction_get_version_info(self)
3636 """__str__(GeneralizedGuinierPorodFunction self) -> std::string"""
3637 return _IMP_isd.GeneralizedGuinierPorodFunction___str__(self)
3641 """__repr__(GeneralizedGuinierPorodFunction self) -> std::string"""
3642 return _IMP_isd.GeneralizedGuinierPorodFunction___repr__(self)
3647 return _object_cast_to_GeneralizedGuinierPorodFunction(o)
3649 GeneralizedGuinierPorodFunction_swigregister = _IMP_isd.GeneralizedGuinierPorodFunction_swigregister
3650 GeneralizedGuinierPorodFunction_swigregister(GeneralizedGuinierPorodFunction)
3653 _IMP_isd.IMP_ISD_BIVARIATE_FUNCTIONS_MINIMUM_swigconstant(_IMP_isd)
3654 IMP_ISD_BIVARIATE_FUNCTIONS_MINIMUM = _IMP_isd.IMP_ISD_BIVARIATE_FUNCTIONS_MINIMUM
3656 """Proxy of C++ IMP::isd::BivariateFunction class"""
3657 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3659 def __init__(self, *args, **kwargs):
3660 raise AttributeError(
"No constructor defined - class is abstract")
3662 def __call__(self, *args):
3664 __call__(BivariateFunction self, IMP::Floats const & x1, IMP::Floats const & x2) -> IMP::Floats
3665 __call__(BivariateFunction self, IMP::FloatsList const & xlist) -> IMP_Eigen::MatrixXd
3666 __call__(BivariateFunction self, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
3668 return _IMP_isd.BivariateFunction___call__(self, *args)
3671 def has_changed(self):
3672 """has_changed(BivariateFunction self) -> bool"""
3673 return _IMP_isd.BivariateFunction_has_changed(self)
3677 """update(BivariateFunction self)"""
3678 return _IMP_isd.BivariateFunction_update(self)
3681 def add_to_derivatives(self, x1, x2, accum):
3682 """add_to_derivatives(BivariateFunction self, IMP::Floats const & x1, IMP::Floats const & x2, DerivativeAccumulator accum)"""
3683 return _IMP_isd.BivariateFunction_add_to_derivatives(self, x1, x2, accum)
3686 def add_to_particle_derivative(self, particle_no, value, accum):
3687 """add_to_particle_derivative(BivariateFunction self, unsigned int particle_no, double value, DerivativeAccumulator accum)"""
3688 return _IMP_isd.BivariateFunction_add_to_particle_derivative(self, particle_no, value, accum)
3691 def get_derivative_matrix(self, *args):
3693 get_derivative_matrix(BivariateFunction self, unsigned int particle_no, IMP::FloatsList const & xlist) -> IMP_Eigen::MatrixXd
3694 get_derivative_matrix(BivariateFunction self, unsigned int particle_no, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
3696 return _IMP_isd.BivariateFunction_get_derivative_matrix(self, *args)
3699 def get_second_derivative_matrix(self, *args):
3701 get_second_derivative_matrix(BivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> IMP_Eigen::MatrixXd
3702 get_second_derivative_matrix(BivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
3704 return _IMP_isd.BivariateFunction_get_second_derivative_matrix(self, *args)
3707 def get_ndims_x1(self):
3708 """get_ndims_x1(BivariateFunction self) -> unsigned int"""
3709 return _IMP_isd.BivariateFunction_get_ndims_x1(self)
3712 def get_ndims_x2(self):
3713 """get_ndims_x2(BivariateFunction self) -> unsigned int"""
3714 return _IMP_isd.BivariateFunction_get_ndims_x2(self)
3717 def get_ndims_y(self):
3718 """get_ndims_y(BivariateFunction self) -> unsigned int"""
3719 return _IMP_isd.BivariateFunction_get_ndims_y(self)
3722 def get_number_of_particles(self):
3723 """get_number_of_particles(BivariateFunction self) -> unsigned int"""
3724 return _IMP_isd.BivariateFunction_get_number_of_particles(self)
3727 def get_particle_is_optimized(self, particle_no):
3728 """get_particle_is_optimized(BivariateFunction self, unsigned int particle_no) -> bool"""
3729 return _IMP_isd.BivariateFunction_get_particle_is_optimized(self, particle_no)
3732 def get_number_of_optimized_particles(self):
3733 """get_number_of_optimized_particles(BivariateFunction self) -> unsigned int"""
3734 return _IMP_isd.BivariateFunction_get_number_of_optimized_particles(self)
3738 """get_inputs(BivariateFunction self) -> IMP::ModelObjectsTemp"""
3739 return _IMP_isd.BivariateFunction_get_inputs(self)
3741 __swig_destroy__ = _IMP_isd.delete_BivariateFunction
3742 __del__ =
lambda self:
None
3745 """__str__(BivariateFunction self) -> std::string"""
3746 return _IMP_isd.BivariateFunction___str__(self)
3750 """__repr__(BivariateFunction self) -> std::string"""
3751 return _IMP_isd.BivariateFunction___repr__(self)
3756 return _object_cast_to_BivariateFunction(o)
3758 BivariateFunction_swigregister = _IMP_isd.BivariateFunction_swigregister
3759 BivariateFunction_swigregister(BivariateFunction)
3761 class Covariance1DFunction(BivariateFunction):
3762 """Proxy of C++ IMP::isd::Covariance1DFunction class"""
3763 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3765 def __init__(self, tau, ilambda, alpha=2.0, jitter=0.0, cutoff=1e-7):
3767 __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda, double alpha=2.0, double jitter=0.0, double cutoff=1e-7) -> Covariance1DFunction
3768 __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda, double alpha=2.0, double jitter=0.0) -> Covariance1DFunction
3769 __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda, double alpha=2.0) -> Covariance1DFunction
3770 __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda) -> Covariance1DFunction
3772 this = _IMP_isd.new_Covariance1DFunction(tau, ilambda, alpha, jitter, cutoff)
3774 self.this.append(this)
3778 def __call__(self, *args):
3780 __call__(Covariance1DFunction self, IMP::Floats const & x1, IMP::Floats const & x2) -> IMP::Floats
3781 __call__(Covariance1DFunction self, IMP::FloatsList const & xlist) -> IMP_Eigen::MatrixXd
3782 __call__(Covariance1DFunction self, IMP::FloatsList const & xlist, bool arg3) -> IMP::FloatsList
3784 return _IMP_isd.Covariance1DFunction___call__(self, *args)
3787 def get_derivative_matrix(self, *args):
3789 get_derivative_matrix(Covariance1DFunction self, unsigned int particle_no, IMP::FloatsList const & xlist) -> IMP_Eigen::MatrixXd
3790 get_derivative_matrix(Covariance1DFunction self, unsigned int particle_no, IMP::FloatsList const & xlist, bool arg4) -> IMP::FloatsList
3792 return _IMP_isd.Covariance1DFunction_get_derivative_matrix(self, *args)
3795 def get_second_derivative_matrix(self, *args):
3797 get_second_derivative_matrix(Covariance1DFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> IMP_Eigen::MatrixXd
3798 get_second_derivative_matrix(Covariance1DFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool arg5) -> IMP::FloatsList
3800 return _IMP_isd.Covariance1DFunction_get_second_derivative_matrix(self, *args)
3804 """get_version_info(Covariance1DFunction self) -> VersionInfo"""
3805 return _IMP_isd.Covariance1DFunction_get_version_info(self)
3809 """__str__(Covariance1DFunction self) -> std::string"""
3810 return _IMP_isd.Covariance1DFunction___str__(self)
3814 """__repr__(Covariance1DFunction self) -> std::string"""
3815 return _IMP_isd.Covariance1DFunction___repr__(self)
3820 return _object_cast_to_Covariance1DFunction(o)
3822 Covariance1DFunction_swigregister = _IMP_isd.Covariance1DFunction_swigregister
3823 Covariance1DFunction_swigregister(Covariance1DFunction)
3825 class GaussianProcessInterpolation(
IMP.Object):
3826 """Proxy of C++ IMP::isd::GaussianProcessInterpolation class"""
3827 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3829 def __init__(self, x, sample_mean, sample_std, n_obs, mean_function, covariance_function, sigma, sparse_cutoff=1e-7):
3831 __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
3832 __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
3834 this = _IMP_isd.new_GaussianProcessInterpolation(x, sample_mean, sample_std, n_obs, mean_function, covariance_function, sigma, sparse_cutoff)
3836 self.this.append(this)
3840 def get_posterior_mean(self, x):
3841 """get_posterior_mean(GaussianProcessInterpolation self, IMP::Floats x) -> double"""
3842 return _IMP_isd.GaussianProcessInterpolation_get_posterior_mean(self, x)
3845 def get_posterior_covariance(self, x1, x2):
3846 """get_posterior_covariance(GaussianProcessInterpolation self, IMP::Floats x1, IMP::Floats x2) -> double"""
3847 return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance(self, x1, x2)
3850 def get_posterior_covariance_matrix(self, x, arg3):
3851 """get_posterior_covariance_matrix(GaussianProcessInterpolation self, IMP::FloatsList x, bool arg3) -> IMP::FloatsList"""
3852 return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance_matrix(self, x, arg3)
3855 def get_posterior_covariance_derivative(self, x, arg3):
3856 """get_posterior_covariance_derivative(GaussianProcessInterpolation self, IMP::Floats x, bool arg3) -> IMP::Floats"""
3857 return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance_derivative(self, x, arg3)
3860 def get_posterior_covariance_hessian(self, x, arg3):
3861 """get_posterior_covariance_hessian(GaussianProcessInterpolation self, IMP::Floats x, bool arg3) -> IMP::FloatsList"""
3862 return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance_hessian(self, x, arg3)
3866 """get_inputs(GaussianProcessInterpolation self) -> IMP::ModelObjectsTemp"""
3867 return _IMP_isd.GaussianProcessInterpolation_get_inputs(self)
3870 def force_mean_update(self):
3871 """force_mean_update(GaussianProcessInterpolation self)"""
3872 return _IMP_isd.GaussianProcessInterpolation_force_mean_update(self)
3875 def force_covariance_update(self):
3876 """force_covariance_update(GaussianProcessInterpolation self)"""
3877 return _IMP_isd.GaussianProcessInterpolation_force_covariance_update(self)
3880 def get_number_of_m_particles(self):
3881 """get_number_of_m_particles(GaussianProcessInterpolation self) -> unsigned int"""
3882 return _IMP_isd.GaussianProcessInterpolation_get_number_of_m_particles(self)
3885 def get_m_particle_is_optimized(self, i):
3886 """get_m_particle_is_optimized(GaussianProcessInterpolation self, unsigned int i) -> bool"""
3887 return _IMP_isd.GaussianProcessInterpolation_get_m_particle_is_optimized(self, i)
3890 def get_number_of_Omega_particles(self):
3891 """get_number_of_Omega_particles(GaussianProcessInterpolation self) -> unsigned int"""
3892 return _IMP_isd.GaussianProcessInterpolation_get_number_of_Omega_particles(self)
3895 def get_Omega_particle_is_optimized(self, i):
3896 """get_Omega_particle_is_optimized(GaussianProcessInterpolation self, unsigned int i) -> bool"""
3897 return _IMP_isd.GaussianProcessInterpolation_get_Omega_particle_is_optimized(self, i)
3900 def get_data_abscissa(self):
3901 """get_data_abscissa(GaussianProcessInterpolation self) -> IMP::FloatsList"""
3902 return _IMP_isd.GaussianProcessInterpolation_get_data_abscissa(self)
3905 def get_data_mean(self):
3906 """get_data_mean(GaussianProcessInterpolation self) -> IMP::Floats"""
3907 return _IMP_isd.GaussianProcessInterpolation_get_data_mean(self)
3910 def get_data_variance(self):
3911 """get_data_variance(GaussianProcessInterpolation self) -> IMP::FloatsList"""
3912 return _IMP_isd.GaussianProcessInterpolation_get_data_variance(self)
3916 """get_version_info(GaussianProcessInterpolation self) -> VersionInfo"""
3917 return _IMP_isd.GaussianProcessInterpolation_get_version_info(self)
3921 """__str__(GaussianProcessInterpolation self) -> std::string"""
3922 return _IMP_isd.GaussianProcessInterpolation___str__(self)
3926 """__repr__(GaussianProcessInterpolation self) -> std::string"""
3927 return _IMP_isd.GaussianProcessInterpolation___repr__(self)
3932 return _object_cast_to_GaussianProcessInterpolation(o)
3934 GaussianProcessInterpolation_swigregister = _IMP_isd.GaussianProcessInterpolation_swigregister
3935 GaussianProcessInterpolation_swigregister(GaussianProcessInterpolation)
3938 """Proxy of C++ IMP::isd::GaussianProcessInterpolationRestraint class"""
3939 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3941 def __init__(self, m, gpi):
3942 """__init__(IMP::isd::GaussianProcessInterpolationRestraint self, Model m, GaussianProcessInterpolation gpi) -> GaussianProcessInterpolationRestraint"""
3943 this = _IMP_isd.new_GaussianProcessInterpolationRestraint(m, gpi)
3945 self.this.append(this)
3949 def get_probability(self):
3950 """get_probability(GaussianProcessInterpolationRestraint self) -> double"""
3951 return _IMP_isd.GaussianProcessInterpolationRestraint_get_probability(self)
3955 """stats(GaussianProcessInterpolationRestraint self)"""
3956 return _IMP_isd.GaussianProcessInterpolationRestraint_stats(self)
3959 def set_use_cg(self, use, tol):
3960 """set_use_cg(GaussianProcessInterpolationRestraint self, bool use, double tol)"""
3961 return _IMP_isd.GaussianProcessInterpolationRestraint_set_use_cg(self, use, tol)
3964 def get_minus_log_normalization(self):
3965 """get_minus_log_normalization(GaussianProcessInterpolationRestraint self) -> double"""
3966 return _IMP_isd.GaussianProcessInterpolationRestraint_get_minus_log_normalization(self)
3969 def get_minus_exponent(self):
3970 """get_minus_exponent(GaussianProcessInterpolationRestraint self) -> double"""
3971 return _IMP_isd.GaussianProcessInterpolationRestraint_get_minus_exponent(self)
3974 def get_logdet_hessian(self):
3975 """get_logdet_hessian(GaussianProcessInterpolationRestraint self) -> double"""
3976 return _IMP_isd.GaussianProcessInterpolationRestraint_get_logdet_hessian(self)
3979 def get_hessian(self, *args):
3981 get_hessian(GaussianProcessInterpolationRestraint self) -> IMP_Eigen::MatrixXd
3982 get_hessian(GaussianProcessInterpolationRestraint self, bool unused) -> IMP::FloatsList
3984 return _IMP_isd.GaussianProcessInterpolationRestraint_get_hessian(self, *args)
3988 """do_get_inputs(GaussianProcessInterpolationRestraint self) -> IMP::ModelObjectsTemp"""
3989 return _IMP_isd.GaussianProcessInterpolationRestraint_do_get_inputs(self)
3993 """get_version_info(GaussianProcessInterpolationRestraint self) -> VersionInfo"""
3994 return _IMP_isd.GaussianProcessInterpolationRestraint_get_version_info(self)
3998 """__str__(GaussianProcessInterpolationRestraint self) -> std::string"""
3999 return _IMP_isd.GaussianProcessInterpolationRestraint___str__(self)
4003 """__repr__(GaussianProcessInterpolationRestraint self) -> std::string"""
4004 return _IMP_isd.GaussianProcessInterpolationRestraint___repr__(self)
4009 return _object_cast_to_GaussianProcessInterpolationRestraint(o)
4011 GaussianProcessInterpolationRestraint_swigregister = _IMP_isd.GaussianProcessInterpolationRestraint_swigregister
4012 GaussianProcessInterpolationRestraint_swigregister(GaussianProcessInterpolationRestraint)
4015 """Proxy of C++ IMP::isd::MolecularDynamics class"""
4016 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4018 def __init__(self, m=None):
4020 __init__(IMP::isd::MolecularDynamics self, Model m=None) -> MolecularDynamics
4021 __init__(IMP::isd::MolecularDynamics self) -> MolecularDynamics
4023 this = _IMP_isd.new_MolecularDynamics(m)
4025 self.this.append(this)
4030 """__str__(MolecularDynamics self) -> std::string"""
4031 return _IMP_isd.MolecularDynamics___str__(self)
4035 """__repr__(MolecularDynamics self) -> std::string"""
4036 return _IMP_isd.MolecularDynamics___repr__(self)
4041 return _object_cast_to_MolecularDynamics(o)
4043 __swig_destroy__ = _IMP_isd.delete_MolecularDynamics
4044 __del__ =
lambda self:
None
4045 MolecularDynamics_swigregister = _IMP_isd.MolecularDynamics_swigregister
4046 MolecularDynamics_swigregister(MolecularDynamics)
4049 """Proxy of C++ IMP::isd::MolecularDynamicsMover class"""
4050 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4052 def __init__(self, m, nsteps=100, timestep=1.):
4054 __init__(IMP::isd::MolecularDynamicsMover self, Model m, unsigned int nsteps=100, IMP::Float timestep=1.) -> MolecularDynamicsMover
4055 __init__(IMP::isd::MolecularDynamicsMover self, Model m, unsigned int nsteps=100) -> MolecularDynamicsMover
4056 __init__(IMP::isd::MolecularDynamicsMover self, Model m) -> MolecularDynamicsMover
4058 this = _IMP_isd.new_MolecularDynamicsMover(m, nsteps, timestep)
4060 self.this.append(this)
4065 """get_md(MolecularDynamicsMover self) -> MolecularDynamics"""
4066 return _IMP_isd.MolecularDynamicsMover_get_md(self)
4069 def get_number_of_md_steps(self):
4070 """get_number_of_md_steps(MolecularDynamicsMover self) -> unsigned int"""
4071 return _IMP_isd.MolecularDynamicsMover_get_number_of_md_steps(self)
4074 def set_number_of_md_steps(self, nsteps):
4075 """set_number_of_md_steps(MolecularDynamicsMover self, unsigned int nsteps)"""
4076 return _IMP_isd.MolecularDynamicsMover_set_number_of_md_steps(self, nsteps)
4080 """get_version_info(MolecularDynamicsMover self) -> VersionInfo"""
4081 return _IMP_isd.MolecularDynamicsMover_get_version_info(self)
4085 """__str__(MolecularDynamicsMover self) -> std::string"""
4086 return _IMP_isd.MolecularDynamicsMover___str__(self)
4090 """__repr__(MolecularDynamicsMover self) -> std::string"""
4091 return _IMP_isd.MolecularDynamicsMover___repr__(self)
4096 return _object_cast_to_MolecularDynamicsMover(o)
4098 MolecularDynamicsMover_swigregister = _IMP_isd.MolecularDynamicsMover_swigregister
4099 MolecularDynamicsMover_swigregister(MolecularDynamicsMover)
4102 """Proxy of C++ IMP::isd::HybridMonteCarlo class"""
4103 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4105 def __init__(self, m, kT=1.0, steps=100, timestep=1.0, persistence=1):
4107 __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
4108 __init__(IMP::isd::HybridMonteCarlo self, Model m, IMP::Float kT=1.0, unsigned int steps=100, IMP::Float timestep=1.0) -> HybridMonteCarlo
4109 __init__(IMP::isd::HybridMonteCarlo self, Model m, IMP::Float kT=1.0, unsigned int steps=100) -> HybridMonteCarlo
4110 __init__(IMP::isd::HybridMonteCarlo self, Model m, IMP::Float kT=1.0) -> HybridMonteCarlo
4111 __init__(IMP::isd::HybridMonteCarlo self, Model m) -> HybridMonteCarlo
4113 this = _IMP_isd.new_HybridMonteCarlo(m, kT, steps, timestep, persistence)
4115 self.this.append(this)
4119 def get_kinetic_energy(self):
4120 """get_kinetic_energy(HybridMonteCarlo self) -> IMP::Float"""
4121 return _IMP_isd.HybridMonteCarlo_get_kinetic_energy(self)
4124 def get_potential_energy(self):
4125 """get_potential_energy(HybridMonteCarlo self) -> IMP::Float"""
4126 return _IMP_isd.HybridMonteCarlo_get_potential_energy(self)
4129 def get_total_energy(self):
4130 """get_total_energy(HybridMonteCarlo self) -> IMP::Float"""
4131 return _IMP_isd.HybridMonteCarlo_get_total_energy(self)
4134 def set_timestep(self, ts):
4135 """set_timestep(HybridMonteCarlo self, IMP::Float ts)"""
4136 return _IMP_isd.HybridMonteCarlo_set_timestep(self, ts)
4139 def get_timestep(self):
4140 """get_timestep(HybridMonteCarlo self) -> double"""
4141 return _IMP_isd.HybridMonteCarlo_get_timestep(self)
4144 def set_number_of_md_steps(self, nsteps):
4145 """set_number_of_md_steps(HybridMonteCarlo self, unsigned int nsteps)"""
4146 return _IMP_isd.HybridMonteCarlo_set_number_of_md_steps(self, nsteps)
4149 def get_number_of_md_steps(self):
4150 """get_number_of_md_steps(HybridMonteCarlo self) -> unsigned int"""
4151 return _IMP_isd.HybridMonteCarlo_get_number_of_md_steps(self)
4154 def set_persistence(self, persistence=1):
4156 set_persistence(HybridMonteCarlo self, unsigned int persistence=1)
4157 set_persistence(HybridMonteCarlo self)
4159 return _IMP_isd.HybridMonteCarlo_set_persistence(self, persistence)
4162 def get_persistence(self):
4163 """get_persistence(HybridMonteCarlo self) -> unsigned int"""
4164 return _IMP_isd.HybridMonteCarlo_get_persistence(self)
4168 """get_md(HybridMonteCarlo self) -> MolecularDynamics"""
4169 return _IMP_isd.HybridMonteCarlo_get_md(self)
4172 def do_evaluate(self, arg2):
4173 """do_evaluate(HybridMonteCarlo self, IMP::ParticleIndexes const & arg2) -> double"""
4174 return _IMP_isd.HybridMonteCarlo_do_evaluate(self, arg2)
4178 """do_step(HybridMonteCarlo self)"""
4179 return _IMP_isd.HybridMonteCarlo_do_step(self)
4183 """__str__(HybridMonteCarlo self) -> std::string"""
4184 return _IMP_isd.HybridMonteCarlo___str__(self)
4188 """__repr__(HybridMonteCarlo self) -> std::string"""
4189 return _IMP_isd.HybridMonteCarlo___repr__(self)
4194 return _object_cast_to_HybridMonteCarlo(o)
4196 HybridMonteCarlo_swigregister = _IMP_isd.HybridMonteCarlo_swigregister
4197 HybridMonteCarlo_swigregister(HybridMonteCarlo)
4200 """Proxy of C++ IMP::isd::FretData class"""
4201 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4203 def __init__(self, d_term, d_center, d_int, s_grid, R0, Rmin, Rmax, do_limit=True):
4205 __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
4206 __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
4208 this = _IMP_isd.new_FretData(d_term, d_center, d_int, s_grid, R0, Rmin, Rmax, do_limit)
4210 self.this.append(this)
4214 def get_closest(self, vec, value):
4215 """get_closest(FretData self, DistBase vec, double value) -> int"""
4216 return _IMP_isd.FretData_get_closest(self, vec, value)
4219 def get_probability(self, distn, dist, sigma):
4220 """get_probability(FretData self, IMP::Float distn, IMP::Float dist, IMP::Float sigma) -> IMP::Float"""
4221 return _IMP_isd.FretData_get_probability(self, distn, dist, sigma)
4224 def get_kernel(self, dist, R0):
4225 """get_kernel(FretData self, IMP::Float dist, IMP::Float R0) -> IMP::Float"""
4226 return _IMP_isd.FretData_get_kernel(self, dist, R0)
4229 def get_marginal_element(self, d_term, d_center, sigma):
4230 """get_marginal_element(FretData self, IMP::Float d_term, IMP::Float d_center, IMP::Float sigma) -> IMP::FloatPair"""
4231 return _IMP_isd.FretData_get_marginal_element(self, d_term, d_center, sigma)
4235 """get_version_info(FretData self) -> VersionInfo"""
4236 return _IMP_isd.FretData_get_version_info(self)
4240 """__str__(FretData self) -> std::string"""
4241 return _IMP_isd.FretData___str__(self)
4245 """__repr__(FretData self) -> std::string"""
4246 return _IMP_isd.FretData___repr__(self)
4251 return _object_cast_to_FretData(o)
4253 FretData_swigregister = _IMP_isd.FretData_swigregister
4254 FretData_swigregister(FretData)
4257 """Proxy of C++ IMP::isd::FretRestraint class"""
4258 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4260 def __init__(self, *args):
4262 __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
4263 __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
4264 __init__(IMP::isd::FretRestraint self, IMP::Particles pd, IMP::Particles pa, Particle kda, Particle Ida, Particle R0, Particle sigma0, Particle Pbl, double fexp) -> FretRestraint
4265 __init__(IMP::isd::FretRestraint self, Particle kda, Particle Ida, Particle sumFi, Particle sigma0, Particle Pbl, double fexp) -> FretRestraint
4266 __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
4268 this = _IMP_isd.new_FretRestraint(*args)
4270 self.this.append(this)
4274 def get_sumFi(self):
4275 """get_sumFi(FretRestraint self) -> double"""
4276 return _IMP_isd.FretRestraint_get_sumFi(self)
4279 def get_average_sigma(self, fmod):
4280 """get_average_sigma(FretRestraint self, double fmod) -> double"""
4281 return _IMP_isd.FretRestraint_get_average_sigma(self, fmod)
4284 def get_standard_error(self):
4285 """get_standard_error(FretRestraint self) -> double"""
4286 return _IMP_isd.FretRestraint_get_standard_error(self)
4289 def get_model_fretr(self):
4290 """get_model_fretr(FretRestraint self) -> double"""
4291 return _IMP_isd.FretRestraint_get_model_fretr(self)
4294 def get_probability(self):
4295 """get_probability(FretRestraint self) -> double"""
4296 return _IMP_isd.FretRestraint_get_probability(self)
4299 def get_experimental_value(self):
4300 """get_experimental_value(FretRestraint self) -> double"""
4301 return _IMP_isd.FretRestraint_get_experimental_value(self)
4304 def set_experimental_value(self, fexp):
4305 """set_experimental_value(FretRestraint self, double fexp)"""
4306 return _IMP_isd.FretRestraint_set_experimental_value(self, fexp)
4310 """do_get_inputs(FretRestraint self) -> IMP::ModelObjectsTemp"""
4311 return _IMP_isd.FretRestraint_do_get_inputs(self)
4315 """get_version_info(FretRestraint self) -> VersionInfo"""
4316 return _IMP_isd.FretRestraint_get_version_info(self)
4320 """__str__(FretRestraint self) -> std::string"""
4321 return _IMP_isd.FretRestraint___str__(self)
4325 """__repr__(FretRestraint self) -> std::string"""
4326 return _IMP_isd.FretRestraint___repr__(self)
4331 return _object_cast_to_FretRestraint(o)
4333 FretRestraint_swigregister = _IMP_isd.FretRestraint_swigregister
4334 FretRestraint_swigregister(FretRestraint)
4337 """Proxy of C++ IMP::isd::CysteineCrossLinkData class"""
4338 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4340 def __init__(self, fexp, fmod_grid, omega_grid, omega0_grid, prior_type=3):
4342 __init__(IMP::isd::CysteineCrossLinkData self, double fexp, IMP::Floats fmod_grid, IMP::Floats omega_grid, IMP::Floats omega0_grid, int prior_type=3) -> CysteineCrossLinkData
4343 __init__(IMP::isd::CysteineCrossLinkData self, double fexp, IMP::Floats fmod_grid, IMP::Floats omega_grid, IMP::Floats omega0_grid) -> CysteineCrossLinkData
4345 this = _IMP_isd.new_CysteineCrossLinkData(fexp, fmod_grid, omega_grid, omega0_grid, prior_type)
4347 self.this.append(this)
4351 def get_closest(self, vec, value):
4352 """get_closest(CysteineCrossLinkData self, DistBase vec, double value) -> int"""
4353 return _IMP_isd.CysteineCrossLinkData_get_closest(self, vec, value)
4356 def get_omegas(self, fmods, omega0):
4357 """get_omegas(CysteineCrossLinkData self, IMP::Floats fmods, double omega0) -> IMP::Floats"""
4358 return _IMP_isd.CysteineCrossLinkData_get_omegas(self, fmods, omega0)
4361 def get_nonmarginal_elements(self, fexp, fmods, omega):
4362 """get_nonmarginal_elements(CysteineCrossLinkData self, double fexp, IMP::Floats fmods, double omega) -> IMP::Floats"""
4363 return _IMP_isd.CysteineCrossLinkData_get_nonmarginal_elements(self, fexp, fmods, omega)
4366 def get_marginal_elements(self, fmods, omega0):
4367 """get_marginal_elements(CysteineCrossLinkData self, IMP::Floats fmods, double omega0) -> IMP::Floats"""
4368 return _IMP_isd.CysteineCrossLinkData_get_marginal_elements(self, fmods, omega0)
4371 def get_omega(self, fmod, omega0):
4372 """get_omega(CysteineCrossLinkData self, double fmod, double omega0) -> double"""
4373 return _IMP_isd.CysteineCrossLinkData_get_omega(self, fmod, omega0)
4376 def get_standard_deviation(self, fmod, omega0):
4377 """get_standard_deviation(CysteineCrossLinkData self, double fmod, double omega0) -> double"""
4378 return _IMP_isd.CysteineCrossLinkData_get_standard_deviation(self, fmod, omega0)
4381 def get_nonmarginal_element(self, fexp, fmod, omega):
4382 """get_nonmarginal_element(CysteineCrossLinkData self, double fexp, double fmod, double omega) -> double"""
4383 return _IMP_isd.CysteineCrossLinkData_get_nonmarginal_element(self, fexp, fmod, omega)
4386 def get_marginal_element(self, fmod, omega0):
4387 """get_marginal_element(CysteineCrossLinkData self, double fmod, double omega0) -> double"""
4388 return _IMP_isd.CysteineCrossLinkData_get_marginal_element(self, fmod, omega0)
4392 """get_version_info(CysteineCrossLinkData self) -> VersionInfo"""
4393 return _IMP_isd.CysteineCrossLinkData_get_version_info(self)
4397 """__str__(CysteineCrossLinkData self) -> std::string"""
4398 return _IMP_isd.CysteineCrossLinkData___str__(self)
4402 """__repr__(CysteineCrossLinkData self) -> std::string"""
4403 return _IMP_isd.CysteineCrossLinkData___repr__(self)
4408 return _object_cast_to_CysteineCrossLinkData(o)
4410 CysteineCrossLinkData_swigregister = _IMP_isd.CysteineCrossLinkData_swigregister
4411 CysteineCrossLinkData_swigregister(CysteineCrossLinkData)
4414 """Proxy of C++ IMP::isd::CrossLinkData class"""
4415 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4417 def __init__(self, *args):
4419 __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
4420 __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, double lexp_, double don, double doff) -> CrossLinkData
4421 __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, double lexp_, double don) -> CrossLinkData
4422 __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, double lexp_) -> CrossLinkData
4423 __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
4424 __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
4425 __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
4426 __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
4428 this = _IMP_isd.new_CrossLinkData(*args)
4430 self.this.append(this)
4434 def get_closest(self, vec, value):
4435 """get_closest(CrossLinkData self, DistBase vec, double value) -> int"""
4436 return _IMP_isd.CrossLinkData_get_closest(self, vec, value)
4439 def get_omegas(self, sigma, dists):
4440 """get_omegas(CrossLinkData self, double sigma, IMP::Floats dists) -> IMP::Floats"""
4441 return _IMP_isd.CrossLinkData_get_omegas(self, sigma, dists)
4444 def get_omega_prior(self, omega, omega0):
4445 """get_omega_prior(CrossLinkData self, double omega, double omega0) -> double"""
4446 return _IMP_isd.CrossLinkData_get_omega_prior(self, omega, omega0)
4449 def get_nonmarginal_elements(self, sigmai, dists):
4450 """get_nonmarginal_elements(CrossLinkData self, double sigmai, IMP::Floats dists) -> IMP::Floats"""
4451 return _IMP_isd.CrossLinkData_get_nonmarginal_elements(self, sigmai, dists)
4454 def get_marginal_elements(self, sigma, dists):
4455 """get_marginal_elements(CrossLinkData self, double sigma, IMP::Floats dists) -> IMP::Floats"""
4456 return _IMP_isd.CrossLinkData_get_marginal_elements(self, sigma, dists)
4459 def get_marginal_maximum(self, *args):
4461 get_marginal_maximum(CrossLinkData self, double sigma) -> double
4462 get_marginal_maximum(CrossLinkData self) -> double
4464 return _IMP_isd.CrossLinkData_get_marginal_maximum(self, *args)
4468 """get_version_info(CrossLinkData self) -> VersionInfo"""
4469 return _IMP_isd.CrossLinkData_get_version_info(self)
4473 """__str__(CrossLinkData self) -> std::string"""
4474 return _IMP_isd.CrossLinkData___str__(self)
4478 """__repr__(CrossLinkData self) -> std::string"""
4479 return _IMP_isd.CrossLinkData___repr__(self)
4484 return _object_cast_to_CrossLinkData(o)
4486 CrossLinkData_swigregister = _IMP_isd.CrossLinkData_swigregister
4487 CrossLinkData_swigregister(CrossLinkData)
4490 """Proxy of C++ IMP::isd::CysteineCrossLinkRestraint class"""
4491 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4493 def __init__(self, *args):
4495 __init__(IMP::isd::CysteineCrossLinkRestraint self, Model m, _ParticleIndexAdaptor beta, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor epsilon, _ParticleIndexAdaptor weight, CrossLinkData data, double fexp) -> CysteineCrossLinkRestraint
4496 __init__(IMP::isd::CysteineCrossLinkRestraint self, Model m, _ParticleIndexAdaptor beta, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor epsilon, _ParticleIndexAdaptor weight, CrossLinkData data, CysteineCrossLinkData ccldata) -> CysteineCrossLinkRestraint
4498 this = _IMP_isd.new_CysteineCrossLinkRestraint(*args)
4500 self.this.append(this)
4504 def get_probability(self):
4505 """get_probability(CysteineCrossLinkRestraint self) -> double"""
4506 return _IMP_isd.CysteineCrossLinkRestraint_get_probability(self)
4509 def get_standard_error(self):
4510 """get_standard_error(CysteineCrossLinkRestraint self) -> double"""
4511 return _IMP_isd.CysteineCrossLinkRestraint_get_standard_error(self)
4514 def get_frequencies(self):
4515 """get_frequencies(CysteineCrossLinkRestraint self) -> IMP::Floats"""
4516 return _IMP_isd.CysteineCrossLinkRestraint_get_frequencies(self)
4519 def get_model_frequency(self):
4520 """get_model_frequency(CysteineCrossLinkRestraint self) -> double"""
4521 return _IMP_isd.CysteineCrossLinkRestraint_get_model_frequency(self)
4524 def get_distances(self):
4525 """get_distances(CysteineCrossLinkRestraint self) -> IMP::Floats"""
4526 return _IMP_isd.CysteineCrossLinkRestraint_get_distances(self)
4529 def get_truncated_normalization(self, mean, sigma):
4530 """get_truncated_normalization(CysteineCrossLinkRestraint self, double mean, double sigma) -> double"""
4531 return _IMP_isd.CysteineCrossLinkRestraint_get_truncated_normalization(self, mean, sigma)
4534 def get_normal_pdf(self, mean, sigma, x):
4535 """get_normal_pdf(CysteineCrossLinkRestraint self, double mean, double sigma, double x) -> double"""
4536 return _IMP_isd.CysteineCrossLinkRestraint_get_normal_pdf(self, mean, sigma, x)
4539 def add_contribution(self, *args):
4541 add_contribution(CysteineCrossLinkRestraint self, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2)
4542 add_contribution(CysteineCrossLinkRestraint self, IMP::ParticleIndexes p1, IMP::ParticleIndexes p2)
4544 return _IMP_isd.CysteineCrossLinkRestraint_add_contribution(self, *args)
4547 def get_CB_coordinates(self, ps):
4548 """get_CB_coordinates(CysteineCrossLinkRestraint self, IMP::ParticleIndexes const & ps) -> Vector3D"""
4549 return _IMP_isd.CysteineCrossLinkRestraint_get_CB_coordinates(self, ps)
4552 def get_number_of_contributions(self):
4553 """get_number_of_contributions(CysteineCrossLinkRestraint self) -> unsigned int"""
4554 return _IMP_isd.CysteineCrossLinkRestraint_get_number_of_contributions(self)
4558 """do_get_inputs(CysteineCrossLinkRestraint self) -> IMP::ModelObjectsTemp"""
4559 return _IMP_isd.CysteineCrossLinkRestraint_do_get_inputs(self)
4563 """get_version_info(CysteineCrossLinkRestraint self) -> VersionInfo"""
4564 return _IMP_isd.CysteineCrossLinkRestraint_get_version_info(self)
4568 """__str__(CysteineCrossLinkRestraint self) -> std::string"""
4569 return _IMP_isd.CysteineCrossLinkRestraint___str__(self)
4573 """__repr__(CysteineCrossLinkRestraint self) -> std::string"""
4574 return _IMP_isd.CysteineCrossLinkRestraint___repr__(self)
4579 return _object_cast_to_CysteineCrossLinkRestraint(o)
4581 CysteineCrossLinkRestraint_swigregister = _IMP_isd.CysteineCrossLinkRestraint_swigregister
4582 CysteineCrossLinkRestraint_swigregister(CysteineCrossLinkRestraint)
4585 """Proxy of C++ IMP::isd::WeightMover class"""
4586 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4588 def __init__(self, w, radius):
4589 """__init__(IMP::isd::WeightMover self, Particle w, IMP::Float radius) -> WeightMover"""
4590 this = _IMP_isd.new_WeightMover(w, radius)
4592 self.this.append(this)
4596 def set_radius(self, radius):
4597 """set_radius(WeightMover self, IMP::Float radius)"""
4598 return _IMP_isd.WeightMover_set_radius(self, radius)
4601 def get_radius(self):
4602 """get_radius(WeightMover self) -> IMP::Float"""
4603 return _IMP_isd.WeightMover_get_radius(self)
4607 """get_version_info(WeightMover self) -> VersionInfo"""
4608 return _IMP_isd.WeightMover_get_version_info(self)
4612 """__str__(WeightMover self) -> std::string"""
4613 return _IMP_isd.WeightMover___str__(self)
4617 """__repr__(WeightMover self) -> std::string"""
4618 return _IMP_isd.WeightMover___repr__(self)
4623 return _object_cast_to_WeightMover(o)
4625 WeightMover_swigregister = _IMP_isd.WeightMover_swigregister
4626 WeightMover_swigregister(WeightMover)
4629 """Proxy of C++ IMP::isd::WeightRestraint class"""
4630 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4632 def __init__(self, w, wmin, wmax, kappa):
4633 """__init__(IMP::isd::WeightRestraint self, Particle w, IMP::Float wmin, IMP::Float wmax, IMP::Float kappa) -> WeightRestraint"""
4634 this = _IMP_isd.new_WeightRestraint(w, wmin, wmax, kappa)
4636 self.this.append(this)
4641 """do_get_inputs(WeightRestraint self) -> IMP::ModelObjectsTemp"""
4642 return _IMP_isd.WeightRestraint_do_get_inputs(self)
4646 """get_version_info(WeightRestraint self) -> VersionInfo"""
4647 return _IMP_isd.WeightRestraint_get_version_info(self)
4651 """__str__(WeightRestraint self) -> std::string"""
4652 return _IMP_isd.WeightRestraint___str__(self)
4656 """__repr__(WeightRestraint self) -> std::string"""
4657 return _IMP_isd.WeightRestraint___repr__(self)
4662 return _object_cast_to_WeightRestraint(o)
4664 WeightRestraint_swigregister = _IMP_isd.WeightRestraint_swigregister
4665 WeightRestraint_swigregister(WeightRestraint)
4668 """Proxy of C++ IMP::isd::AtomicCrossLinkMSRestraint class"""
4669 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4671 def __init__(self, *args):
4673 __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
4674 __init__(IMP::isd::AtomicCrossLinkMSRestraint self, Model m, double length, ParticleIndex psi, IMP::Float slope=0.0, bool part_of_log_score=False) -> AtomicCrossLinkMSRestraint
4675 __init__(IMP::isd::AtomicCrossLinkMSRestraint self, Model m, double length, ParticleIndex psi, IMP::Float slope=0.0) -> AtomicCrossLinkMSRestraint
4676 __init__(IMP::isd::AtomicCrossLinkMSRestraint self, Model m, double length, ParticleIndex psi) -> AtomicCrossLinkMSRestraint
4678 this = _IMP_isd.new_AtomicCrossLinkMSRestraint(*args)
4680 self.this.append(this)
4684 def add_contribution(self, ppi, sigmas):
4685 """add_contribution(AtomicCrossLinkMSRestraint self, IMP::ParticleIndexPair const & ppi, IMP::ParticleIndexPair const & sigmas)"""
4686 return _IMP_isd.AtomicCrossLinkMSRestraint_add_contribution(self, ppi, sigmas)
4689 def evaluate_for_contributions(self, c, accum):
4690 """evaluate_for_contributions(AtomicCrossLinkMSRestraint self, IMP::Ints c, DerivativeAccumulator accum) -> IMP::Float"""
4691 return _IMP_isd.AtomicCrossLinkMSRestraint_evaluate_for_contributions(self, c, accum)
4694 def get_number_of_contributions(self):
4695 """get_number_of_contributions(AtomicCrossLinkMSRestraint self) -> unsigned int"""
4696 return _IMP_isd.AtomicCrossLinkMSRestraint_get_number_of_contributions(self)
4699 def get_contribution(self, i):
4700 """get_contribution(AtomicCrossLinkMSRestraint self, int i) -> IMP::ParticleIndexPair"""
4701 return _IMP_isd.AtomicCrossLinkMSRestraint_get_contribution(self, i)
4704 def get_contribution_sigmas(self, i):
4705 """get_contribution_sigmas(AtomicCrossLinkMSRestraint self, int i) -> IMP::ParticleIndexPair"""
4706 return _IMP_isd.AtomicCrossLinkMSRestraint_get_contribution_sigmas(self, i)
4710 """get_psi(AtomicCrossLinkMSRestraint self) -> ParticleIndex"""
4711 return _IMP_isd.AtomicCrossLinkMSRestraint_get_psi(self)
4715 """do_get_inputs(AtomicCrossLinkMSRestraint self) -> IMP::ModelObjectsTemp"""
4716 return _IMP_isd.AtomicCrossLinkMSRestraint_do_get_inputs(self)
4719 def show(self, out):
4720 """show(AtomicCrossLinkMSRestraint self, _ostream out)"""
4721 return _IMP_isd.AtomicCrossLinkMSRestraint_show(self, out)
4724 def set_slope(self, slope):
4725 """set_slope(AtomicCrossLinkMSRestraint self, IMP::Float slope)"""
4726 return _IMP_isd.AtomicCrossLinkMSRestraint_set_slope(self, slope)
4729 def set_part_of_log_score(self, hey):
4730 """set_part_of_log_score(AtomicCrossLinkMSRestraint self, bool hey)"""
4731 return _IMP_isd.AtomicCrossLinkMSRestraint_set_part_of_log_score(self, hey)
4735 """get_version_info(AtomicCrossLinkMSRestraint self) -> VersionInfo"""
4736 return _IMP_isd.AtomicCrossLinkMSRestraint_get_version_info(self)
4740 """__str__(AtomicCrossLinkMSRestraint self) -> std::string"""
4741 return _IMP_isd.AtomicCrossLinkMSRestraint___str__(self)
4745 """__repr__(AtomicCrossLinkMSRestraint self) -> std::string"""
4746 return _IMP_isd.AtomicCrossLinkMSRestraint___repr__(self)
4751 return _object_cast_to_AtomicCrossLinkMSRestraint(o)
4753 AtomicCrossLinkMSRestraint_swigregister = _IMP_isd.AtomicCrossLinkMSRestraint_swigregister
4754 AtomicCrossLinkMSRestraint_swigregister(AtomicCrossLinkMSRestraint)
4757 """Proxy of C++ IMP::isd::GaussianEMRestraint class"""
4758 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4760 def __init__(self, *args):
4762 __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
4763 __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
4764 __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
4765 __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
4767 this = _IMP_isd.new_GaussianEMRestraint(*args)
4769 self.this.append(this)
4773 def get_probability(self):
4774 """get_probability(GaussianEMRestraint self) -> double"""
4775 return _IMP_isd.GaussianEMRestraint_get_probability(self)
4778 def compute_initial_scores(self):
4779 """compute_initial_scores(GaussianEMRestraint self)"""
4780 return _IMP_isd.GaussianEMRestraint_compute_initial_scores(self)
4783 def set_slope(self, s):
4784 """set_slope(GaussianEMRestraint self, IMP::Float s)"""
4785 return _IMP_isd.GaussianEMRestraint_set_slope(self, s)
4788 def get_slope(self):
4789 """get_slope(GaussianEMRestraint self) -> IMP::Float"""
4790 return _IMP_isd.GaussianEMRestraint_get_slope(self)
4794 """do_get_inputs(GaussianEMRestraint self) -> IMP::ModelObjectsTemp"""
4795 return _IMP_isd.GaussianEMRestraint_do_get_inputs(self)
4798 def show(self, out):
4799 """show(GaussianEMRestraint self, _ostream out)"""
4800 return _IMP_isd.GaussianEMRestraint_show(self, out)
4804 """get_version_info(GaussianEMRestraint self) -> VersionInfo"""
4805 return _IMP_isd.GaussianEMRestraint_get_version_info(self)
4809 """__str__(GaussianEMRestraint self) -> std::string"""
4810 return _IMP_isd.GaussianEMRestraint___str__(self)
4814 """__repr__(GaussianEMRestraint self) -> std::string"""
4815 return _IMP_isd.GaussianEMRestraint___repr__(self)
4820 return _object_cast_to_GaussianEMRestraint(o)
4822 GaussianEMRestraint_swigregister = _IMP_isd.GaussianEMRestraint_swigregister
4823 GaussianEMRestraint_swigregister(GaussianEMRestraint)
4826 def sample_points_from_density(dmap_orig, npoints, threshold=0.0):
4828 sample_points_from_density(DensityMap dmap_orig, int npoints, IMP::Float threshold=0.0) -> IMP::FloatsList
4829 sample_points_from_density(DensityMap dmap_orig, int npoints) -> IMP::FloatsList
4831 return _IMP_isd.sample_points_from_density(dmap_orig, npoints, threshold)
4833 def get_module_version():
4834 """get_module_version() -> std::string const"""
4835 return _IMP_isd.get_module_version()
4838 """get_example_path(std::string fname) -> std::string"""
4839 return _IMP_isd.get_example_path(fname)
4842 """get_data_path(std::string fname) -> std::string"""
4843 return _IMP_isd.get_data_path(fname)
4845 from .
import _version_check
4846 _version_check.check_version(get_module_version())
4847 __version__ = get_module_version()
Abstract class for scoring object(s) of type ParticleIndexPair.
Various classes to hold sets of particles.
static XYZR setup_particle(Model *m, ParticleIndex pi)
Make CGAL functionality available to IMP.
virtual void clear_caches()
virtual ModelObjectsTemp do_get_outputs(Model *m, const ParticleIndexes &pis) const =0
Composable functors to implement scores via compile-time composition.
Vector3D get_random_vector_in(const Cylinder3D &c)
Generate a random vector in a cylinder with uniform density.
Code to compute statistical measures.
Class for storing model, its restraints, constraints, and particles.
void add_restraint(RMF::FileHandle fh, Restraint *hs)
ModelObjectsTemp get_inputs(Model *m, const ParticleIndexes &pis) const
virtual void do_destroy()
Common base class for heavy weight IMP objects.
Simple molecular dynamics optimizer.
Store a list of ParticleIndexes.
A base class for classes which perturb particles.
void add_restraints(RMF::FileHandle fh, const Restraints &hs)
virtual ModelObjectsTemp do_get_inputs(Model *m, const ParticleIndexes &pis) const =0
Version and module information for Objects.
Basic utilities for handling cryo-electron microscopy 3D density maps.
IMP::Vector< Weight > Weights
Interface to specialized Particle types (e.g. atoms)
Basic functionality that is expected to be used by a wide variety of IMP users.
General purpose algebraic and geometric methods that are expected to be used by a wide variety of IMP...
virtual VersionInfo get_version_info() const
Get information about the module and version of the object.
Class to handle individual model particles.
void set_check_level(CheckLevel l)
std::string get_example_path(std::string file_name)
Return the full path to one of this module's example files.
Output IMP model data in various file formats.
Functionality for loading, creating, manipulating and scoring atomic structures.
std::string get_data_path(std::string file_name)
Return the full path to one of this module's data files.
Support for small angle X-ray scattering (SAXS) data.
A restraint is a term in an IMP ScoringFunction.