10 from __future__
import print_function, division, absolute_import
15 from sys
import version_info
as _swig_python_version_info
16 if _swig_python_version_info >= (2, 7, 0):
17 def swig_import_helper():
19 pkg = __name__.rpartition(
'.')[0]
20 mname =
'.'.join((pkg,
'_IMP_isd')).lstrip(
'.')
22 return importlib.import_module(mname)
24 return importlib.import_module(
'_IMP_isd')
25 _IMP_isd = swig_import_helper()
26 del swig_import_helper
27 elif _swig_python_version_info >= (2, 6, 0):
28 def swig_import_helper():
29 from os.path
import dirname
33 fp, pathname, description = imp.find_module(
'_IMP_isd', [dirname(__file__)])
39 _mod = imp.load_module(
'_IMP_isd', fp, pathname, description)
43 _IMP_isd = swig_import_helper()
44 del swig_import_helper
47 del _swig_python_version_info
49 _swig_property = property
54 import builtins
as __builtin__
58 def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
59 if (name ==
"thisown"):
60 return self.this.own(value)
62 if type(value).__name__ ==
'SwigPyObject':
63 self.__dict__[name] = value
65 method = class_type.__swig_setmethods__.get(name,
None)
67 return method(self, value)
69 object.__setattr__(self, name, value)
71 raise AttributeError(
"You cannot add attributes to %s" % self)
74 def _swig_setattr(self, class_type, name, value):
75 return _swig_setattr_nondynamic(self, class_type, name, value, 0)
78 def _swig_getattr(self, class_type, name):
79 if (name ==
"thisown"):
80 return self.this.own()
81 method = class_type.__swig_getmethods__.get(name,
None)
84 raise AttributeError(
"'%s' object has no attribute '%s'" % (class_type.__name__, name))
89 strthis =
"proxy of " + self.this.__repr__()
90 except __builtin__.Exception:
92 return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
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
109 except __builtin__.Exception:
110 weakref_proxy =
lambda x: x
113 class IMP_ISD_SwigPyIterator(object):
114 """Proxy of C++ swig::IMP_ISD_SwigPyIterator class."""
116 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
118 def __init__(self, *args, **kwargs):
119 raise AttributeError(
"No constructor defined - class is abstract")
120 __repr__ = _swig_repr
121 __swig_destroy__ = _IMP_isd.delete_IMP_ISD_SwigPyIterator
122 __del__ =
lambda self:
None
125 """value(IMP_ISD_SwigPyIterator self) -> PyObject *"""
126 return _IMP_isd.IMP_ISD_SwigPyIterator_value(self)
131 incr(IMP_ISD_SwigPyIterator self, size_t n=1) -> IMP_ISD_SwigPyIterator
132 incr(IMP_ISD_SwigPyIterator self) -> IMP_ISD_SwigPyIterator
134 return _IMP_isd.IMP_ISD_SwigPyIterator_incr(self, n)
139 decr(IMP_ISD_SwigPyIterator self, size_t n=1) -> IMP_ISD_SwigPyIterator
140 decr(IMP_ISD_SwigPyIterator self) -> IMP_ISD_SwigPyIterator
142 return _IMP_isd.IMP_ISD_SwigPyIterator_decr(self, n)
145 def distance(self, x):
146 """distance(IMP_ISD_SwigPyIterator self, IMP_ISD_SwigPyIterator x) -> ptrdiff_t"""
147 return _IMP_isd.IMP_ISD_SwigPyIterator_distance(self, x)
151 """equal(IMP_ISD_SwigPyIterator self, IMP_ISD_SwigPyIterator x) -> bool"""
152 return _IMP_isd.IMP_ISD_SwigPyIterator_equal(self, x)
156 """copy(IMP_ISD_SwigPyIterator self) -> IMP_ISD_SwigPyIterator"""
157 return _IMP_isd.IMP_ISD_SwigPyIterator_copy(self)
161 """next(IMP_ISD_SwigPyIterator self) -> PyObject *"""
162 return _IMP_isd.IMP_ISD_SwigPyIterator_next(self)
166 """__next__(IMP_ISD_SwigPyIterator self) -> PyObject *"""
167 return _IMP_isd.IMP_ISD_SwigPyIterator___next__(self)
171 """previous(IMP_ISD_SwigPyIterator self) -> PyObject *"""
172 return _IMP_isd.IMP_ISD_SwigPyIterator_previous(self)
175 def advance(self, n):
176 """advance(IMP_ISD_SwigPyIterator self, ptrdiff_t n) -> IMP_ISD_SwigPyIterator"""
177 return _IMP_isd.IMP_ISD_SwigPyIterator_advance(self, n)
181 """__eq__(IMP_ISD_SwigPyIterator self, IMP_ISD_SwigPyIterator x) -> bool"""
182 return _IMP_isd.IMP_ISD_SwigPyIterator___eq__(self, x)
186 """__ne__(IMP_ISD_SwigPyIterator self, IMP_ISD_SwigPyIterator x) -> bool"""
187 return _IMP_isd.IMP_ISD_SwigPyIterator___ne__(self, x)
190 def __iadd__(self, n):
191 """__iadd__(IMP_ISD_SwigPyIterator self, ptrdiff_t n) -> IMP_ISD_SwigPyIterator"""
192 return _IMP_isd.IMP_ISD_SwigPyIterator___iadd__(self, n)
195 def __isub__(self, n):
196 """__isub__(IMP_ISD_SwigPyIterator self, ptrdiff_t n) -> IMP_ISD_SwigPyIterator"""
197 return _IMP_isd.IMP_ISD_SwigPyIterator___isub__(self, n)
200 def __add__(self, n):
201 """__add__(IMP_ISD_SwigPyIterator self, ptrdiff_t n) -> IMP_ISD_SwigPyIterator"""
202 return _IMP_isd.IMP_ISD_SwigPyIterator___add__(self, n)
205 def __sub__(self, *args):
207 __sub__(IMP_ISD_SwigPyIterator self, ptrdiff_t n) -> IMP_ISD_SwigPyIterator
208 __sub__(IMP_ISD_SwigPyIterator self, IMP_ISD_SwigPyIterator x) -> ptrdiff_t
210 return _IMP_isd.IMP_ISD_SwigPyIterator___sub__(self, *args)
214 IMP_ISD_SwigPyIterator_swigregister = _IMP_isd.IMP_ISD_SwigPyIterator_swigregister
215 IMP_ISD_SwigPyIterator_swigregister(IMP_ISD_SwigPyIterator)
223 IMP_DEBUG = _IMP_isd.IMP_DEBUG
224 IMP_RELEASE = _IMP_isd.IMP_RELEASE
225 IMP_SILENT = _IMP_isd.IMP_SILENT
226 IMP_PROGRESS = _IMP_isd.IMP_PROGRESS
227 IMP_TERSE = _IMP_isd.IMP_TERSE
228 IMP_VERBOSE = _IMP_isd.IMP_VERBOSE
229 IMP_MEMORY = _IMP_isd.IMP_MEMORY
230 IMP_NONE = _IMP_isd.IMP_NONE
231 IMP_USAGE = _IMP_isd.IMP_USAGE
232 IMP_INTERNAL = _IMP_isd.IMP_INTERNAL
233 IMP_KERNEL_HAS_LOG4CXX = _IMP_isd.IMP_KERNEL_HAS_LOG4CXX
234 IMP_COMPILER_HAS_AUTO = _IMP_isd.IMP_COMPILER_HAS_AUTO
235 IMP_COMPILER_HAS_DEBUG_VECTOR = _IMP_isd.IMP_COMPILER_HAS_DEBUG_VECTOR
236 IMP_COMPILER_HAS_UNIQUE_PTR = _IMP_isd.IMP_COMPILER_HAS_UNIQUE_PTR
237 IMP_KERNEL_HAS_BOOST_RANDOM = _IMP_isd.IMP_KERNEL_HAS_BOOST_RANDOM
238 IMP_KERNEL_HAS_NUMPY = _IMP_isd.IMP_KERNEL_HAS_NUMPY
239 IMP_KERNEL_HAS_GPERFTOOLS = _IMP_isd.IMP_KERNEL_HAS_GPERFTOOLS
240 IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER = _IMP_isd.IMP_KERNEL_HAS_TCMALLOC_HEAPCHECKER
241 IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER = _IMP_isd.IMP_KERNEL_HAS_TCMALLOC_HEAPPROFILER
242 IMPKERNEL_SHOW_WARNINGS = _IMP_isd.IMPKERNEL_SHOW_WARNINGS
245 class _DirectorObjects(object):
246 """@internal Simple class to keep references to director objects
247 to prevent premature deletion."""
250 def register(self, obj):
251 """Take a reference to a director object; will only work for
252 refcounted C++ classes"""
253 if hasattr(obj,
'get_ref_count'):
254 self._objects.append(obj)
256 """Only drop our reference and allow cleanup by Python if no other
257 Python references exist (we hold 3 references: one in self._objects,
258 one in x, and one in the argument list for getrefcount) *and* no
259 other C++ references exist (the Python object always holds one)"""
260 objs = [x
for x
in self._objects
if sys.getrefcount(x) > 3 \
261 or x.get_ref_count() > 1]
265 def get_object_count(self):
266 """Get number of director objects (useful for testing only)"""
267 return len(self._objects)
268 _director_objects = _DirectorObjects()
270 class _ostream(object):
271 """Proxy of C++ std::ostream class."""
273 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
275 def __init__(self, *args, **kwargs):
276 raise AttributeError(
"No constructor defined")
277 __repr__ = _swig_repr
279 def write(self, osa_buf):
280 """write(_ostream self, char const * osa_buf)"""
281 return _IMP_isd._ostream_write(self, osa_buf)
283 _ostream_swigregister = _IMP_isd._ostream_swigregister
284 _ostream_swigregister(_ostream)
286 IMP_COMPILER_HAS_OVERRIDE = _IMP_isd.IMP_COMPILER_HAS_OVERRIDE
287 IMP_COMPILER_HAS_FINAL = _IMP_isd.IMP_COMPILER_HAS_FINAL
288 IMP_HAS_NOEXCEPT = _IMP_isd.IMP_HAS_NOEXCEPT
289 IMP_C_OPEN_BINARY = _IMP_isd.IMP_C_OPEN_BINARY
291 IMP_CGAL_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_CGAL_HAS_BOOST_FILESYSTEM
292 IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_CGAL_HAS_BOOST_PROGRAMOPTIONS
293 IMP_CGAL_HAS_BOOST_RANDOM = _IMP_isd.IMP_CGAL_HAS_BOOST_RANDOM
294 IMP_CGAL_HAS_BOOST_SYSTEM = _IMP_isd.IMP_CGAL_HAS_BOOST_SYSTEM
295 IMP_CGAL_HAS_NUMPY = _IMP_isd.IMP_CGAL_HAS_NUMPY
296 IMPCGAL_SHOW_WARNINGS = _IMP_isd.IMPCGAL_SHOW_WARNINGS
298 IMP_ALGEBRA_HAS_IMP_CGAL = _IMP_isd.IMP_ALGEBRA_HAS_IMP_CGAL
299 IMP_ALGEBRA_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_ALGEBRA_HAS_BOOST_FILESYSTEM
300 IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_ALGEBRA_HAS_BOOST_PROGRAMOPTIONS
301 IMP_ALGEBRA_HAS_BOOST_RANDOM = _IMP_isd.IMP_ALGEBRA_HAS_BOOST_RANDOM
302 IMP_ALGEBRA_HAS_BOOST_SYSTEM = _IMP_isd.IMP_ALGEBRA_HAS_BOOST_SYSTEM
303 IMP_ALGEBRA_HAS_CGAL = _IMP_isd.IMP_ALGEBRA_HAS_CGAL
304 IMP_ALGEBRA_HAS_NUMPY = _IMP_isd.IMP_ALGEBRA_HAS_NUMPY
305 IMP_ALGEBRA_HAS_ANN = _IMP_isd.IMP_ALGEBRA_HAS_ANN
306 IMPALGEBRA_SHOW_WARNINGS = _IMP_isd.IMPALGEBRA_SHOW_WARNINGS
308 IMP_DISPLAY_HAS_IMP_CGAL = _IMP_isd.IMP_DISPLAY_HAS_IMP_CGAL
309 IMP_DISPLAY_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_DISPLAY_HAS_BOOST_FILESYSTEM
310 IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_DISPLAY_HAS_BOOST_PROGRAMOPTIONS
311 IMP_DISPLAY_HAS_BOOST_RANDOM = _IMP_isd.IMP_DISPLAY_HAS_BOOST_RANDOM
312 IMP_DISPLAY_HAS_BOOST_SYSTEM = _IMP_isd.IMP_DISPLAY_HAS_BOOST_SYSTEM
313 IMP_DISPLAY_HAS_CGAL = _IMP_isd.IMP_DISPLAY_HAS_CGAL
314 IMP_DISPLAY_HAS_NUMPY = _IMP_isd.IMP_DISPLAY_HAS_NUMPY
315 IMPDISPLAY_SHOW_WARNINGS = _IMP_isd.IMPDISPLAY_SHOW_WARNINGS
317 IMP_SCORE_FUNCTOR_HAS_IMP_CGAL = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_IMP_CGAL
318 IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_FILESYSTEM
319 IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_PROGRAMOPTIONS
320 IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_RANDOM
321 IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_BOOST_SYSTEM
322 IMP_SCORE_FUNCTOR_HAS_CGAL = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_CGAL
323 IMP_SCORE_FUNCTOR_HAS_HDF5 = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_HDF5
324 IMP_SCORE_FUNCTOR_HAS_NUMPY = _IMP_isd.IMP_SCORE_FUNCTOR_HAS_NUMPY
325 IMPSCOREFUNCTOR_SHOW_WARNINGS = _IMP_isd.IMPSCOREFUNCTOR_SHOW_WARNINGS
327 IMP_STATISTICS_HAS_IMP_CGAL = _IMP_isd.IMP_STATISTICS_HAS_IMP_CGAL
328 IMP_STATISTICS_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_STATISTICS_HAS_BOOST_FILESYSTEM
329 IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_STATISTICS_HAS_BOOST_PROGRAMOPTIONS
330 IMP_STATISTICS_HAS_BOOST_RANDOM = _IMP_isd.IMP_STATISTICS_HAS_BOOST_RANDOM
331 IMP_STATISTICS_HAS_BOOST_SYSTEM = _IMP_isd.IMP_STATISTICS_HAS_BOOST_SYSTEM
332 IMP_STATISTICS_HAS_CGAL = _IMP_isd.IMP_STATISTICS_HAS_CGAL
333 IMP_STATISTICS_HAS_NUMPY = _IMP_isd.IMP_STATISTICS_HAS_NUMPY
334 IMPSTATISTICS_SHOW_WARNINGS = _IMP_isd.IMPSTATISTICS_SHOW_WARNINGS
336 IMP_CORE_HAS_IMP_CGAL = _IMP_isd.IMP_CORE_HAS_IMP_CGAL
337 IMP_CORE_HAS_IMP_KERNEL = _IMP_isd.IMP_CORE_HAS_IMP_KERNEL
338 IMP_CORE_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_CORE_HAS_BOOST_FILESYSTEM
339 IMP_CORE_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_CORE_HAS_BOOST_PROGRAMOPTIONS
340 IMP_CORE_HAS_BOOST_RANDOM = _IMP_isd.IMP_CORE_HAS_BOOST_RANDOM
341 IMP_CORE_HAS_BOOST_SYSTEM = _IMP_isd.IMP_CORE_HAS_BOOST_SYSTEM
342 IMP_CORE_HAS_CGAL = _IMP_isd.IMP_CORE_HAS_CGAL
343 IMP_CORE_HAS_HDF5 = _IMP_isd.IMP_CORE_HAS_HDF5
344 IMP_CORE_HAS_NUMPY = _IMP_isd.IMP_CORE_HAS_NUMPY
345 IMPCORE_SHOW_WARNINGS = _IMP_isd.IMPCORE_SHOW_WARNINGS
347 IMP_CONTAINER_HAS_IMP_ALGEBRA = _IMP_isd.IMP_CONTAINER_HAS_IMP_ALGEBRA
348 IMP_CONTAINER_HAS_IMP_CGAL = _IMP_isd.IMP_CONTAINER_HAS_IMP_CGAL
349 IMP_CONTAINER_HAS_IMP_DISPLAY = _IMP_isd.IMP_CONTAINER_HAS_IMP_DISPLAY
350 IMP_CONTAINER_HAS_IMP_KERNEL = _IMP_isd.IMP_CONTAINER_HAS_IMP_KERNEL
351 IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR = _IMP_isd.IMP_CONTAINER_HAS_IMP_SCORE_FUNCTOR
352 IMP_CONTAINER_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_CONTAINER_HAS_BOOST_FILESYSTEM
353 IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_CONTAINER_HAS_BOOST_PROGRAMOPTIONS
354 IMP_CONTAINER_HAS_BOOST_RANDOM = _IMP_isd.IMP_CONTAINER_HAS_BOOST_RANDOM
355 IMP_CONTAINER_HAS_BOOST_SYSTEM = _IMP_isd.IMP_CONTAINER_HAS_BOOST_SYSTEM
356 IMP_CONTAINER_HAS_CGAL = _IMP_isd.IMP_CONTAINER_HAS_CGAL
357 IMP_CONTAINER_HAS_HDF5 = _IMP_isd.IMP_CONTAINER_HAS_HDF5
358 IMP_CONTAINER_HAS_NUMPY = _IMP_isd.IMP_CONTAINER_HAS_NUMPY
359 IMP_CONTAINER_HAS_PYTHON_IHM = _IMP_isd.IMP_CONTAINER_HAS_PYTHON_IHM
360 IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP = _IMP_isd.IMP_CONTAINER_HAS_GOOGLE_DENSE_HASH_MAP
361 IMP_CONTAINER_HAS_ROBIN_MAP = _IMP_isd.IMP_CONTAINER_HAS_ROBIN_MAP
362 IMPCONTAINER_SHOW_WARNINGS = _IMP_isd.IMPCONTAINER_SHOW_WARNINGS
364 IMP_ATOM_HAS_IMP_CGAL = _IMP_isd.IMP_ATOM_HAS_IMP_CGAL
365 IMP_ATOM_HAS_IMP_KERNEL = _IMP_isd.IMP_ATOM_HAS_IMP_KERNEL
366 IMP_ATOM_HAS_IMP_SCORE_FUNCTOR = _IMP_isd.IMP_ATOM_HAS_IMP_SCORE_FUNCTOR
367 IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_ATOM_HAS_BOOST_PROGRAMOPTIONS
368 IMP_ATOM_HAS_BOOST_RANDOM = _IMP_isd.IMP_ATOM_HAS_BOOST_RANDOM
369 IMP_ATOM_HAS_BOOST_REGEX = _IMP_isd.IMP_ATOM_HAS_BOOST_REGEX
370 IMP_ATOM_HAS_BOOST_SYSTEM = _IMP_isd.IMP_ATOM_HAS_BOOST_SYSTEM
371 IMP_ATOM_HAS_CGAL = _IMP_isd.IMP_ATOM_HAS_CGAL
372 IMP_ATOM_HAS_HDF5 = _IMP_isd.IMP_ATOM_HAS_HDF5
373 IMP_ATOM_HAS_NUMPY = _IMP_isd.IMP_ATOM_HAS_NUMPY
374 IMP_ATOM_HAS_PYTHON_IHM = _IMP_isd.IMP_ATOM_HAS_PYTHON_IHM
375 IMPATOM_SHOW_WARNINGS = _IMP_isd.IMPATOM_SHOW_WARNINGS
376 IMP_ATOM_TYPE_INDEX = _IMP_isd.IMP_ATOM_TYPE_INDEX
377 IMP_RESIDUE_TYPE_INDEX = _IMP_isd.IMP_RESIDUE_TYPE_INDEX
378 IMP_HIERARCHY_TYPE_INDEX = _IMP_isd.IMP_HIERARCHY_TYPE_INDEX
379 IMP_CHAIN_TYPE_INDEX = _IMP_isd.IMP_CHAIN_TYPE_INDEX
381 IMP_EM_HAS_IMP_CGAL = _IMP_isd.IMP_EM_HAS_IMP_CGAL
382 IMP_EM_HAS_IMP_CONTAINER = _IMP_isd.IMP_EM_HAS_IMP_CONTAINER
383 IMP_EM_HAS_IMP_DISPLAY = _IMP_isd.IMP_EM_HAS_IMP_DISPLAY
384 IMP_EM_HAS_IMP_SCORE_FUNCTOR = _IMP_isd.IMP_EM_HAS_IMP_SCORE_FUNCTOR
385 IMP_EM_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_EM_HAS_BOOST_FILESYSTEM
386 IMP_EM_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_EM_HAS_BOOST_PROGRAMOPTIONS
387 IMP_EM_HAS_BOOST_RANDOM = _IMP_isd.IMP_EM_HAS_BOOST_RANDOM
388 IMP_EM_HAS_BOOST_REGEX = _IMP_isd.IMP_EM_HAS_BOOST_REGEX
389 IMP_EM_HAS_BOOST_SYSTEM = _IMP_isd.IMP_EM_HAS_BOOST_SYSTEM
390 IMP_EM_HAS_CGAL = _IMP_isd.IMP_EM_HAS_CGAL
391 IMP_EM_HAS_HDF5 = _IMP_isd.IMP_EM_HAS_HDF5
392 IMP_EM_HAS_NUMPY = _IMP_isd.IMP_EM_HAS_NUMPY
393 IMP_EM_HAS_PYTHON_IHM = _IMP_isd.IMP_EM_HAS_PYTHON_IHM
394 IMPEM_SHOW_WARNINGS = _IMP_isd.IMPEM_SHOW_WARNINGS
396 IMP_SAXS_HAS_IMP_CGAL = _IMP_isd.IMP_SAXS_HAS_IMP_CGAL
397 IMP_SAXS_HAS_IMP_CONTAINER = _IMP_isd.IMP_SAXS_HAS_IMP_CONTAINER
398 IMP_SAXS_HAS_IMP_DISPLAY = _IMP_isd.IMP_SAXS_HAS_IMP_DISPLAY
399 IMP_SAXS_HAS_IMP_KERNEL = _IMP_isd.IMP_SAXS_HAS_IMP_KERNEL
400 IMP_SAXS_HAS_IMP_SCORE_FUNCTOR = _IMP_isd.IMP_SAXS_HAS_IMP_SCORE_FUNCTOR
401 IMP_SAXS_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_SAXS_HAS_BOOST_FILESYSTEM
402 IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_SAXS_HAS_BOOST_PROGRAMOPTIONS
403 IMP_SAXS_HAS_BOOST_RANDOM = _IMP_isd.IMP_SAXS_HAS_BOOST_RANDOM
404 IMP_SAXS_HAS_BOOST_REGEX = _IMP_isd.IMP_SAXS_HAS_BOOST_REGEX
405 IMP_SAXS_HAS_BOOST_SYSTEM = _IMP_isd.IMP_SAXS_HAS_BOOST_SYSTEM
406 IMP_SAXS_HAS_CGAL = _IMP_isd.IMP_SAXS_HAS_CGAL
407 IMP_SAXS_HAS_HDF5 = _IMP_isd.IMP_SAXS_HAS_HDF5
408 IMP_SAXS_HAS_NUMPY = _IMP_isd.IMP_SAXS_HAS_NUMPY
409 IMP_SAXS_HAS_PYTHON_IHM = _IMP_isd.IMP_SAXS_HAS_PYTHON_IHM
410 IMPSAXS_SHOW_WARNINGS = _IMP_isd.IMPSAXS_SHOW_WARNINGS
412 IMP_ISD_HAS_IMP_CGAL = _IMP_isd.IMP_ISD_HAS_IMP_CGAL
413 IMP_ISD_HAS_IMP_DISPLAY = _IMP_isd.IMP_ISD_HAS_IMP_DISPLAY
414 IMP_ISD_HAS_IMP_SCORE_FUNCTOR = _IMP_isd.IMP_ISD_HAS_IMP_SCORE_FUNCTOR
415 IMP_ISD_HAS_BOOST_FILESYSTEM = _IMP_isd.IMP_ISD_HAS_BOOST_FILESYSTEM
416 IMP_ISD_HAS_BOOST_PROGRAMOPTIONS = _IMP_isd.IMP_ISD_HAS_BOOST_PROGRAMOPTIONS
417 IMP_ISD_HAS_BOOST_RANDOM = _IMP_isd.IMP_ISD_HAS_BOOST_RANDOM
418 IMP_ISD_HAS_BOOST_REGEX = _IMP_isd.IMP_ISD_HAS_BOOST_REGEX
419 IMP_ISD_HAS_BOOST_SYSTEM = _IMP_isd.IMP_ISD_HAS_BOOST_SYSTEM
420 IMP_ISD_HAS_CGAL = _IMP_isd.IMP_ISD_HAS_CGAL
421 IMP_ISD_HAS_HDF5 = _IMP_isd.IMP_ISD_HAS_HDF5
422 IMP_ISD_HAS_NUMPY = _IMP_isd.IMP_ISD_HAS_NUMPY
423 IMP_ISD_HAS_PYTHON_IHM = _IMP_isd.IMP_ISD_HAS_PYTHON_IHM
424 IMPISD_SHOW_WARNINGS = _IMP_isd.IMPISD_SHOW_WARNINGS
426 _object_types.append(
"ISDRestraint")
429 def _object_cast_to_ISDRestraint(o):
430 """_object_cast_to_ISDRestraint(Object o) -> ISDRestraint"""
431 return _IMP_isd._object_cast_to_ISDRestraint(o)
433 _object_types.append(
"CrossLinkMSRestraint")
436 def _object_cast_to_CrossLinkMSRestraint(o):
437 """_object_cast_to_CrossLinkMSRestraint(Object o) -> CrossLinkMSRestraint"""
438 return _IMP_isd._object_cast_to_CrossLinkMSRestraint(o)
440 _object_types.append(
"LogWrapper")
443 def _object_cast_to_LogWrapper(o):
444 """_object_cast_to_LogWrapper(Object o) -> LogWrapper"""
445 return _IMP_isd._object_cast_to_LogWrapper(o)
447 _object_types.append(
"UniformPrior")
450 def _object_cast_to_UniformPrior(o):
451 """_object_cast_to_UniformPrior(Object o) -> UniformPrior"""
452 return _IMP_isd._object_cast_to_UniformPrior(o)
454 _object_types.append(
"JeffreysRestraint")
457 def _object_cast_to_JeffreysRestraint(o):
458 """_object_cast_to_JeffreysRestraint(Object o) -> JeffreysRestraint"""
459 return _IMP_isd._object_cast_to_JeffreysRestraint(o)
461 _object_types.append(
"NormalSigmaPCRestraint")
464 def _object_cast_to_NormalSigmaPCRestraint(o):
465 """_object_cast_to_NormalSigmaPCRestraint(Object o) -> NormalSigmaPCRestraint"""
466 return _IMP_isd._object_cast_to_NormalSigmaPCRestraint(o)
468 _object_types.append(
"vonMisesKappaJeffreysRestraint")
471 def _object_cast_to_vonMisesKappaJeffreysRestraint(o):
472 """_object_cast_to_vonMisesKappaJeffreysRestraint(Object o) -> vonMisesKappaJeffreysRestraint"""
473 return _IMP_isd._object_cast_to_vonMisesKappaJeffreysRestraint(o)
475 _object_types.append(
"vonMisesKappaConjugateRestraint")
478 def _object_cast_to_vonMisesKappaConjugateRestraint(o):
479 """_object_cast_to_vonMisesKappaConjugateRestraint(Object o) -> vonMisesKappaConjugateRestraint"""
480 return _IMP_isd._object_cast_to_vonMisesKappaConjugateRestraint(o)
482 _object_types.append(
"Distribution")
485 def _object_cast_to_Distribution(o):
486 """_object_cast_to_Distribution(Object o) -> Distribution"""
487 return _IMP_isd._object_cast_to_Distribution(o)
489 _object_types.append(
"OneDimensionalDistribution")
492 def _object_cast_to_OneDimensionalDistribution(o):
493 """_object_cast_to_OneDimensionalDistribution(Object o) -> OneDimensionalDistribution"""
494 return _IMP_isd._object_cast_to_OneDimensionalDistribution(o)
496 _object_types.append(
"OneDimensionalSufficientDistribution")
499 def _object_cast_to_OneDimensionalSufficientDistribution(o):
500 """_object_cast_to_OneDimensionalSufficientDistribution(Object o) -> OneDimensionalSufficientDistribution"""
501 return _IMP_isd._object_cast_to_OneDimensionalSufficientDistribution(o)
503 _object_types.append(
"FNormal")
506 def _object_cast_to_FNormal(o):
507 """_object_cast_to_FNormal(Object o) -> FNormal"""
508 return _IMP_isd._object_cast_to_FNormal(o)
510 _object_types.append(
"FStudentT")
513 def _object_cast_to_FStudentT(o):
514 """_object_cast_to_FStudentT(Object o) -> FStudentT"""
515 return _IMP_isd._object_cast_to_FStudentT(o)
517 _object_types.append(
"vonMises")
520 def _object_cast_to_vonMises(o):
521 """_object_cast_to_vonMises(Object o) -> vonMises"""
522 return _IMP_isd._object_cast_to_vonMises(o)
524 _object_types.append(
"vonMisesSufficient")
527 def _object_cast_to_vonMisesSufficient(o):
528 """_object_cast_to_vonMisesSufficient(Object o) -> vonMisesSufficient"""
529 return _IMP_isd._object_cast_to_vonMisesSufficient(o)
531 _object_types.append(
"PenalizedComplexityPrior")
534 def _object_cast_to_PenalizedComplexityPrior(o):
535 """_object_cast_to_PenalizedComplexityPrior(Object o) -> PenalizedComplexityPrior"""
536 return _IMP_isd._object_cast_to_PenalizedComplexityPrior(o)
539 return [Nuisance(x)
for x
in l]
540 _plural_types.append(
"Nuisances")
543 _value_types.append(
"Nuisance")
547 return [Scale(x)
for x
in l]
548 _plural_types.append(
"Scales")
551 _value_types.append(
"Scale")
554 def Switchings(l=[]):
555 return [Switching(x)
for x
in l]
556 _plural_types.append(
"Switchings")
559 _value_types.append(
"Switching")
562 _object_types.append(
"NOERestraint")
565 def _object_cast_to_NOERestraint(o):
566 """_object_cast_to_NOERestraint(Object o) -> NOERestraint"""
567 return _IMP_isd._object_cast_to_NOERestraint(o)
570 return [Weight(x)
for x
in l]
571 _plural_types.append(
"Weights")
574 _value_types.append(
"Weight")
577 _object_types.append(
"GaussianRestraint")
580 def _object_cast_to_GaussianRestraint(o):
581 """_object_cast_to_GaussianRestraint(Object o) -> GaussianRestraint"""
582 return _IMP_isd._object_cast_to_GaussianRestraint(o)
584 _object_types.append(
"StudentTRestraint")
587 def _object_cast_to_StudentTRestraint(o):
588 """_object_cast_to_StudentTRestraint(Object o) -> StudentTRestraint"""
589 return _IMP_isd._object_cast_to_StudentTRestraint(o)
591 _object_types.append(
"LognormalRestraint")
594 def _object_cast_to_LognormalRestraint(o):
595 """_object_cast_to_LognormalRestraint(Object o) -> LognormalRestraint"""
596 return _IMP_isd._object_cast_to_LognormalRestraint(o)
598 _object_types.append(
"LognormalAmbiguousRestraint")
601 def _object_cast_to_LognormalAmbiguousRestraint(o):
602 """_object_cast_to_LognormalAmbiguousRestraint(Object o) -> LognormalAmbiguousRestraint"""
603 return _IMP_isd._object_cast_to_LognormalAmbiguousRestraint(o)
605 _object_types.append(
"AmbiguousNOERestraint")
608 def _object_cast_to_AmbiguousNOERestraint(o):
609 """_object_cast_to_AmbiguousNOERestraint(Object o) -> AmbiguousNOERestraint"""
610 return _IMP_isd._object_cast_to_AmbiguousNOERestraint(o)
612 _object_types.append(
"MarginalNOERestraint")
615 def _object_cast_to_MarginalNOERestraint(o):
616 """_object_cast_to_MarginalNOERestraint(Object o) -> MarginalNOERestraint"""
617 return _IMP_isd._object_cast_to_MarginalNOERestraint(o)
619 _object_types.append(
"MarginalHBondRestraint")
622 def _object_cast_to_MarginalHBondRestraint(o):
623 """_object_cast_to_MarginalHBondRestraint(Object o) -> MarginalHBondRestraint"""
624 return _IMP_isd._object_cast_to_MarginalHBondRestraint(o)
626 _object_types.append(
"TALOSRestraint")
629 def _object_cast_to_TALOSRestraint(o):
630 """_object_cast_to_TALOSRestraint(Object o) -> TALOSRestraint"""
631 return _IMP_isd._object_cast_to_TALOSRestraint(o)
633 _object_types.append(
"RepulsiveDistancePairScore")
636 def _object_cast_to_RepulsiveDistancePairScore(o):
637 """_object_cast_to_RepulsiveDistancePairScore(Object o) -> RepulsiveDistancePairScore"""
638 return _IMP_isd._object_cast_to_RepulsiveDistancePairScore(o)
640 _object_types.append(
"AmbiguousRestraint")
643 def _object_cast_to_AmbiguousRestraint(o):
644 """_object_cast_to_AmbiguousRestraint(Object o) -> AmbiguousRestraint"""
645 return _IMP_isd._object_cast_to_AmbiguousRestraint(o)
647 _object_types.append(
"UnivariateFunction")
650 def _object_cast_to_UnivariateFunction(o):
651 """_object_cast_to_UnivariateFunction(Object o) -> UnivariateFunction"""
652 return _IMP_isd._object_cast_to_UnivariateFunction(o)
654 _object_types.append(
"Linear1DFunction")
657 def _object_cast_to_Linear1DFunction(o):
658 """_object_cast_to_Linear1DFunction(Object o) -> Linear1DFunction"""
659 return _IMP_isd._object_cast_to_Linear1DFunction(o)
661 _object_types.append(
"GeneralizedGuinierPorodFunction")
664 def _object_cast_to_GeneralizedGuinierPorodFunction(o):
665 """_object_cast_to_GeneralizedGuinierPorodFunction(Object o) -> GeneralizedGuinierPorodFunction"""
666 return _IMP_isd._object_cast_to_GeneralizedGuinierPorodFunction(o)
668 _object_types.append(
"BivariateFunction")
671 def _object_cast_to_BivariateFunction(o):
672 """_object_cast_to_BivariateFunction(Object o) -> BivariateFunction"""
673 return _IMP_isd._object_cast_to_BivariateFunction(o)
675 _object_types.append(
"Covariance1DFunction")
678 def _object_cast_to_Covariance1DFunction(o):
679 """_object_cast_to_Covariance1DFunction(Object o) -> Covariance1DFunction"""
680 return _IMP_isd._object_cast_to_Covariance1DFunction(o)
682 _object_types.append(
"GaussianProcessInterpolation")
685 def _object_cast_to_GaussianProcessInterpolation(o):
686 """_object_cast_to_GaussianProcessInterpolation(Object o) -> GaussianProcessInterpolation"""
687 return _IMP_isd._object_cast_to_GaussianProcessInterpolation(o)
689 _object_types.append(
"GaussianProcessInterpolationRestraint")
692 def _object_cast_to_GaussianProcessInterpolationRestraint(o):
693 """_object_cast_to_GaussianProcessInterpolationRestraint(Object o) -> GaussianProcessInterpolationRestraint"""
694 return _IMP_isd._object_cast_to_GaussianProcessInterpolationRestraint(o)
696 _object_types.append(
"MolecularDynamics")
699 _object_types.append(
"MolecularDynamicsMover")
702 def _object_cast_to_MolecularDynamicsMover(o):
703 """_object_cast_to_MolecularDynamicsMover(Object o) -> MolecularDynamicsMover"""
704 return _IMP_isd._object_cast_to_MolecularDynamicsMover(o)
706 _object_types.append(
"HybridMonteCarlo")
709 def _object_cast_to_HybridMonteCarlo(o):
710 """_object_cast_to_HybridMonteCarlo(Object o) -> HybridMonteCarlo"""
711 return _IMP_isd._object_cast_to_HybridMonteCarlo(o)
713 _object_types.append(
"FretData")
716 def _object_cast_to_FretData(o):
717 """_object_cast_to_FretData(Object o) -> FretData"""
718 return _IMP_isd._object_cast_to_FretData(o)
720 _object_types.append(
"FretRestraint")
723 def _object_cast_to_FretRestraint(o):
724 """_object_cast_to_FretRestraint(Object o) -> FretRestraint"""
725 return _IMP_isd._object_cast_to_FretRestraint(o)
727 _object_types.append(
"CrossLinkData")
730 def _object_cast_to_CrossLinkData(o):
731 """_object_cast_to_CrossLinkData(Object o) -> CrossLinkData"""
732 return _IMP_isd._object_cast_to_CrossLinkData(o)
734 _object_types.append(
"CysteineCrossLinkData")
737 def _object_cast_to_CysteineCrossLinkData(o):
738 """_object_cast_to_CysteineCrossLinkData(Object o) -> CysteineCrossLinkData"""
739 return _IMP_isd._object_cast_to_CysteineCrossLinkData(o)
741 _object_types.append(
"CysteineCrossLinkRestraint")
744 def _object_cast_to_CysteineCrossLinkRestraint(o):
745 """_object_cast_to_CysteineCrossLinkRestraint(Object o) -> CysteineCrossLinkRestraint"""
746 return _IMP_isd._object_cast_to_CysteineCrossLinkRestraint(o)
748 _object_types.append(
"WeightMover")
751 def _object_cast_to_WeightMover(o):
752 """_object_cast_to_WeightMover(Object o) -> WeightMover"""
753 return _IMP_isd._object_cast_to_WeightMover(o)
755 _object_types.append(
"WeightRestraint")
758 def _object_cast_to_WeightRestraint(o):
759 """_object_cast_to_WeightRestraint(Object o) -> WeightRestraint"""
760 return _IMP_isd._object_cast_to_WeightRestraint(o)
762 _object_types.append(
"AtomicCrossLinkMSRestraint")
765 def _object_cast_to_AtomicCrossLinkMSRestraint(o):
766 """_object_cast_to_AtomicCrossLinkMSRestraint(Object o) -> AtomicCrossLinkMSRestraint"""
767 return _IMP_isd._object_cast_to_AtomicCrossLinkMSRestraint(o)
769 _object_types.append(
"GaussianEMRestraint")
772 def _object_cast_to_GaussianEMRestraint(o):
773 """_object_cast_to_GaussianEMRestraint(Object o) -> GaussianEMRestraint"""
774 return _IMP_isd._object_cast_to_GaussianEMRestraint(o)
776 _object_types.append(
"GaussianAnchorEMRestraint")
779 def _object_cast_to_GaussianAnchorEMRestraint(o):
780 """_object_cast_to_GaussianAnchorEMRestraint(Object o) -> GaussianAnchorEMRestraint"""
781 return _IMP_isd._object_cast_to_GaussianAnchorEMRestraint(o)
783 _object_types.append(
"GammaPrior")
786 def _object_cast_to_GammaPrior(o):
787 """_object_cast_to_GammaPrior(Object o) -> GammaPrior"""
788 return _IMP_isd._object_cast_to_GammaPrior(o)
790 def create_model_and_particles():
795 for i
in range(0,100):
799 d.set_coordinates_are_optimized(
True)
803 """Proxy of C++ IMP::isd::ISDRestraint class."""
805 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
807 def __init__(self, m, name):
808 """__init__(IMP::isd::ISDRestraint self, Model m, std::string name) -> ISDRestraint"""
809 if self.__class__ == ISDRestraint:
813 this = _IMP_isd.new_ISDRestraint(_self, m, name)
815 self.this.append(this)
816 except __builtin__.Exception:
819 if self.__class__ != ISDRestraint:
820 _director_objects.register(self)
825 def get_probability(self):
826 """get_probability(ISDRestraint self) -> double"""
827 return _IMP_isd.ISDRestraint_get_probability(self)
830 def unprotected_evaluate(self, accum):
831 """unprotected_evaluate(ISDRestraint self, DerivativeAccumulator accum) -> double"""
832 return _IMP_isd.ISDRestraint_unprotected_evaluate(self, accum)
836 """do_get_inputs(ISDRestraint self) -> IMP::ModelObjectsTemp"""
837 return _IMP_isd.ISDRestraint_do_get_inputs(self)
840 def get_type_name(self):
841 """get_type_name(ISDRestraint self) -> std::string"""
842 return _IMP_isd.ISDRestraint_get_type_name(self)
846 """get_version_info(ISDRestraint self) -> VersionInfo"""
847 return _IMP_isd.ISDRestraint_get_version_info(self)
851 """__str__(ISDRestraint self) -> std::string"""
852 return _IMP_isd.ISDRestraint___str__(self)
856 """__repr__(ISDRestraint self) -> std::string"""
857 return _IMP_isd.ISDRestraint___repr__(self)
862 return _object_cast_to_ISDRestraint(o)
865 def get_type_name(self):
866 return self.__class__.__name__
867 def do_show(self, out):
870 if"IMP::isd" ==
"IMP":
871 return VersionInfo(self.__module__,
878 return _object_cast_to_ISDRestraint(o)
880 def __disown__(self):
882 _IMP_isd.disown_ISDRestraint(self)
883 return weakref_proxy(self)
886 """do_destroy(ISDRestraint self)"""
887 return _IMP_isd.ISDRestraint_do_destroy(self)
890 def handle_set_has_required_score_states(self, arg0):
891 """handle_set_has_required_score_states(ISDRestraint self, bool arg0)"""
892 return _IMP_isd.ISDRestraint_handle_set_has_required_score_states(self, arg0)
896 """do_get_outputs(ISDRestraint self) -> IMP::ModelObjectsTemp"""
897 return _IMP_isd.ISDRestraint_do_get_outputs(self)
900 def do_get_interactions(self):
901 """do_get_interactions(ISDRestraint self) -> IMP::ModelObjectsTemps"""
902 return _IMP_isd.ISDRestraint_do_get_interactions(self)
905 def do_create_decomposition(self):
906 """do_create_decomposition(ISDRestraint self) -> IMP::Restraints"""
907 return _IMP_isd.ISDRestraint_do_create_decomposition(self)
910 def do_create_current_decomposition(self):
911 """do_create_current_decomposition(ISDRestraint self) -> IMP::Restraints"""
912 return _IMP_isd.ISDRestraint_do_create_current_decomposition(self)
915 def do_add_score_and_derivatives(self, sa):
916 """do_add_score_and_derivatives(ISDRestraint self, ScoreAccumulator sa)"""
917 return _IMP_isd.ISDRestraint_do_add_score_and_derivatives(self, sa)
919 ISDRestraint_swigregister = _IMP_isd.ISDRestraint_swigregister
920 ISDRestraint_swigregister(ISDRestraint)
923 """Proxy of C++ IMP::isd::CrossLinkMSRestraint class."""
925 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
927 def __init__(self, *args):
929 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length, bool get_log_prob=False, std::string name) -> CrossLinkMSRestraint
930 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length, bool get_log_prob=False) -> CrossLinkMSRestraint
931 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length) -> CrossLinkMSRestraint
932 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, _ParticleIndexAdaptor lengthi, bool get_log_prob=False, std::string name) -> CrossLinkMSRestraint
933 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, _ParticleIndexAdaptor lengthi, bool get_log_prob=False) -> CrossLinkMSRestraint
934 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, _ParticleIndexAdaptor lengthi) -> CrossLinkMSRestraint
935 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length, double slope, bool get_log_prob=False, std::string name) -> CrossLinkMSRestraint
936 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length, double slope, bool get_log_prob=False) -> CrossLinkMSRestraint
937 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length, double slope) -> CrossLinkMSRestraint
939 this = _IMP_isd.new_CrossLinkMSRestraint(*args)
941 self.this.append(this)
942 except __builtin__.Exception:
945 def add_contribution(self, pps, sigmas, psi):
946 """add_contribution(CrossLinkMSRestraint self, IMP::ParticleIndexPair const & pps, IMP::ParticleIndexPair const & sigmas, ParticleIndex psi)"""
947 return _IMP_isd.CrossLinkMSRestraint_add_contribution(self, pps, sigmas, psi)
950 def get_probability(self):
951 """get_probability(CrossLinkMSRestraint self) -> double"""
952 return _IMP_isd.CrossLinkMSRestraint_get_probability(self)
955 def get_length(self):
956 """get_length(CrossLinkMSRestraint self) -> double"""
957 return _IMP_isd.CrossLinkMSRestraint_get_length(self)
961 """get_slope(CrossLinkMSRestraint self) -> double"""
962 return _IMP_isd.CrossLinkMSRestraint_get_slope(self)
965 def get_contribution_sigma_indexes(self, i):
966 """get_contribution_sigma_indexes(CrossLinkMSRestraint self, int i) -> IMP::ParticleIndexPair"""
967 return _IMP_isd.CrossLinkMSRestraint_get_contribution_sigma_indexes(self, i)
970 def get_contribution_psi_index(self, i):
971 """get_contribution_psi_index(CrossLinkMSRestraint self, int i) -> ParticleIndex"""
972 return _IMP_isd.CrossLinkMSRestraint_get_contribution_psi_index(self, i)
975 def get_contribution_particle_indexes(self, i):
976 """get_contribution_particle_indexes(CrossLinkMSRestraint self, int i) -> IMP::ParticleIndexPair"""
977 return _IMP_isd.CrossLinkMSRestraint_get_contribution_particle_indexes(self, i)
980 def get_number_of_contributions(self):
981 """get_number_of_contributions(CrossLinkMSRestraint self) -> unsigned int"""
982 return _IMP_isd.CrossLinkMSRestraint_get_number_of_contributions(self)
986 """do_get_inputs(CrossLinkMSRestraint self) -> IMP::ModelObjectsTemp"""
987 return _IMP_isd.CrossLinkMSRestraint_do_get_inputs(self)
991 """get_version_info(CrossLinkMSRestraint self) -> VersionInfo"""
992 return _IMP_isd.CrossLinkMSRestraint_get_version_info(self)
996 """__str__(CrossLinkMSRestraint self) -> std::string"""
997 return _IMP_isd.CrossLinkMSRestraint___str__(self)
1001 """__repr__(CrossLinkMSRestraint self) -> std::string"""
1002 return _IMP_isd.CrossLinkMSRestraint___repr__(self)
1007 return _object_cast_to_CrossLinkMSRestraint(o)
1009 CrossLinkMSRestraint_swigregister = _IMP_isd.CrossLinkMSRestraint_swigregister
1010 CrossLinkMSRestraint_swigregister(CrossLinkMSRestraint)
1013 """Proxy of C++ IMP::isd::LogWrapper class."""
1015 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1017 def __init__(self, *args):
1019 __init__(IMP::isd::LogWrapper self, Model m, double weight, std::string const & name) -> LogWrapper
1020 __init__(IMP::isd::LogWrapper self, Model m, double weight) -> LogWrapper
1021 __init__(IMP::isd::LogWrapper self, Model m, std::string const & name) -> LogWrapper
1022 __init__(IMP::isd::LogWrapper self, Model m) -> LogWrapper
1023 __init__(IMP::isd::LogWrapper self, IMP::RestraintsTemp const & rs, double weight, std::string const & name) -> LogWrapper
1024 __init__(IMP::isd::LogWrapper self, IMP::RestraintsTemp const & rs, double weight) -> LogWrapper
1026 this = _IMP_isd.new_LogWrapper(*args)
1028 self.this.append(this)
1029 except __builtin__.Exception:
1032 def do_add_score_and_derivatives(self, sa):
1033 """do_add_score_and_derivatives(LogWrapper self, ScoreAccumulator sa)"""
1034 return _IMP_isd.LogWrapper_do_add_score_and_derivatives(self, sa)
1038 """__str__(LogWrapper self) -> std::string"""
1039 return _IMP_isd.LogWrapper___str__(self)
1043 """__repr__(LogWrapper self) -> std::string"""
1044 return _IMP_isd.LogWrapper___repr__(self)
1049 return _object_cast_to_LogWrapper(o)
1051 LogWrapper_swigregister = _IMP_isd.LogWrapper_swigregister
1052 LogWrapper_swigregister(LogWrapper)
1055 """Proxy of C++ IMP::isd::UniformPrior class."""
1057 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1059 def __init__(self, *args):
1061 __init__(IMP::isd::UniformPrior self, Model m, Particle p, IMP::Float k, IMP::Float upperb, IMP::Float lowerb, std::string name) -> UniformPrior
1062 __init__(IMP::isd::UniformPrior self, Model m, Particle p, IMP::Float k, IMP::Float upperb, IMP::Float lowerb) -> UniformPrior
1064 this = _IMP_isd.new_UniformPrior(*args)
1066 self.this.append(this)
1067 except __builtin__.Exception:
1071 """do_get_inputs(UniformPrior self) -> IMP::ModelObjectsTemp"""
1072 return _IMP_isd.UniformPrior_do_get_inputs(self)
1076 """get_version_info(UniformPrior self) -> VersionInfo"""
1077 return _IMP_isd.UniformPrior_get_version_info(self)
1080 def get_probability(self):
1081 """get_probability(UniformPrior self) -> double"""
1082 return _IMP_isd.UniformPrior_get_probability(self)
1086 """__str__(UniformPrior self) -> std::string"""
1087 return _IMP_isd.UniformPrior___str__(self)
1091 """__repr__(UniformPrior self) -> std::string"""
1092 return _IMP_isd.UniformPrior___repr__(self)
1097 return _object_cast_to_UniformPrior(o)
1099 UniformPrior_swigregister = _IMP_isd.UniformPrior_swigregister
1100 UniformPrior_swigregister(UniformPrior)
1103 """Proxy of C++ IMP::isd::Nuisance class."""
1105 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1107 def __init__(self, *args):
1109 __init__(IMP::isd::Nuisance self) -> Nuisance
1110 __init__(IMP::isd::Nuisance self, Model m, ParticleIndex id) -> Nuisance
1111 __init__(IMP::isd::Nuisance self, _ParticleAdaptor d) -> Nuisance
1113 this = _IMP_isd.new_Nuisance(*args)
1115 self.this.append(this)
1116 except __builtin__.Exception:
1119 def show(self, *args):
1121 show(Nuisance self, _ostream out)
1124 return _IMP_isd.Nuisance_show(self, *args)
1127 def setup_particle(*args):
1129 setup_particle(Model m, ParticleIndex pi) -> Nuisance
1130 setup_particle(_ParticleAdaptor decorator) -> Nuisance
1131 setup_particle(Model m, ParticleIndex pi, double nuisance) -> Nuisance
1132 setup_particle(_ParticleAdaptor decorator, double nuisance) -> Nuisance
1134 return _IMP_isd.Nuisance_setup_particle(*args)
1136 setup_particle = staticmethod(setup_particle)
1138 def get_is_setup(*args):
1140 get_is_setup(_ParticleAdaptor p) -> bool
1141 get_is_setup(Model m, ParticleIndex pi) -> bool
1143 return _IMP_isd.Nuisance_get_is_setup(*args)
1145 get_is_setup = staticmethod(get_is_setup)
1147 def get_nuisance_key():
1148 """get_nuisance_key() -> FloatKey"""
1149 return _IMP_isd.Nuisance_get_nuisance_key()
1151 get_nuisance_key = staticmethod(get_nuisance_key)
1153 def get_nuisance(self):
1154 """get_nuisance(Nuisance self) -> IMP::Float"""
1155 return _IMP_isd.Nuisance_get_nuisance(self)
1158 def set_nuisance(self, d):
1159 """set_nuisance(Nuisance self, IMP::Float d)"""
1160 return _IMP_isd.Nuisance_set_nuisance(self, d)
1163 def get_has_lower(self):
1164 """get_has_lower(Nuisance self) -> bool"""
1165 return _IMP_isd.Nuisance_get_has_lower(self)
1168 def get_lower(self):
1169 """get_lower(Nuisance self) -> IMP::Float"""
1170 return _IMP_isd.Nuisance_get_lower(self)
1173 def get_lower_key():
1174 """get_lower_key() -> FloatKey"""
1175 return _IMP_isd.Nuisance_get_lower_key()
1177 get_lower_key = staticmethod(get_lower_key)
1179 def get_lower_particle_key():
1180 """get_lower_particle_key() -> ParticleIndexKey"""
1181 return _IMP_isd.Nuisance_get_lower_particle_key()
1183 get_lower_particle_key = staticmethod(get_lower_particle_key)
1185 def set_lower(self, *args):
1187 set_lower(Nuisance self, IMP::Float d)
1188 set_lower(Nuisance self, Particle d)
1190 return _IMP_isd.Nuisance_set_lower(self, *args)
1193 def remove_lower(self):
1194 """remove_lower(Nuisance self)"""
1195 return _IMP_isd.Nuisance_remove_lower(self)
1198 def get_has_upper(self):
1199 """get_has_upper(Nuisance self) -> bool"""
1200 return _IMP_isd.Nuisance_get_has_upper(self)
1203 def get_upper(self):
1204 """get_upper(Nuisance self) -> IMP::Float"""
1205 return _IMP_isd.Nuisance_get_upper(self)
1208 def get_upper_key():
1209 """get_upper_key() -> FloatKey"""
1210 return _IMP_isd.Nuisance_get_upper_key()
1212 get_upper_key = staticmethod(get_upper_key)
1214 def get_upper_particle_key():
1215 """get_upper_particle_key() -> ParticleIndexKey"""
1216 return _IMP_isd.Nuisance_get_upper_particle_key()
1218 get_upper_particle_key = staticmethod(get_upper_particle_key)
1220 def set_upper(self, *args):
1222 set_upper(Nuisance self, IMP::Float d)
1223 set_upper(Nuisance self, Particle d)
1225 return _IMP_isd.Nuisance_set_upper(self, *args)
1228 def remove_upper(self):
1229 """remove_upper(Nuisance self)"""
1230 return _IMP_isd.Nuisance_remove_upper(self)
1233 def get_nuisance_derivative(self):
1234 """get_nuisance_derivative(Nuisance self) -> IMP::Float"""
1235 return _IMP_isd.Nuisance_get_nuisance_derivative(self)
1238 def add_to_nuisance_derivative(self, d, accum):
1239 """add_to_nuisance_derivative(Nuisance self, IMP::Float d, DerivativeAccumulator accum)"""
1240 return _IMP_isd.Nuisance_add_to_nuisance_derivative(self, d, accum)
1243 def get_nuisance_is_optimized(self):
1244 """get_nuisance_is_optimized(Nuisance self) -> bool"""
1245 return _IMP_isd.Nuisance_get_nuisance_is_optimized(self)
1248 def set_nuisance_is_optimized(self, val):
1249 """set_nuisance_is_optimized(Nuisance self, bool val)"""
1250 return _IMP_isd.Nuisance_set_nuisance_is_optimized(self, val)
1253 def add_attribute(self, *args):
1255 add_attribute(Nuisance self, FloatKey k, IMP::Float v, bool opt)
1256 add_attribute(Nuisance self, FloatKey a0, IMP::Float a1)
1257 add_attribute(Nuisance self, IntKey a0, IMP::Int a1)
1258 add_attribute(Nuisance self, FloatsKey a0, IMP::Floats a1)
1259 add_attribute(Nuisance self, IntsKey a0, IMP::Ints a1)
1260 add_attribute(Nuisance self, StringKey a0, IMP::String a1)
1261 add_attribute(Nuisance self, ParticleIndexKey a0, Particle a1)
1262 add_attribute(Nuisance self, ObjectKey a0, Object a1)
1264 return _IMP_isd.Nuisance_add_attribute(self, *args)
1267 def get_value(self, *args):
1269 get_value(Nuisance self, FloatKey a0) -> IMP::Float
1270 get_value(Nuisance self, IntKey a0) -> IMP::Int
1271 get_value(Nuisance self, FloatsKey a0) -> IMP::Floats
1272 get_value(Nuisance self, IntsKey a0) -> IMP::Ints
1273 get_value(Nuisance self, StringKey a0) -> IMP::String
1274 get_value(Nuisance self, ParticleIndexKey a0) -> Particle
1275 get_value(Nuisance self, ObjectKey a0) -> Object
1277 return _IMP_isd.Nuisance_get_value(self, *args)
1280 def set_value(self, *args):
1282 set_value(Nuisance self, FloatKey a0, IMP::Float a1)
1283 set_value(Nuisance self, IntKey a0, IMP::Int a1)
1284 set_value(Nuisance self, FloatsKey a0, IMP::Floats a1)
1285 set_value(Nuisance self, IntsKey a0, IMP::Ints a1)
1286 set_value(Nuisance self, StringKey a0, IMP::String a1)
1287 set_value(Nuisance self, ParticleIndexKey a0, Particle a1)
1288 set_value(Nuisance self, ObjectKey a0, Object a1)
1290 return _IMP_isd.Nuisance_set_value(self, *args)
1293 def remove_attribute(self, *args):
1295 remove_attribute(Nuisance self, FloatKey a0)
1296 remove_attribute(Nuisance self, IntKey a0)
1297 remove_attribute(Nuisance self, FloatsKey a0)
1298 remove_attribute(Nuisance self, IntsKey a0)
1299 remove_attribute(Nuisance self, StringKey a0)
1300 remove_attribute(Nuisance self, ParticleIndexKey a0)
1301 remove_attribute(Nuisance self, ObjectKey a0)
1303 return _IMP_isd.Nuisance_remove_attribute(self, *args)
1306 def has_attribute(self, *args):
1308 has_attribute(Nuisance self, FloatKey a0) -> bool
1309 has_attribute(Nuisance self, IntKey a0) -> bool
1310 has_attribute(Nuisance self, FloatsKey a0) -> bool
1311 has_attribute(Nuisance self, IntsKey a0) -> bool
1312 has_attribute(Nuisance self, StringKey a0) -> bool
1313 has_attribute(Nuisance self, ParticleIndexKey a0) -> bool
1314 has_attribute(Nuisance self, ObjectKey a0) -> bool
1316 return _IMP_isd.Nuisance_has_attribute(self, *args)
1319 def get_derivative(self, a0):
1320 """get_derivative(Nuisance self, FloatKey a0) -> double"""
1321 return _IMP_isd.Nuisance_get_derivative(self, a0)
1325 """get_name(Nuisance self) -> std::string"""
1326 return _IMP_isd.Nuisance_get_name(self)
1330 """clear_caches(Nuisance self)"""
1331 return _IMP_isd.Nuisance_clear_caches(self)
1334 def set_name(self, a0):
1335 """set_name(Nuisance self, std::string a0)"""
1336 return _IMP_isd.Nuisance_set_name(self, a0)
1340 """set_check_level(Nuisance self, IMP::CheckLevel a0)"""
1341 return _IMP_isd.Nuisance_set_check_level(self, a0)
1344 def add_to_derivative(self, a0, a1, a2):
1345 """add_to_derivative(Nuisance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1346 return _IMP_isd.Nuisance_add_to_derivative(self, a0, a1, a2)
1349 def set_is_optimized(self, a0, a1):
1350 """set_is_optimized(Nuisance self, FloatKey a0, bool a1)"""
1351 return _IMP_isd.Nuisance_set_is_optimized(self, a0, a1)
1354 def get_is_optimized(self, a0):
1355 """get_is_optimized(Nuisance self, FloatKey a0) -> bool"""
1356 return _IMP_isd.Nuisance_get_is_optimized(self, a0)
1359 def get_check_level(self):
1360 """get_check_level(Nuisance self) -> IMP::CheckLevel"""
1361 return _IMP_isd.Nuisance_get_check_level(self)
1364 def __eq__(self, *args):
1366 __eq__(Nuisance self, Nuisance o) -> bool
1367 __eq__(Nuisance self, Particle d) -> bool
1369 return _IMP_isd.Nuisance___eq__(self, *args)
1372 def __ne__(self, *args):
1374 __ne__(Nuisance self, Nuisance o) -> bool
1375 __ne__(Nuisance self, Particle d) -> bool
1377 return _IMP_isd.Nuisance___ne__(self, *args)
1380 def __le__(self, *args):
1382 __le__(Nuisance self, Nuisance o) -> bool
1383 __le__(Nuisance self, Particle d) -> bool
1385 return _IMP_isd.Nuisance___le__(self, *args)
1388 def __lt__(self, *args):
1390 __lt__(Nuisance self, Nuisance o) -> bool
1391 __lt__(Nuisance self, Particle d) -> bool
1393 return _IMP_isd.Nuisance___lt__(self, *args)
1396 def __ge__(self, *args):
1398 __ge__(Nuisance self, Nuisance o) -> bool
1399 __ge__(Nuisance self, Particle d) -> bool
1401 return _IMP_isd.Nuisance___ge__(self, *args)
1404 def __gt__(self, *args):
1406 __gt__(Nuisance self, Nuisance o) -> bool
1407 __gt__(Nuisance self, Particle d) -> bool
1409 return _IMP_isd.Nuisance___gt__(self, *args)
1413 """__hash__(Nuisance self) -> std::size_t"""
1414 return _IMP_isd.Nuisance___hash__(self)
1418 """__str__(Nuisance self) -> std::string"""
1419 return _IMP_isd.Nuisance___str__(self)
1423 """__repr__(Nuisance self) -> std::string"""
1424 return _IMP_isd.Nuisance___repr__(self)
1426 __swig_destroy__ = _IMP_isd.delete_Nuisance
1427 __del__ =
lambda self:
None
1428 Nuisance_swigregister = _IMP_isd.Nuisance_swigregister
1429 Nuisance_swigregister(Nuisance)
1431 def Nuisance_setup_particle(*args):
1433 setup_particle(Model m, ParticleIndex pi) -> Nuisance
1434 setup_particle(_ParticleAdaptor decorator) -> Nuisance
1435 setup_particle(Model m, ParticleIndex pi, double nuisance) -> Nuisance
1436 Nuisance_setup_particle(_ParticleAdaptor decorator, double nuisance) -> Nuisance
1438 return _IMP_isd.Nuisance_setup_particle(*args)
1440 def Nuisance_get_is_setup(*args):
1442 get_is_setup(_ParticleAdaptor p) -> bool
1443 Nuisance_get_is_setup(Model m, ParticleIndex pi) -> bool
1445 return _IMP_isd.Nuisance_get_is_setup(*args)
1447 def Nuisance_get_nuisance_key():
1448 """Nuisance_get_nuisance_key() -> FloatKey"""
1449 return _IMP_isd.Nuisance_get_nuisance_key()
1451 def Nuisance_get_lower_key():
1452 """Nuisance_get_lower_key() -> FloatKey"""
1453 return _IMP_isd.Nuisance_get_lower_key()
1455 def Nuisance_get_lower_particle_key():
1456 """Nuisance_get_lower_particle_key() -> ParticleIndexKey"""
1457 return _IMP_isd.Nuisance_get_lower_particle_key()
1459 def Nuisance_get_upper_key():
1460 """Nuisance_get_upper_key() -> FloatKey"""
1461 return _IMP_isd.Nuisance_get_upper_key()
1463 def Nuisance_get_upper_particle_key():
1464 """Nuisance_get_upper_particle_key() -> ParticleIndexKey"""
1465 return _IMP_isd.Nuisance_get_upper_particle_key()
1467 class Scale(Nuisance):
1468 """Proxy of C++ IMP::isd::Scale class."""
1470 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1472 def __init__(self, *args):
1474 __init__(IMP::isd::Scale self) -> Scale
1475 __init__(IMP::isd::Scale self, Model m, ParticleIndex id) -> Scale
1476 __init__(IMP::isd::Scale self, _ParticleAdaptor d) -> Scale
1478 this = _IMP_isd.new_Scale(*args)
1480 self.this.append(this)
1481 except __builtin__.Exception:
1484 def show(self, *args):
1486 show(Scale self, _ostream out)
1489 return _IMP_isd.Scale_show(self, *args)
1492 def setup_particle(*args):
1494 setup_particle(Model m, ParticleIndex pi) -> Scale
1495 setup_particle(_ParticleAdaptor decorator) -> Scale
1496 setup_particle(Model m, ParticleIndex pi, double scale) -> Scale
1497 setup_particle(_ParticleAdaptor decorator, double scale) -> Scale
1499 return _IMP_isd.Scale_setup_particle(*args)
1501 setup_particle = staticmethod(setup_particle)
1503 def get_is_setup(*args):
1505 get_is_setup(_ParticleAdaptor p) -> bool
1506 get_is_setup(Model m, ParticleIndex pi) -> bool
1508 return _IMP_isd.Scale_get_is_setup(*args)
1510 get_is_setup = staticmethod(get_is_setup)
1512 def get_scale(self):
1513 """get_scale(Scale self) -> IMP::Float"""
1514 return _IMP_isd.Scale_get_scale(self)
1517 def set_scale(self, d):
1518 """set_scale(Scale self, IMP::Float d)"""
1519 return _IMP_isd.Scale_set_scale(self, d)
1522 def add_to_scale_derivative(self, d, accum):
1523 """add_to_scale_derivative(Scale self, IMP::Float d, DerivativeAccumulator accum)"""
1524 return _IMP_isd.Scale_add_to_scale_derivative(self, d, accum)
1527 def get_scale_derivative(self):
1528 """get_scale_derivative(Scale self) -> IMP::Float"""
1529 return _IMP_isd.Scale_get_scale_derivative(self)
1532 def get_scale_key():
1533 """get_scale_key() -> FloatKey"""
1534 return _IMP_isd.Scale_get_scale_key()
1536 get_scale_key = staticmethod(get_scale_key)
1538 def get_scale_is_optimized(self):
1539 """get_scale_is_optimized(Scale self) -> bool"""
1540 return _IMP_isd.Scale_get_scale_is_optimized(self)
1543 def set_scale_is_optimized(self, val):
1544 """set_scale_is_optimized(Scale self, bool val)"""
1545 return _IMP_isd.Scale_set_scale_is_optimized(self, val)
1548 def add_attribute(self, *args):
1550 add_attribute(Scale self, FloatKey k, IMP::Float v, bool opt)
1551 add_attribute(Scale self, FloatKey a0, IMP::Float a1)
1552 add_attribute(Scale self, IntKey a0, IMP::Int a1)
1553 add_attribute(Scale self, FloatsKey a0, IMP::Floats a1)
1554 add_attribute(Scale self, IntsKey a0, IMP::Ints a1)
1555 add_attribute(Scale self, StringKey a0, IMP::String a1)
1556 add_attribute(Scale self, ParticleIndexKey a0, Particle a1)
1557 add_attribute(Scale self, ObjectKey a0, Object a1)
1559 return _IMP_isd.Scale_add_attribute(self, *args)
1562 def get_value(self, *args):
1564 get_value(Scale self, FloatKey a0) -> IMP::Float
1565 get_value(Scale self, IntKey a0) -> IMP::Int
1566 get_value(Scale self, FloatsKey a0) -> IMP::Floats
1567 get_value(Scale self, IntsKey a0) -> IMP::Ints
1568 get_value(Scale self, StringKey a0) -> IMP::String
1569 get_value(Scale self, ParticleIndexKey a0) -> Particle
1570 get_value(Scale self, ObjectKey a0) -> Object
1572 return _IMP_isd.Scale_get_value(self, *args)
1575 def set_value(self, *args):
1577 set_value(Scale self, FloatKey a0, IMP::Float a1)
1578 set_value(Scale self, IntKey a0, IMP::Int a1)
1579 set_value(Scale self, FloatsKey a0, IMP::Floats a1)
1580 set_value(Scale self, IntsKey a0, IMP::Ints a1)
1581 set_value(Scale self, StringKey a0, IMP::String a1)
1582 set_value(Scale self, ParticleIndexKey a0, Particle a1)
1583 set_value(Scale self, ObjectKey a0, Object a1)
1585 return _IMP_isd.Scale_set_value(self, *args)
1588 def remove_attribute(self, *args):
1590 remove_attribute(Scale self, FloatKey a0)
1591 remove_attribute(Scale self, IntKey a0)
1592 remove_attribute(Scale self, FloatsKey a0)
1593 remove_attribute(Scale self, IntsKey a0)
1594 remove_attribute(Scale self, StringKey a0)
1595 remove_attribute(Scale self, ParticleIndexKey a0)
1596 remove_attribute(Scale self, ObjectKey a0)
1598 return _IMP_isd.Scale_remove_attribute(self, *args)
1601 def has_attribute(self, *args):
1603 has_attribute(Scale self, FloatKey a0) -> bool
1604 has_attribute(Scale self, IntKey a0) -> bool
1605 has_attribute(Scale self, FloatsKey a0) -> bool
1606 has_attribute(Scale self, IntsKey a0) -> bool
1607 has_attribute(Scale self, StringKey a0) -> bool
1608 has_attribute(Scale self, ParticleIndexKey a0) -> bool
1609 has_attribute(Scale self, ObjectKey a0) -> bool
1611 return _IMP_isd.Scale_has_attribute(self, *args)
1614 def get_derivative(self, a0):
1615 """get_derivative(Scale self, FloatKey a0) -> double"""
1616 return _IMP_isd.Scale_get_derivative(self, a0)
1620 """get_name(Scale self) -> std::string"""
1621 return _IMP_isd.Scale_get_name(self)
1625 """clear_caches(Scale self)"""
1626 return _IMP_isd.Scale_clear_caches(self)
1629 def set_name(self, a0):
1630 """set_name(Scale self, std::string a0)"""
1631 return _IMP_isd.Scale_set_name(self, a0)
1635 """set_check_level(Scale self, IMP::CheckLevel a0)"""
1636 return _IMP_isd.Scale_set_check_level(self, a0)
1639 def add_to_derivative(self, a0, a1, a2):
1640 """add_to_derivative(Scale self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1641 return _IMP_isd.Scale_add_to_derivative(self, a0, a1, a2)
1644 def set_is_optimized(self, a0, a1):
1645 """set_is_optimized(Scale self, FloatKey a0, bool a1)"""
1646 return _IMP_isd.Scale_set_is_optimized(self, a0, a1)
1649 def get_is_optimized(self, a0):
1650 """get_is_optimized(Scale self, FloatKey a0) -> bool"""
1651 return _IMP_isd.Scale_get_is_optimized(self, a0)
1654 def get_check_level(self):
1655 """get_check_level(Scale self) -> IMP::CheckLevel"""
1656 return _IMP_isd.Scale_get_check_level(self)
1659 def __eq__(self, *args):
1661 __eq__(Scale self, Scale o) -> bool
1662 __eq__(Scale self, Particle d) -> bool
1664 return _IMP_isd.Scale___eq__(self, *args)
1667 def __ne__(self, *args):
1669 __ne__(Scale self, Scale o) -> bool
1670 __ne__(Scale self, Particle d) -> bool
1672 return _IMP_isd.Scale___ne__(self, *args)
1675 def __le__(self, *args):
1677 __le__(Scale self, Scale o) -> bool
1678 __le__(Scale self, Particle d) -> bool
1680 return _IMP_isd.Scale___le__(self, *args)
1683 def __lt__(self, *args):
1685 __lt__(Scale self, Scale o) -> bool
1686 __lt__(Scale self, Particle d) -> bool
1688 return _IMP_isd.Scale___lt__(self, *args)
1691 def __ge__(self, *args):
1693 __ge__(Scale self, Scale o) -> bool
1694 __ge__(Scale self, Particle d) -> bool
1696 return _IMP_isd.Scale___ge__(self, *args)
1699 def __gt__(self, *args):
1701 __gt__(Scale self, Scale o) -> bool
1702 __gt__(Scale self, Particle d) -> bool
1704 return _IMP_isd.Scale___gt__(self, *args)
1708 """__hash__(Scale self) -> std::size_t"""
1709 return _IMP_isd.Scale___hash__(self)
1713 """__str__(Scale self) -> std::string"""
1714 return _IMP_isd.Scale___str__(self)
1718 """__repr__(Scale self) -> std::string"""
1719 return _IMP_isd.Scale___repr__(self)
1721 __swig_destroy__ = _IMP_isd.delete_Scale
1722 __del__ =
lambda self:
None
1723 Scale_swigregister = _IMP_isd.Scale_swigregister
1724 Scale_swigregister(Scale)
1726 def Scale_setup_particle(*args):
1728 setup_particle(Model m, ParticleIndex pi) -> Scale
1729 setup_particle(_ParticleAdaptor decorator) -> Scale
1730 setup_particle(Model m, ParticleIndex pi, double scale) -> Scale
1731 Scale_setup_particle(_ParticleAdaptor decorator, double scale) -> Scale
1733 return _IMP_isd.Scale_setup_particle(*args)
1735 def Scale_get_is_setup(*args):
1737 get_is_setup(_ParticleAdaptor p) -> bool
1738 Scale_get_is_setup(Model m, ParticleIndex pi) -> bool
1740 return _IMP_isd.Scale_get_is_setup(*args)
1742 def Scale_get_scale_key():
1743 """Scale_get_scale_key() -> FloatKey"""
1744 return _IMP_isd.Scale_get_scale_key()
1746 class Switching(Nuisance):
1747 """Proxy of C++ IMP::isd::Switching class."""
1749 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1751 def __init__(self, *args):
1753 __init__(IMP::isd::Switching self) -> Switching
1754 __init__(IMP::isd::Switching self, Model m, ParticleIndex id) -> Switching
1755 __init__(IMP::isd::Switching self, _ParticleAdaptor d) -> Switching
1757 this = _IMP_isd.new_Switching(*args)
1759 self.this.append(this)
1760 except __builtin__.Exception:
1763 def show(self, *args):
1765 show(Switching self, _ostream out)
1766 show(Switching self)
1768 return _IMP_isd.Switching_show(self, *args)
1771 def setup_particle(*args):
1773 setup_particle(Model m, ParticleIndex pi) -> Switching
1774 setup_particle(_ParticleAdaptor decorator) -> Switching
1775 setup_particle(Model m, ParticleIndex pi, double switching) -> Switching
1776 setup_particle(_ParticleAdaptor decorator, double switching) -> Switching
1778 return _IMP_isd.Switching_setup_particle(*args)
1780 setup_particle = staticmethod(setup_particle)
1782 def get_is_setup(*args):
1784 get_is_setup(_ParticleAdaptor p) -> bool
1785 get_is_setup(Model m, ParticleIndex pi) -> bool
1787 return _IMP_isd.Switching_get_is_setup(*args)
1789 get_is_setup = staticmethod(get_is_setup)
1791 def get_switching(self):
1792 """get_switching(Switching self) -> IMP::Float"""
1793 return _IMP_isd.Switching_get_switching(self)
1796 def set_switching(self, d):
1797 """set_switching(Switching self, IMP::Float d)"""
1798 return _IMP_isd.Switching_set_switching(self, d)
1801 def add_to_switching_derivative(self, d, accum):
1802 """add_to_switching_derivative(Switching self, IMP::Float d, DerivativeAccumulator accum)"""
1803 return _IMP_isd.Switching_add_to_switching_derivative(self, d, accum)
1806 def get_switching_derivative(self):
1807 """get_switching_derivative(Switching self) -> IMP::Float"""
1808 return _IMP_isd.Switching_get_switching_derivative(self)
1811 def get_switching_key():
1812 """get_switching_key() -> FloatKey"""
1813 return _IMP_isd.Switching_get_switching_key()
1815 get_switching_key = staticmethod(get_switching_key)
1817 def get_switching_is_optimized(self):
1818 """get_switching_is_optimized(Switching self) -> bool"""
1819 return _IMP_isd.Switching_get_switching_is_optimized(self)
1822 def set_switching_is_optimized(self, val):
1823 """set_switching_is_optimized(Switching self, bool val)"""
1824 return _IMP_isd.Switching_set_switching_is_optimized(self, val)
1827 def add_attribute(self, *args):
1829 add_attribute(Switching self, FloatKey k, IMP::Float v, bool opt)
1830 add_attribute(Switching self, FloatKey a0, IMP::Float a1)
1831 add_attribute(Switching self, IntKey a0, IMP::Int a1)
1832 add_attribute(Switching self, FloatsKey a0, IMP::Floats a1)
1833 add_attribute(Switching self, IntsKey a0, IMP::Ints a1)
1834 add_attribute(Switching self, StringKey a0, IMP::String a1)
1835 add_attribute(Switching self, ParticleIndexKey a0, Particle a1)
1836 add_attribute(Switching self, ObjectKey a0, Object a1)
1838 return _IMP_isd.Switching_add_attribute(self, *args)
1841 def get_value(self, *args):
1843 get_value(Switching self, FloatKey a0) -> IMP::Float
1844 get_value(Switching self, IntKey a0) -> IMP::Int
1845 get_value(Switching self, FloatsKey a0) -> IMP::Floats
1846 get_value(Switching self, IntsKey a0) -> IMP::Ints
1847 get_value(Switching self, StringKey a0) -> IMP::String
1848 get_value(Switching self, ParticleIndexKey a0) -> Particle
1849 get_value(Switching self, ObjectKey a0) -> Object
1851 return _IMP_isd.Switching_get_value(self, *args)
1854 def set_value(self, *args):
1856 set_value(Switching self, FloatKey a0, IMP::Float a1)
1857 set_value(Switching self, IntKey a0, IMP::Int a1)
1858 set_value(Switching self, FloatsKey a0, IMP::Floats a1)
1859 set_value(Switching self, IntsKey a0, IMP::Ints a1)
1860 set_value(Switching self, StringKey a0, IMP::String a1)
1861 set_value(Switching self, ParticleIndexKey a0, Particle a1)
1862 set_value(Switching self, ObjectKey a0, Object a1)
1864 return _IMP_isd.Switching_set_value(self, *args)
1867 def remove_attribute(self, *args):
1869 remove_attribute(Switching self, FloatKey a0)
1870 remove_attribute(Switching self, IntKey a0)
1871 remove_attribute(Switching self, FloatsKey a0)
1872 remove_attribute(Switching self, IntsKey a0)
1873 remove_attribute(Switching self, StringKey a0)
1874 remove_attribute(Switching self, ParticleIndexKey a0)
1875 remove_attribute(Switching self, ObjectKey a0)
1877 return _IMP_isd.Switching_remove_attribute(self, *args)
1880 def has_attribute(self, *args):
1882 has_attribute(Switching self, FloatKey a0) -> bool
1883 has_attribute(Switching self, IntKey a0) -> bool
1884 has_attribute(Switching self, FloatsKey a0) -> bool
1885 has_attribute(Switching self, IntsKey a0) -> bool
1886 has_attribute(Switching self, StringKey a0) -> bool
1887 has_attribute(Switching self, ParticleIndexKey a0) -> bool
1888 has_attribute(Switching self, ObjectKey a0) -> bool
1890 return _IMP_isd.Switching_has_attribute(self, *args)
1893 def get_derivative(self, a0):
1894 """get_derivative(Switching self, FloatKey a0) -> double"""
1895 return _IMP_isd.Switching_get_derivative(self, a0)
1899 """get_name(Switching self) -> std::string"""
1900 return _IMP_isd.Switching_get_name(self)
1904 """clear_caches(Switching self)"""
1905 return _IMP_isd.Switching_clear_caches(self)
1908 def set_name(self, a0):
1909 """set_name(Switching self, std::string a0)"""
1910 return _IMP_isd.Switching_set_name(self, a0)
1914 """set_check_level(Switching self, IMP::CheckLevel a0)"""
1915 return _IMP_isd.Switching_set_check_level(self, a0)
1918 def add_to_derivative(self, a0, a1, a2):
1919 """add_to_derivative(Switching self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1920 return _IMP_isd.Switching_add_to_derivative(self, a0, a1, a2)
1923 def set_is_optimized(self, a0, a1):
1924 """set_is_optimized(Switching self, FloatKey a0, bool a1)"""
1925 return _IMP_isd.Switching_set_is_optimized(self, a0, a1)
1928 def get_is_optimized(self, a0):
1929 """get_is_optimized(Switching self, FloatKey a0) -> bool"""
1930 return _IMP_isd.Switching_get_is_optimized(self, a0)
1933 def get_check_level(self):
1934 """get_check_level(Switching self) -> IMP::CheckLevel"""
1935 return _IMP_isd.Switching_get_check_level(self)
1938 def __eq__(self, *args):
1940 __eq__(Switching self, Switching o) -> bool
1941 __eq__(Switching self, Particle d) -> bool
1943 return _IMP_isd.Switching___eq__(self, *args)
1946 def __ne__(self, *args):
1948 __ne__(Switching self, Switching o) -> bool
1949 __ne__(Switching self, Particle d) -> bool
1951 return _IMP_isd.Switching___ne__(self, *args)
1954 def __le__(self, *args):
1956 __le__(Switching self, Switching o) -> bool
1957 __le__(Switching self, Particle d) -> bool
1959 return _IMP_isd.Switching___le__(self, *args)
1962 def __lt__(self, *args):
1964 __lt__(Switching self, Switching o) -> bool
1965 __lt__(Switching self, Particle d) -> bool
1967 return _IMP_isd.Switching___lt__(self, *args)
1970 def __ge__(self, *args):
1972 __ge__(Switching self, Switching o) -> bool
1973 __ge__(Switching self, Particle d) -> bool
1975 return _IMP_isd.Switching___ge__(self, *args)
1978 def __gt__(self, *args):
1980 __gt__(Switching self, Switching o) -> bool
1981 __gt__(Switching self, Particle d) -> bool
1983 return _IMP_isd.Switching___gt__(self, *args)
1987 """__hash__(Switching self) -> std::size_t"""
1988 return _IMP_isd.Switching___hash__(self)
1992 """__str__(Switching self) -> std::string"""
1993 return _IMP_isd.Switching___str__(self)
1997 """__repr__(Switching self) -> std::string"""
1998 return _IMP_isd.Switching___repr__(self)
2000 __swig_destroy__ = _IMP_isd.delete_Switching
2001 __del__ =
lambda self:
None
2002 Switching_swigregister = _IMP_isd.Switching_swigregister
2003 Switching_swigregister(Switching)
2005 def Switching_setup_particle(*args):
2007 setup_particle(Model m, ParticleIndex pi) -> Switching
2008 setup_particle(_ParticleAdaptor decorator) -> Switching
2009 setup_particle(Model m, ParticleIndex pi, double switching) -> Switching
2010 Switching_setup_particle(_ParticleAdaptor decorator, double switching) -> Switching
2012 return _IMP_isd.Switching_setup_particle(*args)
2014 def Switching_get_is_setup(*args):
2016 get_is_setup(_ParticleAdaptor p) -> bool
2017 Switching_get_is_setup(Model m, ParticleIndex pi) -> bool
2019 return _IMP_isd.Switching_get_is_setup(*args)
2021 def Switching_get_switching_key():
2022 """Switching_get_switching_key() -> FloatKey"""
2023 return _IMP_isd.Switching_get_switching_key()
2026 """Proxy of C++ IMP::isd::Weight class."""
2028 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2030 def __init__(self, *args):
2032 __init__(IMP::isd::Weight self) -> Weight
2033 __init__(IMP::isd::Weight self, Model m, ParticleIndex id) -> Weight
2034 __init__(IMP::isd::Weight self, _ParticleAdaptor d) -> Weight
2036 this = _IMP_isd.new_Weight(*args)
2038 self.this.append(this)
2039 except __builtin__.Exception:
2042 def show(self, *args):
2044 show(Weight self, _ostream out)
2047 return _IMP_isd.Weight_show(self, *args)
2050 def setup_particle(*args):
2052 setup_particle(Model m, ParticleIndex pi) -> Weight
2053 setup_particle(_ParticleAdaptor decorator) -> Weight
2054 setup_particle(Model m, ParticleIndex pi, IMP::Int nweights) -> Weight
2055 setup_particle(_ParticleAdaptor decorator, IMP::Int nweights) -> Weight
2056 setup_particle(Model m, ParticleIndex pi, VectorKD w) -> Weight
2057 setup_particle(_ParticleAdaptor decorator, VectorKD w) -> Weight
2059 return _IMP_isd.Weight_setup_particle(*args)
2061 setup_particle = staticmethod(setup_particle)
2063 def get_nstates_key():
2064 """get_nstates_key() -> IntKey"""
2065 return _IMP_isd.Weight_get_nstates_key()
2067 get_nstates_key = staticmethod(get_nstates_key)
2069 def get_number_of_weights_key():
2070 """get_number_of_weights_key() -> IntKey"""
2071 return _IMP_isd.Weight_get_number_of_weights_key()
2073 get_number_of_weights_key = staticmethod(get_number_of_weights_key)
2075 def get_weight_key(i):
2076 """get_weight_key(int i) -> FloatKey"""
2077 return _IMP_isd.Weight_get_weight_key(i)
2079 get_weight_key = staticmethod(get_weight_key)
2081 def get_weight_keys(self):
2082 """get_weight_keys(Weight self) -> IMP::FloatKeys"""
2083 return _IMP_isd.Weight_get_weight_keys(self)
2086 def get_weight(self, i):
2087 """get_weight(Weight self, int i) -> IMP::Float"""
2088 return _IMP_isd.Weight_get_weight(self, i)
2091 def get_weights(self):
2092 """get_weights(Weight self) -> VectorKD"""
2093 return _IMP_isd.Weight_get_weights(self)
2096 def set_weight_lazy(self, i, wi):
2097 """set_weight_lazy(Weight self, int i, IMP::Float wi)"""
2098 return _IMP_isd.Weight_set_weight_lazy(self, i, wi)
2101 def set_weights_lazy(self, w):
2102 """set_weights_lazy(Weight self, VectorKD w)"""
2103 return _IMP_isd.Weight_set_weights_lazy(self, w)
2106 def set_weights(self, w):
2107 """set_weights(Weight self, VectorKD w)"""
2108 return _IMP_isd.Weight_set_weights(self, w)
2111 def get_weights_are_optimized(self):
2112 """get_weights_are_optimized(Weight self) -> bool"""
2113 return _IMP_isd.Weight_get_weights_are_optimized(self)
2116 def set_weights_are_optimized(self, tf):
2117 """set_weights_are_optimized(Weight self, bool tf)"""
2118 return _IMP_isd.Weight_set_weights_are_optimized(self, tf)
2121 def get_weight_derivative(self, i):
2122 """get_weight_derivative(Weight self, int i) -> IMP::Float"""
2123 return _IMP_isd.Weight_get_weight_derivative(self, i)
2126 def get_weights_derivatives(self):
2127 """get_weights_derivatives(Weight self) -> VectorKD"""
2128 return _IMP_isd.Weight_get_weights_derivatives(self)
2131 def add_to_weight_derivative(self, i, dwi, da):
2132 """add_to_weight_derivative(Weight self, int i, IMP::Float dwi, DerivativeAccumulator da)"""
2133 return _IMP_isd.Weight_add_to_weight_derivative(self, i, dwi, da)
2136 def add_to_weights_derivatives(self, dw, da):
2137 """add_to_weights_derivatives(Weight self, VectorKD dw, DerivativeAccumulator da)"""
2138 return _IMP_isd.Weight_add_to_weights_derivatives(self, dw, da)
2141 def add_weight_lazy(self, wi=0):
2143 add_weight_lazy(Weight self, IMP::Float wi=0)
2144 add_weight_lazy(Weight self)
2146 return _IMP_isd.Weight_add_weight_lazy(self, wi)
2149 def add_weight(self, wi=0):
2151 add_weight(Weight self, IMP::Float wi=0)
2152 add_weight(Weight self)
2154 return _IMP_isd.Weight_add_weight(self, wi)
2157 def get_number_of_states(self):
2158 """get_number_of_states(Weight self) -> IMP::Int"""
2159 return _IMP_isd.Weight_get_number_of_states(self)
2162 def get_number_of_weights(self):
2163 """get_number_of_weights(Weight self) -> IMP::Int"""
2164 return _IMP_isd.Weight_get_number_of_weights(self)
2167 def get_unit_simplex(self):
2168 """get_unit_simplex(Weight self) -> UnitSimplexKD"""
2169 return _IMP_isd.Weight_get_unit_simplex(self)
2172 def set_number_of_weights_lazy(self, nweights):
2173 """set_number_of_weights_lazy(Weight self, IMP::Int nweights)"""
2174 return _IMP_isd.Weight_set_number_of_weights_lazy(self, nweights)
2177 def set_number_of_weights(self, nweights):
2178 """set_number_of_weights(Weight self, IMP::Int nweights)"""
2179 return _IMP_isd.Weight_set_number_of_weights(self, nweights)
2182 def get_is_setup(*args):
2184 get_is_setup(_ParticleAdaptor p) -> bool
2185 get_is_setup(Model m, ParticleIndex pi) -> bool
2187 return _IMP_isd.Weight_get_is_setup(*args)
2189 get_is_setup = staticmethod(get_is_setup)
2191 def add_attribute(self, *args):
2193 add_attribute(Weight self, FloatKey k, IMP::Float v, bool opt)
2194 add_attribute(Weight self, FloatKey a0, IMP::Float a1)
2195 add_attribute(Weight self, IntKey a0, IMP::Int a1)
2196 add_attribute(Weight self, FloatsKey a0, IMP::Floats a1)
2197 add_attribute(Weight self, IntsKey a0, IMP::Ints a1)
2198 add_attribute(Weight self, StringKey a0, IMP::String a1)
2199 add_attribute(Weight self, ParticleIndexKey a0, Particle a1)
2200 add_attribute(Weight self, ObjectKey a0, Object a1)
2202 return _IMP_isd.Weight_add_attribute(self, *args)
2205 def get_value(self, *args):
2207 get_value(Weight self, FloatKey a0) -> IMP::Float
2208 get_value(Weight self, IntKey a0) -> IMP::Int
2209 get_value(Weight self, FloatsKey a0) -> IMP::Floats
2210 get_value(Weight self, IntsKey a0) -> IMP::Ints
2211 get_value(Weight self, StringKey a0) -> IMP::String
2212 get_value(Weight self, ParticleIndexKey a0) -> Particle
2213 get_value(Weight self, ObjectKey a0) -> Object
2215 return _IMP_isd.Weight_get_value(self, *args)
2218 def set_value(self, *args):
2220 set_value(Weight self, FloatKey a0, IMP::Float a1)
2221 set_value(Weight self, IntKey a0, IMP::Int a1)
2222 set_value(Weight self, FloatsKey a0, IMP::Floats a1)
2223 set_value(Weight self, IntsKey a0, IMP::Ints a1)
2224 set_value(Weight self, StringKey a0, IMP::String a1)
2225 set_value(Weight self, ParticleIndexKey a0, Particle a1)
2226 set_value(Weight self, ObjectKey a0, Object a1)
2228 return _IMP_isd.Weight_set_value(self, *args)
2231 def remove_attribute(self, *args):
2233 remove_attribute(Weight self, FloatKey a0)
2234 remove_attribute(Weight self, IntKey a0)
2235 remove_attribute(Weight self, FloatsKey a0)
2236 remove_attribute(Weight self, IntsKey a0)
2237 remove_attribute(Weight self, StringKey a0)
2238 remove_attribute(Weight self, ParticleIndexKey a0)
2239 remove_attribute(Weight self, ObjectKey a0)
2241 return _IMP_isd.Weight_remove_attribute(self, *args)
2244 def has_attribute(self, *args):
2246 has_attribute(Weight self, FloatKey a0) -> bool
2247 has_attribute(Weight self, IntKey a0) -> bool
2248 has_attribute(Weight self, FloatsKey a0) -> bool
2249 has_attribute(Weight self, IntsKey a0) -> bool
2250 has_attribute(Weight self, StringKey a0) -> bool
2251 has_attribute(Weight self, ParticleIndexKey a0) -> bool
2252 has_attribute(Weight self, ObjectKey a0) -> bool
2254 return _IMP_isd.Weight_has_attribute(self, *args)
2257 def get_derivative(self, a0):
2258 """get_derivative(Weight self, FloatKey a0) -> double"""
2259 return _IMP_isd.Weight_get_derivative(self, a0)
2263 """get_name(Weight self) -> std::string"""
2264 return _IMP_isd.Weight_get_name(self)
2268 """clear_caches(Weight self)"""
2269 return _IMP_isd.Weight_clear_caches(self)
2272 def set_name(self, a0):
2273 """set_name(Weight self, std::string a0)"""
2274 return _IMP_isd.Weight_set_name(self, a0)
2278 """set_check_level(Weight self, IMP::CheckLevel a0)"""
2279 return _IMP_isd.Weight_set_check_level(self, a0)
2282 def add_to_derivative(self, a0, a1, a2):
2283 """add_to_derivative(Weight self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2284 return _IMP_isd.Weight_add_to_derivative(self, a0, a1, a2)
2287 def set_is_optimized(self, a0, a1):
2288 """set_is_optimized(Weight self, FloatKey a0, bool a1)"""
2289 return _IMP_isd.Weight_set_is_optimized(self, a0, a1)
2292 def get_is_optimized(self, a0):
2293 """get_is_optimized(Weight self, FloatKey a0) -> bool"""
2294 return _IMP_isd.Weight_get_is_optimized(self, a0)
2297 def get_check_level(self):
2298 """get_check_level(Weight self) -> IMP::CheckLevel"""
2299 return _IMP_isd.Weight_get_check_level(self)
2302 def __eq__(self, *args):
2304 __eq__(Weight self, Weight o) -> bool
2305 __eq__(Weight self, Particle d) -> bool
2307 return _IMP_isd.Weight___eq__(self, *args)
2310 def __ne__(self, *args):
2312 __ne__(Weight self, Weight o) -> bool
2313 __ne__(Weight self, Particle d) -> bool
2315 return _IMP_isd.Weight___ne__(self, *args)
2318 def __le__(self, *args):
2320 __le__(Weight self, Weight o) -> bool
2321 __le__(Weight self, Particle d) -> bool
2323 return _IMP_isd.Weight___le__(self, *args)
2326 def __lt__(self, *args):
2328 __lt__(Weight self, Weight o) -> bool
2329 __lt__(Weight self, Particle d) -> bool
2331 return _IMP_isd.Weight___lt__(self, *args)
2334 def __ge__(self, *args):
2336 __ge__(Weight self, Weight o) -> bool
2337 __ge__(Weight self, Particle d) -> bool
2339 return _IMP_isd.Weight___ge__(self, *args)
2342 def __gt__(self, *args):
2344 __gt__(Weight self, Weight o) -> bool
2345 __gt__(Weight self, Particle d) -> bool
2347 return _IMP_isd.Weight___gt__(self, *args)
2351 """__hash__(Weight self) -> std::size_t"""
2352 return _IMP_isd.Weight___hash__(self)
2356 """__str__(Weight self) -> std::string"""
2357 return _IMP_isd.Weight___str__(self)
2361 """__repr__(Weight self) -> std::string"""
2362 return _IMP_isd.Weight___repr__(self)
2364 __swig_destroy__ = _IMP_isd.delete_Weight
2365 __del__ =
lambda self:
None
2366 Weight_swigregister = _IMP_isd.Weight_swigregister
2367 Weight_swigregister(Weight)
2368 cvar = _IMP_isd.cvar
2369 IMPISD_MAX_WEIGHTS = cvar.IMPISD_MAX_WEIGHTS
2371 def Weight_setup_particle(*args):
2373 setup_particle(Model m, ParticleIndex pi) -> Weight
2374 setup_particle(_ParticleAdaptor decorator) -> Weight
2375 setup_particle(Model m, ParticleIndex pi, IMP::Int nweights) -> Weight
2376 setup_particle(_ParticleAdaptor decorator, IMP::Int nweights) -> Weight
2377 setup_particle(Model m, ParticleIndex pi, VectorKD w) -> Weight
2378 Weight_setup_particle(_ParticleAdaptor decorator, VectorKD w) -> Weight
2380 return _IMP_isd.Weight_setup_particle(*args)
2382 def Weight_get_nstates_key():
2383 """Weight_get_nstates_key() -> IntKey"""
2384 return _IMP_isd.Weight_get_nstates_key()
2386 def Weight_get_number_of_weights_key():
2387 """Weight_get_number_of_weights_key() -> IntKey"""
2388 return _IMP_isd.Weight_get_number_of_weights_key()
2390 def Weight_get_weight_key(i):
2391 """Weight_get_weight_key(int i) -> FloatKey"""
2392 return _IMP_isd.Weight_get_weight_key(i)
2394 def Weight_get_is_setup(*args):
2396 get_is_setup(_ParticleAdaptor p) -> bool
2397 Weight_get_is_setup(Model m, ParticleIndex pi) -> bool
2399 return _IMP_isd.Weight_get_is_setup(*args)
2402 def __lshift__(*args):
2404 __lshift__(_ostream out, Nuisance n) -> _ostream
2405 __lshift__(_ostream out, Scale n) -> _ostream
2406 __lshift__(_ostream out, Switching n) -> _ostream
2407 __lshift__(_ostream out, Weight n) -> _ostream
2409 return _IMP_isd.__lshift__(*args)
2411 """Proxy of C++ IMP::isd::JeffreysRestraint class."""
2413 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2415 def __init__(self, m, p):
2416 """__init__(IMP::isd::JeffreysRestraint self, Model m, Particle p) -> JeffreysRestraint"""
2417 this = _IMP_isd.new_JeffreysRestraint(m, p)
2419 self.this.append(this)
2420 except __builtin__.Exception:
2424 """do_get_inputs(JeffreysRestraint self) -> IMP::ModelObjectsTemp"""
2425 return _IMP_isd.JeffreysRestraint_do_get_inputs(self)
2429 """get_version_info(JeffreysRestraint self) -> VersionInfo"""
2430 return _IMP_isd.JeffreysRestraint_get_version_info(self)
2433 def get_probability(self):
2434 """get_probability(JeffreysRestraint self) -> double"""
2435 return _IMP_isd.JeffreysRestraint_get_probability(self)
2439 """__str__(JeffreysRestraint self) -> std::string"""
2440 return _IMP_isd.JeffreysRestraint___str__(self)
2444 """__repr__(JeffreysRestraint self) -> std::string"""
2445 return _IMP_isd.JeffreysRestraint___repr__(self)
2450 return _object_cast_to_JeffreysRestraint(o)
2452 JeffreysRestraint_swigregister = _IMP_isd.JeffreysRestraint_swigregister
2453 JeffreysRestraint_swigregister(JeffreysRestraint)
2456 """Proxy of C++ IMP::isd::NormalSigmaPCRestraint class."""
2458 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2460 def __init__(self, *args):
2462 __init__(IMP::isd::NormalSigmaPCRestraint self, Model m, ParticleIndex spi, double su, double alpha, std::string name) -> NormalSigmaPCRestraint
2463 __init__(IMP::isd::NormalSigmaPCRestraint self, Model m, ParticleIndex spi, double su, double alpha) -> NormalSigmaPCRestraint
2464 __init__(IMP::isd::NormalSigmaPCRestraint self, Scale s, double su, double alpha, std::string name) -> NormalSigmaPCRestraint
2465 __init__(IMP::isd::NormalSigmaPCRestraint self, Scale s, double su, double alpha) -> NormalSigmaPCRestraint
2467 this = _IMP_isd.new_NormalSigmaPCRestraint(*args)
2469 self.this.append(this)
2470 except __builtin__.Exception:
2473 def get_sigma(self):
2474 """get_sigma(NormalSigmaPCRestraint self) -> Scale"""
2475 return _IMP_isd.NormalSigmaPCRestraint_get_sigma(self)
2478 def get_alpha(self):
2479 """get_alpha(NormalSigmaPCRestraint self) -> double"""
2480 return _IMP_isd.NormalSigmaPCRestraint_get_alpha(self)
2483 def get_sigma_upper(self):
2484 """get_sigma_upper(NormalSigmaPCRestraint self) -> double"""
2485 return _IMP_isd.NormalSigmaPCRestraint_get_sigma_upper(self)
2488 def get_probability(self):
2489 """get_probability(NormalSigmaPCRestraint self) -> double"""
2490 return _IMP_isd.NormalSigmaPCRestraint_get_probability(self)
2494 """do_get_inputs(NormalSigmaPCRestraint self) -> IMP::ModelObjectsTemp"""
2495 return _IMP_isd.NormalSigmaPCRestraint_do_get_inputs(self)
2499 """get_version_info(NormalSigmaPCRestraint self) -> VersionInfo"""
2500 return _IMP_isd.NormalSigmaPCRestraint_get_version_info(self)
2504 """__str__(NormalSigmaPCRestraint self) -> std::string"""
2505 return _IMP_isd.NormalSigmaPCRestraint___str__(self)
2509 """__repr__(NormalSigmaPCRestraint self) -> std::string"""
2510 return _IMP_isd.NormalSigmaPCRestraint___repr__(self)
2515 return _object_cast_to_NormalSigmaPCRestraint(o)
2517 NormalSigmaPCRestraint_swigregister = _IMP_isd.NormalSigmaPCRestraint_swigregister
2518 NormalSigmaPCRestraint_swigregister(NormalSigmaPCRestraint)
2521 """Proxy of C++ IMP::isd::Distribution class."""
2523 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2525 def __init__(self, *args):
2527 __init__(IMP::isd::Distribution self, std::string name) -> Distribution
2528 __init__(IMP::isd::Distribution self) -> Distribution
2530 if self.__class__ == Distribution:
2534 this = _IMP_isd.new_Distribution(_self, *args)
2536 self.this.append(this)
2537 except __builtin__.Exception:
2540 if self.__class__ != Distribution:
2541 _director_objects.register(self)
2546 def get_type_name(self):
2547 """get_type_name(Distribution self) -> std::string"""
2548 return _IMP_isd.Distribution_get_type_name(self)
2552 """get_version_info(Distribution self) -> VersionInfo"""
2553 return _IMP_isd.Distribution_get_version_info(self)
2557 """__str__(Distribution self) -> std::string"""
2558 return _IMP_isd.Distribution___str__(self)
2562 """__repr__(Distribution self) -> std::string"""
2563 return _IMP_isd.Distribution___repr__(self)
2568 return _object_cast_to_Distribution(o)
2571 def get_type_name(self):
2572 return self.__class__.__name__
2573 def do_show(self, out):
2576 if"IMP::isd" ==
"IMP":
2577 return VersionInfo(self.__module__,
2584 return _object_cast_to_Distribution(o)
2586 def __disown__(self):
2588 _IMP_isd.disown_Distribution(self)
2589 return weakref_proxy(self)
2592 """do_destroy(Distribution self)"""
2593 return _IMP_isd.Distribution_do_destroy(self)
2595 Distribution_swigregister = _IMP_isd.Distribution_swigregister
2596 Distribution_swigregister(Distribution)
2598 class OneDimensionalDistribution(Distribution):
2599 """Proxy of C++ IMP::isd::OneDimensionalDistribution class."""
2601 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2603 def do_evaluate(self, *args):
2605 do_evaluate(OneDimensionalDistribution self, double v) -> double
2606 do_evaluate(OneDimensionalDistribution self, IMP::Floats const & vs) -> IMP::Floats
2608 return _IMP_isd.OneDimensionalDistribution_do_evaluate(self, *args)
2611 def do_get_density(self, *args):
2613 do_get_density(OneDimensionalDistribution self, double v) -> double
2614 do_get_density(OneDimensionalDistribution self, IMP::Floats const & vs) -> IMP::Floats
2616 return _IMP_isd.OneDimensionalDistribution_do_get_density(self, *args)
2619 def __init__(self, *args):
2621 __init__(IMP::isd::OneDimensionalDistribution self, std::string name) -> OneDimensionalDistribution
2622 __init__(IMP::isd::OneDimensionalDistribution self) -> OneDimensionalDistribution
2624 if self.__class__ == OneDimensionalDistribution:
2628 this = _IMP_isd.new_OneDimensionalDistribution(_self, *args)
2630 self.this.append(this)
2631 except __builtin__.Exception:
2634 if self.__class__ != OneDimensionalDistribution:
2635 _director_objects.register(self)
2640 def evaluate(self, *args):
2642 evaluate(OneDimensionalDistribution self, double v) -> double
2643 evaluate(OneDimensionalDistribution self, IMP::Floats const & vs) -> IMP::Floats
2645 return _IMP_isd.OneDimensionalDistribution_evaluate(self, *args)
2648 def get_density(self, *args):
2650 get_density(OneDimensionalDistribution self, double v) -> double
2651 get_density(OneDimensionalDistribution self, IMP::Floats const & vs) -> IMP::Floats
2653 return _IMP_isd.OneDimensionalDistribution_get_density(self, *args)
2656 def get_type_name(self):
2657 """get_type_name(OneDimensionalDistribution self) -> std::string"""
2658 return _IMP_isd.OneDimensionalDistribution_get_type_name(self)
2662 """get_version_info(OneDimensionalDistribution self) -> VersionInfo"""
2663 return _IMP_isd.OneDimensionalDistribution_get_version_info(self)
2667 """__str__(OneDimensionalDistribution self) -> std::string"""
2668 return _IMP_isd.OneDimensionalDistribution___str__(self)
2672 """__repr__(OneDimensionalDistribution self) -> std::string"""
2673 return _IMP_isd.OneDimensionalDistribution___repr__(self)
2678 return _object_cast_to_OneDimensionalDistribution(o)
2681 def get_type_name(self):
2682 return self.__class__.__name__
2683 def do_show(self, out):
2686 if"IMP::isd" ==
"IMP":
2687 return VersionInfo(self.__module__,
2694 return _object_cast_to_OneDimensionalDistribution(o)
2696 def __disown__(self):
2698 _IMP_isd.disown_OneDimensionalDistribution(self)
2699 return weakref_proxy(self)
2702 """do_destroy(OneDimensionalDistribution self)"""
2703 return _IMP_isd.OneDimensionalDistribution_do_destroy(self)
2705 OneDimensionalDistribution_swigregister = _IMP_isd.OneDimensionalDistribution_swigregister
2706 OneDimensionalDistribution_swigregister(OneDimensionalDistribution)
2708 class OneDimensionalSufficientDistribution(Distribution):
2709 """Proxy of C++ IMP::isd::OneDimensionalSufficientDistribution class."""
2711 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2713 def do_update_sufficient_statistics(self, vs):
2714 """do_update_sufficient_statistics(OneDimensionalSufficientDistribution self, IMP::Floats vs)"""
2715 return _IMP_isd.OneDimensionalSufficientDistribution_do_update_sufficient_statistics(self, vs)
2718 def do_get_sufficient_statistics(self):
2719 """do_get_sufficient_statistics(OneDimensionalSufficientDistribution self) -> IMP::Floats"""
2720 return _IMP_isd.OneDimensionalSufficientDistribution_do_get_sufficient_statistics(self)
2723 def do_evaluate(self):
2724 """do_evaluate(OneDimensionalSufficientDistribution self) -> double"""
2725 return _IMP_isd.OneDimensionalSufficientDistribution_do_evaluate(self)
2728 def do_get_density(self):
2729 """do_get_density(OneDimensionalSufficientDistribution self) -> double"""
2730 return _IMP_isd.OneDimensionalSufficientDistribution_do_get_density(self)
2733 def __init__(self, *args):
2735 __init__(IMP::isd::OneDimensionalSufficientDistribution self, std::string name) -> OneDimensionalSufficientDistribution
2736 __init__(IMP::isd::OneDimensionalSufficientDistribution self) -> OneDimensionalSufficientDistribution
2738 if self.__class__ == OneDimensionalSufficientDistribution:
2742 this = _IMP_isd.new_OneDimensionalSufficientDistribution(_self, *args)
2744 self.this.append(this)
2745 except __builtin__.Exception:
2748 if self.__class__ != OneDimensionalSufficientDistribution:
2749 _director_objects.register(self)
2754 def update_sufficient_statistics(self, vs):
2755 """update_sufficient_statistics(OneDimensionalSufficientDistribution self, IMP::Floats vs)"""
2756 return _IMP_isd.OneDimensionalSufficientDistribution_update_sufficient_statistics(self, vs)
2759 def get_sufficient_statistics(self):
2760 """get_sufficient_statistics(OneDimensionalSufficientDistribution self) -> IMP::Floats"""
2761 return _IMP_isd.OneDimensionalSufficientDistribution_get_sufficient_statistics(self)
2765 """evaluate(OneDimensionalSufficientDistribution self) -> double"""
2766 return _IMP_isd.OneDimensionalSufficientDistribution_evaluate(self)
2769 def get_density(self):
2770 """get_density(OneDimensionalSufficientDistribution self) -> double"""
2771 return _IMP_isd.OneDimensionalSufficientDistribution_get_density(self)
2774 def get_type_name(self):
2775 """get_type_name(OneDimensionalSufficientDistribution self) -> std::string"""
2776 return _IMP_isd.OneDimensionalSufficientDistribution_get_type_name(self)
2780 """get_version_info(OneDimensionalSufficientDistribution self) -> VersionInfo"""
2781 return _IMP_isd.OneDimensionalSufficientDistribution_get_version_info(self)
2785 """__str__(OneDimensionalSufficientDistribution self) -> std::string"""
2786 return _IMP_isd.OneDimensionalSufficientDistribution___str__(self)
2790 """__repr__(OneDimensionalSufficientDistribution self) -> std::string"""
2791 return _IMP_isd.OneDimensionalSufficientDistribution___repr__(self)
2796 return _object_cast_to_OneDimensionalSufficientDistribution(o)
2799 def get_type_name(self):
2800 return self.__class__.__name__
2801 def do_show(self, out):
2804 if"IMP::isd" ==
"IMP":
2805 return VersionInfo(self.__module__,
2812 return _object_cast_to_OneDimensionalSufficientDistribution(o)
2814 def __disown__(self):
2816 _IMP_isd.disown_OneDimensionalSufficientDistribution(self)
2817 return weakref_proxy(self)
2820 """do_destroy(OneDimensionalSufficientDistribution self)"""
2821 return _IMP_isd.OneDimensionalSufficientDistribution_do_destroy(self)
2823 OneDimensionalSufficientDistribution_swigregister = _IMP_isd.OneDimensionalSufficientDistribution_swigregister
2824 OneDimensionalSufficientDistribution_swigregister(OneDimensionalSufficientDistribution)
2826 class FNormal(OneDimensionalSufficientDistribution):
2827 """Proxy of C++ IMP::isd::FNormal class."""
2829 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2831 def __init__(self, FA, JA, FM, sigma):
2832 """__init__(IMP::isd::FNormal self, double FA, double JA, double FM, double sigma) -> FNormal"""
2833 this = _IMP_isd.new_FNormal(FA, JA, FM, sigma)
2835 self.this.append(this)
2836 except __builtin__.Exception:
2839 def update_sufficient_statistics(self, FA):
2840 """update_sufficient_statistics(FNormal self, double FA)"""
2841 return _IMP_isd.FNormal_update_sufficient_statistics(self, FA)
2844 def do_update_sufficient_statistics(self, data):
2845 """do_update_sufficient_statistics(FNormal self, IMP::Floats data)"""
2846 return _IMP_isd.FNormal_do_update_sufficient_statistics(self, data)
2849 def do_get_sufficient_statistics(self):
2850 """do_get_sufficient_statistics(FNormal self) -> IMP::Floats"""
2851 return _IMP_isd.FNormal_do_get_sufficient_statistics(self)
2854 def do_evaluate(self):
2855 """do_evaluate(FNormal self) -> double"""
2856 return _IMP_isd.FNormal_do_evaluate(self)
2859 def evaluate_derivative_FA(self):
2860 """evaluate_derivative_FA(FNormal self) -> double"""
2861 return _IMP_isd.FNormal_evaluate_derivative_FA(self)
2864 def evaluate_derivative_JA(self):
2865 """evaluate_derivative_JA(FNormal self) -> double"""
2866 return _IMP_isd.FNormal_evaluate_derivative_JA(self)
2869 def evaluate_derivative_FM(self):
2870 """evaluate_derivative_FM(FNormal self) -> double"""
2871 return _IMP_isd.FNormal_evaluate_derivative_FM(self)
2874 def evaluate_derivative_sigma(self):
2875 """evaluate_derivative_sigma(FNormal self) -> double"""
2876 return _IMP_isd.FNormal_evaluate_derivative_sigma(self)
2879 def do_get_density(self):
2880 """do_get_density(FNormal self) -> double"""
2881 return _IMP_isd.FNormal_do_get_density(self)
2884 def set_FA(self, f):
2885 """set_FA(FNormal self, double f)"""
2886 return _IMP_isd.FNormal_set_FA(self, f)
2889 def set_JA(self, f):
2890 """set_JA(FNormal self, double f)"""
2891 return _IMP_isd.FNormal_set_JA(self, f)
2894 def set_FM(self, f):
2895 """set_FM(FNormal self, double f)"""
2896 return _IMP_isd.FNormal_set_FM(self, f)
2899 def set_sigma(self, f):
2900 """set_sigma(FNormal self, double f)"""
2901 return _IMP_isd.FNormal_set_sigma(self, f)
2905 """__str__(FNormal self) -> std::string"""
2906 return _IMP_isd.FNormal___str__(self)
2910 """__repr__(FNormal self) -> std::string"""
2911 return _IMP_isd.FNormal___repr__(self)
2916 return _object_cast_to_FNormal(o)
2918 FNormal_swigregister = _IMP_isd.FNormal_swigregister
2919 FNormal_swigregister(FNormal)
2921 class FStudentT(OneDimensionalSufficientDistribution):
2922 """Proxy of C++ IMP::isd::FStudentT class."""
2924 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2926 def __init__(self, *args):
2928 __init__(IMP::isd::FStudentT self, IMP::Floats FXs, IMP::Floats JXs, double FM, double sigma, double nu, std::string name) -> FStudentT
2929 __init__(IMP::isd::FStudentT self, IMP::Floats FXs, IMP::Floats JXs, double FM, double sigma, double nu) -> FStudentT
2930 __init__(IMP::isd::FStudentT self, double sumFX, double sumFX2, unsigned int N, double LogJX, double FM, double sigma, double nu, std::string name) -> FStudentT
2931 __init__(IMP::isd::FStudentT self, double sumFX, double sumFX2, unsigned int N, double LogJX, double FM, double sigma, double nu) -> FStudentT
2933 this = _IMP_isd.new_FStudentT(*args)
2935 self.this.append(this)
2936 except __builtin__.Exception:
2939 def update_sufficient_statistics(self, FXs, JXs):
2940 """update_sufficient_statistics(FStudentT self, IMP::Floats FXs, IMP::Floats JXs)"""
2941 return _IMP_isd.FStudentT_update_sufficient_statistics(self, FXs, JXs)
2944 def evaluate_derivative_Fx(self, Fx):
2945 """evaluate_derivative_Fx(FStudentT self, double Fx) -> double"""
2946 return _IMP_isd.FStudentT_evaluate_derivative_Fx(self, Fx)
2949 def evaluate_derivative_FX(self, FXs):
2950 """evaluate_derivative_FX(FStudentT self, IMP::Floats const FXs) -> IMP::Floats"""
2951 return _IMP_isd.FStudentT_evaluate_derivative_FX(self, FXs)
2954 def evaluate_derivative_LogJX(self):
2955 """evaluate_derivative_LogJX(FStudentT self) -> double"""
2956 return _IMP_isd.FStudentT_evaluate_derivative_LogJX(self)
2959 def evaluate_derivative_FM(self):
2960 """evaluate_derivative_FM(FStudentT self) -> double"""
2961 return _IMP_isd.FStudentT_evaluate_derivative_FM(self)
2964 def evaluate_derivative_sigma(self):
2965 """evaluate_derivative_sigma(FStudentT self) -> double"""
2966 return _IMP_isd.FStudentT_evaluate_derivative_sigma(self)
2969 def evaluate_derivative_nu(self):
2970 """evaluate_derivative_nu(FStudentT self) -> double"""
2971 return _IMP_isd.FStudentT_evaluate_derivative_nu(self)
2974 def update_cached_values(self):
2975 """update_cached_values(FStudentT self)"""
2976 return _IMP_isd.FStudentT_update_cached_values(self)
2979 def set_sumFX(self, v):
2980 """set_sumFX(FStudentT self, double v)"""
2981 return _IMP_isd.FStudentT_set_sumFX(self, v)
2984 def set_sumFX2(self, v):
2985 """set_sumFX2(FStudentT self, double v)"""
2986 return _IMP_isd.FStudentT_set_sumFX2(self, v)
2990 """set_N(FStudentT self, unsigned int v)"""
2991 return _IMP_isd.FStudentT_set_N(self, v)
2994 def set_LogJX(self, v):
2995 """set_LogJX(FStudentT self, double v)"""
2996 return _IMP_isd.FStudentT_set_LogJX(self, v)
2999 def set_FM(self, v):
3000 """set_FM(FStudentT self, double v)"""
3001 return _IMP_isd.FStudentT_set_FM(self, v)
3004 def set_sigma(self, v):
3005 """set_sigma(FStudentT self, double v)"""
3006 return _IMP_isd.FStudentT_set_sigma(self, v)
3009 def set_nu(self, v):
3010 """set_nu(FStudentT self, double v)"""
3011 return _IMP_isd.FStudentT_set_nu(self, v)
3014 def get_sumFX(self):
3015 """get_sumFX(FStudentT self) -> double"""
3016 return _IMP_isd.FStudentT_get_sumFX(self)
3019 def get_sumFX2(self):
3020 """get_sumFX2(FStudentT self) -> double"""
3021 return _IMP_isd.FStudentT_get_sumFX2(self)
3025 """get_N(FStudentT self) -> unsigned int"""
3026 return _IMP_isd.FStudentT_get_N(self)
3029 def get_LogJX(self):
3030 """get_LogJX(FStudentT self) -> double"""
3031 return _IMP_isd.FStudentT_get_LogJX(self)
3035 """get_FM(FStudentT self) -> double"""
3036 return _IMP_isd.FStudentT_get_FM(self)
3039 def get_sigma(self):
3040 """get_sigma(FStudentT self) -> double"""
3041 return _IMP_isd.FStudentT_get_sigma(self)
3045 """get_nu(FStudentT self) -> double"""
3046 return _IMP_isd.FStudentT_get_nu(self)
3050 """__str__(FStudentT self) -> std::string"""
3051 return _IMP_isd.FStudentT___str__(self)
3055 """__repr__(FStudentT self) -> std::string"""
3056 return _IMP_isd.FStudentT___repr__(self)
3061 return _object_cast_to_FStudentT(o)
3063 FStudentT_swigregister = _IMP_isd.FStudentT_swigregister
3064 FStudentT_swigregister(FStudentT)
3067 """Proxy of C++ IMP::isd::vonMises class."""
3069 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3071 def __init__(self, x, mu, kappa):
3072 """__init__(IMP::isd::vonMises self, double x, double mu, double kappa) -> vonMises"""
3073 this = _IMP_isd.new_vonMises(x, mu, kappa)
3075 self.this.append(this)
3076 except __builtin__.Exception:
3080 """evaluate(vonMises self) -> double"""
3081 return _IMP_isd.vonMises_evaluate(self)
3084 def evaluate_derivative_x(self):
3085 """evaluate_derivative_x(vonMises self) -> double"""
3086 return _IMP_isd.vonMises_evaluate_derivative_x(self)
3089 def evaluate_derivative_mu(self):
3090 """evaluate_derivative_mu(vonMises self) -> double"""
3091 return _IMP_isd.vonMises_evaluate_derivative_mu(self)
3094 def evaluate_derivative_kappa(self):
3095 """evaluate_derivative_kappa(vonMises self) -> double"""
3096 return _IMP_isd.vonMises_evaluate_derivative_kappa(self)
3100 """density(vonMises self) -> double"""
3101 return _IMP_isd.vonMises_density(self)
3105 """set_x(vonMises self, double x)"""
3106 return _IMP_isd.vonMises_set_x(self, x)
3109 def set_mu(self, mu):
3110 """set_mu(vonMises self, double mu)"""
3111 return _IMP_isd.vonMises_set_mu(self, mu)
3114 def set_kappa(self, kappa):
3115 """set_kappa(vonMises self, double kappa)"""
3116 return _IMP_isd.vonMises_set_kappa(self, kappa)
3120 """get_version_info(vonMises self) -> VersionInfo"""
3121 return _IMP_isd.vonMises_get_version_info(self)
3125 """__str__(vonMises self) -> std::string"""
3126 return _IMP_isd.vonMises___str__(self)
3130 """__repr__(vonMises self) -> std::string"""
3131 return _IMP_isd.vonMises___repr__(self)
3136 return _object_cast_to_vonMises(o)
3138 vonMises_swigregister = _IMP_isd.vonMises_swigregister
3139 vonMises_swigregister(vonMises)
3142 """Proxy of C++ IMP::isd::vonMisesSufficient class."""
3144 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3146 def __init__(self, *args):
3148 __init__(IMP::isd::vonMisesSufficient self, double chi, unsigned int N, double R0, double chiexp, double kappa) -> vonMisesSufficient
3149 __init__(IMP::isd::vonMisesSufficient self, double chi, IMP::Floats obs, double kappa) -> vonMisesSufficient
3151 this = _IMP_isd.new_vonMisesSufficient(*args)
3153 self.this.append(this)
3154 except __builtin__.Exception:
3158 """evaluate(vonMisesSufficient self) -> double"""
3159 return _IMP_isd.vonMisesSufficient_evaluate(self)
3162 def evaluate_derivative_x(self):
3163 """evaluate_derivative_x(vonMisesSufficient self) -> double"""
3164 return _IMP_isd.vonMisesSufficient_evaluate_derivative_x(self)
3167 def evaluate_derivative_kappa(self):
3168 """evaluate_derivative_kappa(vonMisesSufficient self) -> double"""
3169 return _IMP_isd.vonMisesSufficient_evaluate_derivative_kappa(self)
3173 """density(vonMisesSufficient self) -> double"""
3174 return _IMP_isd.vonMisesSufficient_density(self)
3178 """get_x(vonMisesSufficient self) -> double"""
3179 return _IMP_isd.vonMisesSufficient_get_x(self)
3183 """get_R0(vonMisesSufficient self) -> double"""
3184 return _IMP_isd.vonMisesSufficient_get_R0(self)
3187 def get_chiexp(self):
3188 """get_chiexp(vonMisesSufficient self) -> double"""
3189 return _IMP_isd.vonMisesSufficient_get_chiexp(self)
3193 """get_N(vonMisesSufficient self) -> double"""
3194 return _IMP_isd.vonMisesSufficient_get_N(self)
3197 def get_kappa(self):
3198 """get_kappa(vonMisesSufficient self) -> double"""
3199 return _IMP_isd.vonMisesSufficient_get_kappa(self)
3203 """set_x(vonMisesSufficient self, double x)"""
3204 return _IMP_isd.vonMisesSufficient_set_x(self, x)
3207 def set_R0(self, R0):
3208 """set_R0(vonMisesSufficient self, double R0)"""
3209 return _IMP_isd.vonMisesSufficient_set_R0(self, R0)
3212 def set_chiexp(self, chiexp):
3213 """set_chiexp(vonMisesSufficient self, double chiexp)"""
3214 return _IMP_isd.vonMisesSufficient_set_chiexp(self, chiexp)
3218 """set_N(vonMisesSufficient self, unsigned int N)"""
3219 return _IMP_isd.vonMisesSufficient_set_N(self, N)
3222 def set_kappa(self, kappa):
3223 """set_kappa(vonMisesSufficient self, double kappa)"""
3224 return _IMP_isd.vonMisesSufficient_set_kappa(self, kappa)
3227 def get_sufficient_statistics(data):
3228 """get_sufficient_statistics(IMP::Floats data) -> IMP::Floats"""
3229 return _IMP_isd.vonMisesSufficient_get_sufficient_statistics(data)
3231 get_sufficient_statistics = staticmethod(get_sufficient_statistics)
3234 """get_version_info(vonMisesSufficient self) -> VersionInfo"""
3235 return _IMP_isd.vonMisesSufficient_get_version_info(self)
3239 """__str__(vonMisesSufficient self) -> std::string"""
3240 return _IMP_isd.vonMisesSufficient___str__(self)
3244 """__repr__(vonMisesSufficient self) -> std::string"""
3245 return _IMP_isd.vonMisesSufficient___repr__(self)
3250 return _object_cast_to_vonMisesSufficient(o)
3252 vonMisesSufficient_swigregister = _IMP_isd.vonMisesSufficient_swigregister
3253 vonMisesSufficient_swigregister(vonMisesSufficient)
3255 def vonMisesSufficient_get_sufficient_statistics(data):
3256 """vonMisesSufficient_get_sufficient_statistics(IMP::Floats data) -> IMP::Floats"""
3257 return _IMP_isd.vonMisesSufficient_get_sufficient_statistics(data)
3259 class PenalizedComplexityPrior(OneDimensionalSufficientDistribution):
3260 """Proxy of C++ IMP::isd::PenalizedComplexityPrior class."""
3262 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3264 def __init__(self, *args):
3266 __init__(IMP::isd::PenalizedComplexityPrior self, double Dxi, double Jxi, double alpha, std::string name) -> PenalizedComplexityPrior
3267 __init__(IMP::isd::PenalizedComplexityPrior self, double Dxi, double Jxi, double alpha) -> PenalizedComplexityPrior
3269 this = _IMP_isd.new_PenalizedComplexityPrior(*args)
3271 self.this.append(this)
3272 except __builtin__.Exception:
3275 def update_sufficient_statistics(self, Dxis, Jxis):
3276 """update_sufficient_statistics(PenalizedComplexityPrior self, IMP::Floats Dxis, IMP::Floats Jxis)"""
3277 return _IMP_isd.PenalizedComplexityPrior_update_sufficient_statistics(self, Dxis, Jxis)
3280 def evaluate_derivative_Dxi(self):
3281 """evaluate_derivative_Dxi(PenalizedComplexityPrior self) -> double"""
3282 return _IMP_isd.PenalizedComplexityPrior_evaluate_derivative_Dxi(self)
3285 def evaluate_derivative_Jxi(self):
3286 """evaluate_derivative_Jxi(PenalizedComplexityPrior self) -> double"""
3287 return _IMP_isd.PenalizedComplexityPrior_evaluate_derivative_Jxi(self)
3290 def evaluate_derivative_alpha(self):
3291 """evaluate_derivative_alpha(PenalizedComplexityPrior self) -> double"""
3292 return _IMP_isd.PenalizedComplexityPrior_evaluate_derivative_alpha(self)
3295 def evaluate_derivative_xi(self, JJxi):
3296 """evaluate_derivative_xi(PenalizedComplexityPrior self, double JJxi) -> double"""
3297 return _IMP_isd.PenalizedComplexityPrior_evaluate_derivative_xi(self, JJxi)
3300 def set_Dxi(self, v):
3301 """set_Dxi(PenalizedComplexityPrior self, double v)"""
3302 return _IMP_isd.PenalizedComplexityPrior_set_Dxi(self, v)
3305 def set_Jxi(self, v):
3306 """set_Jxi(PenalizedComplexityPrior self, double v)"""
3307 return _IMP_isd.PenalizedComplexityPrior_set_Jxi(self, v)
3310 def set_alpha(self, v):
3311 """set_alpha(PenalizedComplexityPrior self, double v)"""
3312 return _IMP_isd.PenalizedComplexityPrior_set_alpha(self, v)
3316 """get_Dxi(PenalizedComplexityPrior self) -> double"""
3317 return _IMP_isd.PenalizedComplexityPrior_get_Dxi(self)
3321 """get_Jxi(PenalizedComplexityPrior self) -> double"""
3322 return _IMP_isd.PenalizedComplexityPrior_get_Jxi(self)
3325 def get_alpha(self):
3326 """get_alpha(PenalizedComplexityPrior self) -> double"""
3327 return _IMP_isd.PenalizedComplexityPrior_get_alpha(self)
3331 """__str__(PenalizedComplexityPrior self) -> std::string"""
3332 return _IMP_isd.PenalizedComplexityPrior___str__(self)
3336 """__repr__(PenalizedComplexityPrior self) -> std::string"""
3337 return _IMP_isd.PenalizedComplexityPrior___repr__(self)
3342 return _object_cast_to_PenalizedComplexityPrior(o)
3344 PenalizedComplexityPrior_swigregister = _IMP_isd.PenalizedComplexityPrior_swigregister
3345 PenalizedComplexityPrior_swigregister(PenalizedComplexityPrior)
3348 """Proxy of C++ IMP::isd::vonMisesKappaJeffreysRestraint 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, m, kappa):
3353 """__init__(IMP::isd::vonMisesKappaJeffreysRestraint self, Model m, Particle kappa) -> vonMisesKappaJeffreysRestraint"""
3354 this = _IMP_isd.new_vonMisesKappaJeffreysRestraint(m, kappa)
3356 self.this.append(this)
3357 except __builtin__.Exception:
3361 """do_get_inputs(vonMisesKappaJeffreysRestraint self) -> IMP::ModelObjectsTemp"""
3362 return _IMP_isd.vonMisesKappaJeffreysRestraint_do_get_inputs(self)
3366 """get_version_info(vonMisesKappaJeffreysRestraint self) -> VersionInfo"""
3367 return _IMP_isd.vonMisesKappaJeffreysRestraint_get_version_info(self)
3370 def get_probability(self):
3371 """get_probability(vonMisesKappaJeffreysRestraint self) -> double"""
3372 return _IMP_isd.vonMisesKappaJeffreysRestraint_get_probability(self)
3376 """__str__(vonMisesKappaJeffreysRestraint self) -> std::string"""
3377 return _IMP_isd.vonMisesKappaJeffreysRestraint___str__(self)
3381 """__repr__(vonMisesKappaJeffreysRestraint self) -> std::string"""
3382 return _IMP_isd.vonMisesKappaJeffreysRestraint___repr__(self)
3387 return _object_cast_to_vonMisesKappaJeffreysRestraint(o)
3389 vonMisesKappaJeffreysRestraint_swigregister = _IMP_isd.vonMisesKappaJeffreysRestraint_swigregister
3390 vonMisesKappaJeffreysRestraint_swigregister(vonMisesKappaJeffreysRestraint)
3393 """Proxy of C++ IMP::isd::vonMisesKappaConjugateRestraint class."""
3395 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3397 def __init__(self, m, kappa, c=10.0, R0=0.0):
3399 __init__(IMP::isd::vonMisesKappaConjugateRestraint self, Model m, Particle kappa, double c=10.0, double R0=0.0) -> vonMisesKappaConjugateRestraint
3400 __init__(IMP::isd::vonMisesKappaConjugateRestraint self, Model m, Particle kappa, double c=10.0) -> vonMisesKappaConjugateRestraint
3401 __init__(IMP::isd::vonMisesKappaConjugateRestraint self, Model m, Particle kappa) -> vonMisesKappaConjugateRestraint
3403 this = _IMP_isd.new_vonMisesKappaConjugateRestraint(m, kappa, c, R0)
3405 self.this.append(this)
3406 except __builtin__.Exception:
3410 """do_get_inputs(vonMisesKappaConjugateRestraint self) -> IMP::ModelObjectsTemp"""
3411 return _IMP_isd.vonMisesKappaConjugateRestraint_do_get_inputs(self)
3415 """get_version_info(vonMisesKappaConjugateRestraint self) -> VersionInfo"""
3416 return _IMP_isd.vonMisesKappaConjugateRestraint_get_version_info(self)
3419 def get_probability(self):
3420 """get_probability(vonMisesKappaConjugateRestraint self) -> double"""
3421 return _IMP_isd.vonMisesKappaConjugateRestraint_get_probability(self)
3425 """__str__(vonMisesKappaConjugateRestraint self) -> std::string"""
3426 return _IMP_isd.vonMisesKappaConjugateRestraint___str__(self)
3430 """__repr__(vonMisesKappaConjugateRestraint self) -> std::string"""
3431 return _IMP_isd.vonMisesKappaConjugateRestraint___repr__(self)
3436 return _object_cast_to_vonMisesKappaConjugateRestraint(o)
3438 vonMisesKappaConjugateRestraint_swigregister = _IMP_isd.vonMisesKappaConjugateRestraint_swigregister
3439 vonMisesKappaConjugateRestraint_swigregister(vonMisesKappaConjugateRestraint)
3442 """Proxy of C++ IMP::isd::NOERestraint class."""
3444 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3446 def __init__(self, m, p0, p1, sigma, gamma, Iexp):
3447 """__init__(IMP::isd::NOERestraint self, Model m, Particle p0, Particle p1, Particle sigma, Particle gamma, double Iexp) -> NOERestraint"""
3448 this = _IMP_isd.new_NOERestraint(m, p0, p1, sigma, gamma, Iexp)
3450 self.this.append(this)
3451 except __builtin__.Exception:
3454 def get_probability(self):
3455 """get_probability(NOERestraint self) -> double"""
3456 return _IMP_isd.NOERestraint_get_probability(self)
3460 """get_chi(NOERestraint self) -> double"""
3461 return _IMP_isd.NOERestraint_get_chi(self)
3465 """do_get_inputs(NOERestraint self) -> IMP::ModelObjectsTemp"""
3466 return _IMP_isd.NOERestraint_do_get_inputs(self)
3470 """get_version_info(NOERestraint self) -> VersionInfo"""
3471 return _IMP_isd.NOERestraint_get_version_info(self)
3475 """__str__(NOERestraint self) -> std::string"""
3476 return _IMP_isd.NOERestraint___str__(self)
3480 """__repr__(NOERestraint self) -> std::string"""
3481 return _IMP_isd.NOERestraint___repr__(self)
3486 return _object_cast_to_NOERestraint(o)
3488 NOERestraint_swigregister = _IMP_isd.NOERestraint_swigregister
3489 NOERestraint_swigregister(NOERestraint)
3492 """Proxy of C++ IMP::isd::GaussianRestraint class."""
3494 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3496 def __init__(self, *args):
3498 __init__(IMP::isd::GaussianRestraint self, Particle x, Particle mu, Particle sigma) -> GaussianRestraint
3499 __init__(IMP::isd::GaussianRestraint self, double x, Particle mu, Particle sigma) -> GaussianRestraint
3500 __init__(IMP::isd::GaussianRestraint self, Particle x, double mu, Particle sigma) -> GaussianRestraint
3501 __init__(IMP::isd::GaussianRestraint self, Particle x, Particle mu, double sigma) -> GaussianRestraint
3502 __init__(IMP::isd::GaussianRestraint self, double x, double mu, Particle sigma) -> GaussianRestraint
3503 __init__(IMP::isd::GaussianRestraint self, Particle x, double mu, double sigma) -> GaussianRestraint
3504 __init__(IMP::isd::GaussianRestraint self, double x, Particle mu, double sigma) -> GaussianRestraint
3506 this = _IMP_isd.new_GaussianRestraint(*args)
3508 self.this.append(this)
3509 except __builtin__.Exception:
3512 def get_probability(self):
3513 """get_probability(GaussianRestraint self) -> double"""
3514 return _IMP_isd.GaussianRestraint_get_probability(self)
3518 """get_chi(GaussianRestraint self) -> double"""
3519 return _IMP_isd.GaussianRestraint_get_chi(self)
3523 """do_get_inputs(GaussianRestraint self) -> IMP::ModelObjectsTemp"""
3524 return _IMP_isd.GaussianRestraint_do_get_inputs(self)
3528 """get_version_info(GaussianRestraint self) -> VersionInfo"""
3529 return _IMP_isd.GaussianRestraint_get_version_info(self)
3533 """__str__(GaussianRestraint self) -> std::string"""
3534 return _IMP_isd.GaussianRestraint___str__(self)
3538 """__repr__(GaussianRestraint self) -> std::string"""
3539 return _IMP_isd.GaussianRestraint___repr__(self)
3544 return _object_cast_to_GaussianRestraint(o)
3546 GaussianRestraint_swigregister = _IMP_isd.GaussianRestraint_swigregister
3547 GaussianRestraint_swigregister(GaussianRestraint)
3550 """Proxy of C++ IMP::isd::StudentTRestraint 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, *args):
3556 __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, _ParticleIndexAdaptor mu, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3557 __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, double mu, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3558 __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, _ParticleIndexAdaptor mu, double sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3559 __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, _ParticleIndexAdaptor mu, _ParticleIndexAdaptor sigma, double nu) -> StudentTRestraint
3560 __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, double mu, double sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3561 __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, double mu, _ParticleIndexAdaptor sigma, double nu) -> StudentTRestraint
3562 __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, _ParticleIndexAdaptor mu, double sigma, double nu) -> StudentTRestraint
3563 __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, double mu, double sigma, double nu) -> StudentTRestraint
3564 __init__(IMP::isd::StudentTRestraint self, Model m, double x, _ParticleIndexAdaptor mu, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3565 __init__(IMP::isd::StudentTRestraint self, Model m, double x, double mu, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3566 __init__(IMP::isd::StudentTRestraint self, Model m, double x, _ParticleIndexAdaptor mu, double sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3567 __init__(IMP::isd::StudentTRestraint self, Model m, double x, _ParticleIndexAdaptor mu, _ParticleIndexAdaptor sigma, double nu) -> StudentTRestraint
3568 __init__(IMP::isd::StudentTRestraint self, Model m, double x, double mu, double sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3569 __init__(IMP::isd::StudentTRestraint self, Model m, double x, double mu, _ParticleIndexAdaptor sigma, double nu) -> StudentTRestraint
3570 __init__(IMP::isd::StudentTRestraint self, Model m, double x, _ParticleIndexAdaptor mu, double sigma, double nu) -> StudentTRestraint
3572 this = _IMP_isd.new_StudentTRestraint(*args)
3574 self.this.append(this)
3575 except __builtin__.Exception:
3578 def get_probability(self):
3579 """get_probability(StudentTRestraint self) -> double"""
3580 return _IMP_isd.StudentTRestraint_get_probability(self)
3584 """do_get_inputs(StudentTRestraint self) -> IMP::ModelObjectsTemp"""
3585 return _IMP_isd.StudentTRestraint_do_get_inputs(self)
3589 """get_version_info(StudentTRestraint self) -> VersionInfo"""
3590 return _IMP_isd.StudentTRestraint_get_version_info(self)
3594 """__str__(StudentTRestraint self) -> std::string"""
3595 return _IMP_isd.StudentTRestraint___str__(self)
3599 """__repr__(StudentTRestraint self) -> std::string"""
3600 return _IMP_isd.StudentTRestraint___repr__(self)
3605 return _object_cast_to_StudentTRestraint(o)
3607 StudentTRestraint_swigregister = _IMP_isd.StudentTRestraint_swigregister
3608 StudentTRestraint_swigregister(StudentTRestraint)
3611 """Proxy of C++ IMP::isd::LognormalRestraint class."""
3613 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3615 def __init__(self, *args):
3617 __init__(IMP::isd::LognormalRestraint self, Particle x, Particle mu, Particle sigma) -> LognormalRestraint
3618 __init__(IMP::isd::LognormalRestraint self, double x, Particle mu, Particle sigma) -> LognormalRestraint
3619 __init__(IMP::isd::LognormalRestraint self, Particle x, double mu, Particle sigma) -> LognormalRestraint
3620 __init__(IMP::isd::LognormalRestraint self, Particle x, Particle mu, double sigma) -> LognormalRestraint
3621 __init__(IMP::isd::LognormalRestraint self, double x, double mu, Particle sigma) -> LognormalRestraint
3622 __init__(IMP::isd::LognormalRestraint self, Particle x, double mu, double sigma) -> LognormalRestraint
3623 __init__(IMP::isd::LognormalRestraint self, double x, Particle mu, double sigma) -> LognormalRestraint
3625 this = _IMP_isd.new_LognormalRestraint(*args)
3627 self.this.append(this)
3628 except __builtin__.Exception:
3631 def get_probability(self):
3632 """get_probability(LognormalRestraint self) -> double"""
3633 return _IMP_isd.LognormalRestraint_get_probability(self)
3637 """get_chi(LognormalRestraint self) -> double"""
3638 return _IMP_isd.LognormalRestraint_get_chi(self)
3642 """do_get_inputs(LognormalRestraint self) -> IMP::ModelObjectsTemp"""
3643 return _IMP_isd.LognormalRestraint_do_get_inputs(self)
3647 """get_version_info(LognormalRestraint self) -> VersionInfo"""
3648 return _IMP_isd.LognormalRestraint_get_version_info(self)
3652 """__str__(LognormalRestraint self) -> std::string"""
3653 return _IMP_isd.LognormalRestraint___str__(self)
3657 """__repr__(LognormalRestraint self) -> std::string"""
3658 return _IMP_isd.LognormalRestraint___repr__(self)
3663 return _object_cast_to_LognormalRestraint(o)
3665 LognormalRestraint_swigregister = _IMP_isd.LognormalRestraint_swigregister
3666 LognormalRestraint_swigregister(LognormalRestraint)
3669 """Proxy of C++ IMP::isd::LognormalAmbiguousRestraint class."""
3671 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3673 def __init__(self, p1, p2, ki, sigmaG):
3674 """__init__(IMP::isd::LognormalAmbiguousRestraint self, Particle p1, Particle p2, Particle ki, Particle sigmaG) -> LognormalAmbiguousRestraint"""
3675 this = _IMP_isd.new_LognormalAmbiguousRestraint(p1, p2, ki, sigmaG)
3677 self.this.append(this)
3678 except __builtin__.Exception:
3681 def add_contribution(self, lexp, omega):
3682 """add_contribution(LognormalAmbiguousRestraint self, double lexp, Particle omega)"""
3683 return _IMP_isd.LognormalAmbiguousRestraint_add_contribution(self, lexp, omega)
3686 def get_number_of_contributions(self):
3687 """get_number_of_contributions(LognormalAmbiguousRestraint self) -> unsigned int"""
3688 return _IMP_isd.LognormalAmbiguousRestraint_get_number_of_contributions(self)
3691 def draw_k_from_posterior(self, kt):
3692 """draw_k_from_posterior(LognormalAmbiguousRestraint self, double kt)"""
3693 return _IMP_isd.LognormalAmbiguousRestraint_draw_k_from_posterior(self, kt)
3696 def get_probability(self):
3697 """get_probability(LognormalAmbiguousRestraint self) -> double"""
3698 return _IMP_isd.LognormalAmbiguousRestraint_get_probability(self)
3702 """do_get_inputs(LognormalAmbiguousRestraint self) -> IMP::ModelObjectsTemp"""
3703 return _IMP_isd.LognormalAmbiguousRestraint_do_get_inputs(self)
3707 """get_version_info(LognormalAmbiguousRestraint self) -> VersionInfo"""
3708 return _IMP_isd.LognormalAmbiguousRestraint_get_version_info(self)
3712 """__str__(LognormalAmbiguousRestraint self) -> std::string"""
3713 return _IMP_isd.LognormalAmbiguousRestraint___str__(self)
3717 """__repr__(LognormalAmbiguousRestraint self) -> std::string"""
3718 return _IMP_isd.LognormalAmbiguousRestraint___repr__(self)
3723 return _object_cast_to_LognormalAmbiguousRestraint(o)
3725 LognormalAmbiguousRestraint_swigregister = _IMP_isd.LognormalAmbiguousRestraint_swigregister
3726 LognormalAmbiguousRestraint_swigregister(LognormalAmbiguousRestraint)
3729 """Proxy of C++ IMP::isd::AmbiguousNOERestraint class."""
3731 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3733 def __init__(self, m, pc, sigma, gamma, Iexp):
3734 """__init__(IMP::isd::AmbiguousNOERestraint self, Model m, PairContainer pc, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor gamma, double Iexp) -> AmbiguousNOERestraint"""
3735 this = _IMP_isd.new_AmbiguousNOERestraint(m, pc, sigma, gamma, Iexp)
3737 self.this.append(this)
3738 except __builtin__.Exception:
3741 def get_probability(self):
3742 """get_probability(AmbiguousNOERestraint self) -> double"""
3743 return _IMP_isd.AmbiguousNOERestraint_get_probability(self)
3747 """get_chi(AmbiguousNOERestraint self) -> double"""
3748 return _IMP_isd.AmbiguousNOERestraint_get_chi(self)
3752 """do_get_inputs(AmbiguousNOERestraint self) -> IMP::ModelObjectsTemp"""
3753 return _IMP_isd.AmbiguousNOERestraint_do_get_inputs(self)
3757 """get_version_info(AmbiguousNOERestraint self) -> VersionInfo"""
3758 return _IMP_isd.AmbiguousNOERestraint_get_version_info(self)
3762 """__str__(AmbiguousNOERestraint self) -> std::string"""
3763 return _IMP_isd.AmbiguousNOERestraint___str__(self)
3767 """__repr__(AmbiguousNOERestraint self) -> std::string"""
3768 return _IMP_isd.AmbiguousNOERestraint___repr__(self)
3773 return _object_cast_to_AmbiguousNOERestraint(o)
3775 AmbiguousNOERestraint_swigregister = _IMP_isd.AmbiguousNOERestraint_swigregister
3776 AmbiguousNOERestraint_swigregister(AmbiguousNOERestraint)
3779 """Proxy of C++ IMP::isd::MarginalNOERestraint class."""
3781 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3783 def __init__(self, m):
3784 """__init__(IMP::isd::MarginalNOERestraint self, Model m) -> MarginalNOERestraint"""
3785 this = _IMP_isd.new_MarginalNOERestraint(m)
3787 self.this.append(this)
3788 except __builtin__.Exception:
3791 def add_contribution(self, *args):
3793 add_contribution(MarginalNOERestraint self, Particle p1, Particle p2, double Iexp)
3794 add_contribution(MarginalNOERestraint self, PairContainer pc, double Iexp)
3796 return _IMP_isd.MarginalNOERestraint_add_contribution(self, *args)
3799 def get_log_gammahat(self):
3800 """get_log_gammahat(MarginalNOERestraint self) -> double"""
3801 return _IMP_isd.MarginalNOERestraint_get_log_gammahat(self)
3805 """get_SS(MarginalNOERestraint self) -> double"""
3806 return _IMP_isd.MarginalNOERestraint_get_SS(self)
3809 def get_number_of_contributions(self):
3810 """get_number_of_contributions(MarginalNOERestraint self) -> unsigned int"""
3811 return _IMP_isd.MarginalNOERestraint_get_number_of_contributions(self)
3814 def get_probability(self):
3815 """get_probability(MarginalNOERestraint self) -> double"""
3816 return _IMP_isd.MarginalNOERestraint_get_probability(self)
3820 """do_get_inputs(MarginalNOERestraint self) -> IMP::ModelObjectsTemp"""
3821 return _IMP_isd.MarginalNOERestraint_do_get_inputs(self)
3825 """get_version_info(MarginalNOERestraint self) -> VersionInfo"""
3826 return _IMP_isd.MarginalNOERestraint_get_version_info(self)
3830 """__str__(MarginalNOERestraint self) -> std::string"""
3831 return _IMP_isd.MarginalNOERestraint___str__(self)
3835 """__repr__(MarginalNOERestraint self) -> std::string"""
3836 return _IMP_isd.MarginalNOERestraint___repr__(self)
3841 return _object_cast_to_MarginalNOERestraint(o)
3843 MarginalNOERestraint_swigregister = _IMP_isd.MarginalNOERestraint_swigregister
3844 MarginalNOERestraint_swigregister(MarginalNOERestraint)
3847 """Proxy of C++ IMP::isd::MarginalHBondRestraint class."""
3849 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3851 def __init__(self, m):
3852 """__init__(IMP::isd::MarginalHBondRestraint self, Model m) -> MarginalHBondRestraint"""
3853 this = _IMP_isd.new_MarginalHBondRestraint(m)
3855 self.this.append(this)
3856 except __builtin__.Exception:
3859 def add_contribution(self, *args):
3861 add_contribution(MarginalHBondRestraint self, Particle p1, Particle p2, double Iexp)
3862 add_contribution(MarginalHBondRestraint self, PairContainer pc, double Iexp)
3864 return _IMP_isd.MarginalHBondRestraint_add_contribution(self, *args)
3867 def get_logsquares(self):
3868 """get_logsquares(MarginalHBondRestraint self) -> double"""
3869 return _IMP_isd.MarginalHBondRestraint_get_logsquares(self)
3872 def get_number_of_contributions(self):
3873 """get_number_of_contributions(MarginalHBondRestraint self) -> unsigned int"""
3874 return _IMP_isd.MarginalHBondRestraint_get_number_of_contributions(self)
3877 def get_probability(self):
3878 """get_probability(MarginalHBondRestraint self) -> double"""
3879 return _IMP_isd.MarginalHBondRestraint_get_probability(self)
3883 """do_get_inputs(MarginalHBondRestraint self) -> IMP::ModelObjectsTemp"""
3884 return _IMP_isd.MarginalHBondRestraint_do_get_inputs(self)
3888 """get_version_info(MarginalHBondRestraint self) -> VersionInfo"""
3889 return _IMP_isd.MarginalHBondRestraint_get_version_info(self)
3893 """__str__(MarginalHBondRestraint self) -> std::string"""
3894 return _IMP_isd.MarginalHBondRestraint___str__(self)
3898 """__repr__(MarginalHBondRestraint self) -> std::string"""
3899 return _IMP_isd.MarginalHBondRestraint___repr__(self)
3904 return _object_cast_to_MarginalHBondRestraint(o)
3906 MarginalHBondRestraint_swigregister = _IMP_isd.MarginalHBondRestraint_swigregister
3907 MarginalHBondRestraint_swigregister(MarginalHBondRestraint)
3910 """Proxy of C++ IMP::isd::TALOSRestraint class."""
3912 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3914 def __init__(self, *args):
3916 __init__(IMP::isd::TALOSRestraint self, Model m, IMP::Particles p, IMP::Floats data, Particle kappa) -> TALOSRestraint
3917 __init__(IMP::isd::TALOSRestraint self, Model m, Particle p1, Particle p2, Particle p3, Particle p4, IMP::Floats data, Particle kappa) -> TALOSRestraint
3918 __init__(IMP::isd::TALOSRestraint self, Model m, IMP::Particles p, unsigned int N, double R0, double chiexp, Particle kappa) -> TALOSRestraint
3919 __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
3921 this = _IMP_isd.new_TALOSRestraint(*args)
3923 self.this.append(this)
3924 except __builtin__.Exception:
3927 def get_probability(self):
3928 """get_probability(TALOSRestraint self) -> double"""
3929 return _IMP_isd.TALOSRestraint_get_probability(self)
3933 """get_R0(TALOSRestraint self) -> double"""
3934 return _IMP_isd.TALOSRestraint_get_R0(self)
3937 def get_chiexp(self):
3938 """get_chiexp(TALOSRestraint self) -> double"""
3939 return _IMP_isd.TALOSRestraint_get_chiexp(self)
3943 """do_get_inputs(TALOSRestraint self) -> IMP::ModelObjectsTemp"""
3944 return _IMP_isd.TALOSRestraint_do_get_inputs(self)
3948 """get_version_info(TALOSRestraint self) -> VersionInfo"""
3949 return _IMP_isd.TALOSRestraint_get_version_info(self)
3953 """__str__(TALOSRestraint self) -> std::string"""
3954 return _IMP_isd.TALOSRestraint___str__(self)
3958 """__repr__(TALOSRestraint self) -> std::string"""
3959 return _IMP_isd.TALOSRestraint___repr__(self)
3964 return _object_cast_to_TALOSRestraint(o)
3966 TALOSRestraint_swigregister = _IMP_isd.TALOSRestraint_swigregister
3967 TALOSRestraint_swigregister(TALOSRestraint)
3970 """Proxy of C++ IMP::isd::RepulsiveDistancePairScore class."""
3972 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3974 def __init__(self, d0, k):
3975 """__init__(IMP::isd::RepulsiveDistancePairScore self, double d0, double k) -> RepulsiveDistancePairScore"""
3976 this = _IMP_isd.new_RepulsiveDistancePairScore(d0, k)
3978 self.this.append(this)
3979 except __builtin__.Exception:
3982 def get_rest_length(self):
3983 """get_rest_length(RepulsiveDistancePairScore self) -> double"""
3984 return _IMP_isd.RepulsiveDistancePairScore_get_rest_length(self)
3987 def get_stiffness(self):
3988 """get_stiffness(RepulsiveDistancePairScore self) -> double"""
3989 return _IMP_isd.RepulsiveDistancePairScore_get_stiffness(self)
3993 """do_get_inputs(RepulsiveDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3994 return _IMP_isd.RepulsiveDistancePairScore_do_get_inputs(self, m, pis)
3998 """get_version_info(RepulsiveDistancePairScore self) -> VersionInfo"""
3999 return _IMP_isd.RepulsiveDistancePairScore_get_version_info(self)
4003 """__str__(RepulsiveDistancePairScore self) -> std::string"""
4004 return _IMP_isd.RepulsiveDistancePairScore___str__(self)
4008 """__repr__(RepulsiveDistancePairScore self) -> std::string"""
4009 return _IMP_isd.RepulsiveDistancePairScore___repr__(self)
4014 return _object_cast_to_RepulsiveDistancePairScore(o)
4016 RepulsiveDistancePairScore_swigregister = _IMP_isd.RepulsiveDistancePairScore_swigregister
4017 RepulsiveDistancePairScore_swigregister(RepulsiveDistancePairScore)
4020 """Proxy of C++ IMP::isd::AmbiguousRestraint class."""
4022 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4024 def __init__(self, *args):
4026 __init__(IMP::isd::AmbiguousRestraint self, Model m, int d, Restraint r0, Restraint r1) -> AmbiguousRestraint
4027 __init__(IMP::isd::AmbiguousRestraint self, Model m, int d, IMP::Restraints rs) -> AmbiguousRestraint
4029 this = _IMP_isd.new_AmbiguousRestraint(*args)
4031 self.this.append(this)
4032 except __builtin__.Exception:
4035 def get_probability(self):
4036 """get_probability(AmbiguousRestraint self) -> double"""
4037 return _IMP_isd.AmbiguousRestraint_get_probability(self)
4041 """do_get_inputs(AmbiguousRestraint self) -> IMP::ModelObjectsTemp"""
4042 return _IMP_isd.AmbiguousRestraint_do_get_inputs(self)
4046 """get_version_info(AmbiguousRestraint self) -> VersionInfo"""
4047 return _IMP_isd.AmbiguousRestraint_get_version_info(self)
4051 """__str__(AmbiguousRestraint self) -> std::string"""
4052 return _IMP_isd.AmbiguousRestraint___str__(self)
4056 """__repr__(AmbiguousRestraint self) -> std::string"""
4057 return _IMP_isd.AmbiguousRestraint___repr__(self)
4062 return _object_cast_to_AmbiguousRestraint(o)
4064 AmbiguousRestraint_swigregister = _IMP_isd.AmbiguousRestraint_swigregister
4065 AmbiguousRestraint_swigregister(AmbiguousRestraint)
4067 IMP_ISD_UNIVARIATE_FUNCTIONS_MINIMUM = _IMP_isd.IMP_ISD_UNIVARIATE_FUNCTIONS_MINIMUM
4069 """Proxy of C++ IMP::isd::UnivariateFunction class."""
4071 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4073 def __init__(self, *args, **kwargs):
4074 raise AttributeError(
"No constructor defined - class is abstract")
4076 def __call__(self, *args):
4078 __call__(UnivariateFunction self, IMP::Floats const & x) -> IMP::Floats
4079 __call__(UnivariateFunction self, IMP::FloatsList const & xlist) -> Eigen::VectorXd
4080 __call__(UnivariateFunction self, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
4082 return _IMP_isd.UnivariateFunction___call__(self, *args)
4085 def has_changed(self):
4086 """has_changed(UnivariateFunction self) -> bool"""
4087 return _IMP_isd.UnivariateFunction_has_changed(self)
4091 """update(UnivariateFunction self)"""
4092 return _IMP_isd.UnivariateFunction_update(self)
4095 def add_to_derivatives(self, x, accum):
4096 """add_to_derivatives(UnivariateFunction self, IMP::Floats const & x, DerivativeAccumulator accum)"""
4097 return _IMP_isd.UnivariateFunction_add_to_derivatives(self, x, accum)
4100 def add_to_particle_derivative(self, particle_no, value, accum):
4101 """add_to_particle_derivative(UnivariateFunction self, unsigned int particle_no, double value, DerivativeAccumulator accum)"""
4102 return _IMP_isd.UnivariateFunction_add_to_particle_derivative(self, particle_no, value, accum)
4105 def get_derivative_vector(self, particle_no, xlist):
4106 """get_derivative_vector(UnivariateFunction self, unsigned int particle_no, IMP::FloatsList const & xlist) -> Eigen::VectorXd"""
4107 return _IMP_isd.UnivariateFunction_get_derivative_vector(self, particle_no, xlist)
4110 def get_derivative_matrix(self, xlist, stupid):
4111 """get_derivative_matrix(UnivariateFunction self, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList"""
4112 return _IMP_isd.UnivariateFunction_get_derivative_matrix(self, xlist, stupid)
4115 def get_second_derivative_vector(self, *args):
4117 get_second_derivative_vector(UnivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> Eigen::VectorXd
4118 get_second_derivative_vector(UnivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
4120 return _IMP_isd.UnivariateFunction_get_second_derivative_vector(self, *args)
4123 def get_ndims_x(self):
4124 """get_ndims_x(UnivariateFunction self) -> unsigned int"""
4125 return _IMP_isd.UnivariateFunction_get_ndims_x(self)
4128 def get_ndims_y(self):
4129 """get_ndims_y(UnivariateFunction self) -> unsigned int"""
4130 return _IMP_isd.UnivariateFunction_get_ndims_y(self)
4133 def get_number_of_particles(self):
4134 """get_number_of_particles(UnivariateFunction self) -> unsigned int"""
4135 return _IMP_isd.UnivariateFunction_get_number_of_particles(self)
4138 def get_particle_is_optimized(self, particle_no):
4139 """get_particle_is_optimized(UnivariateFunction self, unsigned int particle_no) -> bool"""
4140 return _IMP_isd.UnivariateFunction_get_particle_is_optimized(self, particle_no)
4143 def get_number_of_optimized_particles(self):
4144 """get_number_of_optimized_particles(UnivariateFunction self) -> unsigned int"""
4145 return _IMP_isd.UnivariateFunction_get_number_of_optimized_particles(self)
4149 """get_inputs(UnivariateFunction self) -> IMP::ModelObjectsTemp"""
4150 return _IMP_isd.UnivariateFunction_get_inputs(self)
4152 __swig_destroy__ = _IMP_isd.delete_UnivariateFunction
4153 __del__ =
lambda self:
None
4156 """__str__(UnivariateFunction self) -> std::string"""
4157 return _IMP_isd.UnivariateFunction___str__(self)
4161 """__repr__(UnivariateFunction self) -> std::string"""
4162 return _IMP_isd.UnivariateFunction___repr__(self)
4167 return _object_cast_to_UnivariateFunction(o)
4169 UnivariateFunction_swigregister = _IMP_isd.UnivariateFunction_swigregister
4170 UnivariateFunction_swigregister(UnivariateFunction)
4172 class Linear1DFunction(UnivariateFunction):
4173 """Proxy of C++ IMP::isd::Linear1DFunction class."""
4175 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4177 def __init__(self, a, b):
4178 """__init__(IMP::isd::Linear1DFunction self, Particle a, Particle b) -> Linear1DFunction"""
4179 this = _IMP_isd.new_Linear1DFunction(a, b)
4181 self.this.append(this)
4182 except __builtin__.Exception:
4185 def __call__(self, *args):
4187 __call__(Linear1DFunction self, IMP::Floats const & x) -> IMP::Floats
4188 __call__(Linear1DFunction self, IMP::FloatsList const & xlist) -> Eigen::VectorXd
4189 __call__(Linear1DFunction self, IMP::FloatsList const & xlist, bool arg3) -> IMP::FloatsList
4191 return _IMP_isd.Linear1DFunction___call__(self, *args)
4194 def get_second_derivative_vector(self, *args):
4196 get_second_derivative_vector(Linear1DFunction self, unsigned int arg2, unsigned int arg3, IMP::FloatsList const & xlist) -> Eigen::VectorXd
4197 get_second_derivative_vector(Linear1DFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool arg5) -> IMP::FloatsList
4199 return _IMP_isd.Linear1DFunction_get_second_derivative_vector(self, *args)
4203 """get_version_info(Linear1DFunction self) -> VersionInfo"""
4204 return _IMP_isd.Linear1DFunction_get_version_info(self)
4208 """__str__(Linear1DFunction self) -> std::string"""
4209 return _IMP_isd.Linear1DFunction___str__(self)
4213 """__repr__(Linear1DFunction self) -> std::string"""
4214 return _IMP_isd.Linear1DFunction___repr__(self)
4219 return _object_cast_to_Linear1DFunction(o)
4221 Linear1DFunction_swigregister = _IMP_isd.Linear1DFunction_swigregister
4222 Linear1DFunction_swigregister(Linear1DFunction)
4224 class GeneralizedGuinierPorodFunction(UnivariateFunction):
4225 """Proxy of C++ IMP::isd::GeneralizedGuinierPorodFunction class."""
4227 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4229 def __init__(self, G, Rg, d, s, A):
4230 """__init__(IMP::isd::GeneralizedGuinierPorodFunction self, Particle G, Particle Rg, Particle d, Particle s, Particle A) -> GeneralizedGuinierPorodFunction"""
4231 this = _IMP_isd.new_GeneralizedGuinierPorodFunction(G, Rg, d, s, A)
4233 self.this.append(this)
4234 except __builtin__.Exception:
4237 def __call__(self, *args):
4239 __call__(GeneralizedGuinierPorodFunction self, IMP::Floats const & x) -> IMP::Floats
4240 __call__(GeneralizedGuinierPorodFunction self, IMP::FloatsList const & xlist) -> Eigen::VectorXd
4241 __call__(GeneralizedGuinierPorodFunction self, IMP::FloatsList const & xlist, bool arg3) -> IMP::FloatsList
4243 return _IMP_isd.GeneralizedGuinierPorodFunction___call__(self, *args)
4246 def get_second_derivative_vector(self, *args):
4248 get_second_derivative_vector(GeneralizedGuinierPorodFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> Eigen::VectorXd
4249 get_second_derivative_vector(GeneralizedGuinierPorodFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool arg5) -> IMP::FloatsList
4251 return _IMP_isd.GeneralizedGuinierPorodFunction_get_second_derivative_vector(self, *args)
4255 """get_version_info(GeneralizedGuinierPorodFunction self) -> VersionInfo"""
4256 return _IMP_isd.GeneralizedGuinierPorodFunction_get_version_info(self)
4260 """__str__(GeneralizedGuinierPorodFunction self) -> std::string"""
4261 return _IMP_isd.GeneralizedGuinierPorodFunction___str__(self)
4265 """__repr__(GeneralizedGuinierPorodFunction self) -> std::string"""
4266 return _IMP_isd.GeneralizedGuinierPorodFunction___repr__(self)
4271 return _object_cast_to_GeneralizedGuinierPorodFunction(o)
4273 GeneralizedGuinierPorodFunction_swigregister = _IMP_isd.GeneralizedGuinierPorodFunction_swigregister
4274 GeneralizedGuinierPorodFunction_swigregister(GeneralizedGuinierPorodFunction)
4276 IMP_ISD_BIVARIATE_FUNCTIONS_MINIMUM = _IMP_isd.IMP_ISD_BIVARIATE_FUNCTIONS_MINIMUM
4278 """Proxy of C++ IMP::isd::BivariateFunction class."""
4280 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4282 def __init__(self, *args, **kwargs):
4283 raise AttributeError(
"No constructor defined - class is abstract")
4285 def __call__(self, *args):
4287 __call__(BivariateFunction self, IMP::Floats const & x1, IMP::Floats const & x2) -> IMP::Floats
4288 __call__(BivariateFunction self, IMP::FloatsList const & xlist) -> Eigen::MatrixXd
4289 __call__(BivariateFunction self, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
4291 return _IMP_isd.BivariateFunction___call__(self, *args)
4294 def has_changed(self):
4295 """has_changed(BivariateFunction self) -> bool"""
4296 return _IMP_isd.BivariateFunction_has_changed(self)
4300 """update(BivariateFunction self)"""
4301 return _IMP_isd.BivariateFunction_update(self)
4304 def add_to_derivatives(self, x1, x2, accum):
4305 """add_to_derivatives(BivariateFunction self, IMP::Floats const & x1, IMP::Floats const & x2, DerivativeAccumulator accum)"""
4306 return _IMP_isd.BivariateFunction_add_to_derivatives(self, x1, x2, accum)
4309 def add_to_particle_derivative(self, particle_no, value, accum):
4310 """add_to_particle_derivative(BivariateFunction self, unsigned int particle_no, double value, DerivativeAccumulator accum)"""
4311 return _IMP_isd.BivariateFunction_add_to_particle_derivative(self, particle_no, value, accum)
4314 def get_derivative_matrix(self, *args):
4316 get_derivative_matrix(BivariateFunction self, unsigned int particle_no, IMP::FloatsList const & xlist) -> Eigen::MatrixXd
4317 get_derivative_matrix(BivariateFunction self, unsigned int particle_no, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
4319 return _IMP_isd.BivariateFunction_get_derivative_matrix(self, *args)
4322 def get_second_derivative_matrix(self, *args):
4324 get_second_derivative_matrix(BivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> Eigen::MatrixXd
4325 get_second_derivative_matrix(BivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
4327 return _IMP_isd.BivariateFunction_get_second_derivative_matrix(self, *args)
4330 def get_ndims_x1(self):
4331 """get_ndims_x1(BivariateFunction self) -> unsigned int"""
4332 return _IMP_isd.BivariateFunction_get_ndims_x1(self)
4335 def get_ndims_x2(self):
4336 """get_ndims_x2(BivariateFunction self) -> unsigned int"""
4337 return _IMP_isd.BivariateFunction_get_ndims_x2(self)
4340 def get_ndims_y(self):
4341 """get_ndims_y(BivariateFunction self) -> unsigned int"""
4342 return _IMP_isd.BivariateFunction_get_ndims_y(self)
4345 def get_number_of_particles(self):
4346 """get_number_of_particles(BivariateFunction self) -> unsigned int"""
4347 return _IMP_isd.BivariateFunction_get_number_of_particles(self)
4350 def get_particle_is_optimized(self, particle_no):
4351 """get_particle_is_optimized(BivariateFunction self, unsigned int particle_no) -> bool"""
4352 return _IMP_isd.BivariateFunction_get_particle_is_optimized(self, particle_no)
4355 def get_number_of_optimized_particles(self):
4356 """get_number_of_optimized_particles(BivariateFunction self) -> unsigned int"""
4357 return _IMP_isd.BivariateFunction_get_number_of_optimized_particles(self)
4361 """get_inputs(BivariateFunction self) -> IMP::ModelObjectsTemp"""
4362 return _IMP_isd.BivariateFunction_get_inputs(self)
4364 __swig_destroy__ = _IMP_isd.delete_BivariateFunction
4365 __del__ =
lambda self:
None
4368 """__str__(BivariateFunction self) -> std::string"""
4369 return _IMP_isd.BivariateFunction___str__(self)
4373 """__repr__(BivariateFunction self) -> std::string"""
4374 return _IMP_isd.BivariateFunction___repr__(self)
4379 return _object_cast_to_BivariateFunction(o)
4381 BivariateFunction_swigregister = _IMP_isd.BivariateFunction_swigregister
4382 BivariateFunction_swigregister(BivariateFunction)
4384 class Covariance1DFunction(BivariateFunction):
4385 """Proxy of C++ IMP::isd::Covariance1DFunction class."""
4387 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4389 def __init__(self, tau, ilambda, alpha=2.0, jitter=0.0, cutoff=1e-7):
4391 __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda, double alpha=2.0, double jitter=0.0, double cutoff=1e-7) -> Covariance1DFunction
4392 __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda, double alpha=2.0, double jitter=0.0) -> Covariance1DFunction
4393 __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda, double alpha=2.0) -> Covariance1DFunction
4394 __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda) -> Covariance1DFunction
4396 this = _IMP_isd.new_Covariance1DFunction(tau, ilambda, alpha, jitter, cutoff)
4398 self.this.append(this)
4399 except __builtin__.Exception:
4402 def __call__(self, *args):
4404 __call__(Covariance1DFunction self, IMP::Floats const & x1, IMP::Floats const & x2) -> IMP::Floats
4405 __call__(Covariance1DFunction self, IMP::FloatsList const & xlist) -> Eigen::MatrixXd
4406 __call__(Covariance1DFunction self, IMP::FloatsList const & xlist, bool arg3) -> IMP::FloatsList
4408 return _IMP_isd.Covariance1DFunction___call__(self, *args)
4411 def get_derivative_matrix(self, *args):
4413 get_derivative_matrix(Covariance1DFunction self, unsigned int particle_no, IMP::FloatsList const & xlist) -> Eigen::MatrixXd
4414 get_derivative_matrix(Covariance1DFunction self, unsigned int particle_no, IMP::FloatsList const & xlist, bool arg4) -> IMP::FloatsList
4416 return _IMP_isd.Covariance1DFunction_get_derivative_matrix(self, *args)
4419 def get_second_derivative_matrix(self, *args):
4421 get_second_derivative_matrix(Covariance1DFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> Eigen::MatrixXd
4422 get_second_derivative_matrix(Covariance1DFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool arg5) -> IMP::FloatsList
4424 return _IMP_isd.Covariance1DFunction_get_second_derivative_matrix(self, *args)
4428 """get_version_info(Covariance1DFunction self) -> VersionInfo"""
4429 return _IMP_isd.Covariance1DFunction_get_version_info(self)
4433 """__str__(Covariance1DFunction self) -> std::string"""
4434 return _IMP_isd.Covariance1DFunction___str__(self)
4438 """__repr__(Covariance1DFunction self) -> std::string"""
4439 return _IMP_isd.Covariance1DFunction___repr__(self)
4444 return _object_cast_to_Covariance1DFunction(o)
4446 Covariance1DFunction_swigregister = _IMP_isd.Covariance1DFunction_swigregister
4447 Covariance1DFunction_swigregister(Covariance1DFunction)
4449 class GaussianProcessInterpolation(
IMP.Object):
4450 """Proxy of C++ IMP::isd::GaussianProcessInterpolation class."""
4452 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4454 def __init__(self, x, sample_mean, sample_std, n_obs, mean_function, covariance_function, sigma, sparse_cutoff=1e-7):
4456 __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
4457 __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
4459 this = _IMP_isd.new_GaussianProcessInterpolation(x, sample_mean, sample_std, n_obs, mean_function, covariance_function, sigma, sparse_cutoff)
4461 self.this.append(this)
4462 except __builtin__.Exception:
4465 def get_posterior_mean(self, x):
4466 """get_posterior_mean(GaussianProcessInterpolation self, IMP::Floats x) -> double"""
4467 return _IMP_isd.GaussianProcessInterpolation_get_posterior_mean(self, x)
4470 def get_posterior_covariance(self, x1, x2):
4471 """get_posterior_covariance(GaussianProcessInterpolation self, IMP::Floats x1, IMP::Floats x2) -> double"""
4472 return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance(self, x1, x2)
4475 def get_posterior_covariance_matrix(self, x, arg3):
4476 """get_posterior_covariance_matrix(GaussianProcessInterpolation self, IMP::FloatsList x, bool arg3) -> IMP::FloatsList"""
4477 return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance_matrix(self, x, arg3)
4480 def get_posterior_covariance_derivative(self, x, arg3):
4481 """get_posterior_covariance_derivative(GaussianProcessInterpolation self, IMP::Floats x, bool arg3) -> IMP::Floats"""
4482 return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance_derivative(self, x, arg3)
4485 def get_posterior_covariance_hessian(self, x, arg3):
4486 """get_posterior_covariance_hessian(GaussianProcessInterpolation self, IMP::Floats x, bool arg3) -> IMP::FloatsList"""
4487 return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance_hessian(self, x, arg3)
4491 """get_inputs(GaussianProcessInterpolation self) -> IMP::ModelObjectsTemp"""
4492 return _IMP_isd.GaussianProcessInterpolation_get_inputs(self)
4495 def force_mean_update(self):
4496 """force_mean_update(GaussianProcessInterpolation self)"""
4497 return _IMP_isd.GaussianProcessInterpolation_force_mean_update(self)
4500 def force_covariance_update(self):
4501 """force_covariance_update(GaussianProcessInterpolation self)"""
4502 return _IMP_isd.GaussianProcessInterpolation_force_covariance_update(self)
4505 def get_number_of_m_particles(self):
4506 """get_number_of_m_particles(GaussianProcessInterpolation self) -> unsigned int"""
4507 return _IMP_isd.GaussianProcessInterpolation_get_number_of_m_particles(self)
4510 def get_m_particle_is_optimized(self, i):
4511 """get_m_particle_is_optimized(GaussianProcessInterpolation self, unsigned int i) -> bool"""
4512 return _IMP_isd.GaussianProcessInterpolation_get_m_particle_is_optimized(self, i)
4515 def get_number_of_Omega_particles(self):
4516 """get_number_of_Omega_particles(GaussianProcessInterpolation self) -> unsigned int"""
4517 return _IMP_isd.GaussianProcessInterpolation_get_number_of_Omega_particles(self)
4520 def get_Omega_particle_is_optimized(self, i):
4521 """get_Omega_particle_is_optimized(GaussianProcessInterpolation self, unsigned int i) -> bool"""
4522 return _IMP_isd.GaussianProcessInterpolation_get_Omega_particle_is_optimized(self, i)
4525 def get_data_abscissa(self):
4526 """get_data_abscissa(GaussianProcessInterpolation self) -> IMP::FloatsList"""
4527 return _IMP_isd.GaussianProcessInterpolation_get_data_abscissa(self)
4530 def get_data_mean(self):
4531 """get_data_mean(GaussianProcessInterpolation self) -> IMP::Floats"""
4532 return _IMP_isd.GaussianProcessInterpolation_get_data_mean(self)
4535 def get_data_variance(self):
4536 """get_data_variance(GaussianProcessInterpolation self) -> IMP::FloatsList"""
4537 return _IMP_isd.GaussianProcessInterpolation_get_data_variance(self)
4541 """get_version_info(GaussianProcessInterpolation self) -> VersionInfo"""
4542 return _IMP_isd.GaussianProcessInterpolation_get_version_info(self)
4546 """__str__(GaussianProcessInterpolation self) -> std::string"""
4547 return _IMP_isd.GaussianProcessInterpolation___str__(self)
4551 """__repr__(GaussianProcessInterpolation self) -> std::string"""
4552 return _IMP_isd.GaussianProcessInterpolation___repr__(self)
4557 return _object_cast_to_GaussianProcessInterpolation(o)
4559 GaussianProcessInterpolation_swigregister = _IMP_isd.GaussianProcessInterpolation_swigregister
4560 GaussianProcessInterpolation_swigregister(GaussianProcessInterpolation)
4563 """Proxy of C++ IMP::isd::GaussianProcessInterpolationRestraint class."""
4565 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4567 def __init__(self, m, gpi):
4568 """__init__(IMP::isd::GaussianProcessInterpolationRestraint self, Model m, GaussianProcessInterpolation gpi) -> GaussianProcessInterpolationRestraint"""
4569 this = _IMP_isd.new_GaussianProcessInterpolationRestraint(m, gpi)
4571 self.this.append(this)
4572 except __builtin__.Exception:
4575 def get_probability(self):
4576 """get_probability(GaussianProcessInterpolationRestraint self) -> double"""
4577 return _IMP_isd.GaussianProcessInterpolationRestraint_get_probability(self)
4580 def set_use_cg(self, use, tol):
4581 """set_use_cg(GaussianProcessInterpolationRestraint self, bool use, double tol)"""
4582 return _IMP_isd.GaussianProcessInterpolationRestraint_set_use_cg(self, use, tol)
4585 def get_minus_log_normalization(self):
4586 """get_minus_log_normalization(GaussianProcessInterpolationRestraint self) -> double"""
4587 return _IMP_isd.GaussianProcessInterpolationRestraint_get_minus_log_normalization(self)
4590 def get_minus_exponent(self):
4591 """get_minus_exponent(GaussianProcessInterpolationRestraint self) -> double"""
4592 return _IMP_isd.GaussianProcessInterpolationRestraint_get_minus_exponent(self)
4595 def get_logdet_hessian(self):
4596 """get_logdet_hessian(GaussianProcessInterpolationRestraint self) -> double"""
4597 return _IMP_isd.GaussianProcessInterpolationRestraint_get_logdet_hessian(self)
4600 def get_hessian(self, *args):
4602 get_hessian(GaussianProcessInterpolationRestraint self) -> Eigen::MatrixXd
4603 get_hessian(GaussianProcessInterpolationRestraint self, bool unused) -> IMP::FloatsList
4605 return _IMP_isd.GaussianProcessInterpolationRestraint_get_hessian(self, *args)
4609 """do_get_inputs(GaussianProcessInterpolationRestraint self) -> IMP::ModelObjectsTemp"""
4610 return _IMP_isd.GaussianProcessInterpolationRestraint_do_get_inputs(self)
4614 """get_version_info(GaussianProcessInterpolationRestraint self) -> VersionInfo"""
4615 return _IMP_isd.GaussianProcessInterpolationRestraint_get_version_info(self)
4619 """__str__(GaussianProcessInterpolationRestraint self) -> std::string"""
4620 return _IMP_isd.GaussianProcessInterpolationRestraint___str__(self)
4624 """__repr__(GaussianProcessInterpolationRestraint self) -> std::string"""
4625 return _IMP_isd.GaussianProcessInterpolationRestraint___repr__(self)
4630 return _object_cast_to_GaussianProcessInterpolationRestraint(o)
4632 GaussianProcessInterpolationRestraint_swigregister = _IMP_isd.GaussianProcessInterpolationRestraint_swigregister
4633 GaussianProcessInterpolationRestraint_swigregister(GaussianProcessInterpolationRestraint)
4636 """Proxy of C++ IMP::isd::MolecularDynamics class."""
4638 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4640 def __init__(self, m=None):
4642 __init__(IMP::isd::MolecularDynamics self, Model m=None) -> MolecularDynamics
4643 __init__(IMP::isd::MolecularDynamics self) -> MolecularDynamics
4645 this = _IMP_isd.new_MolecularDynamics(m)
4647 self.this.append(this)
4648 except __builtin__.Exception:
4652 """__str__(MolecularDynamics self) -> std::string"""
4653 return _IMP_isd.MolecularDynamics___str__(self)
4657 """__repr__(MolecularDynamics self) -> std::string"""
4658 return _IMP_isd.MolecularDynamics___repr__(self)
4663 return _object_cast_to_MolecularDynamics(o)
4665 __swig_destroy__ = _IMP_isd.delete_MolecularDynamics
4666 __del__ =
lambda self:
None
4667 MolecularDynamics_swigregister = _IMP_isd.MolecularDynamics_swigregister
4668 MolecularDynamics_swigregister(MolecularDynamics)
4671 """Proxy of C++ IMP::isd::MolecularDynamicsMover class."""
4673 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4675 def __init__(self, m, nsteps=100, timestep=1.):
4677 __init__(IMP::isd::MolecularDynamicsMover self, Model m, unsigned int nsteps=100, IMP::Float timestep=1.) -> MolecularDynamicsMover
4678 __init__(IMP::isd::MolecularDynamicsMover self, Model m, unsigned int nsteps=100) -> MolecularDynamicsMover
4679 __init__(IMP::isd::MolecularDynamicsMover self, Model m) -> MolecularDynamicsMover
4681 this = _IMP_isd.new_MolecularDynamicsMover(m, nsteps, timestep)
4683 self.this.append(this)
4684 except __builtin__.Exception:
4688 """get_md(MolecularDynamicsMover self) -> MolecularDynamics"""
4689 return _IMP_isd.MolecularDynamicsMover_get_md(self)
4692 def get_number_of_md_steps(self):
4693 """get_number_of_md_steps(MolecularDynamicsMover self) -> unsigned int"""
4694 return _IMP_isd.MolecularDynamicsMover_get_number_of_md_steps(self)
4697 def set_number_of_md_steps(self, nsteps):
4698 """set_number_of_md_steps(MolecularDynamicsMover self, unsigned int nsteps)"""
4699 return _IMP_isd.MolecularDynamicsMover_set_number_of_md_steps(self, nsteps)
4703 """get_version_info(MolecularDynamicsMover self) -> VersionInfo"""
4704 return _IMP_isd.MolecularDynamicsMover_get_version_info(self)
4708 """__str__(MolecularDynamicsMover self) -> std::string"""
4709 return _IMP_isd.MolecularDynamicsMover___str__(self)
4713 """__repr__(MolecularDynamicsMover self) -> std::string"""
4714 return _IMP_isd.MolecularDynamicsMover___repr__(self)
4719 return _object_cast_to_MolecularDynamicsMover(o)
4721 MolecularDynamicsMover_swigregister = _IMP_isd.MolecularDynamicsMover_swigregister
4722 MolecularDynamicsMover_swigregister(MolecularDynamicsMover)
4725 """Proxy of C++ IMP::isd::HybridMonteCarlo class."""
4727 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4729 def __init__(self, m, kT=1.0, steps=100, timestep=1.0, persistence=1):
4731 __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
4732 __init__(IMP::isd::HybridMonteCarlo self, Model m, IMP::Float kT=1.0, unsigned int steps=100, IMP::Float timestep=1.0) -> HybridMonteCarlo
4733 __init__(IMP::isd::HybridMonteCarlo self, Model m, IMP::Float kT=1.0, unsigned int steps=100) -> HybridMonteCarlo
4734 __init__(IMP::isd::HybridMonteCarlo self, Model m, IMP::Float kT=1.0) -> HybridMonteCarlo
4735 __init__(IMP::isd::HybridMonteCarlo self, Model m) -> HybridMonteCarlo
4737 this = _IMP_isd.new_HybridMonteCarlo(m, kT, steps, timestep, persistence)
4739 self.this.append(this)
4740 except __builtin__.Exception:
4743 def get_kinetic_energy(self):
4744 """get_kinetic_energy(HybridMonteCarlo self) -> IMP::Float"""
4745 return _IMP_isd.HybridMonteCarlo_get_kinetic_energy(self)
4748 def get_potential_energy(self):
4749 """get_potential_energy(HybridMonteCarlo self) -> IMP::Float"""
4750 return _IMP_isd.HybridMonteCarlo_get_potential_energy(self)
4753 def get_total_energy(self):
4754 """get_total_energy(HybridMonteCarlo self) -> IMP::Float"""
4755 return _IMP_isd.HybridMonteCarlo_get_total_energy(self)
4758 def set_timestep(self, ts):
4759 """set_timestep(HybridMonteCarlo self, IMP::Float ts)"""
4760 return _IMP_isd.HybridMonteCarlo_set_timestep(self, ts)
4763 def get_timestep(self):
4764 """get_timestep(HybridMonteCarlo self) -> double"""
4765 return _IMP_isd.HybridMonteCarlo_get_timestep(self)
4768 def set_number_of_md_steps(self, nsteps):
4769 """set_number_of_md_steps(HybridMonteCarlo self, unsigned int nsteps)"""
4770 return _IMP_isd.HybridMonteCarlo_set_number_of_md_steps(self, nsteps)
4773 def get_number_of_md_steps(self):
4774 """get_number_of_md_steps(HybridMonteCarlo self) -> unsigned int"""
4775 return _IMP_isd.HybridMonteCarlo_get_number_of_md_steps(self)
4778 def set_persistence(self, persistence=1):
4780 set_persistence(HybridMonteCarlo self, unsigned int persistence=1)
4781 set_persistence(HybridMonteCarlo self)
4783 return _IMP_isd.HybridMonteCarlo_set_persistence(self, persistence)
4786 def get_persistence(self):
4787 """get_persistence(HybridMonteCarlo self) -> unsigned int"""
4788 return _IMP_isd.HybridMonteCarlo_get_persistence(self)
4792 """get_md(HybridMonteCarlo self) -> MolecularDynamics"""
4793 return _IMP_isd.HybridMonteCarlo_get_md(self)
4796 def do_evaluate(self, arg2):
4797 """do_evaluate(HybridMonteCarlo self, IMP::ParticleIndexes const & arg2) -> double"""
4798 return _IMP_isd.HybridMonteCarlo_do_evaluate(self, arg2)
4802 """do_step(HybridMonteCarlo self)"""
4803 return _IMP_isd.HybridMonteCarlo_do_step(self)
4807 """__str__(HybridMonteCarlo self) -> std::string"""
4808 return _IMP_isd.HybridMonteCarlo___str__(self)
4812 """__repr__(HybridMonteCarlo self) -> std::string"""
4813 return _IMP_isd.HybridMonteCarlo___repr__(self)
4818 return _object_cast_to_HybridMonteCarlo(o)
4820 HybridMonteCarlo_swigregister = _IMP_isd.HybridMonteCarlo_swigregister
4821 HybridMonteCarlo_swigregister(HybridMonteCarlo)
4824 """Proxy of C++ IMP::isd::FretData class."""
4826 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4828 def __init__(self, d_term, d_center, d_int, s_grid, R0, Rmin, Rmax, do_limit=True):
4830 __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
4831 __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
4833 this = _IMP_isd.new_FretData(d_term, d_center, d_int, s_grid, R0, Rmin, Rmax, do_limit)
4835 self.this.append(this)
4836 except __builtin__.Exception:
4839 def get_closest(self, vec, value):
4840 """get_closest(FretData self, DistBase vec, double value) -> int"""
4841 return _IMP_isd.FretData_get_closest(self, vec, value)
4844 def get_probability(self, distn, dist, sigma):
4845 """get_probability(FretData self, IMP::Float distn, IMP::Float dist, IMP::Float sigma) -> IMP::Float"""
4846 return _IMP_isd.FretData_get_probability(self, distn, dist, sigma)
4849 def get_kernel(self, dist, R0):
4850 """get_kernel(FretData self, IMP::Float dist, IMP::Float R0) -> IMP::Float"""
4851 return _IMP_isd.FretData_get_kernel(self, dist, R0)
4854 def get_marginal_element(self, d_term, d_center, sigma):
4855 """get_marginal_element(FretData self, IMP::Float d_term, IMP::Float d_center, IMP::Float sigma) -> IMP::FloatPair"""
4856 return _IMP_isd.FretData_get_marginal_element(self, d_term, d_center, sigma)
4860 """get_version_info(FretData self) -> VersionInfo"""
4861 return _IMP_isd.FretData_get_version_info(self)
4865 """__str__(FretData self) -> std::string"""
4866 return _IMP_isd.FretData___str__(self)
4870 """__repr__(FretData self) -> std::string"""
4871 return _IMP_isd.FretData___repr__(self)
4876 return _object_cast_to_FretData(o)
4878 FretData_swigregister = _IMP_isd.FretData_swigregister
4879 FretData_swigregister(FretData)
4882 """Proxy of C++ IMP::isd::FretRestraint class."""
4884 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4886 def __init__(self, *args):
4888 __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
4889 __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
4890 __init__(IMP::isd::FretRestraint self, IMP::Particles pd, IMP::Particles pa, Particle kda, Particle Ida, Particle R0, Particle sigma0, Particle Pbl, double fexp) -> FretRestraint
4891 __init__(IMP::isd::FretRestraint self, Particle kda, Particle Ida, Particle sumFi, Particle sigma0, Particle Pbl, double fexp) -> FretRestraint
4892 __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
4894 this = _IMP_isd.new_FretRestraint(*args)
4896 self.this.append(this)
4897 except __builtin__.Exception:
4900 def get_sumFi(self):
4901 """get_sumFi(FretRestraint self) -> double"""
4902 return _IMP_isd.FretRestraint_get_sumFi(self)
4905 def get_average_sigma(self, fmod):
4906 """get_average_sigma(FretRestraint self, double fmod) -> double"""
4907 return _IMP_isd.FretRestraint_get_average_sigma(self, fmod)
4910 def get_standard_error(self):
4911 """get_standard_error(FretRestraint self) -> double"""
4912 return _IMP_isd.FretRestraint_get_standard_error(self)
4915 def get_model_fretr(self):
4916 """get_model_fretr(FretRestraint self) -> double"""
4917 return _IMP_isd.FretRestraint_get_model_fretr(self)
4920 def get_probability(self):
4921 """get_probability(FretRestraint self) -> double"""
4922 return _IMP_isd.FretRestraint_get_probability(self)
4925 def get_experimental_value(self):
4926 """get_experimental_value(FretRestraint self) -> double"""
4927 return _IMP_isd.FretRestraint_get_experimental_value(self)
4930 def set_experimental_value(self, fexp):
4931 """set_experimental_value(FretRestraint self, double fexp)"""
4932 return _IMP_isd.FretRestraint_set_experimental_value(self, fexp)
4936 """do_get_inputs(FretRestraint self) -> IMP::ModelObjectsTemp"""
4937 return _IMP_isd.FretRestraint_do_get_inputs(self)
4941 """get_version_info(FretRestraint self) -> VersionInfo"""
4942 return _IMP_isd.FretRestraint_get_version_info(self)
4946 """__str__(FretRestraint self) -> std::string"""
4947 return _IMP_isd.FretRestraint___str__(self)
4951 """__repr__(FretRestraint self) -> std::string"""
4952 return _IMP_isd.FretRestraint___repr__(self)
4957 return _object_cast_to_FretRestraint(o)
4959 FretRestraint_swigregister = _IMP_isd.FretRestraint_swigregister
4960 FretRestraint_swigregister(FretRestraint)
4963 """Proxy of C++ IMP::isd::CysteineCrossLinkData class."""
4965 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4967 def __init__(self, fexp, fmod_grid, omega_grid, omega0_grid, prior_type=3):
4969 __init__(IMP::isd::CysteineCrossLinkData self, double fexp, IMP::Floats fmod_grid, IMP::Floats omega_grid, IMP::Floats omega0_grid, int prior_type=3) -> CysteineCrossLinkData
4970 __init__(IMP::isd::CysteineCrossLinkData self, double fexp, IMP::Floats fmod_grid, IMP::Floats omega_grid, IMP::Floats omega0_grid) -> CysteineCrossLinkData
4972 this = _IMP_isd.new_CysteineCrossLinkData(fexp, fmod_grid, omega_grid, omega0_grid, prior_type)
4974 self.this.append(this)
4975 except __builtin__.Exception:
4978 def get_closest(self, vec, value):
4979 """get_closest(CysteineCrossLinkData self, DistBase vec, double value) -> int"""
4980 return _IMP_isd.CysteineCrossLinkData_get_closest(self, vec, value)
4983 def get_omegas(self, fmods, omega0):
4984 """get_omegas(CysteineCrossLinkData self, IMP::Floats fmods, double omega0) -> IMP::Floats"""
4985 return _IMP_isd.CysteineCrossLinkData_get_omegas(self, fmods, omega0)
4988 def get_nonmarginal_elements(self, fexp, fmods, omega):
4989 """get_nonmarginal_elements(CysteineCrossLinkData self, double fexp, IMP::Floats fmods, double omega) -> IMP::Floats"""
4990 return _IMP_isd.CysteineCrossLinkData_get_nonmarginal_elements(self, fexp, fmods, omega)
4993 def get_marginal_elements(self, fmods, omega0):
4994 """get_marginal_elements(CysteineCrossLinkData self, IMP::Floats fmods, double omega0) -> IMP::Floats"""
4995 return _IMP_isd.CysteineCrossLinkData_get_marginal_elements(self, fmods, omega0)
4998 def get_omega(self, fmod, omega0):
4999 """get_omega(CysteineCrossLinkData self, double fmod, double omega0) -> double"""
5000 return _IMP_isd.CysteineCrossLinkData_get_omega(self, fmod, omega0)
5003 def get_standard_deviation(self, fmod, omega0):
5004 """get_standard_deviation(CysteineCrossLinkData self, double fmod, double omega0) -> double"""
5005 return _IMP_isd.CysteineCrossLinkData_get_standard_deviation(self, fmod, omega0)
5008 def get_nonmarginal_element(self, fexp, fmod, omega):
5009 """get_nonmarginal_element(CysteineCrossLinkData self, double fexp, double fmod, double omega) -> double"""
5010 return _IMP_isd.CysteineCrossLinkData_get_nonmarginal_element(self, fexp, fmod, omega)
5013 def get_marginal_element(self, fmod, omega0):
5014 """get_marginal_element(CysteineCrossLinkData self, double fmod, double omega0) -> double"""
5015 return _IMP_isd.CysteineCrossLinkData_get_marginal_element(self, fmod, omega0)
5019 """get_version_info(CysteineCrossLinkData self) -> VersionInfo"""
5020 return _IMP_isd.CysteineCrossLinkData_get_version_info(self)
5024 """__str__(CysteineCrossLinkData self) -> std::string"""
5025 return _IMP_isd.CysteineCrossLinkData___str__(self)
5029 """__repr__(CysteineCrossLinkData self) -> std::string"""
5030 return _IMP_isd.CysteineCrossLinkData___repr__(self)
5035 return _object_cast_to_CysteineCrossLinkData(o)
5037 CysteineCrossLinkData_swigregister = _IMP_isd.CysteineCrossLinkData_swigregister
5038 CysteineCrossLinkData_swigregister(CysteineCrossLinkData)
5041 """Proxy of C++ IMP::isd::CrossLinkData class."""
5043 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5045 def __init__(self, *args):
5047 __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
5048 __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, double lexp_, double don, double doff) -> CrossLinkData
5049 __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, double lexp_, double don) -> CrossLinkData
5050 __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, double lexp_) -> CrossLinkData
5051 __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
5052 __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
5053 __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
5054 __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
5056 this = _IMP_isd.new_CrossLinkData(*args)
5058 self.this.append(this)
5059 except __builtin__.Exception:
5062 def get_closest(self, vec, value):
5063 """get_closest(CrossLinkData self, DistBase vec, double value) -> int"""
5064 return _IMP_isd.CrossLinkData_get_closest(self, vec, value)
5067 def get_omegas(self, sigma, dists):
5068 """get_omegas(CrossLinkData self, double sigma, IMP::Floats dists) -> IMP::Floats"""
5069 return _IMP_isd.CrossLinkData_get_omegas(self, sigma, dists)
5072 def get_omega_prior(self, omega, omega0):
5073 """get_omega_prior(CrossLinkData self, double omega, double omega0) -> double"""
5074 return _IMP_isd.CrossLinkData_get_omega_prior(self, omega, omega0)
5077 def get_nonmarginal_elements(self, sigmai, dists):
5078 """get_nonmarginal_elements(CrossLinkData self, double sigmai, IMP::Floats dists) -> IMP::Floats"""
5079 return _IMP_isd.CrossLinkData_get_nonmarginal_elements(self, sigmai, dists)
5082 def get_marginal_elements(self, sigma, dists):
5083 """get_marginal_elements(CrossLinkData self, double sigma, IMP::Floats dists) -> IMP::Floats"""
5084 return _IMP_isd.CrossLinkData_get_marginal_elements(self, sigma, dists)
5087 def get_marginal_maximum(self, *args):
5089 get_marginal_maximum(CrossLinkData self, double sigma) -> double
5090 get_marginal_maximum(CrossLinkData self) -> double
5092 return _IMP_isd.CrossLinkData_get_marginal_maximum(self, *args)
5096 """get_version_info(CrossLinkData self) -> VersionInfo"""
5097 return _IMP_isd.CrossLinkData_get_version_info(self)
5101 """__str__(CrossLinkData self) -> std::string"""
5102 return _IMP_isd.CrossLinkData___str__(self)
5106 """__repr__(CrossLinkData self) -> std::string"""
5107 return _IMP_isd.CrossLinkData___repr__(self)
5112 return _object_cast_to_CrossLinkData(o)
5114 CrossLinkData_swigregister = _IMP_isd.CrossLinkData_swigregister
5115 CrossLinkData_swigregister(CrossLinkData)
5118 """Proxy of C++ IMP::isd::CysteineCrossLinkRestraint class."""
5120 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5122 def __init__(self, *args):
5124 __init__(IMP::isd::CysteineCrossLinkRestraint self, Model m, _ParticleIndexAdaptor beta, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor epsilon, _ParticleIndexAdaptor weight, CrossLinkData data, double fexp) -> CysteineCrossLinkRestraint
5125 __init__(IMP::isd::CysteineCrossLinkRestraint self, Model m, _ParticleIndexAdaptor beta, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor epsilon, _ParticleIndexAdaptor weight, CrossLinkData data, CysteineCrossLinkData ccldata) -> CysteineCrossLinkRestraint
5127 this = _IMP_isd.new_CysteineCrossLinkRestraint(*args)
5129 self.this.append(this)
5130 except __builtin__.Exception:
5133 def get_probability(self):
5134 """get_probability(CysteineCrossLinkRestraint self) -> double"""
5135 return _IMP_isd.CysteineCrossLinkRestraint_get_probability(self)
5138 def get_standard_error(self):
5139 """get_standard_error(CysteineCrossLinkRestraint self) -> double"""
5140 return _IMP_isd.CysteineCrossLinkRestraint_get_standard_error(self)
5143 def get_frequencies(self):
5144 """get_frequencies(CysteineCrossLinkRestraint self) -> IMP::Floats"""
5145 return _IMP_isd.CysteineCrossLinkRestraint_get_frequencies(self)
5148 def get_model_frequency(self):
5149 """get_model_frequency(CysteineCrossLinkRestraint self) -> double"""
5150 return _IMP_isd.CysteineCrossLinkRestraint_get_model_frequency(self)
5153 def get_distances(self):
5154 """get_distances(CysteineCrossLinkRestraint self) -> IMP::Floats"""
5155 return _IMP_isd.CysteineCrossLinkRestraint_get_distances(self)
5158 def get_truncated_normalization(self, mean, sigma):
5159 """get_truncated_normalization(CysteineCrossLinkRestraint self, double mean, double sigma) -> double"""
5160 return _IMP_isd.CysteineCrossLinkRestraint_get_truncated_normalization(self, mean, sigma)
5163 def get_normal_pdf(self, mean, sigma, x):
5164 """get_normal_pdf(CysteineCrossLinkRestraint self, double mean, double sigma, double x) -> double"""
5165 return _IMP_isd.CysteineCrossLinkRestraint_get_normal_pdf(self, mean, sigma, x)
5168 def add_contribution(self, *args):
5170 add_contribution(CysteineCrossLinkRestraint self, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2)
5171 add_contribution(CysteineCrossLinkRestraint self, IMP::ParticleIndexes p1, IMP::ParticleIndexes p2)
5173 return _IMP_isd.CysteineCrossLinkRestraint_add_contribution(self, *args)
5176 def get_CB_coordinates(self, ps):
5177 """get_CB_coordinates(CysteineCrossLinkRestraint self, IMP::ParticleIndexes const & ps) -> Vector3D"""
5178 return _IMP_isd.CysteineCrossLinkRestraint_get_CB_coordinates(self, ps)
5181 def get_number_of_contributions(self):
5182 """get_number_of_contributions(CysteineCrossLinkRestraint self) -> unsigned int"""
5183 return _IMP_isd.CysteineCrossLinkRestraint_get_number_of_contributions(self)
5187 """do_get_inputs(CysteineCrossLinkRestraint self) -> IMP::ModelObjectsTemp"""
5188 return _IMP_isd.CysteineCrossLinkRestraint_do_get_inputs(self)
5192 """get_version_info(CysteineCrossLinkRestraint self) -> VersionInfo"""
5193 return _IMP_isd.CysteineCrossLinkRestraint_get_version_info(self)
5197 """__str__(CysteineCrossLinkRestraint self) -> std::string"""
5198 return _IMP_isd.CysteineCrossLinkRestraint___str__(self)
5202 """__repr__(CysteineCrossLinkRestraint self) -> std::string"""
5203 return _IMP_isd.CysteineCrossLinkRestraint___repr__(self)
5208 return _object_cast_to_CysteineCrossLinkRestraint(o)
5210 CysteineCrossLinkRestraint_swigregister = _IMP_isd.CysteineCrossLinkRestraint_swigregister
5211 CysteineCrossLinkRestraint_swigregister(CysteineCrossLinkRestraint)
5214 """Proxy of C++ IMP::isd::WeightMover class."""
5216 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5218 def __init__(self, w, radius):
5219 """__init__(IMP::isd::WeightMover self, Particle w, IMP::Float radius) -> WeightMover"""
5220 this = _IMP_isd.new_WeightMover(w, radius)
5222 self.this.append(this)
5223 except __builtin__.Exception:
5226 def set_radius(self, radius):
5227 """set_radius(WeightMover self, IMP::Float radius)"""
5228 return _IMP_isd.WeightMover_set_radius(self, radius)
5231 def get_radius(self):
5232 """get_radius(WeightMover self) -> IMP::Float"""
5233 return _IMP_isd.WeightMover_get_radius(self)
5237 """get_version_info(WeightMover self) -> VersionInfo"""
5238 return _IMP_isd.WeightMover_get_version_info(self)
5242 """__str__(WeightMover self) -> std::string"""
5243 return _IMP_isd.WeightMover___str__(self)
5247 """__repr__(WeightMover self) -> std::string"""
5248 return _IMP_isd.WeightMover___repr__(self)
5253 return _object_cast_to_WeightMover(o)
5255 WeightMover_swigregister = _IMP_isd.WeightMover_swigregister
5256 WeightMover_swigregister(WeightMover)
5259 """Proxy of C++ IMP::isd::WeightRestraint class."""
5261 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5263 def __init__(self, w, wmin, wmax, kappa):
5264 """__init__(IMP::isd::WeightRestraint self, Particle w, IMP::Float wmin, IMP::Float wmax, IMP::Float kappa) -> WeightRestraint"""
5265 this = _IMP_isd.new_WeightRestraint(w, wmin, wmax, kappa)
5267 self.this.append(this)
5268 except __builtin__.Exception:
5272 """do_get_inputs(WeightRestraint self) -> IMP::ModelObjectsTemp"""
5273 return _IMP_isd.WeightRestraint_do_get_inputs(self)
5277 """get_version_info(WeightRestraint self) -> VersionInfo"""
5278 return _IMP_isd.WeightRestraint_get_version_info(self)
5282 """__str__(WeightRestraint self) -> std::string"""
5283 return _IMP_isd.WeightRestraint___str__(self)
5287 """__repr__(WeightRestraint self) -> std::string"""
5288 return _IMP_isd.WeightRestraint___repr__(self)
5293 return _object_cast_to_WeightRestraint(o)
5295 WeightRestraint_swigregister = _IMP_isd.WeightRestraint_swigregister
5296 WeightRestraint_swigregister(WeightRestraint)
5299 """Proxy of C++ IMP::isd::AtomicCrossLinkMSRestraint class."""
5301 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5303 def __init__(self, *args):
5305 __init__(IMP::isd::AtomicCrossLinkMSRestraint self, Model m, double length, ParticleIndex psi, IMP::Float slope=0.0, bool part_of_log_score=False, std::string name) -> AtomicCrossLinkMSRestraint
5306 __init__(IMP::isd::AtomicCrossLinkMSRestraint self, Model m, double length, ParticleIndex psi, IMP::Float slope=0.0, bool part_of_log_score=False) -> AtomicCrossLinkMSRestraint
5307 __init__(IMP::isd::AtomicCrossLinkMSRestraint self, Model m, double length, ParticleIndex psi, IMP::Float slope=0.0) -> AtomicCrossLinkMSRestraint
5308 __init__(IMP::isd::AtomicCrossLinkMSRestraint self, Model m, double length, ParticleIndex psi) -> AtomicCrossLinkMSRestraint
5310 this = _IMP_isd.new_AtomicCrossLinkMSRestraint(*args)
5312 self.this.append(this)
5313 except __builtin__.Exception:
5316 def add_contribution(self, ppi, sigmas):
5317 """add_contribution(AtomicCrossLinkMSRestraint self, IMP::ParticleIndexPair const & ppi, IMP::ParticleIndexPair const & sigmas)"""
5318 return _IMP_isd.AtomicCrossLinkMSRestraint_add_contribution(self, ppi, sigmas)
5321 def evaluate_for_contributions(self, c, accum):
5322 """evaluate_for_contributions(AtomicCrossLinkMSRestraint self, IMP::Ints c, DerivativeAccumulator accum) -> IMP::Float"""
5323 return _IMP_isd.AtomicCrossLinkMSRestraint_evaluate_for_contributions(self, c, accum)
5326 def get_number_of_contributions(self):
5327 """get_number_of_contributions(AtomicCrossLinkMSRestraint self) -> unsigned int"""
5328 return _IMP_isd.AtomicCrossLinkMSRestraint_get_number_of_contributions(self)
5331 def get_contribution(self, i):
5332 """get_contribution(AtomicCrossLinkMSRestraint self, int i) -> IMP::ParticleIndexPair"""
5333 return _IMP_isd.AtomicCrossLinkMSRestraint_get_contribution(self, i)
5336 def get_contribution_sigmas(self, i):
5337 """get_contribution_sigmas(AtomicCrossLinkMSRestraint self, int i) -> IMP::ParticleIndexPair"""
5338 return _IMP_isd.AtomicCrossLinkMSRestraint_get_contribution_sigmas(self, i)
5342 """get_psi(AtomicCrossLinkMSRestraint self) -> ParticleIndex"""
5343 return _IMP_isd.AtomicCrossLinkMSRestraint_get_psi(self)
5347 """do_get_inputs(AtomicCrossLinkMSRestraint self) -> IMP::ModelObjectsTemp"""
5348 return _IMP_isd.AtomicCrossLinkMSRestraint_do_get_inputs(self)
5351 def show(self, out):
5352 """show(AtomicCrossLinkMSRestraint self, _ostream out)"""
5353 return _IMP_isd.AtomicCrossLinkMSRestraint_show(self, out)
5356 def set_slope(self, slope):
5357 """set_slope(AtomicCrossLinkMSRestraint self, IMP::Float slope)"""
5358 return _IMP_isd.AtomicCrossLinkMSRestraint_set_slope(self, slope)
5361 def set_part_of_log_score(self, hey):
5362 """set_part_of_log_score(AtomicCrossLinkMSRestraint self, bool hey)"""
5363 return _IMP_isd.AtomicCrossLinkMSRestraint_set_part_of_log_score(self, hey)
5367 """get_version_info(AtomicCrossLinkMSRestraint self) -> VersionInfo"""
5368 return _IMP_isd.AtomicCrossLinkMSRestraint_get_version_info(self)
5372 """__str__(AtomicCrossLinkMSRestraint self) -> std::string"""
5373 return _IMP_isd.AtomicCrossLinkMSRestraint___str__(self)
5377 """__repr__(AtomicCrossLinkMSRestraint self) -> std::string"""
5378 return _IMP_isd.AtomicCrossLinkMSRestraint___repr__(self)
5383 return _object_cast_to_AtomicCrossLinkMSRestraint(o)
5385 AtomicCrossLinkMSRestraint_swigregister = _IMP_isd.AtomicCrossLinkMSRestraint_swigregister
5386 AtomicCrossLinkMSRestraint_swigregister(AtomicCrossLinkMSRestraint)
5389 """Proxy of C++ IMP::isd::GaussianEMRestraint class."""
5391 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5393 def __init__(self, *args):
5395 __init__(IMP::isd::GaussianEMRestraint self, Model mdl, IMP::ParticleIndexes model_ps, IMP::ParticleIndexes density_ps, ParticleIndex global_sigma, IMP::Float model_cutoff_dist, IMP::Float density_cutoff_dist, IMP::Float slope, bool update_model=True, bool backbone_slope=False, bool local=False, std::string name) -> GaussianEMRestraint
5396 __init__(IMP::isd::GaussianEMRestraint self, Model mdl, IMP::ParticleIndexes model_ps, IMP::ParticleIndexes density_ps, ParticleIndex global_sigma, IMP::Float model_cutoff_dist, IMP::Float density_cutoff_dist, IMP::Float slope, bool update_model=True, bool backbone_slope=False, bool local=False) -> GaussianEMRestraint
5397 __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
5398 __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
5399 __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
5401 this = _IMP_isd.new_GaussianEMRestraint(*args)
5403 self.this.append(this)
5404 except __builtin__.Exception:
5407 def get_probability(self):
5408 """get_probability(GaussianEMRestraint self) -> double"""
5409 return _IMP_isd.GaussianEMRestraint_get_probability(self)
5413 """get_cross_correlation_coefficient(GaussianEMRestraint self) -> double"""
5414 return _IMP_isd.GaussianEMRestraint_get_cross_correlation_coefficient(self)
5417 def set_density_filename(self, density_fn):
5418 """set_density_filename(GaussianEMRestraint self, std::string density_fn)"""
5419 return _IMP_isd.GaussianEMRestraint_set_density_filename(self, density_fn)
5422 def compute_initial_scores(self):
5423 """compute_initial_scores(GaussianEMRestraint self)"""
5424 return _IMP_isd.GaussianEMRestraint_compute_initial_scores(self)
5427 def set_slope(self, s):
5428 """set_slope(GaussianEMRestraint self, IMP::Float s)"""
5429 return _IMP_isd.GaussianEMRestraint_set_slope(self, s)
5432 def get_slope(self):
5433 """get_slope(GaussianEMRestraint self) -> IMP::Float"""
5434 return _IMP_isd.GaussianEMRestraint_get_slope(self)
5438 """do_get_inputs(GaussianEMRestraint self) -> IMP::ModelObjectsTemp"""
5439 return _IMP_isd.GaussianEMRestraint_do_get_inputs(self)
5442 def show(self, out):
5443 """show(GaussianEMRestraint self, _ostream out)"""
5444 return _IMP_isd.GaussianEMRestraint_show(self, out)
5448 """get_version_info(GaussianEMRestraint self) -> VersionInfo"""
5449 return _IMP_isd.GaussianEMRestraint_get_version_info(self)
5453 """__str__(GaussianEMRestraint self) -> std::string"""
5454 return _IMP_isd.GaussianEMRestraint___str__(self)
5458 """__repr__(GaussianEMRestraint self) -> std::string"""
5459 return _IMP_isd.GaussianEMRestraint___repr__(self)
5464 return _object_cast_to_GaussianEMRestraint(o)
5466 GaussianEMRestraint_swigregister = _IMP_isd.GaussianEMRestraint_swigregister
5467 GaussianEMRestraint_swigregister(GaussianEMRestraint)
5469 class GaussianAnchorEMRestraint(ISDRestraint):
5470 """Proxy of C++ IMP::isd::GaussianAnchorEMRestraint class."""
5472 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5474 def __init__(self, *args):
5476 __init__(IMP::isd::GaussianAnchorEMRestraint self, IMP::ParticlesTemp model_ps, IMP::Floats model_sigs, IMP::Floats model_weights, IMP::ParticlesTemp density_ps, IMP::Floats density_sigs, IMP::Floats density_weights, Particle global_sigma, IMP::Float cutoff_dist, bool rigid, bool tabexp, std::string name) -> GaussianAnchorEMRestraint
5477 __init__(IMP::isd::GaussianAnchorEMRestraint self, IMP::ParticlesTemp model_ps, IMP::Floats model_sigs, IMP::Floats model_weights, IMP::ParticlesTemp density_ps, IMP::Floats density_sigs, IMP::Floats density_weights, Particle global_sigma, IMP::Float cutoff_dist, bool rigid, bool tabexp) -> GaussianAnchorEMRestraint
5479 this = _IMP_isd.new_GaussianAnchorEMRestraint(*args)
5481 self.this.append(this)
5482 except __builtin__.Exception:
5485 def get_density_particles(self):
5486 """get_density_particles(GaussianAnchorEMRestraint self) -> IMP::ParticlesTemp"""
5487 return _IMP_isd.GaussianAnchorEMRestraint_get_density_particles(self)
5491 """__str__(GaussianAnchorEMRestraint self) -> std::string"""
5492 return _IMP_isd.GaussianAnchorEMRestraint___str__(self)
5496 """__repr__(GaussianAnchorEMRestraint self) -> std::string"""
5497 return _IMP_isd.GaussianAnchorEMRestraint___repr__(self)
5502 return _object_cast_to_GaussianAnchorEMRestraint(o)
5504 GaussianAnchorEMRestraint_swigregister = _IMP_isd.GaussianAnchorEMRestraint_swigregister
5505 GaussianAnchorEMRestraint_swigregister(GaussianAnchorEMRestraint)
5508 """Proxy of C++ IMP::isd::GammaPrior class."""
5510 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5512 def __init__(self, *args):
5514 __init__(IMP::isd::GammaPrior self, Model m, Particle p, IMP::Float k, IMP::Float theta, std::string name) -> GammaPrior
5515 __init__(IMP::isd::GammaPrior self, Model m, Particle p, IMP::Float k, IMP::Float theta) -> GammaPrior
5517 this = _IMP_isd.new_GammaPrior(*args)
5519 self.this.append(this)
5520 except __builtin__.Exception:
5523 def evaluate_at(self, val):
5524 """evaluate_at(GammaPrior self, IMP::Float val) -> double"""
5525 return _IMP_isd.GammaPrior_evaluate_at(self, val)
5529 """do_get_inputs(GammaPrior self) -> IMP::ModelObjectsTemp"""
5530 return _IMP_isd.GammaPrior_do_get_inputs(self)
5534 """get_version_info(GammaPrior self) -> VersionInfo"""
5535 return _IMP_isd.GammaPrior_get_version_info(self)
5538 def get_probability(self):
5539 """get_probability(GammaPrior self) -> double"""
5540 return _IMP_isd.GammaPrior_get_probability(self)
5544 """__str__(GammaPrior self) -> std::string"""
5545 return _IMP_isd.GammaPrior___str__(self)
5549 """__repr__(GammaPrior self) -> std::string"""
5550 return _IMP_isd.GammaPrior___repr__(self)
5555 return _object_cast_to_GammaPrior(o)
5557 GammaPrior_swigregister = _IMP_isd.GammaPrior_swigregister
5558 GammaPrior_swigregister(GammaPrior)
5561 def sample_points_from_density(dmap_orig, npoints, threshold=0.0):
5563 sample_points_from_density(DensityMap dmap_orig, int npoints, IMP::Float threshold=0.0) -> IMP::FloatsList
5564 sample_points_from_density(DensityMap dmap_orig, int npoints) -> IMP::FloatsList
5566 return _IMP_isd.sample_points_from_density(dmap_orig, npoints, threshold)
5569 """get_module_version() -> std::string const"""
5570 return _IMP_isd.get_module_version()
5573 """get_example_path(std::string fname) -> std::string"""
5574 return _IMP_isd.get_example_path(fname)
5577 """get_data_path(std::string fname) -> std::string"""
5578 return _IMP_isd.get_data_path(fname)
5580 from .
import _version_check
Abstract class for scoring object(s) of type ParticleIndexPair.
Various classes to hold sets of particles.
static XYZR setup_particle(Model *m, ParticleIndex pi)
Make CGAL functionality available to IMP.
virtual void clear_caches()
virtual ModelObjectsTemp do_get_outputs(Model *m, const ParticleIndexes &pis) const =0
Overload this method to specify the outputs.
Composable functors to implement scores via compile-time composition.
Vector3D get_random_vector_in(const Cylinder3D &c)
Generate a random vector in a cylinder with uniform density.
Code to compute statistical measures.
Object used to hold a set of restraints.
Class for storing model, its restraints, constraints, and particles.
ModelObjectsTemp get_inputs(Model *m, const ParticleIndexes &pis) const
Get the ModelObjects read when the given list of particles is used.
virtual void do_destroy()
Common base class for heavy weight IMP objects.
Simple molecular dynamics optimizer.
Store a list of ParticleIndexes.
A base class for classes which perturb particles.
virtual ModelObjectsTemp do_get_inputs(Model *m, const ParticleIndexes &pis) const =0
Overload this method to specify the inputs.
Version and module information for Objects.
Basic utilities for handling cryo-electron microscopy 3D density maps.
double get_cross_correlation_coefficient(Image *im1, Image *im2)
Cross correlation between two images.
Interface to specialized Particle types (e.g. atoms)
Basic functionality that is expected to be used by a wide variety of IMP users.
General purpose algebraic and geometric methods that are expected to be used by a wide variety of IMP...
std::string get_module_version()
Return the version of this module, as a string.
virtual VersionInfo get_version_info() const
Get information about the module and version of the object.
Class to handle individual particles of a Model object.
void set_check_level(CheckLevel l)
std::string get_example_path(std::string file_name)
Return the full path to one of this module's example files.
Output IMP model data in various file formats.
Functionality for loading, creating, manipulating and scoring atomic structures.
std::string get_data_path(std::string file_name)
Return the full path to one of this module's data files.
Support for small angle X-ray scattering (SAXS) data.
A restraint is a term in an IMP ScoringFunction.