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 def create_model_and_particles():
788 for i
in range(0,100):
792 d.set_coordinates_are_optimized(
True)
796 """Proxy of C++ IMP::isd::ISDRestraint class."""
798 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
800 def __init__(self, m, name):
801 """__init__(IMP::isd::ISDRestraint self, Model m, std::string name) -> ISDRestraint"""
802 if self.__class__ == ISDRestraint:
806 this = _IMP_isd.new_ISDRestraint(_self, m, name)
808 self.this.append(this)
809 except __builtin__.Exception:
812 if self.__class__ != ISDRestraint:
813 _director_objects.register(self)
818 def get_probability(self):
819 """get_probability(ISDRestraint self) -> double"""
820 return _IMP_isd.ISDRestraint_get_probability(self)
823 def unprotected_evaluate(self, accum):
824 """unprotected_evaluate(ISDRestraint self, DerivativeAccumulator accum) -> double"""
825 return _IMP_isd.ISDRestraint_unprotected_evaluate(self, accum)
829 """do_get_inputs(ISDRestraint self) -> IMP::ModelObjectsTemp"""
830 return _IMP_isd.ISDRestraint_do_get_inputs(self)
833 def get_type_name(self):
834 """get_type_name(ISDRestraint self) -> std::string"""
835 return _IMP_isd.ISDRestraint_get_type_name(self)
839 """get_version_info(ISDRestraint self) -> VersionInfo"""
840 return _IMP_isd.ISDRestraint_get_version_info(self)
844 """__str__(ISDRestraint self) -> std::string"""
845 return _IMP_isd.ISDRestraint___str__(self)
849 """__repr__(ISDRestraint self) -> std::string"""
850 return _IMP_isd.ISDRestraint___repr__(self)
855 return _object_cast_to_ISDRestraint(o)
858 def get_type_name(self):
859 return self.__class__.__name__
860 def do_show(self, out):
863 if"IMP::isd" ==
"IMP":
864 return VersionInfo(self.__module__,
865 __import__(self.__module__).get_module_version())
868 __import__(self.__module__).get_module_version())
871 return _object_cast_to_ISDRestraint(o)
873 def __disown__(self):
875 _IMP_isd.disown_ISDRestraint(self)
876 return weakref_proxy(self)
879 """do_destroy(ISDRestraint self)"""
880 return _IMP_isd.ISDRestraint_do_destroy(self)
883 def handle_set_has_required_score_states(self, arg0):
884 """handle_set_has_required_score_states(ISDRestraint self, bool arg0)"""
885 return _IMP_isd.ISDRestraint_handle_set_has_required_score_states(self, arg0)
889 """do_get_outputs(ISDRestraint self) -> IMP::ModelObjectsTemp"""
890 return _IMP_isd.ISDRestraint_do_get_outputs(self)
893 def do_get_interactions(self):
894 """do_get_interactions(ISDRestraint self) -> IMP::ModelObjectsTemps"""
895 return _IMP_isd.ISDRestraint_do_get_interactions(self)
898 def do_create_decomposition(self):
899 """do_create_decomposition(ISDRestraint self) -> IMP::Restraints"""
900 return _IMP_isd.ISDRestraint_do_create_decomposition(self)
903 def do_create_current_decomposition(self):
904 """do_create_current_decomposition(ISDRestraint self) -> IMP::Restraints"""
905 return _IMP_isd.ISDRestraint_do_create_current_decomposition(self)
908 def do_add_score_and_derivatives(self, sa):
909 """do_add_score_and_derivatives(ISDRestraint self, ScoreAccumulator sa)"""
910 return _IMP_isd.ISDRestraint_do_add_score_and_derivatives(self, sa)
912 ISDRestraint_swigregister = _IMP_isd.ISDRestraint_swigregister
913 ISDRestraint_swigregister(ISDRestraint)
916 """Proxy of C++ IMP::isd::CrossLinkMSRestraint class."""
918 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
920 def __init__(self, *args):
922 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length, bool get_log_prob=False, std::string name) -> CrossLinkMSRestraint
923 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length, bool get_log_prob=False) -> CrossLinkMSRestraint
924 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length) -> CrossLinkMSRestraint
925 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, _ParticleIndexAdaptor lengthi, bool get_log_prob=False, std::string name) -> CrossLinkMSRestraint
926 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, _ParticleIndexAdaptor lengthi, bool get_log_prob=False) -> CrossLinkMSRestraint
927 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, _ParticleIndexAdaptor lengthi) -> CrossLinkMSRestraint
928 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length, double slope, bool get_log_prob=False, std::string name) -> CrossLinkMSRestraint
929 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length, double slope, bool get_log_prob=False) -> CrossLinkMSRestraint
930 __init__(IMP::isd::CrossLinkMSRestraint self, Model m, double length, double slope) -> CrossLinkMSRestraint
932 this = _IMP_isd.new_CrossLinkMSRestraint(*args)
934 self.this.append(this)
935 except __builtin__.Exception:
938 def add_contribution(self, pps, sigmas, psi):
939 """add_contribution(CrossLinkMSRestraint self, IMP::ParticleIndexPair const & pps, IMP::ParticleIndexPair const & sigmas, ParticleIndex psi)"""
940 return _IMP_isd.CrossLinkMSRestraint_add_contribution(self, pps, sigmas, psi)
943 def get_probability(self):
944 """get_probability(CrossLinkMSRestraint self) -> double"""
945 return _IMP_isd.CrossLinkMSRestraint_get_probability(self)
948 def get_number_of_contributions(self):
949 """get_number_of_contributions(CrossLinkMSRestraint self) -> unsigned int"""
950 return _IMP_isd.CrossLinkMSRestraint_get_number_of_contributions(self)
954 """do_get_inputs(CrossLinkMSRestraint self) -> IMP::ModelObjectsTemp"""
955 return _IMP_isd.CrossLinkMSRestraint_do_get_inputs(self)
959 """get_version_info(CrossLinkMSRestraint self) -> VersionInfo"""
960 return _IMP_isd.CrossLinkMSRestraint_get_version_info(self)
964 """__str__(CrossLinkMSRestraint self) -> std::string"""
965 return _IMP_isd.CrossLinkMSRestraint___str__(self)
969 """__repr__(CrossLinkMSRestraint self) -> std::string"""
970 return _IMP_isd.CrossLinkMSRestraint___repr__(self)
975 return _object_cast_to_CrossLinkMSRestraint(o)
977 CrossLinkMSRestraint_swigregister = _IMP_isd.CrossLinkMSRestraint_swigregister
978 CrossLinkMSRestraint_swigregister(CrossLinkMSRestraint)
981 """Proxy of C++ IMP::isd::LogWrapper class."""
983 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
985 def __init__(self, *args):
987 __init__(IMP::isd::LogWrapper self, Model m, double weight, std::string const & name) -> LogWrapper
988 __init__(IMP::isd::LogWrapper self, Model m, double weight) -> LogWrapper
989 __init__(IMP::isd::LogWrapper self, Model m, std::string const & name) -> LogWrapper
990 __init__(IMP::isd::LogWrapper self, Model m) -> LogWrapper
991 __init__(IMP::isd::LogWrapper self, IMP::RestraintsTemp const & rs, double weight, std::string const & name) -> LogWrapper
992 __init__(IMP::isd::LogWrapper self, IMP::RestraintsTemp const & rs, double weight) -> LogWrapper
994 this = _IMP_isd.new_LogWrapper(*args)
996 self.this.append(this)
997 except __builtin__.Exception:
1000 def do_add_score_and_derivatives(self, sa):
1001 """do_add_score_and_derivatives(LogWrapper self, ScoreAccumulator sa)"""
1002 return _IMP_isd.LogWrapper_do_add_score_and_derivatives(self, sa)
1006 """__str__(LogWrapper self) -> std::string"""
1007 return _IMP_isd.LogWrapper___str__(self)
1011 """__repr__(LogWrapper self) -> std::string"""
1012 return _IMP_isd.LogWrapper___repr__(self)
1017 return _object_cast_to_LogWrapper(o)
1019 LogWrapper_swigregister = _IMP_isd.LogWrapper_swigregister
1020 LogWrapper_swigregister(LogWrapper)
1023 """Proxy of C++ IMP::isd::UniformPrior class."""
1025 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1027 def __init__(self, *args):
1029 __init__(IMP::isd::UniformPrior self, Model m, Particle p, IMP::Float k, IMP::Float upperb, IMP::Float lowerb, std::string name) -> UniformPrior
1030 __init__(IMP::isd::UniformPrior self, Model m, Particle p, IMP::Float k, IMP::Float upperb, IMP::Float lowerb) -> UniformPrior
1032 this = _IMP_isd.new_UniformPrior(*args)
1034 self.this.append(this)
1035 except __builtin__.Exception:
1039 """do_get_inputs(UniformPrior self) -> IMP::ModelObjectsTemp"""
1040 return _IMP_isd.UniformPrior_do_get_inputs(self)
1044 """get_version_info(UniformPrior self) -> VersionInfo"""
1045 return _IMP_isd.UniformPrior_get_version_info(self)
1048 def get_probability(self):
1049 """get_probability(UniformPrior self) -> double"""
1050 return _IMP_isd.UniformPrior_get_probability(self)
1054 """__str__(UniformPrior self) -> std::string"""
1055 return _IMP_isd.UniformPrior___str__(self)
1059 """__repr__(UniformPrior self) -> std::string"""
1060 return _IMP_isd.UniformPrior___repr__(self)
1065 return _object_cast_to_UniformPrior(o)
1067 UniformPrior_swigregister = _IMP_isd.UniformPrior_swigregister
1068 UniformPrior_swigregister(UniformPrior)
1071 """Proxy of C++ IMP::isd::Nuisance class."""
1073 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1075 def __init__(self, *args):
1077 __init__(IMP::isd::Nuisance self) -> Nuisance
1078 __init__(IMP::isd::Nuisance self, Model m, ParticleIndex id) -> Nuisance
1079 __init__(IMP::isd::Nuisance self, _ParticleAdaptor d) -> Nuisance
1081 this = _IMP_isd.new_Nuisance(*args)
1083 self.this.append(this)
1084 except __builtin__.Exception:
1087 def show(self, *args):
1089 show(Nuisance self, _ostream out)
1092 return _IMP_isd.Nuisance_show(self, *args)
1095 def setup_particle(*args):
1097 setup_particle(Model m, ParticleIndex pi) -> Nuisance
1098 setup_particle(_ParticleAdaptor decorator) -> Nuisance
1099 setup_particle(Model m, ParticleIndex pi, double nuisance) -> Nuisance
1100 setup_particle(_ParticleAdaptor decorator, double nuisance) -> Nuisance
1102 return _IMP_isd.Nuisance_setup_particle(*args)
1104 setup_particle = staticmethod(setup_particle)
1106 def get_is_setup(*args):
1108 get_is_setup(_ParticleAdaptor p) -> bool
1109 get_is_setup(Model m, ParticleIndex pi) -> bool
1111 return _IMP_isd.Nuisance_get_is_setup(*args)
1113 get_is_setup = staticmethod(get_is_setup)
1115 def get_nuisance_key():
1116 """get_nuisance_key() -> FloatKey"""
1117 return _IMP_isd.Nuisance_get_nuisance_key()
1119 get_nuisance_key = staticmethod(get_nuisance_key)
1121 def get_nuisance(self):
1122 """get_nuisance(Nuisance self) -> IMP::Float"""
1123 return _IMP_isd.Nuisance_get_nuisance(self)
1126 def set_nuisance(self, d):
1127 """set_nuisance(Nuisance self, IMP::Float d)"""
1128 return _IMP_isd.Nuisance_set_nuisance(self, d)
1131 def get_has_lower(self):
1132 """get_has_lower(Nuisance self) -> bool"""
1133 return _IMP_isd.Nuisance_get_has_lower(self)
1136 def get_lower(self):
1137 """get_lower(Nuisance self) -> IMP::Float"""
1138 return _IMP_isd.Nuisance_get_lower(self)
1141 def get_lower_key():
1142 """get_lower_key() -> FloatKey"""
1143 return _IMP_isd.Nuisance_get_lower_key()
1145 get_lower_key = staticmethod(get_lower_key)
1147 def get_lower_particle_key():
1148 """get_lower_particle_key() -> ParticleIndexKey"""
1149 return _IMP_isd.Nuisance_get_lower_particle_key()
1151 get_lower_particle_key = staticmethod(get_lower_particle_key)
1153 def set_lower(self, *args):
1155 set_lower(Nuisance self, IMP::Float d)
1156 set_lower(Nuisance self, Particle d)
1158 return _IMP_isd.Nuisance_set_lower(self, *args)
1161 def remove_lower(self):
1162 """remove_lower(Nuisance self)"""
1163 return _IMP_isd.Nuisance_remove_lower(self)
1166 def get_has_upper(self):
1167 """get_has_upper(Nuisance self) -> bool"""
1168 return _IMP_isd.Nuisance_get_has_upper(self)
1171 def get_upper(self):
1172 """get_upper(Nuisance self) -> IMP::Float"""
1173 return _IMP_isd.Nuisance_get_upper(self)
1176 def get_upper_key():
1177 """get_upper_key() -> FloatKey"""
1178 return _IMP_isd.Nuisance_get_upper_key()
1180 get_upper_key = staticmethod(get_upper_key)
1182 def get_upper_particle_key():
1183 """get_upper_particle_key() -> ParticleIndexKey"""
1184 return _IMP_isd.Nuisance_get_upper_particle_key()
1186 get_upper_particle_key = staticmethod(get_upper_particle_key)
1188 def set_upper(self, *args):
1190 set_upper(Nuisance self, IMP::Float d)
1191 set_upper(Nuisance self, Particle d)
1193 return _IMP_isd.Nuisance_set_upper(self, *args)
1196 def remove_upper(self):
1197 """remove_upper(Nuisance self)"""
1198 return _IMP_isd.Nuisance_remove_upper(self)
1201 def get_nuisance_derivative(self):
1202 """get_nuisance_derivative(Nuisance self) -> IMP::Float"""
1203 return _IMP_isd.Nuisance_get_nuisance_derivative(self)
1206 def add_to_nuisance_derivative(self, d, accum):
1207 """add_to_nuisance_derivative(Nuisance self, IMP::Float d, DerivativeAccumulator accum)"""
1208 return _IMP_isd.Nuisance_add_to_nuisance_derivative(self, d, accum)
1211 def get_nuisance_is_optimized(self):
1212 """get_nuisance_is_optimized(Nuisance self) -> bool"""
1213 return _IMP_isd.Nuisance_get_nuisance_is_optimized(self)
1216 def set_nuisance_is_optimized(self, val):
1217 """set_nuisance_is_optimized(Nuisance self, bool val)"""
1218 return _IMP_isd.Nuisance_set_nuisance_is_optimized(self, val)
1221 def add_attribute(self, *args):
1223 add_attribute(Nuisance self, FloatKey k, IMP::Float v, bool opt)
1224 add_attribute(Nuisance self, FloatKey a0, IMP::Float a1)
1225 add_attribute(Nuisance self, IntKey a0, IMP::Int a1)
1226 add_attribute(Nuisance self, StringKey a0, IMP::String a1)
1227 add_attribute(Nuisance self, ParticleIndexKey a0, Particle a1)
1228 add_attribute(Nuisance self, ObjectKey a0, Object a1)
1230 return _IMP_isd.Nuisance_add_attribute(self, *args)
1233 def get_value(self, *args):
1235 get_value(Nuisance self, FloatKey a0) -> IMP::Float
1236 get_value(Nuisance self, IntKey a0) -> IMP::Int
1237 get_value(Nuisance self, StringKey a0) -> IMP::String
1238 get_value(Nuisance self, ParticleIndexKey a0) -> Particle
1239 get_value(Nuisance self, ObjectKey a0) -> Object
1241 return _IMP_isd.Nuisance_get_value(self, *args)
1244 def set_value(self, *args):
1246 set_value(Nuisance self, FloatKey a0, IMP::Float a1)
1247 set_value(Nuisance self, IntKey a0, IMP::Int a1)
1248 set_value(Nuisance self, StringKey a0, IMP::String a1)
1249 set_value(Nuisance self, ParticleIndexKey a0, Particle a1)
1250 set_value(Nuisance self, ObjectKey a0, Object a1)
1252 return _IMP_isd.Nuisance_set_value(self, *args)
1255 def remove_attribute(self, *args):
1257 remove_attribute(Nuisance self, FloatKey a0)
1258 remove_attribute(Nuisance self, IntKey a0)
1259 remove_attribute(Nuisance self, StringKey a0)
1260 remove_attribute(Nuisance self, ParticleIndexKey a0)
1261 remove_attribute(Nuisance self, ObjectKey a0)
1263 return _IMP_isd.Nuisance_remove_attribute(self, *args)
1266 def has_attribute(self, *args):
1268 has_attribute(Nuisance self, FloatKey a0) -> bool
1269 has_attribute(Nuisance self, IntKey a0) -> bool
1270 has_attribute(Nuisance self, StringKey a0) -> bool
1271 has_attribute(Nuisance self, ParticleIndexKey a0) -> bool
1272 has_attribute(Nuisance self, ObjectKey a0) -> bool
1274 return _IMP_isd.Nuisance_has_attribute(self, *args)
1277 def get_derivative(self, a0):
1278 """get_derivative(Nuisance self, FloatKey a0) -> double"""
1279 return _IMP_isd.Nuisance_get_derivative(self, a0)
1283 """get_name(Nuisance self) -> std::string"""
1284 return _IMP_isd.Nuisance_get_name(self)
1288 """clear_caches(Nuisance self)"""
1289 return _IMP_isd.Nuisance_clear_caches(self)
1292 def set_name(self, a0):
1293 """set_name(Nuisance self, std::string a0)"""
1294 return _IMP_isd.Nuisance_set_name(self, a0)
1298 """set_check_level(Nuisance self, IMP::CheckLevel a0)"""
1299 return _IMP_isd.Nuisance_set_check_level(self, a0)
1302 def add_to_derivative(self, a0, a1, a2):
1303 """add_to_derivative(Nuisance self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1304 return _IMP_isd.Nuisance_add_to_derivative(self, a0, a1, a2)
1307 def set_is_optimized(self, a0, a1):
1308 """set_is_optimized(Nuisance self, FloatKey a0, bool a1)"""
1309 return _IMP_isd.Nuisance_set_is_optimized(self, a0, a1)
1312 def get_is_optimized(self, a0):
1313 """get_is_optimized(Nuisance self, FloatKey a0) -> bool"""
1314 return _IMP_isd.Nuisance_get_is_optimized(self, a0)
1317 def get_check_level(self):
1318 """get_check_level(Nuisance self) -> IMP::CheckLevel"""
1319 return _IMP_isd.Nuisance_get_check_level(self)
1322 def __eq__(self, *args):
1324 __eq__(Nuisance self, Nuisance o) -> bool
1325 __eq__(Nuisance self, Particle d) -> bool
1327 return _IMP_isd.Nuisance___eq__(self, *args)
1330 def __ne__(self, *args):
1332 __ne__(Nuisance self, Nuisance o) -> bool
1333 __ne__(Nuisance self, Particle d) -> bool
1335 return _IMP_isd.Nuisance___ne__(self, *args)
1338 def __le__(self, *args):
1340 __le__(Nuisance self, Nuisance o) -> bool
1341 __le__(Nuisance self, Particle d) -> bool
1343 return _IMP_isd.Nuisance___le__(self, *args)
1346 def __lt__(self, *args):
1348 __lt__(Nuisance self, Nuisance o) -> bool
1349 __lt__(Nuisance self, Particle d) -> bool
1351 return _IMP_isd.Nuisance___lt__(self, *args)
1354 def __ge__(self, *args):
1356 __ge__(Nuisance self, Nuisance o) -> bool
1357 __ge__(Nuisance self, Particle d) -> bool
1359 return _IMP_isd.Nuisance___ge__(self, *args)
1362 def __gt__(self, *args):
1364 __gt__(Nuisance self, Nuisance o) -> bool
1365 __gt__(Nuisance self, Particle d) -> bool
1367 return _IMP_isd.Nuisance___gt__(self, *args)
1371 """__hash__(Nuisance self) -> std::size_t"""
1372 return _IMP_isd.Nuisance___hash__(self)
1376 """__str__(Nuisance self) -> std::string"""
1377 return _IMP_isd.Nuisance___str__(self)
1381 """__repr__(Nuisance self) -> std::string"""
1382 return _IMP_isd.Nuisance___repr__(self)
1384 __swig_destroy__ = _IMP_isd.delete_Nuisance
1385 __del__ =
lambda self:
None
1386 Nuisance_swigregister = _IMP_isd.Nuisance_swigregister
1387 Nuisance_swigregister(Nuisance)
1389 def Nuisance_setup_particle(*args):
1391 setup_particle(Model m, ParticleIndex pi) -> Nuisance
1392 setup_particle(_ParticleAdaptor decorator) -> Nuisance
1393 setup_particle(Model m, ParticleIndex pi, double nuisance) -> Nuisance
1394 Nuisance_setup_particle(_ParticleAdaptor decorator, double nuisance) -> Nuisance
1396 return _IMP_isd.Nuisance_setup_particle(*args)
1398 def Nuisance_get_is_setup(*args):
1400 get_is_setup(_ParticleAdaptor p) -> bool
1401 Nuisance_get_is_setup(Model m, ParticleIndex pi) -> bool
1403 return _IMP_isd.Nuisance_get_is_setup(*args)
1405 def Nuisance_get_nuisance_key():
1406 """Nuisance_get_nuisance_key() -> FloatKey"""
1407 return _IMP_isd.Nuisance_get_nuisance_key()
1409 def Nuisance_get_lower_key():
1410 """Nuisance_get_lower_key() -> FloatKey"""
1411 return _IMP_isd.Nuisance_get_lower_key()
1413 def Nuisance_get_lower_particle_key():
1414 """Nuisance_get_lower_particle_key() -> ParticleIndexKey"""
1415 return _IMP_isd.Nuisance_get_lower_particle_key()
1417 def Nuisance_get_upper_key():
1418 """Nuisance_get_upper_key() -> FloatKey"""
1419 return _IMP_isd.Nuisance_get_upper_key()
1421 def Nuisance_get_upper_particle_key():
1422 """Nuisance_get_upper_particle_key() -> ParticleIndexKey"""
1423 return _IMP_isd.Nuisance_get_upper_particle_key()
1425 class Scale(Nuisance):
1426 """Proxy of C++ IMP::isd::Scale class."""
1428 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1430 def __init__(self, *args):
1432 __init__(IMP::isd::Scale self) -> Scale
1433 __init__(IMP::isd::Scale self, Model m, ParticleIndex id) -> Scale
1434 __init__(IMP::isd::Scale self, _ParticleAdaptor d) -> Scale
1436 this = _IMP_isd.new_Scale(*args)
1438 self.this.append(this)
1439 except __builtin__.Exception:
1442 def show(self, *args):
1444 show(Scale self, _ostream out)
1447 return _IMP_isd.Scale_show(self, *args)
1450 def setup_particle(*args):
1452 setup_particle(Model m, ParticleIndex pi) -> Scale
1453 setup_particle(_ParticleAdaptor decorator) -> Scale
1454 setup_particle(Model m, ParticleIndex pi, double scale) -> Scale
1455 setup_particle(_ParticleAdaptor decorator, double scale) -> Scale
1457 return _IMP_isd.Scale_setup_particle(*args)
1459 setup_particle = staticmethod(setup_particle)
1461 def get_is_setup(*args):
1463 get_is_setup(_ParticleAdaptor p) -> bool
1464 get_is_setup(Model m, ParticleIndex pi) -> bool
1466 return _IMP_isd.Scale_get_is_setup(*args)
1468 get_is_setup = staticmethod(get_is_setup)
1470 def get_scale(self):
1471 """get_scale(Scale self) -> IMP::Float"""
1472 return _IMP_isd.Scale_get_scale(self)
1475 def set_scale(self, d):
1476 """set_scale(Scale self, IMP::Float d)"""
1477 return _IMP_isd.Scale_set_scale(self, d)
1480 def add_to_scale_derivative(self, d, accum):
1481 """add_to_scale_derivative(Scale self, IMP::Float d, DerivativeAccumulator accum)"""
1482 return _IMP_isd.Scale_add_to_scale_derivative(self, d, accum)
1485 def get_scale_derivative(self):
1486 """get_scale_derivative(Scale self) -> IMP::Float"""
1487 return _IMP_isd.Scale_get_scale_derivative(self)
1490 def get_scale_key():
1491 """get_scale_key() -> FloatKey"""
1492 return _IMP_isd.Scale_get_scale_key()
1494 get_scale_key = staticmethod(get_scale_key)
1496 def get_scale_is_optimized(self):
1497 """get_scale_is_optimized(Scale self) -> bool"""
1498 return _IMP_isd.Scale_get_scale_is_optimized(self)
1501 def set_scale_is_optimized(self, val):
1502 """set_scale_is_optimized(Scale self, bool val)"""
1503 return _IMP_isd.Scale_set_scale_is_optimized(self, val)
1506 def add_attribute(self, *args):
1508 add_attribute(Scale self, FloatKey k, IMP::Float v, bool opt)
1509 add_attribute(Scale self, FloatKey a0, IMP::Float a1)
1510 add_attribute(Scale self, IntKey a0, IMP::Int a1)
1511 add_attribute(Scale self, StringKey a0, IMP::String a1)
1512 add_attribute(Scale self, ParticleIndexKey a0, Particle a1)
1513 add_attribute(Scale self, ObjectKey a0, Object a1)
1515 return _IMP_isd.Scale_add_attribute(self, *args)
1518 def get_value(self, *args):
1520 get_value(Scale self, FloatKey a0) -> IMP::Float
1521 get_value(Scale self, IntKey a0) -> IMP::Int
1522 get_value(Scale self, StringKey a0) -> IMP::String
1523 get_value(Scale self, ParticleIndexKey a0) -> Particle
1524 get_value(Scale self, ObjectKey a0) -> Object
1526 return _IMP_isd.Scale_get_value(self, *args)
1529 def set_value(self, *args):
1531 set_value(Scale self, FloatKey a0, IMP::Float a1)
1532 set_value(Scale self, IntKey a0, IMP::Int a1)
1533 set_value(Scale self, StringKey a0, IMP::String a1)
1534 set_value(Scale self, ParticleIndexKey a0, Particle a1)
1535 set_value(Scale self, ObjectKey a0, Object a1)
1537 return _IMP_isd.Scale_set_value(self, *args)
1540 def remove_attribute(self, *args):
1542 remove_attribute(Scale self, FloatKey a0)
1543 remove_attribute(Scale self, IntKey a0)
1544 remove_attribute(Scale self, StringKey a0)
1545 remove_attribute(Scale self, ParticleIndexKey a0)
1546 remove_attribute(Scale self, ObjectKey a0)
1548 return _IMP_isd.Scale_remove_attribute(self, *args)
1551 def has_attribute(self, *args):
1553 has_attribute(Scale self, FloatKey a0) -> bool
1554 has_attribute(Scale self, IntKey a0) -> bool
1555 has_attribute(Scale self, StringKey a0) -> bool
1556 has_attribute(Scale self, ParticleIndexKey a0) -> bool
1557 has_attribute(Scale self, ObjectKey a0) -> bool
1559 return _IMP_isd.Scale_has_attribute(self, *args)
1562 def get_derivative(self, a0):
1563 """get_derivative(Scale self, FloatKey a0) -> double"""
1564 return _IMP_isd.Scale_get_derivative(self, a0)
1568 """get_name(Scale self) -> std::string"""
1569 return _IMP_isd.Scale_get_name(self)
1573 """clear_caches(Scale self)"""
1574 return _IMP_isd.Scale_clear_caches(self)
1577 def set_name(self, a0):
1578 """set_name(Scale self, std::string a0)"""
1579 return _IMP_isd.Scale_set_name(self, a0)
1583 """set_check_level(Scale self, IMP::CheckLevel a0)"""
1584 return _IMP_isd.Scale_set_check_level(self, a0)
1587 def add_to_derivative(self, a0, a1, a2):
1588 """add_to_derivative(Scale self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1589 return _IMP_isd.Scale_add_to_derivative(self, a0, a1, a2)
1592 def set_is_optimized(self, a0, a1):
1593 """set_is_optimized(Scale self, FloatKey a0, bool a1)"""
1594 return _IMP_isd.Scale_set_is_optimized(self, a0, a1)
1597 def get_is_optimized(self, a0):
1598 """get_is_optimized(Scale self, FloatKey a0) -> bool"""
1599 return _IMP_isd.Scale_get_is_optimized(self, a0)
1602 def get_check_level(self):
1603 """get_check_level(Scale self) -> IMP::CheckLevel"""
1604 return _IMP_isd.Scale_get_check_level(self)
1607 def __eq__(self, *args):
1609 __eq__(Scale self, Scale o) -> bool
1610 __eq__(Scale self, Particle d) -> bool
1612 return _IMP_isd.Scale___eq__(self, *args)
1615 def __ne__(self, *args):
1617 __ne__(Scale self, Scale o) -> bool
1618 __ne__(Scale self, Particle d) -> bool
1620 return _IMP_isd.Scale___ne__(self, *args)
1623 def __le__(self, *args):
1625 __le__(Scale self, Scale o) -> bool
1626 __le__(Scale self, Particle d) -> bool
1628 return _IMP_isd.Scale___le__(self, *args)
1631 def __lt__(self, *args):
1633 __lt__(Scale self, Scale o) -> bool
1634 __lt__(Scale self, Particle d) -> bool
1636 return _IMP_isd.Scale___lt__(self, *args)
1639 def __ge__(self, *args):
1641 __ge__(Scale self, Scale o) -> bool
1642 __ge__(Scale self, Particle d) -> bool
1644 return _IMP_isd.Scale___ge__(self, *args)
1647 def __gt__(self, *args):
1649 __gt__(Scale self, Scale o) -> bool
1650 __gt__(Scale self, Particle d) -> bool
1652 return _IMP_isd.Scale___gt__(self, *args)
1656 """__hash__(Scale self) -> std::size_t"""
1657 return _IMP_isd.Scale___hash__(self)
1661 """__str__(Scale self) -> std::string"""
1662 return _IMP_isd.Scale___str__(self)
1666 """__repr__(Scale self) -> std::string"""
1667 return _IMP_isd.Scale___repr__(self)
1669 __swig_destroy__ = _IMP_isd.delete_Scale
1670 __del__ =
lambda self:
None
1671 Scale_swigregister = _IMP_isd.Scale_swigregister
1672 Scale_swigregister(Scale)
1674 def Scale_setup_particle(*args):
1676 setup_particle(Model m, ParticleIndex pi) -> Scale
1677 setup_particle(_ParticleAdaptor decorator) -> Scale
1678 setup_particle(Model m, ParticleIndex pi, double scale) -> Scale
1679 Scale_setup_particle(_ParticleAdaptor decorator, double scale) -> Scale
1681 return _IMP_isd.Scale_setup_particle(*args)
1683 def Scale_get_is_setup(*args):
1685 get_is_setup(_ParticleAdaptor p) -> bool
1686 Scale_get_is_setup(Model m, ParticleIndex pi) -> bool
1688 return _IMP_isd.Scale_get_is_setup(*args)
1690 def Scale_get_scale_key():
1691 """Scale_get_scale_key() -> FloatKey"""
1692 return _IMP_isd.Scale_get_scale_key()
1694 class Switching(Nuisance):
1695 """Proxy of C++ IMP::isd::Switching class."""
1697 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1699 def __init__(self, *args):
1701 __init__(IMP::isd::Switching self) -> Switching
1702 __init__(IMP::isd::Switching self, Model m, ParticleIndex id) -> Switching
1703 __init__(IMP::isd::Switching self, _ParticleAdaptor d) -> Switching
1705 this = _IMP_isd.new_Switching(*args)
1707 self.this.append(this)
1708 except __builtin__.Exception:
1711 def show(self, *args):
1713 show(Switching self, _ostream out)
1714 show(Switching self)
1716 return _IMP_isd.Switching_show(self, *args)
1719 def setup_particle(*args):
1721 setup_particle(Model m, ParticleIndex pi) -> Switching
1722 setup_particle(_ParticleAdaptor decorator) -> Switching
1723 setup_particle(Model m, ParticleIndex pi, double switching) -> Switching
1724 setup_particle(_ParticleAdaptor decorator, double switching) -> Switching
1726 return _IMP_isd.Switching_setup_particle(*args)
1728 setup_particle = staticmethod(setup_particle)
1730 def get_is_setup(*args):
1732 get_is_setup(_ParticleAdaptor p) -> bool
1733 get_is_setup(Model m, ParticleIndex pi) -> bool
1735 return _IMP_isd.Switching_get_is_setup(*args)
1737 get_is_setup = staticmethod(get_is_setup)
1739 def get_switching(self):
1740 """get_switching(Switching self) -> IMP::Float"""
1741 return _IMP_isd.Switching_get_switching(self)
1744 def set_switching(self, d):
1745 """set_switching(Switching self, IMP::Float d)"""
1746 return _IMP_isd.Switching_set_switching(self, d)
1749 def add_to_switching_derivative(self, d, accum):
1750 """add_to_switching_derivative(Switching self, IMP::Float d, DerivativeAccumulator accum)"""
1751 return _IMP_isd.Switching_add_to_switching_derivative(self, d, accum)
1754 def get_switching_derivative(self):
1755 """get_switching_derivative(Switching self) -> IMP::Float"""
1756 return _IMP_isd.Switching_get_switching_derivative(self)
1759 def get_switching_key():
1760 """get_switching_key() -> FloatKey"""
1761 return _IMP_isd.Switching_get_switching_key()
1763 get_switching_key = staticmethod(get_switching_key)
1765 def get_switching_is_optimized(self):
1766 """get_switching_is_optimized(Switching self) -> bool"""
1767 return _IMP_isd.Switching_get_switching_is_optimized(self)
1770 def set_switching_is_optimized(self, val):
1771 """set_switching_is_optimized(Switching self, bool val)"""
1772 return _IMP_isd.Switching_set_switching_is_optimized(self, val)
1775 def add_attribute(self, *args):
1777 add_attribute(Switching self, FloatKey k, IMP::Float v, bool opt)
1778 add_attribute(Switching self, FloatKey a0, IMP::Float a1)
1779 add_attribute(Switching self, IntKey a0, IMP::Int a1)
1780 add_attribute(Switching self, StringKey a0, IMP::String a1)
1781 add_attribute(Switching self, ParticleIndexKey a0, Particle a1)
1782 add_attribute(Switching self, ObjectKey a0, Object a1)
1784 return _IMP_isd.Switching_add_attribute(self, *args)
1787 def get_value(self, *args):
1789 get_value(Switching self, FloatKey a0) -> IMP::Float
1790 get_value(Switching self, IntKey a0) -> IMP::Int
1791 get_value(Switching self, StringKey a0) -> IMP::String
1792 get_value(Switching self, ParticleIndexKey a0) -> Particle
1793 get_value(Switching self, ObjectKey a0) -> Object
1795 return _IMP_isd.Switching_get_value(self, *args)
1798 def set_value(self, *args):
1800 set_value(Switching self, FloatKey a0, IMP::Float a1)
1801 set_value(Switching self, IntKey a0, IMP::Int a1)
1802 set_value(Switching self, StringKey a0, IMP::String a1)
1803 set_value(Switching self, ParticleIndexKey a0, Particle a1)
1804 set_value(Switching self, ObjectKey a0, Object a1)
1806 return _IMP_isd.Switching_set_value(self, *args)
1809 def remove_attribute(self, *args):
1811 remove_attribute(Switching self, FloatKey a0)
1812 remove_attribute(Switching self, IntKey a0)
1813 remove_attribute(Switching self, StringKey a0)
1814 remove_attribute(Switching self, ParticleIndexKey a0)
1815 remove_attribute(Switching self, ObjectKey a0)
1817 return _IMP_isd.Switching_remove_attribute(self, *args)
1820 def has_attribute(self, *args):
1822 has_attribute(Switching self, FloatKey a0) -> bool
1823 has_attribute(Switching self, IntKey a0) -> bool
1824 has_attribute(Switching self, StringKey a0) -> bool
1825 has_attribute(Switching self, ParticleIndexKey a0) -> bool
1826 has_attribute(Switching self, ObjectKey a0) -> bool
1828 return _IMP_isd.Switching_has_attribute(self, *args)
1831 def get_derivative(self, a0):
1832 """get_derivative(Switching self, FloatKey a0) -> double"""
1833 return _IMP_isd.Switching_get_derivative(self, a0)
1837 """get_name(Switching self) -> std::string"""
1838 return _IMP_isd.Switching_get_name(self)
1842 """clear_caches(Switching self)"""
1843 return _IMP_isd.Switching_clear_caches(self)
1846 def set_name(self, a0):
1847 """set_name(Switching self, std::string a0)"""
1848 return _IMP_isd.Switching_set_name(self, a0)
1852 """set_check_level(Switching self, IMP::CheckLevel a0)"""
1853 return _IMP_isd.Switching_set_check_level(self, a0)
1856 def add_to_derivative(self, a0, a1, a2):
1857 """add_to_derivative(Switching self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
1858 return _IMP_isd.Switching_add_to_derivative(self, a0, a1, a2)
1861 def set_is_optimized(self, a0, a1):
1862 """set_is_optimized(Switching self, FloatKey a0, bool a1)"""
1863 return _IMP_isd.Switching_set_is_optimized(self, a0, a1)
1866 def get_is_optimized(self, a0):
1867 """get_is_optimized(Switching self, FloatKey a0) -> bool"""
1868 return _IMP_isd.Switching_get_is_optimized(self, a0)
1871 def get_check_level(self):
1872 """get_check_level(Switching self) -> IMP::CheckLevel"""
1873 return _IMP_isd.Switching_get_check_level(self)
1876 def __eq__(self, *args):
1878 __eq__(Switching self, Switching o) -> bool
1879 __eq__(Switching self, Particle d) -> bool
1881 return _IMP_isd.Switching___eq__(self, *args)
1884 def __ne__(self, *args):
1886 __ne__(Switching self, Switching o) -> bool
1887 __ne__(Switching self, Particle d) -> bool
1889 return _IMP_isd.Switching___ne__(self, *args)
1892 def __le__(self, *args):
1894 __le__(Switching self, Switching o) -> bool
1895 __le__(Switching self, Particle d) -> bool
1897 return _IMP_isd.Switching___le__(self, *args)
1900 def __lt__(self, *args):
1902 __lt__(Switching self, Switching o) -> bool
1903 __lt__(Switching self, Particle d) -> bool
1905 return _IMP_isd.Switching___lt__(self, *args)
1908 def __ge__(self, *args):
1910 __ge__(Switching self, Switching o) -> bool
1911 __ge__(Switching self, Particle d) -> bool
1913 return _IMP_isd.Switching___ge__(self, *args)
1916 def __gt__(self, *args):
1918 __gt__(Switching self, Switching o) -> bool
1919 __gt__(Switching self, Particle d) -> bool
1921 return _IMP_isd.Switching___gt__(self, *args)
1925 """__hash__(Switching self) -> std::size_t"""
1926 return _IMP_isd.Switching___hash__(self)
1930 """__str__(Switching self) -> std::string"""
1931 return _IMP_isd.Switching___str__(self)
1935 """__repr__(Switching self) -> std::string"""
1936 return _IMP_isd.Switching___repr__(self)
1938 __swig_destroy__ = _IMP_isd.delete_Switching
1939 __del__ =
lambda self:
None
1940 Switching_swigregister = _IMP_isd.Switching_swigregister
1941 Switching_swigregister(Switching)
1943 def Switching_setup_particle(*args):
1945 setup_particle(Model m, ParticleIndex pi) -> Switching
1946 setup_particle(_ParticleAdaptor decorator) -> Switching
1947 setup_particle(Model m, ParticleIndex pi, double switching) -> Switching
1948 Switching_setup_particle(_ParticleAdaptor decorator, double switching) -> Switching
1950 return _IMP_isd.Switching_setup_particle(*args)
1952 def Switching_get_is_setup(*args):
1954 get_is_setup(_ParticleAdaptor p) -> bool
1955 Switching_get_is_setup(Model m, ParticleIndex pi) -> bool
1957 return _IMP_isd.Switching_get_is_setup(*args)
1959 def Switching_get_switching_key():
1960 """Switching_get_switching_key() -> FloatKey"""
1961 return _IMP_isd.Switching_get_switching_key()
1964 def __lshift__(*args):
1966 __lshift__(_ostream out, Nuisance n) -> _ostream
1967 __lshift__(_ostream out, Scale n) -> _ostream
1968 __lshift__(_ostream out, Switching n) -> _ostream
1970 return _IMP_isd.__lshift__(*args)
1972 """Proxy of C++ IMP::isd::Weight class."""
1974 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
1976 def __init__(self, *args):
1978 __init__(IMP::isd::Weight self) -> Weight
1979 __init__(IMP::isd::Weight self, Model m, ParticleIndex id) -> Weight
1980 __init__(IMP::isd::Weight self, _ParticleAdaptor d) -> Weight
1982 this = _IMP_isd.new_Weight(*args)
1984 self.this.append(this)
1985 except __builtin__.Exception:
1988 def show(self, *args):
1990 show(Weight self, _ostream out)
1993 return _IMP_isd.Weight_show(self, *args)
1996 def setup_particle(*args):
1998 setup_particle(Model m, ParticleIndex pi) -> Weight
1999 setup_particle(_ParticleAdaptor decorator) -> Weight
2001 return _IMP_isd.Weight_setup_particle(*args)
2003 setup_particle = staticmethod(setup_particle)
2005 def get_nstates_key():
2006 """get_nstates_key() -> IntKey"""
2007 return _IMP_isd.Weight_get_nstates_key()
2009 get_nstates_key = staticmethod(get_nstates_key)
2011 def get_weight_key(i):
2012 """get_weight_key(int i) -> FloatKey"""
2013 return _IMP_isd.Weight_get_weight_key(i)
2015 get_weight_key = staticmethod(get_weight_key)
2017 def set_weights(self, w):
2018 """set_weights(Weight self, VectorKD w)"""
2019 return _IMP_isd.Weight_set_weights(self, w)
2022 def add_weight(self):
2023 """add_weight(Weight self)"""
2024 return _IMP_isd.Weight_add_weight(self)
2027 def get_weight(self, i):
2028 """get_weight(Weight self, int i) -> IMP::Float"""
2029 return _IMP_isd.Weight_get_weight(self, i)
2032 def get_weights(self):
2033 """get_weights(Weight self) -> VectorKD"""
2034 return _IMP_isd.Weight_get_weights(self)
2037 def set_weights_are_optimized(self, tf):
2038 """set_weights_are_optimized(Weight self, bool tf)"""
2039 return _IMP_isd.Weight_set_weights_are_optimized(self, tf)
2042 def get_number_of_states(self):
2043 """get_number_of_states(Weight self) -> IMP::Int"""
2044 return _IMP_isd.Weight_get_number_of_states(self)
2047 def get_is_setup(*args):
2049 get_is_setup(_ParticleAdaptor p) -> bool
2050 get_is_setup(Model m, ParticleIndex pi) -> bool
2052 return _IMP_isd.Weight_get_is_setup(*args)
2054 get_is_setup = staticmethod(get_is_setup)
2056 def add_attribute(self, *args):
2058 add_attribute(Weight self, FloatKey k, IMP::Float v, bool opt)
2059 add_attribute(Weight self, FloatKey a0, IMP::Float a1)
2060 add_attribute(Weight self, IntKey a0, IMP::Int a1)
2061 add_attribute(Weight self, StringKey a0, IMP::String a1)
2062 add_attribute(Weight self, ParticleIndexKey a0, Particle a1)
2063 add_attribute(Weight self, ObjectKey a0, Object a1)
2065 return _IMP_isd.Weight_add_attribute(self, *args)
2068 def get_value(self, *args):
2070 get_value(Weight self, FloatKey a0) -> IMP::Float
2071 get_value(Weight self, IntKey a0) -> IMP::Int
2072 get_value(Weight self, StringKey a0) -> IMP::String
2073 get_value(Weight self, ParticleIndexKey a0) -> Particle
2074 get_value(Weight self, ObjectKey a0) -> Object
2076 return _IMP_isd.Weight_get_value(self, *args)
2079 def set_value(self, *args):
2081 set_value(Weight self, FloatKey a0, IMP::Float a1)
2082 set_value(Weight self, IntKey a0, IMP::Int a1)
2083 set_value(Weight self, StringKey a0, IMP::String a1)
2084 set_value(Weight self, ParticleIndexKey a0, Particle a1)
2085 set_value(Weight self, ObjectKey a0, Object a1)
2087 return _IMP_isd.Weight_set_value(self, *args)
2090 def remove_attribute(self, *args):
2092 remove_attribute(Weight self, FloatKey a0)
2093 remove_attribute(Weight self, IntKey a0)
2094 remove_attribute(Weight self, StringKey a0)
2095 remove_attribute(Weight self, ParticleIndexKey a0)
2096 remove_attribute(Weight self, ObjectKey a0)
2098 return _IMP_isd.Weight_remove_attribute(self, *args)
2101 def has_attribute(self, *args):
2103 has_attribute(Weight self, FloatKey a0) -> bool
2104 has_attribute(Weight self, IntKey a0) -> bool
2105 has_attribute(Weight self, StringKey a0) -> bool
2106 has_attribute(Weight self, ParticleIndexKey a0) -> bool
2107 has_attribute(Weight self, ObjectKey a0) -> bool
2109 return _IMP_isd.Weight_has_attribute(self, *args)
2112 def get_derivative(self, a0):
2113 """get_derivative(Weight self, FloatKey a0) -> double"""
2114 return _IMP_isd.Weight_get_derivative(self, a0)
2118 """get_name(Weight self) -> std::string"""
2119 return _IMP_isd.Weight_get_name(self)
2123 """clear_caches(Weight self)"""
2124 return _IMP_isd.Weight_clear_caches(self)
2127 def set_name(self, a0):
2128 """set_name(Weight self, std::string a0)"""
2129 return _IMP_isd.Weight_set_name(self, a0)
2133 """set_check_level(Weight self, IMP::CheckLevel a0)"""
2134 return _IMP_isd.Weight_set_check_level(self, a0)
2137 def add_to_derivative(self, a0, a1, a2):
2138 """add_to_derivative(Weight self, FloatKey a0, double a1, DerivativeAccumulator a2)"""
2139 return _IMP_isd.Weight_add_to_derivative(self, a0, a1, a2)
2142 def set_is_optimized(self, a0, a1):
2143 """set_is_optimized(Weight self, FloatKey a0, bool a1)"""
2144 return _IMP_isd.Weight_set_is_optimized(self, a0, a1)
2147 def get_is_optimized(self, a0):
2148 """get_is_optimized(Weight self, FloatKey a0) -> bool"""
2149 return _IMP_isd.Weight_get_is_optimized(self, a0)
2152 def get_check_level(self):
2153 """get_check_level(Weight self) -> IMP::CheckLevel"""
2154 return _IMP_isd.Weight_get_check_level(self)
2157 def __eq__(self, *args):
2159 __eq__(Weight self, Weight o) -> bool
2160 __eq__(Weight self, Particle d) -> bool
2162 return _IMP_isd.Weight___eq__(self, *args)
2165 def __ne__(self, *args):
2167 __ne__(Weight self, Weight o) -> bool
2168 __ne__(Weight self, Particle d) -> bool
2170 return _IMP_isd.Weight___ne__(self, *args)
2173 def __le__(self, *args):
2175 __le__(Weight self, Weight o) -> bool
2176 __le__(Weight self, Particle d) -> bool
2178 return _IMP_isd.Weight___le__(self, *args)
2181 def __lt__(self, *args):
2183 __lt__(Weight self, Weight o) -> bool
2184 __lt__(Weight self, Particle d) -> bool
2186 return _IMP_isd.Weight___lt__(self, *args)
2189 def __ge__(self, *args):
2191 __ge__(Weight self, Weight o) -> bool
2192 __ge__(Weight self, Particle d) -> bool
2194 return _IMP_isd.Weight___ge__(self, *args)
2197 def __gt__(self, *args):
2199 __gt__(Weight self, Weight o) -> bool
2200 __gt__(Weight self, Particle d) -> bool
2202 return _IMP_isd.Weight___gt__(self, *args)
2206 """__hash__(Weight self) -> std::size_t"""
2207 return _IMP_isd.Weight___hash__(self)
2211 """__str__(Weight self) -> std::string"""
2212 return _IMP_isd.Weight___str__(self)
2216 """__repr__(Weight self) -> std::string"""
2217 return _IMP_isd.Weight___repr__(self)
2219 __swig_destroy__ = _IMP_isd.delete_Weight
2220 __del__ =
lambda self:
None
2221 Weight_swigregister = _IMP_isd.Weight_swigregister
2222 Weight_swigregister(Weight)
2224 def Weight_setup_particle(*args):
2226 setup_particle(Model m, ParticleIndex pi) -> Weight
2227 Weight_setup_particle(_ParticleAdaptor decorator) -> Weight
2229 return _IMP_isd.Weight_setup_particle(*args)
2231 def Weight_get_nstates_key():
2232 """Weight_get_nstates_key() -> IntKey"""
2233 return _IMP_isd.Weight_get_nstates_key()
2235 def Weight_get_weight_key(i):
2236 """Weight_get_weight_key(int i) -> FloatKey"""
2237 return _IMP_isd.Weight_get_weight_key(i)
2239 def Weight_get_is_setup(*args):
2241 get_is_setup(_ParticleAdaptor p) -> bool
2242 Weight_get_is_setup(Model m, ParticleIndex pi) -> bool
2244 return _IMP_isd.Weight_get_is_setup(*args)
2247 """Proxy of C++ IMP::isd::JeffreysRestraint class."""
2249 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2251 def __init__(self, m, p):
2252 """__init__(IMP::isd::JeffreysRestraint self, Model m, Particle p) -> JeffreysRestraint"""
2253 this = _IMP_isd.new_JeffreysRestraint(m, p)
2255 self.this.append(this)
2256 except __builtin__.Exception:
2260 """do_get_inputs(JeffreysRestraint self) -> IMP::ModelObjectsTemp"""
2261 return _IMP_isd.JeffreysRestraint_do_get_inputs(self)
2265 """get_version_info(JeffreysRestraint self) -> VersionInfo"""
2266 return _IMP_isd.JeffreysRestraint_get_version_info(self)
2269 def get_probability(self):
2270 """get_probability(JeffreysRestraint self) -> double"""
2271 return _IMP_isd.JeffreysRestraint_get_probability(self)
2275 """__str__(JeffreysRestraint self) -> std::string"""
2276 return _IMP_isd.JeffreysRestraint___str__(self)
2280 """__repr__(JeffreysRestraint self) -> std::string"""
2281 return _IMP_isd.JeffreysRestraint___repr__(self)
2286 return _object_cast_to_JeffreysRestraint(o)
2288 JeffreysRestraint_swigregister = _IMP_isd.JeffreysRestraint_swigregister
2289 JeffreysRestraint_swigregister(JeffreysRestraint)
2292 """Proxy of C++ IMP::isd::NormalSigmaPCRestraint class."""
2294 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2296 def __init__(self, *args):
2298 __init__(IMP::isd::NormalSigmaPCRestraint self, Model m, ParticleIndex spi, double su, double alpha, std::string name) -> NormalSigmaPCRestraint
2299 __init__(IMP::isd::NormalSigmaPCRestraint self, Model m, ParticleIndex spi, double su, double alpha) -> NormalSigmaPCRestraint
2300 __init__(IMP::isd::NormalSigmaPCRestraint self, Scale s, double su, double alpha, std::string name) -> NormalSigmaPCRestraint
2301 __init__(IMP::isd::NormalSigmaPCRestraint self, Scale s, double su, double alpha) -> NormalSigmaPCRestraint
2303 this = _IMP_isd.new_NormalSigmaPCRestraint(*args)
2305 self.this.append(this)
2306 except __builtin__.Exception:
2309 def get_sigma(self):
2310 """get_sigma(NormalSigmaPCRestraint self) -> Scale"""
2311 return _IMP_isd.NormalSigmaPCRestraint_get_sigma(self)
2314 def get_alpha(self):
2315 """get_alpha(NormalSigmaPCRestraint self) -> double"""
2316 return _IMP_isd.NormalSigmaPCRestraint_get_alpha(self)
2319 def get_sigma_upper(self):
2320 """get_sigma_upper(NormalSigmaPCRestraint self) -> double"""
2321 return _IMP_isd.NormalSigmaPCRestraint_get_sigma_upper(self)
2324 def get_probability(self):
2325 """get_probability(NormalSigmaPCRestraint self) -> double"""
2326 return _IMP_isd.NormalSigmaPCRestraint_get_probability(self)
2330 """do_get_inputs(NormalSigmaPCRestraint self) -> IMP::ModelObjectsTemp"""
2331 return _IMP_isd.NormalSigmaPCRestraint_do_get_inputs(self)
2335 """get_version_info(NormalSigmaPCRestraint self) -> VersionInfo"""
2336 return _IMP_isd.NormalSigmaPCRestraint_get_version_info(self)
2340 """__str__(NormalSigmaPCRestraint self) -> std::string"""
2341 return _IMP_isd.NormalSigmaPCRestraint___str__(self)
2345 """__repr__(NormalSigmaPCRestraint self) -> std::string"""
2346 return _IMP_isd.NormalSigmaPCRestraint___repr__(self)
2351 return _object_cast_to_NormalSigmaPCRestraint(o)
2353 NormalSigmaPCRestraint_swigregister = _IMP_isd.NormalSigmaPCRestraint_swigregister
2354 NormalSigmaPCRestraint_swigregister(NormalSigmaPCRestraint)
2357 """Proxy of C++ IMP::isd::Distribution class."""
2359 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2361 def __init__(self, *args):
2363 __init__(IMP::isd::Distribution self, std::string name) -> Distribution
2364 __init__(IMP::isd::Distribution self) -> Distribution
2366 if self.__class__ == Distribution:
2370 this = _IMP_isd.new_Distribution(_self, *args)
2372 self.this.append(this)
2373 except __builtin__.Exception:
2376 if self.__class__ != Distribution:
2377 _director_objects.register(self)
2382 def get_type_name(self):
2383 """get_type_name(Distribution self) -> std::string"""
2384 return _IMP_isd.Distribution_get_type_name(self)
2388 """get_version_info(Distribution self) -> VersionInfo"""
2389 return _IMP_isd.Distribution_get_version_info(self)
2393 """__str__(Distribution self) -> std::string"""
2394 return _IMP_isd.Distribution___str__(self)
2398 """__repr__(Distribution self) -> std::string"""
2399 return _IMP_isd.Distribution___repr__(self)
2404 return _object_cast_to_Distribution(o)
2407 def get_type_name(self):
2408 return self.__class__.__name__
2409 def do_show(self, out):
2412 if"IMP::isd" ==
"IMP":
2413 return VersionInfo(self.__module__,
2414 __import__(self.__module__).get_module_version())
2417 __import__(self.__module__).get_module_version())
2420 return _object_cast_to_Distribution(o)
2422 def __disown__(self):
2424 _IMP_isd.disown_Distribution(self)
2425 return weakref_proxy(self)
2428 """do_destroy(Distribution self)"""
2429 return _IMP_isd.Distribution_do_destroy(self)
2431 Distribution_swigregister = _IMP_isd.Distribution_swigregister
2432 Distribution_swigregister(Distribution)
2434 class OneDimensionalDistribution(Distribution):
2435 """Proxy of C++ IMP::isd::OneDimensionalDistribution class."""
2437 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2439 def do_evaluate(self, *args):
2441 do_evaluate(OneDimensionalDistribution self, double v) -> double
2442 do_evaluate(OneDimensionalDistribution self, IMP::Floats const & vs) -> IMP::Floats
2444 return _IMP_isd.OneDimensionalDistribution_do_evaluate(self, *args)
2447 def do_get_density(self, *args):
2449 do_get_density(OneDimensionalDistribution self, double v) -> double
2450 do_get_density(OneDimensionalDistribution self, IMP::Floats const & vs) -> IMP::Floats
2452 return _IMP_isd.OneDimensionalDistribution_do_get_density(self, *args)
2455 def __init__(self, *args):
2457 __init__(IMP::isd::OneDimensionalDistribution self, std::string name) -> OneDimensionalDistribution
2458 __init__(IMP::isd::OneDimensionalDistribution self) -> OneDimensionalDistribution
2460 if self.__class__ == OneDimensionalDistribution:
2464 this = _IMP_isd.new_OneDimensionalDistribution(_self, *args)
2466 self.this.append(this)
2467 except __builtin__.Exception:
2470 if self.__class__ != OneDimensionalDistribution:
2471 _director_objects.register(self)
2476 def evaluate(self, *args):
2478 evaluate(OneDimensionalDistribution self, double v) -> double
2479 evaluate(OneDimensionalDistribution self, IMP::Floats const & vs) -> IMP::Floats
2481 return _IMP_isd.OneDimensionalDistribution_evaluate(self, *args)
2484 def get_density(self, *args):
2486 get_density(OneDimensionalDistribution self, double v) -> double
2487 get_density(OneDimensionalDistribution self, IMP::Floats const & vs) -> IMP::Floats
2489 return _IMP_isd.OneDimensionalDistribution_get_density(self, *args)
2492 def get_type_name(self):
2493 """get_type_name(OneDimensionalDistribution self) -> std::string"""
2494 return _IMP_isd.OneDimensionalDistribution_get_type_name(self)
2498 """get_version_info(OneDimensionalDistribution self) -> VersionInfo"""
2499 return _IMP_isd.OneDimensionalDistribution_get_version_info(self)
2503 """__str__(OneDimensionalDistribution self) -> std::string"""
2504 return _IMP_isd.OneDimensionalDistribution___str__(self)
2508 """__repr__(OneDimensionalDistribution self) -> std::string"""
2509 return _IMP_isd.OneDimensionalDistribution___repr__(self)
2514 return _object_cast_to_OneDimensionalDistribution(o)
2517 def get_type_name(self):
2518 return self.__class__.__name__
2519 def do_show(self, out):
2522 if"IMP::isd" ==
"IMP":
2523 return VersionInfo(self.__module__,
2524 __import__(self.__module__).get_module_version())
2527 __import__(self.__module__).get_module_version())
2530 return _object_cast_to_OneDimensionalDistribution(o)
2532 def __disown__(self):
2534 _IMP_isd.disown_OneDimensionalDistribution(self)
2535 return weakref_proxy(self)
2538 """do_destroy(OneDimensionalDistribution self)"""
2539 return _IMP_isd.OneDimensionalDistribution_do_destroy(self)
2541 OneDimensionalDistribution_swigregister = _IMP_isd.OneDimensionalDistribution_swigregister
2542 OneDimensionalDistribution_swigregister(OneDimensionalDistribution)
2544 class OneDimensionalSufficientDistribution(Distribution):
2545 """Proxy of C++ IMP::isd::OneDimensionalSufficientDistribution class."""
2547 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2549 def do_update_sufficient_statistics(self, vs):
2550 """do_update_sufficient_statistics(OneDimensionalSufficientDistribution self, IMP::Floats vs)"""
2551 return _IMP_isd.OneDimensionalSufficientDistribution_do_update_sufficient_statistics(self, vs)
2554 def do_get_sufficient_statistics(self):
2555 """do_get_sufficient_statistics(OneDimensionalSufficientDistribution self) -> IMP::Floats"""
2556 return _IMP_isd.OneDimensionalSufficientDistribution_do_get_sufficient_statistics(self)
2559 def do_evaluate(self):
2560 """do_evaluate(OneDimensionalSufficientDistribution self) -> double"""
2561 return _IMP_isd.OneDimensionalSufficientDistribution_do_evaluate(self)
2564 def do_get_density(self):
2565 """do_get_density(OneDimensionalSufficientDistribution self) -> double"""
2566 return _IMP_isd.OneDimensionalSufficientDistribution_do_get_density(self)
2569 def __init__(self, *args):
2571 __init__(IMP::isd::OneDimensionalSufficientDistribution self, std::string name) -> OneDimensionalSufficientDistribution
2572 __init__(IMP::isd::OneDimensionalSufficientDistribution self) -> OneDimensionalSufficientDistribution
2574 if self.__class__ == OneDimensionalSufficientDistribution:
2578 this = _IMP_isd.new_OneDimensionalSufficientDistribution(_self, *args)
2580 self.this.append(this)
2581 except __builtin__.Exception:
2584 if self.__class__ != OneDimensionalSufficientDistribution:
2585 _director_objects.register(self)
2590 def update_sufficient_statistics(self, vs):
2591 """update_sufficient_statistics(OneDimensionalSufficientDistribution self, IMP::Floats vs)"""
2592 return _IMP_isd.OneDimensionalSufficientDistribution_update_sufficient_statistics(self, vs)
2595 def get_sufficient_statistics(self):
2596 """get_sufficient_statistics(OneDimensionalSufficientDistribution self) -> IMP::Floats"""
2597 return _IMP_isd.OneDimensionalSufficientDistribution_get_sufficient_statistics(self)
2601 """evaluate(OneDimensionalSufficientDistribution self) -> double"""
2602 return _IMP_isd.OneDimensionalSufficientDistribution_evaluate(self)
2605 def get_density(self):
2606 """get_density(OneDimensionalSufficientDistribution self) -> double"""
2607 return _IMP_isd.OneDimensionalSufficientDistribution_get_density(self)
2610 def get_type_name(self):
2611 """get_type_name(OneDimensionalSufficientDistribution self) -> std::string"""
2612 return _IMP_isd.OneDimensionalSufficientDistribution_get_type_name(self)
2616 """get_version_info(OneDimensionalSufficientDistribution self) -> VersionInfo"""
2617 return _IMP_isd.OneDimensionalSufficientDistribution_get_version_info(self)
2621 """__str__(OneDimensionalSufficientDistribution self) -> std::string"""
2622 return _IMP_isd.OneDimensionalSufficientDistribution___str__(self)
2626 """__repr__(OneDimensionalSufficientDistribution self) -> std::string"""
2627 return _IMP_isd.OneDimensionalSufficientDistribution___repr__(self)
2632 return _object_cast_to_OneDimensionalSufficientDistribution(o)
2635 def get_type_name(self):
2636 return self.__class__.__name__
2637 def do_show(self, out):
2640 if"IMP::isd" ==
"IMP":
2641 return VersionInfo(self.__module__,
2642 __import__(self.__module__).get_module_version())
2645 __import__(self.__module__).get_module_version())
2648 return _object_cast_to_OneDimensionalSufficientDistribution(o)
2650 def __disown__(self):
2652 _IMP_isd.disown_OneDimensionalSufficientDistribution(self)
2653 return weakref_proxy(self)
2656 """do_destroy(OneDimensionalSufficientDistribution self)"""
2657 return _IMP_isd.OneDimensionalSufficientDistribution_do_destroy(self)
2659 OneDimensionalSufficientDistribution_swigregister = _IMP_isd.OneDimensionalSufficientDistribution_swigregister
2660 OneDimensionalSufficientDistribution_swigregister(OneDimensionalSufficientDistribution)
2662 class FNormal(OneDimensionalSufficientDistribution):
2663 """Proxy of C++ IMP::isd::FNormal class."""
2665 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2667 def __init__(self, FA, JA, FM, sigma):
2668 """__init__(IMP::isd::FNormal self, double FA, double JA, double FM, double sigma) -> FNormal"""
2669 this = _IMP_isd.new_FNormal(FA, JA, FM, sigma)
2671 self.this.append(this)
2672 except __builtin__.Exception:
2675 def update_sufficient_statistics(self, FA):
2676 """update_sufficient_statistics(FNormal self, double FA)"""
2677 return _IMP_isd.FNormal_update_sufficient_statistics(self, FA)
2680 def do_update_sufficient_statistics(self, data):
2681 """do_update_sufficient_statistics(FNormal self, IMP::Floats data)"""
2682 return _IMP_isd.FNormal_do_update_sufficient_statistics(self, data)
2685 def do_get_sufficient_statistics(self):
2686 """do_get_sufficient_statistics(FNormal self) -> IMP::Floats"""
2687 return _IMP_isd.FNormal_do_get_sufficient_statistics(self)
2690 def do_evaluate(self):
2691 """do_evaluate(FNormal self) -> double"""
2692 return _IMP_isd.FNormal_do_evaluate(self)
2695 def evaluate_derivative_FA(self):
2696 """evaluate_derivative_FA(FNormal self) -> double"""
2697 return _IMP_isd.FNormal_evaluate_derivative_FA(self)
2700 def evaluate_derivative_JA(self):
2701 """evaluate_derivative_JA(FNormal self) -> double"""
2702 return _IMP_isd.FNormal_evaluate_derivative_JA(self)
2705 def evaluate_derivative_FM(self):
2706 """evaluate_derivative_FM(FNormal self) -> double"""
2707 return _IMP_isd.FNormal_evaluate_derivative_FM(self)
2710 def evaluate_derivative_sigma(self):
2711 """evaluate_derivative_sigma(FNormal self) -> double"""
2712 return _IMP_isd.FNormal_evaluate_derivative_sigma(self)
2715 def do_get_density(self):
2716 """do_get_density(FNormal self) -> double"""
2717 return _IMP_isd.FNormal_do_get_density(self)
2720 def set_FA(self, f):
2721 """set_FA(FNormal self, double f)"""
2722 return _IMP_isd.FNormal_set_FA(self, f)
2725 def set_JA(self, f):
2726 """set_JA(FNormal self, double f)"""
2727 return _IMP_isd.FNormal_set_JA(self, f)
2730 def set_FM(self, f):
2731 """set_FM(FNormal self, double f)"""
2732 return _IMP_isd.FNormal_set_FM(self, f)
2735 def set_sigma(self, f):
2736 """set_sigma(FNormal self, double f)"""
2737 return _IMP_isd.FNormal_set_sigma(self, f)
2741 """__str__(FNormal self) -> std::string"""
2742 return _IMP_isd.FNormal___str__(self)
2746 """__repr__(FNormal self) -> std::string"""
2747 return _IMP_isd.FNormal___repr__(self)
2752 return _object_cast_to_FNormal(o)
2754 FNormal_swigregister = _IMP_isd.FNormal_swigregister
2755 FNormal_swigregister(FNormal)
2757 class FStudentT(OneDimensionalSufficientDistribution):
2758 """Proxy of C++ IMP::isd::FStudentT class."""
2760 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2762 def __init__(self, *args):
2764 __init__(IMP::isd::FStudentT self, IMP::Floats FXs, IMP::Floats JXs, double FM, double sigma, double nu, std::string name) -> FStudentT
2765 __init__(IMP::isd::FStudentT self, IMP::Floats FXs, IMP::Floats JXs, double FM, double sigma, double nu) -> FStudentT
2766 __init__(IMP::isd::FStudentT self, double sumFX, double sumFX2, unsigned int N, double LogJX, double FM, double sigma, double nu, std::string name) -> FStudentT
2767 __init__(IMP::isd::FStudentT self, double sumFX, double sumFX2, unsigned int N, double LogJX, double FM, double sigma, double nu) -> FStudentT
2769 this = _IMP_isd.new_FStudentT(*args)
2771 self.this.append(this)
2772 except __builtin__.Exception:
2775 def update_sufficient_statistics(self, FXs, JXs):
2776 """update_sufficient_statistics(FStudentT self, IMP::Floats FXs, IMP::Floats JXs)"""
2777 return _IMP_isd.FStudentT_update_sufficient_statistics(self, FXs, JXs)
2780 def evaluate_derivative_Fx(self, Fx):
2781 """evaluate_derivative_Fx(FStudentT self, double Fx) -> double"""
2782 return _IMP_isd.FStudentT_evaluate_derivative_Fx(self, Fx)
2785 def evaluate_derivative_FX(self, FXs):
2786 """evaluate_derivative_FX(FStudentT self, IMP::Floats const FXs) -> IMP::Floats"""
2787 return _IMP_isd.FStudentT_evaluate_derivative_FX(self, FXs)
2790 def evaluate_derivative_LogJX(self):
2791 """evaluate_derivative_LogJX(FStudentT self) -> double"""
2792 return _IMP_isd.FStudentT_evaluate_derivative_LogJX(self)
2795 def evaluate_derivative_FM(self):
2796 """evaluate_derivative_FM(FStudentT self) -> double"""
2797 return _IMP_isd.FStudentT_evaluate_derivative_FM(self)
2800 def evaluate_derivative_sigma(self):
2801 """evaluate_derivative_sigma(FStudentT self) -> double"""
2802 return _IMP_isd.FStudentT_evaluate_derivative_sigma(self)
2805 def evaluate_derivative_nu(self):
2806 """evaluate_derivative_nu(FStudentT self) -> double"""
2807 return _IMP_isd.FStudentT_evaluate_derivative_nu(self)
2810 def update_cached_values(self):
2811 """update_cached_values(FStudentT self)"""
2812 return _IMP_isd.FStudentT_update_cached_values(self)
2815 def set_sumFX(self, v):
2816 """set_sumFX(FStudentT self, double v)"""
2817 return _IMP_isd.FStudentT_set_sumFX(self, v)
2820 def set_sumFX2(self, v):
2821 """set_sumFX2(FStudentT self, double v)"""
2822 return _IMP_isd.FStudentT_set_sumFX2(self, v)
2826 """set_N(FStudentT self, unsigned int v)"""
2827 return _IMP_isd.FStudentT_set_N(self, v)
2830 def set_LogJX(self, v):
2831 """set_LogJX(FStudentT self, double v)"""
2832 return _IMP_isd.FStudentT_set_LogJX(self, v)
2835 def set_FM(self, v):
2836 """set_FM(FStudentT self, double v)"""
2837 return _IMP_isd.FStudentT_set_FM(self, v)
2840 def set_sigma(self, v):
2841 """set_sigma(FStudentT self, double v)"""
2842 return _IMP_isd.FStudentT_set_sigma(self, v)
2845 def set_nu(self, v):
2846 """set_nu(FStudentT self, double v)"""
2847 return _IMP_isd.FStudentT_set_nu(self, v)
2850 def get_sumFX(self):
2851 """get_sumFX(FStudentT self) -> double"""
2852 return _IMP_isd.FStudentT_get_sumFX(self)
2855 def get_sumFX2(self):
2856 """get_sumFX2(FStudentT self) -> double"""
2857 return _IMP_isd.FStudentT_get_sumFX2(self)
2861 """get_N(FStudentT self) -> unsigned int"""
2862 return _IMP_isd.FStudentT_get_N(self)
2865 def get_LogJX(self):
2866 """get_LogJX(FStudentT self) -> double"""
2867 return _IMP_isd.FStudentT_get_LogJX(self)
2871 """get_FM(FStudentT self) -> double"""
2872 return _IMP_isd.FStudentT_get_FM(self)
2875 def get_sigma(self):
2876 """get_sigma(FStudentT self) -> double"""
2877 return _IMP_isd.FStudentT_get_sigma(self)
2881 """get_nu(FStudentT self) -> double"""
2882 return _IMP_isd.FStudentT_get_nu(self)
2886 """__str__(FStudentT self) -> std::string"""
2887 return _IMP_isd.FStudentT___str__(self)
2891 """__repr__(FStudentT self) -> std::string"""
2892 return _IMP_isd.FStudentT___repr__(self)
2897 return _object_cast_to_FStudentT(o)
2899 FStudentT_swigregister = _IMP_isd.FStudentT_swigregister
2900 FStudentT_swigregister(FStudentT)
2903 """Proxy of C++ IMP::isd::vonMises class."""
2905 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2907 def __init__(self, x, mu, kappa):
2908 """__init__(IMP::isd::vonMises self, double x, double mu, double kappa) -> vonMises"""
2909 this = _IMP_isd.new_vonMises(x, mu, kappa)
2911 self.this.append(this)
2912 except __builtin__.Exception:
2916 """evaluate(vonMises self) -> double"""
2917 return _IMP_isd.vonMises_evaluate(self)
2920 def evaluate_derivative_x(self):
2921 """evaluate_derivative_x(vonMises self) -> double"""
2922 return _IMP_isd.vonMises_evaluate_derivative_x(self)
2925 def evaluate_derivative_mu(self):
2926 """evaluate_derivative_mu(vonMises self) -> double"""
2927 return _IMP_isd.vonMises_evaluate_derivative_mu(self)
2930 def evaluate_derivative_kappa(self):
2931 """evaluate_derivative_kappa(vonMises self) -> double"""
2932 return _IMP_isd.vonMises_evaluate_derivative_kappa(self)
2936 """density(vonMises self) -> double"""
2937 return _IMP_isd.vonMises_density(self)
2941 """set_x(vonMises self, double x)"""
2942 return _IMP_isd.vonMises_set_x(self, x)
2945 def set_mu(self, mu):
2946 """set_mu(vonMises self, double mu)"""
2947 return _IMP_isd.vonMises_set_mu(self, mu)
2950 def set_kappa(self, kappa):
2951 """set_kappa(vonMises self, double kappa)"""
2952 return _IMP_isd.vonMises_set_kappa(self, kappa)
2956 """get_version_info(vonMises self) -> VersionInfo"""
2957 return _IMP_isd.vonMises_get_version_info(self)
2961 """__str__(vonMises self) -> std::string"""
2962 return _IMP_isd.vonMises___str__(self)
2966 """__repr__(vonMises self) -> std::string"""
2967 return _IMP_isd.vonMises___repr__(self)
2972 return _object_cast_to_vonMises(o)
2974 vonMises_swigregister = _IMP_isd.vonMises_swigregister
2975 vonMises_swigregister(vonMises)
2978 """Proxy of C++ IMP::isd::vonMisesSufficient class."""
2980 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
2982 def __init__(self, *args):
2984 __init__(IMP::isd::vonMisesSufficient self, double chi, unsigned int N, double R0, double chiexp, double kappa) -> vonMisesSufficient
2985 __init__(IMP::isd::vonMisesSufficient self, double chi, IMP::Floats obs, double kappa) -> vonMisesSufficient
2987 this = _IMP_isd.new_vonMisesSufficient(*args)
2989 self.this.append(this)
2990 except __builtin__.Exception:
2994 """evaluate(vonMisesSufficient self) -> double"""
2995 return _IMP_isd.vonMisesSufficient_evaluate(self)
2998 def evaluate_derivative_x(self):
2999 """evaluate_derivative_x(vonMisesSufficient self) -> double"""
3000 return _IMP_isd.vonMisesSufficient_evaluate_derivative_x(self)
3003 def evaluate_derivative_kappa(self):
3004 """evaluate_derivative_kappa(vonMisesSufficient self) -> double"""
3005 return _IMP_isd.vonMisesSufficient_evaluate_derivative_kappa(self)
3009 """density(vonMisesSufficient self) -> double"""
3010 return _IMP_isd.vonMisesSufficient_density(self)
3014 """get_x(vonMisesSufficient self) -> double"""
3015 return _IMP_isd.vonMisesSufficient_get_x(self)
3019 """get_R0(vonMisesSufficient self) -> double"""
3020 return _IMP_isd.vonMisesSufficient_get_R0(self)
3023 def get_chiexp(self):
3024 """get_chiexp(vonMisesSufficient self) -> double"""
3025 return _IMP_isd.vonMisesSufficient_get_chiexp(self)
3029 """get_N(vonMisesSufficient self) -> double"""
3030 return _IMP_isd.vonMisesSufficient_get_N(self)
3033 def get_kappa(self):
3034 """get_kappa(vonMisesSufficient self) -> double"""
3035 return _IMP_isd.vonMisesSufficient_get_kappa(self)
3039 """set_x(vonMisesSufficient self, double x)"""
3040 return _IMP_isd.vonMisesSufficient_set_x(self, x)
3043 def set_R0(self, R0):
3044 """set_R0(vonMisesSufficient self, double R0)"""
3045 return _IMP_isd.vonMisesSufficient_set_R0(self, R0)
3048 def set_chiexp(self, chiexp):
3049 """set_chiexp(vonMisesSufficient self, double chiexp)"""
3050 return _IMP_isd.vonMisesSufficient_set_chiexp(self, chiexp)
3054 """set_N(vonMisesSufficient self, unsigned int N)"""
3055 return _IMP_isd.vonMisesSufficient_set_N(self, N)
3058 def set_kappa(self, kappa):
3059 """set_kappa(vonMisesSufficient self, double kappa)"""
3060 return _IMP_isd.vonMisesSufficient_set_kappa(self, kappa)
3063 def get_sufficient_statistics(data):
3064 """get_sufficient_statistics(IMP::Floats data) -> IMP::Floats"""
3065 return _IMP_isd.vonMisesSufficient_get_sufficient_statistics(data)
3067 get_sufficient_statistics = staticmethod(get_sufficient_statistics)
3070 """get_version_info(vonMisesSufficient self) -> VersionInfo"""
3071 return _IMP_isd.vonMisesSufficient_get_version_info(self)
3075 """__str__(vonMisesSufficient self) -> std::string"""
3076 return _IMP_isd.vonMisesSufficient___str__(self)
3080 """__repr__(vonMisesSufficient self) -> std::string"""
3081 return _IMP_isd.vonMisesSufficient___repr__(self)
3086 return _object_cast_to_vonMisesSufficient(o)
3088 vonMisesSufficient_swigregister = _IMP_isd.vonMisesSufficient_swigregister
3089 vonMisesSufficient_swigregister(vonMisesSufficient)
3091 def vonMisesSufficient_get_sufficient_statistics(data):
3092 """vonMisesSufficient_get_sufficient_statistics(IMP::Floats data) -> IMP::Floats"""
3093 return _IMP_isd.vonMisesSufficient_get_sufficient_statistics(data)
3095 class PenalizedComplexityPrior(OneDimensionalSufficientDistribution):
3096 """Proxy of C++ IMP::isd::PenalizedComplexityPrior class."""
3098 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3100 def __init__(self, *args):
3102 __init__(IMP::isd::PenalizedComplexityPrior self, double Dxi, double Jxi, double alpha, std::string name) -> PenalizedComplexityPrior
3103 __init__(IMP::isd::PenalizedComplexityPrior self, double Dxi, double Jxi, double alpha) -> PenalizedComplexityPrior
3105 this = _IMP_isd.new_PenalizedComplexityPrior(*args)
3107 self.this.append(this)
3108 except __builtin__.Exception:
3111 def update_sufficient_statistics(self, Dxis, Jxis):
3112 """update_sufficient_statistics(PenalizedComplexityPrior self, IMP::Floats Dxis, IMP::Floats Jxis)"""
3113 return _IMP_isd.PenalizedComplexityPrior_update_sufficient_statistics(self, Dxis, Jxis)
3116 def evaluate_derivative_Dxi(self):
3117 """evaluate_derivative_Dxi(PenalizedComplexityPrior self) -> double"""
3118 return _IMP_isd.PenalizedComplexityPrior_evaluate_derivative_Dxi(self)
3121 def evaluate_derivative_Jxi(self):
3122 """evaluate_derivative_Jxi(PenalizedComplexityPrior self) -> double"""
3123 return _IMP_isd.PenalizedComplexityPrior_evaluate_derivative_Jxi(self)
3126 def evaluate_derivative_alpha(self):
3127 """evaluate_derivative_alpha(PenalizedComplexityPrior self) -> double"""
3128 return _IMP_isd.PenalizedComplexityPrior_evaluate_derivative_alpha(self)
3131 def evaluate_derivative_xi(self, JJxi):
3132 """evaluate_derivative_xi(PenalizedComplexityPrior self, double JJxi) -> double"""
3133 return _IMP_isd.PenalizedComplexityPrior_evaluate_derivative_xi(self, JJxi)
3136 def set_Dxi(self, v):
3137 """set_Dxi(PenalizedComplexityPrior self, double v)"""
3138 return _IMP_isd.PenalizedComplexityPrior_set_Dxi(self, v)
3141 def set_Jxi(self, v):
3142 """set_Jxi(PenalizedComplexityPrior self, double v)"""
3143 return _IMP_isd.PenalizedComplexityPrior_set_Jxi(self, v)
3146 def set_alpha(self, v):
3147 """set_alpha(PenalizedComplexityPrior self, double v)"""
3148 return _IMP_isd.PenalizedComplexityPrior_set_alpha(self, v)
3152 """get_Dxi(PenalizedComplexityPrior self) -> double"""
3153 return _IMP_isd.PenalizedComplexityPrior_get_Dxi(self)
3157 """get_Jxi(PenalizedComplexityPrior self) -> double"""
3158 return _IMP_isd.PenalizedComplexityPrior_get_Jxi(self)
3161 def get_alpha(self):
3162 """get_alpha(PenalizedComplexityPrior self) -> double"""
3163 return _IMP_isd.PenalizedComplexityPrior_get_alpha(self)
3167 """__str__(PenalizedComplexityPrior self) -> std::string"""
3168 return _IMP_isd.PenalizedComplexityPrior___str__(self)
3172 """__repr__(PenalizedComplexityPrior self) -> std::string"""
3173 return _IMP_isd.PenalizedComplexityPrior___repr__(self)
3178 return _object_cast_to_PenalizedComplexityPrior(o)
3180 PenalizedComplexityPrior_swigregister = _IMP_isd.PenalizedComplexityPrior_swigregister
3181 PenalizedComplexityPrior_swigregister(PenalizedComplexityPrior)
3184 """Proxy of C++ IMP::isd::vonMisesKappaJeffreysRestraint class."""
3186 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3188 def __init__(self, m, kappa):
3189 """__init__(IMP::isd::vonMisesKappaJeffreysRestraint self, Model m, Particle kappa) -> vonMisesKappaJeffreysRestraint"""
3190 this = _IMP_isd.new_vonMisesKappaJeffreysRestraint(m, kappa)
3192 self.this.append(this)
3193 except __builtin__.Exception:
3197 """do_get_inputs(vonMisesKappaJeffreysRestraint self) -> IMP::ModelObjectsTemp"""
3198 return _IMP_isd.vonMisesKappaJeffreysRestraint_do_get_inputs(self)
3202 """get_version_info(vonMisesKappaJeffreysRestraint self) -> VersionInfo"""
3203 return _IMP_isd.vonMisesKappaJeffreysRestraint_get_version_info(self)
3206 def get_probability(self):
3207 """get_probability(vonMisesKappaJeffreysRestraint self) -> double"""
3208 return _IMP_isd.vonMisesKappaJeffreysRestraint_get_probability(self)
3212 """__str__(vonMisesKappaJeffreysRestraint self) -> std::string"""
3213 return _IMP_isd.vonMisesKappaJeffreysRestraint___str__(self)
3217 """__repr__(vonMisesKappaJeffreysRestraint self) -> std::string"""
3218 return _IMP_isd.vonMisesKappaJeffreysRestraint___repr__(self)
3223 return _object_cast_to_vonMisesKappaJeffreysRestraint(o)
3225 vonMisesKappaJeffreysRestraint_swigregister = _IMP_isd.vonMisesKappaJeffreysRestraint_swigregister
3226 vonMisesKappaJeffreysRestraint_swigregister(vonMisesKappaJeffreysRestraint)
3229 """Proxy of C++ IMP::isd::vonMisesKappaConjugateRestraint class."""
3231 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3233 def __init__(self, m, kappa, c=10.0, R0=0.0):
3235 __init__(IMP::isd::vonMisesKappaConjugateRestraint self, Model m, Particle kappa, double c=10.0, double R0=0.0) -> vonMisesKappaConjugateRestraint
3236 __init__(IMP::isd::vonMisesKappaConjugateRestraint self, Model m, Particle kappa, double c=10.0) -> vonMisesKappaConjugateRestraint
3237 __init__(IMP::isd::vonMisesKappaConjugateRestraint self, Model m, Particle kappa) -> vonMisesKappaConjugateRestraint
3239 this = _IMP_isd.new_vonMisesKappaConjugateRestraint(m, kappa, c, R0)
3241 self.this.append(this)
3242 except __builtin__.Exception:
3246 """do_get_inputs(vonMisesKappaConjugateRestraint self) -> IMP::ModelObjectsTemp"""
3247 return _IMP_isd.vonMisesKappaConjugateRestraint_do_get_inputs(self)
3251 """get_version_info(vonMisesKappaConjugateRestraint self) -> VersionInfo"""
3252 return _IMP_isd.vonMisesKappaConjugateRestraint_get_version_info(self)
3255 def get_probability(self):
3256 """get_probability(vonMisesKappaConjugateRestraint self) -> double"""
3257 return _IMP_isd.vonMisesKappaConjugateRestraint_get_probability(self)
3261 """__str__(vonMisesKappaConjugateRestraint self) -> std::string"""
3262 return _IMP_isd.vonMisesKappaConjugateRestraint___str__(self)
3266 """__repr__(vonMisesKappaConjugateRestraint self) -> std::string"""
3267 return _IMP_isd.vonMisesKappaConjugateRestraint___repr__(self)
3272 return _object_cast_to_vonMisesKappaConjugateRestraint(o)
3274 vonMisesKappaConjugateRestraint_swigregister = _IMP_isd.vonMisesKappaConjugateRestraint_swigregister
3275 vonMisesKappaConjugateRestraint_swigregister(vonMisesKappaConjugateRestraint)
3278 """Proxy of C++ IMP::isd::NOERestraint class."""
3280 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3282 def __init__(self, m, p0, p1, sigma, gamma, Iexp):
3283 """__init__(IMP::isd::NOERestraint self, Model m, Particle p0, Particle p1, Particle sigma, Particle gamma, double Iexp) -> NOERestraint"""
3284 this = _IMP_isd.new_NOERestraint(m, p0, p1, sigma, gamma, Iexp)
3286 self.this.append(this)
3287 except __builtin__.Exception:
3290 def get_probability(self):
3291 """get_probability(NOERestraint self) -> double"""
3292 return _IMP_isd.NOERestraint_get_probability(self)
3296 """get_chi(NOERestraint self) -> double"""
3297 return _IMP_isd.NOERestraint_get_chi(self)
3301 """do_get_inputs(NOERestraint self) -> IMP::ModelObjectsTemp"""
3302 return _IMP_isd.NOERestraint_do_get_inputs(self)
3306 """get_version_info(NOERestraint self) -> VersionInfo"""
3307 return _IMP_isd.NOERestraint_get_version_info(self)
3311 """__str__(NOERestraint self) -> std::string"""
3312 return _IMP_isd.NOERestraint___str__(self)
3316 """__repr__(NOERestraint self) -> std::string"""
3317 return _IMP_isd.NOERestraint___repr__(self)
3322 return _object_cast_to_NOERestraint(o)
3324 NOERestraint_swigregister = _IMP_isd.NOERestraint_swigregister
3325 NOERestraint_swigregister(NOERestraint)
3328 """Proxy of C++ IMP::isd::GaussianRestraint class."""
3330 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3332 def __init__(self, *args):
3334 __init__(IMP::isd::GaussianRestraint self, Particle x, Particle mu, Particle sigma) -> GaussianRestraint
3335 __init__(IMP::isd::GaussianRestraint self, double x, Particle mu, Particle sigma) -> GaussianRestraint
3336 __init__(IMP::isd::GaussianRestraint self, Particle x, double mu, Particle sigma) -> GaussianRestraint
3337 __init__(IMP::isd::GaussianRestraint self, Particle x, Particle mu, double sigma) -> GaussianRestraint
3338 __init__(IMP::isd::GaussianRestraint self, double x, double mu, Particle sigma) -> GaussianRestraint
3339 __init__(IMP::isd::GaussianRestraint self, Particle x, double mu, double sigma) -> GaussianRestraint
3340 __init__(IMP::isd::GaussianRestraint self, double x, Particle mu, double sigma) -> GaussianRestraint
3342 this = _IMP_isd.new_GaussianRestraint(*args)
3344 self.this.append(this)
3345 except __builtin__.Exception:
3348 def get_probability(self):
3349 """get_probability(GaussianRestraint self) -> double"""
3350 return _IMP_isd.GaussianRestraint_get_probability(self)
3354 """get_chi(GaussianRestraint self) -> double"""
3355 return _IMP_isd.GaussianRestraint_get_chi(self)
3359 """do_get_inputs(GaussianRestraint self) -> IMP::ModelObjectsTemp"""
3360 return _IMP_isd.GaussianRestraint_do_get_inputs(self)
3364 """get_version_info(GaussianRestraint self) -> VersionInfo"""
3365 return _IMP_isd.GaussianRestraint_get_version_info(self)
3369 """__str__(GaussianRestraint self) -> std::string"""
3370 return _IMP_isd.GaussianRestraint___str__(self)
3374 """__repr__(GaussianRestraint self) -> std::string"""
3375 return _IMP_isd.GaussianRestraint___repr__(self)
3380 return _object_cast_to_GaussianRestraint(o)
3382 GaussianRestraint_swigregister = _IMP_isd.GaussianRestraint_swigregister
3383 GaussianRestraint_swigregister(GaussianRestraint)
3386 """Proxy of C++ IMP::isd::StudentTRestraint class."""
3388 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3390 def __init__(self, *args):
3392 __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, _ParticleIndexAdaptor mu, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3393 __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, double mu, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3394 __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, _ParticleIndexAdaptor mu, double sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3395 __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, _ParticleIndexAdaptor mu, _ParticleIndexAdaptor sigma, double nu) -> StudentTRestraint
3396 __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, double mu, double sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3397 __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, double mu, _ParticleIndexAdaptor sigma, double nu) -> StudentTRestraint
3398 __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, _ParticleIndexAdaptor mu, double sigma, double nu) -> StudentTRestraint
3399 __init__(IMP::isd::StudentTRestraint self, Model m, _ParticleIndexAdaptor x, double mu, double sigma, double nu) -> StudentTRestraint
3400 __init__(IMP::isd::StudentTRestraint self, Model m, double x, _ParticleIndexAdaptor mu, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3401 __init__(IMP::isd::StudentTRestraint self, Model m, double x, double mu, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3402 __init__(IMP::isd::StudentTRestraint self, Model m, double x, _ParticleIndexAdaptor mu, double sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3403 __init__(IMP::isd::StudentTRestraint self, Model m, double x, _ParticleIndexAdaptor mu, _ParticleIndexAdaptor sigma, double nu) -> StudentTRestraint
3404 __init__(IMP::isd::StudentTRestraint self, Model m, double x, double mu, double sigma, _ParticleIndexAdaptor nu) -> StudentTRestraint
3405 __init__(IMP::isd::StudentTRestraint self, Model m, double x, double mu, _ParticleIndexAdaptor sigma, double nu) -> StudentTRestraint
3406 __init__(IMP::isd::StudentTRestraint self, Model m, double x, _ParticleIndexAdaptor mu, double sigma, double nu) -> StudentTRestraint
3408 this = _IMP_isd.new_StudentTRestraint(*args)
3410 self.this.append(this)
3411 except __builtin__.Exception:
3414 def get_probability(self):
3415 """get_probability(StudentTRestraint self) -> double"""
3416 return _IMP_isd.StudentTRestraint_get_probability(self)
3420 """do_get_inputs(StudentTRestraint self) -> IMP::ModelObjectsTemp"""
3421 return _IMP_isd.StudentTRestraint_do_get_inputs(self)
3425 """get_version_info(StudentTRestraint self) -> VersionInfo"""
3426 return _IMP_isd.StudentTRestraint_get_version_info(self)
3430 """__str__(StudentTRestraint self) -> std::string"""
3431 return _IMP_isd.StudentTRestraint___str__(self)
3435 """__repr__(StudentTRestraint self) -> std::string"""
3436 return _IMP_isd.StudentTRestraint___repr__(self)
3441 return _object_cast_to_StudentTRestraint(o)
3443 StudentTRestraint_swigregister = _IMP_isd.StudentTRestraint_swigregister
3444 StudentTRestraint_swigregister(StudentTRestraint)
3447 """Proxy of C++ IMP::isd::LognormalRestraint class."""
3449 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3451 def __init__(self, *args):
3453 __init__(IMP::isd::LognormalRestraint self, Particle x, Particle mu, Particle sigma) -> LognormalRestraint
3454 __init__(IMP::isd::LognormalRestraint self, double x, Particle mu, Particle sigma) -> LognormalRestraint
3455 __init__(IMP::isd::LognormalRestraint self, Particle x, double mu, Particle sigma) -> LognormalRestraint
3456 __init__(IMP::isd::LognormalRestraint self, Particle x, Particle mu, double sigma) -> LognormalRestraint
3457 __init__(IMP::isd::LognormalRestraint self, double x, double mu, Particle sigma) -> LognormalRestraint
3458 __init__(IMP::isd::LognormalRestraint self, Particle x, double mu, double sigma) -> LognormalRestraint
3459 __init__(IMP::isd::LognormalRestraint self, double x, Particle mu, double sigma) -> LognormalRestraint
3461 this = _IMP_isd.new_LognormalRestraint(*args)
3463 self.this.append(this)
3464 except __builtin__.Exception:
3467 def get_probability(self):
3468 """get_probability(LognormalRestraint self) -> double"""
3469 return _IMP_isd.LognormalRestraint_get_probability(self)
3473 """get_chi(LognormalRestraint self) -> double"""
3474 return _IMP_isd.LognormalRestraint_get_chi(self)
3478 """do_get_inputs(LognormalRestraint self) -> IMP::ModelObjectsTemp"""
3479 return _IMP_isd.LognormalRestraint_do_get_inputs(self)
3483 """get_version_info(LognormalRestraint self) -> VersionInfo"""
3484 return _IMP_isd.LognormalRestraint_get_version_info(self)
3488 """__str__(LognormalRestraint self) -> std::string"""
3489 return _IMP_isd.LognormalRestraint___str__(self)
3493 """__repr__(LognormalRestraint self) -> std::string"""
3494 return _IMP_isd.LognormalRestraint___repr__(self)
3499 return _object_cast_to_LognormalRestraint(o)
3501 LognormalRestraint_swigregister = _IMP_isd.LognormalRestraint_swigregister
3502 LognormalRestraint_swigregister(LognormalRestraint)
3505 """Proxy of C++ IMP::isd::LognormalAmbiguousRestraint class."""
3507 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3509 def __init__(self, p1, p2, ki, sigmaG):
3510 """__init__(IMP::isd::LognormalAmbiguousRestraint self, Particle p1, Particle p2, Particle ki, Particle sigmaG) -> LognormalAmbiguousRestraint"""
3511 this = _IMP_isd.new_LognormalAmbiguousRestraint(p1, p2, ki, sigmaG)
3513 self.this.append(this)
3514 except __builtin__.Exception:
3517 def add_contribution(self, lexp, omega):
3518 """add_contribution(LognormalAmbiguousRestraint self, double lexp, Particle omega)"""
3519 return _IMP_isd.LognormalAmbiguousRestraint_add_contribution(self, lexp, omega)
3522 def get_number_of_contributions(self):
3523 """get_number_of_contributions(LognormalAmbiguousRestraint self) -> unsigned int"""
3524 return _IMP_isd.LognormalAmbiguousRestraint_get_number_of_contributions(self)
3527 def draw_k_from_posterior(self, kt):
3528 """draw_k_from_posterior(LognormalAmbiguousRestraint self, double kt)"""
3529 return _IMP_isd.LognormalAmbiguousRestraint_draw_k_from_posterior(self, kt)
3532 def get_probability(self):
3533 """get_probability(LognormalAmbiguousRestraint self) -> double"""
3534 return _IMP_isd.LognormalAmbiguousRestraint_get_probability(self)
3538 """do_get_inputs(LognormalAmbiguousRestraint self) -> IMP::ModelObjectsTemp"""
3539 return _IMP_isd.LognormalAmbiguousRestraint_do_get_inputs(self)
3543 """get_version_info(LognormalAmbiguousRestraint self) -> VersionInfo"""
3544 return _IMP_isd.LognormalAmbiguousRestraint_get_version_info(self)
3548 """__str__(LognormalAmbiguousRestraint self) -> std::string"""
3549 return _IMP_isd.LognormalAmbiguousRestraint___str__(self)
3553 """__repr__(LognormalAmbiguousRestraint self) -> std::string"""
3554 return _IMP_isd.LognormalAmbiguousRestraint___repr__(self)
3559 return _object_cast_to_LognormalAmbiguousRestraint(o)
3561 LognormalAmbiguousRestraint_swigregister = _IMP_isd.LognormalAmbiguousRestraint_swigregister
3562 LognormalAmbiguousRestraint_swigregister(LognormalAmbiguousRestraint)
3565 """Proxy of C++ IMP::isd::AmbiguousNOERestraint class."""
3567 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3569 def __init__(self, m, pc, sigma, gamma, Iexp):
3570 """__init__(IMP::isd::AmbiguousNOERestraint self, Model m, PairContainer pc, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor gamma, double Iexp) -> AmbiguousNOERestraint"""
3571 this = _IMP_isd.new_AmbiguousNOERestraint(m, pc, sigma, gamma, Iexp)
3573 self.this.append(this)
3574 except __builtin__.Exception:
3577 def get_probability(self):
3578 """get_probability(AmbiguousNOERestraint self) -> double"""
3579 return _IMP_isd.AmbiguousNOERestraint_get_probability(self)
3583 """get_chi(AmbiguousNOERestraint self) -> double"""
3584 return _IMP_isd.AmbiguousNOERestraint_get_chi(self)
3588 """do_get_inputs(AmbiguousNOERestraint self) -> IMP::ModelObjectsTemp"""
3589 return _IMP_isd.AmbiguousNOERestraint_do_get_inputs(self)
3593 """get_version_info(AmbiguousNOERestraint self) -> VersionInfo"""
3594 return _IMP_isd.AmbiguousNOERestraint_get_version_info(self)
3598 """__str__(AmbiguousNOERestraint self) -> std::string"""
3599 return _IMP_isd.AmbiguousNOERestraint___str__(self)
3603 """__repr__(AmbiguousNOERestraint self) -> std::string"""
3604 return _IMP_isd.AmbiguousNOERestraint___repr__(self)
3609 return _object_cast_to_AmbiguousNOERestraint(o)
3611 AmbiguousNOERestraint_swigregister = _IMP_isd.AmbiguousNOERestraint_swigregister
3612 AmbiguousNOERestraint_swigregister(AmbiguousNOERestraint)
3615 """Proxy of C++ IMP::isd::MarginalNOERestraint class."""
3617 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3619 def __init__(self, m):
3620 """__init__(IMP::isd::MarginalNOERestraint self, Model m) -> MarginalNOERestraint"""
3621 this = _IMP_isd.new_MarginalNOERestraint(m)
3623 self.this.append(this)
3624 except __builtin__.Exception:
3627 def add_contribution(self, *args):
3629 add_contribution(MarginalNOERestraint self, Particle p1, Particle p2, double Iexp)
3630 add_contribution(MarginalNOERestraint self, PairContainer pc, double Iexp)
3632 return _IMP_isd.MarginalNOERestraint_add_contribution(self, *args)
3635 def get_log_gammahat(self):
3636 """get_log_gammahat(MarginalNOERestraint self) -> double"""
3637 return _IMP_isd.MarginalNOERestraint_get_log_gammahat(self)
3641 """get_SS(MarginalNOERestraint self) -> double"""
3642 return _IMP_isd.MarginalNOERestraint_get_SS(self)
3645 def get_number_of_contributions(self):
3646 """get_number_of_contributions(MarginalNOERestraint self) -> unsigned int"""
3647 return _IMP_isd.MarginalNOERestraint_get_number_of_contributions(self)
3650 def get_probability(self):
3651 """get_probability(MarginalNOERestraint self) -> double"""
3652 return _IMP_isd.MarginalNOERestraint_get_probability(self)
3656 """do_get_inputs(MarginalNOERestraint self) -> IMP::ModelObjectsTemp"""
3657 return _IMP_isd.MarginalNOERestraint_do_get_inputs(self)
3661 """get_version_info(MarginalNOERestraint self) -> VersionInfo"""
3662 return _IMP_isd.MarginalNOERestraint_get_version_info(self)
3666 """__str__(MarginalNOERestraint self) -> std::string"""
3667 return _IMP_isd.MarginalNOERestraint___str__(self)
3671 """__repr__(MarginalNOERestraint self) -> std::string"""
3672 return _IMP_isd.MarginalNOERestraint___repr__(self)
3677 return _object_cast_to_MarginalNOERestraint(o)
3679 MarginalNOERestraint_swigregister = _IMP_isd.MarginalNOERestraint_swigregister
3680 MarginalNOERestraint_swigregister(MarginalNOERestraint)
3683 """Proxy of C++ IMP::isd::MarginalHBondRestraint class."""
3685 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3687 def __init__(self, m):
3688 """__init__(IMP::isd::MarginalHBondRestraint self, Model m) -> MarginalHBondRestraint"""
3689 this = _IMP_isd.new_MarginalHBondRestraint(m)
3691 self.this.append(this)
3692 except __builtin__.Exception:
3695 def add_contribution(self, *args):
3697 add_contribution(MarginalHBondRestraint self, Particle p1, Particle p2, double Iexp)
3698 add_contribution(MarginalHBondRestraint self, PairContainer pc, double Iexp)
3700 return _IMP_isd.MarginalHBondRestraint_add_contribution(self, *args)
3703 def get_logsquares(self):
3704 """get_logsquares(MarginalHBondRestraint self) -> double"""
3705 return _IMP_isd.MarginalHBondRestraint_get_logsquares(self)
3708 def get_number_of_contributions(self):
3709 """get_number_of_contributions(MarginalHBondRestraint self) -> unsigned int"""
3710 return _IMP_isd.MarginalHBondRestraint_get_number_of_contributions(self)
3713 def get_probability(self):
3714 """get_probability(MarginalHBondRestraint self) -> double"""
3715 return _IMP_isd.MarginalHBondRestraint_get_probability(self)
3719 """do_get_inputs(MarginalHBondRestraint self) -> IMP::ModelObjectsTemp"""
3720 return _IMP_isd.MarginalHBondRestraint_do_get_inputs(self)
3724 """get_version_info(MarginalHBondRestraint self) -> VersionInfo"""
3725 return _IMP_isd.MarginalHBondRestraint_get_version_info(self)
3729 """__str__(MarginalHBondRestraint self) -> std::string"""
3730 return _IMP_isd.MarginalHBondRestraint___str__(self)
3734 """__repr__(MarginalHBondRestraint self) -> std::string"""
3735 return _IMP_isd.MarginalHBondRestraint___repr__(self)
3740 return _object_cast_to_MarginalHBondRestraint(o)
3742 MarginalHBondRestraint_swigregister = _IMP_isd.MarginalHBondRestraint_swigregister
3743 MarginalHBondRestraint_swigregister(MarginalHBondRestraint)
3746 """Proxy of C++ IMP::isd::TALOSRestraint class."""
3748 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3750 def __init__(self, *args):
3752 __init__(IMP::isd::TALOSRestraint self, Model m, IMP::Particles p, IMP::Floats data, Particle kappa) -> TALOSRestraint
3753 __init__(IMP::isd::TALOSRestraint self, Model m, Particle p1, Particle p2, Particle p3, Particle p4, IMP::Floats data, Particle kappa) -> TALOSRestraint
3754 __init__(IMP::isd::TALOSRestraint self, Model m, IMP::Particles p, unsigned int N, double R0, double chiexp, Particle kappa) -> TALOSRestraint
3755 __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
3757 this = _IMP_isd.new_TALOSRestraint(*args)
3759 self.this.append(this)
3760 except __builtin__.Exception:
3763 def get_probability(self):
3764 """get_probability(TALOSRestraint self) -> double"""
3765 return _IMP_isd.TALOSRestraint_get_probability(self)
3769 """get_R0(TALOSRestraint self) -> double"""
3770 return _IMP_isd.TALOSRestraint_get_R0(self)
3773 def get_chiexp(self):
3774 """get_chiexp(TALOSRestraint self) -> double"""
3775 return _IMP_isd.TALOSRestraint_get_chiexp(self)
3779 """do_get_inputs(TALOSRestraint self) -> IMP::ModelObjectsTemp"""
3780 return _IMP_isd.TALOSRestraint_do_get_inputs(self)
3784 """get_version_info(TALOSRestraint self) -> VersionInfo"""
3785 return _IMP_isd.TALOSRestraint_get_version_info(self)
3789 """__str__(TALOSRestraint self) -> std::string"""
3790 return _IMP_isd.TALOSRestraint___str__(self)
3794 """__repr__(TALOSRestraint self) -> std::string"""
3795 return _IMP_isd.TALOSRestraint___repr__(self)
3800 return _object_cast_to_TALOSRestraint(o)
3802 TALOSRestraint_swigregister = _IMP_isd.TALOSRestraint_swigregister
3803 TALOSRestraint_swigregister(TALOSRestraint)
3806 """Proxy of C++ IMP::isd::RepulsiveDistancePairScore class."""
3808 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3810 def __init__(self, d0, k):
3811 """__init__(IMP::isd::RepulsiveDistancePairScore self, double d0, double k) -> RepulsiveDistancePairScore"""
3812 this = _IMP_isd.new_RepulsiveDistancePairScore(d0, k)
3814 self.this.append(this)
3815 except __builtin__.Exception:
3818 def get_rest_length(self):
3819 """get_rest_length(RepulsiveDistancePairScore self) -> double"""
3820 return _IMP_isd.RepulsiveDistancePairScore_get_rest_length(self)
3823 def get_stiffness(self):
3824 """get_stiffness(RepulsiveDistancePairScore self) -> double"""
3825 return _IMP_isd.RepulsiveDistancePairScore_get_stiffness(self)
3829 """do_get_inputs(RepulsiveDistancePairScore self, Model m, IMP::ParticleIndexes const & pis) -> IMP::ModelObjectsTemp"""
3830 return _IMP_isd.RepulsiveDistancePairScore_do_get_inputs(self, m, pis)
3834 """get_version_info(RepulsiveDistancePairScore self) -> VersionInfo"""
3835 return _IMP_isd.RepulsiveDistancePairScore_get_version_info(self)
3839 """__str__(RepulsiveDistancePairScore self) -> std::string"""
3840 return _IMP_isd.RepulsiveDistancePairScore___str__(self)
3844 """__repr__(RepulsiveDistancePairScore self) -> std::string"""
3845 return _IMP_isd.RepulsiveDistancePairScore___repr__(self)
3850 return _object_cast_to_RepulsiveDistancePairScore(o)
3852 RepulsiveDistancePairScore_swigregister = _IMP_isd.RepulsiveDistancePairScore_swigregister
3853 RepulsiveDistancePairScore_swigregister(RepulsiveDistancePairScore)
3856 """Proxy of C++ IMP::isd::AmbiguousRestraint class."""
3858 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3860 def __init__(self, *args):
3862 __init__(IMP::isd::AmbiguousRestraint self, Model m, int d, Restraint r0, Restraint r1) -> AmbiguousRestraint
3863 __init__(IMP::isd::AmbiguousRestraint self, Model m, int d, IMP::Restraints rs) -> AmbiguousRestraint
3865 this = _IMP_isd.new_AmbiguousRestraint(*args)
3867 self.this.append(this)
3868 except __builtin__.Exception:
3871 def get_probability(self):
3872 """get_probability(AmbiguousRestraint self) -> double"""
3873 return _IMP_isd.AmbiguousRestraint_get_probability(self)
3877 """do_get_inputs(AmbiguousRestraint self) -> IMP::ModelObjectsTemp"""
3878 return _IMP_isd.AmbiguousRestraint_do_get_inputs(self)
3882 """get_version_info(AmbiguousRestraint self) -> VersionInfo"""
3883 return _IMP_isd.AmbiguousRestraint_get_version_info(self)
3887 """__str__(AmbiguousRestraint self) -> std::string"""
3888 return _IMP_isd.AmbiguousRestraint___str__(self)
3892 """__repr__(AmbiguousRestraint self) -> std::string"""
3893 return _IMP_isd.AmbiguousRestraint___repr__(self)
3898 return _object_cast_to_AmbiguousRestraint(o)
3900 AmbiguousRestraint_swigregister = _IMP_isd.AmbiguousRestraint_swigregister
3901 AmbiguousRestraint_swigregister(AmbiguousRestraint)
3903 IMP_ISD_UNIVARIATE_FUNCTIONS_MINIMUM = _IMP_isd.IMP_ISD_UNIVARIATE_FUNCTIONS_MINIMUM
3905 """Proxy of C++ IMP::isd::UnivariateFunction class."""
3907 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
3909 def __init__(self, *args, **kwargs):
3910 raise AttributeError(
"No constructor defined - class is abstract")
3912 def __call__(self, *args):
3914 __call__(UnivariateFunction self, IMP::Floats const & x) -> IMP::Floats
3915 __call__(UnivariateFunction self, IMP::FloatsList const & xlist) -> Eigen::VectorXd
3916 __call__(UnivariateFunction self, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
3918 return _IMP_isd.UnivariateFunction___call__(self, *args)
3921 def has_changed(self):
3922 """has_changed(UnivariateFunction self) -> bool"""
3923 return _IMP_isd.UnivariateFunction_has_changed(self)
3927 """update(UnivariateFunction self)"""
3928 return _IMP_isd.UnivariateFunction_update(self)
3931 def add_to_derivatives(self, x, accum):
3932 """add_to_derivatives(UnivariateFunction self, IMP::Floats const & x, DerivativeAccumulator accum)"""
3933 return _IMP_isd.UnivariateFunction_add_to_derivatives(self, x, accum)
3936 def add_to_particle_derivative(self, particle_no, value, accum):
3937 """add_to_particle_derivative(UnivariateFunction self, unsigned int particle_no, double value, DerivativeAccumulator accum)"""
3938 return _IMP_isd.UnivariateFunction_add_to_particle_derivative(self, particle_no, value, accum)
3941 def get_derivative_vector(self, particle_no, xlist):
3942 """get_derivative_vector(UnivariateFunction self, unsigned int particle_no, IMP::FloatsList const & xlist) -> Eigen::VectorXd"""
3943 return _IMP_isd.UnivariateFunction_get_derivative_vector(self, particle_no, xlist)
3946 def get_derivative_matrix(self, xlist, stupid):
3947 """get_derivative_matrix(UnivariateFunction self, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList"""
3948 return _IMP_isd.UnivariateFunction_get_derivative_matrix(self, xlist, stupid)
3951 def get_second_derivative_vector(self, *args):
3953 get_second_derivative_vector(UnivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> Eigen::VectorXd
3954 get_second_derivative_vector(UnivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
3956 return _IMP_isd.UnivariateFunction_get_second_derivative_vector(self, *args)
3959 def get_ndims_x(self):
3960 """get_ndims_x(UnivariateFunction self) -> unsigned int"""
3961 return _IMP_isd.UnivariateFunction_get_ndims_x(self)
3964 def get_ndims_y(self):
3965 """get_ndims_y(UnivariateFunction self) -> unsigned int"""
3966 return _IMP_isd.UnivariateFunction_get_ndims_y(self)
3969 def get_number_of_particles(self):
3970 """get_number_of_particles(UnivariateFunction self) -> unsigned int"""
3971 return _IMP_isd.UnivariateFunction_get_number_of_particles(self)
3974 def get_particle_is_optimized(self, particle_no):
3975 """get_particle_is_optimized(UnivariateFunction self, unsigned int particle_no) -> bool"""
3976 return _IMP_isd.UnivariateFunction_get_particle_is_optimized(self, particle_no)
3979 def get_number_of_optimized_particles(self):
3980 """get_number_of_optimized_particles(UnivariateFunction self) -> unsigned int"""
3981 return _IMP_isd.UnivariateFunction_get_number_of_optimized_particles(self)
3985 """get_inputs(UnivariateFunction self) -> IMP::ModelObjectsTemp"""
3986 return _IMP_isd.UnivariateFunction_get_inputs(self)
3988 __swig_destroy__ = _IMP_isd.delete_UnivariateFunction
3989 __del__ =
lambda self:
None
3992 """__str__(UnivariateFunction self) -> std::string"""
3993 return _IMP_isd.UnivariateFunction___str__(self)
3997 """__repr__(UnivariateFunction self) -> std::string"""
3998 return _IMP_isd.UnivariateFunction___repr__(self)
4003 return _object_cast_to_UnivariateFunction(o)
4005 UnivariateFunction_swigregister = _IMP_isd.UnivariateFunction_swigregister
4006 UnivariateFunction_swigregister(UnivariateFunction)
4008 class Linear1DFunction(UnivariateFunction):
4009 """Proxy of C++ IMP::isd::Linear1DFunction 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, a, b):
4014 """__init__(IMP::isd::Linear1DFunction self, Particle a, Particle b) -> Linear1DFunction"""
4015 this = _IMP_isd.new_Linear1DFunction(a, b)
4017 self.this.append(this)
4018 except __builtin__.Exception:
4021 def __call__(self, *args):
4023 __call__(Linear1DFunction self, IMP::Floats const & x) -> IMP::Floats
4024 __call__(Linear1DFunction self, IMP::FloatsList const & xlist) -> Eigen::VectorXd
4025 __call__(Linear1DFunction self, IMP::FloatsList const & xlist, bool arg3) -> IMP::FloatsList
4027 return _IMP_isd.Linear1DFunction___call__(self, *args)
4030 def get_second_derivative_vector(self, *args):
4032 get_second_derivative_vector(Linear1DFunction self, unsigned int arg2, unsigned int arg3, IMP::FloatsList const & xlist) -> Eigen::VectorXd
4033 get_second_derivative_vector(Linear1DFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool arg5) -> IMP::FloatsList
4035 return _IMP_isd.Linear1DFunction_get_second_derivative_vector(self, *args)
4039 """get_version_info(Linear1DFunction self) -> VersionInfo"""
4040 return _IMP_isd.Linear1DFunction_get_version_info(self)
4044 """__str__(Linear1DFunction self) -> std::string"""
4045 return _IMP_isd.Linear1DFunction___str__(self)
4049 """__repr__(Linear1DFunction self) -> std::string"""
4050 return _IMP_isd.Linear1DFunction___repr__(self)
4055 return _object_cast_to_Linear1DFunction(o)
4057 Linear1DFunction_swigregister = _IMP_isd.Linear1DFunction_swigregister
4058 Linear1DFunction_swigregister(Linear1DFunction)
4060 class GeneralizedGuinierPorodFunction(UnivariateFunction):
4061 """Proxy of C++ IMP::isd::GeneralizedGuinierPorodFunction class."""
4063 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4065 def __init__(self, G, Rg, d, s, A):
4066 """__init__(IMP::isd::GeneralizedGuinierPorodFunction self, Particle G, Particle Rg, Particle d, Particle s, Particle A) -> GeneralizedGuinierPorodFunction"""
4067 this = _IMP_isd.new_GeneralizedGuinierPorodFunction(G, Rg, d, s, A)
4069 self.this.append(this)
4070 except __builtin__.Exception:
4073 def __call__(self, *args):
4075 __call__(GeneralizedGuinierPorodFunction self, IMP::Floats const & x) -> IMP::Floats
4076 __call__(GeneralizedGuinierPorodFunction self, IMP::FloatsList const & xlist) -> Eigen::VectorXd
4077 __call__(GeneralizedGuinierPorodFunction self, IMP::FloatsList const & xlist, bool arg3) -> IMP::FloatsList
4079 return _IMP_isd.GeneralizedGuinierPorodFunction___call__(self, *args)
4082 def get_second_derivative_vector(self, *args):
4084 get_second_derivative_vector(GeneralizedGuinierPorodFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> Eigen::VectorXd
4085 get_second_derivative_vector(GeneralizedGuinierPorodFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool arg5) -> IMP::FloatsList
4087 return _IMP_isd.GeneralizedGuinierPorodFunction_get_second_derivative_vector(self, *args)
4091 """get_version_info(GeneralizedGuinierPorodFunction self) -> VersionInfo"""
4092 return _IMP_isd.GeneralizedGuinierPorodFunction_get_version_info(self)
4096 """__str__(GeneralizedGuinierPorodFunction self) -> std::string"""
4097 return _IMP_isd.GeneralizedGuinierPorodFunction___str__(self)
4101 """__repr__(GeneralizedGuinierPorodFunction self) -> std::string"""
4102 return _IMP_isd.GeneralizedGuinierPorodFunction___repr__(self)
4107 return _object_cast_to_GeneralizedGuinierPorodFunction(o)
4109 GeneralizedGuinierPorodFunction_swigregister = _IMP_isd.GeneralizedGuinierPorodFunction_swigregister
4110 GeneralizedGuinierPorodFunction_swigregister(GeneralizedGuinierPorodFunction)
4112 IMP_ISD_BIVARIATE_FUNCTIONS_MINIMUM = _IMP_isd.IMP_ISD_BIVARIATE_FUNCTIONS_MINIMUM
4114 """Proxy of C++ IMP::isd::BivariateFunction class."""
4116 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4118 def __init__(self, *args, **kwargs):
4119 raise AttributeError(
"No constructor defined - class is abstract")
4121 def __call__(self, *args):
4123 __call__(BivariateFunction self, IMP::Floats const & x1, IMP::Floats const & x2) -> IMP::Floats
4124 __call__(BivariateFunction self, IMP::FloatsList const & xlist) -> Eigen::MatrixXd
4125 __call__(BivariateFunction self, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
4127 return _IMP_isd.BivariateFunction___call__(self, *args)
4130 def has_changed(self):
4131 """has_changed(BivariateFunction self) -> bool"""
4132 return _IMP_isd.BivariateFunction_has_changed(self)
4136 """update(BivariateFunction self)"""
4137 return _IMP_isd.BivariateFunction_update(self)
4140 def add_to_derivatives(self, x1, x2, accum):
4141 """add_to_derivatives(BivariateFunction self, IMP::Floats const & x1, IMP::Floats const & x2, DerivativeAccumulator accum)"""
4142 return _IMP_isd.BivariateFunction_add_to_derivatives(self, x1, x2, accum)
4145 def add_to_particle_derivative(self, particle_no, value, accum):
4146 """add_to_particle_derivative(BivariateFunction self, unsigned int particle_no, double value, DerivativeAccumulator accum)"""
4147 return _IMP_isd.BivariateFunction_add_to_particle_derivative(self, particle_no, value, accum)
4150 def get_derivative_matrix(self, *args):
4152 get_derivative_matrix(BivariateFunction self, unsigned int particle_no, IMP::FloatsList const & xlist) -> Eigen::MatrixXd
4153 get_derivative_matrix(BivariateFunction self, unsigned int particle_no, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
4155 return _IMP_isd.BivariateFunction_get_derivative_matrix(self, *args)
4158 def get_second_derivative_matrix(self, *args):
4160 get_second_derivative_matrix(BivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> Eigen::MatrixXd
4161 get_second_derivative_matrix(BivariateFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool stupid) -> IMP::FloatsList
4163 return _IMP_isd.BivariateFunction_get_second_derivative_matrix(self, *args)
4166 def get_ndims_x1(self):
4167 """get_ndims_x1(BivariateFunction self) -> unsigned int"""
4168 return _IMP_isd.BivariateFunction_get_ndims_x1(self)
4171 def get_ndims_x2(self):
4172 """get_ndims_x2(BivariateFunction self) -> unsigned int"""
4173 return _IMP_isd.BivariateFunction_get_ndims_x2(self)
4176 def get_ndims_y(self):
4177 """get_ndims_y(BivariateFunction self) -> unsigned int"""
4178 return _IMP_isd.BivariateFunction_get_ndims_y(self)
4181 def get_number_of_particles(self):
4182 """get_number_of_particles(BivariateFunction self) -> unsigned int"""
4183 return _IMP_isd.BivariateFunction_get_number_of_particles(self)
4186 def get_particle_is_optimized(self, particle_no):
4187 """get_particle_is_optimized(BivariateFunction self, unsigned int particle_no) -> bool"""
4188 return _IMP_isd.BivariateFunction_get_particle_is_optimized(self, particle_no)
4191 def get_number_of_optimized_particles(self):
4192 """get_number_of_optimized_particles(BivariateFunction self) -> unsigned int"""
4193 return _IMP_isd.BivariateFunction_get_number_of_optimized_particles(self)
4197 """get_inputs(BivariateFunction self) -> IMP::ModelObjectsTemp"""
4198 return _IMP_isd.BivariateFunction_get_inputs(self)
4200 __swig_destroy__ = _IMP_isd.delete_BivariateFunction
4201 __del__ =
lambda self:
None
4204 """__str__(BivariateFunction self) -> std::string"""
4205 return _IMP_isd.BivariateFunction___str__(self)
4209 """__repr__(BivariateFunction self) -> std::string"""
4210 return _IMP_isd.BivariateFunction___repr__(self)
4215 return _object_cast_to_BivariateFunction(o)
4217 BivariateFunction_swigregister = _IMP_isd.BivariateFunction_swigregister
4218 BivariateFunction_swigregister(BivariateFunction)
4220 class Covariance1DFunction(BivariateFunction):
4221 """Proxy of C++ IMP::isd::Covariance1DFunction class."""
4223 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4225 def __init__(self, tau, ilambda, alpha=2.0, jitter=0.0, cutoff=1e-7):
4227 __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda, double alpha=2.0, double jitter=0.0, double cutoff=1e-7) -> Covariance1DFunction
4228 __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda, double alpha=2.0, double jitter=0.0) -> Covariance1DFunction
4229 __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda, double alpha=2.0) -> Covariance1DFunction
4230 __init__(IMP::isd::Covariance1DFunction self, Particle tau, Particle ilambda) -> Covariance1DFunction
4232 this = _IMP_isd.new_Covariance1DFunction(tau, ilambda, alpha, jitter, cutoff)
4234 self.this.append(this)
4235 except __builtin__.Exception:
4238 def __call__(self, *args):
4240 __call__(Covariance1DFunction self, IMP::Floats const & x1, IMP::Floats const & x2) -> IMP::Floats
4241 __call__(Covariance1DFunction self, IMP::FloatsList const & xlist) -> Eigen::MatrixXd
4242 __call__(Covariance1DFunction self, IMP::FloatsList const & xlist, bool arg3) -> IMP::FloatsList
4244 return _IMP_isd.Covariance1DFunction___call__(self, *args)
4247 def get_derivative_matrix(self, *args):
4249 get_derivative_matrix(Covariance1DFunction self, unsigned int particle_no, IMP::FloatsList const & xlist) -> Eigen::MatrixXd
4250 get_derivative_matrix(Covariance1DFunction self, unsigned int particle_no, IMP::FloatsList const & xlist, bool arg4) -> IMP::FloatsList
4252 return _IMP_isd.Covariance1DFunction_get_derivative_matrix(self, *args)
4255 def get_second_derivative_matrix(self, *args):
4257 get_second_derivative_matrix(Covariance1DFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist) -> Eigen::MatrixXd
4258 get_second_derivative_matrix(Covariance1DFunction self, unsigned int particle_a, unsigned int particle_b, IMP::FloatsList const & xlist, bool arg5) -> IMP::FloatsList
4260 return _IMP_isd.Covariance1DFunction_get_second_derivative_matrix(self, *args)
4264 """get_version_info(Covariance1DFunction self) -> VersionInfo"""
4265 return _IMP_isd.Covariance1DFunction_get_version_info(self)
4269 """__str__(Covariance1DFunction self) -> std::string"""
4270 return _IMP_isd.Covariance1DFunction___str__(self)
4274 """__repr__(Covariance1DFunction self) -> std::string"""
4275 return _IMP_isd.Covariance1DFunction___repr__(self)
4280 return _object_cast_to_Covariance1DFunction(o)
4282 Covariance1DFunction_swigregister = _IMP_isd.Covariance1DFunction_swigregister
4283 Covariance1DFunction_swigregister(Covariance1DFunction)
4285 class GaussianProcessInterpolation(
IMP.Object):
4286 """Proxy of C++ IMP::isd::GaussianProcessInterpolation class."""
4288 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4290 def __init__(self, x, sample_mean, sample_std, n_obs, mean_function, covariance_function, sigma, sparse_cutoff=1e-7):
4292 __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
4293 __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
4295 this = _IMP_isd.new_GaussianProcessInterpolation(x, sample_mean, sample_std, n_obs, mean_function, covariance_function, sigma, sparse_cutoff)
4297 self.this.append(this)
4298 except __builtin__.Exception:
4301 def get_posterior_mean(self, x):
4302 """get_posterior_mean(GaussianProcessInterpolation self, IMP::Floats x) -> double"""
4303 return _IMP_isd.GaussianProcessInterpolation_get_posterior_mean(self, x)
4306 def get_posterior_covariance(self, x1, x2):
4307 """get_posterior_covariance(GaussianProcessInterpolation self, IMP::Floats x1, IMP::Floats x2) -> double"""
4308 return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance(self, x1, x2)
4311 def get_posterior_covariance_matrix(self, x, arg3):
4312 """get_posterior_covariance_matrix(GaussianProcessInterpolation self, IMP::FloatsList x, bool arg3) -> IMP::FloatsList"""
4313 return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance_matrix(self, x, arg3)
4316 def get_posterior_covariance_derivative(self, x, arg3):
4317 """get_posterior_covariance_derivative(GaussianProcessInterpolation self, IMP::Floats x, bool arg3) -> IMP::Floats"""
4318 return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance_derivative(self, x, arg3)
4321 def get_posterior_covariance_hessian(self, x, arg3):
4322 """get_posterior_covariance_hessian(GaussianProcessInterpolation self, IMP::Floats x, bool arg3) -> IMP::FloatsList"""
4323 return _IMP_isd.GaussianProcessInterpolation_get_posterior_covariance_hessian(self, x, arg3)
4327 """get_inputs(GaussianProcessInterpolation self) -> IMP::ModelObjectsTemp"""
4328 return _IMP_isd.GaussianProcessInterpolation_get_inputs(self)
4331 def force_mean_update(self):
4332 """force_mean_update(GaussianProcessInterpolation self)"""
4333 return _IMP_isd.GaussianProcessInterpolation_force_mean_update(self)
4336 def force_covariance_update(self):
4337 """force_covariance_update(GaussianProcessInterpolation self)"""
4338 return _IMP_isd.GaussianProcessInterpolation_force_covariance_update(self)
4341 def get_number_of_m_particles(self):
4342 """get_number_of_m_particles(GaussianProcessInterpolation self) -> unsigned int"""
4343 return _IMP_isd.GaussianProcessInterpolation_get_number_of_m_particles(self)
4346 def get_m_particle_is_optimized(self, i):
4347 """get_m_particle_is_optimized(GaussianProcessInterpolation self, unsigned int i) -> bool"""
4348 return _IMP_isd.GaussianProcessInterpolation_get_m_particle_is_optimized(self, i)
4351 def get_number_of_Omega_particles(self):
4352 """get_number_of_Omega_particles(GaussianProcessInterpolation self) -> unsigned int"""
4353 return _IMP_isd.GaussianProcessInterpolation_get_number_of_Omega_particles(self)
4356 def get_Omega_particle_is_optimized(self, i):
4357 """get_Omega_particle_is_optimized(GaussianProcessInterpolation self, unsigned int i) -> bool"""
4358 return _IMP_isd.GaussianProcessInterpolation_get_Omega_particle_is_optimized(self, i)
4361 def get_data_abscissa(self):
4362 """get_data_abscissa(GaussianProcessInterpolation self) -> IMP::FloatsList"""
4363 return _IMP_isd.GaussianProcessInterpolation_get_data_abscissa(self)
4366 def get_data_mean(self):
4367 """get_data_mean(GaussianProcessInterpolation self) -> IMP::Floats"""
4368 return _IMP_isd.GaussianProcessInterpolation_get_data_mean(self)
4371 def get_data_variance(self):
4372 """get_data_variance(GaussianProcessInterpolation self) -> IMP::FloatsList"""
4373 return _IMP_isd.GaussianProcessInterpolation_get_data_variance(self)
4377 """get_version_info(GaussianProcessInterpolation self) -> VersionInfo"""
4378 return _IMP_isd.GaussianProcessInterpolation_get_version_info(self)
4382 """__str__(GaussianProcessInterpolation self) -> std::string"""
4383 return _IMP_isd.GaussianProcessInterpolation___str__(self)
4387 """__repr__(GaussianProcessInterpolation self) -> std::string"""
4388 return _IMP_isd.GaussianProcessInterpolation___repr__(self)
4393 return _object_cast_to_GaussianProcessInterpolation(o)
4395 GaussianProcessInterpolation_swigregister = _IMP_isd.GaussianProcessInterpolation_swigregister
4396 GaussianProcessInterpolation_swigregister(GaussianProcessInterpolation)
4399 """Proxy of C++ IMP::isd::GaussianProcessInterpolationRestraint class."""
4401 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4403 def __init__(self, m, gpi):
4404 """__init__(IMP::isd::GaussianProcessInterpolationRestraint self, Model m, GaussianProcessInterpolation gpi) -> GaussianProcessInterpolationRestraint"""
4405 this = _IMP_isd.new_GaussianProcessInterpolationRestraint(m, gpi)
4407 self.this.append(this)
4408 except __builtin__.Exception:
4411 def get_probability(self):
4412 """get_probability(GaussianProcessInterpolationRestraint self) -> double"""
4413 return _IMP_isd.GaussianProcessInterpolationRestraint_get_probability(self)
4416 def set_use_cg(self, use, tol):
4417 """set_use_cg(GaussianProcessInterpolationRestraint self, bool use, double tol)"""
4418 return _IMP_isd.GaussianProcessInterpolationRestraint_set_use_cg(self, use, tol)
4421 def get_minus_log_normalization(self):
4422 """get_minus_log_normalization(GaussianProcessInterpolationRestraint self) -> double"""
4423 return _IMP_isd.GaussianProcessInterpolationRestraint_get_minus_log_normalization(self)
4426 def get_minus_exponent(self):
4427 """get_minus_exponent(GaussianProcessInterpolationRestraint self) -> double"""
4428 return _IMP_isd.GaussianProcessInterpolationRestraint_get_minus_exponent(self)
4431 def get_logdet_hessian(self):
4432 """get_logdet_hessian(GaussianProcessInterpolationRestraint self) -> double"""
4433 return _IMP_isd.GaussianProcessInterpolationRestraint_get_logdet_hessian(self)
4436 def get_hessian(self, *args):
4438 get_hessian(GaussianProcessInterpolationRestraint self) -> Eigen::MatrixXd
4439 get_hessian(GaussianProcessInterpolationRestraint self, bool unused) -> IMP::FloatsList
4441 return _IMP_isd.GaussianProcessInterpolationRestraint_get_hessian(self, *args)
4445 """do_get_inputs(GaussianProcessInterpolationRestraint self) -> IMP::ModelObjectsTemp"""
4446 return _IMP_isd.GaussianProcessInterpolationRestraint_do_get_inputs(self)
4450 """get_version_info(GaussianProcessInterpolationRestraint self) -> VersionInfo"""
4451 return _IMP_isd.GaussianProcessInterpolationRestraint_get_version_info(self)
4455 """__str__(GaussianProcessInterpolationRestraint self) -> std::string"""
4456 return _IMP_isd.GaussianProcessInterpolationRestraint___str__(self)
4460 """__repr__(GaussianProcessInterpolationRestraint self) -> std::string"""
4461 return _IMP_isd.GaussianProcessInterpolationRestraint___repr__(self)
4466 return _object_cast_to_GaussianProcessInterpolationRestraint(o)
4468 GaussianProcessInterpolationRestraint_swigregister = _IMP_isd.GaussianProcessInterpolationRestraint_swigregister
4469 GaussianProcessInterpolationRestraint_swigregister(GaussianProcessInterpolationRestraint)
4472 """Proxy of C++ IMP::isd::MolecularDynamics class."""
4474 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4476 def __init__(self, m=None):
4478 __init__(IMP::isd::MolecularDynamics self, Model m=None) -> MolecularDynamics
4479 __init__(IMP::isd::MolecularDynamics self) -> MolecularDynamics
4481 this = _IMP_isd.new_MolecularDynamics(m)
4483 self.this.append(this)
4484 except __builtin__.Exception:
4488 """__str__(MolecularDynamics self) -> std::string"""
4489 return _IMP_isd.MolecularDynamics___str__(self)
4493 """__repr__(MolecularDynamics self) -> std::string"""
4494 return _IMP_isd.MolecularDynamics___repr__(self)
4499 return _object_cast_to_MolecularDynamics(o)
4501 __swig_destroy__ = _IMP_isd.delete_MolecularDynamics
4502 __del__ =
lambda self:
None
4503 MolecularDynamics_swigregister = _IMP_isd.MolecularDynamics_swigregister
4504 MolecularDynamics_swigregister(MolecularDynamics)
4507 """Proxy of C++ IMP::isd::MolecularDynamicsMover class."""
4509 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4511 def __init__(self, m, nsteps=100, timestep=1.):
4513 __init__(IMP::isd::MolecularDynamicsMover self, Model m, unsigned int nsteps=100, IMP::Float timestep=1.) -> MolecularDynamicsMover
4514 __init__(IMP::isd::MolecularDynamicsMover self, Model m, unsigned int nsteps=100) -> MolecularDynamicsMover
4515 __init__(IMP::isd::MolecularDynamicsMover self, Model m) -> MolecularDynamicsMover
4517 this = _IMP_isd.new_MolecularDynamicsMover(m, nsteps, timestep)
4519 self.this.append(this)
4520 except __builtin__.Exception:
4524 """get_md(MolecularDynamicsMover self) -> MolecularDynamics"""
4525 return _IMP_isd.MolecularDynamicsMover_get_md(self)
4528 def get_number_of_md_steps(self):
4529 """get_number_of_md_steps(MolecularDynamicsMover self) -> unsigned int"""
4530 return _IMP_isd.MolecularDynamicsMover_get_number_of_md_steps(self)
4533 def set_number_of_md_steps(self, nsteps):
4534 """set_number_of_md_steps(MolecularDynamicsMover self, unsigned int nsteps)"""
4535 return _IMP_isd.MolecularDynamicsMover_set_number_of_md_steps(self, nsteps)
4539 """get_version_info(MolecularDynamicsMover self) -> VersionInfo"""
4540 return _IMP_isd.MolecularDynamicsMover_get_version_info(self)
4544 """__str__(MolecularDynamicsMover self) -> std::string"""
4545 return _IMP_isd.MolecularDynamicsMover___str__(self)
4549 """__repr__(MolecularDynamicsMover self) -> std::string"""
4550 return _IMP_isd.MolecularDynamicsMover___repr__(self)
4555 return _object_cast_to_MolecularDynamicsMover(o)
4557 MolecularDynamicsMover_swigregister = _IMP_isd.MolecularDynamicsMover_swigregister
4558 MolecularDynamicsMover_swigregister(MolecularDynamicsMover)
4561 """Proxy of C++ IMP::isd::HybridMonteCarlo class."""
4563 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4565 def __init__(self, m, kT=1.0, steps=100, timestep=1.0, persistence=1):
4567 __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
4568 __init__(IMP::isd::HybridMonteCarlo self, Model m, IMP::Float kT=1.0, unsigned int steps=100, IMP::Float timestep=1.0) -> HybridMonteCarlo
4569 __init__(IMP::isd::HybridMonteCarlo self, Model m, IMP::Float kT=1.0, unsigned int steps=100) -> HybridMonteCarlo
4570 __init__(IMP::isd::HybridMonteCarlo self, Model m, IMP::Float kT=1.0) -> HybridMonteCarlo
4571 __init__(IMP::isd::HybridMonteCarlo self, Model m) -> HybridMonteCarlo
4573 this = _IMP_isd.new_HybridMonteCarlo(m, kT, steps, timestep, persistence)
4575 self.this.append(this)
4576 except __builtin__.Exception:
4579 def get_kinetic_energy(self):
4580 """get_kinetic_energy(HybridMonteCarlo self) -> IMP::Float"""
4581 return _IMP_isd.HybridMonteCarlo_get_kinetic_energy(self)
4584 def get_potential_energy(self):
4585 """get_potential_energy(HybridMonteCarlo self) -> IMP::Float"""
4586 return _IMP_isd.HybridMonteCarlo_get_potential_energy(self)
4589 def get_total_energy(self):
4590 """get_total_energy(HybridMonteCarlo self) -> IMP::Float"""
4591 return _IMP_isd.HybridMonteCarlo_get_total_energy(self)
4594 def set_timestep(self, ts):
4595 """set_timestep(HybridMonteCarlo self, IMP::Float ts)"""
4596 return _IMP_isd.HybridMonteCarlo_set_timestep(self, ts)
4599 def get_timestep(self):
4600 """get_timestep(HybridMonteCarlo self) -> double"""
4601 return _IMP_isd.HybridMonteCarlo_get_timestep(self)
4604 def set_number_of_md_steps(self, nsteps):
4605 """set_number_of_md_steps(HybridMonteCarlo self, unsigned int nsteps)"""
4606 return _IMP_isd.HybridMonteCarlo_set_number_of_md_steps(self, nsteps)
4609 def get_number_of_md_steps(self):
4610 """get_number_of_md_steps(HybridMonteCarlo self) -> unsigned int"""
4611 return _IMP_isd.HybridMonteCarlo_get_number_of_md_steps(self)
4614 def set_persistence(self, persistence=1):
4616 set_persistence(HybridMonteCarlo self, unsigned int persistence=1)
4617 set_persistence(HybridMonteCarlo self)
4619 return _IMP_isd.HybridMonteCarlo_set_persistence(self, persistence)
4622 def get_persistence(self):
4623 """get_persistence(HybridMonteCarlo self) -> unsigned int"""
4624 return _IMP_isd.HybridMonteCarlo_get_persistence(self)
4628 """get_md(HybridMonteCarlo self) -> MolecularDynamics"""
4629 return _IMP_isd.HybridMonteCarlo_get_md(self)
4632 def do_evaluate(self, arg2):
4633 """do_evaluate(HybridMonteCarlo self, IMP::ParticleIndexes const & arg2) -> double"""
4634 return _IMP_isd.HybridMonteCarlo_do_evaluate(self, arg2)
4638 """do_step(HybridMonteCarlo self)"""
4639 return _IMP_isd.HybridMonteCarlo_do_step(self)
4643 """__str__(HybridMonteCarlo self) -> std::string"""
4644 return _IMP_isd.HybridMonteCarlo___str__(self)
4648 """__repr__(HybridMonteCarlo self) -> std::string"""
4649 return _IMP_isd.HybridMonteCarlo___repr__(self)
4654 return _object_cast_to_HybridMonteCarlo(o)
4656 HybridMonteCarlo_swigregister = _IMP_isd.HybridMonteCarlo_swigregister
4657 HybridMonteCarlo_swigregister(HybridMonteCarlo)
4660 """Proxy of C++ IMP::isd::FretData class."""
4662 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4664 def __init__(self, d_term, d_center, d_int, s_grid, R0, Rmin, Rmax, do_limit=True):
4666 __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
4667 __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
4669 this = _IMP_isd.new_FretData(d_term, d_center, d_int, s_grid, R0, Rmin, Rmax, do_limit)
4671 self.this.append(this)
4672 except __builtin__.Exception:
4675 def get_closest(self, vec, value):
4676 """get_closest(FretData self, DistBase vec, double value) -> int"""
4677 return _IMP_isd.FretData_get_closest(self, vec, value)
4680 def get_probability(self, distn, dist, sigma):
4681 """get_probability(FretData self, IMP::Float distn, IMP::Float dist, IMP::Float sigma) -> IMP::Float"""
4682 return _IMP_isd.FretData_get_probability(self, distn, dist, sigma)
4685 def get_kernel(self, dist, R0):
4686 """get_kernel(FretData self, IMP::Float dist, IMP::Float R0) -> IMP::Float"""
4687 return _IMP_isd.FretData_get_kernel(self, dist, R0)
4690 def get_marginal_element(self, d_term, d_center, sigma):
4691 """get_marginal_element(FretData self, IMP::Float d_term, IMP::Float d_center, IMP::Float sigma) -> IMP::FloatPair"""
4692 return _IMP_isd.FretData_get_marginal_element(self, d_term, d_center, sigma)
4696 """get_version_info(FretData self) -> VersionInfo"""
4697 return _IMP_isd.FretData_get_version_info(self)
4701 """__str__(FretData self) -> std::string"""
4702 return _IMP_isd.FretData___str__(self)
4706 """__repr__(FretData self) -> std::string"""
4707 return _IMP_isd.FretData___repr__(self)
4712 return _object_cast_to_FretData(o)
4714 FretData_swigregister = _IMP_isd.FretData_swigregister
4715 FretData_swigregister(FretData)
4718 """Proxy of C++ IMP::isd::FretRestraint class."""
4720 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4722 def __init__(self, *args):
4724 __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
4725 __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
4726 __init__(IMP::isd::FretRestraint self, IMP::Particles pd, IMP::Particles pa, Particle kda, Particle Ida, Particle R0, Particle sigma0, Particle Pbl, double fexp) -> FretRestraint
4727 __init__(IMP::isd::FretRestraint self, Particle kda, Particle Ida, Particle sumFi, Particle sigma0, Particle Pbl, double fexp) -> FretRestraint
4728 __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
4730 this = _IMP_isd.new_FretRestraint(*args)
4732 self.this.append(this)
4733 except __builtin__.Exception:
4736 def get_sumFi(self):
4737 """get_sumFi(FretRestraint self) -> double"""
4738 return _IMP_isd.FretRestraint_get_sumFi(self)
4741 def get_average_sigma(self, fmod):
4742 """get_average_sigma(FretRestraint self, double fmod) -> double"""
4743 return _IMP_isd.FretRestraint_get_average_sigma(self, fmod)
4746 def get_standard_error(self):
4747 """get_standard_error(FretRestraint self) -> double"""
4748 return _IMP_isd.FretRestraint_get_standard_error(self)
4751 def get_model_fretr(self):
4752 """get_model_fretr(FretRestraint self) -> double"""
4753 return _IMP_isd.FretRestraint_get_model_fretr(self)
4756 def get_probability(self):
4757 """get_probability(FretRestraint self) -> double"""
4758 return _IMP_isd.FretRestraint_get_probability(self)
4761 def get_experimental_value(self):
4762 """get_experimental_value(FretRestraint self) -> double"""
4763 return _IMP_isd.FretRestraint_get_experimental_value(self)
4766 def set_experimental_value(self, fexp):
4767 """set_experimental_value(FretRestraint self, double fexp)"""
4768 return _IMP_isd.FretRestraint_set_experimental_value(self, fexp)
4772 """do_get_inputs(FretRestraint self) -> IMP::ModelObjectsTemp"""
4773 return _IMP_isd.FretRestraint_do_get_inputs(self)
4777 """get_version_info(FretRestraint self) -> VersionInfo"""
4778 return _IMP_isd.FretRestraint_get_version_info(self)
4782 """__str__(FretRestraint self) -> std::string"""
4783 return _IMP_isd.FretRestraint___str__(self)
4787 """__repr__(FretRestraint self) -> std::string"""
4788 return _IMP_isd.FretRestraint___repr__(self)
4793 return _object_cast_to_FretRestraint(o)
4795 FretRestraint_swigregister = _IMP_isd.FretRestraint_swigregister
4796 FretRestraint_swigregister(FretRestraint)
4799 """Proxy of C++ IMP::isd::CysteineCrossLinkData class."""
4801 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4803 def __init__(self, fexp, fmod_grid, omega_grid, omega0_grid, prior_type=3):
4805 __init__(IMP::isd::CysteineCrossLinkData self, double fexp, IMP::Floats fmod_grid, IMP::Floats omega_grid, IMP::Floats omega0_grid, int prior_type=3) -> CysteineCrossLinkData
4806 __init__(IMP::isd::CysteineCrossLinkData self, double fexp, IMP::Floats fmod_grid, IMP::Floats omega_grid, IMP::Floats omega0_grid) -> CysteineCrossLinkData
4808 this = _IMP_isd.new_CysteineCrossLinkData(fexp, fmod_grid, omega_grid, omega0_grid, prior_type)
4810 self.this.append(this)
4811 except __builtin__.Exception:
4814 def get_closest(self, vec, value):
4815 """get_closest(CysteineCrossLinkData self, DistBase vec, double value) -> int"""
4816 return _IMP_isd.CysteineCrossLinkData_get_closest(self, vec, value)
4819 def get_omegas(self, fmods, omega0):
4820 """get_omegas(CysteineCrossLinkData self, IMP::Floats fmods, double omega0) -> IMP::Floats"""
4821 return _IMP_isd.CysteineCrossLinkData_get_omegas(self, fmods, omega0)
4824 def get_nonmarginal_elements(self, fexp, fmods, omega):
4825 """get_nonmarginal_elements(CysteineCrossLinkData self, double fexp, IMP::Floats fmods, double omega) -> IMP::Floats"""
4826 return _IMP_isd.CysteineCrossLinkData_get_nonmarginal_elements(self, fexp, fmods, omega)
4829 def get_marginal_elements(self, fmods, omega0):
4830 """get_marginal_elements(CysteineCrossLinkData self, IMP::Floats fmods, double omega0) -> IMP::Floats"""
4831 return _IMP_isd.CysteineCrossLinkData_get_marginal_elements(self, fmods, omega0)
4834 def get_omega(self, fmod, omega0):
4835 """get_omega(CysteineCrossLinkData self, double fmod, double omega0) -> double"""
4836 return _IMP_isd.CysteineCrossLinkData_get_omega(self, fmod, omega0)
4839 def get_standard_deviation(self, fmod, omega0):
4840 """get_standard_deviation(CysteineCrossLinkData self, double fmod, double omega0) -> double"""
4841 return _IMP_isd.CysteineCrossLinkData_get_standard_deviation(self, fmod, omega0)
4844 def get_nonmarginal_element(self, fexp, fmod, omega):
4845 """get_nonmarginal_element(CysteineCrossLinkData self, double fexp, double fmod, double omega) -> double"""
4846 return _IMP_isd.CysteineCrossLinkData_get_nonmarginal_element(self, fexp, fmod, omega)
4849 def get_marginal_element(self, fmod, omega0):
4850 """get_marginal_element(CysteineCrossLinkData self, double fmod, double omega0) -> double"""
4851 return _IMP_isd.CysteineCrossLinkData_get_marginal_element(self, fmod, omega0)
4855 """get_version_info(CysteineCrossLinkData self) -> VersionInfo"""
4856 return _IMP_isd.CysteineCrossLinkData_get_version_info(self)
4860 """__str__(CysteineCrossLinkData self) -> std::string"""
4861 return _IMP_isd.CysteineCrossLinkData___str__(self)
4865 """__repr__(CysteineCrossLinkData self) -> std::string"""
4866 return _IMP_isd.CysteineCrossLinkData___repr__(self)
4871 return _object_cast_to_CysteineCrossLinkData(o)
4873 CysteineCrossLinkData_swigregister = _IMP_isd.CysteineCrossLinkData_swigregister
4874 CysteineCrossLinkData_swigregister(CysteineCrossLinkData)
4877 """Proxy of C++ IMP::isd::CrossLinkData class."""
4879 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4881 def __init__(self, *args):
4883 __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
4884 __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, double lexp_, double don, double doff) -> CrossLinkData
4885 __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, double lexp_, double don) -> CrossLinkData
4886 __init__(IMP::isd::CrossLinkData self, IMP::Floats dist_grid, IMP::Floats omega_grid, IMP::Floats sigma_grid, double lexp_) -> CrossLinkData
4887 __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
4888 __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
4889 __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
4890 __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
4892 this = _IMP_isd.new_CrossLinkData(*args)
4894 self.this.append(this)
4895 except __builtin__.Exception:
4898 def get_closest(self, vec, value):
4899 """get_closest(CrossLinkData self, DistBase vec, double value) -> int"""
4900 return _IMP_isd.CrossLinkData_get_closest(self, vec, value)
4903 def get_omegas(self, sigma, dists):
4904 """get_omegas(CrossLinkData self, double sigma, IMP::Floats dists) -> IMP::Floats"""
4905 return _IMP_isd.CrossLinkData_get_omegas(self, sigma, dists)
4908 def get_omega_prior(self, omega, omega0):
4909 """get_omega_prior(CrossLinkData self, double omega, double omega0) -> double"""
4910 return _IMP_isd.CrossLinkData_get_omega_prior(self, omega, omega0)
4913 def get_nonmarginal_elements(self, sigmai, dists):
4914 """get_nonmarginal_elements(CrossLinkData self, double sigmai, IMP::Floats dists) -> IMP::Floats"""
4915 return _IMP_isd.CrossLinkData_get_nonmarginal_elements(self, sigmai, dists)
4918 def get_marginal_elements(self, sigma, dists):
4919 """get_marginal_elements(CrossLinkData self, double sigma, IMP::Floats dists) -> IMP::Floats"""
4920 return _IMP_isd.CrossLinkData_get_marginal_elements(self, sigma, dists)
4923 def get_marginal_maximum(self, *args):
4925 get_marginal_maximum(CrossLinkData self, double sigma) -> double
4926 get_marginal_maximum(CrossLinkData self) -> double
4928 return _IMP_isd.CrossLinkData_get_marginal_maximum(self, *args)
4932 """get_version_info(CrossLinkData self) -> VersionInfo"""
4933 return _IMP_isd.CrossLinkData_get_version_info(self)
4937 """__str__(CrossLinkData self) -> std::string"""
4938 return _IMP_isd.CrossLinkData___str__(self)
4942 """__repr__(CrossLinkData self) -> std::string"""
4943 return _IMP_isd.CrossLinkData___repr__(self)
4948 return _object_cast_to_CrossLinkData(o)
4950 CrossLinkData_swigregister = _IMP_isd.CrossLinkData_swigregister
4951 CrossLinkData_swigregister(CrossLinkData)
4954 """Proxy of C++ IMP::isd::CysteineCrossLinkRestraint class."""
4956 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
4958 def __init__(self, *args):
4960 __init__(IMP::isd::CysteineCrossLinkRestraint self, Model m, _ParticleIndexAdaptor beta, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor epsilon, _ParticleIndexAdaptor weight, CrossLinkData data, double fexp) -> CysteineCrossLinkRestraint
4961 __init__(IMP::isd::CysteineCrossLinkRestraint self, Model m, _ParticleIndexAdaptor beta, _ParticleIndexAdaptor sigma, _ParticleIndexAdaptor epsilon, _ParticleIndexAdaptor weight, CrossLinkData data, CysteineCrossLinkData ccldata) -> CysteineCrossLinkRestraint
4963 this = _IMP_isd.new_CysteineCrossLinkRestraint(*args)
4965 self.this.append(this)
4966 except __builtin__.Exception:
4969 def get_probability(self):
4970 """get_probability(CysteineCrossLinkRestraint self) -> double"""
4971 return _IMP_isd.CysteineCrossLinkRestraint_get_probability(self)
4974 def get_standard_error(self):
4975 """get_standard_error(CysteineCrossLinkRestraint self) -> double"""
4976 return _IMP_isd.CysteineCrossLinkRestraint_get_standard_error(self)
4979 def get_frequencies(self):
4980 """get_frequencies(CysteineCrossLinkRestraint self) -> IMP::Floats"""
4981 return _IMP_isd.CysteineCrossLinkRestraint_get_frequencies(self)
4984 def get_model_frequency(self):
4985 """get_model_frequency(CysteineCrossLinkRestraint self) -> double"""
4986 return _IMP_isd.CysteineCrossLinkRestraint_get_model_frequency(self)
4989 def get_distances(self):
4990 """get_distances(CysteineCrossLinkRestraint self) -> IMP::Floats"""
4991 return _IMP_isd.CysteineCrossLinkRestraint_get_distances(self)
4994 def get_truncated_normalization(self, mean, sigma):
4995 """get_truncated_normalization(CysteineCrossLinkRestraint self, double mean, double sigma) -> double"""
4996 return _IMP_isd.CysteineCrossLinkRestraint_get_truncated_normalization(self, mean, sigma)
4999 def get_normal_pdf(self, mean, sigma, x):
5000 """get_normal_pdf(CysteineCrossLinkRestraint self, double mean, double sigma, double x) -> double"""
5001 return _IMP_isd.CysteineCrossLinkRestraint_get_normal_pdf(self, mean, sigma, x)
5004 def add_contribution(self, *args):
5006 add_contribution(CysteineCrossLinkRestraint self, _ParticleIndexAdaptor p1, _ParticleIndexAdaptor p2)
5007 add_contribution(CysteineCrossLinkRestraint self, IMP::ParticleIndexes p1, IMP::ParticleIndexes p2)
5009 return _IMP_isd.CysteineCrossLinkRestraint_add_contribution(self, *args)
5012 def get_CB_coordinates(self, ps):
5013 """get_CB_coordinates(CysteineCrossLinkRestraint self, IMP::ParticleIndexes const & ps) -> Vector3D"""
5014 return _IMP_isd.CysteineCrossLinkRestraint_get_CB_coordinates(self, ps)
5017 def get_number_of_contributions(self):
5018 """get_number_of_contributions(CysteineCrossLinkRestraint self) -> unsigned int"""
5019 return _IMP_isd.CysteineCrossLinkRestraint_get_number_of_contributions(self)
5023 """do_get_inputs(CysteineCrossLinkRestraint self) -> IMP::ModelObjectsTemp"""
5024 return _IMP_isd.CysteineCrossLinkRestraint_do_get_inputs(self)
5028 """get_version_info(CysteineCrossLinkRestraint self) -> VersionInfo"""
5029 return _IMP_isd.CysteineCrossLinkRestraint_get_version_info(self)
5033 """__str__(CysteineCrossLinkRestraint self) -> std::string"""
5034 return _IMP_isd.CysteineCrossLinkRestraint___str__(self)
5038 """__repr__(CysteineCrossLinkRestraint self) -> std::string"""
5039 return _IMP_isd.CysteineCrossLinkRestraint___repr__(self)
5044 return _object_cast_to_CysteineCrossLinkRestraint(o)
5046 CysteineCrossLinkRestraint_swigregister = _IMP_isd.CysteineCrossLinkRestraint_swigregister
5047 CysteineCrossLinkRestraint_swigregister(CysteineCrossLinkRestraint)
5050 """Proxy of C++ IMP::isd::WeightMover class."""
5052 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5054 def __init__(self, w, radius):
5055 """__init__(IMP::isd::WeightMover self, Particle w, IMP::Float radius) -> WeightMover"""
5056 this = _IMP_isd.new_WeightMover(w, radius)
5058 self.this.append(this)
5059 except __builtin__.Exception:
5062 def set_radius(self, radius):
5063 """set_radius(WeightMover self, IMP::Float radius)"""
5064 return _IMP_isd.WeightMover_set_radius(self, radius)
5067 def get_radius(self):
5068 """get_radius(WeightMover self) -> IMP::Float"""
5069 return _IMP_isd.WeightMover_get_radius(self)
5073 """get_version_info(WeightMover self) -> VersionInfo"""
5074 return _IMP_isd.WeightMover_get_version_info(self)
5078 """__str__(WeightMover self) -> std::string"""
5079 return _IMP_isd.WeightMover___str__(self)
5083 """__repr__(WeightMover self) -> std::string"""
5084 return _IMP_isd.WeightMover___repr__(self)
5089 return _object_cast_to_WeightMover(o)
5091 WeightMover_swigregister = _IMP_isd.WeightMover_swigregister
5092 WeightMover_swigregister(WeightMover)
5095 """Proxy of C++ IMP::isd::WeightRestraint class."""
5097 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5099 def __init__(self, w, wmin, wmax, kappa):
5100 """__init__(IMP::isd::WeightRestraint self, Particle w, IMP::Float wmin, IMP::Float wmax, IMP::Float kappa) -> WeightRestraint"""
5101 this = _IMP_isd.new_WeightRestraint(w, wmin, wmax, kappa)
5103 self.this.append(this)
5104 except __builtin__.Exception:
5108 """do_get_inputs(WeightRestraint self) -> IMP::ModelObjectsTemp"""
5109 return _IMP_isd.WeightRestraint_do_get_inputs(self)
5113 """get_version_info(WeightRestraint self) -> VersionInfo"""
5114 return _IMP_isd.WeightRestraint_get_version_info(self)
5118 """__str__(WeightRestraint self) -> std::string"""
5119 return _IMP_isd.WeightRestraint___str__(self)
5123 """__repr__(WeightRestraint self) -> std::string"""
5124 return _IMP_isd.WeightRestraint___repr__(self)
5129 return _object_cast_to_WeightRestraint(o)
5131 WeightRestraint_swigregister = _IMP_isd.WeightRestraint_swigregister
5132 WeightRestraint_swigregister(WeightRestraint)
5135 """Proxy of C++ IMP::isd::AtomicCrossLinkMSRestraint class."""
5137 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5139 def __init__(self, *args):
5141 __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
5142 __init__(IMP::isd::AtomicCrossLinkMSRestraint self, Model m, double length, ParticleIndex psi, IMP::Float slope=0.0, bool part_of_log_score=False) -> AtomicCrossLinkMSRestraint
5143 __init__(IMP::isd::AtomicCrossLinkMSRestraint self, Model m, double length, ParticleIndex psi, IMP::Float slope=0.0) -> AtomicCrossLinkMSRestraint
5144 __init__(IMP::isd::AtomicCrossLinkMSRestraint self, Model m, double length, ParticleIndex psi) -> AtomicCrossLinkMSRestraint
5146 this = _IMP_isd.new_AtomicCrossLinkMSRestraint(*args)
5148 self.this.append(this)
5149 except __builtin__.Exception:
5152 def add_contribution(self, ppi, sigmas):
5153 """add_contribution(AtomicCrossLinkMSRestraint self, IMP::ParticleIndexPair const & ppi, IMP::ParticleIndexPair const & sigmas)"""
5154 return _IMP_isd.AtomicCrossLinkMSRestraint_add_contribution(self, ppi, sigmas)
5157 def evaluate_for_contributions(self, c, accum):
5158 """evaluate_for_contributions(AtomicCrossLinkMSRestraint self, IMP::Ints c, DerivativeAccumulator accum) -> IMP::Float"""
5159 return _IMP_isd.AtomicCrossLinkMSRestraint_evaluate_for_contributions(self, c, accum)
5162 def get_number_of_contributions(self):
5163 """get_number_of_contributions(AtomicCrossLinkMSRestraint self) -> unsigned int"""
5164 return _IMP_isd.AtomicCrossLinkMSRestraint_get_number_of_contributions(self)
5167 def get_contribution(self, i):
5168 """get_contribution(AtomicCrossLinkMSRestraint self, int i) -> IMP::ParticleIndexPair"""
5169 return _IMP_isd.AtomicCrossLinkMSRestraint_get_contribution(self, i)
5172 def get_contribution_sigmas(self, i):
5173 """get_contribution_sigmas(AtomicCrossLinkMSRestraint self, int i) -> IMP::ParticleIndexPair"""
5174 return _IMP_isd.AtomicCrossLinkMSRestraint_get_contribution_sigmas(self, i)
5178 """get_psi(AtomicCrossLinkMSRestraint self) -> ParticleIndex"""
5179 return _IMP_isd.AtomicCrossLinkMSRestraint_get_psi(self)
5183 """do_get_inputs(AtomicCrossLinkMSRestraint self) -> IMP::ModelObjectsTemp"""
5184 return _IMP_isd.AtomicCrossLinkMSRestraint_do_get_inputs(self)
5187 def show(self, out):
5188 """show(AtomicCrossLinkMSRestraint self, _ostream out)"""
5189 return _IMP_isd.AtomicCrossLinkMSRestraint_show(self, out)
5192 def set_slope(self, slope):
5193 """set_slope(AtomicCrossLinkMSRestraint self, IMP::Float slope)"""
5194 return _IMP_isd.AtomicCrossLinkMSRestraint_set_slope(self, slope)
5197 def set_part_of_log_score(self, hey):
5198 """set_part_of_log_score(AtomicCrossLinkMSRestraint self, bool hey)"""
5199 return _IMP_isd.AtomicCrossLinkMSRestraint_set_part_of_log_score(self, hey)
5203 """get_version_info(AtomicCrossLinkMSRestraint self) -> VersionInfo"""
5204 return _IMP_isd.AtomicCrossLinkMSRestraint_get_version_info(self)
5208 """__str__(AtomicCrossLinkMSRestraint self) -> std::string"""
5209 return _IMP_isd.AtomicCrossLinkMSRestraint___str__(self)
5213 """__repr__(AtomicCrossLinkMSRestraint self) -> std::string"""
5214 return _IMP_isd.AtomicCrossLinkMSRestraint___repr__(self)
5219 return _object_cast_to_AtomicCrossLinkMSRestraint(o)
5221 AtomicCrossLinkMSRestraint_swigregister = _IMP_isd.AtomicCrossLinkMSRestraint_swigregister
5222 AtomicCrossLinkMSRestraint_swigregister(AtomicCrossLinkMSRestraint)
5225 """Proxy of C++ IMP::isd::GaussianEMRestraint class."""
5227 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5229 def __init__(self, *args):
5231 __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
5232 __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
5233 __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
5234 __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
5235 __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
5237 this = _IMP_isd.new_GaussianEMRestraint(*args)
5239 self.this.append(this)
5240 except __builtin__.Exception:
5243 def get_probability(self):
5244 """get_probability(GaussianEMRestraint self) -> double"""
5245 return _IMP_isd.GaussianEMRestraint_get_probability(self)
5249 """get_cross_correlation_coefficient(GaussianEMRestraint self) -> double"""
5250 return _IMP_isd.GaussianEMRestraint_get_cross_correlation_coefficient(self)
5253 def set_density_filename(self, density_fn):
5254 """set_density_filename(GaussianEMRestraint self, std::string density_fn)"""
5255 return _IMP_isd.GaussianEMRestraint_set_density_filename(self, density_fn)
5258 def compute_initial_scores(self):
5259 """compute_initial_scores(GaussianEMRestraint self)"""
5260 return _IMP_isd.GaussianEMRestraint_compute_initial_scores(self)
5263 def set_slope(self, s):
5264 """set_slope(GaussianEMRestraint self, IMP::Float s)"""
5265 return _IMP_isd.GaussianEMRestraint_set_slope(self, s)
5268 def get_slope(self):
5269 """get_slope(GaussianEMRestraint self) -> IMP::Float"""
5270 return _IMP_isd.GaussianEMRestraint_get_slope(self)
5274 """do_get_inputs(GaussianEMRestraint self) -> IMP::ModelObjectsTemp"""
5275 return _IMP_isd.GaussianEMRestraint_do_get_inputs(self)
5278 def show(self, out):
5279 """show(GaussianEMRestraint self, _ostream out)"""
5280 return _IMP_isd.GaussianEMRestraint_show(self, out)
5284 """get_version_info(GaussianEMRestraint self) -> VersionInfo"""
5285 return _IMP_isd.GaussianEMRestraint_get_version_info(self)
5289 """__str__(GaussianEMRestraint self) -> std::string"""
5290 return _IMP_isd.GaussianEMRestraint___str__(self)
5294 """__repr__(GaussianEMRestraint self) -> std::string"""
5295 return _IMP_isd.GaussianEMRestraint___repr__(self)
5300 return _object_cast_to_GaussianEMRestraint(o)
5302 GaussianEMRestraint_swigregister = _IMP_isd.GaussianEMRestraint_swigregister
5303 GaussianEMRestraint_swigregister(GaussianEMRestraint)
5305 class GaussianAnchorEMRestraint(ISDRestraint):
5306 """Proxy of C++ IMP::isd::GaussianAnchorEMRestraint class."""
5308 thisown = _swig_property(
lambda x: x.this.own(),
lambda x, v: x.this.own(v), doc=
'The membership flag')
5310 def __init__(self, *args):
5312 __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
5313 __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
5315 this = _IMP_isd.new_GaussianAnchorEMRestraint(*args)
5317 self.this.append(this)
5318 except __builtin__.Exception:
5321 def get_density_particles(self):
5322 """get_density_particles(GaussianAnchorEMRestraint self) -> IMP::ParticlesTemp"""
5323 return _IMP_isd.GaussianAnchorEMRestraint_get_density_particles(self)
5327 """__str__(GaussianAnchorEMRestraint self) -> std::string"""
5328 return _IMP_isd.GaussianAnchorEMRestraint___str__(self)
5332 """__repr__(GaussianAnchorEMRestraint self) -> std::string"""
5333 return _IMP_isd.GaussianAnchorEMRestraint___repr__(self)
5338 return _object_cast_to_GaussianAnchorEMRestraint(o)
5340 GaussianAnchorEMRestraint_swigregister = _IMP_isd.GaussianAnchorEMRestraint_swigregister
5341 GaussianAnchorEMRestraint_swigregister(GaussianAnchorEMRestraint)
5344 def sample_points_from_density(dmap_orig, npoints, threshold=0.0):
5346 sample_points_from_density(DensityMap dmap_orig, int npoints, IMP::Float threshold=0.0) -> IMP::FloatsList
5347 sample_points_from_density(DensityMap dmap_orig, int npoints) -> IMP::FloatsList
5349 return _IMP_isd.sample_points_from_density(dmap_orig, npoints, threshold)
5351 def get_module_version():
5352 """get_module_version() -> std::string const"""
5353 return _IMP_isd.get_module_version()
5356 """get_example_path(std::string fname) -> std::string"""
5357 return _IMP_isd.get_example_path(fname)
5360 """get_data_path(std::string fname) -> std::string"""
5361 return _IMP_isd.get_data_path(fname)
5363 from .
import _version_check
5364 _version_check.check_version(get_module_version())
5365 __version__ = get_module_version()
Abstract class for scoring object(s) of type ParticleIndexPair.
Various classes to hold sets of particles.
static XYZR setup_particle(Model *m, ParticleIndex pi)
Make CGAL functionality available to IMP.
virtual void clear_caches()
virtual ModelObjectsTemp do_get_outputs(Model *m, const ParticleIndexes &pis) const =0
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.
IMP::Vector< Weight > Weights
Interface to specialized Particle types (e.g. atoms)
Basic functionality that is expected to be used by a wide variety of IMP users.
General purpose algebraic and geometric methods that are expected to be used by a wide variety of IMP...
virtual VersionInfo get_version_info() const
Get information about the module and version of the object.
Class to handle individual 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.