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_contribution_particle_indexes(self, i):
956 """get_contribution_particle_indexes(CrossLinkMSRestraint self, int i) -> IMP::ParticleIndexPair"""
957 return _IMP_isd.CrossLinkMSRestraint_get_contribution_particle_indexes(self, i)
960 def get_number_of_contributions(self):
961 """get_number_of_contributions(CrossLinkMSRestraint self) -> unsigned int"""
962 return _IMP_isd.CrossLinkMSRestraint_get_number_of_contributions(self)
966 """do_get_inputs(CrossLinkMSRestraint self) -> IMP::ModelObjectsTemp"""
967 return _IMP_isd.CrossLinkMSRestraint_do_get_inputs(self)
971 """get_version_info(CrossLinkMSRestraint self) -> VersionInfo"""
972 return _IMP_isd.CrossLinkMSRestraint_get_version_info(self)
976 """__str__(CrossLinkMSRestraint self) -> std::string"""
977 return _IMP_isd.CrossLinkMSRestraint___str__(self)
981 """__repr__(CrossLinkMSRestraint self) -> std::string"""
982 return _IMP_isd.CrossLinkMSRestraint___repr__(self)
987 return _object_cast_to_CrossLinkMSRestraint(o)
989 CrossLinkMSRestraint_swigregister = _IMP_isd.CrossLinkMSRestraint_swigregister
990 CrossLinkMSRestraint_swigregister(CrossLinkMSRestraint)
993 """Proxy of C++ IMP::isd::LogWrapper class."""
995 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
997 def __init__(self, *args):
999 __init__(IMP::isd::LogWrapper self, Model m, double weight, std::string const & name) -> LogWrapper
1000 __init__(IMP::isd::LogWrapper self, Model m, double weight) -> LogWrapper
1001 __init__(IMP::isd::LogWrapper self, Model m, std::string const & name) -> LogWrapper
1002 __init__(IMP::isd::LogWrapper self, Model m) -> LogWrapper
1003 __init__(IMP::isd::LogWrapper self, IMP::RestraintsTemp const & rs, double weight, std::string const & name) -> LogWrapper
1004 __init__(IMP::isd::LogWrapper self, IMP::RestraintsTemp const & rs, double weight) -> LogWrapper
1006 this = _IMP_isd.new_LogWrapper(*args)
1008 self.this.append(this)
1009 except __builtin__.Exception:
1012 def do_add_score_and_derivatives(self, sa):
1013 """do_add_score_and_derivatives(LogWrapper self, ScoreAccumulator sa)"""
1014 return _IMP_isd.LogWrapper_do_add_score_and_derivatives(self, sa)
1018 """__str__(LogWrapper self) -> std::string"""
1019 return _IMP_isd.LogWrapper___str__(self)
1023 """__repr__(LogWrapper self) -> std::string"""
1024 return _IMP_isd.LogWrapper___repr__(self)
1029 return _object_cast_to_LogWrapper(o)
1031 LogWrapper_swigregister = _IMP_isd.LogWrapper_swigregister
1032 LogWrapper_swigregister(LogWrapper)
1035 """Proxy of C++ IMP::isd::UniformPrior class."""
1037 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1039 def __init__(self, *args):
1041 __init__(IMP::isd::UniformPrior self, Model m, Particle p, IMP::Float k, IMP::Float upperb, IMP::Float lowerb, std::string name) -> UniformPrior
1042 __init__(IMP::isd::UniformPrior self, Model m, Particle p, IMP::Float k, IMP::Float upperb, IMP::Float lowerb) -> UniformPrior
1044 this = _IMP_isd.new_UniformPrior(*args)
1046 self.this.append(this)
1047 except __builtin__.Exception:
1051 """do_get_inputs(UniformPrior self) -> IMP::ModelObjectsTemp"""
1052 return _IMP_isd.UniformPrior_do_get_inputs(self)
1056 """get_version_info(UniformPrior self) -> VersionInfo"""
1057 return _IMP_isd.UniformPrior_get_version_info(self)
1060 def get_probability(self):
1061 """get_probability(UniformPrior self) -> double"""
1062 return _IMP_isd.UniformPrior_get_probability(self)
1066 """__str__(UniformPrior self) -> std::string"""
1067 return _IMP_isd.UniformPrior___str__(self)
1071 """__repr__(UniformPrior self) -> std::string"""
1072 return _IMP_isd.UniformPrior___repr__(self)
1077 return _object_cast_to_UniformPrior(o)
1079 UniformPrior_swigregister = _IMP_isd.UniformPrior_swigregister
1080 UniformPrior_swigregister(UniformPrior)
1083 """Proxy of C++ IMP::isd::Nuisance class."""
1085 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1087 def __init__(self, *args):
1089 __init__(IMP::isd::Nuisance self) -> Nuisance
1090 __init__(IMP::isd::Nuisance self, Model m, ParticleIndex id) -> Nuisance
1091 __init__(IMP::isd::Nuisance self, _ParticleAdaptor d) -> Nuisance
1093 this = _IMP_isd.new_Nuisance(*args)
1095 self.this.append(this)
1096 except __builtin__.Exception:
1099 def show(self, *args):
1101 show(Nuisance self, _ostream out)
1104 return _IMP_isd.Nuisance_show(self, *args)
1107 def setup_particle(*args):
1109 setup_particle(Model m, ParticleIndex pi) -> Nuisance
1110 setup_particle(_ParticleAdaptor decorator) -> Nuisance
1111 setup_particle(Model m, ParticleIndex pi, double nuisance) -> Nuisance
1112 setup_particle(_ParticleAdaptor decorator, double nuisance) -> Nuisance
1114 return _IMP_isd.Nuisance_setup_particle(*args)
1116 setup_particle = staticmethod(setup_particle)
1118 def get_is_setup(*args):
1120 get_is_setup(_ParticleAdaptor p) -> bool
1121 get_is_setup(Model m, ParticleIndex pi) -> bool
1123 return _IMP_isd.Nuisance_get_is_setup(*args)
1125 get_is_setup = staticmethod(get_is_setup)
1127 def get_nuisance_key():
1128 """get_nuisance_key() -> FloatKey"""
1129 return _IMP_isd.Nuisance_get_nuisance_key()
1131 get_nuisance_key = staticmethod(get_nuisance_key)
1133 def get_nuisance(self):
1134 """get_nuisance(Nuisance self) -> IMP::Float"""
1135 return _IMP_isd.Nuisance_get_nuisance(self)
1138 def set_nuisance(self, d):
1139 """set_nuisance(Nuisance self, IMP::Float d)"""
1140 return _IMP_isd.Nuisance_set_nuisance(self, d)
1143 def get_has_lower(self):
1144 """get_has_lower(Nuisance self) -> bool"""
1145 return _IMP_isd.Nuisance_get_has_lower(self)
1148 def get_lower(self):
1149 """get_lower(Nuisance self) -> IMP::Float"""
1150 return _IMP_isd.Nuisance_get_lower(self)
1153 def get_lower_key():
1154 """get_lower_key() -> FloatKey"""
1155 return _IMP_isd.Nuisance_get_lower_key()
1157 get_lower_key = staticmethod(get_lower_key)
1159 def get_lower_particle_key():
1160 """get_lower_particle_key() -> ParticleIndexKey"""
1161 return _IMP_isd.Nuisance_get_lower_particle_key()
1163 get_lower_particle_key = staticmethod(get_lower_particle_key)
1165 def set_lower(self, *args):
1167 set_lower(Nuisance self, IMP::Float d)
1168 set_lower(Nuisance self, Particle d)
1170 return _IMP_isd.Nuisance_set_lower(self, *args)
1173 def remove_lower(self):
1174 """remove_lower(Nuisance self)"""
1175 return _IMP_isd.Nuisance_remove_lower(self)
1178 def get_has_upper(self):
1179 """get_has_upper(Nuisance self) -> bool"""
1180 return _IMP_isd.Nuisance_get_has_upper(self)
1183 def get_upper(self):
1184 """get_upper(Nuisance self) -> IMP::Float"""
1185 return _IMP_isd.Nuisance_get_upper(self)
1188 def get_upper_key():
1189 """get_upper_key() -> FloatKey"""
1190 return _IMP_isd.Nuisance_get_upper_key()
1192 get_upper_key = staticmethod(get_upper_key)
1194 def get_upper_particle_key():
1195 """get_upper_particle_key() -> ParticleIndexKey"""
1196 return _IMP_isd.Nuisance_get_upper_particle_key()
1198 get_upper_particle_key = staticmethod(get_upper_particle_key)
1200 def set_upper(self, *args):
1202 set_upper(Nuisance self, IMP::Float d)
1203 set_upper(Nuisance self, Particle d)
1205 return _IMP_isd.Nuisance_set_upper(self, *args)
1208 def remove_upper(self):
1209 """remove_upper(Nuisance self)"""
1210 return _IMP_isd.Nuisance_remove_upper(self)
1213 def get_nuisance_derivative(self):
1214 """get_nuisance_derivative(Nuisance self) -> IMP::Float"""
1215 return _IMP_isd.Nuisance_get_nuisance_derivative(self)
1218 def add_to_nuisance_derivative(self, d, accum):
1219 """add_to_nuisance_derivative(Nuisance self, IMP::Float d, DerivativeAccumulator accum)"""
1220 return _IMP_isd.Nuisance_add_to_nuisance_derivative(self, d, accum)
1223 def get_nuisance_is_optimized(self):
1224 """get_nuisance_is_optimized(Nuisance self) -> bool"""
1225 return _IMP_isd.Nuisance_get_nuisance_is_optimized(self)
1228 def set_nuisance_is_optimized(self, val):
1229 """set_nuisance_is_optimized(Nuisance self, bool val)"""
1230 return _IMP_isd.Nuisance_set_nuisance_is_optimized(self, val)
1233 def add_attribute(self, *args):
1235 add_attribute(Nuisance self, FloatKey k, IMP::Float v, bool opt)
1236 add_attribute(Nuisance self, FloatKey a0, IMP::Float a1)
1237 add_attribute(Nuisance self, IntKey a0, IMP::Int a1)
1238 add_attribute(Nuisance self, StringKey a0, IMP::String a1)
1239 add_attribute(Nuisance self, ParticleIndexKey a0, Particle a1)
1240 add_attribute(Nuisance self, ObjectKey a0, Object a1)
1242 return _IMP_isd.Nuisance_add_attribute(self, *args)
1245 def get_value(self, *args):
1247 get_value(Nuisance self, FloatKey a0) -> IMP::Float
1248 get_value(Nuisance self, IntKey a0) -> IMP::Int
1249 get_value(Nuisance self, StringKey a0) -> IMP::String
1250 get_value(Nuisance self, ParticleIndexKey a0) -> Particle
1251 get_value(Nuisance self, ObjectKey a0) -> Object
1253 return _IMP_isd.Nuisance_get_value(self, *args)
1256 def set_value(self, *args):
1258 set_value(Nuisance self, FloatKey a0, IMP::Float a1)
1259 set_value(Nuisance self, IntKey a0, IMP::Int a1)
1260 set_value(Nuisance self, StringKey a0, IMP::String a1)
1261 set_value(Nuisance self, ParticleIndexKey a0, Particle a1)
1262 set_value(Nuisance self, ObjectKey a0, Object a1)
1264 return _IMP_isd.Nuisance_set_value(self, *args)
1267 def remove_attribute(self, *args):
1269 remove_attribute(Nuisance self, FloatKey a0)
1270 remove_attribute(Nuisance self, IntKey a0)
1271 remove_attribute(Nuisance self, StringKey a0)
1272 remove_attribute(Nuisance self, ParticleIndexKey a0)
1273 remove_attribute(Nuisance self, ObjectKey a0)
1275 return _IMP_isd.Nuisance_remove_attribute(self, *args)
1278 def has_attribute(self, *args):
1280 has_attribute(Nuisance self, FloatKey a0) -> bool
1281 has_attribute(Nuisance self, IntKey a0) -> bool
1282 has_attribute(Nuisance self, StringKey a0) -> bool
1283 has_attribute(Nuisance self, ParticleIndexKey a0) -> bool
1284 has_attribute(Nuisance self, ObjectKey a0) -> bool
1286 return _IMP_isd.Nuisance_has_attribute(self, *args)
1289 def get_derivative(self, a0):
1290 """get_derivative(Nuisance self, FloatKey a0) -> double"""
1291 return _IMP_isd.Nuisance_get_derivative(self, a0)
1295 """get_name(Nuisance self) -> std::string"""
1296 return _IMP_isd.Nuisance_get_name(self)
1300 """clear_caches(Nuisance self)"""
1301 return _IMP_isd.Nuisance_clear_caches(self)
1304 def set_name(self, a0):
1305 """set_name(Nuisance self, std::string a0)"""
1306 return _IMP_isd.Nuisance_set_name(self, a0)
1310 """set_check_level(Nuisance self, IMP::CheckLevel a0)"""
1311 return _IMP_isd.Nuisance_set_check_level(self, a0)
1314 def add_to_derivative(self, a0, a1, a2):
1315 """add_to_derivative(Nuisance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1316 return _IMP_isd.Nuisance_add_to_derivative(self, a0, a1, a2)
1319 def set_is_optimized(self, a0, a1):
1320 """set_is_optimized(Nuisance self, FloatKey a0, bool a1)"""
1321 return _IMP_isd.Nuisance_set_is_optimized(self, a0, a1)
1324 def get_is_optimized(self, a0):
1325 """get_is_optimized(Nuisance self, FloatKey a0) -> bool"""
1326 return _IMP_isd.Nuisance_get_is_optimized(self, a0)
1329 def get_check_level(self):
1330 """get_check_level(Nuisance self) -> IMP::CheckLevel"""
1331 return _IMP_isd.Nuisance_get_check_level(self)
1334 def __eq__(self, *args):
1336 __eq__(Nuisance self, Nuisance o) -> bool
1337 __eq__(Nuisance self, Particle d) -> bool
1339 return _IMP_isd.Nuisance___eq__(self, *args)
1342 def __ne__(self, *args):
1344 __ne__(Nuisance self, Nuisance o) -> bool
1345 __ne__(Nuisance self, Particle d) -> bool
1347 return _IMP_isd.Nuisance___ne__(self, *args)
1350 def __le__(self, *args):
1352 __le__(Nuisance self, Nuisance o) -> bool
1353 __le__(Nuisance self, Particle d) -> bool
1355 return _IMP_isd.Nuisance___le__(self, *args)
1358 def __lt__(self, *args):
1360 __lt__(Nuisance self, Nuisance o) -> bool
1361 __lt__(Nuisance self, Particle d) -> bool
1363 return _IMP_isd.Nuisance___lt__(self, *args)
1366 def __ge__(self, *args):
1368 __ge__(Nuisance self, Nuisance o) -> bool
1369 __ge__(Nuisance self, Particle d) -> bool
1371 return _IMP_isd.Nuisance___ge__(self, *args)
1374 def __gt__(self, *args):
1376 __gt__(Nuisance self, Nuisance o) -> bool
1377 __gt__(Nuisance self, Particle d) -> bool
1379 return _IMP_isd.Nuisance___gt__(self, *args)
1383 """__hash__(Nuisance self) -> std::size_t"""
1384 return _IMP_isd.Nuisance___hash__(self)
1388 """__str__(Nuisance self) -> std::string"""
1389 return _IMP_isd.Nuisance___str__(self)
1393 """__repr__(Nuisance self) -> std::string"""
1394 return _IMP_isd.Nuisance___repr__(self)
1396 __swig_destroy__ = _IMP_isd.delete_Nuisance
1397 __del__ =
lambda self:
None
1398 Nuisance_swigregister = _IMP_isd.Nuisance_swigregister
1399 Nuisance_swigregister(Nuisance)
1401 def Nuisance_setup_particle(*args):
1403 setup_particle(Model m, ParticleIndex pi) -> Nuisance
1404 setup_particle(_ParticleAdaptor decorator) -> Nuisance
1405 setup_particle(Model m, ParticleIndex pi, double nuisance) -> Nuisance
1406 Nuisance_setup_particle(_ParticleAdaptor decorator, double nuisance) -> Nuisance
1408 return _IMP_isd.Nuisance_setup_particle(*args)
1410 def Nuisance_get_is_setup(*args):
1412 get_is_setup(_ParticleAdaptor p) -> bool
1413 Nuisance_get_is_setup(Model m, ParticleIndex pi) -> bool
1415 return _IMP_isd.Nuisance_get_is_setup(*args)
1417 def Nuisance_get_nuisance_key():
1418 """Nuisance_get_nuisance_key() -> FloatKey"""
1419 return _IMP_isd.Nuisance_get_nuisance_key()
1421 def Nuisance_get_lower_key():
1422 """Nuisance_get_lower_key() -> FloatKey"""
1423 return _IMP_isd.Nuisance_get_lower_key()
1425 def Nuisance_get_lower_particle_key():
1426 """Nuisance_get_lower_particle_key() -> ParticleIndexKey"""
1427 return _IMP_isd.Nuisance_get_lower_particle_key()
1429 def Nuisance_get_upper_key():
1430 """Nuisance_get_upper_key() -> FloatKey"""
1431 return _IMP_isd.Nuisance_get_upper_key()
1433 def Nuisance_get_upper_particle_key():
1434 """Nuisance_get_upper_particle_key() -> ParticleIndexKey"""
1435 return _IMP_isd.Nuisance_get_upper_particle_key()
1437 class Scale(Nuisance):
1438 """Proxy of C++ IMP::isd::Scale class."""
1440 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1442 def __init__(self, *args):
1444 __init__(IMP::isd::Scale self) -> Scale
1445 __init__(IMP::isd::Scale self, Model m, ParticleIndex id) -> Scale
1446 __init__(IMP::isd::Scale self, _ParticleAdaptor d) -> Scale
1448 this = _IMP_isd.new_Scale(*args)
1450 self.this.append(this)
1451 except __builtin__.Exception:
1454 def show(self, *args):
1456 show(Scale self, _ostream out)
1459 return _IMP_isd.Scale_show(self, *args)
1462 def setup_particle(*args):
1464 setup_particle(Model m, ParticleIndex pi) -> Scale
1465 setup_particle(_ParticleAdaptor decorator) -> Scale
1466 setup_particle(Model m, ParticleIndex pi, double scale) -> Scale
1467 setup_particle(_ParticleAdaptor decorator, double scale) -> Scale
1469 return _IMP_isd.Scale_setup_particle(*args)
1471 setup_particle = staticmethod(setup_particle)
1473 def get_is_setup(*args):
1475 get_is_setup(_ParticleAdaptor p) -> bool
1476 get_is_setup(Model m, ParticleIndex pi) -> bool
1478 return _IMP_isd.Scale_get_is_setup(*args)
1480 get_is_setup = staticmethod(get_is_setup)
1482 def get_scale(self):
1483 """get_scale(Scale self) -> IMP::Float"""
1484 return _IMP_isd.Scale_get_scale(self)
1487 def set_scale(self, d):
1488 """set_scale(Scale self, IMP::Float d)"""
1489 return _IMP_isd.Scale_set_scale(self, d)
1492 def add_to_scale_derivative(self, d, accum):
1493 """add_to_scale_derivative(Scale self, IMP::Float d, DerivativeAccumulator accum)"""
1494 return _IMP_isd.Scale_add_to_scale_derivative(self, d, accum)
1497 def get_scale_derivative(self):
1498 """get_scale_derivative(Scale self) -> IMP::Float"""
1499 return _IMP_isd.Scale_get_scale_derivative(self)
1502 def get_scale_key():
1503 """get_scale_key() -> FloatKey"""
1504 return _IMP_isd.Scale_get_scale_key()
1506 get_scale_key = staticmethod(get_scale_key)
1508 def get_scale_is_optimized(self):
1509 """get_scale_is_optimized(Scale self) -> bool"""
1510 return _IMP_isd.Scale_get_scale_is_optimized(self)
1513 def set_scale_is_optimized(self, val):
1514 """set_scale_is_optimized(Scale self, bool val)"""
1515 return _IMP_isd.Scale_set_scale_is_optimized(self, val)
1518 def add_attribute(self, *args):
1520 add_attribute(Scale self, FloatKey k, IMP::Float v, bool opt)
1521 add_attribute(Scale self, FloatKey a0, IMP::Float a1)
1522 add_attribute(Scale self, IntKey a0, IMP::Int a1)
1523 add_attribute(Scale self, StringKey a0, IMP::String a1)
1524 add_attribute(Scale self, ParticleIndexKey a0, Particle a1)
1525 add_attribute(Scale self, ObjectKey a0, Object a1)
1527 return _IMP_isd.Scale_add_attribute(self, *args)
1530 def get_value(self, *args):
1532 get_value(Scale self, FloatKey a0) -> IMP::Float
1533 get_value(Scale self, IntKey a0) -> IMP::Int
1534 get_value(Scale self, StringKey a0) -> IMP::String
1535 get_value(Scale self, ParticleIndexKey a0) -> Particle
1536 get_value(Scale self, ObjectKey a0) -> Object
1538 return _IMP_isd.Scale_get_value(self, *args)
1541 def set_value(self, *args):
1543 set_value(Scale self, FloatKey a0, IMP::Float a1)
1544 set_value(Scale self, IntKey a0, IMP::Int a1)
1545 set_value(Scale self, StringKey a0, IMP::String a1)
1546 set_value(Scale self, ParticleIndexKey a0, Particle a1)
1547 set_value(Scale self, ObjectKey a0, Object a1)
1549 return _IMP_isd.Scale_set_value(self, *args)
1552 def remove_attribute(self, *args):
1554 remove_attribute(Scale self, FloatKey a0)
1555 remove_attribute(Scale self, IntKey a0)
1556 remove_attribute(Scale self, StringKey a0)
1557 remove_attribute(Scale self, ParticleIndexKey a0)
1558 remove_attribute(Scale self, ObjectKey a0)
1560 return _IMP_isd.Scale_remove_attribute(self, *args)
1563 def has_attribute(self, *args):
1565 has_attribute(Scale self, FloatKey a0) -> bool
1566 has_attribute(Scale self, IntKey a0) -> bool
1567 has_attribute(Scale self, StringKey a0) -> bool
1568 has_attribute(Scale self, ParticleIndexKey a0) -> bool
1569 has_attribute(Scale self, ObjectKey a0) -> bool
1571 return _IMP_isd.Scale_has_attribute(self, *args)
1574 def get_derivative(self, a0):
1575 """get_derivative(Scale self, FloatKey a0) -> double"""
1576 return _IMP_isd.Scale_get_derivative(self, a0)
1580 """get_name(Scale self) -> std::string"""
1581 return _IMP_isd.Scale_get_name(self)
1585 """clear_caches(Scale self)"""
1586 return _IMP_isd.Scale_clear_caches(self)
1589 def set_name(self, a0):
1590 """set_name(Scale self, std::string a0)"""
1591 return _IMP_isd.Scale_set_name(self, a0)
1595 """set_check_level(Scale self, IMP::CheckLevel a0)"""
1596 return _IMP_isd.Scale_set_check_level(self, a0)
1599 def add_to_derivative(self, a0, a1, a2):
1600 """add_to_derivative(Scale self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1601 return _IMP_isd.Scale_add_to_derivative(self, a0, a1, a2)
1604 def set_is_optimized(self, a0, a1):
1605 """set_is_optimized(Scale self, FloatKey a0, bool a1)"""
1606 return _IMP_isd.Scale_set_is_optimized(self, a0, a1)
1609 def get_is_optimized(self, a0):
1610 """get_is_optimized(Scale self, FloatKey a0) -> bool"""
1611 return _IMP_isd.Scale_get_is_optimized(self, a0)
1614 def get_check_level(self):
1615 """get_check_level(Scale self) -> IMP::CheckLevel"""
1616 return _IMP_isd.Scale_get_check_level(self)
1619 def __eq__(self, *args):
1621 __eq__(Scale self, Scale o) -> bool
1622 __eq__(Scale self, Particle d) -> bool
1624 return _IMP_isd.Scale___eq__(self, *args)
1627 def __ne__(self, *args):
1629 __ne__(Scale self, Scale o) -> bool
1630 __ne__(Scale self, Particle d) -> bool
1632 return _IMP_isd.Scale___ne__(self, *args)
1635 def __le__(self, *args):
1637 __le__(Scale self, Scale o) -> bool
1638 __le__(Scale self, Particle d) -> bool
1640 return _IMP_isd.Scale___le__(self, *args)
1643 def __lt__(self, *args):
1645 __lt__(Scale self, Scale o) -> bool
1646 __lt__(Scale self, Particle d) -> bool
1648 return _IMP_isd.Scale___lt__(self, *args)
1651 def __ge__(self, *args):
1653 __ge__(Scale self, Scale o) -> bool
1654 __ge__(Scale self, Particle d) -> bool
1656 return _IMP_isd.Scale___ge__(self, *args)
1659 def __gt__(self, *args):
1661 __gt__(Scale self, Scale o) -> bool
1662 __gt__(Scale self, Particle d) -> bool
1664 return _IMP_isd.Scale___gt__(self, *args)
1668 """__hash__(Scale self) -> std::size_t"""
1669 return _IMP_isd.Scale___hash__(self)
1673 """__str__(Scale self) -> std::string"""
1674 return _IMP_isd.Scale___str__(self)
1678 """__repr__(Scale self) -> std::string"""
1679 return _IMP_isd.Scale___repr__(self)
1681 __swig_destroy__ = _IMP_isd.delete_Scale
1682 __del__ =
lambda self:
None
1683 Scale_swigregister = _IMP_isd.Scale_swigregister
1684 Scale_swigregister(Scale)
1686 def Scale_setup_particle(*args):
1688 setup_particle(Model m, ParticleIndex pi) -> Scale
1689 setup_particle(_ParticleAdaptor decorator) -> Scale
1690 setup_particle(Model m, ParticleIndex pi, double scale) -> Scale
1691 Scale_setup_particle(_ParticleAdaptor decorator, double scale) -> Scale
1693 return _IMP_isd.Scale_setup_particle(*args)
1695 def Scale_get_is_setup(*args):
1697 get_is_setup(_ParticleAdaptor p) -> bool
1698 Scale_get_is_setup(Model m, ParticleIndex pi) -> bool
1700 return _IMP_isd.Scale_get_is_setup(*args)
1702 def Scale_get_scale_key():
1703 """Scale_get_scale_key() -> FloatKey"""
1704 return _IMP_isd.Scale_get_scale_key()
1706 class Switching(Nuisance):
1707 """Proxy of C++ IMP::isd::Switching class."""
1709 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1711 def __init__(self, *args):
1713 __init__(IMP::isd::Switching self) -> Switching
1714 __init__(IMP::isd::Switching self, Model m, ParticleIndex id) -> Switching
1715 __init__(IMP::isd::Switching self, _ParticleAdaptor d) -> Switching
1717 this = _IMP_isd.new_Switching(*args)
1719 self.this.append(this)
1720 except __builtin__.Exception:
1723 def show(self, *args):
1725 show(Switching self, _ostream out)
1726 show(Switching self)
1728 return _IMP_isd.Switching_show(self, *args)
1731 def setup_particle(*args):
1733 setup_particle(Model m, ParticleIndex pi) -> Switching
1734 setup_particle(_ParticleAdaptor decorator) -> Switching
1735 setup_particle(Model m, ParticleIndex pi, double switching) -> Switching
1736 setup_particle(_ParticleAdaptor decorator, double switching) -> Switching
1738 return _IMP_isd.Switching_setup_particle(*args)
1740 setup_particle = staticmethod(setup_particle)
1742 def get_is_setup(*args):
1744 get_is_setup(_ParticleAdaptor p) -> bool
1745 get_is_setup(Model m, ParticleIndex pi) -> bool
1747 return _IMP_isd.Switching_get_is_setup(*args)
1749 get_is_setup = staticmethod(get_is_setup)
1751 def get_switching(self):
1752 """get_switching(Switching self) -> IMP::Float"""
1753 return _IMP_isd.Switching_get_switching(self)
1756 def set_switching(self, d):
1757 """set_switching(Switching self, IMP::Float d)"""
1758 return _IMP_isd.Switching_set_switching(self, d)
1761 def add_to_switching_derivative(self, d, accum):
1762 """add_to_switching_derivative(Switching self, IMP::Float d, DerivativeAccumulator accum)"""
1763 return _IMP_isd.Switching_add_to_switching_derivative(self, d, accum)
1766 def get_switching_derivative(self):
1767 """get_switching_derivative(Switching self) -> IMP::Float"""
1768 return _IMP_isd.Switching_get_switching_derivative(self)
1771 def get_switching_key():
1772 """get_switching_key() -> FloatKey"""
1773 return _IMP_isd.Switching_get_switching_key()
1775 get_switching_key = staticmethod(get_switching_key)
1777 def get_switching_is_optimized(self):
1778 """get_switching_is_optimized(Switching self) -> bool"""
1779 return _IMP_isd.Switching_get_switching_is_optimized(self)
1782 def set_switching_is_optimized(self, val):
1783 """set_switching_is_optimized(Switching self, bool val)"""
1784 return _IMP_isd.Switching_set_switching_is_optimized(self, val)
1787 def add_attribute(self, *args):
1789 add_attribute(Switching self, FloatKey k, IMP::Float v, bool opt)
1790 add_attribute(Switching self, FloatKey a0, IMP::Float a1)
1791 add_attribute(Switching self, IntKey a0, IMP::Int a1)
1792 add_attribute(Switching self, StringKey a0, IMP::String a1)
1793 add_attribute(Switching self, ParticleIndexKey a0, Particle a1)
1794 add_attribute(Switching self, ObjectKey a0, Object a1)
1796 return _IMP_isd.Switching_add_attribute(self, *args)
1799 def get_value(self, *args):
1801 get_value(Switching self, FloatKey a0) -> IMP::Float
1802 get_value(Switching self, IntKey a0) -> IMP::Int
1803 get_value(Switching self, StringKey a0) -> IMP::String
1804 get_value(Switching self, ParticleIndexKey a0) -> Particle
1805 get_value(Switching self, ObjectKey a0) -> Object
1807 return _IMP_isd.Switching_get_value(self, *args)
1810 def set_value(self, *args):
1812 set_value(Switching self, FloatKey a0, IMP::Float a1)
1813 set_value(Switching self, IntKey a0, IMP::Int a1)
1814 set_value(Switching self, StringKey a0, IMP::String a1)
1815 set_value(Switching self, ParticleIndexKey a0, Particle a1)
1816 set_value(Switching self, ObjectKey a0, Object a1)
1818 return _IMP_isd.Switching_set_value(self, *args)
1821 def remove_attribute(self, *args):
1823 remove_attribute(Switching self, FloatKey a0)
1824 remove_attribute(Switching self, IntKey a0)
1825 remove_attribute(Switching self, StringKey a0)
1826 remove_attribute(Switching self, ParticleIndexKey a0)
1827 remove_attribute(Switching self, ObjectKey a0)
1829 return _IMP_isd.Switching_remove_attribute(self, *args)
1832 def has_attribute(self, *args):
1834 has_attribute(Switching self, FloatKey a0) -> bool
1835 has_attribute(Switching self, IntKey a0) -> bool
1836 has_attribute(Switching self, StringKey a0) -> bool
1837 has_attribute(Switching self, ParticleIndexKey a0) -> bool
1838 has_attribute(Switching self, ObjectKey a0) -> bool
1840 return _IMP_isd.Switching_has_attribute(self, *args)
1843 def get_derivative(self, a0):
1844 """get_derivative(Switching self, FloatKey a0) -> double"""
1845 return _IMP_isd.Switching_get_derivative(self, a0)
1849 """get_name(Switching self) -> std::string"""
1850 return _IMP_isd.Switching_get_name(self)
1854 """clear_caches(Switching self)"""
1855 return _IMP_isd.Switching_clear_caches(self)
1858 def set_name(self, a0):
1859 """set_name(Switching self, std::string a0)"""
1860 return _IMP_isd.Switching_set_name(self, a0)
1864 """set_check_level(Switching self, IMP::CheckLevel a0)"""
1865 return _IMP_isd.Switching_set_check_level(self, a0)
1868 def add_to_derivative(self, a0, a1, a2):
1869 """add_to_derivative(Switching self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1870 return _IMP_isd.Switching_add_to_derivative(self, a0, a1, a2)
1873 def set_is_optimized(self, a0, a1):
1874 """set_is_optimized(Switching self, FloatKey a0, bool a1)"""
1875 return _IMP_isd.Switching_set_is_optimized(self, a0, a1)
1878 def get_is_optimized(self, a0):
1879 """get_is_optimized(Switching self, FloatKey a0) -> bool"""
1880 return _IMP_isd.Switching_get_is_optimized(self, a0)
1883 def get_check_level(self):
1884 """get_check_level(Switching self) -> IMP::CheckLevel"""
1885 return _IMP_isd.Switching_get_check_level(self)
1888 def __eq__(self, *args):
1890 __eq__(Switching self, Switching o) -> bool
1891 __eq__(Switching self, Particle d) -> bool
1893 return _IMP_isd.Switching___eq__(self, *args)
1896 def __ne__(self, *args):
1898 __ne__(Switching self, Switching o) -> bool
1899 __ne__(Switching self, Particle d) -> bool
1901 return _IMP_isd.Switching___ne__(self, *args)
1904 def __le__(self, *args):
1906 __le__(Switching self, Switching o) -> bool
1907 __le__(Switching self, Particle d) -> bool
1909 return _IMP_isd.Switching___le__(self, *args)
1912 def __lt__(self, *args):
1914 __lt__(Switching self, Switching o) -> bool
1915 __lt__(Switching self, Particle d) -> bool
1917 return _IMP_isd.Switching___lt__(self, *args)
1920 def __ge__(self, *args):
1922 __ge__(Switching self, Switching o) -> bool
1923 __ge__(Switching self, Particle d) -> bool
1925 return _IMP_isd.Switching___ge__(self, *args)
1928 def __gt__(self, *args):
1930 __gt__(Switching self, Switching o) -> bool
1931 __gt__(Switching self, Particle d) -> bool
1933 return _IMP_isd.Switching___gt__(self, *args)
1937 """__hash__(Switching self) -> std::size_t"""
1938 return _IMP_isd.Switching___hash__(self)
1942 """__str__(Switching self) -> std::string"""
1943 return _IMP_isd.Switching___str__(self)
1947 """__repr__(Switching self) -> std::string"""
1948 return _IMP_isd.Switching___repr__(self)
1950 __swig_destroy__ = _IMP_isd.delete_Switching
1951 __del__ =
lambda self:
None
1952 Switching_swigregister = _IMP_isd.Switching_swigregister
1953 Switching_swigregister(Switching)
1955 def Switching_setup_particle(*args):
1957 setup_particle(Model m, ParticleIndex pi) -> Switching
1958 setup_particle(_ParticleAdaptor decorator) -> Switching
1959 setup_particle(Model m, ParticleIndex pi, double switching) -> Switching
1960 Switching_setup_particle(_ParticleAdaptor decorator, double switching) -> Switching
1962 return _IMP_isd.Switching_setup_particle(*args)
1964 def Switching_get_is_setup(*args):
1966 get_is_setup(_ParticleAdaptor p) -> bool
1967 Switching_get_is_setup(Model m, ParticleIndex pi) -> bool
1969 return _IMP_isd.Switching_get_is_setup(*args)
1971 def Switching_get_switching_key():
1972 """Switching_get_switching_key() -> FloatKey"""
1973 return _IMP_isd.Switching_get_switching_key()
1976 """Proxy of C++ IMP::isd::Weight class."""
1978 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1980 def __init__(self, *args):
1982 __init__(IMP::isd::Weight self) -> Weight
1983 __init__(IMP::isd::Weight self, Model m, ParticleIndex id) -> Weight
1984 __init__(IMP::isd::Weight self, _ParticleAdaptor d) -> Weight
1986 this = _IMP_isd.new_Weight(*args)
1988 self.this.append(this)
1989 except __builtin__.Exception:
1992 def show(self, *args):
1994 show(Weight self, _ostream out)
1997 return _IMP_isd.Weight_show(self, *args)
2000 def setup_particle(*args):
2002 setup_particle(Model m, ParticleIndex pi) -> Weight
2003 setup_particle(_ParticleAdaptor decorator) -> Weight
2004 setup_particle(Model m, ParticleIndex pi, IMP::Int nweights) -> Weight
2005 setup_particle(_ParticleAdaptor decorator, IMP::Int nweights) -> Weight
2006 setup_particle(Model m, ParticleIndex pi, VectorKD w) -> Weight
2007 setup_particle(_ParticleAdaptor decorator, VectorKD w) -> Weight
2009 return _IMP_isd.Weight_setup_particle(*args)
2011 setup_particle = staticmethod(setup_particle)
2013 def get_nstates_key():
2014 """get_nstates_key() -> IntKey"""
2015 return _IMP_isd.Weight_get_nstates_key()
2017 get_nstates_key = staticmethod(get_nstates_key)
2019 def get_number_of_weights_key():
2020 """get_number_of_weights_key() -> IntKey"""
2021 return _IMP_isd.Weight_get_number_of_weights_key()
2023 get_number_of_weights_key = staticmethod(get_number_of_weights_key)
2025 def get_weight_key(i):
2026 """get_weight_key(int i) -> FloatKey"""
2027 return _IMP_isd.Weight_get_weight_key(i)
2029 get_weight_key = staticmethod(get_weight_key)
2031 def get_weight_keys(self):
2032 """get_weight_keys(Weight self) -> IMP::FloatKeys"""
2033 return _IMP_isd.Weight_get_weight_keys(self)
2036 def get_weight(self, i):
2037 """get_weight(Weight self, int i) -> IMP::Float"""
2038 return _IMP_isd.Weight_get_weight(self, i)
2041 def get_weights(self):
2042 """get_weights(Weight self) -> VectorKD"""
2043 return _IMP_isd.Weight_get_weights(self)
2046 def set_weight_lazy(self, i, wi):
2047 """set_weight_lazy(Weight self, int i, IMP::Float wi)"""
2048 return _IMP_isd.Weight_set_weight_lazy(self, i, wi)
2051 def set_weights_lazy(self, w):
2052 """set_weights_lazy(Weight self, VectorKD w)"""
2053 return _IMP_isd.Weight_set_weights_lazy(self, w)
2056 def set_weights(self, w):
2057 """set_weights(Weight self, VectorKD w)"""
2058 return _IMP_isd.Weight_set_weights(self, w)
2061 def get_weights_are_optimized(self):
2062 """get_weights_are_optimized(Weight self) -> bool"""
2063 return _IMP_isd.Weight_get_weights_are_optimized(self)
2066 def set_weights_are_optimized(self, tf):
2067 """set_weights_are_optimized(Weight self, bool tf)"""
2068 return _IMP_isd.Weight_set_weights_are_optimized(self, tf)
2071 def get_weight_derivative(self, i):
2072 """get_weight_derivative(Weight self, int i) -> IMP::Float"""
2073 return _IMP_isd.Weight_get_weight_derivative(self, i)
2076 def get_weights_derivatives(self):
2077 """get_weights_derivatives(Weight self) -> VectorKD"""
2078 return _IMP_isd.Weight_get_weights_derivatives(self)
2081 def add_to_weight_derivative(self, i, dwi, da):
2082 """add_to_weight_derivative(Weight self, int i, IMP::Float dwi, DerivativeAccumulator da)"""
2083 return _IMP_isd.Weight_add_to_weight_derivative(self, i, dwi, da)
2086 def add_to_weights_derivatives(self, dw, da):
2087 """add_to_weights_derivatives(Weight self, VectorKD dw, DerivativeAccumulator da)"""
2088 return _IMP_isd.Weight_add_to_weights_derivatives(self, dw, da)
2091 def add_weight_lazy(self, wi=0):
2093 add_weight_lazy(Weight self, IMP::Float wi=0)
2094 add_weight_lazy(Weight self)
2096 return _IMP_isd.Weight_add_weight_lazy(self, wi)
2099 def add_weight(self, wi=0):
2101 add_weight(Weight self, IMP::Float wi=0)
2102 add_weight(Weight self)
2104 return _IMP_isd.Weight_add_weight(self, wi)
2107 def get_number_of_states(self):
2108 """get_number_of_states(Weight self) -> IMP::Int"""
2109 return _IMP_isd.Weight_get_number_of_states(self)
2112 def get_number_of_weights(self):
2113 """get_number_of_weights(Weight self) -> IMP::Int"""
2114 return _IMP_isd.Weight_get_number_of_weights(self)
2117 def get_unit_simplex(self):
2118 """get_unit_simplex(Weight self) -> UnitSimplexKD"""
2119 return _IMP_isd.Weight_get_unit_simplex(self)
2122 def set_number_of_weights_lazy(self, nweights):
2123 """set_number_of_weights_lazy(Weight self, IMP::Int nweights)"""
2124 return _IMP_isd.Weight_set_number_of_weights_lazy(self, nweights)
2127 def set_number_of_weights(self, nweights):
2128 """set_number_of_weights(Weight self, IMP::Int nweights)"""
2129 return _IMP_isd.Weight_set_number_of_weights(self, nweights)
2132 def get_is_setup(*args):
2134 get_is_setup(_ParticleAdaptor p) -> bool
2135 get_is_setup(Model m, ParticleIndex pi) -> bool
2137 return _IMP_isd.Weight_get_is_setup(*args)
2139 get_is_setup = staticmethod(get_is_setup)
2141 def add_attribute(self, *args):
2143 add_attribute(Weight self, FloatKey k, IMP::Float v, bool opt)
2144 add_attribute(Weight self, FloatKey a0, IMP::Float a1)
2145 add_attribute(Weight self, IntKey a0, IMP::Int a1)
2146 add_attribute(Weight self, StringKey a0, IMP::String a1)
2147 add_attribute(Weight self, ParticleIndexKey a0, Particle a1)
2148 add_attribute(Weight self, ObjectKey a0, Object a1)
2150 return _IMP_isd.Weight_add_attribute(self, *args)
2153 def get_value(self, *args):
2155 get_value(Weight self, FloatKey a0) -> IMP::Float
2156 get_value(Weight self, IntKey a0) -> IMP::Int
2157 get_value(Weight self, StringKey a0) -> IMP::String
2158 get_value(Weight self, ParticleIndexKey a0) -> Particle
2159 get_value(Weight self, ObjectKey a0) -> Object
2161 return _IMP_isd.Weight_get_value(self, *args)
2164 def set_value(self, *args):
2166 set_value(Weight self, FloatKey a0, IMP::Float a1)
2167 set_value(Weight self, IntKey a0, IMP::Int a1)
2168 set_value(Weight self, StringKey a0, IMP::String a1)
2169 set_value(Weight self, ParticleIndexKey a0, Particle a1)
2170 set_value(Weight self, ObjectKey a0, Object a1)
2172 return _IMP_isd.Weight_set_value(self, *args)
2175 def remove_attribute(self, *args):
2177 remove_attribute(Weight self, FloatKey a0)
2178 remove_attribute(Weight self, IntKey a0)
2179 remove_attribute(Weight self, StringKey a0)
2180 remove_attribute(Weight self, ParticleIndexKey a0)
2181 remove_attribute(Weight self, ObjectKey a0)
2183 return _IMP_isd.Weight_remove_attribute(self, *args)
2186 def has_attribute(self, *args):
2188 has_attribute(Weight self, FloatKey a0) -> bool
2189 has_attribute(Weight self, IntKey a0) -> bool
2190 has_attribute(Weight self, StringKey a0) -> bool
2191 has_attribute(Weight self, ParticleIndexKey a0) -> bool
2192 has_attribute(Weight self, ObjectKey a0) -> bool
2194 return _IMP_isd.Weight_has_attribute(self, *args)
2197 def get_derivative(self, a0):
2198 """get_derivative(Weight self, FloatKey a0) -> double"""
2199 return _IMP_isd.Weight_get_derivative(self, a0)
2203 """get_name(Weight self) -> std::string"""
2204 return _IMP_isd.Weight_get_name(self)
2208 """clear_caches(Weight self)"""
2209 return _IMP_isd.Weight_clear_caches(self)
2212 def set_name(self, a0):
2213 """set_name(Weight self, std::string a0)"""
2214 return _IMP_isd.Weight_set_name(self, a0)
2218 """set_check_level(Weight self, IMP::CheckLevel a0)"""
2219 return _IMP_isd.Weight_set_check_level(self, a0)
2222 def add_to_derivative(self, a0, a1, a2):
2223 """add_to_derivative(Weight self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2224 return _IMP_isd.Weight_add_to_derivative(self, a0, a1, a2)
2227 def set_is_optimized(self, a0, a1):
2228 """set_is_optimized(Weight self, FloatKey a0, bool a1)"""
2229 return _IMP_isd.Weight_set_is_optimized(self, a0, a1)
2232 def get_is_optimized(self, a0):
2233 """get_is_optimized(Weight self, FloatKey a0) -> bool"""
2234 return _IMP_isd.Weight_get_is_optimized(self, a0)
2237 def get_check_level(self):
2238 """get_check_level(Weight self) -> IMP::CheckLevel"""
2239 return _IMP_isd.Weight_get_check_level(self)
2242 def __eq__(self, *args):
2244 __eq__(Weight self, Weight o) -> bool
2245 __eq__(Weight self, Particle d) -> bool
2247 return _IMP_isd.Weight___eq__(self, *args)
2250 def __ne__(self, *args):
2252 __ne__(Weight self, Weight o) -> bool
2253 __ne__(Weight self, Particle d) -> bool
2255 return _IMP_isd.Weight___ne__(self, *args)
2258 def __le__(self, *args):
2260 __le__(Weight self, Weight o) -> bool
2261 __le__(Weight self, Particle d) -> bool
2263 return _IMP_isd.Weight___le__(self, *args)
2266 def __lt__(self, *args):
2268 __lt__(Weight self, Weight o) -> bool
2269 __lt__(Weight self, Particle d) -> bool
2271 return _IMP_isd.Weight___lt__(self, *args)
2274 def __ge__(self, *args):
2276 __ge__(Weight self, Weight o) -> bool
2277 __ge__(Weight self, Particle d) -> bool
2279 return _IMP_isd.Weight___ge__(self, *args)
2282 def __gt__(self, *args):
2284 __gt__(Weight self, Weight o) -> bool
2285 __gt__(Weight self, Particle d) -> bool
2287 return _IMP_isd.Weight___gt__(self, *args)
2291 """__hash__(Weight self) -> std::size_t"""
2292 return _IMP_isd.Weight___hash__(self)
2296 """__str__(Weight self) -> std::string"""
2297 return _IMP_isd.Weight___str__(self)
2301 """__repr__(Weight self) -> std::string"""
2302 return _IMP_isd.Weight___repr__(self)
2304 __swig_destroy__ = _IMP_isd.delete_Weight
2305 __del__ =
lambda self:
None
2306 Weight_swigregister = _IMP_isd.Weight_swigregister
2307 Weight_swigregister(Weight)
2308 cvar = _IMP_isd.cvar
2309 IMPISD_MAX_WEIGHTS = cvar.IMPISD_MAX_WEIGHTS
2311 def Weight_setup_particle(*args):
2313 setup_particle(Model m, ParticleIndex pi) -> Weight
2314 setup_particle(_ParticleAdaptor decorator) -> Weight
2315 setup_particle(Model m, ParticleIndex pi, IMP::Int nweights) -> Weight
2316 setup_particle(_ParticleAdaptor decorator, IMP::Int nweights) -> Weight
2317 setup_particle(Model m, ParticleIndex pi, VectorKD w) -> Weight
2318 Weight_setup_particle(_ParticleAdaptor decorator, VectorKD w) -> Weight
2320 return _IMP_isd.Weight_setup_particle(*args)
2322 def Weight_get_nstates_key():
2323 """Weight_get_nstates_key() -> IntKey"""
2324 return _IMP_isd.Weight_get_nstates_key()
2326 def Weight_get_number_of_weights_key():
2327 """Weight_get_number_of_weights_key() -> IntKey"""
2328 return _IMP_isd.Weight_get_number_of_weights_key()
2330 def Weight_get_weight_key(i):
2331 """Weight_get_weight_key(int i) -> FloatKey"""
2332 return _IMP_isd.Weight_get_weight_key(i)
2334 def Weight_get_is_setup(*args):
2336 get_is_setup(_ParticleAdaptor p) -> bool
2337 Weight_get_is_setup(Model m, ParticleIndex pi) -> bool
2339 return _IMP_isd.Weight_get_is_setup(*args)
2342 def __lshift__(*args):
2344 __lshift__(_ostream out, Nuisance n) -> _ostream
2345 __lshift__(_ostream out, Scale n) -> _ostream
2346 __lshift__(_ostream out, Switching n) -> _ostream
2347 __lshift__(_ostream out, Weight n) -> _ostream
2349 return _IMP_isd.__lshift__(*args)
2351 """Proxy of C++ IMP::isd::JeffreysRestraint class."""
2353 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2355 def __init__(self, m, p):
2356 """__init__(IMP::isd::JeffreysRestraint self, Model m, Particle p) -> JeffreysRestraint"""
2357 this = _IMP_isd.new_JeffreysRestraint(m, p)
2359 self.this.append(this)
2360 except __builtin__.Exception:
2364 """do_get_inputs(JeffreysRestraint self) -> IMP::ModelObjectsTemp"""
2365 return _IMP_isd.JeffreysRestraint_do_get_inputs(self)
2369 """get_version_info(JeffreysRestraint self) -> VersionInfo"""
2370 return _IMP_isd.JeffreysRestraint_get_version_info(self)
2373 def get_probability(self):
2374 """get_probability(JeffreysRestraint self) -> double"""
2375 return _IMP_isd.JeffreysRestraint_get_probability(self)
2379 """__str__(JeffreysRestraint self) -> std::string"""
2380 return _IMP_isd.JeffreysRestraint___str__(self)
2384 """__repr__(JeffreysRestraint self) -> std::string"""
2385 return _IMP_isd.JeffreysRestraint___repr__(self)
2390 return _object_cast_to_JeffreysRestraint(o)
2392 JeffreysRestraint_swigregister = _IMP_isd.JeffreysRestraint_swigregister
2393 JeffreysRestraint_swigregister(JeffreysRestraint)
2396 """Proxy of C++ IMP::isd::NormalSigmaPCRestraint class."""
2398 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2400 def __init__(self, *args):
2402 __init__(IMP::isd::NormalSigmaPCRestraint self, Model m, ParticleIndex spi, double su, double alpha, std::string name) -> NormalSigmaPCRestraint
2403 __init__(IMP::isd::NormalSigmaPCRestraint self, Model m, ParticleIndex spi, double su, double alpha) -> NormalSigmaPCRestraint
2404 __init__(IMP::isd::NormalSigmaPCRestraint self, Scale s, double su, double alpha, std::string name) -> NormalSigmaPCRestraint
2405 __init__(IMP::isd::NormalSigmaPCRestraint self, Scale s, double su, double alpha) -> NormalSigmaPCRestraint
2407 this = _IMP_isd.new_NormalSigmaPCRestraint(*args)
2409 self.this.append(this)
2410 except __builtin__.Exception:
2413 def get_sigma(self):
2414 """get_sigma(NormalSigmaPCRestraint self) -> Scale"""
2415 return _IMP_isd.NormalSigmaPCRestraint_get_sigma(self)
2418 def get_alpha(self):
2419 """get_alpha(NormalSigmaPCRestraint self) -> double"""
2420 return _IMP_isd.NormalSigmaPCRestraint_get_alpha(self)
2423 def get_sigma_upper(self):
2424 """get_sigma_upper(NormalSigmaPCRestraint self) -> double"""
2425 return _IMP_isd.NormalSigmaPCRestraint_get_sigma_upper(self)
2428 def get_probability(self):
2429 """get_probability(NormalSigmaPCRestraint self) -> double"""
2430 return _IMP_isd.NormalSigmaPCRestraint_get_probability(self)
2434 """do_get_inputs(NormalSigmaPCRestraint self) -> IMP::ModelObjectsTemp"""
2435 return _IMP_isd.NormalSigmaPCRestraint_do_get_inputs(self)
2439 """get_version_info(NormalSigmaPCRestraint self) -> VersionInfo"""
2440 return _IMP_isd.NormalSigmaPCRestraint_get_version_info(self)
2444 """__str__(NormalSigmaPCRestraint self) -> std::string"""
2445 return _IMP_isd.NormalSigmaPCRestraint___str__(self)
2449 """__repr__(NormalSigmaPCRestraint self) -> std::string"""
2450 return _IMP_isd.NormalSigmaPCRestraint___repr__(self)
2455 return _object_cast_to_NormalSigmaPCRestraint(o)
2457 NormalSigmaPCRestraint_swigregister = _IMP_isd.NormalSigmaPCRestraint_swigregister
2458 NormalSigmaPCRestraint_swigregister(NormalSigmaPCRestraint)
2461 """Proxy of C++ IMP::isd::Distribution class."""
2463 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2465 def __init__(self, *args):
2467 __init__(IMP::isd::Distribution self, std::string name) -> Distribution
2468 __init__(IMP::isd::Distribution self) -> Distribution
2470 if self.__class__ == Distribution:
2474 this = _IMP_isd.new_Distribution(_self, *args)
2476 self.this.append(this)
2477 except __builtin__.Exception:
2480 if self.__class__ != Distribution:
2481 _director_objects.register(self)
2486 def get_type_name(self):
2487 """get_type_name(Distribution self) -> std::string"""
2488 return _IMP_isd.Distribution_get_type_name(self)
2492 """get_version_info(Distribution self) -> VersionInfo"""
2493 return _IMP_isd.Distribution_get_version_info(self)
2497 """__str__(Distribution self) -> std::string"""
2498 return _IMP_isd.Distribution___str__(self)
2502 """__repr__(Distribution self) -> std::string"""
2503 return _IMP_isd.Distribution___repr__(self)
2508 return _object_cast_to_Distribution(o)
2511 def get_type_name(self):
2512 return self.__class__.__name__
2513 def do_show(self, out):
2516 if"IMP::isd" ==
"IMP":
2517 return VersionInfo(self.__module__,
2524 return _object_cast_to_Distribution(o)
2526 def __disown__(self):
2528 _IMP_isd.disown_Distribution(self)
2529 return weakref_proxy(self)
2532 """do_destroy(Distribution self)"""
2533 return _IMP_isd.Distribution_do_destroy(self)
2535 Distribution_swigregister = _IMP_isd.Distribution_swigregister
2536 Distribution_swigregister(Distribution)
2538 class OneDimensionalDistribution(Distribution):
2539 """Proxy of C++ IMP::isd::OneDimensionalDistribution class."""
2541 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2543 def do_evaluate(self, *args):
2545 do_evaluate(OneDimensionalDistribution self, double v) -> double
2546 do_evaluate(OneDimensionalDistribution self, IMP::Floats const & vs) -> IMP::Floats
2548 return _IMP_isd.OneDimensionalDistribution_do_evaluate(self, *args)
2551 def do_get_density(self, *args):
2553 do_get_density(OneDimensionalDistribution self, double v) -> double
2554 do_get_density(OneDimensionalDistribution self, IMP::Floats const & vs) -> IMP::Floats
2556 return _IMP_isd.OneDimensionalDistribution_do_get_density(self, *args)
2559 def __init__(self, *args):
2561 __init__(IMP::isd::OneDimensionalDistribution self, std::string name) -> OneDimensionalDistribution
2562 __init__(IMP::isd::OneDimensionalDistribution self) -> OneDimensionalDistribution
2564 if self.__class__ == OneDimensionalDistribution:
2568 this = _IMP_isd.new_OneDimensionalDistribution(_self, *args)
2570 self.this.append(this)
2571 except __builtin__.Exception:
2574 if self.__class__ != OneDimensionalDistribution:
2575 _director_objects.register(self)
2580 def evaluate(self, *args):
2582 evaluate(OneDimensionalDistribution self, double v) -> double
2583 evaluate(OneDimensionalDistribution self, IMP::Floats const & vs) -> IMP::Floats
2585 return _IMP_isd.OneDimensionalDistribution_evaluate(self, *args)
2588 def get_density(self, *args):
2590 get_density(OneDimensionalDistribution self, double v) -> double
2591 get_density(OneDimensionalDistribution self, IMP::Floats const & vs) -> IMP::Floats
2593 return _IMP_isd.OneDimensionalDistribution_get_density(self, *args)
2596 def get_type_name(self):
2597 """get_type_name(OneDimensionalDistribution self) -> std::string"""
2598 return _IMP_isd.OneDimensionalDistribution_get_type_name(self)
2602 """get_version_info(OneDimensionalDistribution self) -> VersionInfo"""
2603 return _IMP_isd.OneDimensionalDistribution_get_version_info(self)
2607 """__str__(OneDimensionalDistribution self) -> std::string"""
2608 return _IMP_isd.OneDimensionalDistribution___str__(self)
2612 """__repr__(OneDimensionalDistribution self) -> std::string"""
2613 return _IMP_isd.OneDimensionalDistribution___repr__(self)
2618 return _object_cast_to_OneDimensionalDistribution(o)
2621 def get_type_name(self):
2622 return self.__class__.__name__
2623 def do_show(self, out):
2626 if"IMP::isd" ==
"IMP":
2627 return VersionInfo(self.__module__,
2634 return _object_cast_to_OneDimensionalDistribution(o)
2636 def __disown__(self):
2638 _IMP_isd.disown_OneDimensionalDistribution(self)
2639 return weakref_proxy(self)
2642 """do_destroy(OneDimensionalDistribution self)"""
2643 return _IMP_isd.OneDimensionalDistribution_do_destroy(self)
2645 OneDimensionalDistribution_swigregister = _IMP_isd.OneDimensionalDistribution_swigregister
2646 OneDimensionalDistribution_swigregister(OneDimensionalDistribution)
2648 class OneDimensionalSufficientDistribution(Distribution):
2649 """Proxy of C++ IMP::isd::OneDimensionalSufficientDistribution class."""
2651 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2653 def do_update_sufficient_statistics(self, vs):
2654 """do_update_sufficient_statistics(OneDimensionalSufficientDistribution self, IMP::Floats vs)"""
2655 return _IMP_isd.OneDimensionalSufficientDistribution_do_update_sufficient_statistics(self, vs)
2658 def do_get_sufficient_statistics(self):
2659 """do_get_sufficient_statistics(OneDimensionalSufficientDistribution self) -> IMP::Floats"""
2660 return _IMP_isd.OneDimensionalSufficientDistribution_do_get_sufficient_statistics(self)
2663 def do_evaluate(self):
2664 """do_evaluate(OneDimensionalSufficientDistribution self) -> double"""
2665 return _IMP_isd.OneDimensionalSufficientDistribution_do_evaluate(self)
2668 def do_get_density(self):
2669 """do_get_density(OneDimensionalSufficientDistribution self) -> double"""
2670 return _IMP_isd.OneDimensionalSufficientDistribution_do_get_density(self)
2673 def __init__(self, *args):
2675 __init__(IMP::isd::OneDimensionalSufficientDistribution self, std::string name) -> OneDimensionalSufficientDistribution
2676 __init__(IMP::isd::OneDimensionalSufficientDistribution self) -> OneDimensionalSufficientDistribution
2678 if self.__class__ == OneDimensionalSufficientDistribution:
2682 this = _IMP_isd.new_OneDimensionalSufficientDistribution(_self, *args)
2684 self.this.append(this)
2685 except __builtin__.Exception:
2688 if self.__class__ != OneDimensionalSufficientDistribution:
2689 _director_objects.register(self)
2694 def update_sufficient_statistics(self, vs):
2695 """update_sufficient_statistics(OneDimensionalSufficientDistribution self, IMP::Floats vs)"""
2696 return _IMP_isd.OneDimensionalSufficientDistribution_update_sufficient_statistics(self, vs)
2699 def get_sufficient_statistics(self):
2700 """get_sufficient_statistics(OneDimensionalSufficientDistribution self) -> IMP::Floats"""
2701 return _IMP_isd.OneDimensionalSufficientDistribution_get_sufficient_statistics(self)
2705 """evaluate(OneDimensionalSufficientDistribution self) -> double"""
2706 return _IMP_isd.OneDimensionalSufficientDistribution_evaluate(self)
2709 def get_density(self):
2710 """get_density(OneDimensionalSufficientDistribution self) -> double"""
2711 return _IMP_isd.OneDimensionalSufficientDistribution_get_density(self)
2714 def get_type_name(self):
2715 """get_type_name(OneDimensionalSufficientDistribution self) -> std::string"""
2716 return _IMP_isd.OneDimensionalSufficientDistribution_get_type_name(self)
2720 """get_version_info(OneDimensionalSufficientDistribution self) -> VersionInfo"""
2721 return _IMP_isd.OneDimensionalSufficientDistribution_get_version_info(self)
2725 """__str__(OneDimensionalSufficientDistribution self) -> std::string"""
2726 return _IMP_isd.OneDimensionalSufficientDistribution___str__(self)
2730 """__repr__(OneDimensionalSufficientDistribution self) -> std::string"""
2731 return _IMP_isd.OneDimensionalSufficientDistribution___repr__(self)
2736 return _object_cast_to_OneDimensionalSufficientDistribution(o)
2739 def get_type_name(self):
2740 return self.__class__.__name__
2741 def do_show(self, out):
2744 if"IMP::isd" ==
"IMP":
2745 return VersionInfo(self.__module__,
2752 return _object_cast_to_OneDimensionalSufficientDistribution(o)
2754 def __disown__(self):
2756 _IMP_isd.disown_OneDimensionalSufficientDistribution(self)
2757 return weakref_proxy(self)
2760 """do_destroy(OneDimensionalSufficientDistribution self)"""
2761 return _IMP_isd.OneDimensionalSufficientDistribution_do_destroy(self)
2763 OneDimensionalSufficientDistribution_swigregister = _IMP_isd.OneDimensionalSufficientDistribution_swigregister
2764 OneDimensionalSufficientDistribution_swigregister(OneDimensionalSufficientDistribution)
2766 class FNormal(OneDimensionalSufficientDistribution):
2767 """Proxy of C++ IMP::isd::FNormal class."""
2769 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2771 def __init__(self, FA, JA, FM, sigma):
2772 """__init__(IMP::isd::FNormal self, double FA, double JA, double FM, double sigma) -> FNormal"""
2773 this = _IMP_isd.new_FNormal(FA, JA, FM, sigma)
2775 self.this.append(this)
2776 except __builtin__.Exception:
2779 def update_sufficient_statistics(self, FA):
2780 """update_sufficient_statistics(FNormal self, double FA)"""
2781 return _IMP_isd.FNormal_update_sufficient_statistics(self, FA)
2784 def do_update_sufficient_statistics(self, data):
2785 """do_update_sufficient_statistics(FNormal self, IMP::Floats data)"""
2786 return _IMP_isd.FNormal_do_update_sufficient_statistics(self, data)
2789 def do_get_sufficient_statistics(self):
2790 """do_get_sufficient_statistics(FNormal self) -> IMP::Floats"""
2791 return _IMP_isd.FNormal_do_get_sufficient_statistics(self)
2794 def do_evaluate(self):
2795 """do_evaluate(FNormal self) -> double"""
2796 return _IMP_isd.FNormal_do_evaluate(self)
2799 def evaluate_derivative_FA(self):
2800 """evaluate_derivative_FA(FNormal self) -> double"""
2801 return _IMP_isd.FNormal_evaluate_derivative_FA(self)
2804 def evaluate_derivative_JA(self):
2805 """evaluate_derivative_JA(FNormal self) -> double"""
2806 return _IMP_isd.FNormal_evaluate_derivative_JA(self)
2809 def evaluate_derivative_FM(self):
2810 """evaluate_derivative_FM(FNormal self) -> double"""
2811 return _IMP_isd.FNormal_evaluate_derivative_FM(self)
2814 def evaluate_derivative_sigma(self):
2815 """evaluate_derivative_sigma(FNormal self) -> double"""
2816 return _IMP_isd.FNormal_evaluate_derivative_sigma(self)
2819 def do_get_density(self):
2820 """do_get_density(FNormal self) -> double"""
2821 return _IMP_isd.FNormal_do_get_density(self)
2824 def set_FA(self, f):
2825 """set_FA(FNormal self, double f)"""
2826 return _IMP_isd.FNormal_set_FA(self, f)
2829 def set_JA(self, f):
2830 """set_JA(FNormal self, double f)"""
2831 return _IMP_isd.FNormal_set_JA(self, f)
2834 def set_FM(self, f):
2835 """set_FM(FNormal self, double f)"""
2836 return _IMP_isd.FNormal_set_FM(self, f)
2839 def set_sigma(self, f):
2840 """set_sigma(FNormal self, double f)"""
2841 return _IMP_isd.FNormal_set_sigma(self, f)
2845 """__str__(FNormal self) -> std::string"""
2846 return _IMP_isd.FNormal___str__(self)
2850 """__repr__(FNormal self) -> std::string"""
2851 return _IMP_isd.FNormal___repr__(self)
2856 return _object_cast_to_FNormal(o)
2858 FNormal_swigregister = _IMP_isd.FNormal_swigregister
2859 FNormal_swigregister(FNormal)
2861 class FStudentT(OneDimensionalSufficientDistribution):
2862 """Proxy of C++ IMP::isd::FStudentT class."""
2864 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2866 def __init__(self, *args):
2868 __init__(IMP::isd::FStudentT self, IMP::Floats FXs, IMP::Floats JXs, double FM, double sigma, double nu, std::string name) -> FStudentT
2869 __init__(IMP::isd::FStudentT self, IMP::Floats FXs, IMP::Floats JXs, double FM, double sigma, double nu) -> FStudentT
2870 __init__(IMP::isd::FStudentT self, double sumFX, double sumFX2, unsigned int N, double LogJX, double FM, double sigma, double nu, std::string name) -> FStudentT
2871 __init__(IMP::isd::FStudentT self, double sumFX, double sumFX2, unsigned int N, double LogJX, double FM, double sigma, double nu) -> FStudentT
2873 this = _IMP_isd.new_FStudentT(*args)
2875 self.this.append(this)
2876 except __builtin__.Exception:
2879 def update_sufficient_statistics(self, FXs, JXs):
2880 """update_sufficient_statistics(FStudentT self, IMP::Floats FXs, IMP::Floats JXs)"""
2881 return _IMP_isd.FStudentT_update_sufficient_statistics(self, FXs, JXs)
2884 def evaluate_derivative_Fx(self, Fx):
2885 """evaluate_derivative_Fx(FStudentT self, double Fx) -> double"""
2886 return _IMP_isd.FStudentT_evaluate_derivative_Fx(self, Fx)
2889 def evaluate_derivative_FX(self, FXs):
2890 """evaluate_derivative_FX(FStudentT self, IMP::Floats const FXs) -> IMP::Floats"""
2891 return _IMP_isd.FStudentT_evaluate_derivative_FX(self, FXs)
2894 def evaluate_derivative_LogJX(self):
2895 """evaluate_derivative_LogJX(FStudentT self) -> double"""
2896 return _IMP_isd.FStudentT_evaluate_derivative_LogJX(self)
2899 def evaluate_derivative_FM(self):
2900 """evaluate_derivative_FM(FStudentT self) -> double"""
2901 return _IMP_isd.FStudentT_evaluate_derivative_FM(self)
2904 def evaluate_derivative_sigma(self):
2905 """evaluate_derivative_sigma(FStudentT self) -> double"""
2906 return _IMP_isd.FStudentT_evaluate_derivative_sigma(self)
2909 def evaluate_derivative_nu(self):
2910 """evaluate_derivative_nu(FStudentT self) -> double"""
2911 return _IMP_isd.FStudentT_evaluate_derivative_nu(self)
2914 def update_cached_values(self):
2915 """update_cached_values(FStudentT self)"""
2916 return _IMP_isd.FStudentT_update_cached_values(self)
2919 def set_sumFX(self, v):
2920 """set_sumFX(FStudentT self, double v)"""
2921 return _IMP_isd.FStudentT_set_sumFX(self, v)
2924 def set_sumFX2(self, v):
2925 """set_sumFX2(FStudentT self, double v)"""
2926 return _IMP_isd.FStudentT_set_sumFX2(self, v)
2930 """set_N(FStudentT self, unsigned int v)"""
2931 return _IMP_isd.FStudentT_set_N(self, v)
2934 def set_LogJX(self, v):
2935 """set_LogJX(FStudentT self, double v)"""
2936 return _IMP_isd.FStudentT_set_LogJX(self, v)
2939 def set_FM(self, v):
2940 """set_FM(FStudentT self, double v)"""
2941 return _IMP_isd.FStudentT_set_FM(self, v)
2944 def set_sigma(self, v):
2945 """set_sigma(FStudentT self, double v)"""
2946 return _IMP_isd.FStudentT_set_sigma(self, v)
2949 def set_nu(self, v):
2950 """set_nu(FStudentT self, double v)"""
2951 return _IMP_isd.FStudentT_set_nu(self, v)
2954 def get_sumFX(self):
2955 """get_sumFX(FStudentT self) -> double"""
2956 return _IMP_isd.FStudentT_get_sumFX(self)
2959 def get_sumFX2(self):
2960 """get_sumFX2(FStudentT self) -> double"""
2961 return _IMP_isd.FStudentT_get_sumFX2(self)
2965 """get_N(FStudentT self) -> unsigned int"""
2966 return _IMP_isd.FStudentT_get_N(self)
2969 def get_LogJX(self):
2970 """get_LogJX(FStudentT self) -> double"""
2971 return _IMP_isd.FStudentT_get_LogJX(self)
2975 """get_FM(FStudentT self) -> double"""
2976 return _IMP_isd.FStudentT_get_FM(self)
2979 def get_sigma(self):
2980 """get_sigma(FStudentT self) -> double"""
2981 return _IMP_isd.FStudentT_get_sigma(self)
2985 """get_nu(FStudentT self) -> double"""
2986 return _IMP_isd.FStudentT_get_nu(self)
2990 """__str__(FStudentT self) -> std::string"""
2991 return _IMP_isd.FStudentT___str__(self)
2995 """__repr__(FStudentT self) -> std::string"""
2996 return _IMP_isd.FStudentT___repr__(self)
3001 return _object_cast_to_FStudentT(o)
3003 FStudentT_swigregister = _IMP_isd.FStudentT_swigregister
3004 FStudentT_swigregister(FStudentT)
3007 """Proxy of C++ IMP::isd::vonMises class."""
3009 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3011 def __init__(self, x, mu, kappa):
3012 """__init__(IMP::isd::vonMises self, double x, double mu, double kappa) -> vonMises"""
3013 this = _IMP_isd.new_vonMises(x, mu, kappa)
3015 self.this.append(this)
3016 except __builtin__.Exception:
3020 """evaluate(vonMises self) -> double"""
3021 return _IMP_isd.vonMises_evaluate(self)
3024 def evaluate_derivative_x(self):
3025 """evaluate_derivative_x(vonMises self) -> double"""
3026 return _IMP_isd.vonMises_evaluate_derivative_x(self)
3029 def evaluate_derivative_mu(self):
3030 """evaluate_derivative_mu(vonMises self) -> double"""
3031 return _IMP_isd.vonMises_evaluate_derivative_mu(self)
3034 def evaluate_derivative_kappa(self):
3035 """evaluate_derivative_kappa(vonMises self) -> double"""
3036 return _IMP_isd.vonMises_evaluate_derivative_kappa(self)
3040 """density(vonMises self) -> double"""
3041 return _IMP_isd.vonMises_density(self)
3045 """set_x(vonMises self, double x)"""
3046 return _IMP_isd.vonMises_set_x(self, x)
3049 def set_mu(self, mu):
3050 """set_mu(vonMises self, double mu)"""
3051 return _IMP_isd.vonMises_set_mu(self, mu)
3054 def set_kappa(self, kappa):
3055 """set_kappa(vonMises self, double kappa)"""
3056 return _IMP_isd.vonMises_set_kappa(self, kappa)
3060 """get_version_info(vonMises self) -> VersionInfo"""
3061 return _IMP_isd.vonMises_get_version_info(self)
3065 """__str__(vonMises self) -> std::string"""
3066 return _IMP_isd.vonMises___str__(self)
3070 """__repr__(vonMises self) -> std::string"""
3071 return _IMP_isd.vonMises___repr__(self)
3076 return _object_cast_to_vonMises(o)
3078 vonMises_swigregister = _IMP_isd.vonMises_swigregister
3079 vonMises_swigregister(vonMises)
3082 """Proxy of C++ IMP::isd::vonMisesSufficient class."""
3084 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3086 def __init__(self, *args):
3088 __init__(IMP::isd::vonMisesSufficient self, double chi, unsigned int N, double R0, double chiexp, double kappa) -> vonMisesSufficient
3089 __init__(IMP::isd::vonMisesSufficient self, double chi, IMP::Floats obs, double kappa) -> vonMisesSufficient
3091 this = _IMP_isd.new_vonMisesSufficient(*args)
3093 self.this.append(this)
3094 except __builtin__.Exception:
3098 """evaluate(vonMisesSufficient self) -> double"""
3099 return _IMP_isd.vonMisesSufficient_evaluate(self)
3102 def evaluate_derivative_x(self):
3103 """evaluate_derivative_x(vonMisesSufficient self) -> double"""
3104 return _IMP_isd.vonMisesSufficient_evaluate_derivative_x(self)
3107 def evaluate_derivative_kappa(self):
3108 """evaluate_derivative_kappa(vonMisesSufficient self) -> double"""
3109 return _IMP_isd.vonMisesSufficient_evaluate_derivative_kappa(self)
3113 """density(vonMisesSufficient self) -> double"""
3114 return _IMP_isd.vonMisesSufficient_density(self)
3118 """get_x(vonMisesSufficient self) -> double"""
3119 return _IMP_isd.vonMisesSufficient_get_x(self)
3123 """get_R0(vonMisesSufficient self) -> double"""
3124 return _IMP_isd.vonMisesSufficient_get_R0(self)
3127 def get_chiexp(self):
3128 """get_chiexp(vonMisesSufficient self) -> double"""
3129 return _IMP_isd.vonMisesSufficient_get_chiexp(self)
3133 """get_N(vonMisesSufficient self) -> double"""
3134 return _IMP_isd.vonMisesSufficient_get_N(self)
3137 def get_kappa(self):
3138 """get_kappa(vonMisesSufficient self) -> double"""
3139 return _IMP_isd.vonMisesSufficient_get_kappa(self)
3143 """set_x(vonMisesSufficient self, double x)"""
3144 return _IMP_isd.vonMisesSufficient_set_x(self, x)
3147 def set_R0(self, R0):
3148 """set_R0(vonMisesSufficient self, double R0)"""
3149 return _IMP_isd.vonMisesSufficient_set_R0(self, R0)
3152 def set_chiexp(self, chiexp):
3153 """set_chiexp(vonMisesSufficient self, double chiexp)"""
3154 return _IMP_isd.vonMisesSufficient_set_chiexp(self, chiexp)
3158 """set_N(vonMisesSufficient self, unsigned int N)"""
3159 return _IMP_isd.vonMisesSufficient_set_N(self, N)
3162 def set_kappa(self, kappa):
3163 """set_kappa(vonMisesSufficient self, double kappa)"""
3164 return _IMP_isd.vonMisesSufficient_set_kappa(self, kappa)
3167 def get_sufficient_statistics(data):
3168 """get_sufficient_statistics(IMP::Floats data) -> IMP::Floats"""
3169 return _IMP_isd.vonMisesSufficient_get_sufficient_statistics(data)
3171 get_sufficient_statistics = staticmethod(get_sufficient_statistics)
3174 """get_version_info(vonMisesSufficient self) -> VersionInfo"""
3175 return _IMP_isd.vonMisesSufficient_get_version_info(self)
3179 """__str__(vonMisesSufficient self) -> std::string"""
3180 return _IMP_isd.vonMisesSufficient___str__(self)
3184 """__repr__(vonMisesSufficient self) -> std::string"""
3185 return _IMP_isd.vonMisesSufficient___repr__(self)
3190 return _object_cast_to_vonMisesSufficient(o)
3192 vonMisesSufficient_swigregister = _IMP_isd.vonMisesSufficient_swigregister
3193 vonMisesSufficient_swigregister(vonMisesSufficient)
3195 def vonMisesSufficient_get_sufficient_statistics(data):
3196 """vonMisesSufficient_get_sufficient_statistics(IMP::Floats data) -> IMP::Floats"""
3197 return _IMP_isd.vonMisesSufficient_get_sufficient_statistics(data)
3199 class PenalizedComplexityPrior(OneDimensionalSufficientDistribution):
3200 """Proxy of C++ IMP::isd::PenalizedComplexityPrior class."""
3202 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3204 def __init__(self, *args):
3206 __init__(IMP::isd::PenalizedComplexityPrior self, double Dxi, double Jxi, double alpha, std::string name) -> PenalizedComplexityPrior
3207 __init__(IMP::isd::PenalizedComplexityPrior self, double Dxi, double Jxi, double alpha) -> PenalizedComplexityPrior
3209 this = _IMP_isd.new_PenalizedComplexityPrior(*args)
3211 self.this.append(this)
3212 except __builtin__.Exception:
3215 def update_sufficient_statistics(self, Dxis, Jxis):
3216 """update_sufficient_statistics(PenalizedComplexityPrior self, IMP::Floats Dxis, IMP::Floats Jxis)"""
3217 return _IMP_isd.PenalizedComplexityPrior_update_sufficient_statistics(self, Dxis, Jxis)
3220 def evaluate_derivative_Dxi(self):
3221 """evaluate_derivative_Dxi(PenalizedComplexityPrior self) -> double"""
3222 return _IMP_isd.PenalizedComplexityPrior_evaluate_derivative_Dxi(self)
3225 def evaluate_derivative_Jxi(self):
3226 """evaluate_derivative_Jxi(PenalizedComplexityPrior self) -> double"""
3227 return _IMP_isd.PenalizedComplexityPrior_evaluate_derivative_Jxi(self)
3230 def evaluate_derivative_alpha(self):
3231 """evaluate_derivative_alpha(PenalizedComplexityPrior self) -> double"""
3232 return _IMP_isd.PenalizedComplexityPrior_evaluate_derivative_alpha(self)
3235 def evaluate_derivative_xi(self, JJxi):
3236 """evaluate_derivative_xi(PenalizedComplexityPrior self, double JJxi) -> double"""
3237 return _IMP_isd.PenalizedComplexityPrior_evaluate_derivative_xi(self, JJxi)
3240 def set_Dxi(self, v):
3241 """set_Dxi(PenalizedComplexityPrior self, double v)"""
3242 return _IMP_isd.PenalizedComplexityPrior_set_Dxi(self, v)
3245 def set_Jxi(self, v):
3246 """set_Jxi(PenalizedComplexityPrior self, double v)"""
3247 return _IMP_isd.PenalizedComplexityPrior_set_Jxi(self, v)
3250 def set_alpha(self, v):
3251 """set_alpha(PenalizedComplexityPrior self, double v)"""
3252 return _IMP_isd.PenalizedComplexityPrior_set_alpha(self, v)
3256 """get_Dxi(PenalizedComplexityPrior self) -> double"""
3257 return _IMP_isd.PenalizedComplexityPrior_get_Dxi(self)
3261 """get_Jxi(PenalizedComplexityPrior self) -> double"""
3262 return _IMP_isd.PenalizedComplexityPrior_get_Jxi(self)
3265 def get_alpha(self):
3266 """get_alpha(PenalizedComplexityPrior self) -> double"""
3267 return _IMP_isd.PenalizedComplexityPrior_get_alpha(self)
3271 """__str__(PenalizedComplexityPrior self) -> std::string"""
3272 return _IMP_isd.PenalizedComplexityPrior___str__(self)
3276 """__repr__(PenalizedComplexityPrior self) -> std::string"""
3277 return _IMP_isd.PenalizedComplexityPrior___repr__(self)
3282 return _object_cast_to_PenalizedComplexityPrior(o)
3284 PenalizedComplexityPrior_swigregister = _IMP_isd.PenalizedComplexityPrior_swigregister
3285 PenalizedComplexityPrior_swigregister(PenalizedComplexityPrior)
3288 """Proxy of C++ IMP::isd::vonMisesKappaJeffreysRestraint class."""
3290 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3292 def __init__(self, m, kappa):
3293 """__init__(IMP::isd::vonMisesKappaJeffreysRestraint self, Model m, Particle kappa) -> vonMisesKappaJeffreysRestraint"""
3294 this = _IMP_isd.new_vonMisesKappaJeffreysRestraint(m, kappa)
3296 self.this.append(this)
3297 except __builtin__.Exception:
3301 """do_get_inputs(vonMisesKappaJeffreysRestraint self) -> IMP::ModelObjectsTemp"""
3302 return _IMP_isd.vonMisesKappaJeffreysRestraint_do_get_inputs(self)
3306 """get_version_info(vonMisesKappaJeffreysRestraint self) -> VersionInfo"""
3307 return _IMP_isd.vonMisesKappaJeffreysRestraint_get_version_info(self)
3310 def get_probability(self):
3311 """get_probability(vonMisesKappaJeffreysRestraint self) -> double"""
3312 return _IMP_isd.vonMisesKappaJeffreysRestraint_get_probability(self)
3316 """__str__(vonMisesKappaJeffreysRestraint self) -> std::string"""
3317 return _IMP_isd.vonMisesKappaJeffreysRestraint___str__(self)
3321 """__repr__(vonMisesKappaJeffreysRestraint self) -> std::string"""
3322 return _IMP_isd.vonMisesKappaJeffreysRestraint___repr__(self)
3327 return _object_cast_to_vonMisesKappaJeffreysRestraint(o)
3329 vonMisesKappaJeffreysRestraint_swigregister = _IMP_isd.vonMisesKappaJeffreysRestraint_swigregister
3330 vonMisesKappaJeffreysRestraint_swigregister(vonMisesKappaJeffreysRestraint)
3333 """Proxy of C++ IMP::isd::vonMisesKappaConjugateRestraint class."""
3335 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3337 def __init__(self, m, kappa, c=10.0, R0=0.0):
3339 __init__(IMP::isd::vonMisesKappaConjugateRestraint self, Model m, Particle kappa, double c=10.0, double R0=0.0) -> vonMisesKappaConjugateRestraint
3340 __init__(IMP::isd::vonMisesKappaConjugateRestraint self, Model m, Particle kappa, double c=10.0) -> vonMisesKappaConjugateRestraint
3341 __init__(IMP::isd::vonMisesKappaConjugateRestraint self, Model m, Particle kappa) -> vonMisesKappaConjugateRestraint
3343 this = _IMP_isd.new_vonMisesKappaConjugateRestraint(m, kappa, c, R0)
3345 self.this.append(this)
3346 except __builtin__.Exception:
3350 """do_get_inputs(vonMisesKappaConjugateRestraint self) -> IMP::ModelObjectsTemp"""
3351 return _IMP_isd.vonMisesKappaConjugateRestraint_do_get_inputs(self)
3355 """get_version_info(vonMisesKappaConjugateRestraint self) -> VersionInfo"""
3356 return _IMP_isd.vonMisesKappaConjugateRestraint_get_version_info(self)
3359 def get_probability(self):
3360 """get_probability(vonMisesKappaConjugateRestraint self) -> double"""
3361 return _IMP_isd.vonMisesKappaConjugateRestraint_get_probability(self)
3365 """__str__(vonMisesKappaConjugateRestraint self) -> std::string"""
3366 return _IMP_isd.vonMisesKappaConjugateRestraint___str__(self)
3370 """__repr__(vonMisesKappaConjugateRestraint self) -> std::string"""
3371 return _IMP_isd.vonMisesKappaConjugateRestraint___repr__(self)
3376 return _object_cast_to_vonMisesKappaConjugateRestraint(o)
3378 vonMisesKappaConjugateRestraint_swigregister = _IMP_isd.vonMisesKappaConjugateRestraint_swigregister
3379 vonMisesKappaConjugateRestraint_swigregister(vonMisesKappaConjugateRestraint)
3382 """Proxy of C++ IMP::isd::NOERestraint class."""
3384 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3386 def __init__(self, m, p0, p1, sigma, gamma, Iexp):
3387 """__init__(IMP::isd::NOERestraint self, Model m, Particle p0, Particle p1, Particle sigma, Particle gamma, double Iexp) -> NOERestraint"""
3388 this = _IMP_isd.new_NOERestraint(m, p0, p1, sigma, gamma, Iexp)
3390 self.this.append(this)
3391 except __builtin__.Exception:
3394 def get_probability(self):
3395 """get_probability(NOERestraint self) -> double"""
3396 return _IMP_isd.NOERestraint_get_probability(self)
3400 """get_chi(NOERestraint self) -> double"""
3401 return _IMP_isd.NOERestraint_get_chi(self)
3405 """do_get_inputs(NOERestraint self) -> IMP::ModelObjectsTemp"""
3406 return _IMP_isd.NOERestraint_do_get_inputs(self)
3410 """get_version_info(NOERestraint self) -> VersionInfo"""
3411 return _IMP_isd.NOERestraint_get_version_info(self)
3415 """__str__(NOERestraint self) -> std::string"""
3416 return _IMP_isd.NOERestraint___str__(self)
3420 """__repr__(NOERestraint self) -> std::string"""
3421 return _IMP_isd.NOERestraint___repr__(self)
3426 return _object_cast_to_NOERestraint(o)
3428 NOERestraint_swigregister = _IMP_isd.NOERestraint_swigregister
3429 NOERestraint_swigregister(NOERestraint)
3432 """Proxy of C++ IMP::isd::GaussianRestraint class."""
3434 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3436 def __init__(self, *args):
3438 __init__(IMP::isd::GaussianRestraint self, Particle x, Particle mu, Particle sigma) -> GaussianRestraint
3439 __init__(IMP::isd::GaussianRestraint self, double x, Particle mu, Particle sigma) -> GaussianRestraint
3440 __init__(IMP::isd::GaussianRestraint self, Particle x, double mu, Particle sigma) -> GaussianRestraint
3441 __init__(IMP::isd::GaussianRestraint self, Particle x, Particle mu, double sigma) -> GaussianRestraint
3442 __init__(IMP::isd::GaussianRestraint self, double x, double mu, Particle sigma) -> GaussianRestraint
3443 __init__(IMP::isd::GaussianRestraint self, Particle x, double mu, double sigma) -> GaussianRestraint
3444 __init__(IMP::isd::GaussianRestraint self, double x, Particle mu, double sigma) -> GaussianRestraint
3446 this = _IMP_isd.new_GaussianRestraint(*args)
3448 self.this.append(this)
3449 except __builtin__.Exception:
3452 def get_probability(self):
3453 """get_probability(GaussianRestraint self) -> double"""
3454 return _IMP_isd.GaussianRestraint_get_probability(self)
3458 """get_chi(GaussianRestraint self) -> double"""
3459 return _IMP_isd.GaussianRestraint_get_chi(self)
3463 """do_get_inputs(GaussianRestraint self) -> IMP::ModelObjectsTemp"""
3464 return _IMP_isd.GaussianRestraint_do_get_inputs(self)
3468 """get_version_info(GaussianRestraint self) -> VersionInfo"""
3469 return _IMP_isd.GaussianRestraint_get_version_info(self)
3473 """__str__(GaussianRestraint self) -> std::string"""
3474 return _IMP_isd.GaussianRestraint___str__(self)
3478 """__repr__(GaussianRestraint self) -> std::string"""
3479 return _IMP_isd.GaussianRestraint___repr__(self)
3484 return _object_cast_to_GaussianRestraint(o)
3486 GaussianRestraint_swigregister = _IMP_isd.GaussianRestraint_swigregister
3487 GaussianRestraint_swigregister(GaussianRestraint)
3490 """Proxy of C++ IMP::isd::StudentTRestraint class."""
3492 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3494 def __init__(self, *args):
3496 __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, _ParticleIndexAdaptor mu, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3497 __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, double mu, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3498 __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, _ParticleIndexAdaptor mu, double sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3499 __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, _ParticleIndexAdaptor mu, _ParticleIndexAdaptor sigma, double nu) -> StudentTRestraint
3500 __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, double mu, double sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3501 __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, double mu, _ParticleIndexAdaptor sigma, double nu) -> StudentTRestraint
3502 __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, _ParticleIndexAdaptor mu, double sigma, double nu) -> StudentTRestraint
3503 __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, double mu, double sigma, double nu) -> StudentTRestraint
3504 __init__(IMP::isd::StudentTRestraint self, Model m, double x, _ParticleIndexAdaptor mu, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3505 __init__(IMP::isd::StudentTRestraint self, Model m, double x, double mu, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3506 __init__(IMP::isd::StudentTRestraint self, Model m, double x, _ParticleIndexAdaptor mu, double sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3507 __init__(IMP::isd::StudentTRestraint self, Model m, double x, _ParticleIndexAdaptor mu, _ParticleIndexAdaptor sigma, double nu) -> StudentTRestraint
3508 __init__(IMP::isd::StudentTRestraint self, Model m, double x, double mu, double sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3509 __init__(IMP::isd::StudentTRestraint self, Model m, double x, double mu, _ParticleIndexAdaptor sigma, double nu) -> StudentTRestraint
3510 __init__(IMP::isd::StudentTRestraint self, Model m, double x, _ParticleIndexAdaptor mu, double sigma, double nu) -> StudentTRestraint
3512 this = _IMP_isd.new_StudentTRestraint(*args)
3514 self.this.append(this)
3515 except __builtin__.Exception:
3518 def get_probability(self):
3519 """get_probability(StudentTRestraint self) -> double"""
3520 return _IMP_isd.StudentTRestraint_get_probability(self)
3524 """do_get_inputs(StudentTRestraint self) -> IMP::ModelObjectsTemp"""
3525 return _IMP_isd.StudentTRestraint_do_get_inputs(self)
3529 """get_version_info(StudentTRestraint self) -> VersionInfo"""
3530 return _IMP_isd.StudentTRestraint_get_version_info(self)
3534 """__str__(StudentTRestraint self) -> std::string"""
3535 return _IMP_isd.StudentTRestraint___str__(self)
3539 """__repr__(StudentTRestraint self) -> std::string"""
3540 return _IMP_isd.StudentTRestraint___repr__(self)
3545 return _object_cast_to_StudentTRestraint(o)
3547 StudentTRestraint_swigregister = _IMP_isd.StudentTRestraint_swigregister
3548 StudentTRestraint_swigregister(StudentTRestraint)
3551 """Proxy of C++ IMP::isd::LognormalRestraint class."""
3553 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3555 def __init__(self, *args):
3557 __init__(IMP::isd::LognormalRestraint self, Particle x, Particle mu, Particle sigma) -> LognormalRestraint
3558 __init__(IMP::isd::LognormalRestraint self, double x, Particle mu, Particle sigma) -> LognormalRestraint
3559 __init__(IMP::isd::LognormalRestraint self, Particle x, double mu, Particle sigma) -> LognormalRestraint
3560 __init__(IMP::isd::LognormalRestraint self, Particle x, Particle mu, double sigma) -> LognormalRestraint
3561 __init__(IMP::isd::LognormalRestraint self, double x, double mu, Particle sigma) -> LognormalRestraint
3562 __init__(IMP::isd::LognormalRestraint self, Particle x, double mu, double sigma) -> LognormalRestraint
3563 __init__(IMP::isd::LognormalRestraint self, double x, Particle mu, double sigma) -> LognormalRestraint
3565 this = _IMP_isd.new_LognormalRestraint(*args)
3567 self.this.append(this)
3568 except __builtin__.Exception:
3571 def get_probability(self):
3572 """get_probability(LognormalRestraint self) -> double"""
3573 return _IMP_isd.LognormalRestraint_get_probability(self)
3577 """get_chi(LognormalRestraint self) -> double"""
3578 return _IMP_isd.LognormalRestraint_get_chi(self)
3582 """do_get_inputs(LognormalRestraint self) -> IMP::ModelObjectsTemp"""
3583 return _IMP_isd.LognormalRestraint_do_get_inputs(self)
3587 """get_version_info(LognormalRestraint self) -> VersionInfo"""
3588 return _IMP_isd.LognormalRestraint_get_version_info(self)
3592 """__str__(LognormalRestraint self) -> std::string"""
3593 return _IMP_isd.LognormalRestraint___str__(self)
3597 """__repr__(LognormalRestraint self) -> std::string"""
3598 return _IMP_isd.LognormalRestraint___repr__(self)
3603 return _object_cast_to_LognormalRestraint(o)
3605 LognormalRestraint_swigregister = _IMP_isd.LognormalRestraint_swigregister
3606 LognormalRestraint_swigregister(LognormalRestraint)
3609 """Proxy of C++ IMP::isd::LognormalAmbiguousRestraint class."""
3611 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3613 def __init__(self, p1, p2, ki, sigmaG):
3614 """__init__(IMP::isd::LognormalAmbiguousRestraint self, Particle p1, Particle p2, Particle ki, Particle sigmaG) -> LognormalAmbiguousRestraint"""
3615 this = _IMP_isd.new_LognormalAmbiguousRestraint(p1, p2, ki, sigmaG)
3617 self.this.append(this)
3618 except __builtin__.Exception:
3621 def add_contribution(self, lexp, omega):
3622 """add_contribution(LognormalAmbiguousRestraint self, double lexp, Particle omega)"""
3623 return _IMP_isd.LognormalAmbiguousRestraint_add_contribution(self, lexp, omega)
3626 def get_number_of_contributions(self):
3627 """get_number_of_contributions(LognormalAmbiguousRestraint self) -> unsigned int"""
3628 return _IMP_isd.LognormalAmbiguousRestraint_get_number_of_contributions(self)
3631 def draw_k_from_posterior(self, kt):
3632 """draw_k_from_posterior(LognormalAmbiguousRestraint self, double kt)"""
3633 return _IMP_isd.LognormalAmbiguousRestraint_draw_k_from_posterior(self, kt)
3636 def get_probability(self):
3637 """get_probability(LognormalAmbiguousRestraint self) -> double"""
3638 return _IMP_isd.LognormalAmbiguousRestraint_get_probability(self)
3642 """do_get_inputs(LognormalAmbiguousRestraint self) -> IMP::ModelObjectsTemp"""
3643 return _IMP_isd.LognormalAmbiguousRestraint_do_get_inputs(self)
3647 """get_version_info(LognormalAmbiguousRestraint self) -> VersionInfo"""
3648 return _IMP_isd.LognormalAmbiguousRestraint_get_version_info(self)
3652 """__str__(LognormalAmbiguousRestraint self) -> std::string"""
3653 return _IMP_isd.LognormalAmbiguousRestraint___str__(self)
3657 """__repr__(LognormalAmbiguousRestraint self) -> std::string"""
3658 return _IMP_isd.LognormalAmbiguousRestraint___repr__(self)
3663 return _object_cast_to_LognormalAmbiguousRestraint(o)
3665 LognormalAmbiguousRestraint_swigregister = _IMP_isd.LognormalAmbiguousRestraint_swigregister
3666 LognormalAmbiguousRestraint_swigregister(LognormalAmbiguousRestraint)
3669 """Proxy of C++ IMP::isd::AmbiguousNOERestraint 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, m, pc, sigma, gamma, Iexp):
3674 """__init__(IMP::isd::AmbiguousNOERestraint self, Model m, PairContainer pc, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor gamma, double Iexp) -> AmbiguousNOERestraint"""
3675 this = _IMP_isd.new_AmbiguousNOERestraint(m, pc, sigma, gamma, Iexp)
3677 self.this.append(this)
3678 except __builtin__.Exception:
3681 def get_probability(self):
3682 """get_probability(AmbiguousNOERestraint self) -> double"""
3683 return _IMP_isd.AmbiguousNOERestraint_get_probability(self)
3687 """get_chi(AmbiguousNOERestraint self) -> double"""
3688 return _IMP_isd.AmbiguousNOERestraint_get_chi(self)
3692 """do_get_inputs(AmbiguousNOERestraint self) -> IMP::ModelObjectsTemp"""
3693 return _IMP_isd.AmbiguousNOERestraint_do_get_inputs(self)
3697 """get_version_info(AmbiguousNOERestraint self) -> VersionInfo"""
3698 return _IMP_isd.AmbiguousNOERestraint_get_version_info(self)
3702 """__str__(AmbiguousNOERestraint self) -> std::string"""
3703 return _IMP_isd.AmbiguousNOERestraint___str__(self)
3707 """__repr__(AmbiguousNOERestraint self) -> std::string"""
3708 return _IMP_isd.AmbiguousNOERestraint___repr__(self)
3713 return _object_cast_to_AmbiguousNOERestraint(o)
3715 AmbiguousNOERestraint_swigregister = _IMP_isd.AmbiguousNOERestraint_swigregister
3716 AmbiguousNOERestraint_swigregister(AmbiguousNOERestraint)
3719 """Proxy of C++ IMP::isd::MarginalNOERestraint class."""
3721 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3723 def __init__(self, m):
3724 """__init__(IMP::isd::MarginalNOERestraint self, Model m) -> MarginalNOERestraint"""
3725 this = _IMP_isd.new_MarginalNOERestraint(m)
3727 self.this.append(this)
3728 except __builtin__.Exception:
3731 def add_contribution(self, *args):
3733 add_contribution(MarginalNOERestraint self, Particle p1, Particle p2, double Iexp)
3734 add_contribution(MarginalNOERestraint self, PairContainer pc, double Iexp)
3736 return _IMP_isd.MarginalNOERestraint_add_contribution(self, *args)
3739 def get_log_gammahat(self):
3740 """get_log_gammahat(MarginalNOERestraint self) -> double"""
3741 return _IMP_isd.MarginalNOERestraint_get_log_gammahat(self)
3745 """get_SS(MarginalNOERestraint self) -> double"""
3746 return _IMP_isd.MarginalNOERestraint_get_SS(self)
3749 def get_number_of_contributions(self):
3750 """get_number_of_contributions(MarginalNOERestraint self) -> unsigned int"""
3751 return _IMP_isd.MarginalNOERestraint_get_number_of_contributions(self)
3754 def get_probability(self):
3755 """get_probability(MarginalNOERestraint self) -> double"""
3756 return _IMP_isd.MarginalNOERestraint_get_probability(self)
3760 """do_get_inputs(MarginalNOERestraint self) -> IMP::ModelObjectsTemp"""
3761 return _IMP_isd.MarginalNOERestraint_do_get_inputs(self)
3765 """get_version_info(MarginalNOERestraint self) -> VersionInfo"""
3766 return _IMP_isd.MarginalNOERestraint_get_version_info(self)
3770 """__str__(MarginalNOERestraint self) -> std::string"""
3771 return _IMP_isd.MarginalNOERestraint___str__(self)
3775 """__repr__(MarginalNOERestraint self) -> std::string"""
3776 return _IMP_isd.MarginalNOERestraint___repr__(self)
3781 return _object_cast_to_MarginalNOERestraint(o)
3783 MarginalNOERestraint_swigregister = _IMP_isd.MarginalNOERestraint_swigregister
3784 MarginalNOERestraint_swigregister(MarginalNOERestraint)
3787 """Proxy of C++ IMP::isd::MarginalHBondRestraint class."""
3789 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3791 def __init__(self, m):
3792 """__init__(IMP::isd::MarginalHBondRestraint self, Model m) -> MarginalHBondRestraint"""
3793 this = _IMP_isd.new_MarginalHBondRestraint(m)
3795 self.this.append(this)
3796 except __builtin__.Exception:
3799 def add_contribution(self, *args):
3801 add_contribution(MarginalHBondRestraint self, Particle p1, Particle p2, double Iexp)
3802 add_contribution(MarginalHBondRestraint self, PairContainer pc, double Iexp)
3804 return _IMP_isd.MarginalHBondRestraint_add_contribution(self, *args)
3807 def get_logsquares(self):
3808 """get_logsquares(MarginalHBondRestraint self) -> double"""
3809 return _IMP_isd.MarginalHBondRestraint_get_logsquares(self)
3812 def get_number_of_contributions(self):
3813 """get_number_of_contributions(MarginalHBondRestraint self) -> unsigned int"""
3814 return _IMP_isd.MarginalHBondRestraint_get_number_of_contributions(self)
3817 def get_probability(self):
3818 """get_probability(MarginalHBondRestraint self) -> double"""
3819 return _IMP_isd.MarginalHBondRestraint_get_probability(self)
3823 """do_get_inputs(MarginalHBondRestraint self) -> IMP::ModelObjectsTemp"""
3824 return _IMP_isd.MarginalHBondRestraint_do_get_inputs(self)
3828 """get_version_info(MarginalHBondRestraint self) -> VersionInfo"""
3829 return _IMP_isd.MarginalHBondRestraint_get_version_info(self)
3833 """__str__(MarginalHBondRestraint self) -> std::string"""
3834 return _IMP_isd.MarginalHBondRestraint___str__(self)
3838 """__repr__(MarginalHBondRestraint self) -> std::string"""
3839 return _IMP_isd.MarginalHBondRestraint___repr__(self)
3844 return _object_cast_to_MarginalHBondRestraint(o)
3846 MarginalHBondRestraint_swigregister = _IMP_isd.MarginalHBondRestraint_swigregister
3847 MarginalHBondRestraint_swigregister(MarginalHBondRestraint)
3850 """Proxy of C++ IMP::isd::TALOSRestraint class."""
3852 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3854 def __init__(self, *args):
3856 __init__(IMP::isd::TALOSRestraint self, Model m, IMP::Particles p, IMP::Floats data, Particle kappa) -> TALOSRestraint
3857 __init__(IMP::isd::TALOSRestraint self, Model m, Particle p1, Particle p2, Particle p3, Particle p4, IMP::Floats data, Particle kappa) -> TALOSRestraint
3858 __init__(IMP::isd::TALOSRestraint self, Model m, IMP::Particles p, unsigned int N, double R0, double chiexp, Particle kappa) -> TALOSRestraint
3859 __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
3861 this = _IMP_isd.new_TALOSRestraint(*args)
3863 self.this.append(this)
3864 except __builtin__.Exception:
3867 def get_probability(self):
3868 """get_probability(TALOSRestraint self) -> double"""
3869 return _IMP_isd.TALOSRestraint_get_probability(self)
3873 """get_R0(TALOSRestraint self) -> double"""
3874 return _IMP_isd.TALOSRestraint_get_R0(self)
3877 def get_chiexp(self):
3878 """get_chiexp(TALOSRestraint self) -> double"""
3879 return _IMP_isd.TALOSRestraint_get_chiexp(self)
3883 """do_get_inputs(TALOSRestraint self) -> IMP::ModelObjectsTemp"""
3884 return _IMP_isd.TALOSRestraint_do_get_inputs(self)
3888 """get_version_info(TALOSRestraint self) -> VersionInfo"""
3889 return _IMP_isd.TALOSRestraint_get_version_info(self)
3893 """__str__(TALOSRestraint self) -> std::string"""
3894 return _IMP_isd.TALOSRestraint___str__(self)
3898 """__repr__(TALOSRestraint self) -> std::string"""
3899 return _IMP_isd.TALOSRestraint___repr__(self)
3904 return _object_cast_to_TALOSRestraint(o)
3906 TALOSRestraint_swigregister = _IMP_isd.TALOSRestraint_swigregister
3907 TALOSRestraint_swigregister(TALOSRestraint)
3910 """Proxy of C++ IMP::isd::RepulsiveDistancePairScore 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, d0, k):
3915 """__init__(IMP::isd::RepulsiveDistancePairScore self, double d0, double k) -> RepulsiveDistancePairScore"""
3916 this = _IMP_isd.new_RepulsiveDistancePairScore(d0, k)
3918 self.this.append(this)
3919 except __builtin__.Exception:
3922 def get_rest_length(self):
3923 """get_rest_length(RepulsiveDistancePairScore self) -> double"""
3924 return _IMP_isd.RepulsiveDistancePairScore_get_rest_length(self)
3927 def get_stiffness(self):
3928 """get_stiffness(RepulsiveDistancePairScore self) -> double"""
3929 return _IMP_isd.RepulsiveDistancePairScore_get_stiffness(self)
3933 """do_get_inputs(RepulsiveDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3934 return _IMP_isd.RepulsiveDistancePairScore_do_get_inputs(self, m, pis)
3938 """get_version_info(RepulsiveDistancePairScore self) -> VersionInfo"""
3939 return _IMP_isd.RepulsiveDistancePairScore_get_version_info(self)
3943 """__str__(RepulsiveDistancePairScore self) -> std::string"""
3944 return _IMP_isd.RepulsiveDistancePairScore___str__(self)
3948 """__repr__(RepulsiveDistancePairScore self) -> std::string"""
3949 return _IMP_isd.RepulsiveDistancePairScore___repr__(self)
3954 return _object_cast_to_RepulsiveDistancePairScore(o)
3956 RepulsiveDistancePairScore_swigregister = _IMP_isd.RepulsiveDistancePairScore_swigregister
3957 RepulsiveDistancePairScore_swigregister(RepulsiveDistancePairScore)
3960 """Proxy of C++ IMP::isd::AmbiguousRestraint class."""
3962 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3964 def __init__(self, *args):
3966 __init__(IMP::isd::AmbiguousRestraint self, Model m, int d, Restraint r0, Restraint r1) -> AmbiguousRestraint
3967 __init__(IMP::isd::AmbiguousRestraint self, Model m, int d, IMP::Restraints rs) -> AmbiguousRestraint
3969 this = _IMP_isd.new_AmbiguousRestraint(*args)
3971 self.this.append(this)
3972 except __builtin__.Exception:
3975 def get_probability(self):
3976 """get_probability(AmbiguousRestraint self) -> double"""
3977 return _IMP_isd.AmbiguousRestraint_get_probability(self)
3981 """do_get_inputs(AmbiguousRestraint self) -> IMP::ModelObjectsTemp"""
3982 return _IMP_isd.AmbiguousRestraint_do_get_inputs(self)
3986 """get_version_info(AmbiguousRestraint self) -> VersionInfo"""
3987 return _IMP_isd.AmbiguousRestraint_get_version_info(self)
3991 """__str__(AmbiguousRestraint self) -> std::string"""
3992 return _IMP_isd.AmbiguousRestraint___str__(self)
3996 """__repr__(AmbiguousRestraint self) -> std::string"""
3997 return _IMP_isd.AmbiguousRestraint___repr__(self)
4002 return _object_cast_to_AmbiguousRestraint(o)
4004 AmbiguousRestraint_swigregister = _IMP_isd.AmbiguousRestraint_swigregister
4005 AmbiguousRestraint_swigregister(AmbiguousRestraint)
4007 IMP_ISD_UNIVARIATE_FUNCTIONS_MINIMUM = _IMP_isd.IMP_ISD_UNIVARIATE_FUNCTIONS_MINIMUM
4009 """Proxy of C++ IMP::isd::UnivariateFunction class."""
4011 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4013 def __init__(self, *args, **kwargs):
4014 raise AttributeError(
"No constructor defined - class is abstract")
4016 def __call__(self, *args):
4018 __call__(UnivariateFunction self, IMP::Floats const & x) -> IMP::Floats
4019 __call__(UnivariateFunction self, IMP::FloatsList const & xlist) -> Eigen::VectorXd
4020 __call__(UnivariateFunction self, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
4022 return _IMP_isd.UnivariateFunction___call__(self, *args)
4025 def has_changed(self):
4026 """has_changed(UnivariateFunction self) -> bool"""
4027 return _IMP_isd.UnivariateFunction_has_changed(self)
4031 """update(UnivariateFunction self)"""
4032 return _IMP_isd.UnivariateFunction_update(self)
4035 def add_to_derivatives(self, x, accum):
4036 """add_to_derivatives(UnivariateFunction self, IMP::Floats const & x, DerivativeAccumulator accum)"""
4037 return _IMP_isd.UnivariateFunction_add_to_derivatives(self, x, accum)
4040 def add_to_particle_derivative(self, particle_no, value, accum):
4041 """add_to_particle_derivative(UnivariateFunction self, unsigned int particle_no, double value, DerivativeAccumulator accum)"""
4042 return _IMP_isd.UnivariateFunction_add_to_particle_derivative(self, particle_no, value, accum)
4045 def get_derivative_vector(self, particle_no, xlist):
4046 """get_derivative_vector(UnivariateFunction self, unsigned int particle_no, IMP::FloatsList const & xlist) -> Eigen::VectorXd"""
4047 return _IMP_isd.UnivariateFunction_get_derivative_vector(self, particle_no, xlist)
4050 def get_derivative_matrix(self, xlist, stupid):
4051 """get_derivative_matrix(UnivariateFunction self, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList"""
4052 return _IMP_isd.UnivariateFunction_get_derivative_matrix(self, xlist, stupid)
4055 def get_second_derivative_vector(self, *args):
4057 get_second_derivative_vector(UnivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> Eigen::VectorXd
4058 get_second_derivative_vector(UnivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
4060 return _IMP_isd.UnivariateFunction_get_second_derivative_vector(self, *args)
4063 def get_ndims_x(self):
4064 """get_ndims_x(UnivariateFunction self) -> unsigned int"""
4065 return _IMP_isd.UnivariateFunction_get_ndims_x(self)
4068 def get_ndims_y(self):
4069 """get_ndims_y(UnivariateFunction self) -> unsigned int"""
4070 return _IMP_isd.UnivariateFunction_get_ndims_y(self)
4073 def get_number_of_particles(self):
4074 """get_number_of_particles(UnivariateFunction self) -> unsigned int"""
4075 return _IMP_isd.UnivariateFunction_get_number_of_particles(self)
4078 def get_particle_is_optimized(self, particle_no):
4079 """get_particle_is_optimized(UnivariateFunction self, unsigned int particle_no) -> bool"""
4080 return _IMP_isd.UnivariateFunction_get_particle_is_optimized(self, particle_no)
4083 def get_number_of_optimized_particles(self):
4084 """get_number_of_optimized_particles(UnivariateFunction self) -> unsigned int"""
4085 return _IMP_isd.UnivariateFunction_get_number_of_optimized_particles(self)
4089 """get_inputs(UnivariateFunction self) -> IMP::ModelObjectsTemp"""
4090 return _IMP_isd.UnivariateFunction_get_inputs(self)
4092 __swig_destroy__ = _IMP_isd.delete_UnivariateFunction
4093 __del__ =
lambda self:
None
4096 """__str__(UnivariateFunction self) -> std::string"""
4097 return _IMP_isd.UnivariateFunction___str__(self)
4101 """__repr__(UnivariateFunction self) -> std::string"""
4102 return _IMP_isd.UnivariateFunction___repr__(self)
4107 return _object_cast_to_UnivariateFunction(o)
4109 UnivariateFunction_swigregister = _IMP_isd.UnivariateFunction_swigregister
4110 UnivariateFunction_swigregister(UnivariateFunction)
4112 class Linear1DFunction(UnivariateFunction):
4113 """Proxy of C++ IMP::isd::Linear1DFunction class."""
4115 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4117 def __init__(self, a, b):
4118 """__init__(IMP::isd::Linear1DFunction self, Particle a, Particle b) -> Linear1DFunction"""
4119 this = _IMP_isd.new_Linear1DFunction(a, b)
4121 self.this.append(this)
4122 except __builtin__.Exception:
4125 def __call__(self, *args):
4127 __call__(Linear1DFunction self, IMP::Floats const & x) -> IMP::Floats
4128 __call__(Linear1DFunction self, IMP::FloatsList const & xlist) -> Eigen::VectorXd
4129 __call__(Linear1DFunction self, IMP::FloatsList const & xlist, bool arg3) -> IMP::FloatsList
4131 return _IMP_isd.Linear1DFunction___call__(self, *args)
4134 def get_second_derivative_vector(self, *args):
4136 get_second_derivative_vector(Linear1DFunction self, unsigned int arg2, unsigned int arg3, IMP::FloatsList const & xlist) -> Eigen::VectorXd
4137 get_second_derivative_vector(Linear1DFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool arg5) -> IMP::FloatsList
4139 return _IMP_isd.Linear1DFunction_get_second_derivative_vector(self, *args)
4143 """get_version_info(Linear1DFunction self) -> VersionInfo"""
4144 return _IMP_isd.Linear1DFunction_get_version_info(self)
4148 """__str__(Linear1DFunction self) -> std::string"""
4149 return _IMP_isd.Linear1DFunction___str__(self)
4153 """__repr__(Linear1DFunction self) -> std::string"""
4154 return _IMP_isd.Linear1DFunction___repr__(self)
4159 return _object_cast_to_Linear1DFunction(o)
4161 Linear1DFunction_swigregister = _IMP_isd.Linear1DFunction_swigregister
4162 Linear1DFunction_swigregister(Linear1DFunction)
4164 class GeneralizedGuinierPorodFunction(UnivariateFunction):
4165 """Proxy of C++ IMP::isd::GeneralizedGuinierPorodFunction class."""
4167 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4169 def __init__(self, G, Rg, d, s, A):
4170 """__init__(IMP::isd::GeneralizedGuinierPorodFunction self, Particle G, Particle Rg, Particle d, Particle s, Particle A) -> GeneralizedGuinierPorodFunction"""
4171 this = _IMP_isd.new_GeneralizedGuinierPorodFunction(G, Rg, d, s, A)
4173 self.this.append(this)
4174 except __builtin__.Exception:
4177 def __call__(self, *args):
4179 __call__(GeneralizedGuinierPorodFunction self, IMP::Floats const & x) -> IMP::Floats
4180 __call__(GeneralizedGuinierPorodFunction self, IMP::FloatsList const & xlist) -> Eigen::VectorXd
4181 __call__(GeneralizedGuinierPorodFunction self, IMP::FloatsList const & xlist, bool arg3) -> IMP::FloatsList
4183 return _IMP_isd.GeneralizedGuinierPorodFunction___call__(self, *args)
4186 def get_second_derivative_vector(self, *args):
4188 get_second_derivative_vector(GeneralizedGuinierPorodFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> Eigen::VectorXd
4189 get_second_derivative_vector(GeneralizedGuinierPorodFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool arg5) -> IMP::FloatsList
4191 return _IMP_isd.GeneralizedGuinierPorodFunction_get_second_derivative_vector(self, *args)
4195 """get_version_info(GeneralizedGuinierPorodFunction self) -> VersionInfo"""
4196 return _IMP_isd.GeneralizedGuinierPorodFunction_get_version_info(self)
4200 """__str__(GeneralizedGuinierPorodFunction self) -> std::string"""
4201 return _IMP_isd.GeneralizedGuinierPorodFunction___str__(self)
4205 """__repr__(GeneralizedGuinierPorodFunction self) -> std::string"""
4206 return _IMP_isd.GeneralizedGuinierPorodFunction___repr__(self)
4211 return _object_cast_to_GeneralizedGuinierPorodFunction(o)
4213 GeneralizedGuinierPorodFunction_swigregister = _IMP_isd.GeneralizedGuinierPorodFunction_swigregister
4214 GeneralizedGuinierPorodFunction_swigregister(GeneralizedGuinierPorodFunction)
4216 IMP_ISD_BIVARIATE_FUNCTIONS_MINIMUM = _IMP_isd.IMP_ISD_BIVARIATE_FUNCTIONS_MINIMUM
4218 """Proxy of C++ IMP::isd::BivariateFunction class."""
4220 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4222 def __init__(self, *args, **kwargs):
4223 raise AttributeError(
"No constructor defined - class is abstract")
4225 def __call__(self, *args):
4227 __call__(BivariateFunction self, IMP::Floats const & x1, IMP::Floats const & x2) -> IMP::Floats
4228 __call__(BivariateFunction self, IMP::FloatsList const & xlist) -> Eigen::MatrixXd
4229 __call__(BivariateFunction self, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
4231 return _IMP_isd.BivariateFunction___call__(self, *args)
4234 def has_changed(self):
4235 """has_changed(BivariateFunction self) -> bool"""
4236 return _IMP_isd.BivariateFunction_has_changed(self)
4240 """update(BivariateFunction self)"""
4241 return _IMP_isd.BivariateFunction_update(self)
4244 def add_to_derivatives(self, x1, x2, accum):
4245 """add_to_derivatives(BivariateFunction self, IMP::Floats const & x1, IMP::Floats const & x2, DerivativeAccumulator accum)"""
4246 return _IMP_isd.BivariateFunction_add_to_derivatives(self, x1, x2, accum)
4249 def add_to_particle_derivative(self, particle_no, value, accum):
4250 """add_to_particle_derivative(BivariateFunction self, unsigned int particle_no, double value, DerivativeAccumulator accum)"""
4251 return _IMP_isd.BivariateFunction_add_to_particle_derivative(self, particle_no, value, accum)
4254 def get_derivative_matrix(self, *args):
4256 get_derivative_matrix(BivariateFunction self, unsigned int particle_no, IMP::FloatsList const & xlist) -> Eigen::MatrixXd
4257 get_derivative_matrix(BivariateFunction self, unsigned int particle_no, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
4259 return _IMP_isd.BivariateFunction_get_derivative_matrix(self, *args)
4262 def get_second_derivative_matrix(self, *args):
4264 get_second_derivative_matrix(BivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> Eigen::MatrixXd
4265 get_second_derivative_matrix(BivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
4267 return _IMP_isd.BivariateFunction_get_second_derivative_matrix(self, *args)
4270 def get_ndims_x1(self):
4271 """get_ndims_x1(BivariateFunction self) -> unsigned int"""
4272 return _IMP_isd.BivariateFunction_get_ndims_x1(self)
4275 def get_ndims_x2(self):
4276 """get_ndims_x2(BivariateFunction self) -> unsigned int"""
4277 return _IMP_isd.BivariateFunction_get_ndims_x2(self)
4280 def get_ndims_y(self):
4281 """get_ndims_y(BivariateFunction self) -> unsigned int"""
4282 return _IMP_isd.BivariateFunction_get_ndims_y(self)
4285 def get_number_of_particles(self):
4286 """get_number_of_particles(BivariateFunction self) -> unsigned int"""
4287 return _IMP_isd.BivariateFunction_get_number_of_particles(self)
4290 def get_particle_is_optimized(self, particle_no):
4291 """get_particle_is_optimized(BivariateFunction self, unsigned int particle_no) -> bool"""
4292 return _IMP_isd.BivariateFunction_get_particle_is_optimized(self, particle_no)
4295 def get_number_of_optimized_particles(self):
4296 """get_number_of_optimized_particles(BivariateFunction self) -> unsigned int"""
4297 return _IMP_isd.BivariateFunction_get_number_of_optimized_particles(self)
4301 """get_inputs(BivariateFunction self) -> IMP::ModelObjectsTemp"""
4302 return _IMP_isd.BivariateFunction_get_inputs(self)
4304 __swig_destroy__ = _IMP_isd.delete_BivariateFunction
4305 __del__ =
lambda self:
None
4308 """__str__(BivariateFunction self) -> std::string"""
4309 return _IMP_isd.BivariateFunction___str__(self)
4313 """__repr__(BivariateFunction self) -> std::string"""
4314 return _IMP_isd.BivariateFunction___repr__(self)
4319 return _object_cast_to_BivariateFunction(o)
4321 BivariateFunction_swigregister = _IMP_isd.BivariateFunction_swigregister
4322 BivariateFunction_swigregister(BivariateFunction)
4324 class Covariance1DFunction(BivariateFunction):
4325 """Proxy of C++ IMP::isd::Covariance1DFunction class."""
4327 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4329 def __init__(self, tau, ilambda, alpha=2.0, jitter=0.0, cutoff=1e-7):
4331 __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda, double alpha=2.0, double jitter=0.0, double cutoff=1e-7) -> Covariance1DFunction
4332 __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda, double alpha=2.0, double jitter=0.0) -> Covariance1DFunction
4333 __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda, double alpha=2.0) -> Covariance1DFunction
4334 __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda) -> Covariance1DFunction
4336 this = _IMP_isd.new_Covariance1DFunction(tau, ilambda, alpha, jitter, cutoff)
4338 self.this.append(this)
4339 except __builtin__.Exception:
4342 def __call__(self, *args):
4344 __call__(Covariance1DFunction self, IMP::Floats const & x1, IMP::Floats const & x2) -> IMP::Floats
4345 __call__(Covariance1DFunction self, IMP::FloatsList const & xlist) -> Eigen::MatrixXd
4346 __call__(Covariance1DFunction self, IMP::FloatsList const & xlist, bool arg3) -> IMP::FloatsList
4348 return _IMP_isd.Covariance1DFunction___call__(self, *args)
4351 def get_derivative_matrix(self, *args):
4353 get_derivative_matrix(Covariance1DFunction self, unsigned int particle_no, IMP::FloatsList const & xlist) -> Eigen::MatrixXd
4354 get_derivative_matrix(Covariance1DFunction self, unsigned int particle_no, IMP::FloatsList const & xlist, bool arg4) -> IMP::FloatsList
4356 return _IMP_isd.Covariance1DFunction_get_derivative_matrix(self, *args)
4359 def get_second_derivative_matrix(self, *args):
4361 get_second_derivative_matrix(Covariance1DFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> Eigen::MatrixXd
4362 get_second_derivative_matrix(Covariance1DFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool arg5) -> IMP::FloatsList
4364 return _IMP_isd.Covariance1DFunction_get_second_derivative_matrix(self, *args)
4368 """get_version_info(Covariance1DFunction self) -> VersionInfo"""
4369 return _IMP_isd.Covariance1DFunction_get_version_info(self)
4373 """__str__(Covariance1DFunction self) -> std::string"""
4374 return _IMP_isd.Covariance1DFunction___str__(self)
4378 """__repr__(Covariance1DFunction self) -> std::string"""
4379 return _IMP_isd.Covariance1DFunction___repr__(self)
4384 return _object_cast_to_Covariance1DFunction(o)
4386 Covariance1DFunction_swigregister = _IMP_isd.Covariance1DFunction_swigregister
4387 Covariance1DFunction_swigregister(Covariance1DFunction)
4389 class GaussianProcessInterpolation(
IMP.Object):
4390 """Proxy of C++ IMP::isd::GaussianProcessInterpolation class."""
4392 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4394 def __init__(self, x, sample_mean, sample_std, n_obs, mean_function, covariance_function, sigma, sparse_cutoff=1e-7):
4396 __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
4397 __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
4399 this = _IMP_isd.new_GaussianProcessInterpolation(x, sample_mean, sample_std, n_obs, mean_function, covariance_function, sigma, sparse_cutoff)
4401 self.this.append(this)
4402 except __builtin__.Exception:
4405 def get_posterior_mean(self, x):
4406 """get_posterior_mean(GaussianProcessInterpolation self, IMP::Floats x) -> double"""
4407 return _IMP_isd.GaussianProcessInterpolation_get_posterior_mean(self, x)
4410 def get_posterior_covariance(self, x1, x2):
4411 """get_posterior_covariance(GaussianProcessInterpolation self, IMP::Floats x1, IMP::Floats x2) -> double"""
4412 return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance(self, x1, x2)
4415 def get_posterior_covariance_matrix(self, x, arg3):
4416 """get_posterior_covariance_matrix(GaussianProcessInterpolation self, IMP::FloatsList x, bool arg3) -> IMP::FloatsList"""
4417 return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance_matrix(self, x, arg3)
4420 def get_posterior_covariance_derivative(self, x, arg3):
4421 """get_posterior_covariance_derivative(GaussianProcessInterpolation self, IMP::Floats x, bool arg3) -> IMP::Floats"""
4422 return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance_derivative(self, x, arg3)
4425 def get_posterior_covariance_hessian(self, x, arg3):
4426 """get_posterior_covariance_hessian(GaussianProcessInterpolation self, IMP::Floats x, bool arg3) -> IMP::FloatsList"""
4427 return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance_hessian(self, x, arg3)
4431 """get_inputs(GaussianProcessInterpolation self) -> IMP::ModelObjectsTemp"""
4432 return _IMP_isd.GaussianProcessInterpolation_get_inputs(self)
4435 def force_mean_update(self):
4436 """force_mean_update(GaussianProcessInterpolation self)"""
4437 return _IMP_isd.GaussianProcessInterpolation_force_mean_update(self)
4440 def force_covariance_update(self):
4441 """force_covariance_update(GaussianProcessInterpolation self)"""
4442 return _IMP_isd.GaussianProcessInterpolation_force_covariance_update(self)
4445 def get_number_of_m_particles(self):
4446 """get_number_of_m_particles(GaussianProcessInterpolation self) -> unsigned int"""
4447 return _IMP_isd.GaussianProcessInterpolation_get_number_of_m_particles(self)
4450 def get_m_particle_is_optimized(self, i):
4451 """get_m_particle_is_optimized(GaussianProcessInterpolation self, unsigned int i) -> bool"""
4452 return _IMP_isd.GaussianProcessInterpolation_get_m_particle_is_optimized(self, i)
4455 def get_number_of_Omega_particles(self):
4456 """get_number_of_Omega_particles(GaussianProcessInterpolation self) -> unsigned int"""
4457 return _IMP_isd.GaussianProcessInterpolation_get_number_of_Omega_particles(self)
4460 def get_Omega_particle_is_optimized(self, i):
4461 """get_Omega_particle_is_optimized(GaussianProcessInterpolation self, unsigned int i) -> bool"""
4462 return _IMP_isd.GaussianProcessInterpolation_get_Omega_particle_is_optimized(self, i)
4465 def get_data_abscissa(self):
4466 """get_data_abscissa(GaussianProcessInterpolation self) -> IMP::FloatsList"""
4467 return _IMP_isd.GaussianProcessInterpolation_get_data_abscissa(self)
4470 def get_data_mean(self):
4471 """get_data_mean(GaussianProcessInterpolation self) -> IMP::Floats"""
4472 return _IMP_isd.GaussianProcessInterpolation_get_data_mean(self)
4475 def get_data_variance(self):
4476 """get_data_variance(GaussianProcessInterpolation self) -> IMP::FloatsList"""
4477 return _IMP_isd.GaussianProcessInterpolation_get_data_variance(self)
4481 """get_version_info(GaussianProcessInterpolation self) -> VersionInfo"""
4482 return _IMP_isd.GaussianProcessInterpolation_get_version_info(self)
4486 """__str__(GaussianProcessInterpolation self) -> std::string"""
4487 return _IMP_isd.GaussianProcessInterpolation___str__(self)
4491 """__repr__(GaussianProcessInterpolation self) -> std::string"""
4492 return _IMP_isd.GaussianProcessInterpolation___repr__(self)
4497 return _object_cast_to_GaussianProcessInterpolation(o)
4499 GaussianProcessInterpolation_swigregister = _IMP_isd.GaussianProcessInterpolation_swigregister
4500 GaussianProcessInterpolation_swigregister(GaussianProcessInterpolation)
4503 """Proxy of C++ IMP::isd::GaussianProcessInterpolationRestraint class."""
4505 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4507 def __init__(self, m, gpi):
4508 """__init__(IMP::isd::GaussianProcessInterpolationRestraint self, Model m, GaussianProcessInterpolation gpi) -> GaussianProcessInterpolationRestraint"""
4509 this = _IMP_isd.new_GaussianProcessInterpolationRestraint(m, gpi)
4511 self.this.append(this)
4512 except __builtin__.Exception:
4515 def get_probability(self):
4516 """get_probability(GaussianProcessInterpolationRestraint self) -> double"""
4517 return _IMP_isd.GaussianProcessInterpolationRestraint_get_probability(self)
4520 def set_use_cg(self, use, tol):
4521 """set_use_cg(GaussianProcessInterpolationRestraint self, bool use, double tol)"""
4522 return _IMP_isd.GaussianProcessInterpolationRestraint_set_use_cg(self, use, tol)
4525 def get_minus_log_normalization(self):
4526 """get_minus_log_normalization(GaussianProcessInterpolationRestraint self) -> double"""
4527 return _IMP_isd.GaussianProcessInterpolationRestraint_get_minus_log_normalization(self)
4530 def get_minus_exponent(self):
4531 """get_minus_exponent(GaussianProcessInterpolationRestraint self) -> double"""
4532 return _IMP_isd.GaussianProcessInterpolationRestraint_get_minus_exponent(self)
4535 def get_logdet_hessian(self):
4536 """get_logdet_hessian(GaussianProcessInterpolationRestraint self) -> double"""
4537 return _IMP_isd.GaussianProcessInterpolationRestraint_get_logdet_hessian(self)
4540 def get_hessian(self, *args):
4542 get_hessian(GaussianProcessInterpolationRestraint self) -> Eigen::MatrixXd
4543 get_hessian(GaussianProcessInterpolationRestraint self, bool unused) -> IMP::FloatsList
4545 return _IMP_isd.GaussianProcessInterpolationRestraint_get_hessian(self, *args)
4549 """do_get_inputs(GaussianProcessInterpolationRestraint self) -> IMP::ModelObjectsTemp"""
4550 return _IMP_isd.GaussianProcessInterpolationRestraint_do_get_inputs(self)
4554 """get_version_info(GaussianProcessInterpolationRestraint self) -> VersionInfo"""
4555 return _IMP_isd.GaussianProcessInterpolationRestraint_get_version_info(self)
4559 """__str__(GaussianProcessInterpolationRestraint self) -> std::string"""
4560 return _IMP_isd.GaussianProcessInterpolationRestraint___str__(self)
4564 """__repr__(GaussianProcessInterpolationRestraint self) -> std::string"""
4565 return _IMP_isd.GaussianProcessInterpolationRestraint___repr__(self)
4570 return _object_cast_to_GaussianProcessInterpolationRestraint(o)
4572 GaussianProcessInterpolationRestraint_swigregister = _IMP_isd.GaussianProcessInterpolationRestraint_swigregister
4573 GaussianProcessInterpolationRestraint_swigregister(GaussianProcessInterpolationRestraint)
4576 """Proxy of C++ IMP::isd::MolecularDynamics class."""
4578 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4580 def __init__(self, m=None):
4582 __init__(IMP::isd::MolecularDynamics self, Model m=None) -> MolecularDynamics
4583 __init__(IMP::isd::MolecularDynamics self) -> MolecularDynamics
4585 this = _IMP_isd.new_MolecularDynamics(m)
4587 self.this.append(this)
4588 except __builtin__.Exception:
4592 """__str__(MolecularDynamics self) -> std::string"""
4593 return _IMP_isd.MolecularDynamics___str__(self)
4597 """__repr__(MolecularDynamics self) -> std::string"""
4598 return _IMP_isd.MolecularDynamics___repr__(self)
4603 return _object_cast_to_MolecularDynamics(o)
4605 __swig_destroy__ = _IMP_isd.delete_MolecularDynamics
4606 __del__ =
lambda self:
None
4607 MolecularDynamics_swigregister = _IMP_isd.MolecularDynamics_swigregister
4608 MolecularDynamics_swigregister(MolecularDynamics)
4611 """Proxy of C++ IMP::isd::MolecularDynamicsMover class."""
4613 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4615 def __init__(self, m, nsteps=100, timestep=1.):
4617 __init__(IMP::isd::MolecularDynamicsMover self, Model m, unsigned int nsteps=100, IMP::Float timestep=1.) -> MolecularDynamicsMover
4618 __init__(IMP::isd::MolecularDynamicsMover self, Model m, unsigned int nsteps=100) -> MolecularDynamicsMover
4619 __init__(IMP::isd::MolecularDynamicsMover self, Model m) -> MolecularDynamicsMover
4621 this = _IMP_isd.new_MolecularDynamicsMover(m, nsteps, timestep)
4623 self.this.append(this)
4624 except __builtin__.Exception:
4628 """get_md(MolecularDynamicsMover self) -> MolecularDynamics"""
4629 return _IMP_isd.MolecularDynamicsMover_get_md(self)
4632 def get_number_of_md_steps(self):
4633 """get_number_of_md_steps(MolecularDynamicsMover self) -> unsigned int"""
4634 return _IMP_isd.MolecularDynamicsMover_get_number_of_md_steps(self)
4637 def set_number_of_md_steps(self, nsteps):
4638 """set_number_of_md_steps(MolecularDynamicsMover self, unsigned int nsteps)"""
4639 return _IMP_isd.MolecularDynamicsMover_set_number_of_md_steps(self, nsteps)
4643 """get_version_info(MolecularDynamicsMover self) -> VersionInfo"""
4644 return _IMP_isd.MolecularDynamicsMover_get_version_info(self)
4648 """__str__(MolecularDynamicsMover self) -> std::string"""
4649 return _IMP_isd.MolecularDynamicsMover___str__(self)
4653 """__repr__(MolecularDynamicsMover self) -> std::string"""
4654 return _IMP_isd.MolecularDynamicsMover___repr__(self)
4659 return _object_cast_to_MolecularDynamicsMover(o)
4661 MolecularDynamicsMover_swigregister = _IMP_isd.MolecularDynamicsMover_swigregister
4662 MolecularDynamicsMover_swigregister(MolecularDynamicsMover)
4665 """Proxy of C++ IMP::isd::HybridMonteCarlo class."""
4667 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4669 def __init__(self, m, kT=1.0, steps=100, timestep=1.0, persistence=1):
4671 __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
4672 __init__(IMP::isd::HybridMonteCarlo self, Model m, IMP::Float kT=1.0, unsigned int steps=100, IMP::Float timestep=1.0) -> HybridMonteCarlo
4673 __init__(IMP::isd::HybridMonteCarlo self, Model m, IMP::Float kT=1.0, unsigned int steps=100) -> HybridMonteCarlo
4674 __init__(IMP::isd::HybridMonteCarlo self, Model m, IMP::Float kT=1.0) -> HybridMonteCarlo
4675 __init__(IMP::isd::HybridMonteCarlo self, Model m) -> HybridMonteCarlo
4677 this = _IMP_isd.new_HybridMonteCarlo(m, kT, steps, timestep, persistence)
4679 self.this.append(this)
4680 except __builtin__.Exception:
4683 def get_kinetic_energy(self):
4684 """get_kinetic_energy(HybridMonteCarlo self) -> IMP::Float"""
4685 return _IMP_isd.HybridMonteCarlo_get_kinetic_energy(self)
4688 def get_potential_energy(self):
4689 """get_potential_energy(HybridMonteCarlo self) -> IMP::Float"""
4690 return _IMP_isd.HybridMonteCarlo_get_potential_energy(self)
4693 def get_total_energy(self):
4694 """get_total_energy(HybridMonteCarlo self) -> IMP::Float"""
4695 return _IMP_isd.HybridMonteCarlo_get_total_energy(self)
4698 def set_timestep(self, ts):
4699 """set_timestep(HybridMonteCarlo self, IMP::Float ts)"""
4700 return _IMP_isd.HybridMonteCarlo_set_timestep(self, ts)
4703 def get_timestep(self):
4704 """get_timestep(HybridMonteCarlo self) -> double"""
4705 return _IMP_isd.HybridMonteCarlo_get_timestep(self)
4708 def set_number_of_md_steps(self, nsteps):
4709 """set_number_of_md_steps(HybridMonteCarlo self, unsigned int nsteps)"""
4710 return _IMP_isd.HybridMonteCarlo_set_number_of_md_steps(self, nsteps)
4713 def get_number_of_md_steps(self):
4714 """get_number_of_md_steps(HybridMonteCarlo self) -> unsigned int"""
4715 return _IMP_isd.HybridMonteCarlo_get_number_of_md_steps(self)
4718 def set_persistence(self, persistence=1):
4720 set_persistence(HybridMonteCarlo self, unsigned int persistence=1)
4721 set_persistence(HybridMonteCarlo self)
4723 return _IMP_isd.HybridMonteCarlo_set_persistence(self, persistence)
4726 def get_persistence(self):
4727 """get_persistence(HybridMonteCarlo self) -> unsigned int"""
4728 return _IMP_isd.HybridMonteCarlo_get_persistence(self)
4732 """get_md(HybridMonteCarlo self) -> MolecularDynamics"""
4733 return _IMP_isd.HybridMonteCarlo_get_md(self)
4736 def do_evaluate(self, arg2):
4737 """do_evaluate(HybridMonteCarlo self, IMP::ParticleIndexes const & arg2) -> double"""
4738 return _IMP_isd.HybridMonteCarlo_do_evaluate(self, arg2)
4742 """do_step(HybridMonteCarlo self)"""
4743 return _IMP_isd.HybridMonteCarlo_do_step(self)
4747 """__str__(HybridMonteCarlo self) -> std::string"""
4748 return _IMP_isd.HybridMonteCarlo___str__(self)
4752 """__repr__(HybridMonteCarlo self) -> std::string"""
4753 return _IMP_isd.HybridMonteCarlo___repr__(self)
4758 return _object_cast_to_HybridMonteCarlo(o)
4760 HybridMonteCarlo_swigregister = _IMP_isd.HybridMonteCarlo_swigregister
4761 HybridMonteCarlo_swigregister(HybridMonteCarlo)
4764 """Proxy of C++ IMP::isd::FretData class."""
4766 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4768 def __init__(self, d_term, d_center, d_int, s_grid, R0, Rmin, Rmax, do_limit=True):
4770 __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
4771 __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
4773 this = _IMP_isd.new_FretData(d_term, d_center, d_int, s_grid, R0, Rmin, Rmax, do_limit)
4775 self.this.append(this)
4776 except __builtin__.Exception:
4779 def get_closest(self, vec, value):
4780 """get_closest(FretData self, DistBase vec, double value) -> int"""
4781 return _IMP_isd.FretData_get_closest(self, vec, value)
4784 def get_probability(self, distn, dist, sigma):
4785 """get_probability(FretData self, IMP::Float distn, IMP::Float dist, IMP::Float sigma) -> IMP::Float"""
4786 return _IMP_isd.FretData_get_probability(self, distn, dist, sigma)
4789 def get_kernel(self, dist, R0):
4790 """get_kernel(FretData self, IMP::Float dist, IMP::Float R0) -> IMP::Float"""
4791 return _IMP_isd.FretData_get_kernel(self, dist, R0)
4794 def get_marginal_element(self, d_term, d_center, sigma):
4795 """get_marginal_element(FretData self, IMP::Float d_term, IMP::Float d_center, IMP::Float sigma) -> IMP::FloatPair"""
4796 return _IMP_isd.FretData_get_marginal_element(self, d_term, d_center, sigma)
4800 """get_version_info(FretData self) -> VersionInfo"""
4801 return _IMP_isd.FretData_get_version_info(self)
4805 """__str__(FretData self) -> std::string"""
4806 return _IMP_isd.FretData___str__(self)
4810 """__repr__(FretData self) -> std::string"""
4811 return _IMP_isd.FretData___repr__(self)
4816 return _object_cast_to_FretData(o)
4818 FretData_swigregister = _IMP_isd.FretData_swigregister
4819 FretData_swigregister(FretData)
4822 """Proxy of C++ IMP::isd::FretRestraint class."""
4824 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4826 def __init__(self, *args):
4828 __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
4829 __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
4830 __init__(IMP::isd::FretRestraint self, IMP::Particles pd, IMP::Particles pa, Particle kda, Particle Ida, Particle R0, Particle sigma0, Particle Pbl, double fexp) -> FretRestraint
4831 __init__(IMP::isd::FretRestraint self, Particle kda, Particle Ida, Particle sumFi, Particle sigma0, Particle Pbl, double fexp) -> FretRestraint
4832 __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
4834 this = _IMP_isd.new_FretRestraint(*args)
4836 self.this.append(this)
4837 except __builtin__.Exception:
4840 def get_sumFi(self):
4841 """get_sumFi(FretRestraint self) -> double"""
4842 return _IMP_isd.FretRestraint_get_sumFi(self)
4845 def get_average_sigma(self, fmod):
4846 """get_average_sigma(FretRestraint self, double fmod) -> double"""
4847 return _IMP_isd.FretRestraint_get_average_sigma(self, fmod)
4850 def get_standard_error(self):
4851 """get_standard_error(FretRestraint self) -> double"""
4852 return _IMP_isd.FretRestraint_get_standard_error(self)
4855 def get_model_fretr(self):
4856 """get_model_fretr(FretRestraint self) -> double"""
4857 return _IMP_isd.FretRestraint_get_model_fretr(self)
4860 def get_probability(self):
4861 """get_probability(FretRestraint self) -> double"""
4862 return _IMP_isd.FretRestraint_get_probability(self)
4865 def get_experimental_value(self):
4866 """get_experimental_value(FretRestraint self) -> double"""
4867 return _IMP_isd.FretRestraint_get_experimental_value(self)
4870 def set_experimental_value(self, fexp):
4871 """set_experimental_value(FretRestraint self, double fexp)"""
4872 return _IMP_isd.FretRestraint_set_experimental_value(self, fexp)
4876 """do_get_inputs(FretRestraint self) -> IMP::ModelObjectsTemp"""
4877 return _IMP_isd.FretRestraint_do_get_inputs(self)
4881 """get_version_info(FretRestraint self) -> VersionInfo"""
4882 return _IMP_isd.FretRestraint_get_version_info(self)
4886 """__str__(FretRestraint self) -> std::string"""
4887 return _IMP_isd.FretRestraint___str__(self)
4891 """__repr__(FretRestraint self) -> std::string"""
4892 return _IMP_isd.FretRestraint___repr__(self)
4897 return _object_cast_to_FretRestraint(o)
4899 FretRestraint_swigregister = _IMP_isd.FretRestraint_swigregister
4900 FretRestraint_swigregister(FretRestraint)
4903 """Proxy of C++ IMP::isd::CysteineCrossLinkData class."""
4905 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4907 def __init__(self, fexp, fmod_grid, omega_grid, omega0_grid, prior_type=3):
4909 __init__(IMP::isd::CysteineCrossLinkData self, double fexp, IMP::Floats fmod_grid, IMP::Floats omega_grid, IMP::Floats omega0_grid, int prior_type=3) -> CysteineCrossLinkData
4910 __init__(IMP::isd::CysteineCrossLinkData self, double fexp, IMP::Floats fmod_grid, IMP::Floats omega_grid, IMP::Floats omega0_grid) -> CysteineCrossLinkData
4912 this = _IMP_isd.new_CysteineCrossLinkData(fexp, fmod_grid, omega_grid, omega0_grid, prior_type)
4914 self.this.append(this)
4915 except __builtin__.Exception:
4918 def get_closest(self, vec, value):
4919 """get_closest(CysteineCrossLinkData self, DistBase vec, double value) -> int"""
4920 return _IMP_isd.CysteineCrossLinkData_get_closest(self, vec, value)
4923 def get_omegas(self, fmods, omega0):
4924 """get_omegas(CysteineCrossLinkData self, IMP::Floats fmods, double omega0) -> IMP::Floats"""
4925 return _IMP_isd.CysteineCrossLinkData_get_omegas(self, fmods, omega0)
4928 def get_nonmarginal_elements(self, fexp, fmods, omega):
4929 """get_nonmarginal_elements(CysteineCrossLinkData self, double fexp, IMP::Floats fmods, double omega) -> IMP::Floats"""
4930 return _IMP_isd.CysteineCrossLinkData_get_nonmarginal_elements(self, fexp, fmods, omega)
4933 def get_marginal_elements(self, fmods, omega0):
4934 """get_marginal_elements(CysteineCrossLinkData self, IMP::Floats fmods, double omega0) -> IMP::Floats"""
4935 return _IMP_isd.CysteineCrossLinkData_get_marginal_elements(self, fmods, omega0)
4938 def get_omega(self, fmod, omega0):
4939 """get_omega(CysteineCrossLinkData self, double fmod, double omega0) -> double"""
4940 return _IMP_isd.CysteineCrossLinkData_get_omega(self, fmod, omega0)
4943 def get_standard_deviation(self, fmod, omega0):
4944 """get_standard_deviation(CysteineCrossLinkData self, double fmod, double omega0) -> double"""
4945 return _IMP_isd.CysteineCrossLinkData_get_standard_deviation(self, fmod, omega0)
4948 def get_nonmarginal_element(self, fexp, fmod, omega):
4949 """get_nonmarginal_element(CysteineCrossLinkData self, double fexp, double fmod, double omega) -> double"""
4950 return _IMP_isd.CysteineCrossLinkData_get_nonmarginal_element(self, fexp, fmod, omega)
4953 def get_marginal_element(self, fmod, omega0):
4954 """get_marginal_element(CysteineCrossLinkData self, double fmod, double omega0) -> double"""
4955 return _IMP_isd.CysteineCrossLinkData_get_marginal_element(self, fmod, omega0)
4959 """get_version_info(CysteineCrossLinkData self) -> VersionInfo"""
4960 return _IMP_isd.CysteineCrossLinkData_get_version_info(self)
4964 """__str__(CysteineCrossLinkData self) -> std::string"""
4965 return _IMP_isd.CysteineCrossLinkData___str__(self)
4969 """__repr__(CysteineCrossLinkData self) -> std::string"""
4970 return _IMP_isd.CysteineCrossLinkData___repr__(self)
4975 return _object_cast_to_CysteineCrossLinkData(o)
4977 CysteineCrossLinkData_swigregister = _IMP_isd.CysteineCrossLinkData_swigregister
4978 CysteineCrossLinkData_swigregister(CysteineCrossLinkData)
4981 """Proxy of C++ IMP::isd::CrossLinkData class."""
4983 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4985 def __init__(self, *args):
4987 __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
4988 __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, double lexp_, double don, double doff) -> CrossLinkData
4989 __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, double lexp_, double don) -> CrossLinkData
4990 __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, double lexp_) -> CrossLinkData
4991 __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
4992 __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
4993 __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
4994 __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
4996 this = _IMP_isd.new_CrossLinkData(*args)
4998 self.this.append(this)
4999 except __builtin__.Exception:
5002 def get_closest(self, vec, value):
5003 """get_closest(CrossLinkData self, DistBase vec, double value) -> int"""
5004 return _IMP_isd.CrossLinkData_get_closest(self, vec, value)
5007 def get_omegas(self, sigma, dists):
5008 """get_omegas(CrossLinkData self, double sigma, IMP::Floats dists) -> IMP::Floats"""
5009 return _IMP_isd.CrossLinkData_get_omegas(self, sigma, dists)
5012 def get_omega_prior(self, omega, omega0):
5013 """get_omega_prior(CrossLinkData self, double omega, double omega0) -> double"""
5014 return _IMP_isd.CrossLinkData_get_omega_prior(self, omega, omega0)
5017 def get_nonmarginal_elements(self, sigmai, dists):
5018 """get_nonmarginal_elements(CrossLinkData self, double sigmai, IMP::Floats dists) -> IMP::Floats"""
5019 return _IMP_isd.CrossLinkData_get_nonmarginal_elements(self, sigmai, dists)
5022 def get_marginal_elements(self, sigma, dists):
5023 """get_marginal_elements(CrossLinkData self, double sigma, IMP::Floats dists) -> IMP::Floats"""
5024 return _IMP_isd.CrossLinkData_get_marginal_elements(self, sigma, dists)
5027 def get_marginal_maximum(self, *args):
5029 get_marginal_maximum(CrossLinkData self, double sigma) -> double
5030 get_marginal_maximum(CrossLinkData self) -> double
5032 return _IMP_isd.CrossLinkData_get_marginal_maximum(self, *args)
5036 """get_version_info(CrossLinkData self) -> VersionInfo"""
5037 return _IMP_isd.CrossLinkData_get_version_info(self)
5041 """__str__(CrossLinkData self) -> std::string"""
5042 return _IMP_isd.CrossLinkData___str__(self)
5046 """__repr__(CrossLinkData self) -> std::string"""
5047 return _IMP_isd.CrossLinkData___repr__(self)
5052 return _object_cast_to_CrossLinkData(o)
5054 CrossLinkData_swigregister = _IMP_isd.CrossLinkData_swigregister
5055 CrossLinkData_swigregister(CrossLinkData)
5058 """Proxy of C++ IMP::isd::CysteineCrossLinkRestraint class."""
5060 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5062 def __init__(self, *args):
5064 __init__(IMP::isd::CysteineCrossLinkRestraint self, Model m, _ParticleIndexAdaptor beta, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor epsilon, _ParticleIndexAdaptor weight, CrossLinkData data, double fexp) -> CysteineCrossLinkRestraint
5065 __init__(IMP::isd::CysteineCrossLinkRestraint self, Model m, _ParticleIndexAdaptor beta, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor epsilon, _ParticleIndexAdaptor weight, CrossLinkData data, CysteineCrossLinkData ccldata) -> CysteineCrossLinkRestraint
5067 this = _IMP_isd.new_CysteineCrossLinkRestraint(*args)
5069 self.this.append(this)
5070 except __builtin__.Exception:
5073 def get_probability(self):
5074 """get_probability(CysteineCrossLinkRestraint self) -> double"""
5075 return _IMP_isd.CysteineCrossLinkRestraint_get_probability(self)
5078 def get_standard_error(self):
5079 """get_standard_error(CysteineCrossLinkRestraint self) -> double"""
5080 return _IMP_isd.CysteineCrossLinkRestraint_get_standard_error(self)
5083 def get_frequencies(self):
5084 """get_frequencies(CysteineCrossLinkRestraint self) -> IMP::Floats"""
5085 return _IMP_isd.CysteineCrossLinkRestraint_get_frequencies(self)
5088 def get_model_frequency(self):
5089 """get_model_frequency(CysteineCrossLinkRestraint self) -> double"""
5090 return _IMP_isd.CysteineCrossLinkRestraint_get_model_frequency(self)
5093 def get_distances(self):
5094 """get_distances(CysteineCrossLinkRestraint self) -> IMP::Floats"""
5095 return _IMP_isd.CysteineCrossLinkRestraint_get_distances(self)
5098 def get_truncated_normalization(self, mean, sigma):
5099 """get_truncated_normalization(CysteineCrossLinkRestraint self, double mean, double sigma) -> double"""
5100 return _IMP_isd.CysteineCrossLinkRestraint_get_truncated_normalization(self, mean, sigma)
5103 def get_normal_pdf(self, mean, sigma, x):
5104 """get_normal_pdf(CysteineCrossLinkRestraint self, double mean, double sigma, double x) -> double"""
5105 return _IMP_isd.CysteineCrossLinkRestraint_get_normal_pdf(self, mean, sigma, x)
5108 def add_contribution(self, *args):
5110 add_contribution(CysteineCrossLinkRestraint self, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2)
5111 add_contribution(CysteineCrossLinkRestraint self, IMP::ParticleIndexes p1, IMP::ParticleIndexes p2)
5113 return _IMP_isd.CysteineCrossLinkRestraint_add_contribution(self, *args)
5116 def get_CB_coordinates(self, ps):
5117 """get_CB_coordinates(CysteineCrossLinkRestraint self, IMP::ParticleIndexes const & ps) -> Vector3D"""
5118 return _IMP_isd.CysteineCrossLinkRestraint_get_CB_coordinates(self, ps)
5121 def get_number_of_contributions(self):
5122 """get_number_of_contributions(CysteineCrossLinkRestraint self) -> unsigned int"""
5123 return _IMP_isd.CysteineCrossLinkRestraint_get_number_of_contributions(self)
5127 """do_get_inputs(CysteineCrossLinkRestraint self) -> IMP::ModelObjectsTemp"""
5128 return _IMP_isd.CysteineCrossLinkRestraint_do_get_inputs(self)
5132 """get_version_info(CysteineCrossLinkRestraint self) -> VersionInfo"""
5133 return _IMP_isd.CysteineCrossLinkRestraint_get_version_info(self)
5137 """__str__(CysteineCrossLinkRestraint self) -> std::string"""
5138 return _IMP_isd.CysteineCrossLinkRestraint___str__(self)
5142 """__repr__(CysteineCrossLinkRestraint self) -> std::string"""
5143 return _IMP_isd.CysteineCrossLinkRestraint___repr__(self)
5148 return _object_cast_to_CysteineCrossLinkRestraint(o)
5150 CysteineCrossLinkRestraint_swigregister = _IMP_isd.CysteineCrossLinkRestraint_swigregister
5151 CysteineCrossLinkRestraint_swigregister(CysteineCrossLinkRestraint)
5154 """Proxy of C++ IMP::isd::WeightMover class."""
5156 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5158 def __init__(self, w, radius):
5159 """__init__(IMP::isd::WeightMover self, Particle w, IMP::Float radius) -> WeightMover"""
5160 this = _IMP_isd.new_WeightMover(w, radius)
5162 self.this.append(this)
5163 except __builtin__.Exception:
5166 def set_radius(self, radius):
5167 """set_radius(WeightMover self, IMP::Float radius)"""
5168 return _IMP_isd.WeightMover_set_radius(self, radius)
5171 def get_radius(self):
5172 """get_radius(WeightMover self) -> IMP::Float"""
5173 return _IMP_isd.WeightMover_get_radius(self)
5177 """get_version_info(WeightMover self) -> VersionInfo"""
5178 return _IMP_isd.WeightMover_get_version_info(self)
5182 """__str__(WeightMover self) -> std::string"""
5183 return _IMP_isd.WeightMover___str__(self)
5187 """__repr__(WeightMover self) -> std::string"""
5188 return _IMP_isd.WeightMover___repr__(self)
5193 return _object_cast_to_WeightMover(o)
5195 WeightMover_swigregister = _IMP_isd.WeightMover_swigregister
5196 WeightMover_swigregister(WeightMover)
5199 """Proxy of C++ IMP::isd::WeightRestraint class."""
5201 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5203 def __init__(self, w, wmin, wmax, kappa):
5204 """__init__(IMP::isd::WeightRestraint self, Particle w, IMP::Float wmin, IMP::Float wmax, IMP::Float kappa) -> WeightRestraint"""
5205 this = _IMP_isd.new_WeightRestraint(w, wmin, wmax, kappa)
5207 self.this.append(this)
5208 except __builtin__.Exception:
5212 """do_get_inputs(WeightRestraint self) -> IMP::ModelObjectsTemp"""
5213 return _IMP_isd.WeightRestraint_do_get_inputs(self)
5217 """get_version_info(WeightRestraint self) -> VersionInfo"""
5218 return _IMP_isd.WeightRestraint_get_version_info(self)
5222 """__str__(WeightRestraint self) -> std::string"""
5223 return _IMP_isd.WeightRestraint___str__(self)
5227 """__repr__(WeightRestraint self) -> std::string"""
5228 return _IMP_isd.WeightRestraint___repr__(self)
5233 return _object_cast_to_WeightRestraint(o)
5235 WeightRestraint_swigregister = _IMP_isd.WeightRestraint_swigregister
5236 WeightRestraint_swigregister(WeightRestraint)
5239 """Proxy of C++ IMP::isd::AtomicCrossLinkMSRestraint class."""
5241 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5243 def __init__(self, *args):
5245 __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
5246 __init__(IMP::isd::AtomicCrossLinkMSRestraint self, Model m, double length, ParticleIndex psi, IMP::Float slope=0.0, bool part_of_log_score=False) -> AtomicCrossLinkMSRestraint
5247 __init__(IMP::isd::AtomicCrossLinkMSRestraint self, Model m, double length, ParticleIndex psi, IMP::Float slope=0.0) -> AtomicCrossLinkMSRestraint
5248 __init__(IMP::isd::AtomicCrossLinkMSRestraint self, Model m, double length, ParticleIndex psi) -> AtomicCrossLinkMSRestraint
5250 this = _IMP_isd.new_AtomicCrossLinkMSRestraint(*args)
5252 self.this.append(this)
5253 except __builtin__.Exception:
5256 def add_contribution(self, ppi, sigmas):
5257 """add_contribution(AtomicCrossLinkMSRestraint self, IMP::ParticleIndexPair const & ppi, IMP::ParticleIndexPair const & sigmas)"""
5258 return _IMP_isd.AtomicCrossLinkMSRestraint_add_contribution(self, ppi, sigmas)
5261 def evaluate_for_contributions(self, c, accum):
5262 """evaluate_for_contributions(AtomicCrossLinkMSRestraint self, IMP::Ints c, DerivativeAccumulator accum) -> IMP::Float"""
5263 return _IMP_isd.AtomicCrossLinkMSRestraint_evaluate_for_contributions(self, c, accum)
5266 def get_number_of_contributions(self):
5267 """get_number_of_contributions(AtomicCrossLinkMSRestraint self) -> unsigned int"""
5268 return _IMP_isd.AtomicCrossLinkMSRestraint_get_number_of_contributions(self)
5271 def get_contribution(self, i):
5272 """get_contribution(AtomicCrossLinkMSRestraint self, int i) -> IMP::ParticleIndexPair"""
5273 return _IMP_isd.AtomicCrossLinkMSRestraint_get_contribution(self, i)
5276 def get_contribution_sigmas(self, i):
5277 """get_contribution_sigmas(AtomicCrossLinkMSRestraint self, int i) -> IMP::ParticleIndexPair"""
5278 return _IMP_isd.AtomicCrossLinkMSRestraint_get_contribution_sigmas(self, i)
5282 """get_psi(AtomicCrossLinkMSRestraint self) -> ParticleIndex"""
5283 return _IMP_isd.AtomicCrossLinkMSRestraint_get_psi(self)
5287 """do_get_inputs(AtomicCrossLinkMSRestraint self) -> IMP::ModelObjectsTemp"""
5288 return _IMP_isd.AtomicCrossLinkMSRestraint_do_get_inputs(self)
5291 def show(self, out):
5292 """show(AtomicCrossLinkMSRestraint self, _ostream out)"""
5293 return _IMP_isd.AtomicCrossLinkMSRestraint_show(self, out)
5296 def set_slope(self, slope):
5297 """set_slope(AtomicCrossLinkMSRestraint self, IMP::Float slope)"""
5298 return _IMP_isd.AtomicCrossLinkMSRestraint_set_slope(self, slope)
5301 def set_part_of_log_score(self, hey):
5302 """set_part_of_log_score(AtomicCrossLinkMSRestraint self, bool hey)"""
5303 return _IMP_isd.AtomicCrossLinkMSRestraint_set_part_of_log_score(self, hey)
5307 """get_version_info(AtomicCrossLinkMSRestraint self) -> VersionInfo"""
5308 return _IMP_isd.AtomicCrossLinkMSRestraint_get_version_info(self)
5312 """__str__(AtomicCrossLinkMSRestraint self) -> std::string"""
5313 return _IMP_isd.AtomicCrossLinkMSRestraint___str__(self)
5317 """__repr__(AtomicCrossLinkMSRestraint self) -> std::string"""
5318 return _IMP_isd.AtomicCrossLinkMSRestraint___repr__(self)
5323 return _object_cast_to_AtomicCrossLinkMSRestraint(o)
5325 AtomicCrossLinkMSRestraint_swigregister = _IMP_isd.AtomicCrossLinkMSRestraint_swigregister
5326 AtomicCrossLinkMSRestraint_swigregister(AtomicCrossLinkMSRestraint)
5329 """Proxy of C++ IMP::isd::GaussianEMRestraint class."""
5331 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5333 def __init__(self, *args):
5335 __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
5336 __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
5337 __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
5338 __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
5339 __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
5341 this = _IMP_isd.new_GaussianEMRestraint(*args)
5343 self.this.append(this)
5344 except __builtin__.Exception:
5347 def get_probability(self):
5348 """get_probability(GaussianEMRestraint self) -> double"""
5349 return _IMP_isd.GaussianEMRestraint_get_probability(self)
5353 """get_cross_correlation_coefficient(GaussianEMRestraint self) -> double"""
5354 return _IMP_isd.GaussianEMRestraint_get_cross_correlation_coefficient(self)
5357 def set_density_filename(self, density_fn):
5358 """set_density_filename(GaussianEMRestraint self, std::string density_fn)"""
5359 return _IMP_isd.GaussianEMRestraint_set_density_filename(self, density_fn)
5362 def compute_initial_scores(self):
5363 """compute_initial_scores(GaussianEMRestraint self)"""
5364 return _IMP_isd.GaussianEMRestraint_compute_initial_scores(self)
5367 def set_slope(self, s):
5368 """set_slope(GaussianEMRestraint self, IMP::Float s)"""
5369 return _IMP_isd.GaussianEMRestraint_set_slope(self, s)
5372 def get_slope(self):
5373 """get_slope(GaussianEMRestraint self) -> IMP::Float"""
5374 return _IMP_isd.GaussianEMRestraint_get_slope(self)
5378 """do_get_inputs(GaussianEMRestraint self) -> IMP::ModelObjectsTemp"""
5379 return _IMP_isd.GaussianEMRestraint_do_get_inputs(self)
5382 def show(self, out):
5383 """show(GaussianEMRestraint self, _ostream out)"""
5384 return _IMP_isd.GaussianEMRestraint_show(self, out)
5388 """get_version_info(GaussianEMRestraint self) -> VersionInfo"""
5389 return _IMP_isd.GaussianEMRestraint_get_version_info(self)
5393 """__str__(GaussianEMRestraint self) -> std::string"""
5394 return _IMP_isd.GaussianEMRestraint___str__(self)
5398 """__repr__(GaussianEMRestraint self) -> std::string"""
5399 return _IMP_isd.GaussianEMRestraint___repr__(self)
5404 return _object_cast_to_GaussianEMRestraint(o)
5406 GaussianEMRestraint_swigregister = _IMP_isd.GaussianEMRestraint_swigregister
5407 GaussianEMRestraint_swigregister(GaussianEMRestraint)
5409 class GaussianAnchorEMRestraint(ISDRestraint):
5410 """Proxy of C++ IMP::isd::GaussianAnchorEMRestraint class."""
5412 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5414 def __init__(self, *args):
5416 __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
5417 __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
5419 this = _IMP_isd.new_GaussianAnchorEMRestraint(*args)
5421 self.this.append(this)
5422 except __builtin__.Exception:
5425 def get_density_particles(self):
5426 """get_density_particles(GaussianAnchorEMRestraint self) -> IMP::ParticlesTemp"""
5427 return _IMP_isd.GaussianAnchorEMRestraint_get_density_particles(self)
5431 """__str__(GaussianAnchorEMRestraint self) -> std::string"""
5432 return _IMP_isd.GaussianAnchorEMRestraint___str__(self)
5436 """__repr__(GaussianAnchorEMRestraint self) -> std::string"""
5437 return _IMP_isd.GaussianAnchorEMRestraint___repr__(self)
5442 return _object_cast_to_GaussianAnchorEMRestraint(o)
5444 GaussianAnchorEMRestraint_swigregister = _IMP_isd.GaussianAnchorEMRestraint_swigregister
5445 GaussianAnchorEMRestraint_swigregister(GaussianAnchorEMRestraint)
5448 """Proxy of C++ IMP::isd::GammaPrior class."""
5450 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5452 def __init__(self, *args):
5454 __init__(IMP::isd::GammaPrior self, Model m, Particle p, IMP::Float k, IMP::Float theta, std::string name) -> GammaPrior
5455 __init__(IMP::isd::GammaPrior self, Model m, Particle p, IMP::Float k, IMP::Float theta) -> GammaPrior
5457 this = _IMP_isd.new_GammaPrior(*args)
5459 self.this.append(this)
5460 except __builtin__.Exception:
5463 def evaluate_at(self, val):
5464 """evaluate_at(GammaPrior self, IMP::Float val) -> double"""
5465 return _IMP_isd.GammaPrior_evaluate_at(self, val)
5469 """do_get_inputs(GammaPrior self) -> IMP::ModelObjectsTemp"""
5470 return _IMP_isd.GammaPrior_do_get_inputs(self)
5474 """get_version_info(GammaPrior self) -> VersionInfo"""
5475 return _IMP_isd.GammaPrior_get_version_info(self)
5478 def get_probability(self):
5479 """get_probability(GammaPrior self) -> double"""
5480 return _IMP_isd.GammaPrior_get_probability(self)
5484 """__str__(GammaPrior self) -> std::string"""
5485 return _IMP_isd.GammaPrior___str__(self)
5489 """__repr__(GammaPrior self) -> std::string"""
5490 return _IMP_isd.GammaPrior___repr__(self)
5495 return _object_cast_to_GammaPrior(o)
5497 GammaPrior_swigregister = _IMP_isd.GammaPrior_swigregister
5498 GammaPrior_swigregister(GammaPrior)
5501 def sample_points_from_density(dmap_orig, npoints, threshold=0.0):
5503 sample_points_from_density(DensityMap dmap_orig, int npoints, IMP::Float threshold=0.0) -> IMP::FloatsList
5504 sample_points_from_density(DensityMap dmap_orig, int npoints) -> IMP::FloatsList
5506 return _IMP_isd.sample_points_from_density(dmap_orig, npoints, threshold)
5509 """get_module_version() -> std::string const"""
5510 return _IMP_isd.get_module_version()
5513 """get_example_path(std::string fname) -> std::string"""
5514 return _IMP_isd.get_example_path(fname)
5517 """get_data_path(std::string fname) -> std::string"""
5518 return _IMP_isd.get_data_path(fname)
5520 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.